/* DERIVED from zegit-zoo/corporate 280b452874069e53e394189c8a5e912fa7dd37c8 design/ by tools/derivekit: styles.css with its
   imports inlined, then the watchsong UI kit's page chrome, then the kit's inline style
   attributes as classes (the CSP refuses inline style). Never edit this file: change the kit
   in corporate, then `go run ./tools/derivekit -vendor <design dir>`. */
/* Primitive Engineering — webfonts, self-hosted.
   Libre Franklin (UI, headings) and IBM Plex Mono (eyebrows, labels, numbers), latin and latin-ext,
   served from this repository. Self-hosted on purpose: an @import to a font CDN costs four serial
   round trips before any real font can paint (HTML → styles.css → fonts.css → CDN css → woff2), which
   is what made pages visibly re-render as the fonts landed. It also keeps a company site's visitors
   from being announced to a third party.

   Franklin is the variable face (300–800 in one file); Plex Mono ships the three static weights the
   system uses. unicode-range means a browser fetches only the subsets a page actually needs, so
   latin-ext costs nothing until a character needs it. Preload the faces above the fold — see
   ui_kits/company/*.html and the site's derive script.

   Both families are SIL Open Font License 1.1; see assets/fonts/LICENSE.md. */

/* IBM Plex Mono · normal · 400 · latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-400-latin.woff2?v=08949f728dc5') 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;
}
/* IBM Plex Mono · normal · 400 · latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-400-latin-ext.woff2?v=6bc0f226a5b7') 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;
}
/* IBM Plex Mono · normal · 500 · latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-500-latin.woff2?v=01d285447409') 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;
}
/* IBM Plex Mono · normal · 500 · latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-500-latin-ext.woff2?v=6bb06407c975') 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;
}
/* IBM Plex Mono · normal · 600 · latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-600-latin.woff2?v=0d1f0b8d0722') 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;
}
/* IBM Plex Mono · normal · 600 · latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-600-latin-ext.woff2?v=32057cf50dd1') 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;
}
/* Libre Franklin · italic · 300 800 · latin */
@font-face {
  font-family: 'Libre Franklin';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('/assets/fonts/libre-franklin-italic-latin.woff2?v=c9fb9170f000') 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;
}
/* Libre Franklin · italic · 300 800 · latin-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('/assets/fonts/libre-franklin-italic-latin-ext.woff2?v=f405e6460d25') 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;
}
/* Libre Franklin · normal · 300 800 · latin */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/assets/fonts/libre-franklin-normal-latin.woff2?v=52e605852c72') 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;
}
/* Libre Franklin · normal · 300 800 · latin-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/assets/fonts/libre-franklin-normal-latin-ext.woff2?v=61216d8e3efe') 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;
}
/* Primitive Engineering — color tokens.
   Sibling to zegit-zoo: paper-first (not dark-first), iron ink-navy where zegit is verified green. */
:root {
  /* Ink scale (cool, navy-cast neutrals) */
  --ink-950: oklch(0.16 0.020 262);
  --ink-900: oklch(0.22 0.022 262);
  --ink-700: oklch(0.34 0.024 262);
  --ink-500: oklch(0.48 0.022 262);
  --ink-400: oklch(0.54 0.018 262);   /* was 0.58: 4.3:1 on paper at label sizes; now 4.9:1 (text-3) */
  --ink-300: oklch(0.72 0.012 262);
  --ink-200: oklch(0.85 0.007 262);
  --ink-100: oklch(0.925 0.004 262);
  --ink-050: oklch(0.965 0.002 262);

  /* Paper */
  --paper: oklch(0.985 0.0015 262);
  --paper-raised: oklch(1 0 0);

  /* Brand: iron ink-navy ("drafting ink") */
  --pe-800: oklch(0.30 0.075 262);
  --pe-700: oklch(0.36 0.090 262);
  --pe-600: oklch(0.42 0.100 262);  /* primary */
  --pe-500: oklch(0.50 0.095 262);
  --pe-400: oklch(0.62 0.080 262);
  --pe-200: oklch(0.88 0.030 262);
  --pe-100: oklch(0.945 0.016 262);
  --pe-050: oklch(0.972 0.009 262);

  /* Semantic (minimal, shared vocabulary with zegit-zoo) */
  --ok: oklch(0.62 0.135 157);       /* zegit's verified green, quoted */
  --warn: oklch(0.72 0.13 75);
  --err: oklch(0.55 0.19 25);

  /* Product/practice accents (small dots + labels only, never fills) */
  --acc-zegit: oklch(0.62 0.135 157);   /* the product */
  --acc-consulting: oklch(0.55 0.10 45);/* practice: warm bronze */
  --acc-book: oklch(0.50 0.10 300);     /* Modern Platform Engineering: plum */
  --acc-watchsong: oklch(0.52 0.10 205);/* product: signal teal, the watch light (5.0:1 on paper) */

  /* Axiom chips (A1, §3.2) and brand badges — one token set so the ink theme can remap them */
  --axiom-ink: var(--pe-600);
  --axiom-border: var(--pe-200);
  --axiom-bg: var(--pe-050);

  /* Semantic aliases — light (default) */
  --bg: var(--paper);
  --bg-raised: var(--paper-raised);
  --bg-inset: var(--ink-050);
  --bg-hover: oklch(0.955 0.004 262);
  --text: var(--ink-900);
  --text-2: var(--ink-500);
  --text-3: var(--ink-400);
  --border: var(--ink-200);
  --hairline: var(--ink-100);
  --primary: var(--pe-600);
  --primary-hover: var(--pe-700);
  --primary-ink: oklch(0.99 0 0);
  --link: var(--pe-600);
  --focus-ring: oklch(0.50 0.095 262 / 0.45);
  --grid-line: oklch(0.42 0.10 262 / 0.07);   /* drafting-grid background lines */
  --dim-line: var(--ink-300);                  /* dimension/leader lines */
  --hatch-line: oklch(0.42 0.10 262 / 0.45);   /* section hatching (cut-through views) */
}
[data-theme="dark"], .ink {
  --bg: var(--ink-950);
  --bg-raised: oklch(0.20 0.022 262);
  --bg-inset: oklch(0.13 0.018 262);
  --bg-hover: oklch(0.25 0.024 262);
  --text: oklch(0.94 0.004 262);
  --text-2: oklch(0.70 0.012 262);
  --text-3: oklch(0.62 0.015 262);   /* was 0.56: 4.2:1 on ink; now 5.3:1 */
  --border: oklch(0.32 0.022 262);
  --hairline: oklch(0.27 0.022 262);
  --primary: oklch(0.68 0.085 262);
  --primary-hover: oklch(0.75 0.075 262);
  --primary-ink: var(--ink-950);
  --link: oklch(0.72 0.08 262);
  --grid-line: oklch(0.94 0.004 262 / 0.05);
  --dim-line: oklch(0.45 0.02 262);
  --hatch-line: oklch(0.72 0.08 262 / 0.40);
  --acc-consulting: oklch(0.74 0.10 45);   /* light values are 3.9:1 and 3.1:1 on ink */
  --acc-book: oklch(0.74 0.10 300);
  --acc-watchsong: oklch(0.74 0.10 205);   /* 8.7:1 on ink; the light value is 3.8:1 there */
  --axiom-ink: oklch(0.80 0.06 262);
  --axiom-border: var(--border);
  --axiom-bg: var(--bg-inset);
}
/* Primitive Engineering — type tokens.
   Libre Franklin (UI/headings) · IBM Plex Mono (technical thread shared with zegit-zoo). Spectral is no longer loaded: long-form and manifesto text is Libre Franklin (decision 2026-09-18; the serif read as foreign). --font-serif stays defined for print pull-quotes only. */
:root {
  --font-sans: "Libre Franklin", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-serif: "Spectral", Georgia, serif;

  --fs-display: 3.5rem;   /* lh 1.05, tracking -0.025em, wt 700 */
  --fs-h1: 2.375rem;      /* lh 1.12, tracking -0.02em, wt 700 */
  --fs-h2: 1.625rem;      /* lh 1.2,  tracking -0.015em, wt 600 */
  --fs-h3: 1.1875rem;     /* lh 1.3, wt 600 */
  --fs-body: 1rem;        /* lh 1.65 */
  --fs-small: 0.875rem;   /* lh 1.55 */
  --fs-micro: 0.75rem;
  --fs-eyebrow: 0.75rem;  /* mono, uppercase, tracking +0.14em, wt 500 */

  --lh-tight: 1.1;
  --lh-body: 1.65;
}
body { margin: 0; font-family: var(--font-sans); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text); background: var(--bg); }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
code, pre, kbd { font-family: var(--font-mono); }
/* Primitive Engineering — spacing, radii, elevation, motion. 4px grid. */
:root {
  --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; --sp-10: 128px;

  /* Radii: squarer than zegit — drafting-table restraint */
  --r-sm: 3px;   /* chips, inputs */
  --r-md: 6px;   /* buttons, cards */
  --r-lg: 10px;  /* panels, figures */

  --shadow-sm: 0 1px 2px oklch(0.22 0.022 262 / 0.06), 0 1px 1px oklch(0.22 0.022 262 / 0.04);
  --shadow-md: 0 2px 8px oklch(0.22 0.022 262 / 0.09), 0 1px 2px oklch(0.22 0.022 262 / 0.05);
  --shadow-lg: 0 8px 28px oklch(0.22 0.022 262 / 0.13);

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --t-fast: 120ms;
  --t-med: 180ms;

  --content-max: 1120px;
}
/* Primitive Engineering — drawing primitives.
   The mechanical-drawing register (ISO 129 dimensioning, ISO 1101 form and position):
   thin extension lines, a dimension line with filled arrowheads, the value breaking the line,
   a tolerance stated next to every number, datum flags, feature control frames, section
   hatching, centre lines and a title block. Imported by styles.css; tokens from tokens/.
   Use for figures, hero ornaments and measured KPI rows — never behind or inside body text. */

/* ---- Dimension line ----------------------------------------------------------------- */
.pe-dim{--dim-color:var(--dim-line);--dim-ink:var(--text);--dim-ext:18px;--dim-arrow:9px;
  position:relative;display:flex;align-items:center;width:var(--dim-w,100%);
  font-family:var(--font-mono);font-size:12px;line-height:1;color:var(--dim-ink);
  font-variant-numeric:tabular-nums;white-space:nowrap}
.pe-dim__ext{flex:none;width:1px;height:var(--dim-ext);background:var(--dim-color)}
.pe-dim__line{flex:1;position:relative;height:1px;min-width:var(--dim-arrow);background:var(--dim-color)}
.pe-dim__line.l::before,.pe-dim__line.r::after{content:"";position:absolute;top:50%;transform:translateY(-50%);
  width:0;height:0;border:solid transparent}
.pe-dim__line.l::before{left:0;border-width:2.5px var(--dim-arrow) 2.5px 0;border-right-color:var(--dim-color)}
.pe-dim__line.r::after{right:0;border-width:2.5px 0 2.5px var(--dim-arrow);border-left-color:var(--dim-color)}
.pe-dim__val{flex:none;padding:0 8px}

/* Attached to an object: extension lines reach the object edge with a 3px gap and overrun
   the dimension line by 6px. Set --dim-ext to the distance between object and dimension. */
.pe-dim--up{margin-top:var(--dim-ext)}
.pe-dim--up .pe-dim__ext{height:calc(var(--dim-ext) + 3px);position:relative;top:calc((9px - var(--dim-ext)) / 2)}
.pe-dim--down{margin-bottom:var(--dim-ext)}
.pe-dim--down .pe-dim__ext{height:calc(var(--dim-ext) + 3px);position:relative;top:calc((var(--dim-ext) - 9px) / 2)}

/* Vertical: unidirectional text (reads horizontally), arrows up and down. */
.pe-dim--v{flex-direction:column;width:auto;height:var(--dim-h,160px)}
.pe-dim--v .pe-dim__ext{width:var(--dim-ext);height:1px}
.pe-dim--v .pe-dim__line{width:1px;height:auto;min-height:var(--dim-arrow);min-width:0}
.pe-dim--v .pe-dim__line.l::before{left:50%;top:0;transform:translateX(-50%);
  border-width:0 2.5px var(--dim-arrow) 2.5px;border-color:transparent transparent var(--dim-color) transparent}
.pe-dim--v .pe-dim__line.r::after{left:50%;right:auto;top:auto;bottom:0;transform:translateX(-50%);
  border-width:var(--dim-arrow) 2.5px 0 2.5px;border-color:var(--dim-color) transparent transparent transparent}
.pe-dim--v .pe-dim__val{padding:6px 0}
.pe-dim--v.pe-dim--right{margin:0 var(--dim-ext) 0 0}
.pe-dim--v.pe-dim--right .pe-dim__ext{width:calc(var(--dim-ext) + 3px);height:1px;position:relative;top:0;left:calc((var(--dim-ext) - 9px) / 2)}
.pe-dim--v.pe-dim--left{margin:0 0 0 var(--dim-ext)}
.pe-dim--v.pe-dim--left .pe-dim__ext{width:calc(var(--dim-ext) + 3px);height:1px;position:relative;top:0;left:calc((9px - var(--dim-ext)) / 2)}

/* ---- Tolerance forms ---------------------------------------------------------------- */
.pe-tol{color:var(--text-2);margin-left:1px}
.pe-tol--dev{display:inline-flex;flex-direction:column;vertical-align:middle;font-size:0.72em;line-height:1.15;margin-left:4px;text-align:left}
.pe-basic{display:inline-block;border:1px solid var(--dim-ink,var(--text));padding:2px 6px;line-height:1.1}
.pe-ref::before{content:"("}.pe-ref::after{content:")"}
.pe-dia::before{content:"\2300\00a0"}      /* ⌀ */
.pe-num{font-family:var(--font-mono);font-variant-numeric:tabular-nums}

/* ---- Datum flag: letter frame, leader, triangle with its base on the surface ---------- */
.pe-datum{display:inline-flex;align-items:center;font-family:var(--font-mono);font-size:12px;line-height:1;color:var(--text)}
.pe-datum__id{border:1px solid var(--text);padding:3px 5px;min-width:9px;text-align:center;background:var(--bg-raised)}
.pe-datum__leader{background:var(--text)}
.pe-datum__foot{width:0;height:0;border:solid transparent}
.pe-datum--top{flex-direction:column}                       /* frame above the surface */
.pe-datum--top .pe-datum__leader{width:1px;height:10px}
.pe-datum--top .pe-datum__foot{border-width:0 5px 8px 5px;border-bottom-color:var(--text)}
.pe-datum--bottom{flex-direction:column-reverse}            /* frame below the surface */
.pe-datum--bottom .pe-datum__leader{width:1px;height:10px}
.pe-datum--bottom .pe-datum__foot{border-width:8px 5px 0 5px;border-top-color:var(--text)}
.pe-datum--left{flex-direction:row}                         /* frame left of the surface */
.pe-datum--left .pe-datum__leader{width:10px;height:1px}
.pe-datum--left .pe-datum__foot{border-width:5px 8px 5px 0;border-right-color:var(--text)}
.pe-datum--right{flex-direction:row-reverse}                /* frame right of the surface */
.pe-datum--right .pe-datum__leader{width:10px;height:1px}
.pe-datum--right .pe-datum__foot{border-width:5px 0 5px 8px;border-left-color:var(--text)}

/* ---- Feature control frame: symbol | tolerance [modifier] | datums ------------------- */
.pe-fcf{display:inline-flex;align-items:stretch;font-family:var(--font-mono);font-size:12px;line-height:1;
  color:var(--text);border:1px solid var(--text);background:var(--bg-raised);font-variant-numeric:tabular-nums}
.pe-fcf>span{display:inline-flex;align-items:center;padding:4px 7px;border-left:1px solid var(--text)}
.pe-fcf>span:first-child{border-left:0;min-width:12px;justify-content:center}
.pe-sym-flat{display:inline-block;width:12px;height:7px;border:1px solid currentColor;transform:skewX(-24deg)}
.pe-mod{display:inline-grid;place-items:center;width:1.05em;height:1.05em;margin-left:3px;border:1px solid currentColor;border-radius:50%;font-size:0.68em;line-height:1}

/* ---- Solids, sections, centre lines -------------------------------------------------- */
.pe-solid{border:1.5px solid var(--text);background:var(--bg-raised);box-sizing:border-box}
.pe-section{background-color:var(--bg-raised);
  background-image:repeating-linear-gradient(45deg,var(--hatch-line) 0 1px,transparent 1px 7px)}
.pe-centerline{height:0;border:0;background:
  repeating-linear-gradient(90deg,var(--dim-color,var(--dim-line)) 0 14px,transparent 14px 18px,var(--dim-color,var(--dim-line)) 18px 20px,transparent 20px 24px)}
.pe-centerline,.pe-centerline--v{--dim-color:var(--dim-line)}
.pe-centerline{height:1px}
.pe-centerline--v{width:1px;background:
  repeating-linear-gradient(180deg,var(--dim-color) 0 14px,transparent 14px 18px,var(--dim-color) 18px 20px,transparent 20px 24px)}
.pe-leader{position:absolute;background:var(--dim-line);height:1px}
.pe-leader--v{width:1px;height:auto}

/* ---- Drawing sheet and title block --------------------------------------------------- */
.pe-sheet{position:relative;border:1px solid var(--dim-line);outline:1px solid var(--dim-line);outline-offset:4px;
  background:var(--bg-raised);box-sizing:border-box}
.pe-sheet--grid{background-image:linear-gradient(var(--grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);background-size:24px 24px}
.pe-titleblock{display:grid;grid-template-columns:repeat(4,auto);gap:1px;width:max-content;
  background:var(--dim-line);border:1px solid var(--dim-line);
  font-family:var(--font-mono);font-size:11px;line-height:1.2;color:var(--text);font-variant-numeric:tabular-nums}
.pe-titleblock>div{background:var(--bg-raised);padding:5px 9px;display:flex;flex-direction:column;gap:3px;min-width:64px}
.pe-titleblock b{font-size:9px;font-weight:500;letter-spacing:0.12em;text-transform:uppercase;color:var(--text-3)}
.pe-titleblock .span2{grid-column:span 2}
.pe-titleblock .span4{grid-column:span 4}
.pe-note{font-family:var(--font-mono);font-size:11px;line-height:1.5;color:var(--text-2)}

/* ---- ui_kits/watchsong: page chrome ---- */
/* watchsong page chrome. Identical in every watchsong kit page; a site derives one stylesheet from it. */
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-sans)}
.wrap{max-width:var(--content-max);margin:0 auto;padding:0 40px}
.narrow{max-width:800px}
.eyebrow{font-family:var(--font-mono);font-size:12px;letter-spacing:0.14em;text-transform:uppercase;color:var(--primary);font-weight:500}
.mono{font-family:var(--font-mono);font-size:0.875em}
.ref{font-family:var(--font-mono);font-size:12px;color:var(--text-3)}
h1{font-size:var(--fs-h1);font-weight:700;letter-spacing:-0.02em;line-height:1.12;margin:14px 0 12px}
.lead{font-size:17px;color:var(--text-2);max-width:60ch;margin:0;line-height:1.65}
.btn{font-family:var(--font-sans);font-size:14px;font-weight:600;border-radius:var(--r-md);padding:7px 16px;cursor:pointer;border:1px solid transparent;display:inline-flex;align-items:center;gap:8px;text-decoration:none;transition:background var(--t-fast) var(--ease)}
.btn.sec{background:var(--bg-raised);color:var(--text);border-color:var(--border)}.btn.sec:hover{background:var(--bg-hover);text-decoration:none}
/* Severity chips. The words come from the advisory; the colour from its first word:
   CRITICAL or P0 -> err, HIGH or P1 -> warn, anything else -> neutral. */
.chip{font-family:var(--font-mono);font-size:11px;letter-spacing:0.08em;text-transform:uppercase;font-weight:500;border-radius:var(--r-sm);padding:3px 8px;display:inline-flex;align-items:center;gap:6px;background:var(--bg-inset);color:var(--text-2);white-space:nowrap}
.chip i{width:6px;height:6px;border-radius:50%;display:inline-block;background:currentColor}
.chip.err{background:oklch(0.55 0.19 25 / 0.10);color:oklch(0.48 0.17 25)}
[data-theme="dark"] .chip.err{color:oklch(0.78 0.12 25)}
.chip.warn{background:oklch(0.72 0.13 75 / 0.14);color:oklch(0.48 0.11 75)}
[data-theme="dark"] .chip.warn{color:oklch(0.80 0.12 75)}
.chip.ws{background:transparent;border:1px solid var(--border);color:var(--text-2)}
.chip.ws i{background:var(--acc-watchsong)}
/* The mark: the company's bordered bug, in the product accent, around the disclosure "!". */
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text)}
.logo:hover{text-decoration:none}
.bug{width:30px;height:30px;box-sizing:border-box;border:2px solid var(--acc-watchsong);border-radius:6px;display:grid;place-items:center;font-family:var(--font-mono);font-size:17px;font-weight:600;color:var(--acc-watchsong);flex:none}
.wm{font-weight:700;font-size:18px;letter-spacing:-0.02em}
nav.top{position:sticky;top:0;background:color-mix(in oklch,var(--bg) 85%,transparent);backdrop-filter:blur(8px);border-bottom:1px solid var(--hairline);z-index:10}
nav.top .wrap{display:flex;align-items:center;justify-content:space-between;height:60px;gap:24px}
nav.top .links{display:flex;gap:24px;align-items:center}
nav.top .links a{font-size:14px;font-weight:500;color:var(--text-2)}
nav.top .links a:hover,nav.top .links a[aria-current]{color:var(--text);text-decoration:none}
.theme-toggle{width:32px;height:32px;flex:none;display:grid;place-items:center;padding:0;cursor:pointer;background:transparent;border:1px solid var(--border);border-radius:6px;color:var(--text-2);transition:background var(--t-fast) var(--ease),color var(--t-fast) var(--ease)}
.theme-toggle:hover{background:var(--bg-hover);color:var(--text)}
.theme-toggle span{width:14px;height:14px;box-sizing:border-box;border:1.25px solid currentColor;border-radius:50%;background:linear-gradient(90deg,currentColor 0 50%,transparent 50% 100%)}
@media (forced-colors: active){.theme-toggle{display:none}}
.machine{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.machine a{font-family:var(--font-mono);font-size:12.5px;color:var(--text-2);border:1px solid var(--border);border-radius:var(--r-sm);padding:5px 10px;background:var(--bg-raised)}
.machine a:hover{color:var(--text);border-color:var(--text-3);text-decoration:none}
.machine a b{font-weight:500;color:var(--link)}
/* Advisory list: a ruled register, newest first. */
.register{list-style:none;margin:0;padding:0;border-top:1px solid var(--border)}
.register li{border-bottom:1px solid var(--border)}
.register a{display:grid;grid-template-columns:150px minmax(0,1fr) auto 104px;gap:20px;align-items:baseline;padding:18px 4px;color:var(--text);text-decoration:none;transition:background var(--t-fast) var(--ease)}
.register a:hover{background:var(--bg-hover)}
.register .id{font-family:var(--font-mono);font-size:13px;font-weight:500;color:var(--link)}
.register .t{font-weight:600;font-size:16px;line-height:1.4}
.register .d{font-family:var(--font-mono);font-size:12.5px;color:var(--text-3);text-align:right;font-variant-numeric:tabular-nums}
.empty{border:1px dashed var(--border);border-radius:var(--r-lg);padding:40px;text-align:center;color:var(--text-2)}
/* Advisory page */
.crumb{font-size:14px;color:var(--text-2)}
.meta{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;margin-top:6px;font-family:var(--font-mono);font-size:12.5px;color:var(--text-2)}
.source{margin-top:28px;background:var(--bg-inset);border-radius:var(--r-md);padding:14px 18px;font-size:14px;color:var(--text-2);line-height:1.6}
.source a{font-weight:600}
.clause{display:grid;grid-template-columns:150px minmax(0,1fr);gap:24px;padding:26px 0;border-top:1px solid var(--hairline)}
.clause h2{margin:0;font-family:var(--font-mono);font-size:12px;letter-spacing:0.12em;text-transform:uppercase;font-weight:500;color:var(--text-3);line-height:1.6}
.clause h2 span{display:block;color:var(--primary)}
.clause p{margin:0;line-height:1.65}
.clause ul{margin:0;padding-left:18px;line-height:1.65}
.clause.act .body{border-left:3px solid var(--acc-watchsong);padding-left:18px}
.affected{width:100%;border-collapse:collapse;font-size:14px}
.affected th{text-align:left;font-family:var(--font-mono);font-size:11px;letter-spacing:0.1em;text-transform:uppercase;font-weight:500;color:var(--text-3);padding:0 12px 8px 0;border-bottom:1px solid var(--border)}
.affected td{padding:10px 12px 10px 0;border-bottom:1px solid var(--hairline);vertical-align:baseline}
.affected td.v{font-family:var(--font-mono);font-size:13px;white-space:nowrap}
.st{font-family:var(--font-mono);font-size:11px;letter-spacing:0.08em;text-transform:uppercase;font-weight:500}
.st.bad{color:oklch(0.48 0.17 25)}[data-theme="dark"] .st.bad{color:oklch(0.78 0.12 25)}
.st.good{color:oklch(0.45 0.12 157)}[data-theme="dark"] .st.good{color:oklch(0.76 0.13 157)}
/* Timeline: a vertical datum line, dates in mono. */
.timeline{list-style:none;margin:0;padding:0;border-left:1px solid var(--dim-line);margin-left:4px}
.timeline li{position:relative;padding:0 0 18px 22px}
.timeline li:last-child{padding-bottom:0}
.timeline li::before{content:"";position:absolute;left:-5px;top:6px;width:9px;height:9px;box-sizing:border-box;border-radius:50%;background:var(--bg);border:2px solid var(--acc-watchsong)}
.timeline .when{font-family:var(--font-mono);font-size:12.5px;color:var(--text-2);font-variant-numeric:tabular-nums}
.timeline .what{font-family:var(--font-mono);font-size:11px;letter-spacing:0.08em;text-transform:uppercase;color:var(--text);margin-left:8px}
.timeline p{margin:4px 0 0}
/* Directory listing (CSAF requirement 14) */
.files{list-style:none;margin:0;padding:0;border-top:1px solid var(--border);font-family:var(--font-mono);font-size:14px}
.files li{border-bottom:1px solid var(--hairline)}
.files a{display:flex;gap:12px;padding:10px 4px}
.files a:hover{background:var(--bg-hover);text-decoration:none}
.files .k{color:var(--text-3);width:3ch}
/* Report form. Label above the field, hint below it. No script and no error state: the api process
   answers with the receipt page, or with its errors as plain text. "required" is written out, not starred. */
.form{display:grid;gap:24px;margin-top:32px}
.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field>label,.field>.label{font-size:13px;font-weight:500;color:var(--text)}
.req{font-family:var(--font-mono);font-size:11px;letter-spacing:0.08em;text-transform:uppercase;font-weight:500;color:var(--text-3);margin-left:8px}
.hint{font-size:12.5px;color:var(--text-3);line-height:1.55;margin:0}
.input,.select,.textarea{font-family:var(--font-sans);font-size:14px;line-height:1.5;padding:9px 12px;border-radius:var(--r-sm);border:1px solid var(--border);background:var(--bg-raised);color:var(--text);width:100%;box-sizing:border-box;transition:border-color var(--t-fast) var(--ease)}
.input:focus,.select:focus,.textarea:focus{border-color:var(--primary)}
.textarea{min-height:220px;resize:vertical;font-size:14px;line-height:1.6}
.select{cursor:pointer}
[data-theme="dark"] .form{color-scheme:dark}
.check{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.5;color:var(--text);cursor:pointer}
.check input{width:16px;height:16px;margin:3px 0 0;flex:none;accent-color:var(--primary);cursor:pointer}
.check .hint{display:block}
.pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;padding-top:8px;border-top:1px solid var(--hairline)}
.btn.pri{background:var(--primary);color:var(--primary-ink)}.btn.pri:hover{background:var(--primary-hover);text-decoration:none}
.btn:active{transform:translateY(1px)}
/* Honeypot: off-screen for people and screen readers, still in the form for bots. A class, because the CSP has no inline styles. */
.hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
footer.ink{background:var(--ink-950);color:var(--text-2);margin-top:96px;border-top:1px solid var(--hairline)}
footer.ink .wrap{padding-top:44px;padding-bottom:44px;display:flex;justify-content:space-between;align-items:flex-start;gap:32px;flex-wrap:wrap}
footer.ink .wm{color:var(--text)}
footer.ink p{margin:10px 0 0;font-size:14px;max-width:44ch;line-height:1.6}
footer.ink .fine{font-family:var(--font-mono);font-size:12px;color:var(--text-3);line-height:1.7}
:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}
@media (max-width:760px){
  .wrap{padding:0 20px}
  :root{--fs-h1:1.85rem}
  nav.top .links{gap:14px}
  nav.top .links .opt{display:none}
  .register a{grid-template-columns:1fr auto;gap:6px 12px}
  .register .t{grid-column:1 / -1;grid-row:2}
  .register .d{display:none}
  .clause{grid-template-columns:1fr;gap:10px}
  .pair{grid-template-columns:1fr}
}

/* ---- ui_kits/watchsong: inline style attributes, as classes ---- */
.ws-masthead{padding-top:72px;padding-bottom:36px} /* ui_kits/watchsong/index.html */
.ws-count{margin-top:18px} /* ui_kits/watchsong/index.html */
.ws-empty{margin-top:12px} /* ui_kits/watchsong/index.html */
.ws-advisory{padding-top:44px} /* ui_kits/watchsong/advisory.html */
.ws-advisory-id{margin-top:36px} /* ui_kits/watchsong/advisory.html */
.ws-first-clause{margin-top:28px} /* ui_kits/watchsong/advisory.html */
.ws-listing{padding-top:56px} /* ui_kits/watchsong/listing.html */
.ws-listing-dir{font-size:1.6rem;font-weight:500;letter-spacing:0} /* ui_kits/watchsong/listing.html */
.ws-listing-lead{font-size:15px;margin-bottom:28px} /* ui_kits/watchsong/listing.html */
.ws-report{padding-top:44px} /* ui_kits/watchsong/report.html */
.ws-report-eyebrow{margin-top:36px} /* ui_kits/watchsong/report.html */
