/* Keep operational controls still and status text readable. */
.workspace{--ws-bg:#101c17;--ws-panel:#18291f;--ws-raised:#25392d;--ws-inset:#0e1e15;--ws-ink:#eef3e8;--ws-muted:#bdceb4;--ws-border:#5e7457;--ws-accent:#a0ff78;--ws-accent-ink:#14231a;--ws-warning:#ffcf8a;--ws-next-bg:#203426;--ws-reviewed-ink:#c3d2bc}
.workspace-brand div>span{font-size:10px;letter-spacing:1px}.workspace-brand b{font-weight:600}.workspace-meta{font-size:12px;gap:12px}.workspace-meta #session-status{max-width:48ch;text-align:right}.panel-heading>span{font-size:12px;letter-spacing:.1px}.phase-status,.reference-note,.note-status,.workspace-details,.airport-reference>p{font-size:12px}.note-copy time,.phrase-title{font-size:11px}.workspace-header-actions{gap:14px;flex-wrap:wrap;justify-content:flex-end}.workspace-header-actions>a,.efb-settings-button{font-size:12px}.workspace .checklist-row{min-height:68px}.workspace button{transition:background-color .12s,border-color .12s}.workspace-status[data-error=true],#session-status[data-error=true],#note-status[data-error=true],#draft-status[data-error=true]{font-size:13px;font-weight:600;color:var(--ws-warning)}
.resume-notice,.note-undo{padding:16px 18px;background:var(--ws-raised);border:1px solid var(--ws-border);border-radius:9px;margin-bottom:18px;font-size:14px;line-height:1.6}.resume-actions,.note-draft-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px}.resume-actions button{min-height:44px}.note-undo{display:flex;gap:18px;align-items:center;justify-content:space-between;margin-top:14px;margin-bottom:0}.note-undo button,.note-draft-actions button{min-height:44px}.note-draft-actions{justify-content:space-between;font-size:12px;color:var(--ws-muted)}.phrase-jump,.phrase-return{font-size:13px;min-height:44px;align-items:center;gap:10px;text-decoration:underline;text-underline-offset:4px;color:var(--ws-accent)}.phrase-jump{display:none}.phrase-return{display:none;margin-top:14px}.airport-checklist-context{margin:0 0 5px 40px;border:0;padding:7px 0 5px}.airport-checklist-context .airport-reference-heading h3{font-size:12px}.airport-checklist-context #airport-label{font-size:14px;margin-top:8px;letter-spacing:.2px}.airport-checklist-context #airport-link-row{margin-top:4px}.airport-checklist-context .airport-current-open{font-weight:600}.airport-checklist-context #airport-help{font-size:12px}.airport-checklist-context .small-button{background:transparent}.workspace :target{scroll-margin-top:20px}
#display-dialog{background:var(--ws-panel);color:var(--ws-ink);border:1px solid var(--ws-border);border-radius:14px;width:min(480px,calc(100% - 32px));max-height:90dvh;overflow:auto;padding:24px;box-shadow:0 25px 70px #0007}#display-dialog::backdrop{background:#0009}.display-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}#display-dialog fieldset{border:0;padding:0;margin:24px 0}#display-dialog legend{font-size:13px;font-weight:600;margin-bottom:12px}#display-dialog fieldset label,.focus-choice{display:inline-flex;align-items:center;gap:10px;min-height:48px;font-size:15px;margin-right:20px}#display-dialog input{width:23px;height:23px;accent-color:var(--ws-accent);margin:0}.focus-choice{display:flex;margin-right:0}.display-explanation,#display-status{font-size:13px;line-height:1.7;color:var(--ws-muted);margin-top:10px}#display-status[data-error=true]{color:var(--ws-warning)}
.workspace[data-focus=true] .notes-panel,.workspace[data-focus=true] .phrases-panel{display:none}.workspace[data-focus=true] .workspace-grid{grid-template-columns:1fr}.workspace[data-focus=true] .checklist-panel{width:100%;max-width:820px;margin-inline:auto}.workspace[data-focus=true] .checklist-row{font-size:18px;min-height:74px}.workspace[data-focus=true] .phrase-jump,.workspace[data-focus=true] .phrase-return{display:inline-flex}.workspace[data-focus=true].show-focus-phrases .phrases-panel{display:block;max-width:820px;width:100%;margin-inline:auto}.workspace[data-focus=true] .workspace-meta{max-width:820px;margin-inline:auto}
.workspace[data-theme=day]{--ws-bg:#f5f7f0;--ws-panel:#fff;--ws-raised:#e5eddf;--ws-inset:#eff4e9;--ws-ink:#14291c;--ws-muted:#3b543f;--ws-border:#7c9271;--ws-accent:#1c5c2e;--ws-accent-ink:#fff;--ws-warning:#873d08;--ws-next-bg:#edf4e7;--ws-reviewed-ink:#38513e;background:var(--ws-bg);color:var(--ws-ink)}
.workspace[data-theme=day] :is(.workspace-panel,.phrase-output,.phase-switch,.efb-handoff,dialog){background:var(--ws-panel);color:var(--ws-ink);border-color:var(--ws-border)}
.workspace[data-theme=day] :is(#airport-picker,#efb-dialog,#reset-dialog,#airport-change-dialog){background:var(--ws-panel);color:var(--ws-ink);border-color:var(--ws-border)}
.workspace[data-theme=day] :is(.workspace-header,.checklist-row,.diagram-checklist-item,.airport-reference,.notes-list li,.legal-notice){border-color:#bac9b1}
.workspace[data-theme=day] :is(.workspace-meta,.workspace-meta p:first-child,.workspace-brand div>span,.workspace-brand b,.workspace-header-actions>a,.efb-settings-button,.panel-heading>span,.phase-status,.phrase-hint,.reference-note,.workspace-details,.note-status,.note-copy time,.workspace-footer,.workspace-footer .legal-notice,.workspace .legal-details summary,.airport-reference>p,.airport-picker-intro,.airport-location-note,.efb-device-note,.efb-form-status,.efb-source-link,.efb-eyebrow,#efb-dialog>p,#efb-instructions ol,#airport-results p,#airport-search-status,#airport-label,#efb-handoff>p[role=status],#reset-dialog p,#airport-change-dialog p){color:var(--ws-muted)}
.workspace[data-theme=day] :is(.phrase-text,.legal-notice strong,.legal-details summary){color:var(--ws-ink)}
.workspace[data-theme=day] :is(.small-button,.phrase-buttons button,.phase-switch button,.diagram-item-action){background:var(--ws-raised);color:var(--ws-ink);border-color:var(--ws-border)}
.workspace[data-theme=day] :is(.small-button:hover,.phrase-buttons button:hover,.phase-switch button:hover,.checklist-row:hover){background:#d7e8ca}
.workspace[data-theme=day] :is(.phase-switch button[aria-pressed=true],.save-note,.confirm-reset,.locate-airport,.airport-open-link,.efb-handoff>button){background:#1c5c2e;color:#fff;border-color:#1c5c2e}
.workspace[data-theme=day] :is(.phase-switch button[aria-pressed=true],.save-note,.confirm-reset,.locate-airport,.airport-open-link,.efb-handoff>button):hover{background:#124b23}
.workspace[data-theme=day] :is(.phrase-buttons button[aria-pressed=true],#airport-results li){background:#e5efdd;border-color:#356f39}
.workspace[data-theme=day] :is(.phrase-buttons button>span,.phrase-title,.workspace-details a,.airport-current-open,#airport-link-row a,.delete-note,.export-button,.phrase-jump,.phrase-return){color:#1c5c2e}
.workspace[data-theme=day] :is(.notes-panel textarea,.airport-reference input,#airport-form input,#efb-provider,#efb-shortcut-name,.checklist-row input){background:#fff;color:#14291c;border-color:#607851}
.workspace[data-theme=day] .checklist-row input:checked{background:#1c5c2e;border-color:#1c5c2e}.workspace[data-theme=day] .checklist-row input:checked:after{color:#fff}.workspace[data-theme=day] .checklist-row:has(input:checked)>span{color:#355239}.workspace[data-theme=day] :is(input,textarea)::placeholder{color:#52674c}
.workspace[data-theme=day] [data-error=true],.workspace[data-theme=day] #airport-change-status{color:var(--ws-warning)!important}.workspace[data-theme=day] :focus-visible{outline-color:#225f30}
@media(max-width:850px){.workspace-header{gap:16px;flex-wrap:wrap}.workspace-header-actions{gap:12px}.workspace-meta #session-status{max-width:none}.workspace-brand{flex:none}}
@media(max-width:640px){.workspace-meta #session-status{text-align:left}.workspace-brand div>span{font-size:9px}.workspace-brand b{display:inline}.workspace-header-actions{justify-content:space-between;flex-basis:100%}.workspace-header .small-button,.workspace-header .efb-settings-button{font-size:12px}.phrase-jump,.phrase-return{display:inline-flex}.workspace-meta{font-size:12px}.panel-heading>span{font-size:12px}.phase-status{font-size:12px}.airport-checklist-context{margin-left:36px}.note-undo{align-items:flex-start;flex-wrap:wrap}.workspace[data-focus=true] .checklist-row{font-size:17px}}
@media(prefers-reduced-motion:reduce){.workspace button{transition:none}}

.airport-checklist-context{margin:4px 0 12px;padding:10px 13px;background:var(--ws-inset);border:1px solid var(--ws-border);border-radius:8px}.airport-checklist-context .airport-reference-heading{flex-wrap:wrap;gap:4px 15px}.airport-checklist-context #airport-label{margin:0;flex:1 1 120px;overflow-wrap:anywhere;line-height:1.6}.airport-checklist-context #airport-help{margin-top:5px}.airport-checklist-context #airport-launch-status:empty{display:none}.airport-checklist-context #airport-link-row{margin:0}.airport-checklist-context #find-airport{padding-inline:9px;flex:none}.airport-checklist-context .airport-current-open{padding-block:8px}.pwa-panel{display:flex;align-items:center;justify-content:space-between;gap:8px 22px;flex-wrap:wrap;padding:0 0 16px;font-size:12px;line-height:1.6;color:var(--ws-muted)}.pwa-panel #pwa-status{flex:1 1 260px}.pwa-panel #pwa-status[data-offline=true]{color:var(--ws-warning);font-weight:600}.pwa-panel details{flex:0 1 auto}.pwa-panel details[open]{flex-basis:100%;padding:12px 16px;background:var(--ws-panel);border:1px solid var(--ws-border);border-radius:8px}.pwa-panel details>summary{cursor:pointer;min-height:44px;display:list-item;align-content:center;color:var(--ws-ink)}.pwa-panel details>p{max-width:90ch;margin-top:8px}.pwa-panel .pwa-actions{display:flex;gap:10px;flex-wrap:wrap}.workspace[data-focus=true] .pwa-panel{max-width:820px;margin-inline:auto}#pwa-update-dialog{background:var(--ws-panel);color:var(--ws-ink);border:1px solid var(--ws-border);padding:26px;max-width:500px;width:calc(100% - 32px);border-radius:14px;box-shadow:0 25px 70px #0007}#pwa-update-dialog::backdrop{background:#0009}#pwa-update-dialog p{font-size:14px;line-height:1.7;color:var(--ws-muted);margin-top:14px}#pwa-update-status{color:var(--ws-warning)!important}
.workspace[data-theme=day] #checklist .checklist-row input:checked{background:#1c5c2e;border-color:#1c5c2e}.workspace[data-theme=day] #checklist .checklist-row input:checked:after{color:#fff}
@media(max-width:640px){.pwa-panel{gap:0;padding-bottom:12px}.pwa-panel #pwa-status{flex-basis:100%}.pwa-panel details>summary{min-height:40px}.airport-checklist-context{margin-left:0}.resume-notice{padding:14px}.resume-actions{align-items:stretch}.resume-actions button{flex:1}}
