.display-preferences{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:8px 24px;background:var(--paper,#fff);border-bottom:1px solid var(--line,#dce5e8);position:sticky;top:0;z-index:30;min-height:54px;box-shadow:0 2px 8px #102a2508;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif}
.preference-label{font-size:12px;color:var(--muted,#61767c);margin-right:4px}
.display-preferences button{font:inherit;font-size:13px;font-weight:550;color:var(--ink,#20343b);background:var(--bg,#f5f8f7);border:1px solid var(--line,#dce5e8);border-radius:8px;padding:7px 12px;min-height:36px;cursor:pointer;white-space:nowrap}
.display-preferences button:hover{background:var(--green-light,#eaf4f0)}.display-preferences button:focus-visible{outline:2px solid var(--green,#226e61);outline-offset:2px}
html{scroll-padding-top:calc(var(--sticky-header-height,54px) + 16px)}.annotation-panel{top:calc(var(--sticky-header-height,54px) + 16px);max-height:calc(100vh - var(--sticky-header-height,54px) - 32px)}.annotation-overview .overview-sections{top:var(--sticky-header-height,54px)}
.registration-request{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding:18px 0}.registration-request p{margin:4px 0}.registration-request h3{margin:0 0 8px;font-size:16px}#registrationTasks{margin-bottom:24px}.registration-task-button{background:var(--green-light);border-radius:6px;padding:6px 10px;white-space:nowrap}
.model-check-results{font-size:13px;line-height:1.8;margin:12px 0}.model-check-results p{margin:5px 0}.model-check-results .model-failed{color:var(--danger)}
:root[data-theme=dark]{color-scheme:dark;--bg:#111b20;--paper:#1b292f;--ink:#e1eaed;--muted:#a4b7c0;--line:#35474e;--green:#8ed5c3;--green-dark:#aff0df;--green-light:#263e3b;--gold:#efc77a;--danger:#ff9c95;--blue:#a2c7e9;--shadow:0 4px 24px #0002;background:var(--bg);color:var(--ink)}
[data-theme=dark] body{background:var(--bg);color:var(--ink)}
[data-theme=dark] :is(.app-header,.auth-form-wrap,.surface,.outline,dialog,input:not([type=checkbox]),textarea,select,.chat-heading,.composer,.observation-panel,.point-editor,.point-card,.account-dialog .dialog-actions,.overview-column-head,.report-tabs,.selected-source-heading,.point-draft-toolbar,.feedback-card,.order-table,.guide-main,.guide-section){background:var(--paper);color:var(--ink);border-color:var(--line)}
[data-theme=dark] :is(.auth-story,.report-heading,.training-basis,.inline-note,.internal-tag,.pill,.bulk-toolbar,.registration-summary,.feedback-notice,.feedback-follow-up,.previous-training,.snapshot,.source-controls,.user-row,.overview-row-original,.table-head,.order-table th,.answer-mode,.reply-timing,.diagnosis-extra,.review-progress,.help-box,.training-card,.auth-principles){background:#223637;color:var(--ink);border-color:var(--line)}
[data-theme=dark] :is(.auth-copy h1,.auth-copy p,.auth-foot,.chat-heading h2,.report-heading h1,.session-title,.side-intro h2){color:var(--ink)}
[data-theme=dark] :is(.chat-log,.chat-body,.report-transcript,.overview-row-feedback,.transcript-section){background:#152228;color:var(--ink)}
[data-theme=dark] .bubble{background:#20333a;border-color:var(--line);color:var(--ink)}[data-theme=dark] .advisor .bubble{background:#254540;color:#e0f4ee}
[data-theme=dark] :is(.primary,.dark-button){background:#71baa8;color:#102a25}[data-theme=dark] .primary:hover{background:#91d5c4}
[data-theme=dark] :is(.subtle,.outline:hover,.subtle:hover,.nav-button:hover,.point-filter button.selected,.record-tabs button.selected,.source-note-count,.point-badge){background:#294740;color:var(--ink)}
[data-theme=dark] :is(.message-meta,.fine,.muted,.quiet,.app-footer,.auth-foot){color:var(--muted)}
[data-theme=dark] :is(.form-error,.danger-text,.status-not_met,.status-needs_improvement,.source-problem,.point-problem,.source-note-count){color:var(--danger)}
[data-theme=dark] :is(.inline-alert,.reply-error,.ended-notice,.unfinished-drafts){background:#45352a;border-color:#705a3e;color:#f0d5a3}
[data-theme=dark] :is(.source-annotated,.source-annotated:focus-within,.source-annotated:hover,.point-card.selected,.point-card.point-problem,.overview-row.has-notes.source-problem .overview-row-original){background:#3b2c2e;border-color:#ad6765}
[data-theme=dark] :is(.source-strength,.point-strength,.status-met){background:#24423a;color:#a8e4ca;border-color:#456c5d}
[data-theme=dark] :is(input:disabled,select:disabled,textarea:disabled){background:#223038;color:var(--muted)}
[data-theme=dark] dialog::backdrop{background:#0009}[data-theme=dark] .line-chart{filter:brightness(1.2)}
html[lang=en] .app-header{flex-wrap:wrap;gap:14px}html[lang=en] .nav-button{white-space:normal}html[lang=en] .form-grid{align-items:start}
[data-theme=dark] :is(.advisor-manage-card,.advisor-card,.mode-card,.chat-panel,.record-row,.empty-surface,.last-order-card,.point-anchor-list>div,.point-filter button,.annotation-overview .overview-sections,.reflection-notes>div,.segmented button.selected){background:var(--paper);color:var(--ink);border-color:var(--line)}
[data-theme=dark] :is(.mode-mark.dark,.client-avatar,.advisor-avatar,.input-label,.segmented,.account-form,.report-header,.review-result,.training-point,.opening-notice,.manual-reference,.point-references button,.overview-sections button,.overview-original,.overview-original:hover,.overview-diagnosis-heading,.point-training-reference,.home-task,.home-task:hover,.home-training-target,.advisor-card-plan,.mobile-point-notes,.historical-point blockquote,.order-tab.selected,.order-tab span){background:#223b39;color:var(--ink);border-color:var(--line)}
[data-theme=dark] #submissionNotice{background:#223b39;color:var(--ink);border-color:var(--line)}
[data-theme=dark] .is-selected{background:#29473f!important}[data-theme=dark] .bulk-toolbar:has(.bulk-actions:not([hidden])){background:#223b39}
[data-theme=dark] :is(.danger-button,.overview-sections .point-problem,.point-badge.point-problem,.status-not_met){background:#412d31;color:var(--danger);border-color:#956264}
[data-theme=dark] :is(.point-badge.point-suggestion,.overview-sections .point-suggestion,.mark-chip,.status-needs_improvement,.submission-label){background:#463c2a;color:#f0ce93;border-color:#82704e}
[data-theme=dark] :is(.review-source.source-suggestion,.overview-row.source-suggestion>.overview-row-original){background:#3e3628;color:var(--ink);border-color:#9a7c48}
[data-theme=dark] :is(.review-source.source-strength,.overview-row.source-strength>.overview-row-original,.overview-sections .point-strength,.point-badge.point-strength){background:#223f35;color:#b0e5cf;border-color:#48765e}
[data-theme=dark] :is(.status-unmeasured,.status-insufficient,.pill.ended,.pill.exam){background:#2c3947;color:#c1cfdb;border-color:var(--line)}
[data-theme=dark] :is(.report-header p,.report-header .fine,.mode-card>p,.advisor-card-top,.review-stat-label,.session-subtitle,.workflow-note,.intro-banner p){color:var(--muted)}
[data-theme=dark] :is(.home-task span,.advisor-account-summary,.training-basis summary,.diagnosis-extra summary,.evidence-role){color:var(--muted)}
[data-theme=dark] :is(.receipt-completed,.audit-state.pass){color:#a8e4ca}
[data-theme=dark] .overview-note-marker{color:var(--danger)}
[data-theme=dark] .source-strength .overview-note-marker{color:#b0e5cf}
[data-theme=dark] .source-suggestion .overview-note-marker{color:#f0ce93}
[data-theme=dark] .intro-banner{background:linear-gradient(105deg,#223b39,#1b292f);border-color:var(--line)}
[data-theme=dark] .advisor-guide :is(header,section,nav a,.picture summary,th){background:var(--paper);color:var(--ink);border-color:var(--line)}
[data-theme=dark] .advisor-guide :is(.quick,.tip){background:#223b39;color:var(--ink);border-color:var(--line)}
[data-theme=dark] .advisor-guide :is(h1,.role,.green){color:var(--green)}
[data-theme=dark] .advisor-guide .red{color:var(--danger)}[data-theme=dark] .advisor-guide .orange{color:var(--gold)}
[data-theme=dark] .advisor-guide :is(.meta,figcaption,footer,#help details p){color:var(--muted)}
[data-theme=dark] .advisor-guide :is(article,th,td,.picture,img,#help details){border-color:var(--line)}
@media(max-width:720px){.display-preferences{padding:8px 12px;gap:8px}.display-preferences button{min-height:40px;padding:7px 10px}.registration-request{align-items:flex-start;flex-direction:column;gap:12px}.registration-request .account-actions{width:auto}.app-header{flex-wrap:wrap;gap:10px}.account{flex-wrap:wrap}.auth-layout{min-height:calc(100vh - 56px)}}
@media(max-width:360px){.preference-label{display:none}.display-preferences{justify-content:space-between}}
@media print{.display-preferences{display:none}}
