/* Shared brand colors. Status and warning colors keep their semantic meaning. */
html[data-theme-surface] :is(a,button,input,select,textarea):focus-visible{outline-color:var(--theme-link)}
html[data-theme-surface] ::selection{background:var(--theme-active);color:var(--theme-onActive)}
html[data-theme-surface=front] .btn:where(:not(.light):not(.white):not(.text):not(.danger)){background:var(--theme-control);border-color:var(--theme-control);color:var(--theme-controlOn)}
html[data-theme-surface=front] .btn.orange:not(.danger){background:var(--theme-primary);border-color:var(--theme-primary);color:var(--theme-on)}
html[data-theme-surface=front] .btn:where(:not(.light):not(.white):not(.text):not(.danger)):hover{background:var(--theme-hover);border-color:var(--theme-hover);color:var(--theme-hoverOn)}
html[data-theme-surface=front] :is(.btn.light,.btn.white,.btn.text):hover{background:var(--theme-soft);color:var(--theme-link)}
html[data-theme-surface=front] .support-float{background:var(--theme-primary);color:var(--theme-on)}
html[data-theme-surface=front] :is(.footer,.sidebar .account-card){background:var(--theme-soft)}
html[data-theme-surface=front] :is(.sidebar a.active,.batch-tabs .active){background:var(--theme-active);color:var(--theme-onActive)}
html[data-theme-surface=front] :is(.sourcing-band,.assist-evidence-band,.news-vlog-band,.auth-aside) p,
html[data-theme-surface=front] :is(.news-vlog-band .eyebrow,.spec-category.active small){color:var(--theme-mutedOnDark)}
html[data-theme-surface=front] :is(input[type=checkbox],input[type=radio]){accent-color:var(--theme-link)}
html[data-theme-surface=front] .pill.green{background:#e8eee5}
html[data-theme-surface=front] .notice:not(.warning):not(.error):not(.info){background:#e8eee5}
html[data-theme-surface=front] .timeline-item.current:before{box-shadow:0 0 0 4px var(--theme-soft)}
html[data-theme-surface=front] .trust-icon{color:var(--theme-link)}
html[data-theme-surface=front] :is(.assist-return,.assist-context,.assist-sticky,.assist-cost-summary,.assist-check-progress>strong,.assist-utility b,.assist-compare-table thead th,.spec-login-panel,.spec-category:not(.active),.news-feature,.news-cover-type,.news-avatar,.news-source,.news-related,.news-filter #news-filter-form){background:var(--theme-soft);border-color:var(--theme-line)}
html[data-theme-surface=front] :is(.assist-symbol,.spec-category:hover){background:var(--theme-active);color:var(--theme-onActive)}
html[data-theme-surface=front] :is(.assist-choice.selected,.news-cms-list a.active){border-color:var(--theme-link);background:var(--theme-soft)}
html[data-theme-surface=front] :is(.news-player,.news-player-controls){background:var(--theme-dark)}
html[data-theme-surface=front] :is(.assist-trust-intro p,.news-host-profile p,.news-host-profile small,.news-player-caption,.news-player-message .eyebrow){color:var(--theme-mutedOnDark)}
html[data-theme-surface=admin] .sidebar{background:var(--theme-dark);scrollbar-color:var(--theme-mutedOnDark) transparent}
html[data-theme-surface=admin] :is(.nav-item,.nav-group,.brand small,.side-note,.sidebar-bottom .pill){color:var(--theme-mutedOnDark)}
html[data-theme-surface=admin] :is(.nav-item.active,.brand-mark,.btn.lime){background:var(--theme-active);color:var(--theme-onActive)}
html[data-theme-surface=admin] :is(.btn.primary,.subtab.active){background:var(--theme-primary);border-color:var(--theme-primary);color:var(--theme-on)}
html[data-theme-surface=admin] .btn.primary:hover{background:var(--theme-hover);color:var(--theme-hoverOn)}
html[data-theme-surface=admin] :is(.btn.text,.tab.active){color:var(--theme-link)}
html[data-theme-surface=admin] .tab.active{border-color:var(--theme-primary)}
html[data-theme-surface=admin] :is(.hero,.shortcut-ico,.avatar,.subtab:not(.active),.role-option.active){background:var(--theme-soft);color:var(--theme-link)}
html[data-theme-surface=admin] .hero-ring{border-color:var(--theme-active);box-shadow:0 0 0 22px var(--theme-soft);color:var(--theme-link)}
html[data-theme-surface=admin] .hero :is(p,.eyebrow){color:var(--muted)}
html[data-theme-surface=admin] .btn:not(.primary):not(.danger):hover{border-color:var(--theme-line)}
html[data-theme-surface=admin] input:focus,html[data-theme-surface=admin] select:focus,html[data-theme-surface=admin] textarea:focus{outline-color:var(--theme-active);border-color:var(--theme-link)}
html[data-theme-surface=admin] #toast:not(.error-toast){background:var(--theme-dark)}
