/* =====================================================================
   THE DESIGN LANGUAGE, v7 — css/ds.css.
   docs/DESIGN.md is its reasoning, kit.html its proof, js/ui/ds/ its
   behaviour. Read DESIGN.md before adding a line here.

   css/main.css is the Instrument system every screen was built in: the
   five base channels, the two grounds, the plate / well / pressed switch
   and the control family. This file does not replace one line of it. It is
   the layer a v7 screen is BUILT FROM: the measures that were never written
   down (space, heights, radii, the type scale), the surfaces the recent
   designs added (the tile, the dark answer slab, the floating plate, the
   sheet), the semantic colours the brief asks for by name (P&L, long and
   short, armed, frozen, stale, off the air, low power, maintenance), and
   one class per component, every one of them in every state.

   THREE RULES THAT HOLD FOR EVERY LINE BELOW.
   · A colour is a channel at an alpha or a token, never a literal. The
     literals live in the two token blocks, where the literal IS the
     statement, and every token a matt-black panel has an opinion about has
     its twin in the dark block (docs/contracts/grounds.md).
   · Only transform and opacity move. A control's press and its "on" face
     ride on ::before / ::after and animate their OPACITY; a bar is a
     transform; nothing that reflows is transitioned. The two layout morphs
     in this file (a grid track 0fr ⇄ 1fr, the dock's width) are named where
     they are used, and each is out of the flow, contained, and moved by a
     hand, never by data.
   · A component states what it IS; `.ds-c` states how it BEHAVES. Every
     clickable object here carries `.ds-c` (the v7 control family) and none
     of them re-declares a transition of its own.

   Class names are `ds-*`, variants are data attributes (`data-size`,
   `data-tone`, `data-face`, `data-kind`), so nothing here can collide with
   the rules of css/main.css. States are classes (`.on`, `.bad`, `.drag`,
   `.hl`) or ARIA (`aria-checked`, `aria-selected`, `aria-disabled`,
   `aria-busy`); `.is-hover` / `.is-press` / `.is-focus` force a state for
   kit.html, which shows every component in every state with the production
   rules rather than a copy of them.
   ===================================================================== */

:root{
  /* ---- SPACE — a 2px grid, named by value: a spacing token IS its measure,
     and naming it so lets a review grep for anything off the grid. `--inset`
     is not a gap: it is the standoff of a face inside a well, a constant of
     the material (3px, so a 5px face radius sits concentric in an 8px well). */
  --sp2:2px; --sp4:4px; --sp6:6px; --sp8:8px; --sp10:10px; --sp12:12px; --sp14:14px;
  --sp16:16px; --sp18:18px; --sp20:20px; --sp22:22px; --sp24:24px; --sp28:28px;
  --sp32:32px; --sp40:40px; --sp48:48px;
  --inset:3px;

  /* ---- HEIGHTS — every control and row stands on one of these. A row of
     controls shares ONE height; mixing two in a row is the bug. ---- */
  --h14:14px;   /* a micro tag, a keycap hint on a key's corner */
  --h18:18px;   /* micro: a row's own actions, an inline stepper, a keycap */
  --h22:22px;   /* small: chips, a card head's keys, pills, footer readouts */
  --h26:26px;   /* compact: banks and fields inside a dense panel */
  --h28:28px;   /* reading, small: a card's head keys and its one action */
  --h30:30px;   /* standard: the bar (--hdrH), toolbars, the armed notice */
  --h34:34px;   /* comfortable: the ticket's fields and tabs, reading rows */
  --h38:38px;   /* a dock's row, a list row with two lines */
  --h46:46px;   /* a dialog's buttons, a search field */
  --h50:50px;   /* the dock's bar */
  --h58:58px;   /* the submit: one per surface */

  /* ---- RADII — by what the thing is. Concentric inside a well: an inner
     radius is the outer one minus the inset, and never under --r3. ---- */
  --r2:2px;     /* a bar inside a meter, a tick, the underline */
  --r3:3px;     /* tracks, meters, inner faces of a small bank */
  --r4:4px;     /* tags, small keycaps, a 16px checkbox */
  --r5:5px;     /* faces in a bank (8 − 3), chips, 22px keys */
  --r6:6px;     /* a 20px checkbox, a reading tag */
  --r8:8px;     /* controls 26–34: buttons, banks, fields, rows */
  --r10:10px;   /* reading controls 34–40, a bank that holds 34px faces */
  --r12:12px;   /* plates: a wall card, a panel, the ticket, a menu, the submit, a 46px button */
  --r14:14px;   /* a tile inside a page card */
  --r16:16px;   /* slabs: a slab popover, a confirm, a notice */
  --r18:18px;   /* the dock, a toast, a sheet */
  --r20:20px;   /* a page card (the Portfolio's) */
  --r24:24px;   /* a dialog */
  --rPill:999px;
  /* ---- THE CONCENTRIC RULE (v9 · radius-concentric; contracts/components.md → CONCENTRIC CORNERS). A nested corner is
     its container's minus the padding between them, and never under 0: the inner radius is DERIVED, so it holds by
     construction (tools/check-radius.mjs reads it). A plate that keeps its corners pads its content at least its radius. ---- */
  --rPlate:16px;   /* a pane, the desk, the head, the ticket, the bottom panel */
  --padBar:8px;    /* a bar's inset inside its plate: its controls stand --rBar */
  --rBar:calc(var(--rPlate) - var(--padBar));            /* 8: the name box, the tools, a bar's key */
  --padPane:2px;   /* a chart well inside the desk */
  --rPane:calc(var(--rPlate) - var(--padPane));          /* 14: the chart's well */
  --padCorner:6px; /* a key standing in a pane's corner */
  --rCorner:calc(var(--rPane) - var(--padCorner));       /* 8: the chart's fold key */
  --rBank:10px;    /* a bank (segmented control, tabs) at 26 and up */
  --padBank:3px;
  --rFace:calc(var(--rBank) - var(--padBank));           /* 7: a face and its lit thumb */
  --rBankSm:8px;   /* a bank at 22 */
  --padBankSm:2px;
  --rFaceSm:calc(var(--rBankSm) - var(--padBankSm));     /* 6 */
  --rTile:12px;    /* a tile that holds a miniature (the watchlist's folds) */
  --padTile:4px;
  --rIn:calc(var(--rTile) - var(--padTile));             /* 8: the miniature */
  --rIn2:calc(var(--rIn) - var(--padTile));              /* 4: its rows */
  --rWell:8px;     /* a well that holds a preview (the layouts') */
  --padWell:4px;
  --padMenu:calc(var(--sp12) - var(--sp8) + var(--inset)); /* 7: a menu row from its popover's edge */
  --rMenuIn:calc(var(--rPlate) - var(--padMenu));        /* 9: a menu row and its lit plate */
  --padMenuSlab:calc(var(--sp16) - var(--sp8) + var(--inset)); /* 11: a menu row from a slab popover's edge (its padding is 16) */
  --rMenuInSlab:calc(var(--r16) - var(--padMenuSlab));  /* 5: a slab popover's menu row and its lit plate */
  --padSw:var(--sp6);                                    /* the switcher popover's padding */
  --rSwIn:calc(var(--rPlate) - var(--padSw));            /* 10: the switcher's field and its rows */
  --rWellIn:calc(var(--rWell) - var(--padWell));         /* 4 */

  /* ---- THE TYPE SCALE (docs/DESIGN.md → Typography; js/ui/ds/type.js holds the same roles for a canvas).
     `--f*` is the font shorthand, `--tr*` the tracking it is set at. Words in Inter, every figure in
     JetBrains Mono (its zero plain), and every digit inside words too ("Y Digits", first in --sans).
     The roles: LABEL 500 11 · CONTROL 500 12 · NAME 600 12 · BODY 400 12/13 · TITLE 600 13 · HEADING
     600 15 · PAGE 600 22/28; AXIS 500 10 · CHIP 500 11 · ROW 500/600 12 · FIELD 500 15 · PRICE 500 22 ·
     TOTAL 500 28. The legends were tracked capitals (Archivo 700, 7–9.5 px, +.14–.18em) until
     v9 · type-language: the names stay, their words are sentence case now, and no word is under 11 px.
     45 sizes had grown one half-pixel at a time; a new surface takes one of these. ---- */
  --fLegXs:500 11px/1 var(--sans);     --trLegXs:0;   /* a legend in a dense cell, a pill's side */
  --fLegSm:500 11px/1 var(--sans);   --trLegSm:0;   /* a tag, a field's legend, a dock stat */
  --fLeg:500 11px/1 var(--sans);       --trLeg:0;     /* THE legend: above a value */
  --fEyebrow:600 12px/1 var(--sans); --trEyebrow:0; /* a section's name */
  --fCtlSm:600 12px/1 var(--sans);   --trCtlSm:0;   /* a small control's label, a legend bank */
  --fCtl:600 12px/1 var(--sans);     --trCtl:0;     /* a control's label */
  --trTab:0;                                         /* a tab names a PLACE */
  --fCta:600 13px/1 var(--sans);      --trCta:0;     /* the submit's legend */
  --fOpt:500 10px/1 var(--mono);     --trOpt:0;     /* a bank's option that is a value */
  --fBtn:600 12px/1 var(--sans);                         /* a reading button: a verb in sentence case */
  --fBtnSm:600 12px/1 var(--sans);
  --fBtnLg:600 13px/1 var(--sans);
  --fTitleSm:600 13px/1.3 var(--sans);                /* an option's name, a popover's title */
  --fName:600 13px/1.3 var(--sans);                      /* a market's name in a row */
  --fTitle:600 15px/1.3 var(--sans);                    /* a card's title */
  --fTitleLg:600 15px/1.3 var(--sans);                  /* a sheet section, a customizer */
  --fDisplay:600 22px/1.3 var(--sans);  --trDisplay:-.01em;    /* a dialog's title */
  --fDisplayLg:600 28px/1 var(--sans); --trDisplayLg:-.01em; /* a sheet's title */
  --fBody:400 13px/1.45 var(--sans);
  --fBodySm:400 12px/1.45 var(--sans);
  --fLede:400 15px/1.45 var(--sans);
  --fLabel:500 12px/1.3 var(--sans);   /* a label over or beside a figure, in sentence case */
  --fLabelSm:500 11px/1.3 var(--sans); /* a dense row's label, a reading table's column */
  --fMetaSm:500 10px/1.3 var(--mono);   /* a sub-line under a small figure */
  --fMeta:500 10px/1.3 var(--mono);    /* a qualifier, a unit, a timestamp */
  --fMetaLg:500 11px/1.3 var(--mono); /* a card's meta beside its title */
  --fVal:600 10px/1 var(--mono);         /* a dense readout */
  --fValMd:500 11px/1 var(--mono);       /* a row's value: 500, calmer in a row of figures (owner, 2026-11-10 · design-kit-d8) */
  --fValLg:600 12px/1 var(--mono);       /* a table's figure, a stat */
  --fFig:500 18px/1 var(--mono);         /* a tile's figure */
  --fFigLg:500 22px/1 var(--mono);       --trFig:-.02em;
  --fFigXl:500 28px/1 var(--mono);    /* a plate's price, the dock's equity */
  --fFigHero:500 40px/1 var(--mono);     --trHero:-.02em;
  --fFigMax:500 56px/1 var(--mono);      /* the one number a page is about */

  /* ---- THE PAGE HEAD (v9 · Q137; below → THE PAGE HEAD, js/ui/ds/bar.js): every page's second row. One
     height for the row and each control in it; a gap inside a group and a space between two; inside a
     control, the gap between its mark, word and figure and its side. Two roles of type: a WORD is
     --fCtlSm, a FIGURE --fBarFig, and a word sits --barWordDy lower so both stand on 18.5 of 30. ---- */
  --barH:var(--h30); --barGap:var(--sp4); --barSpace:var(--sp16); --barIn:var(--sp6); --barPad:var(--sp10);
  --fBarFig:500 11px/1 var(--mono); --barWordDy:1.75px;
  /* A FIGURE ON ITS WAY: the recess where it will stand, on a face, on a pressed one, in a reading (one waiting look) */
  --waitFace:var(--well); --waitSh:inset 0 1px 2px rgba(var(--shd),calc(.11*var(--shdK))),inset 0 -1px 0 var(--floor);
  --waitOn:rgba(var(--shd),calc(.42*var(--shdK))); --waitOnSh:inset 0 1px 2px rgba(var(--shd),calc(.6*var(--shdK))),inset 0 -1px 0 rgba(var(--lit),calc(.07*var(--litK)));
  --waitIn:var(--waitFace); --waitInSh:var(--waitSh);   /* in a reading, itself a recess */
  /* ---- THE HEADS (v9 · Q140; below → THE HEADS): one chrome in three tiers, one "chosen" mark. THE THUMB is a quiet
     plate lifted off a faint track — the sheet's own white on paper, a lit face on matt black — never the pressed
     black block; THE RULE between two groups a hairline of ink; a READING's legend the only uppercase. ---- */
  --thumb:#fdfcfa;
  --thumbSh:0 0 0 .5px rgba(var(--ink),.16),0 1px 1.5px rgba(var(--shd),calc(.14*var(--shdK))),0 3px 8px -3px rgba(var(--shd),calc(.16*var(--shdK)));
  --track:rgba(var(--ink),.055);
  --hdRule:rgba(var(--ink),.11);
  --hdWash:rgba(var(--ink),.055);          /* a key under the hand */
  --hdWashA:.055;                          /* its alpha alone: the hand's plate (shell.css → .hz-wash) */
  --key:cubic-bezier(.16,1,.3,1);   /* a key's answer: out of the key at once, a long soft landing (tokens.js → key) */
  /* ---- THE INPUT FAMILY (v9 · Q253; below → THE INPUT FAMILY): a tint of ink at rest, the choice family's lit face in hand ---- */
  --inWell:rgba(var(--ink),.05); --inWellSh:inset 0 0 0 1px rgba(var(--ink),.055),inset 0 1px 1.5px rgba(var(--shd),calc(.07*var(--shdK)));
  --inLit:var(--chLit);
  --inLitSh:inset 0 0 0 1px rgba(var(--ink),.28),inset 0 0 0 3.5px rgba(var(--acc2RGB),.055),0 0 0 3px rgba(var(--ink),.045),0 1px 2px rgba(var(--shd),calc(.1*var(--shdK)));
  --inHoverK:.45;
  --inNoSh:inset 0 0 0 1px rgba(var(--askRGB),.66),inset 0 0 0 3.5px rgba(var(--askRGB),.12);
  --inInk:var(--text); --inLeg:var(--faint); --inLegOn:var(--dim); --inPh:var(--ghost); --inGlyph:var(--faint);
  --inCaret:var(--accent2); --inSel:rgba(var(--acc2RGB),.18);
  --inX:rgba(var(--ink),.09); --inXHi:rgba(var(--ink),.16);
  --inWord:500 12px/1 var(--sans); --trInWord:-.01em; --inFig:600 12px/1 var(--mono);
  /* ---- THE CHOICE FAMILY (v9 · Q239; components.md → THE CHOICE FAMILY): the lit plate on a track, the ink for on ---- */
  --chTrack:rgba(var(--ink),.065);
  --chLit:#fffefb;
  --chLitSh:0 0 0 .5px rgba(var(--ink),.15),0 1px 1.5px rgba(var(--shd),calc(.16*var(--shdK))),0 3px 8px -3px rgba(var(--shd),calc(.22*var(--shdK)));
  --chInk:var(--text); --chInk2:var(--dim); --chRest:var(--dim);
  --chOn:#1c1c1b; --chOnInk:#fdfcfa;
  --chOff:rgba(var(--ink),.15);
  --chKnob:#fffefb; --chKnobOn:#fffefb;
  --chKnobSh:0 0 0 .5px rgba(var(--ink),.12),0 1px 2px rgba(var(--shd),calc(.3*var(--shdK)));
  --chBox:inset 0 0 0 1.25px rgba(var(--ink),.3);
  --chRing:var(--text);
  --chTrackK:rgba(255,255,255,.07); --chOnInkK:#121211; --chOffK:rgba(255,255,255,.18); --chKnobK:#d4d3cd; --chKnobOnK:#161615;
  --chKnobShK:0 1px 2px rgba(0,0,0,.6); --chBoxK:inset 0 0 0 1.25px rgba(255,255,255,.36);
  /* ---- THE SLIDER (v9 · sliders-family; components.md → THE SLIDER): a rail, its run in ink, the family's knob ---- */
  --slRail:rgba(var(--ink),.11); --slRun:rgba(var(--ink),.62); --slTick:rgba(var(--ink),.42); --slTickOn:var(--chKnob);
  --slHalo:rgba(var(--ink),.07); --slKnob:var(--chKnob);
  --slKnobSh:0 0 0 .5px rgba(var(--ink),.16),0 1px 2px rgba(var(--shd),calc(.28*var(--shdK))),0 2px 6px -2px rgba(var(--shd),calc(.22*var(--shdK)));
  --slRailK:rgba(255,255,255,.14); --slRunK:rgba(255,255,255,.6); --slTickK:rgba(255,255,255,.34); --slHaloK:rgba(255,255,255,.1);
  --hdH:50px;                              /* the page head's band */
  --rHead:calc(var(--rBank) + var(--hdGap));            /* 20: the head's plate = its bank's radius + its inset: plate 20 → bank 10 → thumb 7 (owner 2026-11-07) */
  --hdGap:var(--sp10);                     /* the page head floats: the ground between it and the body's plate under it (Spaghetti, Funding, the Screener, the Calendar) */
  --fHdSub:600 15px/1 var(--sans);         /* the subject: what you are looking at */
  --fHdWord:500 12px/1 var(--sans);        /* a choice's word, sentence case */
  --fHdFig:500 11px/1 var(--mono);         /* a figure in a choice or a count */
  --fHdLeg:500 11px/1 var(--sans); --trHdLeg:0;   /* a reading's legend: the one uppercase */
  --fHdRead:500 12px/1 var(--mono);        /* a reading's figure */

  /* ---- SURFACES the recent designs added. main.css's three (plate, well,
     pressed switch) stay the grammar; these are their relatives. ---- */
  /* the TILE: a flat reading region inside a plate — a stat group, a card's
     sub-panel. Ink at a whisper and a hairline ring, no standoff: a tile is
     part of the plate, not an object on it (Portfolio v4's sheets) */
  --tile:rgba(var(--ink),.04);
  --tileRing:inset 0 0 0 1px rgba(var(--ink),.08);
  /* THE SLAB: the dark answer surface, dark on BOTH grounds — a confirm, a
     notice, the dock, a tooltip, the armed notice, a pill. It is what the
     reader is being answered on, so it does not change with the room around
     it. Everything ON a slab is stated here once, so no rule below spells a
     white or a black at an alpha. (--chip is its flat relative.) */
  --slab:linear-gradient(180deg,#262625,#171716);
  --slabSh:0 2px 0 #0b0b0b,0 24px 50px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.08);
  --slabInk:#f3f2ee;                       /* type on a slab */
  --slabDim:rgba(243,242,238,.62);         /* a sub-line on a slab */
  --slabFaint:rgba(243,242,238,.45);       /* a legend, a glyph at rest */
  --slabGhost:rgba(243,242,238,.28);
  --slabFace:rgba(255,255,255,.07);        /* a control on a slab */
  --slabFaceHi:rgba(255,255,255,.14);      /* ... under the pointer */
  --slabLip:inset 0 1px 0 rgba(255,255,255,.06);
  --slabOn:rgba(255,255,255,.13);          /* a thrown switch on a slab rises: it is lighter */
  --slabOnSh:inset 0 1px 0 rgba(255,255,255,.08);
  --slabRule:rgba(255,255,255,.07);        /* a rule on a slab */
  --slabHov:rgba(255,255,255,.05);         /* a row under the pointer */
  --slabSunk:rgba(0,0,0,.35);              /* a well cut into a slab */
  --slabSunkSh:inset 0 1px 2px rgba(0,0,0,.5),inset 0 -1px 0 rgba(255,255,255,.05);
  --slabWell:#0e0e0d;                      /* a deep recess in a slab (a track) */
  --slabMid:#1f1f1e;                       /* the slab's own colour, where something must be cut out of it */
  --slabNavy:#1f2737;                      /* navy's own plate, the same on every ground: its swatch (Settings → Ground) */
  --slabMidnight:#18263f;                  /* midnight's own plate, the same on every ground: its swatch (Settings → Ground) */
  --slabGraphite:#383735;                  /* graphite's own plate, the same on every ground: its swatch (Settings → Ground) */
  --slabLinen:#e0d9d1;                     /* linen's own plate, the same on every ground: its swatch (Settings → Ground) */
  --slabWellSh:inset 0 1px 2px rgba(0,0,0,.7),0 1px 0 rgba(255,255,255,.05);
  --slabDown:inset 0 1px 3px rgba(0,0,0,.5);
  --slabKey:rgba(255,255,255,.12);
  --slabKeySh:0 1px 0 rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.1);
  /* THE ISLAND (v9 · Q187, css/exec.css): the slab's black as one flat face, since its shape is a clip that moves
     (a gradient would be the box's, not the shape's); its rim the slab's own dark edge, the armed rim's orange,
     the keyboard's ring; its shadow only when it is out over the page */
  --islFace:#1c1c1b;
  --islRim:#0b0b0b;
  --islArm:var(--accentLo);
  --islRisk:var(--dnSlab);                 /* (v9 · Q191) a position near its liquidation: the rim in the loss's colour */
  --islRec:#ff453a;                        /* (2026-11-05) the perf lab's recording dot, on the island's black */
  --islRecHalo:rgba(255,69,58,.45);
  --islRing:rgba(var(--acc2RGB),.75);
  --islDrop0:drop-shadow(0 0 0 rgba(0,0,0,0));
  --islDrop:drop-shadow(0 8px 18px rgba(0,0,0,.26));
  --chipSh:0 2px 8px rgba(0,0,0,.25);      /* a chip or badge floating over data */
  --tipSh:0 6px 18px rgba(0,0,0,.3);
  /* the FLOATING PLATE: a popover or a menu, a raised plate lifted off the
     page — the same face, a deeper standoff */
  --floatSh:0 3px 0 var(--edge),0 20px 44px rgba(var(--shd),calc(.24*var(--shdK))),inset 0 1px 0 var(--lip);
  /* the SHEET: a dialog or a page-sized panel over a veil */
  --sheetSh:0 2px 0 var(--edge),0 40px 100px rgba(var(--shd),calc(.3*var(--shdK))),inset 0 1px 0 var(--lip),inset 0 0 0 1px rgba(var(--ink),.06);
  --veilBlur:blur(6px);
  --tovBlur:blur(5px);                    /* the overview's overlay: blur constant, only its opacity fades (owner 2026-11-07) */
  /* THE SEAM: the 1px line between two cells of a zero-gap grid, a groove
     stood on end. Dark on paper; on matt black a groove is its lit hairline */
  --seamC:rgba(var(--shd),calc(.13*var(--shdK)));
  /* the KNOB of a toggle: a light object on both grounds, because a dark
     knob on a dark track is a hole */
  --knob:linear-gradient(180deg,#fdfcf9,#ecebe6);
  --knobSh:0 1px 0 var(--edge),0 1px 3px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.9);
  /* the KEYCAP of the keyboard language: a plate one rung up, with a deep
     edge, because a key is the one object here that travels its full height */
  --keyFace:linear-gradient(180deg,#fbfaf6,#e9e8e3);
  --rofFace:var(--keyFace);                                         /* the referral's card (Q225): paper, raised and bright */
  --rofRing:inset 0 0 0 1px rgba(var(--acc2RGB),.24),0 1px 0 var(--edge),0 6px 16px rgba(var(--shd),calc(.08*var(--shdK)));
  --keyEdge:#b3b2ad;
  --keySh:0 2px 0 var(--keyEdge),0 3px 6px rgba(var(--shd),calc(.12*var(--shdK))),inset 0 1px 0 var(--lip);
  --keyShLg:0 3px 0 var(--keyEdge),0 4px 10px rgba(var(--shd),calc(.14*var(--shdK))),inset 0 1px 0 var(--lip);
  --keyShXs:0 1px 0 var(--keyEdge),inset 0 1px 0 var(--lip);
  --keyShDown:0 0 0 var(--keyEdge),0 1px 2px rgba(var(--shd),calc(.1*var(--shdK))),inset 0 1px 2px rgba(var(--shd),calc(.12*var(--shdK)));
  /* the soft shadow under each of the ARROW KEYS (ds/arrowkeys.js) */
  --akSh:0 1px 2px rgba(var(--shd),calc(.16*var(--shdK)));

  /* ---- THE ORANGE ACTION, as tokens rather than restated per component ---- */
  --priFace:linear-gradient(180deg,var(--accentHi),var(--accentLo));
  --priSh:0 2px 0 var(--accentEdge),0 5px 12px rgba(178,63,24,.22),inset 0 1px 0 rgba(var(--lit),calc(.34*var(--litK)));
  --priShLg:0 3px 0 var(--accentEdge),0 10px 22px rgba(178,63,24,.3),inset 0 1px 0 rgba(255,255,255,.35);
  --priShOn:0 1px 0 var(--accentEdge),inset 0 1px 0 rgba(255,255,255,.3);
  --priDown:inset 0 2px 5px rgba(120,40,15,.42);  /* the orange pressed into its own hue */
  --priInset:inset 0 1px 2px rgba(120,40,15,.35);
  /* v8.9 · Z6 · THE EDGE TAB's face: the orange taken a step toward its edge, so the word on it
     (--onAccent) reads at 4.5:1 or better from top to foot, in the orange's own hue (accent2's, not the LED's
     redder one) — the action's own face is 3:1 */
  --tabFace:linear-gradient(180deg,color-mix(in srgb,var(--accent2) 30%,var(--accentEdge)),color-mix(in srgb,var(--accent2) 6%,var(--accentEdge)));
  --tabSh:0 1px 0 var(--accentEdge),0 4px 12px rgba(var(--accRGB),.24),inset 0 1px 0 rgba(var(--lit),calc(.3*var(--litK)));
  --onAccent:#fff3ee;                     /* type on the orange: warm, never pure white */
  --onAccentDim:rgba(255,243,238,.7);
  --accInk:var(--accentEdge);             /* the orange as SMALL type or a rim, dense enough to read on paper */
  /* ---- TYPE AND LIGHT ON A SATURATED FILL (a side, the gold). Type is not
     light: it is never scaled by --litK (grounds.md) ---- */
  --onHue:#fff;
  --onHueDim:rgba(255,255,255,.72);
  --onHueSoft:rgba(255,255,255,.84);
  /* v9 · colour-sets: type on a side's fill — white, or the deep ink where a set is lit too light (store.js → onPair) */
  --onLit:#141413;
  --onBid:var(--onHue); --onAsk:var(--onHue);
  /* THE NUKE (v8.2 · E4): a cancel that IS the act — a confirm's yes, a Cancel
     all — is a lit gold plate with the nuke on it, on paper, on matt black and
     on the slab alike. The warn hue as a fill is an olive on paper, and the
     owner read the confirm's "Cancel 2" in it as "a disable ui". */
  --nukeFace:linear-gradient(180deg,#f3d25c,#e4b833);
  --nukeFaceHi:linear-gradient(180deg,#f8dc70,#eac13f);
  --nukeEdge:#a8801a;
  --nukeInk:#1d1604;
  --nukeOnSlab:#e6c04a;                   /* the nuke alone (a row's cancel) on a slab */
  /* THE RED NUKE (v8.9): a close that IS the act — a confirm's yes, a Close all — is the nuke's
     twin in a sell's red, a lit red plate with the nuke on it in white, and a row's close is the
     nuke alone in that red (the owner: "all of the close buttons in the app should be like the
     cancel icon that is yellow but this should be red one of the cancel icon. red nuke") */
  --closeFace:linear-gradient(180deg,#c94a3b,#b23a2d);
  --closeFaceHi:linear-gradient(180deg,#d35546,#bb4134);
  --closeEdge:#7a271d;
  --closeInk:#fff;
  --hueLip:inset 0 1px 0 rgba(255,255,255,.22);
  --hueDown:inset 0 2px 5px rgba(0,0,0,.32);
  --hueSunk:rgba(0,0,0,.14);              /* a key tile set into a coloured face */
  --hueSunkSh:inset 0 1px 2px rgba(0,0,0,.22);

  /* ---- SEMANTIC COLOUR — the brief's named states, each ONE of the five
     hues (or ink) in a role. Nothing here is a sixth hue: frozen is a
     temperature of the material, and maintenance, low power and armed are
     the orange and the gold doing the jobs they already do. ---- */
  /* P&L and SIDE: long / a gain is --bid, short / a loss is --ask. `--up`
     and `--dn` are the hue for figures of 11px and up and for marks; `*Ink`
     is the same hue as SMALL type (10px and under) or on a tint; `*Slab`
     on a dark slab. */
  --up:var(--bid); --dn:var(--ask);
  --upInk:var(--bidDeep); --dnInk:var(--askDeep);
  --upSlab:var(--bidSoft); --dnSlab:var(--askSoft);
  --upWash:rgba(var(--bidRGB),.14); --dnWash:rgba(var(--askRGB),.14);
  --upRing:inset 0 0 0 1px rgba(var(--bidRGB),.3); --dnRing:inset 0 0 0 1px rgba(var(--askRGB),.3);
  --flat:var(--dim);    /* exactly zero */
  --none:var(--ghost);  /* nothing known: drawn as a dash, never as 0 */
  /* ARMED: every click places an order — the answer's orange, as the edge of each place a click trades from */
  --armed:var(--accent2);
  --armedInk:var(--accInk);
  --armedWash:rgba(var(--acc2RGB),.12);
  --armedEdge:inset 0 0 0 1px rgba(var(--acc2RGB),.62),inset 0 0 14px rgba(var(--acc2RGB),.1);
  --hlRim:0 0 0 1px rgba(var(--acc2RGB),.62),0 0 24px rgba(var(--acc2RGB),.16);  /* "this is where that went" */
  /* STALE: a figure older than its clock allows keeps its place and steps
     back; OFF: the feed or the account is not there — grey, the mark too */
  --stale:var(--faint);
  --off:var(--ghost);
  --offMark:#9a9995;    /* the logo's y and the favicon off the air */
  /* LOW POWER: the laptop capped the frame rate — the gold, the mark too */
  --lowPower:var(--warn);
  --lowMark:#b8952c;
  /* MAINTENANCE: the venue says it is working on itself — the orange banner */
  --maint:var(--accent2);
  --maintInk:var(--accInk);
  --maintWash:rgba(var(--acc2RGB),.13);
  --maintRule:rgba(var(--acc2RGB),.42);
  /* PAPER: the session is simulated in this tab — gold, a ring, never a fill */
  --warnInk:var(--warnDeep);              /* the gold as small type */
  --paperInk:var(--warnInk);
  --paperRing:inset 0 0 0 1px rgba(var(--warnRGB),.55);
  /* FROZEN (design/imported/freeze): the plate cools. A temperature of the
     material — face, rim, one glint — never a colour that encodes data */
  --frzTop:#edf1f4; --frzBot:#e0e6ea;
  --frzSh:0 2px 0 #b2bbc2,0 6px 16px rgba(46,78,106,.13),inset 0 1px 0 rgba(255,255,255,.96),inset 0 14px 20px -18px rgba(150,190,225,.7);
  --frzGlint:rgba(255,255,255,1);
  --frzRGB:70,112,148; --frzRimA:.34; --frzLineA:.62; --frzFadeA:.09;
  --frzInk:#3f5b71; --frzOnChip:#b9dcfb; --frzChip:0 0 0 1px rgba(120,170,215,.55);
  /* PRIVACY: a hidden figure keeps its box and shows a row of dots */
  --privDot:rgba(var(--ink),.5);
  /* THE MARK'S INK — the y is --accent2 in every room, and turns grey off the
     air and gold in low power (S3, S12). Written on <html>, below. */
  --markInk:var(--accent2);

  /* ---- MOTION, the additions (the five gestures and the spring are main.css's
     and js/ui/motion.js's; the JS half of these is js/ui/ds/core.js → T) ---- */
  --pop:cubic-bezier(.22,1.2,.36,1);  /* the ONE overshoot: an object that pops out of a point */
  --tPop:.34s;      /* a popover, a confirm, a check */
  --tSheet:.5s;     /* a sheet or dialog rising (its opacity takes .3s) */
  --tReveal:.6s;    /* a block of a page arriving on load (opacity .36s) */
  --tRoll:.44s;     /* a figure rolling to its next value */
  --tFlash:.6s;     /* a tick's colour decaying back to ink */
  --tTip:.12s;      /* a tooltip */

  /* ---- LAYERS ---- */
  --zScreen:80;     /* an instrument on the whole screen (focusstage.js), under every toast, sheet and menu */
  --zToast:85; --zDrawer:95; --zModal:100;
  --zPop:190; --zTip:220;
  /* THE SCROLL (below): a list's edge fade, most of a row and never a whole one; a strip's, a chip's last letters */
  --sbFade:20px; --sbFadeX:28px;

  /* ---- THE FRAME ---- */
  --footH:32px;     /* the footer */
  --gap:12px;       /* between panels that are separate objects */
  --seam:1px;       /* between cells of a zero-gap grid */
  --splitHit:8px;   /* a splitter's grip, centred on its seam */
  --notchH:28px;    /* a notch folded */
  --ticketW:300px;  /* the execution ticket */
  /* THE SELECTED ROW (v8): the row in hand is a soft plate lifted off its list,
     the same object as the travelling plates of the tabs and the rails, cut a
     little softer for a reading row. No hue: the orange ring is keyboard focus */
  --selFace:var(--plate);
  --selSh:0 1px 0 var(--edge),0 2px 7px -2px rgba(var(--shd),calc(.18*var(--shdK))),inset 0 1px 0 var(--lip);
  /* a plate several rows hold together: one flat face, the lip on the first,
     the edge under the last (a shadow that never climbs into the row above) */
  --selFlat:var(--panel2);
  --selShEnd:0 1px 0 var(--edge),0 4px 6px -4px rgba(var(--shd),calc(.24*var(--shdK)));
  /* the grounds' materials, the same on every ground (THE GROUNDS' MATERIALS, below): P paper · L linen · B matt black · G graphite · M midnight · N navy */
  --gmP1:#ffffff;--gmP2:#fffffb;--gmP3:#f8f7f3;--gmP4:#ecebe7;--gmP5:#d9d8d3;--gmP6:#e4e3df;--gmPHi:#fdfcf8;--gmPLo:#deddd8;
  --gmB1:#303134;--gmB2:#2a2b2e;--gmB3:#212226;--gmB4:#191a1d;--gmB5:#0c0d10;--gmB6:#131517;--gmBHi:#2c2d31;--gmBLo:#0f1013;
  --gmG1:#4c4b48;--gmG2:#464441;--gmG3:#3c3b38;--gmG4:#33322f;--gmG5:#252321;--gmG6:#2d2c29;--gmGHi:#484744;--gmGLo:#282724;
  --gmN1:#313a4b;--gmN4:#1a2232;--gmN5:#0e1524;--gmNHi:#30394a;--gmNLo:#111928;
  --gmL1:#ece6e0;--gmL2:#ebe6e0;--gmL3:#e4ded7;--gmL4:#d9d2ca;--gmL5:#c6bfb8;--gmL6:#d1cac2;--gmLHi:#e9e3dc;--gmLLo:#cbc4bc;--gmLR:#d14700;
  --gmKDay:#2b241f;--gmKNight:#f3f0ea;
  --gmM1:#2a3954;--gmM2:#24334d;--gmM3:#1c2a43;--gmM4:#13213a;--gmM5:#06132a;--gmM6:#0e1b33;--gmMHi:#26354f;--gmMLo:#09162e;
}

/* THE GROUNDS' MATERIALS (js/ui/groundmarks.js; owner, 2026-11-06: "the visiblity of the icon comes from the ui of it
   being engraved"): a ground's mark is cut into its own tile (.gmt) at one depth: 1 the cut's lit lower lip, 5 its
   upper in shadow, 4 its floor, and the facets lying in it 2 lit, 3 mid, 6 in shade; the same on every ground, as the
   slabs are */
.gm[data-g="paper"],.gmt[data-g="paper"]{--gmT:var(--slabInk);--gm1:var(--gmP1);--gm2:var(--gmP2);--gm3:var(--gmP3);--gm4:var(--gmP4);--gm5:var(--gmP5);--gm6:var(--gmP6);--gmHi:var(--gmPHi);--gmLo:var(--gmPLo)}
.gm[data-g="linen"],.gmt[data-g="linen"]{--gmT:var(--slabLinen);--gm1:var(--gmL1);--gm2:var(--gmL2);--gm3:var(--gmL3);--gm4:var(--gmL4);--gm5:var(--gmL5);--gm6:var(--gmL6);--gmHi:var(--gmLHi);--gmLo:var(--gmLLo);--gmR:var(--gmLR)}
.gm[data-g="dark"],.gmt[data-g="dark"]{--gmT:var(--slabMid);--gm1:var(--gmB1);--gm2:var(--gmB2);--gm3:var(--gmB3);--gm4:var(--gmB4);--gm5:var(--gmB5);--gm6:var(--gmB6);--gmHi:var(--gmBHi);--gmLo:var(--gmBLo)}
.gm[data-g="graphite"],.gmt[data-g="graphite"]{--gmT:var(--slabGraphite);--gm1:var(--gmG1);--gm2:var(--gmG2);--gm3:var(--gmG3);--gm4:var(--gmG4);--gm5:var(--gmG5);--gm6:var(--gmG6);--gmHi:var(--gmGHi);--gmLo:var(--gmGLo)}
.gm[data-g="midnight"],.gmt[data-g="midnight"]{--gmT:var(--slabMidnight);--gm1:var(--gmM1);--gm2:var(--gmM2);--gm3:var(--gmM3);--gm4:var(--gmM4);--gm5:var(--gmM5);--gmHi:var(--gmMHi);--gm6:var(--gmM6);--gmLo:var(--gmMLo)}
.gm[data-g="navy"],.gmt[data-g="navy"]{--gmT:var(--slabNavy);--gm1:var(--gmN1);--gm4:var(--gmN4);--gm5:var(--gmN5);--gmHi:var(--gmNHi);--gmLo:var(--gmNLo)}
.gm{flex:none;overflow:visible}
.gm[data-g="navy"]>path,.gm[data-g="linen"]>path{fill-rule:evenodd}
.gm>.m1{fill:var(--gm1)} .gm>.m2{fill:var(--gm2)} .gm>.m3{fill:var(--gm3)} .gm>.m4{fill:var(--gm4)} .gm>.m5{fill:var(--gm5)} .gm>.m6{fill:var(--gm6)}
/* THE RIM (owner, 2026-11-06: "the borders of the inner icons become orange … activated when they are selected and go
   to the top panel icon and when hovered in the drop down menu"; "fill with animation on the hover over a second"): every
   mark's cut is traced by a hairline of the answer's orange, one CSS pixel at every size (each door's
   --gmW: 48 over the mark's width, since a non-scaling stroke drops the dash's pathLength), from one point,
   over a second, under one faint glow; the mark stays engraved in its own tone. It plays under the hand in the switcher (on its cursor, which the hand seats: a hover is lost under the
   preview's cross-fade),
   on the worn ground's row as the list opens, on the bar's key while its rest runs and its list is open, and on a door's
   mark for a while once it has taken a ground ([data-took], groundpick.js → takeGround); the hand leaving drains it back
   the way it came. It was a 2.4-unit line under a double glow with a shimmer run along it: on Linen's thin rays that
   filled every ray solid, each with its own glow and pale dots (owner, 2026-11-06: "the highlighted orange ui of this
   is not minimal at all"), so the line is a hairline, the glow one and faint, the shimmer gone. Linen's rim is its own
   deepened orange (--gmLR), the one its ground answers in. Reduced motion: the rim dissolves in already traced. */
.gm{--gmK:var(--gmKNight)} .gm[data-g="paper"],.gm[data-g="linen"]{--gmK:var(--gmKDay)}
.gm>.mo{display:none}
.gm>.mr{fill:none;stroke:var(--gmR,var(--accent2));stroke-width:var(--gmW,2);stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 1;stroke-dashoffset:1;opacity:0;
  filter:drop-shadow(0 0 2px color-mix(in srgb,var(--gmR,var(--accent2)) 40%,transparent));transition:stroke-dashoffset .45s var(--settle),opacity .16s linear .3s}
/* Linen's beams: each ray filled from the heart out, one after another round the sun from the top, quicker than a rim */
.gm>.mb{--gmF:.42s;stroke-width:2.1}
.gm>.b1{--gmD:55ms} .gm>.b2{--gmD:110ms} .gm>.b3{--gmD:165ms} .gm>.b4{--gmD:220ms} .gm>.b5{--gmD:275ms} .gm>.b6{--gmD:330ms} .gm>.b7{--gmD:385ms}
.gm>.mi{--gmD:.2s;stroke:color-mix(in srgb,var(--gmR,var(--accent2)) 70%,transparent);stroke-width:calc(var(--gmW,2)*.75)}
.gpk .ds-mi.cur .gm>.mr,.gpk .ds-mi:focus-visible .gm>.mr,#btn-theme[aria-expanded="true"] .gm>.mr{stroke-dashoffset:0;opacity:1;transition:stroke-dashoffset var(--gmF,1s) var(--wipe) var(--gmD,0s),opacity .1s linear var(--gmD,0s)}
.gpk .ds-mi.on .gm>.mr,.ph-gt[aria-pressed="true"] .gm>.mr,.set-gt[aria-pressed="true"] .gm>.mr{animation:gmFill var(--gmF,1s) var(--wipe) calc(.12s + var(--gmD,0s)) both}
[data-took] .gm>.mr{animation:gmTake 2.8s linear var(--gmD,0s) both}
@media (hover:hover){
  .set-gk:hover .gm>.mr,.ph-gt:hover .gm>.mr{stroke-dashoffset:0;opacity:1;transition:stroke-dashoffset var(--gmF,1s) var(--wipe) var(--gmD,0s),opacity .1s linear var(--gmD,0s)}
}
.gpk:has(.ds-mi.cur:not(.on)) .ds-mi.on .gm>.mr{animation:none;stroke-dashoffset:1;opacity:0}
@keyframes gmFill{from{stroke-dashoffset:1;opacity:1}to{stroke-dashoffset:0;opacity:1}}
@keyframes gmTake{0%{stroke-dashoffset:1;opacity:1;animation-timing-function:var(--wipe)}36%,82%{stroke-dashoffset:0;opacity:1;animation-timing-function:var(--settle)}100%{stroke-dashoffset:0;opacity:0}}
:root[data-motion] .gm>.mr{stroke-dashoffset:0!important;transition:opacity var(--tState) linear!important;animation:none!important}
:root[data-motion] .gpk .ds-mi.on .gm>.mr,:root[data-motion] .ph-gt[aria-pressed="true"] .gm>.mr,:root[data-motion] .set-gt[aria-pressed="true"] .gm>.mr,:root[data-motion] [data-took] .gm>.mr{opacity:1}
/* a tile of the ground: its colour, its lips (the upper lit, the lower in shade), its edge on whatever it stands on */
.gmt{background:var(--gmT);box-shadow:inset 0 1px 0 var(--gmHi),inset 0 -1px 0 var(--gmLo),0 0 0 1px rgba(var(--shd),.16)}

/* =====================================================================
   THE GROUNDS — the twins. Only what matt black changes.
   ===================================================================== */
html[data-theme="dark"]{
  /* THE HEADS (v9 · Q140): the thumb is a lit face stepping up off the track, its edge a line of light */
  --thumb:#2c2b28;
  --thumbSh:inset 0 1px 0 rgba(255,255,255,.075),0 0 0 .5px rgba(255,255,255,.05),0 1px 2px rgba(0,0,0,.6);
  --track:rgba(var(--ink),.05);
  --hdRule:rgba(var(--ink),.1);
  --hdWash:rgba(var(--ink),.06);
  --hdWashA:.06;
  /* the input family (v9 · Q253): a tint at rest; in hand a face lifted off the ground with a line of light along its top */
  --inWell:rgba(var(--ink),.055); --inWellSh:inset 0 0 0 1px rgba(var(--ink),.05),inset 0 1px 2px rgba(0,0,0,.35);
  --inLit:#2f2e2b;
  --inLitSh:inset 0 0 0 1px rgba(var(--ink),.3),inset 0 1px 0 rgba(255,255,255,.06),inset 0 0 0 3.5px rgba(var(--acc2RGB),.06),0 0 0 3px rgba(var(--ink),.05),0 1px 2px rgba(0,0,0,.5);
  --inHoverK:.55;
  --inNoSh:inset 0 0 0 1px rgba(var(--askRGB),.72),inset 0 0 0 3.5px rgba(var(--askRGB),.16);
  --inSel:rgba(var(--acc2RGB),.24);
  --inX:rgba(var(--ink),.1); --inXHi:rgba(var(--ink),.18);
  /* the choice family (v9 · Q239): the old #2c2b28 plate read as nothing chosen */
  --chTrack:rgba(var(--ink),.06);
  --chLit:#3a3935;
  --chLitSh:inset 0 1px 0 rgba(255,255,255,.1),0 0 0 .5px rgba(255,255,255,.06),0 1px 2px rgba(0,0,0,.6),0 3px 8px -3px rgba(0,0,0,.7);
  --chOn:#ecebe6; --chOnInk:#121211;
  --chOff:rgba(var(--ink),.16);
  --chKnob:#d4d3cd; --chKnobOn:#161615;
  --chKnobSh:0 1px 2px rgba(0,0,0,.6);
  --chBox:inset 0 0 0 1.25px rgba(var(--ink),.32);
  /* the slider: a run a step quieter than the knob, so the knob stands off it */
  --slRail:rgba(var(--ink),.12); --slRun:rgba(var(--ink),.46); --slHalo:rgba(var(--ink),.1);
  --slKnobSh:0 0 0 .5px rgba(0,0,0,.5),0 1px 2px rgba(0,0,0,.6),0 2px 6px -2px rgba(0,0,0,.7);
  /* the selected row on black steps up off the list: a lighter face, a lit lip
     and a hairline of light, so it never reads as the hover's faint wash */
  --selFace:linear-gradient(180deg,#2b2a28,#222120);
  --selSh:0 1px 0 #000,0 4px 10px -3px rgba(0,0,0,.75),inset 0 1px 0 rgba(255,255,255,.09),inset 0 0 0 1px rgba(255,255,255,.035);
  --selFlat:#262523;
  --selShEnd:0 1px 0 #000,0 5px 8px -5px rgba(0,0,0,.8);
  --tile:rgba(var(--ink),.035);
  --tileRing:inset 0 0 0 1px rgba(var(--ink),.07);
  /* on black a dark slab cannot be the darkest thing in the room: it steps UP
     off the deck, and its edge is a line of light rather than a shadow */
  --slab:linear-gradient(180deg,#2a2a28,#1d1d1b);
  --slabSh:0 2px 0 #000,0 24px 56px rgba(0,0,0,.66),inset 0 1px 0 rgba(255,255,255,.07),inset 0 0 0 1px rgba(255,255,255,.06);
  /* the island on black steps up off the bar as the slab does, its edge a line of light */
  --islFace:#232321;
  --islRim:#3a3a37;
  --islRec:#ff5a50; --islRecHalo:rgba(255,90,80,.42);
  --islDrop:drop-shadow(0 10px 22px rgba(0,0,0,.62));
  /* the nuke's plate on black: the same light, its seat a line rather than a shadow */
  --nukeFace:linear-gradient(180deg,#f0cd55,#ddb02c);
  --nukeFaceHi:linear-gradient(180deg,#f6d86a,#e6bb3a);
  --nukeEdge:#7a5c10;
  /* the red nuke's plate on black, lit as the gold one is */
  --closeFace:linear-gradient(180deg,#e2604f,#cc4a3a);
  --closeFaceHi:linear-gradient(180deg,#e96e5d,#d45443);
  --closeEdge:#6e2219;
  --slabWell:#0b0b0a;
  /* a pressed switch on black is the bottom of the scale, and a reading is a recess already: a figure on its way
     cannot be cut deeper into either, so its slot steps up to the bank's own tone (cut deeper, it could not be seen) */
  --waitOn:var(--segWell); --waitOnSh:var(--segWellSh);
  --waitIn:var(--segWell); --waitInSh:var(--segWellSh);
  --chipSh:0 2px 8px rgba(0,0,0,.5);
  --tipSh:0 6px 18px rgba(0,0,0,.55);
  /* a groove on black is the lit hairline alone */
  --seamC:rgba(var(--lit),.075);
  --knob:linear-gradient(180deg,#c9c8c2,#b3b2ac);
  --knobSh:0 1px 0 #000,0 1px 3px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.5);
  --keyFace:linear-gradient(180deg,#2e2e2c,#232321);
  --rofFace:var(--panel);                                           /* the referral's card (Q225): deep, so its light reads */
  --rofRing:inset 0 0 0 1px rgba(var(--acc2RGB),.3),inset 0 1px 0 rgba(var(--lit),.05);
  --keyEdge:#000;
  --keySh:0 2px 0 #000,0 3px 6px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.1);
  --keyShLg:0 3px 0 #000,0 4px 10px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.1);
  --keyShXs:0 1px 0 #000,inset 0 1px 0 rgba(255,255,255,.08);
  --keyShDown:0 0 0 #000,0 1px 2px rgba(0,0,0,.4),inset 0 1px 2px rgba(0,0,0,.6);
  --akSh:0 1px 3px rgba(0,0,0,.6);
  --upInk:var(--bidSoft); --dnInk:var(--askSoft);
  --accInk:var(--accentHi);
  --maintWash:rgba(var(--acc2RGB),.14);
  --warnInk:var(--warnSoft);
  --offMark:#5d5b56;
  --lowMark:#d4b547;
  --frzTop:#1b2128; --frzBot:#12171d;
  --frzSh:0 2px 0 #000,0 4px 10px rgba(0,0,0,.6),inset 0 1px 0 rgba(190,222,252,.3),inset 0 14px 22px -18px rgba(120,176,232,.26);
  --frzGlint:rgba(205,232,255,.7);
  --frzRGB:150,196,240; --frzRimA:.3; --frzLineA:.6; --frzFadeA:.09;
  --frzInk:#a9c9e6; --frzOnChip:#b9dcfb; --frzChip:0 0 0 1px rgba(150,196,240,.4);
  --privDot:rgba(var(--ink),.45);
}
/* NAVY (css/main.css → THE FOURTH GROUND): the block above, its literals re-lit for navy */
html[data-theme="dark"][data-ground="navy"]{
  --thumb:#344057;
  --thumbSh:inset 0 1px 0 rgba(255,255,255,.075),0 0 0 .5px rgba(255,255,255,.05),0 1px 2px rgba(var(--shd),.6);
  --inWellSh:inset 0 0 0 1px rgba(var(--ink),.05),inset 0 1px 2px rgba(var(--shd),.35);
  --inLit:#323d54;
  --inLitSh:inset 0 0 0 1px rgba(var(--ink),.3),inset 0 1px 0 rgba(255,255,255,.06),inset 0 0 0 3.5px rgba(var(--acc2RGB),.06),0 0 0 3px rgba(var(--ink),.05),0 1px 2px rgba(var(--shd),.5);
  --chLit:#3b4860;
  --chLitSh:inset 0 1px 0 rgba(255,255,255,.1),0 0 0 .5px rgba(255,255,255,.06),0 1px 2px rgba(var(--shd),.6),0 3px 8px -3px rgba(var(--shd),.7);
  --chOn:#eceff5;
  --chOnInk:#151a26;
  --chKnob:#d4d9e2;
  --chKnobOn:#171c28;
  --chKnobSh:0 1px 2px rgba(var(--shd),.6);
  --selFace:linear-gradient(180deg,#323d54,#283245);
  --selSh:0 1px 0 #0a0d14,0 4px 10px -3px rgba(var(--shd),.75),inset 0 1px 0 rgba(255,255,255,.09),inset 0 0 0 1px rgba(255,255,255,.035);
  --selFlat:#2e394f;
  --selShEnd:0 1px 0 #0a0d14,0 5px 8px -5px rgba(var(--shd),.8);
  --slab:linear-gradient(180deg,#2c364a,#1e2636);
  --slabSh:0 2px 0 #0a0d14,0 24px 56px rgba(var(--shd),.66),inset 0 1px 0 rgba(255,255,255,.07),inset 0 0 0 1px rgba(255,255,255,.06);
  --islFace:#232c3d;
  --islRim:#3b4860;
  --islDrop:drop-shadow(0 10px 22px rgba(var(--shd),.62));
  --slabWell:#12161e;
  --chipSh:0 2px 8px rgba(var(--shd),.5);
  --tipSh:0 6px 18px rgba(var(--shd),.55);
  --knob:linear-gradient(180deg,#c9d0dc,#b4bccb);
  --knobSh:0 1px 0 #0a0d14,0 1px 3px rgba(var(--shd),.5),inset 0 1px 0 rgba(255,255,255,.5);
  --keyFace:linear-gradient(180deg,#2a3448,#232c3d);
  --keyEdge:#0a0d14;
  --keySh:0 2px 0 #0a0d14,0 3px 6px rgba(var(--shd),.45),inset 0 1px 0 rgba(255,255,255,.1);
  --keyShLg:0 3px 0 #0a0d14,0 4px 10px rgba(var(--shd),.5),inset 0 1px 0 rgba(255,255,255,.1);
  --keyShXs:0 1px 0 #0a0d14,inset 0 1px 0 rgba(255,255,255,.08);
  --keyShDown:0 0 0 #0a0d14,0 1px 2px rgba(var(--shd),.4),inset 0 1px 2px rgba(var(--shd),.6);
  --akSh:0 1px 3px rgba(var(--shd),.6);
  --offMark:#57698c;
  --frzTop:#232f45;
  --frzBot:#1a2436;
  --frzSh:0 2px 0 #0a0d14,0 4px 10px rgba(var(--shd),.6),inset 0 1px 0 rgba(190,222,252,.3),inset 0 14px 22px -18px rgba(120,176,232,.26)
}
/* MIDNIGHT (css/main.css → THE FIFTH GROUND): the block above, its literals re-lit for midnight */
html[data-theme="dark"][data-ground="midnight"]{
  --thumb:#253450;
  --thumbSh:inset 0 1px 0 rgba(255,255,255,.075),0 0 0 .5px rgba(255,255,255,.05),0 1px 2px rgba(var(--shd),.6);
  --inWellSh:inset 0 0 0 1px rgba(var(--ink),.05),inset 0 1px 2px rgba(var(--shd),.35);
  --inLit:#283855;
  --inLitSh:inset 0 0 0 1px rgba(var(--ink),.3),inset 0 1px 0 rgba(255,255,255,.06),inset 0 0 0 3.5px rgba(var(--acc2RGB),.06),0 0 0 3px rgba(var(--ink),.05),0 1px 2px rgba(var(--shd),.5);
  --chLit:#334564;
  --chLitSh:inset 0 1px 0 rgba(255,255,255,.1),0 0 0 .5px rgba(255,255,255,.06),0 1px 2px rgba(var(--shd),.6),0 3px 8px -3px rgba(var(--shd),.7);
  --chOn:#e9edf3;
  --chOnInk:#081227;
  --chKnob:#d2d6dd;
  --chKnobOn:#0b162c;
  --chKnobSh:0 1px 2px rgba(var(--shd),.6);
  --selFace:linear-gradient(180deg,#24334f,#17253d);
  --selSh:0 1px 0 #000108,0 4px 10px -3px rgba(var(--shd),.75),inset 0 1px 0 rgba(255,255,255,.09),inset 0 0 0 1px rgba(255,255,255,.035);
  --selFlat:#1e2c46;
  --selShEnd:0 1px 0 #000108,0 5px 8px -5px rgba(var(--shd),.8);
  --slab:linear-gradient(180deg,#23324e,#121e35);
  --slabSh:0 2px 0 #000108,0 24px 56px rgba(var(--shd),.66),inset 0 1px 0 rgba(255,255,255,.07),inset 0 0 0 1px rgba(255,255,255,.06);
  --islFace:#1a2841;
  --islRim:#344666;
  --islDrop:drop-shadow(0 10px 22px rgba(var(--shd),.62));
  --slabWell:#040c1e;
  --chipSh:0 2px 8px rgba(var(--shd),.5);
  --tipSh:0 6px 18px rgba(var(--shd),.55);
  --knob:linear-gradient(180deg,#c4ccdb,#b0b8c6);
  --knobSh:0 1px 0 #000108,0 1px 3px rgba(var(--shd),.5),inset 0 1px 0 rgba(255,255,255,.5);
  --keyFace:linear-gradient(180deg,#283754,#1a2841);
  --keyEdge:#000108;
  --keySh:0 2px 0 #000108,0 3px 6px rgba(var(--shd),.45),inset 0 1px 0 rgba(255,255,255,.1);
  --keyShLg:0 3px 0 #000108,0 4px 10px rgba(var(--shd),.5),inset 0 1px 0 rgba(255,255,255,.1);
  --keyShXs:0 1px 0 #000108,inset 0 1px 0 rgba(255,255,255,.08);
  --keyShDown:0 0 0 #000108,0 1px 2px rgba(var(--shd),.4),inset 0 1px 2px rgba(var(--shd),.6);
  --akSh:0 1px 3px rgba(var(--shd),.6);
  --offMark:#50658c;
  --frzTop:#16233c;
  --frzBot:#0b172c;
  --frzSh:0 2px 0 #000108,0 4px 10px rgba(var(--shd),.6),inset 0 1px 0 rgba(190,222,252,.3),inset 0 14px 22px -18px rgba(120,176,232,.26)
}
/* GRAPHITE (css/main.css → THE THIRD GROUND): the block above, its literals re-lit for the dark family's second ground */
html[data-theme="dark"][data-ground="graphite"]{
  --thumb:#3f3d3b;
  --thumbSh:inset 0 1px 0 rgba(255,255,255,.075),0 0 0 .5px rgba(255,255,255,.05),0 1px 2px rgba(var(--shd),.6);
  --inWellSh:inset 0 0 0 1px rgba(var(--ink),.05),inset 0 1px 2px rgba(var(--shd),.35);
  --inLit:#42403e;
  --inLitSh:inset 0 0 0 1px rgba(var(--ink),.3),inset 0 1px 0 rgba(255,255,255,.06),inset 0 0 0 3.5px rgba(var(--acc2RGB),.06),0 0 0 3px rgba(var(--ink),.05),0 1px 2px rgba(var(--shd),.5);
  --chLit:#4c4b49;
  --chLitSh:inset 0 1px 0 rgba(255,255,255,.1),0 0 0 .5px rgba(255,255,255,.06),0 1px 2px rgba(var(--shd),.6),0 3px 8px -3px rgba(var(--shd),.7);
  --chOn:#efeee9;
  --chOnInk:#252422;
  --chKnob:#dbd9d3;
  --chKnobOn:#292826;
  --chKnobSh:0 1px 2px rgba(var(--shd),.6);
  --selFace:linear-gradient(180deg,#3e3c3a,#353431);
  --selSh:0 1px 0 #030202,0 4px 10px -3px rgba(var(--shd),.75),inset 0 1px 0 rgba(255,255,255,.09),inset 0 0 0 1px rgba(255,255,255,.035);
  --selFlat:#393735;
  --selShEnd:0 1px 0 #030202,0 5px 8px -5px rgba(var(--shd),.8);
  --slab:linear-gradient(180deg,#3d3c3a,#302f2d);
  --slabSh:0 2px 0 #030202,0 24px 56px rgba(var(--shd),.66),inset 0 1px 0 rgba(255,255,255,.07),inset 0 0 0 1px rgba(255,255,255,.06);
  --islFace:#363533;
  --islRim:#4d4c49;
  --islDrop:drop-shadow(0 10px 22px rgba(var(--shd),.62));
  --slabWell:#1e1d1b;
  --chipSh:0 2px 8px rgba(var(--shd),.5);
  --tipSh:0 6px 18px rgba(var(--shd),.55);
  --knob:linear-gradient(180deg,#d1cfc9,#bebcb6);
  --knobSh:0 1px 0 #030202,0 1px 3px rgba(var(--shd),.5),inset 0 1px 0 rgba(255,255,255,.5);
  --keyFace:linear-gradient(180deg,#41403e,#363533);
  --keyEdge:#030202;
  --keySh:0 2px 0 #030202,0 3px 6px rgba(var(--shd),.45),inset 0 1px 0 rgba(255,255,255,.1);
  --keyShLg:0 3px 0 #030202,0 4px 10px rgba(var(--shd),.5),inset 0 1px 0 rgba(255,255,255,.1);
  --keyShXs:0 1px 0 #030202,inset 0 1px 0 rgba(255,255,255,.08);
  --keyShDown:0 0 0 #030202,0 1px 2px rgba(var(--shd),.4),inset 0 1px 2px rgba(var(--shd),.6);
  --akSh:0 1px 3px rgba(var(--shd),.6);
  --offMark:#6e6c6a;
  --frzTop:#343330;
  --frzBot:#2a2926;
  --frzSh:0 2px 0 #030202,0 4px 10px rgba(var(--shd),.6),inset 0 1px 0 rgba(190,222,252,.3),inset 0 14px 22px -18px rgba(120,176,232,.26)
}

/* LINEN (css/main.css → THE LIGHT FAMILY): the paper block's literals re-cut for the light family's oat stone. The
   choice family's lit plate, the heads' thumb, a toggle's knob and a key's face are the selected step (L .92), never
   white; the frozen state keeps its cool ice, brought down onto the ladder (it was the whitest face on the page) */
html[data-theme="light"][data-ground="linen"]{
  --thumb:#eae5de;
  --thumbSh:0 0 0 .5px rgba(var(--ink),.16),0 1px 1.5px rgba(var(--shd),.16),0 3px 8px -3px rgba(var(--shd),.2);
  --chLit:#eae5de; --chOn:#332c28; --chOnInk:#eae5de; --chKnob:#ece7e1; --chKnobOn:#ece7e1;
  --chLitSh:0 0 0 .5px rgba(var(--ink),.15),0 1px 1.5px rgba(var(--shd),.18),0 3px 8px -3px rgba(var(--shd),.24);
  --knob:linear-gradient(180deg,#ece7e1,#ddd6cd);
  --knobSh:0 1px 0 var(--edge),0 1px 3px rgba(var(--shd),.28),inset 0 1px 0 rgba(var(--lit),.7);
  --keyFace:linear-gradient(180deg,#e7e2db,#dad3ca);
  --keyEdge:#c0b7ad;
  --selFace:linear-gradient(180deg,#e9e4de,#e6e1db);
  --selSh:0 1px 0 var(--edge),0 2px 7px -2px rgba(var(--shd),.22),inset 0 1px 0 var(--lip);
  --selFlat:#e6e1db;
  --offMark:#867f79;
  --frzTop:#d7e1e8; --frzBot:#d0dbe2;
  --frzSh:0 2px 0 #acbac3,0 6px 16px rgba(46,78,106,.13),inset 0 1px 0 rgba(255,255,255,.6),inset 0 14px 20px -18px rgba(150,190,225,.6);
  --frzGlint:rgba(255,255,255,.75)
}


/* ---- the mark's state is one attribute on <html> each (SHELL writes them:
   data-link="off" when the feed or the account is gone, data-power="low"
   when the display is capped). Off the air wins: a grey mark in low power
   still says the one thing that matters more. ---- */
html[data-power="low"]{--markInk:var(--lowMark)}
html[data-link="off"]{--markInk:var(--offMark)}
/* THE LIVE ACCOUNT (v8.8 · U23, account.js → setAcctInfo): every paper-toned tag carries the account's
   word, and on the live account it is the venue's orange — the tag that says PAPER on the account
   that fills in this tab says LIVE (or UAT) in the orange on the one QFEX fills, on both grounds */
html[data-acct]{--paperInk:var(--accInk);--paperRing:inset 0 0 0 1px rgba(var(--accRGB),.6)}

/* =====================================================================
   TYPE — the roles as classes, for markup that has no component of its own.
   ===================================================================== */
.ds-leg,.ds-leg-sm,.ds-eyebrow{font-style:normal;text-transform:none;white-space:nowrap}
.ds-leg{font:var(--fLeg);letter-spacing:var(--trLeg);color:var(--dim)}
.ds-leg-sm{font:var(--fLegSm);letter-spacing:var(--trLegSm);color:var(--faint)}
.ds-eyebrow{font:var(--fEyebrow);letter-spacing:var(--trEyebrow);color:var(--faint)}
.ds-meta{font:var(--fMeta);color:var(--faint)}
/* A FIGURE IS MONO AND TABULAR, and it reserves its width: `--w` in ch holds
   the widest value it will print, so a digit arriving never moves its line */
.ds-fig{font-family:var(--mono);font-variant-numeric:tabular-nums;white-space:nowrap;display:inline-block;min-width:var(--w,0);text-align:var(--fa,inherit)}
.ds-fig-lg{font:var(--fValLg)}
.ds-fig-xl{font:var(--fFigLg);letter-spacing:var(--trFig)}
.ds-fig-plate{font:var(--fFigXl);letter-spacing:var(--trFig)}
.ds-fig-max{font:var(--fFigMax);letter-spacing:var(--trHero)}
/* the cents step down and back: the figure is the dollars */
.ds-fig .c{font-size:.54em;letter-spacing:0;color:var(--faint)}
.ds-fig-max .c{font-size:.53em}
/* a unit or qualifier riding a figure */
.ds-fig .u{font-size:.78em;font-weight:500;letter-spacing:0;color:var(--faint);margin-left:.15em}
/* P&L and side, as ink */
.ds-up{color:var(--up)} .ds-dn{color:var(--dn)} .ds-flat{color:var(--flat)}
.ds-up.ink{color:var(--upInk)} .ds-dn.ink{color:var(--dnInk)}
:is(.ds-slab,.ds-on-slab) .ds-up{color:var(--upSlab)} :is(.ds-slab,.ds-on-slab) .ds-dn{color:var(--dnSlab)}
.ds-stale{color:var(--stale)}

/* =====================================================================
   THE CONTROL FAMILY, v7 — `.ds-c` is how every clickable object behaves.
   The grammar is main.css's, word for word (ARRIVE .13 ease · LEAVE .28
   settle · TOUCH .07 contact · THROW .22 settle · the ring only for the
   keyboard); `.ds-sw` marks a SWITCH, whose "on" face dissolves in on
   ::after under the ink. `--travel` is how far a face goes down: 2px for a
   plate, 1px for a tint or a face in a well, 0 for a well.
   ===================================================================== */
.ds-c{position:relative;z-index:0;cursor:pointer;-webkit-tap-highlight-color:transparent;
  transition:color var(--tArrive) var(--ease),background-color var(--tArrive) var(--ease),
             filter var(--tArrive) var(--ease),transform var(--tLeave) var(--settle),
             opacity var(--tState) var(--settle)}
.ds-c::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  opacity:0;box-shadow:var(--downSh);transition:opacity var(--tLeave) var(--settle)}
@media (hover:hover){ .ds-c:hover:not(:disabled,[aria-disabled="true"]){filter:brightness(1.045)} }
.ds-c.is-hover:not(:disabled){filter:brightness(1.045)}
.ds-c:is(:active,.is-press):not(:disabled,[aria-disabled="true"]){transform:translateY(var(--travel,2px));
  transition-duration:var(--tTouch);transition-timing-function:var(--contact)}
.ds-c:is(:active,.is-press):not(:disabled,[aria-disabled="true"])::before{opacity:1;
  transition-duration:var(--tTouch);transition-timing-function:var(--contact)}
.ds-sw::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;
  opacity:0;background:var(--onFill,var(--chLit));box-shadow:var(--onSh,var(--chLitSh));
  transition:opacity var(--tState) var(--settle)}
.ds-sw:is(.on,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[aria-expanded="true"])::after{opacity:1}   /* v8 S9 · a switch that opens something is pressed while it is open, as a select is */
.ds-c:focus-visible,.ds-c.is-focus{outline:2px solid var(--ring);outline-offset:2px}
.ds-c:focus:not(:focus-visible){outline:none}
/* ---- THE FOCUS SYSTEM (v8 S5) — two states, never confused, each drawn by
   the object that OWNS the focus rather than by the element that took it.
     TYPING    a field that takes the keys is IN HAND: the input family's lit
               face, cut by a hairline of ink (v9 · Q253, below → THE INPUT
               FAMILY). Never the orange ring: the caret already says where the
               keys go, and a ring round a field that is one part of a larger
               control drew a second outline inside the first. A field inside
               an instrument (a ticket's price, a search pill, a fee cell) is
               drawn by its HOST — `.ds-in` — through :focus-within; the bare
               input wears nothing.
     KEYBOARD  the orange ring (--ring), OUTSIDE the whole instrument the key
               reached, on :focus-visible only, and never on a text field.
   A list whose rows are walked by a travelling lit plate (a menu, a rail)
   shows its cursor with the plate, so its rows carry no ring of their own. */
.ds-mi:focus-visible,.ds-mi:focus{outline:none}
.ds-c:disabled,.ds-c[aria-disabled="true"]{cursor:default;opacity:.38;filter:none;transform:none;transition:none}
.ds-c:disabled::before,.ds-c[aria-disabled="true"]::before{opacity:0;transition:none}

/* ---- the glyph every control can carry (js/ui/ds/icons.js) ---- */
.ds-i{flex:none;display:block;width:var(--is,14px);height:var(--is,14px);overflow:visible;
  fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10}
/* the same glyph as one box and one draw, for a key repeated down a list (icons.js → glyphHTML; v9 · D2p): its two
   inks minted from their tokens, the second under its key's hand as the key's own colour moves */
.ds-gl{flex:none;display:block;width:var(--is,14px);height:var(--is,14px);background:var(--gl0) center/100% 100% no-repeat}
@media (hover:hover){ .ds-c:hover:not(:disabled)>.ds-gl{background-image:var(--gl1)} }
.ds-c.is-hover>.ds-gl{background-image:var(--gl1)}
/* THE GEAR TURNS (v9 · Q80; js/ui/ds/icons.js → gear, components.md → ONE GEAR). Under the hand it
   turns 30° and settles; pressed it turns on to 90° and holds there while its sheet is open (the
   anchor's aria-expanded, which the kit's popover and every settings sheet set); it turns back as
   the sheet closes. A six-tooth gear at 30° and at 90° is the same drawing, so each rest is crisp.
   The `rotate` property, on the spring's curve: it composes with any transform the key itself
   takes (the press's travel), and a new state retargets it mid-turn. Reduced motion: still. */
.ds-gear{rotate:0deg;transition:rotate var(--tState) var(--spring)}
@media (hover:hover){ :is(button,a,[role="button"],[role="menuitem"],[role="option"]):hover>.ds-gear,
  :is(button,a,[role="button"],[role="menuitem"],[role="option"]):hover>:not(button) .ds-gear{rotate:30deg} }
:is(button,a,[role="button"]):is(:active,.is-press)>.ds-gear,:is(button,a,[role="button"])[aria-expanded="true"]>.ds-gear,
:is(button,a,[role="button"])[aria-expanded="true"]>:not(button) .ds-gear{rotate:90deg;transition-duration:var(--tLeave)}
:root[data-motion] .ds-gear{rotate:none!important}

/* =====================================================================
   BUTTONS. In the INSTRUMENT register a label is an engraved legend:
   22 · 26 · 30 · 34, and 46 for a dialog. In the READING register
   (`data-case="s"`) it is a verb in sentence case: 28 · 34 · 46. Tones:
   plate (default), pri (the orange action), quiet, danger (a tint of ask),
   bid / ask (a side, solid), warn (gold, solid), slab (on a dark slab).
   ===================================================================== */
.ds-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--sp6);flex:none;
  height:var(--h30);padding:0 var(--sp12);border:0;border-radius:var(--r8);
  font:var(--fCtl);letter-spacing:var(--trCtl);text-transform:none;white-space:nowrap;
  color:var(--dim);background:var(--plate);box-shadow:var(--plateShSm)}
@media (hover:hover){ .ds-btn:hover:not(:disabled){color:var(--text)} }
.ds-btn.is-hover{color:var(--text)}
.ds-btn .ds-i{--is:13px}
.ds-btn kbd:not(.ds-key){font:600 10px/1 var(--mono);letter-spacing:0;text-transform:none;color:var(--faint);margin-left:var(--sp2)}
.ds-btn[data-size="sm"]{height:var(--h22);padding:0 var(--sp8);border-radius:var(--r5);font:var(--fCtlSm);letter-spacing:var(--trCtlSm);--travel:1px}
.ds-btn[data-size="sm"] .ds-i{--is:11px}
.ds-btn[data-size="md"]{height:var(--h26);padding:0 var(--sp10);font:var(--fCtlSm);letter-spacing:var(--trCtlSm)}
.ds-btn[data-size="xl"]{height:var(--h34);padding:0 var(--sp14)}
.ds-btn[data-size="lg"]{height:var(--h46);padding:0 var(--sp20);border-radius:var(--rPlate)}
.ds-btn[data-wide]{width:100%}
/* the reading register: a verb, not a legend */
.ds-btn[data-case="s"]{height:var(--h34);padding:0 var(--sp14);border-radius:var(--r10);font:var(--fBtn);letter-spacing:0;text-transform:none}
.ds-btn[data-case="s"][data-size="sm"]{height:var(--h28);padding:0 var(--sp10);border-radius:var(--r8);font:var(--fBtnSm)}
.ds-btn[data-case="s"][data-size="lg"]{height:var(--h46);padding:0 var(--sp22);border-radius:var(--rPlate);font:var(--fBtnLg)}
.ds-btn[data-tone="pri"]{color:var(--onAccent);background:var(--priFace);box-shadow:var(--priSh);--downSh:var(--priDown)}
@media (hover:hover){ .ds-btn[data-tone="pri"]:hover:not(:disabled){color:var(--onHue)} }
.ds-btn[data-tone="pri"] kbd:not(.ds-key){color:var(--onAccentDim)}
/* v8.9 · Z6 · THE EDGE TAB — a folded ticket's way back, on Focus (.fx-tkback) and the wall (.wd-tab):
   the owner, of the pale pill with an orange edge, "all orange (not border) with shimmer animation".
   A solid orange face, the glyph and the word in the type on the orange, and a slow diagonal sheen
   that crosses it once every 4.2 s: a light band on ::after (the kit's ::before is the press),
   moved by transform alone so the compositor runs it. It stops under reduced motion, in low
   power, and wherever the tab is not on screen (display:none ends it; the wall's open column
   pauses it). One class for both, so the two never drift. */
.ds-edgetab{isolation:isolate;overflow:hidden;color:var(--onAccent);background:var(--tabFace);box-shadow:var(--tabSh);--downSh:var(--priDown)}
.ds-edgetab::after{content:"";position:absolute;left:-40%;right:-40%;top:0;height:100%;z-index:-1;pointer-events:none;
  /* a band of .12: the word reads 4.5:1 on the face at rest and still ~3.7:1 under the band's crest (at .28 it fell
     to ~2.8 for the second the band crossed it); any light over a mid-tone orange costs contrast, so it stays faint */
  background:linear-gradient(162deg,transparent 34%,rgba(var(--lit),.12) 50%,transparent 66%);
  transform:translate3d(0,-110%,0);animation:dsTabSheen 4.2s var(--inout) 1.2s infinite}
@keyframes dsTabSheen{0%{transform:translate3d(0,calc(-110%*var(--rmT,1)),0)}32%,100%{transform:translate3d(0,calc(110%*var(--rmT,1)),0)}}
:root[data-motion] .ds-edgetab::after{animation:none;opacity:0}
html[data-power="low"] .ds-edgetab::after{animation:none;opacity:0}
/* v9 · sidepanels · THE RAIL — a side panel folded (js/ui/rail.js; motion.md → A FOLDED PANEL IS ITS RAIL). The owner:
   "seamless and collapsible with full height … summary inside them in a premium way like spagetti has". The panel's own
   well at the panel's full height, --railFold wide: its key at the top (a small raised plate, the way in), its name along
   it, then its summary — a mark, figures read bottom to top as Spaghetti's edge reads, a column that leans — and keys of
   its own at its foot. One press anywhere on it opens the panel; under the hand the whole rail lifts. One class for the
   wall's ticket and tape, Focus's ticket, Spaghetti's card and the watchlist, so the five never drift. */
:root{--railFold:40px}
.ds-rail{position:relative;box-sizing:border-box;width:var(--railFold);height:100%;min-height:0;display:flex;flex-direction:column;
  border-radius:var(--rPlate);background:var(--plateTall);box-shadow:var(--plateShSm);overflow:hidden;transition:box-shadow var(--tState) var(--settle)}
.ds-rail-o{position:relative;flex:1 1 auto;min-height:0;display:flex;flex-direction:column;align-items:center;gap:var(--sp14);margin:0;
  padding:var(--sp6) 0 var(--sp14);border:0;border-radius:inherit;background:transparent;color:var(--text);cursor:pointer;overflow:hidden;--travel:0px}
.ds-rail-k{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:var(--r8);color:var(--dim);
  background:rgba(var(--ink),.05);transition:color var(--tState) var(--settle),transform var(--tState) var(--settle),background-color var(--tState) var(--settle)}
.ds-rail-k .ds-i{--is:12px}
.ds-rail-t{flex:none;writing-mode:vertical-rl;transform:rotate(180deg);font:var(--fLegSm);letter-spacing:var(--trLegSm);text-transform:none;color:var(--faint);white-space:nowrap}
.ds-rail-b{flex:0 1 auto;min-height:0;display:flex;flex-direction:column;align-items:center;gap:var(--sp14);overflow:hidden}
.ds-rail-b:empty{display:none}
.ds-rail-b>[hidden]{display:none}
.ds-rail-m{flex:none;display:grid;place-items:center;min-height:16px}
.ds-rail-m:empty{display:none}
.ds-rail-v{flex:none;writing-mode:vertical-rl;transform:rotate(180deg);font:600 12px/1 var(--mono);font-variant-numeric:tabular-nums;letter-spacing:0;
  color:var(--dim);white-space:nowrap}
.ds-rail-v[data-tone="held"]{color:var(--text)}
.ds-rail-v[data-tone="up"]{color:var(--upInk)} .ds-rail-v[data-tone="dn"]{color:var(--dnInk)}
.ds-rail-v:empty,.ds-rail-w:empty{display:none}
.ds-rail-w{flex:none;writing-mode:vertical-rl;transform:rotate(180deg);font:600 12px/1 var(--sans);font-style:normal;letter-spacing:0;color:var(--text);white-space:nowrap}
.ds-rail-w.q{font:var(--fMeta);letter-spacing:0;color:var(--faint)}
.ds-rail-w[data-tone="up"]{color:var(--upInk)} .ds-rail-w[data-tone="dn"]{color:var(--dnInk)}
.ds-rail-br{position:relative;flex:none;width:4px;height:84px;border-radius:2px;overflow:hidden;background:var(--ask);--k:.5}
.ds-rail-br>i{position:absolute;left:0;right:0;bottom:0;height:100%;background:var(--bid);transform-origin:50% 100%;transform:scaleY(var(--k));transition:transform var(--tState) var(--settle)}
.ds-rail-br.none{background:rgba(var(--ink),.08)} .ds-rail-br.none>i{display:none}
.ds-rail-f{flex:none;display:flex;flex-direction:column;align-items:center;gap:var(--sp4);padding:0 0 var(--sp6)}
.ds-rail-f:empty{display:none}
.ds-rail-f>.ds-ico{width:28px;height:28px}
@media (hover:hover){
  .ds-rail-o:hover{background:rgba(var(--lit),calc(.04*var(--litK)))}
  .ds-rail-o:hover .ds-rail-k{color:var(--text);background:rgba(var(--ink),.09)}
  .ds-rail[data-side="l"] .ds-rail-o:hover .ds-rail-k{transform:translateX(2px)}
  .ds-rail[data-side="r"] .ds-rail-o:hover .ds-rail-k{transform:translateX(-2px)}
}
.ds-rail-o:focus-visible{box-shadow:inset 0 0 0 2px rgba(var(--acc2RGB),.55)}

.ds-btn[data-tone="quiet"]{background:transparent;box-shadow:none;--travel:1px;
  --downSh:inset 0 1px 3px rgba(var(--shd),calc(.2*var(--shdK)))}
@media (hover:hover){ .ds-btn[data-tone="quiet"]:hover:not(:disabled){background:rgba(var(--ink),.06)} }
.ds-btn[data-tone="quiet"].is-hover{background:rgba(var(--ink),.06)}
.ds-btn[data-tone="danger"]{color:var(--dnInk);background:rgba(var(--askRGB),.1);box-shadow:none;--travel:1px}
@media (hover:hover){ .ds-btn[data-tone="danger"]:hover:not(:disabled){color:var(--dn);background:rgba(var(--askRGB),.18)} }
.ds-btn[data-tone="danger"].is-hover{background:rgba(var(--askRGB),.18)}
.ds-btn:is([data-tone="bid"],[data-tone="ask"],[data-tone="warn"],[data-tone="close"]){color:var(--onHue);box-shadow:0 2px 0 var(--sideEdge),var(--hueLip);--downSh:var(--hueDown)}
.ds-btn[data-tone="bid"]{color:var(--onBid);--sideEdge:var(--bidDeep);background:linear-gradient(180deg,rgba(var(--bidRGB),.9),rgb(var(--bidRGB)))}
.ds-btn[data-tone="ask"]{color:var(--onAsk);--sideEdge:var(--askDeep);background:linear-gradient(180deg,rgba(var(--askRGB),.9),rgb(var(--askRGB)))}
.ds-btn[data-tone="warn"]{--sideEdge:var(--nukeEdge);color:var(--nukeInk);background:var(--nukeFace)}
@media (hover:hover){ .ds-btn[data-tone="warn"]:hover:not(:disabled){color:var(--nukeInk);background:var(--nukeFaceHi)} }
.ds-btn[data-tone="warn"].is-hover{color:var(--nukeInk);background:var(--nukeFaceHi)}
.ds-btn[data-tone="close"]{--sideEdge:var(--closeEdge);color:var(--closeInk);background:var(--closeFace)}
@media (hover:hover){ .ds-btn[data-tone="close"]:hover:not(:disabled){color:var(--closeInk);background:var(--closeFaceHi)} }
.ds-btn[data-tone="close"].is-hover{color:var(--closeInk);background:var(--closeFaceHi)}
.ds-btn[data-tone="close"] kbd:not(.ds-key){color:var(--onHueDim)}
.ds-btn[data-tone="bid"] kbd:not(.ds-key){color:color-mix(in srgb,var(--onBid) 72%,transparent)} .ds-btn[data-tone="ask"] kbd:not(.ds-key){color:color-mix(in srgb,var(--onAsk) 72%,transparent)}
.ds-btn[data-tone="slab"]{color:var(--slabDim);background:var(--slabFace);box-shadow:var(--slabLip);--travel:1px;--downSh:var(--slabDown)}
@media (hover:hover){ .ds-btn[data-tone="slab"]:hover:not(:disabled){color:var(--slabInk);background:var(--slabFaceHi)} }
.ds-btn[data-tone="slab"].is-hover{color:var(--slabInk);background:var(--slabFaceHi)}
.ds-btn[data-tone="slab"] kbd:not(.ds-key){color:var(--slabFaint)}
/* BUSY: the label stays (it says what is happening), a hairline ring turns in
   the glyph's place; nothing else about the button moves */
.ds-btn[aria-busy="true"]{cursor:progress}
.ds-btn[aria-busy="true"] .ds-i{animation:dsSpin .9s linear infinite}
@keyframes dsSpin{ /* rm: keep */to{transform:rotate(360deg)}}

/* ---- THE SUBMIT — the one 58px button on a surface: a legend, the order in
   one mono line under it, and the key that sends it in a tile at the end ---- */
.ds-go{display:flex;align-items:center;gap:var(--sp12);width:100%;height:var(--h58);padding:0 var(--sp10) 0 var(--sp16);
  border:0;border-radius:var(--rPlate);text-align:left;color:var(--onHue);
  background:var(--goFace,var(--priFace));box-shadow:var(--goSh,var(--priShLg));--travel:3px;--downSh:var(--hueDown)}
.ds-go>span:not([class]){flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--sp4)}
.ds-go b{font:var(--fCta);letter-spacing:var(--trCta);text-transform:none;white-space:nowrap}
.ds-go em{font:var(--fMeta);font-style:normal;color:var(--onHueSoft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--sans);font-size:11px;font-weight:500;letter-spacing:.005em}
.ds-go>i{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:var(--r8);
  background:var(--hueSunk);box-shadow:var(--hueSunkSh);font:600 12px/1 var(--mono);font-style:normal}
.ds-go>i .ds-i{--is:15px}
.ds-go[data-tone="bid"]{--goFace:linear-gradient(180deg,rgba(var(--bidRGB),.88),rgb(var(--bidRGB)));--goSh:0 3px 0 var(--bidDeep),0 10px 22px rgba(var(--bidRGB),.26),var(--hueLip)}
.ds-go[data-tone="ask"]{--goFace:linear-gradient(180deg,rgba(var(--askRGB),.88),rgb(var(--askRGB)));--goSh:0 3px 0 var(--askDeep),0 10px 22px rgba(var(--askRGB),.26),var(--hueLip)}
/* type on a side's fill takes the side's own ink (store.js → onBid · onAsk): white on a light set's mint (Aurora, Tide on
   black) could not be read (the owner, 2026-11-02) */
.ds-go[data-tone="bid"]{color:var(--onBid)} .ds-go[data-tone="ask"]{color:var(--onAsk)}
.ds-go[data-tone="bid"] em{color:color-mix(in srgb,var(--onBid) 78%,transparent)} .ds-go[data-tone="ask"] em{color:color-mix(in srgb,var(--onAsk) 78%,transparent)}

/* =====================================================================
   ICON KEYS — a glyph alone. 18 · 22 · 26 · 28 · 30, glyph 12 · 14 · 14 ·
   14 · 16. Quiet by default (a tint answers the pointer); `data-face`
   plate for one that stands on the panel, round for the reading register's
   head keys. Tones say what the key DOES: `acc` the orange F (focus this
   market), `warn` the yellow nuke (cancel every order), `ask` the ✕ that
   removes something of yours.
   ===================================================================== */
.ds-ico{display:inline-grid;place-items:center;flex:none;width:var(--h22);height:var(--h22);padding:0;border:0;
  border-radius:var(--r5);color:var(--dim);background:transparent;--is:14px;--travel:1px;
  --downSh:inset 0 1px 3px rgba(var(--shd),calc(.24*var(--shdK)))}
@media (hover:hover){ .ds-ico:hover:not(:disabled){color:var(--text);background:rgba(var(--ink),.07)} }
.ds-ico.is-hover{color:var(--text);background:rgba(var(--ink),.07)}
.ds-ico[data-size="xs"]{width:var(--h18);height:var(--h18);--is:12px;border-radius:var(--r4)}
.ds-ico[data-size="md"]{width:var(--h26);height:var(--h26);border-radius:var(--r8)}
.ds-ico[data-size="rd"]{width:var(--h28);height:var(--h28);border-radius:var(--r8)}
.ds-ico[data-size="lg"]{width:var(--h30);height:var(--h30);border-radius:var(--r8);--is:16px}
.ds-ico[data-face="plate"]{background:var(--plate);box-shadow:var(--plateShSm);--travel:2px;--downSh:inset 0 2px 5px rgba(var(--shd),calc(.2*var(--shdK)))}
@media (hover:hover){ .ds-ico[data-face="plate"]:hover:not(:disabled){background:var(--plate)} }
.ds-ico[data-face="plate"].is-hover{background:var(--plate)}
.ds-ico[data-face="round"]{border-radius:50%;background:rgba(var(--ink),.07);--is:12px}
@media (hover:hover){ .ds-ico[data-face="round"]:hover:not(:disabled){background:rgba(var(--ink),.13)} }
.ds-ico[data-face="round"].is-hover{background:rgba(var(--ink),.13)}
.ds-ico[data-tone="acc"]{color:var(--accent2)}
@media (hover:hover){ .ds-ico[data-tone="acc"]:hover:not(:disabled){color:var(--accentHi);background:rgba(var(--acc2RGB),.14)} }
.ds-ico[data-tone="acc"].is-hover{color:var(--accentHi);background:rgba(var(--acc2RGB),.14)}
.ds-ico[data-tone="warn"]{color:var(--warn)}
@media (hover:hover){ .ds-ico[data-tone="warn"]:hover:not(:disabled){color:var(--warn);background:rgba(var(--warnRGB),.16)} }
.ds-ico[data-tone="warn"].is-hover{background:rgba(var(--warnRGB),.16)}
@media (hover:hover){ .ds-ico[data-tone="ask"]:hover:not(:disabled){color:var(--dn);background:rgba(var(--askRGB),.12)} }
.ds-ico[data-tone="ask"].is-hover{color:var(--dn);background:rgba(var(--askRGB),.12)}
/* v8.9 · THE RED NUKE (the owner: "all of the close buttons in the app should be like the cancel icon that is yellow
   but this should be red one of the cancel icon. red nuke"): closing a position wears the cancel's nuke in the red of
   the side that loses — the same glyph in the same places, a step graver */
.ds-ico[data-tone="close"]{color:var(--dn)}
@media (hover:hover){ .ds-ico[data-tone="close"]:hover:not(:disabled){color:var(--dn);background:rgba(var(--askRGB),.14)} }
.ds-ico[data-tone="close"].is-hover{background:rgba(var(--askRGB),.14)}
/* the nuke stands quiet until there is something of yours to cancel */
.ds-ico[data-tone="warn"][data-idle]{color:var(--ghost)}
/* a key that is ON is a pressed switch; its glyph goes to the switch's ink */
.ds-ico.ds-sw:is(.on,[aria-pressed="true"]){color:var(--onInk,var(--chInk));background:transparent}
.ds-ico[data-face="plate"].ds-sw:is(.on,[aria-pressed="true"]){box-shadow:none}
/* a keycap hint hung on a key's corner (the recenter key's R) */
.ds-ico>.ds-key{position:absolute;right:-5px;bottom:-5px;pointer-events:none}
/* a dot on a key: something is waiting for the reader (a new order is ready
   to apply, W8). It pops in; it never pulses — a pulse would be an alert */
.ds-ico>.ds-dot{position:absolute;right:2px;top:2px;width:6px;height:6px;border-radius:50%;pointer-events:none;
  background:var(--accent2);box-shadow:0 0 0 1.5px var(--panel2);transform:scale(0);transition:transform var(--tPop) var(--pop)}
.ds-ico.has-dot>.ds-dot{transform:none}
/* the focus key: the orange F on every card (W5) */
.ds-fkey{color:var(--accent2)}
/* on a slab */
.ds-ico[data-on="slab"]{color:var(--slabDim)}
@media (hover:hover){ .ds-ico[data-on="slab"]:hover:not(:disabled){color:var(--slabInk);background:var(--slabFaceHi)} }
.ds-ico[data-on="slab"][data-tone="ask"]:hover{color:var(--askSoft);background:rgba(var(--askRGB),.22)}
.ds-ico[data-on="slab"][data-tone="warn"]{color:var(--nukeOnSlab)}
.ds-ico[data-on="slab"][data-tone="close"]{color:var(--askSoft)}
@media (hover:hover){ .ds-ico[data-on="slab"][data-tone="close"]:hover:not(:disabled){color:var(--askSoft);background:rgba(var(--askRGB),.24)} }
@media (hover:hover){ .ds-ico[data-on="slab"][data-tone="warn"]:hover:not(:disabled){color:var(--nukeOnSlab);background:rgba(var(--warnRGB),.24)} }

/* =====================================================================
   BANKS — a well holding faces; the chosen one is a pressed switch. A bank's
   options are VALUES, so they are mono (`data-kind="legend"` for words that
   name a mode). The side bank (BUY · SELL) is the one bank whose "on" face
   wears a hue: the side IS the hue.
   ===================================================================== */
.ds-seg{position:relative;display:inline-flex;align-items:stretch;gap:2px;flex:none;
  height:var(--h30);padding:var(--padBank);border-radius:var(--rBank);background:var(--chTrack);box-shadow:none}
.ds-seg>button{flex:1 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:var(--sp6);min-width:0;
  padding:0 var(--sp10);border:0;border-radius:var(--rFace);white-space:nowrap;
  font:var(--fOpt);letter-spacing:var(--trOpt);color:var(--chRest);background:transparent;--travel:0px;--downSh:none}
@media (hover:hover){ .ds-seg>button:hover:not(.on,:disabled){color:var(--text);background:transparent} }
.ds-seg>button.is-hover:not(.on){color:var(--text);background:transparent}
.ds-seg>button.on{color:var(--chInk)}
.ds-seg>button .ds-i{--is:12px}
.ds-seg[data-kind="legend"]>button{font:var(--fCtlSm);letter-spacing:var(--trCtlSm);text-transform:none}
.ds-seg[data-fill]{display:flex;width:100%}
.ds-seg[data-fill]>button{flex:1 1 0}
.ds-seg[data-size="sm"]{height:var(--h22);gap:1px;border-radius:var(--rBankSm);padding:var(--padBankSm)}
.ds-seg[data-size="sm"]>button{padding:0 var(--sp6);border-radius:var(--rFaceSm);font-size:11px}
.ds-seg[data-size="md"]{height:var(--h26)}
.ds-seg[data-size="md"]>button{padding:0 var(--sp8)}
.ds-seg[data-size="xl"]{height:var(--h34)}
.ds-seg[data-size="xl"]>button{padding:0 var(--sp12)}
.ds-seg[data-size="lg"]{height:40px;--rBank:12px}
.ds-seg[data-size="lg"]>button{padding:0 var(--sp14)}
/* BUY · SELL */
.ds-seg[data-kind="side"]>button{font:var(--fCtl);letter-spacing:var(--trCtl);text-transform:none}
.ds-seg[data-kind="side"]>button[data-side="b"]{--onFill:linear-gradient(180deg,rgba(var(--bidRGB),.9),rgb(var(--bidRGB)));--onSh:0 1px 0 var(--bidDeep),var(--hueLip)}
.ds-seg[data-kind="side"]>button[data-side="a"]{--onFill:linear-gradient(180deg,rgba(var(--askRGB),.9),rgb(var(--askRGB)));--onSh:0 1px 0 var(--askDeep),var(--hueLip)}
.ds-seg[data-kind="side"]>button[data-side="b"].on{color:var(--onBid)} .ds-seg[data-kind="side"]>button[data-side="a"].on{color:var(--onAsk)}
@media (hover:hover){
  .ds-seg[data-kind="side"]>button[data-side="b"]:hover:not(.on){color:var(--upInk)}
  .ds-seg[data-kind="side"]>button[data-side="a"]:hover:not(.on){color:var(--dnInk)}
}
/* THE TRIGGER (v9 · Q177; `.ds-trig`): a key that opens a choice — a folded bank's chip, a window, a filter — is that
   bank folded: its value on the bank's own faint track (`--track`), the caret faint after it; under the hand the words
   come to ink; pressed, and while its choice is open (`aria-expanded`, `.open`), it is IN HAND: lifted onto the thumb's
   plate (`--thumb`, `--thumbSh`) in full ink, its caret turned. No ledge on any ground. Why: these were the kit's raised
   key (`.ds-btn`, `--plateShSm`: a 2 px hard shade under it), which the owner read beside the heads' flat banks as a
   3D button: "the shade is not looking great, and the look of the button is not premium and modern" (the heat pane's
   "1m ⌄"). tools/triggerprobe.mjs fails on any trigger that casts a hard shade. */
.ds-trig{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:var(--sp4);flex:none;min-width:0;
  height:var(--h22);padding:0 var(--sp6) 0 var(--sp8);border:0;border-radius:var(--rFaceSm);white-space:nowrap;
  font:var(--fHdFig);font-size:12px;letter-spacing:0;text-transform:none;color:var(--dim);background:var(--track);box-shadow:none;
  --travel:0px;--downSh:none;transition:color var(--tState) var(--settle),background-color var(--tState) var(--settle),box-shadow var(--tState) var(--settle)}
.ds-trig[data-size="md"]{height:var(--h26);border-radius:var(--rFace);padding:0 var(--sp8) 0 var(--sp10)}
.ds-trig .ds-i{--is:11px;flex:none}
.ds-trig .car{--is:9px;color:var(--faint);transition:transform var(--tState) var(--settle),color var(--tState) var(--settle)}
@media (hover:hover){ .ds-trig:hover:not(:disabled){color:var(--text);filter:none} .ds-trig:hover:not(:disabled) .car{color:var(--dim)} }
.ds-trig.is-hover:not(:disabled){color:var(--text);filter:none}
.ds-trig:is(:active,.is-press,[aria-expanded="true"],.open):not(:disabled){color:var(--text);background:var(--thumb);box-shadow:var(--thumbSh)}
.ds-trig:is([aria-expanded="true"],.open) .car{color:var(--dim);transform:rotate(180deg)}
.ds-trig:disabled,.ds-trig[aria-disabled="true"]{opacity:.42;cursor:default}

/* a bank on a dark slab: its "on" face RISES (a slab is already the dark) */
:is(.ds-slab,.ds-on-slab) .ds-seg,.ds-seg[data-on="slab"]{background:var(--slabSunk);box-shadow:var(--slabSunkSh)}
:is(.ds-slab,.ds-on-slab) .ds-seg>button,.ds-seg[data-on="slab"]>button{color:var(--slabDim);--onFill:var(--slabOn);--onSh:var(--slabOnSh)}
:is(.ds-slab,.ds-on-slab) .ds-seg>button.on,.ds-seg[data-on="slab"]>button.on{color:var(--slabInk)}
@media (hover:hover){ :is(.ds-slab,.ds-on-slab) .ds-seg>button:hover:not(.on),.ds-seg[data-on="slab"]>button:hover:not(.on){color:var(--slabInk);background:var(--slabHov)} }

/* =====================================================================
   TABS — a bank whose "on" is ONE raised plate that TRAVELS (the view tabs'
   object, js/ui/header.js): where you came from is worth watching. The plate
   carries the answer's underline. Faces are equal width unless `data-fitw`.
   ===================================================================== */
.ds-tabs{position:relative;display:flex;align-items:stretch;gap:2px;height:var(--h30);padding:var(--padBank);
  border-radius:var(--rBank);background:var(--chTrack);box-shadow:none}
.ds-tabs>button{position:relative;z-index:1;flex:1 1 0;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:var(--sp6);
  padding:0 var(--sp10);border:0;border-radius:var(--rFace);background:transparent;white-space:nowrap;
  font:var(--fCtl);letter-spacing:var(--trTab);text-transform:none;color:var(--chRest);--travel:0px;--downSh:none}
.ds-tabs[data-fitw]>button{flex:0 0 auto;padding:0 var(--sp14)}
.ds-tabs>button[hidden]{display:none}
.ds-tabs>button[aria-selected="true"]{color:var(--chInk)}
@media (hover:hover){ .ds-tabs>button:hover:not([aria-selected="true"]){color:var(--text)} }
.ds-tabs>button em{font:var(--fMetaSm);font-style:normal;letter-spacing:0;text-transform:none;color:var(--faint)}
.ds-tabs>button .ds-key{margin-left:var(--sp2)}
.ds-tabs-ind{position:absolute;left:0;top:var(--padBank);bottom:var(--padBank);width:0;z-index:0;border-radius:var(--rFace);pointer-events:none;
  transform-origin:0 50%;background:var(--onFill,var(--chLit));box-shadow:var(--onSh,var(--chLitSh))}
.ds-tabs[data-size="xl"]{height:var(--h34)}
.ds-tabs[data-size="md"]{height:var(--h26);padding:var(--padBankSm);border-radius:var(--rBankSm)}
.ds-tabs[data-size="md"]>button{border-radius:var(--rFaceSm)}
.ds-tabs[data-size="md"]>.ds-tabs-ind{top:var(--padBankSm);bottom:var(--padBankSm);border-radius:var(--rFaceSm)}
.ds-tabs[data-size="md"]>button{font:var(--fCtlSm);letter-spacing:var(--trCtlSm)}

/* =====================================================================
   THE PAGE HEAD (v9 · Q137; js/ui/ds/bar.js → pageBar, components.md → A
   PAGE'S HEAD IS ONE GRAMMAR) — every page's second row. The row and every
   control in it stand at --barH; the parts of a group --barGap apart, two
   groups --barSpace apart, and ONE flex space, before the keys. The groups go
   in the order they are used: what (the markets, the scope), how (the face,
   the hold, the unit, the window), the readings, the keys. A CHOICE is a bank
   (.ds-seg: a legend engraved at its head, `.ds-seg-lg`; a second bank in the
   same well after `.ds-seg-sep`), a READING a recess (.ds-vchip — never a
   slab: on paper a slab is a black block in a grey row), a KEY a plate. Two
   roles of type and no third: a WORD (--fCtlSm, upper) and a FIGURE
   (--fBarFig, tabular, its case kept, its width held in ch by `--ch` where it
   ticks), on one baseline: a word sits --barWordDy lower. What does not fit
   folds whole into ONE chip; nothing sheds a word. Until Q137 each head had
   its own: banks sized by padding (17, 29 and 28 px in a 34 px row), chips at
   22 in a 30, gaps of 1, 7, 9 and 10 px, six type styles on baselines 2 px
   apart, and words shed under a container query.
   ===================================================================== */
.ds-bar{flex:none;display:flex;align-items:center;gap:var(--barSpace);height:var(--barH);min-width:0}
.ds-bar-g{flex:none;display:inline-flex;align-items:center;gap:var(--barGap);height:var(--barH)}
.ds-bar-end{margin-left:auto}
.ds-bar-end:not(.ds-bar-g){flex:none;display:flex;align-items:center;gap:var(--barSpace)}
.ds-bar [data-off],.ds-bar-more[hidden]{display:none}
/* ⋯ is pressed while its sheet is open, as every key that opens something is (v8 S9) */
.ds-bar-more[aria-expanded="true"]{box-shadow:var(--pressSh);color:var(--text)}
/* a bank's own words and values take their role by its kind; a role named on the element (.ds-bw, .ds-bf) wins.
   In the head and in ⋯'s sheet only: a phone's tools sheet that borrows a group sets its own type */
:is(.ds-bar,.ds-bar-pop) :where(.ds-seg-lg),
:is(.ds-bar,.ds-bar-pop) :where(.ds-seg[data-kind="legend"]>button>span),
:is(.ds-bar,.ds-bar-pop) .ds-bw{font:var(--fCtlSm);letter-spacing:var(--trCtlSm);
  text-transform:none;font-style:normal;white-space:nowrap;position:relative;top:var(--barWordDy)}
:is(.ds-bar,.ds-bar-pop) :where(.ds-seg>button>em),
:is(.ds-bar,.ds-bar-pop) :where(.ds-seg:not([data-kind])>button>span),
:is(.ds-bar,.ds-bar-pop) .ds-bf{font:var(--fBarFig);letter-spacing:0;
  text-transform:none;font-style:normal;font-variant-numeric:tabular-nums;white-space:nowrap}
:is(.ds-bar,.ds-bar-pop) :where(.ds-seg>button>em),:is(.ds-bar,.ds-bar-pop) .ds-bf{display:inline-block;min-width:calc(var(--ch,0) * 1ch);text-align:right}
/* A FIGURE ON ITS WAY is a recess where it will stand (`data-wait`), never a word in its place: the page's own
   loading language, on both heads (y-craft 10, 14). Its ink is none on any face (a pressed face's figure ink showed
   through); the slot starts where the figure does, so it never reaches its word, and is two figures wide at least,
   running into the face's own side (one figure's slot read as a dot). A value with nothing to say is the dash */
:is(.ds-bar,.ds-bar-pop) .ds-bf[data-wait]{position:relative;color:transparent!important}
:is(.ds-bar,.ds-bar-pop) .ds-bf[data-wait]::after{content:"";position:absolute;left:0;top:50%;width:max(100%,2ch);height:7px;margin-top:-3.5px;border-radius:3px;
  background:var(--waitFace);box-shadow:var(--waitSh)}
:is(.ds-bar,.ds-bar-pop) .ds-sw:is(.on,[aria-pressed="true"]) .ds-bf[data-wait]::after{background:var(--waitOn);box-shadow:var(--waitOnSh)}
:is(.ds-bar,.ds-bar-pop) .ds-vchip .ds-bf[data-wait]::after{background:var(--waitIn);box-shadow:var(--waitInSh)}
:is(.ds-bar,.ds-bar-pop) .ds-seg{height:var(--barH)}
:is(.ds-bar,.ds-bar-pop) .ds-seg>button{padding:0 var(--barPad);gap:var(--barIn)}
.ds-seg-lg{flex:none;display:inline-flex;align-items:center;padding:0 var(--sp6) 0 var(--sp8);color:var(--faint)}
.ds-seg-sep{flex:none;align-self:center;width:1px;height:16px;margin:0 var(--sp4);background:rgba(var(--ink),.14);box-shadow:var(--grooveShV)}
:is(.ds-bar,.ds-bar-pop) .ds-vchip{justify-content:flex-start;gap:var(--barIn);min-width:0;height:var(--barH);padding:0 var(--barPad);border-radius:var(--r8);font:var(--fBarFig)}
:is(.ds-bar,.ds-bar-pop) .ds-btn{gap:var(--barIn);padding:0 var(--barPad)}
/* THE PHONE'S FORM (y-craft 11): the head wraps and never folds (bar.js), every control a finger's 44 px — a bank's
   face too, the well's inset its own clear rim, so the pressed face stands inside it as Spaghetti's phone scopes do —
   in the phone's own type: a word 600 13 in sentence case, a figure 500 13 mono */
html[data-phone] .ds-bar{--barH:var(--phCtlMd,44px);--barWordDy:0px}
html[data-phone] .ds-bar .ds-seg{padding-block:0}
html[data-phone] .ds-bar .ds-seg>button{border-block:var(--inset) solid transparent;background-clip:padding-box}
html[data-phone] :is(.ds-bar,.ds-bar-pop) :where(.ds-seg-lg),
html[data-phone] :is(.ds-bar,.ds-bar-pop) :where(.ds-seg[data-kind="legend"]>button>span),
html[data-phone] :is(.ds-bar,.ds-bar-pop) .ds-bw{font:600 13px/1 var(--sans);letter-spacing:-.003em;text-transform:none}
html[data-phone] :is(.ds-bar,.ds-bar-pop) :where(.ds-seg>button>em),
html[data-phone] :is(.ds-bar,.ds-bar-pop) :where(.ds-seg:not([data-kind])>button>span),
html[data-phone] :is(.ds-bar,.ds-bar-pop) .ds-bf{font:500 12px/1 var(--mono)}
html[data-phone] .ds-bar .ds-ico[data-size="lg"],html[data-phone] .ds-bar .ds-btn:not(.y-){height:var(--barH)}
html[data-phone] .ds-bar .ds-ico[data-size="lg"]{min-width:var(--barH)}
/* ⋯'s sheet: each folded group under its name, at the head's own size */
.ds-pop.ds-bar-pop{padding:var(--sp10) var(--sp12)}
.ds-bar-fold{display:flex;flex-direction:column;gap:var(--sp8)}
.ds-bar-fr{display:flex;align-items:center;justify-content:space-between;gap:var(--barSpace)}
.ds-bar-fn{font:var(--fCtlSm);letter-spacing:var(--trCtlSm);text-transform:none;color:var(--faint);white-space:nowrap}

/* =====================================================================
   THE HEADS (v9 · Q140; components.md → ONE CHROME IN THREE TIERS). The
   owner, of Q137's heads: "this is not premium modern, seamless in a design
   system. no thought went through it." Q137 boxed every group in a capsule
   of its own — nine grey capsules of equal weight on a row, readings in the
   same capsules as the controls, three marks that each said "chosen" (the
   bar's raised tab with its orange tick, the kit's black block, both on the
   Wall), tracked uppercase on every word. ONE chrome in three tiers now,
   each one height and one type role:
     THE BAR        where you are (css/main.css → THE TOP BAR)
     THE PAGE HEAD  what you are looking at: `.hd` — the top band of the
                    page's own surface: the subject on the left as its hero,
                    the readings as readings (a legend over a figure, never in
                    a control), the view as one quiet family on the right, one
                    overflow
     A PANEL HEAD   that panel's knobs: `.hd3`
   ONE "CHOSEN" MARK for every control: THE THUMB (js/ui/ds/controls.js → thumb), a
   quiet plate that slides between a bank's faces on the spring; a switch
   that stands alone wears the same plate. Orange stays for where you are
   (the bar) and the one act. No capsule per group: space, and one hairline
   between two groups. Words in sentence case; a reading's legend is the one
   uppercase. Zeros are hidden (a figure of 0 on a choice says nothing a
   press would give). Both grounds on purpose: ink on paper, light on black.
   ===================================================================== */
/* the page head's band: the top of the page's own surface, one height on every page */
.ds-bar.hd{height:var(--hdH);padding:0 var(--hdGap);border-radius:var(--rHead);background:var(--plate);box-shadow:var(--plateShSm)}
html[data-phone] .ds-bar.hd{height:auto;padding:0;border-radius:0;background:transparent;box-shadow:none}
.hd{--barH:30px;--barGap:2px;--barSpace:var(--sp14);--barPad:var(--sp10);
  --onFill:var(--chLit);--onSh:var(--chLitSh);--onInk:var(--chInk);--onInk2:var(--chInk2)}
/* every bank in a head: faces on a faint track, the thumb under the chosen one */
.hd .ds-seg{height:var(--barH);padding:var(--padBank);gap:0;border-radius:var(--rBank);background:var(--chTrack);box-shadow:none}
.hd .ds-seg>button{border-radius:var(--rFace);padding:0 var(--barPad);font:var(--fHdWord);letter-spacing:0;text-transform:none;color:var(--dim);--travel:0px;--downSh:none}
/* a plain label's first letter up — said by a custom property, never in the ::first-letter rule itself (perf-folds): an
   attribute selector beside ::first-letter made every change of ANY element's class re-style its whole subtree (the
   browser can not tell which descendant's first letter a class reaches): a fold's class on the desk re-styled 2,000
   elements, 9–13 ms, where it now re-styles the few its rules name */
.hd .ds-seg>button>span:not([class]){display:inline-block;--fl:uppercase}
.hd .ds-seg>button>span::first-letter,.hd .ds-btn>span::first-letter{text-transform:var(--fl,inherit)}
/* a bank of one (a lone switch dressed as a bank) has no track: the thumb is its whole face */
.hd .ds-seg:not(:has(>button+button)){background:transparent}
.hd .ds-seg:not([data-kind])>button>span,.hd .ds-seg>button>em,.hd .ds-bf{font:var(--fHdFig);font-style:normal;letter-spacing:0;top:0}
.hd .ds-seg>button>em{color:var(--faint)}
.hd .ds-seg>button.on,.hd .ds-seg>button[aria-checked="true"]{color:var(--text)}
.hd .ds-seg>button.on>em{color:var(--dim)}
@media (hover:hover){ .hd .ds-seg>button:hover:not(.on,:disabled){color:var(--text);background:transparent} }
.hd .ds-seg[data-kind="legend"]>button,.hd .ds-seg[data-kind="legend"]>button>span{font:var(--fHdWord);letter-spacing:0;text-transform:none;top:0}
.hd .ds-seg-lg{font:var(--fHdLeg);letter-spacing:var(--trHdLeg);text-transform:none;color:var(--faint);top:0;padding:0 var(--sp6) 0 var(--sp8)}
.hd .ds-seg-sep{height:14px;margin:0 2px;background:var(--hdRule);box-shadow:none}
/* the thumb: one plate under the chosen face, sliding; the faces' own ON plates stand down while it does */
.ds-thumb{position:absolute;left:0;top:0;width:0;height:0;z-index:0;border-radius:var(--rFace);pointer-events:none;transform-origin:0 50%;
  background:var(--onFill,var(--chLit));box-shadow:var(--onSh,var(--chLitSh));contain:size layout style}   /* (its own layout's boundary: its seat lays out itself alone, controls.js → THE THUMBS SEAT TOGETHER) */
.has-thumb{position:relative;isolation:isolate}   /* its faces' z-index stays inside it: a bank in a sheet never stands over a menu beside it */
.has-thumb>:not(.ds-thumb){position:relative;z-index:1}
/* faces' own plates stand down once the thumb stands; `.ds-own` keeps its own */
.has-thumb[data-seated]>.ds-sw:not(.ds-own)::after{display:none}
.ds-seg[data-size="sm"]>.ds-thumb{border-radius:var(--rFaceSm)}
/* BUY · SELL: the side's hue, crossing by opacity */
.ds-seg[data-kind="side"]>.ds-thumb{background:none;box-shadow:none}
.ds-seg[data-kind="side"]>.ds-thumb::before,.ds-seg[data-kind="side"]>.ds-thumb::after{content:"";position:absolute;inset:0;border-radius:inherit;opacity:0;
  transition:opacity var(--tChoice,.39s) var(--settle)}
.ds-seg[data-kind="side"]>.ds-thumb::before{background:linear-gradient(180deg,rgba(var(--bidRGB),.9),rgb(var(--bidRGB)));box-shadow:0 1px 0 var(--bidDeep),var(--hueLip)}
.ds-seg[data-kind="side"]>.ds-thumb::after{background:linear-gradient(180deg,rgba(var(--askRGB),.9),rgb(var(--askRGB)));box-shadow:0 1px 0 var(--askDeep),var(--hueLip)}
.ds-seg[data-kind="side"]>.ds-thumb[data-side="b"]::before,.ds-seg[data-kind="side"]>.ds-thumb[data-side="a"]::after{opacity:1}
/* a lone switch in a head (a star, positions, freeze) wears the same plate when it is on */
.hd .ds-sw:not(.has-thumb>*){--travel:0px}
/* the kit's tabs in a head: their plate IS the thumb, without the bar's orange tick (orange is for where you are) */
.hd .ds-tabs{height:var(--barH);padding:var(--padBank);gap:0;border-radius:var(--rBank);background:var(--chTrack);box-shadow:none}
.hd .ds-tabs>button{font:var(--fHdWord);letter-spacing:0;text-transform:none;color:var(--dim);padding:0 var(--sp12)}
.hd .ds-tabs>button>span{display:inline-block} .hd .ds-tabs>button>span::first-letter{text-transform:none}
.hd .ds-tabs>button[aria-selected="true"]{color:var(--text)}
.hd .ds-tabs-ind{top:var(--padBank);bottom:var(--padBank);border-radius:var(--rFace)}
/* KEYS: a glyph or a word on nothing, a wash under the hand; a plate only for the one act */
.hd .ds-ico:not([data-tone]),.hd .ds-btn:not([data-tone]){background:transparent;box-shadow:none;color:var(--dim);--travel:0px;--downSh:none}
.hd .ds-ico:not([data-tone]){min-width:var(--barH);height:var(--barH);border-radius:8px}
.hd .ds-btn:not([data-tone]){height:var(--barH);border-radius:var(--rBank);font:var(--fHdWord);letter-spacing:0;text-transform:none}   /* the head is 20 at a 10 inset, so its keys are 10, the bank's corner (design-kit-d5: the Wall's 18 had them at 8) */
.hd .ds-btn:not([data-tone])>span:not([class]){display:inline-block;--fl:uppercase}
@media (hover:hover){ .hd .ds-ico:not([data-tone]):hover:not(:disabled),.hd .ds-btn:not([data-tone]):hover:not(:disabled){color:var(--text);background:var(--hdWash);filter:none} }
.hd :is(.ds-ico,.ds-btn).ds-sw:is(.on,[aria-pressed="true"],[aria-expanded="true"]){color:var(--text)}
.hd .ds-bw{font:var(--fHdWord);letter-spacing:0;text-transform:none;top:0}
/* A READING is a reading: its legend over its figure, on the head itself — never a recess, never a control */
.hd .ds-vchip{height:auto;padding:0;background:transparent;box-shadow:none;border-radius:0;font:var(--fHdRead);color:var(--text)}
.hd-read{display:inline-flex;flex-direction:column;justify-content:center;gap:5px;min-width:0;white-space:nowrap}
.hd-read>i,.hd-read>.hd-leg{font:var(--fHdLeg);font-style:normal;letter-spacing:var(--trHdLeg);text-transform:none;color:var(--faint)}
.hd-read>b{font:var(--fHdRead);font-variant-numeric:tabular-nums;color:var(--text)}
/* THE SUBJECT: what you are looking at, the head's hero — its name, then its count in the mono voice. A control's
   height in its group, on the head's one baseline: centred, the 15 px name stands half a pixel under the words and the
   figures beside it, so it is lifted that half (its count, centred, is on the line already) */
.hd-sub{display:inline-flex;align-items:center;gap:var(--sp8);min-width:0;height:var(--barH);white-space:nowrap}
.hd-sub>b{position:relative;top:-.5px;font:var(--fHdSub);letter-spacing:-.01em;color:var(--text)}
.hd-sub>em{font:var(--fHdFig);font-style:normal;color:var(--faint)}
/* the groups: space, and one hairline between two (never a capsule) */
.ds-bar.hd>.ds-bar-g+.ds-bar-g:not(.ds-bar-end)::before,.hd .hd-rule{content:"";flex:none;align-self:center;width:1px;height:18px;
  margin-right:calc(var(--barSpace) - var(--barGap));background:var(--hdRule)}
.ds-bar.hd>.ds-bar-g{position:relative}
html[data-phone] .hd{--barH:var(--phCtlMd,44px)}
html[data-phone] .ds-bar.hd>.ds-bar-g+.ds-bar-g::before{display:none}
/* A PANEL HEAD (tier 3): that panel's knobs, a step down — Focus's panes (.fxp-h), the wall's cards (.wc-h), the wall's
   tape rail (.tr-h, the page it grows into on the thumb: tape-page-head). Their titles stay the small engraved legend
   (the one uppercase), and every choice in them wears the same thumb on the same faint track (Focus's slide: focus.js →
   mountPane); a value stays a value (mono), a word a word */
.hd3,.fxp-h,.wc-h,.tr-h{--onFill:var(--chLit);--onSh:var(--chLitSh);--onInk:var(--chInk);--onInk2:var(--chInk2)}
:is(.hd3,.fxp-h,.wc-h,.tr-h) .ds-seg{padding:2px;gap:0;border-radius:8px;background:var(--chTrack);box-shadow:none}
:is(.hd3,.fxp-h,.wc-h,.tr-h) .ds-seg>button{border-radius:6px;color:var(--dim);--travel:0px;--downSh:none}
:is(.hd3,.fxp-h,.wc-h,.tr-h) .ds-seg>button.on{color:var(--text)}
.hd3 .ds-seg>button{font:500 11px/1 var(--sans);letter-spacing:0;text-transform:none}
.hd3 .ds-seg>button>span{display:inline-block} .hd3 .ds-seg>button>span::first-letter{text-transform:none}

/* =====================================================================
   THE TAB STRIP (v9 · Q33; js/ui/tabs.js). Focus's,
   the Wall's and the Basket's tabs: a mark, a short name and one live figure,
   on the head itself (no track: the tabs are what the page holds, the banks
   are how it is seen), the one in front on the head's thumb. Compressed in
   steps by the strip (`data-c`): 1 the figures go, 2 every tab behind the
   front one keeps its mark alone; then the tail folds into "+n".
   ===================================================================== */
.tst{position:relative;display:flex;align-items:center;gap:var(--sp2);min-width:0;flex:1 1 auto}
.tst-row{position:relative;display:flex;align-items:center;min-width:0;height:var(--barH,30px);padding:2px 0}
.tst-tab{position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px;flex:none;height:100%;max-width:220px;padding:0 6px 0 7px;border-radius:7px;
  font:var(--fHdWord);letter-spacing:0;color:var(--dim);text-decoration:none;white-space:nowrap;cursor:pointer;user-select:none;-webkit-user-drag:none;--travel:0px;
  transition:color var(--tState) var(--ease)}
.tst-tab+.tst-tab::before{content:"";position:absolute;left:0;top:50%;width:1px;height:12px;margin-top:-6px;background:var(--hdRule);transition:opacity var(--tLeave) var(--settle)}
.tst-tab.on::before,.tst-tab.on+.tst-tab::before{opacity:0}
.tst-tab.on{color:var(--text);font-weight:600}
@media (hover:hover){ .tst-tab:hover:not(.on){color:var(--text);background:var(--hdWash)} .tst-tab:hover::before,.tst-tab:hover+.tst-tab::before{opacity:0} }
.tst-tab:focus-visible{outline:2px solid var(--ring);outline-offset:-1px}
.tst-mk{display:grid;place-items:center;flex:none}
.tst-mk .amk{width:17px;height:17px;--amkEdge:1.5px}
.tst-mk .ds-i{--is:13px;color:var(--faint)}
.tst-tab.on .tst-mk .ds-i{color:var(--dim)}
/* (v9 · Q140, round 3) a tab of several markets (js/ui/tabs.js → marksHTML): behind, a tight stack of three, the first
   on top; in front, spread so each is read, a breath between the longs and the shorts; the rest counted, faint */
/* (perf-strip-marks) every mark laid out in both states and placed by its own transform (tabs.js → marksHTML): stacked
   a step of 6 px, the fourth on tucked under the third and unseen; spread a step of 14, the shorts a breath of 8 further;
   the marks' reach is the box's padding, the counts one cell after it (tabmotion.js → fan holds the same steps) */
.tst-mks{position:relative;display:flex;align-items:center;height:17px;--mk:17px;--st:6px;--sp:14px;
  padding-left:calc(var(--mk) + (min(var(--n),3) - 1) * var(--st))}
.tst-tab.on .tst-mks{padding-left:calc(var(--mk) + (var(--n) - 1) * var(--sp) + var(--bn) * 8px)}
.tst-m{position:absolute;left:0;top:0;width:var(--mk);height:var(--mk);transform:translateX(calc(min(var(--i),2) * var(--st)))}
.tst-tab.on .tst-m{transform:translateX(calc(var(--i) * var(--sp) + var(--b) * 8px))}
.tst-m>.amk{display:block;width:100%;height:100%;--amkEdge:1.5px;box-shadow:0 0 0 1.5px var(--tstCut,var(--void))}
.tst-m:nth-child(1){z-index:6} .tst-m:nth-child(2){z-index:5} .tst-m:nth-child(3){z-index:4}
.tst-m:nth-child(4){z-index:3} .tst-m:nth-child(5){z-index:2} .tst-m:nth-child(6){z-index:1}
.tst-tab:not(.on) .tst-m:nth-child(n+4){opacity:0}
.tst-mns{display:grid;margin-left:4px}
.tst-tab.on .tst-mns.tst-nf{width:0;margin-left:0}
.tst-mn{grid-area:1/1;font:600 10px/1 var(--mono);font-style:normal;color:var(--faint)}
.tst-tab:not(.on) .tst-mn[data-k="f"],.tst-tab.on .tst-mn[data-k="b"]{opacity:0}
.pgt .tst-tab.on{--tstCut:var(--pgtFill)}
@media (hover:hover){ .pgt .tst-tab:hover:not(.on){--tstCut:var(--void)} }
.tst-nm{min-width:0;font:inherit;color:inherit}
.tst-fg{display:inline-flex;align-items:baseline;gap:3px;font:var(--fHdFig);font-style:normal;color:var(--faint);font-variant-numeric:tabular-nums;transition:color var(--tState) var(--ease)}
.tst-fg:empty{display:none}
/* (v9 · Q104, round 4) the reading's unit, a step quieter than its figure: bp after, OI and vol before (tabs.js → tabRead) */
.tst-fg>i{font:500 11px/1 var(--sans);font-style:normal;letter-spacing:.005em;opacity:.75}
.tst-tab.on .tst-fg:not([data-tone="up"]):not([data-tone="dn"]){color:var(--dim)}
.tst-fg[data-tone="up"]{color:var(--upInk)} .tst-fg[data-tone="dn"]{color:var(--dnInk)}
.tst-x{display:grid;place-items:center;flex:none;width:16px;height:16px;margin:0 -1px 0 -2px;padding:0;border:0;border-radius:5px;background:transparent;color:var(--faint);
  opacity:0;cursor:pointer;transition:opacity var(--tLeave) var(--settle),background-color var(--tArrive) var(--ease)}
.tst-tab.on .tst-x{opacity:.7}
@media (hover:hover){ .tst-tab:hover .tst-x{opacity:1} .tst-x:hover{color:var(--text);background:var(--hdWash)} }
.tst-row:has(>.tst-tab:only-of-type) .tst-x,.tst-tab[data-fixed] .tst-x{display:none}
.tst-add[hidden]{display:none}
.tst-row[data-c="1"] .tst-fg{display:none}
.tst-row[data-c="2"] .tst-fg{display:none}
.tst-row[data-c="2"] .tst-tab:not(.on) .tst-nm,.tst-row[data-c="2"] .tst-tab:not(.on) .tst-x{display:none}
.tst-row[data-c="2"] .tst-tab:not(.on){padding:0 7px}
.tst-tab[hidden]{display:none}
.tst-ghost{position:absolute;z-index:3;margin:0;pointer-events:none}
.tst-add{flex:none}
.tst-more{display:inline-flex;align-items:center;gap:3px;flex:none;height:var(--barH,30px);padding:0 var(--sp6);border:0;border-radius:7px;background:transparent;color:var(--dim)}
.tst-more[hidden]{display:none}
.tst-more>b{font:var(--fHdFig)}
@media (hover:hover){ .tst-more:hover{color:var(--text);background:var(--hdWash)} }
/* (shell-tabmotion) THE FRONT TAB'S SHEET (js/ui/tabs.js → sheetOf): one object of three parts, moved by transform
   alone — the ends travel, the middle stretches — so its corners and feet keep their shape at every width */
.tst-ind{--indR:7px;position:absolute;left:0;top:0;z-index:0;width:0;pointer-events:none;opacity:0}
.tst-ind>i{position:absolute;left:0;top:0;bottom:0;transform-origin:0 50%}
.tst-ind-l,.tst-ind-r{width:calc(2 * var(--indR))}
.tst-ind-m{background:var(--thumb)}
.tst-ind-l::after,.tst-ind-r::after{content:"";position:absolute;top:0;bottom:0;width:var(--indR);background:var(--thumb)}
.tst-ind-l::after{right:0;border-radius:var(--indR) 0 0 var(--indR)} .tst-ind-r::after{left:0;border-radius:0 var(--indR) var(--indR) 0}
/* THE SORT KEY (js/ui/ds/controls.js → sortFit, sortRoll, reoPaint; components.md → THE SORT IS ONE KEY): the Wall's
   bar and Focus's tab row say an order with these parts, each page sizing them to its row. The well (.ds-sv) holds the
   select, the state and the menu's; its word is handed for one beat to a roll laid over it (.ds-roll, in the select's
   own face and place, set by the script), the well catching the light once (.ds-lit). Transform and opacity only.
   Until v9 · Q213 these were css/wall.css's (.wb-roll, .wb-lit, .wb-new), and the roll's word was mono over a sans
   name: it landed a face and a place off and jumped at the end */
.ds-sv{position:relative;display:inline-flex;min-width:0}
.ds-roll{position:absolute;inset:0;overflow:hidden;pointer-events:none;display:none}
.ds-sv.rolling .ds-roll{display:block}
.ds-sv.rolling>select{color:transparent}
.ds-roll>i{position:absolute;left:0;top:0;bottom:0;display:flex;align-items:center;padding-left:inherit;font:inherit;font-style:normal;color:var(--text);white-space:nowrap}
.ds-lit{position:absolute;inset:0;border-radius:var(--litR,var(--r5));pointer-events:none;opacity:0;
  box-shadow:0 0 0 1.5px rgba(var(--acc2RGB),.55),inset 0 0 0 1px rgba(var(--acc2RGB),.22)}
/* THE REORDER KEY (v9 · Q197): quiet, its glyph alone in the middle; lit, the answer's orange on a wash of it with the
   count of what would move, the glyph stepping aside for it on the spring; one width either way. A new order, or a new
   count, sends one light across it (the footer's update glint), once: W3's ring left it every three seconds, and the
   owner: "remove the pulse on it and make it shimmer" */
.ds-reo{position:relative;display:inline-flex;align-items:center;justify-content:flex-start;width:40px;min-width:40px;padding:0 var(--sp8);gap:var(--sp4);
  overflow:hidden;isolation:isolate;transition:color var(--tState) var(--settle),background-color var(--tState) var(--settle)}
.ds-reo .ds-i{flex:none;transform:translateX(6px);transition:transform var(--tFlight) var(--spring)}
.ds-reo b{min-width:2ch;font:var(--fHdFig);opacity:0;transition:opacity var(--tState) var(--settle)}
.ds-reo[aria-disabled="true"]{cursor:default}
:is(.hd,.pgt) .ds-reo.on{color:var(--accent2);background:rgba(var(--acc2RGB),.1)}
.ds-reo.on .ds-i{transform:none}
.ds-reo.on b{opacity:1;transition-delay:60ms}
.ds-reo::after{content:"";position:absolute;inset:0 auto 0 0;width:70%;pointer-events:none;opacity:0;transform:translateX(-110%);
  background:linear-gradient(100deg,rgba(var(--acc2RGB),0),rgba(var(--acc2RGB),.12) 34%,rgba(var(--acc2RGB),.3) 50%,rgba(var(--acc2RGB),.12) 66%,rgba(var(--acc2RGB),0))}
.ds-reo.glint::after{animation:reoGlint 1s var(--sheen) .12s 1 both}
@keyframes reoGlint{0%{opacity:0;transform:translateX(calc(-110%*var(--rmT,1)))}14%{opacity:1}86%{opacity:1}100%{opacity:0;transform:translateX(calc(160%*var(--rmT,1)))}}
:root[data-motion] .ds-reo.glint::after{animation:none}
/* THE ROW'S END (v9 · Q213; the owner, v1: "here the ui for the default sort and its name should exist like the wall. use
   the same design system"): the Wall's sort key on the tab row's scale, then the row's settings. The pill says the order,
   your own included, its arrow turning it (your order is its name alone); the reorder key stands after it,
   and the keys keep even steps, glyph to word to glyph to gear (v1's sat 8, 29 and 24 px apart: "its spacing looks
   bad"). Where the row has no room for every tab the name folds to its glyph first (tabs.js → fit, .tst-tight), the tabs
   folding only after it. Until Q213: an arrow, a glyph that ordered once and forgot, and the gear, three keys alike */
.tst-end{display:flex;align-items:center;gap:0;flex:none;margin-left:auto;padding-left:var(--sp8)}
.tst-sort{display:inline-flex;align-items:center;align-self:center;height:26px;border-radius:13px;transition:background-color var(--tArrive) var(--ease)}
@media (hover:hover){ .tst-sort:hover{background:var(--hdWash)} }
.tst-sort:has(.menu-open){background:var(--hdWash)}
.pgt .tst-dir{width:26px;min-width:26px;height:26px;padding:0 0 0 var(--sp4);border-radius:13px;background:transparent;box-shadow:none;color:var(--dim)}
.pgt .tst-dir:disabled{opacity:1;cursor:default}
.tst-dir .ds-i{--is:12px;transition:transform var(--tFlight) var(--spring)}
.tst-dir[data-d="asc"] .ds-i{transform:rotate(180deg)}
/* (owner, 2026-11-05) a worded order's glyph in the direction key (controls.js → sortGlyph), upright, in place of the arrow */
.sort-wg{display:none}
:is(.tst-dir,.wb-dir)[data-w]>.ds-i{display:none}
:is(.tst-dir,.wb-dir)[data-w]>.sort-wg{display:grid;place-items:center}
:is(.tst-dir,.wb-dir)[data-d] .sort-wg .ds-i{transform:none}
/* your order has no direction and no glyph of its own: the name alone (the owner, v2: "why for your order you used a
   redundant icon that is for the resort of the tabs. remove it"; the reorder key keeps its own) */
.tst-dir[data-d="man"]{display:none}
.tst-dir[data-d="man"]+.tst-sv>select.ds-sel{padding-left:var(--sp10);border-radius:13px}
.tst-dir[data-d="man"]+.tst-sv .ds-lit{left:0}
.tst-tight .tst-dir[data-d="man"]+.tst-sv>select.ds-sel{padding:0}
@media (hover:hover){ .pgt .tst-sort .tst-dir:hover:not(:disabled){background:transparent;color:var(--text)} }
.tst-sv{height:100%;align-items:center}
/* the lit ring takes the whole pill, the arrow with the name */
.tst-sv .ds-lit{left:-26px;--litR:13px}
.tst-sv>select.ds-sel,.tst-sv>select.ds-sel.menu-open{width:var(--fit,auto);max-width:150px;height:100%;padding:0 var(--sp8) 0 var(--sp2);border:0;border-radius:0 13px 13px 0;
  background:transparent;background-image:none;box-shadow:none;font:var(--fHdWord);letter-spacing:0;text-transform:none;color:var(--dim);cursor:pointer;appearance:none;-webkit-appearance:none}
@media (hover:hover){ .tst-sort:hover .tst-sv>select.ds-sel{color:var(--text)} }
.tst-sv>select.ds-sel.menu-open{color:var(--text)}
.tst-sv>select option{color:var(--text)}
.tst-sg{display:none;position:absolute;inset:0;place-items:center;pointer-events:none;color:var(--dim)} .tst-sg .ds-i{--is:12px}
.tst-tight .tst-sv>select.ds-sel{width:26px;max-width:26px;padding:0;color:transparent}
.tst-tight .tst-sg{display:grid}
.tst-tight .ds-sv.rolling .ds-roll{display:none}
@media (hover:hover){ .tst-sort:hover .tst-sg{color:var(--text)} }
/* the reorder key: room for its glyph and two figures (up to 24 tabs), the glyph centred while quiet */
.pgt .tst-new{align-self:center;width:42px;min-width:42px;height:26px;padding:0 6px;border-radius:13px;box-shadow:none}
.pgt .tst-new:not(.on) .ds-i{transform:translateX(9px)}
.pgt .tst-new:not(.on){background:transparent;color:var(--faint)}
.pgt .tst-end .tst-set{margin-left:var(--sp2)}
@media (hover:hover){ .pgt .tst-new.on:hover{background:rgba(var(--acc2RGB),.16);color:var(--accent2)} .pgt .tst.tst-mv .tst-sort:hover{background:transparent} }
/* DRAG TO REORDER (js/ui/tabmotion.js → dragger; v9 · Q141): the tab under the hand rides over the row. The front tab
   carries its sheet, raised over the tabs it passes (.tst-lifton); a tab behind is a plate of its own, the deck's
   ground under the hand's wash and its shadow, so what it passes never shows through, fading as it lands (the hand's
   own wash comes back once it has). The steps aside and the drop
   are the spring's (WAAPI on translate and transform), never a transition here. Until Q141 the sheet stood down for the
   drag (the front tab wore a plate of its own) and came back at the drop, re-seated in one frame: the flicker */
/* a tab is a link, never the browser's own drag (v9 · Q141): `-webkit-user-drag:element` (Q33) let a press that travelled
   start the browser's link drag, which cancelled the hand's (pointercancel) and left a picture of the link under it */
.tst-row.tst-dragging .tst-tab::before{opacity:0}
.tst-tab.drag,.tst-tab.tst-land{z-index:6}
.tst-tab.drag{cursor:grabbing}
.tst-row.tst-lifton>.tst-ind{z-index:5}
.tst-tab.drag:not(.on){color:var(--text);background:linear-gradient(var(--hdWash),var(--hdWash)),var(--void);
  box-shadow:0 8px 22px -6px rgba(var(--shd),calc(.34*var(--shdK))),0 0 0 1px var(--hair)}
.pgt .tst-tab.drag:not(.on){background:transparent;box-shadow:none}
.pgt .tst-tab:is(.drag,.tst-land):not(.on)::after{background:linear-gradient(var(--hdWash),var(--hdWash)),var(--void);
  box-shadow:0 6px 16px -6px rgba(var(--shd),calc(.34*var(--shdK))),0 0 0 1px var(--hair)}
.pgt .tst-tab.drag:not(.on)::after{opacity:1}
.pgt .tst-tab.tst-land:not(.on)::after{opacity:0}

/* THE PAGE'S TABS, A BROWSER'S OWN (v9 · Q33 round 3; components.md → A PAGE'S TABS). The owner: "the tab ui should
   be like the tab ui of the chrome … integrated with the focus header and that's not good design". So a page that
   keeps tabs (Focus, the wall, the Basket) stands them on the deck ABOVE its head, never inside it: the tab in front
   is the head's own sheet rising into a tab, its feet curving into the head as a browser's do, and it glides from
   tab to tab on the spring (the one thumb, shaped as the tab); the tabs behind are words on the deck between
   hairlines, a wash under the hand, and the "+" ends the row. Nothing else stands in the row: a page's tools are its
   head's. The orange tick under the front tab's name is where you are, as in the bar. */
.pgt{--pgtH:34px;--pgtR:10px;--pgtFill:var(--panel2);position:relative;z-index:2;flex:none;display:flex;align-items:flex-end;
  height:var(--pgtH);min-width:0;padding:0 var(--sp16) 0 calc(var(--sp12) + var(--pgtR));margin-bottom:-1px}
.pgt .tst{align-self:stretch;align-items:flex-end;gap:0}
.pgt .tst-row{height:100%;padding:0;align-items:flex-end;gap:0}
.pgt .tst-tab{height:calc(var(--pgtH) - 4px);padding:0 var(--sp8) 0 var(--sp12);border-radius:var(--pgtR) var(--pgtR) 0 0;gap:var(--sp8);max-width:232px;
  font:500 12px/1 var(--sans);letter-spacing:0;color:var(--dim)}
.pgt .tst-tab+.tst-tab::before{top:auto;right:auto;bottom:calc((var(--pgtH) - 4px - 14px) / 2);height:14px;margin-top:0;border-radius:0;background:rgba(var(--ink),.17);opacity:1}
.pgt .tst-tab.on::before,.pgt .tst-tab.on+.tst-tab::before,.pgt .tst-row.tst-gl>.tst-tab::before{opacity:0}
@media (hover:hover){ .pgt .tst-tab:hover::before,.pgt .tst-tab:hover+.tst-tab::before{opacity:0} }
/* a browser's tabs: one width each while there is room, the name from the left, the close at the right end */
.pgt .tst-row:not([data-c]) .tst-tab,.pgt .tst-row[data-c="0"] .tst-tab{min-width:150px}
.pgt .tst-x{margin-left:auto}
.pgt .tst-tab.on{color:var(--text);font-weight:600}
/* (v9 · Q140, round 4) the hand's wash is a layer inside the tab, never the tab's own box: until round 4 the hover
   shortened the tab by 4 px, so a pointer on its lower edge was off it the moment it lit, the wash went, the tab grew
   back under the pointer and lit again: a flicker along the bottom edge (the owner: "hover will change the place and
   will cause a flicker … this should never happen"). A hover is light, tone and shadow, never a size or a place */
.pgt .tst-tab{isolation:isolate}
/* (tabflicker-wash, 2026-10-28) and it is the ONE wash: the strip's own hover (the tab's box, above) stood under it, never
   paused, so each glide of the row (.tst-mv, below) dropped a resting tab from two washes to one for 330 ms and back,
   and a hover lit in two steps, the box at once, the plate after it (the owner: "the background of the tab … changes
   the color"). The plate carries both washes' tone itself */
.pgt .tst-tab::after{content:"";position:absolute;inset:3px 2px 4px;z-index:-1;border-radius:calc(var(--pgtR) - var(--padBankSm));background:linear-gradient(var(--hdWash),var(--hdWash)),var(--hdWash);opacity:0;pointer-events:none;transition:opacity var(--tArrive) var(--ease)}
@media (hover:hover){ .pgt .tst-tab:hover:not(.on){color:var(--text);background:none} .pgt .tst-tab:hover:not(.on)::after{opacity:1} }
.pgt .tst-fg{font:500 11px/1 var(--mono)}
.pgt .tst-x{width:18px;height:18px;border-radius:50%}
/* the front tab: the head's own sheet, risen; its feet curve into the head. Three parts (js/ui/tabs.js → sheetOf):
   each end is its corner (the inner half, the sheet's lit edge and the hairline over it) and its foot (the outer
   half's lowest quarter); the middle is the flat sheet, stretched between them */
.pgt .tst-ind{--indR:var(--pgtR);--indRp:var(--rPlate)}
.pgt .tst-ind-m,.pgt .tst-ind-l::after,.pgt .tst-ind-r::after{background:var(--pgtFill);box-shadow:inset 0 1px 0 var(--lip),0 -1px 0 rgba(var(--ink),.05)}
.pgt .tst-ind-l::after{right:auto;left:var(--pgtR);width:var(--c,var(--pgtR));border-radius:var(--c,var(--pgtR)) 0 0 0}
.pgt .tst-ind-r::after{left:auto;right:var(--pgtR);width:var(--c,var(--pgtR));border-radius:0 var(--c,var(--pgtR)) 0 0}
.pgt .tst-ind-l::before,.pgt .tst-ind-r::before{content:"";position:absolute;bottom:0;width:var(--pgtR);height:var(--pgtR);transform:scale(var(--f,1))}
.pgt .tst-ind-l::before{left:0;transform-origin:100% 100%;background:radial-gradient(circle at 0 0,transparent calc(var(--pgtR) - .5px),var(--pgtFill) var(--pgtR))}
.pgt .tst-ind-r::before{right:0;transform-origin:0 100%;background:radial-gradient(circle at 100% 0,transparent calc(var(--pgtR) - .5px),var(--pgtFill) var(--pgtR))}
/* THE JOIN AT THE PLATE'S CORNER (tab-swipe-edge; components.md → A PAGE'S TABS ARE ONE COMPONENT). The owner, 2026-11-07:
   "after you scroll further in the end of the tab it becomes a bug … i want a fluid apple type of smoothness that changes
   the corner of the tab to match the layout". A hand pushing past the first tab carries the sheet's side to the plate's
   edge (js/ui/tabmotion.js → edgeLean · edgeJoin, under tabs.js → lean, and a glide that lands on an end tab); on the way the foot (::before) shrinks into the side, the corner (::after, `--c`) grows
   from the tab's radius to the plate's, and the plate's own corner under it (`.tst-ind-cl`, laid on the plate's corner,
   `--cr`) squares from the plate's radius to none, so at the edge the tab and the plate are one outline, its corner the
   plate's. Driven by the hand's own position each frame, the pager's spring takes it home */
/* (the corner fills only what the head's round corner leaves out, and its lit edge: never over a key inside the head) */
.pgt .tst-ind-cl,.pgt .tst-ind-cr{top:calc(100% - 1px);bottom:auto;width:var(--indRp);height:var(--indRp);opacity:0;box-shadow:inset 0 1px 0 var(--lip)}
.pgt .tst-ind-cl{border-top-left-radius:var(--cr,var(--indRp));background:radial-gradient(circle at 100% 100%,transparent calc(var(--indRp) - 2.5px),var(--pgtFill) calc(var(--indRp) - 2px))}
.pgt .tst-ind-cr{border-top-right-radius:var(--cr,var(--indRp));background:radial-gradient(circle at 0 100%,transparent calc(var(--indRp) - 2.5px),var(--pgtFill) calc(var(--indRp) - 2px))}
/* THE ROW'S END STANDS IN A CAPSULE OF ITS OWN (focus-head-merge v2; components.md → A PAGE'S TABS ARE ONE COMPONENT). The
   owner, 2026-11-07: "the ui of this seciton spill over the elemnet below it" — the order and the row's settings
   (.tst-end) stood bare on the deck, their keys' lower edge 1 px over the head's rounded top — and of v1, which grew
   them into the head as a ledge: "they should be separated but a great ui for it like it has now that it is in
   something but the merge was bad idea". So they stand in a capsule of their own on the deck: the head's raised sheet
   in small (its fill, its lit edge, a soft shadow), a breath clear of the head's top, its keys pills of --endK seated
   one inset in from its ends (the capsule's round its keys' and that inset: concentric), lit inside it as before */
.fx-top{--endK:22px;--endPad:3px;padding-right:var(--fxGap,8px)}
.fx-top .tst-end{position:relative;box-sizing:border-box;align-self:flex-start;height:calc(var(--endK) + 2 * var(--endPad));margin:2px 0 0 auto;
  padding:var(--endPad);border-left:0;gap:var(--sp2);align-items:center;border-radius:calc(var(--endK) / 2 + var(--endPad));
  background:var(--pgtFill);box-shadow:inset 0 1px 0 var(--lip),0 1px 0 var(--edge),0 2px 6px rgba(var(--shd),calc(.12 * var(--shdK,1)))}
.fx-top .tst-end .tst-sort,.fx-top .tst-end .tst-dir,.fx-top .tst-end .tst-new,.fx-top .tst-end .tst-set{height:var(--endK);border-radius:calc(var(--endK) / 2)}
.fx-top .tst-end .tst-dir,.fx-top .tst-end .tst-set{width:var(--endK);min-width:var(--endK)}
.fx-top .tst-end .tst-set{margin-left:0}
.fx-top .tst-end .tst-sv>select.ds-sel{border-radius:0 calc(var(--endK) / 2) calc(var(--endK) / 2) 0}
.fx-top .tst-end .tst-dir[data-d="man"]+.tst-sv>select.ds-sel{border-radius:calc(var(--endK) / 2)}
.fx-top .tst-end .tst-sv .ds-lit{left:calc(-1 * var(--endK));--litR:calc(var(--endK) / 2)}
.fx-top .tst-tight .tst-end .tst-sv>select.ds-sel{width:var(--endK);max-width:var(--endK)}
/* where you are: the orange tick under the front tab's name comes in as the sheet lands under it, and goes as it leaves */
.pgt .tst-tab .tst-nm::after{content:"";position:absolute;left:50%;bottom:-7px;width:12px;height:2px;margin-left:-6px;border-radius:1px;background:var(--accent2);
  opacity:0;transform:scaleX(.3);transition:opacity var(--tArrive) var(--ease),transform var(--tArrive) var(--ease)}
.pgt .tst-tab.on .tst-nm::after{opacity:1;transform:none;transition:opacity var(--tState) var(--ease) var(--tTouch),transform var(--tState) var(--ease) var(--tTouch)}

/* while the strip slides its tabs and keys under a still pointer (js/ui/tabs.js → paint, .tst-mv), none of them lights
   as it passes: a hover is the hand's, never the strip's own motion (lesson l33). The tab already lit under the hand
   when the glide began (.tst-hk, tabmotion.js → flip) keeps its light: it is still the hand's */
@media (hover:hover){ .pgt .tst.tst-mv .tst-tab:hover:not(.on):not(.tst-hk)::after{opacity:0} .pgt .tst.tst-mv .tst-add:hover,
.pgt .tst.tst-mv .tst-ov:hover,
.pgt .tst.tst-mv .tst-set:hover,
.pgt .tst.tst-mv .tst-more:hover,
.pgt .tst.tst-mv .tst-x:hover{background:transparent} }
.pgt .tst-tab .tst-nm{position:relative}
.pgt .tst-add{align-self:center;width:26px;min-width:26px;height:26px;margin:0 0 0 var(--sp6);border-radius:50%;background:transparent;box-shadow:none;color:var(--dim)}
/* (shell-newtab-key v5) the "+" has no hover — only its press: a breath of the wash, sunk a pixel; open, it stays lit.
   THE KEY IS SMALLER THAN ITS ROOM (v9 · header-d4-plus; the owner, 2026-11-09: "more premium, modern and smaller;
   the whole space stays clickable without being visible"): the hand's target is the whole 26px, but what is ever
   drawn — the press's wash, the open key's light, the allowance's ring (css/tablimit.css) — is one 18px disc at its
   centre, the size of the glyphs beside it. Until then the wash filled the 26px and the ring stood 32px round it. */
.pgt .tst-add:active,.pgt .tst-add[aria-expanded="true"],.pgt .tst-add[data-open]{background:transparent;color:var(--text)}
.pgt .tst-add::before{inset:4px;z-index:-1;border-radius:50%;background:var(--hdWash);box-shadow:inset 0 1px 2px rgba(var(--shd),calc(.18*var(--shdK)))}
.pgt .tst-add:is([aria-expanded="true"],[data-open])::before{opacity:1}
.pgt .tst-more{align-self:center;height:26px;border-radius:13px}
/* the head under the tabs: its top edge is the tabs' floor */
.pgt+.hd,.pgt+.pgh{position:relative;z-index:1}
/* THE SWITCHER (js/ui/tabswitch.js): every Focus tab, Wall tab and basket, a field over them, the cursor a quiet plate */
.sw-pop.ds-pop{width:340px;padding:var(--padSw)}
.sw-q.ds-in{height:36px;border-radius:var(--rSwIn)}   /* (v9 · Q253) the input family's search */
.sw-list{display:flex;flex-direction:column;gap:1px;max-height:min(60vh,460px);overflow:auto;margin-top:var(--sp4)}
.sw-h{margin:var(--sp10) var(--sp8) var(--sp4);font:var(--fHdLeg);letter-spacing:var(--trHdLeg);text-transform:none;color:var(--faint)}
.sw-r{display:flex;align-items:center;gap:var(--sp10);width:100%;min-height:42px;padding:var(--sp6) var(--sp8);border:0;border-radius:var(--rSwIn);background:transparent;color:var(--text);text-align:left;--travel:0px}
.sw-r.cur{background:var(--thumb);box-shadow:var(--thumbSh)}
@media (hover:hover){ .sw-r:hover:not(.cur){background:var(--hdWash);filter:none} }
.sw-r .amk{width:24px;height:24px}
.sw-wi{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:var(--track);color:var(--dim)} .sw-wi .ds-i{--is:13px}
.sw-n{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.sw-n>b{font:600 13px/1 var(--sans);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sw-n>span{font:400 12px/1 var(--sans);color:var(--faint)}
.sw-on{font:var(--fHdLeg);letter-spacing:var(--trHdLeg);text-transform:none;font-style:normal;color:var(--accInk)}
.sw-r>em{font:var(--fHdFig);font-style:normal;color:var(--faint)}
.sw-r>em[data-tone="up"]{color:var(--upInk)} .sw-r>em[data-tone="dn"]{color:var(--dnInk)}
.sw-none{margin:var(--sp12);font:400 12px/1.3 var(--sans);color:var(--faint);text-align:center}
/* THE OVERVIEW (v9 · Q140, round 4; js/ui/taboverview.js): every tab of Focus, the Wall and the Basket at once, over
   the blurred page. A band a page, a window a tab, each drawn the way its page draws it; the tab in front of a page
   wears the orange ring and the word, the cursor the ring of focus. The windows grow out of their tabs on the spring
   (the script's, WAAPI) and go back into them */
.tst-ov{flex:none}
.pgt .tst-ov{align-self:center;width:26px;min-width:26px;height:26px;margin:0 0 0 var(--sp2);border-radius:50%;background:transparent;box-shadow:none;color:var(--faint)}
.pgt .tst-ov .ds-i{--is:14px}
@media (hover:hover){ .pgt .tst-ov:hover{background:var(--hdWash);color:var(--text)} }
/* (v9 · Q104, round 5; js/ui/tabs.js → tabReadMenu) the row's own settings at its end: what every tab shows. A quiet
   key like its neighbours, lit while its menu is open; the menu's previews are the tab in front's own figures */
.tst-set{flex:none}
.pgt .tst-set{align-self:center;width:26px;min-width:26px;height:26px;margin:0 0 0 var(--sp2);border-radius:50%;background:transparent;box-shadow:none;color:var(--faint)}
.pgt .tst-set .ds-i{--is:13px}
.pgt .tst-set[aria-expanded="true"]{background:var(--hdWash);color:var(--text)}
@media (hover:hover){ .pgt .tst-set:hover{background:var(--hdWash);color:var(--text)} }
.trd-pop .ds-mi>.ds-msub{padding-left:var(--sp16);font-size:12px}
/* (v9 · Q231) THE GROUND IS DRAWN, NEVER BLURRED: THE PAGE IS HELD BACK (taboverview.js → stage). Until Q231 the page
   behind dimmed and blurred as the windows came (the blur the overlay's own, round 4: a sibling veil's backdrop was not
   drawn under a band's scroller, a clear slab stood behind each row); the owner: "not a blurred ui like this and a
   modern premium background", and of two grounds they chose the page held (round 58): the page, smaller toward the
   screen's middle, under its own ground's tone (`.tov-hold`, scaled with it), rounded, in a room a step deeper (the
   hold's spread is the room, so the page's corners go under it), a lamp over the room. THE TONE IS THE PAGE'S ONE SHADE
   (owner 2026-11-05; grounds.md → A PAGE HELD IS SHADED AS ONE): the lamp lights the room alone (`.tov-hold::before`,
   the page cut out of it). Until then the lamp lay over the page too: as the page went into its shade its bar, strip
   and heads under the lamp went lighter, and came back on each close — the headers' colour change the owner reported
   many times (test-tovground). PAPER IS NOT MATT BLACK
   INVERTED (the owner, of v1's paper: "extra good on dark but not on light"): there the held page casts a real shadow
   on its room and the windows are bright paper plates with their own lift; on black the shadow is nothing, so a lit
   rim edges the page (the --tov* tokens, stated for each ground). Nothing samples the page: the frame under it costs
   what the page costs (a 26 px blur of the whole screen did not).
   WHILE IT MOVES (data-moving) the ground, the words and the trays are its animations' (taboverview.js → move), and
   no transition of theirs runs under them */
.tov{position:fixed;inset:0;z-index:var(--zModal);display:grid;place-items:center;overflow:hidden}
.tov-veil{position:fixed;inset:0;overflow:hidden;isolation:isolate;-webkit-backdrop-filter:var(--tovBlur);backdrop-filter:var(--tovBlur);opacity:0;transition:opacity var(--tLeave) var(--settle)}
.tov.in .tov-veil{opacity:1;transition:opacity var(--tSheet) var(--ease)}
.tov-hold{position:absolute;inset:0;border-radius:var(--tovHoldR);background:var(--tovHold);box-shadow:var(--tovHoldSh);transform-origin:50% 50%}
/* the lamp: on the room alone, the page cut out of it, its corners rounded as the hold's (--tovHoldR, 20 px; its box 12 vw · vh wider
   than the page on every side: the room a page held leaves, past a pinch's give) */
.tov-hold::before{content:"";position:absolute;inset:-12vh -12vw;pointer-events:none;background:var(--tovLamp);
  clip-path:polygon(evenodd,0 0,100% 0,100% 100%,0 100%,0 0,12vw calc(12vh + 20.00px),calc(12vw + 0.68px) calc(12vh + 14.82px),calc(12vw + 2.68px) calc(12vh + 10.00px),calc(12vw + 5.86px) calc(12vh + 5.86px),calc(12vw + 10.00px) calc(12vh + 2.68px),calc(12vw + 14.82px) calc(12vh + 0.68px),calc(12vw + 20.00px) 12vh,calc(100% - 12vw - 20.00px) 12vh,calc(100% - 12vw - 14.82px) calc(12vh + 0.68px),calc(100% - 12vw - 10.00px) calc(12vh + 2.68px),calc(100% - 12vw - 5.86px) calc(12vh + 5.86px),calc(100% - 12vw - 2.68px) calc(12vh + 10.00px),calc(100% - 12vw - 0.68px) calc(12vh + 14.82px),calc(100% - 12vw) calc(12vh + 20.00px),calc(100% - 12vw) calc(100% - 12vh - 20.00px),calc(100% - 12vw - 0.68px) calc(100% - 12vh - 14.82px),calc(100% - 12vw - 2.68px) calc(100% - 12vh - 10.00px),calc(100% - 12vw - 5.86px) calc(100% - 12vh - 5.86px),calc(100% - 12vw - 10.00px) calc(100% - 12vh - 2.68px),calc(100% - 12vw - 14.82px) calc(100% - 12vh - 0.68px),calc(100% - 12vw - 20.00px) calc(100% - 12vh),calc(12vw + 20.00px) calc(100% - 12vh),calc(12vw + 14.82px) calc(100% - 12vh - 0.68px),calc(12vw + 10.00px) calc(100% - 12vh - 2.68px),calc(12vw + 5.86px) calc(100% - 12vh - 5.86px),calc(12vw + 2.68px) calc(100% - 12vh - 10.00px),calc(12vw + 0.68px) calc(100% - 12vh - 14.82px),12vw calc(100% - 12vh - 20.00px),12vw calc(12vh + 20.00px))}
.tov[data-moving] .tov-veil,.tov[data-moving] .tov-in>.tov-top,.tov[data-moving] .tov-r>.tov-h,.tov[data-moving] .tov-in>.tov-end{transform:none;transition:none}
/* (v9 · Q231, round 60) ONE SIZE, THE COMPACT ONE: every window in reach at once, the bands wrapping, the overview one
   vertical scroll at most; a window is its foot alone (the market or what it holds, its layout, its figures). Until
   then a window could also be large, a floor plan of its desk over its foot, a band of them scrolling sideways under a
   rail and a switch between the two (the owner: "only compact view. and remove the compact as an option") */
.tov-in{position:relative;display:flex;flex-direction:column;gap:var(--sp10);width:max-content;min-width:min(720px,calc(100vw - 96px));max-width:min(1480px,calc(100vw - 96px));max-height:calc(100vh - 64px);padding:var(--sp8) var(--sp4);
  overflow-y:auto;overscroll-behavior:contain}
.tov-top,.tov-h{opacity:0;transform:translateY(-4px);transition:opacity var(--tLeave) var(--settle),transform var(--tLeave) var(--settle)}
.tov.in .tov-top,.tov.in .tov-h{opacity:1;transform:none;transition:opacity var(--tState) var(--ease) 120ms,transform var(--tSheet) var(--settle) 120ms}
.tov-top{display:flex;align-items:baseline;justify-content:space-between;padding:0 var(--sp4)}
.tov-top>b{font:600 22px/1 var(--sans);letter-spacing:-.018em;color:var(--text)}
.tov-k{display:flex;align-items:center;gap:var(--sp24);font:500 11px/1 var(--sans);color:var(--dim)}
.tov-k>span{display:inline-flex;align-items:center;gap:var(--sp8)}
.tov-k .ds-arrows{margin-right:2px}
.tov-k kbd{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:var(--r6);font:600 12px/1 var(--sans);color:var(--text);background:var(--panel2);box-shadow:0 1px 0 var(--edge),inset 0 1px 0 var(--lip)}
/* its return key the kit's drawn glyph (a key cap's stroke): ↵ is in none of Y's fonts, and its first layout searched the
   system's for it, 17–20 ms in the frame the overview opened (pf-2) */
.tov-k kbd>.ds-i{--is:11px;stroke-width:2.1;stroke-linejoin:round;stroke-linecap:round}
.tov-r{display:flex;flex-direction:column;gap:var(--sp8);min-width:0}
.tov-h{display:flex;align-items:center;gap:var(--sp8);padding:0 var(--sp4);color:var(--text)}
.tov-hi{display:grid;place-items:center;width:22px;height:22px;border-radius:var(--r6);background:var(--panel2);box-shadow:0 1px 0 var(--edge);color:var(--dim)} .tov-hi .ds-i{--is:13px}
.tov-h>b{font:600 15px/1 var(--sans);letter-spacing:-.009em}
.tov-h>i{font:500 11px/1 var(--mono);font-style:normal;color:var(--faint)}
.tov-h>em{display:inline-flex;align-items:center;height:18px;padding:0 7px;border-radius:9px;font:600 12px/1 var(--sans);font-style:normal;letter-spacing:0;color:var(--accInk);background:rgba(var(--acc2RGB),.12)}
/* a band: its windows wrapping into as many lines as they need; its padding holds their shadows whole */
.tov-cs{display:flex;flex-wrap:wrap;gap:var(--sp10);padding:6px 0 10px;margin:-6px 0 -10px}
/* A WINDOW: its mark, its name and what it holds, its figures. Hover is light and shadow, never a move */
.tov-c{--tw:200px;position:relative;flex:none;display:flex;flex-direction:column;width:var(--tw);padding:0;border:0;border-radius:var(--rPlate);
  text-align:left;color:var(--text);background:none;cursor:pointer;transform-origin:50% 50%;isolation:isolate}
/* (v9 · Q231) THE PLATE IS ITS OWN LAYER (::before) under the window's words: a window coming out of its tab is its mark
   and its name first, on the tab, and its plate comes in around them (taboverview.js → poseCard) */
.tov-c::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:var(--tovCard);box-shadow:var(--tovCardSh);
  transition:box-shadow var(--tArrive) var(--ease),background-color var(--tArrive) var(--ease)}
@media (hover:hover){ .tov-c:hover::before{background:var(--tovCardHov);box-shadow:var(--tovCardHiSh)} }
.tov-c:focus{outline:none}
/* (tabs-cursor) THE WINDOW THE ARROWS WALK is a lifted plate (--thumb: the kit's raised surface), never a ring: the ring is the
   tab in front of its page (.on). On a tab in front both show, the plate and its ring; neither moves a pixel (no border, no size) */
.tov-c:focus-visible::before,.tov-c.cur::before{background:var(--tovCardCur);box-shadow:var(--tovCardHiSh)}
.tov-c.on::before,.tov-c.on:focus-visible::before,.tov-c.on.cur::before{box-shadow:0 0 0 1.5px rgba(var(--acc2RGB),.75),var(--tovCardSh)}
/* in front: the orange ring, and the head's own tick over the name (the strip's mark of where you are) */
.tov-c.on .tov-n>b::after{content:"";display:inline-block;width:6px;height:6px;margin:0 0 1px 7px;border-radius:50%;background:var(--accent2);box-shadow:0 0 0 3px rgba(var(--acc2RGB),.16);vertical-align:middle}
.tov-ft{display:flex;align-items:center;gap:var(--sp10);min-width:0;padding:var(--sp8) var(--sp10)}
.tov-ft>.amk{flex:none;width:24px;height:24px}
.tov-ic{flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:var(--r8);background:var(--panel2);box-shadow:0 1px 0 var(--edge);color:var(--dim)} .tov-ic .ds-i{--is:14px}
.tov-n{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.tov-n>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 12px/1 var(--sans);letter-spacing:0}
.tov-n>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 11px/1 var(--sans);color:var(--faint)}
.tov-fg{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.tov-fg>b{font:600 12px/1 var(--mono);color:var(--text)} .tov-fg>i{font:500 11px/1 var(--mono);font-style:normal;color:var(--dim)}
.tov-fg [data-tone="up"]{color:var(--upInk)} .tov-fg [data-tone="dn"]{color:var(--dnInk)}
/* CLOSE ALL: a quiet key at the band's end (and one for every tab under the last band), light only until pressed */
.tov-x{display:inline-flex;align-items:center;gap:5px;height:24px;margin-left:auto;padding:0 9px 0 7px;border:0;border-radius:var(--r6);background:transparent;
  font:500 11px/1 var(--sans);color:var(--faint);cursor:pointer;transition:background-color var(--tState) var(--settle),color var(--tState) var(--settle)}
.tov-x .ds-i{--is:11px;opacity:.8}
@media (hover:hover){ .tov-x:hover{color:var(--text);background:rgba(var(--ink),.07)} }
.tov-x:active{background:rgba(var(--ink),.11)}
.tov-x:focus-visible{outline:2px solid var(--ring);outline-offset:1px}
.tov-end{display:flex;justify-content:center;padding-top:var(--sp4);opacity:0;transition:opacity var(--tLeave) var(--settle)}
.tov-end[hidden]{display:none}
.tov.in .tov-end{opacity:1;transition:opacity var(--tState) var(--ease) 200ms}
.tov-end>.tov-x{margin:0;height:28px;padding:0 12px 0 10px}
html[data-phone] .tov-in{width:calc(100vw - 24px)}
/* (tabs-overview-keys) the head's keys: the four arrows as one small cluster, then ↵ and esc */
html[data-phone] .tov-c{--tw:180px}
.tov-h>*{flex:none;white-space:nowrap}
html[data-phone] .tov-h>em{display:none}
:root[data-motion] .tov-veil,:root[data-motion] .tov-top,:root[data-motion] .tov-h{transform:none!important}

/* =====================================================================
   TOGGLE and CHECKBOX — a yes is the answer's orange.
   A TOGGLE is a state of the product that takes effect now (privacy, auto,
   a line on the chart). A CHECKBOX is an option of something about to be
   sent (reduce only, post only, TP/SL, don't ask again). A choice among
   several is a bank, never a column of either.
   ===================================================================== */
.ds-tog,.ds-chk{display:inline-flex;align-items:center;gap:var(--sp8);min-height:var(--h22);padding:0;border:0;background:transparent;
  font:var(--fLabelSm);color:var(--prose);text-align:left;--travel:0px;--downSh:none}
.ds-tog>span:not([class]),.ds-chk>span:not([class]){display:flex;flex-direction:column;gap:2px;min-width:0}
/* on is the ink filled in, off a drawn edge (v9 · Q239; components.md → THE CHOICE FAMILY) */
.ds-tog-t{position:relative;flex:none;width:28px;height:16px;border-radius:8px;background:var(--chOff);box-shadow:none}
.ds-tog-t::before{content:"";position:absolute;inset:0;border-radius:inherit;opacity:0;background:var(--chOn);
  transition:opacity var(--tState) var(--settle)}
.ds-tog-k{position:absolute;left:2px;top:2px;width:12px;height:12px;border-radius:50%;background:var(--chKnob);box-shadow:var(--chKnobSh);
  transition:transform var(--tChoice,.39s) var(--chSpring,var(--settle))}
.ds-tog-k::after{content:"";position:absolute;inset:0;border-radius:inherit;opacity:0;background:var(--chKnobOn);transition:opacity var(--tState) var(--settle)}
.ds-tog[aria-checked="true"] .ds-tog-t::before,.ds-tog[aria-checked="true"] .ds-tog-k::after{opacity:1}
.ds-tog[aria-checked="true"] .ds-tog-k{transform:translateX(12px)}
.ds-tog:is(:active,.is-press) .ds-tog-k{transform:scaleX(1.18);transform-origin:0 50%;transition-duration:var(--tTouch)}
.ds-tog[aria-checked="true"]:is(:active,.is-press) .ds-tog-k{transform:translateX(12px) scaleX(1.18);transform-origin:100% 50%}
.ds-chk-b{position:relative;flex:none;width:16px;height:16px;border-radius:var(--r4);background:transparent;box-shadow:var(--chBox);
  transition:transform var(--tLeave) var(--settle)}
.ds-chk-b::before{content:"";position:absolute;inset:0;border-radius:inherit;opacity:0;background:var(--chOn);transform:scale(.6);
  transition:opacity var(--tState) var(--settle),transform var(--tChoice,.39s) var(--chSpring,var(--settle))}
.ds-chk-b svg{position:absolute;left:2px;top:2px;width:12px;height:12px;overflow:visible;fill:none;stroke:var(--chOnInk);stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:16;stroke-dashoffset:16;transition:stroke-dashoffset var(--tState) var(--settle)}
.ds-chk[aria-checked="true"] .ds-chk-b::before,.ds-chk[aria-checked="mixed"] .ds-chk-b::before{opacity:1;transform:none}
.ds-chk[aria-checked="true"] .ds-chk-b svg{stroke-dashoffset:0;transition-delay:.06s}
.ds-chk[aria-checked="mixed"] .ds-chk-b::after{content:"";position:absolute;left:4px;right:4px;top:7px;height:2px;border-radius:1px;background:var(--chOnInk)}
.ds-chk:is(:active,.is-press) .ds-chk-b{transform:scale(.9);transition-duration:var(--tTouch);transition-timing-function:var(--contact)}
.ds-chk[data-size="lg"] .ds-chk-b{width:20px;height:20px;border-radius:var(--r6)}
.ds-chk[data-size="lg"] .ds-chk-b svg{left:3px;top:3px;width:14px;height:14px}
.ds-chk[data-size="lg"][aria-checked="mixed"] .ds-chk-b::after{left:5px;right:5px;top:9px}
.ds-tog b,.ds-chk b{font:var(--fTitleSm);color:var(--text)}
.ds-tog em,.ds-chk em{display:block;font:var(--fMetaSm);font-style:normal;color:var(--faint)}
@media (hover:hover){
  .ds-tog:hover:not(:disabled,[aria-checked="true"]) .ds-tog-t{background:rgba(var(--ink),.24)}
  .ds-chk:hover:not(:disabled) .ds-chk-b{box-shadow:inset 0 0 0 1.25px rgba(var(--ink),.55)}
  .ds-tog:hover,.ds-chk:hover{filter:none}
}
.ds-tog:disabled,.ds-chk:disabled,.ds-tog[aria-disabled="true"],.ds-chk[aria-disabled="true"]{opacity:.42;cursor:default}

/* =====================================================================
   THE INPUT FAMILY (v9 · Q253; components.md → THE INPUT FAMILY; js/ui/ds/field.js, typing.js). One host `.ds-in`
   (data-kind text · search · num · price), one look: a tint at rest, the lit face a third up under the hand and whole
   in hand (::before, by opacity), the ask's hairline refused (::after), 45 % disabled. A figure is mono, tabular and
   right-aligned; a word the sans. Sizes 26 (md) · 34 · 46 (lg).
   ===================================================================== */
.ds-in,.ds-field{position:relative;isolation:isolate;display:flex;align-items:center;gap:var(--sp6);min-width:0;height:var(--h34);padding:0 var(--sp4) 0 var(--sp10);
  border-radius:var(--r8);background:var(--inWell);box-shadow:var(--inWellSh);cursor:text;color:var(--inInk)}
.ds-in::before,.ds-field::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;
  background:var(--inLit);box-shadow:var(--inLitSh);opacity:0;transition:opacity var(--tState) var(--settle)}
.ds-in::after,.ds-field::after{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;pointer-events:none;
  box-shadow:var(--inNoSh);opacity:0;transition:opacity var(--tState) var(--settle)}
@media (hover:hover){ .ds-in:hover:not([aria-disabled="true"],:has(input:disabled))::before{opacity:var(--inHoverK)} }
.ds-in.is-hover::before{opacity:var(--inHoverK)}
.ds-in:focus-within::before,.ds-in.is-focus::before,.ds-field:focus-within::before,.ds-field.is-focus::before{opacity:1;transition-duration:var(--tArrive);transition-timing-function:var(--ease)}
.ds-in.bad::after,.ds-field.bad::after{opacity:1}
.ds-in[aria-disabled="true"],.ds-in:has(input:disabled),.ds-field[aria-disabled="true"]{opacity:.45;cursor:default}
.ds-in input,.ds-in input:focus,.ds-in input:focus-visible,.ds-field input,.ds-field input:focus,.ds-field input:focus-visible{flex:1;min-width:0;width:100%;height:100%;margin:0;padding:0;
  border:0;border-radius:0;outline:none;background:transparent;box-shadow:none;transition:none;
  font:var(--inFig);font-variant-numeric:tabular-nums;color:var(--inInk);text-align:right;caret-color:var(--inCaret)}
.ds-in input::placeholder{color:var(--inPh);opacity:1;font-family:var(--sans)}   /* a placeholder is a word, never a figure */
/* A SELECTION is one tint of the caret's own accent on both grounds, in every field and text area of the product (owner,
   2026-11-05: "when the digits are highlighted in the leverage the become blue, make a premium modern ui for when text is
   selected"): the text keeps its ink (only the ground is tinted), and a field the typing layer draws shows the tint under
   the layer's glyphs, on the browser's own boxes, so it never doubles. A surface may still tint its own (by a class) */
input::selection,textarea::selection{background:var(--inSel)}
input,textarea{caret-color:var(--inCaret)}
.ds-in input::-webkit-search-cancel-button,.ds-in input::-webkit-search-decoration{-webkit-appearance:none;appearance:none}
.ds-in:is([data-kind="text"],[data-kind="search"]) input{font:var(--inWord);letter-spacing:var(--trInWord);font-variant-numeric:normal;text-align:left}
.ds-in[data-kind="search"]{padding-left:var(--sp8)}
.ds-in[data-size="md"]{height:var(--h26);padding-left:var(--sp8);border-radius:var(--r6,6px)}
.ds-in[data-size="md"] input{font-size:12px}
.ds-in[data-size="md"]:is([data-kind="text"],[data-kind="search"]) input{font-size:12px}
.ds-in[data-size="lg"]{height:var(--h46);border-radius:var(--rPlate);padding-left:var(--sp14);gap:var(--sp10)}
.ds-in[data-size="lg"] input{font-size:15px}
.ds-in[data-size="lg"]:is([data-kind="text"],[data-kind="search"]) input{font-size:15px;font-weight:500}
.ds-in[data-align="left"] input{text-align:left}
/* bare: the surface is the well (a palette's head) */
.ds-in[data-face="bare"]{border-radius:0;background:none;box-shadow:none}
.ds-in[data-face="bare"]::before,.ds-in[data-face="bare"]::after{display:none}
.ds-in-g,.ds-in>.ds-i{flex:none;display:grid;place-items:center;color:var(--inGlyph);transition:color var(--tState) var(--settle)}
.ds-in-g .ds-i{--is:13px;stroke-width:1.6}
.ds-in[data-size="lg"] .ds-in-g .ds-i{--is:16px}
.ds-in:focus-within .ds-in-g,.ds-in:focus-within>.ds-i,.ds-in.is-focus .ds-in-g{color:var(--inInk)}
.ds-in-k{flex:none;display:flex;margin-right:var(--sp4);transition:opacity var(--tState) var(--settle)}
.ds-in:focus-within .ds-in-k,.ds-in:has(input:not(:placeholder-shown)) .ds-in-k{opacity:0}
/* the ✕ springs up once there is something to clear */
.ds-in-x{flex:none;display:grid;place-items:center;width:18px;height:18px;margin:0 var(--sp4) 0 0;padding:0;border:0;border-radius:9px;
  color:var(--inGlyph);background:var(--inX);--is:8px;--travel:0px;opacity:0;transform:scale(.55);pointer-events:none;
  transition:opacity var(--tLeave) var(--settle),transform var(--tChoice,.39s) var(--chSpring,var(--settle)),color var(--tArrive) var(--ease),background-color var(--tArrive) var(--ease)}
.ds-in-x .ds-i{stroke-width:2.1}
.ds-in-k+.ds-in-x{margin-left:-22px}
.ds-in:has(input:not(:placeholder-shown)) .ds-in-x{opacity:1;transform:none;pointer-events:auto}
@media (hover:hover){ .ds-in-x:hover{color:var(--inInk);background:var(--inXHi)} }
.ds-in[data-size="lg"] .ds-in-x{width:22px;height:22px;border-radius:11px;--is:9px}
.ds-field-l{flex:none;font:var(--fLegSm);letter-spacing:.005em;text-transform:none;color:var(--inLeg);white-space:nowrap;transition:color var(--tState) var(--settle)}
.ds-in:focus-within .ds-field-l,.ds-in.is-focus .ds-field-l{color:var(--inLegOn)}
.ds-field-u{flex:none;display:inline-flex;align-items:center;gap:var(--sp4);height:var(--h22);padding:0 var(--sp6);border:0;border-radius:var(--r5);
  font:500 9px/1 var(--mono);color:var(--dim);background:rgba(var(--ink),.06);--travel:1px;--downSh:inset 0 1px 2px rgba(var(--shd),calc(.2*var(--shdK)))}
.ds-field-u .ds-i{--is:10px;color:var(--faint)}
@media (hover:hover){ button.ds-field-u:hover{color:var(--text);background:rgba(var(--ink),.11)} }
span.ds-field-u{cursor:default;background:transparent;padding:0 var(--sp4) 0 0;color:var(--faint)}
.ds-step{flex:none;display:flex;flex-direction:column;gap:1px;width:18px;height:calc(100% - 8px)}
.ds-step>button{flex:1;display:grid;place-items:center;padding:0;border:0;border-radius:var(--r3);color:var(--inGlyph);background:transparent;--is:8px;--travel:0px;
  --downSh:inset 0 1px 2px rgba(var(--shd),calc(.24*var(--shdK)))}
.ds-step .ds-i{stroke-width:1.75}
@media (hover:hover){ .ds-step>button:hover{color:var(--inInk);background:rgba(var(--ink),.08)} }
/* a price's bid · mid · ask */
.ds-in-qs{flex:none;display:flex;gap:1px;padding:2px;margin-left:var(--sp2);border-radius:var(--r6,6px);background:var(--chTrack)}
.ds-in-q{height:18px;padding:0 var(--sp6);border:0;border-radius:var(--r4);font:500 10px/1 var(--mono);color:var(--inGlyph);background:transparent;--travel:0px}
@media (hover:hover){
  .ds-in-q:hover{color:var(--inInk);background:var(--chLit);box-shadow:var(--chLitSh)}
  .ds-in-q[data-at="bid"]:hover{color:var(--upInk)} .ds-in-q[data-at="ask"]:hover{color:var(--dnInk)}
}
.ds-field-msg{display:block;min-height:13px;padding:var(--sp4) var(--sp2) 0;font:var(--fMetaSm);color:var(--dnInk)}
/* an input with no host: the same states, drawn on itself */
.ds-input,.ds-input:focus{height:var(--h30);padding:0 var(--sp10);border:0;border-radius:var(--r8);background:var(--inWell);box-shadow:var(--inWellSh);
  font:var(--inWord);letter-spacing:var(--trInWord);color:var(--inInk);caret-color:var(--inCaret)}
.ds-input:focus,.ds-input.is-focus{background:var(--inLit);box-shadow:var(--inLitSh);outline:none}
.ds-input::placeholder{color:var(--inPh);font-family:var(--sans)}
/* a refused keystroke (Z21): the ask's hairline flashes, the field shakes */
.ds-num-no::after{animation:dsInNo .42s var(--ease)}
.ds-num-no.ds-in,.ds-num-no.ds-field{animation:dsInShake .34s var(--contact)}
.ds-num-no:not(.ds-in,.ds-field){outline:1.5px solid transparent;outline-offset:-1.5px;animation:dsNumNo .26s var(--ease)}
@keyframes dsInNo{0%,30%{opacity:1}100%{opacity:0}}
@keyframes dsInShake{0%{translate:0}18%{translate:calc(-4px*var(--rmT,1))}42%{translate:calc(3px*var(--rmT,1))}68%{translate:calc(-1.5px*var(--rmT,1))}100%{translate:0}}
@keyframes dsNumNo{from{outline-color:rgba(var(--askRGB),.8)}to{outline-color:rgba(var(--askRGB),0)}}
:root[data-motion] .ds-num-no::after{animation:none;opacity:1}
:root[data-motion] .ds-num-no{animation:none}
:root[data-motion] .ds-num-no:not(.ds-in,.ds-field){outline-color:rgba(var(--askRGB),.6)}
/* ---- THE NAME FIELD (v8 · K19; js/ui/ds/namefield.js) — a title you write
   in place. At rest it is the host's own type, cut by an ellipsis. Open, an
   input lies exactly over the title, which stays under it as its mirror (so
   the field is as wide as what it holds, never narrower than at rest), and
   the well is drawn OUTSIDE the words on a negative inset: nothing moves by
   a pixel. Its colours are the title's own ink at an alpha (currentColor),
   which is what makes one field right on paper, on a selected dark card and
   on a slab; the typing state is the kit's hairline of ink (S5), the caret
   the orange. It out-ranks the global input rule and .ds-input on purpose:
   those dressed the v7 renames as a 10.5px mono well 30px tall. ---- */
.ds-nf{position:relative;display:inline-flex;align-items:center;gap:var(--sp4);min-width:0;max-width:100%;vertical-align:baseline}
.ds-nf-b{position:relative;isolation:isolate;display:inline-block;min-width:0;max-width:100%}
.ds-nf-t{display:block;min-width:0;overflow:hidden;white-space:pre;text-overflow:ellipsis}
.ds-nf[data-empty]:not([data-editing]) .ds-nf-t{opacity:.42}
.ds-nf[data-press]:not([data-editing]) .ds-nf-t{cursor:text}
.ds-nf[data-editing] .ds-nf-t{visibility:hidden}
.ds-nf .ds-nf-i,.ds-nf .ds-nf-i:focus,.ds-nf .ds-nf-i:focus-visible{position:absolute;top:0;left:0;width:calc(100% + 2px);height:100%;margin:0;padding:0;border:0;border-radius:0;
  background:transparent;box-shadow:none;outline:none;transition:none;text-overflow:clip;
  font:inherit;letter-spacing:inherit;word-spacing:inherit;text-transform:inherit;font-feature-settings:inherit;font-variant-numeric:inherit;line-height:inherit;
  color:inherit;caret-color:var(--accent2)}
.ds-nf .ds-nf-i[hidden]{display:none}
.ds-nf .ds-nf-i::placeholder{color:currentColor;opacity:.38}
.ds-nf .ds-nf-i::selection{background:var(--inSel)}
.ds-nf-b::before{content:"";position:absolute;z-index:-1;inset:-4px -8px;border-radius:var(--r8);pointer-events:none;
  background:color-mix(in srgb,currentColor 6%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,currentColor 26%,transparent);
  opacity:0;transform:scale(.97);transition:opacity var(--tLeave) var(--settle),transform var(--tLeave) var(--settle),box-shadow var(--tState) var(--settle)}
.ds-nf[data-editing] .ds-nf-b::before{opacity:1;transform:none;transition-duration:var(--tEnter)}
@media (hover:hover){ .ds-nf[data-press]:not([data-editing]) .ds-nf-b:hover::before{opacity:.6;transform:none;box-shadow:none;transition-duration:var(--tArrive)} }
.ds-nf[data-bad] .ds-nf-b::before{opacity:1;transform:none;box-shadow:inset 0 0 0 1px rgba(var(--warnRGB),.8)}
.ds-nf-u{position:absolute;left:0;right:0;bottom:-3px;height:1.5px;border-radius:1px;background:var(--accent2);transform:scaleX(0);transform-origin:0 50%;opacity:0;pointer-events:none}
/* the counter (only in the last ten characters) and a refusal's reason, in one chip under the well */
.ds-nf-n{position:absolute;z-index:2;right:-8px;top:calc(100% + 7px);padding:3px 6px;border-radius:var(--r5);background:var(--chip);box-shadow:var(--chipRing),0 0 0 1px color-mix(in srgb,currentColor 24%,transparent);
  font:500 10px/1 var(--mono);font-style:normal;font-variant-numeric:tabular-nums;letter-spacing:0;text-transform:none;color:var(--onDark);white-space:nowrap;
  opacity:0;transform:translateY(-3px);transition:opacity var(--tEnter) var(--settle),transform var(--tEnter) var(--settle);pointer-events:none}
.ds-nf:is([data-editing][data-count],[data-said]) .ds-nf-n{opacity:1;transform:none}
.ds-nf:is([data-full],[data-said]) .ds-nf-n{color:var(--warnSoft)}
/* the pen: the title's ink, quiet until the pointer is over the name */
.ds-nf .ds-nf-p{color:inherit;opacity:0;--is:11px;transition:opacity var(--tLeave) var(--settle),background-color var(--tArrive) var(--ease)}
@media (hover:hover){ .ds-nf:hover .ds-nf-p{opacity:.5;transition-duration:var(--tArrive)} .ds-nf .ds-nf-p:hover:not(:disabled){opacity:1;color:inherit;background:color-mix(in srgb,currentColor 10%,transparent)} }
@media (hover:none){ .ds-nf .ds-nf-p{opacity:.45} }
.ds-nf .ds-nf-p:focus-visible{opacity:1}
.ds-nf[data-editing] .ds-nf-p{visibility:hidden}
/* a control holding an open field does not press under the hand */
.ds-c:has(.ds-nf[data-editing]):is(:active,.is-press):not(:disabled,[aria-disabled="true"]){transform:none}
.ds-c:has(.ds-nf[data-editing]):is(:active,.is-press)::before{opacity:0}


/* ---- SELECT — the <select> stays the state; js/ui/menu.js draws its menu ---- */
select.ds-sel{height:var(--h30);padding:0 var(--sp24) 0 var(--sp10);border:0;border-radius:var(--r8);cursor:pointer;
  font:500 10px/1 var(--mono);color:var(--text);background-color:var(--well);box-shadow:var(--wellSh);
  background-image:var(--caret);background-repeat:no-repeat;background-position:right 9px center}
select.ds-sel[data-size="md"]{height:var(--h26);font-size:12px}
select.ds-sel[data-size="sm"]{height:var(--h22);padding-left:var(--sp8);font-size:11px;border-radius:var(--r5)}
select.ds-sel[data-face="plate"]{background-color:transparent;background-image:var(--caret),var(--plate);
  background-position:right 9px center,0 0;background-size:auto,100% 100%;box-shadow:var(--plateShSm)}
/* open is in hand (css/main.css → THE DROP MENU): its face kept, full ink, the caret turned, and the hand's hairline */
select.ds-sel.menu-open{color:var(--text);background-image:var(--caretOn);box-shadow:var(--wellSh),inset 0 0 0 1px rgba(var(--ink),.16)}
select.ds-sel[data-face="plate"].menu-open{background-image:var(--caretOn),var(--plate);box-shadow:var(--plateShSm),inset 0 0 0 1px rgba(var(--ink),.16)}
select.ds-sel:focus-visible,select.ds-sel.is-focus{outline:2px solid var(--ring);outline-offset:2px}
/* A KEY THAT OPENS A PICKER wears the select's face (v9 · Q245, `cls: "ds-pickk"`; Settings' time zone): a choice from a
   list reads as one, in the well and the type the banks beside it wear, never a raised plate in the button's type (the
   owner of the zone's key: "the button should be in design system") */
.ds-btn.ds-pickk{height:var(--h30);padding:0 var(--sp10);gap:var(--sp6);border-radius:var(--r8);font:500 10px/1 var(--mono);letter-spacing:0;text-transform:none;
  color:var(--text);background:var(--well);box-shadow:var(--wellSh)}
.ds-btn.ds-pickk>.ds-i{--is:12px;color:var(--faint)}

/* ==== THE SLIDER (v9 · sliders-family): components.md → THE SLIDER says the rules and why ==== */
/* ONE CENTRE LINE (owner, v1 pins 1–2: "the dots should be in the line and align center"): rail, dots, origin, knob and
   halo all stand on the track's middle, every size an even number of px so that middle is a whole pixel */
.ds-sl{--slH:var(--h22);--slR:4px;--slK:16px;--slHa:28px;--slD:2px;position:relative;display:flex;align-items:center;gap:var(--sp10);min-width:60px;height:var(--slH);
  outline:none;user-select:none;-webkit-user-select:none;touch-action:pan-y;-webkit-tap-highlight-color:transparent}
.ds-sl[data-size="sm"]{--slH:18px;--slK:12px;--slHa:22px}
.ds-sl-t{position:relative;flex:1 1 auto;align-self:stretch;min-width:0;padding:0 calc(var(--slK) / 2);cursor:pointer}
.ds-sl-in{position:relative;display:block;height:100%}
.ds-sl-r{position:absolute;left:0;right:0;top:calc(50% - var(--slR) / 2);height:var(--slR);border-radius:calc(var(--slR) / 2);overflow:hidden;background:var(--slRail)}
.ds-sl-f{position:absolute;inset:0;transform-origin:0 50%;transform:scaleX(0);background:var(--slRun)}
/* the stops: notches in the line, its own height's middle; lit (the knob's ink) where the run has taken them */
.ds-sl-k{position:absolute;left:0;right:0;top:50%;height:0;pointer-events:none}
.ds-sl-k>i{position:absolute;top:calc(var(--slD) / -2);width:var(--slD);height:var(--slD);margin-left:calc(var(--slD) / -2);border-radius:50%;
  background:var(--slTick);transition:background-color var(--tState) var(--settle)}
.ds-sl-k>i.on{background:var(--slTickOn)}
/* the origin (a range that crosses 0): one short upright through the line, in the run's ink: where the run starts */
.ds-sl-k>i.z,.ds-sl-k>i.z.on{top:calc(var(--slR) / -2 - 3px);width:2px;height:calc(var(--slR) + 6px);margin-left:-1px;border-radius:1px;background:var(--slRun)}
.ds-sl-c{position:absolute;left:0;right:0;top:0;bottom:0;pointer-events:none;transform:translateX(-100%)}
.ds-sl-h,.ds-sl-n{position:absolute;border-radius:50%}
.ds-sl-h{top:calc(50% - var(--slHa) / 2);right:calc(var(--slHa) / -2);width:var(--slHa);height:var(--slHa);background:var(--slHalo);opacity:0;transform:scale(.6);
  transition:opacity var(--tState) var(--settle),transform var(--tState) var(--settle)}
/* the knob: pressed it rises on the one overshoot, let go it settles */
.ds-sl-n{top:calc(50% - var(--slK) / 2);right:calc(var(--slK) / -2);width:var(--slK);height:var(--slK);background:var(--slKnob);box-shadow:var(--slKnobSh);
  transition:transform var(--tState) var(--settle)}
.ds-sl.live .ds-sl-c,.ds-sl.live .ds-sl-f{will-change:transform}
/* the readout: the figure alone, mono, right-aligned, as wide as its widest so nothing beside it moves; the unit faint */
.ds-sl-o{display:inline-flex;align-items:baseline;justify-content:flex-end;flex:none;min-width:var(--slw,3ch);
  font:500 11px/1 var(--mono);font-variant-numeric:tabular-nums;color:var(--text);contain:layout paint style;transition:color var(--tState) var(--settle)}
.ds-sl-o>i{margin-left:2px;font:500 9.5px/1 var(--sans);font-style:normal;color:var(--faint)}
@media (hover:hover){ .ds-sl:not([aria-disabled="true"],.unk):hover .ds-sl-h{opacity:1;transform:none} }
.ds-sl.is-hover .ds-sl-h{opacity:1;transform:none}
.ds-sl.held .ds-sl-h{opacity:1;transform:scale(1.12)}
.ds-sl.held .ds-sl-n{transform:scale(1.14);transition-timing-function:var(--pop)}
.ds-sl.held .ds-sl-t{cursor:ew-resize}
.ds-sl:is(:focus-visible,.is-focus) .ds-sl-n{outline:2px solid var(--ring);outline-offset:2px}
.ds-sl.held .ds-sl-n{outline-color:transparent}   /* under the hand the knob is the answer; the ring is the keys' */
.ds-sl.no .ds-sl-n{animation:slNo .32s var(--settle)}
.ds-sl.no .ds-sl-o{color:var(--warnInk)}
@keyframes slNo{20%{transform:translateX(calc(-3px * var(--rmT,1)))}45%{transform:translateX(calc(2.5px * var(--rmT,1)))}70%{transform:translateX(calc(-1.2px * var(--rmT,1)))}}
.ds-sl.unk .ds-sl-c,.ds-sl.unk .ds-sl-f{opacity:0}
.ds-sl.unk .ds-sl-o{color:var(--faint)}
.ds-sl.unk .ds-sl-k>i.on{background:var(--slTick)}
.ds-sl[aria-disabled="true"]{opacity:.42}
.ds-sl[aria-disabled="true"] .ds-sl-t{cursor:default}
html[data-phone] .ds-sl{--slH:44px;--slR:6px;--slK:26px;--slHa:40px}
html[data-phone] .ds-sl-o{font-size:13px}
/* the readout seated beside a control: recessed, never bare text */
.ds-vchip{display:inline-flex;align-items:center;justify-content:flex-end;flex:none;min-width:var(--w,44px);height:var(--h22);padding:0 var(--sp8);border-radius:var(--r5);
  font:500 10px/1 var(--mono);font-variant-numeric:tabular-nums;color:var(--text);background:var(--well);box-shadow:var(--wellSh)}

/* =====================================================================
   CHIPS, TAGS, BADGES, PILLS, LEDS, KEYCAPS — the small objects.
   ===================================================================== */
/* a CHIP is a small switch: a filter, a column, a lens */
.ds-chip{display:inline-flex;align-items:center;gap:var(--sp4);flex:none;height:var(--h22);padding:0 var(--sp8);border:0;border-radius:var(--rFaceSm);
  font:600 10px/1 var(--mono);letter-spacing:0;color:var(--chRest);background:var(--chTrack);box-shadow:none;--travel:0px;--downSh:none}
@media (hover:hover){ .ds-chip:hover:not(.on){color:var(--text)} }
.ds-chip.on{color:var(--chInk);box-shadow:none}
.ds-chip .ds-i{--is:11px}
.ds-chip .n{font-weight:500;color:var(--faint)} .ds-chip.on .n{color:var(--chInk2)}
/* a row of chips that is one choice (chips()): the thumb across its gaps */
.ds-chips{position:relative;display:inline-flex;align-items:center;flex-wrap:wrap;gap:var(--sp4)}
.ds-chips>.ds-thumb{border-radius:var(--rFaceSm)}
/* under the thumb a chip's own track steps aside */
.has-thumb[data-seated] .ds-chip:is(.on,[aria-checked="true"]):not(.ds-own),.has-thumb[data-seated] .pmk-chip[aria-selected="true"]{background-color:transparent}
/* a picker card (`.ds-opt`, v9 · Q239): a ring of the ink one gap out, concentric */
.ds-opt{position:relative;--optR:var(--r8);--optGap:2px}
.ds-opt::after{content:"";position:absolute;inset:calc(-1 * var(--optGap));z-index:2;border-radius:calc(var(--optR) + var(--optGap));pointer-events:none;
  box-shadow:0 0 0 1.5px var(--chRing);opacity:0;transform:scale(1.04);
  transition:opacity var(--tState) var(--settle),transform var(--tChoice,.39s) var(--chSpring,var(--settle))}
.ds-opt:is(.on,[aria-checked="true"],[aria-pressed="true"],[aria-selected="true"])::after{opacity:1;transform:none}
@media (hover:hover){ .ds-opt:hover:not(.on,[aria-checked="true"],[aria-pressed="true"],[aria-selected="true"])::after{opacity:.2;transform:none} }
/* a TAG names what something is, and is never pressed: an engraved legend on
   a recess, a tint, or a ring */
.ds-tag{display:inline-flex;align-items:center;gap:var(--sp4);flex:none;height:16px;padding:0 var(--sp6);border-radius:var(--r4);white-space:nowrap;
  font:var(--fLegSm);letter-spacing:var(--trLegSm);text-transform:none;font-style:normal;
  color:var(--dim);background:var(--well);box-shadow:inset 0 1px 2px rgba(var(--shd),calc(.14*var(--shdK)))}
.ds-tag:is([data-tone="long"],[data-tone="buy"]){color:var(--upInk);background:var(--upWash);box-shadow:none}
.ds-tag:is([data-tone="short"],[data-tone="sell"]){color:var(--dnInk);background:var(--dnWash);box-shadow:none}
/* NO ACCOUNT, NO WORD (hidden-commands; honesty.md → a missing word is never printed as PAPER): the account's tag with nothing to say is not drawn */
.ds-tag[data-tone="paper"]:empty{display:none}
.ds-tag[data-tone="warn"]{color:var(--warnInk);background:rgba(var(--warnRGB),.15);box-shadow:none}
.ds-tag[data-tone="acc"]{color:var(--armedInk);background:var(--armedWash);box-shadow:none}
.ds-tag[data-tone="paper"]{color:var(--paperInk);background:transparent;box-shadow:var(--paperRing)}
.ds-tag[data-tone="ghost"]{color:var(--faint);background:transparent;box-shadow:inset 0 0 0 1px rgba(var(--ink),.14)}
.ds-tag[data-tone="frozen"]{color:var(--frzInk);background:rgba(var(--frzRGB),.12);box-shadow:none}
.ds-tag[data-size="xs"]{height:var(--h14);padding:0 var(--sp4);font:var(--fLegXs);letter-spacing:var(--trLegXs)}
/* the reading register's tag: a word in sentence case (Portfolio's Long / Short) */
.ds-tag[data-case="s"]{height:20px;padding:0 var(--sp8);border-radius:var(--r6);font:600 12px/1 var(--sans);letter-spacing:0;text-transform:none}
.ds-tag>.ds-led{width:5px;height:5px}
.ds-tag .ds-i{--is:10px}
/* a BADGE is a statement over data — so it is a slab, and it says how far */
.ds-badge{display:inline-flex;align-items:center;gap:var(--sp6);flex:none;height:20px;padding:0 var(--sp8) 0 var(--sp6);border-radius:10px;white-space:nowrap;
  background:var(--chip);box-shadow:var(--chipRing),var(--chipSh);color:var(--onDark)}
.ds-badge b{font:var(--fLegSm);letter-spacing:var(--trLegSm);text-transform:none}
.ds-badge em{font:500 10px/1 var(--mono);font-style:normal;font-variant-numeric:tabular-nums;color:var(--onDark2)}
.ds-badge-r{flex:none;width:12px;height:12px;overflow:visible;transform:rotate(-90deg)}
.ds-badge-r circle{fill:none;stroke-width:2;vector-effect:non-scaling-stroke}
.ds-badge-r .t{stroke:var(--slabRule)}
.ds-badge-r .v{stroke:var(--frzOnChip);stroke-dasharray:var(--k100,0) 100;transition:stroke-dasharray .6s var(--settle)}
.ds-badge[data-tone="acc"] .ds-badge-r .v{stroke:var(--accentHi)}
.ds-badge[data-tone="warn"] .ds-badge-r .v{stroke:var(--warnSoft)}
/* an LED says alive, waiting, wrong or off — and nothing else; it holds still: its colour says the state (v9 · no-pulse; the
   owner: "i don't like pulse at all" — it blinked live, wait, armed and in maintenance) */
.ds-led{flex:none;display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--off);box-shadow:inset 0 1px 1px rgba(var(--shd),calc(.25*var(--shdK)))}
.ds-led[data-size="sm"]{width:5px;height:5px}
.ds-led[data-state="live"]{background:var(--accent);box-shadow:0 0 7px rgba(var(--accRGB),.9),0 0 16px rgba(var(--accRGB),.45)}
.ds-led[data-state="wait"]{background:var(--warn);box-shadow:0 0 7px rgba(var(--warnRGB),.8)}
.ds-led[data-state="err"]{background:var(--ask);box-shadow:0 0 8px rgba(var(--askRGB),.7)}
.ds-led[data-state="power"]{background:var(--lowPower);box-shadow:0 0 6px rgba(var(--warnRGB),.6)}
.ds-led[data-state="armed"]{background:var(--armed);box-shadow:0 0 8px rgba(var(--acc2RGB),.85),0 0 18px rgba(var(--acc2RGB),.4)}
.ds-led[data-state="maint"]{background:var(--maint);box-shadow:0 0 7px rgba(var(--acc2RGB),.7)}
.ds-led[data-state="frozen"]{background:var(--frzInk);box-shadow:0 0 6px rgba(var(--frzRGB),.6)}
.ds-led[data-state="stale"]{background:transparent;box-shadow:inset 0 0 0 1.5px var(--stale)}
/* THE BATTERY (v8; js/ui/ds/battery.js) — the machine's, drawn the way its
   own menu bar draws it: a hairline body and nub at a little under half the
   ink, a fill of the full ink exactly as long as the charge, the bolt cut out
   of both while it charges, the percentage before it. The fill takes the ask
   hue at 20% and under while it drains (the Mac's own tint, and the only
   one); a battery on charge is being answered and stays ink. Where the
   browser keeps the battery to itself, nothing is drawn. */
.ds-batt{display:inline-flex;align-items:center;gap:var(--sp4);flex:none;color:var(--text);white-space:nowrap;--battLow:var(--ask)}
.ds-batt>b{font:var(--fVal);font-variant-numeric:tabular-nums;color:var(--dim)}
.ds-batt>svg{flex:none;width:25px;height:12px;overflow:visible}
.ds-batt[data-size="sm"]>svg{width:21px;height:10px}
.ds-batt[data-size="lg"]{gap:var(--sp6)}
.ds-batt[data-size="lg"]>svg{width:50px;height:24px}
.ds-batt[data-size="lg"]>b{font:var(--fValLg)}
.ds-batt .bd{fill:none;stroke:currentColor;stroke-opacity:.42;vector-effect:non-scaling-stroke}
.ds-batt .nb{fill:currentColor;fill-opacity:.42}
.ds-batt .lv,.ds-batt .bt{fill:currentColor}
.ds-batt[data-low] .lv{fill:var(--battLow)}
/* a PILL is a card's own position and orders, on the card's bottom edge: a
   slab, because it is the reader's own and must read over any book */
.ds-pill{display:inline-flex;align-items:center;gap:var(--sp6);flex:none;height:var(--h22);padding:0 var(--sp2) 0 var(--sp4);border-radius:11px;white-space:nowrap;
  background:var(--slab);box-shadow:var(--slabSh);color:var(--slabInk);font:500 10px/1 var(--mono);font-variant-numeric:tabular-nums}
.ds-pill>.ds-tag{height:14px;padding:0 5px;border-radius:7px;font:var(--fLegXs);letter-spacing:var(--trLegXs)}
.ds-pill>.ds-tag[data-tone="long"]{color:var(--upSlab);background:rgba(var(--bidRGB),.22)}
.ds-pill>.ds-tag[data-tone="short"]{color:var(--dnSlab);background:rgba(var(--askRGB),.24)}
.ds-pill b{font-weight:600}
.ds-pill .ds-up{color:var(--upSlab)} .ds-pill .ds-dn{color:var(--dnSlab)}
.ds-pill>i.sep{width:1px;height:12px;background:var(--slabRule)}
.ds-pill .ds-ico{width:var(--h18);height:var(--h18);border-radius:9px;color:var(--slabDim);--is:10px}
@media (hover:hover){ .ds-pill .ds-ico:hover{color:var(--slabInk);background:var(--slabFaceHi)} .ds-pill .ds-ico[data-tone="ask"]:hover{color:var(--askSoft);background:rgba(var(--askRGB),.22)} }
.ds-pill .n{color:var(--slabDim)}
/* the KEYCAP — the keyboard language's object. It travels its whole edge */
/* v8.9 · Z21: a keystroke a numeric field refused — its ring flashes once in the ask's hue, nothing lands */
.ds-num-no{outline:1.5px solid transparent;outline-offset:-1.5px;animation:dsNumNo .26s var(--ease)}
@keyframes dsNumNo{from{outline-color:rgba(var(--askRGB),.8)}to{outline-color:rgba(var(--askRGB),0)}}
:root[data-motion] .ds-num-no{animation:none;outline-color:rgba(var(--askRGB),.6)}
.ds-key{display:inline-grid;grid-auto-flow:column;place-items:center;gap:3px;flex:none;min-width:18px;height:18px;padding:0 5px;border:0;border-radius:var(--r4);
  font:600 10px/1 var(--mono);text-transform:none;letter-spacing:0;color:var(--text);background:var(--keyFace);box-shadow:var(--keySh);
  transform:translateY(0);transition:transform var(--tLeave) var(--settle),box-shadow var(--tLeave) var(--settle);--is:9px}
.ds-key[data-size="xs"]{min-width:14px;height:14px;padding:0 3px;border-radius:var(--r3);font-size:11px;box-shadow:var(--keyShXs);--is:8px}
/* a key's drawn glyph (⇧ ⌥ ⌘ ↵ …) is a SHAPE at a key cap's size: a heavier, rounded stroke, and on the smallest cap a
   glyph a size up — at 8 px a 1.5 stroke on a 24 grid drew half a pixel, and the arrow read as a smudge */
.ds-key>.ds-i{stroke-width:2.1;stroke-linejoin:round;stroke-linecap:round}
.ds-key[data-size="xs"]>.ds-i{--is:10px;stroke-width:2.3}
.ds-key[data-size="md"]{min-width:24px;height:24px;padding:0 7px;border-radius:var(--r5);font-size:12px;--is:11px}
.ds-key[data-size="lg"]{min-width:36px;height:36px;padding:0 9px;border-radius:7px;font-size:12px;--is:13px;box-shadow:var(--keyShLg)}
.ds-key[data-w]{min-width:calc(36px * var(--kw,1))}
.ds-key:is(.down,button:active){transform:translateY(2px);box-shadow:var(--keyShDown);transition-duration:var(--tTouch);transition-timing-function:var(--contact)}
.ds-key[data-size="xs"].down{transform:translateY(1px)}
.ds-key[data-size="lg"].down{transform:translateY(3px)}
.ds-key[data-tone="acc"]{color:var(--accent2)}
.ds-key[data-tone="warn"]{color:var(--warn)}
.ds-key[data-tone="bid"]{color:var(--upInk)} .ds-key[data-tone="ask"]{color:var(--dnInk)}
.ds-key.idle{color:var(--ghost)}
.ds-key small{font:500 10px/1 var(--mono);color:var(--faint)}
button.ds-key{cursor:pointer}
/* a chord: keycaps side by side, never a plus sign between them */
.ds-keys{display:inline-flex;align-items:center;gap:3px;vertical-align:middle}
:is(.ds-slab,.ds-on-slab) .ds-key,.ds-key[data-on="slab"]{color:var(--slabInk);background:var(--slabKey);box-shadow:var(--slabKeySh)}
/* the KEYBOARD: keycaps on a plate, the S13 map. A key that does something
   here wears its action's ink; one that does nothing is a ghost */
.ds-kb{display:grid;grid-template-columns:repeat(var(--cols,15),minmax(0,1fr));gap:4px;padding:var(--sp10);border-radius:var(--rPlate);background:var(--plateTall);box-shadow:var(--plateSh)}
.ds-kb>.ds-key{min-width:0;width:100%;height:30px;border-radius:var(--r5);font-size:12px}
.ds-kb>.ds-key[data-span]{grid-column:span var(--span,2)}
/* v8 · G15 — the keycap's two other looks (controls.js → keycapHTML).
   INK: a key SAID — in a menu, the palette, the sheet's rows — a hairline and
   nothing struck, so a list of keys reads as a list and not a keyboard.
   FLOAT: the chip the keyboard layer lays over a control while ⌘ is held,
   in the tip's own material, so it reads over a book, a heatmap or paper.
   A SEQUENCE (g then f) is its chords with a short hairline between them. */
.ds-key[data-look="ink"]{background:transparent;box-shadow:inset 0 0 0 1px rgba(var(--ink),.2);color:var(--dim);transform:none}
/* an INK key on a dark surface or a saturated face reads in that surface's ink —
   stated AFTER the INK look, which at the same specificity painted the paper's
   own dim on a slab and on an orange send (F2) */
:is(.ds-slab,.ds-on-slab) .ds-key[data-look="ink"],.ds-key[data-look="ink"][data-on="slab"],.ds-btn[data-tone="slab"] .ds-key[data-look="ink"]{color:var(--slabDim);box-shadow:inset 0 0 0 1px var(--slabFaceHi)}
.ds-btn:is([data-tone="pri"],[data-tone="bid"],[data-tone="ask"]) .ds-key[data-look="ink"]{color:var(--onHueDim);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--onHue) 40%,transparent)}
.ds-btn[data-tone="bid"] .ds-key[data-look="ink"]{color:color-mix(in srgb,var(--onBid) 72%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--onBid) 40%,transparent)}
.ds-btn[data-tone="ask"] .ds-key[data-look="ink"]{color:color-mix(in srgb,var(--onAsk) 72%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--onAsk) 40%,transparent)}
.ds-key[data-look="float"]{background:var(--chip);box-shadow:var(--chipRing),var(--tipSh);color:var(--onDark)}
.ds-key[data-look="float"][data-tone="acc"]{color:var(--accentHi)}
.ds-key[data-look="float"][data-tone="warn"]{color:var(--warnSoft)}
.ds-key[data-look="float"].idle{color:var(--onDark2)}
.ds-seq{gap:3px}
.ds-then{flex:none;width:5px;height:1px;border-radius:1px;background:currentColor;opacity:.4}
/* a key named in a tip is said quietly, on the tip's own dark */
.ds-tip .ds-key{background:var(--slabFace);box-shadow:inset 0 0 0 1px var(--slabFaceHi);color:var(--onDark2)}
/* the ARROW KEYS (v9 · owner 2026-11-05; ds/arrowkeys.js): the overview's walk as the keyboard holds it, the inverted T of
   half-height caps in the overview's own key material (.tov-k kbd), all four struck alike. A cap is its edge (the .ds-ak)
   with its face on it; a press moves the face down onto the edge, dims the shadow and lights the triangle alone (a second
   triangle over the first, faded in): transform and opacity, nothing laid out or painted */
.ds-arrows{--akW:22px;--akH:10px;--akG:2px;--akD:1.5px;--akT:1.5px;--akR:3px;--akTw:6px;--akTh:5px;
  display:inline-grid;grid-template-columns:repeat(3,var(--akW));grid-template-rows:repeat(2,var(--akH));gap:var(--akG);flex:none;vertical-align:middle}
.ds-ak{position:relative;border-radius:var(--akR);background:var(--edge)}
.ds-ak[data-k="u"]{grid-area:1/2} .ds-ak[data-k="l"]{grid-area:2/1} .ds-ak[data-k="d"]{grid-area:2/2} .ds-ak[data-k="r"]{grid-area:2/3}
.ds-ak::before{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:var(--akSh);transition:opacity var(--tLeave) var(--settle)}
.ds-ak>b{position:absolute;inset:0 0 var(--akD);border-radius:inherit;background:var(--panel2);box-shadow:inset 0 1px 0 var(--lip);transition:transform var(--tLeave) var(--settle)}
.ds-ak>b::before,.ds-ak>b::after{content:"";position:absolute;left:50%;top:50%;width:var(--akTw);height:var(--akTh);margin:calc(var(--akTh) / -2) 0 0 calc(var(--akTw) / -2);background:var(--text);clip-path:polygon(50% 0,100% 100%,0 100%)}
.ds-ak>b::before{z-index:1;background:var(--accent2);opacity:0;transition:opacity var(--tLeave) var(--settle)}
.ds-ak[data-k="d"]>b::before,.ds-ak[data-k="d"]>b::after{clip-path:polygon(0 0,100% 0,50% 100%)}
.ds-ak:is([data-k="l"],[data-k="r"])>b::before,.ds-ak:is([data-k="l"],[data-k="r"])>b::after{width:var(--akTh);height:var(--akTw);margin:calc(var(--akTw) / -2) 0 0 calc(var(--akTh) / -2);clip-path:polygon(100% 0,100% 100%,0 50%)}
.ds-ak[data-k="r"]>b::before,.ds-ak[data-k="r"]>b::after{clip-path:polygon(0 0,100% 50%,0 100%)}
.ds-ak.down>b{transform:translateY(calc(var(--akT) * var(--rmT,1)));animation:dsAkDown var(--tTouch) var(--contact);transition-duration:var(--tTouch);transition-timing-function:var(--contact)}
.ds-ak.down::before{opacity:.35}
.ds-ak.down>b::before{opacity:1;transition-duration:var(--tTouch);transition-timing-function:var(--contact)}
@keyframes dsAkDown{/* rm: keep: it ends at the cap's down, which --rmT makes none (no travel, the light alone) */from{transform:none}}
@media (hover:none) and (pointer:coarse){ .ds-arrows{display:none} }

/* =====================================================================
   METERS, GAUGES, KEY-VALUE ROWS, STATS, TILES, TABLES — reading a number.
   ===================================================================== */
/* a METER is a quantity along a track. The fill is a transform; a two-sided
   meter fills from its centre; a mark is a threshold */
.ds-meter{--k:0;position:relative;display:block;height:6px;border-radius:var(--r3);overflow:hidden;background:var(--track);
  box-shadow:inset 0 1px 2px rgba(var(--shd),calc(.2*var(--shdK)))}
.ds-meter>i{position:absolute;inset:0;border-radius:inherit;background:var(--mc,rgba(var(--ink),.72));
  transform:translateX(calc((var(--k) - 1) * 100%));transition:transform .35s var(--settle)}
.ds-meter[data-tone="up"]>i{--mc:var(--up)} .ds-meter[data-tone="dn"]>i{--mc:var(--dn)}
.ds-meter[data-tone="warn"]>i{--mc:linear-gradient(90deg,var(--warnDeep),var(--warn))}
.ds-meter[data-tone="acc"]>i{--mc:var(--priFace)}
.ds-meter[data-size="sm"]{height:4px;border-radius:2px}
.ds-meter[data-size="lg"]{height:8px;border-radius:4px}
.ds-meter>b{position:absolute;top:0;bottom:0;left:calc(var(--at,.5) * 100%);width:1px;margin-left:-.5px;background:rgba(var(--lit),calc(.7*var(--litK)))}
.ds-meter[data-kind="two"]>i{inset:0 50% 0 0;border-radius:0;transform-origin:100% 50%;transform:scaleX(var(--b,0));background:var(--up)}
.ds-meter[data-kind="two"]>i+i{inset:0 0 0 50%;transform-origin:0 50%;transform:scaleX(var(--a,0));background:var(--dn)}
.ds-meter[data-kind="two"]::after{content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;margin-left:-.5px;background:rgba(var(--lit),calc(.55*var(--litK)))}
/* "not normal" is hatched — a meter past its line (margin past maintenance) */
.ds-meter>u{position:absolute;inset:0 auto 0 0;width:calc(var(--h,0) * 100%);background:repeating-linear-gradient(45deg,transparent 0 3px,rgba(var(--askRGB),.6) 3px 5px)}
/* a GAUGE is a meter bent into a ring, for a share that has a whole */
.ds-gauge{position:relative;display:inline-grid;place-items:center;flex:none;width:var(--gs,32px);height:var(--gs,32px)}
.ds-gauge svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;transform:rotate(-90deg)}
/* the ring's width is in its own 36-unit box (3 is a twelfth of it): the share is drawn by pathLength, which a
   non-scaling stroke ignores — under one, Chrome laid the dash out in screen pixels, so any ring but ~38 px drew the
   wrong share and an 11 px ring at 46% drew whole (v9 · Q109, its first use in the product) */
.ds-gauge circle{fill:none;stroke-width:var(--gw,3)}
.ds-gauge .t{stroke:rgba(var(--ink),.1)}
.ds-gauge .v{stroke:var(--gc,var(--text));stroke-dasharray:var(--k100,0) 100;transition:stroke-dasharray .6s var(--settle)}
.ds-gauge b{position:relative;font:600 10px/1 var(--mono);font-variant-numeric:tabular-nums;color:var(--text)}
/* a KEY-VALUE ROW: the label BESIDE its value is a sentence; the value is a figure */
.ds-kv{display:flex;align-items:baseline;justify-content:space-between;gap:var(--sp12);min-height:18px;min-width:0}
.ds-kv>span:first-child{flex:none;font:var(--fLabelSm);color:var(--dim);white-space:nowrap}
.ds-kv>b{min-width:0;font:500 11px/1.3 var(--mono);font-variant-numeric:tabular-nums;color:var(--text);text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ds-kv>b em{font-style:normal;color:var(--faint)}
.ds-kv>b i{font-style:normal;color:var(--ghost);padding:0 var(--sp4)}
.ds-kv>b input{width:4.5em;height:16px;padding:0 4px;border:0;border-radius:var(--r3);text-align:right;font:inherit;color:var(--text);background:var(--well);box-shadow:var(--wellSh)}
.ds-kv[data-strong]>b{font-weight:600;font-size:12px}
/* a STAT: the label ABOVE its value is an engraved legend */
.ds-stat{display:flex;flex-direction:column;gap:var(--sp4);min-width:0}
.ds-stat>i{font:var(--fLeg);letter-spacing:var(--trLeg);text-transform:none;font-style:normal;color:var(--faint);white-space:nowrap}
.ds-stat>b{font:var(--fValLg);font-variant-numeric:tabular-nums;color:var(--text);white-space:nowrap}
.ds-stat>b em{font-style:normal;font-weight:500;font-size:.78em;color:var(--faint);margin-left:2px}
.ds-stat>span:not([class]){font:var(--fMetaSm);color:var(--faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ds-stat[data-size="sm"]>i{font:var(--fLegSm);letter-spacing:var(--trLegSm)}
.ds-stat[data-size="sm"]>b{font:var(--fVal)}
/* ... and over a figure of 18px and up the label is a sentence caption: an
   8px engraving under a 40px number reads as dust */
.ds-stat:is([data-size="tile"],[data-size="hero"],[data-size="max"])>i{font:var(--fLabel);letter-spacing:0;text-transform:none}
.ds-stat[data-size="tile"]{gap:var(--sp2)}
.ds-stat[data-size="tile"]>b{font:var(--fFig)}
.ds-stat[data-size="hero"]{gap:var(--sp6)}
.ds-stat[data-size="hero"]>b{font:var(--fFigHero);letter-spacing:var(--trHero)}
.ds-stat[data-size="max"]{gap:var(--sp6)}
.ds-stat[data-size="max"]>i{font:500 12px/1.3 var(--sans)}
.ds-stat[data-size="max"]>b{font:var(--fFigMax);letter-spacing:var(--trHero)}
/* a TILE: a flat reading region inside a plate */
.ds-tile{display:flex;flex-direction:column;gap:var(--sp8);padding:var(--sp14) var(--sp16);border-radius:var(--r14);background:var(--tile);box-shadow:var(--tileRing);min-width:0}
/* a TABLE is keyed rows on one column template (--cols), a head of legends
   and rows that are placed, not rebuilt (js/ui/ds/keyed.js) */
.ds-tbl{display:flex;flex-direction:column;min-width:0}
.ds-th,.ds-tr{display:grid;grid-template-columns:var(--cols);align-items:center;column-gap:var(--sp12);padding:0 var(--sp8);min-width:0}
.ds-th{height:24px;align-items:end;padding-bottom:var(--sp6);box-shadow:var(--grooveSh)}
.ds-th>span{font:var(--fLegSm);letter-spacing:var(--trLegSm);text-transform:none;color:var(--faint);white-space:nowrap}
.ds-tbl[data-reg="read"] .ds-th>span{font:var(--fLabelSm);letter-spacing:0;text-transform:none}
.ds-tr{height:var(--rowH,30px);border-radius:var(--r8);contain:layout style;transition:background-color var(--tArrive) var(--ease)}
.ds-tbl[data-reg="read"] .ds-tr{--rowH:34px;border-radius:var(--r10)}
@media (hover:hover){ :where(html:not(.hv-hold)) .ds-tr:hover{background:var(--plateHov)} }
.ds-tr.is-hover{background:var(--plateHov)}
.ds-tr.sel{background:var(--selFace);box-shadow:var(--selSh)}   /* the selected row is the lifted face, no hue (owner, 2026-11-10 · design-kit-d4); the dark --selPlate it wore kept its figures in dark ink */
.ds-tr>*{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(.ds-tr,.ds-th) .r{text-align:right} :is(.ds-tr,.ds-th) .c{text-align:center}
.ds-tr .fig{font:var(--fValMd);font-variant-numeric:tabular-nums;color:var(--text)}
.ds-tbl[data-reg="read"] .ds-tr .fig{font-size:13px}
.ds-tr .fig.b{font-weight:600}
.ds-tr .nm{display:flex;align-items:baseline;gap:var(--sp8);font:var(--fName)}
.ds-tr .nm span{font:400 12px/1.3 var(--sans);color:var(--faint)}
.ds-tr .acts{display:flex;justify-content:flex-end;gap:var(--sp2);overflow:visible}
/* rows below a list's fold are not laid out until they are near it */
.ds-tr.far{content-visibility:auto;contain-intrinsic-size:auto var(--rowH,30px)}
/* THE ROW LANGUAGE (js/ui/ds/keyed.js → rowList; v9 · Q87): the kit's table, scrolled under a sticky head, its
   columns the designer's and shed by width (a gone column's head and cells leave together), its controls a column
   of their own — quiet at rest, full under the hand or the keyboard's focus, at fixed widths so nothing shifts —
   and a row's inline region (its orders, its legs) opened beneath it */
.ds-rl{flex:1;min-height:0;overflow:auto;padding:0 var(--sp6) var(--sp6)}
.ds-rl-h{position:sticky;top:0;z-index:2;background:var(--rlBg,var(--plateTall))}
.ds-rl-b{position:relative}
.ds-rl :is(.ds-th,.ds-tr)>[hidden]{display:none!important}
.ds-rw{--rowH:36px}
.ds-rw>.ds-rw-a{display:flex;justify-content:flex-end;align-items:center;gap:var(--sp2);overflow:visible}
.ds-rw>.ds-rw-a>*{opacity:.38;transition:opacity var(--tState) var(--settle)}
@media (hover:hover){ .ds-rw:hover>.ds-rw-a>*{opacity:1} }
@media (hover:none){ .ds-rw>.ds-rw-a>*{opacity:1} }
.ds-rw:is(:focus-within,.open)>.ds-rw-a>*{opacity:1}
.ds-rw.open{background:var(--plateHov)}
.ds-rw-sub{display:flex;flex-direction:column;padding:var(--sp2) 0 var(--sp6)}

/* =====================================================================
   WAITING, EMPTY — docs/contracts/waiting.md: a wait says what it waits
   for, how long, which try and when the next one lands. A skeleton holds
   the shape of what is coming and never shimmers.
   ===================================================================== */
.ds-skel{display:block;height:var(--skh,10px);width:var(--skw,100%);border-radius:var(--r3);background:rgba(var(--ink),.07)}
.ds-skel[data-kind="fig"]{display:inline-block;height:.8em;vertical-align:-.05em;border-radius:var(--r2)}
.ds-skel[data-kind="line"]{height:8px}
.ds-skel[data-kind="block"]{border-radius:var(--r8)}
.ds-wait{display:inline-flex;align-items:center;gap:var(--sp8);flex-wrap:wrap;min-width:0;font:var(--fMeta);color:var(--faint);white-space:nowrap}
.ds-wait>b{font:var(--fLegSm);letter-spacing:var(--trLegSm);text-transform:none;color:var(--dim)}
.ds-wait>em{font-style:normal;font-variant-numeric:tabular-nums;color:var(--dim)}
.ds-wait-trk{position:relative;flex:none;width:44px;height:4px;border-radius:2px;overflow:hidden;background:var(--track);box-shadow:inset 0 1px 1px rgba(var(--shd),calc(.2*var(--shdK)))}
.ds-wait-trk>i{position:absolute;inset:0;border-radius:inherit;background:rgba(var(--ink),.62);transform:translateX(calc((var(--k,0) - 1) * 100%))}
.ds-wait-trk>i::after{content:"";position:absolute;right:0;top:0;bottom:0;width:2px;background:rgba(var(--lit),calc(.9*var(--litK)))}
.ds-wait .act{font:var(--fCtlSm);letter-spacing:var(--trCtlSm);text-transform:none}
.ds-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--sp6);padding:var(--sp24);text-align:center}
.ds-empty>b{font:var(--fLeg);letter-spacing:var(--trLeg);text-transform:none;color:var(--dim)}
.ds-empty>span:not([class]){max-width:36ch;font:var(--fMeta);color:var(--faint);text-wrap:pretty}
.ds-empty>.ds-i{--is:18px;color:var(--ghost);margin-bottom:var(--sp2)}
.ds-empty[data-reg="read"]>b{font:500 13px/1.3 var(--sans);letter-spacing:0;text-transform:none;color:var(--faint)}
/* "not normal" is hatched: a region with nothing honest to draw in it */
.ds-hatch{background:repeating-linear-gradient(45deg,transparent 0 3px,rgba(var(--ink),.09) 3px 4.5px)}

/* THE NEEDS AND EMPTY FAMILY (v9 · Q74, Q96; js/ui/ds/needs.js, components.md). A NEED is a chip
   — a glyph on its own small plate, two words, the act's arrow — or a calm card; EMPTY is the
   card: a vignette in the component's own motif at low contrast, one line, at most one act. No
   colour of their own: the ink at an alpha, the plate, the warn gold where something asks. */
.ds-need{display:inline-flex;align-items:center;gap:var(--sp6);flex:none;height:var(--h22);padding:0 var(--sp8) 0 var(--sp4);border-radius:var(--rPill);
  font:600 12px/1 var(--sans);letter-spacing:0;color:var(--text);white-space:nowrap;
  background:rgba(var(--ink),.045);box-shadow:inset 0 0 0 1px rgba(var(--ink),.08)}
.ds-need-g{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;flex:none;color:var(--dim);background:var(--plate);box-shadow:var(--plateShSm)}
.ds-need-g>.ds-i{--is:10px}
.ds-need-a{display:grid;place-items:center;margin-left:-2px;color:var(--faint)}
.ds-need-a>.ds-i{--is:11px}
button.ds-need:is(:hover,.is-hover) .ds-need-a{color:var(--text)}
.ds-need[data-tone="warn"]{background:rgba(var(--warnRGB),.07);box-shadow:inset 0 0 0 1px rgba(var(--warnRGB),.22)}
.ds-need[data-tone="warn"] .ds-need-g{color:var(--warnInk);background:rgba(var(--warnRGB),.16);box-shadow:none}
.ds-need[data-tone="wait"] .ds-need-t{color:var(--dim)}
.ds-need[data-size="sm"]{height:var(--h18);padding:0 var(--sp6) 0 var(--sp2);gap:var(--sp4)}
.ds-need[data-size="sm"] .ds-need-g{width:14px;height:14px}
.ds-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--sp10);min-height:120px;padding:var(--sp24) var(--sp16);text-align:center}
.ds-state-l{margin:0;max-width:40ch;font:500 12px/1.45 var(--sans);color:var(--dim);text-wrap:balance}
.ds-state-g{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:var(--dim);background:var(--plate);box-shadow:var(--plateShSm)}
.ds-state[data-tone="warn"] .ds-state-g{color:var(--warnInk);background:rgba(var(--warnRGB),.14);box-shadow:none}
.ds-state-a{margin-top:var(--sp2)}
/* the vignette: the shape of what will be there, in hairlines, faded at its edges */
.ds-state-v{position:relative;display:block;flex:none;width:136px;height:50px;
  -webkit-mask-image:radial-gradient(closest-side,rgb(var(--ink)) 45%,transparent);mask-image:radial-gradient(closest-side,rgb(var(--ink)) 45%,transparent)}
.ds-state-v>i{position:absolute;display:block}
.ds-state-v[data-motif="rows"]>i{left:0;right:0;height:12px;display:flex;align-items:center;gap:var(--sp6);border-bottom:1px solid rgba(var(--ink),.07)}
.ds-state-v[data-motif="rows"]>i:nth-child(1){top:1px}.ds-state-v[data-motif="rows"]>i:nth-child(2){top:13px}
.ds-state-v[data-motif="rows"]>i:nth-child(3){top:25px}.ds-state-v[data-motif="rows"]>i:nth-child(4){top:37px}
.ds-state-v[data-motif="rows"] b{display:block;height:4px;border-radius:2px;background:rgba(var(--ink),.09)}
.ds-state-v[data-motif="rows"] b:nth-child(1){width:26%}.ds-state-v[data-motif="rows"] b:nth-child(2){width:18%;margin-left:auto}.ds-state-v[data-motif="rows"] b:nth-child(3){width:22%}
.ds-state-v[data-motif="book"]>i{left:8px;right:8px;height:1px;background:rgba(var(--ink),.09)}
.ds-state-v[data-motif="book"]>i:nth-child(1){top:3px}.ds-state-v[data-motif="book"]>i:nth-child(2){top:8px}.ds-state-v[data-motif="book"]>i:nth-child(3){top:13px}
.ds-state-v[data-motif="book"]>i:nth-child(4){top:18px}.ds-state-v[data-motif="book"]>i:nth-child(5){top:23px}
.ds-state-v[data-motif="book"]>s{position:absolute;left:44%;right:44%;top:25px;height:1px;background:rgba(var(--ink),.22)}
.ds-state-v[data-motif="book"]>i:nth-child(7){top:28px}.ds-state-v[data-motif="book"]>i:nth-child(8){top:33px}.ds-state-v[data-motif="book"]>i:nth-child(9){top:38px}
.ds-state-v[data-motif="book"]>i:nth-child(10){top:43px}.ds-state-v[data-motif="book"]>i:nth-child(11){top:48px}
.ds-state-v[data-motif="lattice"]>i{inset:0;background:repeating-linear-gradient(0deg,rgba(var(--ink),.08) 0 1px,transparent 1px 12px),repeating-linear-gradient(90deg,rgba(var(--ink),.08) 0 1px,transparent 1px 17px)}
.ds-state-v[data-motif="tape"]>i{bottom:10px;width:2px;border-radius:1px;background:rgba(var(--ink),.12)}
.ds-state-v[data-motif="tape"]>i:nth-child(1){left:6px;height:8px}.ds-state-v[data-motif="tape"]>i:nth-child(2){left:15px;height:14px}.ds-state-v[data-motif="tape"]>i:nth-child(3){left:24px;height:6px}
.ds-state-v[data-motif="tape"]>i:nth-child(4){left:33px;height:20px}.ds-state-v[data-motif="tape"]>i:nth-child(5){left:42px;height:10px}.ds-state-v[data-motif="tape"]>i:nth-child(6){left:51px;height:4px}
.ds-state-v[data-motif="tape"]>i:nth-child(7){left:60px;height:16px}.ds-state-v[data-motif="tape"]>i:nth-child(8){left:69px;height:9px}.ds-state-v[data-motif="tape"]>i:nth-child(9){left:78px;height:24px}
.ds-state-v[data-motif="tape"]>i:nth-child(10){left:87px;height:7px}.ds-state-v[data-motif="tape"]>i:nth-child(11){left:96px;height:12px}.ds-state-v[data-motif="tape"]>i:nth-child(12){left:105px;height:5px}
.ds-state-v[data-motif="tape"]>i:nth-child(13){left:114px;height:15px}.ds-state-v[data-motif="tape"]>i:nth-child(14){left:123px;height:8px}
.ds-state-v[data-motif="cards"]>i{width:38px;height:20px;border-radius:var(--r4);box-shadow:inset 0 0 0 1px rgba(var(--ink),.11)}
.ds-state-v[data-motif="cards"]>i:nth-child(-n+3){top:3px}.ds-state-v[data-motif="cards"]>i:nth-child(n+4){top:27px}
.ds-state-v[data-motif="cards"]>i:nth-child(3n+1){left:4px}.ds-state-v[data-motif="cards"]>i:nth-child(3n+2){left:49px}.ds-state-v[data-motif="cards"]>i:nth-child(3n){left:94px}
.ds-state-v[data-motif="accounts"]>i{left:4px;right:4px;height:14px;display:flex;align-items:center;gap:var(--sp6)}
.ds-state-v[data-motif="accounts"]>i:nth-child(1){top:2px}.ds-state-v[data-motif="accounts"]>i:nth-child(2){top:18px}.ds-state-v[data-motif="accounts"]>i:nth-child(3){top:34px}
.ds-state-v[data-motif="accounts"] u{display:block;width:10px;height:10px;border-radius:50%;flex:none;box-shadow:inset 0 0 0 1px rgba(var(--ink),.16)}
.ds-state-v[data-motif="accounts"] b{display:block;height:4px;border-radius:2px;background:rgba(var(--ink),.09)}
.ds-state-v[data-motif="accounts"] b:nth-of-type(1){width:34%}.ds-state-v[data-motif="accounts"] b:nth-of-type(2){width:20%;margin-left:auto}
/* THE STOPPED PART (v9 · Q67; js/ui/render.js → THE BOUNDARIES, motion.md → EVERY PART BEHIND ITS OWN BOUNDARY): a part that threw is
   covered in its own frame by its own ground, so its last picture is never read as current, and the family's card for
   need.stopped (its chip, where the frame is small) stands in it. Over the part's own layers, under every overlay. */
.g-stop{position:absolute;inset:0;z-index:8;display:grid;place-items:center;overflow:hidden;border-radius:inherit;background:var(--domWell)}
.g-stop[data-g="page"]{background:var(--void)}
.g-stop[data-g="plate"]{background:var(--plateTall)}
.g-stop>.ds-state{min-height:0;padding:var(--sp12)}

/* =====================================================================
   OVERLAYS — tooltip, popover, menu, confirm, notice, dialog. One layer
   each, fixed, out of the flow: an overlay never moves what is under it.
   Popovers and menus open FROM THE POINT that asked (their
   transform-origin), follow their anchor while it moves, and close on
   Esc, a press outside, a blur.
   ===================================================================== */
/* the TOOLTIP is a chip, placed by transform, one node for the whole page */
.ds-tip{position:fixed;left:0;top:0;z-index:var(--zTip);max-width:260px;padding:var(--sp6) var(--sp8);border-radius:var(--r8);pointer-events:none;
  background:var(--chip);box-shadow:var(--chipRing),var(--tipSh);color:var(--onDark);
  font:500 10px/1.45 var(--mono);text-wrap:pretty;opacity:0;visibility:hidden;
  translate:var(--x,0) var(--y,0);transform:translateY(3px);
  transition:opacity var(--tTip) var(--ease),transform var(--tTip) var(--ease),visibility 0s linear var(--tTip)}
.ds-tip.on{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.ds-tip.below{transform:translateY(-3px)} .ds-tip.below.on{transform:none}
/* beside its key (data-tip-at, a vertical rail): it arrives from the key's side */
.ds-tip.at-r{transform:translateX(-3px)} .ds-tip.at-l{transform:translateX(3px)} .ds-tip.at-r.on,.ds-tip.at-l.on{transform:none}
.ds-tip>b{display:block;margin-bottom:3px;font:var(--fLegXs);letter-spacing:var(--trLegXs);text-transform:none;color:var(--onDark2)}
/* v8.9 · Z33 · the keycap stands ON the words' line (the owner: "this tooltip items are not aligned"): its middle
   on the line's x-height middle, half a pixel up toward the capitals' — at -3px it hung 2.75 px under it */
.ds-tip .ds-key{vertical-align:middle;position:relative;top:-.5px;margin:0 1px}
/* the POPOVER is a floating plate (or a slab); its content is its own */
.ds-pop{position:fixed;left:0;top:0;z-index:var(--zPop);min-width:180px;max-width:min(380px,calc(100vw - 16px));padding:var(--sp12);
  border-radius:var(--rPlate);background:var(--plateTall);box-shadow:var(--floatSh);color:var(--text);outline:none;
  translate:var(--x,0) var(--y,0);transform-origin:var(--ox,50%) var(--oy,0%)}
.ds-pop[data-face="slab"]{background:var(--slab);box-shadow:var(--slabSh);color:var(--slabInk);border-radius:var(--r16);padding:var(--sp16)}
.ds-pop-h{display:flex;align-items:center;gap:var(--sp8);margin-bottom:var(--sp10)}
.ds-pop-h b{flex:1;min-width:0;font:var(--fEyebrow);letter-spacing:var(--trEyebrow);text-transform:none;color:var(--dim)}
.ds-pop[data-face="slab"] .ds-pop-h b{color:var(--slabDim)}
/* the MENU: rows in a column, ONE lit plate travelling to the row under the
   cursor, the chosen row the selected row's lifted plate with the answer's check (css/main.css → .menu-it) */
.ds-menu{position:relative;display:flex;flex-direction:column;gap:1px;margin:calc(-1 * var(--sp8));padding:var(--inset)}
.ds-menu-lit{position:absolute;left:var(--inset);right:var(--inset);top:0;height:30px;border-radius:var(--rMenuIn);pointer-events:none;opacity:0;
  background:rgba(var(--ink),.06);transition:transform .3s var(--spring),opacity var(--tArrive) var(--ease)}
.ds-menu-lit.on{opacity:1}
.ds-pop[data-face="slab"] .ds-menu-lit{background:var(--slabFace);border-radius:var(--rMenuInSlab)}
.ds-mi{position:relative;z-index:1;display:flex;align-items:center;gap:var(--sp10);width:100%;height:30px;padding:0 var(--sp10) 0 var(--sp8);border:0;
  border-radius:var(--rMenuIn);background:transparent;text-align:left;white-space:nowrap;font:500 11px/1 var(--mono);color:var(--dim);cursor:pointer;
  transition:color var(--tArrive) var(--ease)}
.ds-mi.cur{color:var(--text)}
.ds-mi .ds-i{--is:14px;color:var(--faint);transition:color var(--tArrive) var(--ease)}
.ds-mi.cur .ds-i{color:var(--text)}
.ds-mi>span:not([class]){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.ds-mi>.ds-key{margin-left:auto}
.ds-mi>.ds-msub{flex:none;margin-left:auto;font:500 10px/1 var(--mono);font-style:normal;color:var(--faint)}
.ds-mi.cur>.ds-msub{color:var(--dim)}
.ds-mi.on>.ds-msub{color:var(--dim)}
/* (a grouping's key that opens the short list, ds/grouppick.js · v9 · Q121, is THE TRIGGER since Q177: `.ds-trig`) */
.ds-mi[data-tone="ask"].cur,.ds-mi[data-tone="ask"].cur .ds-i{color:var(--dn)}
.ds-mi[data-tone="warn"] .ds-i{color:var(--warn)}
.ds-mi[data-tone="close"] .ds-i,.ds-mi[data-tone="close"].cur{color:var(--dn)}
.ds-mi:disabled{opacity:.4;cursor:default}
.ds-mi.on{color:var(--text)}
/* the chosen row is the selected row of every list: the lifted plate, full ink, the answer's check at its end (css/main.css →
   .menu-ck). Until 2026-10-29 it was the primary's orange slab, and the owner read the menus' orange rows as a bug. */
.ds-mi.on::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:var(--selFace);box-shadow:var(--selSh)}
.ds-mi.on .ds-i{color:var(--text)}
.ds-mi.on>.ds-mck{--is:12px;color:var(--accent2)}
.ds-pop[data-face="slab"] .ds-mi.on{color:var(--slabInk)}
.ds-pop[data-face="slab"] .ds-mi.on::after{background:var(--slabFace);box-shadow:none}
.ds-pop[data-face="slab"] .ds-mi{color:var(--slabDim);border-radius:var(--rMenuInSlab)}
.ds-pop[data-face="slab"] .ds-mi.cur{color:var(--slabInk)}
.ds-pop[data-face="slab"] .ds-mi .ds-i{color:var(--slabFaint)}
.ds-pop[data-face="slab"] .ds-mi.cur .ds-i{color:var(--slabInk)}
.ds-pop[data-face="slab"] .ds-mi[data-tone="ask"]:is(.cur,.cur .ds-i){color:var(--askSoft)}
.ds-msep{display:block;height:1px;margin:var(--sp4) var(--sp8);background:rgba(var(--shd),calc(.12*var(--shdK)));box-shadow:0 1px 0 rgba(var(--lit),calc(.55*var(--litK)))}
.ds-pop[data-face="slab"] .ds-msep{background:var(--slabRule);box-shadow:none}
.ds-mh{padding:var(--sp8) var(--sp8) var(--sp4);font:var(--fLegSm);letter-spacing:var(--trLegSm);text-transform:none;color:var(--faint)}
.ds-pop[data-face="slab"] .ds-mh{color:var(--slabFaint)}
/* the CONFIRM: an answer to "are you sure", on a slab, at the control that
   asked. Enter is yes, Esc is no, and both keys are printed on the buttons */
.ds-cf{width:292px;padding:var(--sp14)}
.ds-cf-h{display:flex;align-items:flex-start;gap:var(--sp10)}
.ds-cf-ic{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:var(--r8);--is:15px;
  color:var(--cfC,var(--accentHi));background:rgba(var(--cfRGB,var(--acc2RGB)),.16);box-shadow:inset 0 0 0 1px rgba(var(--cfRGB,var(--acc2RGB)),.36)}
.ds-cf-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.ds-cf-t>i{font:var(--fLegSm);letter-spacing:var(--trLegSm);text-transform:none;font-style:normal;color:var(--cfC,var(--accentHi))}
.ds-cf-t>b{font:600 13px/1.3 var(--sans);color:var(--slabInk)}
.ds-cf-t>span:not([class]){font:var(--fMeta);color:var(--slabDim);text-wrap:pretty}
.ds-cf-b{display:grid;grid-template-columns:1fr 1.5fr;gap:var(--sp6);margin-top:var(--sp14)}
.ds-cf-b .ds-btn{height:var(--h34);border-radius:var(--r8)}
.ds-cf-b .ds-btn .ds-key{margin-left:var(--sp6)}
.ds-cf[data-tone="ask"]{--cfC:var(--askSoft);--cfRGB:var(--askRGB)}
.ds-cf[data-tone="warn"]{--cfC:var(--warnSoft);--cfRGB:var(--warnRGB)}
.ds-cf[data-tone="close"]{--cfC:var(--askSoft);--cfRGB:var(--askRGB)}
/* =====================================================================
   THE ISLAND (v9 · Q187; js/ui/ds/island.js draws it, js/ui/ds/notes.js
   decides what is out, js/ui/notify.js what is said; components.md → THE
   ISLAND). Every answer in the product comes out of the pill in the bar's
   centre and goes back into it: one fixed box, seen through a clip that a
   spring moves (compositor-only), on the slab's black on both grounds (it
   is the answer's material, as every slab in the product is), its rim a
   line of light on black, the arm's orange while the page is armed, the
   keyboard's ring when it has the focus. An ANSWER is an order's line read
   at a glance (v8.6 · U25): the market's mark (its ring is the order
   filling), the ticker, the side as a word in its hue, the size @ the
   price; on the right the status and under it the time, which gives way to
   the answer's keys under the pointer; the reason, or a kind's own figures,
   under the line. The RECORD is the same rows, grown down from the bar.
   Every height in it is fixed, so its shape is arithmetic.
   ===================================================================== */
.isl{position:fixed;left:0;top:0;width:0;height:0;z-index:var(--zToast);pointer-events:none;contain:size layout style;
  filter:var(--islDrop0);translate:0 var(--islY,0px);transition:filter .32s var(--settle),translate var(--tState) var(--settle),opacity var(--tState) var(--settle)}
/* while an instrument rises to Focus's whole screen or leaves it, out of sight above the top edge, nothing to say; landed, it
   stands on the instrument (island.js → THE ISLAND ON THE SCREEN) */
.isl[data-tuck]{opacity:0;visibility:hidden;transition:filter .32s var(--settle),translate var(--tState) var(--settle),opacity var(--tState) var(--settle),visibility 0s linear var(--tState)}
.isl:is([data-st="ans"],[data-st="rec"],[data-st="xp"],[data-st="nx"],[data-st="lk"]),html:not([data-phone]) .isl[data-st="fold"]{filter:var(--islDrop)}
/* at rest over every chart on the whole window or screen (a chart's full screen, --zToast - 1; an instrument on the
   stage, --zScreen), where it stands as it stood in the bar, and under every sheet, panel and modal (the venue's veil,
   the drawer's --zDrawer, the dialogs' --zModal and up, the finder's, the tour's, a phone sheet's); an answer or the
   record out of it above them, on its own ground, under the popovers and tips (js/ui/ds/island.js → THE ISLAND YIELDS
   ITS SEAT) */
.isl[data-up]{z-index:calc(var(--zPop) - 10)}
.isl-s{position:absolute;inset:0;pointer-events:auto;background:var(--islRim);clip-path:inset(50% round 13px);transition:opacity .16s linear}
.isl[data-risk] .isl-s{background:var(--islRisk);transition:opacity .16s linear,background-color .6s var(--settle)}
.isl[data-armed] .isl-s{background:var(--islArm)}
.isl[data-quiet] .isl-s{pointer-events:none}
.isl[data-focus] .isl-s{background:var(--islRing)}
.isl-bg{position:absolute;inset:0;background:var(--islFace);pointer-events:none}
.isl-face,.isl-ans,.isl-rec{position:absolute;left:0;top:0;opacity:0;color:var(--slabInk)}
/* the kinds' hues on black, for the answer, the folded pill and the record's rows alike */
.isl-ans,.isl-face,.isl-row{--kc:var(--slabDim)}
:is(.isl-ans,.isl-face,.isl-row)[data-kind="ok"],:is(.isl-ans,.isl-face,.isl-row)[data-kind="buy"]{--kc:var(--upSlab)}
:is(.isl-ans,.isl-face,.isl-row)[data-kind="bad"],:is(.isl-ans,.isl-face,.isl-row)[data-kind="sell"],:is(.isl-ans,.isl-face,.isl-row)[data-kind="liq"]{--kc:var(--dnSlab)}
:is(.isl-ans,.isl-face,.isl-row)[data-kind="warn"]{--kc:var(--warnSoft)}
:is(.isl-ans,.isl-face,.isl-row)[data-kind="acc"],:is(.isl-ans,.isl-face,.isl-row)[data-kind="arm"]{--kc:var(--accentHi)}
:is(.isl-ans,.isl-face,.isl-row)[data-kind="safe"]{--kc:var(--slabInk)}

/* ---- THE PILL'S FACE: at rest nothing (the hand finds the record's glyph in it), the unread (the newest's mark and
   how many), or an answer that stays, folded (its glyph and its status) ---- */
.isl-face{display:flex;align-items:center;gap:7px;padding:0 14px 0 11px;border:0;border-radius:15px;background:transparent;cursor:pointer;
  font:inherit;color:var(--slabDim);--travel:0px}
.isl-face:focus-visible{outline:none}
.isl-fg{flex:none;display:grid;place-items:center;width:16px;height:16px;color:var(--kc);--is:12px}
.isl-fg:empty{display:none}
.isl-fg .amk{width:16px;height:16px;--amkEdge:1px}
.isl-ft{flex:1;min-width:0;font:600 12px/1 var(--sans);color:var(--kc);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.isl-ft:empty{display:none}
.isl-fn{margin-left:auto;font:600 11px/1 var(--mono);font-style:normal;font-variant-numeric:tabular-nums;color:var(--accentHi)}
.isl-fn:empty{display:none}
.isl-fh{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:16px;height:16px;margin:-8px 0 0 -8px;opacity:0;color:var(--slabFaint);--is:14px;
  transition:opacity var(--tArrive) var(--ease)}
.isl-face:not([data-mode="rest"]) .isl-fh{display:none}
@media (hover:hover){ .isl-face[data-mode="rest"]:hover .isl-fh{opacity:1} }
.isl-face[data-mode="rest"]:focus-visible .isl-fh{opacity:1}

/* ---- UNDER A PERFORMANCE RECORDING (island.js → PERF; components.md → THE ISLAND'S GRAMMAR): at rest the pill is its
   three slots and nothing else — the leading piece (a 14 px well 4 in, radius 7, the recording dot in it), the word, the
   clock against the trailing end — as wide as they are, one width from the first frame. The dot's halo is the one
   animation a frame (transform and opacity: the compositor's); the clock is two registered integers stepping once a
   second into a counter (a style change a second in a box of its own size, no script); the content arrives once ---- */
@property --pfS{syntax:"<integer>";inherits:false;initial-value:0}
@property --pfM{syntax:"<integer>";inherits:false;initial-value:0}
.isl-pf{display:none;position:absolute;inset:0;align-items:center;gap:8px;padding:0 11px 0 4px;pointer-events:none;
  animation:islPfIn .52s var(--settle) .12s both}
.isl[data-perf] .isl-face[data-mode="rest"] .isl-pf{display:flex}
.isl[data-perf] .isl-face[data-mode="rest"] .isl-fh{display:none}
.isl-pfw{flex:none;display:grid;place-items:center;width:14px;height:14px;border-radius:7px;background:var(--slabSunk)}
.isl-pfd{position:relative;width:6px;height:6px;border-radius:50%;background:var(--islRec)}
.isl-pfd::after{content:"";position:absolute;inset:0;border-radius:50%;background:var(--islRecHalo);opacity:.35;transform:scale(1.8)} /* the halo lit and still (motion.md → NOTHING PULSES: it breathed every 2.4 s) */
.isl-pf>b{font:600 12px/1 var(--sans);letter-spacing:0;color:var(--slabInk)}
.isl-pfc{margin-left:auto;font:600 11px/1 var(--mono);font-style:normal;font-variant-numeric:tabular-nums;color:var(--slabDim);
  counter-reset:pfm var(--pfM) pfs var(--pfS);
  animation:islPfS 60s steps(60,jump-none) var(--pf0,0s) infinite,islPfM 3600s steps(60,jump-none) var(--pf0,0s) infinite}
.isl-pfc::after{content:counter(pfm) ":" counter(pfs,decimal-leading-zero)}
@keyframes islPfS{from{--pfS:0}to{--pfS:59}}
@keyframes islPfM{from{--pfM:0}to{--pfM:59}}
@keyframes islPfIn{from{opacity:0;transform:translateY(calc(3px*var(--rmT,1))) scale(calc(1 - .04*var(--rmZ,1)));filter:blur(calc(2px*var(--rmB,1)))}to{opacity:1;transform:none;filter:none}}

/* ---- THE LIVE ACTIVITY (v9 · Q191; components.md → THE ISLAND IS THE LIVE SURFACE): what is running now, at rest.
   A position's P&L is ONE piece, read at a glance: the market's mark concentric with the island's leading end (up to
   three, stacked, for the account's total), the figure after it in the colour set's own up and down, tabular, its
   digits rolling the way it moved (ds/figure.js → numRoll). A figure waiting for its mark is its place, held at its
   width (the slab's face, still: a skeleton never shimmers). The link said in words is its bars, one word and the
   round trip. Both sit in the key's box, which is the lean shape: 6 px more each side than at rest, so nothing moves
   when the island leans toward the hand. ---- */
.isl-lv,.isl-lk{position:absolute;inset:0;display:none;align-items:center;justify-content:center;white-space:nowrap;pointer-events:none}
.isl-face[data-mode="live"]>.isl-fg,.isl-face[data-mode="live"]>.isl-ft,.isl-face[data-mode="live"]>.isl-fn{display:none}
.isl-face[data-mode="live"][data-live="act"]>.isl-lv,.isl-face[data-mode="live"][data-live="link"]>.isl-lk,.isl-gh{display:flex}
/* the mark concentric with the leading end, the figure against the trailing one: one piece at its own width */
.isl-lv{justify-content:space-between;gap:7px;padding:0 18px 0 11px}
.isl-lm{position:relative;flex:none;display:flex;align-items:center}
.isl-lm .amk{position:relative;width:16px;height:16px;--amkEdge:1px;--amkFs:6.5px}
.isl-lm .amk+.amk{margin-left:-5px;box-shadow:0 0 0 1.5px var(--islFace)}
.isl-lm .amk:nth-child(1){z-index:3} .isl-lm .amk:nth-child(2){z-index:2} .isl-lm .amk:nth-child(3){z-index:1}
.isl-lm[data-n="2"] .amk:first-child,.isl-lm[data-n="3"] .amk:first-child{box-shadow:0 0 0 1.5px var(--islFace)}
/* SAFETY FIRST: the word before a distance (the risk's "Liq"), against the figure it names; the rim takes the loss's
   colour once and holds still (never a pulse: l69) */
.isl-lx{flex:1;min-width:0;margin-right:-2px;font:600 12px/1 var(--sans);font-style:normal;text-align:right;color:var(--slabDim)}
.isl-lx:empty{display:none}
/* the figure's colour turns with its sign in the same frame: on a blend a P&L just turned positive read in the loss's
   colour for four frames (v2's films, 2026-11-01) */
.isl-lf{flex:none;font:600 12px/1 var(--mono);font-variant-numeric:tabular-nums;letter-spacing:0;color:var(--slabInk)}
.isl-lf[data-tone="up"]{color:var(--upSlab)} .isl-lf[data-tone="dn"]{color:var(--dnSlab)} .isl-lf[data-tone="flat"]{color:var(--slabDim)}
.isl-sk{display:block;height:10px;border-radius:var(--r3);background:var(--slabFaceHi)}
.isl-lk{gap:0;padding:0 19px 0 16px}
.isl-lw{margin-left:7px;font:600 12px/1 var(--sans);color:var(--warnSoft)}
.isl-lms{margin-left:6px;font:500 11px/1 var(--mono);font-style:normal;font-variant-numeric:tabular-nums;color:var(--slabDim)}
.isl-lms:empty{display:none}
.isl-gh{pointer-events:none}
/* the unread or a folded answer leaving: its glyph, words and count where they stood, as the face lays them out */
.isl-gw{position:absolute;inset:0;align-items:center;gap:7px;padding:0 14px 0 11px}
/* THE LINK'S BARS: rising, lit as the link is — slow, the first in the attention's gold; reconnecting, none; cut through
   while it is down; live again, all three, filling one after another, once */
.isl-bars{flex:none;display:block;width:13px;height:12px;overflow:visible}
.isl-bars rect{fill:var(--slabGhost);transition:fill var(--tState) var(--settle)}
.isl-bars .cut{fill:none;stroke:var(--slabDim);stroke-width:1.4px;stroke-linecap:round;opacity:0}
[data-face="slow"] .isl-bars rect:first-child{fill:var(--warnSoft)}
:is([data-face="off"],[data-face="net"]) .isl-bars .cut{opacity:1}
[data-face="back"] .isl-bars rect{fill:var(--slabInk)}
[data-face="back"] .isl-bars rect:nth-child(2){transition-delay:70ms} [data-face="back"] .isl-bars rect:nth-child(3){transition-delay:140ms}
.isl-lk[data-face="back"] .isl-lw,.isl-se[data-face="back"] .isl-bw{color:var(--slabInk)}

/* ---- THE SEAT (v9 · Q191, Q190; the owner, batch 34: one joined island, never two capsules): the second thing that
   lasts, inside the island's one shape at its trailing end. The link (its bars; its words out a while when it brings
   news, or under the hand, revealed and taken back by the shape itself), a second activity (its mark, word and figure,
   as the island's own), or the answers not yet seen (their count on a disc concentric with the round end). Its key is
   its part of the shape; its content rides the trailing edge ---- */
.isl-se{position:absolute;left:0;top:0;display:none;align-items:center;padding:0 0 0 6px;border:0;background:transparent;font:inherit;
  color:var(--slabDim);white-space:nowrap;cursor:default;opacity:0;--travel:0px}
.isl-se[data-on]{display:flex}
/* a count whose room is held while a line or the sheet is out: its disc faded in place, out of the hand's reach */
.isl-se[data-ghost]{pointer-events:none}
.isl-se .isl-sc{transition:opacity var(--tLeave) var(--settle)}
.isl-se[data-ghost] .isl-sc{opacity:0}
.isl-se:focus-visible{outline:2px solid var(--ring);outline-offset:-2px;border-radius:13px}
.isl-sl,.isl-sa{display:none;align-items:center}
.isl-se[data-t="link"] .isl-sl,.isl-se[data-t="act"] .isl-sa{display:flex}
.isl-se .isl-bw{margin-left:7px;font:600 12px/1 var(--sans);color:var(--warnSoft);opacity:0;transition:opacity .12s var(--settle)}
.isl-se .isl-bn{margin-left:6px;font:500 11px/1 var(--mono);font-style:normal;font-variant-numeric:tabular-nums;color:var(--slabDim);opacity:0;transition:opacity .12s var(--settle)}
.isl-se .isl-bn:empty{display:none}
.isl-se[data-say] .isl-bw,.isl-se[data-say] .isl-bn{opacity:1;transition:opacity .22s var(--settle) .08s}
.isl-se[data-t="link"]:is([data-face="wait"],[data-face="off"],[data-face="net"]),.isl-se[data-t="act"],.isl-se[data-t="count"]{cursor:pointer}
.isl-sc{display:none;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--slabFaceHi);
  font:600 11px/1 var(--mono);font-variant-numeric:tabular-nums;color:var(--accentHi)}
.isl-se[data-t="count"] .isl-sc{display:grid}
.isl-sa{gap:7px}
.isl-sa .isl-lx{flex:none;margin-right:-2px;text-align:left}
.isl-se[data-same] .isl-sa .isl-lm{display:none}
/* reconnecting is a try in flight: its word carries a slow sheen across it (never a pulse: the owner, l69), and stops
   under reduced motion and in low power, where the word alone says it */
.isl-lk[data-face="wait"] .isl-lw,.isl-se[data-face="wait"] .isl-bw{color:transparent;-webkit-background-clip:text;background-clip:text;
  background-image:linear-gradient(100deg,var(--warnSoft) 0 41%,color-mix(in oklab,var(--warnSoft) 40%,var(--slabInk)) 50%,var(--warnSoft) 59% 100%);background-size:250% 100%;background-repeat:no-repeat;
  animation:islSheen 2.4s var(--inout) .4s infinite both}
@keyframes islSheen{0%{background-position:100% 0}55%,100%{background-position:0 0}}
:root[data-motion] .isl-lk[data-face="wait"] .isl-lw,:root[data-motion] .isl-se[data-face="wait"] .isl-bw{animation:none;color:var(--warnSoft);background:none} :root[data-motion] .isl[data-risk] .isl-s{transition:opacity .16s linear}
html[data-power="low"] .isl-lk[data-face="wait"] .isl-lw,html[data-power="low"] .isl-se[data-face="wait"] .isl-bw{animation:none;color:var(--warnSoft);background:none}

/* ---- THE LINK, TOLD (Q212 follow-up 2; island.js): under the pill that stays, its figures as cells (a label over the
   figure, a second figure after it, faint), then why and the key that tries now. Every height is island.js's ---- */
.isl-lkd{position:absolute;left:0;top:0;opacity:0;box-sizing:border-box;display:flex;flex-direction:column;padding-top:4px;color:var(--slabInk);user-select:none}
.isl-lc{flex:none;display:flex;flex-direction:column;padding:4px 18px;box-sizing:border-box}
.isl-lcl{flex:none;display:flex;align-items:baseline;justify-content:space-between;gap:24px;height:26px;line-height:26px;white-space:nowrap}
.isl-lcl>em{font:500 11px/26px var(--sans);font-style:normal;color:var(--slabDim)}
.isl-lcl>b{display:flex;align-items:baseline;font:600 12px/26px var(--mono);font-variant-numeric:tabular-nums;color:var(--slabInk)}
.isl-lfg>u{margin:0 4px 0 1px;font:600 11px/26px var(--mono);text-decoration:none;color:var(--slabDim)}
.isl-lfg>u:last-child{margin-right:0}
.isl-lcl>b>i{margin-left:6px;font:500 11px/26px var(--mono);font-style:normal;color:var(--slabFaint)}
.isl-lcl>b>i:empty{display:none}
.isl-lft{flex:none;display:flex;align-items:center;gap:12px;height:34px;padding:0 5px 0 18px;box-sizing:border-box;box-shadow:inset 0 1px 0 var(--slabRule)}
.isl-lft[hidden]{display:none}
.isl-lwy{flex:1;min-width:0;font:400 12px/1 var(--sans);color:var(--slabDim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.isl-lnow{margin-left:auto}

/* ---- A LINE (v9 · Q212): an answer, compact, dropped BELOW the pill (or the island itself when nothing runs): its
   glyph concentric with the line's round end (a market's mark, the kind's hue a dot on its corner), the ticker, the side
   as a word in its hue, the size @ the price, the status at the trailing end in its tone; how many wait, the answer's
   act, and for one that stays its dismiss. Never a ⚙: Settings → Notifications is the notices' head's. Done, a sheen
   crosses it once (never a pulse: l69) ---- */
.isl-ans{display:flex;align-items:center;gap:var(--sp8);box-sizing:border-box;padding:0 14px 0 6px;overflow:hidden;border-radius:17px;user-select:none;touch-action:none}
.isl-ans.go{cursor:pointer}
.isl-g{position:relative;flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;color:var(--kc);background:transparent;--is:12px}
.isl-g.ic{background:var(--slabFace)}
.isl-g .amk{width:22px;height:22px;--amkEdge:1px;--amkFs:8px}
/* THE ENDS OF THE LINE ARE ONE SHAPE (owner, 2026-11-02: "apply the border radius design rules here too"): the market's
   mark at the start and a close's Share at the end, set into the pill's round ends at one inset on all three sides
   (4 px). ONE RADIUS RULE (Q234 v3, owner 2026-11-03: "border radius", l81): the concentric shape in a pill's end is a
   circle, the end's radius less the inset (17 − 4 = 13); a 9 px square there read as a corner the rule forgot */
/* THE ENDS SHARE ONE INSET, THE RADIUS ITS END'S LESS IT (owner 2026-11-05: "look at the right side action and the pill
   ui. the border raduis and padding should be considered better in the dynamic island"): the piece at either end — the
   glyph's well at the start; the act, the dismiss or Share at the end — is --islEnd tall and stands --islIn from the
   line's edge on its three sides, its radius the line's (LINE_H / 2) less the inset; on a phone the line is 44 and the
   inset 9, the piece the same. Until then the act was a 24 px key 5 in from top and bottom and 14 from the line's end,
   its 12 px radius on no centre the line's 17 shared, and the dismiss hung 8 px past the padding */
.isl-ans{--islIn:var(--sp4);--islEnd:26px;padding-left:var(--islIn)}
.isl-ans:has(>:is(.isl-a,.isl-x):not([hidden])){padding-right:var(--islIn)}
.isl-ans>.isl-g{width:var(--islEnd);height:var(--islEnd);border-radius:calc(var(--islEnd) / 2)}
.isl-ans>.isl-g .amk{width:var(--islEnd);height:var(--islEnd);border-radius:calc(var(--islEnd) / 2);--amkFs:9px}
.isl-ans>.isl-g:not(.ic)::after{right:-1px;bottom:-1px}
.isl-ans>.isl-m{align-items:center}
.isl-g:not(.ic)::after{content:"";position:absolute;right:-2px;bottom:-2px;width:7px;height:7px;border-radius:50%;background:var(--kc);box-shadow:0 0 0 2px var(--islFace)}
.isl-ans[data-kind="info"] .isl-g::after{display:none}
.isl-ans:is([data-kind="arm"],[data-kind="acc"]) .isl-g.ic{color:var(--onAccent);background:var(--accent2)}
.isl-gi{display:grid;place-items:center}
.isl-m{flex:1;min-width:0;display:flex;align-items:baseline;gap:6px;white-space:nowrap;overflow:hidden}
.isl-tk{flex:0 1 auto;min-width:0;font:600 13px/1 var(--sans);letter-spacing:-.003em;color:var(--slabInk);overflow:hidden;text-overflow:ellipsis}
/* THE SIDE IS A TAG IN ITS HUE (owner, 2026-11-02: "long should be more premium"): the positions table's language at the
   line's scale, small capitals on a wash of the side's own colour, a pill of its own. Until then a bare word in its hue */
.isl-sd{flex:none;align-self:center;display:inline-grid;place-items:center;height:18px;padding:0 7px;border-radius:9px;
  font:600 12px/1 var(--sans);font-style:normal;letter-spacing:0;text-transform:none;color:var(--slabDim);background:var(--slabFace)}
.isl-sd[hidden]{display:none}
/* the side's wash is its slab hue's own, so it reads the same on paper as on black (l82: on paper the ground's darker bid
   at .2 sank into the slab) */
.isl-sd[data-tone="up"]{color:var(--upSlab);background:color-mix(in srgb,var(--upSlab) 17%,transparent)} .isl-sd[data-tone="dn"]{color:var(--dnSlab);background:color-mix(in srgb,var(--dnSlab) 17%,transparent)}
.isl-sd[data-tone="acc"]{color:var(--accentHi);background:rgba(var(--acc2RGB),.18)} .isl-sd[data-tone="warn"]{color:var(--warnSoft);background:rgba(var(--warnRGB),.18)}
/* the arrow between an entry and an exit, on the figures' centre line */
.isl-ar{display:inline-grid;place-items:center;margin:0 5px;color:var(--slabFaint);vertical-align:middle;translate:0 -1px}
.isl-ar .ds-i{--is:9px}
/* the figures never shrink: a price is whole or the ticker gives way first */
.isl-ln{flex:none;margin-left:2px;font:500 11px/1 var(--mono);font-variant-numeric:tabular-nums;color:var(--slabDim)}
.isl-ln:empty{display:none}
.isl-why{min-width:0;margin-left:2px;font:400 12px/1 var(--sans);font-style:normal;color:var(--slabFaint);overflow:hidden;text-overflow:ellipsis}
.isl-why:empty{display:none}
.isl-figs{display:flex;column-gap:var(--sp10);min-width:0;overflow:hidden;white-space:nowrap}
.isl-figs:empty{display:none}
.isl-figs>span{display:inline-flex;align-items:baseline;gap:4px}
.isl-figs em{font:400 12px/1 var(--sans);font-style:normal;color:var(--slabFaint)}
.isl-figs b{font:600 11px/1 var(--mono);font-variant-numeric:tabular-nums;color:var(--slabInk)}
.isl-figs>[data-tone="up"] b{color:var(--upSlab)} .isl-figs>[data-tone="dn"] b{color:var(--dnSlab)} .isl-figs>[data-tone="warn"] b{color:var(--warnSoft)}
/* the status: a word in its tone, rolled when it changes (the word before leaves upward, island.js → roll) */
.isl-st{position:relative;flex:none;display:inline-grid;justify-items:end;white-space:nowrap}
.isl-st>b{grid-area:1/1;font:600 12px/1 var(--sans);color:var(--slabDim)}
.isl-st>b:empty{display:none}
/* an empty status is no cell (its gap was 8 more before the act than between the other words) */
.isl-st:not(:has(>b:not(:empty))){display:none}
.isl-st>b[data-tone="ok"]{color:var(--upSlab)}
.isl-st>b:is([data-tone="bad"],[data-tone="dn"]){color:var(--dnSlab)}
.isl-st>b[data-tone="up"]{color:var(--upSlab)}
.isl-st>b:is([data-tone="up"],[data-tone="dn"]){font:600 12px/1 var(--mono);font-variant-numeric:tabular-nums}
.isl-st>b[data-tone="warn"]{color:var(--warnSoft)}
.isl-st>b[data-tone="acc"]{color:var(--accentHi);letter-spacing:0}
.isl-st>b[data-tone="dim"]{color:var(--slabDim)}
.isl-st>b.isl-ghost{pointer-events:none}
/* the account's label, as the bar's own tag wears it (honesty.md: PAPER · LIVE stays legible) */
.isl-st>b:is([data-tone="paper"],[data-tone="live"]),.isl-rs:is([data-tone="paper"],[data-tone="live"]){height:16px;padding:0 6px;border-radius:var(--r4);font:var(--fLegSm);letter-spacing:var(--trLegSm);text-transform:none;background:transparent}
.isl-st>b:is([data-tone="paper"],[data-tone="live"]){display:inline-flex;align-items:center}
.isl-st>b[data-tone="paper"],.isl-rs[data-tone="paper"]{color:var(--warnSoft);box-shadow:inset 0 0 0 1px rgba(var(--warnRGB),.5)}
.isl-st>b[data-tone="live"],.isl-rs[data-tone="live"]{color:var(--accentHi);box-shadow:inset 0 0 0 1px rgba(var(--acc2RGB),.6)}
/* how many wait behind it: pressed, the notices */
.isl-more{flex:none;display:inline-flex;align-items:center;gap:3px;height:18px;padding:0 7px;border:0;border-radius:9px;cursor:pointer;white-space:nowrap;
  font:500 11px/1 var(--sans);color:var(--slabDim);background:var(--slabFace);transition:background-color var(--tArrive) var(--ease)}
.isl-more>b{font:600 10px/1 var(--mono);color:var(--slabInk)}
.isl-more[hidden]{display:none}
@media (hover:hover){ .isl-more:hover{background:var(--slabFaceHi)} }
/* an answer's act, a key at the line's end, concentric with it; one that stays, its dismiss */
.isl-a{flex:none;height:24px;padding:0 var(--sp10);border:0;border-radius:12px;cursor:pointer;white-space:nowrap;
  font:600 12px/1 var(--sans);color:var(--slabInk);background:var(--slabFace);box-shadow:var(--slabLip);transition:background-color var(--tArrive) var(--ease)}
.isl-a[hidden]{display:none}
.isl-a>b{font:inherit}
.isl-ans>.isl-a{height:var(--islEnd);padding:0 var(--sp12);border-radius:calc(var(--islEnd) / 2)}
@media (hover:hover){ .isl-a:hover{background:var(--slabFaceHi)} }
/* A CLOSE'S SHARE (Q212 follow-up 2; owner 2026-11-02: "no share text only a premium modern icon"; "it should be rounded
   square full orange with shimmer for the highlight"): the P&L card's key, its glyph alone in the accent's ink on the
   accent's full face, a rounded square the same as the market's mark at the line's start, set into the round end at the
   same 4 px on its three sides (the line's right padding is the inset); a shimmer of light crosses it as it lands and
   again under the hand (never a pulse), none under reduced motion or in low power */
.isl-a[data-kind="share"]{position:relative;overflow:hidden;display:inline-grid;place-items:center;width:var(--islEnd,26px);height:var(--islEnd,26px);padding:0;border-radius:calc(var(--islEnd,26px) / 2);--is:14px;
  color:var(--onAccent);background:var(--accent2);box-shadow:var(--hueLip),0 1px 2px rgba(var(--shd),.3)}
.isl-a[data-kind="share"]>.ds-i{color:var(--onAccent)}
.isl-a[data-kind="share"]::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(100deg,transparent 28%,rgba(var(--lit),.55) 50%,transparent 72%) no-repeat;background-size:250% 100%;background-position:130% 0;
  animation:dsSheen 1.1s var(--inout) .6s 1 both}
@media (hover:hover){ .isl-a[data-kind="share"]:hover{background:var(--accentHi)} .isl-a[data-kind="share"]:hover::after{animation:dsSheen .9s var(--inout) 0s 1 both} }
:root[data-motion] .isl-a[data-kind="share"]::after,html[data-power="low"] .isl-a[data-kind="share"]::after{animation:none;opacity:0}
.isl-x{flex:none;display:grid;place-items:center;width:22px;height:22px;margin-right:-8px;padding:0;border:0;border-radius:11px;background:transparent;color:var(--slabFaint);--is:10px;cursor:pointer;
  transition:color var(--tArrive) var(--ease),background-color var(--tArrive) var(--ease)}
.isl-x[hidden]{display:none}
@media (hover:hover){ .isl-x:hover{color:var(--slabInk);background:var(--slabFaceHi)} }
.isl-x:focus-visible,.isl-more:focus-visible,.isl-a:focus-visible,.isl-rk:focus-visible,.isl-row:focus-visible,.isl-nl:focus-visible,.isl-tile:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}
/* THE SHEEN: one light crossing the line as it is done */
.isl-bd{display:none}
/* A NOTICE IS READ WHOLE (v9 · Q234): one that does not fit a line grows down, its first row as it was (the content box
   is that row: --islBd is what grows under it), the rest of its title and its particulars in rows under the title,
   broken by island.js → lineLay (which also seats them), never cut */
.isl-ans[data-tall]{padding-bottom:var(--islBd,0px)}
.isl-ans[data-tall]>.isl-bd{position:absolute;right:14px;display:flex;flex-direction:column;white-space:nowrap;pointer-events:none}
.isl-bd>b{font:600 13px/16px var(--sans);letter-spacing:-.003em;color:var(--slabInk)}
.isl-bd>span{font:400 12px/15px var(--sans);color:var(--slabDim)}
html[data-phone] .isl-ans[data-tall]{padding-bottom:var(--islBd,0px)}
/* a row of the notices read whole the same way: its lines one under the other, the row as tall as they are */
.isl-ra.w>b{line-height:14px}
.isl-ra.w>b>span,.isl-rd.w>span{display:block}
.isl-rd.w{line-height:13px}
.isl-sh{position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none}
.isl-sh>i{position:absolute;top:0;bottom:0;left:0;width:38%;transform:translateX(-110%);
  background:linear-gradient(100deg,transparent 0,rgba(255,255,255,.06) 42%,rgba(255,255,255,.1) 50%,rgba(255,255,255,.06) 58%,transparent 100%)}
html:is([data-phone],[data-input="touch"]) .isl-x{margin-right:-6px}
.isl-ans>.isl-x,html:is([data-phone],[data-input="touch"]) .isl-ans>.isl-x{width:var(--islEnd);height:var(--islEnd);margin:0;border-radius:50%}

/* ---- THE SHEET (v9 · Q212): grown down from the pill, which stays in its first row, the account's word at that row's
   leading end; the positions, then the notices folded under them. Every height is island.js's arithmetic ---- */
.isl-rec{display:flex;flex-direction:column;pointer-events:none}
.isl-rec>.isl-rx,.isl-rec>.isl-nb,.isl-rec>.isl-ne{pointer-events:auto}
.isl-xh{flex:none;box-sizing:border-box;display:flex;align-items:center;margin:0;padding:0 16px}
.isl-xh[hidden]{display:none}
.isl-xh>b[hidden]{display:none}
html[data-acct] .isl-xh>.isl-rs{color:var(--accentHi);box-shadow:inset 0 0 0 1px rgba(var(--acc2RGB),.6)}
/* the positions: a few full rows, many tiles */
.isl-rx{position:relative;flex:none;box-sizing:border-box;padding:2px 8px 6px}
.isl-rx[hidden]{display:none}
.isl-rx[data-mode="tiles"]{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:36px;align-content:start;gap:4px}
.isl-row{box-sizing:border-box;position:relative;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:var(--sp10);width:100%;height:46px;
  --islIn:9px;--islEnd:28px;padding:0 var(--islIn);border:0;border-radius:23px;background:transparent;color:inherit;font:inherit;text-align:left;transition:background-color var(--tArrive) var(--ease)}
.isl-row.go{cursor:pointer}
@media (hover:hover){ .isl-row.go:hover{background:var(--slabHov)} }
.isl-rm{position:relative;display:grid;place-items:center;width:28px;height:28px}
.isl-rm .amk{width:28px;height:28px;border-radius:14px;--amkEdge:1.5px}
.isl-rm.ic{border-radius:50%;color:var(--kc);background:var(--slabFace);--is:13px}
.isl-row[data-kind="info"] .isl-rm.ic{color:var(--slabDim)}
.isl-row.unread .isl-rm::after{content:"";position:absolute;right:-3px;top:-3px;width:8px;height:8px;border-radius:50%;background:var(--accent2);box-shadow:0 0 0 2px var(--islFace)}
.isl-rt{display:flex;flex-direction:column;gap:5px;min-width:0}
.isl-ra{display:flex;align-items:baseline;gap:var(--sp6);min-width:0;white-space:nowrap;overflow:hidden}
.isl-ra>b{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;font:600 13px/1 var(--sans);letter-spacing:-.003em;color:var(--slabInk)}
.isl-ra>i{flex:none;align-self:center;display:inline-grid;place-items:center;height:16px;padding:0 6px;border-radius:8px;font:600 12px/1 var(--sans);font-style:normal;
  letter-spacing:0;text-transform:none;color:var(--slabDim);background:var(--slabFace)}
.isl-ra>i[data-tone="up"]{color:var(--upSlab);background:color-mix(in srgb,var(--upSlab) 17%,transparent)} .isl-ra>i[data-tone="dn"]{color:var(--dnSlab);background:color-mix(in srgb,var(--dnSlab) 17%,transparent)}
.isl-ra>i[data-tone="acc"]{color:var(--accentHi);background:color-mix(in srgb,var(--accentHi) 15%,transparent)} .isl-ra>i[data-tone="warn"]{color:var(--warnSoft);background:color-mix(in srgb,var(--warnSoft) 15%,transparent)}
.isl-rd{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:400 12px/1 var(--sans);color:var(--slabFaint)}
.isl-rd:empty{display:none}
.isl-rd.mono{font:500 11px/1 var(--mono);font-variant-numeric:tabular-nums}
.isl-rl2{flex:none;font:500 11px/1 var(--mono);font-variant-numeric:tabular-nums;color:var(--slabDim)}
.isl-rf{column-gap:var(--sp8)}
.isl-re{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:5px;align-self:stretch}
.isl-re>.isl-rtm:only-child{margin:auto 0}
.isl-row.k{grid-template-columns:28px minmax(0,1fr) auto auto}
.isl-row>.isl-nk2{align-self:center}
.isl-row .isl-x{width:var(--islEnd);height:var(--islEnd);margin:0;border-radius:50%}
/* a row's groups: the side's tag and the markets' marks, as the line's */
.isl-rd.g{display:flex;flex-direction:column;gap:2px;overflow:visible;white-space:nowrap}
.isl-rd.g>.isl-gr{height:18px}
.isl-rs{display:inline-flex;align-items:center;font:600 12px/1 var(--sans);white-space:nowrap;color:var(--slabDim)}
.isl-rs:is([data-tone="ok"],[data-tone="up"]){color:var(--upSlab)}
.isl-rs:is([data-tone="bad"],[data-tone="dn"]){color:var(--dnSlab)}
.isl-rs[data-tone="warn"]{color:var(--warnSoft)}
.isl-rs[data-tone="acc"]{color:var(--accentHi)}
.isl-rs:is([data-tone="up"],[data-tone="dn"]){font:600 11px/1 var(--mono);font-variant-numeric:tabular-nums}
.isl-rtm{font:500 10px/1 var(--mono);font-style:normal;font-variant-numeric:tabular-nums;color:var(--slabFaint);white-space:nowrap}
.isl-pos{position:relative;display:flex;flex-wrap:wrap;align-items:center;align-content:flex-start;height:48px;overflow:hidden}
.isl-pos>.isl-row{flex:1;min-width:0;height:48px;border-radius:24px}
.isl-pp{font:600 12px/1 var(--mono);font-variant-numeric:tabular-nums;letter-spacing:0;color:var(--slabInk)}
.isl-pp[data-tone="up"]{color:var(--upSlab)} .isl-pp[data-tone="dn"]{color:var(--dnSlab)} .isl-pp[data-tone="flat"]{color:var(--slabDim)}
.isl-pm[data-tone="dn"]{color:var(--dnSlab)}
/* THE CLOSE ASKED UNDER ITS ROW (island.js): the row's close is the red nuke alone; pressed, the row grows down on the
   sheet's own spring (--islRecMs/--islRecEase, set from REC) and its confirm rises in under it, its figures where they
   stood: at market · Cancel · Close half · Close all on the red plate. On its way, the pressed key's word carries the
   slow sheen. Reduced motion: no growth, the confirm is there at once and fades in */
.isl-px{position:relative;flex:none;display:grid;place-items:center;width:28px;height:28px;margin:0 10px 0 2px;padding:0;border:0;border-radius:14px;background:transparent;cursor:pointer;
  color:var(--dnSlab);transition:background-color var(--tArrive) var(--ease)}
@media (hover:hover){ .isl-px:hover{background:rgba(var(--askRGB),.18)} }
.isl-px[aria-expanded="true"]{background:rgba(var(--askRGB),.22)}
.isl-px:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--ring)}
.isl-px:active{transform:scale(.94);transition:transform var(--tTouch) var(--contact)}
.isl-pos[data-cf]{height:90px}
.isl-rx[data-cfm],.isl-rx[data-cfm] .isl-pos{transition:height var(--islRecMs,.5s) var(--islRecEase,var(--settle))}
.isl-cf{flex:0 0 100%;box-sizing:border-box;display:flex;align-items:center;gap:6px;height:42px;padding:0 10px 6px 50px;opacity:0;transform:translateY(-6px);filter:blur(2px);
  transition:opacity var(--tLeave) var(--settle),transform var(--tLeave) var(--settle),filter var(--tLeave) var(--settle)}
.isl-pos[data-cf] .isl-cf{opacity:1;transform:none;filter:blur(0px);transition:opacity .3s var(--settle) .08s,transform .3s var(--settle) .08s,filter .3s var(--settle) .08s}
.isl-cfw{flex:1;min-width:0;font:500 11px/1 var(--sans);font-style:normal;color:var(--slabFaint);white-space:nowrap}
.isl-ck{flex:none;display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px;border:0;border-radius:14px;cursor:pointer;
  font:600 12px/1 var(--sans);white-space:nowrap;color:var(--slabDim);background:transparent;transition:background-color var(--tArrive) var(--ease),color var(--tArrive) var(--ease)}
.isl-ck[data-c="half"]{color:var(--slabInk);background:var(--slabFace)}
.isl-ck[data-c="all"]{padding:0 13px 0 10px;color:var(--closeInk);background:var(--closeFace);box-shadow:var(--hueLip)}
.isl-ck[data-c="all"] .ds-i{--is:11px}
@media (hover:hover){ .isl-ck[data-c="no"]:hover{color:var(--slabInk)} .isl-ck[data-c="half"]:hover{background:var(--slabFaceHi)} .isl-ck[data-c="all"]:hover{background:var(--closeFaceHi)} }
.isl-ck:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--ring)}
.isl-ck:active{transform:scale(.96);transition:transform var(--tTouch) var(--contact)}
.isl-ck:disabled{cursor:default}
.isl-pos[data-go] .isl-ck:not([data-on]){opacity:.4}
.isl-ck>b{font:inherit}
.isl-ck[data-on]>b{color:transparent;-webkit-background-clip:text;background-clip:text;background-size:250% 100%;background-repeat:no-repeat;animation:islSheen 1.6s var(--inout) infinite both;
  background-image:linear-gradient(100deg,var(--slabInk) 0 41%,var(--slabDim) 50%,var(--slabInk) 59% 100%)}
.isl-ck[data-on][data-c="all"]>b{background-image:linear-gradient(100deg,var(--closeInk) 0 41%,var(--slabDim) 50%,var(--closeInk) 59% 100%)}
:root[data-motion] .isl-ck[data-on]>b{animation:none;color:inherit;background-image:none}
:root[data-motion="reduce"] .isl-cf{transform:none;filter:none;transition:opacity var(--tRm,.2s) var(--fade)}
:root[data-motion="reduce"] .isl-rx[data-cfm],:root[data-motion="reduce"] .isl-rx[data-cfm] .isl-pos{transition:height var(--tRm,.2s) var(--fade)}
.isl-gone{pointer-events:none}
/* tiles: the mark, the ticker and its side, the one figure */
.isl-tile{box-sizing:border-box;display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:var(--sp8);height:36px;min-width:0;padding:0 10px 0 8px;border:0;border-radius:12px;
  background:var(--slabFace);color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background-color var(--tArrive) var(--ease)}
@media (hover:hover){ .isl-tile:hover{background:var(--slabFaceHi)} }
.isl-tile .isl-rm{width:20px;height:20px}
.isl-tile .isl-rm .amk{width:20px;height:20px;--amkEdge:1px;--amkFs:7.5px}
.isl-tile .isl-ra>b{font-size:12px}
.isl-tile .isl-ra[data-bare]>b{display:none}
.isl-tile .isl-ra>i{font-size:12px}
.isl-tile .isl-pp{font-size:12px}
.isl-more2{grid-column:1/-1;display:flex;align-items:center;gap:var(--sp8);width:100%;height:30px;padding:0 10px;border:0;border-radius:12px;background:transparent;cursor:pointer;
  font:500 11px/1 var(--sans);color:var(--slabDim)}
.isl-rx[data-mode="tiles"] .isl-more2{height:26px}
.isl-more2>.isl-lm{justify-content:flex-start}
@media (hover:hover){ .isl-more2:hover{color:var(--slabInk);background:var(--slabHov)} }
.isl-more2:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}
/* the notices: folded to one line with the lip of the stack under it; opened, a compact head over a few rows */
.isl-nb{position:relative;flex:none;box-sizing:border-box;overflow:hidden}
.isl-nb[hidden]{display:none}
.isl-nb.top{box-shadow:inset 0 1px 0 var(--slabRule)}
.isl-nl{position:absolute;left:8px;right:8px;top:6px;z-index:1;display:flex;align-items:center;gap:var(--sp10);box-sizing:border-box;height:36px;padding:0 10px 0 8px;border:0;border-radius:18px;
  background:var(--slabFace);color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background-color var(--tArrive) var(--ease)}
.isl-nb:not(.top) .isl-nl{top:4px}
@media (hover:hover){ .isl-nl:hover{background:var(--slabFaceHi)} }
.isl-lip{position:absolute;left:20px;right:20px;top:42px;height:4px;border-radius:0 0 8px 8px;background:var(--slabFace);opacity:.7}
.isl-nb:not(.top) .isl-lip{top:40px}
.isl-nk{flex:none;display:flex;align-items:center}
.isl-nm{position:relative;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;color:var(--kc);--is:11px;box-shadow:0 0 0 1.5px var(--islFace)}
.isl-nm.ic{background:var(--slabFaceHi)}
.isl-nm[data-kind="info"]{color:var(--slabDim)}
.isl-nm .amk{width:20px;height:20px;--amkEdge:1px;--amkFs:7.5px}
.isl-nm+.isl-nm{margin-left:-7px}
.isl-nm:nth-child(1){z-index:3} .isl-nm:nth-child(2){z-index:2;opacity:.8} .isl-nm:nth-child(3){z-index:1;opacity:.6}
.isl-nm{--kc:var(--slabDim)}
.isl-nm:is([data-kind="ok"],[data-kind="buy"]){--kc:var(--upSlab)} .isl-nm:is([data-kind="bad"],[data-kind="sell"],[data-kind="liq"]){--kc:var(--dnSlab)} .isl-nm[data-kind="warn"]{--kc:var(--warnSoft)} .isl-nm:is([data-kind="acc"],[data-kind="arm"]){--kc:var(--accentHi)}
.isl-nt{flex:1;min-width:0;display:flex;align-items:baseline;gap:6px;white-space:nowrap;overflow:hidden}
.isl-nt>b{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;font:600 12px/1 var(--sans);color:var(--slabInk)}
.isl-nt>i{flex:none;align-self:center;display:inline-grid;place-items:center;height:16px;padding:0 6px;border-radius:8px;font:600 12px/1 var(--sans);font-style:normal;
  letter-spacing:0;text-transform:none;color:var(--slabDim);background:var(--slabFace)}
.isl-nt>i[data-tone="up"]{color:var(--upSlab);background:color-mix(in srgb,var(--upSlab) 17%,transparent)} .isl-nt>i[data-tone="dn"]{color:var(--dnSlab);background:color-mix(in srgb,var(--dnSlab) 17%,transparent)}
.isl-nt>i[data-tone="acc"]{color:var(--accentHi);background:color-mix(in srgb,var(--accentHi) 15%,transparent)} .isl-nt>i[data-tone="warn"]{color:var(--warnSoft);background:color-mix(in srgb,var(--warnSoft) 15%,transparent)}
.isl-nt>em{flex:none;margin-left:auto;font:500 11px/1 var(--sans);font-style:normal;color:var(--slabDim)}
.isl-nt>em:is([data-tone="ok"],[data-tone="up"]){color:var(--upSlab)} .isl-nt>em:is([data-tone="bad"],[data-tone="dn"]){color:var(--dnSlab)} .isl-nt>em[data-tone="warn"]{color:var(--warnSoft)}
.isl-nt>em:is([data-tone="up"],[data-tone="dn"]){font:600 11px/1 var(--mono);font-variant-numeric:tabular-nums}
.isl-nt>em:is([data-tone="paper"],[data-tone="live"]){display:none}
.isl-nc{flex:none;display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:9px;background:var(--slabFace);
  font:600 10px/1 var(--mono);font-variant-numeric:tabular-nums;color:var(--slabDim)}
.isl-nc:empty{display:none}
.isl-nc[data-new]{color:var(--onAccent);background:var(--accent2)}
.isl-rh{position:relative;flex:none;display:flex;align-items:center;gap:var(--sp8);box-sizing:border-box;height:30px;padding:0 8px 0 18px}
.isl-rh>b{font:600 12px/1 var(--sans);color:var(--slabDim)}
.isl-rn{font:600 12px/1 var(--sans);font-style:normal;color:var(--accentHi)}
.isl-rn:empty{display:none}
.isl-sp{flex:1}
.isl-rk{display:inline-flex;align-items:center;justify-content:center;height:22px;padding:0 var(--sp8);border:0;border-radius:11px;cursor:pointer;
  font:500 11px/1 var(--sans);color:var(--slabDim);background:transparent;transition:color var(--tArrive) var(--ease),background-color var(--tArrive) var(--ease)}
.isl-rk[hidden]{display:none}
@media (hover:hover){ .isl-rk:hover{color:var(--slabInk);background:var(--slabFaceHi)} }
.isl-rl{flex:none;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;padding:0 8px}
.isl-nb[data-open=""] .isl-rh,.isl-nb[data-open=""] .isl-rl{opacity:0;pointer-events:none}
.isl-nb[data-open="1"] .isl-nl,.isl-nb[data-open="1"] .isl-lip{opacity:0;pointer-events:none}
.isl-nb[data-open="1"] .isl-rl .isl-row{height:46px}
.isl-nk2{display:flex;align-items:center;gap:4px}
.isl-nk2 .isl-a{height:var(--islEnd);padding:0 var(--sp12);border-radius:calc(var(--islEnd) / 2)}
.isl-rec[data-lead] .isl-rh{padding-right:4px}
/* THE EMPTY NOTICES ARE ONE LINE (island.js → emptyShape): the line's three slots, its end pieces one inset in on their
   three sides (THE ENDS SHARE ONE INSET): the stack in its well, the words, Settings as the act */
.isl-ne{flex:none;display:flex;align-items:center;gap:var(--sp8);box-sizing:border-box;height:34px;--islIn:var(--sp4);--islEnd:26px;padding:0 var(--islIn)}
.isl-ne[hidden]{display:none}
.isl-xh:not([hidden])~.isl-ne{margin-top:-2px}
.isl-neg{flex:none;display:grid;place-items:center;width:var(--islEnd);height:var(--islEnd);border-radius:calc(var(--islEnd) / 2);color:var(--slabDim);background:var(--slabFace);--is:14px}
.isl-ne>b{flex:1;min-width:0;font:500 13px/1 var(--sans);letter-spacing:-.003em;color:var(--slabDim);white-space:nowrap}
.isl-ne>.isl-a{height:var(--islEnd);padding:0 var(--sp12);border-radius:calc(var(--islEnd) / 2)}
html[data-phone] .isl-ne{height:44px;--islIn:9px}

/* ---- A PHONE: the island spans the bar while it speaks, as the phone's own does; at rest it is the bar's ---- */
html[data-phone] .isl:is([data-st="rest"],[data-st="trace"]) .isl-s{opacity:0;pointer-events:none}
html[data-phone] .isl-ans{--islIn:9px;padding:0 14px 0 var(--islIn);border-radius:22px}
html[data-phone] .isl-ans:has(>:is(.isl-a,.isl-x):not([hidden])){padding-right:var(--islIn)}
/* ---- THE EXECUTION CARD (v9 · island-exec; components.md → THE EXECUTION CARD; js/ui/notify.js builds o.ex): every
   answer about an order or a position in ONE grammar, two rows in a capsule 52 tall. The market's mark leads, 36 round
   and 8 in on its three sides (concentric: 26 − 8), the outcome's badge set on its corner (✓ done · ✕ refused · − not
   filled · a ring as it fills · a turning arc while QFEX has not answered). Row one: the outcome in its tone, the size,
   the market. Row two: the side's tag and the particulars, a reason after a dot. At the trailing end the result over what
   it is and the account it is on; Share or the dismiss 36 round, 8 in. Until island-exec a close said no "closed" and no
   size, and the bar's close said "Closed" over a "1 LONG" that read as a count (the owner, 2026-11-06: "it's not great
   at all") ---- */
.isl-xm,.isl-xr,.isl-xb{display:none}
.isl-ans.ex,html[data-phone] .isl-ans.ex{--islIn:8px;--islEnd:36px;align-items:flex-start;gap:0;padding:var(--islIn) 18px var(--islIn) var(--islIn);border-radius:26px}
.isl-ans.ex:has(>:is(.isl-a,.isl-x):not([hidden])),html[data-phone] .isl-ans.ex:has(>:is(.isl-a,.isl-x):not([hidden])){padding-right:var(--islIn)}
.isl-ans.ex>.isl-m,.isl-ans.ex>.isl-st,.isl-ans.ex>.isl-bd{display:none}
.isl-ans.ex>.isl-g{width:36px;height:36px;border-radius:18px}
.isl-ans.ex>.isl-g .amk{width:36px;height:36px;border-radius:18px;--amkFs:11.5px;--amkEdge:1.5px}
.isl-ans.ex>.isl-g::after{display:none}
.isl-ans.ex>.isl-g.ic{background:var(--slabFace);--is:17px}
.isl-ans.ex>.isl-g.ic[data-ic="p"]{color:var(--dnSlab);background:color-mix(in srgb,var(--dnSlab) 16%,transparent)}
.isl-ans.ex>.isl-g.ic[data-ic="o"]{color:var(--warnSoft);background:rgba(var(--warnRGB),.16)}
/* the badge: the outcome on the market's corner, its glyph in the island's own face on the outcome's hue */
.isl-ans.ex .isl-xb{position:absolute;right:-4px;bottom:-4px;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;
  color:var(--islFace);background:var(--slabDim);box-shadow:0 0 0 2px var(--islFace);--is:10px}
.isl-ans.ex .isl-xb:not([data-b]),.isl-ans.ex .isl-xb[data-b=""]{display:none}
.isl-ans.ex .isl-xb .ds-i{stroke-width:2.6}
.isl-ans.ex .isl-xb[data-b="ok"]{background:var(--upSlab)}
.isl-ans.ex .isl-xb[data-b="no"]{background:var(--dnSlab)}
.isl-ans.ex .isl-xb[data-b="warn"]{background:var(--warnSoft)}
/* filling: a ring that is the share filled, round the island's face */
.isl-ans.ex .isl-xb[data-b="part"]{background:conic-gradient(var(--warnSoft) calc(var(--p,.5) * 1turn),rgba(var(--lit),.16) 0)}
.isl-ans.ex .isl-xb[data-b="part"]::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--islFace)}
/* not answered yet: a quarter of a ring, turning (still under reduced motion) */
.isl-ans.ex .isl-xb[data-b="wait"]{background:var(--islFace);box-shadow:0 0 0 2px var(--islFace),inset 0 0 0 2px rgba(var(--lit),.16)}
.isl-ans.ex .isl-xb[data-b="wait"]::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid transparent;border-top-color:var(--slabInk);animation:dsSpin .9s linear infinite}
:root[data-motion] .isl-ans.ex .isl-xb[data-b="wait"]::after,html[data-power="low"] .isl-ans.ex .isl-xb[data-b="wait"]::after{animation:none}
/* the rows: centred on the mark (two rows of 16 and 15, 3 apart, 34 in its 36); a third and more under them */
.isl-ans.ex>.isl-xm{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;margin:1px 0 0 10px}
.isl-x1{display:flex;align-items:baseline;gap:5px;height:16px;white-space:nowrap;font:600 13px/16px var(--sans);color:var(--slabInk)}
.isl-x1>b{font:inherit}
.isl-xv[data-tone="dn"]{color:var(--dnSlab)} .isl-xv[data-tone="warn"]{color:var(--warnSoft)}
.isl-xq{font:500 12px/16px var(--mono);font-variant-numeric:tabular-nums;color:var(--slabInk)}
.isl-xq>i{margin:0 4px;font:500 12px/16px var(--sans);font-style:normal;color:var(--slabDim)}
.isl-xq:empty,.isl-xk:empty{display:none}
.isl-xls{display:flex;flex-direction:column}
.isl-xl{display:flex;align-items:center;gap:7px;height:15px;white-space:nowrap}
.isl-xl+.isl-xl{height:18px}
.isl-xl .isl-sd{height:15px;padding:0 6px;border-radius:7.5px;font-size:11px}
.isl-xt{font:500 11px/1 var(--sans);color:var(--slabDim)}
.isl-xn{font:500 11px/1 var(--mono);font-variant-numeric:tabular-nums;color:var(--slabDim)}
.isl-xn .isl-ar{margin:0 5px}
.isl-xw{font:400 12px/1 var(--sans);font-style:normal;color:var(--slabFaint)}
.isl-xl>:is(.isl-xn,.isl-xt)+.isl-xw::before{content:"·";margin-right:5px;color:var(--slabFaint)}
.isl-xw[data-tone="dn"]{color:var(--dnSlab)} .isl-xw[data-tone="warn"]{color:var(--warnSoft)}
.isl-xl.sub>.isl-xw{color:var(--slabFaint)}
/* the result over what it is: a figure in its sign's hue, then its word and the account's, the account in its tag's hue */
.isl-ans.ex>.isl-xr{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:3px;margin:1px 0 0 18px}
.isl-xf{height:16px;font:600 12px/16px var(--mono);font-variant-numeric:tabular-nums;color:var(--slabInk)}
.isl-xf:empty{display:none}
.isl-xf[data-tone="up"]{color:var(--upSlab)} .isl-xf[data-tone="dn"]{color:var(--dnSlab)}
.isl-xr>.isl-ghost{position:absolute;right:0;top:0}
.isl-ans.ex>.isl-xr{position:relative}
.isl-xfl{display:flex;gap:4px;height:15px;align-items:center;font:500 11px/1 var(--sans);letter-spacing:.005em;color:var(--slabFaint)}
.isl-xfl:empty{display:none}
.isl-xfl>span+span::before{content:"·";margin-right:4px;color:var(--slabFaint)}
.isl-xfl>[data-acct="paper"]{color:var(--warnSoft)} .isl-xfl>[data-acct="live"]{color:var(--accentHi)}
/* a lone label (a refusal's account) sits on the second row, under nothing */
.isl-xr:has(>.isl-xf:empty){padding-top:19px}
/* the keys at the trailing end: centred on the mark's row */
.isl-ans.ex>.isl-more{margin:9px 0 0 10px}
.isl-ans.ex>.isl-a,.isl-ans.ex>.isl-x{margin-left:10px}
.isl-ans.ex>.isl-a:not([data-kind="share"]){height:36px;border-radius:18px}
/* (in a whole screen's head with no room for its words, a notch is its glyph alone: island.js → notch) */
.isl-face[data-tight]{justify-content:center;padding:0}
.isl-face[data-tight]>.isl-ft,.isl-face[data-tight]>.isl-fn,.isl-face[data-tight] .isl-lw,.isl-face[data-tight] .isl-lms{display:none}
.isl-face[data-tight]>.isl-lk{padding:0}
/* ---- WHILE THE PREVIEW PLAYS THE ISLAND IS A PICTURE (v9 · header-d6-island v5; island.js → reelMark): its keys keep
   their shapes and wear the slab's disabled ink, flat (no lip, no sheen, no wash under the hand), and nothing on it takes
   the pointer's hand; its one live key is the floating bar's Stop (css/help.css → .hx-bar) ---- */
.isl[data-reel] .isl-s,.isl[data-reel] .isl-s button,.isl[data-reel] .isl-se,.isl[data-reel] .isl-ans,.isl[data-reel] .isl-row{cursor:default}
.isl[data-reel] .isl-a,.isl[data-reel] .isl-more,.isl[data-reel] .isl-a[data-kind="share"]{color:var(--slabGhost);background:var(--slabFace);box-shadow:none}
.isl[data-reel] .isl-a>b,.isl[data-reel] .isl-a>.ds-i,.isl[data-reel] .isl-more>b{color:var(--slabGhost)}
.isl[data-reel] .isl-a[data-kind="share"]::after{animation:none;opacity:0}
.isl[data-reel] .isl-x{color:var(--slabGhost);background:transparent}
/* ---- A WHOLE SCREEN ON A PHONE OR A FOLDED TABLET: their bar is its own layer (fixed, 80), so a chart's full screen,
   the stage or an instrument lifted to the screen covered it and the island in it. While one is up the bar stands in
   the page's layer instead (absolute, where it was: these pages scroll inside their views, never the document), looks
   as it did under the screen, and the island keeps its own layer over it, seated on that screen's head: the glass
   head's 48 (js/ui/phonefull.js), the chart's 10 + 30 + 10 (js/chart/full.js) ---- */
html:is([data-phone],[data-tab="fold"],[data-tab="port"])[data-phfs] #top,
html:is([data-phone],[data-tab="fold"],[data-tab="port"]) #top:is(.fx-under,.ych-under){position:absolute;z-index:auto}
html[data-phfs] .isl:not([data-up]){z-index:122}      /* over the glass head (css/mobile.css → .ph-fsh, 121) */
html[data-phone][data-phfs] #hdr-isl{bottom:auto;height:48px}
html[data-phone] #top.ych-under>#hdr-isl{top:0;bottom:auto;height:50px}
/* the DIALOG: a sheet over a veil, for a decision that is bigger than one
   control (kill everything, a strategy's start). It rises; the page behind
   it steps back under the veil; Esc and the veil are both "no" */
.ds-veil{position:fixed;inset:0;z-index:var(--zModal);background:var(--veil);-webkit-backdrop-filter:var(--veilBlur);backdrop-filter:var(--veilBlur)}
.ds-dlg{position:fixed;left:50%;top:50%;z-index:calc(var(--zModal) + 1);display:flex;flex-direction:column;gap:var(--sp20);width:min(var(--dlgW,520px),calc(100vw - 32px));
  max-height:calc(100vh - 48px);overflow:auto;padding:var(--sp28) var(--sp28) var(--sp24);border-radius:var(--r24);
  background:var(--plateTall);box-shadow:var(--sheetSh);color:var(--text);outline:none;translate:-50% -50%}
.ds-dlg-h{display:flex;align-items:flex-start;gap:var(--sp16)}
.ds-dlg-ic{flex:none;display:grid;place-items:center;width:52px;height:52px;border-radius:var(--r16);--is:26px;
  color:var(--dlC,var(--accent2));background:rgba(var(--dlRGB,var(--acc2RGB)),.12);box-shadow:inset 0 0 0 1px rgba(var(--dlRGB,var(--acc2RGB)),.3)}
.ds-dlg[data-tone="ask"]{--dlC:var(--ask);--dlRGB:var(--askRGB)}
.ds-dlg[data-tone="warn"]{--dlC:var(--warn);--dlRGB:var(--warnRGB)}
.ds-dlg-t{display:flex;flex-direction:column;gap:var(--sp6);min-width:0}
.ds-dlg-t>b{font:var(--fDisplay);letter-spacing:var(--trDisplay)}
.ds-dlg-t>span:not([class]){font:var(--fLede);color:var(--dim);text-wrap:pretty}
.ds-dlg-b{display:flex;align-items:center;gap:var(--sp8)}
.ds-dlg-b>.sp{flex:1}

/* =====================================================================
   COMPOSITES — the objects the next packages are built from.
   ===================================================================== */
/* ---- a SLAB container (anything dark on both grounds) ---- */
.ds-slab{background:var(--slab);box-shadow:var(--slabSh);color:var(--slabInk);border-radius:var(--r16)}
/* ---- the CARD: a raised plate. `data-scale="page"` is the Portfolio's ---- */
.ds-card{position:relative;display:flex;flex-direction:column;gap:var(--sp8);min-width:0;min-height:0;padding:var(--sp10);
  border-radius:var(--rPlate);background:var(--plateTall);box-shadow:var(--plateSh);contain:layout paint;
  transition:box-shadow var(--tFlash) var(--settle)}
.ds-card[data-scale="page"]{gap:var(--sp14);padding:var(--sp20) var(--sp22);border-radius:var(--r20)}
/* a card with a position on it carries the side on its left edge (W10) */
.ds-card[data-pos]::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:2px;border-radius:0 2px 2px 0;background:var(--posC);pointer-events:none}
.ds-card[data-pos="long"]{--posC:var(--up)} .ds-card[data-pos="short"]{--posC:var(--dn)}
/* a card the reader just pointed the execution at: the answer's rim, once */
.ds-card.hl{box-shadow:var(--plateSh),var(--hlRim);transition-duration:.12s}
/* a card whose feed is held (Z1): the plate cools; its data keeps its colour */
.ds-card.frozen{background:linear-gradient(180deg,var(--frzTop),var(--frzBot));box-shadow:var(--frzSh)}
.ds-card.frozen::after{content:"";position:absolute;left:12px;right:12px;top:0;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(var(--frzRGB),var(--frzLineA)),transparent)}
/* ---- the FROZEN PLATE (Z1 · js/ui/freeze.js; design/imported/freeze →
   "The plate goes cold"). The plate cools behind its own content, a glint
   runs once along its lit top edge, the well takes a cold rim, a hairline
   marks the frozen instant where the tape meets the book (its UTC tag under
   the pointer, or always where there is one big plate) and a resume pill
   hangs from its foot. A wall frozen from its key cools as a wave
   (--frzD, 35 ms a card). Only opacity and transform move ---- */
.frz-host{position:relative;isolation:isolate}
.frz-cold{position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;overflow:hidden;
  background:linear-gradient(180deg,var(--frzTop),var(--frzBot));box-shadow:var(--frzSh);opacity:0;transition:opacity .28s var(--settle)}
.frz-host.frz-on>.frz-cold{opacity:1;transition:opacity .5s var(--settle) var(--frzD,0ms)}
.frz-glint{position:absolute;left:0;top:0;width:36%;height:1px;background:linear-gradient(90deg,transparent,var(--frzGlint),transparent);transform:translateX(-110%)}
.frz-host.frz-on>.frz-cold>.frz-glint{transform:translateX(290%);transition:transform 1s var(--ease) calc(var(--frzD,0ms) + 60ms)}
:root[data-motion] .frz-glint{display:none}   /* a light crossing is a travel: the frost says it alone */
.frz-well{position:relative}
.frz-rim{position:absolute;inset:0;z-index:5;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(var(--frzRGB),var(--frzRimA));opacity:0;transition:opacity .28s var(--settle)}
.frz-well.frz-on>.frz-rim{opacity:1;transition:opacity .5s var(--settle) var(--frzD,0ms)}
.frz-line{position:absolute;left:0;top:0;bottom:0;width:0;z-index:6;pointer-events:none;opacity:0;transition:opacity .3s var(--settle) calc(var(--frzD,0ms) + 160ms)}
.frz-well.frz-on>.frz-line{opacity:1}
.frz-line.thaw{opacity:0;transition:transform .62s var(--settle),opacity .55s var(--ease) .5s}
.frz-fade{position:absolute;top:0;bottom:0;right:0;width:30px;background:linear-gradient(90deg,rgba(var(--frzRGB),0),rgba(var(--frzRGB),var(--frzFadeA)))}
.frz-hair{position:absolute;top:0;bottom:0;left:-.5px;width:1px;background:rgba(var(--frzRGB),var(--frzLineA))}
.frz-line.notape .frz-fade,.frz-line.notape .frz-hair,.frz-line.notape .frz-stamp{display:none}
.frz-stamp{position:absolute;top:22px;left:0;transform:translateX(-50%);display:inline-flex;align-items:center;gap:4px;height:16px;padding:0 6px 0 5px;border-radius:8px;
  background:var(--chip);box-shadow:var(--chipRing),var(--frzChip),0 2px 8px rgba(var(--shd),.28);font:600 10px/1 var(--mono);letter-spacing:0;color:var(--onDark);white-space:nowrap;
  opacity:0;transition:opacity var(--tArrive) var(--settle)}
.frz-stamp svg{width:9px;height:9px;display:block;fill:none;stroke:var(--frzOnChip);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.frz-stamped .frz-stamp{opacity:1}
@media (hover:hover){ .frz-host:hover .frz-stamp{opacity:1} }
.frz-pill{position:absolute;left:0;bottom:10px;opacity:0;pointer-events:none;transform:translateX(calc(-50% + var(--frzPx,0px))) translateY(4px);transition:opacity .12s var(--ease),transform .12s var(--ease)}
.frz-well.frz-on .frz-line:not(.thaw) .frz-pill{opacity:1;pointer-events:auto;transform:translateX(calc(-50% + var(--frzPx,0px)));
  transition:opacity .18s var(--settle) calc(var(--frzD,0ms) + 260ms),transform .18s var(--settle) calc(var(--frzD,0ms) + 260ms)}
.frz-go{height:24px;padding:0 10px 0 9px;display:inline-flex;align-items:center;gap:7px;border:0;border-radius:12px;font:600 10px/1 var(--mono);white-space:nowrap;cursor:pointer;
  color:var(--onDark);background:var(--chip);box-shadow:var(--chipRing),var(--frzChip),0 4px 14px rgba(var(--shd),.45);transition:filter var(--tArrive) var(--ease),transform var(--tLeave) var(--settle)}
.frz-go svg{width:7px;height:8px;display:block;fill:currentColor}
.frz-go em{font-style:normal;font-weight:500;color:var(--onDark2)}
@media (hover:hover){ .frz-go:hover{filter:brightness(1.18)} }
.frz-go:active{transform:translateY(1px);transition-duration:var(--tTouch)}
.frz-stamped .frz-pill{bottom:14px}
.frz-stamped .frz-go{height:26px;padding:0 5px 0 10px;gap:8px;border-radius:13px;font-size:12px}

/* ---- the CARD HEAD: one 22px line. The mark and the ticker are ONE control
   (pick another market), the star beside them, then the keys ---- */
.ds-head{display:flex;align-items:center;gap:var(--sp4);height:var(--h22);min-width:0;cursor:grab}
.ds-head:active{cursor:grabbing}
.ds-head>.sp{flex:1;min-width:var(--sp8);align-self:stretch}
.ds-grip{flex:none;width:8px;height:12px;margin:0 var(--sp2) 0 -2px;color:var(--ghost);opacity:0;transition:opacity var(--tLeave) var(--settle)}
.ds-grip .ds-i{--is:12px;width:8px}
.ds-card:hover .ds-grip,.ds-head:focus-within .ds-grip,.ds-card.is-hover .ds-grip{opacity:1;transition-duration:var(--tEnter)}
.ds-pick{display:inline-flex;align-items:center;gap:var(--sp6);min-width:0;height:var(--h22);padding:0 var(--sp6) 0 var(--sp4);margin-left:calc(-1 * var(--sp4));border:0;
  border-radius:var(--r5);background:transparent;cursor:pointer;--travel:1px;--downSh:inset 0 1px 3px rgba(var(--shd),calc(.2*var(--shdK)))}
.ds-pick>b{font:600 12px/1 var(--sans);letter-spacing:0;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ds-pick>em{font:500 10px/1 var(--mono);letter-spacing:0;font-style:normal;color:var(--faint)}
.ds-pick>.car{flex:none;--is:9px;color:var(--dim);opacity:0;transform:translateY(-1px);transition:opacity var(--tLeave) var(--settle),transform var(--tLeave) var(--settle)}
@media (hover:hover){ .ds-pick:hover{background:rgba(var(--ink),.07)} .ds-pick:hover>.car{opacity:1;transform:none;transition-duration:var(--tEnter)} }
.ds-pick.is-hover{background:rgba(var(--ink),.07)} .ds-pick.is-hover>.car{opacity:1;transform:none}
.ds-pick .amk{width:15px;height:15px}
/* a stand-in for the asset mark where js/ui/mark.js is not loaded (the kit) */
.ds-mk{flex:none;position:relative;width:15px;height:15px;border-radius:22%;background:var(--panel2);overflow:hidden;
  display:grid;place-items:center;font:500 11px/1 var(--sans);letter-spacing:.005em;color:var(--dim)}
.ds-mk::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1.5px var(--text)}
.ds-head-k{display:flex;align-items:center;gap:1px;flex:none}
.ds-head-k>.hov{opacity:0;transition:opacity var(--tLeave) var(--settle)}
.ds-card:hover .ds-head-k>.hov,.ds-head-k:focus-within>.hov,.ds-card.is-hover .ds-head-k>.hov{opacity:1;transition-duration:var(--tEnter)}
/* the star (js/ui/fav.js owns it) sits beside the ticker only (W7) */
.ds-head .fav{--favBox:18px;--favS:11px}

/* ---- the ZERO-GAP GRID: cells of one plate, cut by 1px seams (W3). The
   seam is the grid's own colour showing through a 1px gap, so a cell needs
   no border and a splitter needs no box of its own to line up with ---- */
.ds-grid{display:grid;gap:var(--seam);background:var(--seamC);border-radius:var(--rPlate);overflow:hidden;box-shadow:var(--plateSh);contain:layout paint}
.ds-cell{position:relative;min-width:0;min-height:0;background:var(--plateTall);contain:layout paint}

/* ---- the SPLITTER: a seam you can take hold of. At rest it is the seam;
   under the pointer its line grows out of the seam; held, it is the
   answer's orange. The grip is 8px wide and invisible ---- */
.ds-split{position:relative;flex:none;z-index:3;width:var(--seam);align-self:stretch;cursor:col-resize;touch-action:none;outline:none;background:var(--seamC)}
.ds-split::before{content:"";position:absolute;top:0;bottom:0;left:calc(var(--splitHit) / -2);right:calc(var(--splitHit) / -2)}
.ds-split>i{position:absolute;top:0;bottom:0;left:-1px;width:3px;border-radius:2px;pointer-events:none;opacity:0;
  background:rgba(var(--ink),.34);transform:scaleY(.3);transition:opacity var(--tLeave) var(--settle),transform var(--tLeave) var(--settle),background-color var(--tState) var(--settle)}
.ds-split>b{position:absolute;left:50%;top:50%;width:6px;height:26px;margin:-13px 0 0 -3px;border-radius:3px;pointer-events:none;opacity:0;
  background:var(--plateHi);box-shadow:0 0 0 1px rgba(var(--ink),.16),0 2px 6px rgba(var(--shd),calc(.16*var(--shdK)));transform:scale(.6);
  transition:opacity var(--tLeave) var(--settle),transform var(--tLeave) var(--settle)}
@media (hover:hover){ .ds-split:hover>i,.ds-split:hover>b{opacity:1;transform:none;transition-duration:var(--tEnter);transition-delay:.1s} }
.ds-split:is(.is-hover,:focus-visible,.drag)>i,.ds-split:is(.is-hover,:focus-visible,.drag)>b{opacity:1;transform:none;transition-delay:0s}
.ds-split:is(.drag,:focus-visible)>i{background:rgba(var(--acc2RGB),.85)}
.ds-split.at-min>i{background:rgba(var(--ink),.5)}
.ds-split[data-dir="y"]{width:auto;height:var(--seam);align-self:auto;cursor:row-resize}
.ds-split[data-dir="y"]::before{top:calc(var(--splitHit) / -2);bottom:calc(var(--splitHit) / -2);left:0;right:0}
.ds-split[data-dir="y"]>i{top:-1px;bottom:auto;left:0;right:0;width:auto;height:3px;transform:scaleX(.3)}
.ds-split[data-dir="y"]>b{width:26px;height:6px;margin:-3px 0 0 -13px}
/* an overlay splitter: absolutely placed over a seam it does not own */
.ds-split[data-float]{position:absolute;background:transparent}
body.ds-splitting,body.ds-splitting *{cursor:col-resize!important;user-select:none!important;-webkit-user-select:none!important}
body.ds-splitting-y,body.ds-splitting-y *{cursor:row-resize!important;user-select:none!important;-webkit-user-select:none!important}

/* ---- the NOTCH: a panel attached to the bottom edge, above the footer.
   Folded it is a tab of plate on the edge, and its height is RESERVED in
   the layout so opening it moves nothing; open, the panel rises over the
   page by transform, seated on the edge — never floating ---- */
.ds-notch{position:relative;height:var(--notchH);contain:layout}
.ds-notch-tab{position:absolute;left:50%;bottom:0;z-index:2;display:inline-flex;align-items:center;gap:var(--sp8);height:var(--notchH);padding:0 var(--sp14) 1px;
  border:0;border-radius:var(--rPlate) var(--rPlate) 0 0;background:var(--plate);white-space:nowrap;
  box-shadow:0 -6px 14px rgba(var(--shd),calc(.06*var(--shdK))),inset 0 1px 0 var(--lip);
  font:var(--fCtlSm);letter-spacing:var(--trCtlSm);text-transform:none;color:var(--dim);
  transform:translateX(-50%);transition:transform .42s var(--settle),opacity .25s var(--settle),color var(--tArrive) var(--ease)}
/* (v9 · Q140, round 4) its hover is the ink and the shadow, never a rise (lesson l33: a tab that rose 2 px left its lower edge unhovered, and flickered there) */
@media (hover:hover){ .ds-notch-tab:hover{color:var(--text);box-shadow:0 -8px 18px rgba(var(--shd),calc(.10*var(--shdK))),inset 0 1px 0 var(--lip)} }
.ds-notch-tab .ds-i{--is:10px;transition:transform var(--tLeave) var(--settle)}
.ds-notch-p{position:absolute;left:0;right:0;bottom:0;z-index:3;display:flex;flex-direction:column;gap:var(--sp8);min-height:var(--notchH);padding:var(--sp10) var(--sp12);
  border-radius:var(--rPlate) var(--rPlate) 0 0;background:var(--plateTall);
  box-shadow:0 -10px 28px rgba(var(--shd),calc(.1*var(--shdK))),inset 0 1px 0 var(--lip);
  transform:translateY(calc((100% + 12px)*var(--rmT,1)));opacity:0;pointer-events:none;contain:layout paint;
  transition:transform .42s var(--settle),opacity .2s var(--settle) .1s,box-shadow var(--tFlash) var(--settle)}
.ds-notch.open .ds-notch-p{transform:none;opacity:1;pointer-events:auto;transition:transform .5s var(--settle),opacity .24s var(--settle),box-shadow var(--tFlash) var(--settle)}
.ds-notch.open .ds-notch-tab{opacity:0;pointer-events:none;transform:translateX(-50%) translateY(calc(8px*var(--rmT,1)))}
.ds-notch.hl .ds-notch-p{box-shadow:0 -10px 28px rgba(var(--acc2RGB),.16),0 0 0 1px rgba(var(--acc2RGB),.62),inset 0 1px 0 var(--lip);transition-duration:.12s}
.ds-notch.hl .ds-notch-tab{color:var(--armedInk);box-shadow:0 -8px 20px rgba(var(--acc2RGB),.2),0 0 0 1px rgba(var(--acc2RGB),.6),inset 0 1px 0 var(--lip)}
.ds-notch-h{display:flex;align-items:center;gap:var(--sp8);min-height:var(--h22)}

/* a stack of asset marks, each overlapping the last (a basket's legs) */
.ds-mks{display:flex;padding-left:5px}
.ds-mks>*{margin-left:-5px;box-shadow:0 0 0 1.5px var(--stackRing,var(--panel2))}

/* ---- the TICKET: the execution panel (docs/DESIGN.md → Ticket). One plate,
   sections cut apart by engraved rules, a 12px inner margin ---- */
.ds-ticket{display:flex;flex-direction:column;width:var(--ticketW);min-width:280px;max-width:340px;min-height:0;border-radius:var(--rPlate);
  background:var(--plateTall);box-shadow:var(--plateSh);overflow:hidden;transition:box-shadow var(--tFlash) var(--settle)}
.ds-ticket.hl{box-shadow:var(--plateSh),var(--hlRim);transition-duration:.12s}
.ds-tk-sec{display:flex;flex-direction:column;gap:var(--sp8);padding:var(--sp12);box-shadow:inset 0 1px 0 rgba(var(--shd),calc(.08*var(--shdK))),inset 0 2px 0 rgba(var(--lit),calc(.5*var(--litK)))}
.ds-tk-sec:first-child{box-shadow:none}
.ds-tk-row{display:flex;align-items:center;gap:var(--sp6);min-width:0}
.ds-tk-row>.sp{flex:1}
.ds-tk-h{display:flex;align-items:baseline;justify-content:space-between;gap:var(--sp8)}
.ds-tk-h>b{font:var(--fEyebrow);letter-spacing:var(--trEyebrow);text-transform:none;color:var(--dim)}
.ds-tk-h>em{font:var(--fMetaSm);font-style:normal;color:var(--faint);white-space:nowrap}
.ds-tk-fold{display:grid;grid-template-rows:0fr;transition:grid-template-rows var(--tLeave) var(--settle)}
.ds-tk-fold>div{min-height:0;overflow:hidden;opacity:0;transition:opacity var(--tEnter) var(--settle)}
.ds-tk-fold.open{grid-template-rows:1fr}
.ds-tk-fold.open>div{opacity:1;transition-delay:.06s}
.ds-tk-foot{padding:var(--sp12);background:linear-gradient(180deg,rgba(var(--ink),0),rgba(var(--ink),.025));box-shadow:inset 0 1px 0 rgba(var(--shd),calc(.08*var(--shdK)))}
.ds-tk-acct{display:grid;grid-template-columns:1fr 1fr;gap:var(--sp12) var(--sp14)}

/* ---- THE ARM (v9 · Q186; js/ui/ds/controls.js → armSwitch). The one key that turns a click on a book into an order,
   one width in every state, so nothing beside it ever moves.
     SAFE    ARM in the orange's ink on a tint of it, a hairline of the orange round it, and a ring where its light
             will be. Under the hand the ring lights its point and the key warms in its halo.
     HELD    the orange fills it from the left for as long as the dwell takes (.held): the lit plate carries the same
             words in its own ink, two translates that cancel, so the light runs and the words only change colour; a
             bright front leads it.
     ARMED   the lit plate (.on): the word grows to ARMED as the ring slides aside and pops into a disc with a ✕, the
             one thing that says a press makes it safe; its halo breathes. Under the hand the disc grows and the ✕
             turns a quarter. Safe again, the light drains back and the words fold home under it.
   Both faces hold ARMED's layout (its ED unseen while safe) and SAFE is drawn by translates of half the ED's width
   (--armSh), so the morph is transform and opacity only. Reduced motion keeps every state and drops every travel (the
   fill fades in place, the halo holds still). Until Q186: an outline with an LED, a bar along its foot, and Esc. ---- */
.ds-arm{position:relative;display:inline-block;flex:none;width:var(--armW,86px);height:var(--h30);padding:0;border:0;border-radius:var(--r8);
  color:var(--armedInk);background:rgba(var(--acc2RGB),.075);box-shadow:inset 0 0 0 1px rgba(var(--acc2RGB),.46);
  --armSh:8px;--travel:1px;--downSh:inset 0 2px 5px rgba(var(--shd),calc(.22*var(--shdK)))}
.ds-arm.on{background:transparent;box-shadow:none}
.ds-arm-in{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none}
.ds-arm-f,.ds-arm-lf{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:var(--sp8);padding:0 var(--sp4)}
.ds-arm b{padding-top:2px;font:var(--fCtl);letter-spacing:var(--trCtl);text-transform:none;white-space:nowrap;translate:var(--armSh) 0;transition:translate var(--tLeave) var(--settle)}
.ds-arm em{font-style:normal;opacity:0;transition:opacity var(--tLeave) var(--settle)}
.ds-arm.on .ds-arm-lf b{translate:0 0;transition:translate .34s var(--settle)}
.ds-arm.on .ds-arm-lf em{opacity:1;transition:opacity var(--tEnter) var(--settle) 40ms}
/* the ring where the light will be: its hairline, and the point it lights under the hand */
.ds-arm-o,.ds-arm-x{position:relative;flex:none;width:18px;height:18px;border-radius:50%;translate:calc(-1 * var(--armSh)) 0}
.ds-arm-o::before,.ds-arm-o::after,.ds-arm-x::before,.ds-arm-x::after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.ds-arm-o::before{inset:3px;box-shadow:inset 0 0 0 1.5px currentColor;opacity:.6;transition:opacity var(--tLeave) var(--settle),scale var(--tLeave) var(--settle)}
.ds-arm-o::after{inset:7px;background:currentColor;opacity:0;scale:.3;transition:opacity var(--tLeave) var(--settle),scale var(--tLeave) var(--settle)}
/* the light: the lit plate, out of sight to the left until it is armed or held */
.ds-arm-lit{position:absolute;inset:0;overflow:hidden;border-radius:inherit;background:var(--priFace);color:var(--onAccent);transform:translateX(-101%);transition:transform var(--tLeave) var(--settle)}
.ds-arm-lf{transform:translateX(101%);transition:transform var(--tLeave) var(--settle)}
.ds-arm.on .ds-arm-lit,.ds-arm.on .ds-arm-lf{transform:none;transition-duration:var(--tState)}
.ds-arm.snap .ds-arm-lit,.ds-arm.snap .ds-arm-lf{transition:none}
.ds-arm-lit::after{content:"";position:absolute;top:0;bottom:0;right:0;width:12px;border-radius:inherit;pointer-events:none;
  background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--onAccent) 45%,transparent));opacity:0;transition:opacity var(--tLeave) var(--settle)}
.ds-arm.held .ds-arm-lit::after{opacity:1;transition-duration:var(--tArrive)}
/* the disc that makes it safe: the ring's size and place until it is armed, then it slides aside and pops to its own,
   filled, with its ✕ */
.ds-arm-x{display:grid;place-items:center;scale:.667;transition:scale var(--tLeave) var(--settle),translate var(--tLeave) var(--settle)}
.ds-arm-x::before{inset:0;box-shadow:inset 0 0 0 2.25px currentColor;opacity:.9;transition:opacity var(--tLeave) var(--settle)}
.ds-arm-x::after{inset:0;background:color-mix(in srgb,var(--onAccent) 24%,transparent);opacity:0;transition:opacity var(--tLeave) var(--settle)}
.ds-arm-x .ds-i{position:relative;z-index:1;--is:10px;stroke-width:2.5;opacity:0;rotate:-90deg;transition:opacity var(--tLeave) var(--settle),rotate var(--tLeave) var(--settle)}
.ds-arm.on .ds-arm-x{scale:1;translate:0 0;transition:scale .4s var(--pop),translate .34s var(--settle)}
.ds-arm.on .ds-arm-x::before{opacity:0}
.ds-arm.on .ds-arm-x::after{opacity:1;transition-duration:var(--tState)}
.ds-arm.on .ds-arm-x .ds-i{opacity:1;rotate:0deg;transition:opacity var(--tEnter) var(--settle) 60ms,rotate .42s var(--pop)}
/* its halo: warm under the hand, lit and still armed (v9 · no-pulse: it breathed), flashed by a nudge */
.ds-arm::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  box-shadow:0 0 0 1px rgba(var(--acc2RGB),.62),0 0 16px 1px rgba(var(--acc2RGB),.42);opacity:0;transition:opacity var(--tLeave) var(--settle)}
.ds-arm.on::after{opacity:.82}
@media (hover:hover){
  .ds-arm:not(.on):hover::after{opacity:.38;transition-duration:var(--tArrive)}
  .ds-arm:not(.on):hover .ds-arm-o::before{opacity:1;scale:1.12;transition:opacity var(--tArrive) var(--ease),scale .32s var(--pop)}
  .ds-arm:not(.on):hover .ds-arm-o::after{opacity:1;scale:1;transition:opacity var(--tArrive) var(--ease),scale .32s var(--pop)}
  .ds-arm.on:hover .ds-arm-x{scale:1.1;transition:scale .32s var(--pop),translate .34s var(--settle)}
  .ds-arm.on:hover .ds-arm-x .ds-i{rotate:90deg;transition:opacity var(--tEnter) var(--settle),rotate .42s var(--pop)}
}
:root[data-motion] .ds-arm.on::after{animation:none;opacity:.85} :root[data-motion] .ds-arm .ds-arm-lit,:root[data-motion] .ds-arm .ds-arm-lf{transform:none!important} :root[data-motion] .ds-arm .ds-arm-lit{opacity:0;transition:opacity var(--tState) var(--settle)} :root[data-motion] .ds-arm.on .ds-arm-lit{opacity:1} :root[data-motion] .ds-arm .ds-arm-x .ds-i{rotate:none!important}
/* ARMED, THE EDGE: a pane that trades is `.ds-armable`; armed (`.ds-armed-on` on the page), each WELL a click trades from
   wears its own orange edge on its own radius, faded in on the throw: the chart's plot (.ych-well), a ladder or heat
   (.dwell, .fdc-well), the Wall's books (.wc-b, never its charts, which draw a draft and take no order). The pane, the
   panel group, the desk and the ticket never wear it (owner, 2026-11-05: "the border of the inner chart and dom or ob
   or heamtap should be orange not everything"; until then the desk wore --armedRim round all of it, and the reader
   could not tell which part a click would trade from). A layer over the well, so the canvas never covers it and the
   box never changes size; reduced motion keeps the fade, which carries no travel (motion.md) */
.ds-armable .ych-well::after,.ds-armable .dwell::after,.ds-armable .fdc-well::after,.wc-b:not(.wc-chart)::after{content:"";position:absolute;inset:0;z-index:2;
  border-radius:inherit;box-shadow:var(--armedEdge);pointer-events:none;opacity:0;transition:opacity var(--tLeave) var(--settle)}
.ds-armed-on .ds-armable .ych-well::after,.ds-armed-on .ds-armable .dwell::after,.ds-armed-on .ds-armable .fdc-well::after,.ds-armed-on .wc-b:not(.wc-chart)::after{opacity:1;transition-duration:var(--tState)}

/* ---- the ADDRESS CHIP: the account, once connected (S7). Before it is,
   the same slot holds the CONNECT button, the one orange plate in the bar ---- */
.ds-addr{display:inline-flex;align-items:center;gap:var(--sp8);flex:none;height:var(--h30);padding:0 var(--sp10) 0 7px;border:0;border-radius:var(--r8);white-space:nowrap;
  background:var(--well);box-shadow:var(--wellSh);color:var(--text);--travel:0px;--downSh:inset 0 2px 5px rgba(var(--shd),calc(.26*var(--shdK)))}
.ds-addr>.ds-mk{width:16px;height:16px}
.ds-addr>b{font:500 10px/1 var(--mono);letter-spacing:0}
.ds-addr>.ds-i{--is:9px;color:var(--faint)}
@media (hover:hover){ .ds-addr:hover{background:var(--well2)} }
.ds-addr[data-state="off"]>.ds-mk{filter:grayscale(1);opacity:.55}

/* ---- THE ACCOUNT OBJECT (v8 S1 · S2): the address and the EYE, cut into one
   well and parted by a groove. Each face has ONE behaviour, a press, and
   nothing opens on a hover (G8): the address opens what the account is worth
   over what can be done with it; the eye is the product's one privacy key
   (hide balances, P&L and sizes), a switch thrown when on. The v7 chip
   (.ds-addr) answered a hover with a preview and a press with a menu, and a
   hide key lived on four surfaces. ---- */
.ds-acct{display:inline-flex;align-items:stretch;flex:none;height:var(--h30);border-radius:var(--r8);background:var(--well);box-shadow:var(--wellSh)}
.ds-acct-a{display:inline-flex;align-items:center;gap:var(--sp8);height:100%;padding:0 var(--sp10) 0 7px;border:0;
  border-radius:var(--r8) 0 0 var(--r8);background:transparent;color:var(--text);white-space:nowrap;
  --travel:0px;--downSh:inset 0 2px 5px rgba(var(--shd),calc(.26*var(--shdK)))}
.ds-acct-a>b{font:500 10px/1 var(--mono);letter-spacing:0}
@media (hover:hover){ .ds-acct-a:hover{background:rgba(var(--ink),.045)} }
.ds-acct-a.is-hover{background:rgba(var(--ink),.045)}
.ds-acct-seam{flex:none;width:1px;margin:7px 0;background:rgba(var(--shd),calc(.16*var(--shdK)));box-shadow:var(--grooveShV)}
html[data-theme="dark"] .ds-acct-seam{background:rgba(var(--lit),.08);box-shadow:none}
.ds-acct-e{display:grid;place-items:center;flex:none;width:32px;height:100%;padding:0;border:0;
  border-radius:0 var(--r8) var(--r8) 0;background:transparent;color:var(--dim);--travel:0px;
  --downSh:inset 0 2px 5px rgba(var(--shd),calc(.26*var(--shdK)))}
.ds-acct-e .ds-i{--is:15px}
/* on, the eye is a pressed face seated INSIDE the well, a face's inset from its edge; and
   the address wears the same face while its menu is open (v8 S9: a press opens, a press closes) */
.ds-acct-e::after{inset:var(--inset) var(--inset) var(--inset) 2px;border-radius:var(--r5)}
.ds-acct-a::after{inset:var(--inset) 2px var(--inset) var(--inset);border-radius:var(--r5)}
@media (hover:hover){ .ds-acct-e:hover{color:var(--text);background:rgba(var(--ink),.045)} }
.ds-acct-e.is-hover{color:var(--text);background:rgba(var(--ink),.045)}
.ds-acct-e[aria-pressed="true"]{background:transparent}
.ds-acct[data-state="off"] .ds-vmk{filter:grayscale(1);opacity:.6}
.ds-acct[data-state="off"] .ds-acct-a>b{color:var(--dim)}
.ds-acct-st{font:500 10px var(--mono);font-style:normal;color:var(--faint)}
/* what a press on the address opens first: the account's worth, over the menu's acts */
.ds-acct-sum{display:flex;flex-direction:column;gap:12px;margin:var(--sp4) var(--sp4) var(--sp6);padding:var(--sp10) var(--sp8) var(--sp14);border-bottom:1px solid rgba(var(--ink),.08)}
.ds-acct-sum-h{display:flex;align-items:center;gap:8px;font:600 10px var(--mono);color:var(--text)}
.ds-acct-sum-h>em{margin-left:auto;font:var(--fLegSm);font-style:normal;letter-spacing:0;text-transform:none;color:var(--faint)}
.ds-acct-sum-n{margin:0;font:var(--fMeta);color:var(--faint)}
.ds-acct-sum-v,.ds-acct-sum-g>div{display:flex;flex-direction:column;gap:2px}
.ds-acct-sum-v span,.ds-acct-sum-g span{font:var(--fLegSm);letter-spacing:0;text-transform:none;color:var(--faint)}
.ds-acct-sum-v b{font:var(--fFigLg);letter-spacing:-.01em;color:var(--text);font-variant-numeric:tabular-nums}
.ds-acct-sum-g{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}
.ds-acct-sum-g b{font:600 12px var(--mono);color:var(--text);font-variant-numeric:tabular-nums}
.ds-acct-sum b[data-sg="1"]{color:var(--upInk)}
.ds-acct-sum b[data-sg="-1"]{color:var(--dnInk)}
/* ---- THE ACCOUNT'S SWITCH (v8.8.1 · chip88; js/ui/shell.js → paintAcct ·
   acctMenu, docs/contracts/shell.md → THE ACCOUNT). Where a backend offers a
   way in, the account's word is a switch of two fixed positions, PAPER · LIVE.
   In the bar it is a picture — the word in use is the account's tag, the other
   a faint word, locked until a sign-in — and the bar carries no address. In
   the popover it is the control at the head: each face its account's word over
   who it is, the lit face the account in use — the pressed dark for paper, the
   armed key's orange for live, so real orders look the same everywhere. Under
   it, while nobody is signed in, the lock's drawer: the access code and its
   act; a refusal is one line, an LED and the backend's own words. The live
   link is the LED inside the LIVE tag and a word only when it does not hold
   (reconnecting · halted · sign in again). ---- */
.ds-acct-trk{display:inline-flex;align-items:center;gap:var(--sp6)}
.ds-acct-w{display:inline-flex;align-items:center;gap:3px;height:16px;padding:0 2px;font:var(--fLegSm);letter-spacing:var(--trLegSm);text-transform:none;font-style:normal;color:var(--faint)}
.ds-acct-w .ds-i{--is:9px}
.ds-acct-w[data-lock]{color:var(--ghost)}
.ds-acct-w[data-lock] .ds-i{color:var(--faint)}
.ds-acct-st[data-tone="wait"]{color:var(--warnInk)}
.ds-acct-st[data-tone="err"]{color:var(--dnInk)}
/* a link that holds wears the venue light's own tone (.ds-vdot), steady: the
   kit's blinking accent beside the LIVE word read as an alarm. Only a link that
   does not hold warns — the gold breathing while it reconnects, the red halted */
:is(.ds-acct-a .ds-tag,.ds-acct-lk)>.ds-led[data-state="live"]{background:var(--accent2);box-shadow:0 0 0 .5px rgba(var(--acc2RGB),.35),0 0 6px rgba(var(--acc2RGB),.55);animation:none}
/* the not-connected plate names the account it would connect */
.ds-acct-cw{margin-left:var(--sp4);font:var(--fLegSm);letter-spacing:var(--trLegSm);font-style:normal;color:var(--onAccentDim)}
.ds-acct-sum>.ds-acct-sw{margin:calc(-1 * var(--sp4)) calc(-1 * var(--sp4)) 0}
.ds-acct-sw{display:flex;gap:2px;padding:var(--padBank);border-radius:calc(var(--r8) + var(--padBank));background:var(--chTrack);box-shadow:none}
.ds-acct-f{flex:1 1 0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;min-width:0;height:48px;padding:0 var(--sp12);
  border:0;border-radius:var(--r8);background:transparent;color:var(--dim);text-align:left;--travel:1px;--downSh:inset 0 1px 3px rgba(var(--shd),calc(.2*var(--shdK)))}
.ds-acct-f>b{display:inline-flex;align-items:center;gap:5px;font:var(--fCtl);letter-spacing:var(--trCtl);text-transform:none}
.ds-acct-f>span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:var(--fMetaSm);color:var(--faint)}
.ds-acct-f .ds-i{--is:10px}
@media (hover:hover){ .ds-acct-f:hover:not(.on){color:var(--text);background:rgba(var(--lit),calc(.4*var(--litK)))} }
.ds-acct-f.on{color:var(--chInk)}
.ds-acct-f.on>span{color:var(--chInk2)}
.ds-acct-f[data-k="live"]{--onFill:var(--priFace);--onSh:var(--priShOn),0 0 16px rgba(var(--acc2RGB),.35)}
.ds-acct-f[data-k="live"].on{color:var(--onAccent)}
.ds-acct-f[data-k="live"].on>span{color:var(--onAccentDim)}
.ds-acct-f[data-k="live"]:not(.on):not([data-lock])>b{color:var(--armedInk)}
.ds-acct-f[data-lock]{color:var(--faint)}
.ds-acct-f[data-lock]>span{color:var(--ghost)}
.ds-acct-f[aria-busy="true"] .ds-i{animation:dsSpin .9s linear infinite}
.ds-acct-in{display:flex;flex-direction:column;gap:var(--sp8)}
.ds-acct-form{display:flex;align-items:center;gap:var(--sp6)}
.ds-acct-form>.ds-field{flex:1;min-width:0}
.ds-acct-form>.ds-field input{font-size:12px;letter-spacing:0}
.ds-acct-form>.ds-btn{flex:none}
.ds-acct-form>.ds-btn:only-child{flex:1;justify-content:center}
/* NEW TO QFEX (v9 · Q225; js/ui/referral.js, referral-fx.js). Round 6 (the owner: "why the user click on the bottom when
   there is something like this above … do great stuff that incentivises the users, like crazy background motions"): the
   offer is the magnet of the way in and its own act. A CARD on a living ground — the canvas of referral-fx.js behind its
   words, one soft light that never rests — its figure arriving once, quietly, "of fees back." beside it, and
   at its right the field of a hundred, its ground, the ten in the orange a row at rest, slid by rows and columns (rounds 8–11), and one orange act at its foot;
   the sign-in stands under it as a key of its own (the plate's face; the orange one where the offer is not shown).
   Round 4's lesson holds: two acts, never one inside the other. The card's ground is its own token on each ground
   (--rofFace: paper raised and bright, dark deep so its light reads); its corners r16 */
.ds-wayk{display:flex;flex-direction:column;gap:var(--sp8);min-width:0}
.ds-way{position:relative;overflow:hidden;gap:var(--sp8)}
.ds-way-l{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ds-way-g{display:inline-grid;flex:none;line-height:0}
.ds-way[aria-busy="true"] .ds-way-g{animation:dsSpin .9s linear infinite}
.ds-way-ar{flex:none;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
  transition:transform var(--tArrive) var(--settle)}
.ds-way-c{margin:0;padding:0 var(--sp2);font:400 12px/1.45 var(--sans);color:var(--dim);text-wrap:balance}
.ds-way-c>b{font-weight:600;color:var(--accInk)}
/* the referral opened: a light runs back over the sign-in, the next step */
.ds-wayk.back .ds-way::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  background:linear-gradient(260deg,transparent 30%,rgba(var(--acc2RGB),.3) 50%,transparent 70%) no-repeat;background-size:250% 100%;background-position:-30% 0;
  animation:dsWayBack 1s var(--inout) .1s 1 both}
@keyframes dsWayBack{from{background-position:-30% 0}to{background-position:130% 0}}
.ds-rof{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;gap:var(--sp12);padding:var(--sp14) var(--sp14) 0;
  border-radius:var(--r16);color:var(--text);text-decoration:none;background:var(--rofFace);box-shadow:var(--rofRing);
  transition:box-shadow var(--tArrive) var(--ease),transform var(--tLeave) var(--settle)}
.ds-rof:is(:hover,:visited,:focus){color:var(--text);text-decoration:none}
.ds-rof:active{transform:translateY(1px);transition-duration:var(--tTouch)}
.ds-rof:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
ds-fx-ref{position:absolute;inset:0;z-index:-1;display:block;pointer-events:none}
ds-fx-ref>canvas{display:block;width:100%;height:100%}
.ds-rof-h{display:flex;align-items:baseline;justify-content:space-between;gap:var(--sp8)}
.ds-rof-h>b{font:var(--fLegSm);letter-spacing:var(--trLegSm);text-transform:uppercase;color:var(--accInk)}
.ds-rof-h>em{font:500 9.5px/1 var(--mono);font-style:normal;color:var(--faint)}
/* round 9: the figure and its words on one baseline ("10% of fees back."), the UTC day a whisper under them. Round 10
   (the owner: "a bit bigger … it's not a problem if it overlays the dots, that is the right background"): the field of a
   hundred is the block's ground at the card's right, the words free to stand over it */
.ds-rof-m{position:relative;display:flex;align-items:center;min-width:0}
.ds-rof-t{display:flex;flex-direction:column;gap:var(--sp4);min-width:0}
.ds-rof-l{display:flex;align-items:baseline;gap:var(--sp6);min-width:0}
/* round 12 (the owner: "no need for a count animation … only a smooth ui for this, with no bump at the end"): the
   figure is type, the accent run down its height, and the block comes in once, out of a soft focus, line after line,
   on --settle (a long tail and no overshoot); round 11's reels and their spring went */
.ds-rof-fig{flex:none;font:650 52px/1 var(--sans);letter-spacing:-.04em;margin-left:-.05em;padding-right:.04em;
  background:linear-gradient(180deg,var(--accentHi),var(--accInk) 85%);-webkit-background-clip:text;background-clip:text;color:transparent}
.ds-rof-w{font:600 15px/1.2 var(--sans);color:var(--text);white-space:nowrap}
.ds-rof-u{font:400 9.5px/1.2 var(--sans);font-style:normal;letter-spacing:.01em;color:var(--faint)}   /* round 11: a step down ("a little smaller") */
.ds-rof-fig,.ds-rof-w,.ds-rof-u,.ds-rof-go{animation:dsRofIn var(--tReveal) var(--settle) both}
.ds-rof-w{animation-delay:.06s}.ds-rof-u{animation-delay:.12s}.ds-rof-go{animation-delay:.18s}
@keyframes dsRofIn{from{opacity:0;transform:translateY(calc(5px*var(--rmT,1)));filter:blur(calc(5px*var(--rmB,1)))}}
/* the field: ten by ten points the canvas draws (the ninety, the ten); a square box at the block's right, centred on
   it and taking no room, so the words may stand over it */
.ds-rof-field{position:absolute;right:0;top:50%;width:var(--rofField,74px);height:var(--rofField,74px);margin-top:calc(var(--rofField,74px)/-2);pointer-events:none}
/* its one act, round 12: the card's own foot (a hairline across it, the words at the left, the orange key at the
   right) in place of a slab of orange under the offer: the card reads as one object and its act as its edge. The key
   is the system's orange face; at the hand it grows to hold the words' line, the ↗ leaves toward where it goes */
.ds-rof-go{display:flex;align-items:center;justify-content:space-between;gap:var(--sp8);height:44px;margin:0 calc(-1*var(--sp14));padding:0 var(--sp10) 0 var(--sp14);
  border-top:1px solid rgba(var(--acc2RGB),.16);font:var(--fBtn);color:var(--text)}
.ds-rof-k{position:relative;display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:13px;background:var(--priFace);box-shadow:var(--priSh);
  transition:width var(--tLeave) var(--settle)}
.ds-rof-k>.ds-way-ar{stroke:var(--onAccent);transition:transform var(--tLeave) var(--settle)}
.ds-wayk[data-went] .ds-rof-k>.ds-way-ar{transform:none}
@media (hover:hover){
  .ds-rof:hover{box-shadow:var(--rofRing),inset 0 0 0 1px rgba(var(--acc2RGB),.3)}
  .ds-rof:hover .ds-rof-k{width:40px}
  .ds-rof:hover .ds-rof-k>.ds-way-ar{transform:translate3d(calc(2px*var(--rmT,1)),calc(-2px*var(--rmT,1)),0)}
}
.ds-rof.is-hover{box-shadow:var(--rofRing),inset 0 0 0 1px rgba(var(--acc2RGB),.3)}
.ds-rof.is-hover .ds-rof-k{width:40px}
.ds-rof.is-hover .ds-rof-k>.ds-way-ar{transform:translate3d(calc(2px*var(--rmT,1)),calc(-2px*var(--rmT,1)),0)}
:root[data-motion] .ds-rof-fig,:root[data-motion] .ds-rof-w,:root[data-motion] .ds-rof-u,:root[data-motion] .ds-rof-go,
html[data-power="low"] .ds-rof-fig,html[data-power="low"] .ds-rof-w,html[data-power="low"] .ds-rof-u,html[data-power="low"] .ds-rof-go{animation:none}
:root[data-motion] .ds-wayk.back .ds-way::after,html[data-power="low"] .ds-wayk.back .ds-way::after{animation:none;opacity:0}
.ds-acct-g{display:inline-grid;flex:none;line-height:0}
.ds-mi>.ds-acct-g{width:14px;place-items:center;color:var(--faint)}
.ds-mi.cur>.ds-acct-g{color:var(--text)}
.ds-acct-why,.ds-acct-lk{display:flex;align-items:center;gap:var(--sp6);margin:0;min-height:16px;font:var(--fMeta)}
.ds-acct-why{color:var(--dnInk)}
.ds-acct-lk{color:var(--dim)}
.ds-acct-lk>.ds-btn{margin:-4px 0 -4px auto}
:root[data-motion] :is(.ds-acct-a .ds-tag,.ds-acct-lk)>.ds-led{animation:none}

/* ---- A VENUE'S MARK AS A TILE (v8 S8): the venue's art full-bleed to its
   own rounded edge, one hairline of ink over that edge so a coloured square
   keeps its corner on paper and on black. Never the art inside a frame
   (.ds-mk is the stand-in for an ASSET mark where mark.js is not loaded):
   14px of art in an 18px frame left paper down two sides and a 1.5px ring
   that read as a thick white border on matt black. ---- */
.ds-vmk{display:block;flex:none;border-radius:24%;outline:1px solid rgba(var(--ink),.14);outline-offset:-1px}
b.ds-vmk{display:grid;place-items:center;width:16px;height:16px;font:500 11px/1 var(--sans);color:var(--dim);background:var(--well)}

/* ---- THE VENUE'S STATE (v8.6 · U26; v8.8 · U11): per venue [dot][glyph] — the
   link's dot on the left, the venue's own glyph in its orange, then a
   deployment's tag and the round trip. No wordmark: the glyph is the venue
   (`.ds-wm` keeps its name for a screen reader and is where a tag is placed).
   `data-state` is the face the link SHOWS, held before it shows (js/ui/shell.js
   → venueLight), so nothing here changes "out of nothing":
     live   the dot solid with a soft STEADY halo (painted once), the glyph
            orange — nothing moves; slow answers are the figure's gold
            (`data-lag`), never a dimmer mark or dot
     wait   reconnecting: the dot breathes (its opacity and its halo's scale,
            the compositor's), the glyph holds
     off    disconnected: the dot an empty ring, the glyph grey with a cut
            through it (a mask, so it reads on either ground)
     back   (`data-back`, the first beat of a link heard again) one ring leaves
            the dot and the glyph settles into its colour; then still
   v8 S4 took away two LEDs that breathed forever at the footer's left; until
   v8.8 the mark dimmed to .55 on every connect attempt and the dot to .46 on
   every slow probe, which on a VPN was a light that flickered for no news. ---- */
.ds-venue{display:inline-flex;align-items:center;gap:6px;color:var(--accent2);transition:color .32s var(--ease)}
.ds-wm{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.ds-vg{position:relative;display:inline-grid;place-items:center;width:12px;height:12px;flex:none}
.ds-vg svg{display:block;width:12px;height:12px}
.ds-vdot{position:relative;flex:none;width:6px;height:6px;border-radius:50%;background:var(--accent2);box-shadow:0 0 0 .5px rgba(var(--acc2RGB),.35);
  transition:background-color .32s var(--ease),box-shadow .32s var(--ease)}
.ds-vdot::after{content:"";position:absolute;inset:-5px;border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(var(--acc2RGB),.5),rgba(var(--acc2RGB),.16) 55%,rgba(var(--acc2RGB),0));opacity:0;transition:opacity .32s var(--ease)}
.ds-venue[data-state="live"] .ds-vdot::after{opacity:1}
/* (v9 · no-pulse) connecting, the dot stands dimmed, no halo: it breathed and haloed every 2.4 s */
.ds-venue[data-state="wait"] .ds-vdot{opacity:.55}
/* THE BUSY SHEEN (v9 · no-pulse; the owner: "i don't like pulse at all", a premium shimmer instead): a key whose answer is
   on its way keeps its pressed face and a light crosses it until the answer lands — the ink's own colour at a breath, so
   it reads on both grounds; the light alone moves (background-position on a key-sized face). Reduced motion: still */
@keyframes dsSheen{from{background-position:130% 0}to{background-position:-30% 0}}
.ds-venue[data-state="off"]{color:var(--ghost)}
.ds-venue[data-state="off"] .ds-vdot{background:transparent;box-shadow:inset 0 0 0 1.25px currentColor}
.ds-venue[data-state="off"] .ds-vg>*{-webkit-mask:linear-gradient(135deg,#000 calc(50% - 1.7px),transparent calc(50% - 1.7px),transparent calc(50% + 1.7px),#000 calc(50% + 1.7px));
  mask:linear-gradient(135deg,#000 calc(50% - 1.7px),transparent calc(50% - 1.7px),transparent calc(50% + 1.7px),#000 calc(50% + 1.7px))}
.ds-venue[data-state="off"] .ds-vg::after{content:"";position:absolute;left:50%;top:-1.5px;width:1.25px;height:15px;margin-left:-.625px;border-radius:1px;
  background:currentColor;transform:rotate(45deg);pointer-events:none}
.ds-venue[data-back] .ds-vdot{animation:dsBackDot .5s var(--settle) both}
.ds-venue[data-back] .ds-vdot::before{content:"";position:absolute;inset:0;border-radius:50%;pointer-events:none;
  box-shadow:0 0 0 1.25px rgba(var(--acc2RGB),.85);animation:dsBackRing .72s var(--settle) both}
.ds-venue[data-back] .ds-vg{animation:dsBackMk .5s var(--settle) both}
@keyframes dsBackDot{0%{transform:scale(calc(1 - 0.6*var(--rmZ,1)))}60%{transform:scale(calc(1 + 0.25*var(--rmZ,1)))}100%{transform:none}}
@keyframes dsBackRing{0%{opacity:.95;transform:none}100%{opacity:0;transform:scale(calc(1 + 2.2*var(--rmZ,1)))}}
@keyframes dsBackMk{0%{transform:scale(calc(1 - 0.16*var(--rmZ,1)))}60%{transform:scale(calc(1 + 0.07*var(--rmZ,1)))}100%{transform:none}}
.ds-vms{min-width:6ch;font:500 10px/1 var(--mono);letter-spacing:0;text-transform:none;color:var(--dim);font-variant-numeric:tabular-nums;white-space:nowrap;transition:color .32s var(--ease)}
.ds-venue[data-lag] .ds-vms{color:var(--warnInk)}
.ds-venue:not([data-state="live"]) .ds-vms{display:none}
.ds-venue-tag{height:14px;padding:0 5px;border-radius:var(--r4);display:inline-flex;align-items:center;
  font:500 11px/1 var(--sans);font-style:normal;letter-spacing:.005em;text-transform:none;color:var(--dim);background:rgba(var(--ink),.06)}
:root[data-motion] .ds-venue .ds-vdot,:root[data-motion] .ds-venue .ds-vdot::after,:root[data-motion] .ds-venue .ds-vdot::before,:root[data-motion] .ds-venue .ds-vg{animation:none!important} :root[data-motion] .ds-venue[data-state="wait"] .ds-vdot{opacity:.6} :root[data-motion] .ds-venue[data-back] .ds-vdot::before{display:none}

/* ---- the MAINTENANCE BANNER (S11): orange, the venue's mark, what is
   happening. It hangs from the bar's lower edge, over the page rather than
   in it, so its arrival moves nothing (G5) ---- */
.ds-maint{position:relative;display:flex;align-items:center;gap:var(--sp10);max-width:min(880px,calc(100vw - 32px));min-height:var(--h34);padding:var(--sp6) var(--sp14) var(--sp6) var(--sp8);
  border-radius:0 0 var(--rPlate) var(--rPlate);color:var(--text);
  background:linear-gradient(180deg,var(--maintWash),rgba(var(--acc2RGB),.06)),var(--plateTall);
  box-shadow:inset 0 -1px 0 var(--maintRule),0 10px 24px rgba(var(--shd),calc(.1*var(--shdK)))}
.ds-maint>.ds-mk{width:20px;height:20px}
.ds-maint>b{flex:none;font:var(--fLeg);letter-spacing:var(--trLeg);text-transform:none;color:var(--maintInk)}
.ds-maint>span:not([class]){flex:1;min-width:0;font:var(--fLabelSm);color:var(--text);text-wrap:pretty}
.ds-maint>em{flex:none;font:var(--fMeta);font-style:normal;color:var(--dim);white-space:nowrap}

/* ---- the FOOTER: one 32px line of readouts, each a recessed well (S9). A
   readout never changes width with its value: its figure reserves --w ---- */
.ds-foot{display:flex;align-items:center;gap:var(--sp12);height:var(--footH);padding:0 var(--sp16);min-width:0;
  font:var(--fMeta);letter-spacing:0;color:var(--faint);box-shadow:inset 0 1px 0 rgba(var(--ink),.07);contain:layout paint}
.ds-foot>.sp{flex:1}
.ds-fr{display:inline-flex;align-items:center;gap:var(--sp8);flex:none;height:var(--h22);padding:0 var(--sp10);border:0;border-radius:7px;white-space:nowrap;
  background:var(--well);box-shadow:var(--wellSh);font:var(--fMeta);color:var(--dim);--travel:0px;--downSh:inset 0 2px 4px rgba(var(--shd),calc(.24*var(--shdK)))}
.ds-fr>b{font:var(--fLegSm);letter-spacing:var(--trLegSm);text-transform:none;color:var(--dim)}
.ds-fr>em{font-style:normal;font-weight:600;color:var(--text);font-variant-numeric:tabular-nums;min-width:var(--w,0);text-align:right}
.ds-fr .ds-i{--is:11px;color:var(--faint)}
/* the frame rate below the display's own is a statement, not a colour: gold
   when the laptop capped it (low power), ink otherwise */
.ds-fr[data-state="low"]>em{color:var(--warnInk)}
@media (hover:hover){ button.ds-fr:hover{background:var(--well2)} }

/* ---- PRIVACY (S14 · A8): hidden figures keep their box and show dots. The
   state is one attribute on <html>, so one write hides every figure ---- */
html[data-priv="on"] .ds-priv{color:transparent!important;-webkit-text-fill-color:transparent;
  background:radial-gradient(circle,var(--privDot) 0 1.3px,transparent 1.7px) left center/.62em 100% repeat-x;border-radius:2px}
html[data-priv="on"] .ds-priv *{color:transparent!important;-webkit-text-fill-color:transparent}

/* ---- numbers that change: TICK (a colour that decays), ROLL (a figure that
   replaces itself). js/ui/ds/figure.js drives both ---- */
.ds-tick{transition:color var(--tFlash) var(--settle)}
.ds-tick.up{color:var(--up);transition-duration:0s}
.ds-tick.dn{color:var(--dn);transition-duration:0s}
.ds-fig-roll{display:inline-grid;overflow:hidden;vertical-align:bottom}
.ds-fig-roll>span{grid-area:1/1;white-space:nowrap}
/* NUMBER ROLL (figure.js → numRoll): a figure at rest is its text; a digit that rolls stands, for its roll, in a
   window of two (the old leaving as the new arrives, stacked in one cell) */
.ds-nr{white-space:nowrap;font-variant-numeric:tabular-nums}
.ds-nr>.d{display:inline-grid;overflow:hidden;vertical-align:bottom}
.ds-nr>.d>b{grid-area:1/1;font-weight:inherit}

/* =====================================================================
   THE ON STATE IS A PAIR (v8 S6) — a face and its ink, stated together.
   A switch thrown dissolves in a face (`--onFill`, the pressed near-black
   unless a variant says otherwise) and its ink must turn WITH it (`--onInk`,
   `--onDark` unless a variant says otherwise). The wall's Positions key did
   not: pressed it went black, and under the pointer the button's hover rule
   re-inked its legend in the paper's own dark ink — 1.04 to 1, a hole in the
   bar (the owner: "change the background of the ui but not the text"). So
   the ink of an ON switch is stated here, after every hover rule and at a
   specificity no hover rule reaches, and a variant that changes the face
   names its ink beside it. A child that states a colour of its own (a count,
   a unit, a caret) takes the pair's second ink (`--onInk2`).
   tools/contrast.mjs measures every ON control on every surface, at rest
   and under a real pointer, on both grounds; it runs before a release.
   ===================================================================== */
.ds-seg[data-kind="side"]>button{--onInk:var(--onHue);--onInk2:var(--onHueDim)}
.ds-seg[data-kind="side"]>button[data-side="b"]{--onInk:var(--onBid);--onInk2:color-mix(in srgb,var(--onBid) 72%,transparent)}
.ds-seg[data-kind="side"]>button[data-side="a"]{--onInk:var(--onAsk);--onInk2:color-mix(in srgb,var(--onAsk) 72%,transparent)}
:is(.ds-slab,.ds-on-slab) .ds-seg>button,.ds-seg[data-on="slab"]>button{--onInk:var(--slabInk);--onInk2:var(--slabDim)}
.ds-c.ds-sw:is(.on,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[aria-expanded="true"]),
.ds-c.ds-sw:is(.on,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[aria-expanded="true"]):hover{color:var(--onInk,var(--chInk))}
.ds-c.ds-sw:is(.on,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[aria-expanded="true"]) em:not(.y-),
.ds-c.ds-sw:is(.on,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[aria-expanded="true"]) small:not(.y-),
.ds-c.ds-sw:is(.on,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[aria-expanded="true"]) .n:not(y-),
.ds-c.ds-sw:is(.on,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[aria-expanded="true"]) .u:not(y-),
.ds-c.ds-sw:is(.on,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[aria-expanded="true"]) .car:not(y-),
.ds-c.ds-sw:is(.on,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[aria-expanded="true"]) kbd:not(.ds-key){color:var(--onInk2,var(--chInk2))}
/* on a slab the thrown switch rises a step lighter */
.ds-slab,.ds-on-slab{--onFill:var(--slabOn);--onSh:var(--slabOnSh);--onInk:var(--slabInk);--onInk2:var(--slabDim);
  /* the family on a slab is matt black's on either ground */
  --chTrack:var(--chTrackK);--chLit:var(--slabOn);--chLitSh:var(--slabOnSh);--chInk:var(--slabInk);--chInk2:var(--slabDim);--chRest:var(--slabDim);
  --chOn:var(--slabInk);--chOnInk:var(--chOnInkK);--chOff:var(--chOffK);--chKnob:var(--chKnobK);--chKnobOn:var(--chKnobOnK);--chKnobSh:var(--chKnobShK);
  --chBox:var(--chBoxK);--chRing:var(--slabInk);
  --slRail:var(--slRailK);--slRun:var(--slRunK);--slTick:var(--slTickK);--slHalo:var(--slHaloK);--slKnob:var(--chKnobK);--slTickOn:var(--chKnobK);--slKnobSh:var(--chKnobShK)}

/* =====================================================================
   THE SWAP — one transition for a page, a section, a tab's content
   (js/ui/ds/transition.js; docs/contracts/motion.md → ONE TRANSITION).
   Under a View Transition the scope is `y-swap`: its old picture and the
   live new content DISSOLVE IN PLACE, one into the other (v9 · Q162):
   complementary on one curve, added light to light (plus-lighter), so a
   pixel both pages share — a plate, a strip, a rule — holds its value on
   every frame, and only what differs crosses. The curve is the settle
   curve, which sheds most of the old in the first third. The rest of the
   document is the new document at once (the root is no picture: it is
   the live page, and takes presses), and what persists over the scope
   (`y-keep`: a toast, a sheet, the grain) is shown live above it. Nothing
   here touches the real document, so nothing in it is resized or laid out
   by a swap. Until v9 the old picture faded first (120 ms) and the new
   one rose 6 px from 10 ms later, each over nothing: their strengths
   summed to 0.58 at 20 ms, the ground showed through every plate of the
   page and the risen edges, and the inner tabs' faces dipped 22 levels
   on paper and 8 on dark for 40 ms — the owner's "background flicker" on
   every press of the bar.
   ===================================================================== */
:root{--tSwapOut:120ms;--tSwapGap:10ms;--tSwapIn:170ms;--tSwapX:90ms;--tSwapCross:25ms;--swapDX:0px;--swapDY:6px}
/* (nav-burst) the document is no picture of its own: only what is named moves, the rest is the live page, and it takes
   a press — with the root captured, every press during a swap went to <html> and was lost (a second press on the bar) */
html[data-swap]{view-transition-name:none}
html[data-swap]::view-transition{pointer-events:none}
/* A PAGE'S PICTURES ARE WHOLE (v9 · Q162): the page's scope paints the ground it stands on while it is a picture, so
   every pixel of its pictures is the page's own as it is seen, nothing under them shown or guessed. Where a picture
   left the ground open, Safari did not show the page's ground there: the Wall's tab row went 44 levels lighter on the
   first frame of a swap and back on the first live frame after it (the owner's video, 2026-10-29) */
html[data-swap="page"] #view-root{background:var(--void)}
/* WHERE THE ENGINE PAYS FOR PICTURES (safari-swap; js/ui/ds/transition.js → viaLive): in WebKit the page left is not a
   picture but itself — the page kept and not yet hidden, and the parts that went with it (the wall's ticket column,
   its tape) — each drawn where it stood (its box, and its ground out to half the gap, set by the swap), over the page
   arriving, on the page's ground so every pixel of it is the page as it was seen, taking no press (a press goes to the
   page arriving), and faded out on the settle curve: the same light, frame for frame, as the two pictures above */
#view-root>[data-leaving]{z-index:2;pointer-events:none;will-change:opacity}
#view-root>[data-kept][data-leaving]{content-visibility:visible;background:var(--void)}
/* the page shown is one stacking layer in WebKit (a part of it raised in its own page — a strip's sheet, a plate — never
   shows through the page left over it), for as long as it is shown: made one only for the dissolve, its undoing cost the
   dissolve's last frame ~20 ms of restacking. The paper's grain stays over the page left while it goes, as over the
   page it leaves to. Keyed by tag so the browser files it (tools/check-styles.mjs): #view-root holds only divs (the
   views), asides (#rail, the wall's ticket column .wd) and the tape's button (#rail-open) */
@supports (font:-apple-system-body){ #view-root>div:not([data-kept]),#view-root>aside:not([data-kept]),#view-root>button:not([data-kept]){isolation:isolate} }
.grain[data-swap-live]{z-index:3}
html[data-swap]::view-transition-group(y-swap){animation-duration:var(--tSwapX);animation-timing-function:var(--settle)}
html[data-swap]::view-transition-old(y-swap),html[data-swap]::view-transition-new(y-swap){mix-blend-mode:plus-lighter;
  animation-duration:var(--tSwapX);animation-timing-function:var(--settle);animation-fill-mode:both}
html[data-swap]::view-transition-old(y-swap){animation-name:ds-swap-fade-out}
html[data-swap]::view-transition-new(y-swap){animation-name:ds-swap-fade-in}
html[data-swap]::view-transition-group(*.y-keep){animation:none}
html[data-swap]::view-transition-old(*.y-keep){display:none}
html[data-swap]::view-transition-new(*.y-keep){animation:none}
/* A PANE'S SECTIONS (Settings: js/ui/settings.js → select, kind "pane"): two sections' words are never read at once.
   The dissolve in place crosses in three frames at 120 Hz (--tSwapCross, linear: a + b = 1, the ground never dips), and
   the section is there. Why: the owner, 2026-10-31, "Books" read over "Appearance" with the island's pill over the
   sheet: THE SWAP's 180 ms on --settle left the old section legible for ~90 ms, a held double exposure (motion.md →
   OVERLAP) */
html[data-swap="pane"]::view-transition-group(y-swap),html[data-swap="pane"]::view-transition-old(y-swap),
html[data-swap="pane"]::view-transition-new(y-swap){animation-duration:var(--tSwapCross);animation-timing-function:linear}
/* (shell-tabmotion) A SWAP THAT HOLDS: its pictures wait, the old one whole over the new, while the page under them
   draws the new content; let go (js/ui/ds/transition.js → swap's `hold`), they move */
html[data-swap-hold]::view-transition-group(y-swap),html[data-swap-hold]::view-transition-old(y-swap),html[data-swap-hold]::view-transition-new(y-swap){animation-play-state:paused}
@keyframes ds-swap-fade-out{to{opacity:0}}
@keyframes ds-swap-fade-in{from{opacity:0}}
/* the phone's action bar, its own picture: it leaves and arrives with Trade, the way of travel its own (css/mobile.css) */
@keyframes ds-swap-out{to{opacity:0;transform:translate(calc(var(--swapDX) * -.5 * var(--rmT,1)),calc(var(--swapDY) * -.5 * var(--rmT,1)))}}
@keyframes ds-swap-in{from{opacity:0;transform:translate(calc(var(--swapDX) * var(--rmT,1)),calc(var(--swapDY) * var(--rmT,1)))}}
/* the scope that took the keyboard from a removed control wears no ring */
.ds-swap-host:focus{outline:none}

/* =====================================================================
   THE SELECTED ROW (v8; js/ui/ds/selplate.js) — the row in hand: the market
   a list is on, the row the keys walk, the pinned row. ONE soft plate lifted
   off the list, the row's own words in full ink, and nothing at its edge:
   the v7 lists marked it with an orange bar down the left side, and the owner
   called it ugly. It is the travelling plate of the tabs and the rails, so a
   list that moves its selection moves ONE element, on the re-rank spring, by
   transform alone (`.ds-selp` in a `.ds-selp-host`, painted under the rows).
   A row that cannot have a plate under it — an opaque row, a group pinned
   together — wears the same plate as `.ds-sel` (its ::after). The selected
   row carries no hue: the orange ring is keyboard focus and stays outside
   it, and a hover is a faint wash that never lifts.
   ===================================================================== */
.ds-selp-host{position:relative;isolation:isolate}
.ds-selp{position:absolute;left:0;top:0;width:0;height:0;z-index:-1;pointer-events:none;opacity:0;
  border-radius:var(--selR,var(--r8));background:var(--selFace);box-shadow:var(--selSh);
  transition:transform .3s var(--spring),opacity var(--tArrive) var(--ease)}
.ds-selp.on{opacity:1}
.ds-selp.seat{transition:opacity var(--tArrive) var(--ease)}
.ds-sel{position:relative;isolation:isolate}
.ds-sel::after{content:"";position:absolute;inset:var(--selIn,0);z-index:-1;pointer-events:none;
  border-radius:var(--selR,var(--r8));background:var(--selFace);box-shadow:var(--selSh)}

/* =====================================================================
   THE SCROLL (v9 · scrollbars; js/ui/scrollrail.js draws the rail;
   docs/contracts/components.md → ONE SCROLL LANGUAGE). The owner, 2026-11-06:
   "a new language for premium and modern ui for all the scrollbars, and
   ones better be hidden than on … minimal as hell". One language, three
   kinds of scroller, nothing at rest:
   · A PAGE (the manual, Settings' pane, Portfolio, a phone's view) shows
     the RAIL while the hand scrolls it, or while the pointer stands at its
     edge; at rest it shows nothing: its own foot says where it ends.
   · A LIST in a plate (the watchlist, the Screener, the calendar's agenda,
     Funding's table, a dock table, a menu's rows) says "more" at rest by a
     soft FADE on the edge that has more, and only there; the rail joins it
     while the hand scrolls.
   · A STRIP (chips, a tab row, a carousel) has the fade alone: a rail on a
     row of chips is noise.
   The browser draws no bar anywhere: a bar took 9 px of every pane, sat on
   every list at rest in the ground's grey, was thin in some lists and wide
   in others, and a classic bar coming and going moved the layout. Wheel,
   trackpad, keys and touch scroll exactly as they did; nothing here takes
   an event. A picture never shows the rail (shotcap.js → NO_BARS).
   ===================================================================== */
/* no native bar, on any ground, in Chrome and Safari: the pseudo, never a universal `*{scrollbar-width:none}`
   (a rule every element is tried against on every restyle: it cost the Screener's scroll a frame in five at
   120 Hz). No element sets scrollbar-width or scrollbar-color, which would turn the pseudo off for it. Firefox,
   which has no pseudo, keeps its own overlay bar and no rail (scrollrail.js) */
::-webkit-scrollbar{display:none}

/* THE FADE: an edge fades while there is more past it, and only then. The
   scroll itself drives it (a scroll-driven animation: no script, no frame
   of its own), so a list that fits has none, a list at its top fades only
   below, and the fade comes in over the first --sbFade of travel. A table
   with a sticky head fades only below (--sbFadeT: 0): its head is the top edge. It
   is a mask, so it is the ground's own, whatever plate the list stands on.
   An engine without scroll timelines (Firefox) draws no fade; the rail still
   comes while it scrolls. */
@property --sbT{syntax:"<length>";inherits:false;initial-value:0px}
@property --sbB{syntax:"<length>";inherits:false;initial-value:0px}
@property --sbL{syntax:"<length>";inherits:false;initial-value:0px}
@property --sbR{syntax:"<length>";inherits:false;initial-value:0px}
@keyframes sb-t{to{--sbT:var(--sbFadeT,var(--sbFade))}}
@keyframes sb-b{from{--sbB:var(--sbFade)}to{--sbB:0px}}
@keyframes sb-l{to{--sbL:var(--sbFadeX)}}
@keyframes sb-r{from{--sbR:var(--sbFadeX)}to{--sbR:0px}}
@supports (animation-timeline:scroll()){
  /* the lists: a fade above and below */
  .fxw-l,.mf-list,.mf-pvl,.scr-rl,.fx-sb,.fxc,.fxla-body,.tk-body,.cal-det,.vw-tray.all>.vw-fold-b,.wk-l,.wk-s.all>.vw-fold-b,.fd-pin,.dx-otp,
  .dx-play.staged .dx-pside,.zp-list,.up-in,.ds-rl,.isl-rl,.sw-list,.tov-in,.ds-sh-b,.wpr-list,.spg-secs,.spg-sl-l,.ycx-cmp-l,.pf-scroll,.pfhi-scroll,
  .pf-fit>.pf-cols>.pf-aside,.pfhi .pft-up,.yks-body,.clips-list,.bd-hpl,.bd-ltb,.bd-tkb,.bd-shb{
    mask-image:linear-gradient(to bottom,transparent,rgb(var(--ink)) var(--sbT),rgb(var(--ink)) calc(100% - var(--sbB)),transparent);
    animation:sb-t linear both,sb-b linear both;animation-timeline:scroll(self block),scroll(self block);
    animation-range:0 var(--sbFadeT,var(--sbFade)),calc(100% - var(--sbFade)) 100%}
  /* the strips: a fade at either end */
  .mf-chips,.mf-themes,.dx-chs,.dxt-chs,.wpr-chips,.wbar.sh6 .wb-l,.bd-chips .sc,.bd-shf .tray,html[data-phone] #view-focus .fx-stats,
  html[data-phone] .psz-levs,html[data-phone] .pmk-chips,html[data-phone] .pmh-car,html[data-phone] #view-portfolio .pf-tabs .ds-tabs,
  html[data-phone] #view-portfolio .pfp .pf-shead>[data-f],html[data-phone] #view-funding .fd-cls,html[data-phone] #view-tape .fv-bar,
  html[data-phone] .scr-rg,html[data-phone] #view-basket .bd-cards,html[data-phone] #view-basket .bd-picks,html[data-phone] #view-basket .bd-tabl,
  html[data-phone] #view-basket .bd-tabs .tst-row,html[data-tab] .pf-bar,html[data-tab] .fv-bar{
    mask-image:linear-gradient(to right,transparent,rgb(var(--ink)) var(--sbL),rgb(var(--ink)) calc(100% - var(--sbR)),transparent);
    animation:sb-l linear both,sb-r linear both;animation-timeline:scroll(self inline),scroll(self inline);
    animation-range:0 var(--sbFadeX),calc(100% - var(--sbFadeX)) 100%}
  /* the tables that run both ways: both fades, met */
  .fd-scroll,.vw-rw,.cal-ag,.set-rail{
    mask-image:linear-gradient(to bottom,transparent,rgb(var(--ink)) var(--sbT),rgb(var(--ink)) calc(100% - var(--sbB)),transparent),linear-gradient(to right,transparent,rgb(var(--ink)) var(--sbL),rgb(var(--ink)) calc(100% - var(--sbR)),transparent);mask-composite:intersect;
    animation:sb-t linear both,sb-b linear both,sb-l linear both,sb-r linear both;
    animation-timeline:scroll(self block),scroll(self block),scroll(self inline),scroll(self inline);
    animation-range:0 var(--sbFadeT,var(--sbFade)),calc(100% - var(--sbFade)) 100%,0 var(--sbFadeX),calc(100% - var(--sbFadeX)) 100%}
}
/* a table whose head is sticky has no top fade: the rows pass under the head's own ground, and that edge says it */
.fd-scroll,.cal-ag,.fx-sb{--sbFadeT:0px}

/* THE RAIL (js/ui/scrollrail.js): one thumb, no track, no arrows, drawn over
   the scroller's edge and taking no room. It comes in while the hand
   scrolls (or the pointer stands at the edge) and goes 0.7 s after; under
   the pointer, or held, it widens and darkens one step. Its ink is the
   ground's own (--scroll, --scrollHi: the ink at an alpha), so it reads on
   every plate it crosses. */
.sb-rail{position:fixed;left:0;top:0;z-index:2147483000;width:12px;height:0;pointer-events:none;opacity:0;contain:layout style size;
  transition:opacity .42s var(--settle)}
.sb-rail[data-ax="x"]{width:0;height:12px}
.sb-rail.on{opacity:1;transition-duration:.1s}
.sb-rail>i{position:absolute;left:0;top:0;width:12px;height:28px;will-change:transform}
.sb-rail[data-ax="x"]>i{width:28px;height:12px}
.sb-rail>i::after{content:"";position:absolute;top:0;bottom:0;right:2px;width:7px;border-radius:4px;background:var(--scroll);
  transform:scaleX(.58);transform-origin:100% 50%;transition:transform .18s var(--settle),background-color .18s var(--settle)}
.sb-rail[data-ax="x"]>i::after{top:auto;left:0;right:0;bottom:2px;width:auto;height:7px;transform:scaleY(.58);transform-origin:50% 100%}
.sb-rail.on:not(.ro)>i{pointer-events:auto;cursor:default}
.sb-rail.hot>i::after{transform:none;background:var(--scrollHi)}
/* the thumb's travel rides the box's own scroll (scrollrail.js → TL): the box is named --sbY or --sbX while the rail is
   on it, and html makes the name seen from the rail; the compositor moves the thumb with the content, in the same frame */
@supports (timeline-scope:--a){
  html{timeline-scope:--sbY,--sbX}
  .sb-rail[data-ax="y"]>i{animation:sb-ty linear both;animation-timeline:--sbY}
  .sb-rail[data-ax="x"]>i{animation:sb-tx linear both;animation-timeline:--sbX}
}
@keyframes sb-ty{/* rm: keep (the thumb follows the hand) */from{transform:none}to{transform:translateY(var(--sbTrav,0px))}}
@keyframes sb-tx{/* rm: keep (the thumb follows the hand) */from{transform:none}to{transform:translateX(var(--sbTrav,0px))}}

/* =====================================================================
   REDUCED MOTION — every state stays, every travel goes. (main.css's blanket
   already clamps CSS durations; these are the transforms it cannot reach.)
   ===================================================================== */
:root[data-motion] .ds-c:is(:active,.is-press){transform:none!important} :root[data-motion] .ds-key:is(.down,button:active){transform:none!important} :root[data-motion] .ds-led{animation:none!important} :root[data-motion] .ds-tip{transform:none!important}

/* =====================================================================
   THE SHEET (v8 · M2, rebuilt v8.1 · P1; js/ui/ds/sheet.js; docs/MOBILE.md
   §15.2) — one plate for a thumb: it rises from the bottom edge over the
   veil, stops at a detent, follows the hand and goes when thrown down. It
   is AS TALL AS WHAT IT HOLDS: the script lays the plate out at the
   screen's height plus OVER (kept under the edge, so a pull past the top
   never opens a gap) and translates it to show exactly its content, or a
   detent of a long one — only its transform moves. The scroller pads by
   what hangs below the edge (--shHide), so its last row always comes into
   view. The content sits in .ds-sh-c, whose own height IS the fit; a sheet
   that must fill (.fill: the market finder's list) stretches it instead.
   Both grounds read the kit's tall plate and sheet shadow; the veil is a
   dim, not a blur (a blur over a live book costs the GPU every frame).
   ===================================================================== */
.ds-sh-veil{position:fixed;inset:0;background:var(--shVeil,var(--veil));opacity:0;touch-action:none;-webkit-tap-highlight-color:transparent}
.ds-sh{--shR:var(--r18);--shSafeB:env(safe-area-inset-bottom,0px);
  position:fixed;left:0;right:0;bottom:0;margin:0 auto;width:100%;max-width:640px;height:90dvh;display:flex;flex-direction:column;
  background:var(--plateTall);box-shadow:var(--sheetSh);color:var(--text);border-radius:var(--shR) var(--shR) 0 0;outline:none;
  transform:translate3d(0,110%,0);will-change:transform;contain:layout paint style}
.ds-sh[hidden],.ds-sh-veil[hidden]{display:none}
/* the safe areas, for the script to read (offsetHeight: the top, offsetWidth: the bottom) */
.ds-sh-probe{position:fixed;left:0;top:0;width:env(safe-area-inset-bottom,0px);height:env(safe-area-inset-top,0px);visibility:hidden;pointer-events:none}
.ds-sh-h{flex:none;position:relative;display:flex;align-items:center;gap:var(--sp8);min-height:52px;padding:16px var(--sp16) 6px;touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}
.ds-sh.dragging .ds-sh-h{cursor:grabbing}
/* the grabber: a clear bar; a press on it that does not travel steps to the next detent */
.ds-sh-grip{position:absolute;left:50%;top:0;width:72px;height:22px;margin-left:-36px;padding:0;border:0;background:none;cursor:grab;-webkit-tap-highlight-color:transparent}
.ds-sh-grip i{position:absolute;left:50%;top:7px;width:36px;height:5px;margin-left:-18px;border-radius:3px;background:rgba(var(--ink),.24)}
.ds-sh-t{flex:1;min-width:0;font:var(--fTitleLg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ds-sh-hx{display:flex;align-items:center;gap:var(--sp6)}
.ds-sh-hx:empty{display:none}
/* the close key: a round well, 30 px to the eye, 44 to a finger */
.ds-sh-x{flex:none;display:grid;place-items:center;width:30px;height:30px;margin:-2px -4px -2px 0;padding:0;border:0;border-radius:50%;
  background:rgba(var(--ink),.07);color:var(--dim);--is:13px;--travel:0px}
.ds-sh-x::after{content:"";position:absolute;inset:-7px}
.ds-sh-x .ds-i{stroke-width:2}
/* a popover that fills the phone: the close key rides the top-right corner as it scrolls, over the head's end, taking no row */
.ds-pop-x{position:sticky;top:0;float:right;z-index:3;margin:0 0 -30px 0}
.ds-sh-b{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
  padding:var(--sp4) var(--sp16) calc(var(--sp16) + var(--shSafeB) + var(--shHide,0px))}
.ds-sh-c{display:flow-root}
/* a sheet that FILLS: its content is the visible plate's height (the part under the edge is a margin) */
.ds-sh.fill .ds-sh-b{display:flex;flex-direction:column;padding-bottom:var(--shSafeB)}
.ds-sh.fill .ds-sh-c{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;margin-bottom:var(--shHide,0px)}
/* ON ITS SIDE (--shSide:1, set by the page): the screen's height, a column wide, at the trailing edge */
.ds-sh.side{left:auto;right:0;top:0;bottom:0;height:auto;width:min(440px,60vw);max-width:none;margin:0;
  border-radius:var(--shR) 0 0 var(--shR);transform:translate3d(110%,0,0);padding-right:env(safe-area-inset-right,0px)}
.ds-sh.side .ds-sh-grip{display:none}
.ds-sh.side .ds-sh-h{padding-top:10px;min-height:46px}
.ds-sh.side .ds-sh-b{padding-bottom:calc(var(--sp16) + var(--shSafeB))}
.tov-xc{display:none;align-self:center}   /* the phone has no Esc: the kit's close key (the hints beside it are the keyboard's) */
html[data-phone] .tov-xc{display:grid}
html[data-phone] .tov-k{display:none}

/* ---- THE SIDES AND THE MARKETS (v9 · Q236 v3; island.js → groupsHTML): rows of groups under the title, each the side's tag
   on its own soft ground, the markets' marks stacked as the pill's, the rest counted, and why in the sub-line's ink ---- */
.isl-gr{display:flex;align-items:center;gap:14px;height:22px}
.isl-gp{display:inline-flex;align-items:center;gap:7px;flex:none}
.isl-gp>.isl-sd{height:18px}
.isl-gp>.isl-lm .amk{width:16px;height:16px;border-radius:8px}
.isl-gp>.isl-lm .amk+.amk{margin-left:-5px}
.isl-gm{margin-left:-3px;font:500 11px/1 var(--mono);font-style:normal;font-variant-numeric:tabular-nums;color:var(--slabDim)}
.isl-gy{font:400 12px/1 var(--sans);color:var(--slabDim)}
.isl-bd>.isl-gr{margin-top:2px}
