/* Designme shared core: tokens for Blueprint (default), Soft (data-style="soft") and Studio (data-style="studio"), on <html> or on any element around the components, light and dark (<html data-theme="dark">) */
:where([data-c]) [hidden]{display:none!important}
/* hold(): an end state centred in the height its component had */
.held{display:flex;flex-direction:column;justify-content:center}
/* the glide starts fast in both styles, so the field is on its way up before an opening list reaches the stage's edge */
.glide{transform:translateY(var(--dm-gy,0px));transition:transform var(--dm-t) cubic-bezier(.22,1,.36,1)}
/* and a list that opens under a gliding field fades in a beat after it starts to move */
.glide>.csx-pop.open{transition-delay:.08s}
.glide>.msc-pop.open{transition-delay:.08s,.08s,.08s,0s}
.glide>.six-pop.open{transition-delay:.08s}
/* Soft 2: one quiet surface per object, grey type for finished work, motion only on what is happening now */
:root,[data-style="soft"],[data-style="studio"]{
  --dm-motion:soft;
  --dm-page:#f7f7f7; --dm-stage:#fafafa; --dm-surface:#ffffff; --dm-raised:#ffffff;
  --dm-fg:#171717; --dm-fg2:#525252; --dm-muted:#6a6a6a; --dm-faint:#c4c4c4; --dm-rail:#d4d4d4; --dm-line:#e8e8e8; --dm-field-line:#d4d4d4; --dm-line-strong:#858585; --dm-field-line-strong:#b3b3b3;
  --dm-chip:#f3f3f3; --dm-hover:#ebebeb; --dm-press:#e3e3e3; --dm-wash:#f9f9f9; --dm-row:#fafafa;
  --dm-soft:#ececec; --dm-soft-h:#e3e3e3; --dm-soft-ring:inset 0 0 0 1px rgba(0,0,0,.03); --dm-dis:#a6a6a6;
  /* disabled: text and icons take --dm-dis; a control with a fill swaps it for --dm-dis-fill (Blueprint hatches it) */
  --dm-dis-fill:var(--dm-soft); --dm-dis-hatch:none;
  --dm-shadow-lift:0 0 0 1px rgba(0,0,0,.05),0 2px 4px rgba(0,0,0,.035),0 12px 24px -10px rgba(0,0,0,.1);
  /* the accent has three roles: --dm-accent fills (with --dm-on-accent on top, 4.5:1), --dm-accent-fg is text and icons in the accent
     (4.5:1 on the surface, and on the chips and tints it sits on) and --dm-accent-mark is lines, rings and chart marks (3:1). A
     light accent like lime keeps its fills and gets a darker mark and ink-coloured text on a light page */
  --dm-accent:#116ff8; --dm-on-accent:#ffffff; --dm-accent-fg:#0f5fd5; --dm-accent-mark:#0a66ff; --dm-sel:color-mix(in srgb,var(--dm-accent) 6%,transparent);
  /* fields (text fields, textareas, search fields, dropdown triggers) have a dimmed grey edge, --dm-field-line, that steps up
     a little, to --dm-field-line-strong, while they have the focus. The keyboard's focus ring on every other control is 2px of
     a stronger grey (--dm-line-strong, as --dm-focus), as an outline offset 2px, or as a 2px box-shadow ring where an outline would be clipped. Never
     the accent and never black, and only from the keyboard (:focus-visible), so a click or a tap never shows one */
  --dm-focus:var(--dm-line-strong);
  --dm-ink:#1b1b1b; --dm-on-ink:#ffffff;
  /* the status tints sit with the core tag colours below (21 Nov): a step stronger in light, deep and opaque in dark, each
     keeping its text at 4.5:1 and APCA Lc 60 on every surface */
  --dm-ok:#0c7c39; --dm-ok-bg:#daf8df; --dm-ok-mark:#00a23d; --dm-warn:#9a4704; --dm-warn-bg:#ffe5b8; --dm-warn-mark:#f76700; --dm-bad:#d0111c; --dm-bad-bg:#fee4e1; --dm-bad-mark:#f04438;
  --dm-merge:#7c4cd4; --dm-merge-bg:#f2ecfd; --dm-add:#187633; --dm-del:#c7212c;
  /* the core tag colours (owner, 21 Nov: "make it more saturated... look at the Attio chips"): a clearly coloured tint and the
     most saturated text of its hue that keeps 4.5:1 and APCA Lc 60 on it (and on every light surface) */
  --dm-pb:#0963da; --dm-pb-bg:#e0ecfe; --dm-pl:#7314fa; --dm-pl-bg:#eae8fe; --dm-pm:#0c7a38; --dm-pm-bg:#d5f5da; --dm-pp:#ab4d0a; --dm-pp-bg:#fee6d3;
  --dm-pr:#ce1141; --dm-pr-bg:#fee4e4; --dm-py:#8c610a; --dm-py-bg:#f7ebc6; --dm-pk:#c6107e; --dm-pk-bg:#fee3ed; --dm-pt:#0c7679; --dm-pt-bg:#c5f6fb;
  /* avatars have colours of their own, the same in every style and theme: a bright fill and the initials' ink on it (4.5:1,
     APCA Lc 60). Blue, violet, red and pink are deep enough for white; green, teal, yellow and orange are too light for white
     and take a dark ink of their own hue. An avatar given one of these, var(--dm-av-l), takes its ink, var(--dm-av-l-ink), on its own */
  --dm-av-b:#126fe6; --dm-av-b-ink:#ffffff; --dm-av-l:#834ff5; --dm-av-l-ink:#ffffff; --dm-av-r:#d73341; --dm-av-r-ink:#ffffff; --dm-av-k:#cf3288; --dm-av-k-ink:#ffffff;
  --dm-av-m:#27cf86; --dm-av-m-ink:#052616; --dm-av-t:#28c9d8; --dm-av-t-ink:#042428; --dm-av-y:#e9ac1a; --dm-av-y-ink:#2a1d03; --dm-av-p:#fda154; --dm-av-p-ink:#301804;
  --dm-ts:#2c6cb2; --dm-react:#0a738b;
  /* every raised surface carries its own hairline edge, so nothing needs a separate ring */
  /* soft, layered shadows: a hairline, a contact shadow and two wide, faint ones. No highlight on the top edge or glow inside
     (owner, 18 Nov): Soft's cards and buttons are lit from outside only. Lighter and tighter since 26 Nov (owner: "shadows in
     Soft style are too strong"): a card is lifted by a whisper, and its edge is the hairline, about the half-strength --dm-line
     on the stage; a popover keeps a step more lift than a card */
  --dm-shadow:0 0 0 1px rgba(0,0,0,.045),0 1px 1px rgba(0,0,0,.02),0 2px 4px -2px rgba(0,0,0,.025),0 6px 12px -6px rgba(0,0,0,.03),0 12px 24px -12px rgba(0,0,0,.035);
  --dm-shadow-pop:0 0 0 1px rgba(0,0,0,.05),0 1px 2px rgba(0,0,0,.03),0 4px 8px -4px rgba(0,0,0,.04),0 10px 20px -8px rgba(0,0,0,.05),0 20px 36px -16px rgba(0,0,0,.07);
  /* a white button on a tinted row or notice: a hairline edge and no shadow (owner, 18 Nov: Soft's buttons cast none) */
  --dm-on-tint-btn:inset 0 0 0 1px rgba(0,0,0,.08); --dm-on-tint-btn-h:inset 0 0 0 1px rgba(0,0,0,.14); --dm-tint-h:color-mix(in srgb,currentColor 6%,transparent);
  --dm-shadow-toast:0 0 0 1px rgba(0,0,0,.03),0 4px 12px rgba(0,0,0,.08);
  --dm-hl:#fdeb9a; --dm-hl-ok:#d3f1df;
  /* Soft is plush: every corner is scaled by --dm-rk, and larger still where the browser draws true squircles (below) */
  --dm-rk:1.25;
  --dm-r-card:calc(16px * var(--dm-rk-l,var(--dm-rk)));
  /* spacing runs on a 4px scale, and corners on a small set of radii; values off the scale are still written out */
  --dm-s-1:4px; --dm-s-2:8px; --dm-s-3:12px; --dm-s-4:16px; --dm-s-5:20px; --dm-s-6:24px; --dm-s-8:32px; --dm-r-xs:calc(4px * var(--dm-rk-s,var(--dm-rk))); --dm-r-lg:calc(20px * var(--dm-rk-l,var(--dm-rk))); --dm-r-in:calc(12px * var(--dm-rk-l,var(--dm-rk))); --dm-r-sm:calc(8px * var(--dm-rk-m,var(--dm-rk))); --dm-r-pill:999px;
  /* fields and tags have slightly rounded corners, never pills: --dm-r-field for one-line fields and dropdown triggers, --dm-r-box
     for boxes you write several lines in, --dm-r-tag for tags. Where the browser smooths corners (corner-shape: squircle) a
     corner looks smaller, so each takes the larger -sq radius there to look the same size. Fields share one height and,
     where a component is a single field, one width */
  --dm-r-field:10px; --dm-r-field-sq:16px; --dm-r-box:14px; --dm-r-box-sq:22px; --dm-r-tag:7px; --dm-r-tag-sq:12px;
  --dm-field-h:40px; --dm-field-w:320px;
  --dm-sans:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --dm-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --dm-ease:cubic-bezier(.22,1,.36,1); --dm-ease-io:cubic-bezier(.65,0,.35,1);
  --dm-t-fast:.22s; --dm-t:.45s; --dm-t-slow:.7s;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]),:root:not([data-theme="light"]) [data-style="soft"],:root:not([data-theme="light"]) [data-style="studio"]{
  --dm-page:#111111; --dm-stage:#1c1c1c; --dm-surface:#262626; --dm-raised:#363636;
  --dm-fg:#f2f2f2; --dm-fg2:#c9c9c9; --dm-muted:#c0c0c0; --dm-faint:#555555; --dm-rail:#414141; --dm-line:#333333; --dm-field-line:#747474; --dm-line-strong:#808080; --dm-field-line-strong:#a3a3a3;
  --dm-chip:#303030; --dm-hover:#373737; --dm-press:#3f3f3f; --dm-wash:#2c2c2c; --dm-row:color-mix(in srgb,var(--dm-fg) 5.5%,transparent);
  --dm-soft:#323232; --dm-soft-h:#3a3a3a; --dm-soft-ring:inset 0 0 0 1px rgba(255,255,255,.035); --dm-dis:#737373;
  --dm-shadow-lift:0 0 0 1px rgba(255,255,255,.08),0 2px 4px rgba(0,0,0,.26),0 12px 24px -10px rgba(0,0,0,.45);
  --dm-accent:#116ff8; --dm-on-accent:#ffffff; --dm-accent-fg:#9dc4ff; --dm-accent-mark:#2f86ff; --dm-sel:color-mix(in srgb,var(--dm-accent) 9%,transparent);
  --dm-ink:#f2f2f2; --dm-on-ink:#161616; --dm-seg-k-shadow:0 0 0 1px rgba(255,255,255,.06),0 1px 2px rgba(0,0,0,.35); --dm-tip-bg:#3d3d3b; --dm-tip-fg:var(--dm-fg); --dm-tip-ring:0 0 0 1px rgba(255,255,255,.12);
  --dm-ok:#4ade80; --dm-ok-bg:#14391e; --dm-ok-mark:#1fd160; --dm-warn:#ffc247; --dm-warn-bg:rgba(255,184,40,.2); --dm-warn-mark:#ffa940; --dm-bad:#ffaca4; --dm-bad-bg:#4c221f; --dm-bad-mark:#f97066;
  --dm-merge:#cbb8ff; --dm-merge-bg:rgba(169,139,255,.15); --dm-add:#63d998; --dm-del:#ffa9ae;
  --dm-pb:#9ac1fd; --dm-pb-bg:#1b3051; --dm-pl:#c0b6fd; --dm-pl-bg:#302a4f; --dm-pm:#6ad485; --dm-pm-bg:#14391e; --dm-pp:#fdab81; --dm-pp-bg:#472806;
  --dm-pr:#fda8ab; --dm-pr-bg:#4c2124; --dm-py:#f5b23a; --dm-py-bg:#3b2f04; --dm-pk:#fda4cb; --dm-pk-bg:#492134; --dm-pt:#21dce2; --dm-pt-bg:#05373c;
  --dm-ts:#8fbcff; --dm-react:#3dd0ee;
  --dm-shadow:0 0 0 1px rgba(255,255,255,.06),0 1px 2px rgba(0,0,0,.22),0 4px 10px -4px rgba(0,0,0,.24),0 12px 24px -12px rgba(0,0,0,.28); --dm-shadow-pop:0 0 0 1px rgba(255,255,255,.12),0 2px 4px rgba(0,0,0,.26),0 8px 20px -8px rgba(0,0,0,.34),0 20px 40px -18px rgba(0,0,0,.4); --dm-shadow-toast:0 0 0 1px rgba(255,255,255,.05),0 4px 12px rgba(0,0,0,.4); --dm-hl:rgba(240,200,60,.3); --dm-hl-ok:rgba(60,207,126,.24); --dm-on-tint-btn:inset 0 0 0 1px rgba(255,255,255,.1); --dm-on-tint-btn-h:inset 0 0 0 1px rgba(255,255,255,.16); --dm-tint-h:rgba(0,0,0,.1); color-scheme:dark}}
:root[data-theme="dark"],:root[data-theme="dark"] [data-style="soft"],:root[data-theme="dark"] [data-style="studio"]{
  --dm-page:#111111; --dm-stage:#1c1c1c; --dm-surface:#262626; --dm-raised:#363636;
  --dm-fg:#f2f2f2; --dm-fg2:#c9c9c9; --dm-muted:#c0c0c0; --dm-faint:#555555; --dm-rail:#414141; --dm-line:#333333; --dm-field-line:#747474; --dm-line-strong:#808080; --dm-field-line-strong:#a3a3a3;
  --dm-chip:#303030; --dm-hover:#373737; --dm-press:#3f3f3f; --dm-wash:#2c2c2c; --dm-row:color-mix(in srgb,var(--dm-fg) 5.5%,transparent);
  --dm-soft:#323232; --dm-soft-h:#3a3a3a; --dm-soft-ring:inset 0 0 0 1px rgba(255,255,255,.035); --dm-dis:#737373;
  --dm-shadow-lift:0 0 0 1px rgba(255,255,255,.08),0 2px 4px rgba(0,0,0,.26),0 12px 24px -10px rgba(0,0,0,.45);
  --dm-accent:#116ff8; --dm-on-accent:#ffffff; --dm-accent-fg:#9dc4ff; --dm-accent-mark:#2f86ff; --dm-sel:color-mix(in srgb,var(--dm-accent) 9%,transparent);
  --dm-ink:#f2f2f2; --dm-on-ink:#161616; --dm-seg-k-shadow:0 0 0 1px rgba(255,255,255,.06),0 1px 2px rgba(0,0,0,.35); --dm-tip-bg:#3d3d3b; --dm-tip-fg:var(--dm-fg); --dm-tip-ring:0 0 0 1px rgba(255,255,255,.12);
  --dm-ok:#4ade80; --dm-ok-bg:#14391e; --dm-ok-mark:#1fd160; --dm-warn:#ffc247; --dm-warn-bg:rgba(255,184,40,.2); --dm-warn-mark:#ffa940; --dm-bad:#ffaca4; --dm-bad-bg:#4c221f; --dm-bad-mark:#f97066;
  --dm-merge:#cbb8ff; --dm-merge-bg:rgba(169,139,255,.15); --dm-add:#63d998; --dm-del:#ffa9ae;
  --dm-pb:#9ac1fd; --dm-pb-bg:#1b3051; --dm-pl:#c0b6fd; --dm-pl-bg:#302a4f; --dm-pm:#6ad485; --dm-pm-bg:#14391e; --dm-pp:#fdab81; --dm-pp-bg:#472806;
  --dm-pr:#fda8ab; --dm-pr-bg:#4c2124; --dm-py:#f5b23a; --dm-py-bg:#3b2f04; --dm-pk:#fda4cb; --dm-pk-bg:#492134; --dm-pt:#21dce2; --dm-pt-bg:#05373c;
  --dm-ts:#8fbcff; --dm-react:#3dd0ee;
  --dm-shadow:0 0 0 1px rgba(255,255,255,.06),0 1px 2px rgba(0,0,0,.22),0 4px 10px -4px rgba(0,0,0,.24),0 12px 24px -12px rgba(0,0,0,.28); --dm-shadow-pop:0 0 0 1px rgba(255,255,255,.12),0 2px 4px rgba(0,0,0,.26),0 8px 20px -8px rgba(0,0,0,.34),0 20px 40px -18px rgba(0,0,0,.4); --dm-shadow-toast:0 0 0 1px rgba(255,255,255,.05),0 4px 12px rgba(0,0,0,.4); --dm-hl:rgba(240,200,60,.3); --dm-hl-ok:rgba(60,207,126,.24); --dm-on-tint-btn:inset 0 0 0 1px rgba(255,255,255,.1); --dm-on-tint-btn-h:inset 0 0 0 1px rgba(255,255,255,.16); --dm-tint-h:rgba(0,0,0,.1); color-scheme:dark}

/* the accent's hover fill (--dm-accent-2) and tint (--dm-accent-bg) are worked out from the accent, in every style and theme, so a
   picked accent brings its own. Hovering a filled button moves its fill away from its text colour: darker under white text,
   lighter under dark text, so the label keeps its contrast in every style, theme and accent */
:root,[data-style="soft"],[data-style="studio"]{--dm-accent-2:color-mix(in srgb,var(--dm-accent) 86%,#000);--dm-accent-bg:color-mix(in srgb,var(--dm-accent) 9%,transparent)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]),:root:not([data-theme="light"]) [data-style="soft"],:root:not([data-theme="light"]) [data-style="studio"]{--dm-accent-2:color-mix(in srgb,var(--dm-accent) 84%,#fff);--dm-accent-bg:color-mix(in srgb,var(--dm-accent) 13%,transparent)}}
:root[data-theme="dark"],:root[data-theme="dark"] [data-style="soft"],:root[data-theme="dark"] [data-style="studio"]{--dm-accent-2:color-mix(in srgb,var(--dm-accent) 84%,#fff);--dm-accent-bg:color-mix(in srgb,var(--dm-accent) 13%,transparent)}
@supports (color:rgb(from red r g b)){:root,[data-style="soft"],[data-style="studio"],:root:not([data-theme="light"]),:root:not([data-theme="light"]) [data-style="soft"],:root:not([data-theme="light"]) [data-style="studio"],:root[data-theme="dark"],:root[data-theme="dark"] [data-style="soft"],:root[data-theme="dark"] [data-style="studio"]{--dm-accent-2:color-mix(in srgb,var(--dm-accent) 86%,rgb(from var(--dm-on-accent) calc(255 - r) calc(255 - g) calc(255 - b)))}}
@supports not (color:rgb(from red r g b)){:root,[data-style="soft"],[data-style="studio"],:root:not([data-theme="light"]),:root:not([data-theme="light"]) [data-style="soft"],:root:not([data-theme="light"]) [data-style="studio"],:root[data-theme="dark"],:root[data-theme="dark"] [data-style="soft"],:root[data-theme="dark"] [data-style="studio"]{--dm-accent-2:color-mix(in srgb,var(--dm-accent) 86%,#000)}:root:not([data-style="soft"],[data-style="studio"]),:root:not([data-style="soft"],[data-style="studio"]):not([data-theme="light"]),:root:not([data-style="soft"],[data-style="studio"])[data-theme="dark"]{--dm-accent-2:color-mix(in srgb,var(--dm-accent) 86%,#fff)}}
/* picked things (chips, options, cards in a picker) are white tiles with a dimmed grey edge, and the picked one's edge
   is a light step stronger, never a dark or black outline */
:root,[data-style="soft"],[data-style="studio"]{--dm-pick-line:var(--dm-rail);--dm-pick-on:var(--dm-faint)}

/* Soft is plush: corners are drawn as squircles where the browser can (corner-shape), and since a squircle's corner
   reads smaller than a round one of the same radius, the radii grow with it. Circles (spinners, loader rings, avatars,
   dots) stay round; pills, chips, buttons and switchers are squircles too. Blueprint stays square (its corners are 0) */
@supports (corner-shape:squircle){
:root,[data-style="soft"],[data-style="studio"]{--dm-rk:1.7}
:root:not([data-style="soft"],[data-style="studio"]){--dm-rk:1}
:where([data-c]) *,:where([data-c]) *::before,:where([data-c]) *::after{corner-shape:squircle}
.acx-n .s,.afx-pen,.afx-r b,.agx-now i,.aln-cw-tr b,.aln-pk,.asx-lp-stop,.asx-lp-th,.asx-lp-th i,.asx-tb-dot,.atx-cmp-ok,.atx-cmp-send,.atx-cmp-x,.av,.bdg-dot,.bdg-x,.bdg-x:focus-visible,.btx-live,.ccx-fl .flag,.ccx-sw,.cmx-go,.cmx-pin,.cpx-att .fchip .rt,.cpx-att .fchip .x,.cpx-dot,.cpx-send,.ctb-n .s,.dot,.ecx-days b,.ecx-dh.t b,.evr-dot,.evr-jg-arc .tr,.evr-jg-arc i,.fxp-n .ag,.ib,.lnx-k i,.lnx-pt,.mix-dot,.msc-c button,.ntx-n .u,.plx-s .n,.pulse,.rxx-add,.sgc-wr .e i,.spin,.ssx-ics span,.stx-conf i.d,.stx-st .n,.think i,.tk-st .mk,.tsk-c .g,.tst-t .g,.ttp-av,.cxm-av,.crs-dots button,.rdx-lg i,.scx-lg i.c,.cvq-lg i.c,.rgx-r i,.wsx-marks span,.ths-dg i,.ths-mtx i,.hsc-dot,.hsc-pt i,.mtx-now i,.bws-dots i,.dtx-sl .k,.hox-av,.ste-go,.tcx[data-d="inline"] .tcb-wire i,.vor .vor-orb i,.vor-dot,.vor-gl,.vor-orb i,.igx-steps i,.axc-m{corner-shape:round}
.aln-det div::before{corner-shape:round}
.asx-lp-rg::-moz-range-thumb{corner-shape:round}
.asx-lp-rg::-webkit-slider-thumb{corner-shape:round}
.btx-live::after{corner-shape:round}
.dpk-d.t::after{corner-shape:round}
.ecx-now::before{corner-shape:round}
.fxp-tree::-webkit-scrollbar-thumb{corner-shape:round}
.hand::before{corner-shape:round}
.hnx-dot{corner-shape:round}
.pulse::after{corner-shape:round}
.radar::after{corner-shape:round}
.radar::before{corner-shape:round}
.sgc-mo .d.e::after,.sgc-mo .d b,.sgc-sel i,.sgc-lr i,.ntx-u i{corner-shape:round}
.stx-ok::after{corner-shape:round}
.tmx-body::-webkit-scrollbar-thumb{corner-shape:round}
.toggle::after{corner-shape:round}
.afx-desk::before{corner-shape:round}
}
/* ---------- page shell ---------- */
:where([data-c]) *{box-sizing:border-box}
:where([data-c]) button,:where([data-c]) input,:where([data-c]) textarea,:where([data-c]) select{font:inherit;color:inherit}
:where([data-c]) button{background:none;border:0;padding:0;cursor:pointer}
/* one weight for emphasis: medium, never bold */
:where([data-c]) b,:where([data-c]) strong{font-weight:500}
:where([data-c]) :focus-visible{outline:2px solid var(--dm-focus);outline-offset:2px;border-radius:calc(6px * var(--dm-rk-s,var(--dm-rk)))}
/* a control pressed with a pointer, or a button that got the focus back after a click (closePops), keeps no ring until a key
   that moves or acts is pressed; a ring drawn on the control's neighbour (a checkbox's box) goes with it */
[data-nofv]:focus-visible,[data-nofv]:focus-visible+*{outline:0}
/* a field shows the focus with its own edge, which steps up to --dm-field-line-strong, so it never takes the ring as well */
:where([data-c]) :focus-visible:is(input:not([type="checkbox"],[type="radio"],[type="range"],[type="file"],[type="button"],[type="submit"],[type="reset"]),textarea,select,[contenteditable]:not([contenteditable="false"])){outline:0}
.stage-in{width:100%;max-width:440px;min-width:0;position:relative;container-type:inline-size}
.card.wide .stage-in{max-width:720px}

/* ---------- icons ---------- */
.i{width:16px;height:16px;flex:none;display:inline-block;vertical-align:-3px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.i.s{width:14px;height:14px}.i.xs{width:12px;height:12px}.i.l{width:18px;height:18px}
.brand{width:16px;height:16px;display:block;flex:none}
.flag{width:20px;height:15px;border-radius:var(--dm-r-tiny,3px);object-fit:cover;display:block;flex:none;box-shadow:0 0 0 1px rgba(0,0,0,.08)}

/* ---------- primitives ---------- */
.mono{font-family:var(--dm-mono)}
.sp{flex:1}
.num{font-variant-numeric:tabular-nums}
.muted{color:var(--dm-muted)}.fg2{color:var(--dm-fg2)}
.panel{background:var(--dm-surface);border-radius:var(--dm-r-card);box-shadow:var(--dm-shadow);position:relative}
.ib{width:30px;height:30px;border-radius:50%;display:inline-grid;place-items:center;color:var(--dm-fg2);transition:background var(--dm-t-fast),color var(--dm-t-fast),transform .15s}
@media (hover:hover) and (pointer:fine){.ib:hover{background:var(--dm-row);color:var(--dm-fg)}}
.ib.fill{background:var(--dm-soft);box-shadow:var(--dm-soft-ring)}
@media (hover:hover) and (pointer:fine){.ib.fill:hover{background:var(--dm-soft-h)}}
.ib.on{background:var(--dm-accent-bg);color:var(--dm-accent-fg,var(--dm-accent))}
.chip{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 var(--dm-s-3);border-radius:var(--dm-r-pill);font-size:13px;color:var(--dm-fg2);background:var(--dm-chip-fill);white-space:nowrap;transition:background var(--dm-t-fast),color var(--dm-t-fast),box-shadow var(--dm-t-fast)}
@media (hover:hover) and (pointer:fine){.chip:hover{background:var(--dm-chip-fill-h);color:var(--dm-fg)}}
.chip.on{background:var(--dm-surface);color:var(--dm-fg);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--dm-pick-on) 50%,transparent)}
.chip.sm{height:24px;padding:0 9px;font-size:12px}
/* a click never scales a button or its words (owner, 18 Nov); only Studio's ink primary presses, at .97 (in its own section) */
.pill{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:32px;padding:0 14px;border-radius:var(--dm-r-pill);font-size:13px;font-weight:500;white-space:nowrap;transition:background var(--dm-t-fast),color var(--dm-t-fast),opacity var(--dm-t-fast),transform .15s}
/* the primary action is the accent, with --dm-on-accent on it, so it follows the accent and stays readable in any colour */
.pill.primary{background:var(--dm-accent);color:var(--dm-on-accent)}
@media (hover:hover) and (pointer:fine){.pill.primary:hover{background:var(--dm-accent-2)}}
.pill.accent{background:var(--dm-accent);color:var(--dm-on-accent)}
.pill.accent.hl{background:var(--dm-accent-2)}
@media (hover:hover) and (pointer:fine){.pill.accent:hover{background:var(--dm-accent-2)}}
.pill.soft{background:var(--dm-soft);color:var(--dm-fg);box-shadow:var(--dm-soft-ring)}
@media (hover:hover) and (pointer:fine){.pill.soft:hover{background:var(--dm-soft-h)}}
.pill.line{background:var(--dm-surface);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--dm-line) 50%,transparent);color:var(--dm-fg)}
/* a secondary action on a white card is this white outlined button, never the grey .pill.soft, which reads as pressed or
   disabled on white (owner, 23 Nov). Its hover in Soft and Blueprint is the quiet --dm-row fill, with no change to its edge, and
   Metric insight's Why holds it while its breakdown is open.
   Studio keeps its own flat secondary (its rules come later and win) */
:root .pill.line.mix-why[aria-expanded="true"]{background:var(--dm-row)}
@media (hover:hover) and (pointer:fine){:root :is(.aln-pause,.aln-sw-pause,.aln-sw-live,.ctm-go,.rc-go,.mix-why,.fmx-ai,.ecx-prep,.sbx-imp,.atb-em .pill,.atb-note .pill,.plx-f .pill).pill.line:hover{background:var(--dm-row)}}
@media (hover:hover) and (pointer:fine){:root:not([data-style="soft"],[data-style="studio"]) :is(.aln-pause,.aln-sw-pause,.aln-sw-live,.ctm-go,.rc-go,.mix-why,.fmx-ai,.ecx-prep,.sbx-imp,.atb-em .pill,.atb-note .pill,.plx-f .pill).pill.line:hover:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){background:var(--dm-row);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--dm-rail) 50%,transparent)}}
@media (hover:hover) and (pointer:fine){:root:not([data-style="soft"],[data-style="studio"])[data-theme="dark"] :is(.aln-pause,.aln-sw-pause,.aln-sw-live,.ctm-go,.rc-go,.mix-why,.fmx-ai,.ecx-prep,.sbx-imp,.atb-em .pill,.atb-note .pill,.plx-f .pill).pill.line:hover:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--dm-fg) 22%,var(--dm-surface))}}
@media (prefers-color-scheme:dark){@media (hover:hover) and (pointer:fine){:root:not([data-style="soft"],[data-style="studio"]):not([data-theme="light"]) :is(.aln-pause,.aln-sw-pause,.aln-sw-live,.ctm-go,.rc-go,.mix-why,.fmx-ai,.ecx-prep,.sbx-imp,.atb-em .pill,.atb-note .pill,.plx-f .pill).pill.line:hover:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--dm-fg) 22%,var(--dm-surface))}}}
.pill.ghost{color:var(--dm-fg2)}@media (hover:hover) and (pointer:fine){.pill.ghost:hover{background:var(--dm-row);color:var(--dm-fg)}}
/* the action on a warning notice (owner, 18 Nov): the warning tint with the warning text, as the warning chip (.tag.warn),
   deepening a little under the pointer */
.pill.warn{background:var(--dm-warn-bg);color:var(--dm-warn)}
/* the hover deepens the tint and keeps the words at 4.5:1: a little of the text colour in light, a little darker in dark (--dm-tint-h) */
@media (hover:hover) and (pointer:fine){.pill.warn:hover{box-shadow:inset 0 0 0 99px var(--dm-tint-h)}}
/* one disabled look for every control: nothing fades; its text and icons take --dm-dis, a control with a fill swaps the fill
   for --dm-dis-fill with its quiet edge (hatched in Blueprint), one without keeps no fill, and the pointer says not-allowed */
.pill[disabled]{opacity:1;color:var(--dm-dis);background:none;cursor:not-allowed;transform:none}
@media (hover:hover) and (pointer:fine){.pill[disabled]:hover{opacity:1;color:var(--dm-dis);background:none;cursor:not-allowed;transform:none}}
:where([data-c]) button:disabled{cursor:not-allowed}
.pill:is(.accent,.primary,.soft,.line)[disabled]{background:var(--dm-dis-hatch),var(--dm-dis-fill);color:var(--dm-dis);box-shadow:var(--dm-soft-ring)}
@media (hover:hover) and (pointer:fine){.pill:is(.accent,.primary,.soft,.line)[disabled]:hover{background:var(--dm-dis-hatch),var(--dm-dis-fill);color:var(--dm-dis);box-shadow:var(--dm-soft-ring)}}
.pill.sm{height:28px;padding:0 11px;font-size:12.5px}
.tag{display:inline-flex;align-items:center;gap:5px;height:20px;padding:0 7px;border-radius:var(--dm-r-tag);font-size:11.5px;font-weight:500;white-space:nowrap;background:var(--dm-chip-fill);color:var(--dm-fg2)}
.tag.b{background:var(--dm-pb-bg);color:var(--dm-pb)}.tag.l{background:var(--dm-pl-bg);color:var(--dm-pl)}.tag.m{background:var(--dm-pm-bg);color:var(--dm-pm)}.tag.p{background:var(--dm-pp-bg);color:var(--dm-pp)}
.tag.r{background:var(--dm-pr-bg);color:var(--dm-pr)}.tag.y{background:var(--dm-py-bg);color:var(--dm-py)}.tag.k{background:var(--dm-pk-bg);color:var(--dm-pk)}.tag.t{background:var(--dm-pt-bg);color:var(--dm-pt)}
.tag.ok{background:var(--dm-ok-bg);color:var(--dm-ok)}.tag.warn{background:var(--dm-warn-bg);color:var(--dm-warn)}.tag.bad{background:var(--dm-bad-bg);color:var(--dm-bad)}
@supports (corner-shape:squircle){.tag{corner-shape:squircle;border-radius:var(--dm-r-tag-sq)}}
.dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none;display:inline-block}
.fchip{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px 0 var(--dm-s-2);border-radius:var(--dm-r-pill);background:var(--dm-surface);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--dm-line) 50%,transparent);font-size:12.5px;color:var(--dm-fg);white-space:nowrap}
.fchip.lnk{cursor:pointer;transition:background var(--dm-t-fast),box-shadow var(--dm-t-fast)}
@media (hover:hover) and (pointer:fine){.fchip.lnk:hover{background:var(--dm-row);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--dm-rail) 50%,transparent)}}
.ft{font-family:var(--dm-sans);font-size:9.5px;font-weight:500;color:var(--dm-ts);letter-spacing:.02em}
.ft.re{color:var(--dm-react)}.ft.fg{color:var(--dm-pl)}.ft.pdf{color:var(--dm-pr)}.ft.csv{color:var(--dm-pm)}
.kbd{font-family:inherit;font-size:11px;padding:1px 5px;border-radius:var(--dm-r-tiny,5px);background:var(--dm-chip-fill);color:var(--dm-fg2)}
/* grey chips, tags and key caps are a step darker than --dm-chip in Soft and Blueprint, so they read on white and on a hovered row
   (owner, 24 Nov); Studio keeps --dm-chip. Their hover is a step darker again */
:root,[data-style="soft"],[data-style="studio"]{--dm-chip-fill:var(--dm-hover);--dm-chip-fill-h:var(--dm-press)}
:root[data-style="studio"],[data-style="studio"]{--dm-chip-fill:var(--dm-chip);--dm-chip-fill-h:var(--dm-hover)}
/* on a row that is hovered, highlighted or picked, the row turns grey, so its shortcut chips turn white to stay visible */
@media (hover:hover) and (pointer:fine){:is(.mi,.cpl-i,[role="option"],[role="menuitem"],[role="menuitemradio"],[role="menuitemcheckbox"]):is(:hover,.hl,.on,[aria-selected="true"]) .kbd{background:var(--dm-surface)}}
@media (hover:hover) and (pointer:fine){.pill.ghost:hover .kbd{background:var(--dm-surface)}}
.pill .kbd{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 var(--dm-s-1);margin-right:-6px}
/* a key hint on a filled button sits on a slightly darker well of the fill, so white text keeps its contrast */
.pill.primary .kbd,.pill.accent .kbd{background:color-mix(in srgb,var(--dm-accent) 80%,#000);color:inherit}
/* a disabled button's key chip is disabled with it, in every style (owner, 23 Nov: Accept's Tab kept its accent well): no
   fill of its own colour, only a faint tint of the button's disabled text, which it takes as its words */
.pill[disabled] .kbd,.pill:is(.primary,.accent)[disabled] .kbd{background:color-mix(in srgb,currentColor 14%,transparent);color:inherit}
code.c{font-family:var(--dm-mono);font-size:12.5px;background:var(--dm-chip);padding:1px 5px;border-radius:var(--dm-r-tiny,5px)}
.av{width:22px;height:22px;border-radius:50%;display:inline-grid;place-items:center;font-size:10px;font-weight:500;color:#fff;flex:none}
.hr{height:1px;background:var(--dm-line);border:0;margin:0}
/* a data table's columns (cols()): the handle on a header's right edge, on the line between two columns, which turns into a
   3px grey bar while it is pointed at, dragged or has the keyboard's focus; the line where a moved column will land, its name
   following the pointer, and its cells tinted while it moves. Each table draws the lines between its columns itself */
.col-rz{position:absolute;top:0;bottom:0;right:-4px;z-index:2;width:9px;cursor:col-resize;touch-action:none;outline:0}
.col-rz::after{content:"";position:absolute;top:6px;bottom:6px;left:4px;width:1px;border-radius:1px;background:transparent;transition:background-color var(--dm-t-fast),width var(--dm-t-fast),left var(--dm-t-fast)}
.col-rz.on::after,.col-rz:focus-visible::after{left:3px;width:3px;background:var(--dm-line-strong)}
@media (hover:hover) and (pointer:fine){.col-rz:hover::after{left:3px;width:3px;background:var(--dm-line-strong)}}
.col-rz:focus-visible{outline:0}
th:last-child>.col-rz{display:none}
.cols-rz{table-layout:fixed}
.cols-rzing,.cols-rzing *{cursor:col-resize!important;user-select:none;-webkit-user-select:none}
.cols-drag,.cols-drag *{cursor:grabbing!important;user-select:none;-webkit-user-select:none}
:is(th,td).col-mv{background-color:color-mix(in srgb,var(--dm-fg) 4%,var(--dm-surface))}
.col-at{position:fixed;z-index:1001;width:2px;border-radius:1px;background:var(--dm-accent-mark,var(--dm-accent));pointer-events:none}
.col-ghost{position:fixed;left:0;top:0;z-index:1002;padding:5px 10px;border-radius:var(--dm-r-sm);background:var(--dm-raised);box-shadow:var(--dm-shadow-pop);font-size:12px;font-weight:500;color:var(--dm-fg);pointer-events:none;white-space:nowrap}
/* an off switch and an empty box are drawn in a grey that holds 3:1 against the surface; an accent fill keeps a hairline of the
   accent's mark, so a light accent like lime still has an edge */
.toggle{width:30px;height:18px;border-radius:calc(9px * var(--dm-rk-m,var(--dm-rk)));background:color-mix(in srgb,var(--dm-muted) 80%,var(--dm-surface));position:relative;flex:none;transition:background var(--dm-t-fast)}
.toggle::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:transform var(--dm-t) var(--dm-ease)}
.toggle[aria-checked="true"]{background:var(--dm-accent);box-shadow:inset 0 0 0 1px var(--dm-accent-mark,var(--dm-accent))}
.toggle[aria-checked="true"]::after{transform:translateX(12px);background:var(--dm-on-accent)}
/* on a touch screen every control gets a tap area of at least 40px square, centred on it, without changing how it looks or
   where anything sits: a clear ::before (or ::after, where a component draws with its ::before) over and around it. Where
   two controls sit closer than that, the core script (fitHits) shrinks both areas evenly, so each tap still lands on the
   control nearest to it. Everything here weighs nothing (:where), so a component's own position or pseudo-element wins.
   The build checks that every selector drawing with a ::before or ::after is in the lists below */
@media (pointer:coarse){
  :where([data-c]) :where(button,a[href],summary,[role="button"],[role="switch"],[role="checkbox"],[role="radio"],[role="tab"],[role="option"],[role="menuitem"],[role="menuitemradio"],[role="menuitemcheckbox"],[role="slider"],label:has(input[type="checkbox"],input[type="radio"])){position:relative;--dm-hit-w:40px;--dm-hit-h:40px}
  :where([data-c]) :where(button,a[href],summary,[role="button"],[role="switch"],[role="checkbox"],[role="radio"],[role="tab"],[role="option"],[role="menuitem"],[role="menuitemradio"],[role="menuitemcheckbox"],[role="slider"],label:has(input[type="checkbox"],input[type="radio"])):not(:where(.radar,.hand,.mtx-jm,.fmx-ty .chip[data-tone],.rtr-li:not(:last-child),.atr-kids,.bws-nav b,.rc-cap,.rte-body.empty,.rte-hint,.afx-desk,.dtx-sl,.ahx-bot,.ecx-now,.ssi-or,.cmx-rp>.cmx-c,.aln-ct,.aln-rows>*,.aln-av,.aln-det div,.aln-pk,.trv-r[data-k="agent"] .trv-b i,.tk-st:not(:last-child),.tmx-blk,.atx-ic,.atx-em-art,.pvb-st,:root[data-style="studio"] .plx-h,.evr-em-art,.wrx-lbh,.fxp-n .ag,.fxp-em-art,.ksx-em-art,.atb-em-art,:is(.cmx-th,.cmx-th>.dm-grow)>.cmx-c:first-child:has(+ .cmx-rp),.ntx-em-art,.bnx[data-tone="warning"] .bnx-eb,.flm-em-art,.tkx-em-art,:root[data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go),:root[data-style="studio"] .ste-go,:root[data-style="studio"] .hg[data-hg="b"],.mx-glide.hg[data-hg="b"],:root[data-style="studio"] .prg-ring,:root[data-style="studio"] .hsc-ring))::before,:where([data-c]) :where(button,a[href],summary,[role="button"],[role="switch"],[role="checkbox"],[role="radio"],[role="tab"],[role="option"],[role="menuitem"],[role="menuitemradio"],[role="menuitemcheckbox"],[role="slider"],label:has(input[type="checkbox"],input[type="radio"])):where(.radar,.hand,.mtx-jm,.fmx-ty .chip[data-tone],.rtr-li:not(:last-child),.atr-kids,.bws-nav b,.rc-cap,.rte-body.empty,.rte-hint,.afx-desk,.dtx-sl,.ahx-bot,.ecx-now,.ssi-or,.cmx-rp>.cmx-c,:is(.cmx-th,.cmx-th>.dm-grow)>.cmx-c:first-child:has(+ .cmx-rp),:root[data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go),:root[data-style="studio"] .ste-go):not(:where(.cmx-rp>.cmx-c:not(:last-child),.aln-lane,.trv-g i.el,.trv-r.run:not([data-k="agent"]) .trv-b i,.trv-r[data-k="agent"] .trv-b i,.trv-b,.trv-sc,.tk-st.done:not(:last-child),.tmx-h,.tmx.live .tmx-body,.atx-ic,.atx-em-art,.evr-em-art,.toggle,.radar,.pulse,.stl-track i,.stx-ok,.aln-tr i,.afx-card .afx-open,.plx-s.edited .t,.vor-mi,.mix-mk,.hnx-t .ic,.ksx-s .ic,.shx-r .ic,.dpk-d.t,.sgc-mo .d.e,.agx-now,.btx-ask,.btx-live,.ssi-or,.bdg.live .bdg-dot,.crs-pv,.crs-pic,.hmx-sc,.pva-mk>i,.fxp-em-art,.ksx-em-art,.atb-em-art,.ntx-em-art,.bnx[data-tone="warning"] .bnx-eb,.flm-em-art,.tkx-em-art,.col-rz,.ttx-t :is(th,td):not(:first-child):not(:last-child),:root[data-style="studio"] .hg[data-hg="a"],.mx-glide.hg[data-hg="a"],:root[data-style="studio"] .prg :is(.prg-seg i,.prg-lin,.prg-mb),:root[data-style="studio"] .sbx-rh .bar))::after{content:"";position:absolute;inset:min(0px,(100% - var(--dm-hit-h)) / 2) min(0px,(100% - var(--dm-hit-w)) / 2);--dm-hit:1}
}
.seg2{display:inline-flex;padding:2px;background:var(--dm-chip);border-radius:var(--dm-r-pill);position:relative}
.seg2 button{position:relative;z-index:1;height:26px;padding:0 11px;border-radius:var(--dm-r-pill);font-size:12.5px;color:var(--dm-fg2);transition:color var(--dm-t-fast)}
.seg2 button[aria-pressed="true"]{color:var(--dm-fg)}
.seg2 .knob{position:absolute;top:2px;bottom:2px;border-radius:var(--dm-r-pill);background:var(--dm-surface);box-shadow:0 1px 2px rgba(0,0,0,.08);transition:left var(--dm-t) var(--dm-ease),width var(--dm-t) var(--dm-ease)}
.seg2 button:focus-visible{outline-offset:-2px;border-radius:var(--dm-r-pill)}
/* underline tabs (owner, 28 Nov; Notifications first, then Run drawer and Team memory): a row of tabs under a card's head, on a
   hairline that runs edge to edge, the picked tab's 2px line sliding along it. A tab's words are muted, and the picked one (or
   one under the pointer) is the text colour. Each component sets the row's margins so its hairline reaches its card's edges
   and the first tab's words start on the content's 16px column. Studio puts the row in the head strip, on its off-white, and
   the row's line is the strip's own. The core script's utabs() wires the clicks, Left and Right, and the line */
.utabs{position:relative;display:flex;gap:var(--dm-s-4);padding:0 var(--dm-s-4);border-bottom:1px solid color-mix(in srgb,var(--dm-line) 50%,transparent)}
.utabs>button{position:relative;height:32px;padding:0;font-size:13px;color:var(--dm-muted);white-space:nowrap;transition:color var(--dm-t-fast) var(--dm-ease)}
.utabs>button[aria-selected="true"]{color:var(--dm-fg)}
@media (hover:hover) and (pointer:fine){.utabs>button:hover{color:var(--dm-fg)}}
.utabs-i{position:absolute;bottom:-1px;left:0;height:2px;border-radius:2px 2px 0 0;background:var(--dm-fg);transition:left var(--dm-t) var(--dm-ease),width var(--dm-t) var(--dm-ease)}
:root[data-style="studio"] .utabs,:root [data-style="studio"] .utabs,:root [data-style="studio"].utabs{background:var(--dm-strip);border-bottom-color:var(--dm-line)}
/* demo stages: the component sits centred, the variant switcher sits at the foot of the stage under it */
.stage-in:has(>.dm){align-self:stretch;display:flex}
.dm{width:100%;min-height:328px;display:flex;flex-direction:column;align-items:center;gap:var(--dm-s-8)}
.dm>.dm-main{margin-block:auto;width:100%;display:flex;flex-direction:column;align-items:center}
.dm>.demo{flex:none;display:flex;justify-content:center}

.bub{align-self:flex-end;max-width:85%;background:var(--dm-hover);border-radius:var(--dm-r-card);padding:9px 13px;font-size:14px;line-height:1.45}
.msg{margin:0;font-size:14px;line-height:1.65}

/* ---------- status glyphs ---------- */
.spin{width:12px;height:12px;border-radius:50%;border:1.5px solid currentColor;border-right-color:transparent;animation:rot .8s linear infinite;flex:none;display:inline-block}
@keyframes rot{to{transform:rotate(360deg)}}
.radar{position:relative;width:13px;height:13px;flex:none;display:inline-block}
.radar::before{content:"";position:absolute;inset:3.5px;border-radius:50%;background:currentColor}
.radar::after{content:"";position:absolute;inset:0;border-radius:50%;border:1.3px solid currentColor;border-right-color:transparent;animation:rot .9s linear infinite}
/* the rotating thinking mark from Soft 1, four dots turning */
.think{width:14px;height:14px;position:relative;flex:none;display:inline-block}
.think i{position:absolute;width:3.4px;height:3.4px;border-radius:50%;background:currentColor;left:50%;top:50%;margin:-1.7px}
.think i:nth-child(1){transform:translate(-3.6px,-3.6px)}.think i:nth-child(2){transform:translate(3.6px,-3.6px)}.think i:nth-child(3){transform:translate(3.6px,3.6px)}.think i:nth-child(4){transform:translate(-3.6px,3.6px)}
.think.on{animation:thinkrot 1.6s var(--dm-ease-io) infinite}
.think.on i{animation:thinkpulse 1.6s var(--dm-ease-io) infinite}
.think.on i:nth-child(2){animation-delay:.2s}.think.on i:nth-child(3){animation-delay:.4s}.think.on i:nth-child(4){animation-delay:.6s}
@keyframes thinkrot{0%{transform:rotate(0)}50%{transform:rotate(90deg)}100%{transform:rotate(180deg)}}
@keyframes thinkpulse{0%,100%{opacity:1}50%{opacity:.35}}
/* the step that is happening now in a trace: a quiet grey dot with a soft ping */
.pulse{position:relative;width:6px;height:6px;border-radius:50%;background:var(--dm-muted);flex:none;display:inline-block}
.pulse::after{content:"";position:absolute;inset:0;border-radius:50%;background:inherit;animation:ping 1.8s var(--dm-ease) infinite}
@keyframes ping{0%{transform:scale(1);opacity:.45}80%,100%{transform:scale(2.8);opacity:0}}

/* ---------- motion ---------- */
.shim{background:linear-gradient(90deg,var(--dm-fg) 0%,var(--dm-fg) 38%,var(--dm-faint) 50%,var(--dm-fg) 62%,var(--dm-fg) 100%);background-size:260% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:shim 2.2s linear infinite}
@keyframes shim{from{background-position:100% 0}to{background-position:-160% 0}}
.enter{animation:enter var(--dm-t-slow) var(--dm-ease) backwards}
@keyframes enter{from{opacity:0;transform:translateY(6px);filter:blur(4px)}to{opacity:1;transform:none;filter:blur(0)}}
/* the person in a preview's story: a pointer that glides to what it uses and presses it */
.hand{position:absolute;left:0;top:0;width:18px;height:18px;z-index:200;pointer-events:none;opacity:0;color:var(--dm-fg);transition:transform .42s var(--dm-ease),opacity .16s;filter:drop-shadow(0 1px 1.5px rgba(0,0,0,.22))}
.hand.on{opacity:1}
.hand svg{display:block;width:18px;height:18px;transform-origin:3px 2px;transition:transform .16s var(--dm-ease)}
.hand svg path{fill:currentColor;stroke:var(--dm-surface);stroke-width:1.4;stroke-linejoin:round}
.hand.down svg{transform:scale(.82)}
.hand::before{content:"";position:absolute;left:-8px;top:-9px;width:22px;height:22px;border-radius:50%;background:var(--dm-accent);opacity:0;pointer-events:none}
.hand.down::before{animation:handtap .5s var(--dm-ease)}
@keyframes handtap{from{opacity:.3;transform:scale(.3)}to{opacity:0;transform:scale(1.3)}}
.pop-in{animation:popin .5s var(--dm-ease) backwards}
@keyframes popin{from{opacity:0;transform:scale(.96);filter:blur(3px)}to{opacity:1;transform:none;filter:blur(0)}}
/* what reflow() leaves behind as an item goes: a still copy that only fades */
[data-ghost],[data-ghost] *{animation:none!important;transition:none!important}
.leave{animation:leave .35s var(--dm-ease) both}
@keyframes leave{to{opacity:0;transform:translateY(-6px);filter:blur(4px)}}
.sw{display:inline-block;transition:opacity .2s var(--dm-ease),filter .2s var(--dm-ease),transform .25s var(--dm-ease)}
.sw.out{opacity:0;filter:blur(3px);transform:translateY(3px)}
.fold{display:grid;grid-template-rows:1fr;transition:grid-template-rows var(--dm-t) var(--dm-ease),opacity var(--dm-t) var(--dm-ease)}
.fold>*{overflow:hidden;min-height:0}
/* shadows inside an open fold aren't cut off: the clip leaves room round its edge (a shut fold is invisible anyway) */
.fold{grid-template-columns:minmax(0,1fr)}
.fold>*{overflow:clip;overflow-clip-margin:12px;min-width:0}
/* a shut fold is hidden as well as clear once it has folded, so Tab passes over what is inside it */
.fold.shut{grid-template-rows:0fr;opacity:0;visibility:hidden;transition:grid-template-rows var(--dm-t) var(--dm-ease),opacity var(--dm-t) var(--dm-ease),visibility 0s var(--dm-t)}

/* grow(): a container that grows with its content, eased (any component; Plan review and Delegation tree use it) */
.growing{overflow:clip;overflow-clip-margin:6px;--dm-grow-t:.55s}
.growing>.dm-grow{display:flex;flex-direction:column;gap:inherit;flex:none}
/* a foot marked .mx-foot (a footer strip at the card's bottom) rides the card's bottom edge while the card springs to a change
   made at once (growFit()'s --dm-grow-d), so it never drops out of sight or jumps up and leaves a gap; it covers what slides
   under it with the card's own surface */
.growing .mx-foot{translate:0 var(--dm-grow-d,0px);position:relative;z-index:1;background-color:var(--dm-surface)}
/* ...and that cover takes the card's own bottom corners, so the grow clip's few px of margin never shows a square foot
   past the card's rounded edge (owner, 2 Dec: Command palette's square bottom corners) */
.growing>.mx-foot{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}
/* (grow() wraps what the box holds, the foot included, in one .dm-grow, so the corners pass through it to the foot too) */
.growing>.dm-grow,.growing>.dm-grow>.mx-foot{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}
/* ---------- tooltip and popover ---------- */
.tip{position:fixed;z-index:1000;pointer-events:none;background:var(--dm-tip-bg,var(--dm-ink));color:var(--dm-tip-fg,var(--dm-on-ink));box-shadow:var(--dm-tip-ring,none);font-size:12px;line-height:1.35;padding:6px 9px;border-radius:var(--dm-r-sm);max-width:240px;opacity:0;transform:translateY(4px);filter:blur(2px);transition:opacity .18s var(--dm-ease),transform .25s var(--dm-ease),filter .18s}
.tip.show{opacity:1;transform:none;filter:none}
.copied{color:var(--dm-ok)!important}
@media (hover:hover) and (pointer:fine){.copied:hover{color:var(--dm-ok)!important}}
/* a shortcut in a tip is a chip of the tip's own text colour, so it shows on a dark tip and on Studio's white one alike */
.tip .kbd{background:color-mix(in srgb,currentColor 14%,transparent);color:inherit;margin-left:6px}
/* a closed popover is hidden as well as clear, so Tab and screen readers pass over it: it shows at once as it opens, so the
   focus can go into it, and hides once it has faded out */
.pop{--dm-pop-r:calc(14px * var(--dm-rk-l,var(--dm-rk)));--dm-pop-p:6px;position:absolute;z-index:50;min-width:200px;background:var(--dm-raised);border-radius:var(--dm-pop-r);box-shadow:var(--dm-shadow-pop);padding:var(--dm-pop-p);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(6px) scale(.98);transform-origin:var(--dm-origin,top left);filter:blur(3px);transition:opacity .2s var(--dm-ease),transform .35s var(--dm-ease),filter .2s var(--dm-ease),visibility 0s .2s}
.pop.open{opacity:1;visibility:visible;pointer-events:auto;transform:none;filter:none;transition-property:opacity,transform,filter}
.pop .ph{padding:6px var(--dm-s-2) var(--dm-s-1);font-size:11.5px;color:var(--dm-muted)}
/* a menu's rows are concentric with it: a row's corner is the menu's corner less the menu's padding, so the two curves run
   parallel (owner, 30 Nov: "we HAVE to make sure these are perfectly matched"). A menu with its own radius or padding sets
   --dm-pop-r and --dm-pop-p with them */
.pop .mi{border-radius:max(0px,calc(var(--dm-pop-r) - var(--dm-pop-p)))}
.mi{display:flex;align-items:center;gap:10px;width:100%;padding:7px var(--dm-s-2);border-radius:calc(9px * var(--dm-rk-m,var(--dm-rk)));font-size:13px;text-align:left;color:var(--dm-fg);transition:background var(--dm-t-fast)}
.mi.hl{background:var(--dm-row)}
@media (hover:hover) and (pointer:fine){.mi:hover{background:var(--dm-row)}}
/* the rows of a menu or list stand 2px apart, so two highlighted rows never touch */
.mi+.mi,.cpl-i+.cpl-i,.six-it+.six-it{margin-top:2px}
.mi .i{color:var(--dm-fg2)}
.mi .d{display:block;font-size:12px;color:var(--dm-muted)}
/* on a hovered or picked row's tint the line under an item steps up, so it keeps 4.5:1 in dark mode */
@media (hover:hover) and (pointer:fine){.mi:is(:hover,.hl,[aria-checked="true"]) .d{color:var(--dm-fg2)}}
.mi .r{margin-left:auto;color:var(--dm-muted);font-size:12px}
.mi .ck{margin-left:auto;color:var(--dm-accent-fg,var(--dm-accent));opacity:0;transition:opacity var(--dm-t-fast)}
.mi[aria-checked="true"] .ck{opacity:1}
/* a picked row with a tick shows by its tick, so it never reads as a second hovered row (owner, 30 Nov); Studio's picked row
   keeps its stronger fill */
.mi[aria-checked="true"]{font-weight:500}
.mi[aria-checked="true"]:not(:has(.ck)){background:var(--dm-row)}
.pop .sep{height:1px;background:var(--dm-line);margin:var(--dm-s-1) 2px}
/* every list row hovers with --dm-row; an icon chip or track inside a hovered row lifts above it (white in light mode, one step lighter in dark) */
@media (hover:hover) and (pointer:fine){:root[data-theme="dark"] :is(.plx-s:hover .n,.tpx-r:hover .tr){background:var(--dm-hover)}}
@media (prefers-color-scheme:dark){@media (hover:hover) and (pointer:fine){:root:not([data-theme="light"]) :is(.plx-s:hover .n,.tpx-r:hover .tr){background:var(--dm-hover)}}}
/* ---------- motion pieces ---------- */
/* the finer motion of everyday interactions (owner, 26 Nov: "one more visual pass on the type of interactions and animations"),
   tried on five components first (Model picker, Command palette, Citation hover card, Answer action bar, Decision prompt). Each
   piece is a class a component opts into, so nothing else moves any differently:
   .mx-pop    a popover or card grows out of its trigger (its --dm-origin) from a short blur, and goes back into it quicker than it came
   .mx-rows   a list's rows settle one after another as it opens (.open, .show, or .mx-play from the component)
   .mx-press  a press shows at once, a step deeper than the hover, and eases back on release; nothing scales (owner, 18 Nov)
   .mx-ic     an icon that changes (Copy's tick, play and pause, a spinner) crossfades through a little scale and blur (iconSwap())
   .mx-w      words that swap (swap()) ease their box to the new width, so what sits beside them glides instead of jumping
   .mx-glide  the one highlight that glides from row to row (hoverGlide()) in Soft and Blueprint too, as it does in Studio
   The script's mxIn() and mxOut() bring content in and take it out with the same tokens. Timing: --dm-t-in and --dm-t-out for what
   arrives and goes (going is quicker), --dm-t-press for a press, --dm-ease-spring for places and sizes (a critically damped spring: quick
   off the mark, a long soft settle, never past its mark), --dm-ease-pop for scale and tilt (3% past, then back). Blur: --dm-blur-in for popovers, cards and content, --dm-blur-ic for
   icons. Blueprint is crisp, with no blur and shorter times; Studio keeps its calm motion and its no-blur rule (Studio section) */
:root,[data-style="soft"],[data-style="studio"]{--dm-t-in:.36s;--dm-t-out:.16s;--dm-t-press:.06s;--dm-t-glide:.26s;--dm-ease-spring:var(--dm-ease);--dm-ease-pop:cubic-bezier(.34,1.3,.64,1);--dm-blur-in:6px;--dm-blur-ic:2px;--dm-ic-scale:.6;--dm-mx-step:24ms;--dm-row-press:var(--dm-chip)}
@supports (transition-timing-function:linear(0,1)){:root,[data-style="soft"],[data-style="studio"]{--dm-ease-spring:linear(0,.227,.403,.54,.647,.73,.793,.843,.881,.91,.932,.949,.962,.972,.98,.985,.99,.993,.995,.997,1);--dm-ease-pop:linear(0,.165,.333,.489,.627,.742,.834,.904,.956,.991,1.014,1.027,1.034,1.035,1.033,1.029,1.024,1.02,1.015,1.011,1.008,1.005,1)}}
:root:not([data-style="soft"],[data-style="studio"]){--dm-t-in:.22s;--dm-t-out:.12s;--dm-t-glide:.16s;--dm-blur-in:0px;--dm-blur-ic:0px;--dm-ic-scale:.7;--dm-mx-step:14ms}
.mx-pop{opacity:0;visibility:hidden;transform:scale(.95);filter:blur(var(--dm-blur-in));transform-origin:var(--dm-origin,top left);transition:opacity var(--dm-t-out) var(--dm-ease-io),transform var(--dm-t-out) var(--dm-ease-io),filter var(--dm-t-out) var(--dm-ease-io),visibility 0s var(--dm-t-out)}
.mx-pop:is(.open,.show){opacity:1;visibility:visible;transform:none;filter:none;transition:opacity calc(var(--dm-t-in) * .6) var(--dm-ease),transform var(--dm-t-in) var(--dm-ease-pop),filter calc(var(--dm-t-in) * .7) var(--dm-ease),visibility 0s}
@keyframes mxrow{from{opacity:0;transform:translateY(-4px);filter:blur(var(--dm-blur-ic))}}
:is(.open,.show,.mx-play).mx-rows>*{animation:mxrow var(--dm-t-in) var(--dm-ease) backwards;animation-delay:calc(40ms + var(--dm-mx-i,0) * var(--dm-mx-step))}
.mx-rows>:nth-child(2){--dm-mx-i:1}.mx-rows>:nth-child(3){--dm-mx-i:2}.mx-rows>:nth-child(4){--dm-mx-i:3}.mx-rows>:nth-child(5){--dm-mx-i:4}.mx-rows>:nth-child(6){--dm-mx-i:5}.mx-rows>:nth-child(n+7){--dm-mx-i:6}
.mx-press:not([disabled],[aria-pressed="true"],[aria-checked="true"],.on):active{background-color:var(--dm-row-press);transition-duration:var(--dm-t-press)}
.mx-w{white-space:nowrap}
/* (the React components' SwapIcon wraps the icon it swaps in a span of this class) */
.mx-icon{display:inline-grid;place-items:center}
/* .mx-grow: a component that grows with what it holds (grow()) takes the motion pieces' time for a change made at once (--dm-t-in ×
   1.4, set in growFit()); Agent harness, which places some of them in its chat, keeps grow()'s own --dm-grow-t */
.mx-glide.hg{isolation:isolate}
.mx-glide.hg.hg-pos{position:relative}
.mx-glide.hg[data-hg="b"]::before,.mx-glide.hg[data-hg="a"]::after{content:"";position:absolute;left:0;top:0;z-index:-1;pointer-events:none;width:var(--dm-hg-w,0px);height:var(--dm-hg-h,0px);transform:translate(var(--dm-hg-x,0px),var(--dm-hg-y,0px));border-radius:var(--dm-hg-r,10px);background:var(--dm-hg-bg,var(--dm-row));opacity:var(--dm-hg-o,0);transition:opacity var(--dm-t-fast) var(--dm-ease),transform var(--dm-t-glide) var(--dm-ease-spring),width var(--dm-t-glide) var(--dm-ease-spring),height var(--dm-t-glide) var(--dm-ease-spring),background-color var(--dm-t-fast) var(--dm-ease)}
.mx-glide.hg.hg-jump[data-hg="b"]::before,.mx-glide.hg.hg-jump[data-hg="a"]::after{transition:opacity var(--dm-t-fast) var(--dm-ease)}
.mx-glide.hg [data-hgr=""]{background-color:transparent!important}
/* a pressed row deepens the glide under it, at once, and lets it ease back */
.mx-glide.hg:has([data-hgr]:active){--dm-hg-bg:var(--dm-row-press)}
.mx-glide.hg:has([data-hgr]:active)::before{transition-duration:var(--dm-t-fast),var(--dm-t-glide),var(--dm-t-glide),var(--dm-t-glide),var(--dm-t-press)}
@media (prefers-reduced-motion:reduce){.mx-glide.hg[data-hg="b"]::before,.mx-glide.hg[data-hg="a"]::after{transition-property:opacity!important;transition-duration:var(--dm-t-fast)!important}.mx-pop{filter:none!important}}

@media (prefers-reduced-motion:reduce){:where([data-c]) *,:where([data-c]) *::before,:where([data-c]) *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.shim{color:var(--dm-fg);background:none}}

/* bare: components that live in the chat stream sit on the chat surface, no card */
.card.bare .stage-in .panel:not(.keep){background:none;box-shadow:none;padding-left:0;padding-right:0;border-radius:0}
/* chart palette, saturated */
:root,[data-style="soft"],[data-style="studio"]{--dm-c1:var(--dm-accent-mark,var(--dm-accent));--dm-c2:#7c4dff;--dm-c3:#00a23d;--dm-c4:#f76700;--dm-c5:#ff4d6d;--dm-c6:#00a2bf}
/* the accent as a ramp, for charts whose parts are shares of one thing: full strength, then lighter steps toward the surface */
:root,[data-style="soft"],[data-style="studio"]{--dm-a1:var(--dm-c1);--dm-a2:color-mix(in oklab,var(--dm-c1) 72%,var(--dm-surface));--dm-a3:color-mix(in oklab,var(--dm-c1) 50%,var(--dm-surface));--dm-a4:color-mix(in oklab,var(--dm-c1) 32%,var(--dm-surface))}
:root[data-theme="dark"],:root[data-theme="dark"] [data-style="soft"],:root[data-theme="dark"] [data-style="studio"]{--dm-c1:var(--dm-accent-mark,var(--dm-accent));--dm-c2:#9b7bff;--dm-c3:#1fd160;--dm-c4:#ffa033;--dm-c5:#ff6b85;--dm-c6:#22cce8}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]),:root:not([data-theme="light"]) [data-style="soft"],:root:not([data-theme="light"]) [data-style="studio"]{--dm-c1:var(--dm-accent-mark,var(--dm-accent));--dm-c2:#9b7bff;--dm-c3:#1fd160;--dm-c4:#ffa033;--dm-c5:#ff6b85;--dm-c6:#22cce8}}
/* Blueprint's first chart colour is its accent's mark, a green in light and a lime in dark, so its third is a blue: two greens
   side by side (a donut's parts, a goal's rings) could not be told apart */
:root:not([data-style="soft"],[data-style="studio"]){--dm-c3:#0a66ff}
:root:not([data-style="soft"],[data-style="studio"])[data-theme="dark"]{--dm-c3:#2f86ff}
@media (prefers-color-scheme: dark){:root:not([data-style="soft"],[data-style="studio"]):not([data-theme="light"]){--dm-c3:#2f86ff}}
/* Blueprint's picked row or citation: the lime itself in light (its darker mark reads green there), the mark in dark */
:root:not([data-style="soft"],[data-style="studio"]){--dm-bp-pick:color-mix(in srgb,var(--dm-accent) 32%,transparent)}
:root:not([data-style="soft"],[data-style="studio"])[data-theme="dark"]{--dm-bp-pick:color-mix(in srgb,var(--dm-accent-mark) 12%,transparent)}
@media (prefers-color-scheme: dark){:root:not([data-style="soft"],[data-style="studio"]):not([data-theme="light"]){--dm-bp-pick:color-mix(in srgb,var(--dm-accent-mark) 12%,transparent)}}

/* ---------- Blueprint 2 ---------- */
/* Blueprint 2: the same components drawn as a technical sheet. Square corners, hairline edges instead of shadows,
   a lime accent, and motion that wipes and ticks into place in short, hard beats instead of blurring in */
:root:not([data-style="soft"],[data-style="studio"]){
  --dm-motion:bp;
  --dm-page:#f3f3f0; --dm-stage:#fafaf8; --dm-surface:#ffffff; --dm-raised:#ffffff;
  --dm-fg:#121212; --dm-fg2:#4a4a46; --dm-muted:#666660; --dm-faint:#bdbdb6; --dm-rail:#d2d2cb; --dm-line:#e3e3dd; --dm-field-line:#d2d2cb; --dm-line-strong:#858580; --dm-field-line-strong:#b0b0a9;
  --dm-chip:#f1f1ed; --dm-hover:#e8e8e3; --dm-press:#dededa; --dm-wash:#f6f6f3; --dm-row:#fafaf8;
  --dm-soft:#ebebe6; --dm-soft-h:#e1e1db; --dm-soft-ring:inset 0 0 0 1px rgba(20,20,12,.045); --dm-dis:#a3a39c;
  --dm-accent:#c2f23c; --dm-on-accent:#121212; --dm-accent-fg:var(--dm-fg); --dm-accent-mark:#00a23d; --dm-sel:color-mix(in srgb,var(--dm-accent) 7%,transparent);
  --dm-ink:#121212; --dm-on-ink:#ffffff;
  --dm-shadow:0 0 0 1px color-mix(in srgb,var(--dm-line) 50%,transparent);
  --dm-shadow-pop:0 0 0 1px color-mix(in srgb,var(--dm-rail) 50%,transparent),0 12px 28px -14px rgba(20,20,12,.22);
  --dm-shadow-toast:0 0 0 1px color-mix(in srgb,var(--dm-rail) 50%,transparent),0 10px 24px -14px rgba(20,20,12,.24);
  --dm-shadow-lift:0 0 0 1px color-mix(in srgb,var(--dm-fg) 50%,transparent);
  --dm-grid:rgba(20,20,12,.09); --dm-tick:#b5b5ad;
  --dm-dis-hatch:repeating-linear-gradient(135deg,transparent 0 4px,var(--dm-grid) 4px 5px);
  --dm-ease:cubic-bezier(.65,0,.25,1); --dm-ease-io:cubic-bezier(.65,0,.25,1);
  --dm-t-fast:.14s; --dm-t:.3s; --dm-t-slow:.44s;
  --dm-on-tint-btn:var(--dm-shadow); --dm-on-tint-btn-h:var(--dm-shadow-pop);
}
@media (prefers-color-scheme:dark){:root:not([data-style="soft"],[data-style="studio"]):not([data-theme="light"]){
  --dm-page:#111111; --dm-stage:#1c1c1c; --dm-surface:#262626; --dm-raised:#363636;
  --dm-fg:#f2f2f2; --dm-fg2:#c9c9c9; --dm-muted:#c0c0c0; --dm-faint:#555555; --dm-rail:#414141; --dm-line:#333333; --dm-field-line:#747474; --dm-line-strong:#80807a; --dm-field-line-strong:#a3a3a3;
  --dm-chip:#303030; --dm-hover:#373737; --dm-press:#3f3f3f; --dm-wash:#2c2c2c; --dm-row:color-mix(in srgb,var(--dm-fg) 5.5%,transparent);
  --dm-soft:#323232; --dm-soft-h:#3a3a3a; --dm-soft-ring:inset 0 0 0 1px rgba(255,255,255,.04); --dm-dis:#737373;
  --dm-accent:#d4f84a; --dm-on-accent:#121212; --dm-accent-fg:#d4f84a; --dm-accent-mark:#d4f84a; --dm-sel:color-mix(in srgb,var(--dm-accent) 10%,transparent);
  --dm-ink:#f2f2f2; --dm-on-ink:#161616; --dm-seg-k-shadow:0 0 0 1px rgba(255,255,255,.06),0 1px 2px rgba(0,0,0,.35); --dm-tip-bg:#3d3d3b; --dm-tip-fg:var(--dm-fg); --dm-tip-ring:0 0 0 1px rgba(255,255,255,.12);
  --dm-shadow:0 0 0 1px color-mix(in srgb,var(--dm-line) 50%,transparent);
  --dm-shadow-pop:0 0 0 1px color-mix(in srgb,var(--dm-line-strong) 45%,transparent),0 16px 32px -14px rgba(0,0,0,.7);
  --dm-shadow-toast:0 0 0 1px color-mix(in srgb,var(--dm-line-strong) 45%,transparent),0 12px 28px -14px rgba(0,0,0,.7);
  --dm-shadow-lift:0 0 0 1px color-mix(in srgb,var(--dm-fg2) 50%,transparent);
  --dm-grid:rgba(255,255,255,.07); --dm-tick:#55554f;
  --dm-dis-hatch:repeating-linear-gradient(135deg,transparent 0 4px,var(--dm-grid) 4px 5px);
  --dm-ease:cubic-bezier(.65,0,.25,1); --dm-ease-io:cubic-bezier(.65,0,.25,1);
  --dm-t-fast:.14s; --dm-t:.3s; --dm-t-slow:.44s}}
:root:not([data-style="soft"],[data-style="studio"])[data-theme="dark"]{
  --dm-page:#111111; --dm-stage:#1c1c1c; --dm-surface:#262626; --dm-raised:#363636;
  --dm-fg:#f2f2f2; --dm-fg2:#c9c9c9; --dm-muted:#c0c0c0; --dm-faint:#555555; --dm-rail:#414141; --dm-line:#333333; --dm-field-line:#747474; --dm-line-strong:#80807a; --dm-field-line-strong:#a3a3a3;
  --dm-chip:#303030; --dm-hover:#373737; --dm-press:#3f3f3f; --dm-wash:#2c2c2c; --dm-row:color-mix(in srgb,var(--dm-fg) 5.5%,transparent);
  --dm-soft:#323232; --dm-soft-h:#3a3a3a; --dm-soft-ring:inset 0 0 0 1px rgba(255,255,255,.04); --dm-dis:#737373;
  --dm-accent:#d4f84a; --dm-on-accent:#121212; --dm-accent-fg:#d4f84a; --dm-accent-mark:#d4f84a; --dm-sel:color-mix(in srgb,var(--dm-accent) 10%,transparent);
  --dm-ink:#f2f2f2; --dm-on-ink:#161616; --dm-seg-k-shadow:0 0 0 1px rgba(255,255,255,.06),0 1px 2px rgba(0,0,0,.35); --dm-tip-bg:#3d3d3b; --dm-tip-fg:var(--dm-fg); --dm-tip-ring:0 0 0 1px rgba(255,255,255,.12);
  --dm-shadow:0 0 0 1px color-mix(in srgb,var(--dm-line) 50%,transparent);
  --dm-shadow-pop:0 0 0 1px color-mix(in srgb,var(--dm-line-strong) 45%,transparent),0 16px 32px -14px rgba(0,0,0,.7);
  --dm-shadow-toast:0 0 0 1px color-mix(in srgb,var(--dm-line-strong) 45%,transparent),0 12px 28px -14px rgba(0,0,0,.7);
  --dm-shadow-lift:0 0 0 1px color-mix(in srgb,var(--dm-fg2) 50%,transparent);
  --dm-grid:rgba(255,255,255,.07); --dm-tick:#55554f;
  --dm-dis-hatch:repeating-linear-gradient(135deg,transparent 0 4px,var(--dm-grid) 4px 5px);
  --dm-ease:cubic-bezier(.65,0,.25,1); --dm-ease-io:cubic-bezier(.65,0,.25,1);
  --dm-t-fast:.14s; --dm-t:.3s; --dm-t-slow:.44s}

/* every corner is square, only the turning loaders stay round */
:root:not([data-style="soft"],[data-style="studio"]) :where([data-c],[data-c] *,.tip,.tip *,.kbx-k.ghost,.kbx-k.ghost *):not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)),:root:not([data-style="soft"],[data-style="studio"]) :where([data-c],[data-c] *,.tip,.tip *,.kbx-k.ghost,.kbx-k.ghost *):not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *))::before,:root:not([data-style="soft"],[data-style="studio"]) :where([data-c],[data-c] *,.tip,.tip *,.kbx-k.ghost,.kbx-k.ghost *):not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *))::after{border-radius:0!important}
:root:not([data-style="soft"],[data-style="studio"]) .spin:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)),:root:not([data-style="soft"],[data-style="studio"]) .radar:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *))::before,:root:not([data-style="soft"],[data-style="studio"]) .radar:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *))::after{border-radius:50%!important}
:root:not([data-style="soft"],[data-style="studio"]) :where([data-c],.tip,.kbx-k.ghost) svg:not(.i):not(.brand) rect:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){rx:0;ry:0}
:root:not([data-style="soft"],[data-style="studio"]) :where([data-c],.tip,.kbx-k.ghost) svg:not(.i):not(.brand) :is(path,line,polyline,circle):not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){stroke-linecap:butt}
/* no blur anywhere: things wipe in or cut, they never soften */
:root:not([data-style="soft"],[data-style="studio"]) :where([data-c],[data-c] *,.tip,.tip *,.kbx-k.ghost,.kbx-k.ghost *):not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)),:root:not([data-style="soft"],[data-style="studio"]) :where([data-c],[data-c] *,.tip,.tip *,.kbx-k.ghost,.kbx-k.ghost *):not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *))::before,:root:not([data-style="soft"],[data-style="studio"]) :where([data-c],[data-c] *,.tip,.tip *,.kbx-k.ghost,.kbx-k.ghost *):not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *))::after{filter:none!important}

/* the sheet: cards share their hairlines, every stage is drafting paper with crop marks in the corners */
:root:not([data-style="soft"],[data-style="studio"]) .seg2 .knob:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){box-shadow:0 0 0 1px color-mix(in srgb,var(--dm-rail) 50%,transparent)}

/* parts: mono labels, hairline controls, hatched when disabled */
:root:not([data-style="soft"],[data-style="studio"]) .tag:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){font-size:10.5px;font-weight:500;letter-spacing:.03em;text-transform:uppercase;height:19px;padding:0 6px}
:root:not([data-style="soft"],[data-style="studio"]) .kbd:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--dm-line) 50%,transparent)}
:root:not([data-style="soft"],[data-style="studio"]) .pill.line:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--dm-rail) 50%,transparent)}
@media (hover:hover) and (pointer:fine){:root:not([data-style="soft"],[data-style="studio"]) .pill.line:hover:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){background:var(--dm-wash);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--dm-faint) 50%,transparent)}}
:root:not([data-style="soft"],[data-style="studio"]) .pill:active:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)),:root:not([data-style="soft"],[data-style="studio"]) .ib:active:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){transform:translateY(1px)}
:root:not([data-style="soft"],[data-style="studio"]) .chip.on:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--dm-pick-on) 50%,transparent)}
:root:not([data-style="soft"],[data-style="studio"]) .bub:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){background:var(--dm-chip);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--dm-line) 50%,transparent)}
:root:not([data-style="soft"],[data-style="studio"]) .tip:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){box-shadow:none}

/* motion: a top-down wipe that settles on a hard ease, stepped loaders, a blinking cursor instead of a soft ping */
@keyframes bpin{0%{opacity:0;clip-path:inset(0 0 100% 0);transform:translateY(4px)}30%{opacity:1}100%{opacity:1;clip-path:inset(0 0 0 0);transform:none}}
@keyframes bpout{to{opacity:0;clip-path:inset(0 0 100% 0)}}
@keyframes bpblink{0%,55%{opacity:1}56%,100%{opacity:.2}}
:root:not([data-style="soft"],[data-style="studio"]) .enter:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)),:root:not([data-style="soft"],[data-style="studio"]) .pop-in:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){animation-name:bpin;animation-duration:var(--dm-t-slow);animation-timing-function:var(--dm-ease);animation-fill-mode:backwards}
:root:not([data-style="soft"],[data-style="studio"]) .leave:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){animation:bpout .26s var(--dm-ease) both}
:root:not([data-style="soft"],[data-style="studio"]) .chx-card.mx-pop:not(.show):not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){transform:translateY(4px)}
:root:not([data-style="soft"],[data-style="studio"]) .sw.out:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){transform:translateY(-3px)}
:root:not([data-style="soft"],[data-style="studio"]) .pop:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){transform:translateY(4px);transition-duration:.16s}
:root:not([data-style="soft"],[data-style="studio"]) .pop.open:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){transform:none}
:root:not([data-style="soft"],[data-style="studio"]) .spin:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){animation:rot .9s steps(8) infinite}
:root:not([data-style="soft"],[data-style="studio"]) .radar:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *))::after{animation:rot 1s steps(8) infinite}
:root:not([data-style="soft"],[data-style="studio"]) .pulse:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){animation:bpblink 1.1s steps(1,end) infinite}
:root:not([data-style="soft"],[data-style="studio"]) .pulse:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *))::after{display:none}
:root:not([data-style="soft"],[data-style="studio"]) .btx-ask:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *))::after{background:linear-gradient(90deg,transparent 0 40%,rgba(255,255,255,.38) 40% 46%,transparent 46%)}
@media (hover:hover) and (pointer:fine){:root:not([data-style="soft"],[data-style="studio"]) .btx-ask:hover:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *))::after{transition:transform .5s steps(10)}}
:root:not([data-style="soft"],[data-style="studio"]) .btx-live:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *))::after{display:none}
:root:not([data-style="soft"],[data-style="studio"]) .btx-live:not(:where([data-style="soft"],[data-style="soft"] *,[data-style="studio"],[data-style="studio"] *)){animation:bpblink 1.1s steps(1,end) infinite}
/* dark mode: outlined buttons and the segmented switch read on the dark surface, at the text colour 22% over the surface
   (owner, 10 Nov: their edges were barely visible in dark mode; light mode keeps its half-strength hairline) */
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .pill.line{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--dm-fg) 22%,var(--dm-surface))}
  :root:not([data-theme="light"]) :is(.seg2 .knob,.sgc-seg .sgc-k){background:var(--dm-surface);box-shadow:0 0 0 1px color-mix(in srgb,var(--dm-fg) 22%,transparent)}
}
:root[data-theme="dark"] .pill.line{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--dm-fg) 22%,var(--dm-surface))}
:root[data-theme="dark"] :is(.seg2 .knob,.sgc-seg .sgc-k){background:var(--dm-surface);box-shadow:0 0 0 1px color-mix(in srgb,var(--dm-fg) 22%,transparent)}
/* owner, 10 Nov: in dark mode an outlined button inside a menu, popover or event card is clear with its edge, not a darker fill
   than the surface it sits on */
:root[data-theme="dark"] :is(.pop,.ecx-pop) .pill.line{background:transparent}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) :is(.pop,.ecx-pop) .pill.line{background:transparent}}
/* ---------- Studio ---------- */
/* Studio (owner, 17 Nov): the third style, a layer over Soft. The chrome is black, white and one neutral grey ramp: surfaces,
   text, hairlines, the primary button in ink (black in light, white in dark, its own --dm-btn tokens), secondary buttons,
   switchers, knobs and toggles. Data and status keep Soft's colours: the blue accent for data, selection and links, the
   chart palette, agents' own colours and pastel avatars, and the vivid status colours (a green tick, never a black one;
   no red fill behind an error, only its red words and mark). Hairline outlines with a 1px contact shadow and one short soft shadow on cards; off-white
   head and foot strips; everything fully round: chips, tags, icon tiles, bars, tracks,
   rows and fields are pills or circles (the radii scale with --dm-rk-s, --dm-rk-m and --dm-r-tiny), and cards, panels and popovers
   take 22px round corners (--dm-rk-l), never squircles. Buttons have depth inside their fill: a blurred light along the top,
   a soft shade along the bottom and a near-solid edge; checkboxes and tracks have a soft inner shadow. In dark only, a faint
   neutral glow sits around the white primary button, never around cards (owner, 18 Nov; an approved exception to "no glows": white
   or neutral only, never a hue). Status colour only on small marks. Motion is calm: ease-out quint, hovers 150ms, presses
   at .97, menus scale and fade from their trigger, and a card rises 8px from .98 with its pieces 40ms apart (REVEAL.studio) */
:root[data-style="studio"],[data-style="studio"]{
  --dm-motion:studio;
  --dm-page:#f7f7f7; --dm-stage:#f7f7f7; --dm-surface:#ffffff; --dm-raised:#ffffff; --dm-strip:#fafafa;
  --dm-fg:#0a0a0a; --dm-fg2:#404040; --dm-muted:#6b6b6b; --dm-faint:#d4d4d4; --dm-rail:#e5e5e5;
  --dm-line:#e5e5e5; --dm-hair:rgba(0,0,0,.08); --dm-field-line:#e0e0e0; --dm-line-strong:#8f8f8f; --dm-field-line-strong:#b3b3b3;
  /* one hover and one selected fill for every row, option, segment, tab and ghost control (owner, 21 Nov: "hover and active
     states are inconsistent for studio style all over the components"): see-through, so they read the same on a card, a strip
     or a menu, and clearly visible in light and dark; selected is the same shape a step stronger */
  --dm-chip:#f3f3f3; --dm-hover:#ededed; --dm-press:#e6e6e6; --dm-wash:#fafafa; --dm-row:rgba(0,0,0,.04); --dm-row-on:rgba(0,0,0,.065);
  --dm-soft:#f3f3f3; --dm-soft-h:#ededed; --dm-soft-ring:inset 0 0 0 1px rgba(0,0,0,.06); --dm-dis:#a3a3a3;
  --dm-ghost:#ededed; --dm-ghost-2:#f4f4f4;
  --dm-ink:#0a0a0a; --dm-on-ink:#ffffff; --dm-on-btn:#ffffff;
  --dm-shadow:0 0 0 1px rgba(0,0,0,.07),0 1px 1px rgba(0,0,0,.04),0 2px 10px -4px rgba(0,0,0,.12);
  --dm-shadow-pop:0 0 0 1px rgba(0,0,0,.08),0 1px 1px rgba(0,0,0,.04),0 12px 28px -12px rgba(0,0,0,.22);
  --dm-shadow-toast:var(--dm-shadow-pop); --dm-shadow-lift:var(--dm-shadow-pop);
  --dm-tip-bg:#ffffff; --dm-tip-fg:#0a0a0a; --dm-tip-ring:0 0 0 1px rgba(0,0,0,.08),0 1px 1px rgba(0,0,0,.04),0 6px 16px -6px rgba(0,0,0,.18);
  --dm-btn-1:#2a2a2a; --dm-btn-2:#0a0a0a;
  --dm-btn-depth:inset 0 0 0 1px rgba(10,10,10,.92),inset 0 3px 6px -2px rgba(255,255,255,.42),inset 0 0 0 1px rgba(255,255,255,.06),inset 0 -3px 5px -3px rgba(0,0,0,.45),0 1px 2px rgba(0,0,0,.08),0 4px 12px -4px rgba(0,0,0,.16);
  --dm-btn-press:inset 0 0 0 1px rgba(10,10,10,.92),inset 0 1px 3px rgba(0,0,0,.5),inset 0 -3px 5px -3px rgba(0,0,0,.5),0 1px 1px rgba(0,0,0,.1);
  /* every button's edge is drawn inside it, so a primary and a secondary beside it are exactly the same height (owner, 18 Nov) */
  /* secondary buttons and dropdown triggers are flat (owner, 18 Nov): a hairline border and a light fill, no glow, shade or
     shadow; hover and press deepen the fill a little (the inset shadow is the fill) */
  --dm-btn2-1:#ffffff; --dm-btn2-2:#ffffff;
  --dm-btn2-depth:inset 0 0 0 1px rgba(0,0,0,.12);
  --dm-btn2-hover:inset 0 0 0 1px rgba(0,0,0,.16),inset 0 0 0 99px rgba(0,0,0,.025);
  --dm-btn2-press:inset 0 0 0 1px rgba(0,0,0,.18),inset 0 0 0 99px rgba(0,0,0,.05);
  --dm-knob:#ffffff; --dm-knob-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.07); --dm-track-ring:inset 0 0 0 1px rgba(0,0,0,.03),inset 0 1px 3px rgba(0,0,0,.09);
  --dm-area:.07;
  /* round, never a squircle (owner, 18 Nov, replacing "everything fully round" of 17 Nov): pills and circles only for
     controls (buttons, chips, tags, toggles, switchers), avatars and dots, which have their own pill tokens (--dm-r-pill,
     --dm-r-tag). Everything else keeps ordinary rounded corners, a little rounder than Soft: fields, rows, panels, images, cells,
     events, flags and code boxes. Cards are 22px */
  --dm-rk:1; --dm-rk-s:1.6; --dm-rk-m:1.4; --dm-rk-l:1.3; --dm-r-tiny:4px;
  --dm-r-card:22px; --dm-r-lg:24px; --dm-r-in:10px; --dm-r-sm:8px; --dm-r-xs:6px; --dm-r-pill:999px;
  --dm-r-field:10px; --dm-r-field-sq:10px; --dm-r-box:16px; --dm-r-box-sq:16px; --dm-r-tag:999px; --dm-r-tag-sq:999px;
  --dm-ease:cubic-bezier(.23,1,.32,1); --dm-ease-io:cubic-bezier(.65,0,.35,1);
  /* calmer than it was (owner, 18 Nov: "it should be smoother"): hovers and fades 220ms, moves 340ms, entrances 560ms */
  --dm-t-fast:.22s; --dm-t:.34s; --dm-t-slow:.56s;
  --dm-on-tint-btn:var(--dm-btn2-depth); --dm-on-tint-btn-h:var(--dm-btn2-hover);
  /* a head or foot strip's room above and below its 28px row (owner, 23 Nov, replacing 8px): its controls sit 16px from the
     card's edge and from the strip's hairline, as they sit 16px from the card's sides, so a strip is 60px plus its hairline.
     Every strip's row is 28px, whether it holds a control or only words, so a strip never changes height as its controls
     come and go */
  --dm-strip-y:16px;
}
@media (prefers-color-scheme:dark){:root[data-style="studio"]:not([data-theme="light"]),:root:not([data-theme="light"]) [data-style="studio"]{
  --dm-page:#0a0a0a; --dm-stage:#0a0a0a; --dm-surface:#141414; --dm-raised:#1c1c1c; --dm-strip:#181818;
  --dm-fg:#f5f5f5; --dm-fg2:#cfcfcf; --dm-muted:#bdbdbd; --dm-faint:#474747; --dm-rail:#2e2e2e;
  --dm-line:#2a2a2a; --dm-hair:rgba(255,255,255,.09); --dm-field-line:#4d4d4d; --dm-line-strong:#7a7a7a; --dm-field-line-strong:#8f8f8f;
  --dm-chip:#1f1f1f; --dm-hover:#232323; --dm-press:#2a2a2a; --dm-wash:#181818; --dm-row:rgba(255,255,255,.07); --dm-row-on:rgba(255,255,255,.12);
  --dm-soft:#1f1f1f; --dm-soft-h:#262626; --dm-soft-ring:inset 0 0 0 1px rgba(255,255,255,.06); --dm-dis:#666666;
  --dm-ghost:#262626; --dm-ghost-2:#1e1e1e;
  --dm-ink:#f5f5f5; --dm-on-ink:#0a0a0a; --dm-on-btn:#0a0a0a;
  --dm-shadow:0 0 0 1px rgba(255,255,255,.1),0 1px 1px rgba(0,0,0,.5),0 2px 10px -4px rgba(0,0,0,.6);
  --dm-shadow-pop:0 0 0 1px rgba(255,255,255,.1),0 1px 1px rgba(0,0,0,.5),0 12px 28px -12px rgba(0,0,0,.8);
  --dm-tip-bg:#1f1f1f; --dm-tip-fg:#f5f5f5; --dm-tip-ring:0 0 0 1px rgba(255,255,255,.1),0 6px 16px -6px rgba(0,0,0,.7);
  --dm-btn-1:#ffffff; --dm-btn-2:#e0e0e0;
  --dm-btn-depth:inset 0 0 0 1px rgba(245,245,245,.9),inset 0 3px 5px -2px #ffffff,inset 0 -3px 5px -3px rgba(0,0,0,.18),0 1px 2px rgba(0,0,0,.5),0 0 14px rgba(255,255,255,.16);
  --dm-btn-press:inset 0 0 0 1px rgba(245,245,245,.9),inset 0 1px 3px rgba(0,0,0,.3),inset 0 -3px 5px -3px rgba(0,0,0,.2),0 1px 1px rgba(0,0,0,.4);
  --dm-btn2-1:#1f1f1f; --dm-btn2-2:#1f1f1f;
  --dm-btn2-depth:inset 0 0 0 1px rgba(255,255,255,.1);
  --dm-btn2-hover:inset 0 0 0 1px rgba(255,255,255,.16),inset 0 0 0 99px rgba(255,255,255,.035);
  --dm-btn2-press:inset 0 0 0 1px rgba(255,255,255,.18),inset 0 0 0 99px rgba(255,255,255,.06);
  --dm-knob:#2a2a2a; --dm-knob-shadow:0 0 0 1px rgba(255,255,255,.08),inset 0 1px 0 rgba(255,255,255,.06),0 1px 2px rgba(0,0,0,.5); --dm-track-ring:inset 0 0 0 1px rgba(255,255,255,.04),inset 0 1px 3px rgba(0,0,0,.35);
  --dm-area:.09;
  /* in dark mode Studio's accent is white (owner, 21 Nov, four times: "dark mode studio has white as accents and accent color
     in light mode"): everything drawn in the accent turns white, with dark words on a white fill: count badges, loaders,
     spinners, animated dots, step and progress bars, playheads, relevance meters, selected marks, toggles, links (which keep
     their underline) and accent text. Its tints (--dm-accent-bg, --dm-sel) follow it, so they are neutral greys, and the tracks
     under its marks stay the neutral rail. Status colours, agents' own colours, avatars and the chart palette's other series
     keep their hues; the chart's first series follows the accent, so it is white too. Light mode keeps the blue */
  --dm-accent:#f5f5f5; --dm-accent-2:#ffffff; --dm-on-accent:#0a0a0a; --dm-accent-fg:#f5f5f5; --dm-accent-mark:#f5f5f5;
  color-scheme:dark}}
:root[data-style="studio"][data-theme="dark"],:root[data-theme="dark"] [data-style="studio"]{
  --dm-page:#0a0a0a; --dm-stage:#0a0a0a; --dm-surface:#141414; --dm-raised:#1c1c1c; --dm-strip:#181818;
  --dm-fg:#f5f5f5; --dm-fg2:#cfcfcf; --dm-muted:#bdbdbd; --dm-faint:#474747; --dm-rail:#2e2e2e;
  --dm-line:#2a2a2a; --dm-hair:rgba(255,255,255,.09); --dm-field-line:#4d4d4d; --dm-line-strong:#7a7a7a; --dm-field-line-strong:#8f8f8f;
  --dm-chip:#1f1f1f; --dm-hover:#232323; --dm-press:#2a2a2a; --dm-wash:#181818; --dm-row:rgba(255,255,255,.07); --dm-row-on:rgba(255,255,255,.12);
  --dm-soft:#1f1f1f; --dm-soft-h:#262626; --dm-soft-ring:inset 0 0 0 1px rgba(255,255,255,.06); --dm-dis:#666666;
  --dm-ghost:#262626; --dm-ghost-2:#1e1e1e;
  --dm-ink:#f5f5f5; --dm-on-ink:#0a0a0a; --dm-on-btn:#0a0a0a;
  --dm-shadow:0 0 0 1px rgba(255,255,255,.1),0 1px 1px rgba(0,0,0,.5),0 2px 10px -4px rgba(0,0,0,.6);
  --dm-shadow-pop:0 0 0 1px rgba(255,255,255,.1),0 1px 1px rgba(0,0,0,.5),0 12px 28px -12px rgba(0,0,0,.8);
  --dm-tip-bg:#1f1f1f; --dm-tip-fg:#f5f5f5; --dm-tip-ring:0 0 0 1px rgba(255,255,255,.1),0 6px 16px -6px rgba(0,0,0,.7);
  --dm-btn-1:#ffffff; --dm-btn-2:#e0e0e0;
  --dm-btn-depth:inset 0 0 0 1px rgba(245,245,245,.9),inset 0 3px 5px -2px #ffffff,inset 0 -3px 5px -3px rgba(0,0,0,.18),0 1px 2px rgba(0,0,0,.5),0 0 14px rgba(255,255,255,.16);
  --dm-btn-press:inset 0 0 0 1px rgba(245,245,245,.9),inset 0 1px 3px rgba(0,0,0,.3),inset 0 -3px 5px -3px rgba(0,0,0,.2),0 1px 1px rgba(0,0,0,.4);
  --dm-btn2-1:#1f1f1f; --dm-btn2-2:#1f1f1f;
  --dm-btn2-depth:inset 0 0 0 1px rgba(255,255,255,.1);
  --dm-btn2-hover:inset 0 0 0 1px rgba(255,255,255,.16),inset 0 0 0 99px rgba(255,255,255,.035);
  --dm-btn2-press:inset 0 0 0 1px rgba(255,255,255,.18),inset 0 0 0 99px rgba(255,255,255,.06);
  --dm-knob:#2a2a2a; --dm-knob-shadow:0 0 0 1px rgba(255,255,255,.08),inset 0 1px 0 rgba(255,255,255,.06),0 1px 2px rgba(0,0,0,.5); --dm-track-ring:inset 0 0 0 1px rgba(255,255,255,.04),inset 0 1px 3px rgba(0,0,0,.35);
  --dm-area:.09;
  --dm-accent:#f5f5f5; --dm-accent-2:#ffffff; --dm-on-accent:#0a0a0a; --dm-accent-fg:#f5f5f5; --dm-accent-mark:#f5f5f5;
  color-scheme:dark}
/* no red fill behind an error (owner, 17 Nov): a failed row in the inbox or the eval results, an error line in the run
   drawer's log and a wrong code digit keep their red words and marks on the row as it is */
:root[data-style="studio"] :is(.aib-i.fail,.aib-i.mv.fail,.evr-i.fail):not(:hover),:root [data-style="studio"] :is(.aib-i.fail,.aib-i.mv.fail,.evr-i.fail):not(:hover),:root [data-style="studio"]:is(.aib-i.fail,.aib-i.mv.fail,.evr-i.fail):not(:hover){background:transparent}
:root[data-style="studio"] .rdr-l[data-l="error"],:root [data-style="studio"] .rdr-l[data-l="error"],:root [data-style="studio"].rdr-l[data-l="error"]{background:transparent}
:root[data-style="studio"] .otp-in.bad .otp-d,:root [data-style="studio"] .otp-in.bad .otp-d,:root [data-style="studio"].otp-in.bad .otp-d{background:var(--dm-surface)}
/* every corner round, never a squircle */
:root[data-style="studio"] :where([data-c],[data-c] *,.tip,.tip *,.kbx-k.ghost,.kbx-k.ghost *),:root [data-style="studio"] :where([data-c],[data-c] *,.tip,.tip *,.kbx-k.ghost,.kbx-k.ghost *),:root [data-style="studio"]:where([data-c],[data-c] *,.tip,.tip *,.kbx-k.ghost,.kbx-k.ghost *),:root[data-style="studio"] :where([data-c],[data-c] *,.tip,.tip *,.kbx-k.ghost,.kbx-k.ghost *)::before,:root [data-style="studio"] :where([data-c],[data-c] *,.tip,.tip *,.kbx-k.ghost,.kbx-k.ghost *)::before,:root [data-style="studio"]:where([data-c],[data-c] *,.tip,.tip *,.kbx-k.ghost,.kbx-k.ghost *)::before,:root[data-style="studio"] :where([data-c],[data-c] *,.tip,.tip *,.kbx-k.ghost,.kbx-k.ghost *)::after,:root [data-style="studio"] :where([data-c],[data-c] *,.tip,.tip *,.kbx-k.ghost,.kbx-k.ghost *)::after,:root [data-style="studio"]:where([data-c],[data-c] *,.tip,.tip *,.kbx-k.ghost,.kbx-k.ghost *)::after{corner-shape:round!important}
/* icons a little finer; words that swap fade without a blur; the tooltip and menus scale and fade, never blur */
:root[data-style="studio"] .i,:root [data-style="studio"] .i,:root [data-style="studio"].i{stroke-width:1.5}
:root[data-style="studio"] .sw,:root [data-style="studio"] .sw,:root [data-style="studio"].sw{transition:opacity var(--dm-t-fast) var(--dm-ease),transform var(--dm-t) var(--dm-ease)}
:root[data-style="studio"] .sw.out,:root [data-style="studio"] .sw.out,:root [data-style="studio"].sw.out{filter:none}
@keyframes clpiece{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes clcard{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
@keyframes clout{to{opacity:0;transform:translateY(-4px)}}
:root[data-style="studio"] .enter,:root [data-style="studio"] .enter,:root [data-style="studio"].enter{animation:clpiece var(--dm-t-slow) var(--dm-ease) backwards}
:root[data-style="studio"] .pop-in,:root [data-style="studio"] .pop-in,:root [data-style="studio"].pop-in{animation:clcard var(--dm-t) var(--dm-ease) backwards}
:root[data-style="studio"] .leave,:root [data-style="studio"] .leave,:root [data-style="studio"].leave{animation:clout .18s var(--dm-ease) both}
:root[data-style="studio"] .tip,:root [data-style="studio"] .tip,:root [data-style="studio"].tip{filter:none;transition:opacity var(--dm-t-fast) var(--dm-ease),transform var(--dm-t) var(--dm-ease)}
:root[data-style="studio"] .pop,:root [data-style="studio"] .pop,:root [data-style="studio"].pop{transform:scale(.96);filter:none;transition:opacity var(--dm-t-fast) var(--dm-ease),transform var(--dm-t) var(--dm-ease),visibility 0s var(--dm-t-fast)}
:root[data-style="studio"] .pop.open,:root [data-style="studio"] .pop.open,:root [data-style="studio"].pop.open{transform:none;transition:opacity var(--dm-t-fast) var(--dm-ease),transform var(--dm-t) var(--dm-ease)}
/* the motion pieces (core's "motion pieces", owner's trial of 26 Nov) at Studio's own pace and with no blur: what opens scales and
   fades from its trigger over Studio's move and goes back into it at the fade's pace; a menu's rows follow 30ms apart (a card's
   pieces keep their 50ms), so a menu is whole as soon as Soft's;
   a press is the selected fill; an icon that changes only fades through a slight scale */
:root[data-style="studio"],[data-style="studio"]{--dm-t-in:var(--dm-t);--dm-t-out:var(--dm-t-fast);--dm-t-glide:var(--dm-t-fast);--dm-ease-spring:var(--dm-ease);--dm-ease-pop:var(--dm-ease);--dm-blur-in:0px;--dm-blur-ic:0px;--dm-ic-scale:.8;--dm-mx-step:30ms;--dm-row-press:var(--dm-row-on)}
:root[data-style="studio"] .mx-pop,:root [data-style="studio"] .mx-pop,:root [data-style="studio"].mx-pop{transform:scale(.96);transition:opacity var(--dm-t-fast) var(--dm-ease),transform var(--dm-t-fast) var(--dm-ease),filter var(--dm-t-fast) var(--dm-ease),visibility 0s var(--dm-t-fast)}
:root[data-style="studio"] .mx-pop:is(.open,.show),:root [data-style="studio"] .mx-pop:is(.open,.show),:root [data-style="studio"].mx-pop:is(.open,.show){transform:none;transition:opacity var(--dm-t-fast) var(--dm-ease),transform var(--dm-t) var(--dm-ease),filter var(--dm-t) var(--dm-ease),visibility 0s}
:root[data-style="studio"] :is(.ib,.pill.ghost,.aab-rd,.dpx-o,.mpk-o,.mi,.mpk-tr).mx-press:not([disabled],[aria-pressed="true"],[aria-checked="true"],.on):active,:root [data-style="studio"] :is(.ib,.pill.ghost,.aab-rd,.dpx-o,.mpk-o,.mi,.mpk-tr).mx-press:not([disabled],[aria-pressed="true"],[aria-checked="true"],.on):active,:root [data-style="studio"]:is(.ib,.pill.ghost,.aab-rd,.dpx-o,.mpk-o,.mi,.mpk-tr).mx-press:not([disabled],[aria-pressed="true"],[aria-checked="true"],.on):active{background-color:var(--dm-row-press)}

/* buttons. Primary: ink with a slight gradient, a near-solid edge, a blurred light inside its top and a shade inside its
   bottom; a press sinks it (.97, the inner shade deepens). Secondary and dropdown triggers: flat, a hairline border and a light
   fill that deepens a little on hover and press, with no scale (owner, 18 Nov) */
:root[data-style="studio"] .pill,:root [data-style="studio"] .pill,:root [data-style="studio"].pill{font-weight:500;transition:transform var(--dm-t-fast) var(--dm-ease),box-shadow var(--dm-t-fast) var(--dm-ease),background-color var(--dm-t-fast) var(--dm-ease),color var(--dm-t-fast) var(--dm-ease)}
:root[data-style="studio"] .pill:is(.primary,.accent):not([disabled]):active,:root [data-style="studio"] .pill:is(.primary,.accent):not([disabled]):active,:root [data-style="studio"].pill:is(.primary,.accent):not([disabled]):active{transform:scale(.97)}
:root[data-style="studio"] .pill:not(.primary,.accent):active,:root [data-style="studio"] .pill:not(.primary,.accent):active,:root [data-style="studio"].pill:not(.primary,.accent):active{transform:none}
:root[data-style="studio"] .pill:is(.primary,.accent):not([disabled]),:root [data-style="studio"] .pill:is(.primary,.accent):not([disabled]),:root [data-style="studio"].pill:is(.primary,.accent):not([disabled]){color:var(--dm-on-btn);background:linear-gradient(180deg,var(--dm-btn-1),var(--dm-btn-2));box-shadow:var(--dm-btn-depth)}
@media (hover:hover) and (pointer:fine){:root[data-style="studio"] .pill:is(.primary,.accent):not([disabled]):hover,:root [data-style="studio"] .pill:is(.primary,.accent):not([disabled]):hover,:root [data-style="studio"].pill:is(.primary,.accent):not([disabled]):hover{background:linear-gradient(180deg,color-mix(in srgb,var(--dm-btn-1) 88%,#808080),var(--dm-btn-2))}}
:root[data-style="studio"] .pill:is(.primary,.accent):not([disabled]):active,:root [data-style="studio"] .pill:is(.primary,.accent):not([disabled]):active,:root [data-style="studio"].pill:is(.primary,.accent):not([disabled]):active{box-shadow:var(--dm-btn-press)}
:root[data-style="studio"] :is(.pill.line,.pill.soft):not([disabled]),:root [data-style="studio"] :is(.pill.line,.pill.soft):not([disabled]),:root [data-style="studio"]:is(.pill.line,.pill.soft):not([disabled]){color:var(--dm-fg);background:linear-gradient(180deg,var(--dm-btn2-1),var(--dm-btn2-2));box-shadow:var(--dm-btn2-depth)}
@media (hover:hover) and (pointer:fine){:root[data-style="studio"] :is(.pill.line,.pill.soft):not([disabled]):hover,:root [data-style="studio"] :is(.pill.line,.pill.soft):not([disabled]):hover,:root [data-style="studio"]:is(.pill.line,.pill.soft):not([disabled]):hover{background:linear-gradient(180deg,var(--dm-btn2-1),var(--dm-btn2-2));box-shadow:var(--dm-btn2-hover)}}
:root[data-style="studio"] :is(.pill.line,.pill.soft):not([disabled]):active,:root [data-style="studio"] :is(.pill.line,.pill.soft):not([disabled]):active,:root [data-style="studio"]:is(.pill.line,.pill.soft):not([disabled]):active{box-shadow:var(--dm-btn2-press)}
/* ghost and icon buttons: no fill until hovered, then the one hover (--dm-row) in the button's own shape, easing in and out over
   220ms; a button that is on, pressed or holding its menu open has the same shape with the stronger fill (--dm-row-on), never a
   ring or a hue (owner, 21 and 22 Nov). Components that sit on the stage set --dm-row for their bar, and Studio hands it back */
@media (hover:hover) and (pointer:fine){:root[data-style="studio"] :is(.pill.ghost,.ib:not(.fill)):not([disabled],[aria-pressed="true"],[aria-expanded="true"],.on):hover,:root [data-style="studio"] :is(.pill.ghost,.ib:not(.fill)):not([disabled],[aria-pressed="true"],[aria-expanded="true"],.on):hover,:root [data-style="studio"]:is(.pill.ghost,.ib:not(.fill)):not([disabled],[aria-pressed="true"],[aria-expanded="true"],.on):hover{background-color:var(--dm-row);color:var(--dm-fg)}}
:root[data-style="studio"] .ib.on,:root [data-style="studio"] .ib.on,:root [data-style="studio"].ib.on{background:var(--dm-row-on);color:var(--dm-fg)}
/* the controls in a head or foot strip sit on the content's 16px column at the sides, as the rows do (owner, 21 Nov), and
   --dm-strip-y (16px) from the strip's top and bottom (owner, 23 Nov, replacing 8px): each strip sets its own padding with it */
/* one hover for every ghost and icon button (owner, 21 Nov: "you use like 10 different hover styles"): the quiet grey of what
   it sits on (--dm-row) in the button's own shape, with no edge, shadow or change of size, in every style. On an off-white strip
   the grey is a step under the strip, so it shows as it does on the card. (A remove × inside a filled chip, a tinted banner
   or the ink save bar takes a little of its own colour instead, color-mix(currentColor 12%), as no grey shows on a fill) */
/* the cards that set a stronger grey of their own for the stage take Studio's, so every hover in Studio is the same fill */
:root[data-style="studio"] :is(.tst-t,.tsk-c,.lva,.plx,.ssx,.ahx,.lnx,.dnx,.cmx,.ntx.panel,.rxx,.rgx,.wsx,.rvx-bar,.fbx-bar),:root [data-style="studio"] :is(.tst-t,.tsk-c,.lva,.plx,.ssx,.ahx,.lnx,.dnx,.cmx,.ntx.panel,.rxx,.rgx,.wsx,.rvx-bar,.fbx-bar),:root [data-style="studio"]:is(.tst-t,.tsk-c,.lva,.plx,.ssx,.ahx,.lnx,.dnx,.cmx,.ntx.panel,.rxx,.rgx,.wsx,.rvx-bar,.fbx-bar){--dm-row:inherit}
/* menus: rows with 10px corners, the hover and the picked row's fill easing in and out over 220ms */
:root[data-style="studio"] .mi,:root [data-style="studio"] .mi,:root [data-style="studio"].mi{border-radius:10px;transition:background-color var(--dm-t-fast) var(--dm-ease),color var(--dm-t-fast) var(--dm-ease)}
/* Studio's menus have the cards' corners, and their rows stay concentric with them (owner, 30 Nov) */
:root[data-style="studio"] .pop,:root [data-style="studio"] .pop,:root [data-style="studio"].pop{--dm-pop-r:var(--dm-r-card)}
:root[data-style="studio"] .pop .mi,:root [data-style="studio"] .pop .mi,:root [data-style="studio"].pop .mi{border-radius:max(0px,calc(var(--dm-pop-r) - var(--dm-pop-p)))}
:root[data-style="studio"] .pop :is(.mi[aria-checked="true"],.mi[aria-selected="true"],[role="option"][aria-selected="true"]),:root [data-style="studio"] .pop :is(.mi[aria-checked="true"],.mi[aria-selected="true"],[role="option"][aria-selected="true"]),:root [data-style="studio"].pop :is(.mi[aria-checked="true"],.mi[aria-selected="true"],[role="option"][aria-selected="true"]){background:var(--dm-row-on)}
:root[data-style="studio"] .ib,:root [data-style="studio"] .ib,:root [data-style="studio"].ib{transition:background-color var(--dm-t-fast) var(--dm-ease),color var(--dm-t-fast) var(--dm-ease),transform var(--dm-t-fast) var(--dm-ease)}
/* small ghost controls that kept a timing of their own ease over the same 220ms */
:root[data-style="studio"] :is(.aab-rd,.msc-clr,.pva-cr,.pva-tog,.pvb-cr,.aln-lane,.pfm-tr,.atr-tg),:root [data-style="studio"] :is(.aab-rd,.msc-clr,.pva-cr,.pva-tog,.pvb-cr,.aln-lane,.pfm-tr,.atr-tg),:root [data-style="studio"]:is(.aab-rd,.msc-clr,.pva-cr,.pva-tog,.pvb-cr,.aln-lane,.pfm-tr,.atr-tg){transition:background-color var(--dm-t-fast) var(--dm-ease),color var(--dm-t-fast) var(--dm-ease)}
/* progress's credits button is a pill and the rows that open a layer have Studio's 10px row corners; the emoji in the
   reactions picker are 10px cells */
:root[data-style="studio"] .pva-cr,:root [data-style="studio"] .pva-cr,:root [data-style="studio"].pva-cr{border-radius:var(--dm-r-pill)}
:root[data-style="studio"] :is(.pva-tog,.pvb-cr,.rxx-grid button),:root [data-style="studio"] :is(.pva-tog,.pvb-cr,.rxx-grid button),:root [data-style="studio"]:is(.pva-tog,.pvb-cr,.rxx-grid button){border-radius:10px}
:root[data-style="studio"] .atx-ctx-it,:root [data-style="studio"] .atx-ctx-it,:root [data-style="studio"].atx-ctx-it{transition:background-color var(--dm-t-fast) var(--dm-ease),opacity .3s}
/* a file chip keeps its quiet edge and takes the one hover as a fill inside it (owner, 21 Nov: never a stronger edge) */
:root[data-style="studio"] .fchip.lnk,:root [data-style="studio"] .fchip.lnk,:root [data-style="studio"].fchip.lnk{transition:background-color var(--dm-t-fast) var(--dm-ease),box-shadow var(--dm-t-fast) var(--dm-ease)}
@media (hover:hover) and (pointer:fine){:root[data-style="studio"] .fchip.lnk:hover,:root [data-style="studio"] .fchip.lnk:hover,:root [data-style="studio"].fchip.lnk:hover{background:var(--dm-surface);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--dm-line) 50%,transparent),inset 0 0 0 99px var(--dm-row)}}
/* the account menu's button: the one hover, and the stronger fill while its menu is open */
@media (hover:hover) and (pointer:fine){:root[data-style="studio"] .pfm-tr:hover,:root [data-style="studio"] .pfm-tr:hover,:root [data-style="studio"].pfm-tr:hover{background:var(--dm-row)}}
:root[data-style="studio"] .pfm-tr[aria-expanded="true"],:root [data-style="studio"] .pfm-tr[aria-expanded="true"],:root [data-style="studio"].pfm-tr[aria-expanded="true"]{background:var(--dm-row-on)}
/* a field's own Send (Comments, Composer, Attachment tray's composer, Parallel agents' note; owner, 21 Nov): it sits in the field's
   corner with the same room above, below and beside it, and its corners are the field's less that room (each component sets
   the radius). Empty, it is a quiet glyph with no fill; once there is something to send, the ink button fades in under it.
   Only the ink presses */
:root[data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go),:root [data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go),:root [data-style="studio"]:is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go){position:relative;isolation:isolate;background:none;box-shadow:none;transition:transform var(--dm-t-fast) var(--dm-ease),color var(--dm-t-fast) var(--dm-ease)}
:root[data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go)::before,:root [data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go)::before,:root [data-style="studio"]:is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go)::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(180deg,var(--dm-btn-1),var(--dm-btn-2));box-shadow:var(--dm-btn-depth);opacity:0;pointer-events:none;transition:opacity var(--dm-t-fast) var(--dm-ease),box-shadow var(--dm-t-fast) var(--dm-ease)}
:root[data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go):not([disabled]),:root [data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go):not([disabled]),:root [data-style="studio"]:is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go):not([disabled]){color:var(--dm-on-btn)}
:root[data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go):not([disabled])::before,:root [data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go):not([disabled])::before,:root [data-style="studio"]:is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go):not([disabled])::before{opacity:1}
@media (hover:hover) and (pointer:fine){:root[data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go):not([disabled]):hover::before,:root [data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go):not([disabled]):hover::before,:root [data-style="studio"]:is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go):not([disabled]):hover::before{background:linear-gradient(180deg,color-mix(in srgb,var(--dm-btn-1) 88%,#808080),var(--dm-btn-2))}}
:root[data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go):not([disabled]):active,:root [data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go):not([disabled]):active,:root [data-style="studio"]:is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go):not([disabled]):active{transform:scale(.97)}
:root[data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go):not([disabled]):active::before,:root [data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go):not([disabled]):active::before,:root [data-style="studio"]:is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go):not([disabled]):active::before{box-shadow:var(--dm-btn-press)}
:root[data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go)[disabled],:root [data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go)[disabled],:root [data-style="studio"]:is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go)[disabled]{color:var(--dm-dis);transform:none}
@media (prefers-reduced-motion:reduce){:root[data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go)::before,:root [data-style="studio"] :is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go)::before,:root [data-style="studio"]:is(.cmx-go,.cpx-send,.atx-cmp-send,.aln-cw-go)::before{transition:none}}
/* the gliding highlight in a menu or a list (hoverGlide() in the core script; owner, 21 Nov): one fill, the list's own ::before
   or ::after, drawn under its rows. It moves and resizes to the row under the pointer, the keyboard's row or the arrows' row over
   220ms with Studio's ease, and fades in and out as the pointer enters and leaves the list; with reduced motion it only fades.
   The rows' own hover fills give way to it; a picked row (data-hgr="k") keeps its stronger fill, which shows over it */
:root[data-style="studio"] .hg,:root [data-style="studio"] .hg,:root [data-style="studio"].hg{isolation:isolate}
:root[data-style="studio"] .hg.hg-pos,:root [data-style="studio"] .hg.hg-pos,:root [data-style="studio"].hg.hg-pos{position:relative}
:root[data-style="studio"] .hg[data-hg="b"]::before,:root [data-style="studio"] .hg[data-hg="b"]::before,:root [data-style="studio"].hg[data-hg="b"]::before,:root[data-style="studio"] .hg[data-hg="a"]::after,:root [data-style="studio"] .hg[data-hg="a"]::after,:root [data-style="studio"].hg[data-hg="a"]::after{content:"";position:absolute;left:0;top:0;z-index:-1;pointer-events:none;width:var(--dm-hg-w,0px);height:var(--dm-hg-h,0px);transform:translate(var(--dm-hg-x,0px),var(--dm-hg-y,0px));border-radius:var(--dm-hg-r,10px);background:var(--dm-hg-bg,var(--dm-row));opacity:var(--dm-hg-o,0);transition:opacity var(--dm-t-fast) var(--dm-ease),transform var(--dm-t-fast) var(--dm-ease),width var(--dm-t-fast) var(--dm-ease),height var(--dm-t-fast) var(--dm-ease),border-radius var(--dm-t-fast) var(--dm-ease)}
:root[data-style="studio"] .hg.hg-jump[data-hg="b"]::before,:root [data-style="studio"] .hg.hg-jump[data-hg="b"]::before,:root [data-style="studio"].hg.hg-jump[data-hg="b"]::before,:root[data-style="studio"] .hg.hg-jump[data-hg="a"]::after,:root [data-style="studio"] .hg.hg-jump[data-hg="a"]::after,:root [data-style="studio"].hg.hg-jump[data-hg="a"]::after{transition:opacity var(--dm-t-fast) var(--dm-ease)}
:root[data-style="studio"] .hg [data-hgr=""],:root [data-style="studio"] .hg [data-hgr=""],:root [data-style="studio"].hg [data-hgr=""]{background-color:transparent!important}
@media (prefers-reduced-motion:reduce){:root[data-style="studio"] .hg[data-hg="b"]::before,:root [data-style="studio"] .hg[data-hg="b"]::before,:root [data-style="studio"].hg[data-hg="b"]::before,:root[data-style="studio"] .hg[data-hg="a"]::after,:root [data-style="studio"] .hg[data-hg="a"]::after,:root [data-style="studio"].hg[data-hg="a"]::after{transition-property:opacity!important;transition-duration:var(--dm-t-fast)!important}}
/* switchers: a white knob with a hairline and a 1px shadow, gliding on a grey track with a soft inner shadow (the site's own
   switches and Segmented control's alike) */
:root[data-style="studio"] :is(.seg2,.sgc-seg),:root [data-style="studio"] :is(.seg2,.sgc-seg),:root [data-style="studio"]:is(.seg2,.sgc-seg){box-shadow:var(--dm-track-ring)}
:root[data-style="studio"] :is(.seg2 .knob,.sgc-seg .sgc-k),:root [data-style="studio"] :is(.seg2 .knob,.sgc-seg .sgc-k),:root [data-style="studio"]:is(.seg2 .knob,.sgc-seg .sgc-k){background:var(--dm-knob);box-shadow:var(--dm-knob-shadow);transition:left var(--dm-t) var(--dm-ease),width var(--dm-t) var(--dm-ease)}
:root[data-style="studio"] :is(.seg2,.sgc-seg) button,:root [data-style="studio"] :is(.seg2,.sgc-seg) button,:root [data-style="studio"]:is(.seg2,.sgc-seg) button{color:var(--dm-muted);font-weight:500;transition:color var(--dm-t-fast) var(--dm-ease),background-color var(--dm-t-fast) var(--dm-ease)}
/* a segment that is not picked takes the one hover under the pointer, a pill in its own shape (owner, 21 Nov) */
@media (hover:hover) and (pointer:fine){:root[data-style="studio"] :is(.seg2,.sgc-seg,.asx-steps,.asx-tb-tabs) :is(button,.asx-tb-t):not([aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[disabled]):hover,:root [data-style="studio"] :is(.seg2,.sgc-seg,.asx-steps,.asx-tb-tabs) :is(button,.asx-tb-t):not([aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[disabled]):hover,:root [data-style="studio"]:is(.seg2,.sgc-seg,.asx-steps,.asx-tb-tabs) :is(button,.asx-tb-t):not([aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[disabled]):hover{background:var(--dm-row);color:var(--dm-fg)}}
:root[data-style="studio"] .asx-steps button,:root [data-style="studio"] .asx-steps button,:root [data-style="studio"].asx-steps button{border-radius:var(--dm-r-pill)}
:root[data-style="studio"] :is(.asx-steps button,.asx-tb-t),:root [data-style="studio"] :is(.asx-steps button,.asx-tb-t),:root [data-style="studio"]:is(.asx-steps button,.asx-tb-t){transition:color var(--dm-t-fast) var(--dm-ease),background-color var(--dm-t-fast) var(--dm-ease)}
@media (hover:hover) and (pointer:fine){:root[data-style="studio"] :is(.seg2 button[aria-pressed="true"],.sgc-seg button:is(:hover,[aria-selected="true"],[aria-checked="true"])),:root [data-style="studio"] :is(.seg2 button[aria-pressed="true"],.sgc-seg button:is(:hover,[aria-selected="true"],[aria-checked="true"])),:root [data-style="studio"]:is(.seg2 button[aria-pressed="true"],.sgc-seg button:is(:hover,[aria-selected="true"],[aria-checked="true"])){color:var(--dm-fg)}}
/* toggles: ink when on (a switcher is chrome), a knob with a hairline, and a soft inner shadow in the track */
:root[data-style="studio"] .toggle[aria-checked="true"],:root [data-style="studio"] .toggle[aria-checked="true"],:root [data-style="studio"].toggle[aria-checked="true"]{background:var(--dm-btn-2);box-shadow:inset 0 0 0 1px var(--dm-btn-2),inset 0 2px 4px -1px rgba(0,0,0,.3)}
:root[data-style="studio"] .toggle[aria-checked="true"]::after,:root [data-style="studio"] .toggle[aria-checked="true"]::after,:root [data-style="studio"].toggle[aria-checked="true"]::after{background:var(--dm-on-btn)}
:root[data-style="studio"] .toggle,:root [data-style="studio"] .toggle,:root [data-style="studio"].toggle{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05),inset 0 2px 4px -1px rgba(0,0,0,.18)}
:root[data-style="studio"] .toggle::after,:root [data-style="studio"] .toggle::after,:root [data-style="studio"].toggle::after{box-shadow:0 0 0 .5px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.2);transition:transform var(--dm-t) var(--dm-ease)}

/* a component card: the template renders into .stage-in */
[data-c]{width:440px;max-width:100%;font-family:var(--dm-sans);font-size:14px;line-height:1.5;color:var(--dm-fg);-webkit-font-smoothing:antialiased}
[data-c].wide{width:720px}
