:root{--ink:#18332f;--muted:#82928d;--line:#e8edeb;--canvas:#f6f8f7;--green:#208f7b;--green-dark:#167b69;--green-pale:#eaf5f2;--white:#fff;--shadow:0 5px 20px rgba(28,60,52,.045);font-family:'DM Sans','Noto Sans SC',sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--canvas);font-size:13px}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;padding:27px 17px 18px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);padding:0 9px;margin:2px 0 42px}.brand-mark{width:37px;height:37px;border-radius:13px;background:#e8f5f1;display:grid;place-items:center}.brand-mark svg{width:22px;height:22px;stroke:var(--green);fill:none;stroke-width:1.8}.brand strong{font-size:17px;letter-spacing:.04em;display:block}.brand small{display:block;color:#9aa9a5;font-size:8px;letter-spacing:.17em;margin-top:2px;font-weight:700}.workspace-label{padding:0 11px 12px;color:#9ba8a4;font-size:10px;letter-spacing:.09em;text-transform:uppercase}.online-dot{width:6px;height:6px;background:#56bb91;border-radius:50%;display:inline-block;margin-left:5px;vertical-align:1px}.main-nav{display:grid;gap:5px}.nav-item{border:0;background:transparent;color:#6f817b;font:500 12px inherit;font-family:inherit;text-align:left;height:42px;border-radius:8px;padding:0 12px;display:flex;align-items:center;gap:12px;cursor:pointer;transition:.15s}.nav-item:hover{background:#f6f9f8}.nav-item.active{color:var(--green-dark);background:#eaf5f2;font-weight:600}.nav-icon{font-size:16px;width:17px;text-align:center}.nav-count{margin-left:auto;background:#fff;color:#81938c;border-radius:5px;padding:3px 7px;font-size:10px}.sidebar-bottom{margin-top:auto}.privacy-card{display:flex;align-items:center;gap:10px;padding:12px 10px;background:#f5f8f7;border:1px solid #edf1ef;border-radius:9px;margin-bottom:14px}.privacy-icon{font-size:18px;color:var(--green)}.privacy-card b,.profile-copy b{font-size:11px}.privacy-card p{margin:3px 0 0;font-size:9px;color:#899893}.privacy-card .check{color:#4eac8e;margin-left:auto;font-size:12px}.profile-button{border:0;border-top:1px solid var(--line);padding:15px 4px 0;background:none;width:100%;display:flex;align-items:center;text-align:left;gap:10px;cursor:pointer;color:var(--ink)}.avatar{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;background:#dfebe7;color:#3d7568;font-size:12px;font-weight:700}.profile-copy small{display:block;color:#92a09b;font-size:10px;margin-top:4px}.more{margin-left:auto;font-size:20px;color:#99a6a2}.main-content{margin-left:240px;padding:0 35px 18px;max-width:1680px}.topbar{height:66px;border-bottom:1px solid #e9eeec;display:flex;align-items:center;justify-content:space-between}.breadcrumb{font-size:11px;color:#87958f}.breadcrumb span{margin:0 9px;color:#bbc5c1}.breadcrumb b{font-weight:500;color:#405b54}.top-actions{display:flex;align-items:center;gap:18px;color:#798a84;font-size:11px}.date-label{color:#8c9a95}.icon-button{position:relative;width:30px;height:30px;border:1px solid var(--line);background:#fff;border-radius:8px;color:#71827c;font-size:17px}.icon-button i{position:absolute;right:5px;top:5px;width:5px;height:5px;background:#e99677;border-radius:50%}.help-button{border:0;background:none;color:#71827c;font:inherit;cursor:pointer}.help-button span{margin-left:5px}.page-heading{display:flex;justify-content:space-between;align-items:center;padding:25px 0 22px}.eyebrow,.section-kicker{font-size:9px;letter-spacing:.11em;color:#8a9a94;font-weight:600}.eyebrow{display:flex;align-items:center;gap:7px}.pulse{width:6px;height:6px;border-radius:50%;background:#69bd9e;box-shadow:0 0 0 3px #e2f3eb}h1{font-size:25px;line-height:1.2;margin:8px 0 5px;letter-spacing:-.03em;font-weight:600}.title-dot{color:#45ad91} .page-heading p{margin:0;color:#87958f;font-size:11px}.heading-actions{display:flex;gap:9px}.button{height:35px;border-radius:7px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font:500 11px inherit;font-family:inherit;cursor:pointer;transition:.16s}.button-primary{background:var(--green);border:1px solid var(--green);color:white;box-shadow:0 3px 7px #188c7720}.button-primary:hover{background:var(--green-dark)}.button-primary:disabled{background:#aecdc4;border-color:#aecdc4;cursor:not-allowed;box-shadow:none}.button-quiet{background:#fff;border:1px solid var(--line);color:#536a62}.button-quiet:hover,.button-outline:hover{border-color:#9dcdbf;background:#fbfefd}.button-primary span{font-size:15px}.button-quiet span{font-size:14px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:15px}.stat-card,.panel{background:#fff;border:1px solid #e9eeec;border-radius:10px;box-shadow:var(--shadow)}.stat-card{padding:14px 16px 12px;min-height:112px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#7d8e88;font-size:10px}.stat-icon{width:25px;height:25px;border-radius:7px;display:grid;place-items:center;font-size:13px}.stat-icon.teal{background:#eaf5f2;color:#43a58d}.stat-icon.amber{background:#fff5e8;color:#dda450}.stat-icon.blue{background:#eef3fb;color:#7899cd}.stat-icon.violet{background:#f4f0fb;color:#9e87c7}.stat-value{font-size:23px;font-weight:600;margin:7px 0 3px;letter-spacing:-.03em}.stat-value small{font-size:10px;color:#8c9b96;font-weight:400;letter-spacing:0}.stat-foot{font-size:9px;color:#99a6a1}.trend{color:#48a784;margin-right:4px}.stat-status{display:flex;align-items:center;gap:8px;font-size:16px;margin-top:12px}.status-dot{width:7px;height:7px;border-radius:50%;background:#e0a55b}.stat-model{font-size:16px;margin-top:12px}.stat-foot button{border:0;background:none;padding:0;color:var(--green);font:inherit;font-size:9px;cursor:pointer}.stat-foot button span{font-size:13px;margin-left:3px}.work-grid{display:grid;grid-template-columns:minmax(400px,1.72fr) minmax(260px,.92fr);gap:14px;align-items:stretch}.panel{padding:17px 19px}.consult-panel{min-height:363px}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start}.panel-heading h2,.conversation-head h2{font-size:16px;letter-spacing:-.02em;margin:5px 0 4px;font-weight:600}.panel-heading p,.conversation-head p{font-size:10px;color:#8a9994;margin:0}.step-badge{border:1px solid var(--line);border-radius:20px;padding:5px 9px;color:#82938d;font-size:9px}.step-dot{display:inline-block;width:5px;height:5px;background:#56ad90;border-radius:50%;margin-right:5px;vertical-align:1px}.consent-banner{display:flex;align-items:center;gap:10px;background:#f3f9f7;border:1px solid #e5f1ed;border-radius:8px;margin:17px 0 14px;padding:11px}.consent-symbol{width:25px;height:25px;border-radius:50%;background:#e0f2ec;color:#389e82;display:grid;place-items:center;font-size:12px}.consent-banner b{font-size:10px;font-weight:600}.consent-banner p{font-size:9px;color:#8a9a94;margin:4px 0 0}.text-button,.link-button{border:0;background:none;color:var(--green);font:500 9px inherit;font-family:inherit;cursor:pointer;white-space:nowrap}.text-button{margin-left:auto}.text-button span,.link-button span{margin-left:4px}.form-row{margin:0 1px 12px}.form-row>label{display:block;font-size:10px;color:#526a62;margin-bottom:6px;font-weight:500}.optional{font-size:9px;color:#a7b1ad;font-weight:400;margin-left:4px}.form-row input,.form-row textarea,.config-grid input,.config-grid select,.signature-area input{width:100%;font:11px inherit;font-family:inherit;color:var(--ink);border:1px solid #e7edeb;border-radius:6px;background:#fff;outline:none;transition:.15s}.form-row input{height:33px;padding:0 10px}.form-row textarea{padding:9px 10px;resize:vertical;min-height:62px;line-height:1.6}.form-row input:focus,.form-row textarea:focus,.config-grid input:focus,.config-grid select:focus,.signature-area input:focus{border-color:#8bcbb7;box-shadow:0 0 0 3px #edf8f4}.form-row input::placeholder,.form-row textarea::placeholder,.config-grid input::placeholder{color:#b4bfbb}.symptom-input-wrap{position:relative}.symptom-input-wrap textarea{padding-right:37px}.mic-button{position:absolute;right:8px;bottom:8px;border:0;background:#f1f7f5;color:var(--green);width:25px;height:25px;border-radius:6px;cursor:pointer;font-size:15px}.input-hint{display:flex;justify-content:space-between;color:#a0ada8;font-size:8px;margin-top:4px}.intake-footer{border-top:1px solid #eff2f1;padding-top:12px;display:flex;justify-content:space-between;align-items:center}.consent-state{font-size:9px;color:#ac8d59}.mini-lock{font-size:13px;margin-right:3px}.start-button{height:34px}.right-column{display:grid;grid-template-rows:1.4fr 1fr;gap:14px}.side-panel-title{display:flex;align-items:center;justify-content:space-between}.side-panel-title h3,.safety-head h3,.list-heading h3{margin:4px 0 0;font-size:13px;font-weight:600}.more-button{border:0;background:none;color:#97a5a0;font-size:18px;cursor:pointer}.muted-copy{margin:7px 0 11px;color:#8c9b96;font-size:9px;line-height:1.5}.folder-drop{border:1px dashed #cddbd6;border-radius:8px;background:#fbfdfc;min-height:135px;display:flex;align-items:center;flex-direction:column;padding:11px}.folder-icon{width:27px;height:25px;color:#6aaf98;display:grid;place-items:center;font-size:21px}.folder-drop b{font-size:9px;font-weight:600;margin:3px 0}.folder-drop>span{font-size:8px;color:#a0ada8}.button-outline{height:28px;padding:0 10px;margin-top:9px;border:1px solid #dce8e3;background:#fff;color:#528777;font-size:9px}.source-note{font-size:8px;color:#9ba8a3;margin-top:10px}.source-note span{color:#6aa991;font-size:11px;margin-right:4px}.connected-folder{margin-top:18px}.folder-ready{display:flex;align-items:center;gap:9px}.folder-ready>span{width:30px;height:29px;border-radius:7px;background:#eaf5f1;color:#57a68e;display:grid;place-items:center}.folder-ready div{min-width:0}.folder-ready b,.folder-ready small{display:block}.folder-ready b{font-size:9px;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-ready small{font-size:8px;color:#91a09a;margin-top:3px}.folder-ready button{margin-left:auto;border:0;background:none;color:#a0aaa6;font-size:16px;cursor:pointer}.indexed-progress{height:4px;background:#edf3f0;border-radius:5px;margin:14px 0 6px}.indexed-progress span{display:block;height:100%;background:#61b99a;border-radius:5px}.local-note{font-size:8px;color:#80a394}.knowledge-panel{position:relative}.safety-panel{padding:15px 17px}.safety-head{display:flex;align-items:center;gap:9px}.shield{width:29px;height:29px;border-radius:9px;background:#eaf5f2;color:#3a9a81;display:grid;place-items:center;font-size:15px}.safety-head h3{margin:0;font-size:11px}.safety-head small{display:block;color:#9aa7a2;font-size:8px;margin-top:3px}.safety-live{margin-left:auto;background:#eff8f4;color:#5caa8e;border-radius:10px;padding:4px 7px;font-size:8px}.safety-panel ul{list-style:none;padding:7px 0 0;margin:0;display:grid;gap:6px}.safety-panel li{font-size:9px;color:#6f827a}.safety-panel li span{color:#48a687;margin-right:7px}.bottom-grid{display:grid;grid-template-columns:minmax(400px,1.72fr) minmax(260px,.92fr);gap:14px;margin-top:15px}.recent-panel{padding:14px 17px 7px}.list-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.list-heading h3{font-size:13px}.case-table{width:100%}.table-row{display:grid;grid-template-columns:1.22fr 1.25fr .82fr .55fr;align-items:center;gap:8px;min-height:42px;border-top:1px solid #f0f3f2;font-size:9px;color:#82918c}.table-header{min-height:27px;border-top:0;color:#a1ada8;font-size:8px}.patient-cell{display:flex;align-items:center;gap:6px;min-width:0}.patient-cell b{font-size:9px;font-weight:500;color:#455e55;white-space:nowrap}.patient-cell small{font-size:7px;color:#a3afaa;white-space:nowrap}.table-avatar{width:24px;height:24px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;font-size:9px}.pale-blue{background:#edf2fa;color:#7893bf}.pale-peach{background:#fbf0e8;color:#cf9470}.pale-green{background:#edf4e9;color:#8fa66d}.tag{font-style:normal;font-size:8px;padding:4px 7px;border-radius:4px;white-space:nowrap}.reviewing{background:#fff6e8;color:#c79342}.complete{background:#eaf6ef;color:#64a180}.draft{background:#f1f3f2;color:#8d9a95}.tip-panel{padding:16px 18px;background:#f0f7f4;border-color:#e6f0ec;display:flex;flex-direction:column;min-height:142px}.tip-head{display:flex;align-items:center;gap:7px}.tip-spark{color:#56a88e;font-size:13px}.tip-head .section-kicker{font-size:8px;color:#85a298}.tip-number{margin-left:auto;font-size:8px;color:#9badA5}.tip-panel h3{font-size:13px;margin:13px 0 6px;font-weight:600}.tip-panel p{font-size:9px;line-height:1.7;color:#7e9088;margin:0}.tip-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;color:#a0aea7;font-size:8px;padding-top:8px}.tip-dots{display:flex;gap:4px}.tip-dots i{width:4px;height:4px;background:#d0dfd9;border-radius:50%}.tip-dots i.on{width:12px;background:#70b49c;border-radius:4px}.page-footer{display:flex;justify-content:space-between;padding:15px 2px 0;color:#a2ada9;font-size:8px}.conversation-panel{margin-top:14px;padding:20px;}.conversation-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:13px}.review-pill{font-size:9px;color:#a17d42;background:#fff7e9;border-radius:20px;padding:6px 10px}.review-pill span{display:inline-block;width:5px;height:5px;border-radius:50%;background:#dda953;margin-right:5px}.conversation-body{min-height:160px;max-height:330px;overflow:auto;padding:15px 8px;display:flex;flex-direction:column;gap:12px}.message{max-width:78%;border-radius:10px;padding:11px 13px;font-size:11px;line-height:1.65}.message.assistant{background:#f1f7f5;align-self:flex-start;color:#49635b}.message.patient{background:#208f7b;color:#fff;align-self:flex-end}.message-label{display:block;font-size:8px;opacity:.65;margin-bottom:4px}.chat-composer{display:flex;align-items:flex-end;gap:9px;border-top:1px solid var(--line);padding-top:12px}.chat-composer textarea{flex:1;resize:vertical;min-height:45px;border:1px solid var(--line);border-radius:7px;padding:9px;font:11px inherit;font-family:inherit;outline:none}.review-notice{text-align:right;color:#a2ada8;font-size:8px;margin-top:8px}.case-preview{margin-top:15px;border:1px solid #e5eeea;border-radius:8px;padding:15px;background:#fbfdfc}.case-preview h3{font-size:12px;margin:0 0 10px}.case-preview p{font-size:10px;color:#64776f;line-height:1.7;margin:4px 0}.case-preview .differential{background:#fff7e9;border-radius:6px;padding:9px;color:#8e7449}.modal-backdrop{position:fixed;inset:0;background:rgba(22,42,37,.35);backdrop-filter:blur(3px);z-index:20;display:grid;place-items:center;padding:20px;overflow:auto}.modal-backdrop[hidden]{display:none}.modal{position:relative;background:#fff;border-radius:14px;width:min(540px,100%);padding:27px 30px 22px;box-shadow:0 20px 70px #152e2828;max-height:calc(100vh - 40px);overflow:auto}.modal-close{position:absolute;right:17px;top:14px;border:0;background:none;color:#8d9b96;font-size:23px;cursor:pointer}.modal-icon{width:36px;height:36px;background:#eaf5f1;color:#399980;border-radius:11px;display:grid;place-items:center;font-size:19px;margin-bottom:12px}.model-icon{background:#f1edf8;color:#967dc0}.modal h2{font-size:19px;margin:6px 0 6px;letter-spacing:-.02em}.modal-lede{font-size:10px;color:#87958f;margin:0 0 15px;line-height:1.7}.consent-document{background:#f8faf9;border:1px solid #edf1ef;border-radius:8px;padding:13px 15px;max-height:205px;overflow:auto}.consent-document h3{font-size:10px;margin:0 0 5px}.consent-document p{font-size:9px;line-height:1.75;color:#71837b;margin:0 0 12px}.consent-document p:last-child{margin-bottom:0}.consent-check{display:flex;align-items:flex-start;gap:8px;color:#536a62;font-size:9px;line-height:1.6;margin:14px 0 12px;cursor:pointer}.consent-check input{accent-color:var(--green);margin-top:2px}.signature-area label{display:block;font-size:9px;color:#63776f;margin-bottom:5px}.signature-area input{height:33px;padding:0 9px}.signature-area small{display:block;font-size:8px;color:#a0ada8;margin-top:4px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.legal-note{border-top:1px solid #edf1ef;margin-top:16px;padding-top:10px;color:#a18b67;font-size:8px;line-height:1.6}.config-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.config-grid label{font-size:9px;color:#60766c}.config-grid input,.config-grid select{display:block;height:34px;margin-top:5px;padding:0 9px}.full-field{grid-column:1 / -1}.config-note{display:flex;gap:9px;background:#f5f8fb;border:1px solid #e9eef4;border-radius:7px;margin-top:14px;padding:10px;color:#7290a5}.config-note>span{font-size:13px}.config-note b{font-size:9px;color:#657f91}.config-note p{font-size:8px;line-height:1.65;color:#8296a4;margin:4px 0 0}.config-feedback{font-size:9px;color:#478e78;text-align:right;margin-top:7px;min-height:12px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;transition:.2s;background:#24463d;color:white;padding:10px 16px;border-radius:8px;font-size:10px;box-shadow:0 8px 24px #1229202b;z-index:30}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1500px){.main-content{padding-left:48px;padding-right:48px}.panel{padding:20px 22px}.consult-panel{min-height:380px}.folder-drop{min-height:145px}}
@media(max-width:1050px){.sidebar{width:205px}.main-content{margin-left:205px;padding-left:22px;padding-right:22px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.work-grid,.bottom-grid{grid-template-columns:minmax(0,1.5fr) minmax(245px,.9fr)}}
@media(max-width:760px){.sidebar{width:58px;padding:18px 8px}.brand{padding:0;margin:0 auto 35px}.brand>span:last-child,.workspace-label,.nav-item:not(.active),.nav-item.active{font-size:0}.nav-item{justify-content:center;padding:0;width:42px;height:42px;margin:0 auto}.nav-icon{font-size:17px}.nav-count,.sidebar-bottom .privacy-card,.profile-copy,.profile-button .more{display:none}.sidebar-bottom{display:flex;justify-content:center}.profile-button{border:0;padding:0;width:auto}.main-content{margin-left:58px;padding:0 14px 15px}.topbar{height:53px}.top-actions{gap:9px}.date-label,.help-button{display:none}.page-heading{align-items:flex-start;padding:20px 0 17px;gap:9px}.page-heading h1{font-size:21px}.heading-actions{align-self:center}.button{padding:0 9px}.heading-actions .button-quiet{font-size:0;width:34px}.heading-actions .button-quiet span{font-size:14px}.stats-grid{gap:8px}.stat-card{padding:11px;min-height:98px}.work-grid,.bottom-grid{grid-template-columns:1fr}.right-column{grid-template-columns:1fr 1fr;grid-template-rows:auto}.folder-drop{min-height:134px}.safety-panel{padding:13px}.consult-panel{min-height:unset}.table-row{grid-template-columns:1.05fr 1.15fr .6fr .55fr;gap:4px}.patient-cell small{display:none}.table-row{font-size:8px}.tip-panel{min-height:130px}.page-footer{gap:10px;line-height:1.5}.modal{padding:23px 20px 18px}.consent-banner{align-items:flex-start}.text-button{align-self:center}}
@media(max-width:470px){.right-column{grid-template-columns:1fr}.safety-panel{padding:15px}.page-heading{display:block}.heading-actions{margin-top:12px}.heading-actions .button-quiet{font-size:10px;width:auto}.table-row{grid-template-columns:1.2fr 1.2fr .65fr .52fr}.table-row>*:nth-child(3){font-size:7px}.stat-value{font-size:20px}.config-grid{grid-template-columns:1fr}.full-field{grid-column:auto}.intake-footer{align-items:flex-start;gap:8px;flex-direction:column}.start-button{align-self:flex-end}}
.memory-config{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;border:1px solid #edf1ef;border-radius:8px;padding:11px;margin-top:14px;background:#fbfdfc}.memory-config>div{min-width:0}.memory-config b{display:block;font-size:10px;margin-top:4px}.memory-config p{font-size:8px;color:#91a09a;margin:4px 0 0}.memory-config select{height:30px;border:1px solid #e6ece9;border-radius:6px;background:#fff;padding:0 7px;color:#566c63;font:9px 'Noto Sans SC',sans-serif}.memory-config .button{margin:0;white-space:nowrap}@media(max-width:470px){.memory-config{grid-template-columns:1fr auto}.memory-config .button{grid-column:1/-1}}
.management-view{padding:8px 0 20px}.management-intro{display:flex;align-items:center;justify-content:space-between;margin:14px 0 16px}.management-intro h2{font-size:19px;margin:5px 0}.management-intro p{font-size:10px;color:#87958f;margin:0}.prototype-badge,.library-scope{font-size:9px;color:#78958a;background:#eef6f2;border-radius:20px;padding:7px 10px;white-space:nowrap}.knowledge-toolbar{display:flex;align-items:center;gap:10px;padding:12px 15px;margin-bottom:13px}.knowledge-toolbar label,.device-label{font-size:10px;color:#60766c}.knowledge-toolbar select,.device-select{height:34px;min-width:150px;border:1px solid #e6ece9;border-radius:6px;background:#fff;padding:0 9px;color:#4e665d;font:10px 'Noto Sans SC',sans-serif}.knowledge-toolbar .button{height:34px}.toolbar-spacer{flex:1}.library-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:13px}.library-summary article{padding:13px 16px}.library-summary span{display:block;color:#8b9994;font-size:9px}.library-summary b{display:block;margin-top:6px;font-size:16px;font-weight:600}.library-summary .pending-state{font-size:11px;color:#c09250}.library-panel{padding:17px 19px}.library-panel .list-heading{margin-bottom:5px}.library-panel .muted-copy{font-size:10px;margin:8px 0 15px}.library-empty{min-height:145px;border:1px dashed #d7e2de;border-radius:9px;background:#fbfdfc;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#85968f}.library-empty[hidden]{display:none}.library-empty>span{font-size:22px;color:#73ad98}.library-empty b{font-size:10px;font-weight:600;color:#5e766c}.library-empty small{font-size:9px}.library-file-list{display:grid;gap:7px}.library-file-row{display:grid;grid-template-columns:36px minmax(0,1fr) 80px 60px;align-items:center;gap:10px;min-height:44px;border:1px solid #edf1ef;border-radius:7px;padding:6px 9px}.file-type-icon{width:30px;height:29px;display:grid;place-items:center;border-radius:6px;background:#eef5f2;color:#52947e;font-size:8px;font-weight:700}.library-file-row b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:500;color:#4a6359}.library-file-row small{font-size:8px;color:#95a29d}.library-file-row i{justify-self:end;background:#fff6e8;color:#b18a4e;border-radius:10px;padding:4px 6px;font-size:8px;font-style:normal}.library-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf1ef;margin-top:12px;padding-top:10px;color:#9aa7a2;font-size:8px}.library-footer .text-button{font-size:9px}.management-view>.config-note{margin-top:13px}.device-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.9fr);gap:14px}.device-panel,.device-notes{padding:18px 20px}.device-panel .list-heading{margin-bottom:15px}.device-panel .list-heading h3,.device-notes h3{font-size:13px;margin:4px 0}.device-panel .button{height:32px}.device-label{display:block;margin-bottom:6px}.device-select{width:100%}.selected-device-card{display:flex;align-items:center;gap:10px;border:1px solid #edf1ef;border-radius:8px;margin-top:13px;padding:11px}.device-icon{width:33px;height:33px;border-radius:9px;display:grid;place-items:center;background:#eaf5f2;color:#399980;font-size:17px}.selected-device-card div{min-width:0}.selected-device-card b,.selected-device-card small{display:block}.selected-device-card b{font-size:10px;font-weight:600}.selected-device-card small{font-size:8px;color:#96a39e;margin-top:4px}.device-status{margin-left:auto;color:#91a099;background:#f3f6f4;border-radius:12px;padding:5px 8px;font-size:8px;white-space:nowrap}.level-label{display:flex;justify-content:space-between;margin:18px 0 7px;color:#73867d;font-size:9px}.audio-meter{height:10px;background:#edf3f0;border-radius:10px;overflow:hidden}.audio-meter span{display:block;width:0;height:100%;background:linear-gradient(90deg,#70c29e,#3b9e80);border-radius:inherit;transition:width .08s}.device-actions{display:flex;gap:8px;margin-top:15px}.device-feedback{min-height:28px;margin-top:10px;color:#899992;font-size:9px;line-height:1.6}.device-notes h3{margin-top:7px}.device-notes ul{padding-left:17px;color:#71847a;font-size:9px;line-height:1.8}.device-notes li{padding-left:2px;margin-bottom:5px}.device-notes .config-note{margin-top:15px}.device-notes .config-note p{font-size:8px}
@media(max-width:760px){.management-intro{align-items:flex-start;gap:10px}.management-intro h2{font-size:17px}.prototype-badge{font-size:8px;padding:6px 8px}.knowledge-toolbar{flex-wrap:wrap}.toolbar-spacer{display:none}.library-summary{gap:8px}.library-summary article{padding:11px}.library-summary b{font-size:14px}.device-layout{grid-template-columns:1fr}.device-panel,.device-notes{padding:15px}.management-view{padding-top:3px}}
@media(max-width:470px){.management-intro{display:block}.prototype-badge{display:inline-block;margin-top:9px}.knowledge-toolbar>*{flex:1}.knowledge-toolbar label{flex-basis:100%}.knowledge-toolbar select{min-width:0}.library-summary{grid-template-columns:1fr}.library-summary article{display:flex;align-items:center;justify-content:space-between}.library-summary b{margin:0}.library-file-row{grid-template-columns:31px minmax(0,1fr) 55px 52px;gap:6px;padding:6px}.library-file-row small{font-size:7px}.library-file-row i{font-size:7px}.library-footer{align-items:flex-start;gap:8px}.device-panel .list-heading{align-items:flex-start}}
.subject-context{display:flex;align-items:flex-start;gap:12px;border:1px solid #edf1ef;border-radius:7px;padding:9px 10px;margin:0 1px 12px;background:#fbfdfc}.subject-context>div:first-child{min-width:118px;padding-top:3px}.subject-context b,.subject-context small{display:block}.subject-context b{font-size:9px;font-weight:500;color:#536a62}.subject-context small{font-size:8px;color:#a0ada8;margin-top:4px}.subject-chip-list{display:flex;flex-wrap:wrap;gap:5px}.subject-chip{border:1px solid #e4ece8;border-radius:14px;background:#fff;padding:5px 8px;color:#80918a;font:8px 'Noto Sans SC',sans-serif;cursor:pointer}.subject-chip.selected{border-color:#b8ded1;background:#eaf5f1;color:#34866f}
@media(max-width:470px){.subject-context{display:block}.subject-chip-list{margin-top:7px}}
.archive-toolbar{display:flex;align-items:center;gap:10px;padding:11px 14px;margin-bottom:13px}.archive-toolbar label{font-size:9px;color:#71837a;white-space:nowrap}.archive-toolbar input{height:33px;flex:1;border:1px solid #e6ece9;border-radius:6px;padding:0 10px;font:10px 'Noto Sans SC',sans-serif;outline:none}.patient-list-panel,.record-history{padding:16px 18px}.patients-list{display:grid}.patient-list-row{width:100%;display:grid;grid-template-columns:36px minmax(130px,1fr) minmax(150px,1fr) auto 20px;align-items:center;gap:11px;border:0;border-top:1px solid #edf1ef;background:#fff;text-align:left;padding:11px 4px;cursor:pointer;font-family:inherit}.patient-list-row:hover{background:#fbfdfc}.patient-list-avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#eaf4f0;color:#4c9b81;font-size:11px}.patient-list-identity b,.patient-list-identity small{display:block}.patient-list-identity b{font-size:10px;font-weight:600;color:#405a50}.patient-list-identity small,.patient-list-recent{font-size:8px;color:#97a49e;margin-top:4px}.patient-list-arrow{color:#62a88f}.record-actions{display:flex;gap:8px}.record-history{margin-top:10px}.visit-history-list{display:grid;gap:10px}.visit-history-card{border:1px solid #eaf0ed;border-radius:8px;padding:13px 14px}.visit-history-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.visit-history-head b{font-size:10px;color:#4b665a}.visit-history-head small{font-size:8px;color:#9aa7a1}.visit-history-card>p{font-size:9px;color:#71837a;margin:8px 0}.visit-details{border-top:1px solid #edf1ef;padding-top:9px}.visit-details summary{font-size:9px;color:#488b75;cursor:pointer}.visit-detail-body{display:grid;gap:9px;margin-top:10px}.visit-detail-body section b{font-size:9px;color:#516a60}.visit-detail-body p{font-size:9px;color:#71837a;white-space:pre-wrap;line-height:1.6;margin:4px 0 0}.workflow-stepper{display:grid;grid-template-columns:1fr 24px 1fr 24px 1fr 24px 1fr;align-items:center;margin:12px 0 14px}.workflow-stepper>span{height:1px;background:#dfe9e4}.workflow-step{display:flex;align-items:center;justify-content:center;gap:7px;border:0;background:none;color:#96a39d;font:9px 'Noto Sans SC',sans-serif;white-space:nowrap}.workflow-step i{width:23px;height:23px;border:1px solid #dfe8e4;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:9px;background:white}.workflow-step.active{color:#208f7b;font-weight:600}.workflow-step.active i,.workflow-step.complete i{background:#e7f4ef;border-color:#bfdfd2;color:#27866f}.workflow-panel{padding:20px}.workflow-stage[hidden]{display:none}.workflow-stage-heading{margin-bottom:17px}.workflow-stage-heading h3{font-size:15px;margin:5px 0}.workflow-stage-heading p{font-size:9px;color:#87958f;margin:0}.patient-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.patient-form-grid label,.workflow-field,.review-grid label{font-size:9px;color:#61766d}.patient-form-grid label em{font-style:normal;color:#bd8065;font-size:8px;margin-left:4px}.patient-form-grid label span{font-size:8px;color:#9ba8a3}.patient-form-grid input,.patient-form-grid select,.workflow-field textarea,.review-grid textarea,.dialogue-composer textarea,.dialogue-composer select,.review-chat-composer input{display:block;width:100%;margin-top:5px;min-height:35px;border:1px solid #e5ece8;border-radius:6px;background:#fff;padding:8px 10px;font:10px 'Noto Sans SC',sans-serif;color:#243d35;outline:none}.patient-form-grid input:focus,.patient-form-grid select:focus,.workflow-field textarea:focus,.review-grid textarea:focus,.dialogue-composer textarea:focus,.review-chat-composer input:focus{border-color:#8bcbb7;box-shadow:0 0 0 3px #edf8f4}.patient-form-grid input[readonly]{background:#f7faf8;color:#83938b}.consent-inline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding:12px;border:1px solid #e7f0ec;border-radius:8px;background:#f8fbf9}.consent-inline b,.consent-inline small{display:block}.consent-inline b{font-size:9px;color:#51675d}.consent-inline small{font-size:8px;color:#8b9993;margin-top:4px}.consent-inline .button{height:30px}.consent-confirmed{color:#318469!important}.workflow-field{display:block;margin:0 0 15px}.workflow-field textarea{min-height:95px;resize:vertical;line-height:1.6}.workflow-field>b,.workflow-field>small{display:block}.workflow-field>b{font-weight:500}.workflow-field>small{font-size:8px;color:#9aa7a2;margin-top:4px}.workflow-field .subject-chip-list{margin-top:8px}.previous-visit-banner{margin-top:12px;padding:10px 12px;border:1px solid #e5eee9;border-radius:7px;background:#f6faf8;color:#668076;font-size:9px;line-height:1.6}.previous-visit-banner[hidden]{display:none}.intake-mode-switch{display:flex;gap:6px;border-bottom:1px solid #edf1ef;padding-bottom:10px}.mode-button{border:1px solid #e5ece8;background:#fff;border-radius:16px;padding:6px 10px;color:#7f9189;font:9px 'Noto Sans SC',sans-serif;cursor:pointer}.mode-button.active{border-color:#b8ded1;background:#eaf5f1;color:#34866f}.agent-demo-note{margin:9px 0;padding:8px 10px;border-radius:6px;background:#f7f9fb;color:#788d9a;font-size:8px}.dialogue-log{display:flex;flex-direction:column;gap:8px;min-height:105px;max-height:230px;overflow:auto;padding:12px 2px}.dialogue-empty{display:grid;place-items:center;min-height:80px;color:#a0ada8;font-size:9px}.dialogue-entry{position:relative;border:1px solid #edf1ef;border-radius:8px;padding:9px 45px 9px 10px;background:#fbfdfc}.dialogue-entry.agent-entry{background:#f3f8f6;border-color:#e4efea}.dialogue-entry>b{font-size:8px;color:#4c917a}.dialogue-entry p{font-size:9px;line-height:1.6;color:#536a60;margin:4px 0 0;white-space:pre-wrap}.dialogue-entry small{position:absolute;right:9px;top:9px;font-size:7px;color:#a4afaa}.dialogue-composer{display:grid;grid-template-columns:74px minmax(0,1fr) 34px auto;align-items:end;gap:7px;border-top:1px solid #edf1ef;padding-top:10px}.dialogue-composer select{height:34px;min-height:34px;padding:0 6px;margin:0}.dialogue-composer textarea{height:60px;min-height:40px;resize:vertical;margin:0}.dialogue-composer .button{height:34px}.workflow-inline-status{min-height:17px;margin-top:5px;color:#8f9c96;font-size:8px}.agent-question-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:5px;color:#83938c;font-size:8px}.agent-question-row .text-button{font-size:8px}.agent-question-row button[hidden]{display:none}.draft-warning{background:#fff8eb;border:1px solid #f1e7cf;border-radius:7px;padding:9px 11px;color:#997943;font-size:9px;line-height:1.5;margin-bottom:13px}.review-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.review-grid label:first-child{grid-column:1/-1}.review-grid textarea{resize:vertical;line-height:1.6}.agent-review-chat{margin-top:16px;border:1px solid #eaf0ed;border-radius:8px;padding:12px}.agent-review-chat .list-heading{margin-bottom:9px}.agent-review-chat .list-heading h3{font-size:11px}.review-chat-log{display:grid;gap:7px;max-height:155px;overflow:auto}.review-chat-message{padding:8px 10px;border-radius:7px;font-size:8px;line-height:1.6;color:#60766d;background:#f5f8f6}.review-chat-message.user{justify-self:end;background:#eaf5f1;color:#3c7968;max-width:85%}.review-chat-composer{display:flex;gap:7px;margin-top:8px}.review-chat-composer input{margin:0;min-height:32px;height:32px}.review-chat-composer .button{height:32px}.workflow-footer{display:flex;align-items:center;gap:8px;border-top:1px solid #edf1ef;margin-top:17px;padding-top:12px}.workflow-footer-spacer{flex:1}
@media(max-width:760px){.workflow-stepper{grid-template-columns:1fr 10px 1fr 10px 1fr 10px 1fr}.workflow-step{gap:4px;font-size:8px}.workflow-step i{width:21px;height:21px}.patient-list-row{grid-template-columns:32px minmax(100px,1fr) minmax(100px,1fr) auto 14px;gap:7px}.record-actions{flex-direction:column}.record-actions .button{height:30px}.workflow-panel{padding:15px}.workflow-stepper{margin-left:-5px;margin-right:-5px}.workflow-stage-heading h3{font-size:14px}}
@media(max-width:470px){.archive-toolbar{align-items:flex-start;flex-direction:column}.archive-toolbar input{width:100%;flex:unset}.patient-list-row{grid-template-columns:31px minmax(0,1fr) auto 15px}.patient-list-recent{display:none}.patient-list-row .library-scope{font-size:7px;padding:5px 6px}.workflow-stepper{grid-template-columns:repeat(4,1fr);gap:4px}.workflow-stepper>span{display:none}.workflow-step{flex-direction:column;gap:3px;font-size:7px}.workflow-step i{width:20px;height:20px}.patient-form-grid,.review-grid{grid-template-columns:1fr}.review-grid label:first-child{grid-column:auto}.dialogue-composer{grid-template-columns:65px minmax(0,1fr) 32px}.dialogue-composer #add-dialogue{grid-column:1/-1;width:100%}.workflow-footer{flex-wrap:wrap}.record-actions{width:100%;flex-direction:row}.record-actions .button{flex:1}}
/* Lightweight in-page SVG icon system; no remote icon font or assets required. */
.icon-library{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}.icon{width:1em;height:1em;display:inline-block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.12em}.nav-icon{display:grid;place-items:center}.nav-icon .icon{width:17px;height:17px}.stat-icon .icon{width:16px;height:16px}.icon-button .icon{width:16px;height:16px}.privacy-icon .icon{width:17px;height:17px}.consent-symbol .icon{width:18px;height:18px}.device-icon .icon{width:17px;height:17px}.folder-icon .icon{width:25px;height:25px}.folder-icon-small{width:30px;height:29px;display:grid;place-items:center;border-radius:6px;background:#eef5f2;color:#52947e}.folder-icon-small .icon{width:16px;height:16px}.heading-actions .icon{width:14px;height:14px}
.main-nav{display:grid;gap:19px}.nav-group{display:grid;gap:4px}.nav-group-label{padding:0 11px 3px;color:#a0ada8;font-size:9px;font-weight:600;letter-spacing:.09em}.nav-item{height:40px}.model-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.model-status-card{padding:19px 20px}.model-status-heading{display:flex;align-items:center;gap:10px}.model-status-heading h3{margin:4px 0 0;font-size:13px}.model-status-heading .stat-icon{width:34px;height:34px}.setting-state{margin-left:auto;background:#f3f5f4;border-radius:20px;padding:5px 9px;color:#87958f;font-size:9px;white-space:nowrap}.model-status-card>p{min-height:48px;margin:15px 0 10px;color:#788982;font-size:10px;line-height:1.7}.model-status-card ul{min-height:72px;padding-left:17px;margin:0 0 15px;color:#6d8077;font-size:9px;line-height:1.9}.model-settings-note{grid-column:1/-1;margin-top:0!important}.model-settings-note .icon{width:16px;height:16px}
@media(max-width:760px){.main-nav{gap:12px}.nav-group{gap:5px}.nav-group-label{display:none}.nav-item{width:42px;height:42px;margin:0 auto}.model-settings-grid{grid-template-columns:1fr}.model-settings-note{grid-column:auto}}
[hidden]{display:none!important}
.knowledge-actions{display:flex;align-items:center;gap:8px}.library-file-row .kb-delete{margin-left:auto;border:0;background:transparent;color:#a67467;font:inherit;cursor:pointer;padding:5px 8px}.library-file-row .kb-delete:hover{color:#b34d3a;background:#fff4f1;border-radius:5px}
.model-connection-panel{margin-bottom:13px}.model-connection-panel .list-heading{margin-bottom:5px}.model-connection-panel .muted-copy{font-size:9px}.model-config-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.model-config-form label{display:block;color:#60766c;font-size:9px}.model-config-form input,.model-config-form select{display:block;width:100%;height:35px;margin-top:5px;padding:0 10px;border:1px solid #e5ece8;border-radius:6px;background:#fff;color:#344d44;font:10px 'Noto Sans SC',sans-serif;outline:none}.model-config-form input:focus,.model-config-form select:focus{border-color:#8bcbb7;box-shadow:0 0 0 3px #edf8f4}.model-config-actions{display:flex;align-items:center;gap:8px;margin-top:13px}.clear-key-option{display:flex;align-items:center;gap:6px;color:#87958f;font-size:8px}.clear-key-option input{accent-color:var(--green)}.model-config-feedback{min-height:15px;margin:9px 0 0;color:#83938b;font-size:9px}.model-config-feedback[data-state="success"]{color:#37876f}.model-config-feedback[data-state="error"]{color:#b16a59}.model-status-card>p{min-height:0}.model-status-card ul{min-height:0}
@media(max-width:760px){.model-config-form{grid-template-columns:1fr}.model-config-actions{flex-wrap:wrap}.model-config-actions .toolbar-spacer{display:none}.model-config-actions .button{flex:1}}
.settings-tabs{display:flex;gap:6px;margin:0 0 12px;padding:5px;background:#edf3f0;border:1px solid #e5ece8;border-radius:9px;width:max-content;max-width:100%}.settings-tab{display:inline-flex;align-items:center;gap:7px;min-height:33px;padding:0 13px;border:0;border-radius:6px;background:transparent;color:#71827a;font:10px 'Noto Sans SC',sans-serif;cursor:pointer}.settings-tab .icon{width:14px;height:14px}.settings-tab:hover{background:#f8fbf9}.settings-tab.active{background:#fff;color:#25866f;box-shadow:0 1px 4px #18332f12;font-weight:600}.settings-panel{padding-top:3px}
@media(max-width:470px){.settings-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:3px;padding:4px}.settings-tab{justify-content:center;padding:0 6px;font-size:9px}}
[hidden]{display:none!important}
 .recording-toolbar{display:flex;align-items:center;gap:14px;padding:12px 14px;margin:12px 0;border:1px solid #e4e9e7;border-radius:12px;background:#f8fbfa}.recording-toolbar small{color:#63716b}.recording-indicator{font-size:13px;font-weight:700;color:#c44}.recording-toolbar [hidden]{display:none}.dialogue-entry p[contenteditable="true"]{padding:7px 9px;border:1px dashed #c5d6ce;border-radius:8px;background:#fbfdfc;outline:none}.dialogue-entry p[contenteditable="true"]:focus{border-color:#5b9b82;background:#fff}.consent-check{align-items:flex-start}.dental-intake-grid{margin-top:12px}.dental-history-field{grid-column:1/-1}
