/* Design tokens: the semantic names every new component uses. They sit on top of the original variables in theme.css and dark.css (so old screens keep working)
   and give Light and Dark a value each. Do not write a colour into a component: add or reuse a token here. */
:root{
  /* surfaces, layered from the page up */
  --c-page:var(--bg);--c-surface:var(--surface);--c-raised:#fff;--c-sunken:#F2F6F7;--c-hover:#EAF2F5;
  --s2:#EEF4F6;--s3:#E3EDF1;--panel:var(--surface);
  /* text and lines */
  --c-text:var(--ink);--c-text-soft:var(--ink-soft);--c-text-muted:var(--muted);--c-border:var(--line);--c-border-strong:#C3CFD3;
  /* accent and status (soft = background tint) */
  --c-accent:var(--teal);--c-accent-strong:var(--teal-deep);--c-accent-soft:var(--teal-soft);--c-on-accent:#fff;
  --c-success:#15803d;--c-success-soft:#E2F6E8;--c-warning:#B45309;--c-warning-soft:#FFF1DC;--c-danger:#C2410C;--c-danger-soft:#FFE7DC;--c-info:#0A7EA3;--c-info-soft:#E2F5FC;
  --c-focus:#0A7EA3;--c-overlay:rgba(15,35,50,.35);
  /* shape, space, depth, motion */
  --r-sm:8px;--r-md:10px;--r-lg:14px;--r-pill:999px;
  --sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:24px;--sp-6:32px;
  --elev-1:0 1px 2px rgba(15,35,50,.08);--elev-2:0 10px 28px rgba(15,35,50,.14);--elev-3:0 18px 44px rgba(15,35,50,.2);
  --t-fast:.12s;--t-base:.18s;--ease:cubic-bezier(.2,.7,.2,1);
  --font-ui:"Manrope","Noto Sans JP","Noto Sans","Noto Sans Devanagari","Noto Sans SC","Noto Sans Arabic",system-ui,sans-serif;
}
html[data-theme="dark"]{
  --c-raised:#1B2F38;--c-sunken:#0F1D23;--c-hover:#20363F;
  --s2:#1B2F38;--s3:#223A45;
  --surface-2:#16282F;                         /* panels inside cards: intel.js and others use it with a light fallback, which showed as white blocks in Dark */
  --c-border-strong:#3A515B;
  --c-on-accent:#06222C;
  --c-success:#4CC38A;--c-success-soft:#123828;--c-warning:#E0A34A;--c-warning-soft:#3A2B10;--c-danger:#F08A63;--c-danger-soft:#3C1F15;--c-info:#5CCBEA;--c-info-soft:#123242;
  --c-focus:#5CCBEA;--c-overlay:rgba(0,0,0,.55);
  --elev-1:0 1px 2px rgba(0,0,0,.4);--elev-2:0 10px 28px rgba(0,0,0,.5);--elev-3:0 18px 44px rgba(0,0,0,.6);
}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--c-focus);outline-offset:2px}
@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}
