: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}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;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);min-height:100vh;padding:12px}.sidebar{display:flex;flex-direction:column;align-items:center;gap:18px;width:72px;padding:16px 8px;border:1px solid #dce4eb;border-radius:8px 0 0 8px;background:#fff}.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}.workspace{display:grid;grid-template-columns:minmax(260px,300px) minmax(440px,600px) minmax(300px,340px) minmax(280px,320px);width:min(100%,1580px);overflow:hidden;height:calc(100vh - 24px);min-height:0;border:1px solid #dce4eb;border-left:0;border-radius:0 8px 8px 0;background:#fff}.chat-reference-column{display:contents}.panel,.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{overflow:auto;height:calc(100vh - 188px);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(260px,1fr) auto auto;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}.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;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);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;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;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}.care-rule{gap:9px}.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;min-height:calc(100vh - 24px);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:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;min-height:calc(100vh - 24px);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;min-height:calc(100vh - 24px);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;min-height:calc(100vh - 24px);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-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;min-height:calc(100vh - 24px);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{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{overflow:auto;height:calc(100vh - 226px);padding-bottom:12px}.patient-list-item{display:grid;grid-template-columns:42px minmax(0,1fr) 68px;width:100%;gap:10px;min-height:104px;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,.patient-list-meta,.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,.patient-list-meta strong,.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-list-meta{display:flex;align-items:flex-end;flex-direction:column;gap:7px;color:#8491a3;font-size:11px}.patient-list-meta strong{max-width:68px;color:#2e3a4d;font-size:11px}.patient-360{overflow:auto;min-width:0;height:calc(100vh - 102px);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 span{min-height:24px;padding:5px 9px;border-radius:999px;background:#eaf3ff;color:#1e66ff;font-size:12px;font-weight:900}.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-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);height:auto;min-height:calc(100vh - 24px)}.chat-reference-column{display:grid;grid-column:1 / -1;grid-template-columns:repeat(2,minmax(0,1fr));min-height:0;border-top:1px solid #e1e7ee}.manual-panel,.context-panel{height:auto;max-height:560px}.context-panel{border-right:0}}@media(max-width:1040px){.app-shell{grid-template-columns:1fr;padding:12px}.sidebar{position:sticky;top:0;z-index:4;flex-direction:row;overflow-x:auto;width:100%;height:auto;border-radius:8px 8px 0 0}.nav-stack{flex-direction:row}.nav-item{min-width:64px}.workspace{grid-template-columns:minmax(260px,.85fr) minmax(360px,1.15fr);min-height:auto;border-left:1px solid #dce4eb;border-radius:0 0 8px 8px}.home-workspace,.patient-workspace,.reports-workspace{min-height:auto;overflow:visible;border-left:1px solid #dce4eb;border-radius:0 0 8px 8px}.module-workspace{min-height:620px;border-left:1px solid #dce4eb;border-radius:0 0 8px 8px}.schedule-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))}.conversation-list,.patient-panel,.manual-panel,.context-panel,.manual-content{height:auto;max-height:none}.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));overflow:visible}.patient-list,.workboard-card-list,.schedule-main,.schedule-side,.patient-360,.report-template-list,.report-editor-panel,.report-preview-panel{height:auto}.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){.workspace{display:flex;flex-direction:column}.inbox-panel,.chat-panel,.manual-panel,.context-panel{border-right:0}.chat-reference-column{display:flex;flex-direction:column}.conversation-list{max-height:320px}.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);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%}}
