/* CyberWarMachine — v2design token proposal (hologram-v2-001)
   Companion to design/v2-spec/VISUAL-DIRECTION-V2.md. Proposal for Chris's visual review; not canon yet.

   Source of every colour: pixel samples from the five 4K reference frames
   (.hermes/plans/references/cwm-homepage-4k/01..05) over the measured #030810 field.
   Lengths are CSS px at the 1920x1080 composition the frames depict (4K frame / 2).

   Additive to the existing --cwm-* tokens. Scopes:
     :root                 raw palette, emitter, laser, geometry, type, timing
     [data-tone=...]       one phosphor family per complete pane: blue | red | white
     [data-dip]            coupled power-dip scalars (put it on the terminal root, always present)
   Derived tokens are declared on `:root, [data-tone], [data-dip]` on purpose: a var() inside a custom
   property resolves where it is declared, so anything built from the tone or dip scalars must be
   re-declared at each scope that changes them.

   Fonts: 'Oxanium ProDyn' and 'Departure Mono ProDyn' only. */

/* One event clock, five response envelopes. The host writes these each rAF during a dip
   (or uses [data-dip="auto"] below). Registered so they can animate and default to 0. */
@property --v2-dip        { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --v2-dip-emit   { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --v2-dip-light  { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --v2-dip-band   { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --v2-dip-split  { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --v2-dip-static { syntax: '<number>'; inherits: true; initial-value: 0; }

:root {
  /* ---------- 0. Field ---------- */
  --v2-field: #030810;                 /* measured exactly in all five frames */
  --v2-void: #02060b;

  /* ---------- 1. Emitter strip housing (machined rail, top -> bottom, 8px) ---------- */
  --v2-emitter-h: 8px;
  --v2-emitter-lip: #161e25;           /* 0.0-0.5px  shadow lip */
  --v2-emitter-bezel-hi: #546167;      /* 0.5-1.0px  top bezel catching light */
  --v2-emitter-bezel-hi-2: #434f55;    /* 1.0-1.5px */
  --v2-emitter-groove: #222a2f;        /* 1.5-2.0px */
  --v2-emitter-cell-glint: #384046;    /* aperture cell, top glint */
  --v2-emitter-cell: #283036;          /* aperture cell, idle body (per-cell variance +-4/255) */
  --v2-emitter-cell-low: #1e2329;      /* aperture cell, lower edge */
  --v2-emitter-cell-gap: #040608;      /* 1px gap between cells */
  --v2-emitter-cell-dip: #454343;      /* active cells during a power dip: neutral, warmth gone */
  --v2-emitter-groove-low: #14191d;    /* 5.5-6.5px */
  --v2-emitter-bezel-lo-2: #273138;    /* 6.5-7.0px */
  --v2-emitter-bezel-lo: #3e4e58;      /* 7.0-7.5px  lower bezel, cooler: reflects the field */
  --v2-emitter-shadow: #101820;        /* 7.5-8.0px */
  --v2-emitter-cell-w: 3px;
  --v2-emitter-cell-gap-w: 1px;
  --v2-emitter-cell-pitch: 4px;
  --v2-emitter-aperture-top: 2px;
  --v2-emitter-aperture-h: 3.5px;
  --v2-emitter-housing: linear-gradient(to bottom,
    var(--v2-emitter-lip) 0 .5px,
    var(--v2-emitter-bezel-hi) .5px 1px,
    var(--v2-emitter-bezel-hi-2) 1px 1.5px,
    var(--v2-emitter-groove) 1.5px 2px,
    transparent 2px 5.5px,
    var(--v2-emitter-groove-low) 5.5px 6.5px,
    var(--v2-emitter-bezel-lo-2) 6.5px 7px,
    var(--v2-emitter-bezel-lo) 7px 7.5px,
    var(--v2-emitter-shadow) 7.5px 8px);
  --v2-emitter-cell-body: linear-gradient(to bottom,
    var(--v2-emitter-cell-glint), var(--v2-emitter-cell) 40%, var(--v2-emitter-cell-low));
  --v2-emitter-cell-mask: repeating-linear-gradient(90deg,
    #000 0 var(--v2-emitter-cell-w), transparent var(--v2-emitter-cell-w) var(--v2-emitter-cell-pitch));

  /* ---------- 2. Warm incandescent energy (charge, hotspot, halo) ---------- */
  --v2-warm-core: #fffef4;             /* white-hot filament, 0-2px from centre */
  --v2-warm-cream: #fbebc1;            /* 2-6px */
  --v2-warm-gold: #f9dea4;             /* 6-14px */
  --v2-warm-amber: #e6ad6f;            /* 14-24px */
  --v2-warm-ember: #9d673e;            /* 24-36px */
  --v2-warm-ember-2: #815839;          /* 36-52px */
  --v2-warm-ember-deep: #6f4c32;       /* 52-90px, breaks up into single lit cells */
  --v2-warm-ash: #3a2b21;              /* 90-128px, last warm cells */
  --v2-warm-rest-core: #ccb088;        /* settled ember, brightest cell (frame 04) */
  --v2-warm-rest: #a08263;             /* settled ember, mean */
  --v2-warm-halo-rgb: 251 94 17;       /* light leaving the housing; reads burnt sienna on the field */
  --v2-warm-halo-near: #5b2916;        /* that light as it lands on the field, 6px from centre */
  --v2-warm-halo-mid: #371812;         /* 9px */
  --v2-warm-halo-far: #170d10;         /* 15px; gone by 24px */

  /* Intensity scale (matches emitWarmth in the stage contract) */
  --v2-warmth-off: 0;
  --v2-warmth-dip: .08;
  --v2-warmth-drain: .25;
  --v2-warmth-rest: .42;
  --v2-warmth-focus: .6;               /* a form field has focus; also waiting on the server */
  --v2-warmth-verify: .7;              /* code cells verifying */
  --v2-warmth-sweep: .85;
  --v2-warmth-peak: 1;
  --v2-warmth-restrike: .22;           /* partial re-strike inside a dip */
  --v2-warmth-overshoot: .46;          /* recovery overshoot after a dip */
  --v2-charge-breathe: .08;            /* +-8% while pockets hold at the stations */
  --v2-twinkle-level-min: .3;          /* idle cell flare, share of amber */
  --v2-twinkle-level-max: .55;
  --v2-twinkle-far-level: .25;         /* far-field cool glint */
  --v2-beam-on-scan: .5;               /* frustum strength while scanning */
  --v2-beam-on-rest: .35;

  /* Emission geometry along the strip */
  --v2-emit-w-rest: 56px;              /* settled ember width (frame 04) */
  --v2-emit-aperture-rest: 110px;      /* settled frustum origin span = emitW at rest; ember is its inner half */
  --v2-emit-x-min: .12;                /* aim clamp, fraction of strip width */
  --v2-emit-x-max: .88;
  --v2-emit-w-sweep: 160px;            /* reading / step sweep */
  --v2-emit-w-peak: 256px;             /* convergence flare width (frame 02) */
  --v2-emit-w-scan: 270px;             /* scanning, stretched toward the aim (frame 03) */
  --v2-emit-lead: .145;                /* emitX offset per unit of aim offset: (aimRel - .5) * lead * stripW */
  --v2-charge-station-l: .20;          /* edge-charge gather stations, fraction of strip width (frame 01) */
  --v2-charge-station-r: .80;
  --v2-charge-head: 64px;              /* leading extent of a charge pocket */
  --v2-charge-tail: 200px;             /* trailing comet tail, always toward the outer end */
  --v2-charge-tail-rip: 440px;         /* tail while ripping inward */
  --v2-halo-rx-tight: 64px;  --v2-halo-ry-tight: 15px;
  --v2-halo-rx-wide: 150px;  --v2-halo-ry-wide: 25px;

  /* Hotspot fill: paint in the aperture at width = emit width, masked by the cell mask. */
  --v2-hotspot-fill: linear-gradient(90deg,
    transparent 0%,
    rgb(58 43 33 / .55) 4%,
    var(--v2-warm-ember-deep) 24%,
    var(--v2-warm-ember-2) 32%,
    var(--v2-warm-ember) 38%,
    var(--v2-warm-amber) 42%,
    var(--v2-warm-gold) 45.5%,
    var(--v2-warm-cream) 48.6%,
    var(--v2-warm-core) 50%,
    var(--v2-warm-cream) 51.4%,
    var(--v2-warm-gold) 54.5%,
    var(--v2-warm-amber) 58%,
    var(--v2-warm-ember) 62%,
    var(--v2-warm-ember-2) 68%,
    var(--v2-warm-ember-deep) 76%,
    rgb(58 43 33 / .55) 96%,
    transparent 100%);
  --v2-hotspot-halo:
    radial-gradient(ellipse var(--v2-halo-rx-tight) var(--v2-halo-ry-tight) at 50% 50%,
      rgb(var(--v2-warm-halo-rgb) / .42), rgb(var(--v2-warm-halo-rgb) / .16) 55%, transparent 100%),
    radial-gradient(ellipse var(--v2-halo-rx-wide) var(--v2-halo-ry-wide) at 50% 50%,
      rgb(var(--v2-warm-halo-rgb) / .14), rgb(var(--v2-warm-halo-rgb) / .04) 60%, transparent 100%);

  /* ---------- 3. Aimable laser ---------- */
  --v2-laser-core-origin: #fdefcb;     /* leaves the emitter warm */
  --v2-laser-core-mid: #d9cfc2;        /* cools to neutral bone mid-flight */
  --v2-laser-core-tip: #f4f8ed;        /* arrives cool-white, then takes the pane phosphor */
  --v2-laser-bloom-origin: #b88a65;    /* 1px either side of the core, at the emitter */
  --v2-laser-bloom-mid: #7d7775;
  --v2-laser-fringe-cool: #669a9e;     /* constant along the beam, always on the -x side */
  --v2-laser-fringe-warm-0: #c36b4c;   /* +x side, 0%: copper */
  --v2-laser-fringe-warm-35: #a86969;  /* 35%: rose */
  --v2-laser-fringe-warm-65: #9e7f94;  /* 65%: mauve */
  --v2-laser-fringe-warm-100: #978cad; /* 100%: lilac */
  --v2-laser-core-w: 1px;
  --v2-laser-bloom-w: 3px;
  --v2-laser-fringe-w: 1px;
  --v2-laser-fringe-offset: 2px;
  --v2-laser-total-w: 5px;
  --v2-laser-core: linear-gradient(to bottom,
    var(--v2-laser-core-origin), var(--v2-laser-core-mid) 60%, var(--v2-laser-core-tip));
  --v2-laser-fringe-warm: linear-gradient(to bottom,
    var(--v2-laser-fringe-warm-0), var(--v2-laser-fringe-warm-35) 35%,
    var(--v2-laser-fringe-warm-65) 65%, var(--v2-laser-fringe-warm-100));
  --v2-spark-core: #ffffff;
  --v2-spark-cool: #a8c5be;            /* scan edge 100px to the -x side of the spark */
  --v2-spark-warm: #cbc2a2;            /* scan edge 40-100px to the +x side */
  --v2-spark-reach: 100px;
  --v2-spark-h: 2px;
  --v2-scan-edge-w: 1px;
  --v2-scan-edge-glow-h: 4px;

  /* ---------- 4. Spectral dispersion set (muted; never a neon) ----------
     One law everywhere: cool displaces to -x, warm displaces to +x. */
  --v2-spectral-cool: #669a9e;
  --v2-spectral-azure: #3f7ea6;
  --v2-spectral-copper: #c36b4c;
  --v2-spectral-rose: #a86969;
  --v2-spectral-lilac: #978cad;
  --v2-spectral-umber: #74543e;
  --v2-edge-disp-cool-rgb: 63 126 166;
  --v2-edge-disp-warm-rgb: 116 84 62;
  --v2-edge-disp-offset: .5px;
  --v2-edge-disp-cool-alpha: .22;
  --v2-edge-disp-warm-alpha: .30;
  --v2-split-cool-rgb: 96 190 208;     /* power-dip split pair */
  --v2-split-warm-rgb: 214 96 104;
  --v2-split-alpha: .42;
  --v2-split-display-max: 2px;         /* display type and frame rails */
  --v2-split-label-max: 1px;           /* HUD labels and hairline rules */

  /* ---------- 5. Channel phosphors (constants; see [data-tone] for the live family) ---------- */
  --v2-ph-blue: #adc8cf;               /* 01  cool slate-ice */
  --v2-ph-red: #c98287;                /* 02  muted oxide-crimson */
  --v2-ph-white: #d0cec5;              /* 03 / reading  bone-silver */

  /* Signal accents: desaturated, shared by all tones, never a fill, never a glass tint. */
  --v2-state-ok: #9fc1b0;              /* verdigris */
  --v2-state-warn: #d4b483;            /* emitter amber, cooled */
  --v2-state-error: #d98a84;           /* oxide */
  --v2-state-off-alpha: .55;

  /* ---------- 6. Glass material constants ---------- */
  --v2-glass-density: 73.5%;           /* bumped slightly for deeper body (~26.5% scene/beam transmission) */
  --v2-glass-blur: 1.8px;
  --v2-monument-settled-opacity: .62;
  --v2-monument-settled-saturate: 1;   /* the smoke does the desaturating; no filter needed */
  --v2-display-bloom-alpha: .09;       /* display tier only */
  --v2-fresnel-rest: .86;              /* grazing-angle rim intensity at idle */
  --v2-float-amp: 4px;                 /* gentle vertical sine-wave levitation */
  --v2-float-period-ms: 5200;          /* calm 5.2s period */

  /* ---------- 7. RGB static constants ---------- */
  --v2-static-rest: .018;              /* triad alpha at rest */
  --v2-static-dip: .042;               /* triad alpha at dip peak */
  --v2-static-pitch: 3px;
  --v2-static-r-rgb: 232 92 104;
  --v2-static-g-rgb: 104 222 150;
  --v2-static-b-rgb: 92 140 240;
  --v2-scan-alpha: .028;
  --v2-scan-pitch: 3px;
  --v2-grain-rest: .03;
  --v2-grain-dip: .06;
  --v2-grain-size: 192px;
  --v2-grain-fps: 8;
  --v2-grain-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='.6'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='1.6' intercept='-.3'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='192' height='192' filter='url%28%23n%29'/%3E%3C/svg%3E");
  --v2-band-lift: .09;                 /* phosphor veil added inside an interference band */
  --v2-band-1-y: 32.7%;  --v2-band-1-h: 3px;
  --v2-band-2-y: 44.8%;  --v2-band-2-h: 2px;
  --v2-band-3-y: 64.9%;  --v2-band-3-h: 4px;
  --v2-band-4-y: 78.5%;  --v2-band-4-h: 2px;
  --v2-band-inset: 36px;
  --v2-band-drift: 8px;
  --v2-band-jitter: 3%;                /* per-event vertical jitter of each band */
  --v2-band-tear-max: 20px;            /* stage layer only; DOM glyphs never tear */

  /* ---------- 8. Geometry ---------- */
  --v2-emitter-h: 14px;                /* closed rounded stadium phaser housing */
  --v2-strip-inset: 74px;              /* strip end to viewport edge = page gutter */
  --v2-window-inset: 16px;             /* window edge inside the strip ends */
  --v2-window-gap-top: 52px;           /* clear open beam corridor between emitter & window top */
  --v2-window-gap-bottom: 46px;        /* window bottom to footer rule */
  --v2-chamfer: clamp(12px, 1.15vw, 22px);   /* 45deg, top-right and bottom-left only */
  --v2-chamfer-clip: polygon(0 0, calc(100% - var(--v2-chamfer)) 0, 100% var(--v2-chamfer),
    100% 100%, var(--v2-chamfer) 100%, 0 calc(100% - var(--v2-chamfer)));
  --v2-frame-w: 1.5px;
  --v2-frame-inner-inset: 4px;
  --v2-frame-inner-w: 1px;
  --v2-bracket-w: 2px;
  --v2-bracket-tl-x: 75px;  --v2-bracket-tl-y: 40px;
  --v2-bracket-tr-lead: 40px;  --v2-bracket-tr-drop: 30px;
  --v2-bracket-bl-rise: 40px;
  --v2-bracket-br: 16px;
  --v2-tick-pitch: 40px;
  --v2-tick-major-every: 5;
  --v2-tick-major-pitch: calc(var(--v2-tick-pitch) * var(--v2-tick-major-every));
  --v2-tick-minor-h: 3px;
  --v2-tick-major-h: 8px;
  --v2-tick-w: 1px;
  --v2-tick-start: 42px;               /* first tick from the square corner */
  --v2-chrome-h: 55px;
  --v2-foot-h: 68px;
  --v2-content-pad-x: clamp(20px, 4.06vw, 78px);
  --v2-rail-w: clamp(280px, 22.1vw, 425px);
  --v2-rail-inset: clamp(16px, 3.7vw, 71px);
  --v2-card-gap: 10px;
  --v2-card-min-h: 96px;
  --v2-card-rail-w: 3px;               /* active card's lit left rail */
  --v2-pip-w: 22px;  --v2-pip-h: 3px;  --v2-pip-gap: 6px;
  --v2-frustum-alpha: .12;             /* fan hairlines strip -> window top corners */
  --v2-frustum-fill-alpha: .025;
  --v2-registration-w: 240px;          /* first calibration segment on the future top edge (frame 02) */

  /* ---------- 9. Type inside the terminal ---------- */
  --v2-font-display: 'Oxanium ProDyn', system-ui, sans-serif;
  --v2-font-body: 'Oxanium ProDyn', system-ui, sans-serif;
  --v2-font-hud: 'Departure Mono ProDyn', ui-monospace, monospace;
  --v2-fs-display: clamp(56px, 6.67vw, 132px);
  --v2-lh-display: 1.02;
  --v2-fw-display: 600;
  --v2-ls-display: -.02em;
  --v2-fs-lead: clamp(18px, 1.25vw, 24px);
  --v2-fs-card-title: clamp(23px, 1.56vw, 30px);
  --v2-fw-card-title: 500;
  --v2-fs-card-sub: clamp(15px, .94vw, 18px);
  --v2-fs-body: clamp(17px, 1.35vw, 20px);
  --v2-fs-field: 18px;                 /* never below 16px: no iOS zoom on focus */
  --v2-fs-code: 24px;
  --v2-fs-hud: 12px;
  --v2-fs-hud-sm: 11px;
  --v2-ls-hud: .12em;
  --v2-ls-eyebrow: .2em;
  --v2-ls-code: .04em;

  /* ---------- 10. Component metrics ---------- */
  --v2-target-min: 44px;
  --v2-control-h: 48px;
  --v2-field-pad-x: 16px;
  --v2-field-rail-h: 2px;              /* focus rail under a field */
  --v2-code-cell-w: 44px;
  --v2-code-cell-h: 56px;
  --v2-code-cell-gap: 6px;
  --v2-code-group-gap: 18px;           /* between groups of cells; holds the separator tick */
  --v2-code-group-size: 4;
  --v2-caret-w: 2px;
  --v2-caret-h: 60%;
  --v2-caret-blink-ms: 530;
  --v2-badge-h: 22px;
  --v2-badge-dot: 6px;
  --v2-table-row-h: 44px;
  --v2-reg-corner: 6px;                /* registration corners on touch targets */
  --v2-focus-w: 2px;                   /* --v2-focus itself is derived per tone, below */
  --v2-focus-offset: 4px;
  --v2-disabled-opacity: .5;

  /* ---------- 11. Timing (unitless ms, read by the host clock; CSS: calc(var(--x) * 1ms)) ---------- */
  /* (a) Startup: absolute marks from t0 */
  --v2-startup-t-glimmer: 0;
  --v2-startup-t-gather: 180;
  --v2-startup-t-rip: 620;
  --v2-startup-t-impact: 1040;
  --v2-startup-t-acquire: 1100;
  --v2-startup-t-aim: 1180;
  --v2-startup-t-scan: 1300;
  --v2-startup-t-land: 2440;
  --v2-startup-t-laser-off: 2500;
  --v2-startup-t-settled: 2900;
  --v2-startup-glimmer-ms: 180;
  --v2-startup-gather-ms: 440;
  --v2-startup-rip-ms: 420;
  --v2-startup-flash-ms: 70;
  --v2-startup-flare-hold-ms: 140;
  --v2-startup-aim-ms: 120;
  --v2-startup-scan-ms: 1140;
  --v2-startup-settle-ms: 460;
  --v2-startup-total-ms: 2900;
  --v2-startup-skip-ms: 200;           /* any input fast-forwards to settled */
  --v2-scan-sweeps: 2.5;               /* spark passes along the edge during the scan */
  --v2-monument-fade-start: .2;        /* scan progress at which the monument starts to dim */
  --v2-monument-fade-tail-ms: 200;
  --v2-line-develop-ms: 120;
  --v2-line-develop-delay-ms: 40;
  --v2-laser-on-ms: 60;
  --v2-laser-off-ms: 90;
  --v2-charge-afterglow-ms: 180;       /* cells decay behind a ripping pocket */
  --v2-charge-fade-ms: 120;            /* chargeOn 1 -> 0 after impact */
  --v2-beam-rise-ms: 300;
  --v2-spark-dwell-ms: 60;
  --v2-startup-settle-emit-ms: 380;    /* warmth, width and emitX return to rest */
  --v2-bracket-lock-ms: 140;
  --v2-tick-stagger-ms: 240;
  /* Reference poses */
  --v2-pose-01-ms: 520;
  --v2-pose-02-ms: 1120;
  --v2-pose-02-aim-x: .55;             /* calibration ray lands here on the future top edge */
  --v2-pose-02-laser: .25;
  --v2-pose-03-progress: .495;
  --v2-pose-03-aim-x: .8;
  --v2-pose-05-ms: 160;

  /* (b) Channel change (tone changes): 1000ms, readable at 760 */
  --v2-channel-ack-ms: 80;
  --v2-channel-drain-ms: 180;
  --v2-channel-drain-content-ms: 140;  /* content opacity 1 -> 0 inside the drain */
  --v2-channel-dark-ms: 60;
  --v2-channel-t-swap: 200;            /* data-tone and instrument.tone() change here, pane dark */
  --v2-channel-rescan-ms: 520;
  --v2-channel-settle-ms: 240;
  --v2-channel-total-ms: 1000;
  --v2-channel-frame-floor: .35;       /* frame light during the dark hold */
  /* (b) Reading / step sweep (same tone): 700ms */
  --v2-sweep-kick-ms: 60;
  --v2-sweep-ms: 420;
  --v2-sweep-settle-ms: 220;
  --v2-sweep-total-ms: 700;
  --v2-dwell-ms: 11000;                /* auto-advance, unchanged */
  --v2-code-verify-step-ms: 40;        /* per cell while verifying */
  --v2-session-end-ms: 900;            /* slow emitter fade; not a dip */

  /* (c) Power dip: one event, 460ms, region boundaries from T0 */
  --v2-dip-total-ms: 460;
  --v2-dip-emit-fall-end: 70;
  --v2-dip-emit-restrike-start: 150;
  --v2-dip-emit-restrike-peak: 170;
  --v2-dip-emit-restrike-end: 190;
  --v2-dip-emit-hold-end: 250;
  --v2-dip-emit-overshoot-at: 400;
  --v2-dip-beam-lag: 20;
  --v2-dip-light-start: 40;
  --v2-dip-light-fall-end: 110;
  --v2-dip-light-hold-end: 270;
  --v2-dip-light-end: 420;
  --v2-dip-band-start: 60;
  --v2-dip-band-stagger: 30;
  --v2-dip-band-life: 160;
  --v2-dip-band-end: 300;
  --v2-dip-split-start: 80;
  --v2-dip-split-peak-start: 120;
  --v2-dip-split-peak-end: 180;
  --v2-dip-split-end: 260;
  --v2-dip-static-start: 60;
  --v2-dip-static-end: 460;
  --v2-dip-light-depth: .09;           /* content light falls to .91 (measured) */
  --v2-dip-frame-depth: .28;
  --v2-dip-beam-depth: .7;

  /* Idle scheduler (all on the same event clock) */
  --v2-dip-interval-min-ms: 38000;
  --v2-dip-interval-max-ms: 95000;
  --v2-ping-interval-min-ms: 9000;
  --v2-ping-interval-max-ms: 24000;
  --v2-ping-ms: 200;
  --v2-quiet-after-transition-ms: 6000;
  --v2-quiet-after-input-ms: 2500;
  --v2-quiet-after-blur-ms: 8000;
  --v2-twinkle-interval-min-ms: 400;
  --v2-twinkle-interval-max-ms: 1300;
  --v2-twinkle-life-min-ms: 60;
  --v2-twinkle-life-max-ms: 140;
  --v2-twinkle-reach: 90px;
  --v2-twinkle-far-min-ms: 2500;
  --v2-twinkle-far-max-ms: 6000;

  /* Easing */
  --v2-ease-gather: cubic-bezier(.22, 1, .36, 1);
  --v2-ease-rip: cubic-bezier(.55, 0, .85, .35);
  --v2-ease-scan: cubic-bezier(.3, 0, .2, 1);
  --v2-ease-sweep: cubic-bezier(.4, 0, .2, 1);
  --v2-ease-settle: cubic-bezier(.22, 1, .36, 1);
  --v2-ease-dip-fall: cubic-bezier(.5, 0, 1, 1);
  --v2-ease-dip-rise: cubic-bezier(0, 0, .3, 1);
}

/* ---------- Tone families: one hue per complete pane; swap only while the pane is dark ---------- */
:root,
[data-tone="blue"] {
  --v2-ph: #adc8cf;        /* accents, rails, brackets, pips; value for instrument.tone() */
  --v2-ink: #c7d6d7;       /* display and body text */
  --v2-text-2: #9bb0b8;    /* leads, descriptions */
  --v2-text-3: #93a4af;    /* HUD meta, indices */
  --v2-glass-a: #10252f;   /* smoke, -x side */
  --v2-glass-mid: #081722; /* smoke, deepest, behind the monument */
  --v2-glass-b: #1b1c27;   /* smoke, +x side: dispersion shifts it mauve */
  --v2-frame-far: #80808f; /* frame on the +x side */
}
[data-tone="red"] {
  --v2-ph: #c98287;
  --v2-ink: #e0cdca;
  --v2-text-2: #bfa3a3;
  --v2-text-3: #ad9296;
  --v2-glass-a: #281817;
  --v2-glass-mid: #130d11;
  --v2-glass-b: #1a1a26;
  --v2-frame-far: #8a7a8c;
}
[data-tone="white"] {
  --v2-ph: #d0cec5;
  --v2-ink: #dedcd4;
  --v2-text-2: #b6b5ae;
  --v2-text-3: #9f9f9a;
  --v2-glass-a: #212221;
  --v2-glass-mid: #111214;
  --v2-glass-b: #181c25;
  --v2-frame-far: #8a8d97;
}

/* ---------- Derived tokens: re-evaluated wherever tone or dip changes ---------- */
:root,
[data-tone],
[data-dip] {
  /* Phosphor strength ladder (strength = share of --v2-ph over the glass) */
  --v2-bracket: color-mix(in srgb, var(--v2-ph) 88%, #fff);
  --v2-border-active: color-mix(in srgb, var(--v2-ph) 68%, transparent);
  --v2-frame-near: color-mix(in srgb, var(--v2-ph) 62%, transparent);
  --v2-frame: color-mix(in srgb, var(--v2-ph) 45%, transparent);
  --v2-frame-faint: color-mix(in srgb, var(--v2-ph) 30%, transparent);
  --v2-pip-idle: color-mix(in srgb, var(--v2-ph) 35%, transparent);
  --v2-border-idle: color-mix(in srgb, var(--v2-ph) 22%, transparent);
  --v2-rule: color-mix(in srgb, var(--v2-ph) 18%, transparent);
  --v2-rule-faint: color-mix(in srgb, var(--v2-ph) 13%, transparent);
  --v2-hairline: color-mix(in srgb, var(--v2-ph) 12%, transparent);
  --v2-fill-press: color-mix(in srgb, var(--v2-ph) 14%, transparent);
  --v2-fill-active: color-mix(in srgb, var(--v2-ph) 5%, transparent);
  --v2-fill-hover: color-mix(in srgb, var(--v2-ph) 4%, transparent);
  --v2-fill-chrome: color-mix(in srgb, var(--v2-ph) 3%, transparent);
  --v2-fill-idle: color-mix(in srgb, var(--v2-ph) 2%, transparent);
  --v2-frame-stroke: linear-gradient(90deg,
    var(--v2-frame-near) 0%, var(--v2-frame) 22%, var(--v2-frame-faint) 52%,
    color-mix(in srgb, var(--v2-frame-far) 90%, transparent) 100%);
  --v2-laser-tip: color-mix(in srgb, var(--v2-ph) 35%, #fff);
  --v2-scan-edge: color-mix(in srgb, var(--v2-ph) 50%, transparent);
  --v2-scan-edge-glow: linear-gradient(to top, color-mix(in srgb, var(--v2-ph) 14%, transparent), transparent);
  --v2-frustum-edge: color-mix(in srgb, var(--v2-ph) calc(var(--v2-frustum-alpha) * 100%), transparent);
  --v2-display-bloom: 0 0 18px color-mix(in srgb, var(--v2-ph) calc(var(--v2-display-bloom-alpha) * 100%), transparent);
  --v2-focus: var(--v2-focus-w) solid var(--v2-ink);

  /* Smoked glass: one background, no filter required. The stops are pre-compensated for the
     +5.6/255 that the three static layers add, so glass + static lands on the sampled values. */
  --v2-glass-smoke: linear-gradient(90deg,
    color-mix(in srgb, var(--v2-glass-a) var(--v2-glass-density), transparent) 0%,
    color-mix(in srgb, var(--v2-glass-mid) var(--v2-glass-density), transparent) 46%,
    color-mix(in srgb, var(--v2-glass-mid) var(--v2-glass-density), transparent) 60%,
    color-mix(in srgb, var(--v2-glass-b) var(--v2-glass-density), transparent) 100%);
  --v2-glass-backdrop: blur(var(--v2-glass-blur));

  /* Rulers */
  --v2-ruler-minor: repeating-linear-gradient(90deg,
    var(--v2-frame) 0 var(--v2-tick-w), transparent var(--v2-tick-w) var(--v2-tick-pitch));
  --v2-ruler-major: repeating-linear-gradient(90deg,
    var(--v2-frame-near) 0 var(--v2-tick-w), transparent var(--v2-tick-w) var(--v2-tick-major-pitch));

  /* Resting edge dispersion for frame strokes and rails (never for text) */
  --v2-edge-disp:
    calc(var(--v2-edge-disp-offset) * -1) 0 0 rgb(var(--v2-edge-disp-cool-rgb) / var(--v2-edge-disp-cool-alpha)),
    var(--v2-edge-disp-offset) 0 0 rgb(var(--v2-edge-disp-warm-rgb) / var(--v2-edge-disp-warm-alpha));

  /* Dip response */
  --v2-light: calc(1 - var(--v2-dip-light-depth) * var(--v2-dip-light));
  --v2-frame-light: calc(1 - var(--v2-dip-frame-depth) * var(--v2-dip-light));
  --v2-emit-warmth-now: calc(var(--v2-warmth-rest) - (var(--v2-warmth-rest) - var(--v2-warmth-dip)) * var(--v2-dip-emit));
  --v2-static-alpha: calc(var(--v2-static-rest) + (var(--v2-static-dip) - var(--v2-static-rest)) * var(--v2-dip-static));
  --v2-grain-alpha: calc(var(--v2-grain-rest) + (var(--v2-grain-dip) - var(--v2-grain-rest)) * var(--v2-dip-static));
  --v2-band-alpha: calc(var(--v2-band-lift) * var(--v2-dip-band));
  --v2-split-display-x: calc(var(--v2-split-display-max) * var(--v2-dip-split));
  --v2-split-label-x: calc(var(--v2-split-label-max) * var(--v2-dip-split));
  --v2-split-alpha-now: calc(var(--v2-split-alpha) * var(--v2-dip-split));

  /* Exactly `none` in effect at rest: zero offset and zero alpha. */
  --v2-text-split-display:
    calc(var(--v2-split-display-x) * -1) 0 0 rgb(var(--v2-split-cool-rgb) / var(--v2-split-alpha-now)),
    var(--v2-split-display-x) 0 0 rgb(var(--v2-split-warm-rgb) / var(--v2-split-alpha-now));
  --v2-text-split-label:
    calc(var(--v2-split-label-x) * -1) 0 0 rgb(var(--v2-split-cool-rgb) / var(--v2-split-alpha-now)),
    var(--v2-split-label-x) 0 0 rgb(var(--v2-split-warm-rgb) / var(--v2-split-alpha-now));
  --v2-rule-split-v:   /* vertical strokes: rails, frame sides */
    calc(var(--v2-split-display-x) * -1) 0 0 rgb(var(--v2-split-cool-rgb) / var(--v2-split-alpha-now)),
    var(--v2-split-display-x) 0 0 rgb(var(--v2-split-warm-rgb) / var(--v2-split-alpha-now));
  --v2-rule-split-h:   /* horizontal hairlines */
    0 calc(var(--v2-split-label-x) * -1) 0 rgb(var(--v2-split-cool-rgb) / var(--v2-split-alpha-now)),
    0 var(--v2-split-label-x) 0 rgb(var(--v2-split-warm-rgb) / var(--v2-split-alpha-now));

  /* RGB static: three layers, all behind the content layer */
  --v2-static-triad: repeating-linear-gradient(90deg,
    rgb(var(--v2-static-r-rgb) / var(--v2-static-alpha)) 0 1px,
    rgb(var(--v2-static-g-rgb) / var(--v2-static-alpha)) 1px 2px,
    rgb(var(--v2-static-b-rgb) / var(--v2-static-alpha)) 2px var(--v2-static-pitch));
  --v2-static-scan: repeating-linear-gradient(to bottom,
    transparent 0 calc(var(--v2-scan-pitch) - 1px),
    color-mix(in srgb, var(--v2-ph) calc(var(--v2-scan-alpha) * 100%), transparent) calc(var(--v2-scan-pitch) - 1px) var(--v2-scan-pitch));

  /* Interference bands, DOM fallback when the stage is unavailable (stage draws them otherwise).
     Use as: background: var(--v2-dip-bands); */
  --v2-band-color: color-mix(in srgb, var(--v2-ph) calc(var(--v2-band-alpha) * 100%), transparent);
  --v2-dip-bands:
    repeating-linear-gradient(90deg, var(--v2-band-color) 0 220px, transparent 220px 274px)
      var(--v2-band-inset) var(--v2-band-1-y) / calc(100% - 2 * var(--v2-band-inset)) var(--v2-band-1-h) no-repeat,
    repeating-linear-gradient(90deg, var(--v2-band-color) 0 310px, transparent 310px 352px)
      var(--v2-band-inset) var(--v2-band-2-y) / calc(100% - 2 * var(--v2-band-inset)) var(--v2-band-2-h) no-repeat,
    repeating-linear-gradient(90deg, transparent 0 48px, var(--v2-band-color) 48px 236px)
      var(--v2-band-inset) var(--v2-band-3-y) / calc(52% - var(--v2-band-inset)) var(--v2-band-3-h) no-repeat,
    repeating-linear-gradient(90deg, var(--v2-band-color) 0 180px, transparent 180px 212px)
      var(--v2-band-inset) var(--v2-band-4-y) / calc(100% - 2 * var(--v2-band-inset)) var(--v2-band-4-h) no-repeat;
}

/* ---------- Power-dip scopes ----------
   data-dip="off"   rest. Keep the attribute present so the derived block evaluates here.
   data-dip="on"    host-driven: journey.mjs writes the five --v2-dip-* scalars inline each rAF
                    from one event clock, using the --v2-dip-* boundary tokens above.
   data-dip="auto"  CSS-driven: same envelopes as keyframes, one shared 460ms duration.
   data-dip="hold"  inspection pose (frame 05), everything at peak. */
[data-dip="off"] {
  --v2-dip: 0; --v2-dip-emit: 0; --v2-dip-light: 0; --v2-dip-band: 0; --v2-dip-split: 0; --v2-dip-static: 0;
}
[data-dip="hold"] {
  --v2-dip: 1; --v2-dip-emit: 1; --v2-dip-light: 1; --v2-dip-band: 1; --v2-dip-split: 1; --v2-dip-static: 1;
}
[data-dip="auto"] {
  animation:
    v2-dip 460ms linear 1 both,
    v2-dip-emit 460ms linear 1 both,
    v2-dip-light 460ms linear 1 both,
    v2-dip-band 460ms linear 1 both,
    v2-dip-split 460ms linear 1 both,
    v2-dip-static 460ms linear 1 both;
}
/* Percentages are the ms boundaries above over 460ms. */
@keyframes v2-dip        { 0% { --v2-dip: 0 } 15.2% { --v2-dip: 1 } 54.3% { --v2-dip: 1 } 100% { --v2-dip: 0 } }
@keyframes v2-dip-emit   { 0% { --v2-dip-emit: 0 } 15.2% { --v2-dip-emit: 1 } 32.6% { --v2-dip-emit: 1 }
                           37% { --v2-dip-emit: .59 } 41.3% { --v2-dip-emit: 1 } 54.3% { --v2-dip-emit: 1 }
                           87% { --v2-dip-emit: -.12 } 100% { --v2-dip-emit: 0 } }
@keyframes v2-dip-light  { 0%, 8.7% { --v2-dip-light: 0 } 23.9% { --v2-dip-light: 1 } 58.7% { --v2-dip-light: 1 }
                           91.3%, 100% { --v2-dip-light: 0 } }
@keyframes v2-dip-band   { 0%, 13% { --v2-dip-band: 0 } 17.4% { --v2-dip-band: 1 } 56.5% { --v2-dip-band: 1 }
                           65.2%, 100% { --v2-dip-band: 0 } }
@keyframes v2-dip-split  { 0%, 17.4% { --v2-dip-split: 0 } 26.1% { --v2-dip-split: 1 } 39.1% { --v2-dip-split: 1 }
                           56.5%, 100% { --v2-dip-split: 0 } }
@keyframes v2-dip-static { 0%, 13% { --v2-dip-static: 0 } 21.7% { --v2-dip-static: 1 } 65.2% { --v2-dip-static: 1 }
                           100% { --v2-dip-static: 0 } }

/* ---------- Responsive geometry ---------- */
@media (max-width: 1439px) {
  :root { --v2-strip-inset: 40px; --v2-window-inset: 12px; --v2-window-gap-top: 42px; --v2-window-gap-bottom: 30px; }
}
@media (max-width: 1023px) {
  :root {
    --v2-strip-inset: 24px; --v2-window-inset: 8px; --v2-window-gap-top: 34px; --v2-window-gap-bottom: 24px;
    --v2-chrome-h: 48px; --v2-foot-h: 56px; --v2-tick-pitch: 32px;
    --v2-bracket-tl-x: 56px; --v2-bracket-tl-y: 32px;
    --v2-emit-w-peak: 200px; --v2-emit-w-scan: 212px; --v2-charge-tail: 150px; --v2-charge-tail-rip: 320px;
  }
}
@media (max-width: 767px) {
  :root {
    --v2-strip-inset: 16px; --v2-window-inset: 0px; --v2-window-gap-top: 26px; --v2-window-gap-bottom: 16px;
    --v2-chamfer: 12px; --v2-chrome-h: 44px; --v2-foot-h: 52px; --v2-tick-pitch: 24px;
    --v2-bracket-tl-x: 40px; --v2-bracket-tl-y: 24px; --v2-bracket-tr-lead: 24px; --v2-bracket-tr-drop: 20px;
    --v2-bracket-bl-rise: 24px;
    --v2-emit-w-rest: 40px; --v2-emit-w-peak: 132px; --v2-emit-w-scan: 140px;
    --v2-charge-head: 40px; --v2-charge-tail: 96px; --v2-charge-tail-rip: 200px;
    --v2-halo-rx-tight: 40px; --v2-halo-rx-wide: 92px; --v2-spark-reach: 56px;
    --v2-glass-blur: 1px; --v2-glass-density: 78.5%;     /* slightly deeper body on phones */
    --v2-grain-rest: 0; --v2-grain-dip: .04;
    --v2-band-inset: 12px; --v2-band-tear-max: 10px;
    --v2-code-cell-w: 36px; --v2-code-cell-h: 48px; --v2-code-cell-gap: 4px; --v2-code-group-gap: 12px; --v2-fs-code: 20px;
    --v2-scan-sweeps: 1.5;
  }
}

/* ---------- Motion preference: the settled state is the whole design ---------- */
@media (prefers-reduced-motion: reduce) {
  :root, [data-tone], [data-dip] {
    --v2-dip: 0; --v2-dip-emit: 0; --v2-dip-light: 0; --v2-dip-band: 0; --v2-dip-split: 0; --v2-dip-static: 0;
    --v2-grain-fps: 0;
  }
  [data-dip="auto"] { animation: none; }
  :root {
    --v2-startup-total-ms: 200; --v2-channel-total-ms: 200; --v2-sweep-total-ms: 160;
  }
}

/* ---------- Legacy bridge ----------
   Points the three approved projection hues at their v2 phosphors so existing --cwm-* rules follow.
   Remove if the integration pass migrates selectors explicitly instead. */
:root {
  --cwm-phosphor-blue: var(--v2-ph-blue);
  --cwm-phosphor-red: var(--v2-ph-red);
  --cwm-phosphor-white: var(--v2-ph-white);
}

/* ---------- 14. Locked v2design shell, depth stack, phaser capsule & idle holographic tokens ----------
   Chris-locked v2f ("Lock it, before I get it pregnant.", 2026-12-04).
   Do NOT alter any value in this file without an explicit Chris approval receipt in design/approvals/. */
:root {
  /* Physical Z-depth law: Ground (-2) -> Monument (-1) -> Emitter Strip (1) -> Beam/Rive (2) -> Tears (3) -> Hologram Window (4) */
  --v2-z-ground: -2;
  --v2-z-monument: -1;
  --v2-z-emitter: 1;
  --v2-z-beam: 2;
  --v2-z-tears: 3;
  --v2-z-window: 4;

  /* Shell & stage bounds */
  --v2-shell-pad-x: clamp(16px, 3.85vw, 74px);
  --v2-masthead-h: 96px;
  --v2-masthead-h-wide: 104px;
  --v2-masthead-h-phone: 80px;
  --v2-hero-min-h: 620px;
  --v2-hero-min-h-wide: 680px;
  --v2-hero-min-h-phone: 760px;
  --v2-window-max-w: 1740px;
  --v2-footer-min-h: 74px;
  --v2-footer-min-h-phone: 80px;

  /* Shared-ground monument blend (002-shared-ground centered authority) */
  --v2-ground-spill: #102742;
  --v2-ground-haze: #09182a;
  --v2-monument-mask-x: linear-gradient(to right, transparent 0%, #000 22% 78%, transparent 100%);
  --v2-monument-mask-y: linear-gradient(to bottom, transparent 0%, #000 4% 88%, transparent 100%);
  --v2-monument-mask-phone-x: linear-gradient(to right, transparent 0%, #000 18% 82%, transparent 100%);
  --v2-monument-mask-phone-y: linear-gradient(to bottom, transparent 0%, #000 8% 87%, transparent 100%);

  /* Closed stadium Enterprise phaser emitter assembly */
  --v2-emitter-cap-w: 28px;
  --v2-emitter-track-inset: 27px;
  --v2-emitter-radius: 999px;
  --v2-emitter-contact-shadow: 0 2px 6px rgba(0,0,0,.72);
  --v2-emitter-track-bg:
    linear-gradient(180deg,rgba(1,3,6,.95) 0 1px,transparent 1px 13px,rgba(150,180,204,.24) 13px 14px),
    repeating-linear-gradient(104deg,#04070c 0 1.25px,transparent 1.25px 4px) 0 1px/100% 2.6px no-repeat,
    repeating-linear-gradient(76deg,#04070c 0 1.25px,transparent 1.25px 4px) 0 10.4px/100% 2.6px no-repeat,
    linear-gradient(180deg,transparent 0 3.6px,#35434f 3.6px 4.4px,transparent 4.4px 6.55px,#26323c 6.55px 7.45px,transparent 7.45px 9.6px,#35434f 9.6px 10.4px,transparent 10.4px),
    repeating-linear-gradient(90deg,#121a23 0 3.4px,#04070c 3.4px 4.6px) 0 4.6px/100% 1.85px no-repeat,
    repeating-linear-gradient(90deg,#121a23 0 3.4px,#04070c 3.4px 4.6px) 0 7.55px/100% 1.85px no-repeat,
    linear-gradient(180deg,#050910 0%,#1c2732 24%,#04070c 30% 70%,#19232e 78%,#070c13 100%);

  /* Foreground holographic frame & optical sheen */
  --v2-hf-outer-w: 1.25;
  --v2-hf-outer-alpha: .64;
  --v2-hf-inner-w: 1;
  --v2-hf-inner-alpha: .20;
  --v2-hf-bracket-w: 1.8;
  --v2-hf-bracket-alpha: .86;
  --v2-hf-tick-major-alpha: .36;
  --v2-hf-tick-minor-alpha: .22;
  --v2-additive-alpha: .72;
  --v2-additive-plus-alpha: .55;

  /* Motion & cadence constants (locked v2f) */
  --v2-scan-passes-desktop: 9.5;
  --v2-scan-passes-phone: 7.5;
  --v2-rescan-passes-desktop: 4.5;
  --v2-rescan-passes-phone: 3.5;
  --v2-microglitch-duration-ms: 130;
  --v2-microglitch-min-ms: 4800;
  --v2-microglitch-span-ms: 4400;

  /* ---------- Candidate layout bridge aliases ---------- */
  --cwm-chamfer: var(--v2-chamfer);
  --cwm-window-max: var(--v2-window-max-w);
  --cwm-window-breathe-top: var(--v2-window-gap-top);
  --cwm-window-breathe-bottom: var(--v2-window-gap-bottom);
  --cwm-ground-spill: var(--v2-ground-spill);
  --cwm-ground-haze: var(--v2-ground-haze);
  --cwm-window-title: var(--v2-fs-display);
  --cwm-selection-title: var(--v2-fs-card-title);
  --cwm-window-chrome-h: var(--v2-chrome-h);
  --cwm-window-foot-h: var(--v2-foot-h);
}

/* ---------- 15. Reusable v2design UI primitives (Order, Register with Code & Client Portal) ----------
   Scoped strictly under .v2-* so existing routes incur zero style cascade changes. */
.v2-surface {
  border: 1px solid var(--v2-border-idle);
  background: var(--v2-fill-idle);
  color: var(--v2-ink);
  padding: 20px 24px;
}
.v2-surface--active {
  border-color: var(--v2-border-active);
  background: var(--v2-fill-active);
  box-shadow: inset var(--v2-card-rail-w) 0 var(--v2-ph);
}
.v2-field {
  display: grid;
  gap: 8px;
}
.v2-label {
  font: var(--v2-fs-hud-sm)/1.3 var(--cwm-font-hud);
  letter-spacing: var(--v2-ls-eyebrow);
  text-transform: uppercase;
  color: var(--v2-text-3);
}
.v2-input {
  min-height: var(--v2-input-h);
  padding: 0 var(--v2-input-pad-x);
  font: 400 var(--v2-fs-input)/1.3 var(--cwm-font-body);
  color: var(--v2-ink);
  background: var(--v2-fill-input);
  border: 1px solid var(--v2-border-idle);
  border-radius: 0;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.v2-input::placeholder { color: var(--v2-text-placeholder); }
.v2-input:hover { border-color: var(--v2-frame-near); }
.v2-input:focus-visible {
  outline: var(--cwm-focus);
  outline-offset: 2px;
  border-color: var(--v2-border-focus);
  background: var(--v2-fill-input-focus);
}
.v2-code-groups {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--v2-code-group-gap);
}
.v2-code-group {
  display: inline-flex;
  gap: var(--v2-code-cell-gap);
}
.v2-code-cell {
  width: var(--v2-code-cell-w);
  height: var(--v2-code-cell-h);
  padding: 0;
  text-align: center;
  text-transform: uppercase;
  font: 400 var(--v2-fs-code)/1 var(--cwm-font-hud);
  letter-spacing: 0;
  color: var(--v2-ink);
  background: var(--v2-fill-input);
  border: 1px solid var(--v2-border-idle);
  border-radius: 0;
}
.v2-code-cell:focus-visible {
  outline: var(--cwm-focus);
  outline-offset: 2px;
  border-color: var(--v2-border-focus);
  background: var(--v2-fill-input-focus);
  box-shadow: inset 0 -2px 0 var(--v2-ph);
}
.v2-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  font: var(--v2-fs-hud-sm)/1.2 var(--cwm-font-hud);
  letter-spacing: var(--v2-ls-hud);
  text-transform: uppercase;
  color: var(--v2-ink);
  border-left: 2px solid var(--v2-state-run);
  background: var(--v2-fill-idle);
}
.v2-status[data-state="verified"] { border-left-color: var(--v2-state-ok); }
.v2-status[data-state="pending"]  { border-left-color: var(--v2-state-warn); border-left-style: dashed; }
.v2-status[data-state="fault"]    { border-left-color: var(--v2-state-err); }
.v2-table {
  width: 100%;
  border-collapse: collapse;
  font: 400 var(--v2-fs-card-sub)/1.4 var(--cwm-font-body);
  color: var(--v2-text-2);
}
.v2-table th {
  text-align: left;
  padding: 10px 14px;
  font: var(--v2-fs-hud-sm)/1.2 var(--cwm-font-hud);
  letter-spacing: var(--v2-ls-hud);
  text-transform: uppercase;
  color: var(--v2-text-3);
  border-bottom: 1px solid var(--v2-rule);
}
.v2-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--v2-rule-faint);
  color: var(--v2-ink);
}
