/* Approved R2 palette mapped onto the existing application, without changing data views. */
:root {
 --atlas-bg:var(--bg);--atlas-bg-elevated:var(--raised);--atlas-surface:var(--surface);--atlas-surface-soft:var(--raised);
 --atlas-graphite-950:var(--text);--atlas-graphite-900:var(--text);--atlas-graphite-800:var(--text);
 --atlas-graphite-700:var(--muted);--atlas-graphite-600:var(--muted);--atlas-graphite-500:var(--muted);
 --atlas-border:var(--border);--atlas-border-strong:var(--border);
 --atlas-blue-700:var(--primary);--atlas-blue-600:var(--primary);--atlas-blue-100:var(--raised);
 --atlas-green-700:var(--success);--atlas-green-600:var(--success);--atlas-green-100:var(--raised);
 --atlas-red-700:var(--error);--atlas-red-100:var(--raised);--atlas-amber-700:var(--warning);--atlas-amber-100:var(--raised);
 --atlas-shadow-sm:var(--shadow);--atlas-shadow-md:var(--shadow);--atlas-radius-md:var(--radius);--atlas-radius-lg:var(--radius-lg);
}
body { background:var(--bg);color:var(--text); }
.login-card,.panel,.metric { background:var(--surface);color:var(--text); }
.workspace > aside { background:var(--surface);color:var(--text);border-color:var(--border); }
nav button { color:var(--muted); }
nav button:hover,nav button.active { background:var(--raised);color:var(--text);border-color:var(--accent); }
input,select,textarea { background:var(--surface);color:var(--text); }
button:not(.ghost):not(.secondary):not(.danger):not([data-page]) { background:var(--primary);color:var(--on-primary); }
button:hover { box-shadow:var(--shadow); }
:focus-visible { outline:3px solid var(--focus);outline-offset:3px; }
.atlas-theme-choice { display:flex;align-items:center;gap:8px;font-size:.8rem;margin:0; }
.atlas-theme-choice select { min-height:44px;width:auto;max-width:160px;padding:8px; }
.login-card > .atlas-theme-choice { justify-content:flex-end;margin-bottom:16px; }
@media(max-width:650px) { .header-actions { flex-wrap:wrap; } .atlas-theme-choice select { max-width:125px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important;transition:none!important;animation:none!important; } }
