/* Andito shared design tokens for the rebuilt screens (/next).
   Source: prototype/source/src/style.css (sha256 5e2a8c004130e072…), the approved
   consolidated direction (DL-02). Palette values are retained; DL-57 defines their consistent semantic use. test_next_shell
   checks they still match the prototype. Two deliberate differences:
   - --display uses Poppins: the Beyno licence is not recorded in the project,
     so the font is not published until Joseph confirms it.
   - Fonts load from this site (/static/v/59a64b83f3a44f8c3a22/fonts), never from Google Fonts. */
@font-face{font-family:"Poppins";src:url("/static/v/59a64b83f3a44f8c3a22/fonts/Poppins-Regular.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"Poppins";src:url("/static/v/59a64b83f3a44f8c3a22/fonts/Poppins-SemiBold.ttf") format("truetype");font-weight:600;font-display:swap}
@font-face{font-family:"Poppins";src:url("/static/v/59a64b83f3a44f8c3a22/fonts/Poppins-Bold.ttf") format("truetype");font-weight:700 900;font-display:swap}
:root{
  --ground:#fdf8ed; --surface:#fffdf8; --ink:#1a1a1a; --head:#272829; --muted:#5f574d;
  --line:#e6dac5; --hair:#eee4d3; --control:#8f806b;
  --orange:#ab420f; --orange-hover:#943a0d; --link:#ab420f; --link-hover:#803e2c;
  --on-orange:#fdf8ed; --on-orange-soft:#f6dcc4; --orange-line:#f0c9a8; --band-rule:#c4642f;
  --band-btn-bg:#fdf8ed; --band-btn-fg:#ab420f;
  --tint:#fbeee0; --tint-line:#f3e2cf; --note:#f3ede1; --agent:#dde9ec; --agent-ink:#003142;
  --crit-bg:#f7e0dc; --crit:#8a1c1c; --crit-line:#e5b8ae;
  --attn-bg:#f6e7c8; --attn:#6b4a00;
  --ok-bg:#dfeee2; --ok:#1e5a37;
  --pend-bg:#dde9ec; --pend:#003142;
  --unk-bg:#eceae4; --unk:#4f5256; --stripe:#e2ded5;
  --chip-on-bg:#272829; --chip-on-fg:#fdf8ed;
  --shadow:0 1px 2px rgba(39,40,41,.06);
  --font:"Poppins",system-ui,-apple-system,"Segoe UI",sans-serif;
  --display:"Poppins",system-ui,-apple-system,"Segoe UI",sans-serif;
  --r-card:16px; --r-ctl:10px;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --ground:#161514; --surface:#211f1d; --ink:#ece5d8; --head:#f5efe4; --muted:#b8ad9d;
  --line:#38342f; --hair:#2c2926; --control:#8c8174;
  --orange:#ab420f; --orange-hover:#943a0d; --link:#ec8a52; --link-hover:#f2a476;
  --on-orange:#fdf8ed; --on-orange-soft:#f6dcc4; --orange-line:#f0c9a8; --band-rule:#c4642f;
  --band-btn-bg:#161514; --band-btn-fg:#ec8a52;
  --tint:#3a2415; --tint-line:#3a2a1c; --note:#262320; --agent:#13303a; --agent-ink:#a2cedb;
  --crit-bg:#4a1f1a; --crit:#f5b4a8; --crit-line:#6e3329;
  --attn-bg:#3f3217; --attn:#f0cf85;
  --ok-bg:#183a27; --ok:#a3dbb4;
  --pend-bg:#13303a; --pend:#a2cedb;
  --unk-bg:#2e2b28; --unk:#cfc8bd; --stripe:#38342f;
  --chip-on-bg:#f5efe4; --chip-on-fg:#161514;
  --shadow:none; color-scheme:dark}}
:root[data-theme="dark"]{
  --ground:#161514; --surface:#211f1d; --ink:#ece5d8; --head:#f5efe4; --muted:#b8ad9d;
  --line:#38342f; --hair:#2c2926; --control:#8c8174;
  --orange:#ab420f; --orange-hover:#943a0d; --link:#ec8a52; --link-hover:#f2a476;
  --on-orange:#fdf8ed; --on-orange-soft:#f6dcc4; --orange-line:#f0c9a8; --band-rule:#c4642f;
  --band-btn-bg:#161514; --band-btn-fg:#ec8a52;
  --tint:#3a2415; --tint-line:#3a2a1c; --note:#262320; --agent:#13303a; --agent-ink:#a2cedb;
  --crit-bg:#4a1f1a; --crit:#f5b4a8; --crit-line:#6e3329;
  --attn-bg:#3f3217; --attn:#f0cf85;
  --ok-bg:#183a27; --ok:#a3dbb4;
  --pend-bg:#13303a; --pend:#a2cedb;
  --unk-bg:#2e2b28; --unk:#cfc8bd; --stripe:#38342f;
  --chip-on-bg:#f5efe4; --chip-on-fg:#161514;
  --shadow:none; color-scheme:dark}

/* Aliases so the existing R2 finance module (finance.css) renders in the same
   palette in every theme. They point at the prototype tokens above. */
:root{
  --text:var(--ink); --heading:var(--head);
  --orange-fill:var(--orange); --orange-text:var(--link);
  --warn:var(--attn); --warn-bg:var(--attn-bg);
  --bad:var(--crit); --bad-bg:var(--crit-bg);
  --neutral-bg:var(--unk-bg);
  /* WhatsApp channel accents (DL-55, DL-57): Support is Andito orange, Zoho the shared information blue. Unchanged values, defined once
     here so every stylesheet and both themes resolve them from the same palette. */
  --ch-zoho:var(--pend); --ch-zoho-bg:var(--pend-bg);
  --ch-support:var(--link); --ch-support-bg:var(--tint);
}
