@charset "UTF-8";
:root{font-family:Inter,"Pretendard","Apple SD Gothic Neo","Noto Sans KR",system-ui,sans-serif;color:#243a43;background:#f6f7f8;font-synthesis:none;--teal:#167f76;--teal-dark:#126b64;--navy:#203c43;--muted:#728187;--line:#e6ebed;--soft:#eff6f4;--white:#fff;--radius:18px}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #4fa99f;outline-offset:4px}button{color:inherit}h1,h2,h3,p{margin:0}button,input,select{border-radius:9px}input,select{border:1px solid #d5dfe0;background:#fff;color:var(--navy)}[hidden]{display:none!important}.preview-banner{height:35px;background:#ecf4f2;color:#32645e;display:flex;justify-content:center;align-items:center;gap:8px;font-size:11px;letter-spacing:.025em;border-bottom:1px solid #dceae6}.preview-dot,.teal-dot{display:inline-block;width:6px;height:6px;background:#298b7c;border-radius:50%}.banner-extra{color:#6f8a84;margin-left:12px}.brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:700;letter-spacing:-.045em;color:#204c47}.brand small{display:block;font-size:9px;letter-spacing:.19em;font-weight:600;margin-top:2px;color:#7e9791}.brand-mark{display:grid;place-items:center;flex-shrink:0;width:39px;height:43px;background:#257e73;border-radius:15px 15px 15px 5px;color:#fff;font-size:32px;font-family:Georgia,serif;font-style:italic;line-height:1;padding-right:2px}.eyebrow{font-size:10px;font-weight:700;color:#418b80;letter-spacing:.16em;margin-bottom:11px}.muted{color:var(--muted);font-size:13px;line-height:1.8}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;padding:11px 15px;font-size:12px;font-weight:600;line-height:1.3;transition:background .15s,border-color .15s}.button-primary{background:var(--teal);color:#fff}.button-primary:hover:not(:disabled){background:var(--teal-dark)}.button-secondary{background:#fff;border-color:#dce4e4}.button-secondary:hover:not(:disabled){background:#f3f7f6;border-color:#b9ceca}.button-text{background:transparent;color:#728187;padding:8px 10px}.button-text:hover:not(:disabled){background:#eef4f2;color:var(--teal-dark)}.button-small{font-size:11px;padding:9px 12px}.skip-link{position:fixed;z-index:9;left:10px;top:-100px;background:#fff;padding:12px;color:var(--teal-dark)}.skip-link:focus{top:8px}.boot-view{min-height:calc(100svh - 35px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;color:var(--muted);font-size:14px}.noscript{padding:30px}
/* A quiet, self-contained login page. No external fonts or image requests. */
.login-layout{min-height:calc(100svh - 35px);display:grid;grid-template-columns:1fr 1fr;background:#fff}.login-story{position:relative;overflow:hidden;min-height:720px;background:#edf4f0;padding:46px 10% 32px}.story-copy{position:relative;z-index:1;margin-top:83px}.story-copy h1{font-size:clamp(32px,3.1vw,46px);line-height:1.5;font-weight:600;letter-spacing:-.065em;color:#244c43}.story-copy>p:last-child{margin-top:25px;font-size:14px;line-height:1.9;color:#738780}.conversation-art{position:relative;height:250px;margin-top:15px;max-width:410px}.art-orbit{position:absolute;border:1px solid #d3e3db;border-radius:50%;height:230px;width:230px;left:45px;top:12px}.orbit-two{height:170px;width:170px;left:75px;top:42px}.art-bubble{position:absolute;display:flex;flex-direction:column;gap:10px;padding:24px;background:#fff;box-shadow:0 14px 34px #274c4010;border-radius:19px 19px 19px 4px}.bubble-one{width:186px;left:8px;top:39px}.bubble-two{width:162px;left:164px;top:134px;background:#247d6e;border-radius:19px 19px 4px 19px}.art-bubble i{display:block;height:5px;width:100%;border-radius:10px;background:#dce8e1}.art-bubble i:last-child{width:63%}.bubble-two i{background:#ffffff50}.art-spark{position:absolute;color:#8eb4a0;font-size:27px;font-weight:300}.spark-one{left:290px;top:28px}.spark-two{left:29px;top:188px;font-size:20px}.story-footer{margin-top:25px;font-size:10px;color:#84988d;letter-spacing:.02em}.login-form-area{display:grid;place-items:center;padding:60px 35px}.login-card{width:100%;max-width:370px}.login-card h2{font-size:28px;letter-spacing:-.05em;font-weight:650}.login-intro{margin-top:13px}.demo-notice{display:flex;gap:10px;margin:28px 0;background:#f2f6f4;border:1px solid #e3eae6;border-radius:10px;padding:15px 13px;font-size:11px;line-height:1.8;color:#6f827a}.demo-notice strong{font-weight:500;color:#3d6254}.notice-icon{display:grid;place-items:center;width:15px;height:15px;flex-shrink:0;border:1px solid #85a894;border-radius:50%;font-size:10px;margin-top:3px}.login-card label{display:block;font-size:12px;font-weight:600;margin:18px 0 9px}.login-card input{width:100%;height:47px;padding:0 13px;font-size:13px}.login-card input::placeholder{color:#a3afad}.login-submit{width:100%;margin-top:28px;justify-content:space-between;padding:14px 18px;font-size:13px}.form-status{min-height:24px;margin-top:14px;font-size:12px;line-height:1.6;color:#8b4f38}.login-footnote{margin-top:19px;text-align:center;font-size:10px;line-height:1.9;color:#91a09a}
/* Main workspace. */
.app-layout{min-height:calc(100svh - 35px);display:grid;grid-template-columns:220px minmax(0,1fr)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:31px 21px 20px;display:flex;flex-direction:column}.sidebar .brand{margin-left:12px}.sidebar-body{margin-top:57px}.nav-caption{font-size:9px;color:#a1adae;letter-spacing:.14em;font-weight:600;margin:0 15px 15px}.nav-current{display:flex;align-items:center;gap:12px;background:#e9f3ee;color:#267b69;padding:14px 16px;font-size:13px;font-weight:650;border-radius:10px}.nav-icon{font-size:22px;line-height:16px;transform:rotate(180deg)}.nav-description{font-size:11px;color:#97a3a3;line-height:1.9;margin:16px 17px}.sidebar-note{margin-top:auto;padding:26px 11px 20px;color:#7c8e88;font-size:10px;border-bottom:1px solid #edf0ee;line-height:1.9}.sidebar-note strong{display:block;font-weight:600;color:#597869;margin:7px 0}.small-lock{font-size:20px;color:#679d89}.sidebar-footer{padding:20px 11px 0;color:#90a29b;font-size:9px;letter-spacing:.09em}.sidebar-footer span{display:block;font-size:8px;margin-top:5px;color:#b0bcb7}.workspace{min-width:0}.topbar{height:72px;border-bottom:1px solid var(--line);background:#ffffffd9;padding:0 36px;display:flex;align-items:center;justify-content:space-between;gap:15px}.breadcrumb{font-size:11px;color:#9ba7aa}.breadcrumb span{margin:0 11px;color:#d0d7d8}.breadcrumb strong{color:#687d82;font-weight:500}.account{display:flex;align-items:center;gap:10px;font-size:11px;color:#5e7477}.account-avatar{width:28px;height:28px;display:grid;place-items:center;background:#e7efe9;border-radius:50%;font-size:10px;color:#648073}.account .button{font-size:10px;margin-left:9px;padding-right:0}main{max-width:1510px;margin:auto;padding:36px 36px 20px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}.page-heading h1{font-size:29px;font-weight:650;letter-spacing:-.055em;margin-bottom:10px}.page-heading .eyebrow{margin-bottom:9px}.robot-control{min-width:180px;display:flex;flex-direction:column;gap:8px}.robot-control label{font-size:10px;color:#7c8b8f}.robot-control select{min-width:180px;height:41px;padding:0 32px 0 13px;font-size:12px;font-weight:600;appearance:auto}.summary-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;margin-bottom:31px}.summary-card{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #e7eced;border-radius:13px;padding:21px 22px;min-height:109px}.summary-card p{font-size:11px;color:#7f8e90;margin-bottom:12px}.summary-card strong{font-size:28px;letter-spacing:-.045em;font-weight:600;color:#274744}.summary-card div>span{font-size:12px;color:#9ca9a9;margin-left:6px}.summary-symbol{width:35px;height:35px;display:grid;place-items:center;border-radius:11px;background:#f0f5f2;color:#81a194;font-size:22px}.summary-card .summary-text{font-size:17px;font-weight:600;letter-spacing:-.04em;display:block;white-space:nowrap}.summary-card small{font-size:9px;color:#9daaa5;display:block;margin-top:6px}.section-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;gap:10px}.section-label{display:flex;align-items:center;gap:9px;font-size:14px}.section-label strong{font-weight:650;letter-spacing:-.035em}.quiet-label{font-size:9px;color:#78a091;font-weight:500;background:#edf4ef;border:1px solid #dcebe3;padding:4px 7px;border-radius:5px;margin-left:3px}.app-status{color:#8a7150;font-size:12px;line-height:1.7}.app-status:not(:empty){border:1px solid #ede5d4;background:#faf8f1;border-radius:9px;padding:11px 14px;margin:-4px 0 17px}.records-layout{display:grid;grid-template-columns:294px minmax(0,1fr);gap:20px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden;min-width:0}.panel-heading{padding:22px 23px 19px;display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #eef1f1;min-height:87px}.panel-heading h2{font-size:14px;letter-spacing:-.025em;font-weight:650}.panel-heading p{font-size:10px;color:#9aa6a7;line-height:1.7;margin-top:7px;overflow-wrap:anywhere}.count-badge{background:#f1f5f3;color:#769284;min-width:23px;height:23px;border-radius:6px;display:grid;place-items:center;flex-shrink:0;font-size:10px;padding:0 6px}.people-list{padding:10px}.person-button{display:block;width:100%;text-align:left;border:1px solid transparent;background:#fff;border-radius:10px;padding:17px 12px;margin-bottom:3px}.person-button:hover{background:#f7faf8}.person-button.is-selected{background:#edf5f0;border-color:#d4e5da}.person-top{display:flex;align-items:center;gap:12px}.person-avatar{display:grid;place-items:center;width:35px;height:35px;background:#f1f4f2;border-radius:12px;color:#93a59a;font-size:14px;flex-shrink:0}.is-selected .person-avatar{background:#dbece0;color:#588c70}.person-copy{min-width:0;flex:1}.person-copy strong{display:block;font-size:12px;line-height:1.7;font-weight:600;letter-spacing:-.02em}.person-copy span{display:block;font-size:9px;line-height:1.7;color:#9aa8a3;margin-top:3px;overflow-wrap:anywhere}.person-chevron{color:#adbbb3;font-size:18px;font-weight:300}.person-meta{display:flex;justify-content:space-between;gap:10px;margin:13px 0 0 47px;font-size:9px;color:#97a5a0}.person-meta b{color:#6f9480;font-weight:500}.pagination{display:flex;justify-content:space-between;align-items:center;gap:5px;padding:10px 13px;border-top:1px solid var(--line);color:#93a19e;font-size:10px}.pagination .button{font-size:10px;padding:8px}.consultation-list{padding:8px 22px}.consultation-button{width:100%;border:0;border-bottom:1px solid #edf1ef;border-radius:0;background:#fff;display:flex;align-items:center;gap:14px;text-align:left;padding:19px 0}.consultation-button:last-child{border-bottom:0}.consultation-button:hover{background:#fafcfb}.record-icon{width:37px;height:40px;background:#f1f5f2;border:1px solid #e6eee8;border-radius:10px;display:grid;place-items:center;color:#87a68f;font-size:20px;flex-shrink:0}.consultation-copy{flex:1;min-width:0}.consultation-copy strong{font-size:12px;font-weight:600;display:block;line-height:1.7}.consultation-copy span{font-size:9px;line-height:1.8;color:#9ba9a2;display:block;margin-top:4px;overflow-wrap:anywhere}.record-open{font-size:10px;white-space:nowrap;color:#6a9680;display:flex;gap:12px;align-items:center}.record-open b{font-weight:400;color:#97b6a2;font-size:17px}.consultation-button.is-selected .record-icon{background:#dfeee3;color:#5c9870}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:277px;padding:36px 25px;text-align:center;color:#9ba9a4;gap:13px}.empty-symbol{font-size:30px;font-weight:300;line-height:1;color:#afc2b6;margin-bottom:2px}.empty-state strong{font-size:13px;font-weight:500;color:#738c7e}.empty-state p{font-size:11px;line-height:1.9;max-width:285px}.empty-state.compact{min-height:225px}.empty-state.is-loading .empty-symbol{animation:pulse 1.2s ease-in-out infinite}@keyframes pulse{50%{opacity:.35}}.transcript{border-top:1px solid #e5ede8;background:#f8fbf8}.transcript-heading{display:flex;align-items:start;justify-content:space-between;gap:10px;padding:21px 23px 15px}.transcript-heading h3{font-size:13px;font-weight:650;color:#315c43;letter-spacing:-.02em}.transcript-heading p{font-size:9px;color:#8da192;line-height:1.9;margin-top:7px}.transcript-close{font-size:10px;color:#8d9f94;background:#fff;border:1px solid #e0e9e2;padding:7px 10px}.transcript-notice{margin:0 22px 18px;padding:10px 12px;border:1px solid #e0eade;background:#eff6ed;border-radius:8px;font-size:10px;line-height:1.8;color:#799171}.transcript-messages{padding:0 23px 7px}.turn-marker{display:flex;align-items:center;gap:12px;color:#a4b2a6;font-size:9px;margin:13px 0 19px}.turn-marker::before,.turn-marker::after{content:"";height:1px;background:#e7ede6;flex:1}.message{max-width:91%;margin-bottom:17px}.message-user{margin-left:auto}.message-speaker{font-size:10px;font-weight:500;color:#77967c;display:flex;gap:8px;align-items:center;margin-bottom:8px}.message-user .message-speaker{justify-content:flex-end;color:#7a8c86}.message-bubble{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border:1px solid #e5ece5;border-radius:0 11px 11px 11px;padding:14px 16px;color:#45624d}.message-user .message-bubble{background:#e7f0e9;border:1px solid #deeadf;border-radius:11px 0 11px 11px;color:#47634d}.message-footnote{font-size:9px;color:#99a69a;line-height:1.8;margin-top:7px}.transcript-expired{margin:15px 22px 22px;padding:14px;background:#fff;border:1px solid #e2e9e3;border-radius:9px;font-size:11px;line-height:1.9;color:#809584}.workspace-footer{display:flex;justify-content:space-between;gap:12px;margin-top:21px;padding:0 2px;color:#a3aeac;font-size:9px;line-height:1.9}
@media(min-width:1600px){.records-layout{grid-template-columns:330px minmax(0,1fr)}.summary-card{padding:24px}.panel-heading{padding:24px 26px}.people-list{padding:12px}.person-button{padding:19px 15px}}
@media(max-width:1150px){.app-layout{grid-template-columns:184px minmax(0,1fr)}.sidebar{padding:29px 13px 20px}.sidebar .brand{margin-left:8px}.brand{font-size:20px;gap:10px}.brand-mark{width:34px;height:39px}.topbar{padding:0 25px}main{padding:30px 25px 20px}.records-layout{grid-template-columns:255px minmax(0,1fr);gap:15px}.summary-card{padding:18px 16px;gap:5px}.summary-symbol{display:none}.summary-card p{font-size:10px}.summary-card .summary-text{font-size:15px}.panel-heading{padding:20px 18px}.person-button{padding:15px 9px}.person-top{gap:9px}.person-meta{margin-left:44px}.consultation-list{padding:8px 17px}.consultation-button{gap:10px}.record-open{font-size:9px;gap:6px}.page-heading h1{font-size:27px}.workspace-footer{flex-direction:column;gap:2px}}
@media(max-width:880px){.app-layout{grid-template-columns:1fr}.sidebar{display:none}.topbar{height:62px;padding:0 24px}.topbar .breadcrumb{font-size:12px}main{padding:28px 24px}.page-heading{margin-bottom:23px}.summary-grid{gap:10px;margin-bottom:23px}.summary-card{padding:16px;min-height:99px}.records-layout{grid-template-columns:265px minmax(0,1fr);gap:15px}.record-icon{display:none}.record-open{font-size:0}.record-open b{font-size:17px}.login-story{padding:40px 10%;min-height:660px}.story-copy{margin-top:65px}.conversation-art{transform:scale(.83);transform-origin:left top;height:225px}.story-copy h1{font-size:32px}.login-form-area{padding:45px 26px}.login-card h2{font-size:25px}.story-footer{font-size:9px}.banner-extra{display:none}}
@media(max-width:620px){.preview-banner{height:32px;font-size:10px}.login-layout{display:block;min-height:calc(100svh - 32px)}.login-story{min-height:auto;padding:27px 28px;background:#f0f5f0}.login-story .brand{font-size:20px}.story-copy{margin-top:30px}.story-copy h1{font-size:28px;line-height:1.4}.story-copy>p:last-child{font-size:12px;margin-top:15px}.conversation-art,.story-footer{display:none}.login-form-area{padding:34px 27px 40px}.login-card{max-width:420px}.login-card h2{font-size:25px}.login-card .eyebrow{font-size:9px}.demo-notice{margin:23px 0}.topbar{padding:0 18px;height:57px}.account{gap:7px;font-size:10px}.account-avatar{display:none}.account .button{margin-left:0}.breadcrumb{font-size:10px!important}.breadcrumb span{margin:0 7px}main{padding:27px 17px 22px}.page-heading{align-items:flex-start;gap:15px;flex-wrap:wrap}.page-heading h1{font-size:26px;margin-bottom:8px}.page-heading .muted{font-size:11px;white-space:normal}.eyebrow{font-size:9px}.robot-control{width:100%;flex-direction:row;align-items:center;justify-content:space-between;gap:15px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px 13px}.robot-control label{font-size:10px}.robot-control select{min-width:155px;height:33px;border:0;font-size:11px;padding-left:6px}.summary-grid{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:23px}.summary-card{min-height:92px;padding:15px}.summary-card strong{font-size:25px}.summary-card p{font-size:9px;line-height:1.6;margin-bottom:10px}.summary-card div>span{font-size:10px}.summary-quiet{display:none}.section-toolbar{margin-bottom:13px}.section-label{font-size:13px;gap:7px}.quiet-label{font-size:8px;margin-left:0}.button-small{font-size:10px;padding:8px 10px}.records-layout{grid-template-columns:1fr;gap:19px}.panel-heading{padding:18px;min-height:78px}.panel-heading h2{font-size:13px}.panel-heading p{font-size:10px}.people-list{max-height:342px;overflow-y:auto;overscroll-behavior:contain;padding:7px}.person-button{padding:13px 10px}.person-top{gap:12px}.person-copy strong{font-size:12px}.person-copy span{font-size:9px}.person-meta{margin-top:9px;margin-left:47px;font-size:9px}.people-panel .empty-state{min-height:180px}.empty-state{min-height:230px}.consultation-list{padding:4px 18px}.consultation-button{gap:12px;padding:18px 0}.record-icon{display:grid;width:33px;height:36px;font-size:17px}.record-open{font-size:10px;gap:5px}.consultation-copy strong{font-size:11px}.consultation-copy span{font-size:9px}.transcript-heading{padding:19px 18px 14px}.transcript-notice{margin:0 17px 17px;font-size:9px}.transcript-messages{padding:0 18px 7px}.message{max-width:95%}.message-bubble{font-size:12px;padding:12px 13px;line-height:1.9}.workspace-footer{font-size:8px;line-height:2}.app-status{font-size:11px}.transcript-expired{margin:15px 17px 18px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Readability pass: operational text stays legible at both desktop and phone
   sizes. Only decorative English labels/illustrations retain the tiny scale. */
.muted{color:#61716d;font-size:14px}
.button{font-size:13px}
a.button{text-decoration:none}
a.button-secondary{color:inherit}
.button-small{font-size:12px}
.login-card label,.login-card input{font-size:14px}
.login-submit{font-size:14px}
.demo-notice{font-size:12px;color:#566d60}
.demo-notice strong{color:#345947}
.login-footnote{font-size:12px;color:#63746b}
.form-status{font-size:13px}
.story-copy>p:last-child{color:#556f60;font-size:14px}
.story-footer{font-size:11px;color:#61776a}
.nav-current{font-size:14px}
.nav-description,.sidebar-note{font-size:12px;color:#66796e}
.sidebar-note strong{color:#486b55}
.breadcrumb,.account{font-size:12px;color:#62746d}
.breadcrumb strong{color:#4e655a}
.account .button{font-size:12px}
.robot-control label{font-size:12px;color:#62746d}
.robot-control select{font-size:14px}
.summary-card p{font-size:12px;color:#5c7066;line-height:1.65}
.summary-card div>span{font-size:12px;color:#63776b}
.summary-card small{font-size:11px;color:#62796b;line-height:1.6}
.summary-card .summary-text{font-size:17px}
.panel-heading h2{font-size:15px}
.panel-heading p{font-size:12px;color:#62776c}
.count-badge{font-size:12px;color:#426b51;min-width:27px;height:27px}
.person-copy strong{font-size:14px;color:#294b38}
.person-copy span{font-size:11px;color:#677c6d;line-height:1.75}
.person-meta{font-size:11px;color:#62796a;flex-wrap:wrap;row-gap:4px}
.person-meta b{color:#3f7553}
.pagination,.pagination .button{font-size:12px;color:#5f7669}
.consultation-copy strong{font-size:14px;color:#2e4b3c}
.consultation-copy span{font-size:12px;color:#657a6c;line-height:1.85}
.record-open{font-size:12px;color:#3f7655;gap:8px}
.empty-state strong{font-size:14px;color:#4b6c58}
.empty-state p{font-size:12px;color:#637d6b}
.app-status{font-size:13px;color:#765c36}
.transcript-heading h3{font-size:15px}
.transcript-heading p{font-size:11px;color:#607b67;white-space:pre-line}
.transcript-close{font-size:12px;color:#536f5b}
.transcript-notice{font-size:12px;color:#516e4b}
.turn-marker{font-size:11px;color:#66836c}
.message-speaker{font-size:12px;color:#42734e}
.message-user .message-speaker{color:#526a5c}
.message-bubble{font-size:14px;line-height:1.9}
.message-footnote{font-size:11px;color:#667d69}
.workspace-footer{font-size:11px;color:#68796d;line-height:1.8;flex-wrap:wrap}
.preview-banner{font-size:11px;color:#325f51}
.banner-extra{color:#5c7667}
@media(max-width:880px){.record-open{font-size:11px}.summary-card{min-height:113px}.summary-card .summary-text{font-size:16px}}
@media(max-width:620px){
  .page-heading .muted{font-size:13px}
  .topbar .breadcrumb{font-size:11px!important}
  .account{font-size:11px}.account .button{font-size:11px}
  .summary-card{padding:15px 13px;min-height:112px}
  .summary-card p{font-size:11px;line-height:1.6}
  .summary-card div>span{font-size:12px}
  .robot-control label{font-size:12px}.robot-control select{font-size:13px}
  .button-small{font-size:12px;padding:9px 10px}
  .section-label{font-size:14px}.quiet-label{font-size:9px}
  .panel-heading h2{font-size:15px}.panel-heading p{font-size:12px}
  .person-copy strong{font-size:14px}.person-copy span{font-size:11px}
  .person-meta{font-size:11px}.person-button{padding:14px 11px}
  .consultation-button{gap:10px}.consultation-copy strong{font-size:14px}
  .consultation-copy span{font-size:11px}.record-open{font-size:11px;gap:4px}
  .record-icon{width:30px;height:36px}.record-open b{font-size:16px}
  .message-bubble{font-size:14px}.message-speaker{font-size:12px}
  .transcript-notice,.transcript-heading p,.message-footnote{font-size:11px}
  .app-status{font-size:12px}.workspace-footer{font-size:11px;line-height:1.9}
  .login-intro{font-size:13px}.login-footnote{font-size:11px}
}

/* Cursor pages contain up to 20 entries. Keep page controls within reach while
   both lists remain keyboard-scrollable, and do not compress a count badge. */
.people-list{max-height:520px;overflow-y:auto;overscroll-behavior:contain}
.consultation-list{max-height:460px;overflow-y:auto;overscroll-behavior:contain}
.records-panel .panel-heading{flex-wrap:wrap}
#consultations-count{white-space:nowrap;min-height:27px}
.pagination .button{min-height:40px}
@media(max-width:620px){.people-list{max-height:342px}.consultation-list{max-height:340px}.pagination{padding:8px 12px}}

/* Bounded metadata search and an explicit, single-record analysis/export flow. */
.panel-heading h2{display:flex;align-items:center;gap:9px}
.step-number{display:inline-grid;place-items:center;flex-shrink:0;width:24px;height:24px;border-radius:8px;background:#e9f3ee;color:#267b69;font-size:12px;font-variant-numeric:tabular-nums}
.advanced-search{border-bottom:1px solid var(--line);background:#fbfcfb}
.advanced-search summary{cursor:pointer;padding:14px 20px;color:#526e5e;font-size:12px;line-height:1.8;overflow-wrap:anywhere;min-height:48px}
.advanced-search summary::marker{color:#739483}
.advanced-search summary:hover{background:#f1f6f3}
.advanced-search summary:focus-visible{outline:3px solid #4fa99f;outline-offset:-3px;border-radius:3px}
.advanced-search[open] summary{border-bottom:1px solid #eaf0ec}
.filter-active{display:inline-block;margin-left:8px;padding:1px 6px;border-radius:5px;background:#e0eee4;color:#315e43;font-size:10px;font-weight:600;white-space:nowrap}
.list-filters{padding:16px 20px;border-bottom:1px solid var(--line);background:#fbfcfb}
.advanced-search .list-filters{border-bottom:0}
.list-filters label{display:block;font-size:12px;color:#496958;font-weight:600;margin-bottom:7px}
.list-filters input{width:100%;min-width:0;height:40px;padding:8px 10px;font-size:12px}
.list-filters .filter-reset{padding:8px 0 0;font-size:11px}
.filter-hint{font-size:11px;color:#64796c;line-height:1.75;margin-top:9px}
.consultation-filters{display:grid;grid-template-columns:minmax(140px,1fr) minmax(118px,.7fr) minmax(118px,.7fr);gap:12px}
.consultation-filters .filter-hint{grid-column:1/-1;margin:0}
.consultation-filters #filter-reset{justify-self:start;padding:4px 0;font-size:11px}
.consultation-copy .record-id{font-size:10px;color:#6a7d72;overflow-wrap:anywhere}
.detail-tabs{display:flex;gap:8px;padding:0 22px 18px;flex-wrap:wrap}
.detail-tabs .button{min-height:42px}
.analysis-content{padding:0 23px 20px}
.analysis-content h4{font-size:14px;color:#345e43;margin:22px 0 12px}
.analysis-disclaimer{font-size:12px;line-height:1.9;color:#5f735f;padding:13px 14px;border:1px solid #dce8da;border-radius:9px;background:#fff}
.summary-excerpts{padding-left:25px;margin:0;color:#395a44}
.summary-excerpts li{font-size:14px;line-height:1.9;padding:0 0 10px 4px;white-space:pre-wrap;overflow-wrap:anywhere}
.expression-chart{padding:8px 15px;border:1px solid #dfe9df;border-radius:12px;background:#fff}
.expression-row{display:grid;grid-template-columns:80px minmax(30px,1fr) 42px;align-items:center;gap:13px;min-height:38px;font-size:12px;color:#4a6953}
.expression-row b{font-size:12px;text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.expression-meter{width:100%;height:17px;accent-color:#368470}
.expression-meter::-webkit-meter-bar{background:#edf3ee;border:0;border-radius:8px}
.expression-meter::-webkit-meter-optimum-value{background:#398976;border-radius:8px}
.expression-meter::-moz-meter-bar{background:#398976;border-radius:8px}
.analysis-footnote{font-size:11px;color:#687969;line-height:1.9;margin-top:12px}
.export-panel{margin:0 22px 23px;padding:15px 16px;border:1px solid #dce6dc;border-radius:11px;background:#fff}
.export-scope{font-size:12px;font-weight:600;color:#355d43;margin-bottom:12px}
.export-ack{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.8;color:#657963}
.export-ack input{margin:3px 0 0;flex-shrink:0;width:16px;height:16px;accent-color:var(--teal)}
.export-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}
.export-actions .button{min-height:42px;font-size:12px}
#print-output{display:none}
.display-countdown{margin:0 24px 18px;padding:12px 15px;border:1px solid #dce7df;border-radius:10px;background:#f8fbf9}
.display-countdown-line{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:#355943}
.display-countdown-line strong{font-size:18px;line-height:1.3;min-width:3ch;text-align:right;font-variant-numeric:tabular-nums}
.display-countdown-hint,.display-countdown-warning{font-size:11px;line-height:1.7;margin-top:5px;color:#596e62}
.display-countdown.is-ending{background:#fff8e9;border-color:#deca9b}
.display-countdown-warning{color:#75551b;font-weight:600}
.display-countdown-warning:empty{margin-top:0}
.display-expiry{margin:18px 24px 24px;padding:20px;border:1px solid #dce7df;border-radius:12px;background:#f8fbf9}
.display-expiry h3{font-size:16px;color:#355943;margin:0 0 10px}
.display-expiry p{font-size:13px;line-height:1.8;color:#596e62;margin-bottom:8px}
.display-expiry .button{margin-top:8px}
@media(max-width:620px){.display-countdown{margin:0 17px 15px}.display-expiry{margin:16px 17px 19px;padding:16px}}
@media(max-width:1150px){.consultation-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.filter-search{grid-column:1/-1}.consultation-filters input{font-size:11px}.list-filters{padding:15px 17px}.advanced-search summary{padding:14px 17px}}
@media(max-width:620px){.list-filters{padding:15px 18px}.consultation-filters{gap:12px}.detail-tabs{padding:0 17px 17px}.detail-tabs .button{font-size:12px}.analysis-content{padding:0 18px 18px}.analysis-disclaimer{font-size:11px}.expression-row{grid-template-columns:74px minmax(25px,1fr) 38px;gap:9px;font-size:11px}.export-panel{margin:0 17px 19px;padding:14px}.export-actions{flex-direction:column}.export-actions .button{width:100%}}
/* Manual operations snapshots are separate from current-page record counts. */
.story-usage-panel{margin:0 0 18px;padding:14px 17px;border:1px solid #d7e6f4;border-radius:12px;background:#fff;min-width:0;color:#294f73}
.story-usage-panel>summary{cursor:pointer;font-size:14px;font-weight:600;line-height:1.7;list-style-position:inside}
.story-usage-panel>summary:focus-visible{outline:3px solid #4fa99f;outline-offset:4px}
.story-usage-scope{margin-left:12px;font-size:10px;font-weight:400;color:#536d89}
.story-usage-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.story-usage-toolbar p,.story-usage-note{font-size:11px;line-height:1.8;color:#536d89}
.story-usage-toolbar .button{flex-shrink:0}
.story-usage-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.story-usage-day{padding:12px;border-radius:9px;background:#f2f8ff;min-width:0}
.story-usage-day h3{font-size:11px;line-height:1.7;font-weight:600;color:#436384}
.story-usage-day strong{display:block;font-size:21px;line-height:1.7;color:#294f73;font-variant-numeric:tabular-nums}
.story-usage-day p{font-size:11px;line-height:1.8;color:#536d89;overflow-wrap:anywhere}
.story-usage-list{list-style:none;margin:13px 0 8px;padding:0}
.story-usage-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #e4edf6}
.story-usage-item h3{font-size:12px;line-height:1.8;font-weight:600;color:#345776;overflow-wrap:anywhere}
.story-usage-item p{font-size:10px;line-height:1.8;color:#536d89}
.story-usage-badge{display:inline-block;flex-shrink:0;padding:5px 8px;border-radius:7px;background:#eaf3fc;color:#365b7c;font-size:10px;line-height:1.6;text-align:center}
.story-usage-badge.is-unconfirmed{background:#fff7e8;color:#77561d}
.story-usage-note{margin-top:9px}
@media(max-width:620px){.story-usage-panel{padding:13px 12px}.story-usage-toolbar{flex-wrap:wrap}.story-usage-item{align-items:flex-start}.story-usage-metrics{gap:8px}.story-usage-scope{display:block;margin-left:19px}}
.operations-panel{margin:0 0 18px;padding:15px 17px;border:1px solid #d7e6f4;border-radius:12px;background:#f7fbff;min-width:0}
.operations-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.operations-heading h2{font-size:15px;color:#294f73;line-height:1.5}
.operations-heading p,.operations-status{font-size:11px;line-height:1.7;color:#536d89}
.operations-heading p{margin-top:3px}.operations-heading .button{flex-shrink:0}
.operations-status{margin-top:10px;overflow-wrap:anywhere}
.operations-summary{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:14px 20px;margin-top:12px}
.operations-table{width:100%;border-collapse:collapse;align-self:start;table-layout:fixed;color:#345776;font-size:11px}
.operations-table caption{text-align:left;padding:0 0 8px;font-size:11px;font-weight:600;color:#436384}
.operations-table th,.operations-table td{padding:9px 5px;border-bottom:1px solid #dce7f2;text-align:right;line-height:1.6;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.operations-table th:first-child{width:35%;text-align:left}.operations-table th:last-child{width:29%}
.operations-table thead th{color:#536d89;font-weight:500;background:#edf5fd}
.operations-table tbody th{font-weight:600}.operations-table td{font-weight:600}
.operations-contact{padding-left:18px;border-left:1px solid #dce7f2;min-width:0}
.operations-contact h3{font-size:11px;font-weight:600;color:#436384;margin-bottom:6px}
.operations-contact-label{font-size:12px;line-height:1.6;color:#294f73}
.operations-contact p{font-size:10px;line-height:1.8;color:#536d89;overflow-wrap:anywhere;margin-top:3px}
.operations-contact .operations-error-counts{font-weight:600;color:#345776;margin-top:8px}
.operations-device-report{margin-top:10px;padding-top:10px;border-top:1px solid #dce7f2}
.operations-contact .operations-report-stale{color:#76531c;background:#fff8ea;border:1px solid #ead7b2;border-radius:6px;padding:6px 8px;margin-top:7px}
.operations-notes{grid-column:1/-1;color:#536d89;font-size:10px;line-height:1.8}
.operations-notes summary{cursor:pointer;width:fit-content;font-size:11px;padding:3px 0}
.operations-notes summary:focus-visible{outline:3px solid #4fa99f;outline-offset:4px}
.operations-notes p{margin-top:7px;max-width:105ch}
@media(max-width:1100px){.operations-summary{grid-template-columns:1fr}.operations-contact{padding:12px 0 0;border-left:0;border-top:1px solid #dce7f2}}
@media(max-width:620px){.operations-panel{padding:13px 12px}.operations-heading{flex-wrap:wrap;gap:9px}.operations-heading .button{min-height:40px}.operations-table{font-size:10px}.operations-table th,.operations-table td{padding:8px 3px}.operations-status{font-size:10px}}
@page{size:auto;margin:16mm}
/* Working view: compact metadata above the actual people and consultations.
   The comparison uses bounded counts, not a health score or inferred trend. */
@media screen{
  .app-layout{grid-template-columns:196px minmax(0,1fr)}
  .sidebar{padding:26px 16px 18px}
  .sidebar .brand{margin-left:4px;font-size:21px}
  .topbar{height:58px;padding:0 24px}
  #main-content{padding:24px 24px 20px;max-width:1580px}
  .page-heading{margin-bottom:18px;gap:16px}
  .page-heading h1{font-size:27px;margin-bottom:6px}
  .page-heading .eyebrow{margin-bottom:7px}
  .summary-grid{gap:10px;margin-bottom:18px}
  .summary-card{min-height:70px;padding:11px 16px;border-radius:11px}
  .summary-card p{margin-bottom:3px;font-size:12px}
  .summary-card strong{font-size:22px;line-height:1.2}
  .summary-card .summary-text{font-size:14px}
  .summary-card small{display:none}
  .summary-symbol{height:29px;width:29px;font-size:18px}
  .section-toolbar{margin-bottom:12px}
  .records-layout{grid-template-columns:268px minmax(0,1fr);gap:18px}
  .panel-heading{min-height:76px;padding:17px 18px}
  .people-panel{position:sticky;top:18px}
  .people-list{max-height:450px}
  .consultation-list{padding:4px 16px;max-height:350px}
  .consultation-button{padding:15px 0}
  .button,.detail-tabs .button,.export-actions .button{font-size:14px;min-height:42px}
  .pagination .button,.button-small{font-size:13px}
  .consultation-copy .record-id{font-size:10px}
  .record-open{font-size:13px}
}
.period-panel{padding:15px 18px;border-bottom:1px solid var(--line);background:#f8fbfa}
.period-heading{display:flex;align-items:baseline;gap:7px 12px;flex-wrap:wrap;margin-bottom:11px}
.period-heading strong{font-size:14px;color:var(--navy)}
.period-heading span,.period-presets>span{font-size:12px;color:#62776c;line-height:1.6}
.period-presets{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:11px}
.period-presets .button{min-height:36px;padding:7px 12px;font-size:13px}
.period-presets>span{margin-left:4px}
.period-fields{display:grid;grid-template-columns:minmax(130px,1fr) minmax(130px,1fr) auto;gap:12px;align-items:end}
.period-fields>div{min-width:0}
.period-fields label{display:block;font-size:12px;font-weight:600;color:#496958;margin-bottom:5px}
.period-fields input{width:100%;min-width:0;min-height:42px;padding:8px 10px;font-size:14px}
.period-fields .button{min-height:42px;white-space:nowrap}
.period-panel .filter-hint{font-size:12px;margin-top:9px;overflow-wrap:anywhere}
.consultation-filters{grid-template-columns:minmax(0,1fr) auto;align-items:end}
.consultation-filters #filter-reset{padding:9px 10px;min-height:40px;white-space:nowrap}
.comparison-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 18px;background:#fff;border-bottom:1px solid var(--line)}
.comparison-toolbar strong{display:block;font-size:13px;color:#355e4d}
.comparison-toolbar p{font-size:12px;line-height:1.7;color:#63776c;margin-top:4px}
.comparison-toolbar .button{flex-shrink:0;font-size:13px}
.consultation-row{display:grid;grid-template-columns:42px minmax(0,1fr);gap:6px;border-bottom:1px solid #edf1ef}
.consultation-row:last-child{border-bottom:0}
.consultation-row .consultation-button{border-bottom:0;min-width:0}
.comparison-check{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer;font-size:11px;color:#62776c;min-height:44px}
.comparison-check input{width:19px;height:19px;margin:0;accent-color:var(--teal);cursor:pointer;flex-shrink:0}
.comparison-table-scroll{overflow-x:auto;overscroll-behavior-x:contain;border:1px solid #dce7df;border-radius:10px;background:#fff;margin-top:16px}
.comparison-table{width:100%;min-width:610px;border-collapse:collapse;table-layout:fixed;font-size:12px;line-height:1.65;font-variant-numeric:tabular-nums}
.comparison-table caption{text-align:left;padding:13px 14px;color:#476554;font-size:12px;border-bottom:1px solid var(--line);background:#f5f9f6}
.comparison-table th,.comparison-table td{padding:11px 9px;border-bottom:1px solid #e6ede8;text-align:center;vertical-align:middle;overflow-wrap:anywhere}
.comparison-table thead th{font-weight:600;background:#f9fbfa;color:#506e5c}
.comparison-table th:first-child{width:29%;text-align:left}
.comparison-table th:nth-child(2){width:9%}
.comparison-table tbody th{font-weight:400;color:#355943}
.comparison-table tbody th strong{font-weight:600}
.comparison-table tr:last-child>*{border-bottom:0}
.comparison-table .expression-meter{display:block;min-width:24px;height:12px;margin:5px auto 0}
.comparison-record-id{display:block;font-size:10px;line-height:1.5;color:#73867a;margin-top:5px;overflow-wrap:anywhere}
.comparison-unavailable{color:#687d71;background:#f7f9f8;text-align:left!important}
.comparison-content .analysis-disclaimer{font-size:12px}
.comparison-chart{margin:0 24px 22px;padding:20px;border:1px solid #dce7df;border-radius:12px;background:#f8fbf9;min-width:0}
.comparison-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.comparison-chart-heading h4{font-size:16px;color:#244c3d;margin:0}
.comparison-chart-scope{font-size:11px;color:#4e7160;background:#e7f0e9;padding:5px 8px;border-radius:6px}
.comparison-chart-controls{display:flex;align-items:center;gap:12px;margin:16px 0 10px}
.comparison-chart-controls label{font-size:13px;font-weight:600;color:#3f5d4d}
.comparison-chart-controls select{min-height:42px;max-width:100%;padding:8px 30px 8px 12px;font:inherit;font-size:14px;border:1px solid #c8d9ce;border-radius:8px;background:#fff;color:#244c3d}
.comparison-chart-description,.comparison-chart-footnote{font-size:12px;line-height:1.75;color:#526f5e;overflow-wrap:anywhere}
.comparison-chart-scale{font-size:11px;color:#657c6d;margin:16px 0 0;text-align:right}
.comparison-chart-row{display:grid;grid-template-columns:minmax(130px,1fr) minmax(0,1.3fr);align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid #e0eae3;min-width:0}
.comparison-chart-row:last-child{border-bottom:0}
.comparison-chart-identity{min-width:0}
.comparison-chart-identity strong{display:block;font-size:12px;line-height:1.7;color:#355943}
.comparison-chart-identity .comparison-record-id{font-size:10px;margin-top:2px}
.comparison-chart-measurement{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;min-width:0}
.comparison-chart-meter{display:block;width:100%;height:16px;border:0;background:#e2ebe5;border-radius:20px;overflow:hidden;appearance:none}
.comparison-chart-meter::-webkit-meter-bar{background:#e2ebe5;border:0;box-shadow:none;border-radius:20px}
.comparison-chart-meter::-webkit-meter-optimum-value,.comparison-chart-meter::-webkit-meter-suboptimum-value,.comparison-chart-meter::-webkit-meter-even-less-good-value{background:#527e68;border-radius:20px}
.comparison-chart-meter::-moz-meter-bar{background:#527e68;border-radius:20px}
.comparison-chart-value{font-size:12px;color:#355943;white-space:nowrap;font-variant-numeric:tabular-nums}
.comparison-chart-missing{font-size:12px;line-height:1.7;color:#63776c;padding:8px 10px;border:1px dashed #cbdacf;border-radius:7px}
.comparison-chart-footnote{border-top:1px solid #dce7df;margin-top:6px;padding-top:12px;font-size:11px}
@media screen and (max-width:1100px){
  .records-layout{grid-template-columns:238px minmax(0,1fr);gap:14px}
  .comparison-chart-row{grid-template-columns:minmax(0,1fr);gap:9px}
  .comparison-chart-scale{text-align:left}
  .comparison-toolbar{align-items:flex-start;flex-direction:column}
  .comparison-toolbar .button{align-self:flex-end}
  .record-icon{display:none}
  .period-presets>span{width:100%;margin-left:0}
}
@media screen and (max-width:880px){
  .app-layout{grid-template-columns:1fr}
  .sidebar{display:none}
  .records-layout{grid-template-columns:245px minmax(0,1fr)}
  .summary-card{min-height:70px}
  .period-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
  .period-fields .button{grid-column:1/-1}
}
@media screen and (max-width:620px){
  #main-content{padding:20px 14px}
  .topbar{padding:0 15px}
  .page-heading{margin-bottom:14px}
  .page-heading h1{font-size:25px}
  .summary-grid{gap:8px;margin-bottom:14px}
  .summary-card{min-height:67px;padding:10px 12px}
  .summary-card p{font-size:11px;margin-bottom:3px}
  .summary-card strong{font-size:21px}
  .records-layout{grid-template-columns:1fr;gap:15px}
  .people-panel{position:static}
  .people-list{max-height:265px}
  .consultation-list{max-height:335px;padding:4px 12px}
  .period-panel{padding:15px}
  .comparison-toolbar{padding:13px 15px}
  .period-heading span{font-size:11px}
  .consultation-filters{grid-template-columns:1fr}
  .consultation-row{grid-template-columns:33px minmax(0,1fr);gap:5px}
  .record-icon{display:none}
  .record-open{font-size:12px;gap:4px}
  .consultation-copy strong{font-size:13px}
  .comparison-check input{width:20px;height:20px}
  .export-ack{font-size:12px}
  .comparison-chart{margin:0 17px 18px;padding:15px}
  .comparison-chart-row{grid-template-columns:minmax(0,1fr);gap:9px;padding:13px 0}
  .comparison-chart-scale{text-align:left}
}
.insights-panel{margin:20px 0;padding:20px;border:1px solid #cedbec;border-radius:16px;background:#f8faff;overflow-wrap:anywhere}
.insights-panel h4{margin:0 0 12px;color:#243f61}
.insights-panel .button{margin-top:14px}
.insights-panel .expression-row{margin:12px 0}
.insights-status{color:#35516e;line-height:1.7}
.insights-evidence{font-size:13px;color:#53677f;line-height:1.6;margin:7px 0 14px}
.insights-uncertain{grid-column:2 / -1;color:#64748b;font-size:13px}
/* Bright care workspace. Existing SVG face geometry is reused locally; the
   short greeting finishes by itself and never carries private conversation text. */
@media screen{
  :root{color:#26314c;background:#f5f6fb;--teal:#535dca;--teal-dark:#424cae;--navy:#26314c;--muted:#65718a;--line:#e2e6f0;--soft:#eef0ff;--radius:20px}
  body{font-size:15px;line-height:1.6}
  button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #5867d7;outline-offset:4px}
  input,select{border-color:#c9d0e1;border-radius:11px}
  input::placeholder{color:#707b91}
  .button{min-height:44px;padding:11px 16px;font-size:14px;border-radius:11px}
  .button-primary{background:#535dca;box-shadow:0 5px 14px #535dca18}
  .button-primary:hover:not(:disabled){background:#424cae}
  .button-secondary{border-color:#d7dceb;background:#fff;color:#46536e}
  .button-secondary:hover:not(:disabled){background:#f0f2ff;border-color:#aeb7e8}
  .button-text{color:#5f6c84}
  .button-text:hover:not(:disabled){color:#424cae;background:#eef0ff}
  .button-small{min-height:42px;font-size:13px}
  .preview-banner{min-height:32px;height:auto;padding:5px 16px;color:#4b5787;background:#eef0fc;border-color:#dfe3f6;font-size:12px}
  .preview-dot,.teal-dot{background:#7580db}
  .banner-extra{color:#606d8e}
  .brand{color:#2f3b5e;letter-spacing:-.04em}
  .brand small{color:#737c9a;font-size:10px}
  .brand-mark{background:#6972d5;border-radius:14px 14px 14px 5px}
  .eyebrow{color:#6671a6;font-size:11px;letter-spacing:.14em}
  .muted{color:#65718a;font-size:15px}
  .app-layout{grid-template-columns:188px minmax(0,1fr)}
  .sidebar{padding:30px 14px 22px;background:#fdfdff}
  .sidebar .brand{font-size:22px;margin-left:7px}
  .sidebar-body{margin-top:50px}
  .nav-caption{color:#6b7591;font-size:10px}
  .nav-current{background:#eceffd;color:#4c58b3;font-size:15px;padding:15px 13px;border-radius:13px}
  .nav-description{color:#6a7690;margin:15px 12px;font-size:12px}
  .sidebar-body>a.button{font-size:13px;width:100%;margin-top:8px}
  .sidebar-note{color:#69758c;font-size:12px;padding:22px 8px}
  .sidebar-note strong,.small-lock{color:#53628c}
  .sidebar-footer{color:#6d7892;font-size:10px}
  .sidebar-footer span{color:#717a90;font-size:9px}
  .topbar{height:66px;padding:0 32px;background:#ffffffc9}
  .breadcrumb,.breadcrumb strong,.account{color:#596780;font-size:13px}
  .account-avatar{background:#ecedfb;color:#5c65b4;width:32px;height:32px}
  .account .button{font-size:13px;padding:8px 12px}
  #main-content{max-width:1560px;padding:30px 32px 28px}
  .page-heading{margin-bottom:23px;gap:20px}
  .page-heading h1{font-size:32px;font-weight:700;letter-spacing:-.045em;margin:0;color:#26314c}
  .page-heading .eyebrow{margin-bottom:6px}
  .robot-control{min-width:160px;gap:5px}
  .robot-control label{color:#65718a;font-size:12px}
  .robot-control select{min-width:160px;height:44px;font-size:14px}
  .care-guide{display:flex;align-items:center;gap:22px;padding:25px 27px;margin-bottom:23px;border:1px solid #e0e4fb;border-radius:22px;background:linear-gradient(110deg,#edf0ff 0%,#f8f8ff 72%,#f1f3ff 100%)}
  .guide-character{width:115px;height:91px;flex-shrink:0;background:#111b35;border:5px solid #fff;border-radius:28px;box-shadow:0 10px 22px #38498413;display:grid;place-items:center;transform:rotate(-3deg)}
  .illu-face{display:block;width:100%;height:100%;overflow:visible}
  .illu-face-float{transform-origin:500px 270px;animation:illu-hello 1.9s ease-in-out 2}
  .illu-eyes{transform-box:fill-box;transform-origin:center;animation:illu-blink 3.8s ease-in-out 1}
  .guide-copy{min-width:0;flex:1}
  .guide-name{font-size:12px;font-weight:700;color:#5361aa;margin-bottom:5px}
  .guide-name span{font-size:10px;color:#647297;font-weight:500;border:1px solid #d0d7f1;padding:2px 5px;border-radius:5px;margin-left:6px}
  .guide-copy h2{font-size:22px;font-weight:700;letter-spacing:-.035em;line-height:1.45;color:#303b5d}
  .guide-copy>p:last-child{font-size:14px;color:#5d6987;margin-top:5px;line-height:1.7}
  .guide-action{flex-shrink:0;max-width:220px;min-height:46px;font-size:14px;padding:13px 17px;white-space:normal}
  .care-guide[data-mode="help"],.care-guide[data-mode="expired"]{background:#f6f4fb}
  .care-guide[data-mode="help"] .guide-character,.care-guide[data-mode="expired"] .guide-character{transform:rotate(0)}
  .summary-grid{gap:14px;margin-bottom:22px}
  .summary-card{min-height:84px;padding:15px 19px;border:1px solid #e3e7f2;border-radius:16px;box-shadow:0 3px 12px #1d305603}
  .summary-card p{font-size:12px;color:#606d85;margin-bottom:4px;line-height:1.5}
  .summary-card strong{font-size:25px;color:#303c60}
  .summary-card div>span{font-size:13px;color:#63718a}
  .summary-card .summary-text{font-size:17px;color:#4e5c79}
  .summary-card small{display:block;font-size:11px;color:#69758d;margin-top:3px}
  .summary-symbol{background:#f1f2fc;color:#7480bb;width:34px;height:34px;font-size:20px}
  .section-toolbar{margin-bottom:12px}
  .section-label{font-size:16px;gap:9px}
  .quiet-label{background:#f0f2fd;border-color:#e0e5fa;color:#5b69a0;font-size:11px;padding:3px 7px}
  .app-status:not(:empty){background:#fff8e9;border-color:#ebd6a6;color:#795b26;font-size:14px;padding:13px 16px;margin:0 0 17px}
  .records-layout{grid-template-columns:280px minmax(0,1fr);gap:20px}
  .panel{border-radius:19px;box-shadow:0 4px 20px #25395b03}
  .panel-heading{padding:20px;min-height:94px;border-color:#e9ecf4}
  .panel-heading h2{font-size:17px;font-weight:700;gap:9px;color:#303d59}
  .panel-heading p{font-size:13px;color:#64718b;margin-top:6px;line-height:1.6}
  .step-number{width:25px;height:25px;background:#f0f1fc;color:#616bc0;font-size:12px}
  .count-badge{color:#59679b;background:#f1f3fd;font-size:12px;border-radius:8px;min-width:28px;height:28px}
  .people-list{padding:10px;max-height:480px}
  .person-button{padding:17px 12px;border-radius:13px;margin-bottom:4px}
  .person-button:hover{background:#f7f8fd}
  .person-button.is-selected{background:#eef1ff;border-color:#cbd3f3;box-shadow:inset 3px 0 #7680da}
  .person-avatar{width:37px;height:37px;background:#f0f2f9;color:#7c86a8;border-radius:13px}
  .is-selected .person-avatar{background:#e0e5fd;color:#6570c2}
  .person-copy strong{font-size:15px;color:#35415e;line-height:1.5}
  .person-copy span{font-size:12px;color:#697690;line-height:1.55}
  .person-chevron{color:#7785b0;font-size:22px}
  .person-meta{font-size:12px;color:#68768f;margin-top:12px;margin-left:49px;gap:5px}
  .person-meta b{color:#5968a0;font-size:12px}
  .advanced-search,.list-filters{background:#fcfcff;border-color:#e8ebf4}
  .advanced-search summary,.period-panel>summary{font-size:13px;color:#5d6b87;padding:13px 20px;min-height:48px;line-height:1.7;cursor:pointer}
  summary::marker{color:#7784bd}
  .advanced-search summary:hover,.period-panel>summary:hover{background:#f6f7fe}
  .advanced-search summary:focus-visible{outline:3px solid #5867d7}
  .advanced-search[open] summary{border-color:#e5e9f5}
  .filter-active{background:#e9edfc;color:#52609e;font-size:11px}
  .list-filters label,.period-fields label{font-size:13px;color:#54627c}
  .list-filters input,.period-fields input{min-height:44px;font-size:14px}
  .filter-hint,.period-panel .filter-hint{font-size:12px;color:#68758e;line-height:1.75}
  .period-panel{padding:0;background:#fcfcff}
  .period-panel>summary>span{color:#5462a4;background:#edf0ff;border-radius:6px;padding:3px 7px;margin-left:9px;font-size:12px;overflow-wrap:anywhere}
  .period-content{padding:0 20px 18px}
  .period-heading{margin-top:4px}
  .period-heading span,.period-presets>span{color:#69758d;font-size:12px}
  .period-presets .button{min-height:40px}
  .period-fields{gap:10px}
  .comparison-toolbar{padding:15px 20px;background:#fafbff;border-color:#e6eaf3;gap:12px}
  .comparison-toolbar strong{color:#52617f;font-size:13px}
  .comparison-toolbar p{color:#6a768b;font-size:12px;line-height:1.65}
  .comparison-toolbar .button{font-size:12px;padding:9px 12px;min-height:42px}
  .consultation-list{padding:5px 19px;max-height:370px}
  .consultation-row{border-color:#e9edf5;gap:10px}
  .consultation-button{padding:19px 3px;gap:12px;border-radius:10px}
  .consultation-button:hover{background:#f8f9ff}
  .consultation-button.is-selected{background:#f0f3ff}
  .record-icon{display:none}
  .consultation-copy strong{color:#36425e;font-size:15px;line-height:1.6}
  .consultation-copy span{color:#68758e;font-size:12px;line-height:1.7}
  .consultation-copy .record-id{font-size:11px;color:#697690;margin-top:4px}
  .record-open{font-size:13px;color:#5767b2;gap:8px}
  .record-open b{color:#7381c1;font-size:20px}
  .comparison-check{font-size:11px;color:#69758f;min-width:35px;min-height:44px;justify-content:center}
  .comparison-check input{width:19px;height:19px;accent-color:#6672d1}
  .pagination,.pagination .button{color:#63708c;font-size:13px}
  .empty-state{min-height:255px;gap:10px;padding:35px 26px}
  .empty-state.compact{min-height:220px}
  .empty-symbol{font-size:35px;color:#a2acd0}
  .empty-state strong{font-size:16px;color:#556383;font-weight:600}
  .empty-state p{font-size:14px;color:#6d7890;max-width:310px;line-height:1.8}
  .empty-state.is-loading .empty-symbol{animation-iteration-count:3}
  .transcript{background:#fafbff;border-color:#e1e7f6;scroll-margin-top:18px}
  .transcript-heading{padding:25px 24px 17px;gap:15px}
  .transcript-heading h3{font-size:20px;color:#354360;letter-spacing:-.03em}
  .transcript-heading p{font-size:13px;color:#65738e;line-height:1.75;margin-top:6px}
  .transcript-close{color:#5d6d89;border-color:#dbe1ef;min-height:42px;font-size:13px;white-space:nowrap}
  .record-metadata{font-size:12px;color:#6b7890;margin-top:7px}
  .record-metadata summary{cursor:pointer;min-height:36px;display:list-item;line-height:36px}
  .record-metadata p{font-size:12px;overflow-wrap:anywhere;margin:1px 0 5px}
  .transcript-notice{margin:0 24px 14px;padding:12px 14px;border-color:#e0e5f7;background:#f0f3fc;color:#5d6b85;font-size:12px;line-height:1.75}
  .display-countdown{margin:0 24px 18px;padding:11px 14px;background:#fff;border-color:#dfe4f2}
  .display-countdown-line{color:#546382;font-size:13px}
  .display-countdown-line strong{color:#5665b3;font-size:20px}
  .display-countdown-hint{color:#6c7890;font-size:12px}
  .display-countdown-warning{color:#7d5c20;font-size:12px}
  .display-countdown.is-ending{background:#fff7e6;border-color:#dfc893}
  .detail-tabs{padding:0 24px 19px;gap:8px}
  .detail-tabs .button{font-size:14px;min-height:44px}
  .transcript-messages{padding:0 24px 12px}
  .turn-marker{font-size:12px;color:#6e7b98;margin:16px 0}
  .turn-marker::before,.turn-marker::after{background:#e2e7f2}
  .message{max-width:94%;margin-bottom:23px}
  .message-speaker,.message-user .message-speaker{font-size:13px;color:#596d9a}
  .message-bubble{font-size:15px;color:#364563;background:#fff;border-color:#e0e5f1;padding:16px 18px;line-height:1.85;border-radius:0 15px 15px 15px}
  .message-user .message-bubble{background:#eef1ff;border-color:#e0e5fb;color:#3b476c;border-radius:15px 0 15px 15px}
  .message-footnote{font-size:12px;line-height:1.75;color:#6a7893}
  .analysis-content{padding:0 24px 22px}
  .analysis-content h4{font-size:16px;color:#465777}
  .analysis-disclaimer{font-size:13px;line-height:1.85;background:#fff;border-color:#dfe5f2;color:#5f6f8c}
  .summary-excerpts{color:#435474}
  .summary-excerpts li{font-size:15px;line-height:1.9}
  .expression-chart{border-color:#dfe6f3;padding:10px 16px}
  .expression-row{grid-template-columns:86px minmax(30px,1fr) 46px;min-height:42px;color:#536486;font-size:13px}
  .expression-row b{font-size:13px}
  .expression-meter,.comparison-chart-meter{accent-color:#6a79cf}
  .expression-meter::-webkit-meter-bar,.comparison-chart-meter::-webkit-meter-bar{background:#e9edf8}
  .expression-meter::-webkit-meter-optimum-value,.comparison-chart-meter::-webkit-meter-optimum-value,.comparison-chart-meter::-webkit-meter-suboptimum-value,.comparison-chart-meter::-webkit-meter-even-less-good-value{background:#7380ce}
  .expression-meter::-moz-meter-bar,.comparison-chart-meter::-moz-meter-bar{background:#7380ce}
  .analysis-footnote{font-size:13px;line-height:1.85;color:#65758e}
  .insights-panel{margin:5px 24px 22px;padding:21px;border-color:#dbe1f7;background:#f2f5ff;border-radius:16px}
  .insights-panel h4{font-size:18px;color:#48598d;margin:0 0 6px}
  .insights-panel>.analysis-footnote:first-of-type{margin-top:5px}
  .insights-status{font-size:14px;color:#4f638c;padding-top:10px}
  .insights-confirmation-label{font-size:14px;font-weight:700;color:#50638f;margin:18px 0 0}
  .insights-retention{font-size:12px;color:#5e7194;line-height:1.9;margin-top:15px}
  .insights-help{border-top:1px solid #dce3f7;padding-top:10px;margin-top:13px;font-size:13px;color:#5c7195}
  .insights-help summary{cursor:pointer;min-height:36px;line-height:1.8}
  .insights-panel .export-ack{font-size:13px;line-height:1.8;margin-top:13px;color:#4f6185}
  .export-panel{margin:0 24px 24px;padding:0 17px;border-color:#dce3f2;background:#fff;border-radius:13px}
  .export-panel>summary{font-size:14px;font-weight:600;color:#576987;cursor:pointer;padding:15px 0;min-height:48px}
  .export-panel[open]{padding-bottom:17px}
  .export-scope{color:#576986;font-size:13px}
  .export-ack{color:#64758e;font-size:13px;line-height:1.8}
  .export-ack input{width:18px;height:18px}
  .export-actions .button{font-size:13px}
  .display-expiry{background:#f5f6fd;border-color:#dfe4f4}
  .display-expiry h3{color:#53618d;font-size:18px}
  .display-expiry p{color:#687593;font-size:14px}
  .comparison-chart{border-color:#dfe5f2;background:#f6f8ff}
  .comparison-chart-heading h4,.comparison-chart-identity strong,.comparison-chart-value{color:#536487}
  .comparison-chart-scope{background:#e9edfc;color:#5a6a96}
  .comparison-chart-controls label,.comparison-chart-controls select{color:#536486}
  .comparison-chart-description,.comparison-chart-footnote,.comparison-chart-scale{color:#65758d}
  .comparison-chart-row{border-color:#e0e6f3}
  .comparison-chart-missing{color:#667893;border-color:#cbd5e7}
  .comparison-table-scroll{border-color:#dce4f1}
  .comparison-table caption,.comparison-table th{background:#f3f5fc;color:#53678b}
  .comparison-table td{color:#536581;border-color:#e3e8f2}
  .comparison-record-id{color:#697890}
  .workspace-footer{display:flex;justify-content:space-between;align-items:flex-start;gap:12px 22px;font-size:12px;color:#6b7891;line-height:1.85;margin-top:22px}
  .privacy-short{font-size:12px;color:#64738d}
  .help-details{max-width:480px;color:#657490}
  .help-details summary{cursor:pointer;min-height:36px}
  .help-details p{margin:5px 0 8px}
  .login-layout{background:#fff}
  .login-story{background:linear-gradient(145deg,#eff1ff,#f8f8ff 70%,#edf0fc);padding:44px 12% 35px;min-height:760px}
  .story-copy{margin-top:72px}
  .story-copy h1{color:#344167;font-size:clamp(34px,3.25vw,49px);line-height:1.42;font-weight:700;letter-spacing:-.045em}
  .story-copy>p:last-child{color:#697795;font-size:16px;line-height:1.85;margin-top:24px}
  .story-footer{color:#71809b;font-size:12px}
  .conversation-art{height:244px;margin-top:24px}
  .art-orbit{border-color:#d9def6}
  .login-robot{position:absolute;width:194px;height:147px;top:38px;left:61px;border:8px solid #fff;border-radius:48px;background:#111b35;transform:rotate(-5deg);box-shadow:0 22px 36px #6676b71c}
  .art-greeting{position:absolute;top:187px;left:120px;padding:12px 17px;background:#fff;color:#566692;border:1px solid #e3e7f8;border-radius:0 14px 14px 14px;font-size:14px;white-space:nowrap;box-shadow:0 8px 16px #6c7caf0a}
  .art-spark{color:#a1a7df}
  .spark-one{left:286px;top:29px}.spark-two{left:30px;top:172px}
  .login-card{max-width:390px}
  .login-card h2{font-size:30px;color:#344360}
  .login-card input{height:50px;font-size:15px}
  .login-card label{font-size:14px;color:#52617e}
  .login-intro{font-size:15px}
  .demo-notice{background:#f6f7fc;border-color:#e3e7f2;color:#67758e;font-size:13px;padding:16px}
  .demo-notice strong{color:#526382}
  .notice-icon{color:#64759b;border-color:#9ba9c9}
  .login-footnote{color:#718099;font-size:12px}
  .login-submit{font-size:15px;min-height:48px}
}
@keyframes illu-hello{0%,100%{transform:translateY(0) rotate(0)}45%{transform:translateY(-5px) rotate(2deg)}}
@keyframes illu-blink{0%,39%,45%,100%{transform:scaleY(1)}42%{transform:scaleY(.12)}}
@media screen and (max-width:1180px){
  .app-layout{grid-template-columns:170px minmax(0,1fr)}
  #main-content{padding:27px 24px}.topbar{padding:0 24px}
  .sidebar .brand{font-size:20px}.sidebar-body>a.button{font-size:12px}
  .records-layout{grid-template-columns:252px minmax(0,1fr);gap:16px}
  .care-guide{padding:22px;gap:17px}.guide-character{width:99px;height:82px}.guide-copy h2{font-size:21px}
  .guide-action{max-width:175px;padding:12px 14px;font-size:13px}
  .summary-card{padding:14px 16px}.summary-symbol{display:none}
  .panel-heading{padding:18px}.consultation-list{padding:5px 15px}
  .comparison-toolbar{align-items:flex-start;flex-direction:column}.comparison-toolbar .button{align-self:flex-end}
}
@media screen and (max-width:900px){
  .app-layout{grid-template-columns:1fr}.sidebar{display:none}
  .care-guide{gap:17px}.guide-character{width:101px;height:82px}
  .records-layout{grid-template-columns:255px minmax(0,1fr)}
  .guide-action{max-width:175px}
  .login-story{padding:36px 10%;min-height:720px}.story-copy h1{font-size:35px}
  .conversation-art{transform:scale(.83);transform-origin:left top}
}
@media screen and (max-width:700px){
  #main-content{padding:24px 17px}.topbar{padding:0 17px;height:62px}
  .page-heading h1{font-size:28px}.page-heading{gap:16px;margin-bottom:19px}
  .robot-control{min-width:145px}.robot-control select{min-width:145px}
  .care-guide{display:grid;grid-template-columns:76px minmax(0,1fr);gap:14px;padding:19px;border-radius:18px;margin-bottom:18px}
  .guide-character{width:76px;height:69px;border-width:4px;border-radius:23px}
  .guide-copy h2{font-size:20px}.guide-copy>p:last-child{font-size:13px}.guide-name{font-size:12px}
  .guide-name span{display:none}.guide-action{grid-column:1/-1;max-width:none;width:100%;min-height:45px;font-size:14px}
  .summary-grid{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.summary-quiet{display:none}
  .summary-card{min-height:82px;padding:13px 15px}.summary-card p{font-size:12px}.summary-card strong{font-size:25px}
  .records-layout{grid-template-columns:1fr;gap:19px}.people-panel{position:static}.people-list{max-height:305px}
  .panel-heading{padding:19px;min-height:85px}.panel-heading h2{font-size:17px}.panel-heading p{font-size:13px}
  .person-button{padding:17px 12px}.person-copy strong{font-size:15px}.person-copy span,.person-meta{font-size:12px}
  .section-label{font-size:15px}.quiet-label{font-size:10px}.button-small{font-size:12px;padding:10px 12px}
  .consultation-list{padding:5px 16px;max-height:380px}.consultation-button{padding:20px 2px;gap:8px}
  .consultation-row{grid-template-columns:33px minmax(0,1fr);gap:7px}.consultation-copy strong{font-size:14px}
  .record-open{font-size:12px;gap:4px}.consultation-copy span{font-size:12px}.consultation-copy .record-id{font-size:11px}
  .period-fields{grid-template-columns:1fr 1fr}.period-fields .button{grid-column:1/-1}.period-content{padding:0 18px 18px}
  .comparison-toolbar{padding:16px 19px}
  .transcript-heading{padding:23px 18px 16px}.transcript-heading h3{font-size:18px}.transcript-heading p{font-size:12px}
  .transcript-close{padding:9px 11px;font-size:12px;min-height:42px}
  .transcript-notice,.display-countdown{margin-left:18px;margin-right:18px}
  .detail-tabs{padding:0 18px 18px}.detail-tabs .button{font-size:13px;padding:11px 12px}
  .transcript-messages,.analysis-content{padding-left:18px;padding-right:18px}
  .message-bubble{font-size:15px;padding:15px}.message-speaker{font-size:13px}.message-footnote{font-size:12px}
  .insights-panel{margin:5px 18px 20px;padding:18px}.export-panel{margin:0 18px 21px}
  .analysis-footnote,.analysis-disclaimer,.export-ack{font-size:13px}.export-actions .button{font-size:13px}
  .expression-row{grid-template-columns:79px minmax(25px,1fr) 44px;gap:10px;font-size:12px}
  .workspace-footer{display:block;font-size:12px;line-height:1.85}.help-details{margin-top:8px}
  .privacy-short{font-size:12px}.display-expiry{margin:18px;padding:18px}
  .breadcrumb,.topbar .breadcrumb{font-size:12px!important}.account,.account .button{font-size:12px}
}
@media screen and (max-width:620px){
  .page-heading{flex-wrap:wrap}.robot-control{width:100%;padding:8px 12px;background:#fff;border-color:#e0e5f1;border-radius:12px}
  .robot-control label{font-size:12px}.robot-control select{height:38px;min-height:38px;font-size:14px}
  .login-story{min-height:auto;padding:28px;background:#f0f2fd}.story-copy{margin-top:27px}
  .story-copy h1{font-size:32px}.story-copy>p:last-child{font-size:14px;margin-top:17px}
  .conversation-art,.story-footer{display:none}.login-form-area{padding:35px 27px 45px}.login-card h2{font-size:27px}
}
@media screen and (max-width:380px){
  .guide-copy h2{font-size:18px}.care-guide{grid-template-columns:65px minmax(0,1fr);padding:16px;gap:12px}
  .guide-character{width:65px;height:60px;border-radius:20px}.section-toolbar{flex-wrap:wrap}
  .account{gap:4px}.account .button{padding:8px}.consultation-row{gap:4px}.record-open{font-size:0}.record-open b{font-size:22px}
}
/* Keep the first people and records in reach: counts are context, not the
   primary dashboard task. The guide remains the only prominent action. */
@media screen{
  #main-content{padding-top:24px}
  .page-heading{margin-bottom:18px}
  .page-heading .eyebrow{display:none}
  .page-heading h1{line-height:1.4}
  .robot-control{flex-direction:row;align-items:center;gap:10px}
  .robot-control label{white-space:nowrap}
  .care-guide{margin-bottom:17px}
  .summary-grid{display:flex;flex-wrap:wrap;align-items:center;gap:8px 25px;margin:0 0 15px;padding:8px 4px;border-bottom:1px solid #e2e6f1}
  .summary-card{display:block;min-height:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
  .summary-card>div{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}
  .summary-card p{font-size:12px;margin:0;color:#69748c}
  .summary-card strong{font-size:20px;line-height:1.4}
  .summary-card div>span{font-size:12px;margin-left:-3px}
  .summary-card.summary-quiet{margin-left:auto}
  .summary-card .summary-text{font-size:12px;font-weight:600;letter-spacing:0}
  .summary-card small,.summary-symbol,.summary-quiet p{display:none}
  .panel-heading{min-height:76px;padding-top:15px;padding-bottom:15px}
  .panel-heading p{margin-top:4px}
  /* Server-validated names and robot IDs can still be long. Preserve full
     person labels while preventing narrow flex headers from widening the page. */
  .topbar .breadcrumb{flex-shrink:0}
  .topbar .account{min-width:0}
  #account-name{min-width:0;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .account .button{flex-shrink:0}
  .robot-control{min-width:0;max-width:100%}
  .robot-control select{min-width:0;width:180px;max-width:100%}
  .person-copy strong{overflow-wrap:anywhere}
  .transcript-heading>div{min-width:0}
  .transcript-heading p{overflow-wrap:anywhere}
  /* Small operational copy keeps AA contrast even on pale selected cards. */
  .brand small,.sidebar-footer,.sidebar-footer span,.story-footer,.login-footnote,
  .story-copy>p:last-child,.guide-name span,.summary-card p,.summary-card div>span,
  .person-copy span,.person-meta,.consultation-copy span,.consultation-copy .record-id,
  .empty-state p,.workspace-footer,.privacy-short,.help-details,.analysis-footnote,
  .message-footnote,.display-countdown-hint,.insights-retention,.filter-hint,
  .period-panel .filter-hint,.comparison-chart-description,.comparison-chart-footnote,
  .comparison-chart-scale,.comparison-record-id{color:#596984}
  input::placeholder{color:#596984}
  .eyebrow{color:#546095}
}
@media screen and (max-width:700px){
  .summary-grid{gap:7px 15px;padding:6px 0 10px;margin-bottom:17px}
  .summary-card>div{gap:5px}.summary-card p{font-size:11px}.summary-card strong{font-size:19px}
  .summary-card.summary-quiet{display:none}
  .panel-heading{min-height:76px;padding-top:15px;padding-bottom:15px}
}
/* Three explicit local views: opening the AI view never requests analysis.
   Native buttons keep Enter/Space navigation and pressed-state semantics. */
@media screen{
  .detail-tabs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,1fr);gap:6px}
  .detail-tabs .button{min-width:0;padding:12px 9px;font-size:13px;line-height:1.5;white-space:normal}
  .detail-tabs .button[aria-pressed="true"]{box-shadow:0 4px 12px #535dca18}
  .insights-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;margin-bottom:7px}
  .insights-heading h4{margin:0}
  .insights-badge{font-size:12px;font-weight:650;line-height:1.6;color:#425781;background:#fff;border:1px solid #ced8f0;border-radius:20px;padding:4px 10px;white-space:nowrap}
  .insights-panel .insights-run{display:flex;width:100%;min-height:46px;margin-top:17px;font-size:14px}
  .insights-panel .insights-run:disabled{opacity:1;background:#e0e6f3;border-color:#d2dbef;color:#64738e;box-shadow:none}
  .insights-panel .insights-help summary{padding:6px 0;min-height:44px}
  /* Summary first. Disclosure only changes presentation, never requests AI. */
  .insights-summary{margin:17px 0 0;padding-left:24px}
  .insights-summary li{padding:0 0 16px 3px;white-space:normal}
  .insights-summary li:last-child{padding-bottom:0}
  .insights-summary li::marker{color:#527393;font-weight:650}
  .insights-summary-text{display:block;color:#253f5e;font-size:16px;line-height:1.85;white-space:pre-wrap}
  .insights-evidence-details{margin:3px 0 0;color:#526b86;font-size:13px;font-weight:400}
  .insights-evidence-details summary{cursor:pointer;min-height:44px;padding:10px 0;line-height:1.8}
  .insights-evidence-details[open]{margin-bottom:9px}
  .insights-evidence-details .insights-evidence{margin:0 0 8px;padding:11px 13px;border-left:3px solid #bddaf2;border-radius:0 8px 8px 0;background:#fff;white-space:pre-wrap}
  .insights-caution{font-size:12px;line-height:1.8;color:#596984;margin:12px 0 17px}
  .insights-panel .insights-expression-heading{font-size:14px;margin:18px 0 5px}
  .insights-panel .insights-uncertain{font-size:13px;line-height:1.85;color:#526b86;padding:12px 14px;margin:14px 0 0;border-radius:10px;background:#e8f1fb}
  .insights-panel details>summary:focus-visible{outline:2px solid #3264b3;outline-offset:3px;border-radius:4px}
}
@media screen and (max-width:420px){
  .detail-tabs{padding:0 16px 17px;gap:4px}
  .detail-tabs .button{font-size:12px;padding:10px 5px}
  .insights-heading h4{font-size:17px}
}
/* Care workspace refinement: pale-blue surfaces and a visible three-step path.
   These are display-only states; they never imply a new request or live status. */
@media screen{
  :root{color:#263b53;background:#f4f8fd;--teal:#246ec4;--teal-dark:#1d5ca4;--navy:#263b53;--muted:#596e85;--line:#e0e9f3;--soft:#edf5ff}
  button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline-color:#246ec4}
  input,select{border-color:#c4d4e5}
  .button-primary{background:#246ec4;box-shadow:0 4px 12px #246ec414}
  .button-primary:hover:not(:disabled){background:#1d5ca4}
  .button-secondary{border-color:#d3e0ef;color:#3e5b7b}
  .button-secondary:hover:not(:disabled){background:#edf5ff;border-color:#a5c5e8}
  .button-text{color:#506b89}
  .button-text:hover:not(:disabled){color:#205c9f;background:#edf5ff}
  .preview-banner{background:#eaf3fd;color:#385c83;border-color:#d9e7f6}
  .preview-dot,.teal-dot{background:#4c87c9}
  .brand{color:#234368}.brand-mark{background:#397fce}
  .brand small,.eyebrow{color:#526f91}
  .sidebar{background:#fbfdff;border-color:#e0e9f3}
  .sidebar-body{margin-top:36px}
  .nav-current{background:#eaf3ff;color:#2865a8}
  .nav-caption,.nav-description,.sidebar-note,.sidebar-footer,.sidebar-footer span{color:#5d7189}
  .sidebar-note strong,.small-lock{color:#436789}
  .topbar{height:60px;background:#ffffffd9;border-color:#e0e9f3}
  .breadcrumb,.breadcrumb strong,.account{color:#526a84}
  .account-avatar{background:#eaf3ff;color:#2e699f}
  #main-content{padding-top:18px}
  .page-heading{margin-bottom:12px}
  .page-heading h1{font-size:28px;color:#243d59}
  .robot-control select{border-color:#ccdcee;background:#fff}
  .care-guide{display:grid;grid-template-columns:74px minmax(0,1fr) auto;gap:6px 18px;padding:12px 21px;margin-bottom:13px;border:1px solid #dceaf8;border-radius:19px;background:linear-gradient(115deg,#eaf4ff,#f5faff 75%,#edf5ff);box-shadow:0 3px 12px #396d9b04}
  .guide-character{width:74px;height:67px;border-width:4px;border-radius:23px;box-shadow:0 7px 16px #38598412;grid-row:1/3;align-self:center}
  .guide-name{display:none;color:#356a9f;font-size:11px;margin-bottom:3px}
  .guide-name span{color:#526c8c;border-color:#c8def4;font-size:10px}
  .guide-copy h2{font-size:20px;color:#29496d;line-height:1.45}
  .guide-copy>p:last-child{font-size:13px;color:#526b88;line-height:1.65;margin-top:3px}
  .guide-action{max-width:204px;padding:11px 15px;min-height:44px;font-size:13px;align-self:center}
  .care-guide[data-mode="help"],.care-guide[data-mode="expired"]{background:#f2f6fc;border-color:#d7e3f1}
  .care-steps{grid-column:2/-1;display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;list-style:none;margin:0;padding:0}
  .care-step{display:flex;align-items:center;gap:6px;padding:4px 8px 4px 4px;border:1px solid transparent;border-radius:20px;font-size:11px;font-weight:550;line-height:1.5;color:#536d89;min-width:0}
  .care-step-number{display:inline-grid;place-items:center;width:20px;height:20px;flex-shrink:0;border-radius:50%;background:#fff;border:1px solid #cbddec;color:#546c87;font-size:10px;font-weight:700;font-variant-numeric:tabular-nums}
  .care-step.is-current{color:#205d9f;background:#fff;border-color:#c8def4;font-weight:700}
  .care-step.is-current .care-step-number{color:#fff;background:#246ec4;border-color:#246ec4}
  .care-step.is-complete{color:#386689}
  .care-step.is-complete .care-step-number{background:#dbeeff;border-color:#c0dafa;color:#205d9f}
  .summary-grid{margin-bottom:12px;border-color:#e0e9f3;padding:7px 3px;gap:7px 22px}
  .summary-card strong{font-size:19px;color:#284e77}
  .summary-card .summary-text{color:#4d6680}
  .section-label{color:#304d6c;font-size:15px}
  .quiet-label{color:#436991;background:#edf5ff;border-color:#d9e8f9}
  .app-status:not(:empty){background:#edf5ff;border-color:#cfe2f7;color:#345b85;padding:12px 15px;font-size:13px}
  .app-status[data-tone="warning"]:not(:empty){background:#fff8ea;border-color:#ead6aa;color:#76531c}
  .records-layout{gap:18px}
  .panel{border-color:#e0e9f3;border-radius:17px;box-shadow:0 4px 16px #2b557d04}
  .panel-heading{min-height:73px;padding:15px 18px;border-color:#e6edf5}
  .panel-heading h2{font-size:16px;color:#2c4967}
  .panel-heading p{font-size:12px;color:#597089;margin-top:4px}
  .people-panel .panel-heading{min-height:54px;padding-top:12px;padding-bottom:12px}
  .people-panel .panel-heading p{display:none}
  .step-number{background:#edf5ff;color:#386b9f}
  .count-badge{background:#edf5ff;color:#3e668e}
  .people-search-primary{padding:11px 17px 7px;background:#fff;border-bottom:1px solid #e6edf5}
  .people-search-label{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap;margin-bottom:8px}
  .people-search-label label{font-size:12px;color:#496580;margin:0}
  .people-search-label .filter-active{font-size:10px;margin:0;padding:2px 5px;background:#e5f2ff;color:#2b628f}
  .people-search-input{display:flex;align-items:center;gap:3px}
  .people-search-primary input{height:44px;min-height:44px;padding:10px 11px;font-size:13px;border-radius:10px;background:#f8fbff;border-color:#cbdcec;min-width:0;flex:1}
  .people-search-input .filter-reset{font-size:11px;min-height:44px;padding:6px;flex-shrink:0}
  .people-search-input #people-search-submit{font-size:12px;min-height:44px;padding:8px 10px;flex-shrink:0}
  .people-search-primary input:focus{background:#fff}
  .people-search-footer{display:flex;align-items:flex-start;gap:5px;justify-content:space-between;margin-top:3px}
  .people-search-footer .filter-hint{font-size:11px;line-height:1.65;margin:4px 0 0;flex:1;min-width:0;color:#596f85;overflow-wrap:anywhere}
  .people-search-help{background:#fff;border-color:#e6edf5}
  .people-search-help summary{font-size:11px;padding:8px 17px;min-height:38px;color:#526e89}
  .people-search-help>.filter-hint{margin:0;padding:4px 17px 13px;font-size:11px}
  .people-list{padding:8px}
  .person-button{padding:14px 11px;border-radius:11px}
  .person-button:hover{background:#f4f9ff}
  .person-button.is-selected{background:#edf6ff;border-color:#bed9f6;box-shadow:inset 3px 0 #5592d4}
  .person-avatar{background:#eef5fc;color:#57799c}
  .is-selected .person-avatar{background:#dceeff;color:#366c9f}
  .person-copy strong{color:#2d4969}
  .person-meta{margin-top:9px}.person-meta b,.person-chevron{color:#49759e}
  .advanced-search,.period-panel,.list-filters:not(.people-search-primary){background:#fbfdff;border-color:#e5edf5}
  .advanced-search summary,.period-panel>summary{padding-top:10px;padding-bottom:10px;min-height:44px;color:#506e8b}
  .advanced-search summary:hover,.period-panel>summary:hover{background:#f0f7ff}
  .advanced-search summary:focus-visible{outline-color:#246ec4}
  summary::marker{color:#6085ac}
  .period-panel>summary>span{background:#edf5ff;color:#396c9d}
  .comparison-toolbar{padding:10px 18px;background:#f9fcff;border-color:#e5edf5}
  .comparison-toolbar strong{font-size:12px;color:#4b6785}.comparison-toolbar p{font-size:11px;color:#5b7088}
  .comparison-toolbar .button{font-size:12px;min-height:40px;white-space:normal}
  .comparison-check input{accent-color:#246ec4}
  .consultation-list{padding:4px 17px}
  .consultation-button{padding:15px 3px}
  .consultation-button:hover{background:#f5faff}.consultation-button.is-selected{background:#edf6ff}
  .consultation-copy strong{color:#2e4d6e}
  .consultation-copy .record-stored-badge{display:inline-flex;align-items:center;gap:5px;background:#edf5fd;color:#3e678d;font-size:10px;line-height:1.5;padding:3px 7px;border-radius:5px;margin-top:6px}
  .record-stored-badge::before{content:"";width:5px;height:5px;background:#518bc1;border-radius:50%;flex-shrink:0}
  .record-open{color:#2e68a6}.record-open b{color:#5a86b4}
  .empty-state strong{color:#486b8e}.empty-symbol{color:#89acd0}
  .transcript{background:#f8fbff;border-color:#dbe8f5}
  .transcript-heading{padding-top:21px}.transcript-heading h3{color:#2a4c70}
  .transcript-notice{background:#edf5ff;border-color:#dce9f8;color:#506e8d}
  .detail-tabs{padding-bottom:16px;gap:5px}
  .detail-tabs .button[aria-pressed="true"]{box-shadow:0 3px 10px #246ec417}
  .display-countdown-line,.display-countdown-line strong{color:#3e6891}
  .message-user .message-bubble{background:#edf5ff;border-color:#dbe9f9;color:#304e72}
  .message-speaker,.message-user .message-speaker{color:#486e99}
  .insights-panel{background:#eff7ff;border-color:#d3e6fa}
  .insights-panel h4{color:#2f5e8e}.insights-badge{color:#3b648c;border-color:#c5ddf4}
  .insights-confirmation-label,.insights-status{color:#42688e}
  .insights-panel .insights-run:disabled{background:#e2edf8;border-color:#cedef0;color:#526a83}
  .insights-recovery{margin:12px 0 0;padding:13px 14px;background:#fff;border:1px solid #cddff3;border-left:3px solid #81addd;border-radius:10px;font-size:13px;line-height:1.8;color:#436384}
  .insights-recovery .recovery-title{font-size:12px;line-height:1.6;font-weight:700;color:#2c5780;margin:0 0 4px}
  .insights-recovery p{margin:0}
  .insights-panel .insights-uncertain{background:#e3f0fd;color:#45698b}
  .expression-meter,.comparison-chart-meter{accent-color:#4b85c1}
  .expression-meter::-webkit-meter-optimum-value,.comparison-chart-meter::-webkit-meter-optimum-value,.comparison-chart-meter::-webkit-meter-suboptimum-value,.comparison-chart-meter::-webkit-meter-even-less-good-value{background:#4b85c1}
  .expression-meter::-moz-meter-bar,.comparison-chart-meter::-moz-meter-bar{background:#4b85c1}
  .display-expiry{background:#f1f7ff;border-color:#d6e6f8}.display-expiry h3{color:#38648e}
  .login-story{background:linear-gradient(145deg,#edf6ff,#f8fbff 70%,#e9f3ff)}
  .story-copy h1,.login-card h2{color:#2e5279}
  .art-orbit{border-color:#d1e4f8}.art-greeting{color:#4c7197;border-color:#d9e8f8}.art-spark{color:#7ea9d5}
  .demo-notice{background:#f2f7fd;border-color:#dfeaf6}.demo-notice strong{color:#496b8c}
}
@media screen and (max-width:1100px){
  .care-guide{grid-template-columns:62px minmax(0,1fr) auto;gap:6px 14px;padding:12px 17px}
  .guide-character{width:62px;height:58px;border-radius:20px}
  .guide-action{max-width:175px;font-size:12px;padding:10px 12px}
  .guide-copy h2{font-size:19px}
  .care-steps{gap:4px 6px}.care-step{font-size:10px;gap:5px;padding-right:6px}
}
@media screen and (max-width:700px){
  #main-content{padding:20px 16px}.topbar{height:58px}
  .page-heading{margin-bottom:14px}.page-heading h1{font-size:26px}
  .care-guide{grid-template-columns:54px minmax(0,1fr);padding:16px;gap:11px 13px}
  .guide-character{width:54px;height:52px;grid-row:1;align-self:center;border-radius:18px;border-width:3px}
  .guide-copy h2{font-size:18px}.guide-copy>p:last-child{font-size:12px}.guide-name{display:block;font-size:10px}
  .guide-action{grid-column:1/-1;width:100%;max-width:none;min-height:44px;padding:10px 12px;font-size:13px}
  .care-steps{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:3px}
  .care-step{justify-content:center;font-size:10px;gap:4px;padding:4px 3px;line-height:1.6;text-align:center}
  .care-step-number{width:18px;height:18px;font-size:9px}
  .summary-grid{gap:6px 15px;margin-bottom:13px}
  .panel-heading{min-height:71px;padding:14px 17px}.panel-heading h2{font-size:16px}
  .people-search-primary{padding:13px 17px 7px}.people-search-footer .filter-hint{font-size:11px;line-height:1.7}
  .people-search-help summary{min-height:44px;padding-top:11px;padding-bottom:11px}
  .person-button{padding:15px 12px}.people-list{max-height:275px}
  .comparison-toolbar{padding:11px 17px}.comparison-toolbar .button{min-height:44px}
  .consultation-list{padding:4px 13px}.consultation-button{padding:17px 2px}
  .consultation-copy .record-stored-badge{font-size:10px}
  .insights-recovery{padding:12px;font-size:12px}
}
@media screen and (max-width:360px){
  #main-content{padding-left:12px;padding-right:12px}
  .care-guide{padding:13px;gap:10px}.guide-copy h2{font-size:17px}
  .care-step{font-size:9px;gap:3px}.care-step-number{width:16px;height:16px}
  .record-open{font-size:11px}.record-open b{display:none}
}
.archive-mode{padding:0 20px 14px}.archive-mode>div{display:flex;flex-wrap:wrap;gap:8px}.archive-mode .filter-hint{margin:10px 0 0;line-height:1.65}
.group-navigation{margin:0 20px 14px;padding:12px;border:1px solid #dfe5f3;border-radius:12px;background:#f5f6fb}.group-navigation p{margin:6px 0 0;color:#596984;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.grouped-consultation{width:100%;margin-bottom:8px}.grouped-consultation .record-id{overflow-wrap:anywhere}
.group-coverage{margin:14px 0;padding:12px 15px;background:#edf5f6;border-radius:12px;color:#255b58;font-weight:700;line-height:1.65}
.group-part-heading{padding:14px 16px;margin:16px 0 0;background:#edf0ff;color:#34416a;border-radius:12px;font-size:14px}.group-part .transcript-messages{padding-top:12px}
.group-overview{font-size:15px;line-height:1.8}.group-topics{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 24px}.group-evidence{font-size:12px;color:#596984;line-height:1.6}.group-highlight blockquote{margin:8px 0 14px;padding-left:12px;border-left:3px solid #bcc9e8;line-height:1.75;overflow-wrap:anywhere}.group-phase{margin:20px 0}
.group-delete-panel{margin-top:22px;padding:16px;border:1px solid #ead9dc;border-radius:12px}.group-delete-panel summary{cursor:pointer;font-weight:700;color:#8f3347}.group-delete-warning,.group-delete-scope{line-height:1.7;font-size:13px;color:#6c4550}.button-danger{background:#9e334b;color:#fff;border-color:#9e334b}.button-danger:disabled{opacity:.5;cursor:not-allowed}
@media print{
  body{background:#fff;color:#111}
  body>*:not(#print-output){display:none!important}
  #print-output:not([hidden]){display:block!important;font-family:system-ui,sans-serif}
  #print-output h1{font-size:19pt;margin:0 0 12pt}
  #print-output .print-meta{white-space:pre-line;font-size:9pt;line-height:1.7;margin-bottom:12pt;overflow-wrap:anywhere}
  #print-output .print-warning{font-size:9pt;border:1px solid #aaa;padding:9pt;line-height:1.6;margin:0 0 14pt}
  #print-output .transcript-messages,#print-output .analysis-content{padding:0}
  #print-output .message{max-width:100%;margin:0 0 14pt;break-inside:avoid}
  #print-output .message-speaker{justify-content:flex-start;color:#111;font-size:10pt;font-weight:700}
  #print-output .message-bubble{font-size:11pt;color:#111;background:#fff;border-color:#ccc}
  #print-output .turn-marker{color:#444}
  #print-output .message-footnote,#print-output .analysis-footnote{color:#333;font-size:9pt}
  #print-output .analysis-disclaimer,#print-output .summary-excerpts{color:#111}
  #print-output .expression-chart{break-inside:avoid}
  #print-output .expression-meter{display:none}
  #print-output .expression-row{grid-template-columns:1fr 70pt;color:#111}
  #print-output .expression-row b{font-size:10pt}
  #print-output .comparison-table-scroll{overflow:visible;border:0;border-radius:0}
  #print-output .comparison-table{min-width:0;width:100%;font-size:8pt;table-layout:fixed}
  #print-output .comparison-table caption{font-size:9pt;padding:8pt 0;background:#fff;color:#111}
  #print-output .comparison-table th,#print-output .comparison-table td{padding:7pt 4pt;color:#111;background:#fff;border:1px solid #aaa}
  #print-output .comparison-table thead{display:table-header-group}
  #print-output .comparison-table tr{break-inside:avoid}
  #print-output .comparison-record-id{font-size:7pt;color:#333}
  #print-output .comparison-content .analysis-disclaimer{font-size:9pt}
}
.teacher-panel{margin:20px 0;padding:22px}.teacher-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.teacher-content{max-height:620px;overflow:auto}.teacher-case,.teacher-evidence{padding:14px;border:1px solid #dfe9ed;border-radius:14px;margin:10px 0;background:#fff}.teacher-evidence blockquote{margin:10px 0;white-space:pre-wrap}.teacher-note,.teacher-audit-row{white-space:pre-wrap;overflow-wrap:anywhere;border-bottom:1px solid #e3ebee;padding:10px 0}.teacher-form{display:grid;gap:10px;margin:16px 0;padding:16px;background:#f2f8f8;border-radius:14px}.teacher-form input:not([type=checkbox]),.teacher-form select,.teacher-form textarea{width:100%;min-height:40px;border:1px solid #ccd9dd;border-radius:8px;padding:8px;font:inherit}.teacher-form label{display:flex;align-items:center;gap:8px}.teacher-form .teacher-field{display:grid}.teacher-form input[type=checkbox]{width:20px;height:20px}.operations-sample{display:block;font-size:11px;max-width:250px;white-space:normal;color:#58717b}

.group-topic-button{border:1px solid #c9e3dc;cursor:pointer;font:inherit}.group-topic-button:hover{background:#d7eee6}.message-user:focus{outline:3px solid #147e65;outline-offset:5px;border-radius:12px}
