.beta-notice{max-width:1180px;margin:1rem auto;padding:0.8rem 1rem;background:#edf2fa;color:#263e62;border:1px solid #ccd7e7;border-radius:10px;line-height:1.5;font-size:0.9rem}footer a{display:inline-block;margin-left:0.6rem;text-decoration:underline}#suggestionDialog{width:min(640px,calc(100% - 2rem));max-height:90vh;overflow:auto;box-sizing:border-box;padding:1.5rem;border:1px solid #cbd5e1;border-radius:16px;background:#fff;color:#1e293b}#suggestionDialog::backdrop{background:rgb(8 15 28 / 75%)}.suggestion-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.suggestion-disclosure,#suggestionOnlineStatus{font-size:0.9rem;line-height:1.5}.suggestion-heading h2{margin:0}#suggestionForm{display:grid;gap:1rem}[data-theme="dark"] .beta-notice{background:#182538;color:#ccd9ee;border-color:#34465e}[data-theme="dark"] #suggestionDialog{background:#151f2e;color:#e2e8f0;border-color:#39485e}@media(max-width:600px){.beta-notice{margin:0.75rem 1rem}#suggestionDialog{padding:1rem}.suggestion-heading{align-items:flex-start}}
/* Prevent focus zoom without disabling user-controlled pinch zoom. */
html body input,html body select,html body textarea{font-size:max(16px,1rem)!important;scroll-margin-block:24px}
html body input:focus,html body select:focus,html body textarea:focus{outline:3px solid #4a82d4;outline-offset:2px}
html[data-theme="dark"] body input:focus,html[data-theme="dark"] body select:focus,html[data-theme="dark"] body textarea:focus{outline-color:#8ab4f8}
@media(pointer:coarse){#suggestionDialog{max-height:calc(var(--visible-viewport-height,100dvh) - 32px);overscroll-behavior:contain}}
.finding-group{display:grid;gap:8px}.checks .alternate-finding{display:grid;gap:8px;padding:12px;border:1px solid #c39b24;border-radius:8px;background:#302812;color:#ffe080}.assessment-caution{display:block;padding:10px 12px;border-radius:8px;background:#302812;color:#ffe080;font-size:0.9rem;line-height:1.5}.alternate-finding textarea{color:#17333a}.movement-enabled{grid-column:2;justify-self:start}.movement-enabled input{width:auto}#encounterStyleOptions{margin-top:1rem}.assessment-review{margin-top:24px;padding:16px;border:1px solid #c39b24;border-radius:8px;background:#302812;color:#ffe080!important;box-shadow:0 -8px 0 var(--surface,transparent)}

.layout-preview{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;border:1px solid var(--border,#758197);border-radius:8px;color:var(--text,#172033);background:var(--surface,#fff);line-height:1.5}#persistentLaunchLink{white-space:nowrap;font-size:1rem}

/* Warning colors are explicit: never inherit pale dark-mode body/help text. */
.beta-notice,html[data-theme="dark"] .beta-notice{background:#facc15;color:#000;font-weight:700;border-color:#ca8a04}
html body .message.warning,html body .notice{background:#fff7da;color:#332600}
html body .message.error{background:#ffebe8;color:#742b27}
html body .message.success{background:#e0f5e9;color:#14532d}
html body .legal-callout{color:#332600}
html[data-theme="dark"] body .legal-callout{color:#ffe080}
html body :is(.message.warning,.message.error,.message.success,.notice,.legal-callout) :is(p,span,strong,small,a,.help){color:inherit}
