html[data-theme=dark]{--bg:#181e25;--surface:#202832;--surface-soft:#27323e;--text:#e7edf5;--text-soft:#acbacc;--border:#374352;--primary:#37628d;--primary-hover:#4573a1;--primary-soft:#293f57;--gold:#d1a166;--shadow:0 18px 46px -20px #0008;--danger:#ffb6ae;--danger-soft:#482e31;color-scheme:dark}
html[data-theme=dark] :is(.auth-screen,.auth-card,.auth-password button,.auth-card input){background:var(--surface);color:var(--text);border-color:var(--border)}html[data-theme=dark] .auth-screen{background:var(--bg)}html[data-theme=dark] :is(.auth-card h1,.auth-card label){color:var(--text)}html[data-theme=dark] .auth-card p{color:var(--text-soft)}html[data-theme=dark] .auth-logo{background:#fff;border-color:#dce2ef;padding:10px}html[data-theme=dark] .brand-logo-frame{background:#fff;border-color:#dce2ef}html[data-theme=dark] .brand-logo{background:#fff}html[data-theme=dark] :is(.icon-button,.secondary-button,.simple-user-badge,.search-field-large,.field-grid input,.field-grid select,.auth-password){border-color:#4a5b6e;color:var(--text)}html[data-theme=dark] .simple-segmented-nav button.active{color:#fff}html[data-theme=dark] .match-note{color:#c4dcf5}
html[data-theme=dark] .ga-profile{--profile-line:var(--border);--profile-text:var(--text);--profile-muted:var(--text-soft)}html[data-theme=dark] :is(.ga-profile-card,.ga-profile-body,.ga-profile input,.ga-profile select,.ga-profile-button){background:var(--surface);color:var(--text);border-color:var(--border)}html[data-theme=dark] :is(.ga-profile-role,.ga-profile-code,.ga-profile-tabs,.ga-profile-message,.ga-access-summary){background:var(--surface-soft);color:var(--text);border-color:var(--border)}html[data-theme=dark] :is(.ga-profile-header h1,.ga-profile h3,.ga-profile-label,.ga-profile-person strong){color:var(--text)}html[data-theme=dark] :is(.ga-profile-email,.ga-profile-help,.ga-profile-tab,.ga-profile-header p){color:var(--text-soft)}html[data-theme=dark] :is(.ga-profile-button.primary,.auth-submit){background:var(--primary);color:#fff}html[data-theme=dark] :is(.auth-card .auth-error,.ga-profile-message.error){background:var(--danger-soft);color:var(--danger);border-color:var(--border)}
@media(prefers-reduced-motion:no-preference){body,.auth-screen,.auth-card,.simple-portal-card,.panel,button,input,select{transition:background-color .18s ease,color .18s ease,border-color .18s ease}}

html[data-theme=dark] .input-shell:focus-within,html[data-theme=dark] .search-field-large:focus-within{border-color:#83a4cf;outline-color:#83a4cf26}html[data-theme=dark] .empty-icon{color:#aabbd1}
