:root{color:#16202a;background:#f5f7f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}.environment-banner{z-index:1000;text-align:center;color:#fff;letter-spacing:.08em;background:#7b2f15;padding:7px 12px;font-size:13px;font-weight:800;position:sticky;top:0}a{color:inherit}button,input,select,textarea{font:inherit}.shell{max-width:1180px;margin:0 auto;padding:32px 20px 60px}.narrow{max-width:820px}.hero{text-align:center;padding:64px 20px}.biggie-mark{color:#fff;background:#49382d;border-radius:28px;place-items:center;width:84px;height:84px;margin:0 auto 16px;font-size:42px;font-weight:900;display:grid;box-shadow:0 12px 35px #0002}h1,h2,h3{margin-top:0}.card{background:#fff;border:1px solid #dfe5e8;border-radius:18px;padding:20px;box-shadow:0 8px 26px #17212b0b}.grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;display:grid}.button{color:#fff;cursor:pointer;background:#253746;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:11px 16px;font-weight:700;text-decoration:none;display:inline-flex}.button.secondary{color:#21313c;background:#e9eef1}.button.danger{background:#8c2f2f}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}label{gap:6px;font-weight:650;display:grid}input,select,textarea{background:#fff;border:1px solid #ccd5da;border-radius:10px;width:100%;padding:10px 12px}.muted{color:#687781}.status{background:#eef2f4;border-radius:999px;padding:5px 9px;font-size:13px;font-weight:700;display:inline-block}.status.complete{color:#1e6a31;background:#e5f5e8}.status.in_progress{color:#235d9a;background:#e7f0fb}.status.staff_needed{color:#9d2929;background:#fdeaea}.status.immediate{color:#941f1f;background:#fde2e2}.review-banner{color:#205f30;background:#e8f5eb;border-radius:10px;flex-wrap:wrap;justify-content:space-between;gap:10px;margin-bottom:16px;padding:12px 14px;display:flex}.memory-approved{color:#1e6a31;background:#e5f5e8}.memory-rejected{color:#5e6870;background:#eef0f2}.error-notice{color:#812525;background:#fdeaea;border-color:#e4adad;margin-bottom:14px}.stack{gap:8px;display:grid}.session-row{text-align:left;cursor:pointer;background:#fff;border:1px solid #dfe5e8;border-radius:12px;justify-content:space-between;align-items:center;padding:12px;display:flex}.session-row span:first-child{gap:3px;display:grid}.session-row small{color:#687781}.detail{margin-top:16px}.detail h2{margin-bottom:4px}.escalation{background:#f5f7f8;border-left:5px solid #789;border-radius:8px;gap:3px;padding:10px 12px;display:grid}.escalation.immediate{background:#fff0f0;border-color:#c62828}.escalation.priority{background:#fff6ec;border-color:#e87817}.escalation.clinical_flag{background:#fffbea;border-color:#d6ad16}.escalation.fyi{background:#eef7ff;border-color:#3e7eb9}.memory{border:1px solid #dfe5e8;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;padding:12px;display:flex}.json-editor{min-height:520px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}.transcript{min-height:0;max-height:360px;margin-top:8px}.chat{background:#f0f3f4;border-radius:18px;flex-direction:column;gap:12px;min-height:380px;max-height:58vh;padding:16px;display:flex;overflow:auto}.bubble{white-space:pre-wrap;border-radius:16px;max-width:82%;padding:12px 14px;line-height:1.42}.bubble.assistant{background:#fff;border-bottom-left-radius:5px;align-self:flex-start}.bubble.client{color:#fff;background:#253746;border-bottom-right-radius:5px;align-self:flex-end}.typing-indicator{align-items:center;gap:5px;min-width:54px;min-height:42px;display:flex}.typing-indicator span{background:#82919a;border-radius:50%;width:7px;height:7px;animation:1.2s ease-in-out infinite typing-pulse}.typing-indicator span:nth-child(2){animation-delay:.16s}.typing-indicator span:nth-child(3){animation-delay:.32s}@keyframes typing-pulse{0%,60%,to{opacity:.45;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}@media (prefers-reduced-motion:reduce){.typing-indicator span{opacity:.7;animation:none}}.composer{grid-template-columns:1fr auto auto;gap:8px;margin-top:12px;display:grid}.mic.live{background:#9d2929}.notice{background:#fff6db;border:1px solid #ead99b;border-radius:12px;padding:12px 14px}.summary-list{margin:0;padding-left:18px}pre{white-space:pre-wrap;word-break:break-word;color:#eef6f8;background:#111821;border-radius:12px;padding:16px;overflow:auto}.topbar{justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;display:flex}.brand-lockup{align-items:center;gap:12px;min-width:0;display:flex}.brand-mark{color:#fff;background:#49382d;border-radius:13px;flex:none;place-items:center;width:46px;height:46px;font-size:24px;font-weight:900;display:grid;box-shadow:0 6px 18px #0002}.brand-name{color:#49382d;letter-spacing:.04em;text-transform:uppercase;margin-bottom:2px;font-size:13px;display:block}.brand-lockup h1{margin:0 0 2px;font-size:24px;line-height:1.05}@media (max-width:640px){.shell{padding:18px 12px 40px}.topbar{flex-direction:column;align-items:flex-start}.composer{grid-template-columns:1fr auto}.composer .send{grid-column:1/-1}.bubble{max-width:92%}}.staff-app{--staff-blue:#2f80ed;--staff-blue-dark:#245fae;--staff-blue-soft:#eaf3ff;--staff-navy:#203b6e;--staff-ink:#26323f;--staff-muted:#667381;--staff-line:#d9e1ea;--staff-canvas:#f3f6fa;max-width:1320px;min-height:100vh;color:var(--staff-ink);padding-top:18px}.staff-app :is(h1,h2,h3,strong){letter-spacing:-.02em}.staff-app .button{background:var(--staff-blue);border-radius:8px;min-height:40px;box-shadow:0 5px 14px #2f80ed29}.staff-app .button:hover:not(:disabled){background:var(--staff-blue-dark)}.staff-app .button.secondary{border:1px solid var(--staff-line);color:#3f4d5b;box-shadow:none;background:#fff}.staff-app .button.secondary:hover:not(:disabled){color:#245fae;background:#f6f9fd;border-color:#9bbce9}.staff-app .button:focus-visible,.staff-app a:focus-visible,.staff-app input:focus-visible,.staff-app select:focus-visible,.staff-app textarea:focus-visible,.staff-app .session-row:focus-visible{outline-offset:2px;outline:3px solid #2f80ed3d}.staff-app :is(input,select,textarea){color:var(--staff-ink);border-color:#ccd7e4;border-radius:7px}.staff-app :is(input,select,textarea):focus{border-color:#72a4e8;outline:0;box-shadow:0 0 0 3px #2f80ed1a}.staff-app label{color:#435160;font-size:13px}.staff-app .muted{color:var(--staff-muted)}.staff-header{border:1px solid var(--staff-line);background:#fffffff7;border-radius:11px;grid-template-columns:minmax(230px,1fr) auto minmax(280px,1fr);align-items:center;min-height:68px;padding:10px 14px;display:grid;box-shadow:0 3px 14px #23374e0d}.staff-brand-lockup,.staff-auth-brand{align-items:center;gap:11px;min-width:0;display:flex}.staff-brand-mark{color:#fff;background:linear-gradient(145deg,#3d8cf3,#286fcf);border-radius:9px;flex:none;place-items:center;width:42px;height:42px;font-size:22px;font-weight:900;display:grid;box-shadow:0 7px 18px #2f80ed3d}.staff-brand-lockup>div,.staff-auth-brand>div{gap:2px;display:grid}.staff-brand-lockup strong,.staff-auth-brand strong{font-size:15px}.staff-brand-lockup span:last-child,.staff-auth-brand span:last-child{color:var(--staff-muted);font-size:11px;font-weight:650}.staff-nav{border:1px solid var(--staff-line);background:#f5f7fa;border-radius:8px;justify-content:center;align-items:center;gap:2px;padding:4px;display:flex}.staff-nav a{color:#5d6b79;text-align:center;border-radius:6px;min-width:80px;padding:8px 12px;font-size:13px;font-weight:750;text-decoration:none}.staff-nav a:hover{color:#245fae}.staff-nav a.active{color:#245fae;background:#fff;box-shadow:0 1px 4px #23374e1f}.staff-account{justify-content:flex-end;align-items:center;gap:9px;min-width:0;display:flex}.staff-avatar{background:var(--staff-navy);color:#fff;border-radius:8px;flex:none;place-items:center;width:34px;height:34px;font-size:13px;font-weight:850;display:grid}.staff-account>span:nth-child(2){min-width:0;display:grid}.staff-account strong{text-overflow:ellipsis;white-space:nowrap;max-width:150px;font-size:12px;overflow:hidden}.staff-account small{color:var(--staff-muted);text-transform:capitalize;font-size:10px}.staff-account button{color:#667381;cursor:pointer;background:0 0;border:0;padding:8px;font-size:11px;font-weight:750}.staff-account button:hover{color:#245fae}.staff-toolbar{justify-content:space-between;align-items:flex-end;gap:24px;padding:26px 4px 18px;display:flex}.staff-eyebrow{color:#2b70cb;letter-spacing:.09em;text-transform:uppercase;margin-bottom:4px;font-size:10px;font-weight:850;display:block}.staff-toolbar h1{margin:0;font-size:32px;line-height:1.08}.staff-toolbar p{max-width:660px;color:var(--staff-muted);margin:7px 0 0;font-size:14px;line-height:1.5}.staff-safety-note{color:#286e60;background:#f5fbf8;border:1px solid #bcdacc;border-radius:9px;align-items:center;gap:10px;max-width:330px;padding:10px 12px;display:flex}.staff-safety-note>span{background:#dff1e9;border-radius:7px;flex:none;place-items:center;width:27px;height:27px;font-weight:900;display:grid}.staff-safety-note div{gap:2px;display:grid}.staff-safety-note strong{font-size:12px}.staff-safety-note small{color:#5b766f;font-size:10px;line-height:1.35}.staff-alert{margin-bottom:14px}.staff-dashboard-grid{grid-template-columns:minmax(0,1.45fr) minmax(330px,.75fr);align-items:start;gap:14px;display:grid}.staff-app .staff-panel{border:1px solid var(--staff-line);background:#fff;border-radius:10px;box-shadow:0 3px 12px #23374e0b}.staff-panel-heading,.staff-detail-heading,.transcript-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.staff-panel-heading h2,.staff-panel-heading h3,.transcript-heading h3{margin:0}.staff-panel-heading h2{font-size:19px}.staff-panel-copy{color:var(--staff-muted);margin:7px 0 17px;font-size:12px}.step-badge,.queue-count{background:var(--staff-blue-soft);color:#286dc9;border-radius:7px;place-items:center;min-width:27px;height:27px;font-size:12px;font-weight:850;display:grid}.intake-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.intake-form-grid label{align-content:start}.field-wide{grid-column:1/-1}.create-intake-action{justify-self:end;min-width:190px;margin-top:2px}.secure-link-result{color:#315273;background:#f4f8fe;border-color:#bdd2ed;gap:9px;margin-top:14px;display:grid}.secure-link-result .row{flex-wrap:nowrap}.secure-link-result input{min-width:0}.intake-queue-panel{padding:0;overflow:hidden}.intake-queue-panel>.staff-panel-heading{padding:20px 20px 16px}.queue-column-head{border-top:1px solid var(--staff-line);border-bottom:1px solid var(--staff-line);color:#748190;letter-spacing:.08em;text-transform:uppercase;background:#f4f7fb;grid-template-columns:1fr auto;gap:12px;padding:9px 15px;font-size:9px;font-weight:850;display:grid}.intake-queue{gap:0;max-height:590px;overflow:auto}.staff-app .session-row{border:0;border-bottom:1px solid var(--staff-line);border-radius:0;min-height:66px;padding:10px 14px}.staff-app .session-row:last-child{border-bottom:0}.staff-app .session-row:hover{background:#f7faff}.staff-app .session-row.active{box-shadow:inset 3px 0 0 var(--staff-blue);background:#edf5ff}.patient-cell{align-items:center;min-width:0;grid-template-columns:none!important;gap:10px!important;display:flex!important}.patient-cell>span:last-child{gap:2px;min-width:0;display:grid}.patient-avatar{color:#286dc9;background:#e8f1ff;border-radius:9px;flex:none;place-items:center;width:34px;height:34px;font-size:12px;font-weight:850;display:grid}.patient-avatar.large{border-radius:11px;width:45px;height:45px;font-size:16px}.staff-app .status{letter-spacing:.02em;text-transform:capitalize;border-radius:6px;flex:none;padding:5px 7px;font-size:9px}.staff-empty-state{color:var(--staff-muted);text-align:center;justify-items:center;gap:5px;padding:42px 20px;display:grid}.staff-empty-state>span{color:#3977c7;background:#edf3fb;border-radius:10px;place-items:center;width:38px;height:38px;margin-bottom:4px;font-size:20px;display:grid}.staff-empty-state strong{color:#435160;font-size:13px}.staff-empty-state small{font-size:11px}.staff-review-panel{margin-top:14px;padding:0;overflow:hidden}.staff-detail-heading{border-bottom:1px solid var(--staff-line);padding:18px 20px}.patient-heading{align-items:center;gap:12px;display:flex}.patient-heading h2{margin:0 0 2px;font-size:22px}.patient-heading .muted{font-size:11px}.staff-review-panel>.secure-link-result{margin:14px 20px 0}.clinical-context-panel{background:#f7faff;border:1px solid #cdd9e8;border-radius:9px;margin:14px 20px;padding:16px}.clinical-context-panel h3{margin:0}.clinical-context-panel>p{font-size:12px}.source-badge{color:#526a87;text-transform:uppercase;background:#e5edf7;border-radius:6px;padding:5px 7px;font-size:9px;font-weight:800}.context-fields{align-items:end}.context-fields label{flex:1;min-width:180px}.sync-status{margin-left:10px}.staff-review-panel>.review-banner{background:#f2faf6;border:1px solid #bcdacc;border-radius:8px;margin:14px 20px}.review-grid{border-top:1px solid var(--staff-line);border-bottom:1px solid var(--staff-line);grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}.review-column{min-width:0;padding:20px}.review-column+.review-column{border-left:1px solid var(--staff-line)}.review-column h3{margin:22px 0 8px;font-size:15px}.review-column h3:first-child{margin-top:0}.review-column p,.review-column li{font-size:12px;line-height:1.55}.staff-app .escalation{border-radius:7px;font-size:12px}.staff-app .memory{border-color:var(--staff-line);border-radius:7px;font-size:11px}.staff-app .json-editor{background:#fbfcfe;border-radius:8px;min-height:480px;line-height:1.48}.review-actions{justify-content:flex-end;margin-top:10px}.review-empty{border:1px dashed #c9d5e2;border-radius:9px;margin:20px}.transcript-heading{padding:18px 20px 8px}.transcript-heading h3{font-size:17px}.transcript-heading>span{color:var(--staff-muted);font-size:10px;font-weight:700}.staff-review-panel>.transcript{border:1px solid var(--staff-line);background:#f4f7fb;border-radius:9px;margin:0 20px 20px}.staff-review-panel .bubble{border-radius:10px;font-size:12px;box-shadow:0 1px 3px #23374e0f}.staff-review-panel .bubble.client{background:var(--staff-blue)}.staff-loading{place-content:center;justify-items:center;gap:12px;display:grid}.staff-auth-shell{background:radial-gradient(circle at 50% 0,#5b97ea29,#0000 430px);place-items:center;max-width:none;padding:64px 20px;display:grid}.staff-auth-card{border-color:var(--staff-line);border-radius:12px;width:min(430px,100%);padding:0;overflow:hidden;box-shadow:0 18px 50px #23374e1f}.staff-auth-brand{border-bottom:1px solid var(--staff-line);padding:15px 18px}.staff-auth-copy{padding:28px 28px 8px}.staff-auth-copy h1{margin:0;font-size:29px}.staff-auth-copy p{margin:7px 0 0;font-size:13px}.staff-auth-card>.notice{margin:12px 28px 0}.staff-auth-form{gap:14px;padding:18px 28px 28px;display:grid}.staff-auth-form .button{margin-top:4px}.staff-secondary-page{padding-top:28px}.staff-secondary-page>.topbar{border:1px solid var(--staff-line);background:#fff;border-radius:10px;margin-bottom:14px;padding:18px 20px;box-shadow:0 3px 12px #23374e0b}.staff-secondary-page>.topbar h1{margin:0 0 3px;font-size:25px}.staff-secondary-page>.card{border-color:var(--staff-line);border-radius:10px;margin-bottom:14px;box-shadow:0 3px 12px #23374e0b}.staff-secondary-page>.card>h1,.staff-secondary-page>.card>h2{font-size:21px}@media (max-width:1000px){.staff-header{grid-template-columns:1fr auto}.staff-nav{grid-area:2/1/auto/-1;margin-top:10px}.staff-dashboard-grid{grid-template-columns:1fr}.intake-queue{max-height:390px}}@media (max-width:760px){.staff-app{padding:10px 10px 44px}.staff-header{grid-template-columns:1fr;align-items:stretch}.staff-account{position:absolute;top:29px;right:25px}.staff-account>span:nth-child(2){display:none}.staff-account button{padding-right:0}.staff-nav{grid-area:auto;justify-content:flex-start;overflow-x:auto}.staff-nav a{flex:1;min-width:78px}.staff-toolbar{flex-direction:column;align-items:flex-start;padding:22px 2px 15px}.staff-toolbar h1{font-size:27px}.staff-safety-note{width:100%;max-width:none}.intake-form-grid,.review-grid{grid-template-columns:1fr}.field-wide{grid-column:1}.create-intake-action{justify-self:stretch}.secure-link-result .row{flex-wrap:wrap;align-items:stretch}.secure-link-result input{flex-basis:100%}.review-column+.review-column{border-top:1px solid var(--staff-line);border-left:0}.staff-detail-heading{align-items:flex-start}.context-fields{flex-direction:column;align-items:stretch}.context-fields label,.context-fields button{width:100%}}
