/* ============================================================
   SEDGEHAWK — DESIGN TOKENS · V2 "MISSION DECK"
   Export: 2026-11-27 · design-director
   Source: /root/openclaw/data/media/assets/palettes/sedgehawk-2026-11-27-r2/
           design.md (round 2) · board-V2.png (Kris pick).
   Anchors: hexes verbatim from the two Kris-supplied references (R19):
   REF 2 mission-control dark → bg/signal/sage/sage2/umber; derived roles
   panel/panel-2/hair/muted; warm off-white ink #E8E4DC (task-specified).
   Fonts: Google Fonts, latin-ext verified (PL diacritics 0 missing):
   Anton (display) · Archivo variable [wght,wdth] (body) · JetBrains Mono (data).
   Rules baked in: one radius system (4px); green (sage) = SEMANTIC
   health/ok surfaces only, never primary/CTA; vermilion = graphic device
   only; zero gradients; no pure #E8E4DC (lightest token is --ink).
   ============================================================ */
:root {
  /* ---- surfaces (dark MISSION DECK) ---- */
  --bg:        #252524;   /* page background, graphite */
  --panel:     #2D2D2B;   /* console/cell panel (level 1) */
  --panel-2:   #333331;   /* raised panel (level 2) — rows, chips on panel */
  --sage:      #CDDCCF;   /* instrument surface: score card, HEALTHY/READY chips, PRO card (semantic ok/health ONLY) */
  --sage-2:    #BFD0C0;   /* sage track / secondary instrument fill */
  --umber:     #9C5941;   /* DECORATIVE bars/graphic only — paired with mono value text; never sole info-carrier */
  --hair:      #3E3D3A;   /* hairlines, rules, chip borders (graphic 1.41 — decorative separators) */
  --muted:     #A79F94;   /* secondary text on bg (5.87) / on panel-2 (4.84) */

  /* ---- ink & signal ---- */
  --ink:       #E8E4DC;   /* primary text on dark (bg 12.10 · panel 10.88 · panel-2 9.99) */
  --signal:    #E57751;   /* primary accent: CTA fill, data, numerals, heavy rule; text/icon on dark (5.18) */
  --vermilion: #C24723;   /* WARNING device only: 6px severity stripes, corner marks (graphic 3.08 — NEVER a text or fill surface for text) */

  /* ---- feedback states (chips/stamps grammar, radius 4px) ---- */
  --ok:        var(--sage);        /* HEALTHY / PASS-positive surface; label in --state-ok-ink */
  --ok-ink:    var(--bg);          /* text on sage: 10.76 AA */
  --warn:      var(--signal);      /* FIX / warning fill; label in --warn-ink */
  --warn-ink:  var(--bg);          /* text on signal: 5.18 AA (small mono ok) */
  --critical:  var(--vermilion);   /* CRITICAL: stripes/borders/timeline markers as graphics (3.08) — never text-on-fill */
  --critical-ink: var(--signal);   /* CRITICAL label as TEXT on dark → use --signal 5.18, or --ink as strong outline chip */
  --info:      var(--muted);       /* neutral chips ADD/TRIM: 5.87 on bg */

  /* ---- typography ---- */
  --font-display: 'Inter', 'Liberation Sans', Arial, sans-serif;
--font-body:    'Inter', 'Liberation Sans', Arial, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
  --card-bg:      #2D2D2B;

  /* H-steps (as measured on board-V2; min rendered 12px) */
  --fs-display:    128px;  /* Anton — masthead statements */
  --fs-display-sm:  72px;  /* Anton — hero lines */
  --fs-score:      118px;  /* Anton — instrument numeral */
  --fs-num:         36px;  /* Anton — block numerals 01–08 */
  --fs-h2:          22px;  /* Archivo wght 780 */
  --fs-h3:          20px;  /* Archivo wght 720 */
  --fs-body-lg:     19px;  /* Archivo wght 430 */
  --fs-body:        17px;  /* Archivo wght 400 */
  --fs-body-sm:     16px;  /* Archivo wght 400 */
  --fs-data:        15px;  /* JBM wght 500 */
  --fs-data-sm:     13px;  /* JBM wght 500 */
  --fs-label:       12px;  /* JBM wght 500, caps, tracking 1–3px (floor) */
  --lh-display: 1.04;
  --lh-body: 1.5;
  --track-label: 0.16em;
  --track-caps: 0.02em;

  /* ---- space (4px base rhythm from board) ---- */
  --sp-1:  4px;  --sp-2:  8px;  --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 24px;  --sp-6: 32px;  --sp-7: 48px;  --sp-8: 64px;
  --sp-9: 96px;
  --gutter: 24px;
  --page-margin: 40px;          /* ≥1280px viewport: 64px */
  --rule-strong: 8px;           /* heavy signal rule under masthead */
  --rule-hair: 1px;

  /* ---- instrument system: ONE radius everywhere ---- */
  --radius: 4px;                /* chips, cards, timeline chips, favicon tile, buttons */
  --chip-pad-x: 12px;
  --chip-pad-y: 5px;
  --chip-min-h: 28px;

  /* ---- grid ---- */
  --grid-cols: 12;
  --grid-max: 1440px;           /* board sheet was 1720px print canvas */
}

/* ===== SELF-HOSTED FONTS (2026-11-30) — no external dependency (GF blocked for some clients) ===== */
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/inter-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/inter-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/inter-greek-ext.woff2) format('woff2');unicode-range:U+1F00-1FFF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/inter-greek.woff2) format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/inter-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/inter-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/jetbrainsmono-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/jetbrainsmono-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/jetbrainsmono-greek.woff2) format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/jetbrainsmono-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/jetbrainsmono-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/jetbrainsmono-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
