/* GENERATED — do not edit. Run: node scripts/build-design-tokens.mjs
 *
 * Source: docs/design/tokens/{fonts,colors,typography,spacing,geometry,extended,drafting}.css — the vendored Plumbbob
 * design system, which is the authoritative source (CI-150).
 *
 * Three things this does to the source, all of them deliberate:
 *
 *   1. @font-face URLs point at /assets/plumbbob/fonts/, where the .woff2 files
 *      are self-hosted. **Nothing loads a webfont from a third party** —
 *      on-premise and GovCloud deployments have no route to fonts.googleapis.com,
 *      and a stylesheet that silently falls back is a product that looks broken
 *      in exactly the deployments hardest to inspect. Asserted by a test.
 *
 *   2. The dark scope answers to :root.dark as well as [data-theme="dark"],
 *      because Tailwind keys off the class and these tokens off the attribute.
 *
 *   3. The CI-159 reconciliation is applied — most importantly the chart ramp,
 *      which in the design system as delivered reuses its own status colours in
 *      violation of its own rule. See docs/design/RECONCILIATION.md.
 *
 * base.css is not included: src/index.css owns `body`, and a linked stylesheet
 * is unlayered, so shipping it would let it win the density argument silently.
 */
/* Webfonts shipped with the kit — the same Google Fonts binaries the design-kit board loaded. */
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 600;font-stretch:100%;font-display:swap;src:url("/assets/plumbbob/fonts/instrument-sans-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 600;font-stretch:100%;font-display:swap;src:url("/assets/plumbbob/fonts/instrument-sans-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:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url("/assets/plumbbob/fonts/instrument-serif-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url("/assets/plumbbob/fonts/instrument-serif-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:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url("/assets/plumbbob/fonts/instrument-serif-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url("/assets/plumbbob/fonts/instrument-serif-italic-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 500;font-display:swap;src:url("/assets/plumbbob/fonts/jetbrains-mono-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 500;font-display:swap;src:url("/assets/plumbbob/fonts/jetbrains-mono-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}
/* Plumbbob color — light is the default, dark is a single scope. Never invent a hex. */
:root{
  /* brand */
  --pb-brand:#DB5426;
  --pb-brand-pressed:#B03D16;
  --pb-brand-tint:#FDEFE7;
  --pb-on-brand:#FFF6EE;
  /* text ramp */
  --pb-ink:#17140F;
  --pb-body:#3B352D;
  --pb-muted:#7A7268;
  --pb-faint:#B4ABA0;
  /* lines + surfaces */
  --pb-border:#E3DDD4;
  --pb-divider-soft:#F0EBE4;
  --pb-surface:#FFFFFF;
  --pb-surface-sunken:#FAF7F3;
  --pb-surface-raised:#FFFFFF;
  --pb-canvas:#EDE9E3;
  /* status */
  --pb-success:#3E7A50;
  --pb-warning:#A9761F;
  --pb-danger:#B4331F;
  /* status pills (fills from the kit board) */
  --pb-success-tint:#EAF2EC;
  --pb-warning-tint:#F7F0E1;
  --pb-danger-tint:#FBEAE5;
  --pb-success-fg:#3E7A50;
  --pb-warning-fg:#A9761F;
  --pb-danger-fg:#B4331F;
  /* semantic aliases */
  --pb-text-heading:var(--pb-ink);
  --pb-text-body:var(--pb-body);
  --pb-text-secondary:var(--pb-muted);
  --pb-text-placeholder:var(--pb-faint);
  --pb-text-disabled:var(--pb-faint);
  --pb-surface-card:var(--pb-surface);
  --pb-surface-field:var(--pb-surface);
  --pb-surface-field-readonly:var(--pb-surface-sunken);
  --pb-surface-nav:var(--pb-surface-sunken);
  --pb-surface-hover:var(--pb-divider-soft);
  --pb-nav-active-bg:var(--pb-brand-tint);
  --pb-nav-active-fg:var(--pb-ink);
  --pb-btn-disabled-bg:#F0EBE4;
  --pb-btn-ghost-hover-bg:#F5F1EB;
  --pb-focus-ring:0 0 0 3px rgba(219,84,38,.14);
  /* callouts */
  --pb-callout-brand-bg:#FDEFE7;
  --pb-callout-brand-bar:#DB5426;
  --pb-callout-brand-fg:#6B2E11;
  --pb-callout-success-bg:#EAF2EC;
  --pb-callout-success-bar:#3E7A50;
  --pb-callout-success-fg:#2A5638;
  --pb-callout-warning-bg:#F7F0E1;
  --pb-callout-warning-bar:#A9761F;
  --pb-callout-warning-fg:#6B4A11;
  --pb-callout-danger-bg:#FBEAE5;
  --pb-callout-danger-bar:#B4331F;
  --pb-callout-danger-fg:#7A2114;
}
:root.dark,
[data-theme="dark"]{
  --pb-brand:#F0723F;
  --pb-brand-pressed:#FF8B5C;
  --pb-brand-tint:#3A241A;
  --pb-on-brand:#1A130E;
  --pb-ink:#F7F3ED;
  --pb-body:#DED7CD;
  --pb-muted:#9C9388;
  --pb-faint:#6F675D;
  --pb-border:#38312A;
  --pb-divider-soft:#262019;
  --pb-surface:#221E18;
  --pb-surface-sunken:#1D1912;
  --pb-surface-raised:#2C261F;
  --pb-canvas:#17140F;
  --pb-success:#6FB27F;
  --pb-warning:#E0A93F;
  --pb-danger:#F0705A;
  --pb-success-tint:#1E2A20;
  --pb-warning-tint:#2C2417;
  --pb-danger-tint:#2E1B16;
  --pb-success-fg:#8FC79D;
  --pb-warning-fg:#E0A93F;
  --pb-danger-fg:#F0705A;
  --pb-surface-hover:#252017;
  --pb-btn-disabled-bg:#221E18;
  --pb-btn-ghost-hover-bg:#221E18;
  --pb-focus-ring:0 0 0 3px rgba(240,114,63,.2);
  --pb-callout-brand-bg:#2A1D15;
  --pb-callout-brand-bar:#F0723F;
  --pb-callout-brand-fg:#EBC6B0;
  --pb-callout-success-bg:#1E2A20;
  --pb-callout-success-bar:#6FB27F;
  --pb-callout-success-fg:#2A5638;
  --pb-callout-warning-bg:#2C2417;
  --pb-callout-warning-bar:#E0A93F;
  --pb-callout-warning-fg:#6B4A11;
  --pb-callout-danger-bg:#2E1B16;
  --pb-callout-danger-bar:#F0705A;
  --pb-callout-danger-fg:#7A2114;
}
/* Type — serif for names, sans for interface, mono for data. */
:root{
  --pb-font-serif:'Instrument Serif', Georgia, serif;
  --pb-font-sans:'Instrument Sans', Helvetica, Arial, sans-serif;
  --pb-font-mono:'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --pb-display-size:42px;      --pb-display-lh:1.1; /* @kind other */   --pb-display-weight:400;
  --pb-heading-size:26px;      --pb-heading-lh:1.2; /* @kind other */   --pb-heading-weight:400;
  --pb-page-title-size:22px;                          --pb-page-title-weight:400;
  --pb-metric-size:34px;                              --pb-metric-weight:400;
  --pb-subhead-size:18px;                             --pb-subhead-weight:600;
  --pb-body-size:15px;         --pb-body-lh:1.5; /* @kind other */      --pb-body-weight:400;
  --pb-label-size:13px;                               --pb-label-weight:500;
  --pb-micro-size:11px;        --pb-micro-tracking:.16em;   --pb-micro-weight:500;
  --pb-eyebrow-size:10.5px;    --pb-eyebrow-tracking:.18em; --pb-eyebrow-weight:500;

  /* semantic aliases */
  --pb-text-display:var(--pb-font-serif);
  --pb-text-interface:var(--pb-font-sans);
  --pb-text-data:var(--pb-font-mono);
}
/* Spacing step — 4 then 6 8 10 14 16 20 24 32 40 48 56. No other values. */
:root{
  --pb-space-1:4px;  --pb-space-2:6px;  --pb-space-3:8px;  --pb-space-4:10px;
  --pb-space-5:14px; --pb-space-6:16px; --pb-space-7:20px; --pb-space-8:24px;
  --pb-space-9:32px; --pb-space-10:40px; --pb-space-11:48px; --pb-space-12:56px;
  /* common composites */
  --pb-field-gap:7px;
  --pb-card-pad:20px;
  --pb-panel-pad:48px;
  --pb-row-pad-y:16px;
  --pb-row-pad-x:24px;
}
/* Geometry and motion — one geometry for both themes. */
:root{
  --pb-radius-sm:6px;
  --pb-radius:7px;
  --pb-radius-pill:13px;
  --pb-control-h-sm:36px;
  --pb-control-h:48px;
  --pb-control-h-primary:50px;
  --pb-pill-h:26px;
  --pb-border-w:1px;
  --pb-transition:150ms ease; /* @kind other */
  --pb-sidebar-w:220px;
  --pb-topbar-h:64px;
}
/* v1.1 — overlay, progress and chart. Modals are the only permitted shadow. */
:root{
  --pb-scrim:rgba(23,20,15,.44);
  --pb-shadow-modal:0 24px 64px rgba(23,20,15,.18);
  --pb-modal-w:520px;
  --pb-progress-track:#E3DDD4;
  --pb-progress-fill:#DB5426;
  --pb-progress-h:4px;
  --pb-progress-h-sm:2px;
  --pb-chart-1:#DB5426;
  --pb-chart-2:#2C6E7F;
  --pb-chart-3:#C08A2E;
  --pb-chart-4:#83527A;
  --pb-chart-5:#5C8A66;
  --pb-chart-6:#8C6E5A;
  --pb-chart-grid:#F0EBE4;
  --pb-chart-axis:#B4ABA0;
  --pb-chart-band:rgba(219,84,38,.10);
}
:root.dark,
[data-theme="dark"]{
  --pb-scrim:rgba(10,8,6,.62);
  --pb-shadow-modal:0 24px 64px rgba(0,0,0,.55);
  --pb-progress-track:#38312A;
  --pb-progress-fill:#F0723F;
  --pb-chart-1:#F0723F;
  --pb-chart-2:#2C6E7F;
  --pb-chart-3:#C08A2E;
  --pb-chart-4:#83527A;
  --pb-chart-5:#5C8A66;
  --pb-chart-6:#8C6E5A;
  --pb-chart-grid:#262019;
  --pb-chart-axis:#6F675D;
  --pb-chart-band:rgba(219,84,38,.10);
}
/* Drafting canvas — a dark work surface in both themes, so drawn geometry reads at any brightness. */
:root{
  --pb-draft-canvas:#1C1A17;
  --pb-draft-grid:#262420;
  --pb-draft-grid-major:#332F29;
  --pb-draft-axis:#403A32;
  --pb-draft-ink:#EDE9E3;
  --pb-draft-geometry:#E8E2D8;
  --pb-draft-selected:#F0723F;
  --pb-draft-cursor:#DB5426;
  --pb-draft-toolbar-h:46px;
  --pb-draft-palette-w:296px;
  --pb-draft-rail-h:34px;
}
