/* Budoucník — design tokens (source of truth; see docs/design-system.md)
   Dark theme = token swap ONLY ([data-theme="dark"] below). No other CSS file
   may contain a theme condition or a hardcoded theme-dependent color. */
:root{
  color-scheme:light;
  /* brand */
  --red:#B01E2E; --red-d:#8E1322; --red-t:#FBECEE;
  --red-fill:#B01E2E; --red-fill-h:#8E1322;  /* solid fills under white text */
  /* text */
  --ink:#1E1A1B; --ink-2:#6B6166; --ink-3:#8A8288;
  /* surfaces */
  --ground:#F7F4F4; --card:#FFFFFF; --card-2:#FCF9F9;
  --line:#ECE4E5; --line-2:#EFE7E9; --in-bd:#D8CFD2;
  --top-bg:rgba(255,255,255,.86);
  /* rail (dark in both themes) */
  --rail:#1C1A1C; --rail-2:#2B282B; --rail-tx:#A8A0A4; --rail-hi:#2A2427;
  /* semantic states (never the brand red) */
  --ok:#15803D; --ok-t:#E7F4EC;
  --warn:#B5710A; --warn-t:#FAF0DC;
  --bad:#C2261C; --bad-t:#FBEAE8;
  --info:#0E6FAE; --info-t:#E5F0F8;
  --mut-t:#EFEAEB;
  /* ordinal ramp (single hue, monotone light→dark) for dashboard status
     breakdowns — an enum's own declared sequence, not distinct categories.
     Validated: light-end contrast 2.12:1, adjacent ΔL ≥ 0.079 (skill floor 0.06). */
  --ord-1:#65b9fd; --ord-2:#4b9fe2; --ord-3:#3086c7; --ord-4:#0b6ead; --ord-5:#08517f;
  --pill-glow:none;
  --skel-sheen:rgba(255,255,255,.55);
  --sh:0 1px 2px rgba(28,26,28,.05),0 6px 18px rgba(28,26,28,.06);
  font-family:ui-sans-serif,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
[data-theme="dark"]{
  color-scheme:dark;
  --red:#E05B6B; --red-d:#EC8390; --red-t:#3B2226;
  --red-fill:#C22A3A; --red-fill-h:#D33345;
  --ink:#F1EAEC; --ink-2:#A79CA1; --ink-3:#8A8085;
  --ground:#151112; --card:#1E1A1B; --card-2:#241F20;
  --line:#342C2E; --line-2:#2C2527; --in-bd:#453B3E;
  --top-bg:rgba(30,26,27,.86);
  --rail:#131011; --rail-2:#262021; --rail-tx:#968D91; --rail-hi:#242021;
  --ok:#4DC981; --ok-t:#17301F;
  --warn:#E3A43C; --warn-t:#322508;
  --bad:#F0685C; --bad-t:#3A1B17;
  --info:#64ABE8; --info-t:#152A3B;
  --mut-t:#2C2628;
  /* ordinal ramp — re-stepped for the dark surface (#1E1A1B), not a flip of
     the light steps. Validated: light-end contrast 2.78:1, adjacent ΔL ≥ 0.069. */
  --ord-1:#5ea5e1; --ord-2:#488fca; --ord-3:#327ab3; --ord-4:#18659d; --ord-5:#0e4f7c;
  --pill-glow:0 0 5px currentColor;
  --skel-sheen:rgba(255,255,255,.07);
  --sh:0 1px 2px rgba(0,0,0,.4),0 6px 18px rgba(0,0,0,.35);
}
