/* Theme-only colors. Scope is main, never root/body/header or diagnosis pages. No layout/text changes. */
main.theme-scope[data-theme="equipment"]{--theme-accent:#245A85;--theme-hover:#174467;--theme-paper:#F2F6FA;--theme-soft:#E7EFF7;--theme-hero:#DEEAF5;--theme-hero-ink:#203344;--theme-hero-muted:#4C6072;--theme-ink:#203344;--theme-muted:#4C6072;--theme-line:#B7CADD;--theme-surface:#FFFDF8;--lp-ink:#203344;--lp-muted:#4C6072;--lp-line:#B7CADD;--lp-paper:#F2F6FA;--lp-paper-dark:#E7EFF7;--lp-forest:#245A85;--lp-forest-deep:#174467;--lp-clay:#245A85;--edition-accent:#245A85;--edition-ink:#203344;--eq-green:#245A85;--eq-ink:#203344;--eq-soft:#E7EFF7;color:var(--theme-ink);background:var(--theme-paper)}
main.theme-scope[data-theme="organize"]{--theme-accent:#874B36;--theme-hover:#693624;--theme-paper:#FAF6F0;--theme-soft:#F5EAE2;--theme-hero:#F1E0D2;--theme-hero-ink:#342C28;--theme-hero-muted:#65564C;--theme-ink:#342C28;--theme-muted:#65564C;--theme-line:#C7AE9D;--theme-surface:#FFFDF8;--lp-ink:#342C28;--lp-muted:#65564C;--lp-line:#C7AE9D;--lp-paper:#FAF6F0;--lp-paper-dark:#F5EAE2;--lp-forest:#874B36;--lp-forest-deep:#693624;--lp-clay:#874B36;--edition-accent:#874B36;--edition-ink:#342C28;--eq-green:#874B36;--eq-ink:#342C28;--eq-soft:#F5EAE2;color:var(--theme-ink);background:var(--theme-paper)}
main.theme-scope[data-theme="moving"]{--theme-accent:#4E627F;--theme-hover:#384963;--theme-paper:#F4F5F8;--theme-soft:#E9EDF4;--theme-hero:#E1E7F0;--theme-hero-ink:#283343;--theme-hero-muted:#536171;--theme-ink:#283343;--theme-muted:#536171;--theme-line:#BCC8D8;--theme-surface:#FFFDF8;--lp-ink:#283343;--lp-muted:#536171;--lp-line:#BCC8D8;--lp-paper:#F4F5F8;--lp-paper-dark:#E9EDF4;--lp-forest:#4E627F;--lp-forest-deep:#384963;--lp-clay:#4E627F;--edition-accent:#4E627F;--edition-ink:#283343;--eq-green:#4E627F;--eq-ink:#283343;--eq-soft:#E9EDF4;color:var(--theme-ink);background:var(--theme-paper)}
main.theme-scope[data-theme="budget"]{--theme-accent:#254F66;--theme-hover:#183A4A;--theme-paper:#F2F5F6;--theme-soft:#E7EFF2;--theme-hero:#183A4A;--theme-hero-ink:#FFFFFF;--theme-hero-muted:#DAE8EE;--theme-ink:#283343;--theme-muted:#536171;--theme-line:#BCC8D8;--theme-surface:#FFFDF8;--lp-ink:#283343;--lp-muted:#536171;--lp-line:#BCC8D8;--lp-paper:#F2F5F6;--lp-paper-dark:#E7EFF2;--lp-forest:#254F66;--lp-forest-deep:#183A4A;--lp-clay:#254F66;--edition-accent:#254F66;--edition-ink:#283343;--eq-green:#254F66;--eq-ink:#283343;--eq-soft:#E7EFF2;color:var(--theme-ink);background:var(--theme-paper)}
main.theme-scope[data-theme="housework"]{--theme-accent:#914B26;--theme-hover:#6F361B;--theme-paper:#FCF7EF;--theme-soft:#F8EBDD;--theme-hero:#F5E2C9;--theme-hero-ink:#3C3027;--theme-hero-muted:#6E5745;--theme-ink:#3C3027;--theme-muted:#6E5745;--theme-line:#D4B69A;--theme-surface:#FFFDF8;--lp-ink:#3C3027;--lp-muted:#6E5745;--lp-line:#D4B69A;--lp-paper:#FCF7EF;--lp-paper-dark:#F8EBDD;--lp-forest:#914B26;--lp-forest-deep:#6F361B;--lp-clay:#914B26;--edition-accent:#914B26;--edition-ink:#3C3027;--eq-green:#914B26;--eq-ink:#3C3027;--eq-soft:#F8EBDD;color:var(--theme-ink);background:var(--theme-paper)}
main.theme-scope[data-theme="learning"]{--theme-accent:#855519;--theme-hover:#65400F;--theme-paper:#FCF8EF;--theme-soft:#FAEFD2;--theme-hero:#F8E6B9;--theme-hero-ink:#3C3323;--theme-hero-muted:#6B5B3F;--theme-ink:#3C3323;--theme-muted:#6B5B3F;--theme-line:#CFBB8C;--theme-surface:#FFFDF8;--lp-ink:#3C3323;--lp-muted:#6B5B3F;--lp-line:#CFBB8C;--lp-paper:#FCF8EF;--lp-paper-dark:#FAEFD2;--lp-forest:#855519;--lp-forest-deep:#65400F;--lp-clay:#855519;--edition-accent:#855519;--edition-ink:#3C3323;--eq-green:#855519;--eq-ink:#3C3323;--eq-soft:#FAEFD2;color:var(--theme-ink);background:var(--theme-paper)}
main.theme-scope[data-theme="pets"]{--theme-accent:#536035;--theme-hover:#3F4928;--theme-paper:#F6F7EF;--theme-soft:#EAF0DC;--theme-hero:#E4EACF;--theme-hero-ink:#303727;--theme-hero-muted:#59614C;--theme-ink:#303727;--theme-muted:#59614C;--theme-line:#B7C39C;--theme-surface:#FFFDF8;--lp-ink:#303727;--lp-muted:#59614C;--lp-line:#B7C39C;--lp-paper:#F6F7EF;--lp-paper-dark:#EAF0DC;--lp-forest:#536035;--lp-forest-deep:#3F4928;--lp-clay:#536035;--edition-accent:#536035;--edition-ink:#303727;--eq-green:#536035;--eq-ink:#303727;--eq-soft:#EAF0DC;color:var(--theme-ink);background:var(--theme-paper)}
main.theme-scope[data-theme="safety"]{--theme-accent:#65527E;--theme-hover:#4B3B60;--theme-paper:#F6F4F9;--theme-soft:#EEE8F5;--theme-hero:#E8E0F0;--theme-hero-ink:#332B40;--theme-hero-muted:#62546E;--theme-ink:#332B40;--theme-muted:#62546E;--theme-line:#C3B3D2;--theme-surface:#FFFDF8;--lp-ink:#332B40;--lp-muted:#62546E;--lp-line:#C3B3D2;--lp-paper:#F6F4F9;--lp-paper-dark:#EEE8F5;--lp-forest:#65527E;--lp-forest-deep:#4B3B60;--lp-clay:#65527E;--edition-accent:#65527E;--edition-ink:#332B40;--eq-green:#65527E;--eq-ink:#332B40;--eq-soft:#EEE8F5;color:var(--theme-ink);background:var(--theme-paper)}

.theme-scope a{color:var(--theme-accent)}
.theme-scope :is(.edition-kicker,.edition-index,.template-choice-number,.template-choice-list b,.template-toc a span,.redesign-kicker,.eq-kicker,.eq-icon,.eq-arrow){color:var(--theme-accent)}
.theme-scope :is(.learning-questions span,.pets-methods span,.housework-scenes article>p:first-child){color:var(--theme-accent)}
.theme-scope :is(.equipment-opening,.budget-opening,.learning-opening,.pets-opening,.housework-opening,.redesign-category-hero){background:var(--theme-hero);color:var(--theme-hero-ink)}
.theme-scope .redesign-category-copy h1{color:var(--theme-hero-ink)}
.theme-scope .redesign-category-hero :is(.redesign-category-lead,.redesign-kicker){color:var(--theme-hero-muted)}
.theme-scope .redesign-category-hero a:not(.redesign-primary-action){color:var(--theme-hero-ink)}
.theme-scope :is(.budget-opening,.learning-opening,.pets-opening,.housework-opening,.equipment-opening) :is(.edition-kicker,.edition-lead){color:var(--theme-hero-muted)}
.theme-scope :is(.equipment-opening,.budget-opening,.learning-opening,.pets-opening,.housework-opening) a{color:var(--theme-hero-ink)}
.theme-scope :is(.equipment-replacement,.budget-note,.learning-visit,.pets-house,.housework-frequency,.living-note,.eq-support,.eq-type,.eq-icon,.eq-sample){background:var(--theme-soft)}
.theme-scope :is(.edition-route,.template-choice-list a,.template-checks li,.template-toc,.template-toc a,.living-table th,.living-table td,.living-compare,.living-official,.living-quick,.equipment-status article,.pets-methods,.pets-methods article,.pets-house nav a,.learning-questions li,.housework-scenes article,.budget-compare dl>div){border-color:var(--theme-line)}
.theme-scope :is(.living-lp-content a,.template-breadcrumb a,.template-return a,.edition-breadcrumb a,.edition-return a,.edition-route,.edition-table a,.template-choice-list a,.template-toc a){color:var(--theme-accent)}
.theme-scope :is(.edition-route em,.template-choice-list small,.budget-lines .edition-route em,.budget-note p,.eq-choice small,.eq-photo-note p){color:var(--theme-muted)}
.theme-scope :is(.living-table th,.edition-table th){background:var(--theme-soft);color:var(--theme-ink)}
.theme-scope :is(.living-table td,.eq-section,.eq-choice){background:var(--theme-surface);color:var(--theme-ink)}
.theme-scope .eq-table td{background:var(--theme-soft);color:var(--theme-ink)}
.theme-scope .eq-choice:hover{background:var(--theme-soft)}
.theme-scope :is(.eq-table th,.eq-table td:before,.edition-table td:before){color:var(--theme-muted)}
.theme-scope :is(.eq-table a,.eq-crumb a,.eq-return a){color:var(--theme-accent)}
.theme-scope :is(.redesign-primary-action,.redesign-action,.edition-button,.eq-button){background:var(--theme-accent);color:#FFFFFF!important}
.theme-scope :is(.redesign-primary-action,.redesign-action,.edition-button,.eq-button):hover{background:var(--theme-hover);color:#FFFFFF!important}
.theme-scope .eq-button-secondary{background:var(--theme-soft);color:var(--theme-accent)!important}
.theme-scope .eq-button-secondary:hover{background:var(--theme-paper);color:var(--theme-accent)!important}
.theme-scope :is(a,button,summary):focus-visible{outline-color:var(--theme-accent)}
.theme-scope .redesign-category-hero :is(a,button,summary):focus-visible{outline-color:var(--theme-hero-ink)}
.theme-scope button:disabled{background:var(--theme-soft);color:var(--theme-muted);opacity:1;cursor:default}
