/* GetWalloo brand color source of truth: the orange in the Walloo wordmark.
   Keep semantic success, warnings, errors and AI assistant styling separate. */
:root{
  --gw-brand-orange:var(--brand-red,#ee8b4f);
  --accent:var(--gw-brand-orange);
  --accent-hi:#dd7638;
  --accent-ink:#2a1a10;
}
body[data-view="app"],
html[data-theme="dark"] body[data-view="app"],
html[data-theme="light"] body[data-view="app"]{
  --accent:var(--gw-brand-orange);
  --accent-hi:#dd7638;
  --accent-ink:#2a1a10;
}
/* Shared interactive elements in both light and dark themes. */
:is(.btn-primary,.nav-pricing):not(:disabled),
body[data-view="app"] :is(.btn-primary,.nav-pricing):not(:disabled){
  background:var(--gw-brand-orange);
  color:#2a1a10;
}
:is(.btn-primary,.nav-pricing):not(:disabled):hover{
  background:var(--accent-hi);
}
body[data-view="app"] :is(.subnav a[aria-current="page"],.subnav a.active,.gw-phone-nav a[aria-current="page"]){
  background:var(--gw-brand-orange);
  color:#2a1a10;
}
body[data-view="app"] :is(.subnav a[aria-current="page"],.subnav a.active,.gw-phone-nav a[aria-current="page"]) svg{color:inherit}
/* KPI highlights: branded summary blocks; neutral financial cards remain neutral. */
body[data-view="app"] :is(.gw-finance-intro,.gw-budget-overview,.gw-cashflow-hero,.gw-debt-hero){
  background:linear-gradient(125deg,var(--gw-brand-orange),#dd7638);
  color:#2a1a10;
}
body[data-view="app"] :is(.gw-finance-intro,.gw-budget-overview,.gw-cashflow-hero,.gw-debt-hero) :is(.lbl,small,p){
  color:rgba(42,26,16,.78);
}
body[data-view="app"] :is(.gw-finance-intro,.gw-budget-overview,.gw-cashflow-hero,.gw-debt-hero) :is(.gw-finance-intro-action .btn-primary){
  background:#fff;color:#b8551c;
}
/* Preserve green for positive outcomes, red for negative outcomes and purple AI button. */

/* Soft tangerine (Oct 2026): calmer header. "Pricing" is a plain link and
   "Get started" is an outlined button; filled tangerine is kept for the main
   action on each screen. Dark text sits on tangerine so it stays easy to read. */
html body .nav .nav-pricing:not(:disabled),
html body .nav .nav-pricing:not(:disabled):hover{
  background:transparent;color:var(--text,#ece8e4);box-shadow:none;border-color:transparent;
}
html body .nav a.mkt-only.btn-sm[href="#/auth?up"]{
  background:transparent;color:#f4aa7c;box-shadow:inset 0 0 0 1.5px var(--gw-brand-orange);
}
html body .nav a.mkt-only.btn-sm[href="#/auth?up"]:hover{background:color-mix(in srgb,var(--gw-brand-orange) 14%,transparent)}
/* Light mode: tangerine text needs a deeper shade to stay readable on white. */
html[data-theme="light"] body .nav a.mkt-only.btn-sm[href="#/auth?up"]{color:#b8551c}
html[data-theme="light"] :is(.wordmark b,.hs-stat b,#m-tabs a[aria-current="page"],.gl-edit){color:#c9611f}
