/* GitAz design tokens: the only place colours, fonts and radii are defined.
   Dark is the default; light follows the system setting unless the person picks one
   (html[data-theme]). Every other stylesheet uses these variables only. */
@font-face { font-family:Geist; src:url(/fonts/Geist-Variable.woff2) format('woff2'); font-weight:100 900; font-style:normal; font-display:swap; }
@font-face { font-family:'Geist Mono'; src:url(/fonts/GeistMono-Variable.woff2) format('woff2'); font-weight:100 900; font-style:normal; font-display:swap; }

:root {
  /* Dark: the Vendigoose navy theme (owner's choice, 2026-10-22). */
  color-scheme:dark;
  --bg:#0B1730; --sunken:#101F3D; --surface:#142342; --raised:#192A4D;
  --line:#2B4069; --line-strong:#3A5484;
  --text:#EEF3FB; --text-2:#9DAFCA; --text-3:#8496B5;
  --accent:#7AA2FF; --accent-strong:#A9C1FF; --accent-ink:#0B1730;
  --info:#A5B4FC; --ok:#4ADE80; --warn:#FBBF24; --bad:#FB7185;
  --shadow:0 1px 2px rgba(0,0,0,.22), 0 1px 4px rgba(0,0,0,.18);
  --radius:14px;
  --font:Geist, 'Segoe UI', system-ui, sans-serif;
  --mono:'Geist Mono', ui-monospace, Consolas, monospace;
}
:root[data-theme=light] {
  color-scheme:light;
  --bg:#F4F6F9; --sunken:#EEF1F5; --surface:#FFFFFF; --raised:#F3F5F8;
  --line:#E0E4EB; --line-strong:#CBD2DD;
  --text:#0D1016; --text-2:#3B4352; --text-3:#596273;
  --accent:#4F46E5; --accent-strong:#4338CA; --accent-ink:#FFFFFF;
  --info:#1D5FD6; --ok:#0E8A5C; --warn:#9A5B00; --bad:#C22F35;
  --shadow:0 1px 2px rgba(16,24,40,.06), 0 4px 14px rgba(16,24,40,.05);
}
@media (prefers-color-scheme:light) {
  :root:not([data-theme=dark]) {
    color-scheme:light;
    --bg:#F4F6F9; --sunken:#EEF1F5; --surface:#FFFFFF; --raised:#F3F5F8;
    --line:#E0E4EB; --line-strong:#CBD2DD;
    --text:#0D1016; --text-2:#3B4352; --text-3:#596273;
    --accent:#4F46E5; --accent-strong:#4338CA; --accent-ink:#FFFFFF;
    --info:#1D5FD6; --ok:#0E8A5C; --warn:#9A5B00; --bad:#C22F35;
    --shadow:0 1px 2px rgba(16,24,40,.06), 0 4px 14px rgba(16,24,40,.05);
  }
}
/* Tints are derived, so each theme only defines its solid colours. */
:root {
  --accent-soft:color-mix(in srgb, var(--accent) 14%, transparent);
  --accent-line:color-mix(in srgb, var(--accent) 40%, transparent);
  --info-soft:color-mix(in srgb, var(--info) 13%, transparent);
  --info-line:color-mix(in srgb, var(--info) 40%, transparent);
  --ok-soft:color-mix(in srgb, var(--ok) 13%, transparent);
  --ok-line:color-mix(in srgb, var(--ok) 40%, transparent);
  --warn-soft:color-mix(in srgb, var(--warn) 13%, transparent);
  --warn-line:color-mix(in srgb, var(--warn) 40%, transparent);
  --bad-soft:color-mix(in srgb, var(--bad) 13%, transparent);
  --bad-line:color-mix(in srgb, var(--bad) 40%, transparent);
}
