/* Classic reading/control surfaces are opaque, independently of modern atmosphere preferences. */
html[data-design='classic']{--hny-surface-top:#101724;--hny-surface-raised:#0b101b;--hny-glass:#101724;--hny-glass-control:#121826;background:#03050a}
html[data-design='classic'] body{background:#03050a}
/* Legacy layered !important paints require an equally layered override. */
@layer theme {
html[data-design='classic'] :is(header,footer,.hny-frame,.hny-panel,.hny-note,.hny-surface,.hny-menu,.ops-card,.ops-subcard,.ops-logs,[role='dialog'],[role='menu'],[role='listbox'],dialog,.design-invitation){background-color:#101724!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-design='classic'] [class*='bg-ink-1000']{background-color:#03050a!important}
html[data-design='classic'] [class*='bg-ink-900']{background-color:#05070d!important}
html[data-design='classic'] [class*='bg-ink-850']{background-color:#080b13!important}
html[data-design='classic'] [class*='bg-ink-800']{background-color:#0b0f18!important}
html[data-design='classic'] [class*='bg-ink-700']{background-color:#121826!important}
html[data-design='classic'] [class*='bg-ink-600']{background-color:#1a2233!important}
html[data-design='classic'] [class*='bg-ink-500']{background-color:#263048!important}
html[data-design='classic'] :is(input:not([type='range']):not([type='checkbox']):not([type='radio']),select,textarea,.hny-btn){background-color:#121826!important}
html[data-design='classic'] :is(td,th){background-color:#0b101b!important}
html[data-design='classic'] tr:hover td{background-color:#121826!important}
html[data-design='classic'] .appearance-dialog{background:#172329!important}
}

/* Explicit selected state for staff spoken-language buttons, above solid-surface overrides. */
@layer theme {
html[data-design='classic'] app-admin-signup button.hny-btn[type='button'][aria-pressed]{display:inline-flex;align-items:center;gap:.65rem;min-height:44px;border:2px solid #77869d!important;background:#121826!important;color:#eef2fa!important}
html[data-design='classic'] app-admin-signup button.hny-btn[type='button'][aria-pressed]::after{content:'';display:inline-grid;place-items:center;flex:none;width:1.25rem;height:1.25rem;border:1px solid #9caac0;border-radius:50%;font-size:1rem;line-height:1}
html[data-design='classic'] app-admin-signup button.hny-btn[type='button'][aria-pressed='true']{background:#47361b!important;border-color:#f4cf83!important;color:#fff3d6!important;font-weight:700;box-shadow:0 0 0 1px #f4cf83}
html[data-design='classic'] app-admin-signup button.hny-btn[type='button'][aria-pressed='true']::after{content:'✓';background:#f4cf83;color:#171109;border-color:#f4cf83}
html[data-design='classic'] app-admin-signup button.hny-btn[type='button'][aria-pressed]:focus-visible{outline:3px solid #93d9ed;outline-offset:3px}
}
