/* High-contrast and pure-black (AMOLED) themes. Linked from <head> by the Worker so they apply before first paint;
   high-contrast.js only flips the data-contrast / data-amoled attributes. */
[data-contrast="high"]{--bg:#fff!important;--bg-card:#fff!important;--bg-header:#fff!important;--surface:#fff!important;--surface-2:#fff!important;--surface-hover:#eee!important;--border:#000!important;--border-strong:#000!important;--text:#000!important;--text-muted:#000!important;--nav-text:#000!important;--ink:#000!important;--ink-muted:#000!important;--ink-dim:#000!important;--accent:#0000ee!important;--accent-bright:#0000ee!important;--accent-hover:#000099!important;--accent-solid:#0000ee!important;--accent-solid-hover:#000099!important;--accent-ink:#0000ee!important;--accent-soft:#fff!important;--status-badge-text:#fff!important;--done-badge-bg:#006400!important;--card-shadow:none!important;--shadow-sm:none!important;--shadow-md:none!important;--shadow-lg:none!important;--hero-glow:none!important}
[data-contrast="high"][data-theme="dark"]{--bg:#000!important;--bg-card:#000!important;--bg-header:#000!important;--surface:#000!important;--surface-2:#000!important;--surface-hover:#1a1a1a!important;--border:#fff!important;--border-strong:#fff!important;--text:#fff!important;--text-muted:#fff!important;--nav-text:#fff!important;--ink:#fff!important;--ink-muted:#fff!important;--ink-dim:#fff!important;--accent:#6cb6ff!important;--accent-bright:#6cb6ff!important;--accent-hover:#a8d4ff!important;--accent-solid:#3399ff!important;--accent-solid-hover:#6cb6ff!important;--accent-ink:#6cb6ff!important;--accent-soft:#000!important;--status-badge-text:#000!important;--done-badge-bg:#00ff00!important}
[data-contrast="high"] *{box-shadow:none!important;text-shadow:none!important}
html:root[data-amoled="on"][data-theme="dark"]{--bg:#000!important;--bg-header:#000!important;--bg-card:#0b0b0b!important;--surface:#0b0b0b!important;--surface-2:#121212!important;--surface-hover:#181818!important;--border:#262626!important;--border-strong:#333!important;--card-shadow:none!important}
html:root[data-amoled="on"][data-theme="dark"] body{background:#000!important}

