/* v4.3.168 Global Theme Tokens */
:root{
 --theme-primary:var(--theme-primary);--theme-primary-hover:var(--theme-primary);--theme-primary-dark:var(--theme-primary-dark);--theme-primary-deep:var(--theme-primary-deep);--theme-primary-light:var(--theme-primary-light);--theme-primary-soft:#F8EDEF;
 --theme-primary-border:#EAD3D6;--theme-primary-text:var(--theme-primary-dark);--theme-accent:#B28A56;
}
/* Front-end common components. Destructive/success colors intentionally remain semantic. */
body.theme-enabled{--red:var(--theme-primary);--red2:var(--theme-primary-hover);--gold:var(--theme-accent)}
body.theme-enabled .btn:not(.gray):not(.danger),
body.theme-enabled .bottom-nav .active,
body.theme-enabled .tabs a.active{--red:var(--theme-primary)}
body.theme-enabled .brand-seal{background:var(--theme-primary)}
body.theme-enabled .section-head a,
body.theme-enabled .badge:not(.green):not(.gray),
body.theme-enabled .donor-amount,
body.theme-enabled .stat b,
body.theme-enabled .amount-btn{color:var(--theme-primary)}
body.theme-enabled .amount-btn.selected{border-color:var(--theme-primary);background:var(--theme-primary-soft)}
body.theme-enabled .progress i{background:linear-gradient(90deg,var(--theme-primary),var(--theme-accent))}
body.theme-enabled .field input:focus,
body.theme-enabled .field textarea:focus,
body.theme-enabled .field select:focus{border-color:var(--theme-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-primary) 9%,transparent)}
/* Preserve the anniversary hero artwork; regular components consume theme tokens. */

/* v4.3.170 full frontend brand token layer */
body.theme-enabled{--brand-primary:var(--theme-primary);--brand-dark:var(--theme-primary-dark);--brand-deep:var(--theme-primary-deep);--brand-light:var(--theme-primary-light);--brand-soft:var(--theme-primary-soft);--brand-border:var(--theme-primary-border);--brand-text:var(--theme-primary-text);--brand-accent:var(--theme-accent)}
body.theme-enabled a:focus-visible,body.theme-enabled button:focus-visible{outline-color:var(--theme-primary)}
body.theme-enabled input[type=checkbox],body.theme-enabled input[type=radio]{accent-color:var(--theme-primary)}

/* v4.3.173: authoritative global frontend theme layer */
body.theme-enabled{
 --red:var(--theme-primary)!important;
 --red2:var(--theme-primary-hover)!important;
 --gold:var(--theme-accent)!important;
 --h-red:var(--theme-primary)!important;
 --h-deep:var(--theme-primary-deep)!important;
 --h-vermilion:var(--theme-primary)!important;
 --h-gold:var(--theme-accent)!important;
 --daily-red:var(--theme-primary)!important;
 --daily-gold:var(--theme-accent)!important;
 --history-red:var(--theme-primary)!important;
 --history-gold:var(--theme-accent)!important;
}
/* Common brand surfaces that historically carried local template colors */
body.theme-enabled .bottom-nav a.active,
body.theme-enabled .bottom-nav .active,
body.theme-enabled .tab.active,
body.theme-enabled .tabs a.active{color:var(--theme-primary)}
body.theme-enabled .hero-grid-icon,
body.theme-enabled .daily-icon,
body.theme-enabled .section-kicker,
body.theme-enabled .daily-date b{color:var(--theme-primary)}

/* v4.3.175 campus blue-red global frontend language */
body.theme-campus-blue-red,
body[data-theme="campus_blue_red"]{
 --theme-primary:#0066CC;
 --theme-primary-hover:#005AB5;
 --theme-primary-dark:#004F9F;
 --theme-primary-deep:#00366D;
 --theme-primary-light:#4D94DB;
 --theme-primary-soft:#EAF4FF;
 --theme-primary-border:#CFE4F8;
 --theme-primary-text:#004F9F;
 --theme-accent:#E6212A;
 --theme-accent-dark:#B91B22;
 --theme-accent-light:#ED6369;
 --theme-accent-soft:#FDEBED;
 --theme-accent-border:#F5BEC1;
 --theme-page-bg:#F8FAFD;
}
body.theme-campus-blue-red .bottom-nav a.active,
body[data-theme="campus_blue_red"] .bottom-nav a.active{color:#0066CC}
body.theme-campus-blue-red .bottom-nav .donate,
body.theme-campus-blue-red .bottom-nav .donation,
body[data-theme="campus_blue_red"] .bottom-nav .donate,
body[data-theme="campus_blue_red"] .bottom-nav .donation{
 color:#E6212A;
}
