.rdp-root{--rdp-accent-color: blue;--rdp-accent-background-color: #f0f0ff;--rdp-day-height: 44px;--rdp-day-width: 44px;--rdp-day_button-border-radius: 100%;--rdp-day_button-border: 2px solid transparent;--rdp-day_button-height: 42px;--rdp-day_button-width: 42px;--rdp-selected-border: 2px solid var(--rdp-accent-color);--rdp-disabled-opacity: .5;--rdp-outside-opacity: .75;--rdp-today-color: var(--rdp-accent-color);--rdp-dropdown-gap: .5rem;--rdp-months-gap: 2rem;--rdp-nav_button-disabled-opacity: .5;--rdp-nav_button-height: 2.25rem;--rdp-nav_button-width: 2.25rem;--rdp-nav-height: 2.75rem;--rdp-range_middle-background-color: var(--rdp-accent-background-color);--rdp-range_middle-color: inherit;--rdp-range_start-color: white;--rdp-range_start-background: linear-gradient( var(--rdp-gradient-direction), transparent 50%, var(--rdp-range_middle-background-color) 50% );--rdp-range_start-date-background-color: var(--rdp-accent-color);--rdp-range_end-background: linear-gradient( var(--rdp-gradient-direction), var(--rdp-range_middle-background-color) 50%, transparent 50% );--rdp-range_end-color: white;--rdp-range_end-date-background-color: var(--rdp-accent-color);--rdp-week_number-border-radius: 100%;--rdp-week_number-border: 2px solid transparent;--rdp-week_number-height: var(--rdp-day-height);--rdp-week_number-opacity: .75;--rdp-week_number-width: var(--rdp-day-width);--rdp-weeknumber-text-align: center;--rdp-weekday-opacity: .75;--rdp-weekday-padding: .5rem 0rem;--rdp-weekday-text-align: center;--rdp-gradient-direction: 90deg;--rdp-animation_duration: .3s;--rdp-animation_timing: cubic-bezier(.4, 0, .2, 1)}.rdp-root[dir=rtl]{--rdp-gradient-direction: -90deg}.rdp-root[data-broadcast-calendar=true]{--rdp-outside-opacity: unset}.rdp-root{position:relative;box-sizing:border-box}.rdp-root *{box-sizing:border-box}.rdp-day{width:var(--rdp-day-width);height:var(--rdp-day-height);text-align:center}.rdp-day_button{background:none;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex;width:var(--rdp-day_button-width);height:var(--rdp-day_button-height);border:var(--rdp-day_button-border);border-radius:var(--rdp-day_button-border-radius)}.rdp-day_button:disabled{cursor:revert}.rdp-caption_label{z-index:1;position:relative;display:inline-flex;align-items:center;white-space:nowrap;border:0}.rdp-dropdown:focus-visible~.rdp-caption_label{outline:5px auto Highlight;outline:5px auto -webkit-focus-ring-color}.rdp-button_next,.rdp-button_previous{border:none;background:none;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;-moz-appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;position:relative;appearance:none;width:var(--rdp-nav_button-width);height:var(--rdp-nav_button-height)}.rdp-button_next:disabled,.rdp-button_next[aria-disabled=true],.rdp-button_previous:disabled,.rdp-button_previous[aria-disabled=true]{cursor:revert;opacity:var(--rdp-nav_button-disabled-opacity)}.rdp-chevron{display:inline-block;fill:var(--rdp-accent-color)}.rdp-root[dir=rtl] .rdp-nav .rdp-chevron{transform:rotate(180deg);transform-origin:50%}.rdp-dropdowns{position:relative;display:inline-flex;align-items:center;gap:var(--rdp-dropdown-gap)}.rdp-dropdown{z-index:2;opacity:0;appearance:none;position:absolute;inset-block-start:0;inset-block-end:0;inset-inline-start:0;width:100%;margin:0;padding:0;cursor:inherit;border:none;line-height:inherit}.rdp-dropdown_root{position:relative;display:inline-flex;align-items:center}.rdp-dropdown_root[data-disabled=true] .rdp-chevron{opacity:var(--rdp-disabled-opacity)}.rdp-month_caption{display:flex;align-content:center;height:var(--rdp-nav-height);font-weight:700;font-size:large}.rdp-root[data-nav-layout=around] .rdp-month,.rdp-root[data-nav-layout=after] .rdp-month{position:relative}.rdp-root[data-nav-layout=around] .rdp-month_caption{justify-content:center;margin-inline-start:var(--rdp-nav_button-width);margin-inline-end:var(--rdp-nav_button-width);position:relative}.rdp-root[data-nav-layout=around] .rdp-button_previous{position:absolute;inset-inline-start:0;top:0;height:var(--rdp-nav-height);display:inline-flex}.rdp-root[data-nav-layout=around] .rdp-button_next{position:absolute;inset-inline-end:0;top:0;height:var(--rdp-nav-height);display:inline-flex;justify-content:center}.rdp-months{position:relative;display:flex;flex-wrap:wrap;gap:var(--rdp-months-gap);max-width:fit-content}.rdp-month_grid{border-collapse:collapse}.rdp-nav{position:absolute;inset-block-start:0;inset-inline-end:0;display:flex;align-items:center;height:var(--rdp-nav-height)}.rdp-weekday{opacity:var(--rdp-weekday-opacity);padding:var(--rdp-weekday-padding);font-weight:500;font-size:smaller;text-align:var(--rdp-weekday-text-align);text-transform:var(--rdp-weekday-text-transform)}.rdp-week_number{opacity:var(--rdp-week_number-opacity);font-weight:400;font-size:small;height:var(--rdp-week_number-height);width:var(--rdp-week_number-width);border:var(--rdp-week_number-border);border-radius:var(--rdp-week_number-border-radius);text-align:var(--rdp-weeknumber-text-align)}.rdp-today:not(.rdp-outside){color:var(--rdp-today-color)}.rdp-selected{font-weight:700;font-size:large}.rdp-selected .rdp-day_button{border:var(--rdp-selected-border)}.rdp-outside{opacity:var(--rdp-outside-opacity)}.rdp-disabled:not(.rdp-selected){opacity:var(--rdp-disabled-opacity)}.rdp-hidden{visibility:hidden;color:var(--rdp-range_start-color)}.rdp-range_start{background:var(--rdp-range_start-background)}.rdp-range_start .rdp-day_button{background-color:var(--rdp-range_start-date-background-color);color:var(--rdp-range_start-color)}.rdp-range_middle{background-color:var(--rdp-range_middle-background-color)}.rdp-range_middle .rdp-day_button{border:unset;border-radius:unset;color:var(--rdp-range_middle-color)}.rdp-range_end{background:var(--rdp-range_end-background);color:var(--rdp-range_end-color)}.rdp-range_end .rdp-day_button{color:var(--rdp-range_start-color);background-color:var(--rdp-range_end-date-background-color)}.rdp-range_start.rdp-range_end{background:revert}.rdp-focusable{cursor:pointer}@keyframes rdp-slide_in_left{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes rdp-slide_in_right{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes rdp-slide_out_left{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes rdp-slide_out_right{0%{transform:translate(0)}to{transform:translate(100%)}}.rdp-weeks_before_enter{animation:rdp-slide_in_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-weeks_before_exit{animation:rdp-slide_out_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-weeks_after_enter{animation:rdp-slide_in_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-weeks_after_exit{animation:rdp-slide_out_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_after_enter{animation:rdp-slide_in_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_before_exit{animation:rdp-slide_out_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_before_enter{animation:rdp-slide_in_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_after_exit{animation:rdp-slide_out_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}@keyframes rdp-fade_in{0%{opacity:0}to{opacity:1}}@keyframes rdp-fade_out{0%{opacity:1}to{opacity:0}}.rdp-caption_after_enter{animation:rdp-fade_in var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-caption_after_exit{animation:rdp-fade_out var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-caption_before_enter{animation:rdp-fade_in var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-caption_before_exit{animation:rdp-fade_out var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}:root{--font-size-2xs: 10px;--font-size-xs: 11px;--font-size-sm: 12px;--font-size-md: 13px;--font-size-base: 14px;--font-size-lg: 15px;--font-size-xl: 17px;--font-size-2xl: 18px;--font-size-3xl: 20px;--font-size-display-sm: 22px;--font-size-display-md: 24px;--line-height-tight: 1.2;--line-height-compact: 1.35;--line-height-base: 1.45;--line-height-readable: 1.55;--line-height-prose: 1.7;color-scheme:only light;color:#172033;background:#eaf3f7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}html,body,#root{color-scheme:only light;background:#eef6f8;height:100%}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;min-height:100dvh;font-size:var(--font-size-md);background:linear-gradient(180deg,#ecf7faf5,#f7fafcfa),#eef6f8}button,input,select,textarea{font:inherit}button{border:0}.app-shell{display:grid;grid-template-columns:72px minmax(0,1fr);grid-template-rows:minmax(0,1fr);height:100vh;height:100dvh;padding:12px;overflow:hidden}.sidebar{display:flex;flex-direction:column;align-items:center;gap:18px;width:72px;height:100%;min-height:0;padding:16px 8px;border:1px solid #dce4eb;border-radius:8px 0 0 8px;background:#fff;overflow-y:auto;overscroll-behavior:contain}.auth-screen{display:grid;min-height:100vh;min-height:100dvh;place-items:center;padding:24px;background:linear-gradient(180deg,#eef8faf0,#f8fbfdfa),#edf7f8}.auth-panel{width:min(100%,420px);padding:24px;border:1px solid #d8e3eb;border-radius:8px;background:#fff;box-shadow:0 18px 44px #23344a1f}.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:22px}.auth-brand h1{margin:0;color:#111827;font-size:22px;line-height:1.2}.auth-brand p{margin:3px 0 0;color:#667085;font-size:13px;line-height:1.35}.auth-tabs{display:grid;grid-template-columns:repeat(2,1fr);gap:4px;padding:4px;border:1px solid #dce5ee;border-radius:8px;background:#f5f8fb}.auth-tabs button{min-height:38px;border-radius:6px;background:transparent;color:#667085;cursor:pointer;font-weight:800}.auth-tabs button.active{background:#fff;color:#1e66ff;box-shadow:0 1px 4px #1c2d4a1a}.auth-form{display:grid;gap:14px;margin-top:18px}.auth-field{display:grid;gap:7px;color:#344054;font-size:12px;font-weight:800}.auth-input-shell{display:flex;align-items:center;gap:8px;min-height:42px;padding:0 12px;border:1px solid #d9e2eb;border-radius:8px;background:#fff;color:#7b8797}.auth-input-shell:focus-within{border-color:#1e66ff;box-shadow:0 0 0 3px #1e66ff1a}.auth-input-shell input{width:100%;min-width:0;border:0;outline:0;color:#172033;font-size:14px}.auth-error,.auth-muted{margin:0;font-size:12px;line-height:1.45}.auth-error{color:#b42318}.auth-muted{color:#667085}.auth-submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:8px;background:#1e66ff;color:#fff;cursor:pointer;font-weight:900}.auth-submit:disabled{cursor:not-allowed;opacity:.7}.brand-mark{display:grid;width:38px;height:38px;place-items:center;border-radius:8px;background:#1e66ff;color:#fff;font-weight:800}.nav-stack{display:flex;flex:1;flex-direction:column;gap:4px;width:100%}.nav-item{display:grid;min-height:58px;place-items:center;gap:4px;padding:6px 4px;border-radius:8px;background:transparent;color:#8290a2;cursor:pointer}.nav-item span{max-width:58px;overflow:hidden;font-size:10px;font-weight:700;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.nav-item.active,.nav-item:hover{background:#eef4ff;color:#1e66ff}.sidebar-user{display:grid;width:44px;min-height:52px;place-items:center;gap:3px;border:1px solid #dbe3ed;border-radius:8px;background:#f8fafc;color:#56657a;cursor:pointer}.sidebar-user span{display:grid;width:24px;height:24px;place-items:center;border-radius:50%;background:#dff4ed;color:#12715b;font-size:12px;font-weight:900}.sidebar-user:hover{border-color:#b9c8dc;color:#1e66ff}.unmatched-tag{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;border-radius:999px;background:#fff4f0;color:#b42318;font-size:var(--font-size-xs);font-weight:600}.conversation-item.unmatched .conversation-title strong{color:#b42318}.chat-unmatched-banner{display:flex;align-items:center;gap:12px;padding:10px 14px;border:1px solid #f0c8c1;border-radius:8px;background:#fff7f5;color:#b42318;max-width:620px}.chat-unmatched-banner>div{flex:1;display:flex;flex-direction:column;gap:2px}.chat-unmatched-attach{white-space:nowrap}.attach-section{padding:12px 18px 4px}.attach-section h4{margin:0 0 8px;font-size:var(--font-size-sm);color:#243044}.attach-empty{color:#66768a;font-size:var(--font-size-xs);margin:4px 0 12px}.attach-candidate-list{list-style:none;padding:0;margin:0 0 12px;display:flex;flex-direction:column;gap:6px}.attach-candidate-option{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:10px 12px;border:1px solid #d3deea;border-radius:8px;background:#fff;text-align:left;cursor:pointer;transition:background-color .12s ease,border-color .12s ease}.attach-candidate-option:hover{background:#f3f7ff;border-color:#3a6df0}.attach-candidate-option strong{color:#243044;font-size:var(--font-size-sm)}.attach-candidate-option span{color:#66768a;font-size:var(--font-size-xs)}.attach-candidate-option em{font-style:normal;color:#8696a7;font-size:var(--font-size-xs)}.attach-create-form{padding:0}.duplicate-modal .next-action-header strong{color:#b42318}.modal-backdrop:has(>.duplicate-modal){z-index:30}.duplicate-candidate-list{list-style:none;padding:0 18px 8px;margin:0;display:flex;flex-direction:column;gap:6px}.duplicate-candidate-row{margin:0}.duplicate-confirm-actions{display:flex;justify-content:flex-end;gap:8px;padding:8px 18px 18px}.patient-edit-drawer{width:min(560px,100%);max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);overflow:auto;border:1px solid #dbe3ed;border-radius:8px;background:#fff;padding:18px}.patient-edit-form{padding:8px 0 0}.patient-edit-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.patient-edit-tags{display:flex;flex-direction:column;gap:6px}.patient-edit-tags>span{color:#243044;font-size:var(--font-size-xs)}.patient-edit-tag-list{display:flex;flex-wrap:wrap;gap:6px}.tag-toggle{padding:4px 10px;border-radius:999px;border:1px solid #d3deea;background:#fff;color:#243044;font-size:var(--font-size-xs);cursor:pointer;transition:background-color .12s ease,border-color .12s ease}.tag-toggle:hover{background:#f3f7ff}.tag-toggle.active{background:#3a6df0;border-color:#3a6df0;color:#fff}.timeline-memo-form{display:flex;flex-direction:column;gap:6px;padding:10px 12px;margin-bottom:12px;border:1px solid #dbe3ed;border-radius:8px;background:#f8fafc}.timeline-memo-form input,.timeline-memo-form textarea{width:100%;padding:6px 8px;border:1px solid #dbe3ed;border-radius:6px;background:#fff;font:inherit;color:#243044}.timeline-memo-form textarea{min-height:60px;resize:vertical}.timeline-memo-actions{display:flex;justify-content:flex-end;gap:6px}.followup-workspace{display:flex;flex-direction:column;width:min(100%,1580px);height:100%;min-height:0;padding:14px 18px 18px;background:#fff;border:1px solid #dce4eb;border-left:0;border-radius:0 8px 8px 0;overflow:hidden}.followup-workspace-header h1{margin:4px 0;font-size:1.25rem;color:#243044}.followup-workspace-header span{color:#66768a;font-size:var(--font-size-xs)}.followup-workspace>.screen-state-banner{margin:8px 0 0}.followup-grid{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:14px;flex:1;min-height:0;margin-top:12px}.followup-list-panel{display:flex;flex-direction:column;gap:10px;min-height:0}.followup-filter-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}.followup-filter-row label{display:flex;flex-direction:column;gap:2px;font-size:var(--font-size-xs);color:#66768a}.followup-filter-row select{padding:4px 6px;border:1px solid #d3deea;border-radius:6px;background:#fff;font:inherit}.followup-task-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;overflow:auto;flex:1}.followup-task-item{display:flex;flex-direction:column;gap:4px;width:100%;padding:10px 12px;border:1px solid #d3deea;border-radius:8px;background:#fff;text-align:left;cursor:pointer}.followup-task-item.selected{border-color:#3a6df0;background:#f3f7ff}.followup-task-title{display:flex;align-items:center;justify-content:space-between;gap:6px}.followup-task-title strong{font-size:var(--font-size-sm);color:#243044}.followup-priority{font-style:normal;font-size:var(--font-size-xs);padding:1px 6px;border-radius:999px;background:#eef2f7;color:#66768a}.followup-priority.높음{background:#fff4f0;color:#b42318}.followup-priority.보통{background:#f3f7ff;color:#1d3a8a}.followup-priority.낮음{background:#f0f6f0;color:#2f6f3e}.followup-task-meta{display:inline-flex;align-items:center;gap:4px;font-size:var(--font-size-xs);color:#66768a}.followup-empty{color:#66768a;font-size:var(--font-size-xs);padding:12px;text-align:center}.followup-detail-panel{border:1px solid #d3deea;border-radius:8px;background:#f9fbfd;padding:16px 20px;overflow:auto}.followup-detail-empty{color:#66768a;font-size:var(--font-size-xs)}.followup-detail-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.followup-detail-header h2{margin:0;font-size:var(--font-size-base);color:#243044}.followup-detail-header p{margin:4px 0 0;color:#66768a;font-size:var(--font-size-xs)}.followup-detail-body{margin:12px 0;color:#243044;font-size:var(--font-size-sm);line-height:var(--line-height-base)}.followup-detail-links{display:flex;gap:6px;margin-bottom:14px}.followup-detail-actions{display:flex;flex-direction:column;gap:8px}.followup-action-row{display:flex;gap:6px}.followup-action-row input,.followup-action-row select{flex:1;padding:6px 8px;border:1px solid #d3deea;border-radius:6px;background:#fff;font:inherit}.manuals-workspace{display:flex;flex-direction:column;width:min(100%,1580px);height:100%;min-height:0;padding:14px 18px 18px;background:#fff;border:1px solid #dce4eb;border-left:0;border-radius:0 8px 8px 0;overflow:hidden}.manuals-workspace-header h1{margin:4px 0;font-size:1.25rem;color:#243044}.manuals-workspace-header span{color:#66768a;font-size:var(--font-size-xs)}.manuals-workspace>.screen-state-banner{margin:8px 0 0}.manuals-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;flex:1;min-height:0;margin-top:12px}.manuals-column{display:flex;flex-direction:column;gap:8px;border:1px solid #d3deea;border-radius:8px;padding:12px 14px;background:#f9fbfd;min-height:0}.manuals-column-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.manuals-column-header h2{margin:0;font-size:var(--font-size-sm);color:#243044}.manuals-column-header p{margin:4px 0 0;color:#66768a;font-size:var(--font-size-xs)}.manuals-entry-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;overflow:auto}.manuals-entry-list>li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid #dbe3ed;border-radius:8px;background:#fff}.manuals-entry-list>li.inactive{background:#f3f5f8;color:#66768a}.manuals-entry-list>li strong{display:block;color:#243044;font-size:var(--font-size-sm)}.manuals-entry-list>li span{display:block;color:#66768a;font-size:var(--font-size-xs)}.settings-workspace{display:flex;flex-direction:column;width:min(100%,1580px);height:100%;min-height:0;padding:14px 18px 18px;background:#fff;border:1px solid #dce4eb;border-left:0;border-radius:0 8px 8px 0;overflow:hidden}.settings-workspace-header h1{margin:4px 0;font-size:1.25rem;color:#243044}.settings-workspace-header span{color:#66768a;font-size:var(--font-size-xs)}.settings-workspace>.screen-state-banner{margin:8px 0 0}.settings-tabs{display:flex;gap:6px;margin:12px 0;border-bottom:1px solid #dbe3ed}.settings-tabs button{padding:8px 14px;border:0;background:transparent;color:#66768a;font-size:var(--font-size-sm);cursor:pointer;border-bottom:2px solid transparent}.settings-tabs button.active{color:#243044;border-bottom-color:#3a6df0;font-weight:600}.settings-entry-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;overflow:auto;flex:1}.settings-entry-list>li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid #dbe3ed;border-radius:8px;background:#fff}.settings-entry-list>li.inactive{background:#f3f5f8;color:#66768a}.settings-entry-list>li strong{display:block;color:#243044;font-size:var(--font-size-sm)}.settings-entry-list>li span{display:block;color:#66768a;font-size:var(--font-size-xs)}.manuals-empty{color:#66768a;font-size:var(--font-size-xs);padding:12px;text-align:center}.patient-reports-panel{display:flex;flex-direction:column;gap:10px;padding:14px 16px;margin-bottom:14px;border:1px solid #d3deea;border-radius:8px;background:#f9fbfd}.patient-reports-panel header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.patient-reports-panel header h2{margin:0;font-size:var(--font-size-sm);color:#243044}.patient-reports-panel header p{margin:4px 0 0;color:#66768a;font-size:var(--font-size-xs)}.patient-reports-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.patient-report-row{display:grid;grid-template-columns:1fr auto;gap:6px 12px;padding:8px 12px;border:1px solid #dbe3ed;border-radius:8px;background:#fff}.patient-report-row.viewed{background:#f3fbf6}.patient-report-row.published{background:#f3f7ff}.patient-report-meta{display:flex;align-items:center;gap:10px}.patient-report-meta strong{display:block;color:#243044;font-size:var(--font-size-sm)}.patient-report-meta span{display:block;color:#66768a;font-size:var(--font-size-xs)}.patient-report-status{font-style:normal;font-size:var(--font-size-xs);padding:2px 8px;border-radius:999px;background:#eef2f7;color:#66768a}.patient-report-status.published{background:#e6efff;color:#1d3a8a}.patient-report-status.viewed{background:#e3f4e4;color:#2f6f3e}.patient-report-status.draft{background:#fef6ed;color:#8a5b00}.patient-report-actions{display:flex;gap:6px}.patient-report-link{grid-column:1 / -1;font-size:var(--font-size-xs);color:#66768a;word-break:break-all}.patient-report-empty{color:#66768a;font-size:var(--font-size-xs);padding:12px;text-align:center}.patient-report-create-drawer{width:min(680px,100%)}.patient-report-sections-editor{display:flex;flex-direction:column;gap:8px}.patient-report-sections-heading{display:flex;align-items:center;justify-content:space-between}.patient-report-sections-heading h4{margin:0;font-size:var(--font-size-sm);color:#243044}.patient-report-section-card{display:flex;flex-direction:column;gap:6px;padding:8px 10px;border:1px solid #dbe3ed;border-radius:8px;background:#fff}.public-report-shell{min-height:100vh;min-height:100dvh;background:#f4f7fb;display:grid;place-items:center;padding:32px 20px}.public-report-card{width:min(720px,100%);background:#fff;border:1px solid #dce4eb;border-radius:12px;padding:32px;box-shadow:0 8px 24px #2430440f}.public-report-header h1{margin:12px 0 6px;font-size:1.6rem;color:#1e2a3d}.public-report-subtitle{font-size:var(--font-size-base);color:#2c3a4f;margin:0 0 12px;line-height:var(--line-height-base)}.public-report-byline{color:#66768a;font-size:var(--font-size-sm)}.public-report-sections{display:flex;flex-direction:column;gap:18px;margin:24px 0 32px}.public-report-sections h2{margin:0 0 6px;font-size:1.1rem;color:#243044}.public-report-sections p{margin:0;color:#2c3a4f;line-height:1.7}.public-report-footer{border-top:1px solid #e2e8f0;padding-top:14px;color:#66768a;font-size:var(--font-size-xs)}.public-report-loading,.public-report-error{text-align:center;color:#243044}.public-report-error h1{margin:0 0 6px;font-size:1.2rem;color:#b42318}.duplicate-panel{display:flex;flex-direction:column;gap:6px;margin:10px 14px 0;padding:10px 12px;border:1px solid #f0c8c1;border-radius:8px;background:#fff7f5}.duplicate-panel-heading{display:flex;align-items:center;gap:6px;color:#b42318;font-size:var(--font-size-sm)}.duplicate-panel-heading strong{margin-right:4px}.duplicate-panel-heading span{color:#66768a;font-weight:400;font-size:var(--font-size-xs)}.duplicate-panel-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.duplicate-compare-drawer{width:min(720px,100%)}.duplicate-compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px 18px 18px}.duplicate-compare-grid article{border:1px solid #d3deea;border-radius:8px;padding:10px 12px;background:#fff}.duplicate-compare-grid h4{margin:0 0 6px;color:#243044;font-size:var(--font-size-sm)}.duplicate-compare-grid dl{display:grid;grid-template-columns:80px 1fr;gap:4px 8px;margin:0;font-size:var(--font-size-xs);color:#243044}.duplicate-compare-grid dt{color:#66768a}.duplicate-compare-grid dd{margin:0}.schedule-header-actions-row{display:flex;align-items:center;gap:8px;margin-top:4px}.followup-detail-meta{display:inline-flex;align-items:center;gap:4px;font-size:var(--font-size-xs);color:#66768a;margin:0}.chat-unmatched-banner strong{display:block;font-size:var(--font-size-sm);margin-bottom:2px}.chat-unmatched-banner span{display:block;color:#66768a;font-size:var(--font-size-xs);line-height:var(--line-height-base)}.context-unmatched-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:36px 24px;text-align:center;color:#66768a}.context-unmatched-placeholder h2{margin:0;color:#243044;font-size:var(--font-size-sm)}.context-unmatched-placeholder p{margin:0;font-size:var(--font-size-xs);line-height:var(--line-height-base)}.next-action-chips{display:flex;flex-direction:column;gap:6px;margin:10px 0 0;padding:0;list-style:none}.next-action-chip{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid #d3deea;border-radius:999px;background:#f3f7ff;color:#243044;font-size:var(--font-size-xs);line-height:1.2;cursor:pointer;transition:background-color .12s ease,border-color .12s ease}.next-action-chip:hover,.next-action-chip:focus-visible{background:#e6efff;border-color:#3a6df0}.next-action-chip strong{color:#1e2a3d;font-weight:600}.next-action-chip span{color:#243044}.next-action-chip em{color:#66768a;font-style:normal;margin-left:auto}.next-action-chip.follow-up{background:#f4f6ff}.next-action-chip.memo{background:#f3f8f3;border-color:#c8dec8}.complete-outcome-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:16px 18px 18px}.complete-outcome-option{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px solid #dce4eb;border-radius:8px;background:#fff;text-align:left;cursor:pointer;transition:border-color .12s ease,background-color .12s ease}.complete-outcome-option:hover,.complete-outcome-option:focus-visible{border-color:#3a6df0;background:#f3f7ff}.complete-outcome-option strong{color:#243044;font-size:var(--font-size-sm)}.complete-outcome-option span{color:#66768a;font-size:var(--font-size-xs);line-height:var(--line-height-base)}.chat-shell{display:flex;flex-direction:column;width:min(100%,1580px);height:100%;min-width:0;min-height:0}.chat-shell>.screen-state-banner{margin:8px 12px 0}.workspace{display:grid;grid-template-columns:minmax(260px,300px) minmax(440px,600px) minmax(300px,340px) minmax(280px,320px);width:min(100%,1580px);height:100%;min-height:0;min-width:0;overflow:hidden;border:1px solid #dce4eb;border-left:0;border-radius:0 8px 8px 0;background:#fff}.chat-shell>.workspace{flex:1;width:100%;height:auto;min-height:0}.chat-reference-column{display:contents}.panel,.inbox-panel{display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;overflow:hidden}.chat-panel{min-width:0;border-right:1px solid #e1e7ee;background:#fff}.patient-panel,.context-panel{border-right:0}.panel-header,.chat-header,.reference-panel-header{display:flex;align-items:center;justify-content:space-between;min-height:60px;padding:10px 14px;border-bottom:1px solid #e1e7ee}.panel-header h1,.panel-header h2,.chat-header h2,.reference-panel-header h2,.patient-card h2{margin:0;color:#121a2b;font-size:17px;line-height:1.2}.panel-header p,.chat-header p,.reference-panel-header p,.patient-card p{display:flex;align-items:center;gap:4px;margin:4px 0 0;color:#6d7b8c;font-size:12px;line-height:1.35}.icon-button{display:inline-grid;width:36px;height:36px;place-items:center;border:1px solid #dbe3ed;border-radius:8px;background:#fff;color:#6c7890;cursor:pointer}.icon-button:hover{border-color:#b9c8dc;color:#1e66ff}.status-tabs{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #e1e7ee}.status-tabs button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:42px;border-bottom:2px solid transparent;background:#fff;color:#6b7587;cursor:pointer;font-size:13px;font-weight:700}.status-tabs button.active{border-color:#1e66ff;color:#172033}.control-row{display:grid;grid-template-columns:112px minmax(0,1fr);gap:8px;padding:12px 12px 10px}.select-shell,.search-shell{display:flex;align-items:center;height:38px;gap:8px;min-width:0;border:1px solid #dbe3ed;border-radius:8px;background:#fff;color:#7a8796}.select-shell{position:relative;padding:0 8px 0 10px}.select-shell select{width:100%;min-width:0;border:0;outline:0;appearance:none;background:transparent;color:#526070;font-size:12px;font-weight:700}.search-shell{padding:0 12px}.search-shell input{min-width:0;width:100%;border:0;outline:0;color:#172033;font-size:13px}.search-shell input::placeholder,.composer textarea::placeholder{color:#9aa7b7}.conversation-list{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-bottom:12px}.conversation-item{display:grid;grid-template-columns:34px minmax(0,1fr) 54px;width:100%;min-height:86px;gap:10px;padding:14px 12px;border-bottom:1px solid #edf1f5;background:#fff;color:inherit;cursor:pointer;text-align:left}.conversation-item.selected{background:#eaf3ff}.conversation-item:hover{background:#f5f8fb}.channel-badge{display:grid;width:26px;height:26px;place-items:center;border-radius:7px;color:#fff;font-size:var(--font-size-2xs);font-weight:900}.channel-badge.with-logo{overflow:hidden;border:1px solid rgba(21,31,46,.08);background:#fff}.channel-badge img{display:block;width:100%;height:100%;object-fit:contain}.channel-kakao.with-logo img,.channel-naver.with-logo img{width:88%;height:88%}.channel-kakao{background:#f7ce00;color:#2f2a00}.channel-instagram{background:#e64b8a}.channel-naver{background:#13b45f}.channel-whatsapp{background:#24c164}.channel-line{background:#03c755}.channel-phone{background:#2a79ff}.conversation-copy{display:flex;min-width:0;flex-direction:column;gap:4px}.conversation-title{display:flex;align-items:center;justify-content:space-between;min-width:0;gap:8px}.conversation-title strong,.conversation-topic,.conversation-preview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-title strong{color:#172033;font-size:14px}.conversation-title span,.conversation-side{color:#788698;font-size:11px}.conversation-topic{color:#344154;font-size:12px;font-weight:800}.conversation-preview{color:#687789;font-size:12px}.conversation-side{display:flex;align-items:flex-end;flex-direction:column;gap:7px}.star-button{display:grid;width:22px;height:22px;place-items:center;background:transparent;color:#c5ccd6;cursor:pointer}.star-button.active{color:#f2bb16}.unread-dot{width:7px;height:7px;border-radius:50%;background:#ef4242}.manual-reference{display:grid;min-height:0;gap:12px;padding-top:14px}.manual-search-shell{display:flex;align-items:center;height:38px;gap:8px;min-width:0;padding:0 11px;border:1px solid #dbe3ed;border-radius:8px;background:#fff;color:#7a8796}.manual-search-shell input{width:100%;min-width:0;border:0;outline:0;color:#172033;font-size:12px}.manual-search-shell input::placeholder{color:#9aa7b7}.manual-list{display:grid;gap:8px;max-height:188px;overflow:auto;padding-bottom:2px}.manual-list-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;width:100%;min-height:64px;padding:10px 11px;border:1px solid #dfe6ef;border-radius:8px;background:#fff;color:#536173;cursor:pointer;text-align:left}.manual-list-item:hover{background:#f7faff}.manual-list-item.active{border-color:#1e66ff;background:#eef4ff}.manual-list-item span{grid-column:2;grid-row:1;justify-self:end;color:#1e66ff;font-size:11px;font-weight:900}.manual-list-item strong{grid-column:1;grid-row:1;overflow:hidden;color:#172033;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.manual-list-item small{display:-webkit-box;grid-column:1 / -1;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#66768a;font-size:11px;line-height:1.35}.manual-empty{padding:4px 2px}.manual-content{overflow:auto;max-height:none;min-height:0;padding:0 2px 24px}.manual-content section{padding:16px 0;border-top:1px solid #edf1f5}.manual-content section:first-child{padding-top:12px}.manual-content h4,.patient-section h3{margin:0;color:#182235;font-size:var(--font-size-base)}.manual-content p,.manual-content li,.memo-box,.faq-item p{color:#4e5e71;font-size:13px;line-height:1.7}.manual-content ul{margin:10px 0 0;padding-left:18px}.faq-item{margin-top:12px}.faq-item strong{color:#273348;font-size:13px}.chat-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;min-height:0;background:#eef5fb}.chat-header{background:#fff}.chat-title,.chat-actions,.patient-card,.section-heading,.care-rule,.appointment-item{display:flex;align-items:center}.chat-title{min-width:0;gap:10px}.chat-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}.pill{display:inline-flex;align-items:center;gap:4px;min-height:24px;max-width:100%;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800;line-height:1.1;white-space:nowrap}.pill.green{background:#dff8ef;color:#08784d}.pill.gray{background:#f0f3f7;color:#536173}.pill.purple{background:#efe7ff;color:#6542a8}.pill.status-pill{padding:4px 9px;border:1px solid transparent;font-weight:900}.pill.status-pill[data-status=신규문의]{background:#fff4e0;border-color:#ffd99a;color:#8a4a00}.pill.status-pill[data-status=잠재고객]{background:#e7f1ff;border-color:#b9d3ff;color:#1e4ea8}.pill.status-pill[data-status=예약고객]{background:#dff8ef;border-color:#9be3c4;color:#066c44}.pill.status-pill[data-status=내원고객]{background:#eaf3ff;border-color:#b6d2ff;color:#1e66ff}.pill.status-pill[data-status=휴면고객]{background:#eff2f7;border-color:#d8dee6;color:#66738a}.call-status-chip{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:0 9px;border:1px solid #cfe0ff;border-radius:999px;background:#f3f7ff;color:#1e66ff;font-size:12px;font-weight:800;white-space:nowrap}.next-action-status{display:inline-flex;align-items:center;min-height:28px;padding:0 9px;border-radius:999px;background:#eefbf5;color:#08755f;font-size:12px;font-weight:900;white-space:nowrap}.secondary-button,.primary-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;gap:6px;border-radius:8px;cursor:pointer;font-size:13px;font-weight:800}.secondary-button{border:1px solid #dbe3ed;background:#fff;color:#425168;padding:0 12px}.primary-button{background:#1e66ff;color:#fff;padding:0 14px}.chat-body{position:relative;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;padding:28px 26px;background:linear-gradient(180deg,#eef5fbeb,#e8f1f9f5),#eef5fb}.message-row{display:flex;margin:16px 0}.message-row.patient{justify-content:flex-start}.message-row.staff{justify-content:flex-end}.message-bubble{max-width:min(520px,78%);padding:12px 14px;border-radius:8px}.message-row.patient .message-bubble{background:#fff}.message-row.staff .message-bubble{background:#dbeaff}.message-bubble p{margin:0;color:#253246;font-size:var(--font-size-base);line-height:var(--line-height-readable)}.message-bubble span{display:block;margin-top:8px;color:#7b8798;font-size:var(--font-size-xs);text-align:right}.modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:24px;background:#17203347}.next-action-modal{width:min(680px,100%);max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);overflow:auto;border:1px solid #dbe3ed;border-radius:8px;background:#fff;padding:18px}.next-action-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.next-action-header h3{margin:0;color:#172033;font-size:14px}.next-action-header p{margin:4px 0 0;color:#66768a;font-size:12px}.next-action-close{flex:0 0 auto}.next-action-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}.next-action-tabs button{min-height:30px;padding:0 10px;border:1px solid #dbe3ed;border-radius:999px;background:#fff;color:#536173;cursor:pointer;font-size:12px;font-weight:900}.next-action-tabs button.active{border-color:#1e66ff;background:#eef4ff;color:#1e66ff}.next-action-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.next-action-form label{display:grid;gap:5px;min-width:0}.next-action-form label>span{color:#6b788a;font-size:11px;font-weight:900}.next-action-form input,.next-action-form select,.next-action-form textarea{width:100%;min-width:0;border:1px solid #dbe3ed;border-radius:8px;background:#fff;color:#172033;font-size:12px;outline:0}.next-action-form input,.next-action-form select{height:38px;padding:0 10px}.next-action-form textarea{min-height:112px;resize:none;padding:10px;line-height:1.45}.next-action-detail{grid-column:1 / -1}.next-action-submit{grid-column:1 / -1;justify-self:end;min-height:38px}.template-strip{display:flex;overflow-x:auto;gap:8px;padding:12px 14px;border-top:1px solid #dce6f0;background:#fff}.template-strip button{display:inline-flex;flex:0 0 auto;align-items:center;gap:7px;min-height:34px;padding:0 11px;border:1px solid #dbe3ed;border-radius:8px;background:#fff;color:#344154;cursor:pointer;font-size:var(--font-size-sm);font-weight:800}.template-strip span{color:#1e66ff}.composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px 14px max(14px,env(safe-area-inset-bottom));border-top:1px solid #e1e7ee;background:#fff}.composer textarea{width:100%;min-height:66px;resize:none;border:1px solid #dbe3ed;border-radius:8px;outline:0;padding:12px;color:#172033;font-size:var(--font-size-base);line-height:var(--line-height-readable)}.composer textarea:focus{border-color:#1e66ff;outline:3px solid rgba(30,102,255,.12);outline-offset:0}.composer-actions{display:flex;align-items:flex-end;gap:8px}.patient-panel,.context-panel,.manual-panel{overflow:auto;overscroll-behavior:contain;min-height:0;padding:16px}.manual-panel{display:grid;grid-template-rows:auto minmax(0,1fr)}.reference-panel-header{margin:-16px -16px 0;padding:14px 16px;background:#fff}.patient-card{gap:12px;padding-bottom:16px;border-bottom:1px solid #e1e7ee}.context-patient-card{margin:-16px -16px 0;padding:16px}.avatar{display:grid;flex:0 0 auto;width:48px;height:48px;overflow:hidden;place-items:center;border-radius:8px;background:#eef4ff;color:#1e66ff}.avatar img,.patient-list-avatar img,.profile-avatar img{display:block;width:100%;height:100%;object-fit:cover}.patient-name-row{display:flex;align-items:center;gap:8px}.patient-name-row span{padding:2px 7px;border-radius:999px;background:#f1f4f8;color:#657386;font-size:11px;font-weight:800}.tag-cloud{display:flex;flex-wrap:wrap;gap:6px;padding:14px 0}.tag-cloud.compact{padding:0}.patient-section,.context-section{padding:16px 0;border-top:1px solid #edf1f5}.patient-section.compact{padding:14px 0}.context-tabs{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;padding:12px 0;border-bottom:1px solid #e1e7ee}.context-tabs button{min-height:34px;border-radius:8px;background:#f4f7fb;color:#657386;cursor:pointer;font-size:var(--font-size-sm);font-weight:900}.context-tabs button.active{background:#eef4ff;color:#1e66ff}.context-body{min-width:0}.context-summary-grid{display:grid;grid-template-columns:1fr;gap:8px;padding-bottom:14px}.context-summary-grid article{padding:12px;border:1px solid #dfe6ef;border-radius:8px;background:#fff}.context-summary-grid span,.empty-state{color:#728095;font-size:var(--font-size-xs)}.screen-state-banner{display:grid;gap:3px;margin:8px 12px;padding:8px 10px;border:1px solid #dfe6ef;border-radius:8px;background:#f8fafc}.patient-workspace>.screen-state-banner,.schedule-workspace>.screen-state-banner{margin:8px 14px 0}.screen-state-banner strong{color:#243044;font-size:var(--font-size-sm)}.screen-state-banner span{color:#66768a;font-size:var(--font-size-xs);line-height:var(--line-height-base)}.screen-state-banner.loading{border-color:#bdd3ff;background:#f3f7ff}.screen-state-banner.success{border-color:#bfe9d8;background:#f2fbf7}.screen-state-banner.error,.screen-state-banner.fallback{border-color:#f0c8c1;background:#fff7f5}.screen-state-banner.error strong,.screen-state-banner.fallback strong{color:#b42318}.screen-empty{display:block;padding:14px}.context-summary-grid strong{display:block;margin-top:4px;color:#1c273a;font-size:var(--font-size-base)}.context-summary-grid p{margin:5px 0 0;color:#667489;font-size:var(--font-size-sm);line-height:var(--line-height-base)}.context-timeline{display:grid;gap:10px;padding-top:14px}.section-heading{gap:7px;margin-bottom:10px;color:#1e66ff}.appointment-list,.care-rule-list,.treatment-history-list{display:grid;gap:8px}.treatment-history-item{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:52px;padding:10px;border:1px solid #dfe6ef;border-radius:8px;background:#fff;color:#1e66ff}.treatment-history-item.done{color:#8a96a8;opacity:.7}.treatment-history-item.noShow,.treatment-history-item.cancelled{color:#d04437}.treatment-history-item div{display:grid;min-width:0;gap:3px}.treatment-history-item strong,.treatment-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treatment-history-item strong{color:#253246;font-size:12px}.treatment-history-item span{color:#6f7c8e;font-size:11px}.treatment-history-item em{color:#536173;font-size:11px;font-style:normal;font-weight:900}.appointment-item{justify-content:space-between;gap:8px;min-height:54px;padding:10px;border:1px solid #dfe6ef;border-radius:8px;background:#fff}.appointment-item.done{opacity:.64}.appointment-item div,.care-rule div{display:flex;min-width:0;flex-direction:column;gap:4px}.appointment-item strong,.care-rule strong{overflow:hidden;color:#253246;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.appointment-item span,.care-rule span{overflow:hidden;color:#6f7c8e;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.memo-box{margin:0;padding:12px;border-radius:8px;background:#f6f8fb}.chat-memo-list{display:flex;flex-direction:column;gap:8px}.chat-memo-composer{display:flex;flex-direction:column;gap:8px;margin-top:10px}.chat-memo-composer textarea{width:100%;min-height:64px;padding:10px 12px;border:1px solid #d8e0ea;border-radius:8px;font:inherit;resize:vertical}.chat-memo-composer textarea:focus{outline:none;border-color:#4a7cf0}.chat-memo-composer .secondary-button{align-self:flex-end}.care-rule{gap:9px}.care-rule-button{width:100%;appearance:none;background:transparent;border:0;padding:4px 6px;margin:-4px -6px;border-radius:8px;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background .12s}.care-rule-button:hover{background:#eef4ff}.care-rule-button:focus-visible{outline:2px solid #1e66ff;outline-offset:-2px}.status-light{width:9px;height:9px;border-radius:50%;background:#b9c2cf}.status-light.on{background:#0dbd73}.home-workspace{display:grid;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden;height:100%;min-height:0;border:1px solid #dce4eb;border-left:0;border-radius:0 8px 8px 0;background:#f8fafc}.home-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:8px 14px;border-bottom:1px solid #dfe6ef;background:#fff}.home-header h1{margin:0;color:#101828;font-size:16px;line-height:1.2}.home-header>div:first-child>span{display:none;color:#66768a;font-size:13px;line-height:1.45}.home-kpi-strip{display:grid;grid-template-columns:repeat(4,minmax(72px,1fr));gap:6px;min-width:min(390px,46%)}.workboard{display:grid;grid-template-columns:repeat(6,minmax(240px,1fr));gap:12px;overflow:auto;min-height:0;padding:12px}.workboard-column{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:240px;overflow:hidden;border:1px solid #dfe6ef;border-radius:8px;background:#fff}.workboard-column-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-height:78px;padding:14px;border-bottom:1px solid #edf1f5}.workboard-column-header h2{margin:0;color:#172033;font-size:15px}.workboard-column-header p{margin:5px 0 0;color:#66768a;font-size:11px;line-height:1.4}.workboard-column-header strong{display:grid;min-width:28px;height:28px;place-items:center;border-radius:8px;background:#eef4ff;color:#1e66ff;font-size:13px}.workboard-card-list{display:grid;align-content:start;gap:10px;overflow:auto;min-height:0;padding:12px}.workboard-card{display:grid;gap:9px;padding:12px;border:1px solid #e1e8f0;border-radius:8px;background:#fff}.workboard-card.high{border-color:#ffd0c7;background:#fffaf8}.workboard-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.workboard-patient-trigger{display:grid;flex:1 1 auto;grid-template-columns:34px minmax(0,1fr) 14px;align-items:center;gap:8px;min-width:0;padding:0;background:transparent;color:inherit;cursor:pointer;text-align:left}.workboard-avatar{display:grid;width:34px;height:34px;overflow:hidden;place-items:center;border-radius:8px;background:#e8f5f2;color:#08755f;font-size:13px;font-weight:900}.workboard-avatar img{display:block;width:100%;height:100%;object-fit:cover}.workboard-patient-trigger div{display:grid;min-width:0;gap:2px}.workboard-patient-trigger strong,.workboard-card h3,.workboard-card p{overflow:hidden;text-overflow:ellipsis}.workboard-patient-trigger strong,.workboard-card h3{white-space:nowrap}.workboard-patient-trigger strong{color:#172033;font-size:13px}.workboard-patient-trigger span{color:#7a8796;font-size:11px}.workboard-patient-trigger svg{color:#9aa7b7}.workboard-card-header em{color:#d04437;font-size:11px;font-style:normal;font-weight:900}.workboard-patient-menu{display:flex;flex-wrap:wrap;gap:6px;padding:8px;border:1px solid #dfe6ef;border-radius:8px;background:#f8fafc}.workboard-patient-menu button{min-height:28px;padding:0 8px;border:1px solid #d7e0eb;border-radius:8px;background:#fff;color:#39485c;cursor:pointer;font-size:11px;font-weight:900}.workboard-patient-menu button:hover{border-color:#1e66ff;color:#1e66ff}.workboard-card h3{margin:0;color:#243044;font-size:14px}.workboard-card p{display:-webkit-box;min-height:34px;margin:0;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#5f6f82;font-size:12px;line-height:1.45}.workboard-facts{display:grid;gap:5px;padding:8px 10px;border-radius:8px;background:#f7f9fc}.workboard-fact{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;color:#69788a;font-size:11px}.workboard-fact span,.workboard-fact strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workboard-fact span{flex:0 0 auto;font-weight:800}.workboard-fact strong{min-width:0;color:#344154;font-size:12px;text-align:right}.workboard-actions{display:flex;flex-wrap:wrap;gap:6px}.workboard-actions button{min-height:30px;padding:0 9px;border:1px solid #d7e0eb;border-radius:8px;background:#fff;color:#39485c;cursor:pointer;font-size:12px;font-weight:900}.workboard-actions button:hover{border-color:#1e66ff;color:#1e66ff}.workboard-actions .primary-workboard-action{border-color:#1e66ff;background:#1e66ff;color:#fff}.workboard-actions .primary-workboard-action:hover{background:#1556db;color:#fff}.workboard-empty{padding:10px 2px}.reports-workspace{display:flex;flex-direction:column;height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;border:1px solid #dce4eb;border-left:0;border-radius:0 8px 8px 0;background:#f8fafc}.reports-header{display:flex;align-items:center;min-height:50px;padding:9px 14px;border-bottom:1px solid #dfe6ef;background:#fff}.reports-header h1{margin:0;color:#101828;font-size:16px;line-height:1.2}.reports-layout{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:12px;overflow:hidden;min-height:0;padding:12px}.report-template-sidebar,.report-editor-panel{min-width:0;border:1px solid #dfe6ef;border-radius:8px;background:#fff}.report-template-sidebar{display:grid;grid-template-rows:auto auto auto minmax(0,1fr);overflow:hidden}.report-template-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:8px;padding:12px;border-bottom:1px solid #edf1f5}.report-template-meta{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px;border-bottom:1px solid #edf1f5}.report-template-meta span,.report-preview-inputs span{min-height:24px;padding:4px 7px;border-radius:999px;background:#f2f5f9;color:#607086;font-size:11px;font-weight:900}.report-template-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:10px 12px;border-bottom:1px solid #edf1f5}.report-template-tabs button{min-height:30px;border:1px solid #dbe3ed;border-radius:8px;background:#fff;color:#657386;cursor:pointer;font-size:12px;font-weight:900}.report-template-tabs button.active{border-color:#1e66ff;background:#eef4ff;color:#1e66ff}.report-template-list{display:grid;align-content:start;gap:8px;overflow:auto;min-height:0;padding:12px}.report-template-list-item{display:grid;gap:5px;width:100%;min-height:108px;padding:11px;border:1px solid #dfe6ef;border-radius:8px;background:#fff;color:#536173;cursor:pointer;text-align:left}.report-template-list-item:hover,.report-template-list-item.active{border-color:#1e66ff;background:#f5f8ff}.report-template-list-item span,.report-template-list-item em{color:#1e66ff;font-size:11px;font-style:normal;font-weight:900}.report-template-list-item strong{overflow:hidden;color:#172033;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.report-template-list-item small{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#66768a;font-size:12px;line-height:1.45}.report-template-list-item em{color:#7a8796}.report-template-editor{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;overflow:hidden;min-width:0;min-height:0}.report-editor-panel{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.report-editor-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-height:64px;padding:14px;border-bottom:1px solid #edf1f5}.report-editor-header h2,.report-section-title-row h3,.report-preview-panel h2,.report-preview-sections h3{margin:0;color:#172033}.report-editor-header h2{font-size:16px}.report-editor-header p{margin:5px 0 0;color:#66768a;font-size:12px}.report-editor-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;gap:8px}.report-editor-tabs{display:inline-grid;grid-template-columns:repeat(2,minmax(72px,1fr));gap:3px;padding:3px;border:1px solid #dbe3ed;border-radius:8px;background:#f5f8fb}.report-editor-tabs button{min-height:30px;padding:0 10px;border-radius:6px;background:transparent;color:#657386;cursor:pointer;font-size:12px;font-weight:900}.report-editor-tabs button.active{border:1px solid #dbe3ed;background:#fff;color:#1e66ff}.report-edit-pane{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;min-height:0}.report-editor-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px;border-bottom:1px solid #edf1f5}.report-editor-form label,.report-section-card label{display:grid;gap:6px;min-width:0}.report-editor-form span,.report-section-card span{color:#607086;font-size:11px;font-weight:900}.report-editor-form input,.report-editor-form select,.report-editor-form textarea,.report-section-card input,.report-section-card textarea{width:100%;min-width:0;border:1px solid #dbe3ed;border-radius:8px;background:#fff;color:#172033;font-size:13px}.report-editor-form input,.report-editor-form select,.report-section-card input{height:38px;padding:0 10px}.report-editor-form textarea,.report-section-card textarea{resize:vertical;padding:9px 10px;line-height:1.5}.report-field-wide{grid-column:span 2}.report-section-editor{overflow:auto;min-height:0;padding:14px}.report-section-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.report-section-title-row h3{font-size:15px}.report-section-card{display:grid;gap:10px;margin-bottom:10px;padding:12px;border:1px solid #dfe6ef;border-radius:8px;background:#fbfcfe}.report-section-card-header{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px}.report-section-card-header strong{display:grid;width:28px;height:28px;place-items:center;border-radius:8px;background:#eef4ff;color:#1e66ff;font-size:12px}.report-section-card-header button{min-height:30px;padding:0 9px;border:1px solid #d7e0eb;border-radius:8px;background:#fff;color:#657386;cursor:pointer;font-size:12px;font-weight:900}.report-preview-panel{overflow:auto;min-width:0;min-height:0;padding:18px;background:#fff}.report-preview-panel header{padding-bottom:14px;border-bottom:1px solid #edf1f5}.report-preview-panel header span{display:inline-flex;min-height:24px;align-items:center;padding:4px 8px;border-radius:999px;background:#eef4ff;color:#1e66ff;font-size:11px;font-weight:900}.report-preview-panel h2{margin-top:12px;font-size:20px}.report-preview-panel header p{margin:8px 0 0;color:#607086;font-size:13px;line-height:1.5}.report-preview-inputs{display:flex;flex-wrap:wrap;gap:6px;padding:14px 0;border-bottom:1px solid #edf1f5}.report-preview-sections{display:grid;gap:16px;padding-top:16px}.report-preview-sections h3{font-size:15px}.report-preview-sections p{margin:7px 0 0;color:#4f5f73;font-size:13px;line-height:1.65}.module-workspace{display:grid;height:100%;min-height:0;place-items:center;border:1px solid #dce4eb;border-left:0;border-radius:0 8px 8px 0;background:#f8fafc}.module-placeholder{width:min(760px,calc(100% - 40px));padding:22px;border:1px solid #dfe6ef;border-radius:8px;background:#fff}.module-placeholder-header{display:grid;grid-template-columns:56px minmax(0,1fr);gap:14px;padding-bottom:18px;border-bottom:1px solid #edf1f5}.module-placeholder-icon{display:grid;width:56px;height:56px;place-items:center;border-radius:8px;background:#eef4ff;color:#1e66ff}.module-placeholder-header span,.module-next-step span{color:#1e66ff;font-size:12px;font-weight:900}.module-placeholder-header h1{margin:3px 0 8px;color:#101828;font-size:24px;line-height:1.15}.module-placeholder-header p{margin:0;color:#5c6b7d;font-size:14px;line-height:1.55}.module-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.module-story-card{display:flex;min-height:94px;flex-direction:column;justify-content:space-between;gap:12px;padding:14px;border:1px solid #e2e8f0;border-radius:8px;background:#fbfcfe;color:#1e66ff}.module-story-card strong{color:#243044;font-size:13px;line-height:1.45}.module-next-step{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:13px 14px;border-radius:8px;background:#f5f8fb}.module-next-step strong{color:#273348;font-size:13px;text-align:right}.schedule-workspace{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;height:100%;min-height:0;border:1px solid #dce4eb;border-left:0;border-radius:0 8px 8px 0;background:#f8fafc}.schedule-header{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:50px;padding:9px 14px;border-bottom:1px solid #dfe6ef;background:#fff}.schedule-header h1{margin:0;color:#101828;font-size:16px;line-height:1.2}.schedule-header>div:first-child>span{display:none;color:#66768a;font-size:13px}.schedule-layout{display:grid;grid-template-columns:minmax(320px,380px) minmax(0,1fr);gap:14px;overflow:hidden;min-height:0;padding:12px}.schedule-side{grid-column:1;grid-row:1}.schedule-main{grid-column:2;grid-row:1}.schedule-main,.schedule-side{display:grid;align-content:start;gap:14px;overflow:auto;min-width:0}.schedule-calendar-card,.daily-agenda-card,.schedule-panel{min-width:0;border:1px solid #dfe6ef;border-radius:8px;background:#fff}.schedule-section-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:14px 16px;border-bottom:1px solid #edf1f5}.schedule-section-header.compact{min-height:48px}.schedule-calendar-header{align-items:flex-start}.schedule-header-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;gap:8px}.schedule-view-tabs{display:inline-grid;grid-template-columns:repeat(3,minmax(48px,1fr));gap:3px;padding:3px;border:1px solid #dbe3ed;border-radius:8px;background:#f5f8fb}.schedule-view-tabs button{min-height:30px;padding:0 10px;border-radius:6px;background:transparent;color:#657386;cursor:pointer;font-size:12px;font-weight:900}.schedule-view-tabs button.active{border:1px solid #dbe3ed;background:#fff;color:#1e66ff}.schedule-doctor-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:12px 14px 0}.schedule-doctor-tabs button{min-height:30px;padding:0 14px;border:1px solid #dbe3ed;border-radius:999px;background:#f5f8fb;color:#657386;cursor:pointer;font-size:12px;font-weight:800}.schedule-doctor-tabs button.active{border-color:#1e66ff;background:#1e66ff;color:#fff}.calendar-scroll{max-height:520px;overflow:auto}.assignment-treatments{display:flex;flex-direction:column;gap:6px}.assignment-treatments>span{font-size:12px;font-weight:800;color:#657386}.treatment-chip-row{display:flex;flex-wrap:wrap;gap:6px}.treatment-chip{padding:6px 12px;border:1px solid #dbe3ed;border-radius:999px;background:#f5f8fb;color:#45526a;cursor:pointer;font-size:12px;font-weight:700}.treatment-chip.active{border-color:#1e66ff;background:#e8f0ff;color:#1e66ff}.request-card[role=button]{cursor:pointer}.request-card[role=button]:focus-visible{outline:2px solid #1e66ff;outline-offset:2px}.schedule-section-header h2{margin:0;color:#172033;font-size:15px}.schedule-section-header p{margin:4px 0 0;color:#66768a;font-size:12px}.week-calendar{display:grid;grid-template-columns:repeat(7,minmax(86px,1fr));gap:8px;padding:14px 16px 16px}.week-day{position:relative;display:grid;min-height:96px;align-content:center;gap:4px;padding:12px 8px;border:1px solid #dfe6ef;border-radius:8px;background:#fff;color:#536173;cursor:pointer;text-align:center}.week-day:hover{background:#f7faff}.week-day.selected{border-color:#1e66ff;background:#eef4ff;color:#1e66ff}.week-day span,.week-day em{font-size:11px;font-style:normal;font-weight:900}.week-day strong{color:#172033;font-size:24px;line-height:1}.week-day mark{position:absolute;top:8px;right:8px;display:grid;width:20px;height:20px;place-items:center;border-radius:50%;background:#1e66ff;color:#fff;font-size:11px;font-weight:900}.agenda-count{display:inline-flex;min-height:28px;align-items:center;padding:0 10px;border-radius:999px;background:#eef4ff;color:#1e66ff;font-size:12px;font-weight:900}.agenda-list{display:grid}.weekly-calendar-grid{display:grid;grid-template-columns:58px repeat(7,minmax(116px,1fr));overflow:auto;padding:14px}.weekly-calendar-head,.weekly-day-head,.weekly-time,.weekly-slot{min-width:0;border-right:1px solid #edf1f5;border-bottom:1px solid #edf1f5}.weekly-day-head{display:grid;min-height:54px;align-content:center;gap:3px;background:#fff;color:#657386;cursor:pointer;text-align:center}.weekly-day-head.selected{background:#eef4ff;color:#1e66ff}.weekly-day-head span{font-size:11px;font-weight:900}.weekly-day-head strong{color:#172033;font-size:13px}.weekly-time{display:grid;min-height:82px;place-items:start center;padding-top:12px;color:#6a788b;font-size:12px;font-weight:900}.weekly-slot{display:grid;min-height:82px;gap:5px;padding:7px;background:#fff}.weekly-appointment,.weekly-empty-slot{width:100%;min-height:34px;border-radius:8px;cursor:pointer;font-size:11px;font-weight:900}.weekly-appointment{display:grid;align-content:center;gap:2px;padding:6px 7px;border:1px solid #cfe0ff;background:#f3f7ff;color:#1d2939;text-align:left}.weekly-appointment span{overflow:hidden;color:#66768a;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.weekly-empty-slot{border:1px dashed #cfd8e4;background:#fff;color:#9aa7b7}.weekly-empty-slot:not(:disabled):hover,.weekly-empty-slot.selected{border-color:#1e66ff;background:#eef4ff;color:#1e66ff}.weekly-empty-slot:disabled{cursor:not-allowed;opacity:.45}.monthly-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(78px,1fr));gap:8px;padding:14px}.month-weekday{color:#6a788b;font-size:12px;font-weight:900;text-align:center}.month-day{display:grid;min-height:88px;align-content:start;gap:4px;padding:10px;border:1px solid #dfe6ef;border-radius:8px;background:#fff;color:#536173;cursor:pointer;text-align:left}.month-day.placeholder{border-color:transparent;background:transparent}.month-day.selected{border-color:#1e66ff;background:#eef4ff}.month-day strong{color:#172033;font-size:16px}.month-day span,.month-day em{color:#728095;font-size:11px;font-style:normal;font-weight:900}.month-day em{margin-top:auto;color:#1e66ff}.agenda-row{display:grid;grid-template-columns:72px minmax(0,1fr);min-height:74px;border-bottom:1px solid #edf1f5}.agenda-row:last-child{border-bottom:0}.agenda-row time{padding:16px 14px;color:#6a788b;font-size:12px;font-weight:900}.agenda-slot{display:grid;align-items:center;gap:8px;padding:10px 14px;border-left:1px solid #edf1f5}.agenda-appointment{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:54px;padding:10px 12px;border:1px solid #d7e3f2;border-radius:8px;background:#f6fbff}.agenda-appointment div{display:flex;min-width:0;flex-direction:column;gap:4px}.agenda-appointment strong{overflow:hidden;color:#1d2939;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.agenda-appointment span{overflow:hidden;color:#66768a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.agenda-actions,.request-actions{display:flex;flex:0 0 auto;flex-direction:row;gap:6px}.agenda-actions button,.request-actions button{min-height:30px;padding:0 9px;border:1px solid #d7e0eb;border-radius:8px;background:#fff;color:#39485c;cursor:pointer;font-size:12px;font-weight:900}.agenda-actions button:hover,.request-actions button:hover{border-color:#1e66ff;color:#1e66ff}.empty-slot,.empty-slot-button{color:#9aa7b7;font-size:12px;font-weight:800}.empty-slot-button{width:max-content;min-height:32px;padding:0 10px;border:1px dashed #cfd8e4;border-radius:8px;background:#fff;cursor:pointer}.empty-slot-button:not(:disabled):hover,.empty-slot-button.selected{border-color:#1e66ff;background:#eef4ff;color:#1e66ff}.empty-slot-button:disabled{cursor:not-allowed;opacity:.7}.assignment-panel{display:grid;gap:12px;padding:12px}.assignment-patient{padding:12px;border:1px solid #dfe6ef;border-radius:8px;background:#f8fbff}.assignment-patient span{color:#1e66ff;font-size:12px;font-weight:900}.assignment-patient strong{display:block;margin-top:6px;color:#172033;font-size:14px;line-height:1.35}.assignment-patient p,.assignment-empty,.assignment-warning{margin:6px 0 0;color:#59687a;font-size:12px;line-height:1.5}.assignment-field-grid{display:grid;gap:8px}.assignment-field-grid label{display:grid;gap:6px}.assignment-field-grid label>span{color:#6b788a;font-size:11px;font-weight:900}.assignment-field-grid label>strong,.assignment-field-grid select{min-height:36px;padding:0 10px;border:1px solid #dbe3ed;border-radius:8px;background:#fff;color:#243044;font-size:13px;font-weight:800}.assignment-field-grid label>strong{display:flex;align-items:center}.assignment-warning{color:#d04437;font-weight:900}.assignment-button{width:100%}.primary-button:disabled{cursor:not-allowed;opacity:.55}.request-list{display:grid;gap:10px;overflow:auto;max-height:506px;padding:12px}.request-queue-header{align-items:flex-start}.queue-count{display:grid;min-width:72px;justify-items:end;gap:4px}.queue-count strong{color:#1e66ff;font-size:22px;line-height:1}.queue-count span{color:#d04437;font-size:11px;font-weight:900}.request-card{padding:13px;border:1px solid #e1e8f0;border-radius:8px;background:#fff}.request-card.selected{border-color:#1e66ff;background:#f4f8ff}.request-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.request-title-row strong{color:#d04437;font-size:11px}.request-type{display:inline-flex;min-height:22px;align-items:center;padding:0 7px;border-radius:999px;background:#eef4ff;color:#1e66ff;font-size:11px;font-weight:900}.request-type.change{background:#fff4e0;color:#b76100}.request-card h3{margin:10px 0 4px;color:#172033;font-size:15px}.request-card p{margin:0;color:#59687a;font-size:12px;line-height:1.5}.request-slot{display:inline-flex;align-items:center;gap:4px;margin-top:10px;color:#344154;font-size:12px;font-weight:900}.request-actions{margin-top:12px}.risk-list{display:grid}.risk-item{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:50px;padding:11px 14px;border-bottom:1px solid #edf1f5;background:#fff;color:inherit;cursor:pointer;text-align:left}.risk-item:last-child{border-bottom:0}.risk-item span{color:#243044;font-size:13px;font-weight:900}.risk-item strong{color:#d04437;font-size:12px}.patient-workspace{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;height:100%;min-height:0;border:1px solid #dce4eb;border-left:0;border-radius:0 8px 8px 0;background:#f8fafc}.patient-workspace-header{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:50px;padding:9px 14px;border-bottom:1px solid #dfe6ef;background:#fff}.patient-workspace-header h1{margin:0;color:#101828;font-size:16px;line-height:1.2}.patient-workspace-header>div:first-child>span{display:none;color:#66768a;font-size:13px;line-height:1.45}.profile-section-header p{color:#66768a;font-size:13px;line-height:1.45}.eyebrow{display:none;margin:0;color:#1e66ff;font-size:12px;font-weight:900}.stat-pill{min-height:42px;padding:7px 9px;border:1px solid #dfe6ef;border-radius:8px;background:#fff}.stat-pill span{display:block;color:#69788a;font-size:10px;font-weight:800}.insight-card span{display:block;color:#69788a;font-size:11px;font-weight:800}.stat-pill strong{display:block;margin-top:2px;color:#182235;font-size:18px;line-height:1}.stat-pill.danger strong{color:#d04437}.patient-management-grid{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);overflow:hidden;min-height:0}.patient-directory{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden;border-right:1px solid #dfe6ef;background:#fff}.directory-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:8px;padding:14px;border-bottom:1px solid #edf1f5}.patient-view-tabs{display:flex;overflow-x:auto;gap:8px;padding:0 14px 14px;border-bottom:1px solid #edf1f5}.patient-view-tabs button{flex:0 0 auto;min-height:32px;padding:0 11px;border:1px solid #dce4ee;border-radius:999px;background:#fff;color:#536173;cursor:pointer;font-size:12px;font-weight:800}.patient-view-tabs button.active{border-color:#1e66ff;background:#eef4ff;color:#1e66ff}.patient-list{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-bottom:12px}.patient-list-item{display:grid;grid-template-columns:42px minmax(0,1fr);width:100%;gap:10px;min-height:84px;padding:14px;border-bottom:1px solid #edf1f5;background:#fff;color:inherit;cursor:pointer;text-align:left}.patient-list-item:hover{background:#f6f9fc}.patient-list-item.selected{background:#edf6ff}.patient-list-avatar,.profile-avatar{display:grid;overflow:hidden;place-items:center;border-radius:8px;background:#e8f5f2;color:#08755f;font-weight:900}.patient-list-avatar{width:42px;height:42px}.patient-list-main,.patient-list-title,.profile-tag-row,.task-item div,.insight-card div{min-width:0}.patient-list-main{display:flex;flex-direction:column;gap:5px}.patient-list-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.patient-list-title strong,.patient-list-main>span,.insight-card strong,.timeline-title-row strong,.task-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.patient-list-title strong{color:#172033;font-size:14px}.patient-list-title em{flex:0 0 auto;color:#1e66ff;font-size:11px;font-style:normal;font-weight:900}.patient-list-main>span{color:#657386;font-size:12px}.patient-list-tags{display:flex;gap:5px}.patient-list-tags span{min-height:20px;padding:3px 7px;border-radius:999px;background:#f1f4f8;color:#5d6b7d;font-size:10px;font-weight:800}.patient-360{overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;min-width:0;height:100%;min-height:0;padding:12px}.profile-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px;border:1px solid #dfe6ef;border-radius:8px;background:#fff}.profile-identity{display:flex;min-width:0;gap:14px}.profile-avatar{flex:0 0 auto;width:58px;height:58px;font-size:22px}.profile-name-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.profile-name-row h2{margin:0;color:#101828;font-size:24px;line-height:1.15}.profile-name-row .pill.status-pill{padding:5px 11px;font-size:12px}.profile-identity p{margin:8px 0 10px;color:#59687a;font-size:13px}.profile-tag-row{display:flex;flex-wrap:wrap;gap:6px}.profile-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;gap:8px}.secondary-button:disabled{cursor:not-allowed;opacity:.5}.profile-insight-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:10px;margin-top:12px}.insight-card{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;min-height:104px;padding:14px;border:1px solid #dfe6ef;border-radius:8px;background:#fff}.insight-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:8px;background:#fff4e0;color:#b76100}.insight-card strong{display:block;margin-top:5px;color:#172033;font-size:14px}.insight-card p{display:-webkit-box;overflow:hidden;margin:6px 0 0;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#687789;font-size:12px;line-height:1.45}.profile-content-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:12px;margin-top:12px}.profile-section{min-width:0;border:1px solid #dfe6ef;border-radius:8px;background:#fff}.profile-section-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:14px 16px;border-bottom:1px solid #edf1f5}.profile-section-header.compact{min-height:48px}.profile-section-header h3{margin:0;color:#172033;font-size:15px}.profile-section-header p{margin:4px 0 0}.timeline-list,.task-list,.profile-side-stack,.patient-report-list{display:grid}.patient-report-list{gap:10px;padding:12px}.report-create-button{min-height:30px}.patient-report-card{display:grid;gap:8px;padding:12px;border:1px solid #dfe6ef;border-radius:8px;background:#fff}.patient-report-card.review{border-color:#ffe0a6;background:#fffaf0}.patient-report-card.published,.patient-report-card.viewed{border-color:#bfe9d8;background:#f5fcf8}.patient-report-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.patient-report-title-row span{min-height:22px;padding:4px 7px;border-radius:999px;background:#eef4ff;color:#1e66ff;font-size:11px;font-weight:900}.patient-report-title-row strong{color:#7a8796;font-size:11px}.patient-report-card h4{margin:0;color:#172033;font-size:14px}.patient-report-card p{display:-webkit-box;overflow:hidden;margin:0;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#5f6f82;font-size:12px;line-height:1.45}.patient-report-actions{display:flex;flex-wrap:wrap;gap:6px}.patient-report-actions button{min-height:30px;padding:0 9px;border:1px solid #d7e0eb;border-radius:8px;background:#fff;color:#39485c;cursor:pointer;font-size:12px;font-weight:900}.patient-report-actions button:hover{border-color:#1e66ff;color:#1e66ff}.timeline-list{gap:0}.timeline-item{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;padding:16px;border-bottom:1px solid #edf1f5}.timeline-item:last-child{border-bottom:0}.timeline-marker{display:grid;width:34px;height:34px;place-items:center;border-radius:8px;background:#eef4ff;color:#1e66ff}.timeline-item.appointment .timeline-marker{background:#e8f5f2;color:#08755f}.timeline-item.care .timeline-marker{background:#fff4e0;color:#b76100}.timeline-item.memo .timeline-marker{background:#f3efff;color:#6d42ba}.timeline-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.timeline-title-row strong{color:#1d2939;font-size:14px}.timeline-title-row span{display:inline-flex;flex:0 0 auto;align-items:center;gap:4px;color:#768397;font-size:11px;font-weight:800}.timeline-item p{margin:7px 0 0;color:#586779;font-size:13px;line-height:1.55}.profile-side-stack{align-content:start;gap:12px}.task-list{gap:0}.task-item{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;padding:12px 14px;border-bottom:1px solid #edf1f5}.task-item:last-child{border-bottom:0}.task-item.done{opacity:.68}.task-item-button{width:100%;appearance:none;background:transparent;border:0;border-bottom:1px solid #edf1f5;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background .12s}.task-item-button:hover{background:#f6f9fc}.task-item-button:focus-visible{outline:2px solid #1e66ff;outline-offset:-2px;background:#f0f6ff}.task-check{display:grid;width:18px;height:18px;place-items:center;border:1px solid #cfd8e4;border-radius:50%}.task-check.checked{border-color:#0dbd73;background:#0dbd73;color:#fff}.task-item strong{display:block;color:#243044;font-size:13px}.task-item span{display:block;margin-top:4px;color:#728095;font-size:11px}@media(max-width:1420px){.app-shell{padding:12px}.workspace{grid-template-columns:minmax(248px,280px) minmax(380px,1fr) minmax(260px,300px) minmax(250px,290px);width:100%}.chat-panel{border-right:1px solid #e1e7ee}.home-kpi-strip{grid-template-columns:repeat(4,minmax(72px,1fr));min-width:min(390px,46%)}.profile-insight-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}.week-calendar{grid-template-columns:repeat(4,minmax(86px,1fr))}}@media(max-width:1240px){.workspace{grid-template-columns:minmax(250px,300px) minmax(420px,1fr);grid-template-rows:minmax(0,1fr) auto}.chat-reference-column{display:grid;grid-column:1 / -1;grid-template-columns:repeat(2,minmax(0,1fr));min-height:0;max-height:40dvh;border-top:1px solid #e1e7ee}.manual-panel,.context-panel{height:auto;min-height:0}.context-panel{border-right:0}}@media(max-width:1040px){.app-shell{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);padding:12px}.sidebar{grid-row:1;flex-direction:row;width:100%;height:auto;overflow-x:auto;overflow-y:hidden;border-radius:8px 8px 0 0;border:1px solid #dce4eb;border-bottom:0}.nav-stack{flex-direction:row}.nav-item{min-width:64px}.workspace{grid-template-columns:minmax(260px,.85fr) minmax(360px,1.15fr);border-left:1px solid #dce4eb;border-radius:0 0 8px 8px}.home-workspace,.patient-workspace,.reports-workspace,.schedule-workspace,.followup-workspace,.manuals-workspace,.settings-workspace,.module-workspace,.admin-workspace{border-left:1px solid #dce4eb;border-radius:0 0 8px 8px}.chat-reference-column{grid-column:1 / -1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:35dvh}.conversation-list,.patient-panel,.manual-panel,.context-panel,.manual-content{min-height:0}.home-header,.patient-workspace-header,.schedule-header,.reports-header{align-items:flex-start;flex-direction:column}.home-kpi-strip,.module-story-grid,.schedule-layout,.patient-management-grid,.profile-content-grid,.reports-layout,.report-template-editor,.report-editor-form{grid-template-columns:1fr;min-width:0;width:100%}.schedule-main,.schedule-side{grid-column:auto;grid-row:auto}.workboard{grid-template-columns:repeat(3,minmax(220px,1fr))}.next-action-form{grid-template-columns:repeat(2,minmax(0,1fr))}.next-action-detail{grid-column:1 / -1}.report-field-wide{grid-column:auto}}@media(max-width:760px){.app-shell{height:auto;min-height:100vh;min-height:100dvh;overflow:visible}.home-workspace,.patient-workspace,.reports-workspace,.schedule-workspace,.followup-workspace,.manuals-workspace,.settings-workspace,.module-workspace,.admin-workspace,.chat-shell{height:auto;min-height:0;overflow:visible}.workspace{display:flex;flex-direction:column;height:auto;overflow:visible}.inbox-panel,.chat-panel,.manual-panel,.context-panel{border-right:0;height:auto;min-height:0}.chat-panel{grid-template-rows:auto auto auto auto}.chat-body{max-height:60dvh}.chat-reference-column{display:flex;flex-direction:column}.conversation-list{max-height:60dvh}.chat-header,.next-action-form,.composer,.control-row{grid-template-columns:1fr}.next-action-detail{grid-column:auto}.next-action-header{align-items:flex-start}.next-action-modal{width:calc(100vw - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:16px}.next-action-submit{justify-self:stretch}.chat-header{align-items:flex-start;flex-direction:column;gap:12px}.chat-actions{justify-content:flex-start}.message-bubble{max-width:92%}.home-header,.patient-workspace-header,.schedule-header,.reports-header,.workboard,.schedule-layout,.reports-layout,.patient-360,.module-placeholder{padding:14px}.home-kpi-strip,.week-calendar,.profile-insight-grid,.report-template-tabs,.workboard{grid-template-columns:1fr}.report-editor-header,.report-section-title-row,.report-editor-actions{align-items:flex-start;flex-direction:column}.report-editor-actions,.report-editor-tabs,.report-editor-actions .primary-button{width:100%}.report-section-card-header{grid-template-columns:28px minmax(0,1fr)}.report-section-card-header button{grid-column:2;justify-self:start}.agenda-row{grid-template-columns:1fr}.agenda-slot{border-left:0;border-top:1px solid #edf1f5}.agenda-appointment,.schedule-section-header,.schedule-header-actions{align-items:flex-start;flex-direction:column}.schedule-header-actions,.schedule-view-tabs{width:100%}.schedule-view-tabs{grid-template-columns:repeat(3,1fr)}.monthly-calendar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-placeholder-header{grid-template-columns:1fr}.module-next-step{align-items:flex-start;flex-direction:column}.module-next-step strong{text-align:left}.profile-hero,.profile-identity,.profile-actions{flex-direction:column}.profile-actions{align-items:stretch;width:100%}.profile-actions .secondary-button,.profile-actions .primary-button{width:100%}}.profile-identity-line{color:#4b5563;font-size:13px}.patient-edit-gender{border:0;padding:0;margin:0}.patient-edit-gender>legend{font-size:12px;color:#4b5563;margin-bottom:4px}.patient-edit-gender-options{display:flex;gap:8px}.radio-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border:1px solid #d1d5db;border-radius:999px;background:#fff;font-size:13px;cursor:pointer}.radio-chip>input[type=radio]{position:absolute;opacity:0;width:0;height:0}.radio-chip.active{background:#2563eb;color:#fff;border-color:#2563eb}.followup-priority-preview{margin:0;padding:8px 12px;background:#f9fafb;border-left:3px solid #2563eb;border-radius:4px;font-size:12px;color:#374151}.followup-priority-preview>span{color:#6b7280;margin-left:6px}.insight-card.clickable{cursor:pointer;text-align:left;font:inherit;width:100%;border:1px solid transparent}.insight-card.clickable:hover{border-color:#d1d5db;background:#f9fafb}.patient-filter-bar{display:flex;flex-direction:column;gap:8px;padding:8px 12px;border-bottom:1px solid #ececf2;background:#fafbfc}.patient-filter-status{display:flex;align-items:center;gap:8px;font-size:12px;color:#4b5563}.patient-filter-status select{padding:4px 8px;border:1px solid #d1d5db;border-radius:6px;background:#fff;font-size:13px}.patient-filter-tags{display:flex;flex-wrap:wrap;gap:4px}.patient-filter-tags:before{content:"태그";color:#4b5563;font-size:12px;padding:4px 0;margin-right:4px}.filter-tag-chip{font-size:12px;padding:3px 10px;border:1px solid #d1d5db;border-radius:999px;background:#fff;color:#374151;cursor:pointer}.filter-tag-chip.active{background:#2563eb;color:#fff;border-color:#2563eb}.patient-list-identifiers{display:flex;flex-wrap:wrap;gap:6px 10px;font-size:12px;color:#6b7280}.patient-list-identifiers>span{white-space:nowrap}.followup-care-library{margin-top:24px;padding:20px 24px;background:#fff;border:1px solid #e5e7eb;border-radius:12px}.followup-care-library>header h3{margin:0 0 4px;font-size:15px}.followup-care-library>header p{margin:0 0 16px;color:#6b7280;font-size:13px}.followup-care-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.followup-care-card{border:1px solid #e5e7eb;border-radius:10px;padding:12px 14px;background:#f9fafb}.followup-care-card header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.followup-care-card header h4{margin:0;font-size:14px}.followup-care-card p{margin:0;font-size:13px;color:#374151;line-height:1.55}.admin-workspace{display:block;grid-template-columns:none;width:100%;height:100%;min-height:0;padding:24px 32px;overflow-y:auto;overscroll-behavior:contain}.admin-workspace .workspace-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px}.admin-workspace .workspace-header h2{margin:0 0 4px}.admin-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px 24px;margin-bottom:20px}.admin-section h3{margin:0 0 4px;font-size:15px}.admin-section .subtitle{margin:0 0 16px;color:#6b7280;font-size:13px}.admin-table{width:100%;border-collapse:collapse;font-size:13px}.admin-table th,.admin-table td{text-align:left;padding:8px 10px;border-bottom:1px solid #f1f1f3}.admin-table th{background:#f9fafb;font-weight:600;font-size:12px;color:#4b5563}.admin-table td code{font-family:ui-monospace,SFMono-Regular,monospace;background:#f3f4f6;padding:1px 6px;border-radius:4px;font-size:12px}.admin-audit-table td:first-child{white-space:nowrap;color:#6b7280}.status-banner-error{background:#fee2e2;color:#991b1b;padding:12px 16px;border-radius:8px;margin-bottom:16px}.datepicker-field{position:relative;display:block;width:100%}.datepicker-input-shell{display:flex;align-items:stretch;gap:0;border:1px solid #dbe3ed;border-radius:8px;background:#fff;transition:border-color .12s,box-shadow .12s;overflow:hidden}.datepicker-field.open .datepicker-input-shell,.datepicker-input-shell:focus-within{border-color:#1e66ff;box-shadow:0 0 0 3px #1e66ff26}.datepicker-input-shell input{flex:1;min-width:0;padding:10px 12px;border:0;background:transparent;color:#243044;font:inherit;font-size:14px;font-weight:600;outline:none}.datepicker-input-shell input::placeholder{color:#9aa7b7;font-weight:500}.datepicker-toggle{display:flex;align-items:center;justify-content:center;width:40px;border:0;border-left:1px solid #edf1f5;background:#f8fafc;color:#4f5f73;cursor:pointer;transition:background .12s,color .12s}.datepicker-toggle:hover{background:#eef4ff;color:#1e66ff}.datepicker-popover{position:fixed;z-index:1000;padding:12px;border:1px solid #d8e0ea;border-radius:12px;background:#fff;box-shadow:0 18px 44px #23344a29}.datepicker-popover .rdp-root{--rdp-accent-color: #1e66ff;--rdp-accent-background-color: #eef4ff;--rdp-day-height: 38px;--rdp-day-width: 38px;--rdp-day_button-height: 36px;--rdp-day_button-width: 36px;--rdp-day_button-border-radius: 8px;--rdp-selected-border: 2px solid #1e66ff;--rdp-today-color: #1e66ff;--rdp-outside-opacity: .42;--rdp-weekday-opacity: 1;--rdp-weekday-text-transform: none;--rdp-nav_button-height: 32px;--rdp-nav_button-width: 32px;--rdp-disabled-opacity: .32;font-size:14px;color:#243044}.datepicker-popover .rdp-caption_label{font-size:15px;font-weight:700;color:#243044}.datepicker-popover .rdp-weekdays{color:#6b7a90;font-weight:600;font-size:12px}.datepicker-popover .rdp-day_button{font-weight:500;color:#243044}.datepicker-popover .rdp-day_button:hover:not([disabled]){background:#eef4ff;color:#1e66ff}.datepicker-popover .rdp-selected .rdp-day_button{background:#1e66ff;color:#fff;font-weight:700;border-color:#1e66ff}.datepicker-popover .rdp-today:not(.rdp-selected) .rdp-day_button{color:#1e66ff;font-weight:700}.datepicker-popover .rdp-nav button{border-radius:8px;color:#4f5f73}.datepicker-popover .rdp-nav button:hover{background:#eef4ff;color:#1e66ff}@media(max-width:760px){.datepicker-popover .rdp-root{--rdp-day-height: 42px;--rdp-day-width: 42px;--rdp-day_button-height: 40px;--rdp-day_button-width: 40px}}
