/*
 * scrub.tokens.css: brand direction 08, Ledger, blue, set in Geist on pure
 * white and a soft black, #0c0c0c (SCR-494 and SCR-508, founder, 8 November
 * 2026; the direction itself decided 22 September 2026). Drop in, no build
 * step.
 *
 * Read by the gateway (console, chat, account, sign-in, consent) and by the
 * site's build, so every surface wears the same values. The rules, from the
 * book's last page:
 *   1. The work fills the screen. Scrub is a header, a price and a result line.
 *   2. The accent goes on the price, a discount's figure and the one primary
 *      action. Nothing else.
 *   3. Numbers are JetBrains Mono, tabular, at the size of the text beside them.
 *   4. Every result shows what was made; the receipt says how long and what
 *      it cost (F-48). A failure says where and "Not charged".
 *   5. The mark is the SVG in this package. Do not redraw it.
 */

:root {
  --scrub-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --scrub-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --scrub-radius: 8px;
  --scrub-radius-lg: 12px;
  --scrub-cell: 1em;
  --scrub-num: tabular-nums;
  --scrub-size-body: 15px;
  --scrub-size-small: 12.5px;

  /* Light is the default. */
  --scrub-bg: #ffffff;
  --scrub-surface: #f4f4f5;
  --scrub-text: #0c0c0d;
  /* 4.8:1 on the second surface, #ececee (SCR-689, WCAG 2.2 AA; #6f6f76 measured 4.23:1 there) */
  --scrub-text-2: #66666d;
  --scrub-line: #e3e3e7;
  --scrub-line-2: #efeff1;
  --scrub-accent: #1d4fd8;
  --scrub-accent-fill: #1d4fd8;
  --scrub-on-accent: #ffffff;
  --scrub-ok: #1e7a46;
  --scrub-warn: #8a5a00;
  --scrub-err: #b3261e;

  /* Tiles: the category sets the colour. Tints are never used for text. */
  --scrub-tile-audio: #efe3c8;
  --scrub-tile-audio-ink: #5a4a10;
  --scrub-tile-video: #f0d3c8;
  --scrub-tile-video-ink: #6e2a1a;
  --scrub-tile-image: #cfe5e3;
  --scrub-tile-image-ink: #1b4c48;
  --scrub-tile-document: #d6e4d2;
  --scrub-tile-document-ink: #1f4d2a;
  --scrub-tile-mail: #d3deec;
  --scrub-tile-mail-ink: #1c3f6e;
  --scrub-tile-data: #e2dcef;
  --scrub-tile-data-ink: #3f3266;

  /* Icons (SCR-496): a tile is a ring in its kind's colour, the icon in the
     same colour; deeper on light so a 2 px line reads on white. */
  --scrub-icon-audio: #b88400;
  --scrub-icon-video: #e14a1a;
  --scrub-icon-image: #0e9686;
  --scrub-icon-document: #43932a;
  --scrub-icon-mail: #2f6fe0;
  --scrub-icon-data: #7656ec;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --scrub-bg: #0c0c0c;
    --scrub-surface: #131316;
    --scrub-text: #f3f3f4;
    --scrub-text-2: #8a8a91;
    --scrub-line: #26262a;
    --scrub-line-2: #18181b;
    --scrub-accent: #6f95ff;
    --scrub-accent-fill: #3563f0;
    --scrub-on-accent: #ffffff;
    --scrub-ok: #6ccb8a;
    --scrub-warn: #f0b429;
    --scrub-err: #f28b82;
    --scrub-tile-audio: #3a3322;
    --scrub-tile-audio-ink: #efd9a0;
    --scrub-tile-video: #3d2a24;
    --scrub-tile-video-ink: #f2b8a6;
    --scrub-tile-image: #213634;
    --scrub-tile-image-ink: #a9d9d3;
    --scrub-tile-document: #25332a;
    --scrub-tile-document-ink: #b5d6bc;
    --scrub-tile-mail: #232e3d;
    --scrub-tile-mail-ink: #b3c8e6;
    --scrub-tile-data: #2e2a3a;
    --scrub-tile-data-ink: #cbbeea;
    --scrub-icon-audio: #ffc845;
    --scrub-icon-video: #ff7a52;
    --scrub-icon-image: #3fd6c3;
    --scrub-icon-document: #a6df82;
    --scrub-icon-mail: #8ab8ff;
    --scrub-icon-data: #c2b0ff;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --scrub-bg: #0c0c0c;
  --scrub-surface: #131316;
  --scrub-text: #f3f3f4;
  --scrub-text-2: #8a8a91;
  --scrub-line: #26262a;
  --scrub-line-2: #18181b;
  --scrub-accent: #6f95ff;
  --scrub-accent-fill: #3563f0;
  --scrub-on-accent: #ffffff;
  --scrub-ok: #6ccb8a;
  --scrub-warn: #f0b429;
  --scrub-err: #f28b82;
  --scrub-tile-audio: #3a3322;
  --scrub-tile-audio-ink: #efd9a0;
  --scrub-tile-video: #3d2a24;
  --scrub-tile-video-ink: #f2b8a6;
  --scrub-tile-image: #213634;
  --scrub-tile-image-ink: #a9d9d3;
  --scrub-tile-document: #25332a;
  --scrub-tile-document-ink: #b5d6bc;
  --scrub-tile-mail: #232e3d;
  --scrub-tile-mail-ink: #b3c8e6;
  --scrub-tile-data: #2e2a3a;
  --scrub-tile-data-ink: #cbbeea;
  --scrub-icon-audio: #ffc845;
  --scrub-icon-video: #ff7a52;
  --scrub-icon-image: #3fd6c3;
  --scrub-icon-document: #a6df82;
  --scrub-icon-mail: #8ab8ff;
  --scrub-icon-data: #c2b0ff;
  color-scheme: dark;
}

/* Money. One class wherever a number is money: mono, tabular, the accent,
   never smaller than the words beside it, never grey. */
.scrub-price {
  font-family: var(--scrub-mono);
  font-variant-numeric: var(--scrub-num);
  color: var(--scrub-accent);
  font-size: inherit;
  font-weight: 600;
  white-space: nowrap;
}

/* Any other figure: durations, counts, ids. Mono and tabular, never the accent. */
.scrub-num {
  font-family: var(--scrub-mono);
  font-variant-numeric: var(--scrub-num);
  white-space: nowrap;
}

/* "Not charged" sits in the same face as a price, so the promise is as
   visible as the charge. */
.scrub-not-charged {
  font-family: var(--scrub-mono);
  font-weight: 600;
  color: var(--scrub-text);
  white-space: nowrap;
}

/* The mark: ten dots on a 3 by 4 grid, currentColor. The dots run from
   Geist's cap height (0.71em) down to the baseline, beside any word set in
   it (founder, 27 September 2026): the box is 0.75em, since the dots fill
   3.84 of its 4 cells, and it drops by their own margin to sit on the line.
   Set it inline in the text, never centred in a flex row. */
.scrub-mark {
  display: inline-block;
  height: 0.75em;
  width: 0.5625em;
  vertical-align: -0.015em;
}

/* Under someone else's brand: the accent collapses into the text colour. */
.scrub-quiet {
  --scrub-accent: currentColor;
  --scrub-accent-fill: currentColor;
}

/*
 * scrub.dots.css: the console in Dots (SCR-498, founder, 8 November 2026), the
 * direction scrub.app's homepage opens with (SCR-497), on direction 08's
 * tokens in scrub.tokens.css. Read after them by the gateway (kit.ts), so
 * every console page, Chat, the doors and Admin wear it. scrub.app and the
 * documents in docs/ keep scrub.tokens.css alone until they are restyled.
 *
 * Restraint first: black and white carry the page, one blue for money and
 * the one primary action. Large shapes and strong contrast come from filled
 * panels and round controls, never from more colour. A kind's colour is a
 * block only where work of that kind runs.
 */

:root {
  /* Shapes. Controls a person presses are pills. Cards and panels are large
     and filled; blocks inside them (media, a figure) sit between; fields
     keep a smaller radius so the words in them line up with the text. */
  --scrub-r-pill: 999px;
  --scrub-r-panel: 20px;
  --scrub-r-block: 14px;
  --scrub-r-field: 12px;
  /* A layer over the page (a menu, a card that drops) and a sheet or door. */
  --scrub-r-float: 16px;
  --scrub-r-sheet: 24px;

  /* Fills. A second step above the surface for hover, a chosen row and a
     field on a panel; a divider that still shows on the surface; a floating
     layer's own fill, and its shadow (on black a ring stands in). */
  --scrub-surface-2: #ececee;
  --scrub-divide: color-mix(in srgb, var(--scrub-text) 8%, transparent);
  --scrub-raised: #ffffff;
  --scrub-shadow-float: 0 1px 2px rgb(0 0 0 / 0.05), 0 16px 48px -12px rgb(0 0 0 / 0.18);

  /* The inverse: the round send and ask buttons, a chosen segment. Never money. */
  --scrub-inv: var(--scrub-text);
  --scrub-on-inv: var(--scrub-bg);

  /* Motion: calm. A fade and a rise of 8 px, no overshoot. */
  --scrub-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --scrub-rise: 8px;

  /* A kind of work as a block: the running figure drawn on it in dots, as
     the homepage's ask has it. The same bright colour in both themes, with
     dark ink on it, so the words on a block read in either. */
  --scrub-block-audio: #ffc845;
  --scrub-block-video: #ff7a52;
  --scrub-block-image: #3fd6c3;
  --scrub-block-document: #a6df82;
  --scrub-block-mail: #8ab8ff;
  --scrub-block-data: #c2b0ff;
  --scrub-on-block: rgb(0 0 0 / 0.86);
  --scrub-on-block-2: rgb(0 0 0 / 0.6);

  /* A picture plays on a dark block in both themes, with white controls over
     it, so a frame's own colours are never mixed with the page's (SCR-632). */
  --scrub-media: #0e0e10;
  --scrub-on-media: #ffffff;

  /* The mark's dots as a ground, faint, only on large empty grounds: Chat
     before a first message, the doors, a page with nothing yet. */
  --scrub-dot: #dcdce1;
  /* A section's small label: mono, upper case, spaced, as "What you get". */
  --scrub-label: 500 11.5px / 1.2 var(--scrub-mono);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --scrub-dot: #2a2a2f;
    /* Fill alone has to part a panel from pure black, so the surface is lifted. */
    --scrub-surface: #131316;
    --scrub-surface-2: #232327;
    --scrub-raised: #18181b;
    --scrub-shadow-float: 0 0 0 1px var(--scrub-line), 0 20px 56px -16px rgb(0 0 0 / 0.85);
  }
}

:root[data-theme="dark"] {
  --scrub-dot: #2a2a2f;
  --scrub-surface: #131316;
  --scrub-surface-2: #232327;
  --scrub-raised: #18181b;
  --scrub-shadow-float: 0 0 0 1px var(--scrub-line), 0 20px 56px -16px rgb(0 0 0 / 0.85);
}

/* A section's small label, as scrub.app's "What you get": the one place mono
   carries words, because it names a part of the page, never a figure's
   neighbour. The words stay as written; upper case is the style's. */
.scrub-label {
  font: var(--scrub-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--scrub-text-2);
}

/* The mark's dots as a ground, faded at its edges: only behind large empty
   space, never under words a person reads. */
.scrub-dots {
  background-image: radial-gradient(circle, var(--scrub-dot) 1.1px, transparent 1.5px);
  background-size: 18px 18px;
  background-position: 9px 9px;
}

:root{--ink:var(--scrub-text);--paper:var(--scrub-bg);--card:var(--scrub-surface);--line:var(--scrub-line);--muted:var(--scrub-text-2);--acc:var(--scrub-accent-fill);--ok:var(--scrub-ok);--okbg:var(--scrub-line-2)}
*{box-sizing:border-box}

/* Scrollbars (SCR-215, DESIGN.md Shape): thin, no arrows, a quiet thumb that darkens under the pointer. */
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track,::-webkit-scrollbar-corner{background:transparent}
::-webkit-scrollbar-thumb{background:var(--scrub-line) padding-box;border:2px solid transparent;border-radius:999px;min-height:32px}
::-webkit-scrollbar-thumb:hover,::-webkit-scrollbar-thumb:active{background-color:var(--scrub-text-2)}
::-webkit-scrollbar-button{display:none}
@supports not selector(::-webkit-scrollbar){*{scrollbar-width:thin;scrollbar-color:var(--scrub-line) transparent}}
/* Stacking (SCR-650): the header and every menu opened in it sit above every layer of the page, its sticky Run and Update bar, the Bar, the price line and Next (all under 100); the sheets opened from the header (Help, Feedback, Updates, the phone's nav) sit above the header, at 110 to 120. */
header.top{position:sticky;top:env(safe-area-inset-top,0px);z-index:100;background:color-mix(in srgb,var(--scrub-bg) 88%,transparent);backdrop-filter:blur(12px);border-bottom:1px solid var(--scrub-line-2)}
header.top .in{height:56px;padding:0 24px;display:flex;align-items:center;gap:22px}
.lockup{display:inline-block;white-space:nowrap;font-weight:500;letter-spacing:-.03em;font-size:21px;line-height:1;text-decoration:none;color:var(--scrub-text)}
.lockup .scrub-mark{color:currentColor;margin-right:.32em}
header.top nav{display:flex;gap:2px;flex-wrap:wrap}
header.top nav a{text-decoration:none;font-size:14px;padding:6px 10px;border-radius:var(--scrub-radius);color:var(--scrub-text-2)}
header.top nav a:hover{background:var(--scrub-line-2);color:var(--scrub-text)}
header.top nav a.here{color:var(--scrub-text);font-weight:600}
/* Page switch (SCR-525, DESIGN.md Page switch): the header, the menu and the
   Chats list stay where they are while the work changes, which settles in from
   a little below; the mark runs along its S from a moment after a page is
   asked for until the next one draws. With less motion: a cut, the mark still. */
@view-transition{navigation:auto}
header.top{view-transition-name:scrub-top}
.snav{view-transition-name:scrub-menu}
.csub{view-transition-name:scrub-chats}
::view-transition-group(scrub-top),::view-transition-group(scrub-menu),::view-transition-group(scrub-chats){animation:none}
::view-transition-old(scrub-top),::view-transition-old(scrub-menu),::view-transition-old(scrub-chats){display:none}
::view-transition-new(scrub-top),::view-transition-new(scrub-menu),::view-transition-new(scrub-chats){animation:none}
::view-transition-old(root){animation:page-out .12s ease both}
::view-transition-new(root){animation:page-in .26s var(--scrub-ease) both}
@keyframes page-out{to{opacity:0}}
@keyframes page-in{from{opacity:0;transform:translateY(calc(var(--scrub-rise) / 2))}}
.mk-go circle{transform-box:fill-box;transform-origin:center}
.htitle .mk-go{flex:none;height:16px;width:12px;margin-right:8px;align-self:center}
@media (prefers-reduced-motion:no-preference){html.going .mk-go circle{animation:mkrun 1.5s ease-in-out infinite both;animation-delay:calc(var(--i) * 105ms)}}
@media (prefers-reduced-motion:reduce){@view-transition{navigation:none}html.going .mk-go circle{opacity:.6}}
/* Beta (F-147, DESIGN.md Beta label): quiet, never the accent; a soft fill, no edge (SCR-498). */
.beta{display:inline-block;margin-left:6px;padding:0 7px;border:0;border-radius:var(--scrub-r-pill);background:color-mix(in srgb,var(--scrub-text) 7%,transparent);font-family:var(--scrub-sans);font-size:10.5px;font-weight:600;line-height:18px;letter-spacing:.02em;color:var(--scrub-text-2);vertical-align:1px;white-space:nowrap}
.snav .beta{margin-left:-4px}
/* Flows (F-147): its heading, and New flow beside it; the canvas is for wider screens. */
.flows-h{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:8px}
.flows-h h1{margin:0}
/* The Beta label after a page's heading (DESIGN.md Beta label). */
h1 .beta{font-size:12px;line-height:18px;vertical-align:4px}
.flowrow .jn b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* A phone runs flows; the canvas opens on a tablet or a computer (F-147). */
@media (max-width:640px){.flows-h a.button.fc-wide,.flows-empty .nothing a.button,.th-menu a.fc-wide{display:none}}
/* The header's menu keeps the names, below 861 px; Beta stays on the page's heading. */
@media (max-width:860px){header.top nav .beta{display:none}}
.theme{flex:none;background:none;border:1px solid transparent;color:var(--scrub-text-2);padding:0;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--scrub-r-pill);cursor:pointer;margin-left:auto;transition:background-color .15s}.theme:hover{background:var(--scrub-surface-2);color:var(--scrub-text)}.theme:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}.bal+.theme{margin-left:-10px}.theme .sun{display:none}@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .theme .sun{display:block}:root:not([data-theme="light"]) .theme .moon{display:none}}:root[data-theme="dark"] .theme .sun{display:block}:root[data-theme="dark"] .theme .moon{display:none}@media (max-width:640px){.theme{width:44px;height:44px}}
header.top .bal{margin-left:auto;font-size:14px;color:var(--scrub-text-2);white-space:nowrap}
/* Dots (SCR-498): the balance in the bar is a calm filled pill; inside the account menu it stays a line. */
header.top .in>.bal{display:inline-block;height:32px;line-height:32px;padding:0 12px;border-radius:var(--scrub-r-pill);background:var(--scrub-surface)}
header.top .bal b{font-family:var(--scrub-mono);font-variant-numeric:tabular-nums;font-weight:600;color:var(--scrub-text);margin-left:6px}
/* The workspace's name before the figure, once it is shared (F-06, SCR-571): inline, never Chat's .who block. */
header.top .bal .who{display:inline;font-size:inherit;letter-spacing:normal;font-weight:600;color:var(--scrub-text);margin:0 10px 0 0}
/* The account menu (F-180, DESIGN.md Account menu): initials in the top right, a menu under them. */
.acct{position:relative;flex:none;margin-left:auto}
header.top .bal+.acct{margin-left:-8px}
.acct>summary{list-style:none;cursor:pointer;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px}
.acct>summary::-webkit-details-marker{display:none}
.acct>summary:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
/* Person (SCR-571, DESIGN.md Person): who ran a job, quiet, in a shared workspace. */
.by{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:16ch;vertical-align:bottom;flex:none;font:inherit;color:inherit}
.by-av{width:18px;height:18px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;flex:none;background:var(--scrub-line);color:var(--scrub-text);font-size:9px;font-weight:600;letter-spacing:.02em;line-height:1}
.by-n{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct-me{width:32px;height:32px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--scrub-inv);color:var(--scrub-on-inv);font-size:12px;font-weight:600;letter-spacing:.02em;transition:box-shadow .15s}
.acct>summary:hover .acct-me,.acct[open]>summary .acct-me{box-shadow:0 0 0 3px var(--scrub-line)}
.acct-menu{position:absolute;right:0;top:calc(100% + 8px);width:288px;background:var(--scrub-raised);border:0;border-radius:var(--scrub-r-float);box-shadow:var(--scrub-shadow-float);padding:6px;z-index:20;box-sizing:border-box}
@media (prefers-reduced-motion:no-preference){.acct[open]>.acct-menu{animation:chrome-rise .18s var(--scrub-ease)}}
@keyframes chrome-rise{from{opacity:0;transform:translateY(calc(-1 * var(--scrub-rise) / 2))}}
.acct-who{display:flex;flex-direction:column;gap:2px;padding:12px 12px 10px;min-width:0}
.acct-who b{font-size:15px;font-weight:600;color:var(--scrub-text)}
.acct-who .small{overflow-wrap:anywhere}
.acct-item{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:40px;padding:0 12px;border:0;border-radius:calc(var(--scrub-r-float) - 6px);background:none;font:inherit;font-size:14px;color:var(--scrub-text);text-decoration:none;text-align:left;cursor:pointer;box-sizing:border-box;transition:background-color .15s}
.acct-item:hover{background:var(--scrub-surface-2)}
.acct-item:focus-visible{outline:2px solid var(--scrub-text);outline-offset:-2px}
.acct-item[aria-current=page]{font-weight:600}
header.top .acct-money .bal{margin-left:0;white-space:normal}
header.top .acct-money .bal span{display:inline}
/* Help (F-184, DESIGN.md Help): the button before the initials, and the panel beside the work. */
.hlp-btn{position:relative;flex:none;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid transparent;border-radius:999px;background:none;color:var(--scrub-text-2);cursor:pointer}
.hlp-btn svg{width:18px;height:18px;flex:none}
.hlp-btn:hover,.hlp-btn[aria-expanded=true]{background:var(--scrub-surface-2);color:var(--scrub-text)}
.hlp-btn:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
header.top .in>.hlp-btn{margin-left:auto}
header.top .bal+.hlp-btn{margin-left:-10px}
header.top .hlp-btn+.acct{margin-left:-14px}
/* The bar's shapes are one height and one gap apart (SCR-524): the balance,
   Help and the initials 32 px, each filled, 14 px between them whatever the
   bar's own gap (22 px, 14 from 861 px). The initials' button is 36 px round
   its 32 px circle. */
@media (min-width:641px){header.top .in>.hlp-btn{width:32px;height:32px;border:0;background:var(--scrub-surface);color:var(--scrub-text)}header.top .in>.hlp-btn:hover,header.top .in>.hlp-btn[aria-expanded=true]{background:var(--scrub-surface-2)}header.top .bal+.hlp-btn{margin-left:-8px}header.top .hlp-btn+.acct{margin-left:-10px}}
@media (min-width:861px){header.top .bal+.hlp-btn{margin-left:0}header.top .hlp-btn+.acct{margin-left:-2px}}
.hlp-dot{position:absolute;top:5px;right:5px;width:8px;height:8px;border-radius:999px;background:var(--scrub-err);border:2px solid var(--scrub-bg)}
.hlp-dot[hidden]{display:none}
.assist.hlp{top:57px;right:0;bottom:0;left:auto;width:400px;max-width:100vw;max-height:none;border-radius:var(--scrub-r-sheet) 0 0 0;border-width:0;box-shadow:var(--scrub-shadow-float);z-index:110}
.hlp [hidden]{display:none!important}
.hlp-top .hlp-t{flex:1}
.hlp-top .small{flex:none}
/* Its X in the middle of its circle (SCR-740): no padding or least height from the page's buttons pushes it off. */
.hlp-x{display:inline-grid;place-items:center;flex:none;box-sizing:border-box;width:36px;height:36px;min-height:0;padding:0;border:0;background:none;color:var(--scrub-text-2);font-size:22px;line-height:1;border-radius:var(--scrub-r-pill);cursor:pointer}
/* The kit's close (SCR-740): the drawn X in the middle of its button, at the button's own size, 16 to 20 px. */
.x-glyph{display:block;flex:none;margin:auto;width:clamp(16px,1em,20px);height:clamp(16px,1em,20px);pointer-events:none}
.hlp-x:hover{background:var(--scrub-surface-2);color:var(--scrub-text)}
.hlp-home,.hlp-view{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:14px}
.hlp-h{margin:4px 0 0;font:var(--scrub-label);letter-spacing:.06em;text-transform:uppercase;color:var(--scrub-text-2)}
.hlp-search{display:flex;flex-direction:column;gap:6px}
.hlp-search input{width:100%;max-width:none;box-sizing:border-box;min-height:44px;padding:0 16px;border-radius:var(--scrub-r-pill);font:inherit;font-size:14px}
.hlp-list{display:flex;flex-direction:column;gap:2px}
.hlp-row{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:6px 10px;border:0;border-radius:var(--scrub-r-field);background:none;color:var(--scrub-text);font:inherit;text-align:left;cursor:pointer;transition:background-color .15s}
.hlp-row:hover{background:var(--scrub-surface-2)}
.hlp-row:focus-visible{outline:2px solid var(--scrub-text);outline-offset:-2px}
.hlp-row .tile{--s:32px;flex:none}
.hlp-row>span:last-child{display:flex;flex-direction:column;min-width:0}
.hlp-row b{font-size:14px;font-weight:600}
.hlp-row .small{color:var(--scrub-text-2)}
.hlp-doc{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:var(--scrub-radius);background:var(--scrub-surface-2);color:var(--scrub-text-2)}
.hlp-none{margin:0;color:var(--scrub-text-2)}
.hlp-person{display:flex;align-items:center;gap:12px;padding:14px;border:0;border-radius:var(--scrub-r-block);background:var(--scrub-surface)}
.hlp-person>div{flex:1;min-width:0;display:flex;flex-direction:column}
.hlp-person b{font-size:14px}
.hlp-person .small{color:var(--scrub-text-2)}
.hlp-face{position:relative;flex:none;width:40px;height:40px;border-radius:999px;background:var(--scrub-inv) center/cover no-repeat;color:var(--scrub-on-inv);display:inline-flex;align-items:center;justify-content:center;font-weight:600;font-size:14px}
.hlp-face i{position:absolute;right:-1px;bottom:-1px;width:12px;height:12px;border-radius:999px;border:2px solid var(--scrub-surface);background:var(--scrub-text-2)}
.hlp-face i.on{background:var(--scrub-ok)}
.hlp-foot{display:flex;flex-wrap:wrap;gap:6px 16px;margin:0;padding-top:12px;border-top:1px solid var(--scrub-divide)}
.hlp-foot a{color:var(--scrub-text-2)}
.hlp .assist-log:empty{display:none}
.hlp-art{display:flex;flex-direction:column;gap:10px}
.hlp-art-h{display:flex;align-items:center;gap:10px}
.hlp-art-h .tile{--s:40px}
.hlp-art h3{margin:0;font-size:20px;letter-spacing:-.02em}
.hlp-art p{margin:0}
.hlp-art .small{color:var(--scrub-text-2)}
.hlp-open{display:inline-flex;align-items:center;min-height:40px;padding:0 18px;border:1px solid var(--scrub-line);border-radius:var(--scrub-r-pill);background:transparent;color:var(--scrub-text);font-weight:600;font-size:14px;text-decoration:none}
.hlp-open:hover{border-color:var(--scrub-text-2)}
.hlp-talk .hlp-thread{flex:1;display:flex;flex-direction:column;gap:10px;min-height:120px}
.hlp-carried{margin:0;padding:10px 14px;border-left:0;border-radius:var(--scrub-r-field);background:var(--scrub-surface);color:var(--scrub-text-2);white-space:pre-wrap}
.hlp-say{display:flex;flex-direction:column;gap:8px}
.hlp-say textarea{width:100%;max-width:none;box-sizing:border-box;min-height:72px;padding:10px 14px;border-radius:var(--scrub-r-block);font:400 14px/1.4 var(--scrub-sans);resize:vertical}
.hlp-say button{align-self:flex-end}
@media (max-width:640px){.assist.hlp{top:0;width:100vw;border-width:0;border-radius:0;z-index:110}.hlp-btn{width:44px;height:44px}header.top .hlp-btn+.acct{margin-left:-10px}}
/* Admin's menu (F-184, DESIGN.md Admin menu): beside the console's, tabs on a phone. */
.adm-shell{display:grid;grid-template-columns:200px minmax(0,1fr);gap:0;min-height:0}
.adm-nav{display:flex;flex-direction:column;gap:2px;padding:20px 12px;border-right:1px solid var(--scrub-line-2);min-width:0}
.adm-nav-h{margin:0 0 10px;padding:0 14px;font:var(--scrub-label);letter-spacing:.06em;text-transform:uppercase;color:var(--scrub-text-2)}
.adm-nav-i{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px;padding:0 8px 0 14px;border-radius:var(--scrub-r-pill);font-size:14px;color:var(--scrub-text-2);text-decoration:none;transition:background-color .15s}
.adm-nav-i:hover{background:var(--scrub-surface);color:var(--scrub-text)}
.adm-nav-i[aria-current=page]{color:var(--scrub-text);font-weight:600;background:var(--scrub-surface-2)}
.adm-nav-i:focus-visible{outline:2px solid var(--scrub-text);outline-offset:-2px}
.adm-nav-n{min-width:20px;height:20px;padding:0 6px;box-sizing:border-box;border-radius:999px;background:var(--scrub-inv);color:var(--scrub-on-inv);font:600 11.5px/20px var(--scrub-mono);text-align:center}
.adm-nav-n[hidden]{display:none}
.adm-main{min-width:0;padding:0 0 0 24px}
main.wide>.adm-shell{margin:-24px 0 0 -24px}
main.wide>.adm-shell>.adm-main{padding-top:24px}
@media (max-width:860px){.adm-shell{grid-template-columns:minmax(0,1fr)}.adm-nav{flex-direction:row;align-items:center;padding:8px 12px;border-right:0;border-bottom:1px solid var(--scrub-line-2);overflow-x:auto}.adm-nav-h{display:none}.adm-nav-i{min-height:44px;padding:0 8px;flex:none;white-space:nowrap}.adm-main{padding:0}main.wide>.adm-shell{margin:-16px -16px 16px}main.wide>.adm-shell>.adm-main{padding:16px}}
/* Support (F-184, DESIGN.md Support inbox): the window wide, three columns. */
body:has(.ibx) .bbar{display:none}
main.workpage>.adm-shell{flex:1 1 auto;min-height:0;height:100%}

/* Admin on its own address (SCR-383): its bar, signing in, ticks, Connections, Log, Passkeys */
.adm-top .in{display:flex;align-items:center;gap:12px}
.adm-top-h{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:var(--scrub-r-pill);background:var(--scrub-surface);font-weight:600;font-size:13.5px;color:var(--scrub-text-2)}
.adm-top-end{margin-left:auto;display:flex;align-items:center;gap:12px;min-width:0}
.adm-top-end form{margin:0}
.adm-top-who{color:var(--scrub-text-2);white-space:nowrap}
@media (max-width:640px){.adm-top-em{display:none}}
.adm-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.adm-steps{list-style:none;margin:2px 0;padding:0;display:flex;flex-direction:column;gap:10px}
.adm-step{display:flex;gap:10px;align-items:center;font-size:14px;color:var(--scrub-text-2)}
.adm-step.now{color:var(--scrub-text);font-weight:600}
.adm-step.done{color:var(--scrub-text)}
.adm-step-n{width:24px;height:24px;border-radius:50%;border:1px solid var(--scrub-line);display:grid;place-items:center;font:600 11.5px/1 var(--scrub-mono);flex:none;box-sizing:border-box}
.adm-step.now .adm-step-n{border-color:var(--scrub-text)}
.adm-step.done .adm-step-n{background:var(--scrub-ok);border-color:var(--scrub-ok);color:var(--scrub-on-accent)}
.adm-step-n svg{width:14px;height:14px}
.adm-pk{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--scrub-bg);color:var(--scrub-text);margin:2px auto 0}
.door .center{text-align:center}
/* Admin's doors (signing in, a first passkey) take the window, so the card sits in its middle. */
main.adm-door{max-width:none;margin:0 auto}
.door .adm-wide{width:100%;min-height:48px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
.adm-ticks{display:flex;flex-direction:column;gap:4px;margin:2px 0}
.adm-ticks .sq-tick b{display:block;font-size:14px}
.adm-ticks .sq-tick small{display:block;color:var(--scrub-text-2);font-size:12.5px;line-height:1.4}
.adm-ticks .adm-under{margin-left:30px}
.adm-page{max-width:880px;padding:24px 0;display:flex;flex-direction:column;gap:14px;min-width:0}
.adm-page h1{margin:0}
.adm-page .lead{margin:4px 0 0}
.adm-page-h{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
.adm-page-h form{margin:0}
.adm-page-h .row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.adm-list{display:flex;flex-direction:column;gap:10px}
.adm-conn{display:flex;flex-direction:column;gap:10px;padding:14px 16px;min-width:0}
.adm-conn-h{display:flex;gap:8px 10px;align-items:flex-start;flex-wrap:wrap}
.adm-conn-t{display:flex;flex-direction:column;gap:2px;margin-right:auto;min-width:0}
.adm-conn-t .small{color:var(--scrub-text-2)}
.adm-conn-h form,.adm-conn form{margin:0}
.adm-tags{display:flex;flex-wrap:wrap;gap:6px}
.adm-chan-app{display:flex;flex-direction:column;gap:10px;border-top:1px solid var(--scrub-line);padding-top:12px}
.adm-chan-app p.small,.adm-chan-saved{margin:0;color:var(--scrub-text-2);overflow-wrap:anywhere}
.adm-chan-f{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media (max-width:640px){.adm-chan-f{grid-template-columns:1fr}}
button.secondary.adm-danger,.adm-danger{color:var(--scrub-err)}
.adm-empty{color:var(--scrub-text-2);font-size:13.5px;padding:18px;text-align:center;border:1px dashed var(--scrub-line);border-radius:10px;margin:0}
.adm-pt.adm-log td{white-space:normal;overflow-wrap:anywhere;padding:8px 10px;vertical-align:top}
.adm-pt.adm-log td.num{white-space:nowrap;overflow-wrap:normal}
.sup .adm-t-val{font-size:26px}
.sup-state{font-weight:600}
.sup-word{font-family:var(--scrub-sans)}
.sup .adm-tile{display:flex;flex-direction:column;gap:4px}
.sup-buy{align-self:flex-start;margin-top:auto}
.sup-ok{color:var(--scrub-ok)}
.sup-warn{color:var(--scrub-warn)}
.sup-err{color:var(--scrub-err)}
.sup-quiet{color:var(--scrub-text-2)}
.sup-t td .small{color:var(--scrub-text-2);white-space:normal}
.sup-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sup-form{display:flex;flex-direction:column;gap:10px;padding:16px}
.sup-form h2{margin:0;font-size:16px}
.sup-form p.small{color:var(--scrub-text-2);margin:0}
.sup-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sup-plan{margin-top:4px}
.sup-total td{border-top:1px solid var(--scrub-line)}
@media (max-width:900px){.sup-cols{grid-template-columns:1fr}}
@media (max-width:600px){.sup-fields{grid-template-columns:1fr}.adm-pt.sup-plan{display:table}.adm-pt.sup-plan thead{display:table-header-group}.adm-pt.sup-plan tbody{display:table-row-group}}
.adm-logcards{display:none;flex-direction:column;gap:8px}
.adm-logcards .card{display:flex;flex-direction:column;gap:2px;padding:12px 14px}
.adm-logcards .small{color:var(--scrub-text-2)}
.adm-logcard-h{display:flex;gap:8px;align-items:baseline}
.adm-logcard-h .num{margin-left:auto}
@media (max-width:600px){.adm-log{display:none}.adm-page .adm-tablewrap{display:none}.adm-logcards{display:flex}.adm-ticks .adm-under{margin-left:20px}.adm-page{padding:16px 0}}
.ibx{display:grid;grid-template-columns:340px minmax(0,1fr) 300px;min-height:0;height:100%;background:var(--scrub-bg)}
.ibx-col{min-width:0;min-height:0;display:flex;flex-direction:column}
.ibx-list{border-right:1px solid var(--scrub-line-2)}
.ibx-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 16px 8px}
.ibx-bar h1{margin:0;font-size:20px}
.ibx-filter{display:flex;align-items:center;gap:4px;padding:0 12px 10px;border-bottom:1px solid var(--scrub-line-2)}
.ibx-filter [aria-pressed=true]{color:var(--scrub-text);background:var(--scrub-surface-2)}
.ibx-photo{margin-left:auto;cursor:pointer;display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:var(--scrub-r-pill);color:var(--scrub-text-2)}
.ibx-photo:hover{background:var(--scrub-surface);color:var(--scrub-text)}
.ibx-photo:focus-within{outline:2px solid var(--scrub-text);outline-offset:-2px}
.ibx-rows{flex:1;overflow-y:auto;padding:6px}
.ibx-empty{margin:0;padding:16px;color:var(--scrub-text-2)}
.ibx-row{position:relative;display:flex;align-items:flex-start;gap:10px;width:100%;padding:10px 12px;border:0;border-radius:var(--scrub-r-block);background:none;color:var(--scrub-text);font:inherit;text-align:left;cursor:pointer;transition:background-color .15s}
.ibx-row:hover{background:var(--scrub-surface)}
.ibx-row.on{background:var(--scrub-surface-2)}
.ibx-row:focus-visible{outline:2px solid var(--scrub-text);outline-offset:-2px}
.ibx-row-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ibx-who{display:flex;justify-content:space-between;gap:8px;min-width:0}
.ibx-who b{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ibx-row.unread .ibx-who b{font-weight:800}
.ibx-at{flex:none;color:var(--scrub-text-2)}
.ibx-last{color:var(--scrub-text-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ibx-row.unread .ibx-last{color:var(--scrub-text)}
.ibx-dot{position:absolute;right:10px;bottom:12px;width:8px;height:8px;border-radius:999px;background:var(--scrub-text)}
.ibx-face{flex:none;width:32px;height:32px;border-radius:999px;background:var(--scrub-line);color:var(--scrub-text);display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:13px}
.ibx-face.lg{width:48px;height:48px;font-size:18px}
.ibx-said{margin:0;padding:8px 16px;border-top:1px solid var(--scrub-line-2);color:var(--scrub-text-2);min-height:20px}
.ibx-said:empty{display:none}
.ibx-thread{background:var(--scrub-bg)}
.ibx-none{flex:1;display:flex;align-items:center;justify-content:center;color:var(--scrub-text-2)}
.ibx-none[hidden],.ibx-head[hidden],.ibx-msgs[hidden],.ibx-say[hidden],.ibx-side[hidden]{display:none}
.ibx-head{display:flex;align-items:center;gap:10px;padding:14px 20px;border-bottom:1px solid var(--scrub-line-2)}
.ibx-head>div{display:flex;align-items:baseline;gap:10px;min-width:0}
.ibx-head b{font-size:16px}
.ibx-head .small{color:var(--scrub-text-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ibx-back{display:none}
.ibx-msgs{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:14px}
.ibx-msg{display:flex;flex-direction:column;align-items:flex-start;gap:3px;max-width:min(640px,85%)}
.ibx-msg.you{align-self:flex-end;align-items:flex-end}
.ibx-msg>.msg:not(.you){padding:10px 14px;border:0;border-radius:18px;background:var(--scrub-surface)}
.ibx-msg .small{color:var(--scrub-text-2)}
.ibx-say{margin:0 20px 20px;padding:12px;border:1px solid var(--scrub-line);border-radius:var(--scrub-r-panel);background:var(--scrub-surface);display:flex;flex-direction:column;gap:8px}
.ibx-say:focus-within{border-color:var(--scrub-text-2)}
.ibx-say textarea{width:100%;max-width:none;box-sizing:border-box;border:0;background:none;min-height:64px;padding:4px;font:400 14px/1.45 var(--scrub-sans);color:var(--scrub-text);resize:none;outline:none}
.ibx-say-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ibx-say-row .small{color:var(--scrub-text-2)}
.ibx-side{border-left:1px solid var(--scrub-line-2);overflow-y:auto;padding:20px;gap:18px;background:var(--scrub-surface)}
.ibx-side-p{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.ibx-side-p b{font-size:16px;margin-top:6px}
.ibx-side-p .small{color:var(--scrub-text-2);overflow-wrap:anywhere}
.ibx-facts{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 12px;margin:0;font-size:13.5px}
.ibx-facts dt{color:var(--scrub-text-2)}
.ibx-facts dd{margin:0;overflow-wrap:anywhere}
.ibx-facts .mono{font-family:var(--scrub-mono);font-size:12.5px}
.ibx-side-b{display:flex;flex-direction:column;gap:8px}
.ibx-carried{margin:0;white-space:pre-wrap;color:var(--scrub-text-2);overflow-wrap:anywhere}
.ibx-acts{display:flex;flex-wrap:wrap;gap:8px}
.sup-switch{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:13.5px}
.sup-switch input{position:absolute;opacity:0;pointer-events:none}
.sup-track{position:relative;flex:none;width:36px;height:20px;border-radius:999px;background:var(--scrub-line);transition:background .15s}
.sup-track::after{content:'';position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:999px;background:var(--scrub-surface);transition:transform .15s}
.sup-switch input:checked+.sup-track{background:var(--scrub-ok)}
.sup-switch input:checked+.sup-track::after{transform:translateX(16px)}
.sup-switch input:focus-visible+.sup-track{outline:2px solid var(--scrub-text);outline-offset:2px}
@media (max-width:1280px){.ibx{grid-template-columns:300px minmax(0,1fr)}.ibx-side{display:none!important}}
@media (max-width:860px){.ibx{grid-template-columns:minmax(0,1fr);height:auto;min-height:calc(100dvh - 160px)}.ibx-thread{display:none}.ibx.has-open .ibx-list{display:none}.ibx.has-open .ibx-thread{display:flex}.ibx-back{display:inline-flex;min-width:44px;min-height:44px;font-size:22px}.ibx-head{padding:8px 12px}.ibx-msgs{padding:14px}.ibx-say{margin:0 12px 12px}.ibx-say button{min-height:44px}.ibx-row{min-height:56px}}
/* Prompts (SCR-194, DESIGN.md Prompts): Support's frame, the list and the prompt open. */
.ibx.pmt{grid-template-columns:340px minmax(0,1fr)}
.pmt-count{color:var(--scrub-text-2)}
.pmt-find{display:block;padding:0 16px 8px}
.pmt-find input{width:100%;max-width:none;box-sizing:border-box;min-height:40px;padding:0 16px;font:inherit;font-size:14px;color:var(--scrub-text);background:var(--scrub-surface);border:1px solid var(--scrub-line);border-radius:var(--scrub-r-pill)}
.pmt-row{text-decoration:none}
.pmt-row[hidden]{display:none}
.pmt-users-line{color:var(--scrub-text-2)}
.pmt-row-n{flex:none;text-align:right;color:var(--scrub-text-2)}
.pmt-open{overflow-y:auto;padding:20px 24px 80px;display:block}
.pmt-back{display:none}
.pmt-h{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px 16px}
.pmt-h h2{margin:0;font-size:22px;flex:1 1 320px}
.pmt-users{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}
.pmt-users span{font-size:13px;padding:2px 10px;border:1px solid var(--scrub-line);border-radius:999px;background:var(--scrub-surface)}
.pmt-facts{margin:10px 0 0;color:var(--scrub-text-2)}
.pmt-facts b{color:var(--scrub-text);font-weight:600}
.pmt-tabs{display:flex;gap:4px;margin:18px 0 14px;border-bottom:1px solid var(--scrub-line-2)}
.pmt-tabs button{font:inherit;font-size:14px;min-height:40px;padding:0 12px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--scrub-text-2);cursor:pointer;margin-bottom:-1px}
.pmt-tabs button[aria-selected=true]{color:var(--scrub-text);border-bottom-color:var(--scrub-text)}
.pmt-tabs button:focus-visible{outline:2px solid var(--scrub-text);outline-offset:-2px}
.pmt-tab[hidden]{display:none}
.pmt-file{margin:0 0 6px;color:var(--scrub-text-2)}
.pmt-file code,.pmt-parts summary code,.pmt-models code{font:12.5px var(--scrub-mono)}
.pmt-words{margin:0 0 18px;padding:14px 16px;border:1px solid var(--scrub-line);border-radius:var(--scrub-radius-lg);background:var(--scrub-surface);font:13px/1.6 var(--scrub-mono);white-space:pre-wrap;overflow-wrap:anywhere;max-height:560px;overflow:auto}
.pmt-blank{padding:0 4px;border-radius:4px;background:var(--scrub-line-2);color:var(--scrub-text);font-weight:600}
.pmt-h3{margin:18px 0 8px;font:600 11px/1 var(--scrub-sans);letter-spacing:.08em;text-transform:uppercase;color:var(--scrub-text-2)}
.pmt-parts{display:flex;flex-direction:column;gap:6px}
.pmt-parts details{border:1px solid var(--scrub-line-2);border-radius:var(--scrub-radius);background:var(--scrub-surface)}
.pmt-parts summary{cursor:pointer;padding:10px 12px;font-size:14px;color:var(--scrub-text-2)}
.pmt-parts .pmt-words{margin:0;border:0;border-top:1px solid var(--scrub-line-2);border-radius:0 0 var(--scrub-radius) var(--scrub-radius)}
.pmt-vers{display:flex;flex-direction:column;border:1px solid var(--scrub-line);border-radius:var(--scrub-radius-lg);background:var(--scrub-surface);overflow:hidden}
.pmt-ver{padding:12px 16px;border-top:1px solid var(--scrub-line-2)}
.pmt-ver:first-child{border-top:0}
.pmt-ver-h{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
.pmt-ver-h b{font-weight:600}
.pmt-live{font-size:11.5px;padding:0 8px;border:1px solid var(--scrub-ok);border-radius:999px;color:var(--scrub-ok)}
.pmt-ver-n,.pmt-models,.pmt-nowords{color:var(--scrub-text-2)}
.pmt-models,.pmt-nowords{margin:6px 0 0}
.pmt-models code{color:var(--scrub-text)}
.pmt-ver-a{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:8px}
.pmt-ver-a a{color:var(--scrub-text-2)}
.pmt-diff{position:relative;margin:10px 0 0;padding:10px 12px;border:1px solid var(--scrub-line-2);border-radius:var(--scrub-radius);font:12.5px/1.6 var(--scrub-mono);white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;overflow:auto;background:var(--scrub-bg)}
.pmt-diff[hidden]{display:none}
.pmt-diff ins{text-decoration:none;background:color-mix(in srgb,var(--scrub-ok) 22%,transparent)}
.pmt-diff del{background:color-mix(in srgb,var(--scrub-err) 18%,transparent)}
.upm-acts{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.upm .pmt-open>.notice{margin:0 0 16px}
.upm-acts form{margin:0}
.upm-row-n{flex:none;color:var(--scrub-text-2)}
.upm-subject{margin:0 0 8px;color:var(--scrub-text-2)}
.upm-subject b{color:var(--scrub-text);font-weight:600}
.upm-mail{display:block;width:100%;max-width:640px;height:640px;margin:0 0 18px;border:1px solid var(--scrub-line);border-radius:var(--scrub-radius-lg);background:var(--scrub-surface)}
.upm-top{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:4px 16px}
.upm-who{display:flex;flex-direction:column;gap:2px;min-width:0}
.upm-who .small{color:var(--scrub-text-2);overflow-wrap:anywhere}
.upm-who code,.upm-more code{font:12px var(--scrub-mono)}
.upm-x{flex:none;font-size:14px}
.upm-more{margin:6px 0 0;color:var(--scrub-text-2);overflow-wrap:anywhere}
.upm-ok{color:var(--scrub-ok)}
.upm-err{color:var(--scrub-err)}
.upm-st{color:var(--scrub-text-2)}
@media (max-width:860px){.ibx.pmt{grid-template-columns:minmax(0,1fr)}.ibx.pmt .pmt-open{display:none}.ibx.pmt.has-open .ibx-list{display:none}.ibx.pmt.has-open .pmt-open{display:block;padding:12px 16px 80px}.pmt-back{display:inline-flex;align-items:center;min-height:44px;margin:0 0 4px}.pmt-row{min-height:56px}.pmt-tabs button{min-height:44px}.upm-acts button{min-height:44px}.upm-mail{height:560px}}
/* off-limits: feedback (SCR-769): the panel, the camera and the recorder. */
/* Send feedback (F-189, DESIGN.md Send feedback): a panel that moves (SCR-768), its pill, the camera and the recorder. */
.fb{position:fixed;z-index:110;top:69px;right:12px;width:440px;max-width:calc(100vw - 24px);max-height:calc(100vh - 81px);max-height:calc(100dvh - 81px);box-sizing:border-box;background:var(--scrub-raised);border:0;border-radius:var(--scrub-r-sheet);box-shadow:var(--scrub-shadow-float);display:flex;flex-direction:column;overflow:hidden}
.fb[hidden]{display:none}
.fb [hidden]{display:none!important}
/* Where it was put (SCR-768): its place from the script, from the top left. */
.fb.fb-at,.fb-pill.fb-at{right:auto;bottom:auto;margin:0}
.fb-h{display:flex;align-items:center;gap:2px;min-height:56px;box-sizing:border-box;padding:8px 10px 8px 22px;border-bottom:1px solid var(--scrub-divide);cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.fb-h b{flex:1;font-size:17px;font-weight:600;letter-spacing:-.01em}
.fb-moving,.fb-moving .fb-h,.fb-moving .fb-move{cursor:grabbing}
.fb-move{cursor:grab}
.fb-b{flex:1;overflow-y:auto;padding:18px 22px 0;display:flex;flex-direction:column;gap:16px;margin:0}
.fb-lead{margin:0;color:var(--scrub-text-2)}
.fb-type{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.fb-type label{position:relative;cursor:pointer}
.fb-type input{position:absolute;opacity:0;pointer-events:none}
.fb-type label>span{display:flex;flex-direction:column;gap:2px;padding:12px 14px;min-height:52px;box-sizing:border-box;border:1px solid transparent;border-radius:var(--scrub-r-block);background:var(--scrub-surface);transition:background-color .15s}
.fb-type label:hover>span{background:var(--scrub-surface-2)}
.fb-type b{font-size:14px}
.fb-type .small{color:var(--scrub-text-2)}
.fb-type input:checked+span{border-color:var(--scrub-text);box-shadow:inset 0 0 0 1px var(--scrub-text)}
.fb-type input:focus-visible+span{outline:2px solid var(--scrub-text);outline-offset:2px}
.fb-f{display:flex;flex-direction:column;gap:6px}
.fb-l{font:var(--scrub-label);letter-spacing:.06em;text-transform:uppercase;color:var(--scrub-text-2)}
.fb-f input,.fb-f textarea,.fb-link input{width:100%;max-width:none;box-sizing:border-box;padding:10px 14px;font:400 14px/1.45 var(--scrub-sans)}
.fb-f textarea{resize:vertical;min-height:120px;border-radius:var(--scrub-r-block)}
.fb-card{display:flex;align-items:center;gap:12px;padding:14px;border:0;border-radius:var(--scrub-r-block);background:var(--scrub-surface)}
.fb-card>div:not(.fb-shot-b){flex:1;min-width:0}
.fb-card b{font-size:14px}
.fb-card .small{margin:2px 0 0;color:var(--scrub-text-2)}
.fb-shot-b{display:flex;flex-direction:column;gap:6px}
.fb-thumb{flex:none;width:72px;height:48px;border-radius:var(--scrub-radius);background:var(--scrub-surface-2) center/cover no-repeat;display:inline-flex;align-items:center;justify-content:center;color:var(--scrub-text-2)}
.fb-thumb.got svg{display:none}
.fb-adds{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.fb-adds .small{color:var(--scrub-text-2)}
.fb-link{display:flex;gap:8px}
.fb-chips{display:flex;flex-wrap:wrap;gap:6px}
.fb-chips:empty{display:none}
.fb-chip{display:inline-flex;align-items:center;gap:4px;max-width:100%;font-size:12.5px;padding:3px 4px 3px 12px;border:0;background:var(--scrub-surface);border-radius:999px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fb-chip button{border:0;background:none;color:var(--scrub-text-2);font-size:15px;line-height:1;padding:2px 6px;cursor:pointer;border-radius:999px}
.fb-chip button:hover{background:var(--scrub-surface-2);color:var(--scrub-text)}
.fb-tech{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:var(--scrub-r-block);background:var(--scrub-surface);color:var(--scrub-text-2)}
.fb-tech p{margin:0;flex:1}
.fb-techlist{margin:0;padding:12px 14px;border:1px solid var(--scrub-divide);border-radius:var(--scrub-r-field);font:400 12px/1.6 var(--scrub-mono);white-space:pre-wrap;overflow-wrap:anywhere;color:var(--scrub-text-2)}
.fb-foot{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:8px;margin-top:auto;padding:14px 0 18px;background:var(--scrub-raised)}
.fb-sent{padding:24px 22px;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.fb-sent .small{margin:0;color:var(--scrub-text-2)}
.fb-cam{position:fixed;inset:0;z-index:60;pointer-events:none}
.fb-cam[hidden]{display:none}
.fb-cam-frame{position:absolute;inset:12px;border:2px solid color-mix(in srgb,var(--scrub-text) 35%,transparent);border-radius:14px}
.fb-cam-frame i{position:absolute;width:28px;height:28px;border:4px solid var(--scrub-text)}
.fb-cam-frame i:nth-child(1){top:-3px;left:-3px;border-right:0;border-bottom:0;border-top-left-radius:14px}
.fb-cam-frame i:nth-child(2){top:-3px;right:-3px;border-left:0;border-bottom:0;border-top-right-radius:14px}
.fb-cam-frame i:nth-child(3){bottom:-3px;left:-3px;border-right:0;border-top:0;border-bottom-left-radius:14px}
.fb-cam-frame i:nth-child(4){bottom:-3px;right:-3px;border-left:0;border-top:0;border-bottom-right-radius:14px}
/* Centred by its margins, not a transform, so its icons land on whole pixels. */
.fb-pill{position:fixed;left:0;right:0;bottom:24px;margin:0 auto;width:max-content;display:flex;align-items:center;gap:10px;padding:6px 8px 6px 6px;border:0;border-radius:999px;background:var(--scrub-raised);box-shadow:var(--scrub-shadow-float);pointer-events:auto;max-width:calc(100% - 24px);box-sizing:border-box;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.fb-pill button{flex:none}
.fb-pill button:not(.fb-move){cursor:pointer}
.fb-cam-bar .small{color:var(--scrub-text-2)}
.fb-fold{z-index:110}
.fb-fold[hidden]{display:none}
.fb-fold b{font-size:14px;font-weight:600;white-space:nowrap}
.fb-fold .small{min-width:0;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--scrub-text-2)}
.fb-fold .small:empty{display:none}
.fb-rec{z-index:60}
.fb-rec[hidden]{display:none}
.fb-rec-dot{width:10px;height:10px;border-radius:999px;background:var(--scrub-err);animation:fb-blink 1s steps(2,start) infinite}
.fb-rec .mono{font:600 14px var(--scrub-mono)}
.fb-rec .small{color:var(--scrub-text-2)}
@keyframes fb-blink{to{visibility:hidden}}
html.fb-flash body::after{content:'';position:fixed;inset:0;z-index:70;background:#fff;opacity:.6;pointer-events:none;animation:fb-flash .22s ease-out forwards}
@keyframes fb-flash{to{opacity:0}}
@media (prefers-reduced-motion:reduce){.fb-rec-dot{animation:none}html.fb-flash body::after{animation:none;opacity:0}}
/* off-limits end: feedback */
.acct-n{min-width:20px;height:20px;padding:0 6px;box-sizing:border-box;border-radius:999px;background:var(--scrub-inv);color:var(--scrub-on-inv);font:600 11.5px/20px var(--scrub-mono);text-align:center}
.acct-n[hidden]{display:none}
/* off-limits: feedback */
@media (max-width:640px){.fb{inset:0!important;width:auto;max-width:none;max-height:none;border-radius:0}.fb .fb-move{display:none}.fb-h{cursor:auto}.fb-h .hlp-x,.fb-pill .hlp-x{width:44px;height:44px}.fb-type{grid-template-columns:1fr}.fb-cam-bar{flex-wrap:wrap;justify-content:center;border-radius:var(--scrub-r-float)}.fb-pill{bottom:12px}.fb-foot button{min-height:44px}}
/* off-limits end: feedback */
/* Product updates (SCR-6, DESIGN.md Product updates). */
/* Read without signing in, outside the console: the console's own gutter. */
main.pu-open{padding:32px 24px 100px}
@media (max-width:640px){main.pu-open{padding:32px 20px 100px}}
/* Product updates (SCR-498, Dots): the head large, a rail of pills, the list a filled panel. */
.pu-head h1{margin:0}
.pu-head .lead{margin:8px 0 0;font-size:16px;color:var(--scrub-text-2)}
.pu-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;margin-top:28px}
.pu-rail{display:flex;flex-direction:column;gap:2px}
.pu-rail-h{margin:18px 0 8px;padding:0 14px;font:var(--scrub-label);letter-spacing:.06em;text-transform:uppercase;color:var(--scrub-text-2)}
.pu-f{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px;padding:0 8px 0 14px;border:0;border-radius:var(--scrub-r-pill);background:none;color:var(--scrub-text-2);font:inherit;font-size:14.5px;text-align:left;cursor:pointer;transition:background-color .15s var(--scrub-ease),color .15s var(--scrub-ease)}
.pu-f:hover{background:var(--scrub-surface);color:var(--scrub-text)}
.pu-f.on{background:var(--scrub-surface-2);color:var(--scrub-text);font-weight:500}
.pu-f:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.pu-row:focus-visible{outline:2px solid var(--scrub-text);outline-offset:-2px}
.pu-n{min-width:22px;height:22px;padding:0 7px;box-sizing:border-box;border-radius:var(--scrub-r-pill);background:color-mix(in srgb,var(--scrub-text) 7%,transparent);font:500 12px/22px var(--scrub-mono);font-variant-numeric:tabular-nums;text-align:center;color:var(--scrub-text)}
.pu-tools{display:flex;gap:10px;margin-bottom:14px}
.pu-tools input{flex:1;min-width:0;min-height:44px;padding:0 18px;border:1px solid transparent;border-radius:var(--scrub-r-pill);background:var(--scrub-surface);font:inherit;font-size:15px;max-width:none}
.pu-tools select{min-height:44px;padding:0 14px 0 16px;border:1px solid transparent;border-radius:var(--scrub-r-pill);background-color:var(--scrub-surface);font:inherit;font-size:14.5px;width:auto;flex:0 0 auto}
.pu-tools input:focus,.pu-tools select:focus{border-color:var(--scrub-text);outline:none}
.pu-table{border-radius:var(--scrub-r-panel);background:var(--scrub-surface);overflow:hidden}
.pu-th,.pu-row{display:grid;grid-template-columns:minmax(0,1fr) 190px 110px 80px;gap:12px;align-items:center;padding:14px 20px}
.pu-th{font-size:13px;color:var(--scrub-text-2);border-bottom:1px solid var(--scrub-divide)}
.pu-row{width:100%;border:0;border-bottom:1px solid var(--scrub-divide);border-radius:0;background:none;color:var(--scrub-text);font:inherit;text-align:left;cursor:pointer;transition:background-color .15s var(--scrub-ease)}
.pu-row:last-child{border-bottom:0}
.pu-row:hover{background:var(--scrub-surface-2)}
.pu-row.on{background:color-mix(in srgb,var(--scrub-text) 8%,var(--scrub-surface))}
.pu-row[hidden]{display:none}
.pu-t{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0}
.pu-t b{font-size:15px;font-weight:500;letter-spacing:-.01em}
.pu-newtag{font-size:11px;line-height:18px;padding:0 8px;border-radius:var(--scrub-r-pill);background:var(--scrub-inv);color:var(--scrub-on-inv);font-weight:600}
.pu-asked{font-size:12px;line-height:18px;padding:0 9px;border-radius:var(--scrub-r-pill);background:color-mix(in srgb,var(--scrub-text) 7%,transparent);color:var(--scrub-text-2)}
.pu-area,.pu-at{color:var(--scrub-text-2)}
.pu-none{margin:12px 0;color:var(--scrub-text-2)}
@media (prefers-reduced-motion:reduce){.pu-f,.pu-row{transition:none}}
/* Brand Kits (SCR-72): the kits, the one chosen in groups, and a frame drawn as the video is. */
.bk{padding-bottom:40px}
.bk-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,300px);gap:24px;margin-top:20px;align-items:start}
/* The list and a kit's own page (SCR-757): the head with its actions; Back to the list. */
.bk-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px 20px;flex-wrap:wrap}
.bk-head h1{overflow-wrap:anywhere}
.bk-head-acts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.bk-back{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:14px;color:var(--scrub-text-2);text-decoration:none}
.bk-back:before{content:'';width:7px;height:7px;border:solid currentColor;border-width:0 0 1.5px 1.5px;transform:rotate(45deg)}
.bk-back:hover{color:var(--scrub-text)}
/* Each kit a result card (F-88), its stage a frame of a video in it. */
.bk-cards,.bk>.nothing{margin-top:20px}
.bk-card-stage{background:var(--scrub-line-2)}
.bk-card-stage canvas{display:block;height:100%;width:auto;aspect-ratio:9/16}
.bk-card .mc-foot{grid-template-columns:minmax(0,1fr);grid-template-areas:"name" "line"}
/* A kit's styles of words on screen, one under the other; its writing in words. */
.bk-sub{display:flex;flex-direction:column;gap:10px}
.bk-sub+.bk-sub{margin-top:8px;padding-top:12px;border-top:1px solid var(--scrub-divide)}
.bk-sub>.scrub-label{margin:0}
.bk-tall{align-items:start}
.bk-tall>span:first-child{padding-top:9px}
.bk-f textarea{width:100%;max-width:none;font:inherit;font-size:14px;resize:vertical}
/* Taste (SCR-757): Fields' list (F-23), a rule a line, its setting at the right. */
.bk-taste-lead{margin:0 0 4px}
.bk-rule{display:flex;flex-direction:column;gap:2px;min-width:0}
.bk-about{color:var(--scrub-text-2)}
.bk-taste .fl-name{white-space:normal;overflow:visible}
.bk-taste .fl-kind{max-width:45%;white-space:normal;text-align:right;display:flex;flex-direction:column;gap:2px}
.bk-taste .fl-kind b{color:var(--scrub-text);font-weight:600;font-family:var(--scrub-mono);font-size:13px}
.bk-measured{margin:0;color:var(--scrub-text-2)}
.bk-taste textarea{font:inherit;font-size:14px}
.bk-seen{display:flex;flex-direction:column;gap:2px}
.bk-seen p{margin:0}
/* Read from a website: what was read said once, its colours to press. */
.bk-from{padding:12px 14px;border-radius:var(--scrub-r-block);background:var(--scrub-surface);display:flex;flex-direction:column;gap:8px}
.bk-from p{margin:0}
.bk-sws{display:flex;flex-wrap:wrap;gap:6px}
.bk-sw{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:4px 10px 4px 6px;border-radius:999px;border:1px solid var(--scrub-line);background:var(--scrub-raised);font-size:12.5px;color:var(--scrub-text)}
.bk-sw i{width:22px;height:22px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--scrub-line)}
.bk-sw.on{outline:2px solid var(--scrub-text);outline-offset:1px}
.bk-site input{width:100%;max-width:none}
.bk-edit{min-width:0;display:flex;flex-direction:column;gap:10px}
.bk-edit[hidden],.bk-none[hidden],.bk-prev[hidden],.bk-from[hidden]{display:none}
.bk-f{display:grid;grid-template-columns:140px minmax(0,1fr);gap:10px;align-items:center;min-height:38px}
.bk-f[hidden]{display:none}
.bk-f>span:first-child{color:var(--scrub-text-2);font-size:14px}
.bk-f select,.bk-f input[type=text],.bk-f input[type=number]{width:100%;max-width:none;min-height:38px;font:inherit;font-size:14px}
.bk-name{margin-bottom:4px}
.bk-col{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.bk-col input[type=color]{width:48px;height:34px;padding:2px;border:1px solid var(--scrub-line);border-radius:8px;background:var(--scrub-surface)}
.bk-col input[type=color]:disabled{opacity:.35}
.bk-num{display:flex;align-items:center;gap:8px}.bk-num input{max-width:140px}
.bk-hint{margin:2px 0 0;color:var(--scrub-text-2)}
/* A kit's logo (SCR-306): its name, Upload, Your files and Remove; the list and the line under them. */
.bk-logo-b{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.bk-logo-name{flex:1 1 120px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600}
.bk-logo .drop-actions{display:flex;gap:6px;flex-wrap:wrap}
.bk-logo [hidden]{display:none}
.bk-logo>.files,.bk-logo>.bk-hint{grid-column:2;order:initial}
.bk-act{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:6px}
.bk-del{margin-left:auto}
.bk-said{color:var(--scrub-text-2)}
.bk-prev{position:sticky;top:76px;min-width:0}
.bk-prev canvas{display:block;width:100%;max-width:300px;aspect-ratio:9/16;height:auto;border-radius:14px;background:var(--scrub-line-2);box-sizing:border-box;border:1px solid var(--scrub-line)}
.bk-prev p{margin:8px 0 0;color:var(--scrub-text-2)}
@media (max-width:1100px){.bk-grid{grid-template-columns:minmax(0,1fr) 240px}}
@media (max-width:700px){.bk-f select,.bk-f input[type=text],.bk-f input[type=number],.bk-site input{min-height:44px}.bk-col input[type=color]{width:56px;height:44px}.bk-taste .fl-remove{min-height:44px;padding:0 4px}.bk-grid{grid-template-columns:minmax(0,1fr)}.bk-prev{position:static;order:-1}.bk-prev canvas{max-width:200px}.bk-f{grid-template-columns:minmax(0,1fr);gap:4px}.bk-tall>span:first-child{padding-top:0}
.bk-logo>.files,.bk-logo>.bk-hint{grid-column:1}.bk-head-acts{width:100%}.bk-taste .fl-kind{max-width:none;text-align:left}.bk-taste summary{flex-wrap:wrap}}
.pu-stage{display:inline-flex;align-items:center;gap:8px;font-size:14px;white-space:nowrap}
.pu-stage i{width:8px;height:8px;border-radius:999px;flex:none;box-sizing:border-box}
.s-live i{background:var(--scrub-ok)}
.s-beta i{background:var(--scrub-warn)}
.s-dev i{background:var(--scrub-text-2)}
.s-planned i{border:2px solid var(--scrub-text-2)}
.s-idea i{border:2px dashed var(--scrub-text-2)}
.s-no i,.s-retired i{background:var(--scrub-err)}
/* An update, open: a raised sheet from the right, its shadow its edge (SCR-498). */
.pu-drawer{position:fixed;z-index:110;top:57px;right:0;bottom:0;width:440px;max-width:100vw;box-sizing:border-box;background:var(--scrub-raised);border-radius:var(--scrub-r-sheet) 0 0 0;box-shadow:var(--scrub-shadow-float);display:flex;flex-direction:column}
.pu-drawer[hidden]{display:none}
.pu-dh{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 6px 22px}
.pu-dh .small{color:var(--scrub-text-2)}
.pu-db{flex:1;overflow-y:auto;display:flex;flex-direction:column}
.pu-db h2{margin:0;font-size:24px;line-height:1.2;letter-spacing:-.025em;text-wrap:balance}
.pu-db p{margin:0}
.ud-hero{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:#000}
.ud-in{padding:20px 22px 14px;display:flex;flex-direction:column;gap:14px}
.ud-tabs{display:flex;gap:6px;margin-top:4px}
.ud-tabs button{display:inline-block;min-height:34px;line-height:34px;padding:0 14px;margin:0;background:none;border:0;border-radius:var(--scrub-r-pill);font:500 14px var(--scrub-sans);color:var(--scrub-text-2);cursor:pointer}
.ud-tabs button:hover{background:var(--scrub-surface);color:var(--scrub-text)}
.ud-tabs button[aria-selected=true]{background:var(--scrub-inv);color:var(--scrub-on-inv)}
.ud-tabs .pu-n{margin-left:8px}
.ud-tabs [aria-selected=true] .pu-n{background:color-mix(in srgb,var(--scrub-on-inv) 18%,transparent);color:inherit}
.ud-body{display:flex;flex-direction:column;gap:10px;line-height:1.55}
.ud-sec h3{margin:8px 0 4px;font-size:16px;letter-spacing:-.01em}
.ud-sec p+p{margin-top:8px}
.ud-ask{margin-top:8px !important;padding:14px 16px;border-radius:var(--scrub-r-block);background:var(--scrub-surface);font-weight:500}
.ud-steps{list-style:none;margin:6px 0 0;padding:0}
.ud-steps li{position:relative;padding:0 0 18px 26px}
.ud-steps li::before{content:"";position:absolute;left:7px;top:14px;bottom:-2px;width:1px;background:var(--scrub-line)}
.ud-steps li:last-child::before{display:none}
.ud-steps .pu-stage{font-weight:500}
.ud-steps .pu-stage i{position:absolute;left:3px;top:6px}
.ud-steps .ud-d{color:var(--scrub-text-2);font-size:12.5px;margin-left:8px}
.ud-steps p{margin:6px 0 0;font-size:14px;line-height:1.5}
.ud-foot{position:sticky;bottom:0;margin-top:auto;padding:14px 22px 18px;background:var(--scrub-raised);border-top:1px solid var(--scrub-divide);display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}
.ud-foot .pu-hint,.ud-said:not(:empty){flex-basis:100%;margin:0}
.ud-in-beta{font-size:12.5px;line-height:18px;padding:3px 10px;border-radius:var(--scrub-r-pill);background:var(--scrub-surface);color:var(--scrub-text)}
.pu-meta{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;color:var(--scrub-text-2)}
.ud-tool{display:flex;flex-wrap:wrap;gap:8px}
.pu-follow{align-self:flex-start}
.pu-follow[aria-pressed=true]{background:var(--scrub-surface-2);border-color:var(--scrub-surface-2)}
.pu-hint{color:var(--scrub-text-2)}
@media (max-width:860px){.pu-table:has([data-pu-rows]:empty){display:none}.pu-grid{grid-template-columns:minmax(0,1fr);gap:20px}.pu-rail{flex-direction:row;flex-wrap:wrap;gap:8px}.pu-rail-h{display:none}.pu-rail .pu-f{border:1px solid var(--scrub-line);min-height:40px;padding:0 6px 0 14px}.pu-rail .pu-f:hover{background:none;border-color:var(--scrub-text-2)}.pu-rail .pu-f.on{background:var(--scrub-inv);border-color:var(--scrub-inv);color:var(--scrub-on-inv)}.pu-rail .pu-f.on .pu-n{background:color-mix(in srgb,var(--scrub-on-inv) 18%,transparent);color:inherit}.pu-th{display:none}.pu-row{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px}.pu-area,.pu-at{display:none}}
@media (max-width:640px){.pu-drawer{top:0;width:100vw;z-index:110}.pu-dh{padding:6px 8px 4px 20px}.ud-in{padding:18px 20px 12px}.ud-foot{padding:12px 20px calc(16px + env(safe-area-inset-bottom))}.ud-tabs button{min-height:44px;line-height:44px}.pu-row{grid-template-columns:minmax(0,1fr);padding:14px 16px}.pu-rail .pu-f,.pu-tools input,.pu-tools select{min-height:44px}.pu-tools input{font-size:16px}}
header.top .acct-money .bal .who{display:block;margin:0 0 2px;font-weight:600}
.acct-money{padding-top:10px;padding-bottom:10px;margin:2px 0;background:var(--scrub-surface)}
.acct-money:hover{background:var(--scrub-surface-2)}
.acct-theme svg{color:var(--scrub-text-2)}
.acct-theme .sun{display:none}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .acct-theme .sun{display:block}:root:not([data-theme="light"]) .acct-theme .moon{display:none}}
:root[data-theme="dark"] .acct-theme .sun{display:block}:root[data-theme="dark"] .acct-theme .moon{display:none}
.acct-sep{height:1px;background:var(--scrub-divide);margin:6px 12px}
.acct-menu form{margin:0}
.acct-foot{display:flex;gap:14px;padding:10px 12px 6px;border-top:1px solid var(--scrub-divide);margin-top:6px}
.acct-foot a{color:var(--scrub-text-2)}
@media (max-width:640px){.acct>summary{width:44px;height:44px}.acct-item{min-height:44px}.acct-menu{position:fixed;left:12px;right:12px;top:calc(56px + env(safe-area-inset-top,0px));width:auto}}
/* Navigation (DESIGN.md): from 861 px the menu leaves the header for a
   sidebar under it, which the button before the logo folds to icons. */
.navfold,.snav{display:none}
@media (min-width:861px){
  :root{--nav-w:224px}
  :root.nav-min{--nav-w:64px}
  header.top nav{display:none}
  header.top .in{gap:14px}
  .navfold{display:inline-flex;flex:none;align-items:center;justify-content:center;width:36px;height:36px;margin-left:-8px;padding:0;background:none;border:1px solid transparent;border-radius:var(--scrub-r-pill);color:var(--scrub-text-2);cursor:pointer;transition:background-color .15s}
  .navfold:hover{background:var(--scrub-surface-2);color:var(--scrub-text)}
  .navfold:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
  body:has(>.snav){padding-left:var(--nav-w)}
  body:has(>.snav)>header.top{margin-left:calc(-1 * var(--nav-w))}
  body:has(>.snav) .composer{left:var(--nav-w)}
  .snav{display:flex;flex-direction:column;position:fixed;z-index:4;left:0;top:57px;bottom:0;width:var(--nav-w);box-sizing:border-box;padding:12px 10px;background:var(--scrub-bg);border-right:1px solid var(--scrub-line-2);overflow-y:auto}
  .snav-list{display:flex;flex-direction:column;gap:2px}
  .snav-foot{margin-top:auto;padding-top:10px;border-top:1px solid var(--scrub-line-2)}
  .snav-item{display:flex;align-items:center;gap:12px;min-height:40px;padding:0 14px;border-radius:var(--scrub-r-pill);font-size:14px;color:var(--scrub-text-2);text-decoration:none;white-space:nowrap;overflow:hidden;transition:background-color .15s,color .15s}
  .snav-item svg{flex:none}
  .snav-item:hover{background:var(--scrub-surface);color:var(--scrub-text)}
  .snav-item:focus-visible{outline:2px solid var(--scrub-text);outline-offset:-2px}
  .snav-item.here{color:var(--scrub-text);font-weight:600;background:var(--scrub-surface-2)}
  .snav-list{flex:1 0 auto}.snav-list>:has(+.snav-founder){margin-bottom:13px}.snav-item.snav-founder{position:relative;overflow:visible;margin-top:auto;color:var(--scrub-text);font-weight:600;box-shadow:inset 0 0 0 1.5px var(--scrub-text)}
  .snav-item.snav-founder::before{content:"";position:absolute;left:14px;right:14px;top:-8px;border-top:1px solid var(--scrub-line-2)}
  .nav-min .snav{padding:12px 8px}
  .nav-min .snav-label,.nav-min .snav .beta{display:none}
  .nav-min .snav-item{justify-content:center;padding:0}
}
/* Flows joined the menu (F-147): between a phone and the sidebar, its items sit closer, so it keeps one row. */
@media (max-width:860px){header.top nav a{padding:6px 7px}}
@media (max-width:640px){header.top .in{gap:10px;padding:0 16px}header.top nav a{padding:6px 7px;font-size:13px}.lockup{font-size:19px}header.top .bal span{display:none}}
@media (max-width:520px){header.top .in{flex-wrap:wrap;height:auto;padding:8px 16px 4px;row-gap:4px}header.top nav{order:3;width:100%;margin:0 -7px}header.top nav a{padding:12px 8px}header.top .bal{margin-left:auto}}
/* Seven items (a founder's, with Files and Admin) on one row of a phone, each still a full target (F-52). */
/* On a phone the header is solid (SCR-474, SCR-475): its blurred, see-through
   layer, stuck at the top, was painted out of place in a narrow Chrome window,
   leaving the top bare and a dark band across the conversation. */
@media (max-width:640px){header.top{background:var(--scrub-bg);-webkit-backdrop-filter:none;backdrop-filter:none}}
/* One line of links on the narrowest phones (SCR-474): they share the width, each still 44 px tall. */
@media (max-width:400px){header.top nav{flex-wrap:nowrap;justify-content:space-between;margin:0 -4px}header.top nav a{flex:0 1 auto;min-width:0;padding:12px 4px;text-align:center;white-space:nowrap}}
/* Up to 860 px, one slim bar (SCR-479, founder, 7 November 2026, the Claude
   app's bar for its model): ☰ in a round button, the page's name in the
   middle (in Chat the conversation's, opening its settings), New and the
   account on the right. Glass as scrub.app's header has it, on a layer behind
   the bar rather than the stuck bar itself, which Chrome painted out of
   place, SCR-475. The menu comes from the side over the page. */
.htitle,.hpill,.navfold .ham,.snav-bal,.nav-veil,.hlp-word{display:none}
/* Search (SCR-732): the header's pill with its keys from 861 px, a round
   button in the slim bar, and one panel over the page: a raised layer as
   Help's, rows as Help's, kinds as chips, full screen on a phone. */
.hsrch{display:inline-flex;align-items:center;gap:8px;flex:0 1 280px;min-width:150px;height:32px;min-height:0;padding:0 6px 0 12px;border:0;border-radius:var(--scrub-r-pill);background:var(--scrub-surface);color:var(--scrub-text-2);font:inherit;font-size:14px;font-weight:400;cursor:pointer;transition:background-color .15s,color .15s}
.hsrch:hover{background:var(--scrub-surface-2);color:var(--scrub-text)}
.hsrch:focus-visible,.hsrch-i:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.hsrch>svg{flex:none}
.hsrch>span{flex:1;text-align:left}
.hsrch kbd,.srch kbd{font:500 11px/1 var(--scrub-mono);border:1px solid var(--scrub-line);border-radius:5px;padding:3px 5px;color:var(--scrub-text-2);background:var(--scrub-bg)}
.hsrch-i{display:none}
dialog.srch{border:0;padding:0;margin:72px auto auto;width:min(640px,calc(100vw - 32px));max-width:none;max-height:min(620px,calc(100dvh - 104px));background:none;color:var(--scrub-text);overflow:visible}
@media (prefers-reduced-motion:no-preference){dialog.srch[open]{animation:chrome-up .22s var(--scrub-ease)}}
.srch-in{display:flex;flex-direction:column;max-height:inherit;box-sizing:border-box;border-radius:var(--scrub-r-sheet);background:var(--scrub-raised);box-shadow:var(--scrub-shadow-float);overflow:hidden}
.srch-top{display:flex;flex:none;align-items:center;gap:10px;padding:12px 12px 12px 20px;color:var(--scrub-text-2)}
.srch-top>svg{flex:none}
.srch .srch-top input[type=search],.srch .srch-top input[type=search]:focus{flex:1;min-width:0;max-width:none;height:44px;min-height:0;box-sizing:border-box;padding:0;border:0;border-radius:0;background:none;color:var(--scrub-text);font:inherit;font-size:17px;outline:none;box-shadow:none}
.srch-top input::-webkit-search-cancel-button{display:none}
.srch-x{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:44px;height:44px;min-height:0;padding:0 6px;border:0;border-radius:var(--scrub-r-pill);background:none;color:var(--scrub-text-2);cursor:pointer}
.srch-x:hover{background:var(--scrub-surface-2);color:var(--scrub-text)}
.srch-x>span{display:none;font-size:24px;line-height:1}
.srch-kinds{display:flex;flex:none;gap:6px;padding:2px 16px 12px;overflow-x:auto;scrollbar-width:none}
.srch-kinds[hidden]{display:none}
.srch-kinds.none{visibility:hidden}
.srch-kinds{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 28px),transparent)}
.srch-top{border-bottom:2px solid transparent}
.srch-top:focus-within{border-bottom-color:var(--scrub-text)}
.srch-g+.srch-g{margin-top:4px}
.srch-kind{flex:none;display:inline-flex;align-items:center;gap:6px;height:32px;min-height:0;padding:0 12px;border:1px solid var(--scrub-line);border-radius:var(--scrub-r-pill);background:none;color:var(--scrub-text-2);font:inherit;font-size:13px;font-weight:500;cursor:pointer}
.srch-kind:hover{color:var(--scrub-text);background:var(--scrub-surface-2)}
.srch-kind[aria-pressed=true]{background:var(--scrub-text);border-color:var(--scrub-text);color:var(--scrub-surface)}
.srch-kind .scrub-num{font-size:12px}
.srch-list:empty{display:none}
.srch-list{flex:1;min-height:0;overflow-y:auto;padding:4px 8px 8px;border-top:1px solid var(--scrub-line-2)}
.srch-h{margin:10px 10px 4px;font:500 12px var(--scrub-mono);color:var(--scrub-text-2)}
.srch-row{display:flex;align-items:center;gap:12px;min-height:48px;box-sizing:border-box;padding:6px 10px;border-radius:var(--scrub-r-field);color:var(--scrub-text);text-decoration:none}
.srch-row:hover,.srch-row.on{background:var(--scrub-surface-2)}
.srch-row>span:first-child{display:flex;flex-direction:column;flex:1;min-width:0}
.srch-row b{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.srch-row .small{color:var(--scrub-text-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.srch-at{flex:none;font-size:12.5px;color:var(--scrub-text-2)}
.srch-draft{flex:none;font-size:12px;padding:2px 8px;border:1px dashed var(--scrub-line);border-radius:var(--scrub-r-pill);color:var(--scrub-text-2)}
.srch-row.srch-more{min-height:40px;color:var(--scrub-text-2);font-size:13px}
.srch-none{margin:18px 12px;color:var(--scrub-text-2)}
.srch-live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);margin:0}
.srch-foot{display:flex;flex:none;gap:16px;margin:0;padding:10px 20px;border-top:1px solid var(--scrub-line-2);color:var(--scrub-text-2)}
.srch-foot kbd{margin-right:3px}
@media (max-width:860px){
  .hsrch{display:none}
  .hsrch-i{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-height:0;margin:0;padding:0;border:0;border-radius:50%;background:var(--scrub-surface);color:var(--scrub-text)}
}
@media (max-width:640px){
  dialog.srch{margin:0;width:100vw;height:100dvh;max-height:none}
  .srch-in{height:100%;border-radius:0}
  .srch-top{padding:calc(8px + env(safe-area-inset-top,0px)) 8px 8px 16px}
  .srch-x kbd{display:none}
  .srch-x>span{display:block}
  .srch-row{min-height:52px}
  .srch-kind{height:44px;padding:0 16px}
  .srch-row.srch-more{min-height:44px}
  .srch-foot{display:none}
}
@media (max-width:860px){
  header.top{background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  header.top::before{content:'';position:absolute;inset:0;z-index:-1;background:color-mix(in srgb,var(--scrub-bg) 82%,transparent);-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4)}
  header.top .in{flex-wrap:nowrap!important;height:60px!important;padding:0 10px!important;gap:8px!important}
  header.top nav,header.top .lockup,header.top .in>.bal,header.top .hlp-btn{display:none!important}
  .navfold{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;margin:0;padding:0;border-radius:50%;border:1px solid transparent;background:var(--scrub-surface);color:var(--scrub-text);cursor:pointer}
  .navfold>svg{display:none}
  .navfold>svg.ham{display:block}
  .htitle{display:flex;flex:1;min-width:0;justify-content:center;font-weight:600;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .htitle .cmenu{flex:0 1 auto;min-width:0}
  .htitle .cmenu summary{min-height:44px;justify-content:center}
  .htitle .cmenu-l{position:fixed;left:12px;right:12px;top:calc(64px + env(safe-area-inset-top,0px));width:auto;max-height:70vh}
  .htitle .cmenu-g,.htitle .cmenu-chats{display:block}
  .htitle .cbar-t{overflow:hidden;text-overflow:ellipsis}
  .hpill{display:flex;align-items:center;flex:none;height:44px;box-sizing:border-box;padding:0 2px;border:1px solid transparent;border-radius:999px;background:var(--scrub-surface)}
  .hpill:empty{display:none}
  .hpill .hnew,.hpill .ctog{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-height:0;padding:0;border:0;border-radius:999px;background:none;color:var(--scrub-text)}
  .hpill .cbar-end{margin:0}
  .hpill .ccard{position:fixed;left:auto;right:12px;top:calc(68px + env(safe-area-inset-top,0px) + var(--kbt,0px));width:min(400px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 160px)}
  .cbar-in-head .cbar{display:none}
  .acct-menu{top:calc(64px + env(safe-area-inset-top,0px))}
  .snav{display:flex;flex-direction:column;gap:2px;position:fixed;z-index:120;left:0;top:0;bottom:0;width:min(300px,82vw);box-sizing:border-box;padding:calc(12px + env(safe-area-inset-top,0px)) 12px 12px;background:var(--scrub-raised);border-right:0;border-radius:0 var(--scrub-r-sheet) var(--scrub-r-sheet) 0;box-shadow:var(--scrub-shadow-float);overflow-y:auto;transform:translateX(-102%);visibility:hidden;transition:transform .25s cubic-bezier(.2,.8,.2,1),visibility 0s .25s}
  .nav-open .snav{transform:none;visibility:visible;transition:transform .25s cubic-bezier(.2,.8,.2,1)}
  .snav-bal{display:flex;margin:0 0 10px;padding:12px 14px;border:0;border-radius:var(--scrub-r-block);background:var(--scrub-surface);font-size:14px;color:var(--scrub-text-2)}
  .snav-bal b{font-family:var(--scrub-mono);font-variant-numeric:tabular-nums;font-weight:600;color:var(--scrub-text);margin-left:6px}
  .snav-list{display:flex;flex-direction:column;gap:2px}
  .snav-item{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 14px;border-radius:var(--scrub-r-pill);font-size:15px;color:var(--scrub-text-2);text-decoration:none}
  .snav-item.here{color:var(--scrub-text);font-weight:600;background:var(--scrub-surface-2)}
  .snav-list{flex:1 0 auto}.snav-list>:has(+.snav-founder){margin-bottom:13px}.snav-item.snav-founder{position:relative;overflow:visible;margin-top:auto;color:var(--scrub-text);font-weight:600;box-shadow:inset 0 0 0 1.5px var(--scrub-text)}
  .snav-item.snav-founder::before{content:"";position:absolute;left:14px;right:14px;top:-8px;border-top:1px solid var(--scrub-divide)}
  .snav-foot{margin-top:auto;padding-top:10px;border-top:1px solid var(--scrub-divide)}
  .snav .hlp-btn{display:flex!important;align-items:center;gap:12px;width:100%;height:auto;min-height:44px;margin:auto 0 0;padding:0 14px;border:0;border-top:1px solid var(--scrub-divide);border-radius:0;background:none;color:var(--scrub-text-2);font:inherit;font-size:15px}
  .snav .hlp-word{display:inline}
  .nav-veil{display:block;position:fixed;inset:0;z-index:119;background:rgba(0,0,0,.4);opacity:0;pointer-events:none;transition:opacity .25s}
  .nav-open .nav-veil{opacity:1;pointer-events:auto}
}
@media (max-width:860px) and (prefers-reduced-motion:reduce){.snav,.nav-open .snav,.nav-veil{transition:none}}
/* A tile (F-27, SCR-496): a ring in its kind's colour, the icon its manifest
   declares in the same colour at half its size, the inside the page's. A tool
   is a stack: a second ring of its colour peeks out behind, top right. --s sets
   the size; the rest follows it. */
.tile{--s:44px;--tr:round(nearest,max(1px,calc(var(--s) * .045)),1px);width:var(--s);height:var(--s);border-radius:calc(var(--s) * .25);display:inline-flex;align-items:center;justify-content:center;flex:none;background:transparent;color:var(--ti);box-shadow:inset 0 0 0 var(--tr) var(--ti)}
.tile svg{width:50%;height:50%}
/* No pixel bleed (founder, 14 November 2026): the tile measures itself; small, its icon is the
   12-pixel drawing at 12 px; large, the 24-grid drawing at 24 px with 2-pixel lines; its ring a
   whole pixel; and it sits on whole pixels where its row allows (each row's own sizes). */
.tile{container-type:size}
.tile svg.ic-s{display:none;width:12px;height:12px;flex:none}
@container (max-width:32px){.tile svg.ic-l:has(+ svg.ic-s){display:none}.tile svg.ic-s{display:block}}
@container (min-width:40px){.tile svg.ic-l{width:24px;height:24px;stroke-width:2}}
.tile.stack{box-shadow:inset 0 0 0 var(--tr) var(--ti),calc(var(--s) * .16) calc(var(--s) * -.16) 0 calc(var(--s) * -.06) color-mix(in srgb,var(--ti) 40%,transparent)}
.tile.audio,.rfig.audio,.tf-app.audio,.app-tag.audio{--tb:var(--scrub-tile-audio);--tk:var(--scrub-tile-audio-ink);--ti:var(--scrub-icon-audio);--bk:var(--scrub-block-audio)}
.tile.video,.rfig.video,.tf-app.video,.app-tag.video{--tb:var(--scrub-tile-video);--tk:var(--scrub-tile-video-ink);--ti:var(--scrub-icon-video);--bk:var(--scrub-block-video)}
.tile.image,.rfig.image,.tf-app.image,.app-tag.image{--tb:var(--scrub-tile-image);--tk:var(--scrub-tile-image-ink);--ti:var(--scrub-icon-image);--bk:var(--scrub-block-image)}
.tile.document,.rfig.document,.tf-app.document,.app-tag.document{--tb:var(--scrub-tile-document);--tk:var(--scrub-tile-document-ink);--ti:var(--scrub-icon-document);--bk:var(--scrub-block-document)}
.tile.mail,.rfig.mail,.tf-app.mail,.app-tag.mail{--tb:var(--scrub-tile-mail);--tk:var(--scrub-tile-mail-ink);--ti:var(--scrub-icon-mail);--bk:var(--scrub-block-mail)}
.tile.data,.rfig.data,.tf-app.data,.app-tag.data{--tb:var(--scrub-tile-data);--tk:var(--scrub-tile-data-ink);--ti:var(--scrub-icon-data);--bk:var(--scrub-block-data)}
/* The kind of work, drawn above the running card (SCR-356): on its tile's colour, in its ink. */
/* One stage everywhere (SCR-442): landscape, so the card opened beside Chat
   and the job's own page are the same card and nothing changes shape. */
/* Dots (SCR-498): the stage is the kind's block, the figure drawn on it in the mark's dots in dark ink, as scrub.app's ask has it. */
.rfig{position:relative;background:var(--bk);color:var(--scrub-on-block);border-radius:var(--scrub-r-block);overflow:hidden;aspect-ratio:16/10;margin:0 0 12px}
.rfig canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
/* Its full width up to 560 px (SCR-485): auto margins alone shrink a flex
   item to its words, and the stage has no width of its own to hold it open. */
.run.big.figured{width:100%;max-width:560px;margin-inline:auto;padding:10px 10px 18px;min-height:0;justify-content:flex-start}
/* Dots (SCR-498): the block runs to the card's edges less 10 px, as scrub.app's ask; the words sit 8 px further in. */
.run.big.figured>:not(.rfig):not(.rslider){margin-left:8px;margin-right:8px}
.run.big.figured .top b{font-size:17px}
.run.big.figured .clock{font-size:13.5px}
.run.big.figured > .prog{margin:12px 0 10px;gap:6px}
.run.big.figured > .prog i{height:6px}
.run.big.figured .said{font-size:15px;font-weight:500}
/* A tool's steps, each its own figure on a slide (SCR-442): the one being made
   in the middle, the others either side of it, dimmed. */
.rslider{position:relative;aspect-ratio:16/10;overflow:hidden;border-radius:var(--scrub-r-block);background:var(--scrub-surface-2);margin:0 0 12px}
.rs-track{position:absolute;inset:0;display:flex;align-items:center;transform:translateX(calc(13% - var(--at,0) * 78%))}
.rslide{flex:0 0 74%;height:84%;margin:0 2%;position:relative;opacity:.4;transform:scale(.92);cursor:pointer}
.rslide.on{opacity:1;transform:none}
.rslide:not(.on) .rs-tag{opacity:0}
.rslide .rfig{position:absolute;inset:0;aspect-ratio:auto;margin:0}
.rs-tag{position:absolute;left:10px;bottom:10px;font-size:12px;font-weight:600;line-height:1.3;padding:4px 10px;border-radius:var(--scrub-r-pill);background:var(--scrub-raised);color:var(--scrub-text);max-width:calc(100% - 20px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (prefers-reduced-motion:no-preference){
  .rs-track{transition:transform .7s cubic-bezier(.3,.7,.2,1)}
  .rslide{transition:opacity .5s ease,transform .5s ease}
}
/* Its steps under the sentence, as chips: pressed, the slider shows that step. */
.run.slid .rsteps{display:flex;flex-wrap:wrap;gap:6px;border:0;margin-top:4px}
.run.slid .rsteps li{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border:1px solid var(--scrub-line);border-bottom:1px solid var(--scrub-line);border-radius:var(--scrub-r-pill);font-size:12.5px;font-weight:500;cursor:pointer}
.run.slid .rsteps li .rs-sub{display:contents}
.run.slid .rsteps li .prog.mini{display:none}
.run.slid .rsteps li .rs-what{font-family:var(--scrub-mono);font-size:11.5px}
.run.slid .rsteps li[data-state=running]{border-color:var(--scrub-text)}
.run.slid .rsteps li[data-state=done]{border-color:transparent;background:var(--scrub-surface-2)}
.run.slid .rsteps li[data-state=nothing]{border-style:dashed;cursor:default}
.run.slid .rsteps li .rs-note{font-size:12px}
.drop-making .run.figured{width:min(560px,100%)}
.state{display:inline-flex;align-items:center;gap:6px;font-size:13px;white-space:nowrap}
.state i{width:14px;height:14px;border-radius:50%;display:inline-block;position:relative;flex:none}
.state.done i{background:var(--scrub-ok)}.state.done i:after{content:'';position:absolute;left:4.5px;top:2px;width:3px;height:7px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.state.wait i{border:2px solid var(--scrub-warn)}
.state.fail i{background:var(--scrub-err)}.state.fail i:before,.state.fail i:after{content:'';position:absolute;left:6px;top:3px;width:2px;height:8px;background:#fff;transform:rotate(45deg)}.state.fail i:after{transform:rotate(-45deg)}

.crm-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.crm-acts{display:flex;gap:8px;align-items:center}
.crm-acts button{min-height:44px}
.crm .pu-rail a.pu-f{text-decoration:none}
.crm-kinds,.crm-filters{display:flex;flex-direction:column;gap:2px}
.crm-list .pu-th,.crm-list .pu-row{padding:13px 20px}
.crm-k-people .pu-th,.crm-k-people .pu-row{grid-template-columns:minmax(0,1.25fr) minmax(0,1.45fr) minmax(0,1fr) 92px 128px}
.crm-k-companies .pu-th,.crm-k-companies .pu-row{grid-template-columns:minmax(0,1.6fr) 96px 132px 128px}
.crm-k-deals .pu-th,.crm-k-deals .pu-row{grid-template-columns:minmax(0,1.7fr) 132px 112px 112px;column-gap:24px}
.crm-c{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14.5px}
.crm-c.q,.crm-c .q,.crm-num .q{color:var(--scrub-text-2)}
.crm-name{display:flex;flex-direction:column;min-width:0;gap:1px}
.crm-name b{font-size:15px;font-weight:500;letter-spacing:-.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.crm-name .crm-sub{color:var(--scrub-text-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.crm-k-people .crm-name .crm-sub,.crm-k-deals .crm-name .crm-sub,.crm-sub-st{display:none}
.crm-num{font-family:var(--scrub-mono);font-variant-numeric:tabular-nums;font-size:14px;text-align:right;white-space:nowrap}
.pu-th .crm-num{font-family:inherit;font-size:13px}
.crm-none-row{padding:14px 20px;margin:0}
.crm .pu-tools{align-items:center}
.crm .pu-tools input{max-width:none}
.crm .jv button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:2px 14px;border:0;border-radius:var(--scrub-r-pill);background:none;color:var(--scrub-text-2);font:500 12.5px/1 var(--scrub-sans);cursor:pointer;transition:color .15s var(--scrub-ease),background-color .15s var(--scrub-ease)}
.crm .jv button:hover{color:var(--scrub-text)}
.crm .jv button[aria-pressed=true]{background:var(--scrub-inv);color:var(--scrub-on-inv);font-weight:600}
.crm .jv button:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.st-lead i{border:2px dashed var(--scrub-text-2)}
.st-qualified i{border:2px solid var(--scrub-text-2)}
.st-proposal i{background:var(--scrub-text-2)}
.st-won i{background:var(--scrub-ok)}
.st-lost i{background:var(--scrub-err)}
/* The Deal board: a lane per stage, a card per deal; dragged, or moved from its menu. */
.crm-lanes-nav{display:none}
.crm-board{display:grid;grid-template-columns:repeat(5,minmax(164px,1fr));gap:10px;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin}
.crm-lane{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:300px;padding:6px 8px 10px;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);transition:box-shadow .15s var(--scrub-ease)}
.crm-lane.over{box-shadow:inset 0 0 0 2px var(--scrub-text)}
.crm-lane-h{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 8px;padding:10px 8px 6px}
.crm-lane-h .pu-stage{font-weight:500}
.crm-lane-n{color:var(--scrub-text-2);font-size:13px;font-family:var(--scrub-mono)}
.crm-lane-sum{grid-column:1/-1;text-align:left;font-size:13px;color:var(--scrub-text-2)}
.crm-card{position:relative;min-width:0;border-radius:var(--scrub-r-block);background:var(--scrub-bg);box-shadow:0 0 0 1px var(--scrub-line-2);transition:background-color .15s var(--scrub-ease),box-shadow .15s var(--scrub-ease)}
.crm-card:hover{background:var(--scrub-surface-2)}
.crm-card.on{box-shadow:0 0 0 2px var(--scrub-text)}
.crm-card.dragging{opacity:.45}
.crm-card-open{display:flex;flex-direction:column;gap:6px;width:100%;box-sizing:border-box;padding:12px 40px 12px 14px;border:0;border-radius:inherit;background:none;color:var(--scrub-text);font:inherit;text-align:left;white-space:normal;cursor:grab}
.crm-card-open:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.crm-card-open b{font-size:14.5px;font-weight:500;line-height:1.3;letter-spacing:-.01em;overflow-wrap:anywhere}
.crm-card-co{color:var(--scrub-text-2);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.crm-card-f{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 8px;font-size:13px;color:var(--scrub-text-2)}
.crm-card-f .crm-num{font-size:13.5px;color:var(--scrub-text)}
.crm-card>.crm-mwrap{position:absolute;top:6px;right:6px}
.crm-card-move,.crm-more{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:0;padding:0;border:0;border-radius:var(--scrub-r-pill);background:none;color:var(--scrub-text-2);cursor:pointer}
.crm-card-move:hover,.crm-more:hover,.crm-card-move[aria-expanded=true],.crm-more[aria-expanded=true]{background:var(--scrub-surface-2);color:var(--scrub-text)}
.crm-card-move:focus-visible,.crm-more:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.crm-more{width:36px;height:36px}
.crm-lane-empty{margin:0;padding:18px 8px;text-align:center;color:var(--scrub-text-2);font-size:13px}
.crm-hint{margin:10px 0 0;color:var(--scrub-text-2)}
.crm-hint-drag{display:none}
@media (pointer:fine){.crm-hint-drag{display:block}}
.crm-mwrap{position:relative;display:inline-flex}
.crm-menu.crm-mright{left:auto;right:0}
.crm-menu .pu-stage{font-size:13.5px}
/* A record: Product updates' sheet holding Brand Kits' fields. */
.crm-dh-acts{display:flex;align-items:center;gap:4px}
.crm-sheet .ud-in{gap:16px}
.crm-title-w{font-size:24px}
.crm-title{width:calc(100% + 10px);max-width:none;box-sizing:border-box;margin:0;padding:4px 10px;margin-left:-10px;border:1px solid transparent;border-radius:var(--scrub-r-field);background:none;font:500 1em/1.2 var(--scrub-sans);letter-spacing:-.025em;color:var(--scrub-text)}
.crm-title:hover{background:var(--scrub-surface)}
.crm-title:focus{border-color:var(--scrub-text);outline:none;background:var(--scrub-surface)}
.crm-title::placeholder{color:var(--scrub-text-2)}
.crm-who{margin:-8px 0 0;color:var(--scrub-text-2)}
.crm-fields{display:flex;flex-direction:column;gap:8px}
.crm-sheet .bk-f{grid-template-columns:112px minmax(0,1fr)}
.crm-sheet .bk-f input,.crm-sheet .bk-f select,.crm-sheet textarea,.crm-sheet [data-link]{width:100%;max-width:none;box-sizing:border-box;font:inherit;font-size:14.5px;min-height:40px}
.crm-sheet textarea{min-height:88px;resize:vertical;padding:10px 12px;line-height:1.5}
.crm-under{margin:-2px 0 2px 122px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;color:var(--scrub-text-2)}
.crm-under.err{color:var(--scrub-err)}
.crm-under[hidden]{display:none}
.crm-money{display:grid;grid-template-columns:92px minmax(0,1fr);gap:8px}
.crm-money input{font-family:var(--scrub-mono)!important;font-variant-numeric:tabular-nums}
/* Linked rows: what a record holds of the other kinds, a small list on the surface. */
.crm-sec{display:flex;flex-direction:column;gap:8px}
.crm-sec-h{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:32px}
.crm-sec-h .scrub-label{margin:0}
.crm-rel{display:flex;flex-direction:column;padding:4px;border-radius:var(--scrub-r-block);background:var(--scrub-surface)}
.crm-rel-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;min-height:44px;padding:8px 10px;border:0;border-radius:10px;background:none;color:var(--scrub-text);font:inherit;text-align:left;cursor:pointer}
.crm-rel>*+*{box-shadow:0 -1px 0 var(--scrub-divide)}
.crm-rel-row:hover{background:var(--scrub-surface-2)}
.crm-rel-row:focus-visible{outline:2px solid var(--scrub-text);outline-offset:-2px}
.crm-rel-row .crm-name b{font-size:14.5px}
.crm-rel-row .crm-name .crm-sub{display:block}
.crm-rel-r{display:flex;gap:12px;align-items:center}
.crm-rel-none{margin:0;padding:10px 12px;color:var(--scrub-text-2);font-size:14px}
.crm-chips{display:flex;flex-wrap:wrap;gap:6px}
.crm-chip{display:inline-flex;align-items:center;gap:2px;min-height:36px;padding:0 2px 0 4px;border-radius:var(--scrub-r-pill);background:var(--scrub-surface);font-size:14px}
.crm-chip-only{padding:0 14px}
.crm-chip-name{min-height:32px;padding:0 8px;border:0;border-radius:var(--scrub-r-pill);background:none;color:inherit;font:inherit;cursor:pointer}
.crm-chip-name:hover{text-decoration:underline}
.crm-x{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:0;padding:0;border:0;border-radius:var(--scrub-r-pill);background:none;color:var(--scrub-text-2);font-size:17px;line-height:1;cursor:pointer;flex:none}
.crm-x:hover{background:var(--scrub-surface-2);color:var(--scrub-text)}
.crm-x:focus-visible,.crm-chip-name:focus-visible{outline:2px solid var(--scrub-text);outline-offset:1px}
.crm-task{display:grid;grid-template-columns:28px minmax(0,1fr) auto auto;align-items:center;gap:4px 6px;min-height:44px;padding:2px 2px 2px 6px;border-radius:10px}
.crm-task input[type=checkbox]{width:20px;height:20px;margin:0 0 0 4px;accent-color:var(--scrub-text);cursor:pointer}
.crm-task-t{font-size:14.5px;min-width:0;overflow-wrap:anywhere}
.crm-task.done .crm-task-t{color:var(--scrub-text-2);text-decoration:line-through}
.crm-due-w{position:relative;display:inline-flex}
.crm-due{min-height:32px;padding:0 10px;border:0;border-radius:var(--scrub-r-pill);background:none;color:var(--scrub-text-2);font:inherit;font-size:13px;white-space:nowrap;cursor:pointer}
.crm-due:hover{background:var(--scrub-surface-2);color:var(--scrub-text)}
.crm-due.late{color:var(--scrub-warn);font-weight:500}
.crm-due:focus-visible{outline:2px solid var(--scrub-text);outline-offset:1px}
.crm-due-in{position:absolute;right:0;bottom:0;width:1px;height:1px;opacity:0;pointer-events:none;border:0;padding:0}
.crm-add-task{display:flex;gap:8px;padding:6px}
.crm-add-task input{flex:1;min-width:0;max-width:none;min-height:40px;font:inherit;font-size:14.5px}
.crm-made{color:var(--scrub-text-2)}
.crm-sheet .ud-foot .saved{margin-right:auto}
.crm-sheet .ud-foot:has(> .saved[hidden]:only-child){display:none}
.crm-empty-wrap .nothing{min-height:360px}
.crm-steps{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:4px;color:var(--scrub-text-2);font-size:14.5px}
.crm-sheet .drop.over{box-shadow:inset 0 0 0 2px var(--scrub-text)}
.crm-file{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:var(--scrub-r-block);background:var(--scrub-surface)}
.crm-file b{font-size:14.5px;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.crm-sum{margin:0;font-size:15px;line-height:1.55}
.crm-imp{border-radius:var(--scrub-r-block);background:var(--scrub-surface);overflow:hidden}
.crm-imp-r{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:10px 14px;align-items:center}
.crm-imp-r+.crm-imp-r{border-top:1px solid var(--scrub-divide)}
.crm-imp-r .crm-name b{font-size:14.5px}
.crm-imp>.quiet{margin:6px 10px 10px}
.crm-what{font-size:13px;text-align:right;color:var(--scrub-text-2)}
.crm-what.out{color:var(--scrub-text)}
@media (prefers-reduced-motion:reduce){.crm-card,.crm-lane,.crm .jv button{transition:none}}
@media (max-width:1180px){.crm-k-people .pu-th,.crm-k-people .pu-row{grid-template-columns:minmax(0,1.3fr) minmax(0,1.5fr) minmax(0,1fr) 92px}.crm-k-people .c-added{display:none}}
@media (max-width:1023px){.crm-board{grid-template-columns:repeat(5,minmax(200px,1fr))}}
@media (max-width:860px){
  .crm-list .pu-row{grid-template-columns:minmax(0,1fr) auto}
  .crm-list .pu-row>.c-hide{display:none}
  .crm-k-people .crm-name .crm-sub,.crm-k-deals .crm-name .crm-sub{display:block}
  .crm-sub-st{display:inline}
  .crm .pu-tools{flex-wrap:wrap}
  .crm .pu-rail{flex-direction:column;flex-wrap:nowrap;gap:8px}
  .crm-kinds,.crm-filters{flex-direction:row;gap:8px}
  .crm-filters{overflow-x:auto;scrollbar-width:none;padding:2px}
  .crm-filters .pu-f{flex:none}
}
@media (max-width:640px){
  .crm-head{gap:12px}
  .crm-head .lead{display:none}
  .crm .pu-grid{gap:12px;margin-top:16px}
  .crm-kinds .pu-f{flex:1 1 0;justify-content:center;gap:6px;padding:0 8px;font-size:14px}
  .crm-acts{width:100%}
  .crm-acts button{flex:1}
  .crm .jv{width:100%}
  .crm .jv button{flex:1;min-height:44px;font-size:14px}
  .crm-lanes-nav{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 0 12px;padding:2px}
  .crm-lanes-nav .pu-f{flex:none;min-height:44px;border:1px solid var(--scrub-line);padding:0 6px 0 14px}
  .crm-lanes-nav .pu-f.on{background:var(--scrub-inv);border-color:var(--scrub-inv);color:var(--scrub-on-inv)}
  .crm-lanes-nav .pu-f.on .pu-n{background:color-mix(in srgb,var(--scrub-on-inv) 18%,transparent);color:inherit}
  .crm-board{grid-template-columns:minmax(0,1fr);overflow:visible}
  .crm-lane{display:none;min-height:0}
  .crm-lane.cur{display:flex}
  .crm-card-move,.crm-more,.crm-x,.crm-sheet .hlp-x{width:44px;height:44px}
  .crm-card-open{padding-right:52px}
  .crm-menu.crm-mright{right:8px}
  .crm-chip{min-height:44px}
  .crm-chip-name,.crm-due{min-height:44px}
  .crm-sheet .bk-f{grid-template-columns:minmax(0,1fr);gap:4px}
  .crm-under{margin-left:0}
  .crm-sheet .bk-f input,.crm-sheet .bk-f select,.crm-add-task input,.crm-sheet [data-link]{min-height:44px;font-size:16px}
  .crm-title-w{font-size:22px}
  .crm-title{min-height:44px}
}

/* The Scrub app's window (SCR-61, DESIGN.md App window). The app marks the
   page data-app (windows or mac) before it draws; a browser shows none of this. */
.app-upd,.app-ver,.app-pc,.wctl,.app-result,.app-beside,[data-computer-pick],[data-app-local],.app-here{display:none}
:root[data-app] .app-beside:not([hidden]){display:flex;gap:8px;flex-wrap:wrap}
.app-shrink{margin-top:10px}
.app-shrink button{white-space:normal;max-width:100%;text-align:left}
/* The title bar's shapes are one height, 32 px, filled with the surface, as
   the balance is (SCR-524). */
:root[data-app] .app-pc:not([hidden]){display:inline-flex;align-items:center;gap:8px;flex:none;height:32px;padding:0 12px 0 11px;margin-left:auto;border-radius:999px;border:0;background:var(--scrub-surface);color:var(--scrub-text);font:500 13px/1 var(--scrub-sans);cursor:pointer;white-space:nowrap}
:root[data-app] .app-pc:hover{background:var(--scrub-surface-2)}
:root[data-app] .app-pc i{width:8px;height:8px;border-radius:50%;background:var(--scrub-ok)}
:root[data-app] .app-pc.off i{background:transparent;border:1.5px solid var(--scrub-text-2)}
@media (prefers-reduced-motion:no-preference){:root[data-app] .app-pc.busy i{animation:app-pulse 1.4s ease-in-out infinite}}
@keyframes app-pulse{50%{opacity:.35}}
:root[data-app] header.top .in>.app-pc~.bal,:root[data-app] header.top .in>.app-pc~.hlp-btn{margin-left:0}
:root[data-app] header.top .in>.app-pc~.acct{margin-left:-2px}
:root[data-app] .app-upd:not([hidden]){display:inline-flex;align-items:center;gap:8px;flex:none;height:32px;padding:0 12px 0 11px;border-radius:999px;border:0;background:var(--scrub-surface);color:var(--scrub-text);font:600 13px/1 var(--scrub-sans);cursor:pointer}
:root[data-app] .app-upd i{width:8px;height:8px;border-radius:50%;background:var(--scrub-text)}
:root[data-app] header.top .in>.app-upd{margin-left:8px}
:root[data-app] .app-ver:not([hidden]){display:inline-flex;align-items:center;gap:6px;flex:none;height:30px;padding:0 10px;margin-left:8px;border-radius:999px;border:1px solid transparent;background:transparent;color:var(--scrub-text-2);font:500 13px/1 var(--scrub-sans);cursor:pointer;white-space:nowrap}
:root[data-app] .app-ver:hover{background:var(--app-hover);color:var(--scrub-text)}
:root[data-app] .app-ver svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
@media (prefers-reduced-motion:no-preference){:root[data-app] .app-ver.busy svg{animation:app-spin .9s linear infinite}}
@keyframes app-spin{to{transform:rotate(360deg)}}
:root[data-app] .app-result:not([hidden]){display:flex;gap:8px;flex-wrap:wrap}
:root[data-app] [data-computer-pick]:not([hidden]),:root[data-app] [data-app-local]:not([hidden]){display:inline-flex}
:root[data-app] .app-here:not([hidden]){display:block}
:root[data-app] header.top{user-select:none;-webkit-user-select:none}
:root[data-app=windows] .wctl{display:flex;align-self:stretch;margin:0 -24px 0 4px}
:root[data-app=windows] .wctl button{width:46px;border:0;border-radius:0;background:transparent;color:var(--scrub-text);padding:0;display:inline-flex;align-items:center;justify-content:center;cursor:default}
:root[data-app=windows] .wctl button:hover{background:color-mix(in srgb,var(--scrub-text) 8%,transparent)}
:root[data-app=windows] .wctl button.close:hover{background:#c42b1c;color:white}
.wctl svg{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:1}
/* The app's frame (SCR-61, as Scrub for Windows 0.1.11 and Scrub for Mac
   drew it, founder 14 October 2026): the window's material (Mica, Acrylic,
   Liquid Glass) across the whole title bar and the menu, tinted Scrub blue
   unless the person chose None, stronger in dark where the glass is darker;
   Solid is the chrome's own colour. The page is Scrub's solid ground, a
   panel rounded where it meets the frame, scrolling inside itself, so
   nothing passes under the title bar. */
:root[data-app]{--app-tint:transparent;--app-chrome:color-mix(in srgb,var(--scrub-bg) 55%,transparent);--app-hover:color-mix(in srgb,var(--scrub-text) 8%,transparent);--app-here:color-mix(in srgb,var(--scrub-text) 13%,transparent)}
.snav-app{display:none}
:root[data-app][data-tint=blue]{--app-tint:color-mix(in srgb,var(--scrub-accent-fill) 9%,transparent)}
@media (prefers-color-scheme:dark){:root[data-app][data-tint=blue]:not([data-theme=light]){--app-tint:color-mix(in srgb,var(--scrub-accent-fill) 18%,transparent)}}
:root[data-app][data-tint=blue][data-theme=dark]{--app-tint:color-mix(in srgb,var(--scrub-accent-fill) 18%,transparent)}
:root[data-app][data-material=solid]{--app-chrome:color-mix(in srgb,var(--scrub-bg) 88%,var(--scrub-text) 5%)}
/* The title bar at 0.1.11's height, the logo in the text's colour at its size. */
:root[data-app] header.top .in{height:44px;padding-left:12px}
/* A Mac draws its own three buttons at the left of the header: after the
   rule above, which has the same weight (SCR-171: the lockup sat under them). */
:root[data-app=mac] header.top .in{padding-left:84px}
:root[data-app] header.top .lockup{font-size:16px}
:root[data-app] header.top .lockup .scrub-mark{color:currentColor}
:root[data-app] .assist.hlp,:root[data-app] .fb,:root[data-app] .pu-drawer{top:45px}
@media (min-width:861px){
  :root[data-app] body:has(>.snav){height:100dvh;overflow:hidden;display:flex;flex-direction:column;padding-bottom:0;background:linear-gradient(var(--app-tint),var(--app-tint)),var(--app-chrome)}
  :root[data-app] body:has(>.snav)>header.top{flex:none;position:static;background:transparent;border-bottom:0;backdrop-filter:none;-webkit-backdrop-filter:none}
  :root[data-app] .snav{top:45px;background:transparent;border-right:0;padding:8px 8px 12px}
  :root[data-app] .snav-app{display:block;margin-top:auto;padding-top:10px}
  /* The menu as 0.1.11 drew it: the text's own colour, light washes over the glass. */
  :root[data-app] .snav-item{min-height:38px;color:var(--scrub-text);font-weight:500}
  :root[data-app] .snav-item:hover{background:var(--app-hover);color:var(--scrub-text)}
  :root[data-app] .snav-item.here{background:var(--app-here);font-weight:700}
  :root[data-app] header.top .navfold:hover{background:var(--app-hover)}
  :root[data-app] body:has(>.snav)>main{position:relative;flex:1 1 auto;min-height:0;overflow:auto;background:var(--scrub-bg);border-top:1px solid var(--scrub-line-2);border-left:1px solid var(--scrub-line-2);border-top-left-radius:var(--scrub-r-block)}
  /* The page's width, kept as in a browser inside the panel's full width. */
  :root[data-app] body:has(>.snav)>main:not(.workpage):not(.wide){max-width:none;margin:0;padding-right:max(24px,calc(100% - 1128px))}
  :root[data-app] body:has(>.snav)>main.workpage{overflow:clip}
  /* Chat's column centred in the panel: as specific as the page-width rule
     above, so its right padding is this one's, not that one's (SCR-232). */
  :root[data-app] body:has(>.snav)>main:not(.workpage):not(.wide):has(>.chatlog){padding-left:max(20px,calc((100% - 760px) / 2));padding-right:max(20px,calc((100% - 760px) / 2))}
  /* Chat's New (SCR-232): the box and the Tools to start with sit after main,
     not in it, so in the panel's flex column they lay on the glass and main
     pushed them to the bottom. Here main keeps its own height, the box comes
     under the greeting as in a browser (SCR-210), and the box, the Tools and
     the room left under them are the panel's ground, its edge continued. */
  /* Its own height and no scrolling of its own (SCR-524): the dots behind the
     greeting run 190 px on under the box, and a panel that scrolled made
     them room to scroll into, cutting the greeting under the title. */
  :root[data-app] body.fresh:has(>.snav)>main{flex:none;overflow:visible}
  :root[data-app] body.fresh:has(>.snav)>.composer,
  :root[data-app] body.fresh:has(>.snav)>.cstarts,
  :root[data-app] body.fresh:has(>.snav)::after{background:var(--scrub-bg)!important;border-left:1px solid var(--scrub-line-2)}
  :root[data-app] body.fresh:has(>.snav)>.cstarts{max-width:none;margin:0;padding:14px max(20px,calc((100% - 720px) / 2)) 48px}
  :root[data-app] body.fresh:has(>.snav)::after{content:"";flex:1 1 auto}
  /* One sheet (SCR-511, founder, 8 November 2026: "No consistency between
     the 3 panels whatsoever", then option A): the work is one sheet on the
     glass, 8 px in from the window's edges, rounded on all four corners,
     drawn once behind everything on it. Chats, the conversation, a work
     page's panels and the job beside are its columns, split by a hairline,
     on one top line; nothing on it paints a ground or an edge of its own.
     Floats (feedback, updates, the assistant) stay cards above it. */
  :root[data-app] body:has(>.snav){--sheet-g:8px;--sheet-r:var(--scrub-r-block);--head-h:45px;padding-right:var(--sheet-g);padding-bottom:var(--sheet-g);isolation:isolate}
  :root[data-app] body:has(>.snav)::before{content:"";position:fixed;z-index:-1;left:var(--nav-w);top:45px;right:var(--sheet-g);bottom:var(--sheet-g);background:var(--scrub-bg);box-shadow:0 0 0 1px var(--scrub-line-2);border-radius:var(--sheet-r);pointer-events:none}
  :root[data-app] body:has(>.snav)>header.top{margin-right:calc(-1 * var(--sheet-g))}
  :root[data-app] body:has(>.snav)>main{background:transparent;border:0;border-radius:var(--sheet-r)}
  :root[data-app] body:has(>.csub)>main{border-top-left-radius:0;border-bottom-left-radius:0}
  :root[data-app] body.drawer-open:has(>.snav)>main{border-top-right-radius:0;border-bottom-right-radius:0}
  :root[data-app] body.fresh:has(>.snav)>.composer,
  :root[data-app] body.fresh:has(>.snav)>.cstarts,
  :root[data-app] body.fresh:has(>.snav)::after{background:transparent!important;border-left:0}
  :root[data-app] .csub{top:45px;bottom:var(--sheet-g);background:transparent}
  :root[data-app] .composer{bottom:var(--sheet-g);right:var(--sheet-g);border-radius:0 0 var(--sheet-r) var(--sheet-r)}
  :root[data-app] body:has(>.csub) .composer{border-bottom-left-radius:0}
  :root[data-app] body.drawer-open .composer{border-bottom-right-radius:0}
}
@media (min-width:1101px){
  :root[data-app] .cdrawer{top:45px;right:var(--sheet-g);bottom:var(--sheet-g);border-radius:0 var(--sheet-r) var(--sheet-r) 0;background:transparent}
  :root[data-app] body.drawer-open:has(>.snav){padding-right:calc(var(--cd-w,min(56vw,820px)) + var(--sheet-g))}
  :root[data-app] body.drawer-open:has(>.snav)>header.top{margin-right:calc(-1 * (var(--cd-w,min(56vw,820px)) + var(--sheet-g)))}
  :root[data-app] body.drawer-open .composer{right:calc(var(--cd-w,min(56vw,820px)) + var(--sheet-g))}
}
.app-here .kvs{display:flex;flex-direction:column;border:0;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);max-width:560px}
.app-here .kv{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:6px 18px;border-top:1px solid var(--scrub-divide)}
.app-here .kv:first-child{border-top:0}
.app-here .kv[hidden]{display:none}
.app-here .seg{display:inline-flex;gap:2px;padding:3px;border:0;border-radius:var(--scrub-r-pill);background:var(--scrub-bg)}
.app-here .seg button{border:0;background:none;color:var(--scrub-text-2);font:500 13px/1 var(--scrub-sans);padding:8px 12px;border-radius:var(--scrub-r-pill);cursor:pointer}
.app-here .seg button[aria-pressed=true]{background:var(--scrub-inv);color:var(--scrub-on-inv);font-weight:600}
.app-here .row{margin-top:12px}
.app-here .app-off{display:inline-flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end;color:var(--scrub-text-2);font-size:14px}

html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--scrub-bg);color:var(--scrub-text);font:400 var(--scrub-size-body)/1.55 var(--scrub-sans);-webkit-font-smoothing:antialiased}
a{color:inherit}
h1,h2,h3{font-family:var(--scrub-sans);font-weight:500;text-wrap:balance}
h1{font-size:32px;line-height:1.1;letter-spacing:-.04em;margin:0 0 6px}
@media (max-width:640px){h1{font-size:26px}}
h2{font-size:18px;line-height:1.3;letter-spacing:-.01em;margin:36px 0 12px}
p{margin:0 0 12px;max-width:70ch}
.lead{color:var(--scrub-text-2)}
.small{font-size:var(--scrub-size-small);color:var(--scrub-text-2)}
code{font-family:var(--scrub-mono);font-size:.9em}
button,.button{font:600 14px/1.2 var(--scrub-sans);background:var(--scrub-accent-fill);color:var(--scrub-on-accent);border:1px solid transparent;border-radius:var(--scrub-r-pill);padding:10px 18px;cursor:pointer;text-decoration:none;display:inline-block}
button.secondary,.button.secondary{background:transparent;color:var(--scrub-text);border-color:var(--scrub-line);font-weight:500}
button.small{padding:6px 12px;font-size:13px}
button[class="small"]{color:var(--scrub-on-accent)}
button[disabled]{opacity:.5;cursor:default}
button:focus-visible,.button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
input[type=text],input[type=search],input[type=email],input[type=number],input[type=password],input[type=date],select,textarea{font:inherit;padding:9px 12px;border:1px solid var(--scrub-line);border-radius:var(--scrub-r-field);background:var(--scrub-surface);color:inherit;width:100%;max-width:480px}
:is(input:not([type]),input[type=text],input[type=search],input[type=email],input[type=url],input[type=tel],input[type=number],input[type=password],input[type=date],select,textarea):focus{outline:none;border-color:var(--scrub-text)}
/* On a phone, a box to type in is never under 16 px (SCR-461): iOS zooms the page in on one that is, shifting everything sideways, and Chrome there often leaves it zoomed. */
@media (pointer:coarse){:is(input:not([type]),input[type=text],input[type=search],input[type=email],input[type=url],input[type=tel],input[type=number],input[type=password],input[type=date],select,textarea,[contenteditable]){font-size:max(16px,1em)!important}}
/* Dots (SCR-498): a card is a filled shape, its edge the faintest line, so it still holds on a panel of the same fill. */
.card{background:var(--scrub-surface);border:1px solid var(--scrub-line-2);border-radius:var(--scrub-r-panel);padding:18px 20px}
.error{color:var(--scrub-err)}
.receipt{font-family:var(--scrub-mono);font-variant-numeric:tabular-nums;font-size:14px;line-height:1.8}
.receipt div{display:flex;justify-content:space-between;gap:16px}
.receipt div span+span{text-align:right}
.receipt .tot{border-top:1px solid var(--scrub-text);margin-top:6px;padding-top:6px;font-weight:600}
.dots{display:inline-flex;gap:6px;align-items:center}.dots i{width:9px;height:9px;border-radius:50%;background:var(--scrub-line);display:inline-block}.dots i.on{background:var(--scrub-accent-fill)}
@media (prefers-reduced-motion:no-preference){.dots i{transition:background .3s}}

button,.button{white-space:nowrap}
button.secondary,.button.secondary{background:transparent;color:var(--scrub-text);border:1px solid var(--scrub-line);font-weight:600}
button.secondary:hover,a.button.secondary:hover{border-color:var(--scrub-text-2);background:var(--scrub-surface-2)}
/* Who is signed in reads in the text colour inside a grey lead (founder, 9 November 2026: "Make email white"). */
.lead .lead-who{color:var(--scrub-text)}
/* Closing an account is the one act that ends everything (founder, 9 November 2026: "Make close your account red"): its word and edge in the stop colour, never filled. */
.button.secondary.danger,button.secondary.danger{color:var(--scrub-err);border-color:var(--scrub-err)}
.button.secondary.danger:hover,button.secondary.danger:hover{border-color:var(--scrub-err);background:color-mix(in srgb,var(--scrub-err) 10%,transparent)}
button.quiet{background:none;border:0;color:var(--scrub-text);font-weight:600;padding:8px 12px;text-align:left;border-radius:var(--scrub-r-pill)}
button.quiet:hover{background:var(--scrub-surface-2)}
a.button.quiet{background:none;border-color:transparent;color:var(--scrub-text);font-weight:600}a.button.quiet:hover{background:var(--scrub-surface-2)}
button.small,.button.small{padding:6px 12px;font-size:13px}

/* Work page: the work on the left, controls and money on the right (DESIGN.md). */
/* Dots (SCR-498): one ground; the drop zone, groups, the Run bar and the result are the shapes on it, never lines between columns. */
.ws{display:grid;grid-template-columns:minmax(0,3fr) minmax(300px,2fr);border:0;border-radius:var(--scrub-r-sheet);background:var(--scrub-bg);overflow:hidden;align-items:start;cursor:default}
.work{background:var(--scrub-bg);border-right:0;padding:20px;display:flex;flex-direction:column;gap:12px;min-width:0;align-self:stretch;min-height:360px}
/* An App's own page (SCR-835): no Input and Output named over its one work, at any width. */
.ws.own .io-in>.part,.ws.own .io-out>.part{display:none}
.work.over{outline:2px dashed var(--scrub-text);outline-offset:-8px;border-radius:var(--scrub-r-sheet)}
.side{padding:20px;display:flex;flex-direction:column;gap:18px;min-width:0}
/* From 861 px the work page is the window (founder, 26 September): the page
   does not scroll; the head is a slim row, the work, a 400 px side and the
   job history each scroll inside themselves. */
@media (min-width:861px){
  body:has(>main.workpage){height:100dvh;overflow:hidden;display:flex;flex-direction:column}
  body .bbar{left:var(--nav-w);padding-left:24px}
  /* An App's own page (SCR-835, Slides) is one work, with no Input and Output to choose between: its run opens on the run's page. */
  .ws.own>.work>.wtabs{display:none}
  .work>.wtabs{display:flex;gap:2px;align-self:flex-start;max-width:100%;padding:3px;border-radius:var(--scrub-r-pill);background:var(--scrub-surface);margin:-6px 0 4px}
  /* With the studio open, Run and its price sit on the tabs' row: the row stays, empty, so the toolbar never runs under them. */
  .ws.own>.work:has(.ss-work:not([hidden]))>.wtabs{display:flex;visibility:hidden}
  .wtabs button{background:none;border:0;border-radius:var(--scrub-r-pill);color:var(--scrub-text-2);font:600 14px/1 var(--scrub-sans);padding:7px 16px 8px;min-height:0;width:auto;transition:background .2s var(--scrub-ease),color .2s var(--scrub-ease)}
  .wtabs button:hover{color:var(--scrub-text)}
  .wtabs button[aria-selected=true]{color:var(--scrub-on-inv);background:var(--scrub-inv)}
  .work[data-open="in"]>.io-out,.work[data-open="out"]>.io-in{display:none}
  .work>.io-in>.part:first-child,.work>.io-out>.part:first-child{display:none}
  body:has(>main.workpage)>header.top{flex:none;position:static}
  main.workpage{max-width:none;margin:0;padding:0;flex:1 1 auto;min-height:0}
  /* Nothing inside reaches past it (SCR-295): a hidden label or file input
     placed absolutely, with no positioned box in its pane, was placed on the
     page and made the window scrollable by code (focus, scrollIntoView). */
  body:has(>main.workpage)>main.workpage{position:relative;overflow:clip}
  .workpage{display:flex;flex-direction:column}
  .workpage>*{flex:none}
  .workpage>.low-credit{margin:16px 24px 0}
  .workpage>.toolhead{margin:0;padding:10px 24px;gap:12px;align-items:center;border-bottom:1px solid var(--scrub-line-2)}
  .workpage>.toolhead .tile{--s:30px}
  .workpage>.toolhead>div:not(.th-menu){display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 14px;min-width:0}
  .workpage>.toolhead h1{font-size:19px;letter-spacing:-.025em;margin:0;white-space:nowrap}
  .workpage>.toolhead .headline{font-size:13.5px}
  .workpage>.ws{flex:1 1 auto;min-height:0;grid-template-columns:minmax(0,1fr) var(--cfg,400px);grid-template-rows:minmax(0,1fr);border:0;border-radius:0;align-items:stretch}
  .workpage .work{padding:24px;overflow:auto;min-height:0;container:work/inline-size}
  /* A narrow work (Media open beside it, F-113): Run carries the price, so the line repeating it goes;
     a line saying what is still to give stays, since Run has no price to carry (SCR-432). */
  @container work (max-width:640px){.work>.runbar:not(.needs) .price-line{display:none}}
  /* The side's arrow sits level with Job history's, open or folded: 28 px down. */
  .workpage .side{padding:12px 24px 24px;overflow-y:auto;min-height:0}
  .workpage .work>.drop:not(.has){flex:1 0 auto;display:flex;flex-direction:column}
  .workpage .work>.drop:not(.has)>.drop-empty{flex:1}
  .workpage .transcript{max-height:none;overflow:visible}
  .workpage .textout{max-height:none;overflow:visible}
  .workpage>.ws.with-history{grid-template-columns:minmax(0,1fr) var(--cfg,400px) 272px}
  .workpage>.ws.with-history:has(>.jh.jh-empty),.jh-min .workpage>.ws.with-history{grid-template-columns:minmax(0,1fr) var(--cfg,400px) 48px}
  .jh-open .workpage>.ws.with-history:has(>.jh.jh-empty){grid-template-columns:minmax(0,1fr) var(--cfg,400px) 272px}
  /* Media, a column on the left of the work (F-113), folding to a rail as Job history does. */
  .workpage>.ws.with-media{grid-template-columns:var(--media,272px) minmax(0,1fr) var(--cfg,400px)}
  .workpage>.ws.with-media.with-history{grid-template-columns:var(--media,272px) minmax(0,1fr) var(--cfg,400px) 272px}
  .workpage>.ws.with-media.with-history:has(>.jh.jh-empty),.jh-min .workpage>.ws.with-media.with-history{grid-template-columns:var(--media,272px) minmax(0,1fr) var(--cfg,400px) 48px}
  .jh-open .workpage>.ws.with-media.with-history:has(>.jh.jh-empty){grid-template-columns:var(--media,272px) minmax(0,1fr) var(--cfg,400px) 272px}
  .workpage>.ws.with-media:has(>.tl-media[data-open=false]){--media:48px}
  .workpage>.ws>.tl-media{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--scrub-bg);border-right:1px solid var(--scrub-line-2)}
  .workpage>.ws>.tl-media[hidden]{display:none}
  .workpage>.ws>.tl-media .tl-mgrid{max-height:none;flex:1 1 auto}
  .workpage>.ws>.tl-media[data-open=false] .tl-mh{flex-direction:column;padding:12px 0;gap:10px}
  .workpage>.ws>.tl-media[data-open=false] .tl-mfold{order:-1;margin:0}
  .workpage>.ws>.tl-media[data-open=false] .tl-mt,.workpage>.ws>.tl-media[data-open=false] .tl-mcount{display:none}
  .workpage>.ws>.tl-media[data-open=false] .rail-name{display:block}
  /* Configuration folded to a rail (founder, 2 Oct). */
  .cfg-min .workpage>.ws{--cfg:48px}
  .cfg-min .workpage .side{padding:12px 0;overflow:hidden;align-items:center}
  .cfg-min .workpage .side>:not(.side-head){display:none}
  .cfg-min .workpage .side-head{flex-direction:column;justify-content:flex-start;gap:10px}
  .cfg-min .workpage .side-head .part{display:none}
  .cfg-min .workpage .side-head .jh-fold svg{transform:rotate(180deg)}
  .cfg-min .workpage .side-head .rail-name{display:block}
  .workpage .side{border-right:0;border-left:1px solid var(--scrub-line-2)}
  /* Your files, chosen from in the work: the list takes the drop zone's place. */
  .workpage .work>.drop:has(+.files:not([hidden])){display:none}
  .workpage .work>.files:not([hidden]){flex:1 1 auto;max-height:none;min-height:0}
  /* A file nothing is drawn on, ready (founder, 26 September). */
  .workpage .work>.drop.still.has{margin:auto;width:min(480px,100%)}
}
/* Job history (DESIGN.md): this tool's runs, in a rail that folds. */
.jh{display:flex;flex-direction:column;min-height:0;min-width:0;background:var(--scrub-bg);border-left:1px solid var(--scrub-line-2)}
.jh-head{display:flex;align-items:center;gap:8px;padding:12px 8px 10px 16px}
.jh-head b{font-size:15px;font-weight:500;letter-spacing:-.01em;white-space:nowrap}
.jh-count{font:500 12.5px var(--scrub-mono);font-variant-numeric:tabular-nums;color:var(--scrub-text-2)}
.jh-fold{margin-left:auto;flex:none;width:32px;height:32px;padding:0;display:inline-flex;align-items:center;justify-content:center;background:none;border:0;color:var(--scrub-text-2);border-radius:var(--scrub-r-pill);cursor:pointer}
.jh-fold:hover{background:var(--scrub-surface);color:var(--scrub-text)}
.jh-new{margin:0 12px 10px;text-align:center}
.jh-list{list-style:none;margin:0;padding:0 8px 16px;overflow-y:auto;min-height:0;display:flex;flex-direction:column;gap:2px}
.jh-fresh{animation:jh-fresh 2.4s ease-out}
@keyframes jh-fresh{0%{opacity:0;transform:translateY(calc(var(--scrub-rise) * -1));background:var(--scrub-surface-2)}15%{opacity:1;transform:none}70%{background:var(--scrub-surface-2)}}
@media (prefers-reduced-motion:reduce){.jh-fresh{animation:none}}
.jh-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:2px 10px;padding:10px 12px;border-radius:var(--scrub-r-field);text-decoration:none;color:var(--scrub-text)}
.jh-item:hover{background:var(--scrub-surface)}
.jh-item[aria-current=page]{background:var(--scrub-surface-2)}
.jh-name{font-size:13.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.jh-right{font-size:13px;white-space:nowrap}
.jh-right .scrub-not-charged,.jh-right .state{font-size:12px}
.jh-meta{grid-column:1/-1;font-size:12.5px;color:var(--scrub-text-2)}
.jh-none{margin:0;padding:4px 16px;font-size:13px;color:var(--scrub-text-2)}
/* A folded rail's name, written down it under the arrow (founder, 2 Oct). */
.rail-name{display:none;writing-mode:vertical-rl;font:600 12.5px var(--scrub-sans);color:var(--scrub-text-2);white-space:nowrap;letter-spacing:.02em}
.side-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.side-head .part{margin:0}
.side-head .jh-fold{margin:0 -8px 0 0}
@media (max-width:860px){.side-head .jh-fold{display:none}}
@media (min-width:861px){
  .jh-min .jh-head,.jh.jh-empty .jh-head{flex-direction:column;padding:12px 0;gap:10px}
  .jh-min .jh-head .jh-count,.jh.jh-empty .jh-head .jh-count{display:none}
  .jh-min .jh-head .rail-name,.jh.jh-empty .jh-head .rail-name{display:block}
  .jh-min .jh-head .jh-fold,.jh.jh-empty .jh-head .jh-fold{order:-1}
  .jh-open .jh.jh-empty .jh-head .rail-name{display:none}
  .jh-open .jh.jh-empty .jh-head .jh-count{display:revert}
  .jh-open .jh.jh-empty .jh-head .jh-fold{order:0}
  .jh-min .jh-head b,.jh-min .jh-new,.jh-min .jh-list,.jh-min .jh-none,.jh.jh-empty .jh-head b,.jh.jh-empty .jh-new,.jh.jh-empty .jh-none{display:none}
  .jh-min .jh-head .jh-fold,.jh.jh-empty .jh-fold{margin:0}
.jh-min .jh-l,.jh-min .jh-all{display:none}
  .jh-min .jh-head .jh-fold svg,.jh.jh-empty .jh-fold svg{transform:rotate(180deg)}
  .jh-open .jh.jh-empty .jh-head{flex-direction:row;padding:12px 8px 10px 16px;gap:8px}
  .jh-open .jh.jh-empty .jh-head b,.jh-open .jh.jh-empty .jh-new,.jh-open .jh.jh-empty .jh-none{display:revert}
  .jh-open .jh.jh-empty .jh-fold{margin-left:auto}
  .jh-open .jh.jh-empty .jh-fold svg{transform:none}
}
@media (max-width:860px){.jh{border-left:0;border-top:1px solid var(--scrub-line-2)}.jh-fold{display:none}.jh.jh-empty{display:none}.jh-head{padding:12px 0 10px}.jh-new{margin:0 0 10px}.jh-list{padding:0 0 16px}.jh-l{margin:12px 0 4px}.jh-all{margin:0 0 6px}}
/* The shell (SCR-547, DESIGN.md Shell): one start for every single-material
   action. The head row holds History and Run; the stage holds the material
   with the Bar over it; Settings is a column only while it is open. */
.ws.shell{grid-template-columns:minmax(0,1fr)}
.shell-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap;position:relative;z-index:8}
.shell-lead{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.shell-top .runbar.shell-run{margin-left:auto;padding:0;background:none;border:0;gap:12px;flex-wrap:nowrap;width:auto;order:9}
.shell-run .price-line{flex:0 1 auto;min-width:0}
/* The price is on Run and on the receipt, nowhere else (SCR-533). */
.shell-run .price-line .scrub-price{display:none}
.shell-run .price-line .scrub-not-charged{display:inline}
.shell-stage{position:relative;display:flex;flex-direction:column;min-width:0;gap:0}
/* On an App, Your files is a sheet over the stage (SCR-735): the page never scrolls to pick, the list scrolls inside. */
.ws.shell[data-app] .shell-stage>.files:not([hidden]){position:absolute;z-index:20;inset:12px;max-height:none;overflow-y:auto;margin:0;padding:12px 14px;border-radius:18px;background:var(--scrub-bg);background-image:linear-gradient(var(--scrub-surface),var(--scrub-surface));box-shadow:var(--scrub-shadow-float);animation:files-in .18s var(--scrub-ease,ease-out)}
@keyframes files-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
/* On a phone the list takes the drop zone’s place (F-26) and scrolls inside itself, so nothing overlaps it. */
@media (max-width:860px){.ws.shell[data-app] .shell-stage>.files:not([hidden]){position:static;inset:auto;max-height:calc(100dvh - 240px);box-shadow:none;animation:none}.ws.shell[data-app] .shell-stage:has(>.files:not([hidden]))>.drop{display:none}}
@media (prefers-reduced-motion:reduce){.ws.shell[data-app] .shell-stage>.files:not([hidden]){animation:none}}
/* The drop zone's parts are the stage's rows: the player first, the Bar under it, the file row, then Your files. */
.shell-stage>.drop.has{border:0;background:none;padding:0;order:2;margin-top:8px}
/* The material fills the stage (SCR-533's mockups): as wide as the stage, as tall as the room, letterboxed to its own shape. */
.shell-stage>.view{order:1;width:100%;max-width:100%}
.shell-stage>.view video,.shell-stage>.view img,.shell-stage>.view.player video,.shell-stage>.view .player video{width:100%;max-width:100%;height:auto;max-height:min(70vh,640px);object-fit:contain}
.shell-stage>.view>.player{width:100%;max-width:100%}
.shell-stage>.drop.has>.drop-file{border-radius:var(--scrub-r-block);background:var(--scrub-surface)}
.shell-stage>.files{order:3}
/* Your files sits apart from the drop zone above it, never flush against it. */
.shell-stage>.files:not([hidden]){margin-top:8px}
.shell-stage>.field{gap:8px}
.shell-stage>.field textarea,.shell-stage>.field textarea.words{width:100%;max-width:none;min-height:180px;font-size:17px;line-height:1.45}
.shell-stage>.field input[type=text]{width:100%;max-width:none}
.shell-stage.running>:not(.run){display:none}
/* A finished result on the shell's stage is whole (SCR-551): the rows of a reading result (a caption
   editor, a transcript) scroll beside the picture; the picture is never cut inside the stage. */
.shell-stage .stage[data-kind="reading"]{max-height:none;overflow:visible}
.shell-stage .split-a{max-height:min(50vh,520px);overflow:auto}
/* The running card stands on the stage at the stage's size (SCR-551, R6), its figure the height of the room. */
.shell-stage>.run.big,.shell-stage>.run.big.figured{margin:0 auto;width:100%;max-width:none;min-height:min(62vh,600px)}
.shell-stage>.run.big>.rfig,.shell-stage>.run.big>.rslider{aspect-ratio:auto;height:min(44vh,420px)}
/* After a run (SCR-551, R6): the result replaces the material on the stage; Before shows what was given, a change pending
   shows it with the preview on it; Download and the receipt sit in the head; what was given, Next and the rest fold under. */
.shell-stage.has-result:not(.before):not(.changed)>.view:not(.result){display:none}
.shell-stage.has-result.before>.view.result,.shell-stage.has-result.changed>.view.result,.shell-stage.has-result.before>.stage.result,.shell-stage.has-result.changed>.stage.result{display:none}
.shell-stage.changed>.stage-switch{display:none}
.shell-stage>.stage.result{order:1;width:100%;margin:0}
.stage-switch{order:1;display:flex;justify-content:center;width:100%;margin:10px 0 0}
.res-row{display:flex;align-items:center;gap:4px 14px;flex-wrap:wrap;min-width:0}
.res-dl{position:relative;display:inline-flex}
.res-dl .dl-menu{cursor:pointer;border:0;font-family:inherit}
.res-dl .dl-menu .chev{width:7px;height:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg);opacity:.8;flex:none;margin-left:2px}
.res-dl .tl-menu.shell-menu{min-width:260px;left:0;top:calc(100% + 6px)}
.shell-menu .dl-kept{margin:4px 0 0;padding:8px 9px 2px;border-top:1px solid var(--scrub-line-2);color:var(--scrub-text-2)}
.res-row .rline{flex:0 1 auto;position:relative;min-width:0}
.res-row .rline>summary{min-height:38px}
.res-row .rline .rl-body{position:absolute;left:0;top:calc(100% + 4px);z-index:80;min-width:300px;padding:10px 14px;border-radius:var(--scrub-r-panel);background:var(--scrub-raised);box-shadow:var(--scrub-shadow-float)}
.shell-run.quiet .price-line .what{color:var(--scrub-text-2)}
.in-fold.shell-given{width:100%;margin-top:12px;border-radius:var(--scrub-r-block);background:var(--scrub-surface)}
.in-fold.shell-given>summary{list-style:none;margin:0;padding:12px 14px;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;font-size:13.5px;font-weight:600;color:var(--scrub-text);min-height:0}
.in-fold.shell-given>summary::-webkit-details-marker{display:none}
.in-fold.shell-given .g-k{color:var(--scrub-text-2);font-weight:500}
.in-fold.shell-given>.in-fold-b{padding:0 14px 12px;display:flex;flex-direction:column;gap:10px}
.in-fold.shell-given>.in-fold-b>.drop.has{border:0;background:none;padding:0}
.in-fold.shell-given .drop-file{border-radius:var(--scrub-r-block);background:var(--scrub-bg)}
.shell-next{width:100%;margin-top:12px}
.shell-next .group{margin:0;padding:12px 14px;border-radius:var(--scrub-r-block);background:var(--scrub-surface)}
.shell-next .ghead{margin:0 0 8px}
.made.made-fold{padding:0;margin-top:12px;border-radius:var(--scrub-r-block)}
.made.made-fold>summary{list-style:none;cursor:pointer;padding:12px 16px;margin:0;min-height:0}
.made.made-fold>summary::-webkit-details-marker{display:none}
.made.made-fold .made-dl{padding:0 16px}
.made.made-fold .made-b,.made.made-fold .made-more{padding:8px 16px 14px}
.shell-row{display:flex;flex-direction:column;gap:6px}
.shell-row-t{margin:0;font-size:13.5px;font-weight:600}
.shell-row-t i{font-style:normal;font-weight:400;color:var(--scrub-text-2);margin-left:6px}
.shell-row .drop:not(.has){border-style:solid;border-color:transparent;background:var(--scrub-surface)}
.shell-row .drop:not(.has)::before{display:none}
.shell-row .drop-empty{flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px 14px;min-height:0;padding:10px 14px;text-align:left}
.shell-row .drop-empty b{font-size:14px;font-weight:500}
.shell-row .drop-empty>.small{flex-basis:100%}
.shell-row .drop-actions{justify-content:flex-start}
.shell-row .field .flabel{display:none}
/* The Bar: the floating toolbar's grammar (F-150), Setting · Value, the setting muted; it wraps at every width, so every item is in view (SCR-533's mockups). */
/* In the page's flow the Bar stacks with it: a flex item takes a z-index unplaced, and one above the phone's sticky
   Run dock (5) drew the Bar over Run on a long page (SCR-567, walk:click). It rises only when placed on the picture. */
.tl-tbar.shell-bar{position:static;transform:none;order:1;width:fit-content;max-width:100%;margin:10px auto 0;padding:3px;flex-wrap:wrap;justify-content:center;row-gap:2px;overflow:visible;z-index:auto}
/* The Bar of what is selected (SCR-613): one shows at a time; nothing selected shows the first alone with its first item */
.shell-bar[data-bar-on]{display:none;flex-wrap:nowrap;white-space:nowrap}
.shell-bar[data-bar-on].on{display:flex}
.shell-bar.lone>:not([data-first]):not(.tb-settings):not(.tl-tsep){display:none}
.shell-bar .tb-who{display:inline-flex;align-items:center;gap:6px;padding:0 10px 0 8px;min-height:34px;font:600 12px/1.2 var(--scrub-sans);color:var(--scrub-text-2);border-right:1px solid var(--scrub-line);margin-right:2px}
.shell-bar .tb-who i{width:9px;height:9px;border-radius:2px;border:1.5px solid currentColor}
.shell-bar .tb-who.frame i{border-radius:1px;width:11px;height:8px}
.shell-bar .tl-tb.own>.tb-v{display:none}
.shell-bar .tl-tb.own>.tb-k{color:var(--scrub-text)}
.shell-bar .tb-sw{width:12px;height:12px;margin:0 2px}
.shell-bar .tl-tb.own>.tb-sw{display:none}
.shell-bar .tb-done{display:none}
.shell-bar .tb-item[hidden]{display:none}
.tl-menu-more .tb-item{display:block}
.tl-menu-more .tl-tb{display:flex;width:100%;justify-content:space-between;min-height:36px;border-radius:8px}
.tl-menu-more .tl-tb .tb-k{margin-right:auto}
.tl-menu-more .tl-tb .chev{transform:rotate(-90deg)}
.tl-menu-more .tb-item:not(:first-child) .tl-tb{margin-top:2px}
.shell-menu .mrow{display:flex;align-items:center;gap:10px}
.shell-menu .mrow .sw{width:14px;height:14px}
.shell-menu .pick-row{display:flex;align-items:center;gap:10px;padding:7px 9px;font:500 13px/1.2 var(--scrub-sans);color:var(--scrub-text-2);cursor:pointer}
.shell-menu .pick-row input[type=color]{width:34px;height:26px;padding:0;border:0;background:none;cursor:pointer}
.shell-menu .mgrp{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2px;padding:0 4px 4px}
.shell-menu .mgrp button[role=menuitemradio]{white-space:normal;align-items:flex-start;border-radius:8px}
.shell-menu .tl-menu-sw{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:4px 9px 8px}
.shell-menu .tl-menu-sw button[role=menuitemradio]{padding:3px;border-radius:50%;width:auto}
.shell-menu .tl-menu-sw button[aria-checked="true"]{box-shadow:0 0 0 2px var(--scrub-text)}
.shell-menu .tl-menu-sw .sw{width:18px;height:18px}
.shell-menu .tl-menu-sw .pick-row{padding:3px 6px}
.shell-menu .tl-menu-num{display:flex;align-items:center;gap:10px;padding:6px 10px 10px;font:500 13px/1.2 var(--scrub-sans);color:var(--scrub-text-2)}
.shell-menu .tl-menu-num input[type=range]{flex:1;accent-color:var(--scrub-text)}
.shell-menu .tl-menu-num .scrub-num{min-width:3ch;text-align:right;color:var(--scrub-text)}
.tl-menu-group{min-width:340px}
.tl-menu-sample{position:relative;display:grid;place-items:center;margin:4px 6px 6px;border-radius:10px;background:black;overflow:hidden}
.tl-menu-sample canvas{display:block;width:100%;height:auto}
.tl-menu-sample .small{position:absolute;left:10px;top:8px;color:white;opacity:.7}
.frameo{position:absolute;inset:0;border:2px solid white;box-shadow:var(--scrub-shadow-float);pointer-events:none;display:none;border-radius:inherit}
.caps.sel-frame .frameo{display:block}
.cap-safe{position:absolute;border:1px dashed white;opacity:.6;pointer-events:none;display:none}
.caps.sel-frame .cap-safe,.caps.placing .cap-safe,.caps.safe-on .cap-safe{display:block}
.cap-grid{position:absolute;inset:0;pointer-events:none;display:none;opacity:.28;background-image:linear-gradient(to right,white 1px,transparent 1px),linear-gradient(to bottom,white 1px,transparent 1px);background-size:33.3333% 33.3333%}
.caps.grid-on .cap-grid{display:block}
.shell-bar .tl-tb{gap:6px;padding:0 10px;min-height:34px;font:600 13px/1.2 var(--scrub-sans);color:var(--scrub-text)}
.shell-bar .tb-k{color:var(--scrub-text-2);font-weight:500}
.shell-bar .tb-k::after{content:"·";margin-left:6px;opacity:.6}
.shell-bar .tb-v{max-width:150px;overflow:hidden;text-overflow:ellipsis}
.shell-bar .chev{width:7px;height:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg);opacity:.6;flex:none}
.shell-bar .tb-num{cursor:default;gap:4px;padding-right:6px}
.shell-bar .tb-num .tl-tnum{width:56px}
.shell-bar .tb-u{color:var(--scrub-text-2);font-weight:500;font-size:12px}
.shell-bar .tb-item{display:contents}
.shell-bar .tb-settings{color:var(--scrub-text-2)}
.tl-menu.shell-menu{position:absolute;z-index:80;max-height:min(60vh,520px);overflow-y:auto;min-width:220px}
.tl-menu.shell-menu[hidden]{display:none}
.shell-menu [aria-checked="true"] .tl-menu-ck::before{content:"\2713"}
.shell-menu .shell-mlabel{display:flex;flex-direction:column;gap:1px;min-width:0;text-align:left;white-space:normal}
.shell-menu .shell-mlabel .small{font-weight:400;color:var(--scrub-text-2)}
.shell-menu .shell-mlabel .jh-name{font-size:13.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}
.shell-menu a[role=menuitem]{display:flex;align-items:center;gap:8px;width:100%;padding:7px 9px;border-radius:6px;cursor:pointer;text-decoration:none;color:inherit;box-sizing:border-box;white-space:nowrap}
.shell-menu a[role=menuitem]:hover,.shell-menu a[role=menuitem]:focus-visible{background:color-mix(in srgb,var(--scrub-text) 8%,transparent);outline:none}
.shell-menu a[role=menuitem][aria-current=page]{background:var(--scrub-surface-2)}
.shell-menu .jh-none{padding:6px 9px}
/* Add (SCR-550): beside History; its menu's rows are presses with a tile, the title and the price at the right. */
.shell-add{position:relative}
/* As wide as its longest row, title and key on one line, as History's menu is. */
.shell-addm{width:max-content;min-width:300px;max-width:min(600px,calc(100vw - 32px))}
.shell-addm [role=menuitem]{display:flex;align-items:center;gap:10px;min-height:44px;white-space:nowrap}
.shell-addm>.toolnote{margin:0;padding:12px 14px;min-height:44px;box-sizing:border-box;display:flex;align-items:center}
.shell-addm .tile{--s:28px}
.shell-addm .shell-mlabel{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis}
.shell-addm .shell-mlabel .small{white-space:normal}
/* Added steps (SCR-550): each a row under the stage, on the surface, its Bar docked inside it. */
.shell-added{display:flex;flex-direction:column;gap:10px}
/* With steps under it, the stage stops growing to fill the room: the rows have it. */
.workpage .ws.shell .io-in:has(> .shell-added:not(:empty)) > .shell-stage{flex:0 0 auto}
.shell-added:empty,.shell-added[hidden]{display:none}
/* One row (founder, 9 November 2026), on the file row's measures: the head, the Bar items, Remove at the right. */
.shell-arow{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:8px 8px 8px 10px;border-radius:var(--scrub-r-block);background:var(--scrub-surface)}
.shell-arow-h{display:inline-flex;align-items:center;gap:10px;min-width:0;flex:0 0 auto}
.shell-arow-h .tile{--s:28px}
.shell-arow-n{font-size:14px;font-weight:600;white-space:nowrap}
/* The Bar sits after the head and shrinks before it wraps its items; the price and Remove keep the right. */
/* Flat in the row, on the row's own surface: no card, no shadow, no float (Gate 2, SCR-550). */
.shell-arow .tl-tbar.shell-bar{order:0;margin:0;padding:0;flex:0 1 auto;min-width:0;width:auto;max-width:100%;justify-content:flex-start;background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.shell-arow-x{margin-left:auto}
/* Remove: a minus in a circle, ink, with the Bar's hover; never the accent, never a red. */
.shell-arow-x{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:none;border-radius:50%;color:var(--scrub-text);cursor:pointer}
.shell-arow-x:hover,.shell-arow-x:active{background:color-mix(in srgb,var(--scrub-text) 8%,transparent)}
.shell-arow-x:focus-visible{outline:2px solid var(--scrub-text);outline-offset:1px}
.shell-arow-s{flex-basis:100%;display:flex;flex-direction:column;gap:10px}
/* A step's settings stay inside its row at every width: a long value line is cut, words wrap (Gate 2, SCR-550). */
.shell-arow,.shell-arow-s,.shell-arow-s .cfg,.shell-arow-s .field{min-width:0;max-width:100%}
.shell-arow-s .cfg>summary{min-width:0}
.shell-arow-s .cfg-t{flex:none}
.shell-arow-s .cfg-v{flex:1 1 0;max-width:none}
.shell-arow-s .field p,.shell-arow-s .field .flabel{overflow-wrap:anywhere}
/* Words typed on a Bar read as a box to type in: a hairline under the value, ink on focus. */
.shell-bar .tb-text .tl-tnum{border-bottom:1px dashed var(--scrub-line);border-radius:0}
.shell-bar .tb-text .tl-tnum:focus{border-bottom:1px solid var(--scrub-text);outline:none}
/* A step made from words (SCR-683): its words are a prompt, one box as wide as the row in the page's
   reading size, ink-ringed as Chat's is, its Bar inside the box's foot; the head and Remove above it. */
.shell-arow.is-prompt{padding:10px 10px 12px 12px}
.shell-arow.is-prompt>.shell-arow-h{flex:1 1 auto}
.shell-prompt{flex-basis:100%;display:flex;flex-direction:column;gap:4px;padding:10px 10px 6px 14px;border-radius:var(--scrub-r-sheet);background:var(--scrub-bg);box-shadow:inset 0 0 0 1.5px var(--scrub-line);transition:box-shadow .2s var(--scrub-ease)}
.shell-prompt:focus-within{box-shadow:inset 0 0 0 2px var(--scrub-text)}
.shell-prompt>textarea{all:unset;box-sizing:border-box;display:block;width:100%;min-height:76px;max-height:40vh;field-sizing:content;overflow-y:auto;font:400 17px/1.5 var(--scrub-sans);color:var(--scrub-text);white-space:pre-wrap;overflow-wrap:anywhere;cursor:text}
.shell-prompt>textarea::placeholder{color:var(--scrub-text-2);opacity:1}
.shell-prompt-foot{display:flex;align-items:center;min-width:0}
/* How it's said, typed in the prompt's foot: its example shows quiet until something is written. */
.shell-prompt-foot .shell-bar .tb-text .tl-tnum::placeholder{color:var(--scrub-text-2);font-weight:400}
.shell-prompt-foot{flex-wrap:wrap;gap:4px 12px}
.shell-marks{display:inline-flex;gap:6px;margin-left:auto}
@media (max-width:860px){.shell-marks{margin-left:0}}
.shell-prompt-foot .tb-text .tl-tnum{max-width:220px;min-width:110px}
/* Words offered for How it's said: the Menu's rows, one line each. */
.shell-saym{min-width:220px}
.shell-saym [role=menuitem]{display:flex;align-items:center;min-height:40px;white-space:nowrap}
.shell-saym [role=menuitem][hidden]{display:none}
.shell-prompt-foot .tl-tbar.shell-bar{flex-wrap:wrap;margin:0;padding:0;width:auto;max-width:100%;background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;justify-content:flex-start}
/* Next under the stage (SCR-683): Next's own rows, here presses that add a step. */
.shell-addnext:empty{display:none}
.shell-addnext{margin-top:16px}
.nextrows>button{font:inherit;font-size:14px;width:100%;text-align:left;cursor:pointer;color:var(--scrub-text)}
/* A step in Next wears its own tile, as it does in Add and on Tools: found by its icon (SCR-683), before a run and after it (SCR-694). */
:is(.nextrows,.usein)>:is(a,button):has(>.tile){align-items:center;justify-content:flex-start;gap:12px;padding-left:10px}
:is(.nextrows,.usein)>:is(a,button)>.tile{--s:28px;flex:none}
:is(.nextrows,.usein)>:is(a,button):has(>.tile)>span:not(.quiet-price):not(.tile){flex:1 1 auto;min-width:0}
.shell-addnext[aria-busy] .nextrows>button{pointer-events:none}
/* An empty App's makers (SCR-683): Tool chips in a row of their own under Upload and Your files. */

.drop-makes{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:4px}
.drop-makes .tchip .quiet-price{margin-left:4px}
.ws.shell[data-has-rail]{position:relative}
.shell-rail{display:flex;flex-direction:column;gap:4px;padding:8px 6px;border-left:1px solid var(--scrub-line-2);overflow-y:auto}
.shell-rail-b{all:unset;box-sizing:border-box;cursor:pointer;position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;width:68px;padding:9px 4px 8px;border-radius:12px;font-size:12px;font-weight:600;line-height:1.2;text-align:center;color:var(--scrub-text)}
.shell-rail-b:hover:not(:disabled),.shell-rail-b[aria-expanded=true]{background:var(--scrub-surface)}
.shell-rail-b[hidden],.shell-rail[hidden]{display:none}
.shell-rail.arrive{animation:rail-in .22s var(--scrub-ease,ease-out)}
.shell-rail-b:disabled{opacity:.4;cursor:default}
.shell-rail-b:focus-visible{outline:2px solid var(--scrub-text);outline-offset:1px}
.shell-rail-b.in::after{content:'';position:absolute;top:7px;right:12px;width:7px;height:7px;border-radius:50%;background:var(--scrub-text)}
.shell-feat{position:absolute;z-index:30;top:var(--feat-top,64px);right:82px;width:min(360px,calc(100% - 100px));max-height:calc(100% - var(--feat-top,64px) - 8px);overflow-y:auto;box-sizing:border-box;padding:10px 10px 12px;background:var(--scrub-raised,var(--scrub-surface));border-radius:var(--scrub-r-sheet,16px);box-shadow:var(--scrub-shadow-float)}
.shell-feat[hidden]{display:none}
/* A tool the material can't take yet (SCR-745): fully readable, its need said under its line. */
.shell-fa-need{display:block;margin-top:4px;font-size:12.5px;font-weight:600;color:var(--scrub-text)}
.shell-fa-need[hidden]{display:none}
/* The tools bar on the left of Media (SCR-745, direction B): the rail first, the work beside it, a group's tools opening
   beside the bar, the selected step's settings on the right. Under 861 px it stays a bar along the foot, as before. */
@media (min-width:861px){
  .workpage>.ws.shell[data-app][data-has-rail],.cfg-min .workpage>.ws.shell[data-app][data-has-rail]{grid-template-columns:auto minmax(0,1fr)}
  .workpage>.ws.shell[data-app][data-has-rail].props-open,.cfg-min .workpage>.ws.shell[data-app][data-has-rail].props-open{grid-template-columns:auto minmax(0,1fr) 320px}
  .ws.shell[data-app][data-has-rail]>.shell-rail,.ws.shell[data-app][data-has-rail].props-open>.shell-rail{grid-column:1;grid-row:1;border-left:0;border-right:1px solid var(--scrub-line-2)}
  .ws.shell[data-app][data-has-rail]>.work{grid-column:2;grid-row:1}
  .ws.shell[data-app][data-has-rail].props-open>.shell-props{grid-column:3;grid-row:1}
  .ws.shell[data-app] .shell-feat{right:auto;left:82px}
}
.shell-feat-h{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 8px 8px;font-size:15px}
.shell-feat-x{all:unset;cursor:pointer;width:36px;height:36px;border-radius:999px;display:grid;place-items:center;font-size:19px;color:var(--scrub-text-2)}
.shell-feat-x:hover{background:var(--scrub-surface);color:var(--scrub-text)}
.shell-fa{padding:6px 0;border-top:1px solid var(--scrub-line-2)}
.shell-fa[hidden]{display:none}
.shell-fa-h{all:unset;box-sizing:border-box;cursor:pointer;display:flex;gap:10px;align-items:flex-start;width:100%;padding:9px 8px;border-radius:12px}
.shell-fa-h:hover{background:var(--scrub-surface)}
.shell-fa-h[aria-pressed=true]{background:var(--scrub-surface);box-shadow:inset 0 0 0 1.5px var(--scrub-text)}
.shell-fa-h:focus-visible,.shell-fo:focus-visible{outline:2px solid var(--scrub-text);outline-offset:1px}
.shell-fa-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.shell-fa-t span{color:var(--scrub-text-2);font-size:13px}
details.how .how-i{display:none}
body:has(.ws.shell[data-app]) .shell-run details.how .how-i{display:inline-flex;color:var(--scrub-text-2);vertical-align:middle}
body:has(.ws.shell[data-app]) .shell-run details.how summary{list-style:none;display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%}
body:has(.ws.shell[data-app]) .shell-run details.how summary::-webkit-details-marker{display:none}
body:has(.ws.shell[data-app]) .shell-run details.how summary:hover .how-i,body:has(.ws.shell[data-app]) .shell-run details.how[open] .how-i{color:var(--scrub-text)}
body:has(.ws.shell[data-app]) .shell-run details.how p{white-space:pre-line;line-height:20px}
body:has(.ws.shell[data-app]) .shell-run details.how .how-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.run-from:has(.run-meter){display:inline-flex;align-items:center;gap:8px}
.run-meter{display:inline-block;width:56px;height:6px;border-radius:3px;background:var(--scrub-line);overflow:hidden}
.run-meter i{display:block;height:100%;border-radius:3px;background:var(--scrub-text-2)}
.shell-fa-t b{line-height:20px}
.shell-fa-t span{line-height:18px}
.shell-rail-b{line-height:16px}
.shell-props{grid-row:1;grid-column:2;align-self:stretch;overflow-y:auto;box-sizing:border-box;padding:12px 14px 16px;border-left:1px solid var(--scrub-line-2);background:var(--scrub-bg)}
.shell-props[hidden]{display:none}
.shell-props-h{display:flex;align-items:center;gap:10px;padding:2px 0 10px;font-size:15px}
.shell-props-h b{flex:1;min-width:0}
.shell-prop{display:flex;flex-direction:column;gap:4px;padding:10px 0;border-top:1px solid var(--scrub-line-2)}
.shell-prop-l{margin:0 0 2px;font-size:12px;font-weight:600;color:var(--scrub-text-2)}
.shell-prop input,.shell-prop textarea{box-sizing:border-box;width:100%;padding:8px 10px;border-radius:10px;border:1px solid var(--scrub-line);background:var(--scrub-surface);color:var(--scrub-text);font:inherit}
.shell-prop-n{display:flex;align-items:center;gap:8px}
.shell-prop-n input{max-width:120px}
.shell-prop-n span{color:var(--scrub-text-2);font-size:13px}
.shell-prop.many:not(.all)>.shell-fo-r:nth-of-type(n+9){display:none}
.shell-prop.all>.shell-fa-all{display:none}
.shell-fa-c{padding:2px 4px 4px 44px}
.shell-fa-l{margin:6px 0 4px;font-size:12px;font-weight:600;color:var(--scrub-text-2)}
.shell-fo-r{display:flex;align-items:center;gap:4px}
.shell-fo{all:unset;box-sizing:border-box;cursor:pointer;flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:1px;min-height:40px;padding:6px 10px;border-radius:10px;font-size:14px}
.shell-fo:hover{background:var(--scrub-surface)}
.shell-fo[aria-pressed=true]{background:var(--scrub-surface);box-shadow:inset 0 0 0 1.5px var(--scrub-text);font-weight:600}
.shell-fo-n{font-size:12.5px;font-weight:400;color:var(--scrub-text-2)}
.shell-fo.drawn .opt-look{width:100%;height:auto;aspect-ratio:16/7;margin:2px 0 6px;border-radius:8px}
.shell-fa-c:not(.all)>.shell-fo-r:nth-of-type(n+9){display:none}
.shell-fa-all{all:unset;cursor:pointer;margin:4px 0 0 10px;font-size:13px;font-weight:600;color:var(--scrub-text-2)}
.shell-fa-all:hover{color:var(--scrub-text)}
.shell-fa-c.all>.shell-fa-all{display:none}
.drop-own,.drop-make{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:10px}
.drop-two .drop-box,.drop-two .drop-band{min-height:260px}
.drop-two .scrub-label{margin:0;padding-left:4px}
.drop-box,.drop-band{flex:1;display:flex;flex-direction:column;border-radius:18px;box-sizing:border-box}
.drop-box{align-items:center;justify-content:center;gap:12px;text-align:center;padding:28px 20px;background:var(--scrub-surface);border:1.5px dashed var(--scrub-line)}
.drop-band{justify-content:center;gap:8px;padding:14px;background:color-mix(in srgb,var(--scrub-tile-audio) 70%,var(--scrub-surface))}
.drop-make .scrub-label{color:var(--scrub-tile-audio-ink)}
.drop-or{position:relative;flex:none;width:56px;display:flex;align-items:center;justify-content:center}
.drop-or::before{content:'';position:absolute;top:0;bottom:0;left:50%;width:1px;background:var(--scrub-line)}
.drop-or span{position:relative;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--scrub-bg);border:1px solid var(--scrub-line);font-size:12px;font-weight:600;color:var(--scrub-text-2)}
.drop-make .drop-mrow{background:color-mix(in srgb,var(--scrub-tile-audio) 38%,var(--scrub-surface))}
.drop-make .drop-mrow:hover{background:color-mix(in srgb,var(--scrub-tile-audio) 22%,var(--scrub-surface))}
.drop-mrow{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:flex-start;gap:12px;min-height:44px;padding:12px 14px;border-radius:14px;background:var(--scrub-surface)}
.drop-mrow:hover{background:var(--scrub-surface-2)}
.drop-mrow:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.drop-mrow .tile{position:relative}
.drop-mrow .tile::before,.drop-mrow .tile::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:2px;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);opacity:0;pointer-events:none}
.drop-mrow .tile::before{background:var(--ti)}
.drop-mrow .tile::after{background:conic-gradient(from var(--trace),transparent 0 62%,color-mix(in srgb,var(--ti) 40%,#fff) 82%,var(--ti) 94%,transparent 100%)}
.drop-mrow:hover .tile::after,.drop-mrow:focus-visible .tile::after{animation:drop-trace .55s linear 1 forwards}
.drop-mrow:hover .tile::before,.drop-mrow:focus-visible .tile::before{opacity:1;transition:opacity .15s ease .45s}
.drop-mrow-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.drop-mrow-t b{font-size:15px;font-weight:600;line-height:1.3}
.drop-mrow-t span{color:var(--scrub-text-2);font-size:13px;line-height:1.4}
.drop-mrow .quiet-price{white-space:nowrap}
.shell-fa-t .heard-n{color:var(--scrub-text-2)}
.shell-fa-t .heard-n .scrub-num{color:var(--scrub-text);font-weight:600}
/* Chat on an App (SCR-739, founder, 14 November 2026): the assistant, on the left beside the work,
   the conversation alone (no help articles, history, greeting or suggestions), opened by a bubble at the
   bottom right. The Help panel in Chat's mode (.app-chat); the header's ? still opens Help itself.
   It knows the page: what is on the stage and the work on it. */
.assist.hlp.app-chat .hlp-home,.assist.hlp.app-chat [data-hlp-view],.assist.hlp.app-chat [data-hlp-back]{display:none!important}
.assist.hlp.app-chat #assist-log,.assist.hlp.app-chat #assist-form{display:flex!important}
/* A project's Chat is the project's one conversation (SCR-747): no New on it. */
.assist.hlp.app-chat .hlp-top [data-new]{display:none!important}
.assist.hlp.app-chat .hlp-top [data-hlp-title]{margin-right:auto}
.assist.hlp:not(.app-chat) .app-chat-empty,.app-chat-empty[hidden]{display:none}
.app-chat-empty{margin:0;padding:0 18px 10px;color:var(--scrub-text-2);font-size:13.5px;line-height:1.45}
/* The bubble: the inverse fill, as the account's initials (the accent stays on money and Run, Principle 2).
   Up to 860px Run is pinned at the foot, so the bubble sits above it, never on it. */
.app-chat-bubble{all:unset;box-sizing:border-box;cursor:pointer;position:fixed;z-index:30;right:max(20px,env(safe-area-inset-right,0px));bottom:max(var(--chat-foot,20px),env(safe-area-inset-bottom,0px));width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--scrub-inv);color:var(--scrub-on-inv);box-shadow:var(--scrub-shadow-float)}
/* Its icon at 28 px, about half the circle, with 2 px lines, as on a tile of 40 px or more (DESIGN.md, Icons). */
.app-chat-bubble svg{stroke-width:1.72}
.app-chat-bubble:focus-visible{outline:2px solid var(--scrub-text);outline-offset:3px}
.app-chat-bubble[hidden]{display:none}
@media (min-width:861px){
  body:has(.ws.shell[data-app]) main.workpage{margin:12px;border:1px solid var(--scrub-line);border-radius:var(--scrub-r-panel);background:var(--scrub-bg)}
}
/* Chat comes out of its bubble on the right (SCR-742, founder's pick, 14 November 2026: floating and pinned).
   app-run.ts sets the panel's place as a class: .cw-dock, from 1200 px and as it opens, a column on the right
   that the App moves over for, ending above the bubble; .cw-float, raised over the App's right, above the
   bubble and below the App's head row, so Run and its price stay in view; .cw-sheet, a phone's whole screen.
   Open, the bubble steps aside and Chat reaches the foot; its X is in its head, at the top right, far from Send. */
@media (prefers-reduced-motion:no-preference){.assist.hlp.app-chat:not([hidden]){animation:chat-grow .18s cubic-bezier(.2,.8,.2,1)}}
@keyframes chat-grow{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}
.assist.hlp.app-chat{transform-origin:100% 100%}
.assist.hlp.app-chat .hlp-top{box-sizing:border-box;height:51px;padding-top:0;padding-bottom:0}
.cw-mode[hidden]{display:none}
/* A hint never wraps: one line, cut with an ellipsis, while the box is empty. */
.assist.hlp.app-chat .assist-say textarea:placeholder-shown{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Chat open takes the bottom right, where the download card waits: the card steps aside until Chat closes. */
body:has(.assist.hlp.app-chat:not([hidden])) .appcard{display:none}
/* On a phone the bar keeps its room for words: the conversation becomes the whole screen by itself. */
@media (min-width:641px){
  .assist.hlp.app-chat{right:20px;left:auto;width:400px;max-width:calc(100vw - 40px);border:1px solid var(--scrub-line);border-radius:var(--scrub-r-panel);overflow:hidden;background:var(--scrub-bg);box-shadow:var(--scrub-shadow-float);z-index:29}
  .assist.hlp.app-chat.cw-float{top:var(--chat-top,140px);bottom:var(--chat-foot,20px);max-height:none}
  /* Floating, it goes where it is dragged by its head and is sized from its corner (SCR-745), kept there. */
  .assist.hlp.app-chat.cw-float.cw-moved{left:var(--chat-x);top:var(--chat-y);right:auto;bottom:auto;width:var(--chat-w,400px);height:var(--chat-h,560px);min-width:320px;min-height:320px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px)}
  .assist.hlp.app-chat.cw-float .hlp-top{cursor:grab;touch-action:none}
  .assist.hlp.app-chat.cw-float.cw-dragging .hlp-top{cursor:grabbing}
  .assist.hlp.app-chat.cw-float.cw-dragging{user-select:none}
  .assist.hlp.app-chat.cw-float .hlp-top button{cursor:pointer}
  .cw-size{display:none}
  .assist.hlp.app-chat.cw-float .cw-size{display:block;position:absolute;right:3px;bottom:3px;width:18px;height:18px;cursor:nwse-resize;touch-action:none;z-index:2;background:linear-gradient(135deg,transparent 0 55%,var(--scrub-line) 55% 62%,transparent 62% 72%,var(--scrub-line) 72% 79%,transparent 79%)}
}
/* In a window of its own (SCR-745): the whole window is the conversation. */
.assist.hlp.app-chat.cw-win{position:fixed;inset:0;width:auto;height:auto;max-width:none;max-height:none;border:0;border-radius:0;box-shadow:none;z-index:1}
body.cw-win-body{margin:0;background:var(--scrub-bg);color:var(--scrub-text)}
@media (min-width:1200px){
  .assist.hlp.app-chat.cw-dock{right:12px;top:69px;bottom:12px;width:var(--app-chat-w,400px);max-height:none;box-shadow:none;z-index:5;border-radius:var(--scrub-r-panel)}
  body.chat-docked:has(.ws.shell[data-app]) main.workpage{margin-right:calc(var(--app-chat-w,400px) + 24px)}
  body.chat-docked .edge-grip.app-chat-grip{display:block}
}
/* Chat's edge (SCR-740, edgeGrip): docked, the 12 px gap between the App and Chat takes the drag. */
.edge-grip.app-chat-grip{display:none;position:fixed;top:69px;bottom:12px;left:auto;right:calc(12px + var(--app-chat-w,400px));z-index:6}
.assist.hlp.app-chat.sizing{user-select:none}
.edge-grip.app-chat-grip[hidden]{display:none!important}
@media (max-width:640px){.assist.hlp.app-chat .assist-say button{min-width:44px}.assist.hlp.app-chat .hlp-x{width:44px;height:44px}.assist.hlp.app-chat .assist-say button,.assist.hlp.app-chat .assist-say textarea{min-height:44px}}
.sk{padding-bottom:40px}
.sk-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px 16px;flex-wrap:wrap}
.sk-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;margin-top:24px;align-items:start}
.sk-rail{position:sticky;top:76px}
.sk-rail .pu-rail-h:first-child{margin-top:0}
.sk-rail a.pu-f{text-decoration:none}
.sk-none{margin:0;padding:0 14px;color:var(--scrub-text-2)}
.sk-open{min-width:0;display:flex;flex-direction:column;gap:14px}
.sk-open h2{margin:0;font-size:24px;line-height:1.2;font-weight:500;letter-spacing:-.025em;text-wrap:balance}
.sk-desc{margin:0;max-width:70ch;color:var(--scrub-text-2)}
.sk-act{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.sk-note,.sk-said{margin:0;color:var(--scrub-text-2)}
.sk-uses{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}
.sk-uses .scrub-label{margin-right:2px}
.sk-tabs{flex-wrap:wrap;margin-top:6px}
.textout.read.sk-read{max-height:none;overflow:visible;max-width:calc(70ch + 48px);padding:22px 24px}
.sk-read>:first-child{margin-top:0}
.sk-read:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.sk-sheet .drop.over{box-shadow:inset 0 0 0 2px var(--scrub-text)}
.sk-sheet .drop-empty{min-height:220px}
.sk-sheet .drop-empty>.small{color:var(--scrub-text-2)}
.sk-what{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border-radius:var(--scrub-r-block);background:var(--scrub-surface)}
.sk-what b{font-size:16px;font-weight:500}
.sk-what .small{color:var(--scrub-text-2)}
.sk-what [data-sk-again]{align-self:flex-start;margin:4px 0 0 -8px}
.sk-what .num{font-family:var(--scrub-mono);font-variant-numeric:tabular-nums}
.sk-err{margin:0;color:var(--scrub-err)}
@media (max-width:640px){.sk-act .dl-one{min-height:44px}.sk-uses .tchip.in{min-height:44px}}
@media (max-width:860px){.sk-grid{grid-template-columns:minmax(0,1fr);gap:20px;margin-top:16px}.sk-rail{position:static}.sk-tabs button{min-height:44px;line-height:44px}.textout.read.sk-read{padding:18px 16px}.sk-act .quiet{min-height:44px}}

/* The Sheet (SCR-219): the studio's toolbar, a formula bar, the grid in its card, the tabs. */
.sh{display:flex;flex-direction:column;gap:8px;width:100%;max-width:100%;box-sizing:border-box;min-width:0;min-height:0}
/* A finished run's Sheet fills its result's place as the Sheet fills the work. */
.work[data-open="out"]:has(.sh){overflow:hidden;display:flex;flex-direction:column}
.work[data-open="out"]:has(.sh)>.io-out{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
.work[data-open="out"]:has(.sh) .stage:has(>.sh){flex:1 1 auto;min-height:0;display:flex;align-items:stretch}
.stage>.sh{flex:1 1 auto}
.sh [hidden],.sh-ac[hidden],.sh-hint[hidden],.sh-toast[hidden]{display:none!important}
.sh-tools,.sh-fbar,.sh-foot{flex:none}
.sh-tools{display:flex;align-items:center;gap:4px;min-width:0;overflow-x:auto;scrollbar-width:none;padding:1px}
.sh-tools::-webkit-scrollbar{display:none}
.sh-tools.more{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 32px),transparent)}
.sh .ss-ib[aria-pressed="true"]{background:var(--scrub-inv);color:var(--scrub-on-inv);border-color:var(--scrub-inv)}
.sh .ss-ib[aria-pressed="true"] svg{color:inherit}
.sh .ss-ib:disabled{opacity:.4}
.sh .ss-tb[aria-expanded="true"],.sh .ss-ib[aria-expanded="true"]{background:var(--scrub-surface-2)}
.sh .ss-tb .scrub-num{font-size:12.5px}
.sh-dec{padding:0 9px}
.sh-chev{color:var(--scrub-text-2);flex:none}
.sh-sep{flex:none;width:1px;height:20px;background:var(--scrub-line);margin:0 4px}
.sh-fillb{position:relative}
.sh-fillb i{position:absolute;left:50%;bottom:5px;width:12px;height:3px;border-radius:2px;transform:translateX(-50%)}
.sh-fbar{display:flex;align-items:center;height:38px;border:1px solid var(--scrub-line);border-radius:var(--scrub-r-field);background:var(--scrub-bg);min-width:0;box-sizing:border-box}
.sh-fbar:focus-within{border-color:var(--scrub-text)}
.sh-name{flex:none;width:84px;height:100%;box-sizing:border-box;border:0;border-right:1px solid var(--scrub-line);padding:0 10px;background:transparent;color:var(--scrub-text);font:500 13px var(--scrub-mono);border-radius:var(--scrub-r-field) 0 0 var(--scrub-r-field)}
.sh-fx{flex:none;padding:0 8px 0 10px;color:var(--scrub-text-2);font:italic 500 14px var(--scrub-sans)}
.sh-fin{flex:1;min-width:0;height:100%;border:0;padding:0 12px 0 0;background:transparent;color:var(--scrub-text);font:13px var(--scrub-mono);border-radius:0 var(--scrub-r-field) var(--scrub-r-field) 0}
.sh-name:focus,.sh-fin:focus{outline:none}
.sh-card{position:relative;flex:1 1 auto;min-height:240px;display:flex;border:1px solid var(--scrub-line-2);border-radius:var(--scrub-r-block);overflow:hidden;background:var(--scrub-bg)}
.sh-scroll{position:relative;flex:1;min-width:0;overflow:auto;overscroll-behavior:contain}
.sh-grid{border-collapse:separate;border-spacing:0;table-layout:fixed;font:13px var(--scrub-sans);color:var(--scrub-text)}
.sh-grid:focus{outline:none}
.sh-grid th,.sh-grid td{height:28px;box-sizing:border-box;padding:0 8px;border-right:1px solid var(--scrub-divide);border-bottom:1px solid var(--scrub-divide);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sh-grid td{background:var(--scrub-bg);cursor:cell}
.sh-grid thead th{position:sticky;top:0;z-index:3;padding:0;background:var(--scrub-surface);color:var(--scrub-text-2);font:500 12px var(--scrub-sans);text-align:center;overflow:visible;user-select:none;-webkit-user-select:none}
.sh-grid th.sh-rh{position:sticky;left:0;z-index:2;padding:0;background:var(--scrub-surface);color:var(--scrub-text-2);font:500 11.5px var(--scrub-mono);text-align:center;user-select:none;-webkit-user-select:none}
.sh-grid thead th.sh-corner{left:0;z-index:4}
.sh-grid th.on{background:var(--scrub-surface-2);color:var(--scrub-text);font-weight:600}
.sh-grid td.n{text-align:right;font-family:var(--scrub-mono)}
.sh-grid td.e{text-align:center;color:var(--scrub-err);font:500 12px var(--scrub-mono)}
.sh-grid td.bl{text-align:center;font:12px var(--scrub-mono)}
.sh-grid td.b{font-weight:600}.sh-grid td.i{font-style:italic}.sh-grid td.s{text-decoration:line-through}
.sh-grid td.al-l{text-align:left}.sh-grid td.al-c{text-align:center}.sh-grid td.al-r{text-align:right}
.sh-rz{position:absolute;right:-4px;top:0;bottom:0;width:8px;cursor:col-resize;z-index:1;touch-action:none}
.sh-rz:hover{background:color-mix(in srgb,var(--scrub-text) 22%,transparent)}
.sh-ov{position:absolute;pointer-events:none;box-sizing:border-box;z-index:1}
.sh-sel{border:2px solid var(--scrub-text);border-radius:2px}
.sh-range{background:color-mix(in srgb,var(--scrub-text) 7%,transparent);border:1px solid var(--scrub-text)}
.sh-clip{border:2px dashed var(--scrub-text)}
.sh-fill{border:2px dashed var(--scrub-text-2)}
.sh-ref{border:2px dashed;border-radius:2px}
.sh-handle::after{content:"";position:absolute;inset:-8px}
.sh-read .sh-handle{display:none}
.sh-handle{position:absolute;z-index:2;width:8px;height:8px;background:var(--scrub-text);border:2px solid var(--scrub-bg);border-radius:3px;cursor:crosshair;touch-action:none}
.sh-ed{position:absolute;z-index:2;box-sizing:border-box;height:28px;border:2px solid var(--scrub-text);background:var(--scrub-raised);color:var(--scrub-text);font:13px var(--scrub-mono);padding:0 6px;outline:none;box-shadow:var(--scrub-shadow-float);border-radius:3px}
.sh-empty{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:5;display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px 28px;max-width:calc(100% - 32px);box-sizing:border-box;text-align:center;background:var(--scrub-raised);border-radius:var(--scrub-r-float);box-shadow:var(--scrub-shadow-float)}
/* Only its buttons take a press: the cells round them stay the person's to press. */
.sh-empty{pointer-events:none}.sh-empty a,.sh-empty button{pointer-events:auto}
.sh-empty b{font-weight:500;font-size:15px}
/* Your files on the Sheet (SCR-842): the list takes the grid's place, as it takes a drop zone's. */
.sh-card>.sh-files{position:absolute;inset:0;z-index:6;max-height:none;border:0;border-radius:0;background:var(--scrub-bg)}
.sh-card:has(.sh-files:not([hidden])) .sh-empty{display:none}
.sh-empty .drop-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.sh-empty .small{color:var(--scrub-text-2)}
.sh-foot{display:flex;align-items:center;gap:6px;min-width:0}
.sh-tabs{display:flex;gap:2px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}
.sh-tabs::-webkit-scrollbar{display:none}
.sh-tab{display:flex;align-items:center;flex:none;border-radius:var(--scrub-r-pill)}
.sh-tab.on{background:var(--scrub-surface)}
.sh-tabb{all:unset;box-sizing:border-box;height:32px;padding:0 14px;border-radius:var(--scrub-r-pill);color:var(--scrub-text-2);font:500 13px var(--scrub-sans);white-space:nowrap;cursor:pointer}
.sh-tabb:hover,.sh-tab.on .sh-tabb{color:var(--scrub-text)}
.sh-tabb:focus-visible,.sh-tabm:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.sh-tab.on .sh-tabb{padding-right:2px}
.sh-tabm{all:unset;box-sizing:border-box;width:30px;height:32px;display:grid;place-items:center;color:var(--scrub-text-2);border-radius:var(--scrub-r-pill);cursor:pointer}
.sh-tabm:hover{color:var(--scrub-text);background:var(--scrub-surface-2)}
.sh-tab input{height:30px;width:130px;box-sizing:border-box;border:2px solid var(--scrub-text);border-radius:var(--scrub-r-pill);background:var(--scrub-raised);color:var(--scrub-text);padding:0 12px;font:500 13px var(--scrub-sans);outline:none}
.sh-stats{flex:0 1 auto;min-width:0;display:flex;gap:14px;align-items:center;color:var(--scrub-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:2px}
.sh-stats b{margin-left:4px;font:500 12.5px var(--scrub-mono);color:var(--scrub-text)}
.sh-stats .sh-errc{margin-right:6px;font:500 12px var(--scrub-mono);color:var(--scrub-err)}
.sh-stats .sh-why{overflow:hidden;text-overflow:ellipsis}
.sh-live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sh-ac,.sh-hint{position:fixed;z-index:85;background:var(--scrub-raised);color:var(--scrub-text);border-radius:var(--scrub-r-field);box-shadow:var(--scrub-shadow-float);max-width:min(380px,calc(100vw - 24px));font:13px/1.35 var(--scrub-sans)}
.sh-ac{padding:4px;min-width:240px}
.sh-hint{padding:8px 12px;font-size:12.5px}
.sh-hint .sig{font:12.5px var(--scrub-mono)}
.sh-hint .sig b{font-weight:600;text-decoration:underline;text-underline-offset:3px}
.sh-hint .d,.sh-fi .fd{color:var(--scrub-text-2)}
.sh-fi{all:unset;box-sizing:border-box;display:block;width:100%;padding:7px 10px;border-radius:8px;cursor:pointer}
.sh-fi:hover,.sh-fi[aria-selected="true"],.sh-fi:focus-visible{background:color-mix(in srgb,var(--scrub-text) 8%,transparent)}
.sh-fi .fn{display:block;font:500 13px var(--scrub-mono)}
.sh-fi .fd{display:block;font-size:12.5px}
.tl-menu.sh-fns{max-width:360px;width:340px;max-height:min(70vh,520px);overflow:auto}
.sh-fns .sh-q{display:flex;align-items:center;gap:8px;height:36px;padding:0 10px;margin:0 0 6px;border:1px solid var(--scrub-line);border-radius:var(--scrub-r-pill);color:var(--scrub-text-2)}
.sh-fns .sh-q:focus-within{border-color:var(--scrub-text)}
.sh-fns .sh-q input{all:unset;flex:1;min-width:0;height:100%;color:var(--scrub-text);font:13px var(--scrub-sans)}
.sh-menu .sh-fi{display:block;white-space:normal}
.sh-menu button[disabled]{opacity:.45;cursor:default}
.sh-fns .sh-note{padding:2px 9px 8px;color:var(--scrub-text-2);font-size:12.5px}
.sh-fns .tl-menu-h.scrub-label{padding-top:10px}
.sh-menu .sh-sw{display:grid;grid-template-columns:repeat(4,36px);gap:6px;padding:4px}
.sh-menu .sh-sw button{all:unset;box-sizing:border-box;width:36px;height:36px;border-radius:12px;border:1px solid var(--scrub-text-2);display:grid;place-items:center;cursor:pointer;color:var(--scrub-text-2)}
.sh-menu .sh-sw button[aria-pressed="true"]{box-shadow:0 0 0 2px var(--scrub-raised),0 0 0 4px var(--scrub-text)}
.sh-menu .sh-sw button:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.sh-menu .eg{margin-left:auto;padding-left:16px;color:var(--scrub-text-2);font-family:var(--scrub-mono)}
.sh-toast{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:90;display:flex;align-items:center;gap:14px;max-width:calc(100vw - 32px);box-sizing:border-box;padding:10px 16px;background:var(--scrub-inv);color:var(--scrub-on-inv);border-radius:var(--scrub-r-field);box-shadow:var(--scrub-shadow-float);font:14px var(--scrub-sans)}
.sh-toast button{all:unset;cursor:pointer;font-weight:600;text-decoration:underline;text-underline-offset:3px;padding:4px}
@media (pointer:coarse){.sh .ss-ib{width:40px;min-width:40px;height:40px}.sh .ss-tb{min-height:40px}.sh-handle{width:14px;height:14px}.sh-tabb,.sh-tabm{height:40px}}
@media (max-width:640px){
  .sh .ss-tl-n{display:none}.sh-stats .sh-wide{display:none}
  .sh .ss-ib{width:44px;min-width:44px;height:44px}.sh .ss-tb{min-height:44px}
  .sh-fbar{height:44px}.sh-tabb,.sh-tabm{height:44px}.sh-tabm{width:44px}
  .sh-grid th,.sh-grid td{height:40px}.sh-ed{height:40px}
  .sh-empty{width:min(420px,calc(100% - 32px));top:auto;bottom:12px;transform:translateX(-50%)}
  /* Open a file and Your files share a row (SCR-842), so the card stays off the first cells. */
  .sh-empty .drop-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .sh-empty .drop-actions .make-here,.sh-empty .drop-actions:has([data-sh-files][hidden]) [data-sh-open]{grid-column:1/-1}
}
/* Up to 860 px the Sheet is still one screen: the grid scrolls inside its card and Run is pinned to the foot. */
@media (max-width:860px){
  .work[data-open="in"]:has(.sh){overflow:visible}
  .work[data-open="in"]:has(.sh) .sh-card{flex:none;height:calc(100dvh - 540px);min-height:200px}
  .work[data-open="in"]:has(.sh)>.runbar{position:sticky;bottom:0;z-index:6;background:var(--scrub-bg);padding-block:10px}
}
/* On the work page the Sheet fills the work, as a studio does: the page never scrolls (SCR-219). */
.work[data-open="in"]:has(.sh){overflow:hidden;position:relative;display:flex;flex-direction:column}
.work[data-open="in"]:has(.sh)>.io-in{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
.work[data-open="in"]:has(.sh)>.io-in .io,.work[data-open="in"]:has(.sh)>.io-in .io-v{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
.work[data-open="in"]:has(.sh) .sh{flex:1 1 auto}
.work[data-open="in"]:has(.sh)>.io-in>.io>.io-h{display:none}
/* Nothing to set beside it: the Sheet holds its settings, so the work takes the width. */
.workpage>.ws:has(.sh){--cfg:0px}
.workpage>.ws:has(.sh)>.side{display:none}
@media (min-width:861px){
  .work[data-open="in"]:has(.sh){padding-bottom:14px}
  .work[data-open="in"]:has(.sh)>.runbar{position:absolute;top:13px;right:24px;max-width:calc(100% - 250px);padding:0;border:0;background:none;gap:12px;flex-wrap:nowrap;z-index:6}
  .work[data-open="in"]:has(.sh)>.runbar>button{min-height:36px;padding:0 16px;font-size:14px}
  .work[data-open="in"]:has(.sh)>.runbar .price-line{min-width:0;font-size:13.5px;gap:10px}
}
.nextrows>button:hover{background:var(--scrub-surface-2)}
.nextrows>button:focus-visible{outline:2px solid var(--scrub-text);outline-offset:1px}
/* Words make one only while the App is empty: once a step is added, Add offers them. */
.io-in:has(.shell-added>[data-add-row]) [data-add-make]{display:none}
.io-in:has(.shell-added>[data-add-row]) .drop-make{display:none}
.io-in:has(.shell-added>[data-add-row]) .drop-or{display:none}
.io-in:has(.shell-added>[data-add-row]) .drop-own>.scrub-label{display:none}
/* Next follows the recording and its steps directly: the stage stops growing once there is something to offer under it. */
.workpage .ws.shell .io-in:has(>.shell-addnext:not(:empty))>.shell-stage{flex:0 0 auto}
/* Made from words with no recording yet: the drop zone keeps to one short band above the prompt. */
.workpage .ws.shell .io-in:has(>.shell-added>[data-add-row]) .shell-stage>.drop:not(.has){flex:0 0 auto}
.workpage .ws.shell .io-in:has(>.shell-added>[data-add-row]) .shell-stage>.drop:not(.has)>.drop-empty{flex:0 0 auto;min-height:0;padding-block:20px}
.workpage .ws.shell .io-in:has(>.shell-added>[data-add-row]):not(:has(.shell-stage>.drop.has))>.shell-stage{flex:0 0 auto}
/* The running card's clock stays on one line beside the chain's name. */
.run .top .clock{white-space:nowrap;flex:none}
/* A line under the row with nothing shown on it (Custom's numbers while S sounds is Softer) takes no room. */
.shell-arow-s:not(:has(> :not([hidden]))){display:none}
.shell-arow .field{gap:6px}
.shell-arow .field textarea.words{width:100%;max-width:none;min-height:72px}
.shell-arow .field input[type=text]{width:100%;max-width:none}
.shell-arow-s .cfg{border-top:1px solid var(--scrub-line-2);padding-top:6px}
.shell-arow-s .cfg[open]{padding-bottom:4px}
.shell-bar .tb-text .tl-tnum{width:120px;text-align:left;font:600 13px var(--scrub-sans);padding-left:4px}
/* Words typed: Setting · Value, the value its default's label in ink until something is written. */
.shell-bar .tb-text .tl-tnum::placeholder{color:var(--scrub-text);opacity:1}
.shell-bar .tb-text .tl-tnum{width:auto;min-width:64px;max-width:140px;field-sizing:content}
/* The running card takes the stage's size (R6, Principle 8): the page keeps the stage's height while it runs. */
.shell-stage>.run.big,.shell-stage>.run.big.figured{width:100%;max-width:none;margin:0;flex:1 1 auto;justify-content:center}
/* A file's name on the shell's row: one line, cut with "…" before its extension, which is kept (checklist 3). */
.shell-stage .drop-file .fname:has(.fstem){display:flex;white-space:nowrap;overflow-wrap:normal;-webkit-line-clamp:unset}
.shell-stage .drop-file .fname .fstem{min-width:0;overflow:hidden;text-overflow:ellipsis}
.shell-stage .drop-file .fname .fext{flex:none}
/* A recording on the stage: the kit's take (the sound editor's wave, Play and the clock), as wide as the stage. */
.shell-stage>.view:has(>.vt){width:100%!important;max-width:100%;background:transparent;color:inherit;border-radius:0;overflow:visible}
.shell-stage>.view>.vt{width:100%}
/* A video beside its scenes (SCR-600): the scenes on the page's own ground, read in either theme; only the video keeps its dark frame. */
.shell-stage>.view:has(>.split){width:100%!important;max-width:100%;background:transparent;color:inherit;border-radius:0;overflow:visible}
.shell-stage>.view .vt-wave{height:clamp(120px,26vh,220px);cursor:pointer}
/* A recording is one card, as the approved Audio mockup draws it (Gate 2, SCR-550): the wave with its playhead
   and clock, Play and the clock, then the file's line with Change; one Play, so the file's own play tile goes.
   The Bar is docked under the card, never over the wave. */
.shell-stage>.view:has(>.heard-ab),.shell-stage>.view:has(>.view>.player.sound){width:100%;max-width:none;background:none}
.shell-stage>.view:not([hidden]):has(>.player.sound){order:1;width:100%;max-width:none;background:var(--scrub-surface);border-radius:var(--scrub-r-block) var(--scrub-r-block) 0 0}
.shell-stage>.view>.player.sound{--pl-wave:112px;border-radius:0}
/* On an App the recording is the stage (SCR-735): its wave as tall as the screen allows, shrinking as steps stack under it. */
.ws.shell[data-app] .shell-stage>.view>.player.sound{--pl-wave:clamp(140px,38vh,420px)}
@media (max-width:860px){.ws.shell[data-app] .shell-stage>.view>.player.sound{--pl-wave:clamp(110px,26vh,220px)}}
.shell-stage:has(>.view:not([hidden])>.player.sound)>.drop.has{order:2;margin-top:0;background:var(--scrub-surface);border-radius:0 0 var(--scrub-r-block) var(--scrub-r-block)}
.shell-stage:has(>.view:not([hidden])>.player.sound)>.drop.has>.drop-file{background:none;padding:8px 12px 12px}
.shell-stage:has(>.view:not([hidden])>.player.sound)>.drop.has>.drop-file .fsq{display:none}
.shell-stage:has(>.view:not([hidden])>.player.sound)>.tl-tbar.shell-bar{order:3;position:static;transform:none;margin:12px auto 0}
.shell-stage:has(>.view:not([hidden])>.player.sound)>.files{order:4}
/* The material's name over its card on an App (the App's own input label, apps.ts), once there is material. */
.shell-stage-t{margin:0 0 10px;font-size:17px;font-weight:600}
.io-in:not(:has(.shell-stage>.drop.has))>.shell-stage-t{display:none}
/* The running figure keeps to the stage: its height, not its own shape, sets it (R6). */
.shell-stage>.run.big .rfig{aspect-ratio:auto;height:clamp(160px,38vh,400px)}
.shell-panel{border-left:1px solid var(--scrub-line-2)}
.shell-panel[hidden]{display:none}
.shell-panel .side-head .jh-fold{display:inline-flex}
/* The feature rail and its panels (SCR-735, DESIGN-COMPONENTS.md Feature rail, Feature panel): the
   App's tools by the thing worked on, at the work's right; a panel beside the rail, over the stage. */
/* The rail arrives with the material it can work on (motion only where a layer arrives). */
@keyframes rail-in{from{opacity:0;transform:translateX(10px)}to{opacity:1;transform:none}}
@media (max-width:860px){@keyframes rail-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}}
@media (prefers-reduced-motion:reduce){.shell-rail.arrive{animation:none}}
/* Whole-pixel lines (no pixel bleed): text above a tile keeps the tile on a whole pixel. */
.ws.shell .shell-top{min-height:40px}
/* On an App, How it's priced is a dollar sign in a circle, its words for reading aloud. */
/* This month's work left, beside Run on a plan (F-155): a bar and its share. */
.ws.shell .shell-stage-t{line-height:26px}
.ws.shell [data-shell-stage]>.drop.has{min-height:54px}
/* The properties sidebar (SCR-735): a column beside the rail on a wide screen, for the step selected under the stage. */
@media (min-width:861px){
  .workpage>.ws.shell[data-has-rail].props-open,.cfg-min .workpage>.ws.shell[data-has-rail].props-open{grid-template-columns:minmax(0,1fr) 320px auto}
  .ws.shell[data-has-rail]>.work{grid-column:1;grid-row:1}
  .ws.shell[data-has-rail].props-open>.shell-rail{grid-column:3;grid-row:1}
  /* With the sidebar, a step under the stage is a layer: its name and Remove; its settings are in the sidebar. */
  .ws.shell[data-has-rail] .shell-added>[data-add-row]{cursor:pointer}
  .ws.shell[data-has-rail] .shell-added>[data-add-row]>.tl-tbar,.ws.shell[data-has-rail] .shell-added>[data-add-row]>.shell-arow-s{display:none}
  .ws.shell[data-has-rail] .shell-added>[data-add-row].sel{box-shadow:inset 0 0 0 1.5px var(--scrub-text)}
}
@media (max-width:860px){.shell-props{display:none!important}}
/* The toolbelt beside the work (SCR-735), and on a phone along its foot. */
@media (min-width:861px){
  .workpage>.ws.shell[data-has-rail],.cfg-min .workpage>.ws.shell[data-has-rail]{grid-template-columns:minmax(0,1fr) auto}
  .workpage>.ws.shell[data-has-rail].panel-open,.cfg-min .workpage>.ws.shell[data-has-rail].panel-open{grid-template-columns:minmax(0,1fr) 400px auto}
}
@media (max-width:860px){
  .shell-rail{flex-direction:row;border-left:0;border-top:1px solid var(--scrub-line-2);overflow-x:auto;position:sticky;bottom:var(--runbar-h,0px);z-index:9;background:var(--scrub-bg);margin-top:12px}
  .shell-rail-b{width:auto;min-width:72px;min-height:56px}
  .shell-feat{position:fixed;left:8px;right:8px;top:auto;bottom:calc(var(--runbar-h,0px) + 88px);width:auto;max-height:60vh}
  .shell-fo,.shell-fa-h{min-height:44px}
}
@media (min-width:861px){
  .workpage>.ws.shell,.cfg-min .workpage>.ws.shell{grid-template-columns:minmax(0,1fr)}
  .workpage>.ws.shell.panel-open,.cfg-min .workpage>.ws.shell.panel-open{grid-template-columns:minmax(0,1fr) 400px}
  .cfg-min .workpage .ws.shell .side{padding:12px 24px 24px;overflow-y:auto;align-items:stretch}
  .cfg-min .workpage .ws.shell .side>:not(.side-head){display:revert}
  .cfg-min .workpage .ws.shell .side-head{flex-direction:row;justify-content:space-between}
  .cfg-min .workpage .ws.shell .side-head .part{display:revert}
  .cfg-min .workpage .ws.shell .side-head .rail-name{display:none}
  .workpage .ws.shell .io-in{flex:1 0 auto;display:flex;flex-direction:column}
  .workpage .ws.shell .shell-stage{flex:1 0 auto}
  /* After a run the stage is as tall as the result, no taller: the folds follow it directly (SCR-551). */
  .workpage .ws.shell .shell-stage.has-result{flex:0 0 auto}
  .workpage .shell-stage>.drop:not(.has){flex:1 0 auto;display:flex;flex-direction:column}
  .workpage .shell-stage>.drop:not(.has)>.drop-empty{flex:1}
  .shell-stage:has(>.view:not([hidden]))>.tl-tbar.shell-bar{position:absolute;top:12px;left:50%;transform:translateX(-50%);margin:0;max-width:calc(100% - 24px);z-index:7}
  .shell-stage .split-a{max-height:min(70vh,720px)}
  .shell-stage .split-b .view video,.shell-stage .split-b .view img,.shell-stage .split-b .view .player video{max-height:min(70vh,720px)}
  .shell-top .res-row{flex:1 1 auto;min-width:0}
}
/* From a tablet up the player is as tall as the room leaves it (the head and the rows under the stage taken off),
   as wide as its picture at that height and centred, so the controls, the caption preview and the Bar sit on the
   picture. The picture's own ratio (--ratio, read from the file by the page's script) sets its width, so a portrait
   or a very wide picture shrinks to fit the stage instead of being letterboxed inside it. */
@media (min-width:641px){
  .shell-stage{container-type:inline-size}
  .shell-stage>.view{width:fit-content;max-width:100%;margin:0 auto}
  .shell-stage>.view>.player{width:fit-content;max-width:100%}
  .shell-stage>.view video,.shell-stage>.view img,.shell-stage>.view.player video,.shell-stage>.view .player video{--room:min(70vh,720px,calc(100dvh - 300px));height:auto;max-height:none;width:min(100cqw,calc(var(--room) * var(--ratio,1.7778)))}
}
@media (max-width:860px){
  .node>.work>.shell-top{display:contents}
  .node>.work>.shell-top>.shell-lead{order:0;align-self:flex-start}
  .node>.work>.shell-top>.shell-settings{order:0;align-self:flex-start}
  .node>.work>.shell-top>.runbar{order:3;position:sticky;bottom:calc(12px + env(safe-area-inset-bottom));z-index:9;margin:0 0 24px;padding:10px 10px 10px 22px;border-radius:var(--scrub-r-sheet);border-width:0;background:var(--scrub-raised);box-shadow:var(--scrub-shadow-float);flex-wrap:wrap}
  .node>.shell-panel{order:2;border-left:0;padding:0 0 24px}
  .tl-tbar.shell-bar{width:100%;margin:8px 0 0}
  /* a phone: the Bar of what is selected is a sheet above the run bar, Done closes it */
  .shell-bar[data-bar-on].on.sheet{position:fixed;left:8px;right:8px;bottom:calc(var(--runbar-h,0px) + 20px);top:auto;transform:none;width:auto;max-width:none;margin:0;padding:14px 10px 12px;flex-wrap:wrap;white-space:normal;justify-content:flex-start;gap:4px;border-radius:18px;z-index:70;background:var(--scrub-raised);box-shadow:var(--scrub-shadow-float)}
  .shell-bar.sheet::before{content:"";position:absolute;left:50%;top:5px;width:36px;height:4px;border-radius:2px;background:var(--scrub-line);transform:translateX(-50%)}
  .shell-bar.sheet .tb-who{width:100%;border:0;margin:0 0 4px;padding:0 6px;min-height:28px}
  .shell-bar.sheet .tb-done{display:inline-flex;margin-left:auto}
  .shell-bar.sheet [data-more]{display:none}
  .shell-bar .tl-tb{min-height:40px}
  .tl-menu.shell-menu{position:fixed;left:8px!important;right:8px;top:auto!important;bottom:calc(var(--runbar-h,0px) + 20px);max-width:none;max-height:70vh;min-width:0}
  .shell-menu [role=menuitem],.shell-menu [role=menuitemradio],.shell-menu [role=menuitemcheckbox]{min-height:44px}
  /* On a work page under 861 px the Download Scrub card waits: Run's bar is pinned where it would sit, at whatever
     height the page leaves it, and nothing covers Run (Gate 2, SCR-550; SCR-601). It is offered on every other page. */
  body:has(.shell-run) .appcard{display:none}
  /* The head's buttons flow into the column here, so the material's name keeps the head's own gap below them. */
  .shell-stage-t{margin-top:16px}
  /* Add's menu is the Menu's full-width sheet at the foot, as every shell Menu is under 861 px (Gate 2, SCR-550). */
  .shell-addm{width:auto;min-width:0;max-width:none}
  /* The last added step clears the Run bar pinned to the foot. */
  .ws.shell .io-in:has(> .shell-added:not(:empty)),.ws.shell .io-in:has(> .shell-addnext:not(:empty)){padding-bottom:96px}
  /* One column (under 861px, where the shell's own Bar is full width): the row wraps once, the Bar items on their own line under the title, the price and Remove. */
  .shell-arow .tl-tbar.shell-bar{order:9;flex-basis:100%;width:100%}
  .shell-arow-x{width:44px;height:44px}
  .shell-arow-h{flex:1 1 auto}
  /* Download and the receipt: the first row under the stage, 44 px tall (R6). */
  .shell-stage>.res-row{order:4;width:100%;margin:12px 0 0}
  .res-row .dl-one{min-height:44px}
  .res-row .rline .rl-body{position:fixed;left:8px;right:8px;top:auto;bottom:8px;min-width:0}
  .res-dl .tl-menu.shell-menu{left:8px;top:auto}
}
/* A chosen file nothing is drawn on: ready, not played. */
.drop-ready{display:none}
.drop.still.has{display:flex;flex-direction:column;align-items:center;gap:14px;padding:28px 16px 16px;text-align:center;border-radius:var(--scrub-r-sheet)}
.drop.still.has .drop-ready{display:flex;flex-direction:column;align-items:center;gap:6px}
.drop-ready b{font-size:22px;font-weight:500;letter-spacing:-.02em}
/* Getting ready (F-32): a ring where the tick will be, the words beside it. */
.drop-ready.pending b{color:var(--scrub-text-2)}
.ring{background:none!important;border:2px solid color-mix(in srgb,var(--scrub-text-2) 28%,transparent);border-top-color:var(--scrub-text-2);border-radius:50%;box-sizing:border-box;animation:scrub-spin 1s linear infinite}
.ring.sm{display:inline-block;width:12px;height:12px;border-width:1.5px;flex:none}
.ring.acc{border-color:color-mix(in srgb,var(--scrub-accent-fill) 25%,transparent);border-top-color:var(--scrub-accent-fill)}
@keyframes scrub-spin{to{transform:rotate(360deg)}}
.wait-note{display:inline-flex;align-items:center;gap:6px}
/* Where something will be: still while it waits its turn, moving while worked out. */
.ph{display:inline-block;width:64px;max-width:100%;height:10px;border-radius:5px;vertical-align:middle;background:color-mix(in srgb,var(--scrub-text-2) 18%,transparent)}
.ph.moving{background:linear-gradient(90deg,color-mix(in srgb,var(--scrub-text-2) 14%,transparent) 0%,color-mix(in srgb,var(--scrub-text-2) 34%,transparent) 50%,color-mix(in srgb,var(--scrub-text-2) 14%,transparent) 100%);background-size:200% 100%;animation:scrub-shine 1.3s ease-in-out infinite}
@keyframes scrub-shine{from{background-position:100% 0}to{background-position:-100% 0}}
.ph-lines{display:flex;flex-direction:column;gap:9px;padding:4px 0}
.ph-lines[hidden]{display:none}
.look-body .ph-lines{padding:6px 0}
.chips .ph{height:26px;border-radius:999px}
.many-count{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}
.many-count b{font-weight:600}
.ready-mark{width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:var(--scrub-ok);background:color-mix(in srgb,var(--scrub-ok) 16%,transparent);flex:none}
.ready-mark svg{width:14px;height:14px}
@media (prefers-reduced-motion:reduce){.ring,.ph.moving{animation:none}}
.drop-ready .small:empty{display:none}
.ready-tick{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--scrub-ok);background:color-mix(in srgb,var(--scrub-ok) 16%,transparent);margin-bottom:4px}
.drop.still.has .drop-file{width:100%;text-align:left;border:0;border-radius:var(--scrub-r-block);background:var(--scrub-bg)}
/* A step chosen to make the file (SCR-620): nothing is ready yet; the row names what will make it, Change offers the rest.
   Nothing that needs the file is drawn (Read it, its square), nor the step's own Run while it is a step of the page's run. */
.drop.chosen .drop-ready,.drop.chosen .fsq,.drop.chosen [data-read],.drop.alone .drop-ready,.drop.alone .fsq,.drop.alone [data-read]{display:none!important}
.make-go[hidden]{display:none!important}
/* Quiet price (SCR-620): an offer's one "from" figure, small, in the second ink, never the accent. */
.quiet-price{color:var(--scrub-text-2);font:500 12.5px/1.2 var(--scrub-mono);font-variant-numeric:tabular-nums;white-space:nowrap}
.nextrows a .quiet-price,.nextrows>button .quiet-price,.usein a .quiet-price{margin-left:auto;padding-left:12px;align-self:center}
.make-go-t{font-weight:600;font-size:14px}
/* A file that cannot run (over the limit): never Ready, its row says why. */
.drop.bad .drop-ready{display:none!important}
.drop.bad .drop-file .upload{color:var(--scrub-err)}
.side>*,.field>*{margin:0}
.field{display:flex;flex-direction:column;gap:8px}
.field[hidden]{display:none}
.flabel{display:block;font-weight:600;font-size:14px;margin:0}
.side .hint{font-size:13px;color:var(--scrub-text-2)}
.pay{display:flex;flex-direction:column;gap:10px}
.pay button{width:100%;min-height:44px}
.pay .small{margin:0}

/* Colour field (SCR-613): the kit's colours first, a plain few, then any */
.crow{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.crow .swb,.crow .own{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:5px 10px 5px 7px;border-radius:999px;border:1px solid var(--scrub-line);cursor:pointer;font:500 13px/1.2 var(--scrub-sans);color:var(--scrub-text)}
.crow .own{padding:5px 10px;color:var(--scrub-text-2);border-style:dashed}
.crow .swb[aria-pressed="true"],.crow .own[aria-pressed="true"]{color:var(--scrub-text);border-style:solid;box-shadow:0 0 0 2px var(--scrub-text)}
.crow .swb:focus-visible,.crow .own:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.sw{display:inline-block;width:14px;height:14px;border-radius:50%;background:var(--v);box-shadow:inset 0 0 0 1px var(--scrub-line);flex:none}
.crow .pickc{display:inline-flex;align-items:center;gap:6px;font:500 13px/1.2 var(--scrub-sans);color:var(--scrub-text-2);cursor:pointer}
.crow .pickc input[type=color]{width:30px;height:24px;padding:0;border:0;background:none;cursor:pointer}
/* Box field (SCR-613): the four numbers an AI sends, and the placement's own when empty */
.box-field .xy{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.box-field .xy label{display:grid;gap:3px;font:500 12px/1.2 var(--scrub-sans);color:var(--scrub-text-2);margin:0}
.box-field .xy input{width:100%;min-width:0;box-sizing:border-box;font:600 13px var(--scrub-mono);padding:6px 8px;border:1px solid var(--scrub-line);border-radius:12px;background:var(--scrub-bg);color:var(--scrub-text)}
.box-field .box-own{margin:0}
/* Choice */
.choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:8px}
.choices label{position:relative;display:flex;margin:0;cursor:pointer}
.choices input{position:absolute;opacity:0;width:1px;height:1px}
.choices .opt{flex:1;display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:48px;padding:9px 30px 9px 14px;border:1px solid transparent;border-radius:var(--scrub-r-block);background:var(--opt-bg,var(--scrub-surface));position:relative;transition:border-color .2s var(--scrub-ease),background .2s var(--scrub-ease)}
/* On a filled card or sheet a choice takes the second fill, so it still shows (SCR-498). */
:is(.tu,.offer,.card,.qcard) .choices{--opt-bg:var(--scrub-surface-2)}
.choices .opt b{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.choices .opt small{font-size:12.5px;color:var(--scrub-text-2);min-height:1em}
.choices .opt small:empty{display:none}
/* What a choice needs shows only while it is greyed out for it (SCR-253). */
.choices input:not([data-needs-off])+.opt small.needs{display:none}
.choices label:hover .opt{border-color:var(--scrub-text-2)}
.choices input:checked+.opt{border-color:var(--scrub-text);box-shadow:inset 0 0 0 1px var(--scrub-text);background:color-mix(in srgb,var(--scrub-text) 6%,var(--opt-bg,var(--scrub-surface)))}
.choices input:checked+.opt:before{content:'';position:absolute;top:10px;right:10px;width:14px;height:14px;border-radius:50%;background:var(--scrub-text)}
.choices input:checked+.opt:after{content:'';position:absolute;top:12.5px;right:15px;width:3px;height:6px;border:solid var(--scrub-surface);border-width:0 2px 2px 0;transform:rotate(45deg)}
.choices.rows{grid-template-columns:1fr;gap:6px}
.choices.rows .opt{flex-direction:row;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:10px 38px 10px 16px}
.choices.rows .opt small{text-align:right;white-space:nowrap}
.choices.rows.said .opt{flex-direction:column;align-items:flex-start;justify-content:center;gap:2px}
.choices.rows.said .opt small{text-align:left;white-space:normal}
.choices.rows input:checked+.opt:before{top:50%;margin-top:-7px;right:14px}
.choices.rows input:checked+.opt:after{top:50%;margin-top:-5.5px;right:19px}
/* A value drawn as itself (SCR-649, DESIGN.md Choice): a shape as a frame of its proportions above its name; a caption look as the caption on a frame, left of its name and line. */
.choices .opt.drawn{gap:8px}
.choices:not(.rows) .opt.drawn{align-items:center;text-align:center;padding:12px 14px}
.choices.rows .opt.drawn{flex-direction:row;justify-content:flex-start;align-items:center;gap:14px}
.choices .opt-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.choices:not(.rows) .opt-t{align-items:center}
.opt-draw{display:flex;align-items:center;justify-content:center;flex:none;height:40px;color:var(--scrub-text-2)}
.choices input:checked+.opt .opt-draw{color:var(--scrub-text)}
.opt-shape{display:block;box-sizing:border-box;border:1.5px solid currentColor;border-radius:3px}
.choices.rows .opt-draw{height:auto}
.opt-look{display:block;width:112px;height:63px;border-radius:6px;background:var(--scrub-text-2)}
.tl-menu .opt-look{width:80px;height:45px;flex:none;margin-right:10px;border-radius:4px}
@media (max-width:640px){.opt-look{width:96px;height:54px}}
/* A choice of several (SCR-635): every row a square to tick, filled when ticked, so it reads as several. */
.choices.many .opt:before{content:'';position:absolute;top:50%;margin-top:-7px;right:14px;width:14px;height:14px;box-sizing:border-box;border-radius:4px;border:1.5px solid var(--scrub-text-2);background:none}
.choices.many input:checked+.opt:before{border-radius:4px;border-color:var(--scrub-text);background:var(--scrub-text)}
.hint.many-hint{margin:0 0 8px}
.choices input:disabled+.opt{opacity:.45;cursor:not-allowed}
.choices .opt .rtag{font:500 10.5px/1.2 var(--scrub-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--scrub-text-2)}
.choices .opt small.why{color:var(--scrub-text-2);white-space:normal}
.choices label.rec .opt{border-color:var(--scrub-text-2)}
.choices .opt .sd-vn b{min-width:0}
.choices label:has(input:disabled){cursor:not-allowed}
.choices input:focus-visible+.opt{outline:2px solid var(--scrub-text);outline-offset:2px}

/* Price line */
.price-line{display:flex;justify-content:space-between;align-items:baseline;gap:12px;min-height:46px;padding:12px 18px;border:1px solid transparent;border-radius:var(--scrub-r-pill);background:var(--scrub-surface);font-size:14px}
.price-line .what{min-width:0}
.price-line .scrub-price{font-size:15px}
.price-line .error{color:var(--scrub-err)}
details.how{font-size:13px;color:var(--scrub-text-2)}
details.how summary{cursor:pointer;width:max-content}
:not(.runbar,.adjustbar)>.price-line+details.how{padding-left:18px}
details.how p{margin:6px 0 0}

/* File */
.file-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.drop{border:1.5px dashed var(--scrub-line);border-radius:var(--scrub-r-sheet)}
.drop:not(.has):not(.making){position:relative;background:var(--scrub-surface)}
.drop:not(.has):not(.making)::before{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background-image:radial-gradient(circle,var(--scrub-dot) 1.1px,transparent 1.5px);background-size:18px 18px;background-position:9px 9px;-webkit-mask-image:radial-gradient(ellipse at center,transparent 28%,#000 78%);mask-image:radial-gradient(ellipse at center,transparent 28%,#000 78%)}
.drop:not(.has):not(.making)>*{position:relative}
.drop-empty .drop-actions button.secondary,.drop-empty .drop-actions .button.secondary{background:var(--scrub-bg)}
.drop-empty .drop-actions button.secondary:hover,.drop-empty .drop-actions .button.secondary:hover{background:var(--scrub-surface-2)}
.work.over .drop:not(.has)::before{background-image:radial-gradient(circle,var(--scrub-text-2) 1.1px,transparent 1.5px)}
.drop-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:24px;min-height:280px}
.drop-empty b{font-size:19px;font-weight:500;letter-spacing:-.02em}
.drop-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
/* An empty App (SCR-735): two boxes of one height, each under its heading, "or" on the line between;
   stacked on a phone, the person's own first. The making box is a lane band (SCR-686). */
.drop-empty.drop-two{flex-direction:row;align-items:stretch;justify-content:center;gap:0;text-align:left;width:100%;max-width:960px;margin-inline:auto;box-sizing:border-box}
/* The pair keeps its own height, centred on the stage, however tall the stage is. */
.workpage .shell-stage>.drop:not(.has)>.drop-empty.drop-two,.drop-empty.drop-two{flex:0 0 auto;margin-block:auto;min-height:0}
/* A lane band (SCR-686): the making box's rows a second shade of its kind's tile, solid, so no dots sit under its words. */
/* A way to start, pointed at (founder, 14 November 2026; DESIGN.md 11): a light traces its icon's
   edge once, in the tile's own ink, and the edge stays lit; with reduced motion it is only lit. */
@property --trace{syntax:'<angle>';inherits:false;initial-value:0deg}
@keyframes drop-trace{0%{--trace:0deg;opacity:1}88%{--trace:360deg;opacity:1}100%{--trace:360deg;opacity:0}}
@media (prefers-reduced-motion:reduce){.drop-mrow:hover .tile::after,.drop-mrow:focus-visible .tile::after{animation:none}.drop-mrow:hover .tile::before,.drop-mrow:focus-visible .tile::before{transition:none}}
@media (max-width:860px){.drop-empty.drop-two{flex-direction:column}.drop-or{width:auto;height:52px}.drop-or::before{top:50%;bottom:auto;left:0;right:0;width:auto;height:1px}.drop-band{padding:12px}.drop-mrow{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;row-gap:4px}.drop-mrow .quiet-price{grid-column:2}}
/* What makes the file, made right here (SCR-134): its own boxes open under the zone, its line says it is running. */
.make-here{white-space:normal;max-width:100%;text-align:center}
/* Picked from a row (SCR-74): under the words' box, its offer, then the rows. */
.row-pick{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.row-pick .drop-actions{justify-content:flex-start}
.row-pick-rows[hidden]{display:none}
/* A transcription read where it was given (SCR-144): under its zone, in a frame that scrolls. */
.box-read{order:3;margin-top:10px;padding:12px 14px;border:1px solid transparent;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);max-height:62vh;overflow:auto}
.box-read[hidden]{display:none}
.box-read .io-foot{position:sticky;bottom:-12px;background:var(--scrub-surface);padding:8px 0 4px}
.row-pick.making .row-pick-go{display:none}
.row-pick .drop-making{border:1px solid transparent;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);overflow:hidden}
.make-boxes{display:flex;flex-direction:column;gap:12px;margin-top:12px;padding:16px;border:1px solid transparent;border-radius:var(--scrub-r-panel);background:var(--scrub-surface)}
.make-boxes[hidden]{display:none}
.make-go{display:flex;justify-content:flex-start;align-items:center;gap:12px;flex-wrap:wrap}
.make-line{margin:8px 0 0;color:var(--scrub-text-2)}
.make-line.stopped{color:var(--scrub-err)}
/* Offered once what it works on is on the page, coming in as it does (SCR-139). */
.make-here[hidden]{display:none}
@media (prefers-reduced-motion:no-preference){.make-here.fresh{animation:scrub-up .35s ease both}}
/* Being made where it lands (SCR-139): the zone holds its running card, still behind it so the card's figure is the motion (SCR-366); done, the file lights up. */
.drop.making{border-style:solid;border-color:transparent;background:var(--scrub-surface);position:relative;overflow:hidden}
.drop.making .drop-empty,.drop.making .drop-file{display:none}
.drop-making{position:relative;display:flex;align-items:center;justify-content:center;padding:24px 16px;min-height:220px}
.drop-making[hidden]{display:none}
.drop-making .run{position:relative;width:min(440px,100%);margin:0;background:var(--scrub-bg)}
/* A zone inside a filled panel (its own boxes) is the ground's colour, so it still reads as a place. */
:is(.make-boxes,.drop) .drop:not(.has):not(.making){background-color:var(--scrub-bg)}
:is(.make-boxes,.drop) .drop:not(.has):not(.making) .drop-actions .secondary{background:var(--scrub-surface)}
.drop-making .rsteps{margin-top:10px}
.drop-making .rsteps[hidden]{display:none}
.drop.lit .drop-file{animation:tl-lit 1.2s ease-out 1}
.drop.lit{animation:drop-lit 1.2s ease-out 1}
@keyframes drop-lit{0%{box-shadow:0 0 0 2px var(--scrub-accent-fill)}100%{box-shadow:0 0 0 2px transparent}}
@media (prefers-reduced-motion:reduce){.drop.lit,.drop.lit .drop-file{animation:none}}
.dl-list{display:flex;flex-direction:column;gap:8px}
.dl-tile{display:flex;align-items:center;gap:14px;padding:10px;border:1px solid transparent;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);text-decoration:none;color:inherit;min-width:0;transition:background .2s var(--scrub-ease)}
.dl-tile:hover{background:var(--scrub-surface-2)}
.dl-tile:hover .dl-go{filter:brightness(1.08)}
.dl-ext{flex:none;width:44px;height:44px;border-radius:var(--scrub-r-block);display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--scrub-ok) 14%,var(--scrub-surface));color:var(--scrub-ok);font:700 11.5px var(--scrub-mono);letter-spacing:.02em}
.dl-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.dl-what{font-weight:600;font-size:14px;overflow-wrap:anywhere}
.dl-name{font-size:12.5px;color:var(--scrub-text-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dl-size{font:500 12.5px var(--scrub-mono);font-variant-numeric:tabular-nums;color:var(--scrub-text-2);white-space:nowrap}
.dl-size:before{content:'·';font-family:var(--scrub-sans);margin:0 6px}
.dl-list{container-type:inline-size}
@container (max-width:420px){.dl-go span{display:none}.dl-go{padding:9px 10px}.dl-tile{gap:10px}.dl-ext{width:38px;height:38px}}
.dl-go{flex:none;display:inline-flex;align-items:center;gap:6px;padding:9px 14px;border-radius:var(--scrub-r-pill);font-size:13.5px;font-weight:600;background:var(--scrub-ok);color:var(--scrub-bg)}
.dl-tile.quiet{padding:6px 10px;border-color:var(--scrub-line-2);background:transparent;border-radius:var(--scrub-r-block)}
.dl-tile.quiet:hover{background:var(--scrub-surface)}
.dl-tile.quiet .dl-ext{width:32px;height:32px;border-radius:10px;background:var(--scrub-line-2);color:var(--scrub-text-2);font-size:10px}
.dl-tile.quiet .dl-what{font-weight:500;font-size:13px}
.dl-tile.quiet .dl-go{background:transparent;color:var(--scrub-text-2);border:1px solid var(--scrub-line);padding:6px 8px}
.dl-tile.quiet .dl-go span{display:none}
.dl-sub{margin:14px 0 8px;font-size:12.5px;font-weight:600;color:var(--scrub-text-2)}
.wl-saved{font-size:12px;color:var(--scrub-text-2);min-height:0}
.wl-saved:empty{display:none}
.wl-invite{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
.wl-invite input{flex:1 1 220px;max-width:320px}
/* Admin (F-168): a signed-up person's credit, plan and Give credit, a line of its own under them. */
.wl-plan{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.wl-plan-l{font-size:var(--scrub-size-small);color:var(--scrub-text-2);margin-right:4px}
.wl-plan .confirm{flex:none;justify-content:flex-start}
.wl-plan .confirm.asking{flex:1 1 100%;order:9}
.wl-plan .confirm.asking .confirm-ask{max-width:none;flex:1 1 100%;text-align:left}
.seg{display:inline-flex;align-items:center;justify-content:center;min-width:56px;min-height:32px;padding:5px 12px;font:600 13px/1.2 var(--scrub-sans);border:1px solid var(--scrub-line);border-radius:var(--scrub-radius);background:var(--scrub-surface);color:var(--scrub-text);box-sizing:border-box}
button.seg:hover{border-color:var(--scrub-text-2)}
.seg.on{border-color:var(--scrub-text);box-shadow:inset 0 0 0 1px var(--scrub-text);background:color-mix(in srgb,var(--scrub-text) 7%,var(--scrub-surface))}
.wl-usd{position:relative;display:block;margin:0;flex:none;width:96px}
.wl-usd span{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--scrub-text-2);font-family:var(--scrub-mono);pointer-events:none}
/* Refund (F-173): the opener at the end of the money line, their payments in place under it. */
.wl-pay{flex:1 1 100%;min-width:0;padding:12px;border:1px solid var(--scrub-line);border-radius:var(--scrub-radius-lg);background:var(--scrub-surface)}
.wl-pay[hidden]{display:none}
.wl-pay-none{margin:0}
.wl-pay .wl-refund{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px 12px;margin:0;text-align:left}
.wl-refund-l{flex:1 1 100%;margin:0;text-align:left;font-size:var(--scrub-size-small);color:var(--scrub-text-2)}
.wl-refund .choices{flex:1 1 100%}
.wl-refund .wl-usd input{padding:6px 10px 6px 22px;min-height:32px;font-size:14px;box-sizing:border-box;font-family:var(--scrub-mono);font-variant-numeric:tabular-nums}
.wl-end{display:inline-flex;align-items:center;gap:8px;margin:0;min-height:32px;font-size:14px;color:var(--scrub-text);cursor:pointer}
.wl-end input{width:16px;height:16px;margin:0;accent-color:var(--scrub-text)}
.wl-refund button[type=submit]{min-height:32px}
.wl-refund.asking .confirm-ask{flex:1 1 100%;max-width:none;text-align:left}
@media (max-width:640px){.wl-pay{padding:10px}.wl-refund .wl-usd{flex:1 1 120px;width:auto;min-width:120px}.wl-refund .wl-usd input{width:100%;min-height:44px}.wl-end{flex:none;min-height:44px}.wl-refund button[type=submit]{flex:1 1 100%;min-height:44px}.wl-refund.asking button[type=submit],.wl-refund.asking .confirm-no{flex:1 1 0;min-height:44px}}
@media (max-width:640px){.wl-plan .confirm,.wl-plan .seg.on{flex:1 1 0}.wl-plan .confirm .seg{width:100%}.wl-plan .confirm.asking{flex:1 1 100%}.wl-plan .confirm.asking .seg{width:auto;flex:1 1 0}.wl-plan .confirm.asking .confirm-no{flex:1 1 0;min-height:44px}.seg{min-height:44px}}
.adm{--adm-s1:#2a78d6;--adm-s2:#eb6834;--adm-s3:#1baf7a;--adm-s4:#eda100;--adm-s5:#e87ba4;--adm-other:#c4c4c8;--adm-done:#b4b4ba;--adm-fail:#d03b3b;--adm-stop:#fab219;--adm-refuse:#8d96a3;--adm-bar:#b4b4ba;--adm-tint:color-mix(in srgb,var(--scrub-text) 6%,var(--scrub-surface));--adm-shadow:0 8px 24px rgba(0,0,0,.14)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .adm{--adm-s1:#3987e5;--adm-s2:#d95926;--adm-s3:#199e70;--adm-s4:#c98500;--adm-s5:#d55181;--adm-other:#4a4a50;--adm-done:#4f4f56;--adm-bar:#4f4f56;--adm-shadow:0 8px 24px rgba(0,0,0,.5)}}
:root[data-theme="dark"] .adm{--adm-s1:#3987e5;--adm-s2:#d95926;--adm-s3:#199e70;--adm-s4:#c98500;--adm-s5:#d55181;--adm-other:#4a4a50;--adm-done:#4f4f56;--adm-bar:#4f4f56;--adm-shadow:0 8px 24px rgba(0,0,0,.5)}
.adm{font-size:14px;line-height:1.45}
.adm .adm-muted{color:var(--scrub-text-2)}
.adm-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:0 0 4px}
.adm-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin-right:auto;min-width:0}
.adm-title h1{margin:0}
.adm-counts{font-size:13.5px;color:var(--scrub-text-2)}
.adm-period{display:inline-flex;gap:2px;padding:3px;border:0;border-radius:var(--scrub-r-pill);background:var(--scrub-surface)}
.adm-period a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:5px 14px;border-radius:var(--scrub-r-pill);font-size:13px;color:var(--scrub-text-2);text-decoration:none;white-space:nowrap;transition:background-color .15s,color .15s}
.adm-period a:hover{color:var(--scrub-text)}
.adm-period a[aria-current]{color:var(--scrub-on-inv);background:var(--scrub-inv);font-weight:600}
.adm-mine{display:inline-flex;align-items:center;gap:8px;min-height:32px;font-size:13px;color:var(--scrub-text);text-decoration:none;white-space:nowrap}
.adm-mine i{width:18px;height:18px;border:1.5px solid var(--scrub-text-2);border-radius:6px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
.adm-mine[aria-checked="true"] i{background:var(--scrub-text);border-color:var(--scrub-text)}
.adm-mine[aria-checked="true"] i::after{content:'';width:8px;height:4px;border-left:2px solid var(--scrub-surface);border-bottom:2px solid var(--scrub-surface);transform:translateY(-1px) rotate(-45deg)}
.adm-door button.switch{border:0;border-radius:999px;padding:4px 14px 4px 5px;min-height:34px;background:var(--scrub-surface);font-weight:600;font-size:13px}
.adm-door button.switch span{min-width:0}
.adm-glabel{font:var(--scrub-label);letter-spacing:.06em;text-transform:uppercase;color:var(--scrub-text-2);margin:22px 0 10px}
.adm-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.adm-tile{background:var(--scrub-surface);border:0;border-radius:var(--scrub-r-panel);padding:16px 18px;display:flex;flex-direction:column;gap:4px;min-width:0}
.adm-t-label{font-size:13px;color:var(--scrub-text-2);font-weight:500}
.adm-t-val{font-size:28px;font-weight:600;letter-spacing:-.03em;line-height:1.15}
.adm-t-sub{font-size:12.5px;color:var(--scrub-text-2);overflow-wrap:anywhere}
.adm-t-sub .scrub-num{color:var(--scrub-text)}
.adm-t-delta{font-size:12px;color:var(--scrub-text-2)}
.adm-t-delta .scrub-num{font-size:11.5px}
.adm-t-delta .up{color:var(--scrub-ok)}
.adm-t-delta .down{color:var(--scrub-err)}
.adm-key{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:4px}
.adm-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.adm-card{background:var(--scrub-surface);border:1px solid var(--scrub-line);border-radius:10px;padding:13px 16px 10px;position:relative;min-width:0;display:flex;flex-direction:column}
.adm-card h3{font-size:14px;margin:0;font-weight:700}
.adm-csub{font-size:12.5px;color:var(--scrub-text-2);margin:1px 0 8px;max-width:none}
.adm-legend{display:flex;flex-wrap:wrap;gap:3px 12px;font-size:12px;color:var(--scrub-text-2);margin-bottom:4px}
.adm-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:-1px}
.adm-plot{position:relative;flex:1 1 180px;min-height:180px;max-height:320px}
.adm-plot svg{display:block;overflow:visible;position:absolute;left:0;top:0}
.adm-grid{stroke:var(--scrub-line-2);stroke-width:1}
.adm-base{stroke:var(--scrub-line);stroke-width:1}
.adm-tick{fill:var(--scrub-text-2);font-size:10.5px;font-family:var(--scrub-mono)}
.adm-empty-t{fill:var(--scrub-text-2);font-size:12.5px;font-family:var(--scrub-sans)}
.adm-col{transition:opacity .12s}
.adm-plot svg.hovering .adm-col{opacity:.35}
.adm-plot svg.hovering .adm-col.on{opacity:1}
.adm-hit{cursor:crosshair}
.adm-tip{position:absolute;z-index:4;pointer-events:none;background:var(--scrub-surface);border:1px solid var(--scrub-line);border-radius:8px;box-shadow:var(--adm-shadow);padding:8px 10px;font-size:12px;min-width:150px}
.adm-tip[hidden]{display:none}
.adm-tip b{display:block;margin-bottom:4px}
.adm-r{display:flex;justify-content:space-between;gap:14px;color:var(--scrub-text-2)}
.adm-r span:last-child{color:var(--scrub-text);font-family:var(--scrub-mono);font-variant-numeric:tabular-nums}
.adm-r.tot{border-top:1px solid var(--scrub-line-2);margin-top:4px;padding-top:4px;color:var(--scrub-text);font-weight:600}
.adm-r i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:6px}
.adm-scrollx{overflow-x:auto}
.adm-bt{width:100%;border-collapse:collapse;font-size:13px}
.adm-bt th{text-align:right;font-size:11.5px;color:var(--scrub-text-2);font-weight:600;padding:4px 6px 6px;border-bottom:1px solid var(--scrub-line);white-space:nowrap}
.adm-bt th:first-child,.adm-bt td:first-child{text-align:left;padding-left:0}
.adm-bt td{text-align:right;padding:6px;border-bottom:1px solid var(--scrub-line-2);white-space:nowrap}
.adm-bt td:first-child{white-space:normal}
.adm-bt tbody tr:last-child td{border-bottom:0}
.adm-bt tfoot td{border-top:1px solid var(--scrub-line);font-weight:700}
.adm-nm{display:inline-flex;align-items:baseline;gap:6px}
.adm-nm i{flex:none;width:9px;height:9px;border-radius:2px;display:inline-block}
.adm-tag{font-size:10.5px;font-weight:700;border:1px solid var(--scrub-line);border-radius:4px;padding:0 4px;color:var(--scrub-text-2)}
.adm-ph-line{display:none;font-size:11.5px;color:var(--scrub-text-2)}
.adm-neg{color:var(--scrub-err)}
.adm-none{font-size:12.5px;color:var(--scrub-text-2);margin:0}
.adm-card .adm-none{padding:24px 0;text-align:center;max-width:none}
.adm-sec-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 12px;margin:28px 0 8px}
.adm-sec-head h2{margin:0}
.adm-pcount{font-size:13px;color:var(--scrub-text-2);margin-right:auto}
.adm-invite{flex:none;position:relative}
.adm-invite>summary{list-style:none;cursor:pointer;font-size:13px;padding:7px 14px}
.adm-invite>summary::-webkit-details-marker{display:none}
.adm-invite[open]{flex:1 1 100%;order:9}
.adm-invite[open]>summary{border-color:var(--scrub-text)}
.adm-invite .wl-invite{margin:8px 0 0}
.adm-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 8px}
.adm-filters input[type=search]{flex:1 1 240px;max-width:380px;font:inherit;font-size:14px;height:40px;padding:0 16px;border:1px solid var(--scrub-line);border-radius:var(--scrub-r-pill);background:var(--scrub-surface);color:inherit;box-sizing:border-box}
.adm-fsel{display:contents}
.adm-fsel label{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--scrub-text-2);margin:0}
.adm-fsel select{width:auto;height:40px;padding:0 12px;border-radius:var(--scrub-r-pill);font-size:13.5px}
.adm-fbtn{display:none}
.adm-tablewrap{background:var(--scrub-surface);border:1px solid var(--scrub-line);border-radius:10px}
.adm-pt{width:100%;border-collapse:collapse;font-size:13px}
.adm-pt th{text-align:left;font-size:11.5px;font-weight:600;color:var(--scrub-text-2);padding:8px 10px;border-bottom:1px solid var(--scrub-line);white-space:nowrap}
.adm-pt th small{font-weight:500;font-size:inherit}
.adm-pt td{padding:4px 10px;border-bottom:1px solid var(--scrub-line-2);vertical-align:middle;white-space:nowrap}
.adm-pt tbody tr:last-child td{border-bottom:0}
.adm-pt .r{text-align:right}
.adm-pt tr.adm-row{cursor:pointer}
.adm-pt tr.adm-row:hover td,.adm-pt tr.adm-row.sel td{background:var(--adm-tint)}
.adm-pt tr[hidden]{display:none}
.adm-pt .c-person{white-space:normal;min-width:230px}
.adm-email{font-weight:600;overflow-wrap:break-word;text-decoration:none;color:var(--scrub-text)}
.adm-email:hover{text-decoration:underline;text-underline-offset:2px}
.adm-since{font-size:12px;color:var(--scrub-text-2);margin-left:6px;white-space:nowrap}
.adm-pill{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;white-space:nowrap}
.adm-pill::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor}
.adm-pill.waiting{color:var(--scrub-warn)}
.adm-pill.invited{color:var(--scrub-text-2)}
.adm-pill.signed{color:var(--scrub-ok)}
.adm-pill.off{color:var(--scrub-err)}
.adm-pill.closed{color:var(--scrub-text-2)}
.adm-pill.founder{color:var(--scrub-text)}
.adm-pill.founder::before{border-radius:2px}
.adm-jobs{display:inline-flex;align-items:center;gap:6px}
.adm-failed{font-size:12px;color:var(--scrub-err)}
.adm-pt .c-access .switch-form{display:inline-flex}
.adm-pt .c-access button.switch{min-height:32px;padding:4px 2px;font-size:13px}
.adm-ph{display:none}
.adm-menu{position:relative;display:inline-block}
.adm-menu>summary{list-style:none;width:32px;height:30px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:6px;cursor:pointer;font-size:16px;line-height:1;color:var(--scrub-text-2)}
.adm-menu>summary::-webkit-details-marker{display:none}
.adm-menu>summary:hover,.adm-menu[open]>summary{border-color:var(--scrub-line);background:var(--scrub-surface);color:var(--scrub-text)}
.adm-menu>summary:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.adm-menu-list{position:absolute;right:0;top:calc(100% + 4px);z-index:30;min-width:210px;background:var(--scrub-surface);border:1px solid var(--scrub-line);border-radius:8px;box-shadow:var(--adm-shadow);padding:4px;white-space:normal;text-align:left}
.adm-menu.up .adm-menu-list{top:auto;bottom:calc(100% + 4px)}
.adm-menu-list form{margin:0}
.adm-menu-list a,.adm-menu-list button,.adm-sub>summary,.adm-on{display:flex;width:100%;box-sizing:border-box;justify-content:space-between;align-items:center;gap:12px;border:0;background:none;padding:7px 10px;border-radius:6px;font:400 13px/1.3 var(--scrub-sans);color:var(--scrub-text);text-align:left;cursor:pointer;min-height:34px;text-decoration:none}
.adm-menu-list a:hover,.adm-menu-list button:hover,.adm-sub>summary:hover,.adm-menu-list a:focus-visible,.adm-menu-list button:focus-visible{background:var(--adm-tint);outline:none}
.adm-menu-list .adm-danger{color:var(--scrub-err)}
.adm-menu-list hr{border:0;border-top:1px solid var(--scrub-line-2);margin:4px 2px}
.adm-sub>summary{list-style:none}
.adm-sub>summary::-webkit-details-marker{display:none}
.adm-sub>summary::after{content:'▸';color:var(--scrub-text-2)}
.adm-sub[open]>summary::after{content:'▾'}
.adm-sub a,.adm-sub .adm-on{padding-left:24px}
.adm-on{cursor:default;color:var(--scrub-text-2)}
.adm-pt .adm-panel-row td{padding:0 10px;background:var(--adm-tint);white-space:normal}
.adm-pt .adm-empty td{padding:22px 12px;text-align:center;color:var(--scrub-text-2);white-space:normal}
.adm-panel{background:var(--scrub-surface);border:1px solid var(--scrub-line);border-radius:10px;padding:12px 14px;margin:8px 0 10px;display:grid;gap:10px;max-width:640px;box-sizing:border-box}
.adm-p-head{display:flex;align-items:baseline;gap:8px}
.adm-p-head b{font-size:14px}
.adm-p-head b{flex:none}
.adm-p-head .adm-muted{font-size:12.5px;overflow-wrap:anywhere;min-width:0}
.adm-x{flex:none;margin-left:auto;color:var(--scrub-text-2);font-size:18px;line-height:1;text-decoration:none;padding:0 4px;position:relative}
.adm-x::after{content:"";position:absolute;inset:-22px -9px -4px}
.adm-x:hover{color:var(--scrub-text)}
.adm-p-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.adm-p-row input[type=text]{flex:1 1 180px;max-width:none;width:auto;padding:7px 10px;font-size:14px;min-height:36px;box-sizing:border-box}
.adm-p-row button,.adm-p-row .button{min-height:36px;padding:7px 14px;font-size:13px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;line-height:1.2}
.adm-usd input{padding:7px 10px 7px 22px;min-height:36px;font-size:14px;box-sizing:border-box;font-family:var(--scrub-mono);font-variant-numeric:tabular-nums}
.adm-p-foot{font-size:12.5px;color:var(--scrub-text-2);margin:0}
.adm-p-say{font-size:13.5px;color:var(--scrub-text);margin:0;max-width:60ch}
.adm-panel textarea{max-width:none;min-height:64px;font:400 14px/1.4 var(--scrub-sans);resize:vertical}
.adm-panel .wl-pay{padding:0;border:0}
.adm-dsec{min-width:0}
.pp .adm-dsec h4{margin:0 0 8px;font-size:14.5px;font-weight:700;color:var(--scrub-text)}
.adm-facts{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12.5px;color:var(--scrub-text-2)}
.adm-facts .scrub-num{color:var(--scrub-text)}
.adm-work form{margin:0}
.adm-work-why{margin:6px 0 0}
.adm-work-open{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 10px 8px 12px;border:1px solid var(--scrub-line);border-radius:var(--scrub-radius);background:var(--scrub-bg);font-size:13px}
.adm-work-dot{width:8px;height:8px;border-radius:50%;background:var(--scrub-ok);flex:none}
.adm-work-t{margin-right:auto}
.adm-work-back{margin:0 0 4px -10px}
.adm-chats{display:flex;flex-direction:column;border:1px solid var(--scrub-line);border-radius:var(--scrub-radius);overflow:hidden;margin-top:10px}
.adm-chat{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:10px 12px;border-top:1px solid var(--scrub-line);color:var(--scrub-text);text-decoration:none}
.adm-chat:first-child{border-top:0}
.adm-chat:hover{background:var(--scrub-line-2)}
.adm-chat b{font-size:13.5px;font-weight:600;overflow-wrap:anywhere}
.adm-chat .scrub-num{grid-row:1;grid-column:2;font-size:12px;color:var(--scrub-text-2)}
.adm-chat .small{grid-column:1/-1;margin:0}
.adm-thread{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.adm-thread .a-me p{margin:0 0 6px}
.adm-who{display:block;font-size:11px;color:var(--scrub-text-2);margin-bottom:2px;white-space:normal}
.adm-at{font-size:11.5px;color:var(--scrub-text-2);text-align:center;margin:4px 0}
.adm-ran{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;font-size:12.5px;color:var(--scrub-text-2);border:1px solid var(--scrub-line);border-radius:var(--scrub-radius);padding:7px 10px;background:var(--scrub-bg);align-self:flex-start}
.adm-ran b{color:var(--scrub-text);font-weight:600}
.adm-turn{font-size:12px;color:var(--scrub-text-2);border:1px solid var(--scrub-line-2);border-radius:var(--scrub-radius);background:var(--scrub-bg);padding:5px 10px;align-self:stretch}
.adm-turn summary{cursor:pointer;line-height:1.5}
.adm-turn summary:focus-visible{outline:2px solid var(--scrub-accent);outline-offset:2px}
.adm-turn ol{margin:6px 0 2px;padding-left:20px;display:grid;gap:3px}
.adm-turn li{overflow-wrap:anywhere}
.adm-turn b{color:var(--scrub-text);font-weight:600}
.adm-file{font-size:12.5px;color:var(--scrub-text-2);align-self:flex-end;border:1px dashed var(--scrub-line);border-radius:var(--scrub-radius);padding:6px 10px}
.adm-end{font-size:12px;color:var(--scrub-text-2);text-align:center;border-top:1px dashed var(--scrub-line);padding-top:8px;margin:4px 0 0}
.adm-minis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
/* A person's page (SCR-480, DESIGN.md A person's page). */
.pp{display:flex;flex-direction:column;gap:16px;min-width:0}
.pp-find{display:flex;align-items:center;gap:8px;max-width:420px;margin-left:auto;position:relative}
.pp-find input{flex:1;min-height:36px;padding:7px 64px 7px 12px;border:1px solid var(--scrub-line);border-radius:9px;background:var(--scrub-surface);font:400 14px var(--scrub-sans);color:var(--scrub-text);box-sizing:border-box;min-width:0}
.pp-find kbd{position:absolute;right:8px;font:500 11px var(--scrub-mono);border:1px solid var(--scrub-line);border-radius:5px;padding:1px 5px;color:var(--scrub-text-2);background:var(--scrub-bg)}
.pp-top{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.pp-crumbs{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--scrub-text-2);min-height:36px}
.pp-crumbs a{color:var(--scrub-text-2);text-decoration:none}
.pp-crumbs a:hover{color:var(--scrub-text)}
.pp-pn{display:inline-flex;gap:6px;align-items:center;margin-left:16px}
.pp-pn .pp-sq{min-width:32px;min-height:32px;padding:0;display:inline-flex;align-items:center;justify-content:center;color:var(--scrub-text)}
.pp-pn [aria-disabled]{opacity:.4}
.pp-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px 20px;align-items:center;padding:22px 24px;border:1px solid var(--scrub-line);border-radius:18px;background:var(--scrub-surface);box-shadow:0 1px 0 rgba(0,0,0,.03),0 10px 28px -16px rgba(0,0,0,.18)}
.pp-hero::before{content:"";position:absolute;inset:-60% -10% auto auto;width:62%;height:220%;background:radial-gradient(closest-side,color-mix(in srgb,var(--adm-s1) 15%,transparent),transparent 70%),radial-gradient(closest-side at 30% 70%,color-mix(in srgb,var(--adm-s3) 11%,transparent),transparent 70%);pointer-events:none}
.pp-hero>*{position:relative;min-width:0}
.pp-av{width:64px;height:64px;border-radius:50%;padding:3px;box-sizing:border-box;background:var(--scrub-line);flex:none}
.pp-av.on{background:conic-gradient(from 200deg,var(--adm-s1),var(--adm-s3),var(--adm-s4),var(--adm-s1))}
.pp-av span{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:var(--scrub-surface);font:700 21px var(--scrub-sans);letter-spacing:-.02em}
.pp-who{display:flex;flex-direction:column;gap:6px}
.pp-who h1{margin:0;font-size:24px;line-height:1.15;letter-spacing:-.02em;overflow-wrap:anywhere}
.pp-em{color:var(--scrub-text-2);font-size:14px;overflow-wrap:anywhere}
.pp-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.pp-chip{display:inline-flex;align-items:center;gap:6px;min-height:24px;padding:0 9px;border-radius:999px;border:1px solid var(--scrub-line);font-size:12.5px;color:var(--scrub-text-2);background:var(--scrub-surface);white-space:nowrap}
button.pp-chip{font:500 12px var(--scrub-mono);cursor:copy}
button.pp-chip:hover{color:var(--scrub-text)}
.pp-acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}
.pp-acts form{margin:0}
.pp-sw{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--scrub-text-2)}
.pp-acts .button,.pp-acts button:not(.switch){min-height:36px;box-sizing:border-box}
.pp-acts .pp-more summary{min-width:36px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--scrub-line);border-radius:var(--scrub-radius);background:var(--scrub-surface)}
.pp-acts .adm-menu-list{right:0;left:auto}
.pp-vitals{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.pp-vt{display:flex;flex-direction:column;gap:2px;min-width:0;padding:12px 14px;border:1px solid var(--scrub-line);border-radius:14px;background:var(--scrub-surface)}
.pp-vt>span{font-size:12px;color:var(--scrub-text-2)}
.pp-vt b{font-size:21px;font-weight:600;line-height:1.25}
.pp-vt small{font-size:12px;color:var(--scrub-text-2)}
.pp-vt.owed{border-color:color-mix(in srgb,var(--scrub-err) 45%,var(--scrub-line))}
.pp-vt.owed b{color:var(--scrub-err)}
.pp-bar{display:block;height:5px;border-radius:999px;background:var(--adm-tint);overflow:hidden;margin-top:6px}
.pp-bar i{display:block;height:100%;border-radius:inherit;background:var(--adm-s1)}
.pp-tabs-row{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:12px;padding:8px 0;background:color-mix(in srgb,var(--scrub-bg) 84%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--scrub-line)}
.pp-tabs{display:flex;gap:2px;overflow-x:auto;scrollbar-width:none;min-width:0}
.pp-tabs::-webkit-scrollbar{display:none}
.pp-tab{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border-radius:9px;font-size:14px;color:var(--scrub-text-2);text-decoration:none;white-space:nowrap}
.pp-tab:hover{color:var(--scrub-text)}
.pp-tab[aria-current]{color:var(--scrub-text);background:var(--scrub-surface);box-shadow:inset 0 0 0 1px var(--scrub-line);font-weight:600}
.pp-tab .scrub-num{font-size:11.5px;color:var(--scrub-text-2)}
.pp-period{margin-left:auto;flex:none}
.pp-body{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}
.pp-panes{display:flex;flex-direction:column;gap:16px;min-width:0}
.pp-rail{display:flex;flex-direction:column;gap:16px;min-width:0}
.pp-card{display:flex;flex-direction:column;gap:12px;min-width:0;padding:16px 18px;border:1px solid var(--scrub-line);border-radius:14px;background:var(--scrub-surface)}
.pp-h{margin:0;font-size:14.5px;font-weight:700;display:flex;align-items:center;gap:8px}
.pp-h3{margin:4px 0 0;font-size:13px;font-weight:700}
.pp-muted{margin-left:auto;font-size:12.5px;font-weight:500;color:var(--scrub-text-2)}
.pp-more-l{margin-left:auto;font-size:13px;font-weight:500;color:var(--scrub-text-2);text-decoration:none}
.pp-more-l:hover{color:var(--scrub-text)}
.pp-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.pp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.pp-life{list-style:none;margin:0;padding:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(118px,1fr);overflow-x:auto}
.pp-ev{position:relative;display:flex;flex-direction:column;gap:2px;padding:22px 10px 0 0;font-size:12.5px;color:var(--scrub-text-2);min-width:0}
.pp-ev b{font-size:13.5px;color:var(--scrub-text)}
.pp-ev::before{content:"";position:absolute;top:7px;left:12px;right:0;height:2px;background:var(--scrub-line)}
.pp-ev:last-child::before{display:none}
.pp-ev::after{content:"";position:absolute;top:2px;left:0;width:12px;height:12px;box-sizing:border-box;border-radius:50%;border:2px solid var(--scrub-ok);background:var(--scrub-ok)}
.pp-ev.gap::after{border:2px dashed var(--scrub-text-2);background:var(--scrub-surface)}
.pp-ev.gap b{color:var(--scrub-text-2)}
.pp-took{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px;color:var(--scrub-text-2)}
.pp-took b{color:var(--scrub-text);font-weight:600}
.pp-rows{display:flex;flex-direction:column}
.pp-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:9px 6px;border-top:1px solid var(--scrub-line-2);border-radius:8px;color:var(--scrub-text);text-decoration:none}
.pp-row:first-child{border-top:0}
a.pp-row:hover,.pp-row.on{background:var(--adm-tint)}
.pp-row.on{box-shadow:inset 3px 0 0 var(--scrub-text)}
.pp-row .tile{--s:28px}
.pp-nm{display:flex;flex-direction:column;min-width:0}
.pp-nm b{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pp-nm>span{display:flex;flex-wrap:wrap;gap:2px 8px;font-size:12px;color:var(--scrub-text-2)}
.pp-when{font:400 12px var(--scrub-mono);color:var(--scrub-text-2);white-space:nowrap;text-align:right}
.pp-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0}
.pp-filters input[type=search]{flex:1 1 200px;max-width:300px;min-height:34px;box-sizing:border-box}
.pp-filters label{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--scrub-text-2)}
.pp-filters select{min-height:34px}
.pp-older{align-self:flex-start}
.pp-split{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.pp-split.has{grid-template-columns:minmax(0,1fr) minmax(0,420px)}
.pp-detail{position:sticky;top:64px}
.pp-dhead{display:flex;gap:12px;align-items:flex-start}
.pp-dhead>div{flex:1;min-width:0}
.pp-dhead h2{margin:0;font-size:17px;line-height:1.25}
.pp-dhead .tile{--s:40px}
.pp-kv{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px 14px;margin:0;font-size:13.5px}
.pp-kv dt{color:var(--scrub-text-2)}
.pp-kv dd{margin:0;min-width:0;overflow-wrap:anywhere}
.pp-steps{list-style:none;margin:0;padding:0;border:1px solid var(--scrub-line);border-radius:10px;overflow:hidden}
.pp-steps li{display:grid;grid-template-columns:14px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 12px;border-top:1px solid var(--scrub-line-2);font-size:13.5px}
.pp-steps li:first-child{border-top:0}
.pp-steps i{width:8px;height:8px;border-radius:50%;background:var(--scrub-ok)}
.pp-steps li.failed i{background:var(--scrub-err)}
.pp-steps li.stopped i,.pp-steps li.running i{background:var(--scrub-warn)}
.pp-steps li.refused i{background:transparent;border:1.5px dashed var(--scrub-text-2);box-sizing:border-box}
.pp-lock{display:block;font-size:13px;color:var(--scrub-text-2);border:1px dashed var(--scrub-line);border-radius:10px;padding:9px 12px;text-decoration:none}
.pp-lock:hover{color:var(--scrub-text)}
.pp-counts{display:flex;flex-wrap:wrap;gap:6px 20px;font-size:13.5px;color:var(--scrub-text-2)}
.pp-counts b{color:var(--scrub-text);font-weight:600}
.pp-work .adm-work{margin:0;padding:0;border:0}
.pp-work .adm-work-why{max-width:52ch}
.pp-filters label{white-space:nowrap}
.pp-detail .adm-mini b{font-size:14px;white-space:nowrap}
.pp-chart{display:block;width:100%;height:auto;overflow:visible}
.pp-chart text{font:400 10px var(--scrub-mono);fill:var(--scrub-text-2)}
.pp-grid line,.pp-chart .pp-grid{stroke:var(--scrub-line-2);stroke-width:1}
.pp-cal{display:grid;grid-template-rows:repeat(7,12px);grid-auto-flow:column;grid-auto-columns:12px;gap:3px;overflow-x:auto;padding-bottom:2px}
.pp-cal i{border-radius:3px;background:var(--adm-tint)}
.pp-cal i[data-l="1"]{background:color-mix(in srgb,var(--adm-s1) 35%,var(--scrub-surface))}
.pp-cal i[data-l="2"]{background:color-mix(in srgb,var(--adm-s1) 62%,var(--scrub-surface))}
.pp-cal i[data-l="3"]{background:var(--adm-s1)}
.pp-tbl{overflow-x:auto}
.pp-mrow{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.pp-mrow p,.pp-p{margin:0;font-size:13.5px;color:var(--scrub-text-2)}
.pp-mrow p{flex:1 1 200px}
.pp section{margin:0}
.pp-btns{display:flex;flex-wrap:wrap;gap:8px}
.pp-btns a[aria-current]{border-color:var(--scrub-text)}
.pp-slot .adm-panel{margin:0;border-radius:14px}
.pp-beta form{margin:0}
.pp textarea{max-width:none;min-height:64px;font:400 14px/1.4 var(--scrub-sans);resize:vertical}
@media (max-width:1180px){.pp-vitals{grid-template-columns:repeat(3,minmax(0,1fr))}.pp-body{grid-template-columns:minmax(0,1fr)}.pp-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.pp-split.has{grid-template-columns:minmax(0,1fr)}.pp-split.has .pp-list{display:none}.pp-detail{position:static}}
@media (max-width:900px){.pp-hero{grid-template-columns:auto minmax(0,1fr)}.pp-acts{grid-column:1/-1;justify-content:flex-start}.pp-two,.pp-grid{grid-template-columns:minmax(0,1fr)}.pp-tabs-row{flex-wrap:wrap;gap:6px}.pp-period{margin-left:0}.pp-find kbd{display:none}.pp-find input{padding-right:12px}.pp-find{max-width:none;margin-left:0}}
@media (max-width:640px){.pp{gap:12px}.pp-hero{padding:16px;gap:12px 14px;border-radius:16px}.pp-av{width:52px;height:52px}.pp-av span{font-size:17px}.pp-who h1{font-size:19px}.pp-hero{align-items:start}.pp-acts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px}.pp-sw{grid-column:1/-1}.pp-acts .button,.pp-acts button:not(.switch),.pp-acts .pp-more summary{min-height:44px;min-width:44px;padding-left:8px;padding-right:8px;text-align:center;justify-content:center}.pp-vitals{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pp-vt b{font-size:18px}.pp-rail{grid-template-columns:minmax(0,1fr)}.pp-card{padding:14px}.pp-row{grid-template-columns:28px minmax(0,1fr) auto;padding:10px 4px}.pp-row .pp-when{display:none}.pp-period{width:100%;display:flex}.pp-period a{flex:1;min-height:40px}.pp-tab{min-height:44px}.pp-pn .pp-sq{min-width:40px;min-height:40px}.pp-filters input[type=search]{max-width:none;min-height:44px}.pp-filters select{min-height:44px}.pp-btns .button{min-height:44px}}
.adm-mini{border:1px solid var(--scrub-line);border-radius:8px;padding:8px 10px;min-width:0}
.adm-mini span{display:block;font-size:11.5px;color:var(--scrub-text-2)}
.adm-mini b{font-size:16px;font-weight:600}
.adm-hb{display:grid;grid-template-columns:minmax(0,11em) minmax(0,1fr) auto;gap:6px 10px;align-items:center;font-size:12.5px}
.adm-hb-l{overflow-wrap:anywhere}
.adm-hb-t{height:10px;display:block}
.adm-hb-f{display:block;height:10px;border-radius:0 4px 4px 0;min-width:2px}
.adm-stack{display:flex;gap:2px;height:12px;margin-bottom:6px}
.adm-stack span{height:12px}
.adm-stack span:first-child{border-radius:4px 0 0 4px}
.adm-stack span:last-child{border-radius:0 4px 4px 0}
.adm-stack span:only-child{border-radius:4px}
.adm-list{display:grid}
.adm-li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:2px 12px;align-items:baseline;padding:6px 0;border-bottom:1px solid var(--scrub-line-2);font-size:12.5px}
.adm-li:last-child{border-bottom:0}
.adm-when{color:var(--scrub-text-2);font-size:12px;text-align:right;min-width:5.5em}
.adm-st{font-size:12px}
.adm-st.failed{color:var(--scrub-err)}
.adm-st.stopped,.adm-st.running{color:var(--scrub-warn)}
.adm-li .scrub-not-charged{font-size:12px}
.adm-dnote{margin:0;display:grid;gap:6px}
.adm-dnote textarea{max-width:none;min-height:64px;font:400 14px/1.4 var(--scrub-sans);resize:vertical}
@media (max-width:1023px){.adm-charts .adm-full-t{grid-column:1/-1}.adm-pt .c-state,.adm-pt .c-last{display:none}.adm-pt .c-person{min-width:170px}.adm-pt td,.adm-pt th{padding-left:8px;padding-right:8px}}
@media (max-width:640px){
.adm-head{gap:10px}
.adm-title{flex:1 1 0}
.adm-counts{font-size:12px}
.adm-period{order:3;width:100%;box-sizing:border-box}
.adm-period a{flex:1;min-height:40px;padding:5px 4px}
.adm-mine{order:4;min-height:44px}
.adm-door{order:2}
.adm-door button.switch{min-height:44px}
.adm-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.adm-t-val{font-size:22px}
.adm-tile{padding:14px}
.adm-charts{grid-template-columns:minmax(0,1fr)}
.adm-bt .adm-hide-ph{display:none}
.adm-bt .adm-ph-line{display:block}
.adm-filters input[type=search]{order:1;flex:1 1 0;max-width:none;height:44px}
.adm-fbtn{display:inline-flex;align-items:center;order:2;min-height:44px}
.adm-fsel{display:none;order:3}
.adm-filters.open .adm-fsel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
.adm-filters.open .adm-fsel label{display:grid;gap:2px}
.adm-filters.open .adm-fsel select{width:100%;height:44px}
.adm-invite>summary{min-height:44px;display:inline-flex;align-items:center;box-sizing:border-box}
.adm-tablewrap{background:none;border:0}
.adm-pt thead{display:none}
.adm-pt,.adm-pt tbody{display:block}
.adm-pt tr.adm-row{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;background:var(--scrub-surface);border:1px solid var(--scrub-line);border-radius:10px;padding:8px 4px 10px 12px;margin-bottom:8px}
.adm-pt tr.adm-row[hidden]{display:none}
.adm-pt tr.adm-row td{display:block;padding:0;border:0;background:none!important}
.adm-pt .c-person{flex:1 1 calc(100% - 64px);order:1;min-width:0}
.adm-pt .c-person .adm-since{display:block;margin-left:0}
.adm-pt .c-menu{order:2;margin-left:auto}
.adm-pt .c-state{display:block;order:3}
.adm-pt .c-plan{order:4}
.adm-pt .c-credit{order:5}
.adm-pt .c-charged{order:6}
.adm-pt .c-jobs,.adm-pt .c-last,.adm-pt .c-access{display:none!important}
.adm-ph{display:inline;color:var(--scrub-text-2);font-family:var(--scrub-sans);font-weight:400}
.adm-menu>summary{width:44px;height:44px}
.adm-menu-list a,.adm-menu-list button,.adm-sub>summary,.adm-on{min-height:44px}
.adm-pt tr.adm-panel-row,.adm-pt tr.adm-empty{display:block}
.adm-pt tr.adm-empty[hidden],.adm-pt tr.adm-panel-row[hidden]{display:none}
.adm-pt tr.adm-row td:has(>.adm-muted:only-child){display:none}
.adm-pt tr.adm-panel-row td,.adm-pt tr.adm-empty td{display:block;background:none;padding:0}
.adm-panel{margin-top:-4px}
.adm-p-row button,.adm-p-row .button,.adm-p-row input[type=text],.adm-usd input{min-height:44px}
.adm-p-row button[type=submit]{flex:1 1 100%}
.adm-p-row .button[data-close]{flex:1 1 0;text-align:center}
.adm-p-row button.danger{flex:1 1 0}
.adm-minis{grid-template-columns:repeat(2,minmax(0,1fr))}
.adm-hb{grid-template-columns:minmax(0,8.5em) minmax(0,1fr) auto}
}
.switch-form{margin:0;flex:none}
button.switch{display:inline-flex;align-items:center;gap:8px;background:none;color:var(--scrub-text);border:0;padding:8px 2px;min-height:40px;font:500 14px/1 var(--scrub-sans)}
button.switch i{position:relative;flex:none;width:40px;height:24px;border-radius:999px;background:color-mix(in srgb,var(--scrub-text) 18%,transparent);transition:background .18s var(--scrub-ease)}
button.switch i::after{content:'';position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:var(--scrub-on-accent);box-shadow:0 1px 3px rgba(0,0,0,.22);transition:left .18s var(--scrub-ease)}
button.switch[aria-checked="true"] i{background:var(--scrub-ok)}
button.switch[aria-checked="true"] i::after{left:18px}
@media (prefers-reduced-motion:reduce){button.switch i,button.switch i::after{transition:none}}
button.switch span{min-width:2em;text-align:left}
@media (max-width:640px){button.switch{min-height:44px}}
.low-credit{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;margin:0 0 18px;padding:10px 10px 10px 18px;min-height:56px;box-sizing:border-box;border:0;border-radius:var(--scrub-r-panel);background:color-mix(in srgb,var(--scrub-warn) 12%,var(--scrub-bg));font-size:14px}
.low-credit p{margin:0;flex:1 1 280px;max-width:none}
.low-credit .button{padding:8px 16px;font-size:13.5px;flex:none;background:var(--scrub-bg);border-color:transparent}
.disc{color:var(--scrub-accent);font-family:var(--scrub-mono);font-variant-numeric:tabular-nums;font-weight:600}
.opt .save{display:block;margin-top:2px}
.disc-tag{display:inline-block;margin-left:10px;padding:4px 10px;border:0;border-radius:999px;background:var(--scrub-surface-2);font-size:13px;font-weight:500;color:var(--scrub-text-2);vertical-align:middle;white-space:nowrap}
.monthbar{display:block;height:8px;max-width:320px;margin:7px 0 6px;border-radius:999px;background:color-mix(in srgb,var(--scrub-text) 10%,transparent);overflow:hidden}
.monthbar i{display:block;height:100%;border-radius:999px;background:var(--scrub-text)}
.monthbar.warn i{background:var(--scrub-warn)}
.plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0 8px;max-width:760px}
.plans.three{grid-template-columns:repeat(3,minmax(0,1fr));max-width:900px}
@media (max-width:640px){.plans,.plans.three{grid-template-columns:1fr}}
/* Three across only where each card has room for its price and a one-line button (SCR-498); one column below. */
@media (max-width:899px){.plans.three{grid-template-columns:1fr;max-width:480px}}
.plan{display:flex;flex-direction:column;gap:10px;padding:22px;border:0;border-radius:var(--scrub-r-panel);background:var(--scrub-surface)}
.plan.mine{box-shadow:inset 0 0 0 2px var(--scrub-text)}
.plan h3{margin:0;font-size:20px;letter-spacing:-.02em}
.plan .fee{margin:0;color:var(--scrub-text-2);font-size:15px}.plan .fee .scrub-price,.plan .fee .scrub-num{font-size:26px;letter-spacing:-.02em}
.plan ul{margin:0 0 6px;padding-left:18px;font-size:14px;color:var(--scrub-text-2)}.plan li{margin:3px 0}
.plan form{margin:auto 0 0}.plan form button{width:100%;max-width:100%;white-space:normal;text-align:center}.plan .mine-tag{margin-top:auto;font-size:14px;font-weight:600;color:var(--scrub-text-2)}
.dl-item{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dl-item .dl-tile{flex:1 1 0;min-width:0}
.dl-item .confirm{flex:none}
.dl-item .confirm.asking{flex:1 1 100%}
@media (max-width:420px){.dl-item{justify-content:flex-end;gap:6px}.dl-item .dl-tile{flex:1 1 100%}}
.dl-gone{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:8px;padding:9px 12px;border:1px dashed var(--scrub-line);border-radius:var(--scrub-radius-lg);font-size:13px;color:var(--scrub-text-2)}
.dl-gone .dl-name{min-width:0}
.dl-gone span:last-child{flex:none}
@media (max-width:420px){.dl-go span{display:none}}
.drop-file{display:none;align-items:center;flex-wrap:wrap;gap:0 12px;padding:8px 8px 8px 10px;position:relative;container-type:inline-size}
.drop.has{border-style:solid;border-color:transparent;background:var(--scrub-surface);order:2}
.drop.has .drop-empty{display:none}
.drop.has .drop-file{display:flex}
/* The file a box holds, as a row of Your files (SCR-529): its kind's square,
   its whole name cut only where the row ends, then its length and what it
   is, on one line once the box is 620 px wide; an upload's bar under the name. */
.fsq{display:contents}
.fwho{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:2px;padding:6px 0}
.drop-file .fname{font-weight:600;font-size:14px;min-width:0;overflow:hidden;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.fdet{font-size:12.5px;color:var(--scrub-text-2);font-variant-numeric:tabular-nums;min-width:0}
.fdet:has(>.flen[hidden]):has(>.upload:empty),.drop.still .fdet:has(>.upload:empty){display:none}
.fdet .flen[hidden],.drop.still .fdet .flen{display:none}
/* A length leads what is said of a file (SCR-529), joined to what follows it only when something does. */
.flen::after{content:' · '}
.flen:last-child::after,.flen:has(+:empty)::after{content:none}
.drop-file .upload{min-width:0}
.drop-file .upload:empty{display:none}
@container (min-width:620px){.fwho{flex-direction:row;align-items:baseline;gap:16px}.fwho .fname{flex:1 1 auto;display:block;white-space:nowrap;text-overflow:ellipsis}.fdet{flex:none;margin-left:auto;text-align:right}.fwho:has(.upbar){flex-direction:column;align-items:stretch;gap:4px}.fwho:has(.upbar) .fdet{margin-left:0;text-align:left}}
.drop-file>.file-look{padding-left:56px}
.drop-file [data-change]{margin-left:auto;flex:none}
/* Many files (F-22): the zone empty, then a bar and a grid of them. */
.drop.many .many-bar,.drop.many .mf-grid{display:none}
.drop.many.has{border-style:solid;border-color:transparent;background:var(--scrub-surface);padding:16px}
.drop.many.has .drop-empty{display:none}
.drop.many.has .many-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 12px;font-size:14px}
.drop.many.has .mf-grid{display:grid}
.mf-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px}
.mf-tile{margin:0;display:flex;flex-direction:column;gap:4px;min-width:0;position:relative}
.mf-tile img,.mf-tile .pdf-mark{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:var(--scrub-r-block);border:1px solid transparent;background:var(--scrub-bg)}
.mf-tile .pdf-mark{display:flex;align-items:center;justify-content:center;font-family:var(--scrub-mono);font-weight:600;font-size:13px;color:var(--scrub-text-2)}
.mf-tile figcaption{font-size:12.5px;color:var(--scrub-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mf-tile .mf-note{font-size:12px;color:var(--scrub-text-2);min-height:0}
.mf-tile .mf-note:empty{display:none}
.mf-tile.bad .mf-note{color:var(--scrub-err)}
.mf-tile .upbar{margin-top:2px}
.mf-tile .mf-remove{align-self:flex-start;font-size:12.5px;padding:0;min-height:0}
/* What's here (F-29): each tile says its kind; a tile whose kind was
   unticked is left out, faded, and says so. */
.mf-kind{align-self:flex-start;font-size:12px;font-weight:600;padding:1px 8px;border-radius:999px;background:var(--scrub-line-2);color:var(--scrub-text)}
.mf-kind:empty{display:none}
.mf-tile.out img,.mf-tile.out .pdf-mark{opacity:.4}
.mf-tile.out .mf-kind{background:none;border:1px dashed var(--scrub-line);color:var(--scrub-text-2);font-weight:500}
.look{display:flex;flex-direction:column;gap:12px}
.look[hidden]{display:none}
/* One shape (F-31): the parts of every action's page, the same everywhere. */
.part{margin:10px 0 0;font:var(--scrub-label);letter-spacing:.06em;text-transform:uppercase;color:var(--scrub-text-2)}
.part:first-child{margin-top:0}
.io{display:flex;flex-direction:column;gap:12px;min-width:0}
.io-in,.io-out{display:flex;flex-direction:column;gap:14px;min-width:0}
/* Each input and output reads as its own block: a rule and room between them,
   the block's name a size above its fields' labels (founder, 27 September). */
.io-in>.io+.io,.io-out>.io+.io{border-top:0;padding-top:0;margin-top:18px}
.io-t{font-size:17px;letter-spacing:-.015em}
.work .hint{margin:0;font-size:13px;color:var(--scrub-text-2)}
.io .field{gap:6px}
.io .field>.hint+*,.io .field>.more+*{margin-top:4px}
/* The chosen way in: its fields together, in a panel under the choice. */
.io [data-group-work]{display:flex;flex-direction:column;gap:18px;padding:18px;border:1px solid transparent;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);--opt-bg:var(--scrub-surface-2)}
.io [data-group-work][hidden]{display:none}
.io [data-group-work]:empty{display:none}
.io-h{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 10px;min-height:28px}
.io-t{font-weight:500}
.io-t i{font-style:normal;font-weight:400;font-size:12.5px;color:var(--scrub-text-2)}
.views{display:inline-flex;gap:2px;padding:2px;border:0;border-radius:var(--scrub-r-pill);background:var(--scrub-surface);overflow:hidden;flex:none;max-width:100%}
.views button{min-height:26px;padding:2px 12px;border:0;border-left:0;border-radius:var(--scrub-r-pill);background:none;color:var(--scrub-text-2);font:500 12.5px/1 var(--scrub-sans);cursor:pointer}
.views button:first-child{border-left:0}
.views button[hidden]{display:none}
.views:not(:has(>button:not([hidden])~button:not([hidden]))){display:none}
.flabel.same{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.more>summary{cursor:pointer;font-size:12.5px;color:var(--scrub-text-2);list-style:none;width:max-content}
.more>summary::-webkit-details-marker{display:none}
.more>summary:hover{color:var(--scrub-text);text-decoration:underline}
.more[open]>summary{display:none}
.field>.more{margin-top:-2px}
.views button[aria-selected=true]{background:var(--scrub-inv);color:var(--scrub-on-inv);font-weight:600}
.views button[aria-selected=true]+button{border-left-color:transparent}
.jv{display:inline-flex;border:1px solid var(--scrub-line-2);border-radius:var(--scrub-radius);overflow:hidden;flex:none;max-width:100%}
.jv a{display:inline-flex;align-items:center;min-height:28px;padding:2px 11px;border-left:1px solid var(--scrub-line-2);color:var(--scrub-text-2);font:500 12.5px/1 var(--scrub-sans);text-decoration:none}
.jv a:first-child{border-left:0}
.jv a:hover{color:var(--scrub-text)}
.jv a[aria-current=true]{background:var(--scrub-line-2);color:var(--scrub-text);font-weight:600}
.jv a[aria-current=true]+a{border-left-color:transparent}
.jv a:focus-visible{outline:2px solid var(--scrub-text);outline-offset:-2px}
.io-v{min-width:0}
.io-v[hidden]{display:none}
.io.waiting .io-v{border:1.5px dashed var(--scrub-line);border-radius:var(--scrub-r-panel);padding:16px 18px;color:var(--scrub-text-2);font-size:14px}
.io.waiting .io-v p{margin:0}
.io-json{margin:0;padding:14px 16px;border-radius:var(--scrub-r-block);background:var(--scrub-surface);border:1px solid transparent;font:12.5px/1.55 var(--scrub-mono);white-space:pre-wrap;word-break:break-word;max-height:360px;overflow:auto}
.cfg{border:1px solid transparent;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);--opt-bg:var(--scrub-surface-2)}
.cfg>summary{display:flex;align-items:center;gap:10px;padding:13px 18px;cursor:pointer;list-style:none;min-height:50px;border-radius:var(--scrub-r-panel)}
.cfg :is(input:not([type]),input[type=text],input[type=number],input[type=search],input[type=url],select,textarea){background:var(--scrub-surface-2)}
.cfg>summary::-webkit-details-marker{display:none}
/* A group's heading shows the keys are on it, as a button does (WCAG 2.4.7, SCR-757 design review). */
.cfg>summary:focus-visible{outline:2px solid var(--scrub-text);outline-offset:-2px}
.cfg>summary::after{content:'';width:7px;height:7px;border:solid var(--scrub-text-2);border-width:0 1.8px 1.8px 0;transform:rotate(45deg);margin:-4px 2px 0 0;flex:none;transition:transform .2s var(--scrub-ease)}
.cfg[open]>summary::after{transform:rotate(-135deg);margin-top:3px}
.cfg-t{font-weight:600}
.cfg-v{margin-left:auto;font-size:13px;color:var(--scrub-text-2);text-align:right;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60%}
.cfg:has(.choices.many) .cfg-v{white-space:normal;text-overflow:clip;line-height:1.35}
.cfg-b{display:flex;flex-direction:column;gap:16px;padding:0 18px 18px}
.cfg-b>.field,.cfg-b>.look{margin:0}
.cfg-none{margin:0;padding:14px 18px;border:1.5px dashed var(--scrub-line);border-radius:var(--scrub-r-panel);color:var(--scrub-text-2);font-size:14px}
/* The bottom bar (F-33): the height of the menu's foot, along the foot of
   every page; what the page puts there at its right, the bubble after it. */
.bbar{position:fixed;left:0;right:0;bottom:0;z-index:6;height:63px;box-sizing:border-box;display:flex;align-items:center;gap:14px;padding:0 12px 0 16px;border-top:1px solid var(--scrub-line-2);background:var(--scrub-bg)}
body:has(.bbar){padding-bottom:63px;box-sizing:border-box}
.bbar-main{flex:1;min-width:0;display:flex;justify-content:flex-end;align-items:center;gap:14px}
.bbar-end{flex:none;display:flex;align-items:center}
.runbar,.adjustbar{display:flex;align-items:center;gap:14px;min-width:0;position:relative}
.runbar[hidden],.adjustbar[hidden]{display:none}
.runbar .run-from{flex-basis:100%;order:9;margin:-6px 0 0;color:var(--scrub-text-2)}
.runbar .run-pick{flex-basis:100%;order:10;margin:-6px 0 0;color:var(--scrub-text-2);text-wrap:pretty}
.runbar .run-instead{flex-basis:100%;order:11;margin:-6px 0 0;padding:0;min-height:0;justify-content:flex-start;text-align:left;width:auto}
.runbar .run-instead[hidden],.runbar .run-credit[hidden]{display:none}
.runbar>.run-credit{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;font-size:15px;white-space:nowrap;width:auto}
.runbar .run-pick[hidden],.work:has(.sd)>.runbar .run-pick,.work:has(.tl-work:not([hidden])) .runbar .run-pick,.fc .stage>.runbar .run-pick{display:none}
.runbar .run-from[hidden],.work:has(.sd)>.runbar .run-from,.work:has(.tl-work:not([hidden])) .runbar .run-from,.fc .stage>.runbar .run-from{display:none}
/* Run, and a change, as a card in the work (F-37): what it does and its
   price at the left, the button at the right, the size of the work. */
.runbar,.adjustbar{padding:10px 10px 10px 22px;border:1px solid transparent;border-radius:var(--scrub-r-sheet);background:var(--scrub-surface);flex-wrap:wrap}
.runbar>.small,.adjustbar>.small{padding-right:12px}
.runbar .price-line,.adjustbar .price-line{flex:1 1 0;min-width:150px;width:auto;border:0;background:none;padding:0;min-height:0;gap:14px;flex-wrap:nowrap;font-size:15px}
.runbar .price-line .scrub-price,.adjustbar .price-line .scrub-price{font-size:17px}
.runbar .price-line .what,.adjustbar .price-line .what{overflow:hidden;text-overflow:ellipsis;min-width:0}
.runbar>button,.adjustbar>button{min-height:48px;padding:0 26px;font-size:15px;white-space:nowrap;width:auto}
/* Run that cannot run (F-105): grey, and why it cannot, pointed at, focused or pressed. */
#run.blocked{background:var(--scrub-surface-2);color:var(--scrub-text-2);border-color:transparent;cursor:not-allowed}
/* While files go up (F-160): how far, at full strength, after the ring in the blue, never a faded button. */
#run.uploading,#run.uploading:disabled{opacity:1;background:var(--scrub-surface-2);color:var(--scrub-text);border-color:transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-variant-numeric:tabular-nums}
#run.uploading .ring{width:14px;height:14px;border-width:2px}
.run-why{display:none;position:absolute;z-index:7;right:0;top:calc(100% + 8px);width:max-content;max-width:min(340px,calc(100vw - 32px));padding:12px 14px;border:0;border-radius:var(--scrub-r-float);background:var(--scrub-raised);box-shadow:var(--scrub-shadow-float);color:var(--scrub-text);font-size:13.5px;line-height:1.45;white-space:normal}
#run.blocked:not(.hush):focus-visible+.run-why,#run.blocked.show-why+.run-why{display:block}
@media (hover:hover){#run.blocked:hover+.run-why{display:block}}
@media (max-width:640px){.run-why{top:auto;bottom:calc(100% + 8px)}}
.work[data-open="out"]>.runbar{display:none}
/* The video builder's start says the next thing itself, so the bar waits for it (SCR-432). */
.work:has(.tl-start:not([hidden]))>.runbar.needs{display:none}
/* How it's priced opens above the bar. */
.runbar .how{position:static;flex:none;font-size:12.5px}
.runbar .how summary{white-space:nowrap}
.runbar .how[open] p{position:absolute;z-index:3;right:0;top:calc(100% + 8px);width:min(420px,calc(100vw - 32px));margin:0;padding:14px 16px;border:0;border-radius:var(--scrub-r-float);background:var(--scrub-raised);box-shadow:var(--scrub-shadow-float)}
/* Running fills Output, the size of what it is making. */
.io[hidden]{display:none}
/* The video builder (29 Sep): the script on the left, the preview on the right (F-76). */
.tl{display:flex;flex-direction:column;gap:14px;container-type:inline-size}
.tl-work{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,380px);gap:20px;align-items:start}
.tl-work[hidden],.tl-start[hidden]{display:none}
.tl-stage:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.tl-left{display:flex;flex-direction:column;gap:12px;min-width:0}
.tl-right{position:sticky;top:12px;display:flex;flex-direction:column;gap:8px}
.tl-stage{background:none;display:flex;justify-content:center;align-items:center;position:relative;padding:24px;box-sizing:border-box}
.tl-hand{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}
.tl-readout{position:absolute;z-index:3;transform:translateX(-50%);pointer-events:none;padding:4px 8px;border-radius:var(--scrub-radius);font-size:12px;line-height:16px;white-space:nowrap;color:var(--scrub-text);background:color-mix(in srgb,var(--scrub-surface) 82%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid var(--scrub-line-2);box-shadow:0 8px 24px -12px rgba(0,0,0,.55)}
.tl-readout[hidden]{display:none}
.tl-stage.tl-dropping::after{content:"";position:absolute;inset:8px;border:2px dashed var(--scrub-text);border-radius:var(--scrub-radius-lg);background:color-mix(in srgb,var(--scrub-text) 6%,transparent);pointer-events:none;z-index:4;animation:tl-dropbox .18s ease-out}
@keyframes tl-dropbox{from{opacity:0;transform:scale(1.03)}}
.tl-readout .scrub-num{font-family:var(--scrub-mono);font-variant-numeric:tabular-nums}
/* The toolbar (F-150): over the text box or the captions chosen, in the
   readout's matte glass; docked under the preview on a phone, scrolling sideways. */
.tl-tbar{position:fixed;z-index:60;display:flex;align-items:center;gap:1px;padding:3px;max-width:calc(100vw - 16px);overflow-x:auto;scrollbar-width:none;border-radius:var(--scrub-radius-lg);color:var(--scrub-text);background:color-mix(in srgb,var(--scrub-surface) 88%,transparent);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid var(--scrub-line-2);box-shadow:0 10px 28px -14px rgba(0,0,0,.6);font:600 13px/1.2 var(--scrub-sans)}
.tl-tbar[hidden]{display:none}
/* Docked, its own width never widens the column it sits in: it scrolls inside it. */
.tl-tbar.dock{position:static;width:100%;max-width:100%;contain:inline-size;margin:8px 0 0;box-shadow:none;background:var(--scrub-surface)}
.tl-tb{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:0 9px;border-radius:var(--scrub-radius);cursor:pointer;white-space:nowrap}
.tl-tb:hover,.tl-tb:focus-visible,.tl-tb[aria-pressed="true"]{background:color-mix(in srgb,var(--scrub-text) 9%,transparent)}
.tl-tb:focus-visible{outline:2px solid var(--scrub-text);outline-offset:-2px}
.tl-tfam span{max-width:132px;overflow:hidden;text-overflow:ellipsis}
.tl-tital span{font-style:italic;font-family:Georgia,serif;font-weight:700}
.tl-tb-i{color:var(--scrub-text-2);font-size:12px}
/* A number scrubbed like a slider (founder, 11 Oct 2026): ‹ › on hover, dragged sideways. */
.tl-scrubn{display:inline-flex;align-items:center;gap:0;border-radius:6px}
.tl-scrubn .tl-snum{width:46px;padding:3px 0;font:600 13px var(--scrub-mono);text-align:center;color:inherit;background:transparent;border:1px solid transparent;border-radius:6px;cursor:ew-resize;min-height:0;height:auto;box-shadow:none}
.tl-scrubn .tl-snum:focus{cursor:text;border-color:var(--scrub-line);background:var(--scrub-bg);outline:none}
.tl-scrubn .tl-sstep{all:unset;box-sizing:border-box;width:16px;height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;color:var(--scrub-text-2);font:600 15px/1 var(--scrub-sans);cursor:pointer;visibility:hidden}
.tl-scrubn:hover .tl-sstep,.tl-scrubn:focus-within .tl-sstep{visibility:visible}
.tl-scrubn .tl-sstep:hover{color:var(--scrub-text);background:color-mix(in srgb,var(--scrub-text) 9%,transparent)}
.tl-scrubn.wide{border:1px solid var(--scrub-line);background:var(--scrub-surface);width:max-content}
.tl-scrubn.wide .tl-snum{width:56px;font-size:13.5px}
@media (hover:none){.tl-scrubn .tl-sstep{visibility:visible;width:28px;height:32px}}
.tl-tbar .tl-tnum{width:46px;height:auto;min-height:0;box-shadow:none;font:600 13px var(--scrub-mono);text-align:center;color:inherit;background:transparent;border:1px solid transparent;border-radius:6px;padding:3px 0}
.tl-tbar .tl-tnum:hover,.tl-tbar .tl-tnum:focus{border-color:var(--scrub-line);background:var(--scrub-bg);outline:none}
.tl-tbar .tl-tcol input{width:20px;height:20px;padding:0;border:2px solid var(--scrub-line);border-radius:50%;background:none;cursor:pointer;overflow:hidden}
.tl-tcol input::-webkit-color-swatch-wrapper{padding:0}.tl-tcol input::-webkit-color-swatch{border:0;border-radius:50%}
.tl-tsep{width:1px;align-self:stretch;margin:5px 2px;background:var(--scrub-line-2)}
@media (max-width:860px){.tl-tb{min-height:40px}}
/* A text box's words typed where they show (F-150). */
.tl-tedit{position:absolute;z-index:4;margin:0;padding:0;border:0;outline:1.5px dashed color-mix(in srgb,var(--scrub-text) 80%,transparent);outline-offset:2px;background:transparent;resize:none;overflow:hidden;caret-color:currentColor;white-space:pre-wrap}
/* Media's Text tab: the three starting sizes of a text box. */
.tl-ttile{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-height:64px;padding:10px 12px;text-align:left;cursor:grab}
.tl-tface{font-family:"Inter Tight",var(--scrub-sans);line-height:1.1;color:var(--scrub-text)}
.tl-ph2{margin-top:14px;padding-top:12px;border-top:1px solid var(--scrub-line-2)}
.tl-stage.placing .tl-canvas{touch-action:none}
.tl-canvas{border-radius:10px;box-shadow:0 0 0 1px var(--scrub-line-2),0 18px 40px -26px rgba(0,0,0,.55);background:#000}
.tl-view{position:absolute;z-index:1;pointer-events:none;border-radius:10px;display:block}
/* Made where it will appear (F-86): the console's moving placeholder over the
   place an image, the voice or the music is being made in; a short light as
   it arrives. Still, with reduced motion. */
/* Items and voice lines are placed absolutely already; a chip sits in the line. */
.tl-chip.making{position:relative;overflow:hidden}
.tl-it.making,.tl-vline.making{overflow:hidden}
.tl-it.making::after,.tl-chip.making::after,.tl-vline.making::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(90deg,color-mix(in srgb,var(--scrub-text-2) 10%,transparent) 0%,color-mix(in srgb,var(--scrub-text) 32%,transparent) 50%,color-mix(in srgb,var(--scrub-text-2) 10%,transparent) 100%);background-size:200% 100%;animation:scrub-shine 1.4s linear infinite;pointer-events:none}
.tl-it.making .tl-hd{visibility:hidden}
.tl-it.making>.ring{position:absolute;top:5px;right:5px;z-index:1}
.tl-ipic.making>.ring{border-color:rgba(255,255,255,.3);border-top-color:#fff}
.tl-it.lit,.tl-chip.lit,.tl-vline.lit{animation:tl-lit 1.2s ease-out 1}
@keyframes tl-lit{0%{filter:brightness(1.8) saturate(.4);opacity:.4}60%{filter:brightness(1.12)}100%{filter:none;opacity:1}}
.tl-making{position:absolute;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:18px;box-sizing:border-box;text-align:center;overflow:hidden;pointer-events:none;background:#111113;color:#fff}
.tl-making[hidden]{display:none}
.tl-making::before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 0%,rgba(255,255,255,.14) 50%,transparent 100%);background-size:220% 100%;animation:scrub-shine 1.8s linear infinite}
.tl-making b{position:relative;font-size:13px;font-weight:600}
.tl-making p{position:relative;margin:0;max-width:30ch;font-size:12.5px;line-height:1.45;color:rgba(255,255,255,.72)}
.tl-making .ring{position:relative;display:inline-block;width:22px;height:22px;flex:none;border-color:rgba(255,255,255,.22);border-top-color:#fff}
.tl-tomake{background:#141416;outline:1.5px dashed color-mix(in srgb,var(--tm-ink,#fff) 40%,transparent);outline-offset:-10px}
.tl-tomake::before{display:none}
.tl-tomake-c{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:auto;cursor:pointer}
.tl-tomake-c p{color:var(--tm-ink,#fff)}
.tl-tomake-c>.small{color:color-mix(in srgb,var(--tm-ink,#fff) 72%,transparent)}
.tl-tomake-go{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:4px}
.tl-tomake-go .quiet{color:var(--tm-ink,#fff)}
/* The music, under the voice, as long as the video. */
.tl-imusic{top:3px;bottom:3px;height:auto;display:flex;align-items:flex-start;gap:6px;padding:4px 8px;font:500 11.5px/1 var(--scrub-sans);text-align:left;white-space:nowrap;overflow:hidden;cursor:pointer;color:var(--scrub-tile-audio-ink);background:color-mix(in srgb,var(--scrub-tile-audio) 72%,var(--scrub-surface));border:0;border-radius:6px;min-height:0;width:auto}
.tl-imusic>span{overflow:hidden;text-overflow:ellipsis;color:var(--scrub-text-2)}
.tl-imusic.unmade,.tl-isnd.unmade{background:none;border:1px dashed var(--scrub-line)}
.tl-imusic.making::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,color-mix(in srgb,var(--scrub-text-2) 10%,transparent) 0%,color-mix(in srgb,var(--scrub-text) 32%,transparent) 50%,color-mix(in srgb,var(--scrub-text-2) 10%,transparent) 100%);background-size:200% 100%;animation:scrub-shine 1.4s linear infinite;pointer-events:none}
.tl-imusic.lit{animation:tl-lit 1.2s ease-out 1}
.tl-addmusic{position:absolute;top:50%;transform:translateY(-50%);min-height:0;padding:2px 4px}
@media (prefers-reduced-motion:reduce){.tl-it.making::after,.tl-chip.making::after,.tl-vline.making::after,.tl-imusic.making::after,.tl-making::before{animation:none}.tl-it.lit,.tl-chip.lit,.tl-vline.lit,.tl-imusic.lit{animation:none}}
.tl-canvas{display:block;width:100%;height:auto;max-height:62vh;object-fit:contain}
.tl-stage[data-ratio="9:16"] .tl-canvas{width:min(100%,calc(62vh * 9 / 16));height:auto;max-width:100%}
.tl-transport{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;padding:12px 12px 8px;border-bottom:1px solid var(--scrub-line-2)}
.tl-transport .tl-seek::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:12px;height:12px;border-radius:50%;background:var(--scrub-text);border:0}
.tl-transport .tl-seek::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:var(--scrub-text);border:0}
.tl-transport .tl-seek:focus-visible{outline:2px solid var(--scrub-accent);outline-offset:2px}
.tl-transport .tl-time{color:var(--scrub-text);font-size:13px}
.tl-tp-mid{display:inline-flex;align-items:center;gap:6px}
.tl-tp-b,.tl-play{display:inline-flex;align-items:center;justify-content:center;padding:0;min-width:0;min-height:0;border:0;border-radius:50%;cursor:pointer;-webkit-user-select:none;user-select:none}
.tl-tp-b{width:34px;height:34px;background:none;color:var(--scrub-text-2)}
.tl-tp-b:hover{background:var(--scrub-line-2);color:var(--scrub-text)}
.tl-play{width:40px;height:40px;background:var(--scrub-text);color:var(--scrub-bg)}
.tl-play .tl-i-pause,.tl-play.on .tl-i-play{display:none}
.tl-play.on .tl-i-pause{display:block}
.tl-tp-end{display:flex;align-items:center;justify-content:flex-end;gap:8px}
/* A narrow builder (Media open beside it, F-113): Undo and the zoom on a row of their own, so nothing overlaps Play. */
@container (max-width:560px){.tl-strip>.tl-transport{grid-template-columns:auto minmax(0,1fr)}.tl-strip>.tl-transport>.tl-tp-mid{justify-self:end}.tl-strip>.tl-transport>.tl-tp-end{grid-column:1/-1;justify-content:flex-end}}
.tl-tp-sep{width:1px;height:20px;background:var(--scrub-line)}
.tl-transport button{-webkit-user-select:none;user-select:none}
.tl-make{display:flex;flex-wrap:wrap;gap:10px}
.act-make{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:2px 0 10px 46px}
.act-make:empty{display:none}
.act-make .tl-pics,.act-make .tl-voice{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
.act-make .tl-voice[hidden]{display:none}
.act-make .tl-voice-said:empty{display:none}
.tl-lookcfg .tl-look{border:0;padding:0}
.tl-lookcfg .tl-look>summary{display:none}
.tl-make[hidden],.tl-mk[hidden]{display:none}
.tl-sh>.tl-tp-end{margin-left:auto;padding-block:2px}
.tl-right>.tl-transport{border:1px solid var(--scrub-line-2);border-radius:var(--scrub-radius-lg);background:var(--scrub-surface)}
.sp-list{display:flex;flex-direction:column;gap:2px}
.sp-row{display:flex;align-items:flex-start;gap:8px;padding:6px 4px;border-radius:var(--scrub-radius);cursor:pointer;font-size:13.5px;line-height:1.4}
.sp-row:hover{background:var(--scrub-line-2)}
.sp-row input{margin-top:2px;flex:none}
.sp-row .tl-mark{flex:none}
.sp-line{min-width:0;overflow-wrap:anywhere}
.tl-mk{flex:1 1 240px;display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid var(--scrub-line-2);border-radius:var(--scrub-radius-lg);min-width:0}
.tl-mk .tile{--s:30px;width:30px;height:30px;border-radius:8px;flex:none}
.tl-mk .tile svg{width:15px;height:15px}
.tl-mk-b{display:grid;gap:4px;min-width:0;flex:1}
.tl-mk-b>b{font-size:13.5px;font-weight:600}
.tl-mk .tl-pics,.tl-mk .tl-voice{margin:0}
.tl-voice{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.tl-pvoice{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:2px 0 10px}
.tl-vline.unvoiced.changed{background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--scrub-warn) 14%,transparent) 0 6px,transparent 6px 12px);border:1px dashed color-mix(in srgb,var(--scrub-warn) 70%,transparent);cursor:pointer}
.tl-vline[data-scene]{cursor:pointer}
.tl-vch{position:absolute;left:6px;top:4px;font:600 10px var(--scrub-mono);letter-spacing:.06em;color:var(--scrub-warn)}
@media (max-width:640px){.tl-transport{grid-template-columns:auto minmax(0,1fr);gap:8px}.tl-transport .tl-time{grid-column:1/-1;order:3;text-align:center}}
.tl-seek{flex:1 1 auto;min-width:0}
.tl-note{margin:0}
.tl-pics{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.tl-pics[hidden]{display:none}
.tl-pics-go{display:inline-flex;align-items:baseline;gap:8px}
/* A start's settings set by the page's steer (SCR-157), with its line and Use these. */
.tl-from-set{display:grid;gap:10px;margin-top:12px}
.tl-from-set .field{margin:0}
.tl-from-set .num-row{display:flex;gap:8px;align-items:center}
.tl-from-set .num-row input{max-width:140px}
.tl-advice{margin:0;color:var(--scrub-text-2)}
/* Advice on what a recording is waits for one to be chosen (SCR-265). */
.tl-from:not(:has(.drop.has)) .tl-advice{display:none}
.tl-voice{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.tl-hear[hidden]{display:none}
.tl-look{border:1px solid var(--scrub-line-2);border-radius:var(--scrub-radius-lg);padding:10px 12px}
.tl-look summary{cursor:pointer;font-weight:600;display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.tl-look-b{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.tl-row{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px;align-items:center;font-size:14px}
.tl-row select{max-width:none}
.tl-colours{display:flex;gap:16px;flex-wrap:wrap}
.tl-colours .tl-row{grid-template-columns:auto auto}
/* A phone: each label above its menu, so the longest choice shows whole (Zubenelgenubi, casual, male; F-118). */
@media (max-width:480px){.tl-row{grid-template-columns:minmax(0,1fr);gap:4px}}
.tl-colours input[type=color]{width:44px;height:30px;padding:0;border:1px solid var(--scrub-line);border-radius:6px;background:none}
.tl-thumb{width:64px;aspect-ratio:9/16;border-radius:6px;background:color-mix(in srgb,var(--scrub-text) 8%,transparent);overflow:hidden;display:flex;align-items:center;justify-content:center;font-size:11px;color:var(--scrub-text-2)}
.tl-thumb img{width:100%;height:100%;object-fit:cover}
.tl-pick{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
ol.said{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:8px}
ol.said li{display:grid;grid-template-columns:3.2em 1fr;gap:8px;align-items:baseline}
.run .said{margin-top:6px}
.said-on{display:block;margin-top:2px}
.again{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0 0}
/* A finished job's result (F-71): the result line with its Download, the
   result on one stage, the strip under it, then all else it made. */
.rhead{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0 0 12px}
.rhead .done-line{margin:0}
.rhead .rfact{margin:0;color:var(--scrub-text-2)}
.rhead .dlc{margin-left:auto}
.rhead .edit-b{margin-left:auto}
.rhead .edit-b+.dlc{margin-left:0}
.dlc{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.dlc-l{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:600;color:var(--scrub-ok);margin-right:4px}
.dl-one,.dl-chip{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 16px;border-radius:var(--scrub-r-pill);font-size:13.5px;font-weight:600;text-decoration:none;background:var(--scrub-ok);color:var(--scrub-bg);white-space:nowrap}
.dl-one:hover,.dl-chip:hover{filter:brightness(1.08)}
.dl-one .dl-fmt,.dl-one .dl-size{font-family:var(--scrub-mono);font-size:12px;font-weight:500}
.dl-one .dl-size{color:inherit;opacity:.9;margin:0}
.dl-one.quiet,.dl-chip{background:transparent;color:var(--scrub-ok);border:1px solid color-mix(in srgb,var(--scrub-ok) 55%,transparent)}
.dl-chip{font-family:var(--scrub-mono);font-size:12.5px;padding:0 11px}
.dl-one.quiet:hover,.dl-chip:hover{filter:none;background:color-mix(in srgb,var(--scrub-ok) 12%,transparent)}
.stage{border:1px solid transparent;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);padding:16px;min-width:0}
/* Dots (SCR-498): what was made is the stage, at its own shape and its own corners, on the page's ground. */
.stage[data-kind="media"]{display:flex;flex-direction:column;justify-content:center;align-items:center;background:none;padding:0;border:0}
.stage[data-kind="media"] .view video,.stage[data-kind="media"] .view img,.stage[data-kind="media"] .view .player video{max-height:min(62vh,600px)}
.stage[data-kind="media"]>.view.audio{width:100%}
.stage[data-kind="reading"]{display:flex;flex-direction:column;gap:10px;max-height:min(68vh,680px);overflow:auto}
.stage[data-kind="reading"]>.split{min-height:0;flex:1 1 auto}
.stage .compare .view video,.stage .compare .view img{max-height:min(30vh,300px)}
.strip{display:flex;flex-wrap:wrap;gap:12px 28px;align-items:flex-start;justify-content:space-between;margin:12px 0 0}
.rline{flex:1 1 240px;min-width:0}
.rline>summary{list-style:none;display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;color:var(--scrub-text-2);min-height:36px}
.rline>summary::-webkit-details-marker{display:none}
.rline>summary .scrub-num{color:var(--scrub-text)}
.rline[open] .rl-arrow{transform:rotate(90deg)}
.rline .receipt.card{border:0;background:none;box-shadow:none;padding:4px 0 0;margin:0;max-width:420px;font-size:13px;color:var(--scrub-text-2)}
.rline .receipt .tot{border-top-color:var(--scrub-line)}
.snext{flex:1 1 280px;max-width:440px;min-width:0}
.snext>.small{margin:0 0 6px}
/* Next, under a result: each step its own rounded row (SCR-498). */
.snext .usein{background:none;border-radius:0;gap:6px;overflow:visible}
.snext .usein a{border-top:0;border-radius:var(--scrub-r-block);background:var(--scrub-surface);min-height:48px;box-sizing:border-box;align-items:center;transition:background .2s var(--scrub-ease)}
.snext .usein a:hover{background:var(--scrub-surface-2)}
.rhead .done-line{font-size:18px;font-weight:500;letter-spacing:-.015em}
.made{margin-top:16px;padding:16px 18px;border:1px solid transparent;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);min-width:0}
.made-h{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-bottom:10px}
.made-h .made-from{margin:0;color:var(--scrub-text-2)}
.made-h .made-from a{color:inherit}
.made-h .dlc{margin-left:auto}
.made-h .dl-one,.made-h .dl-chip{min-height:32px}
.made-b .view video,.made-b .view img{max-height:44vh}
.made-more{display:flex;gap:16px;flex-wrap:wrap;margin-top:8px;font-size:13.5px}
.made-more summary{cursor:pointer;color:var(--scrub-text-2)}
.made-more details[open]{flex-basis:100%}
.made-more .usein,.made-more .io-json{margin-top:8px}
.made-row{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px}
.made-row a{flex:none;display:block;border-radius:var(--scrub-r-block);overflow:hidden;line-height:0}
.made-row img{display:block;height:150px;width:auto;max-width:none}
.still img{max-height:240px}
.software{margin-top:22px;padding-top:12px;border-top:1px solid var(--scrub-divide)}
.software>summary{cursor:pointer;display:flex;gap:10px;align-items:baseline;font-weight:600;min-height:32px}
.software>summary .small{font-weight:400;margin:0}
.software .made{margin-top:12px}
.in-fold>summary{cursor:pointer;color:var(--scrub-text-2);font-size:13.5px;margin-bottom:10px;min-height:32px}
.via-head{display:inline-flex;align-items:center;gap:5px;color:var(--scrub-text-2);font-size:12.5px;white-space:nowrap}
.via-head svg{width:14px;height:14px;opacity:.8}
@media (min-width:861px){ .in-fold>summary{display:none} }
@media (max-width:860px){
  .stage[data-kind="reading"]{max-height:60vh}
  .stage[data-kind="media"] .view video,.stage[data-kind="media"] .view img{max-height:52vh}
  .rhead .dlc{margin-left:0;width:100%}
  .rhead .dl-one,.rhead .dl-chip{flex:1;min-height:44px}
  .strip{flex-direction:column;gap:14px}
  .snext{order:0;max-width:none;width:100%;flex:none}
  .rline{order:1;flex:none}
  /* A finished job opens on what it made (F-71); Input folds to one line. */
  .node[data-state="done"] .io-out{order:0;border-bottom:0}
  .node[data-state="done"] .io-in{order:5}
  .node[data-state="done"]>.side{order:6}
  .node[data-state="done"]>.jh{order:7}
}
.tl-pick select{width:auto;max-width:100%;min-height:34px;padding:4px 8px;font-size:13px}
.tl-dur{display:flex;gap:4px;align-items:center}
.tl-dur input{width:70px;min-height:34px;padding:4px 8px}
.tl textarea,.tl input[type=text]{font:inherit;font-size:14px}
.tl-clip{width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px;background:color-mix(in srgb,var(--scrub-text) 8%,transparent);display:flex;align-items:center;justify-content:center}
.tl-go{display:flex;gap:10px;flex-wrap:wrap}
/* Nothing yet (F-44): Scrub's first question, or an empty scene. */
.tl-ask{max-width:560px;margin:40px auto 24px;display:flex;flex-direction:column;gap:12px}
.tl-from-card{max-width:none;margin:8px 0 24px}
/* Its running card where its buttons stood; stopped, the job's words in the error colour (SCR-139). */
.tl-from-card .tl-go[hidden],.tl-from-run[hidden]{display:none}
/* While the start card asks, its own blocks name what is asked: the block's heading above them would say it twice. */
.io:has(>.io-v .tl-start:not([hidden]) .tl-from-card)>.io-h{display:none}
.tl-from-run .run{margin:0}
.tl-from-line:empty{display:none}
.tl-from-line.stopped{color:var(--scrub-err)}
.tl-ask h2{font-size:24px;line-height:1.2;letter-spacing:-.01em;margin:0}
.tl-ask textarea{width:100%;max-width:none;box-sizing:border-box;min-height:104px}
@media (max-width:900px){.tl-work{grid-template-columns:1fr}.tl-right{position:static;order:-1}.tl-stage[data-ratio="9:16"] .tl-canvas{width:min(100%,calc(46vh * 9 / 16))}}
/* Stacked too when the builder itself is narrow, whatever the window: Job
   history open beside it left the scenes 80 px (3 Oct 2026). */
@container (max-width:680px){.tl-work{grid-template-columns:1fr}.tl-right{position:static;order:-1}.tl-stage[data-ratio="9:16"] .tl-canvas{width:min(100%,calc(46vh * 9 / 16))}}
.tl-thumb{position:relative}
.tl-up{position:absolute;left:0;right:0;bottom:0;height:4px;background:color-mix(in srgb,var(--scrub-text) 20%,transparent)}
.tl-up-fill{display:block;height:100%;width:0;background:var(--scrub-accent-fill);transition:width .2s}
.tl-hint{margin:0}
/* A scene's image, in one place (F-60): its choice, then what fits it. */
.tl-pic{display:flex;flex-direction:column;gap:10px;padding-top:12px;border-top:1px solid var(--scrub-line)}
.tl-pic-h{margin:0}
.tl-pic textarea{width:100%;max-width:none;box-sizing:border-box}
.tl .tl-pic .choices{grid-template-columns:repeat(3,minmax(0,1fr))}
.tl-pic-line{display:flex;align-items:center;gap:6px 12px;flex-wrap:wrap;margin:0;font-size:13px;color:var(--scrub-text-2)}
.tl-pic-failed{color:var(--scrub-err)}
.tl-pic-file{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0}
.tl-pic-file b{font-weight:600;overflow-wrap:anywhere}
.tl-pic-hint{margin:0;color:var(--scrub-text-2)}
/* Tabs inside a panel: the Input and Output tabs' look, at every width. */
.tl-tabs{display:flex;gap:4px;border-bottom:1px solid var(--scrub-line-2)}
.tl-tabs button{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--scrub-text-2);font:600 14px/1 var(--scrub-sans);padding:10px 12px;min-height:0;margin-bottom:-1px;width:auto}
.tl-tabs button[aria-selected=true]{color:var(--scrub-text);border-bottom-color:var(--scrub-text)}
.tl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px}
.tl-grid:empty{display:none}
button.tl-tile{all:unset;box-sizing:border-box;display:flex;flex-direction:column;gap:3px;min-width:0;cursor:pointer;font-size:12px;color:var(--scrub-text)}
button.tl-tile img,button.tl-tile .tl-clip{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:6px;background:color-mix(in srgb,var(--scrub-text) 8%,transparent);display:flex;align-items:center;justify-content:center}
button.tl-tile:focus-visible img,button.tl-tile:focus-visible .tl-clip{outline:2px solid var(--scrub-text);outline-offset:2px}
button.tl-tile.on img,button.tl-tile.on .tl-clip{outline:2px solid var(--scrub-text);outline-offset:2px}
.tl-tile-n{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tl-find{width:100%;font:inherit;font-size:14px;padding:9px 12px;border:1px solid var(--scrub-line);border-radius:var(--scrub-radius);background:var(--scrub-surface);color:var(--scrub-text)}
/* Media (F-112): this video's files and every file, beside the work.
   Folded to a strip until opened; open from 1280 px. */
.tl-media{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0}
.tl-work>.tl-media{grid-column:1/-1}
/* Its head as Job history's: the name, how many, the view and the fold. */
.tl-mh{display:flex;align-items:center;gap:8px;padding:12px 8px 10px 16px}
.tl-mt{font-size:14px;font-weight:600;white-space:nowrap}
.tl-mview{display:inline-flex;gap:2px;margin-left:auto}
.tl-mview button{width:28px;height:28px;min-height:0;padding:0;display:inline-flex;align-items:center;justify-content:center;background:none;border:0;border-radius:var(--scrub-radius);color:var(--scrub-text-2);cursor:pointer}
.tl-mview button:hover{background:var(--scrub-line-2);color:var(--scrub-text)}
.tl-mview button[aria-pressed=true]{color:var(--scrub-text);background:color-mix(in srgb,var(--scrub-text) 8%,transparent)}
.tl-mh .tl-mfold{margin-left:0}
.tl-media[data-open=false] .tl-min,.tl-media[data-open=false] .tl-mview{display:none}
.tl-media[data-open=false] .tl-mfold{margin-left:auto}
.tl-media[data-open=false] .tl-mfold svg{transform:rotate(180deg)}
.tl-min{display:flex;flex-direction:column;gap:8px;min-height:0;flex:1 1 auto;padding:0 12px 12px}
.tl-work>.tl-media{border:1px solid transparent;border-radius:var(--scrub-r-panel);background:var(--scrub-surface)}
/* One across, two across or a list. */
.tl-media[data-view=one] .tl-mgrid{grid-template-columns:minmax(0,1fr)}
.tl-media[data-view=one] .tl-tile img{aspect-ratio:auto;height:auto;max-height:320px}
.tl-media[data-view=one] .tl-tile .tl-clip{aspect-ratio:16/9}
.tl-media[data-view=two] .tl-mgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
.tl-media[data-view=list] .tl-mgrid{grid-template-columns:minmax(0,1fr);gap:2px}
.tl-media[data-view=list] .tl-tile{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:10px;row-gap:0;align-items:center;padding:4px;border-radius:var(--scrub-radius)}
.tl-media[data-view=list] .tl-tile>img,.tl-media[data-view=list] .tl-tile>.tl-clip{grid-row:1/span 2;width:40px;height:40px;aspect-ratio:1}
.tl-media[data-view=list] .tl-tile:hover{background:var(--scrub-line-2)}
.tl-media .tl-tabs button{font-size:13px;padding:8px}
.tl-media .tl-find{font-size:13px;padding:7px 10px}
.tl-mgrid{grid-template-columns:repeat(auto-fill,minmax(76px,1fr));overflow-y:auto;min-height:0;max-height:420px;align-content:start;padding:4px}
.tl-mstatus{margin:0}
.tl-mstatus:empty{display:none}
.tl-mfoot{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid var(--scrub-line-2);padding-top:8px}
.tl-mmake{display:flex;flex-direction:column;gap:6px;border-top:1px solid var(--scrub-line-2);padding-top:8px}
.tl-mmake[hidden]{display:none}
.tl-mmake textarea{width:100%;font:inherit;font-size:13px;padding:7px 10px;border:1px solid var(--scrub-line);border-radius:var(--scrub-radius);background:var(--scrub-surface);color:var(--scrub-text);resize:vertical}
.tl-mmk-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0}
.tl-media button.tl-tile{cursor:grab;position:relative}
.tl-media .tl-tile .tl-up{top:0;bottom:auto;border-radius:6px 6px 0 0}
.tl-media button.tl-tile:active{cursor:grabbing}
/* Carrying a file out of Media (F-141): its card lifts and follows the
   pointer, its tile stays behind faint; a + in the blue by the pointer where
   it can be let go (founder, 10 Oct 2026); let go, it shrinks into its place
   or flies back to its tile. */
.tl-media button.tl-tile.carried{opacity:.35}
.tl-carrying,.tl-carrying *{cursor:grabbing!important;-webkit-user-select:none!important;user-select:none!important}
.tl-carry{position:fixed;left:0;top:0;z-index:90;pointer-events:none;will-change:transform}
.tl-carry-in{display:block;overflow:hidden;border-radius:6px;background:var(--scrub-surface);box-shadow:0 18px 40px -12px rgba(0,0,0,.55),0 0 0 1px var(--scrub-line);transform:rotate(-3deg);opacity:.8;animation:tl-lift .18s ease-out;transition:transform .14s ease-out,opacity .14s}
.tl-carry-in>img,.tl-carry-in>.tl-clip{display:flex;align-items:center;justify-content:center;width:100%;height:100%;object-fit:cover;font-size:12px;color:var(--scrub-text);background:color-mix(in srgb,var(--scrub-text) 8%,var(--scrub-surface))}
.tl-carry-in>.tl-clip.tl-snd{background:var(--scrub-tile-audio);color:var(--scrub-tile-audio-ink)}
.tl-carry.ok .tl-carry-in{opacity:.95;transform:rotate(0) scale(.9)}
.tl-carry.land .tl-carry-in{transition:transform .16s ease-in,opacity .16s ease-in;transform:scale(.15);opacity:0}
.tl-carry.home{transition:transform .2s ease-in-out}
.tl-carry.home .tl-carry-in{transition:transform .2s ease-in-out,opacity .2s;transform:scale(var(--from,1));transform-origin:0 0;opacity:.3}
@keyframes tl-lift{from{transform:rotate(0) scale(var(--from,1));opacity:1;box-shadow:none}}
.tl-cplus{position:fixed;z-index:91;display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--scrub-accent-fill);color:var(--scrub-on-accent);box-shadow:0 0 0 2px var(--scrub-bg),0 6px 14px -6px rgba(0,0,0,.6);pointer-events:none;animation:tl-pop .16s cubic-bezier(.3,1.6,.6,1)}
.tl-cplus[hidden]{display:none}
@keyframes tl-pop{from{transform:scale(.3);opacity:0}}
.tl-dropat{position:absolute;top:2px;bottom:2px;width:2px;margin-left:-1px;border-radius:1px;background:var(--scrub-text);pointer-events:none;animation:tl-dropin .14s ease-out}
@keyframes tl-dropin{from{opacity:0;transform:scaleY(.4)}}
@media (prefers-reduced-motion:reduce){.tl-carry-in,.tl-cplus,.tl-dropat,.tl-stage.tl-dropping::after{animation:none!important;transition:none!important}}
div.tl-tile{position:relative;display:flex;flex-direction:column;gap:3px;min-width:0;font-size:12px;color:var(--scrub-text)}
div.tl-tile img,div.tl-tile .tl-clip{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:6px;opacity:.6}
div.tl-tile .tl-up{top:0;bottom:auto;border-radius:6px 6px 0 0}
.tl-tile .tl-clip.tl-snd{background:var(--scrub-tile-audio);color:var(--scrub-tile-audio-ink)}
.tl-clip.tl-snd .tl-ico{width:22px;height:22px}
.tl-mveil{position:absolute;inset:0;display:none;align-items:center;justify-content:center;text-align:center;padding:16px;border:2px dashed var(--scrub-text);border-radius:var(--scrub-radius-lg);background:color-mix(in srgb,var(--scrub-surface) 92%,transparent);font-weight:600;font-size:13px;z-index:3;pointer-events:none}
.tl-mveil span{display:none}
.tl-media.tl-mdrop .tl-mveil,.tl-media.tl-mout .tl-mveil{display:flex}
.tl-media.tl-mdrop .tl-mv-in,.tl-media.tl-mout .tl-mv-out{display:block}
.tl-placing .tl-w,.tl-placing .tl-chip,.tl-placing .tl-stage,.tl-placing .tl-track[data-row^=pics],.tl-placing .tl-track[data-row=music],.tl-placing .tl-track[data-row=sounds]{cursor:copy}
.tl-track.tl-drop{background:color-mix(in srgb,var(--scrub-text) 9%,transparent)}
.tl-more{padding:2px 8px;min-height:30px;font-weight:800;letter-spacing:.06em}
/* The menu on an image or a sound (F-112): what can be done to it. */
.tl-menu{position:fixed;z-index:80;min-width:200px;max-width:300px;padding:6px;background:var(--scrub-raised);color:var(--scrub-text);border:0;border-radius:var(--scrub-r-float);box-shadow:var(--scrub-shadow-float);font:13px/1.3 var(--scrub-sans)}
.tl-menu.sub{position:absolute}
.tl-menu-h{padding:5px 9px 6px;color:var(--scrub-text-2);font-size:11.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tl-menu button{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:8px;width:100%;padding:7px 9px;border-radius:6px;cursor:pointer;white-space:nowrap}
.tl-menu button:hover,.tl-menu button:focus-visible,.tl-menu button.open{background:color-mix(in srgb,var(--scrub-text) 8%,transparent)}
.tl-menu button.danger{color:var(--scrub-err)}
.tl-menu-ck{width:14px;flex:none;text-align:center}
.tl-menu-k{margin-left:auto;padding-left:16px;color:var(--scrub-text-2)}
.tl-menu hr{border:0;border-top:1px solid var(--scrub-line-2);margin:4px 2px}
@media (pointer:coarse){.tl-menu button{padding:11px 10px}}
@media (max-width:640px){.tl-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* The script as continuous prose (F-76): a numbered box where each scene
   begins, chips where images, words on screen and sounds begin, a scene
   with nothing said as a pause of its own. */
.tl-script{display:flex;flex-direction:column;gap:8px;min-width:0}
.tl-script{position:relative}
.tl-addbar{position:absolute;z-index:8;top:0;left:0;display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px;max-width:100%;box-sizing:border-box;padding:6px 8px;border:1px solid var(--scrub-line);border-radius:var(--scrub-radius);background:var(--scrub-surface);box-shadow:0 8px 24px rgba(0,0,0,.2)}
.tl-selbar{padding:4px}
.tl-addbar[hidden]{display:none}
.tl-plus{flex:none;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin-left:4px;vertical-align:middle;border:1px solid var(--scrub-line);border-radius:6px;background:var(--scrub-surface);color:var(--scrub-text);font:600 17px/1 var(--scrub-sans);cursor:pointer;-webkit-user-select:none;user-select:none}
.tl-plus:hover{border-color:var(--scrub-text-2)}
.tl-plus:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.tl-endrow{display:flex;align-items:center;gap:8px}
.tl-endrow>.tl-pause{flex:1 1 auto;min-width:0}
@media (max-width:640px){.tl-plus{width:44px;height:44px}}
.tl-prose{display:flex;flex-direction:column;gap:14px}
.tl-text{margin:0;font-size:16px;line-height:2;outline:none;border-radius:4px;padding:0 4px;margin-left:-4px;white-space:pre-wrap;word-break:break-word;cursor:text}
/* What the browser copies onto typed words from the word they replaced (F-125): typed text reads as the script does. */
.tl-text [style],.tl-text font{white-space:inherit!important;background:none!important;color:inherit!important;font:inherit!important}
.tl-text:focus{background:color-mix(in srgb,var(--scrub-text) 2.5%,transparent)}
.tl-block{border-radius:4px;padding:2px 0;transition:background .12s}
.tl-block.cur{background:color-mix(in srgb,var(--scrub-text) 8%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,var(--scrub-text) 8%,transparent)}
.tl-block.changed{text-decoration:underline dotted var(--scrub-warn);text-decoration-thickness:2px;text-underline-offset:5px}
.tl-lead{white-space:nowrap}
.tl-mark{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 4px;margin:0 6px 0 2px;vertical-align:middle;border:1px solid var(--scrub-line);border-radius:4px;font:600 11px/1 var(--scrub-mono);color:var(--scrub-text-2);background:var(--scrub-surface);cursor:pointer;user-select:none;box-sizing:border-box}
.tl-mark:hover{border-color:var(--scrub-text-2);color:var(--scrub-text)}
.tl-mark.sel{border-color:var(--scrub-text);box-shadow:inset 0 0 0 1px var(--scrub-text);color:var(--scrub-text)}
.tl-prose .tl-mark:not([data-mark="0"]){cursor:grab}
.tl-w{border-radius:3px;transition:color .1s}
.tl-w.past{color:var(--scrub-text-2)}
.tl-w.now{background:var(--scrub-text);color:var(--scrub-bg)}
.tl-w.here{box-shadow:inset 0 -2px 0 var(--scrub-text)}
.tl-w.key{font-weight:800}
.tl-accent{display:inline-flex;align-items:center;gap:8px}
.tl-w.tl-drop{background:color-mix(in srgb,var(--scrub-text) 22%,transparent);box-shadow:inset 2px 0 0 var(--scrub-text)}
.tl-pause{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;margin:0;padding:6px 8px;border:1px dashed var(--scrub-line);border-radius:var(--scrub-radius)}
.tl-pause.cur{border-style:solid;border-color:var(--scrub-text-2);background:color-mix(in srgb,var(--scrub-text) 5%,transparent)}
.tl-pause .tl-mark{margin-right:0}
.tl-chip{display:inline-flex;align-items:center;gap:3px;height:22px;margin:0 4px 0 1px;padding:1px;vertical-align:middle;border:1px solid var(--scrub-line);border-radius:5px;background:var(--scrub-surface);cursor:grab;user-select:none;box-sizing:border-box;line-height:1}
.tl-chip img{width:18px;height:18px;border-radius:3px;object-fit:cover;display:block}
.tl-t{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;font:800 11px var(--scrub-sans);font-style:normal;color:var(--scrub-text);background:color-mix(in srgb,var(--scrub-text) 9%,transparent);border-radius:3px}
.tl-chip .tl-ico{width:14px;height:14px;margin:0 2px}
.tl-chip.k-sound{background:color-mix(in srgb,var(--scrub-tile-image) 60%,var(--scrub-surface))}
.tl-chip:hover{border-color:var(--scrub-text-2)}
.tl-chip.sel{border-color:var(--scrub-text);box-shadow:0 0 0 1px var(--scrub-text)}
.tl-chip.tl-drop{border-color:var(--scrub-text);box-shadow:0 0 0 2px var(--scrub-text)}
/* A pause in the script (F-117): after the word it follows, how long it plays. */
.tl-pz{display:inline-flex;align-items:center;gap:2px;height:20px;margin:0 2px;padding:0 6px;vertical-align:middle;border:1px dashed var(--scrub-text-2);border-radius:10px;color:var(--scrub-text-2);font-size:11.5px;line-height:1;cursor:pointer;user-select:none;box-sizing:border-box;white-space:nowrap}
.tl-pz.ed{border-style:solid;border-color:var(--scrub-text);color:var(--scrub-text)}
.tl-pz:hover{border-color:var(--scrub-text)}
.tl-pz.sel{background:var(--scrub-text);color:var(--scrub-bg);border-color:var(--scrub-text)}
.tl-nw{white-space:nowrap}
.tl-said{color:var(--scrub-text);font-size:13px}
.tl-lookline{margin:-4px 0 6px}
.tl-ico{display:inline-block;width:16px;height:16px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5.5l10-2V16'/%3E%3Ccircle cx='6.5' cy='18' r='2.5'/%3E%3Ccircle cx='16.5' cy='16' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5.5l10-2V16'/%3E%3Ccircle cx='6.5' cy='18' r='2.5'/%3E%3Ccircle cx='16.5' cy='16' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat;opacity:.8}
.tl-status{margin:0}
/* Files on their way up, at the top of the script (F-160). */
.tl-upline{margin:0 0 12px;padding:12px 14px;border:1px solid transparent;border-radius:var(--scrub-r-panel);background:var(--scrub-surface)}
.tl-upline[hidden]{display:none}
.tl-upline .uptrack{height:8px;border-radius:4px}
.tl-upline .uptext{font-size:13.5px;color:var(--scrub-text)}
.tl-upline .uptext b{font-size:13.5px}
.tl-status[hidden]{display:none}
/* The chosen scene's or thing's settings, first in Configuration. */
.tl-panel{display:flex;flex-direction:column;gap:10px;border:1px solid transparent;border-radius:var(--scrub-r-panel);padding:14px 16px;background:var(--scrub-surface);min-width:0;margin:0 0 12px}
.tl-panel:empty{display:none}
.tl-panel p{margin:0}
.tl-ph{display:flex;align-items:center;gap:8px;min-width:0}
.tl-ph img{width:28px;height:28px;border-radius:4px;object-fit:cover;flex:none}
.tl-ph .tl-mark{margin:0;cursor:default}
.tl-ph b{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.tl-ph .scrub-num{margin-left:auto;white-space:nowrap}
.tl-x{padding:2px 8px;min-height:30px}
.tl-pf{display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:var(--scrub-text-2);margin:0;min-width:0}
.tl-panel select,.tl-panel input[type=text],.tl-panel textarea{width:100%;max-width:100%;min-width:0;font:inherit;font-size:13.5px;color:var(--scrub-text);box-sizing:border-box}
.tl-panel input[type=range]{width:100%;accent-color:var(--scrub-text)}
.tl-panel .choices{grid-template-columns:repeat(3,minmax(0,1fr))}
/* The voice list in the Voice settings (F-162): one voice a row, as on the Script desk. */
.tl-panel .choices.rows{grid-template-columns:minmax(0,1fr)}
.tl-panel .sd-voices{overflow-x:hidden}
.tl-panel .choices.rows .opt small{white-space:normal;min-width:0}
.tl-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
.tl-unit{display:inline-flex;align-items:center;gap:6px}
.tl-check{display:flex;align-items:flex-start;gap:8px;font-size:13px;color:var(--scrub-text)}
.tl-here{display:flex;flex-direction:column;gap:4px}
.tl-hi{display:flex;align-items:center;gap:8px;width:100%;text-align:left;background:none;border:1px solid var(--scrub-line-2);border-radius:var(--scrub-radius);padding:4px 8px 4px 4px;color:var(--scrub-text);font:500 13px var(--scrub-sans);cursor:pointer;min-height:36px}
.tl-hi:hover{border-color:var(--scrub-text-2)}
.tl-hi .tl-chip{margin:0;cursor:pointer}
.tl-hi span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.tl-prow{display:flex;flex-wrap:wrap;gap:2px 6px}
.tl-phint:empty{display:none}
.tl-tag{position:fixed;z-index:60;pointer-events:none;background:var(--scrub-text);color:var(--scrub-bg);font:600 12px var(--scrub-sans);padding:5px 9px;border-radius:5px;white-space:nowrap;box-shadow:0 6px 18px rgba(0,0,0,.3)}
.tl-tag[hidden]{display:none}
/* The timeline strip: when things begin and end, kept in view under the script. */
.tl-strip{grid-column:1/-1;position:sticky;bottom:0;z-index:5;border:1px solid var(--scrub-line);border-radius:var(--scrub-r-panel) var(--scrub-r-panel) 0 0;background:var(--scrub-surface);box-shadow:0 -10px 24px rgba(0,0,0,.18);overflow:hidden}
.tl-sh{display:flex;align-items:center;gap:8px;padding:4px 10px;border-bottom:1px solid var(--scrub-line-2)}
.tl-sh button,.tl-controls button{-webkit-user-select:none;user-select:none}
.tl-sh:empty{display:none}
.tl-rul{display:grid;grid-template-columns:44px minmax(0,1fr);flex:none;border-bottom:1px solid var(--scrub-line-2)}
.tl-rul>span{border-right:1px solid var(--scrub-line-2)}
.tl-rview{overflow:hidden;position:relative;min-width:0}
.tl-rul .tl-ruler{border-bottom:0;touch-action:none;will-change:transform}
.tl-gap{flex:1}
.tl-z{flex:none;width:30px;min-width:30px;height:30px;padding:0;display:inline-flex;align-items:center;justify-content:center;background:var(--scrub-bg);border:1px solid var(--scrub-line);border-radius:var(--scrub-radius);color:var(--scrub-text);font:600 13px var(--scrub-sans);cursor:pointer}
.tl-z[data-zoom="0"]{width:auto;padding:0 8px}
.tl-sb{display:grid;grid-template-columns:44px minmax(0,1fr)}
.tl-names{border-right:1px solid var(--scrub-line-2)}
.tl-names div{display:flex;align-items:center;justify-content:center;padding:0 8px;font-size:12px;color:var(--scrub-text-2);border-bottom:1px solid var(--scrub-line-2)}
.tl-scroll{overflow-x:auto;overflow-y:hidden;position:relative}
.tl-lane{position:relative;min-width:100%;user-select:none}
.tl-ruler{height:22px;position:relative;border-bottom:1px solid var(--scrub-line-2);cursor:pointer}
.tl-ruler span{position:absolute;top:4px;font:500 11px var(--scrub-mono);color:var(--scrub-text-2);transform:translateX(3px)}
.tl-ruler i{position:absolute;bottom:0;width:1px;height:5px;background:var(--scrub-line)}
.tl-track{position:relative;border-bottom:1px solid var(--scrub-line-2)}
.tl-band{position:absolute;top:3px;bottom:3px;border-radius:4px;background:color-mix(in srgb,var(--scrub-text) 6%,transparent);font-size:12px;color:var(--scrub-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 8px;line-height:calc(var(--rh,28px) - 6px);cursor:pointer}
.tl-band.alt{background:color-mix(in srgb,var(--scrub-text) 10%,transparent)}
.tl-band b{color:var(--scrub-text);margin-right:5px;font-family:var(--scrub-mono)}
.tl-band .tl-hd.e{right:0}
.tl-band .tl-hd.e:after{content:'';position:absolute;top:50%;right:2px;width:3px;height:12px;margin-top:-6px;border-radius:2px;background:var(--scrub-text-2);opacity:0}
.tl-band:hover .tl-hd.e:after{opacity:1}
@media (hover:none){.tl-band .tl-hd.e:after{opacity:.6}}
.tl-cut{position:absolute;top:22px;bottom:0;width:0;border-left:1px dashed color-mix(in srgb,var(--scrub-text) 35%,transparent);pointer-events:none;z-index:1}
.tl-vline{position:absolute;top:3px;bottom:3px;border-radius:4px;background:color-mix(in srgb,var(--scrub-tile-audio) 70%,var(--scrub-surface));color:var(--scrub-tile-audio-ink);overflow:hidden}
.tl-vline.unvoiced{background:none;border:1px dashed var(--scrub-line);color:var(--scrub-text-2)}
.tl-vline svg{position:absolute;left:0;top:1px;height:calc(100% - 17px)}
.tl-vline .ws{position:absolute;left:0;right:0;bottom:1px;height:13px}
.tl-vline .ws span{position:absolute;font-size:11px;line-height:13px;color:var(--scrub-text);padding-left:2px;white-space:nowrap}
.tl-it{position:absolute;border-radius:4px;border:1px solid var(--scrub-line);overflow:hidden;cursor:grab;font-size:12px;line-height:1.2;white-space:nowrap;text-overflow:ellipsis;z-index:2;box-sizing:border-box}
.tl-it.sel{box-shadow:0 0 0 2px var(--scrub-text);z-index:4;overflow:visible}
/* Its words stay in its box, chosen too, where its handles hang outside (SCR-193). */
.tl-it-t{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.tl-it.open-end{border-right-style:dashed}
.tl-ipic{top:16px;bottom:4px;background-repeat:repeat-x;background-size:auto 100%;color:#fff}
.tl-ipic.ground{display:flex;align-items:center;padding:0 6px;font-weight:600}
/* A clip's frames along its block (F-115), its name over them. */
.tl-ipic.clip{background:#111;overflow:hidden}
.tl-film{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.tl-film img{position:absolute;top:0;height:100%;object-fit:cover;border-right:1px solid rgba(0,0,0,.4)}
.tl-film-n{position:relative;z-index:1;display:inline-block;max-width:calc(100% - 8px);margin:3px 4px;padding:1px 5px;border-radius:4px;font-size:10.5px;font-weight:600;line-height:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff;background:rgba(0,0,0,.55)}
.tl-iwd{top:4px;bottom:4px;background:color-mix(in srgb,var(--scrub-text) 8%,var(--scrub-surface));color:var(--scrub-text);font-weight:600;padding:0 8px;line-height:calc(var(--rh,28px) - 10px);overflow:hidden}
.tl-iwd.lo{background:color-mix(in srgb,var(--scrub-text) 14%,var(--scrub-surface))}
/* Captions as they are shown (F-117): what each shows; one set by hand marked, a hidden one dashed. */
.tl-icap{position:absolute;top:4px;bottom:4px;border-radius:4px;border:1px solid var(--scrub-line);background:color-mix(in srgb,var(--scrub-text) 5%,var(--scrub-surface));color:var(--scrub-text);font-size:12px;font-weight:600;padding:0 6px;line-height:calc(var(--rh,28px) - 10px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;box-sizing:border-box;z-index:2}
.tl-icap.set{border-color:var(--scrub-text-2)}
.tl-icap.set::before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--scrub-text);margin-right:5px;vertical-align:2px}
.tl-icap.hid{background:none;border-style:dashed;color:var(--scrub-text-2);text-decoration:line-through}
.tl-icap.sel{box-shadow:0 0 0 2px var(--scrub-text);z-index:4}
.tl-span{position:absolute;top:0;bottom:0;background:color-mix(in srgb,var(--scrub-text) 16%,transparent);border-left:1px solid var(--scrub-text-2);border-right:1px solid var(--scrub-text-2);pointer-events:none;z-index:5}
.tl-capedge{position:absolute;top:2px;bottom:2px;width:12px;margin-left:-6px;cursor:ew-resize;z-index:5}
.tl-capedge::after{content:"";position:absolute;left:5px;top:6px;bottom:6px;width:2px;border-radius:1px;background:var(--scrub-text-2);opacity:0}
.tl-track:hover .tl-capedge::after{opacity:.9}
/* A pause on the voice (F-117): striped, as long as it plays; its end dragged. */
.tl-ipz{position:absolute;top:3px;bottom:3px;border-radius:3px;border:1px dashed var(--scrub-text-2);background:repeating-linear-gradient(135deg,transparent 0 4px,color-mix(in srgb,var(--scrub-text) 14%,transparent) 4px 6px) var(--scrub-surface);color:var(--scrub-text-2);font-size:10.5px;display:flex;align-items:flex-end;justify-content:center;padding-bottom:2px;box-sizing:border-box;cursor:pointer;z-index:3}
.tl-ipz.ed{border-style:solid;border-color:var(--scrub-text);color:var(--scrub-text)}
.tl-ipz.cut{border-width:0 0 0 2px;border-radius:0;background:none}
/* Stretching the quiet (F-157): a voiced line's ends and its first and last caption's, and a grip between two words with no pause. */
.tl-vline .tl-hd:after,.tl-icap .tl-hd:after{content:'';position:absolute;top:50%;width:3px;height:12px;margin-top:-6px;border-radius:2px;background:currentColor;opacity:.45}
.tl-vline .tl-hd.s:after,.tl-icap .tl-hd.s:after{left:2px}
.tl-vline .tl-hd.e:after,.tl-icap .tl-hd.e:after{right:2px}
.tl-vline:hover .tl-hd:after,.tl-icap:hover .tl-hd:after,.tl-hd:hover:after{opacity:.9}
.tl-wq{position:absolute;top:0;bottom:0;width:10px;margin-left:-5px;cursor:ew-resize;z-index:4}
.tl-wq:after{content:'';position:absolute;left:4px;top:28%;bottom:28%;border-left:2px dotted currentColor;opacity:0}
.tl-vline:hover .tl-wq:after{opacity:.55}
.tl-wq:hover:after{opacity:1}
@media (hover:none){.tl-vline .tl-hd:after,.tl-icap .tl-hd:after{opacity:.6}.tl-wq:after{opacity:.4}}
.tl-ipz.sel{box-shadow:0 0 0 2px var(--scrub-text);z-index:4}
.tl-ipz .tl-hd.e{right:-5px;width:10px}
.tl-ipz .tl-hd.e:after{content:'';position:absolute;top:50%;right:3px;width:3px;height:12px;margin-top:-6px;border-radius:2px;background:currentColor;opacity:.6}
.tl-ipz.sel .tl-hd.e:after{content:'';position:absolute;top:50%;right:1px;width:8px;height:14px;margin-top:-7px;border-radius:2px;background:var(--scrub-text);box-shadow:0 0 0 1px var(--scrub-surface);opacity:1}
.tl-isnd{top:3px;bottom:3px;height:auto;border-radius:6px;background:color-mix(in srgb,var(--scrub-tile-audio) 72%,var(--scrub-surface));color:var(--scrub-tile-audio-ink);display:flex;align-items:flex-start;gap:4px;padding:4px 6px;font-size:11px;overflow:hidden}
.tl-isnd>b,.tl-imusic>b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;z-index:1;color:var(--scrub-text)}
.tl-isnd>.tl-ico,.tl-imusic>.tl-ico,.tl-imusic>span{position:relative;z-index:1}
/* A sound's wave, drawn from the file (F-115): under its name, to its ends. */
.tl-wave{position:absolute;left:0;bottom:3px;height:calc(100% - 20px);pointer-events:none;opacity:.85}
.tl-isnd.lo{top:calc(var(--rh,34px) / 2 + 1px)}
.tl-isnd .tl-ico{width:11px;height:11px}
.tl-hd{position:absolute;top:0;bottom:0;width:8px;cursor:ew-resize;z-index:5}
.tl-hd.s{left:-1px}
.tl-hd.e{right:-1px}
.tl-it.sel .tl-hd:after{content:'';position:absolute;top:50%;width:8px;height:14px;margin-top:-7px;border-radius:2px;background:var(--scrub-text);box-shadow:0 0 0 1px var(--scrub-surface)}
.tl-it.sel .tl-hd.s:after{left:-4px}
.tl-it.sel .tl-hd.e:after{right:-4px}
.tl-head{position:absolute;top:0;bottom:0;width:0;border-left:2px solid var(--scrub-text);pointer-events:none;z-index:6}
.tl-meet{position:absolute;top:0;bottom:0;width:0;margin-left:-.5px;border-left:1px solid var(--scrub-text);pointer-events:none;z-index:5}
.tl-rhead{position:absolute;top:0;bottom:0;width:0;border-left:2px solid var(--scrub-text);pointer-events:none;z-index:2}
.tl-rhead:before{content:'';position:absolute;top:0;left:-6px;width:10px;height:10px;background:var(--scrub-text);clip-path:polygon(0 0,100% 0,50% 100%)}
@media (max-width:860px){.tl-strip{position:relative;bottom:auto!important;box-shadow:none;border-radius:var(--scrub-radius-lg)}.tl-panel{margin:0}}
@media (max-width:640px){.tl-sb,.tl-rul{grid-template-columns:36px minmax(0,1fr)}.tl-names div{padding:0 4px;font-size:10px}.tl-z{width:40px;min-width:40px;height:40px}.tl-hd{width:14px}.tl-chip{height:26px}.tl-pz{height:26px;padding:0 9px}.tl-capedge{width:18px;margin-left:-9px}.tl-wq{width:16px;margin-left:-8px}.tl-ipz .tl-hd.e{width:16px;right:-8px}.tl-chip img,.tl-t{width:22px;height:22px}.tl-mark{min-width:24px;height:24px}.tl-two{grid-template-columns:minmax(0,1fr)}}
.tl-when{margin:0}
/* The Script Desk (F-128, DESIGN.md Script desk): one plain text, a gutter
   and a rail beside each line, the take under it as one waveform. */
.sd{display:flex;flex-direction:column;gap:12px;min-width:0;container-type:inline-size;container-name:sd}
.sd-hint{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin:0 0 10px}
.sd-hint .sd-open{margin-left:auto}
.sd-hint{gap:6px}
/* Import's "i" (F-131): what it reads and how, in the Run button's tooltip card. */
.sd-imp{position:relative;display:inline-flex}
.sd-info{display:inline-grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:none;color:var(--scrub-text-2);cursor:help}
.sd-info:hover,.sd-imp.show .sd-info{color:var(--scrub-text)}
.sd-info:focus-visible{outline:2px solid var(--scrub-text);outline-offset:1px}
.sd-tip{display:none;position:absolute;z-index:7;right:0;top:calc(100% + 8px);width:max-content;max-width:min(340px,calc(100vw - 32px));padding:12px 14px;border:0;border-radius:var(--scrub-r-float);background:var(--scrub-raised);box-shadow:var(--scrub-shadow-float);color:var(--scrub-text);font-size:13.5px;line-height:1.45;white-space:normal}
.sd-ex{display:block;white-space:pre;margin:6px 0;padding:6px 8px;border-radius:4px;background:color-mix(in srgb,var(--scrub-text) 5%,transparent);font:11.5px/1.45 var(--scrub-mono);font-variant-ligatures:none;overflow-x:auto}
.sd-info:focus-visible+.sd-tip,.sd-imp.show .sd-tip{display:block}
@media (hover:hover){.sd-imp:hover .sd-tip{display:block}}
/* The sheet (founder, 10 Oct: "doesn't differentiate where the user works"):
   a raised surface, the gutter a tinted column as an editor's line numbers,
   the text on the sheet, the rail quiet at its edge. */
.sd-ed{position:relative;display:grid;grid-template-columns:108px minmax(0,1fr) 252px;min-height:220px;padding:12px 0 18px;border:1px solid var(--scrub-line);border-radius:var(--scrub-r-panel);background:var(--scrub-surface);box-shadow:0 1px 2px color-mix(in srgb,var(--scrub-text) 6%,transparent);transition:border-color .15s}
.sd-ed:focus-within{border-color:var(--scrub-text-2)}
.sd-gut{margin:-12px 0 -18px;padding:12px 0 18px;background:color-mix(in srgb,var(--scrub-text) 4%,var(--scrub-surface));border-right:1px solid var(--scrub-line-2);border-radius:var(--scrub-radius-lg) 0 0 var(--scrub-radius-lg)}
.rsc{display:flex;flex-direction:column;gap:14px}
.rsc-stages{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 18px}
.rsc-stages li{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;color:var(--scrub-text-2)}
.rsc-stages li:before{content:"";width:9px;height:9px;border-radius:50%;border:1.5px solid currentColor;box-sizing:border-box;flex:none}
.rsc-stages li.now{color:var(--scrub-text);font-weight:600}
.rsc-stages li.now:before{border-color:var(--scrub-accent);background:var(--scrub-accent);animation:rsc-breathe 1.4s ease-in-out infinite}
.rsc-stages li.done:before{border-color:var(--scrub-ok);background:var(--scrub-ok)}
@keyframes rsc-breathe{50%{opacity:.35}}
/* Each line keeps its own height and the list scrolls: a grid item with
   overflow hidden may otherwise shrink to nothing to fit the list's height. */
.rsc-lines{list-style:none;margin:0;padding:0;display:grid;grid-auto-rows:max-content;gap:4px;max-height:320px;overflow-y:auto}
.rsc-lines li{position:relative;display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:baseline;gap:10px;padding:7px 10px;border-radius:var(--scrub-radius);background:var(--scrub-surface);border:1px solid var(--scrub-line-2);overflow:hidden}
.rsc-n{font:600 11px/1 var(--scrub-mono);color:var(--scrub-text-2)}
.rsc-at{font-size:12px;color:var(--scrub-text-2)}
.rsc-t{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rsc-lines li:not(:has(.rsc-at)){grid-template-columns:auto minmax(0,1fr)}
.rsc-lines li.making:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--scrub-text) 9%,transparent) 50%,transparent 100%);background-size:200% 100%;animation:scrub-shine 1.6s linear infinite;pointer-events:none}
.rsc-lines li.lit{border-color:color-mix(in srgb,var(--scrub-ok) 45%,var(--scrub-line-2))}
.rsc-lines li.lit .rsc-n{color:var(--scrub-ok)}
@media (prefers-reduced-motion:reduce){.rsc-lines li.making:after,.rsc-stages li.now:before{animation:none}}
.sd-line[hidden],.sd-note[hidden]{display:none}
.sd-gut,.sd-rail{position:relative}
.sd-txt{position:relative;min-width:0}
.sd-mir,.sd-ta{font:16px/1.75 var(--scrub-sans);padding:0;margin:0;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;letter-spacing:normal;box-sizing:border-box}
.sd-mir{position:absolute;inset:0;color:transparent;pointer-events:none;overflow:hidden}
/* A note's row (SCR-493): a soft block behind it, so a note reads as a note, never as words said. */
.sd-r.note{background:color-mix(in srgb,var(--scrub-text) 7%,transparent);border-radius:var(--scrub-radius)}
/* A heading (SCR-488): words with no time to be said in, ringed in dashes as a thing not said; its rail says Not read. */
.sd-r.head{outline:1.5px dashed var(--scrub-text-2);outline-offset:-1.5px;border-radius:var(--scrub-radius)}
.sd-r{padding:0 16px}
/* A line is one row (F-131): the line in hand, a changed one, the one being
   voiced and the ones a press would voice are marked across the gutter, the
   words and the rail alike. */
.sd-r.changed,.sd-g.changed,.sd-rr.changed{background:color-mix(in srgb,var(--scrub-warn) 13%,transparent)}
.sd-r.cur,.sd-g.cur,.sd-rr.cur{background:color-mix(in srgb,var(--scrub-text) 9%,transparent)}
.sd-r.will,.sd-g.will,.sd-rr.will{background:color-mix(in srgb,var(--scrub-accent) 12%,transparent)}
.sd-r.voicing,.sd-g.voicing,.sd-rr.voicing{background:linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--scrub-accent) 18%,transparent) 50%,transparent 100%) 0 0/200% 100%;animation:sd-sweep 1.2s linear infinite}
.sd-g.cur{box-shadow:inset 2px 0 0 var(--scrub-text-2)}
.sd-g.voicing{box-shadow:inset 2px 0 0 var(--scrub-accent)}
@keyframes sd-sweep{from{background-position:150% 0}to{background-position:-50% 0}}
/* Read along: the words over the text box, said grey and the one being said
   inverted, as Make a narrated video's script (.tl-w). */
.sd-w{border-radius:3px}
.sd.sd-reading .sd-ta{color:transparent}
.sd.sd-reading .sd-mir{color:var(--scrub-text)}
.sd-w.past{color:var(--scrub-text-2)}
.sd-w.now{background:var(--scrub-text);color:var(--scrub-bg)}
.sd-ta{position:relative;display:block;width:100%;max-width:none;min-height:190px;padding:0 16px;border:0;border-radius:4px;background:transparent;color:var(--scrub-text);resize:none;outline:none;overflow:hidden;caret-color:var(--scrub-text)}
.sd-ta::placeholder{color:var(--scrub-text-2)}

.sd-g{position:absolute;left:0;right:0;margin-top:12px;min-height:28px;padding:4px 8px 0 10px;box-sizing:border-box;display:flex;align-items:flex-start;gap:8px}
.sd-no{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:20px;padding:0 5px;border:1px solid var(--scrub-line);border-radius:4px;background:var(--scrub-surface);color:var(--scrub-text);font:600 11px/1 var(--scrub-mono);cursor:pointer;user-select:none}
.sd-pl:focus-visible,.sd-play:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.sd-at{font-size:12px;color:var(--scrub-text-2)}
.sd-dot{display:inline-block;width:8px;height:8px;margin-top:6px;border-radius:50%;flex:none;box-sizing:border-box;border:1.5px solid var(--scrub-text-2)}
.sd-dot.pop{animation:sd-pop .45s ease-out}
@keyframes sd-pop{40%{transform:scale(1.7)}}
.sd-dot.ok{background:var(--scrub-ok);border-color:var(--scrub-ok)}
.sd-dot.changed{background:var(--scrub-warn);border-color:var(--scrub-warn)}
.sd-dot.ok.alone{background:var(--scrub-surface);border:2.5px solid var(--scrub-ok)}
.sd-rr{position:absolute;left:0;right:0;min-height:28px;padding:0 12px 0 8px;box-sizing:border-box;display:flex;align-items:flex-start;justify-content:flex-end;gap:6px;white-space:nowrap}
.sd-rr>*{flex:none}
/* The rail keeps to its column (SCR-254): the length gives way first, cut
   short, and nothing is drawn over the line's words. */
.sd-rr{overflow:clip;overflow-clip-margin:4px}
.sd-rr>.sd-len{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
.sd-rr>.sd-over{flex:none}
/* The changed lines offered alone, or every line voiced as it reads (SCR-254). */
.sd-next{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:10px 0 0;color:var(--scrub-text-2)}
.sd-next[hidden]{display:none}
#run.sd-same{background:var(--scrub-surface);color:var(--scrub-text);border:1px solid var(--scrub-line)}
.sd-g .sd-at{line-height:20px}
.sd-at{font-size:12px;color:var(--scrub-text)}
.sd-at.est{color:var(--scrub-text-2)}
.sd-len,.sd-doing{line-height:28px}
.sd-doing{font-size:12px;color:var(--scrub-text)}
/* Each voiced line's own waveform; drawn in as its reading arrives. */
.sd-mw{width:44px;height:22px;margin-top:3px}
.sd-mw.draw{animation:sd-draw .6s ease-out both}
@keyframes sd-draw{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
/* Which reading plays: the take, or the line's own. */
.sd-takes{display:inline-flex;align-items:center;height:28px;padding:2px;box-sizing:border-box;border:1px solid var(--scrub-line);border-radius:999px}
.sd-takes button{all:unset;cursor:pointer;height:22px;padding:0 10px;border-radius:999px;font:600 12px/22px var(--scrub-sans);color:var(--scrub-text-2)}
.sd-takes button[aria-pressed="true"]{background:var(--scrub-text);color:var(--scrub-bg)}
.sd-takes button:focus-visible{outline:2px solid var(--scrub-text);outline-offset:1px}
@media (prefers-reduced-motion:reduce){.sd-r.voicing,.sd-g.voicing,.sd-rr.voicing,.sd-dot.pop,.sd-mw.draw{animation:none}}
.sd-len{font-size:12px;color:var(--scrub-text-2)}
.sd-len.over{color:var(--scrub-warn)}
.sd-pl{display:inline-grid;place-items:center;width:28px;height:28px;flex:none;padding:0;border:0;border-radius:6px;background:none;color:var(--scrub-text);cursor:pointer}
.sd-pl:hover{background:color-mix(in srgb,var(--scrub-text) 8%,transparent)}
.sd-pl[disabled]{opacity:.35;cursor:default}
.sd-pl svg{width:14px;height:14px}
.sd-one{min-height:28px;padding:0 10px}
.sd-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:8px 10px;border:1px solid var(--scrub-line);border-radius:var(--scrub-radius);background:var(--scrub-surface)}
.sd-line .small{margin:0;flex:1 1 100%}
.sd-line .sd-pl[disabled]{display:none}
.sd-note{margin:8px 0 0}
.sd-deck{position:relative;border:1px solid transparent;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);padding:12px 14px 14px}
.sd-trans{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.sd-time{margin:0}
.sd-play{display:grid;place-items:center;width:36px;height:36px;flex:none;padding:0;border:0;border-radius:50%;background:var(--scrub-text);color:var(--scrub-bg);cursor:pointer}
.sd-play[disabled]{opacity:.4;cursor:default}
.sd-play[hidden],.sd-time[hidden]{display:none}
.sd-meta{margin:0 0 0 auto;display:flex;flex-wrap:wrap;gap:4px 14px}
.sd-wave{display:block;width:100%;height:88px;margin-top:10px;border-radius:var(--scrub-radius);background:var(--scrub-bg);cursor:pointer;touch-action:none}
.sd-voices{position:relative;max-height:300px;overflow-y:auto;padding:2px}
.sd-vn{display:flex;align-items:center;gap:6px;min-width:0}
.sd-vn .sd-smp{margin:-6px 0 -6px -8px}
/* The Script Desk's settings (SCR-541): spaced as the side's own groups are. */
.sd-panel{display:flex;flex-direction:column;gap:18px}
.sd-panel .hint{margin:8px 0 0}
/* Narrower than its rail needs (a phone, or the work beside Configuration
   and Job history): the rail becomes a bar for the line the cursor is in. */
@container sd (max-width:600px){
  .sd-ed{grid-template-columns:104px minmax(0,1fr) 0}
  .sd-rail{display:none}
  .sd-meta{margin-left:0;width:100%}
}
@container sd (max-width:440px){
  .sd-ed{grid-template-columns:52px minmax(0,1fr) 0}
  .sd-at{display:none}
}
@media (max-width:640px){
  .sd-pl{width:40px;height:40px}
  .sd-one{min-height:40px}
  .sd-takes{height:40px}
  .sd-takes button{height:34px;line-height:34px}
  .sd-info{width:40px;height:40px}
}
/* From 861 px the desk fills the work, as the builder does (F-76): Run at
   the top right beside the tabs, the take pinned under the script. */
@media (min-width:861px){
  .work[data-open="in"]:has(.sd)>.io-in>.io>.io-h{display:none}
  .sd-deck{position:sticky;bottom:0;z-index:2}
  .work[data-open="in"]:has(.sd){position:relative}
  .work[data-open="in"]:has(.sd)>.runbar{position:absolute;top:13px;right:24px;max-width:calc(100% - 250px);padding:0;border:0;background:none;gap:12px;flex-wrap:nowrap;z-index:6}
  .work[data-open="in"]:has(.sd)>.runbar>button,.work[data-open="in"]:has(.sd)>.runbar>.run-credit{min-height:36px;padding:0 16px;font-size:14px}
  .work[data-open="in"]:has(.sd)>.runbar .price-line{min-width:0;font-size:13.5px;gap:10px}
  .work[data-open="in"]:has(.sd)>.runbar .price-line .what{white-space:nowrap}
}
/* From 861 px a video being built fills the work (F-76, founder, 4 Oct): the
   script and the preview side by side, the strip under them, each sized by
   its handle; nothing scrolls the page, and Run sits at the top right, beside
   the tabs. */
.tl-vsplit,.tl-hsplit{display:none}
@media (min-width:861px){
  .workpage .work[data-open="in"]:has(.tl-work:not([hidden])){overflow:hidden;position:relative;padding-bottom:14px}
  .work[data-open="in"]:has(.tl-work:not([hidden]))>.io-in,.work[data-open="in"]:has(.tl-work:not([hidden]))>.io-in>.io,.work[data-open="in"] .io-v:has(>.tl>.tl-work:not([hidden])),.work[data-open="in"] .tl:has(>.tl-work:not([hidden])){flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
  .work[data-open="in"]:has(.tl-work:not([hidden]))>.io-in>.io>.io-h{display:none}
  .work[data-open="in"]:has(.tl-work:not([hidden]))>.runbar{position:absolute;top:13px;right:24px;max-width:calc(100% - 250px);padding:0;border:0;background:none;gap:12px;flex-wrap:nowrap;z-index:6}
  .work[data-open="in"]:has(.tl-work:not([hidden]))>.runbar>button,.work[data-open="in"]:has(.tl-work:not([hidden]))>.runbar>.run-credit{min-height:36px;padding:0 16px;font-size:14px}
  .work[data-open="in"]:has(.tl-work:not([hidden]))>.runbar .price-line{min-width:0;font-size:13.5px;gap:10px}
  .work[data-open="in"]:has(.tl-work:not([hidden]))>.runbar .price-line .what{white-space:nowrap}
  .work[data-open="in"]:has(.tl-work:not([hidden]))>.runbar .price-line .scrub-price{font-size:15px}
  .work[data-open="in"] .tl-work:not([hidden]){flex:1 1 auto;min-height:0;display:grid;grid-template-columns:minmax(260px,1fr) 12px minmax(240px,var(--tl-right,400px));grid-template-rows:minmax(0,1fr) 12px minmax(0,var(--tl-strip,290px));gap:0;align-items:stretch}
  /* Media open beside the work (F-113): the script and the preview give way to it. */
  .ws.with-media .work[data-open="in"] .tl-work:not([hidden]){grid-template-columns:minmax(200px,1fr) 12px minmax(200px,var(--tl-right,400px))}
  .work[data-open="in"] .tl-work>.tl-left{grid-column:1;grid-row:1;overflow-y:auto;min-height:0;padding:2px 8px 12px 2px}
  .work[data-open="in"] .tl-work>.tl-vsplit{grid-column:2;grid-row:1;display:block;cursor:col-resize;position:relative;touch-action:none}
  .work[data-open="in"] .tl-work>.tl-right{grid-column:3;grid-row:1;position:static;top:auto;order:0;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:8px}
  .work[data-open="in"] .tl-work>.tl-right>.tl-stage{flex:1 1 auto;min-height:0;align-items:center;justify-content:center}
  .work[data-open="in"] .tl-work>.tl-right .tl-canvas{max-height:none;max-width:none}
  .work[data-open="in"] .tl-work>.tl-hsplit{grid-column:1/-1;grid-row:2;display:block;cursor:row-resize;position:relative;touch-action:none}
  .work[data-open="in"] .tl-work>.tl-strip{grid-column:1/-1;grid-row:3;position:relative;bottom:auto;box-shadow:none;border-radius:var(--scrub-radius-lg);display:flex;flex-direction:column;min-height:0;margin:0}
  .work[data-open="in"] .tl-work>.tl-strip>.tl-sb{flex:1 1 auto;min-height:0;overflow-y:auto}
  .tl-vsplit:after{content:'';position:absolute;top:8px;bottom:8px;left:5px;width:2px;border-radius:1px;background:var(--scrub-line-2)}
  .tl-hsplit:after{content:'';position:absolute;left:8px;right:8px;top:5px;height:2px;border-radius:1px;background:var(--scrub-line-2)}
  .tl-vsplit:hover:after,.tl-vsplit.on:after,.tl-vsplit:focus-visible:after,.tl-hsplit:hover:after,.tl-hsplit.on:after,.tl-hsplit:focus-visible:after{background:var(--scrub-text-2)}
  .tl-vsplit:focus-visible,.tl-hsplit:focus-visible{outline:none}
}
@media (max-width:640px){.board{grid-auto-columns:minmax(78vw,1fr)}}
/* Trying the API (F-38). */
.play{display:grid;grid-template-columns:minmax(0,380px) minmax(0,1fr);gap:24px;align-items:start}
.play-side{display:flex;flex-direction:column;gap:16px}
.play .field{display:flex;flex-direction:column;gap:6px}
.play .hint{margin:0;font-size:13px;color:var(--scrub-text-2)}
.play select,.play textarea,.play input{max-width:none}
.play-out #play-curl{white-space:pre;word-break:normal;overflow-x:auto}
.play-side textarea{font:12.5px/1.5 var(--scrub-mono);min-height:180px;resize:vertical}
.play-out{display:flex;flex-direction:column;gap:18px;min-width:0}
.play-out .io-json{min-height:80px;max-height:60vh;overflow:auto;white-space:pre-wrap;word-break:break-word}
.play-go{display:flex;gap:10px;flex-wrap:wrap}
.play-go button[hidden],.play-key button[hidden]{display:none}
.play-key{display:flex;gap:8px}
.play-key input{flex:1 1 auto;min-width:0}
.play-price{margin:0;font-size:14px}
.play-ok{display:flex;gap:8px;align-items:flex-start;font-size:13.5px}
.play-ok[hidden]{display:none}
@media (max-width:860px){.play{grid-template-columns:1fr}}
/* An offer to say yes to (F-34). */
/* Dots (SCR-498): a filled panel, its title larger, its buttons pills. */
.offer{border:1px solid var(--scrub-line-2);border-radius:var(--scrub-r-panel);background:var(--scrub-surface);padding:16px 18px;display:flex;flex-direction:column;gap:6px;max-width:560px;box-sizing:border-box}
.offer-t b{font-size:16px;font-weight:600;letter-spacing:-.015em;line-height:1.3}
.offer-t{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.offer .small{margin:0}
.offer .offer-short[hidden],.offer [data-topup][hidden]{display:none}
.offer-on{white-space:pre-line;overflow-wrap:anywhere;color:var(--scrub-text)}
.offer-b{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.offer-b button{min-height:40px;padding:0 20px;width:auto}
.offer-b button[hidden]{display:none}
.offer.gone{opacity:.5}
.offer.gone .offer-b{display:none}
/* A question card (F-44): the recommended choice first, each that runs priced. */
/* Dots (SCR-498): a filled panel; each choice a rounded block on the ground, the recommended one ringed, the chosen one in the accent's ring. */
.qcard{border:1px solid var(--scrub-line-2);border-radius:var(--scrub-r-panel);background:var(--scrub-surface);padding:16px;display:flex;flex-direction:column;gap:8px;max-width:560px;box-sizing:border-box}
.qcard .q{font-weight:600;font-size:16px;letter-spacing:-.015em;line-height:1.3;margin:0 2px 4px}
/* What Run runs, by the steps' own names, above the question (SCR-535). */
.qcard .qruns{font-size:13px;line-height:1.4;color:var(--scrub-text-2);margin:0 2px -4px}
.qopt{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 12px;width:100%;height:auto;min-height:0;padding:12px 14px;border:0;border-radius:var(--scrub-r-block);background:var(--scrub-bg);box-shadow:inset 0 0 0 1px var(--scrub-line-2);color:var(--scrub-text);font:inherit;text-align:left;white-space:normal;cursor:pointer;transition:background .15s var(--scrub-ease)}
.qopt:hover:not(:disabled){background:var(--scrub-surface-2)}
.qopt.rec{box-shadow:inset 0 0 0 1px var(--scrub-text)}
.qopt b{font-weight:600;font-size:15px;min-width:0;overflow-wrap:anywhere}
.qopt .scrub-price{font-size:14px;white-space:nowrap}
.qtag{grid-column:1/-1;font:var(--scrub-label);letter-spacing:.06em;text-transform:uppercase;color:var(--scrub-text-2)}
.qline{grid-column:1/-1;font-size:13px;line-height:1.45;color:var(--scrub-text-2)}
.qcard .qwhy{margin:0 2px}.qcard .qwhy .qtag{margin-right:2px}
.qopt.sel{box-shadow:inset 0 0 0 2px var(--scrub-text)}

.qrun{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.adjusting .qrun [data-run],.adjusting .offer-b [data-yes]{background:transparent;color:var(--scrub-text);border:1px solid var(--scrub-line);font-weight:600}
.qrun button{min-height:40px;padding:0 20px;width:auto}
/* A card's buttons are touch targets (SCR-471): 44 px on a phone, 40 above. */
@media (max-width:640px){.qrun button,.offer-b button{min-height:44px}}
/* A card written past (SCR-451): one quiet line where it stood, no buttons. */
/* Dots (SCR-498): a quiet filled line, nearly a pill at one line. */
.cfold{border:0;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);padding:9px 16px;display:flex;flex-wrap:wrap;gap:2px 8px;align-items:baseline;font-size:13.5px;line-height:1.45;color:var(--scrub-text-2);max-width:560px;box-sizing:border-box;overflow-wrap:anywhere}
.cfold b{font-weight:600;color:var(--scrub-text)}
.a-card .cfold{max-width:none}
.qcard.answered .qopt{cursor:default;opacity:.55}
.qcard.answered .qopt.taken{opacity:1;box-shadow:inset 0 0 0 1.5px var(--scrub-text)}
.a-card .qcard{max-width:none}
/* A voice's ▶ (founder, 7 November 2026): a round button with a line, ▶ centred, 44 px to press. */
.sd-pl.qhear{position:relative;width:44px;height:44px;border-radius:999px;background:none}
.sd-pl.qhear::before{content:'';position:absolute;inset:6px;border-radius:var(--scrub-r-pill);border:1.5px solid var(--scrub-text-2);background:none}
.sd-pl.qhear:hover{background:none}
.sd-pl.qhear:hover::before{border-color:var(--scrub-text)}
/* A solid ▶ about 40% of the ring (13 of 32 px), as the review mock-up draws it. */
.sd-pl.qhear svg{position:relative;width:24px;height:24px}
.qheard{position:relative}
.qheard .qhear{position:absolute;left:6px;top:50%;transform:translateY(-50%);z-index:1}
.qheard .qopt{padding-left:58px}
/* A file of theirs on a card (SCR-529): its square inside the choice, as a row of Your files leads with it; pressed, it plays the file or opens it under the choice, and never chooses. */
.qfile .qheard .fx.fsee{position:absolute;left:10px;top:50%;transform:translateY(-50%);z-index:1}
.qfile .qheard .qopt{padding-left:68px}
.qfile .flen[hidden]{display:none}
.qfile>.file-look{padding:8px 0 2px 68px}
.qmore-b{align-self:flex-start}
.qmore{display:flex;flex-direction:column;gap:8px}
.qmore[hidden],.hpick[hidden]{display:none}
/* Dots (SCR-498): the heard line is a block on the ground inside its card. */
.hline{display:flex;align-items:center;gap:4px;font-size:14px;color:var(--scrub-text);background:var(--scrub-bg);border-radius:var(--scrub-r-block);padding:2px 4px 2px 0}
.hline .hline-t{flex:1;min-width:0}
.hline .hline-t b{font-weight:600}
.hline .hswap{border-radius:var(--scrub-r-pill)}
.hline .hswap[aria-expanded="true"]{background:var(--scrub-inv);color:var(--scrub-on-inv)}
.hpick{display:flex;flex-direction:column;gap:6px;max-height:340px;overflow:auto;padding-right:2px}
.hpick .qopt.taken{box-shadow:inset 0 0 0 2px var(--scrub-accent-fill)}
/* Each part against its time (SCR-492): a block on the ground inside its card, a row a part. */
.offer .pc-label{margin:6px 0 0}
.pcs{display:flex;flex-direction:column;background:var(--scrub-bg);border-radius:var(--scrub-r-block);padding:2px 14px}
.pc{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:2px 12px;align-items:baseline;padding:10px 0;border-top:1px solid var(--scrub-divide)}
.pc:first-child{border-top:0}
.pc-when{font-size:12.5px;color:var(--scrub-text-2);white-space:nowrap}
.pc-how{font-size:13.5px;min-width:0;overflow-wrap:anywhere}
.pc-how.unsaid{color:var(--scrub-text-2)}
.pc-why{grid-column:2/-1;font-size:12.5px;line-height:1.45;color:var(--scrub-text-2)}
.pc-st{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:500;white-space:nowrap}
.pc-st i{position:relative;width:12px;height:12px;border-radius:50%;flex:none}
.pc-st.ok i{background:var(--scrub-ok)}
.pc-st.ok i:after{content:'';position:absolute;left:3.8px;top:1.6px;width:2.6px;height:6px;border:solid #fff;border-width:0 1.8px 1.8px 0;transform:rotate(45deg)}
.pc-st.wait{color:var(--scrub-warn)}.pc-st.wait i{border:2px solid var(--scrub-warn)}
.pc-st.mute{color:var(--scrub-text-2)}.pc-st.mute i{border:1.5px dashed var(--scrub-text-2)}
.pc-ends{margin:2px 0 0;font-size:13.5px}
@media (max-width:480px){.pc{grid-template-columns:minmax(0,1fr) auto}.pc-when,.pc-why{grid-column:1/-1}.pc-when.none{display:none}}
/* The assistant (F-34): a bubble at the bar's end, a conversation above it. */
.assist{position:fixed;right:12px;bottom:71px;z-index:7;width:min(400px,calc(100vw - 24px));max-height:min(620px,calc(100dvh - 140px));display:flex;flex-direction:column;border:0 solid var(--scrub-line);border-radius:var(--scrub-r-sheet);background:var(--scrub-raised);box-shadow:var(--scrub-shadow-float);overflow:hidden}
.assist[hidden]{display:none}
.assist-h{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--scrub-divide)}
.assist-h b{font-size:15px}.assist-h .small{margin:0;flex:1}
.assist-log{flex:1;overflow-y:auto;padding:12px 14px;display:flex;flex-direction:column;gap:10px;min-height:120px}
.assist-log .small{margin:0}
.a-you{align-self:flex-end;max-width:85%;background:var(--scrub-surface-2);padding:8px 14px;border-radius:18px 18px 4px 18px;font-size:14px;line-height:1.45;white-space:pre-wrap}
.a-me{max-width:92%;font-size:14px;line-height:1.5}
.a-note{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--scrub-text-2)}
.a-note a{color:inherit}
.a-bad{color:var(--scrub-err)}
.a-card .offer{max-width:none}
.assist-say{display:flex;gap:8px;align-items:flex-end;padding:10px 12px;border-top:1px solid var(--scrub-divide)}
.assist-say textarea{flex:1;min-width:0;resize:none;min-height:40px;max-height:120px;border-radius:20px;padding:9px 14px;font:inherit;font-size:14px}
.assist-say button{min-height:40px}
.assist-say textarea::placeholder{color:var(--scrub-text-2);opacity:1}
.assist-clip{width:40px;padding:0;display:inline-flex;align-items:center;justify-content:center;flex:none}
.assist-file{margin:0;padding:6px 14px 0;color:var(--scrub-text-2)}
.a-att{display:block;margin-top:4px;color:var(--scrub-text-2)}
/* The tools an answer named, each a row to open (F-34, the flow rule). */
.a-next{display:flex;flex-direction:column;gap:6px}
.a-media{display:flex;flex-direction:column;gap:8px}
.a-media .view{margin:0}
.a-media .view video,.a-media .view img{max-height:300px}
/* What a job made to take away, under its Done line (SCR-251). */
.a-take{display:flex}
/* Dots (SCR-498): one filled panel of rows, a divider that shows between them. */
.tlinks{display:flex;flex-direction:column;border:1px solid var(--scrub-line-2);border-radius:var(--scrub-r-panel);background:var(--scrub-surface);overflow:hidden;max-width:560px;box-sizing:border-box}
.tlinks a,.tlinks button{display:flex;align-items:center;gap:12px;min-height:52px;box-sizing:border-box;padding:10px 16px;border-top:1px solid var(--scrub-divide);text-decoration:none;color:inherit;font-size:14px}
/* A next step in Chat (SCR-228) is said there, a button that looks as the row it was. */
.tlinks button{width:100%;margin:0;border:0;border-top:1px solid var(--scrub-divide);border-radius:0;background:none;font:inherit;font-size:14px;line-height:inherit;font-weight:inherit;text-align:left;cursor:pointer;min-height:0;box-shadow:none}
.tlinks button:disabled{cursor:default}
.tlinks a:first-child,.tlinks button:first-child{border-top:0}
.tlinks a:hover,.tlinks button:hover:not(:disabled){background:var(--scrub-surface-2)}
.tlinks .tile{--s:32px;flex:none}
.tlinks .tlk-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tlinks .tlk-t .small{margin:0;color:var(--scrub-text-2)}
.tlinks .tlk-go{font-size:13.5px;font-weight:600;white-space:nowrap}
.run.big{max-width:none;margin:0;padding:28px 32px;min-height:260px;display:flex;flex-direction:column;justify-content:center;gap:4px}
.run.big .top b{font-size:20px;font-weight:500;letter-spacing:-.02em}
.run.big .clock{font-size:16px}
.run.big > .prog{gap:10px;margin:18px 0}
.run.big > .prog i{flex:1;height:8px;border-radius:4px}
.run.big .said{font-size:16px}
.run.big .note{font-size:13px}
/* Stop beside the note (SCR-278); on a phone, a full-width row under it. */
.run-foot{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap}
.run-foot .run-stop{flex:none;white-space:nowrap}
@media (max-width:480px){.run-foot .run-stop{width:100%;min-height:44px}}
/* A tool's run (F-67): its steps in order, and for a timeline the frame the
   render has reached over the strip of its scenes. */
.run.big.stepped{justify-content:flex-start}
.run-body{display:flex;flex-direction:column;gap:14px;margin:14px 0 4px}
.run-body.rpv{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:22px;align-items:flex-start}
.run-body.rpv .rpv-frame{flex:none}
.run-side{display:flex;flex-direction:column;gap:16px;min-width:0}
.run-body.rpv .run-side{flex:1 1 220px}
.rsteps{list-style:none;margin:0;padding:0;border-top:1px solid var(--scrub-divide)}
.rsteps li{display:grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:4px 10px;padding:10px 0;border-bottom:1px solid var(--scrub-divide);font-size:14px}
.rs-ico{width:16px;height:16px;display:flex;align-items:center;justify-content:center}
.rs-ico::before{content:'';width:10px;height:10px;border-radius:50%;border:1.5px solid var(--scrub-line);box-sizing:border-box}
.rs-ico .tick{display:none}
.rs-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rs-note{font-size:13px;color:var(--scrub-text-2);white-space:nowrap}
.rs-sub{grid-column:2 / 4;display:none;flex-wrap:wrap;align-items:center;gap:4px 10px;min-width:0}
.rs-what{flex:0 0 auto;max-width:100%;font-size:13px;color:var(--scrub-text-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rsteps li[data-state=waiting] .rs-name,.rsteps li[data-state=not_started] .rs-name,.rsteps li[data-state=nothing] .rs-name{color:var(--scrub-text-2)}
.rsteps li[data-state=running] .rs-name{font-weight:600}
.rsteps li[data-state=running] .rs-ico::before{border-color:var(--scrub-accent-fill)}
.rsteps li[data-state=running] .rs-sub{display:flex}
.rsteps li[data-state=done] .rs-ico::before,.rsteps li[data-state=nothing] .rs-ico::before{display:none}
.rsteps li[data-state=done] .rs-ico .tick{display:block}
.rsteps li[data-state=nothing] .rs-ico{border-top:1.5px solid var(--scrub-line);width:8px;height:0;margin-left:4px}
.rsteps li[data-state=stopped] .rs-ico::before{border-color:var(--scrub-err);background:var(--scrub-err)}
.rpv-frame{position:relative;width:180px;max-width:100%;aspect-ratio:9/16;border-radius:var(--scrub-r-block);overflow:hidden;background:var(--scrub-media)}
.rpv-frame[data-ratio="1:1"]{width:240px;aspect-ratio:1}
.rpv-frame[data-ratio="4:5"]{width:216px;aspect-ratio:4/5}
.rpv-frame[data-ratio="16:9"]{width:320px;aspect-ratio:16/9}
.rpv-frame canvas{display:block;width:100%;height:100%}
.rpv-strip{position:relative;display:flex;gap:3px;height:52px}
/* A filmstrip: along each scene a frame at the video's shape for every
   moment, the picture on top then, as an editor's timeline shows a clip;
   never stretched to fit (F-186). */
.rpv-strip .t{position:relative;flex:1 1 0;min-width:0;border-radius:4px;overflow:hidden;background:var(--scrub-line-2)}
.rpv-strip .t i{position:absolute;top:0;bottom:0;background:center/cover no-repeat}
.rpv-strip .t.making{outline:1.5px solid var(--scrub-line);outline-offset:-1.5px}
.rpv-strip .t.ahead{opacity:.4}
.rpv-head{position:absolute;top:-4px;bottom:-4px;width:2px;margin-left:-1px;border-radius:1px;background:var(--scrub-text);pointer-events:none}
.rpv-head::before{content:'';position:absolute;top:-3px;left:-3px;width:8px;height:8px;border-radius:50%;background:var(--scrub-text)}
@media (max-width:640px){
  .run-body.rpv .run-side{flex-basis:100%}
  .rpv-frame{width:160px}
  .rpv-frame[data-ratio="16:9"]{width:100%}
}
.suggest{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:14px}
/* Under an output's preview: what corrections there are, and saving them. */
.io-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:10px}
.io-foot p.small{margin:0;flex:1 1 180px}
.suggest .small{margin:0}
.usein{display:flex;flex-direction:column;border:1px solid transparent;border-radius:var(--scrub-r-block);background:var(--scrub-surface);overflow:hidden}
.usein a{display:flex;justify-content:space-between;gap:12px;padding:12px 16px;border-top:1px solid var(--scrub-divide);text-decoration:none;color:inherit}
.usein a:first-child{border-top:0}
.usein a:hover{background:var(--scrub-surface-2)}
.usein .small{margin:0;display:block}
.usein .np{color:var(--scrub-text-2)}
/* Other ways to the result, under a refusal (SCR-262). */
.other-ways{margin:12px 0 6px}
.other-ways + .usein{margin-bottom:16px}
.usein a{align-items:baseline;font-size:14px}
.look .ghead{display:flex;flex-direction:column;gap:2px}
.look .gtitle{margin:0;font-weight:600}
.look .hint{margin:0}
.look-body{display:flex;flex-direction:column;gap:10px}
.look-body>p{margin:0}
.look-offers{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.look-offers[hidden]{display:none}
.look-offers p{margin:0}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:4px 11px;border:1px solid var(--scrub-line);border-radius:999px;background:var(--scrub-surface);color:var(--scrub-text);font:500 13px/1.2 var(--scrub-sans);cursor:pointer}
.chip:hover{border-color:var(--scrub-text-2);background:var(--scrub-surface)}
.chip i{font-style:normal;font-size:12px;color:var(--scrub-text-2)}
.left-out{margin:8px 0 0}
/* Columns (F-22, DESIGN.md Columns): the standard ones, then the person's own. */
/* Fields (F-23, DESIGN.md Fields): what to read, each opened to change it. */
.fl-list{list-style:none;margin:0;padding:0;border:1px solid transparent;border-radius:var(--scrub-r-block);background:var(--scrub-surface)}
.fl-item+.fl-item{border-top:1px solid var(--scrub-divide)}
.fl-item summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;min-height:48px;box-sizing:border-box;cursor:pointer;list-style:none;font-size:14px}
.fl-item summary::-webkit-details-marker{display:none}
.fl-item summary:after{content:'';width:7px;height:7px;flex:none;border:solid var(--scrub-text-2);border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:-3px 2px 0 0}
.fl-item details[open] summary:after{transform:rotate(-135deg);margin-top:3px}
.fl-name{font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fl-kind{margin-left:auto;font-size:12.5px;color:var(--scrub-text-2);white-space:nowrap}
.fl-body{display:flex;flex-direction:column;gap:10px;padding:2px 16px 16px}
.fl-body :is(input,select,textarea){background:var(--scrub-surface-2)}
.fl-body label.flabel{display:flex;flex-direction:column;gap:4px;margin:0;font-size:12.5px}
.fl-body input,.fl-body select,.fl-body textarea{max-width:none;width:100%}
.fl-remove{align-self:flex-start;font-size:12.5px;padding:0;min-height:0}
.fl-body .flabel[hidden]{display:none}
.fl-list:empty{display:none}
.fl-list+.addcol{margin-top:10px}
/* A tool's steps (F-23, DESIGN.md Steps): what it runs, and how each is set. */
.acts{display:flex;flex-direction:column}
.act{position:relative;border-top:1px solid var(--scrub-line-2)}
.act:first-child,.acts-made+.act{border-top:0}
/* What the page made before the run (F-75), above the run's own rows. */
.acts-made .jg-l:first-child{margin-top:0}
.act[data-made] .jf{white-space:normal;overflow-wrap:anywhere}
.act>.jst{grid-template-columns:28px minmax(0,1fr) auto;grid-template-areas:"tile name cost";min-height:52px}
.act>.jst .jc{padding-right:34px}
.act-n{margin-left:6px;white-space:nowrap;font-size:13px;font-weight:500;color:var(--scrub-text-2)}
.act>details>summary{position:absolute;top:0;right:-8px;width:34px;height:64px;display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;border-radius:var(--scrub-radius)}
.act>details>summary::-webkit-details-marker{display:none}
.act>details>summary:hover{background:var(--scrub-line-2)}
.act>details>summary:focus-visible{outline:2px solid var(--scrub-text);outline-offset:-2px}
.act>details[open]>summary .jg-chev{transform:translateY(2px) rotate(-135deg)}
.act-s{margin:0 0 12px 42px;padding:0 0 0 14px;border-left:2px solid var(--scrub-line-2);list-style:none;display:flex;flex-direction:column;gap:3px;font-size:13px;color:var(--scrub-text-2)}
.addcol{display:flex;gap:8px;margin-top:10px;align-items:stretch}
.addcol input{flex:1;min-width:0;max-width:none}
.change-menu{position:absolute;right:10px;bottom:calc(100% + 4px);z-index:6;display:flex;flex-direction:column;min-width:170px;padding:6px;background:var(--scrub-raised);border:0;border-radius:var(--scrub-r-float);box-shadow:var(--scrub-shadow-float)}
.change-menu[hidden]{display:none}
/* The clip's menu and its Your files (SCR-236): the box's own list, its rows pressed while attached. */
.clip-at{position:relative;display:inline-flex;flex:none}
/* Dots (SCR-498): a raised layer, no edge; its rows pills. */
.clip-menu{left:0;right:auto;padding:6px;gap:2px;border:0;border-radius:var(--scrub-r-float);background:var(--scrub-raised);box-shadow:var(--scrub-shadow-float)}
.clip-menu button.quiet{min-height:44px;padding:0 14px;font-weight:500;border-radius:var(--scrub-r-field)}
.clip-menu button.quiet:hover{background:var(--scrub-surface-2)}
.clip-files{max-height:min(320px,45vh)}
.clip-files[hidden]{display:none}
.composer .clip-files{max-width:760px;margin:0 auto 8px;border:0;border-radius:var(--scrub-r-float);background:var(--scrub-raised);box-shadow:var(--scrub-shadow-float)}
.composer .clip-files .files-top{background:var(--scrub-raised)}
/* An attached file is ringed whole, its square and all, as the file in use is (SCR-529). */
.clip-files .file-item:has(>.file-row[aria-pressed=true]){box-shadow:inset 0 0 0 1.5px var(--scrub-text)}
.clip-older{margin:4px 6px 8px}
.files{order:3;border:1px solid transparent;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);max-height:min(440px,62vh);overflow:auto;font-size:14px;container-type:inline-size}
/* Your files takes the box's place while it is open (DESIGN.md, SCR-529):
   never stacked against the file it may replace, and room before the player. */
.io-v>.drop:has(~.files:not([hidden])){display:none}
.io-v>.files:not([hidden])~.view,.io-v>.drop.has~.view:not([hidden]){margin-top:12px}
/* Your files' top (SCR-304): the room line and Cancel, then the search, held
   in view while the list scrolls under them. */
.files-top{position:sticky;top:0;z-index:1;background:var(--scrub-surface)}
.files-find{padding:8px 10px;border-bottom:1px solid var(--scrub-divide)}
.files-find input{background:var(--scrub-surface-2)}
.files-find[hidden]{display:none}
.files-find input{width:100%;max-width:none;box-sizing:border-box;min-height:36px;padding:0 10px;font:inherit;font-size:14px}
.files-none{margin:0;padding:12px;color:var(--scrub-text-2)}
.files-head{margin:0;padding:6px 6px 6px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12.5px;color:var(--scrub-text-2);border-bottom:1px solid var(--scrub-divide)}
.drop-ready [data-facts-for]{font-family:var(--scrub-mono);font-variant-numeric:tabular-nums}
/* A file in Your files (SCR-529): its kind's square, which plays or shows it,
   then the row that chooses it, then Delete, quiet until asked. Rows sit
   inside the panel with room around them; the whole row lights, a rounded
   block, never a pill. One line once the panel is wide enough. */
.files-list{display:flex;flex-direction:column;gap:2px;padding:6px}
.file-item{display:flex;align-items:center;flex-wrap:wrap;gap:0 2px;padding:4px 4px 4px 6px;border-radius:var(--scrub-r-field);transition:background-color .12s}
.file-item:hover,.file-item:focus-within{background:var(--scrub-surface-2)}
.file-item.in-use{box-shadow:inset 0 0 0 1.5px var(--scrub-text)}
.file-item .confirm{padding:0}
.file-item .confirm:not(.asking) [data-go]{border-color:transparent;background:none;color:var(--scrub-text-2);font-weight:500}
.file-item .confirm:not(.asking) [data-go]:hover{color:var(--scrub-err);background:color-mix(in srgb,var(--scrub-err) 8%,transparent)}
.file-item .confirm.asking{flex:1 1 100%;padding:2px 6px 8px 56px}
.file-gone{padding:12px;font-size:13px;color:var(--scrub-text-2)}
.fx.fsee{flex:none;grid-area:auto;border:0;padding:0;cursor:pointer;text-decoration:none;transition:background-color .12s}
.fx.fsee:hover{background:color-mix(in srgb,var(--ti) 14%,transparent)}
.fx.fsee:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.fx.fsee>img,.fx.fsee>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;pointer-events:none}
.fx:has(>video)::after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 2px var(--ti)}
.fsee-g{position:relative;z-index:1;width:22px;height:22px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;display:flex;align-items:center;justify-content:center}
.fsee-g svg{width:12px;height:12px;margin-left:1px}
.fx.fsee.playing,.fx.fsee[aria-expanded=true]{background:color-mix(in srgb,var(--ti) 18%,transparent)}
.fsee-bar{position:absolute;left:0;bottom:0;height:3px;width:0;background:var(--ti)}
.file-look{flex:1 1 100%;padding:6px 6px 8px 56px}
.file-look img,.file-look video{display:block;max-width:100%;max-height:min(300px,45vh);border-radius:var(--scrub-r-field);background:var(--scrub-surface-2)}
.file-look>.player{width:fit-content;max-width:100%;border-radius:var(--scrub-r-field)}
.file-look>.player video{width:auto;max-height:min(300px,45vh);border-radius:0}
.file-row{display:flex;flex-direction:column;align-items:flex-start;gap:2px;flex:1 1 0;min-width:0;text-align:left;border:0;border-radius:var(--scrub-r-field);background:none;color:var(--scrub-text);padding:8px 10px;cursor:pointer;font:inherit;white-space:normal}
.file-row:hover,.file-row:focus-visible{background:none}
.file-row:focus-visible{outline:2px solid var(--scrub-text);outline-offset:-2px}
.file-row .fn{font-weight:600;max-width:100%;overflow:hidden;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.file-row .fm{font-size:12.5px;color:var(--scrub-text-2);font-variant-numeric:tabular-nums}
.file-row .flen[hidden]{display:none}
@container (min-width:620px){.file-row{flex-direction:row;align-items:baseline;gap:16px}.file-row .fn{flex:1 1 auto;min-width:0;display:block;white-space:nowrap;text-overflow:ellipsis}.file-row .fm{flex:none;margin-left:auto;white-space:nowrap}}
/* While the list is read: three rows in its shape, still for reduced motion. */
.file-wait{pointer-events:none}
.file-wait .fx{background:var(--scrub-surface-2);box-shadow:none}
.file-wait .fw{flex:1;height:12px;margin:0 10px;max-width:46%;border-radius:6px;background:var(--scrub-surface-2);animation:fwait 1.2s ease-in-out infinite alternate}
@keyframes fwait{to{opacity:.45}}
@media (prefers-reduced-motion:reduce){.file-wait .fw{animation:none}}
.filebar{order:2;display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;font-size:13px;padding:12px 16px;border:1px solid transparent;border-radius:var(--scrub-r-block);background:var(--scrub-surface)}
.filebar>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1 0}
.filebar a{color:var(--scrub-text)}
.filebar.typed>span:first-child{white-space:normal;overflow:visible}
.typed-t{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}
.typed-t.open{display:block;-webkit-line-clamp:none}
.typed-more{display:block;margin-top:4px;padding:0;border:0;background:none;font:inherit;font-size:12.5px;color:var(--scrub-text-2);cursor:pointer}
.typed-more:hover{color:var(--scrub-text);text-decoration:underline}
.typed-more:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.typed-more[hidden]{display:none}
@media (max-width:640px){.typed-more{margin:-10px 0 -12px}}

/* Media: the frame takes the media's shape. */
.view{position:relative;border-radius:var(--scrub-r-block);overflow:hidden;background:var(--scrub-media);order:1;width:fit-content;max-width:100%;margin:0 auto;align-self:center}
.view:has(>.heard-ab){width:100%;background:none;overflow:visible}
.view video,.view img{display:block;width:auto;max-width:100%;height:auto;max-height:70vh;object-fit:contain;background:var(--scrub-media)}
.view.player video,.view .player video{width:auto;max-width:100%;max-height:70vh}
.view>.player{width:fit-content;max-width:100%;margin:0 auto}
.view.audio{width:100%;background:transparent}
.view audio{display:block;width:100%}
/* Scrub's one player (SCR-632, PLAYER_JS): a picture with its controls over it, a sound as its wave with the same controls under it. */
.player{position:relative;background:var(--scrub-media);border-radius:var(--scrub-r-block);overflow:hidden;outline:none;color:var(--scrub-on-media);user-select:none;-webkit-user-select:none}
.player video{display:block;width:100%;max-height:64vh;background:var(--scrub-media);object-fit:contain}
.player:focus-visible{box-shadow:0 0 0 2px var(--scrub-text)}
.player:fullscreen{border-radius:0;display:flex;align-items:center;justify-content:center}
.player:fullscreen video{max-height:100vh;height:100%}
.pl-big{position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;border:0;background:color-mix(in srgb,var(--scrub-on-media) 94%,transparent);color:var(--scrub-media);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;z-index:3}
.pl-big svg{width:22px;height:22px;margin-left:3px}
.pl-big[hidden]{display:none}
.pl-bar{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;gap:10px;padding:18px 12px 8px;background:linear-gradient(transparent,color-mix(in srgb,var(--scrub-media) 70%,transparent));z-index:4;font:12.5px/1 var(--scrub-mono);font-variant-numeric:tabular-nums}
.pl-bar button{border:0;background:transparent;color:inherit;width:30px;height:30px;padding:5px;border-radius:var(--scrub-r-pill);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;flex:none}
.pl-bar button:hover{background:color-mix(in srgb,var(--scrub-on-media) 14%,transparent)}
.pl-bar button:focus-visible{outline:2px solid currentColor;outline-offset:1px}
.pl-bar svg{width:18px;height:18px}
.pl-time{white-space:nowrap;opacity:.92}
.pl-track,.pl-level{position:relative;height:18px;cursor:pointer;touch-action:none;outline:none}
.pl-track{flex:1;margin:0 6px}
.pl-track .line,.pl-level .line{position:absolute;left:0;right:0;top:50%;height:3px;margin-top:-1.5px;border-radius:2px;background:color-mix(in srgb,var(--scrub-on-media) 28%,transparent)}
.pl-track .buf{position:absolute;left:0;top:0;bottom:0;border-radius:2px;background:color-mix(in srgb,var(--scrub-on-media) 40%,transparent)}
.pl-track .done,.pl-level .done{position:absolute;left:0;top:0;bottom:0;border-radius:2px;background:currentColor}
.pl-track .head,.pl-level .head{position:absolute;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px color-mix(in srgb,var(--scrub-media) 25%,transparent)}
.pl-track .tip{position:absolute;bottom:22px;transform:translateX(-50%);background:color-mix(in srgb,var(--scrub-media) 85%,transparent);color:var(--scrub-on-media);padding:4px 6px;border-radius:4px;white-space:nowrap;display:none}
.pl-track.tip-on .tip,.pl-track.held .tip{display:block}
.pl-track:focus-visible .head,.pl-level:focus-visible .head{box-shadow:0 0 0 3px currentColor}
/* The volume opens beside the speaker on a pointer that can hover; a phone keeps its own buttons. */
.pl-vol{display:inline-flex;align-items:center;flex:none}
.pl-level{width:0;overflow:hidden}
.pl-vol:hover .pl-level,.pl-vol:focus-within .pl-level,.pl-level.held{width:64px;margin:0 6px 0 4px;overflow:visible}
@media (hover:none){.pl-level{display:none}}
.player.idle .pl-bar{opacity:0}
.player.idle{cursor:none}
/* A sound: its wave in ink on the surface, the playhead and its clock on it, the controls under it. */
.player.sound{width:100%!important;background:var(--scrub-surface);color:var(--scrub-text);display:flex;flex-direction:column}
.player.sound>video,.player.sound>audio,.player.sound .pl-big,.player.sound .pl-track,.player.sound [data-a=full]{display:none}
.pl-wave{position:relative;height:var(--pl-wave,88px);margin:12px 12px 0;cursor:pointer;touch-action:none;outline:none}
.pl-wave canvas{display:block;width:100%;height:100%}
/* What an App heard (SCR-735): its moments marked over the wave in the kind's colour, as Clean up a voice marks them. */
.pl-marks{position:absolute;inset:0;pointer-events:none}
.pl-marks i{position:absolute;top:0;height:6px;min-width:3px;border-radius:0 0 3px 3px;background:var(--scrub-icon-audio)}
.pl-at{position:absolute;top:0;bottom:0;left:0;width:2px;margin-left:-1px;background:currentColor;pointer-events:none}
.pl-mark{position:absolute;left:0;top:0;font:600 12px/1 var(--scrub-mono);font-variant-numeric:tabular-nums;background:var(--scrub-surface);padding:4px 6px;border-radius:6px;pointer-events:none}
.pl-wave .tip{position:absolute;bottom:0;transform:translateX(-50%);font:12px/1 var(--scrub-mono);font-variant-numeric:tabular-nums;background:var(--scrub-text);color:var(--scrub-bg);padding:4px 6px;border-radius:4px;white-space:nowrap;pointer-events:none;display:none}
.pl-wave.tip-on .tip,.pl-wave.held .tip{display:block}
.pl-wave:focus-visible{box-shadow:0 0 0 2px var(--scrub-text);border-radius:4px}
.player.sound .pl-bar{position:relative;padding:6px 8px 8px;background:none}
.player.sound .pl-bar button:hover{background:color-mix(in srgb,var(--scrub-text) 8%,transparent)}
.player.sound .pl-vol{margin-left:auto}
.player.sound .pl-level .line{background:var(--scrub-line)}
.player.sound .pl-level .head{box-shadow:none}
.player.sound .pl-time{opacity:1;color:var(--scrub-text-2)}
.player.failed .pl-bar button,.player.failed .pl-big{opacity:.35;cursor:default}
.player.failed .pl-big{display:none}
.player.failed .pl-wave{cursor:default}
/* A finger's room on a phone and a touch screen: each button and the track 44 px to press, the icon as drawn (checklist 12). */
@media (max-width:640px),(pointer:coarse){
  .pl-bar{gap:2px;padding:10px 4px 0}
  .pl-bar button{width:44px;height:44px;min-height:44px;padding:13px}
  .pl-track{height:44px;margin:0 8px}
  .pl-track .tip{bottom:34px}
  .player.sound .pl-bar{padding:2px 4px 2px}
  .player.sound .pl-time{margin-left:2px}
}
@media (prefers-reduced-motion:no-preference){
  .pl-bar{transition:opacity .25s ease}
  .pl-track .line{transition:height .15s ease,margin-top .15s ease}
  .pl-track:hover .line,.pl-track.held .line{height:5px;margin-top:-2.5px}
}
.compare{display:grid;grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr);gap:24px;align-items:start}
.compare.wide{grid-template-columns:1fr}
.compare figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0}
.compare .view video,.compare .view img{max-height:56vh}
.compare figcaption{font-size:12.5px;font-weight:500;color:var(--scrub-text-2);background:var(--scrub-surface);border:1px solid transparent;border-radius:var(--scrub-r-pill);padding:4px 12px}
/* The line between before and after (F-33); across, when they are one above the other. */
.cmp-split{align-self:stretch;background:var(--scrub-line)}
.compare.wide .cmp-split{height:1px;width:100%}
.textout{margin:0;overflow:auto;max-height:64vh;font:14px/1.65 var(--scrub-sans);white-space:pre-wrap;word-break:break-word;background:var(--scrub-surface);border:1px solid transparent;border-radius:var(--scrub-r-panel);padding:18px 20px}
.textout.read{white-space:normal;font:15px/1.55 var(--scrub-sans);color:var(--scrub-text)}
.textout.read>*{max-width:70ch}
.textout.read h3{margin:0 0 8px;font:500 18px/1.3 var(--scrub-sans);letter-spacing:-.01em}
.textout.read h3:not(:first-child){margin-top:32px}
.textout.read h2.tt-part{margin:0 0 16px;font:500 13px/1.3 var(--scrub-sans);color:var(--scrub-text-2)}
.textout.read h2.tt-part:not(:first-child){margin-top:40px;padding-top:24px;border-top:1px solid var(--scrub-line)}
.textout.read h2.tt-part+h3{margin-top:0}
.textout.read p{margin:0 0 12px;white-space:pre-wrap}
.textout.read h4{margin:20px 0 8px;font:500 16px/1.35 var(--scrub-sans)}
.textout.read h5{margin:16px 0 6px;font:500 15px/1.4 var(--scrub-sans)}
.textout.read h3+h4,.textout.read h3+h5{margin-top:0}
.textout.read ul,.textout.read ol{margin:0 0 12px;padding-left:22px}
.textout.read li{margin:0 0 6px}
.textout.read a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.textout.read p:last-child{margin-bottom:0}
.stage .textout.read{background:none;border:0;border-radius:0;padding:4px 4px 0;max-height:none;overflow:visible}
.text-table{display:flex;flex-direction:column;gap:16px;min-width:0}
.text-table:has(>.tt-edit[open])>.textout{display:none}
.tt-edit{min-width:0}
.tt-edit>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center}
.tt-edit>summary::-webkit-details-marker{display:none}
.tt-edit[open]>summary{margin-bottom:12px}
.tt-edit .tt-open,.tt-edit[open] .tt-closed{display:none}
.tt-edit[open] .tt-open{display:inline}
/* Its table reads its words (SCR-565): a cell of words wraps whole, never cut, and the words take the width the first column leaves. */
.text-table .tb-table{min-width:0}
.text-table .tb-table td{vertical-align:top;line-height:1.45}
.text-table .tb-table td[data-key]:not(.n):not([data-kind]){white-space:pre-wrap;max-width:none;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.text-table .tb-table th:first-child,.text-table .tb-table td:first-child{width:30%}
@media (max-width:640px){
  /* On a phone each row's cells stand one above the other, each under its column's name, never scrolled sideways. */
  .text-table .tb-wrap{overflow:visible}
  .text-table .tb-table,.text-table .tb-table tbody,.text-table .tb-table tr,.text-table .tb-table td{display:block;width:auto}
  .text-table .tb-table thead{display:none}
  .text-table .tb-table tr[data-row]{border-bottom:1px solid var(--scrub-divide);padding:6px 0}
  .text-table .tb-table tr[hidden]{display:none}
  .text-table .tb-table tbody tr:last-child{border-bottom:0}
  .text-table .tb-table td,.text-table .tb-table td:first-child{position:static;width:auto;border-bottom:0;padding:6px 12px}
  .text-table .tb-table td[data-label]::before{content:attr(data-label);display:block;margin-bottom:2px;font-size:12px;font-weight:600;line-height:1.4;color:var(--scrub-text-2);white-space:normal}
}
.empty{margin:auto;color:var(--scrub-text-2);font-size:14px;text-align:center;max-width:34ch}

/* Split view: the words beside their image (DESIGN.md) */
.split{display:flex;flex-direction:column;gap:16px;min-width:0}
.split-b{order:-1}
.split-bar{display:none}
@media (min-width:861px){
  .split{display:grid;grid-template-columns:minmax(0,var(--split,50%)) 16px minmax(0,1fr);gap:0;flex:1 1 auto;min-height:0}
  .split-a{overflow-y:auto;min-height:0;padding-right:8px;display:flex;flex-direction:column;gap:12px}
  .split-b{order:0;min-height:0;display:flex;flex-direction:column;gap:8px}
  .split-b .view{margin:0 auto}
  .split-b .view video,.split-b .view img,.split-b .view .player video{max-height:calc(100dvh - 230px)}
  .split-bar{display:block;cursor:col-resize;position:relative;touch-action:none;border-radius:4px;outline-offset:-2px}
  .split-bar:after{content:'';position:absolute;top:50%;height:36px;margin-top:-18px;left:6px;width:4px;border-radius:2px;background:var(--scrub-line)}
  .split-bar:hover:after,.split-bar.dragging:after,.split-bar:focus-visible:after{background:var(--scrub-text-2)}
  .split-a .cues,.split-a .transcript{max-height:none;overflow:visible}
  .workpage .work:has(>.split){overflow:hidden}
}

/* Money and results */
.done-line{font-weight:600;font-size:15px;display:flex;align-items:center;gap:8px}
.done-line .tick,.rs-ico .tick{width:16px;height:16px;border-radius:50%;background:var(--scrub-ok);position:relative;flex:none}
.done-line .tick:after,.rs-ico .tick:after{content:'';position:absolute;left:5px;top:2.5px;width:3.5px;height:7.5px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.side .receipt.card{max-width:none}
.notice{padding:12px 16px;border:1px solid var(--scrub-line);border-radius:var(--scrub-r-field);background:var(--scrub-bg);font-size:14px}
/* The page as it was left (F-85): the line, then what can be done about it. */
.notice.kept{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;padding:10px 14px}
.notice.kept[hidden]{display:none}
.notice.kept>span:first-child{margin-right:auto}
.notice.kept .kept-b{display:flex;gap:16px}
.notice.kept button{min-height:0;padding:2px 0}
.notice.kept a.quiet,.notice.kept button.quiet{color:var(--scrub-text);font:inherit;font-weight:600;text-decoration:none;padding:2px 0;background:none;border:0;cursor:pointer}
.notice.kept a.quiet:hover,.notice.kept button.quiet:hover{text-decoration:underline;background:none}
.offer[data-delete-card]{margin:0 0 14px}
.offer[hidden],.notice[hidden]{display:none}
.notice.kept .kept-x{min-height:0;padding:0 2px;background:none;border:0;border-radius:var(--scrub-r-pill);color:var(--scrub-text-2);font-size:18px;line-height:1;cursor:pointer}
.notice.kept .kept-x:hover{color:var(--scrub-text)}
.state.draft{color:var(--scrub-text-2)}
.state.draft i{border:1.5px dashed currentColor}
.mc.draft{border-style:dashed;border-color:var(--scrub-line)}
.mc.draft .mc-stage{background:transparent}
.mc.draft .mc-price .state{font-size:12.5px}
.jh-l{margin:12px 16px 4px;font:var(--scrub-label);letter-spacing:.06em;text-transform:uppercase;color:var(--scrub-text-2)}
.jh-drafts .jh-list{padding-bottom:4px;flex:none}
.jh-all{display:block;margin:0 18px 6px;font-size:13px}
/* Saved as you go (F-85): quiet, at the page head's right (F-108). */
.saved{color:var(--scrub-text-2);font-weight:400;letter-spacing:0;text-transform:none;white-space:nowrap}
.saved time{font-family:var(--scrub-mono);font-variant-numeric:var(--scrub-num)}
.saved[hidden]{display:none}
/* The draft's File menu, on the page's title (F-108). */
.toolhead.has-file{position:relative;flex-wrap:wrap}
.toolhead>.saved{margin-left:auto;align-self:center}
.th-file{display:inline-flex;align-items:center;gap:8px;background:none;border:0;padding:4px 10px;margin:-4px -10px;border-radius:var(--scrub-r-pill);color:inherit;font:inherit;line-height:inherit;letter-spacing:inherit;cursor:pointer;width:auto;min-height:0;text-align:left}
.th-file:hover:not([disabled]),.th-file[aria-expanded=true]{background:var(--scrub-surface)}
.th-file[disabled]{opacity:1;cursor:default}
.th-chev{flex:none;width:7px;height:7px;border:solid currentColor;border-width:0 1.6px 1.6px 0;transform:rotate(45deg);margin-top:-4px}
.th-file[disabled] .th-chev{display:none}
.th-menu{position:absolute;z-index:30;top:calc(100% - 4px);min-width:220px;padding:6px;border:0;border-radius:var(--scrub-r-float);background:var(--scrub-raised);box-shadow:var(--scrub-shadow-float);display:flex;flex-direction:column}
.th-menu[hidden]{display:none}
.th-menu a,.th-menu button{display:block;padding:10px 12px;border-radius:var(--scrub-r-field);background:none;border:0;color:var(--scrub-text);font:500 14px/1.3 var(--scrub-sans);text-decoration:none;text-align:left;cursor:pointer;min-height:0;width:auto}
.th-menu a:hover,.th-menu button:hover,.th-menu a:focus-visible,.th-menu button:focus-visible{background:var(--scrub-surface-2);outline:none}
.th-history{max-height:min(420px,60vh);overflow-y:auto;min-width:260px}
.th-history .dh-item{display:flex;flex-direction:column;gap:2px}
.th-history .dh-item[aria-current]{background:var(--scrub-surface-2)}
.th-history .dh-m{color:var(--scrub-text-2);font-size:12.5px;font-weight:400}
@media (max-width:640px){.toolhead>.saved{margin-left:0;flex-basis:100%;order:3}.th-menu a,.th-menu button{padding:12px 14px}}
/* A modal (F-108): one question over the dimmed page; Escape or a press
   beside it is Not now. */
dialog.modal{border:0;padding:0;background:none;color:var(--scrub-text);max-width:min(460px,calc(100vw - 32px));width:100%}
dialog.modal::backdrop,dialog.srch::backdrop{background:rgba(0,0,0,.5)}
dialog.modal>.offer{max-width:none;padding:22px 24px;gap:12px;border:0;border-radius:var(--scrub-r-sheet);background:var(--scrub-raised);box-shadow:var(--scrub-shadow-float)}
@media (prefers-reduced-motion:no-preference){dialog.modal[open]{animation:chrome-up .22s var(--scrub-ease)}}
@keyframes chrome-up{from{opacity:0;transform:translateY(var(--scrub-rise))}}
/* Top-up sheet (SCR-340): over the work; a sheet from the foot on a phone */
.choices label[hidden]{display:none}
dialog.topup-sheet{max-width:min(480px,calc(100vw - 32px))}
.topup-sheet .tu{border:0;border-radius:var(--scrub-r-sheet);background:var(--scrub-raised);padding:20px 24px 24px;display:flex;flex-direction:column;gap:16px;box-shadow:var(--scrub-shadow-float)}
.tu-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 -10px -4px 0}
.tu-head h2{margin:0;font-size:22px;line-height:1.25;letter-spacing:-.02em}
.tu-facts{margin:0;padding:14px 16px;border:0;border-radius:var(--scrub-r-block);background:var(--scrub-surface);font-size:15px}
.tu-facts dd{text-align:right;font-variant-numeric:tabular-nums}
.tu-facts dt[hidden],.tu-facts dd[hidden]{display:none}
.topup-sheet .topup{max-width:none}
.topup-sheet .choices{grid-template-columns:repeat(auto-fit,minmax(96px,1fr))}
.topup-sheet .topup button[type=submit]{align-self:stretch}
.topup-sheet p.small{margin:0}
.topup-sheet [data-tu-said][hidden]{display:none}
@media (max-width:640px){
  dialog.topup-sheet{margin:auto 0 0;max-width:100vw;width:100vw;max-height:calc(100dvh - 24px)}
  .topup-sheet .tu{border-radius:var(--scrub-r-sheet) var(--scrub-r-sheet) 0 0;border-bottom:0;padding:18px 16px max(22px,env(safe-area-inset-bottom))}
  .topup-sheet .topup button[type=submit]{min-height:48px}
  .topup-sheet .choices{grid-template-columns:repeat(2,1fr)}
}
.notice.stopped{border-color:color-mix(in srgb,var(--scrub-err) 45%,var(--scrub-line))}
.nextrows{display:flex;flex-direction:column;gap:6px}
.nextrows a,.nextrows>button{display:flex;justify-content:space-between;gap:10px;align-items:baseline;padding:12px 16px;min-height:48px;box-sizing:border-box;border:1px solid transparent;border-radius:var(--scrub-r-block);background:var(--scrub-surface);text-decoration:none;color:var(--scrub-text);font-size:14px;transition:background .2s var(--scrub-ease)}
.nextrows a:hover,.nextrows>button:hover{background:var(--scrub-surface-2)}
.nextrows .small{display:block}
.nextrows .np{color:var(--scrub-text-2)}
fieldset.locked{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:18px}
/* A setting it ran with reads as its value, not as a choice greyed out (SCR-225): Edit changes it. */
fieldset.locked .choices>label:not(:has(input:checked)){display:none}
/* Ran with (SCR-635): only what was ticked is shown, so nothing is chosen there. */
fieldset.locked .many-hint{display:none}
form.locked .side>*:not(.pay){opacity:.7}

/* Page head */
.toolhead{display:flex;gap:16px;align-items:flex-start;margin-bottom:18px}
.toolhead .tile{--s:52px}
.toolhead h1{margin:0 0 4px}
.headline{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin:0;font-size:14px;max-width:none}
.headline>*+*:not(.scrub-price):before{content:'';display:inline-block;width:3px;height:3px;border-radius:50%;background:currentColor;opacity:.6;margin:0 12px 3px 0;vertical-align:middle}
.headline .state{font-size:14px}

/* Side groups */
.group{display:flex;flex-direction:column;gap:12px;padding:18px 20px 20px;border:1px solid transparent;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);--opt-bg:var(--scrub-surface-2)}
.ghead{display:flex;flex-direction:column;gap:2px}
.ghead p{margin:0}
.gtitle{font-weight:500;font-size:16px;letter-spacing:-.01em}
/* What is filled inside a filled group takes the second fill, so it keeps its shape. */
.group :is(.dl-tile:not(.quiet),.price-line,.usein,.filebar,.textout,.io-json){background:var(--scrub-surface-2)}
.group .dl-tile:not(.quiet):hover{background:color-mix(in srgb,var(--scrub-text) 6%,var(--scrub-surface-2))}
.pay.still button{width:100%}
p.more{margin:12px 0 0}

/* Home: the box, with files (F-88), and tool cards */
/* Dots (SCR-498): scrub.app's ask bar, a pill ringed in the text colour on the ground, Ask a round inverse button with an arrow; focused, the ring thickens (F-96: a field's own edge, never the accent). */
.ask{display:flex;align-items:center;gap:6px;margin:18px 0 0;padding:7px;border:0;border-radius:var(--scrub-r-pill);background:var(--scrub-bg);box-shadow:inset 0 0 0 1.5px var(--scrub-text)}
.ask input[type=text]{flex:1;border:0;max-width:none;background:transparent;padding:10px 8px;min-width:0;font-size:16px}
.ask input[type=text]:focus-visible{outline:0}
.ask:focus-within{box-shadow:inset 0 0 0 2px var(--scrub-text)}
.ask button{min-height:44px;border-radius:var(--scrub-r-pill)}
.ask button[type=submit]{width:44px;height:44px;padding:0;flex:none;display:inline-flex;align-items:center;justify-content:center;background:var(--scrub-inv);color:var(--scrub-on-inv);border-color:transparent}
.ask .clip{flex:none;width:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;background:none;border-color:transparent;color:var(--scrub-text-2)}
.ask .clip:hover{background:var(--scrub-surface-2);color:var(--scrub-text)}
/* Attachments (SCR-615): what goes with the next message, a row of file
   squares above the words. An image shows itself, a video its still, a sound
   or a document its kind with its name. While one goes up, the box's ground
   veils it and a ring in the text colour fills with the upload (never the
   accent); one that did not go up says so over it, with Try again. */
.att-tray{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:16px 16px 4px 2px}
.att-said{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.att-tray[hidden]{display:none}
.ask-tray{margin:10px 0 0}
.att{position:relative;flex:none;width:76px;height:76px}
.att .att-sq{width:76px;height:76px;border-radius:14px;flex-direction:column;gap:3px;padding:10px 6px 6px;font-size:12px}
.att .att-sq>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;pointer-events:none}
.att .att-sq:has(>video)::after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 2px var(--ti)}
.att-n{display:none}
.att-named .att-n{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;font:500 10.5px/1.25 var(--scrub-sans);letter-spacing:0;color:var(--scrub-text);text-align:center;overflow-wrap:anywhere}
.att-ring{position:absolute;left:50%;top:50%;width:34px;height:34px;margin:-17px 0 0 -17px;display:none;z-index:2}
.att-track{fill:none;stroke:color-mix(in srgb,var(--scrub-text) 22%,transparent);stroke-width:3}
.att-arc{fill:none;stroke:var(--scrub-text);stroke-width:3;stroke-linecap:round;transition:stroke-dashoffset .2s linear}
.att:is([data-state=queued],[data-state=up],[data-state=waiting]) .att-sq::before{content:'';position:absolute;inset:0;z-index:1;border-radius:inherit;background:color-mix(in srgb,var(--scrub-bg) 55%,transparent)}
.att:is([data-state=queued],[data-state=up],[data-state=waiting]) .att-ring{display:block}
.att.att-named:is([data-state=queued],[data-state=up],[data-state=waiting]) .att-sq{color:transparent}
.att.att-named:is([data-state=queued],[data-state=up],[data-state=waiting]) .att-n{visibility:hidden}
.att[data-state=waiting] .att-arc{opacity:.4}
.att-spin .att-ring{animation:att-turn 1s linear infinite}
.att-spin .att-arc{stroke-dashoffset:70.69}
@keyframes att-turn{to{transform:rotate(360deg)}}
.att-bad{display:none}
.att[data-state=failed] .att-sq{--ti:var(--scrub-err)}
.att[data-state=failed] .att-bad{box-shadow:inset 0 0 0 2px var(--scrub-err)}
.att[data-state=failed] .att-bad{position:absolute;inset:0;z-index:2;display:flex;white-space:nowrap;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;padding:4px 4px 10px;border-radius:inherit;background:color-mix(in srgb,var(--scrub-bg) 84%,transparent);font:500 10.5px/1.2 var(--scrub-sans);letter-spacing:0;color:var(--scrub-text);text-align:center}
.att .att-again{position:relative;min-height:24px;padding:0 7px;border:1px solid var(--scrub-text);border-radius:var(--scrub-r-pill);background:var(--scrub-bg);color:var(--scrub-text);font:600 11px var(--scrub-sans);letter-spacing:0;cursor:pointer}
/* Measured from inside its 1 px border: 22 + 2 × 11 = a 44 px target, inside the square. */
.att .att-again::after{content:'';position:absolute;inset:-11px -4px}
.att .att-x{position:absolute;top:-6px;right:-6px;z-index:3;width:24px;height:24px;min-height:24px;box-shadow:0 0 0 2px var(--scrub-bg);padding:0;border:0;border-radius:50%;background:var(--scrub-inv);color:var(--scrub-on-inv);font:500 15px/1 var(--scrub-sans);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.att .att-x::after{content:'';position:absolute;inset:-10px}
.att .att-x:focus-visible,.att .att-again:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.composer #send[aria-disabled=true],.ask button[type=submit][aria-disabled=true]{opacity:.35;cursor:not-allowed}
@media (prefers-reduced-motion:reduce){.att-spin .att-ring{animation:none}.att-arc{transition:none}}
.ask-hint{margin:8px 2px 0;font-size:13px;color:var(--scrub-text-2)}
.drop-veil{position:fixed;inset:12px;z-index:60;display:flex;align-items:center;justify-content:center;border:2px dashed var(--scrub-text-2);border-radius:var(--scrub-r-sheet);background:color-mix(in srgb,var(--scrub-bg) 90%,transparent);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:var(--scrub-text);font-size:20px;font-weight:600;letter-spacing:-.02em;pointer-events:none}
.drop-veil[hidden]{display:none}
/* Result card (F-88): what a job made, one row of them on Home */
.result-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin:0 0 8px}
.result-grid.small{grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:12px}
.result-grid.small .mc-stage{height:120px}
.result-grid.small .mc-stage.paper{padding:10px 12px}
.result-grid.small .mc-stage.blank{gap:8px}
.result-grid.small .mc-stage.blank>.tile{--s:40px!important}
.result-grid.small .mc-doc{font-size:12px;gap:4px}
.result-grid.small .mc-doc b{font-size:12.5px}
.result-grid.small .mc-doc p.long{-webkit-line-clamp:5}
.result-grid.small .mc-tab{font-size:11px}
.result-grid.small .mc-tab td{padding:4px 6px 4px 0}
.result-grid.small .mc-foot{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name price" "line line";column-gap:8px;padding:9px 6px 4px}
.result-grid.small .mc-foot>.tile{display:none}
.result-grid.small .mc-name{font-size:13px;overflow-wrap:normal;hyphens:none}
.result-grid.small .mc-price{font-size:12.5px}
.result-grid.small .mc-not{font-size:12px}
.result-grid.small .mc-line{font-size:12px}
.result-grid.small .mc-line .via span{display:none}
.result-grid.small .mc-listen{width:40px;height:40px;min-height:40px}
.find-bar{display:flex;align-items:flex-end;gap:10px 16px;margin:6px 0 18px}
.find-bar>.find{flex:1;min-width:0;margin:0}
.find-bar>.jv a{min-height:34px}
main.wide>.find-bar{max-width:1080px}
/* Dots (SCR-498): a filled card with no edge, the stage a block inset in it, its corners concentric. */
.mc{position:relative;display:flex;flex-direction:column;min-width:0;padding:6px;border:0;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);overflow:hidden;transition:background-color .2s var(--scrub-ease)}
.mc:hover{background:var(--scrub-surface-2)}
.mc:focus-within{outline:2px solid var(--scrub-text);outline-offset:2px}
.mc-stage{position:relative;flex:none;height:200px;overflow:hidden;border-radius:var(--scrub-r-block);background:var(--scrub-media);display:flex;align-items:center;justify-content:center}
.mc-stage .bg{position:absolute;inset:-24px;width:calc(100% + 48px);height:calc(100% + 48px);max-width:none;object-fit:cover;filter:blur(18px) brightness(.55)}
.mc-stage .fg{position:relative;display:block;height:100%;width:auto;max-width:100%;object-fit:contain}
.mc-stage img[hidden]{display:none}
.mc-stage video.mc-frame{width:100%}
.mc-stage video.mc-clip{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .2s;background:var(--scrub-media)}
.mc-stage video.mc-clip.on{opacity:1}
.mc-len{position:absolute;right:10px;bottom:10px;z-index:1;padding:2px 8px;border-radius:var(--scrub-r-pill);background:rgba(0,0,0,.62);color:#fff;font:500 11.5px/1.5 var(--scrub-mono);font-variant-numeric:tabular-nums}
.mc-play{position:absolute;left:10px;bottom:10px;z-index:1;width:32px;height:32px;border-radius:50%;background:rgba(0,0,0,.62);color:#fff;display:flex;align-items:center;justify-content:center}
.mc-stage.blank,.mc-stage.paper{background:var(--scrub-bg)}
.mc-stage.blank{flex-direction:column;gap:12px}
.mc-stage.blank .mc-len{position:static;background:none;color:var(--scrub-text-2);padding:0}
.mc-stage.paper{display:block;padding:14px 16px}
.mc-listen{position:relative;z-index:2;width:48px;height:48px;min-height:48px;padding:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--scrub-inv);color:var(--scrub-on-inv);border:0;cursor:pointer}
.mc-listen:hover{opacity:.88}
.mc-doc{display:flex;flex-direction:column;gap:6px;font-size:13px;line-height:1.5;color:var(--scrub-text-2)}
.mc-doc b{color:var(--scrub-text);font-size:14px;line-height:1.35;font-weight:600}
.mc-doc p{margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mc-doc p.long{-webkit-line-clamp:7}
.mc-tab{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed}
.mc-tab th{text-align:left;font-weight:600;color:var(--scrub-text);padding:0 8px 6px 0;border-bottom:1px solid var(--scrub-divide);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mc-tab td{padding:7px 8px 7px 0;border-bottom:1px solid var(--scrub-divide);color:var(--scrub-text-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mc-tab .n{font-family:var(--scrub-mono);font-variant-numeric:tabular-nums;text-align:right;padding-right:0}
.mc-foot{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"tile name price" "tile line line";column-gap:10px;row-gap:1px;align-items:center;padding:10px 6px 4px}
.mc-foot>.tile{grid-area:tile;--s:30px;align-self:start}
.mc-name{grid-area:name;align-self:start;font-weight:600;font-size:14px;line-height:1.3;color:inherit;text-decoration:none;overflow-wrap:anywhere}
.mc-name:focus-visible{outline:none}
.mc-name::after{content:'';position:absolute;inset:0;z-index:1}
.mc-price{grid-area:price;align-self:start;font-size:13.5px;line-height:1.3;justify-self:end;white-space:nowrap}
.mc-not{color:var(--scrub-text-2);font-size:13px}
.mc-line{grid-area:line;font-size:12.5px;color:var(--scrub-text-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mc-line .via{display:inline-flex;align-items:center;gap:4px;vertical-align:-3px}
.mc-line .via svg{width:14px;height:14px}
.mc.going .mc-stage .fg{opacity:.8}
.mc-doing{position:absolute;left:0;right:0;bottom:0;z-index:1;padding:30px 12px 12px;background:linear-gradient(transparent,rgba(0,0,0,.75));color:#fff;font-size:13px;display:flex;flex-direction:column;gap:8px}
.mc-stage.blank .mc-doing{background:none;color:var(--scrub-text)}
/* Running (SCR-498): until its first image lands, the stage is its kind's block, the tile and words in dark ink on it. */
.mc.going .mc-stage.blank:has(>.tile.audio){--bk:var(--scrub-block-audio)}
.mc.going .mc-stage.blank:has(>.tile.video){--bk:var(--scrub-block-video)}
.mc.going .mc-stage.blank:has(>.tile.image){--bk:var(--scrub-block-image)}
.mc.going .mc-stage.blank:has(>.tile.document){--bk:var(--scrub-block-document)}
.mc.going .mc-stage.blank:has(>.tile.mail){--bk:var(--scrub-block-mail)}
.mc.going .mc-stage.blank:has(>.tile.data){--bk:var(--scrub-block-data)}
.mc.going .mc-stage.blank{background:var(--bk,var(--scrub-bg))}
.mc.going .mc-stage.blank>.tile{--ti:var(--scrub-on-block)}
.mc.going .mc-stage.blank .mc-doing{color:var(--scrub-on-block);padding:30px 14px 14px}
.result-grid.small .mc.going .mc-stage.blank{justify-content:flex-start;padding-top:14px}
.result-grid.small .mc.going .mc-stage.blank .mc-doing{padding:0 10px 10px}
.mc-doing b{font-weight:600}
.mc-doing .c{font:500 12px var(--scrub-mono);font-variant-numeric:tabular-nums;opacity:.85}
.mc-bar{height:3px;border-radius:2px;background:color-mix(in srgb,currentColor 28%,transparent);overflow:hidden}
.mc-bar i{display:block;height:100%;width:0;background:currentColor;transition:width .35s ease}
@media (prefers-reduced-motion:reduce){.mc-bar i,.mc-stage video.mc-clip{transition:none}}
/* Tool cards (SCR-498, Dots): a large filled shape, no edge; the tile's ring,
   the name, its line, the price at the foot so prices line up along a row. */
.toolgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(204px,1fr));gap:12px}
/* What a section of the catalogue is, under its heading: Tools, Actions (founder, 25 Sep). */
h2+.section-note{margin:-6px 0 12px}
.toolcard{display:flex;flex-direction:column;align-items:flex-start;padding:18px 18px 16px;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);text-decoration:none;color:inherit;min-width:0;transition:background-color .2s var(--scrub-ease)}
.toolcard:hover{background:var(--scrub-surface-2)}
.toolcard:focus-visible{outline:2px solid var(--scrub-text);outline-offset:3px}
.toolcard .tile{--s:40px;margin:0 0 16px}
.toolcard .tn{font-weight:500;font-size:16px;line-height:1.25;letter-spacing:-.015em;color:var(--scrub-text)}
.toolcard .tgets{margin:6px 0 0;font-size:13.5px;line-height:1.4;color:var(--scrub-text-2);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.toolcard .tp{margin-top:auto;padding-top:14px;font-size:13px;line-height:1.4;color:var(--scrub-text-2)}
@media (prefers-reduced-motion:reduce){.toolcard{transition:none}}
/* Tools at a glance (SCR-195): the box narrows, Yours, the shelves' chips, the shelves */
.tf [hidden],.tf-hint[hidden]{display:none!important}
.tf-hint{margin:10px 4px 0}
.toolcard mark{background:color-mix(in srgb,var(--scrub-text) 14%,transparent);color:inherit;border-radius:4px}
/* Tools' box with Chat off: a search pill on the surface; its own edge shows focus. */
form.ask[data-find]{min-height:56px;padding:0 10px 0 22px;border:1px solid transparent;border-radius:var(--scrub-r-pill);background:var(--scrub-surface);box-sizing:border-box}
form.ask[data-find]:focus-within{border-color:var(--scrub-text)}
form.ask[data-find] input[type=search]{flex:1;min-width:0;max-width:none;height:54px;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;font-size:16px;outline:none}
form.ask[data-find] input[type=search]::placeholder{color:var(--scrub-text-2)}
/* Yours (SCR-498): what each tool made last, edge to edge at the card's top,
   its tile in the corner; with nothing to show, the tile in its place. */
.tf-yours h2{margin:36px 0 16px}
.toolgrid.tf-mine{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.tf-mine .toolcard{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto 1fr;grid-template-areas:"stage" "name" "price";align-items:start;padding:0;overflow:hidden}
.tf-mine .toolcard::before{content:"";grid-area:stage;width:100%;aspect-ratio:16/10;background:var(--scrub-surface-2)}
.tf-mine .tile{--s:40px;grid-area:stage;place-self:center;margin:0}
.tf-mine .tc-made .tile{--s:28px;place-self:start;margin:8px;background:var(--scrub-bg);z-index:1}
.tf-mine .tmade{grid-area:stage;align-self:stretch;position:relative;overflow:hidden}
.tf-mine .tmade img,.tf-mine .tmade video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.tf-mine .tmade.words>span{position:absolute;top:0;left:0;right:0;box-sizing:border-box;padding:44px 14px 0;font-size:13px;line-height:1.45;color:var(--scrub-text);overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}
.tf-mine .tn{grid-area:name;padding:12px 14px 0;font-size:14.5px;line-height:1.25;overflow-wrap:anywhere}
.tf-mine .tp{grid-area:price;margin:0;padding:3px 14px 14px;font-size:12.5px}
@media (max-width:1023px){.toolgrid.tf-mine{grid-template-columns:repeat(4,minmax(0,1fr))}.tf-mine>:nth-child(n+5){display:none}}
/* The shelves' chips: pills, the chosen one inverse, under the header as the page scrolls. */
.tf-at{display:block}
.tf-bar{position:sticky;top:var(--tf-top,57px);z-index:4;background:var(--scrub-bg);padding:14px 0;margin:28px 0 0;border-bottom:1px solid var(--scrub-line-2)}
.tf-chips{display:flex;gap:8px;flex-wrap:wrap}
.tf-chips .seg{min-width:0;min-height:36px;padding:0 16px;border:1px solid var(--scrub-line);border-radius:var(--scrub-r-pill);background:transparent;color:var(--scrub-text);font:500 14px/1.2 var(--scrub-sans);box-shadow:none;text-decoration:none;transition:background-color .15s var(--scrub-ease),border-color .15s var(--scrub-ease),color .15s var(--scrub-ease)}
.tf-chips .seg:hover{border-color:var(--scrub-text-2)}
.tf-chips .seg.on{background:var(--scrub-inv);border-color:var(--scrub-inv);color:var(--scrub-on-inv);box-shadow:none}
.tf-chips .seg:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.tf-chips .seg .n{font:500 12px/1 var(--scrub-mono);font-variant-numeric:tabular-nums;color:inherit;opacity:.6;margin-left:8px}
@media (prefers-reduced-motion:reduce){.tf-chips .seg{transition:none}}
/* A shelf: its name large, its line beside it; Tools and Actions as small labels.
   A chip's jump without script lands below the bar, not under it. */
.tf-shelf{scroll-margin-top:calc(var(--head-h,57px) + 72px)}
.tf-sh{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin:48px 0 18px}
.tf-sh h2,.tf-yours h2{font-size:24px;line-height:1.15;letter-spacing:-.03em}
.tf-sh h2{margin:0}
.tf-sh p{margin:0;font-size:15px;line-height:1.45;color:var(--scrub-text-2)}
.tf-sub{font:var(--scrub-label);letter-spacing:.06em;text-transform:uppercase;color:var(--scrub-text-2);margin:28px 0 12px}
.tf-sh+.tf-sub{margin-top:4px}
/* An App's band (SCR-682): one group, larger than a shelf, washed and edged in
   its material's colour (--ti, from .tf-app.<category>); its door first, its
   cards on the page's own ground so they lift off the wash. Six until All N. */
.tf-app{margin:32px 0 0;padding:24px;border-radius:var(--scrub-r-sheet);background:color-mix(in srgb,var(--ti) 7%,var(--scrub-bg));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ti) 32%,transparent)}
.tf-app .toolcard{background:var(--scrub-bg)}
.tf-app .toolcard:hover{background:var(--scrub-surface)}
.tf-app:not(.all):not(.finding) [data-later]{display:none}
.tf-door{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px 18px;margin:0 0 22px;color:inherit;text-decoration:none}
.tf-door .tile{--s:60px}
.tf-door-n{display:flex;align-items:center;gap:10px}
.tf-door-n h2{margin:0;font-size:30px;line-height:1.1;letter-spacing:-.035em}
.tf-door-l{display:block;margin:4px 0 0;font-size:15px;line-height:1.45;color:var(--scrub-text-2)}
.tf-door-go{display:inline-flex;align-items:center;min-height:40px;padding:0 18px;border:1px solid var(--scrub-line);border-radius:var(--scrub-r-pill);background:var(--scrub-bg);font:500 14px/1.2 var(--scrub-sans);color:var(--scrub-text);transition:border-color .15s var(--scrub-ease)}
.tf-door:hover .tf-door-go{border-color:var(--scrub-text)}
.tf-door:focus-visible{outline:2px solid var(--scrub-text);outline-offset:4px;border-radius:var(--scrub-r-block)}
.tf-app .tf-sub:first-of-type{margin-top:4px}
.tf-more{display:flex;align-items:center;margin:14px 0 0;min-height:40px;padding:0 18px;border:1px solid var(--scrub-line);border-radius:var(--scrub-r-pill);background:transparent;color:var(--scrub-text);font:500 14px/1.2 var(--scrub-sans);box-shadow:none;cursor:pointer}
.tf-more .n{font:500 12px/1 var(--scrub-mono);font-variant-numeric:tabular-nums;opacity:.6;margin-left:8px}
.tf-app.all .tf-more,.tf-app.finding .tf-more{display:none}
/* The small label that says a thing is an App: on its band, and on its own page beside its name. */
.app-tag{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:var(--scrub-r-pill);box-shadow:inset 0 0 0 1px var(--ti,var(--scrub-line));color:var(--scrub-text-2);font:500 11.5px/1 var(--scrub-sans);letter-spacing:.06em;text-transform:uppercase;flex:none}
.toolhead h1 .app-tag{vertical-align:middle;margin-left:4px;position:relative;top:-2px}
@media (max-width:640px){.tf-app{margin:24px -4px 0;padding:18px 14px}.tf-door{grid-template-columns:auto minmax(0,1fr);gap:4px 14px;margin:0 0 18px}.tf-door .tile{--s:48px}.tf-door-n h2{font-size:24px}.tf-door-l{font-size:14px}.tf-door-go{grid-column:1 / -1;justify-content:center;min-height:44px;margin-top:10px}.tf-more{min-height:44px;width:100%;justify-content:center}}
@media (prefers-reduced-motion:reduce){.tf-door-go{transition:none}}
.tf-none{max-width:none;margin:28px 0;padding:44px 24px;border-radius:var(--scrub-r-sheet);background:var(--scrub-surface);text-align:center;font-size:15px;line-height:1.5;color:var(--scrub-text-2);text-wrap:balance}
.tf-none b{display:block;margin:0 0 4px;font-size:18px;font-weight:500;letter-spacing:-.01em;color:var(--scrub-text)}
@media (max-width:640px){.toolgrid,.toolgrid.tf-mine{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.toolcard{padding:14px 14px 12px}.toolcard .tile{--s:36px;margin:0 0 12px}.toolcard .tn{font-size:15px}.toolcard .tgets{font-size:13px}.toolcard .tp{padding-top:10px;font-size:12.5px}.tf-mine .toolcard{padding:0}.tf-mine .tile{--s:36px;margin:0}.tf-mine .tc-made .tile{--s:28px;margin:8px}.tf-mine .tn{padding:10px 12px 0;font-size:14px}.tf-mine .tp{padding:2px 12px 12px}.tf-mine .tmade.words>span{padding:42px 12px 0;-webkit-line-clamp:3;line-clamp:3}.tf-yours h2{margin:28px 0 12px}.tf-sh{margin:36px 0 14px}.tf-sh h2,.tf-yours h2{font-size:21px}.tf-none{padding:32px 20px}.tf-bar{margin:20px -20px 0;padding:10px 0}.tf-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:0 20px;-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 28px),transparent)}.tf-chips::-webkit-scrollbar{display:none}.tf-chips .seg{flex:none;min-height:44px}form.ask[data-find]{min-height:52px;padding:0 6px 0 18px}form.ask[data-find] input[type=search]{height:50px}}

/* Jobs: one row each, the price at the end */
/* Dots (SCR-498): one filled panel, calm rows in it, an inset divider between them that steps aside for a filled (hovered) row. */
.jobs{display:flex;flex-direction:column;padding:6px;border-radius:var(--scrub-r-panel);background:var(--scrub-surface)}
.jobs>*{position:relative}
.jobs>*+*::before{content:'';position:absolute;top:0;left:72px;right:14px;height:1px;background:var(--scrub-divide);pointer-events:none}
.jobs>:hover::before,.jobs>:hover+*::before{opacity:0}
.job{display:grid;grid-template-columns:44px minmax(0,1fr) 148px 96px 104px;grid-template-areas:"tile name via time cost";gap:2px 14px;align-items:center;min-height:64px;padding:10px 14px;border-radius:var(--scrub-r-block);text-decoration:none;color:inherit;transition:background-color .15s var(--scrub-ease)}
.job:hover{background:var(--scrub-surface-2)}
.job>.tile{grid-area:tile}
.job .jn{grid-area:name;display:flex;flex-direction:column;gap:2px;min-width:0}
.job .jn b{font-weight:600}
.job .jf{display:flex;min-width:0;font-size:12.5px;color:var(--scrub-text-2);white-space:nowrap}
.job .jf .fn{min-width:0;overflow:hidden;text-overflow:ellipsis}
.job .jf time{flex:none}
.job .jwhen{flex:none}
.job .jw{grid-area:via;display:flex;align-items:center;gap:7px;min-width:0;color:var(--scrub-text-2);font-size:13.5px;white-space:nowrap}
.job .jw svg{flex:none;width:16px;height:16px}
.job .jw span{overflow:hidden;text-overflow:ellipsis}
.job .jwi{display:none}
.job .jt{grid-area:time;justify-self:end;color:var(--scrub-text-2);font-size:14px}
.job .jc{grid-area:cost;justify-self:end;font-size:14px}
.job:focus-visible{outline-offset:-2px}
/* A tool's run: its row, and under its arrow each step and its price */
.jobs.grouped .job{grid-template-columns:44px minmax(0,1fr) 148px 96px 138px}
.jobs.grouped .job .jc{padding-right:34px}
.jg{position:relative}
.jg .jc{display:flex;align-items:baseline;gap:6px}
.jg-all{font-size:12px;color:var(--scrub-text-2);white-space:nowrap}
/* The arrow keeps its whole 34 × 64 room to press; the round mark in it is what shows. */
.jg>details>summary{position:absolute;top:0;right:14px;width:34px;height:64px;display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;border-radius:var(--scrub-r-pill)}
.jg>details>summary::before{content:'';position:absolute;left:1px;top:15px;width:32px;height:32px;border-radius:50%;transition:background-color .15s var(--scrub-ease)}
.jg>details>summary::-webkit-details-marker{display:none}
.jg>details>summary:hover::before{background:color-mix(in srgb,var(--scrub-text) 9%,transparent)}
.jg>details>summary:focus-visible{outline:2px solid var(--scrub-text);outline-offset:-2px}
.jg-chev{position:relative;width:8px;height:8px;border-right:1.6px solid var(--scrub-text-2);border-bottom:1.6px solid var(--scrub-text-2);transform:translateY(-2px) rotate(45deg);transition:transform .2s var(--scrub-ease)}
.jg>details[open]>summary .jg-chev{transform:translateY(2px) rotate(-135deg)}
@media (prefers-reduced-motion:reduce){.jg-chev,.job,.mc,.jg>details>summary::before{transition:none}}
/* A run's steps hang under its name on a rule drawn in dots. */
.jg-steps{margin:0 6px 10px 72px;border-left:2px dotted color-mix(in srgb,var(--scrub-text-2) 55%,transparent);padding-left:10px}
.jg-steps .jst{padding:6px 8px;border-radius:var(--scrub-r-field)}
.jg-steps a.jst{transition:background-color .15s var(--scrub-ease)}
.jg-steps a.jst:hover{background:var(--scrub-surface-2)}
.jg-steps a.jst:hover .jn b{text-decoration:none}
.jg-steps .jg-l{margin:12px 0 4px 8px}
.jst{display:grid;grid-template-columns:28px minmax(0,1fr) 96px 138px;grid-template-areas:"tile name time cost";gap:2px 14px;align-items:center;min-height:46px;padding:6px 0;text-decoration:none;color:inherit}
.jst>.tile{grid-area:tile;--s:28px}
.jst .jn{grid-area:name;display:flex;flex-direction:column;gap:1px;min-width:0}
.jst .jn b{font-weight:500;font-size:14px}
a.jst:hover .jn b{text-decoration:underline}
.jst .jf{font-size:12.5px;color:var(--scrub-text-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.jst .jt{grid-area:time;justify-self:end;color:var(--scrub-text-2);font-size:13px}
.jst .jc{grid-area:cost;justify-self:end;font-size:13.5px;padding-right:34px}
.jst.quiet{opacity:.62}
.jg-none{color:var(--scrub-text-2)}
.jg-l{margin:10px 0 2px;font:500 10.5px var(--scrub-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--scrub-text-2)}

/* Search and filters */
.find{display:grid;grid-template-columns:minmax(180px,2fr) minmax(120px,1.3fr) minmax(96px,1fr) minmax(128px,1fr) minmax(128px,1fr) auto;gap:10px 12px;align-items:end;margin:6px 0 18px}
.find.find-3{grid-template-columns:minmax(160px,2fr) minmax(120px,1.3fr) minmax(110px,1.1fr) minmax(96px,1fr) minmax(128px,1fr) minmax(128px,1fr) auto}
.find label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--scrub-text-2);min-width:0}
/* Dots (SCR-498): the search box and its filters are pills on the surface's fill, the edge showing only on focus. */
.find input,.find select{max-width:none;min-height:40px;color:var(--scrub-text);border-color:transparent;border-radius:var(--scrub-r-pill);padding-left:12px}
.find input[type=date]{font:inherit;padding:8px 8px 8px 12px;border-radius:var(--scrub-r-pill);background:var(--scrub-surface);width:100%}
.find .go{display:flex;gap:12px;align-items:center}
.find .go button{min-height:40px}
.find .go a{font-size:14px}

/* Paging and nothing to show */
.paging{display:flex;gap:10px;margin:20px 0 0}
.paging .older{margin-left:auto}
.nothing{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:20px;border:1px dashed var(--scrub-line);border-radius:var(--scrub-radius-lg);color:var(--scrub-text-2);font-size:14px}
.nothing p{margin:0}
/* Dots (SCR-498): a large rounded ground on the surface's fill with the mark's faint dots, faded away under the words in its middle. */
.nothing:not(.notice){align-items:center;justify-content:center;gap:16px;min-height:168px;padding:36px 24px;text-align:center;border:0;border-radius:var(--scrub-r-sheet);background:radial-gradient(closest-side,var(--scrub-surface) 45%,transparent) center/100% 100% no-repeat,radial-gradient(circle,var(--scrub-dot) 1.1px,transparent 1.5px) 9px 9px/18px 18px,var(--scrub-surface);font-size:15px;line-height:1.45}
.nothing:not(.notice) p{max-width:40ch}

/* Files (F-52): one row each, the size, then what can be done with it */
/* Dots (SCR-498): Jobs' panel and rows; the list never clips, so Use in can reach past its row. */
.flist{display:flex;flex-direction:column;padding:6px;border-radius:var(--scrub-r-panel);background:var(--scrub-surface)}
.flist[hidden]{display:none}
.flist>*{position:relative}
.flist>*+*::before{content:'';position:absolute;top:0;left:72px;right:14px;height:1px;background:var(--scrub-divide);pointer-events:none}
.flist>:hover::before,.flist>:hover+*::before{opacity:0}
.fentry{display:grid;grid-template-columns:44px minmax(0,1fr) 84px 270px;grid-template-areas:"x name size act";gap:4px 14px;align-items:center;min-height:64px;padding:10px 14px;border-radius:var(--scrub-r-block);transition:background-color .15s var(--scrub-ease)}
.fentry:hover,.fentry:has(.confirm.asking){background:var(--scrub-surface-2)}
@media (prefers-reduced-motion:reduce){.fentry{transition:none}}
.fx{grid-area:x;position:relative;overflow:hidden;width:44px;height:44px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:transparent;color:var(--ti);box-shadow:inset 0 0 0 2px var(--ti);font:700 11px var(--scrub-mono);letter-spacing:.02em}
/* An image shows itself in its square, the kind's ring kept as its edge over it. */
.fx>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.fx:has(>img)::after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 2px var(--ti)}
.fx.audio{--tb:var(--scrub-tile-audio);--tk:var(--scrub-tile-audio-ink);--ti:var(--scrub-icon-audio)}
.fx.video{--tb:var(--scrub-tile-video);--tk:var(--scrub-tile-video-ink);--ti:var(--scrub-icon-video)}
.fx.image{--tb:var(--scrub-tile-image);--tk:var(--scrub-tile-image-ink);--ti:var(--scrub-icon-image)}
.fx.document{--tb:var(--scrub-tile-document);--tk:var(--scrub-tile-document-ink);--ti:var(--scrub-icon-document)}
.fx.data{--tb:var(--scrub-tile-data);--tk:var(--scrub-tile-data-ink);--ti:var(--scrub-icon-data)}
.fe-n{grid-area:name;display:flex;flex-direction:column;gap:2px;min-width:0}
/* A long name wraps rather than losing its extension to an ellipsis (SCR-498: the rows sit inside a panel now). */
.fe-name{font-weight:600;text-decoration:none;overflow-wrap:anywhere}
.fe-name:hover{text-decoration:underline}
.fe-meta{font-size:12.5px;color:var(--scrub-text-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fe-meta a{color:inherit}
.fe-size{grid-area:size;justify-self:end;font-size:14px;color:var(--scrub-text-2)}
.fe-act{grid-area:act;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.fe-act .button,.fe-act button{white-space:nowrap}
.fe-dl{display:inline-flex;align-items:center;gap:6px}
.fe-dl svg{flex:none}
.fe-use{position:relative}
.fe-use summary{list-style:none;cursor:pointer}
.fe-use summary::-webkit-details-marker{display:none}
.fe-use[open] summary{background:var(--scrub-inv);border-color:var(--scrub-inv);color:var(--scrub-on-inv)}
.fe-pop{position:absolute;right:0;top:calc(100% + 8px);z-index:4;width:min(340px,80vw);padding:6px;background:var(--scrub-raised);border-radius:var(--scrub-r-float);box-shadow:var(--scrub-shadow-float)}
.fe-pop .usein{border:0;border-radius:0;overflow:visible;gap:2px}
.fe-pop .usein a{border-top:0;border-radius:var(--scrub-r-field)}
.fe-pop .usein a:hover{background:var(--scrub-surface)}
.fe-act .confirm.asking{flex:1 1 auto}
/* Asking before a delete, the actions take the row under the name, so the sentence has room. */
.fentry:has(.confirm.asking) .fe-act{grid-column:2/-1;grid-row:2}
.fentry .confirm.asking .confirm-ask{max-width:none}
/* Files in folders (SCR-549): Jobs' one filled panel, as columns; one line icon a file; folders first. */
.ft{background:var(--scrub-surface);border-radius:var(--scrub-r-panel);padding:6px;margin:0 0 8px}
.ft-head,.ft-row{display:grid;grid-template-columns:40px minmax(0,2.4fr) minmax(170px,1fr) 120px 80px 44px;align-items:center;gap:0 12px}
.ft-head{padding:6px 10px 8px;color:var(--scrub-text-2)}
.ft-head .ft-hs{justify-self:end}
.ft-row{position:relative;padding:8px 10px;border-radius:14px;transition:background-color .15s var(--scrub-ease)}
.ft-row:hover,.ft-sub:hover,.ft-row.on,.ft-sub.on{background:var(--scrub-surface-2)}
.ft>.ft-row+.ft-row::before,.ft>.ft-row+.ft-g>.ft-row::before,.ft-g+.ft-g>.ft-row::before{content:"";position:absolute;top:0;left:62px;right:14px;border-top:1px solid var(--scrub-divide)}
.ft-row:hover::before,.ft-row:hover+.ft-g>.ft-row::before,.ft-g:hover+.ft-g>.ft-row::before{border-color:transparent}
.ft-ic{grid-area:auto;flex:none;width:40px;height:40px;border-radius:10px}
.ft-ic svg{width:20px;height:20px}
.ft-folder-ic{flex:none;display:flex;align-items:center;justify-content:center;width:40px;height:40px;color:var(--scrub-text-2)}
.ft-folder-ic svg{display:block;width:100%;height:100%}
.ft-folder:hover .ft-folder-ic{color:var(--scrub-text)}
.ft-n{display:flex;flex-direction:column;gap:2px;min-width:0}
.ft-name{background:none;border:0;padding:0;min-height:0;color:var(--scrub-text);font:500 15px/1.35 var(--scrub-sans);text-align:left;text-decoration:none;cursor:pointer;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.ft-name:hover{text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--scrub-line)}
.ft-n .small{color:var(--scrub-text-2)}
.ft-pm,.ft-pw{display:none}
.ft-made{color:var(--scrub-text-2);font-size:13.5px;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
a.ft-made:hover{color:var(--scrub-text);text-decoration:underline;text-underline-offset:3px}
.ft-when{color:var(--scrub-text-2);font-size:13.5px;white-space:nowrap}
.ft-size{justify-self:end;color:var(--scrub-text-2);font-size:13px;white-space:nowrap}
.ft-more{display:inline-flex;align-items:center;justify-content:center;gap:2px;width:44px;height:32px;min-height:0;padding:0;border:0;border-radius:var(--scrub-r-pill);background:none;color:var(--scrub-text-2);font:500 12.5px/1 var(--scrub-mono);cursor:pointer}
button.ft-more:hover{background:var(--scrub-bg);color:var(--scrub-text)}
.ft-more svg{transition:transform .2s var(--scrub-ease)}
.ft-more[aria-expanded="true"] svg{transform:rotate(180deg)}
.ft-go{cursor:inherit}
.ft-under{margin:0 0 6px 30px;padding-left:12px;background-image:radial-gradient(circle,var(--scrub-line) 1px,transparent 1.4px);background-size:2px 6px;background-repeat:repeat-y}
.ft-under[hidden]{display:none}
.ft-sub{display:grid;grid-template-columns:34px minmax(0,1fr) 80px;align-items:center;gap:0 12px;padding:6px 10px;border-radius:12px}
.ft-sub .ft-ic{width:34px;height:34px;border-radius:9px}
.ft-sub .ft-ic svg{width:17px;height:17px}
.ft-sub .ft-name{font-size:14px;font-weight:400}
.ft-sub.soft .ft-name{color:var(--scrub-text-2)}
.ft-soft{padding:8px 10px 2px 56px;color:var(--scrub-text-2)}
.ft-gone{padding:12px 14px 12px 62px;color:var(--scrub-text-2);font-size:14px}
.ft-empty{margin:0;padding:28px 16px;text-align:center;color:var(--scrub-text-2);font-size:14px}
.ft-row.drop-on,.files-crumb a.drop-on{background:var(--scrub-surface-2);box-shadow:inset 0 0 0 2px var(--scrub-text)}
.ft-name-in{font:500 15px/1.35 var(--scrub-sans);color:var(--scrub-text);background:var(--scrub-bg);border:0;border-radius:8px;padding:4px 8px;margin-left:-8px;outline:2px solid var(--scrub-text);width:min(360px,100%)}
.files-h h1 .ft-name-in{font:inherit;padding:0 10px;margin-left:-10px;width:min(560px,100%);border-radius:12px}
.files-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 -6px;color:var(--scrub-text-2);font-size:14px}
.files-crumb a{max-width:14em;padding:4px 6px;margin-left:-6px;border-radius:8px;color:var(--scrub-text-2);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.files-crumb a:hover{background:var(--scrub-surface-2);color:var(--scrub-text)}

/* Move (SCR-693): a Modal, one level of folders at a time, as Drive's. */
dialog.mv-sheet{max-width:min(520px,calc(100vw - 32px))}
.mv{display:flex;flex-direction:column;gap:12px;padding:20px 20px 18px;border-radius:var(--scrub-r-sheet);background:var(--scrub-raised);box-shadow:var(--scrub-shadow-float)}
.mv-top h2{margin:0;font-size:20px;line-height:1.3;letter-spacing:-.01em;overflow-wrap:anywhere}
.mv-top p{margin:4px 0 0;color:var(--scrub-text-2)}
.mv-where{display:flex;align-items:center;gap:4px;min-height:44px;padding-bottom:6px;border-bottom:1px solid var(--scrub-divide)}
.mv-back{flex:none;width:44px;height:44px;min-height:0;padding:0;border-radius:var(--scrub-r-pill);display:inline-grid;place-items:center}
.mv-back[hidden]{display:none}
.mv-path{display:flex;flex-wrap:wrap;align-items:center;gap:2px;min-width:0;color:var(--scrub-text-2)}
.mv-path b{padding:4px 6px;color:var(--scrub-text);font-weight:600}
.mv-crumb{width:auto;min-height:0;padding:4px 6px;border:0;border-radius:8px;background:none;color:var(--scrub-text-2);font:inherit;cursor:pointer}
.mv-crumb:hover{background:var(--scrub-surface-2);color:var(--scrub-text)}
.mv-list{display:flex;flex-direction:column;gap:2px;min-height:120px;max-height:min(50vh,400px);overflow:auto}
.mv-row{display:flex;align-items:center;gap:8px;border-radius:12px}
.mv-row:hover,.mv-row:focus-within{background:var(--scrub-surface-2)}
.mv-making{padding:6px 10px;gap:12px}
.mv-making .ft-name-in{flex:1}
.mv-open{flex:1;display:flex;align-items:center;gap:12px;width:auto;min-width:0;min-height:52px;padding:6px 10px;border:0;border-radius:12px;background:none;color:var(--scrub-text);font:400 15px/1.3 var(--scrub-sans);text-align:left;cursor:pointer}
.mv-open:disabled{color:var(--scrub-text-2);cursor:default}
.mv-row .ft-folder-ic{flex:none;width:28px;height:28px}
.mv-n{flex:1;min-width:0;display:flex;flex-direction:column}
.mv-n>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mv-n .small{color:var(--scrub-text-2)}
.mv-chev{flex:none;color:var(--scrub-text-2)}
.mv-go{flex:none;margin-right:8px;opacity:0}
.mv-go-none{visibility:hidden}
.mv-row:hover .mv-go,.mv-row:focus-within .mv-go{opacity:1}
@media (hover:none){.mv-go{opacity:1}}
.mv-none{margin:0;padding:16px 10px;color:var(--scrub-text-2)}
.mv-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding-top:4px}
.mv-end{display:flex;gap:8px;margin-left:auto}
/* Inside a folder: its name opens its menu (SCR-693). */
.files-t{position:relative;min-width:0}
.files-t .th-menu{left:0}
.files-t h1 [data-folder-name]{overflow-wrap:anywhere}

/* A file opened beside the list. */
.ft-side{position:fixed;top:72px;right:16px;bottom:16px;width:400px;z-index:58;background:var(--scrub-raised);border-radius:var(--scrub-r-panel);box-shadow:var(--scrub-shadow-float);overflow:auto;padding:12px 18px 20px}
.ft-side[hidden]{display:none}
.ft-side-h{display:flex;justify-content:flex-end;position:sticky;top:-12px;margin:0 -8px 4px;padding-top:2px;z-index:2}
.ft-side-x{width:36px;height:36px;min-height:0;padding:0;border-radius:var(--scrub-r-pill);font-size:20px;line-height:1;background:var(--scrub-raised)}
.ft-show{border-radius:14px;overflow:hidden;background:#000;margin:0 0 14px}
.ft-show video,.ft-show img{display:block;width:100%;max-height:48vh;object-fit:contain;background:#000}
.ft-show:has(.ft-sound){background:var(--scrub-surface-2)}
.ft-sound{display:flex;flex-direction:column;align-items:center;gap:14px;padding:28px 16px 18px}
.ft-sound .ft-ic{width:56px;height:56px;border-radius:14px}
.ft-sound .ft-ic svg{width:26px;height:26px}
.ft-sound>.player{width:100%}
.ft-show:has(.ft-sound>.player){background:none}
.ft-sound:has(>.player){padding:0}
.ft-title{margin:0 0 10px;font-size:18px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.ft-facts{display:grid;grid-template-columns:96px 1fr;gap:6px 12px;margin:0 0 6px;font-size:14px}
.ft-facts dt{color:var(--scrub-text-2)}
.ft-facts dd{margin:0;min-width:0;overflow-wrap:anywhere}
.ft-sec{margin-top:18px;display:flex;flex-direction:column;gap:6px}
.ft-sec>b{color:var(--scrub-text-2);font-weight:500}
.ft-acts{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:16px}
.ft-acts .confirm.asking{flex-basis:100%;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ft-also{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:0;padding:6px 8px;border:0;border-radius:12px;background:none;color:var(--scrub-text);font:400 14px/1.3 var(--scrub-sans);text-align:left;cursor:pointer}
.ft-also:hover{background:var(--scrub-surface-2)}
.ft-also .ft-ic{width:34px;height:34px;border-radius:9px}
.ft-also .ft-ic svg{width:17px;height:17px}
.ft-also .small{color:var(--scrub-text-2)}
@media (min-width:1600px){body.ft-open main{padding-right:432px}}
@media (prefers-reduced-motion:reduce){.ft-more svg,.ft-row{transition:none}}
@media (max-width:1099px){
  .ft-head,.ft-row{grid-template-columns:40px minmax(0,1fr) 110px 76px 44px}
  .ft-hm,.ft-row>.ft-made{display:none}
  .ft-pm{display:inline}
}
@media (max-width:767px){
  .ft-head{display:none}
  .ft-row{grid-template-columns:40px minmax(0,1fr) auto 40px;gap:0 10px;padding:10px}
  .ft-row>.ft-when{display:none}
  .ft-pw{display:inline}
  .ft-under{margin-left:14px}
  .ft>.ft-row+.ft-row::before,.ft>.ft-row+.ft-g>.ft-row::before,.ft-g+.ft-g>.ft-row::before{left:60px}
  .ft-side{top:auto;left:0;right:0;bottom:0;width:auto;max-height:88vh;border-radius:var(--scrub-r-panel) var(--scrub-r-panel) 0 0}
}
/* Its square plays it or opens it under the row (SCR-529); the look takes the row's width under the name. */
.fentry .fx.fsee{grid-area:x}
.fentry .flen[hidden]{display:none}
.fentry>.file-look{grid-column:2/-1;padding:4px 0 6px}
.fe-gone{padding:14px 14px 14px 72px;font-size:13px;color:var(--scrub-text-2);overflow-wrap:anywhere}
/* Files' own Upload (SCR-245): beside the heading; each file going up is a row with its bar. */
.files-h{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:8px}
.files-h h1{margin:0}
.files-h .row{display:flex;gap:8px;flex-wrap:wrap}.files-h form{margin:0}
.fup-list{margin-bottom:12px}
.fentry.fup{grid-template-columns:44px minmax(0,1fr) 84px;grid-template-areas:"x name size"}
.fentry.fup .fe-n{gap:8px}
.files-drop .drop-empty{min-height:240px}
/* Files with nothing in it yet (SCR-498): the drop zone as a large ground of the mark's faint dots, faded under its words. */
.drop.files-drop{border:0;border-radius:var(--scrub-r-sheet);background:radial-gradient(closest-side,var(--scrub-surface) 50%,transparent) center/100% 100% no-repeat,radial-gradient(circle,var(--scrub-dot) 1.1px,transparent 1.5px) 9px 9px/18px 18px,var(--scrub-surface)}
.files-drop .drop-empty b{font-size:20px;font-weight:500;letter-spacing:-.02em}
/* Jobs views (SCR-498): a pill segment on the surface's fill, the view shown in the inverse. */
.jv{gap:2px;padding:3px;border:0;border-radius:var(--scrub-r-pill);background:var(--scrub-surface)}
.jv a,.jv a:first-child,.jv a[aria-current=true]+a{border:0;border-radius:var(--scrub-r-pill);padding:2px 14px;justify-content:center;transition:color .15s var(--scrub-ease),background-color .15s var(--scrub-ease)}
.jv a[aria-current=true]{background:var(--scrub-inv);color:var(--scrub-on-inv)}
.jv a:focus-visible{outline-offset:2px}
@media (prefers-reduced-motion:reduce){.jv a{transition:none}}
/* A draft's card (SCR-498): no fill, a dashed edge as Draft's ring is dashed, its stage open. */
.mc.draft{padding:4.5px;border:1.5px dashed var(--scrub-line);background:transparent}
.mc.draft:hover{background:transparent;border-color:var(--scrub-text-2)}
@media (max-width:640px){
  .jobs,.flist{padding:4px}
  .jobs>*+*::before{left:62px;right:10px}
  .flist>*+*::before{left:60px;right:8px}
  .job{padding:10px}
  .fentry{padding:10px 8px}
  .fe-act{gap:6px}
  .fe-act .button.small,.fe-act button.small{padding-left:10px;padding-right:10px}
  .jg>details>summary{right:10px}
  .jobs .jg-steps{margin:0 4px 8px 20px}
  .fe-gone{padding:14px 8px 14px 60px}
  .fe-act{padding-left:52px}
  .find input,.find select,.find input[type=date]{min-height:44px}
  /* The views span their line in equal parts on a phone (SCR-498). */
  .find-bar>nav.jv{align-self:stretch}
  .find-bar>nav.jv a{flex:1;min-height:44px;padding:2px 12px}
  .drop.files-drop .drop-empty{min-height:220px}
}

/* Chat */
.chatlog{display:flex;flex-direction:column;gap:16px}
.msg{max-width:100%;overflow-wrap:anywhere}
.msg p{margin:0 0 8px;max-width:none}
.msg p:last-child{margin:0}
.msg ul{margin:0 0 8px;padding-left:20px}
.msg li{margin:2px 0}
/* Dots (SCR-498): a soft filled shape, one small corner towards the person. */
.msg.you{align-self:flex-end;background:var(--scrub-surface-2);border-radius:var(--scrub-r-panel) var(--scrub-r-panel) 6px var(--scrub-r-panel);padding:11px 16px;max-width:78%;white-space:pre-wrap;display:flex;flex-direction:column;gap:6px}
.msg.you .attached{font-size:12.5px;color:var(--scrub-text-2);white-space:normal}
/* The result a pressed next step is on (SCR-234): its still and its maker, above the words; pressed, it goes back to it. */
.msg.you .you-on{display:flex;align-items:center;gap:10px;margin:0;padding:4px 12px 4px 4px;border:0;border-radius:var(--scrub-r-field);background:var(--scrub-bg);color:var(--scrub-text-2);font:inherit;font-size:12.5px;line-height:1.3;text-align:left;white-space:normal;cursor:pointer;min-height:0;box-shadow:none;max-width:100%}
.msg.you .you-on:hover{color:var(--scrub-text)}
.msg.you .you-on-still{flex:none;width:40px;height:40px;border-radius:calc(var(--scrub-r-field) - 4px);overflow:hidden;background:var(--scrub-line-2);display:flex;align-items:center;justify-content:center}
.msg.you .you-on-still img,.msg.you .you-on-still video{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}
.msg.you .you-on-still .tile{--s:28px}
.msg.you .you-on-t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Dots (SCR-498): a filled panel, the width of the running card it was (SCR-476), what it made to its edges. */
.toolrun{display:flex;flex-direction:column;gap:12px;border:1px solid var(--scrub-line-2);border-radius:var(--scrub-r-panel);background:var(--scrub-surface);padding:14px 16px;font-size:14px;max-width:560px;box-sizing:border-box}
.tr-head{display:flex;align-items:center;gap:10px;min-height:32px}
.tr-head .tile{--s:32px}
.tr-head b{font-weight:600;font-size:15px;letter-spacing:-.01em}
.tr-head .clock{margin-left:auto;font-family:var(--scrub-mono);font-variant-numeric:tabular-nums;color:var(--scrub-text-2)}
.toolrun .inline-run{font-size:13px;color:var(--scrub-text-2)}
/* A tool's steps in Chat (F-70): the running card's list, trimmed to fit. */
.toolrun .rsteps li{padding:6px 0;font-size:13px}
.toolrun .rsteps li:last-child{border-bottom:0}
.toolrun .rs-sub{gap:8px}
.toolrun .rs-sub .prog{display:none}
.tr-media{display:flex;flex-direction:column;gap:8px}
.tr-media .view{margin:0}
.tr-media .view video,.tr-media .view img{max-height:min(56vh,440px)}
.tr-head .tr-price{margin-left:auto;font-size:14px}
.tr-head .tr-open{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:var(--scrub-text);text-decoration:none}
.tr-head .tr-price+.tr-open{margin-left:6px}
.tr-head .tr-edit{margin-left:auto;font-size:14px;font-weight:500;color:var(--scrub-text);text-decoration:none}
.tr-head .tr-price+.tr-edit{margin-left:6px}
.tr-head .tr-edit+.tr-open{margin-left:10px}
.tr-head .tr-edit:hover{text-decoration:underline}
.tr-head .tr-open svg{color:var(--scrub-text-2)}
.tr-head .tr-open:hover svg{color:var(--scrub-text)}
/* What was made runs to the card's edges (SCR-218), a portrait video in the player's dark band. */
.toolrun.done:has(.tr-media){padding-bottom:0;overflow:hidden}
.toolrun.done .tr-media{margin:0 -16px}
/* What it made to take away, under what it made (SCR-251). */
.toolrun .tr-take{display:flex}
.toolrun.done:has(.tr-media) .tr-take{padding-bottom:14px}
.tr-media .view{width:100%;max-width:none;border-radius:0}
.tr-media .view video,.tr-media .view img{margin:0 auto}
.tr-media .view.audio{padding:0 16px 14px;box-sizing:border-box;background:transparent}
/* Why it stopped, a block of the error's tint inside the card, its words unchanged. */
.toolrun .notice.stopped{border:0;border-radius:var(--scrub-r-block);background:color-mix(in srgb,var(--scrub-err) 8%,var(--scrub-bg))}
.toolnote{margin:0;font-size:13px;color:var(--scrub-text-2)}
.toolnote+.toolnote{margin-top:-10px}
.toolnote:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;margin:0 8px 2px 2px;vertical-align:middle}
.toolnote.live:before,.toolnote.done:before{width:13px;height:13px;margin:0 8px 2px 0;box-sizing:border-box}
.toolnote.live:before{background:none;border:1.6px solid var(--scrub-warn);border-right-color:transparent;animation:tnturn .8s linear infinite}
/* The waiting dots (SCR-536) in the ring's place, in the text colour: the line's shimmer would make them clear. */
.toolnote.live.wd:before{display:none}
.toolnote .wdots{display:inline-block;width:22px;height:22px;margin:-5px 5px -5px -5px;vertical-align:middle;color:var(--scrub-text)}
.toolnote .wdots svg{display:block;width:100%;height:100%}
.toolnote:not(.live) .wdots{display:none}
.toolnote.live{background:linear-gradient(90deg,var(--scrub-text-2) 20%,var(--scrub-text) 50%,var(--scrub-text-2) 80%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:tnshine 1.6s linear infinite}
.toolnote.done:before{background:var(--scrub-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat}
@keyframes tnturn{to{transform:rotate(360deg)}}
@keyframes tnshine{from{background-position:100% 0}to{background-position:-100% 0}}
@media (prefers-reduced-motion:reduce){.toolnote.live,.toolnote.live:before{animation:none}.toolnote.live{color:var(--scrub-text);background:none}}
/* Steps in a row, one at a time (SCR-241): the latest line, its count beside it opens the rest. */
.toolsteps{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:12px;row-gap:6px}
.toolsteps>.toolnote{flex:0 0 100%;min-width:0;max-width:none;margin:0}
.toolsteps>.toolnote:last-child{flex:0 1 auto}
.toolsteps:not(.open)>.toolnote:not(:last-child){display:none}
.toolsteps>.ts-more{order:1;display:inline-flex;align-items:center;gap:7px;padding:0;border:0;background:none;font:inherit;font-size:12.5px;color:var(--scrub-text-2);cursor:pointer;white-space:nowrap}
.toolsteps>.ts-more:nth-last-child(2){display:none}
/* A finger's reach without pushing the lines apart. */
.toolsteps>.ts-more{position:relative;min-height:0}
.toolsteps>.ts-more:after{content:'';position:absolute;inset:-12px -8px}
.toolsteps>.ts-more .th-chev{width:6px;height:6px;margin-top:-3px;transition:transform .15s}
.toolsteps.open>.ts-more .th-chev{transform:rotate(225deg);margin-top:3px}
.toolsteps>.ts-more:hover{color:var(--scrub-text)}
.toolsteps>.ts-more:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px;border-radius:4px}
@media (prefers-reduced-motion:reduce){.toolsteps>.ts-more .th-chev{transition:none}}
.composer{position:fixed;left:0;right:0;bottom:var(--kb,0px);z-index:5;background:var(--scrub-bg);border-top:1px solid var(--scrub-line-2);padding:12px 20px calc(12px + env(safe-area-inset-bottom))}
/* What is being made, over the conversation while it runs (SCR-442): above
   where the person types, a sheet on a phone; swiped down, a bar that keeps
   moving. Its place in the conversation waits, hidden, for the result. */
.toolrun.in-ov{display:none}
.runov{position:absolute;left:0;right:0;bottom:100%;display:flex;justify-content:flex-end;padding:0 20px 8px;pointer-events:none}
.rov-sheet{pointer-events:auto;width:min(500px,100%);max-height:calc(100dvh - 180px);overflow:auto;background:var(--scrub-raised);border:0;border-radius:var(--scrub-r-sheet);box-shadow:var(--scrub-shadow-float);touch-action:none}
.rov-sheet .run{margin:0;border:0;max-width:none;padding:0 16px 14px;background:transparent}
/* The handle is the one control (SCR-473): pressed or swiped down, the card tucks into the bar; "Hide" for screen readers and on hover only. */
.rov-grab{display:flex;align-items:center;justify-content:center;width:100%;height:28px;min-height:0;padding:0;border:0;border-radius:0;background:none;cursor:grab}
.rov-grab:hover{background:none}
.rov-grab::before{content:'';width:40px;height:4px;border-radius:999px;background:var(--scrub-line);transition:background .15s}
.rov-grab:hover::before,.rov-grab:focus-visible::before{background:var(--scrub-text-2)}
.rov-grab:focus-visible{outline:2px solid var(--scrub-text);outline-offset:-4px;border-radius:12px}
/* Wider than a phone the run is in the conversation (SCR-476), a card where its result will land. */
.run-inline .run{max-width:560px;margin:0}
.runov[data-state=hidden] .rov-sheet,.runov[data-state=mini] .rov-sheet{transform:translateY(calc(100% + 140px));opacity:0;pointer-events:none}
.rov-mini{position:absolute;right:20px;bottom:calc(100% + 8px);width:min(500px,calc(100% - 40px));display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:12px;align-items:center;padding:8px 18px 8px 8px;border:0;border-radius:var(--scrub-r-pill);background:var(--scrub-raised);color:var(--scrub-text);box-shadow:var(--scrub-shadow-float);font:inherit;text-align:left;cursor:pointer;touch-action:none;opacity:0;transform:translateY(16px);pointer-events:none}
.runov[data-state=mini] ~ .rov-mini{opacity:1;transform:none;pointer-events:auto}
.rov-fig{position:relative;width:64px;aspect-ratio:16/10;border-radius:var(--scrub-r-pill);overflow:hidden;display:block}
.rov-fig .rfig{position:absolute;inset:0;margin:0;aspect-ratio:auto}
.rov-t{min-width:0;display:flex;flex-direction:column;gap:3px}
.rov-t b{font-size:13.5px;font-weight:600}
.rov-t [data-said]{font-size:12.5px;color:var(--scrub-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rov-t .prog.mini{margin:2px 0 0}
.rov-show{font-size:12.5px;font-weight:600;color:var(--scrub-text-2)}
/* Dots (SCR-498, founder, 8 November 2026: on a phone, the run's sheet "contrasting, in the colour with animation"): the sheet and its bar are the kind's block, the figure in the mark's dots straight on it, every word and line in dark ink. A tool's run takes the kind of the step being made. */
.rov-sheet:has(.rfig.audio),.rov-mini:has(.rfig.audio){--bk:var(--scrub-block-audio)}
.rov-sheet:has(.rfig.video),.rov-mini:has(.rfig.video){--bk:var(--scrub-block-video)}
.rov-sheet:has(.rfig.image),.rov-mini:has(.rfig.image){--bk:var(--scrub-block-image)}
.rov-sheet:has(.rfig.document),.rov-mini:has(.rfig.document){--bk:var(--scrub-block-document)}
.rov-sheet:has(.rfig.mail),.rov-mini:has(.rfig.mail){--bk:var(--scrub-block-mail)}
.rov-sheet:has(.rfig.data),.rov-mini:has(.rfig.data){--bk:var(--scrub-block-data)}
.rov-sheet:has(.rslide.on .rfig.audio),.rov-mini:has(.rslide.on .rfig.audio){--bk:var(--scrub-block-audio)}
.rov-sheet:has(.rslide.on .rfig.video),.rov-mini:has(.rslide.on .rfig.video){--bk:var(--scrub-block-video)}
.rov-sheet:has(.rslide.on .rfig.image),.rov-mini:has(.rslide.on .rfig.image){--bk:var(--scrub-block-image)}
.rov-sheet:has(.rslide.on .rfig.document),.rov-mini:has(.rslide.on .rfig.document){--bk:var(--scrub-block-document)}
.rov-sheet:has(.rslide.on .rfig.mail),.rov-mini:has(.rslide.on .rfig.mail){--bk:var(--scrub-block-mail)}
.rov-sheet:has(.rslide.on .rfig.data),.rov-mini:has(.rslide.on .rfig.data){--bk:var(--scrub-block-data)}
.rov-sheet:has(.rfig),.rov-mini:has(.rfig){background:var(--bk);border-color:transparent;color:var(--scrub-on-block)}
.rov-sheet:has(.rfig) .rfig,.rov-sheet:has(.rfig) .rslider,.rov-mini:has(.rfig) .rfig{background:transparent}
.rov-sheet:has(.rfig) .run .clock,.rov-sheet:has(.rfig) .run .note,.rov-mini:has(.rfig) .rov-t [data-said],.rov-mini:has(.rfig) .rov-show,.rov-mini:has(.rfig) .clock{color:var(--scrub-on-block-2)}
.rov-sheet:has(.rfig) .prog i,.rov-mini:has(.rfig) .prog i{background:rgb(0 0 0 / .16)}
.rov-sheet:has(.rfig) .prog i.on,.rov-mini:has(.rfig) .prog i.on{background:var(--scrub-on-block)}
.rov-sheet:has(.rfig) .prog i.trail,.rov-mini:has(.rfig) .prog i.trail{background:rgb(0 0 0 / .4)}
.rov-sheet:has(.rfig) .rov-grab::before{background:rgb(0 0 0 / .3)}
.rov-sheet:has(.rfig) .rov-grab:hover::before,.rov-sheet:has(.rfig) .rov-grab:focus-visible::before{background:var(--scrub-on-block)}
.rov-sheet:has(.rfig) .rov-grab:focus-visible{outline-color:var(--scrub-on-block)}
.rov-sheet:has(.rfig) .run button.secondary{background:transparent;color:var(--scrub-on-block);border-color:rgb(0 0 0 / .3)}
.rov-sheet:has(.rfig) .run.slid .rsteps li{border-color:rgb(0 0 0 / .22);color:var(--scrub-on-block)}
.rov-sheet:has(.rfig) .run.slid .rsteps li[data-state=running]{border-color:var(--scrub-on-block)}
.rov-sheet:has(.rfig) .rs-tag{background:rgb(255 255 255 / .72);color:#000}
.rov-mini:has(.rfig) .rov-fig{background:rgb(0 0 0 / .08)}
/* The sheet comes up from behind the box and goes back behind it (SCR-473):
   it slid over the box, past the edge of the screen, and overshot. */
.composer .inner{position:relative;z-index:1}
.runov[data-state=hidden] .rov-sheet,.runov[data-state=mini] .rov-sheet{transform:translateY(100%)}
@media (prefers-reduced-motion:no-preference){
  .rov-sheet{transition:transform .38s cubic-bezier(.2,.8,.2,1),opacity .24s ease}
  .rov-sheet.dragging{transition:none}
  .rov-mini{transition:opacity .24s ease,transform .3s cubic-bezier(.2,.8,.2,1)}
}
/* On a phone the sheet sits on the box where they type, one piece with it,
   SCR-473: its foot on the box's top, the box's top corners squared to
   meet it, the strip around them the page's own ground, so nothing of the
   conversation shows between them. */
@media (max-width:640px){
  .runov{padding:40px 12px 0;bottom:calc(100% - 30px);overflow:hidden}
  .rov-sheet{width:100%;border-radius:var(--scrub-r-sheet) var(--scrub-r-sheet) 0 0;border-bottom:0;box-shadow:0 -10px 32px rgba(0,0,0,.22)}
  .rov-grab{height:44px}
  .rov-mini{left:12px;right:12px;width:auto;bottom:calc(100% - 22px)}
  .composer:has(.runov[data-state=open]){background:var(--scrub-bg)!important}
  .composer:has(.runov[data-state=open]) .inner{border-top-left-radius:0;border-top-right-radius:0;box-shadow:inset 0 0 0 1px var(--scrub-line)}
}
.composer .inner{max-width:760px;margin:0 auto;display:flex;gap:10px;align-items:flex-end}
.composer .say{flex:1;font:inherit;min-height:44px;max-height:180px;overflow-y:auto;white-space:pre-wrap;overflow-wrap:anywhere;cursor:text;max-width:none;padding:10px 13px;border:1px solid var(--scrub-line);border-radius:10px;background:var(--scrub-surface);color:inherit}
/* A box to write in, not a form field (SCR-487): on an iPhone, Chrome redrew its AutoFill bar over a form field on every key. */
.composer .say:empty::before{content:attr(data-placeholder);color:var(--scrub-text-2);pointer-events:none}
.composer button{min-height:44px}
.composer .clip{width:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;flex:none}
.chatbar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px}
.chatbar .now{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.chatbar .chats{min-width:0;flex:1}
.chatbar summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;min-height:44px;max-width:100%}
.chatbar summary::-webkit-details-marker{display:none}
.chatbar summary::after{content:"";flex:none;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.chatbar details[open] summary::after{transform:translateY(2px) rotate(-135deg)}
.chatbar .button{flex:none}
.composer button[hidden]{display:none}
.chats-list{position:absolute;left:0;top:100%;z-index:6;width:min(440px,100%);max-height:60vh;overflow:auto;padding:4px;background:var(--scrub-surface);border:1px solid var(--scrub-line);border-radius:var(--scrub-radius);box-shadow:0 8px 24px rgba(0,0,0,.18)}
.chats-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:8px 10px;border-radius:calc(var(--scrub-radius) - 2px);color:var(--scrub-text);text-decoration:none}
.chats-list a:hover,.chats-list a[aria-current]{background:var(--scrub-line-2)}
.chats-list .t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.chats-list .w{flex:none;font-size:12.5px;color:var(--scrub-text-2)}
.composer .hint{max-width:760px;margin:6px auto 0;font-size:12.5px;color:var(--scrub-text-2)}
.composer .hint:empty{display:none}
/* A job in a drawer beside a conversation (SCR-210): its output, as its page shows it; no settings, input or history. */
body.inpanel{padding:0!important;background:var(--scrub-bg)}
.inpanel main.workpage{padding:0;height:100vh}
.inpanel .toolhead,.inpanel .side,.inpanel .jh,.inpanel .wtabs,.inpanel .io-in,.inpanel .rail{display:none!important}
.inpanel .ws{display:block!important;height:100%;overflow:auto;border:0!important;border-radius:0!important}
.inpanel .work{display:block!important;padding:16px!important;border:0!important;min-height:100%;box-sizing:border-box}
.inpanel .io-out{display:block!important}
/* A shell page's result is on its stage (SCR-551): beside Chat the stage shows, in Scrub's one player, and the head row stays on the job's own page (SCR-632). */
.inpanel .shell .io-in{display:block!important}
.inpanel .shell .shell-top{display:none!important}
.inpanel .io-out:has(#run){position:relative;display:flex!important;align-items:center;justify-content:center;min-height:calc(100vh - 32px);border-radius:12px;overflow:hidden;background:color-mix(in srgb,var(--scrub-text) 3%,transparent)}
.inpanel .io-out:has(#run)>*{position:relative;width:min(440px,100%)}
.inpanel .io-out:has(#run)>.part{display:none}
/* A tool's own page beside a conversation (SCR-649): the page as it is, only
   narrower, without the app's menus; the drawer's header keeps only ×. */
body.inpanel-page{padding:0!important;background:var(--scrub-bg)}
.inpanel-page main.workpage{min-height:100vh;box-sizing:border-box}
.cdrawer.as-page .cd-h [data-dtitle],.cdrawer.as-page .cd-h [data-dfull]{visibility:hidden}
/* A tool's page beside (SCR-649, control tower, 10 November 2026): up to 60% of the window, its frame at least 768 px so the page keeps its tablet layout, and the conversation keeps its 420 px, the nav and the Chats folded to their rails; the whole screen where both cannot fit (64 + 48 + 420 + 1 + 768 = 1301). */
body.drawer-page{--cd-w:min(60vw,calc(100vw - var(--nav-w,64px) - var(--csub-w,48px) - 420px))}
body.drawer-page .cd-grip{display:none}
@media (max-width:1300px){body.drawer-page .cdrawer{top:0;left:0;right:0;bottom:0;width:auto;z-index:110;border:0}body.drawer-page.drawer-open{padding-right:0}body.drawer-page.drawer-open>header.top{margin-right:0}body.drawer-page.drawer-open .composer{right:0}body.drawer-page .cd-x{width:44px;height:44px}}
/* The drawer itself, beside the conversation (SCR-210): one rounded card with 12 px of room around it, its header's line meeting the line under the conversation's title bar (SCR-217). */
/* One sheet (SCR-511, founder, 8 November 2026): the job beside is a column of the page, not a card over it: docked at the edge under the header, a hairline where it meets the conversation, its head on the conversation's title line. In the app the sheet's edge rounds it (app-window.ts). */
.cdrawer{position:fixed;z-index:6;top:var(--head-h,57px);right:0;bottom:0;width:var(--cd-w,min(56vw,820px));box-sizing:border-box;display:flex;flex-direction:column;background:var(--scrub-bg);border:0;border-left:1px solid var(--scrub-line-2);border-radius:0;box-shadow:none}
.cdrawer[hidden]{display:none}
.cd-h{display:flex;align-items:center;gap:10px;min-height:49px;box-sizing:border-box;padding:2px 8px 2px 20px}
/* Its edge (SCR-217): the whole gap takes the drag, unmarked until the pointer is on it; then a small grey handle in its middle, 4 px clear of the drawer, as Claude's own sidebar has it. No animation; whole pixels, so it stays sharp. */
.edge-grip{position:absolute;top:0;bottom:0;width:12px;cursor:col-resize;touch-action:none;z-index:2;outline:0}
.edge-grip::before{content:"";position:absolute;left:4px;top:calc(50% - 18px);top:round(down,50% - 18px,1px);width:4px;height:36px;border-radius:2px;background:color-mix(in srgb,var(--scrub-text-2) 70%,transparent);visibility:hidden}
.cd-grip{left:-7px;z-index:1}
/* Every edge (SCR-740, edgeGrip): its handle shows under the pointer, while held, or reached by keyboard. */
.edge-grip:hover::before,.edge-grip:focus-visible::before,.edge-grip.dragging::before{visibility:visible}
.edge-grip:focus-visible::before{outline:2px solid var(--scrub-text);outline-offset:2px}
.cdrawer.sizing iframe{pointer-events:none}
.cd-h b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cd-h b{font-weight:600}
.cd-h a{font-size:13.5px;font-weight:500}
button.cd-x{display:inline-grid;place-items:center;flex:none;width:32px;height:32px;min-height:0;padding:0;font-size:20px;line-height:1;border-radius:var(--scrub-r-pill)}
.cdrawer iframe{flex:1;width:100%;border:0;border-radius:0 0 var(--sheet-r,0) 0;background:var(--scrub-bg)}
.cdrawer iframe[hidden]{display:none}
.cd-making{flex:1;margin:16px;border-radius:var(--scrub-r-block);overflow:hidden;background:color-mix(in srgb,var(--scrub-text) 3%,transparent)}
/* The conversation narrows to make room; the header across the top stays the window's width, as it does beside Chats. */
@media (min-width:1101px){body.drawer-open{padding-right:var(--cd-w,min(56vw,820px))}body.drawer-open>header.top{margin-right:calc(-1 * var(--cd-w,min(56vw,820px)))}body.drawer-open .composer{right:var(--cd-w,min(56vw,820px))}}
/* Full screen on a phone, it sits with the other full-screen sheets, above the header (SCR-657: under it since SCR-650, its × could not be pressed). */
@media (max-width:1100px){.cdrawer{top:0;left:0;right:0;bottom:0;width:auto;z-index:110;border:0;border-radius:0;box-shadow:none}.cd-h{min-height:49px}.cd-x{width:36px;height:36px}.cd-grip{display:none}.cdrawer iframe{border-radius:0}}
/* Where they type (SCR-210), as Manus has it: one box, the words on top, the clip and Send under them. */
.composer{border-top:0;background:linear-gradient(transparent,var(--scrub-bg) 30%)}
/* Dots (SCR-498): scrub.app's ask bar. The ground's own fill ringed in the text colour, the ring thicker while it is written in (F-96: a field's own edge, never the accent); Send a round inverse button with an arrow, Stop a word pill because it can carry a price. */
.composer .inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:"say say say say" "clip . send stop";gap:6px 8px;align-items:center;padding:10px 10px 10px 12px;border:0;border-radius:var(--scrub-r-sheet);background:var(--scrub-bg);box-shadow:inset 0 0 0 1.5px var(--scrub-text)}
.composer .inner:focus-within{box-shadow:inset 0 0 0 2px var(--scrub-text)}
.composer .inner:has(>.att-tray:not([hidden])){grid-template-areas:"tray tray tray tray" "say say say say" "clip . send stop"}
.composer .att-tray{grid-area:tray}
.composer:has(.att-tray:not([hidden])) .hint,.ask-tray:not([hidden])~.ask-hint{display:block;line-height:20px;min-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.composer .say{grid-area:say;border:0;background:transparent;padding:6px;min-height:30px;outline:none}
.composer .clip-at{grid-area:clip}
.composer .clip{border-radius:var(--scrub-r-pill);background:none;border-color:transparent;color:var(--scrub-text-2)}
.composer .clip:hover{background:var(--scrub-surface-2);color:var(--scrub-text)}
.composer #send{grid-area:send;width:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;background:var(--scrub-inv);color:var(--scrub-on-inv);border-color:transparent}
.composer #send[hidden]{display:none}
.composer #stop{grid-area:stop}
.composer #send.priced{width:auto;padding:0 18px;white-space:nowrap;background:var(--scrub-accent-fill);color:var(--scrub-on-accent);font-weight:600}
.composer #add-credit{grid-area:send;white-space:nowrap}
.composer #add-credit[hidden]{display:none}
/* Scrub's turn under its name (SCR-210). */
.who{display:flex;align-items:center;gap:8px;margin:4px 0 -6px;font-weight:600;font-size:14px;letter-spacing:-.01em}
/* Scrub's turn has no row on screen since SCR-544; its name is for a screen reader. */
.who.sr-who{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.who svg{width:16px;height:16px;flex:none}
/* New (SCR-210): the greeting, the box in the middle, the Tools to start with. */
.cstart{text-align:center;margin:0}
/* Dots (SCR-498): the greeting larger and tighter, weight 500 as every heading (SCR-494). */
.cstart h1{margin:0;font-size:44px;line-height:1.05;letter-spacing:-.045em}
/* Centred under the greeting: the lead line's own measure would leave it to the left (SCR-232). */
.cstart .lead{margin:10px auto 0;font-size:17px}
body.fresh main{padding-top:max(10vh,40px);padding-bottom:0}
/* The mark's dots behind the greeting and the box, faded at their edges, ending above the starts (SCR-498): under the page's own fill, so nothing else changes. */
body.fresh main{position:relative}
body.fresh main::before{content:"";position:absolute;z-index:-1;left:50%;top:0;width:min(1040px,calc(100vw - 32px - var(--nav-w,0px) - var(--csub-w,0px)));height:calc(100% + 190px);transform:translateX(-50%);pointer-events:none;background-image:radial-gradient(circle,var(--scrub-dot) 1.1px,transparent 1.5px);background-size:18px 18px;background-position:center 9px;-webkit-mask-image:radial-gradient(ellipse 55% 55% at 50% 50%,#000 35%,transparent 100%);mask-image:radial-gradient(ellipse 55% 55% at 50% 50%,#000 35%,transparent 100%)}
@media (max-width:640px){.cstart h1{font-size:32px;line-height:1.08}.cstart .lead{font-size:16px}}
body.fresh .composer{position:static;background:none;padding:18px 20px 0}
body.fresh .composer .say{min-height:72px;font-size:17px}
.cstarts{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:760px;margin:20px auto 48px;padding:0 20px;box-sizing:border-box}
/* A Tool chip (DESIGN.md Tool chip): New's starts, an update's tool (SCR-229). */
.tchip{display:inline-flex;align-items:center;gap:10px;min-height:44px;box-sizing:border-box;padding:5px 18px 5px 6px;border:1px solid var(--scrub-divide);border-radius:var(--scrub-r-pill);background:var(--scrub-surface);color:var(--scrub-text);font:inherit;font-size:14px;cursor:pointer;text-decoration:none}
.tchip .tile{--s:32px;border-radius:var(--scrub-r-pill)}
.tchip:hover{border-color:var(--scrub-text)}
.tchip.in{min-height:0;gap:6px;padding:1px 10px 1px 2px;font-size:inherit;font-weight:600;line-height:1.3;vertical-align:middle;margin:-2px 0}
.tchip.in .tile{--s:20px}
body:not(.fresh) [data-cstart],.cstarts[hidden]{display:none}
/* The bar over a conversation and its card (SCR-210). */
.cbar{position:sticky;top:var(--head-h,57px);z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:49px;box-sizing:border-box;padding:2px 12px 2px 20px;background:var(--scrub-bg);border-bottom:1px solid transparent}
.cbar .chatbar{margin:0;flex:1;min-width:0}
/* What scrolls under the bar and above the box fades out rather than being cut (SCR-210). */
.cbar::after{content:"";position:absolute;left:0;right:0;top:100%;height:24px;background:linear-gradient(var(--scrub-bg),transparent);pointer-events:none}
.composer{padding-top:30px!important;background:linear-gradient(transparent,var(--scrub-bg) 30px)!important}
/* With the keyboard up (SCR-461) the box rides on the visible part of the page, above the keyboard, so the home bar's room under it goes. */
html.kbd .composer{padding-bottom:10px!important}
html.kbt header.top{top:calc(env(safe-area-inset-top,0px) + var(--kbt,0px))}
body.fresh .composer{padding-top:18px!important;background:none!important}
.cmenu{position:relative;min-width:0;flex:1}
.cmenu summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:8px;min-height:40px;max-width:100%;font-weight:600}
.cmenu summary::-webkit-details-marker{display:none}
.cmenu summary .now{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cmenu summary::after{content:"";flex:none;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.cmenu[open] summary::after{transform:translateY(2px) rotate(-135deg)}
/* A new conversation's menu holds only the list of conversations, which a desktop shows beside it: there it is the title alone, no arrow and nothing to open (SCR-511). */
@media (min-width:861px){.cbar .cmenu:not(:has([role=menuitem])) summary{pointer-events:none;cursor:default}.cbar .cmenu:not(:has([role=menuitem])) summary::after{display:none}.cbar .cmenu:not(:has([role=menuitem])) .cmenu-l{display:none}}
/* Dots (SCR-498): menus are raised layers with no edge, their rows pills. */
.cmenu-l{position:absolute;left:0;top:100%;z-index:8;width:min(320px,calc(100vw - 32px));max-height:70vh;overflow:auto;padding:6px;background:var(--scrub-raised);border:0;border-radius:var(--scrub-r-float);box-shadow:var(--scrub-shadow-float)}
.cmenu-l>button{display:block;width:100%;min-height:40px;padding:0 14px;text-align:left;background:none;border:0;border-radius:var(--scrub-r-field);color:var(--scrub-text);font:inherit;font-weight:500;cursor:pointer}
.cmenu-l>button:hover{background:var(--scrub-surface-2)}
.cmenu-l>button.danger{color:var(--scrub-err)}
.cmenu-g{margin:10px 14px 6px;font:var(--scrub-label);letter-spacing:.06em;text-transform:uppercase;color:var(--scrub-text-2)}
.cmenu-chats a{display:flex;justify-content:space-between;gap:12px;min-height:40px;align-items:center;padding:0 14px;border-radius:var(--scrub-r-field);color:var(--scrub-text);text-decoration:none}
.cmenu-chats a:hover{background:var(--scrub-surface-2)}
.cmenu-chats .t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cmenu-chats .w{flex:none;font-size:12.5px;color:var(--scrub-text-2)}
.cbar-rename{font:inherit;font-weight:600;min-width:0;flex:1;max-width:520px;padding:6px 8px}
.cbar-new{flex:none}
.cc-goal{margin:0 0 10px;font-weight:600;font-size:14.5px;letter-spacing:-.01em}
.cc-steps li.next i{border:1.6px solid var(--scrub-line)}
.csub-g{margin:14px 10px 6px;font:var(--scrub-label);letter-spacing:.06em;text-transform:uppercase;color:var(--scrub-text-2)}
.csub-grip{display:none}
.cbar-t{font-weight:600;padding:6px 0}
.csub-none{margin:4px 10px;color:var(--scrub-text-2)}
.cbar-end{position:relative;display:flex;flex:none;margin-left:auto}
.cbar-end[hidden]{display:none}
@media (max-width:860px){.cbar{position:static;padding:2px 8px 2px 16px}}
.ctog{width:36px;height:36px;min-height:0;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--scrub-r-pill)}
/* Open, the toggle is the inverse, never the accent (blue is for money). */
.ctog[aria-expanded=true],.ctog[aria-expanded=true]:hover{background:var(--scrub-inv);color:var(--scrub-on-inv)}
.ccard{position:absolute;right:0;top:calc(100% + 8px);z-index:8;width:340px;max-width:calc(100vw - 32px);max-height:calc(100vh - 140px);overflow:auto;background:var(--scrub-raised);border:0;border-radius:var(--scrub-r-float);box-shadow:var(--scrub-shadow-float)}
.ccard[hidden]{display:none}
.ccard>.cc-none{padding:14px 16px}
.cc-s{padding:16px 18px;border-bottom:1px solid var(--scrub-divide)}
.cc-s:last-child{border-bottom:0}
.cc-s h3{margin:0 0 12px;font-size:13px;font-weight:600;color:var(--scrub-text-2)}
.cc-none{margin:0;color:var(--scrub-text-2)}
.cc-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:13.5px}
.cc-steps li{display:flex;align-items:center;gap:9px}
.cc-steps i{width:14px;height:14px;flex:none;border-radius:50%;box-sizing:border-box}
.cc-steps li.done i{background:var(--scrub-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat}
.cc-steps li.now{font-weight:600}
.cc-steps li.now i{border:4px solid var(--scrub-warn)}
.cc-steps.running li.now i{border-width:1.6px;border-right-color:transparent;animation:tnturn .9s linear infinite}
.cc-out{display:flex;align-items:center;gap:10px;padding:8px 12px 8px 8px;border:1px solid var(--scrub-divide);border-radius:var(--scrub-r-block);color:var(--scrub-text);text-decoration:none}
.cc-out+.cc-out{margin-top:8px}
.cc-out:hover{background:var(--scrub-surface-2);border-color:transparent}
.cc-out .tile{width:28px;height:28px;flex:none}
.cc-out .t,.cc-file .t{flex:1;min-width:0;display:flex;flex-direction:column}
.cc-out .small,.cc-file .small{color:var(--scrub-text-2)}
.cc-open{font-weight:600;color:var(--scrub-text)!important}
.cc-file{margin:0;font-size:13.5px;overflow-wrap:anywhere}
.cc-file+.cc-file{margin-top:8px}
.cc-spent{display:flex;align-items:baseline;gap:10px;margin:0}
.cc-spent .scrub-price{font-size:20px}
.cc-spent .small{color:var(--scrub-text-2)}
/* A chat's mark (SCR-210): turning while it works, a blue dot when it finished since you looked. */
.cmark{flex:none;width:8px;height:8px;border-radius:50%;box-sizing:border-box}
.cmark.new{background:var(--scrub-accent-fill)}
.cmark.wait{width:12px;height:12px;border:1.6px solid var(--scrub-warn);border-right-color:transparent;animation:tnturn .9s linear infinite}
@media (prefers-reduced-motion:reduce){.cmark.wait,.cc-steps li.now i{animation:none}}
/* Chats beside the menu (SCR-210): folds to a rail as Configuration and Job history do. */
.csub{display:none}
@media (min-width:861px){
  body:has(>.csub){--csub-w:var(--csub-open,248px);padding-left:calc(var(--nav-w) + var(--csub-w))}
  :root.chats-min body:has(>.csub){--csub-w:48px}
  body:has(>.csub)>header.top{margin-left:calc(-1 * (var(--nav-w) + var(--csub-w)))}
  body:has(>.csub) .composer{left:calc(var(--nav-w) + var(--csub-w))}
  body.fresh:has(>.csub) .composer{left:auto}
  .csub{display:flex;flex-direction:column;position:fixed;z-index:3;left:var(--nav-w);top:57px;bottom:0;width:var(--csub-w);box-sizing:border-box;padding:0 0 0 10px;gap:0;background:var(--scrub-bg);border-right:1px solid var(--scrub-line-2)}
  /* One sheet (SCR-511): Chats is the sheet's first column, its head on the conversation's title line. */
  .csub-h{display:flex;align-items:center;gap:6px;min-height:49px;box-sizing:border-box;margin-bottom:2px;padding-right:10px}
  .csub-h .adm-nav-h{margin:0;padding:0 0 0 10px;flex:1;font:var(--scrub-label);letter-spacing:.06em}
  .csub .jh-fold{display:inline-flex;margin:0;position:relative}
  .csub .jh-fold svg{transform:none}
  /* Only the list scrolls (SCR-215): its scrollbar inside the panel, the edge that drags it on the right. */
  .csub-l{display:flex;flex-direction:column;gap:2px;flex:1;min-height:0;overflow-y:auto;padding:0 0 14px;scrollbar-gutter:stable}
  /* Its scrollbar shows only while the pointer is over the conversations (SCR-217), as Claude's own sidebar does. */
  .csub-l::-webkit-scrollbar-thumb{background-color:transparent}
  .csub-l:hover::-webkit-scrollbar-thumb{background-color:var(--scrub-line)}
  .csub-l:hover::-webkit-scrollbar-thumb:hover,.csub-l:hover::-webkit-scrollbar-thumb:active{background-color:var(--scrub-text-2)}
  @supports not selector(::-webkit-scrollbar){.csub-l{scrollbar-color:transparent transparent}.csub-l:hover{scrollbar-color:var(--scrub-line) transparent}}
  .csub-row{justify-content:flex-start;gap:8px;min-height:36px;color:var(--scrub-text);border-radius:var(--scrub-r-field)}
  /* Dots (SCR-498): the open conversation a filled row, not a tint. */
  .csub .csub-row:hover{background:var(--scrub-surface)}
  .csub .csub-row[aria-current=page]{background:var(--scrub-surface-2);font-weight:500}
  /* A title too long for the list fades out at its end in place of an ellipsis (SCR-220). */
  .csub-row .t{flex:1;min-width:0;overflow:hidden;white-space:nowrap;-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent)}
  .cfold-dot{display:none;position:absolute;top:3px;right:3px;width:8px;height:8px;border-radius:50%;box-shadow:0 0 0 2px var(--scrub-bg)}
  .cfold-dot.new{background:var(--scrub-accent-fill)}
  .cfold-dot.wait{background:var(--scrub-warn)}
  .chats-min .csub{padding:8px 6px 12px}
  .chats-min .csub-h{flex-direction:column;gap:12px}
  .chats-min .csub-h .adm-nav-h,.chats-min .csub-l{display:none}
  .chats-min .csub-h .rail-name{display:block}
  .chats-min .csub .jh-fold svg{transform:rotate(180deg)}
  .chats-min .cfold-dot:not([hidden]){display:block}
  /* New is in the menu, and the conversations are beside it: the bar's own New and list are for a phone. */
  .cbar .chatbar .button,.cbar-new,.cmenu-g,.cmenu-chats{display:none}
  /* Chats made wider or narrower by its edge (SCR-210); too narrow, it folds. */
  /* Its line and handle are the drawer's (SCR-217), centred on the edge, the list's scrollbar kept clear of it. */
  .csub-grip{display:block;right:-6px}
  .csub{padding-right:4px}
  .csub-h{padding-right:6px}
  .chats-min .csub-grip{display:none}
}

/* Account */
.facts{display:grid;grid-template-columns:max-content 1fr;gap:8px 24px;margin:18px 0 0;font-size:15px}
.facts dt{color:var(--scrub-text-2)}
.facts dd{margin:0}
.items{display:flex;flex-direction:column;border-top:1px solid var(--scrub-line-2)}
.item{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:8px 0;border-bottom:1px solid var(--scrub-line-2)}
.item .in{display:flex;flex-direction:column;gap:2px;min-width:0}
.item .in b{font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.item .in .small{margin:0}
.items-empty{margin:0}
.confirm{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin:0}
.confirm .confirm-ask{font-size:13px;color:var(--scrub-text);max-width:34ch;text-align:right}
.dl-item .confirm.asking,.file-item .confirm.asking{justify-content:flex-start}
.dl-item .confirm.asking .confirm-ask,.file-item .confirm.asking .confirm-ask{max-width:none;flex:1 1 100%;text-align:left}
button.danger{color:var(--scrub-err);border-color:color-mix(in srgb,var(--scrub-err) 55%,var(--scrub-line))}
.secret-once{display:flex;flex-direction:column;gap:10px;padding:18px 20px;border:0;box-shadow:inset 0 0 0 2px var(--scrub-text);border-radius:var(--scrub-r-panel);background:var(--scrub-surface)}
.secret-once p{margin:0}
.secret-once .hint{font-size:13px;color:var(--scrub-text-2)}
.secret-row{display:flex;align-items:center;gap:10px}
.secret-row code{flex:1;min-width:0;font-size:13px;word-break:break-all;padding:12px 14px;border:0;border-radius:var(--scrub-r-field);background:var(--scrub-bg)}
.topup,.more-storage{display:flex;flex-direction:column;gap:12px;max-width:420px}
.topup button[type=submit],.more-storage button[type=submit]{align-self:flex-start;min-width:160px}
.storage-line .monthbar{margin:2px 0 6px}
.storage-line a{display:inline-block;padding:13px 0;margin:-13px 0}
.files-lead .storage-line{margin-bottom:2px}
.topup-own{display:flex;align-items:center;gap:12px;margin:0;font-size:14px;color:var(--scrub-text-2)}
.topup-own .wl-usd{width:120px}
.topup-own .wl-usd input{width:100%;box-sizing:border-box;padding:8px 10px 8px 22px;min-height:40px;font-family:var(--scrub-mono);font-variant-numeric:tabular-nums}
.inline-form{display:flex;gap:10px;align-items:center;max-width:520px}
.inline-form input{flex:1;min-width:0}
/* Account laid out (SCR-689): its parts in a grouped column beside it, where it stands in large figures,
   and each part on its own panel, parted from the page by its fill (Dots). Spacing on the 4 px scale. */
header.top~main.wsp-main{max-width:1240px}
.wsp{display:grid;grid-template-columns:184px minmax(0,1fr);gap:24px 48px;align-items:start}
.wsp>.wsp-head{grid-column:1/-1}
.wsp>.wsp-head h1{margin:0}
.wsp>.wsp-head p{margin:8px 0 0}
.wsp-nav{position:sticky;top:88px;display:flex;flex-direction:column;gap:12px}
.wsp-ng{display:flex;flex-direction:column;gap:4px}
.wsp-ng .scrub-label{padding:0 16px 6px;color:var(--scrub-text)}
.wsp-ng+.wsp-ng{padding-top:12px;border-top:1px solid var(--scrub-divide)}
.wsp-nav a{display:flex;align-items:center;min-height:40px;padding:0 16px;border-radius:999px;color:var(--scrub-text-2);text-decoration:none;font-size:14px;white-space:nowrap;transition:background .15s var(--scrub-ease),color .15s var(--scrub-ease)}
.wsp-nav a:hover{background:var(--scrub-surface);color:var(--scrub-text)}
.wsp-nav a[aria-current=location]{background:var(--scrub-inv);color:var(--scrub-on-inv)}
.wsp-nav .wsp-ng-go{display:none}
.wsp-body{display:flex;flex-direction:column;gap:16px;min-width:0}
/* A group's heading (the founder's review: the groups must read apart): large, a rule above, room before it */
.wsp-body .wsp-gt{margin:0;font-size:28px;line-height:1.15;letter-spacing:-.035em;scroll-margin-top:96px}
/* A part's heading, a level under its group's */
.wsp-body h3{margin:0;font-size:20px;font-weight:500;letter-spacing:-.02em;scroll-margin-top:96px}
.wsp-body p{margin:0}
.wsp-body .row{display:flex;gap:8px;flex-wrap:wrap}
.wsp-top{display:flex;flex-direction:column;gap:16px}
.wsp-group{display:flex;flex-direction:column;gap:16px;margin-top:48px;padding-top:32px;border-top:1px solid var(--scrub-divide)}
.wsp-group>.wsp-gt{margin-bottom:8px}
.wsp-plan{display:flex;flex-direction:column;gap:16px}
/* Where it stands: one panel, three figures split by hairlines */
.wsp-stand{scroll-margin-top:96px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-radius:var(--scrub-r-panel);background:var(--scrub-surface)}
.wsp-fig{display:flex;flex-direction:column;gap:8px;min-width:0;padding:24px 32px}
.wsp-fig+.wsp-fig{border-left:1px solid var(--scrub-divide)}
.wsp-fig>b{font-size:32px;font-weight:500;letter-spacing:-.035em;line-height:1.1}
.wsp-fig .small{margin:0}
.wsp-fig .monthbar{max-width:none;height:6px;margin:0}
/* The plans: the plan to choose next tagged beside its name; the plan the workspace is on keeps its ring */
.wsp-body .plans{margin:0;max-width:none;gap:16px}
.wsp-body .plan{padding:24px}
/* On Account a plan's name is a level under Plan (h4), drawn as the Plans card draws it */
.wsp-body .plan h4{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;font-size:20px;font-weight:500;letter-spacing:-.02em}
.wsp-body .plan ul{list-style:none;padding:0;margin:4px 0 8px}
.wsp-body .plan li{margin:0;padding:8px 0;border-top:1px solid var(--scrub-divide);color:var(--scrub-text)}
.wsp-body .plan li:last-child{color:var(--scrub-text-2)}
.mine-pill{display:inline-flex;align-items:center;height:24px;padding:0 12px;border-radius:999px;background:transparent;box-shadow:inset 0 0 0 1px var(--scrub-line);color:var(--scrub-text-2);font-size:12.5px;font-weight:600;letter-spacing:0}
/* One column (899 px and under, Plans): the plan to choose next, then the one the workspace is on, then the rest */
@media (max-width:899px){.plans .plan.plan-next{order:-2}.plans .plan.mine{order:-1}}
/* A part on its own panel; two short ones share a row, each as tall as it needs */
.wsp-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.wsp-panel{display:flex;flex-direction:column;gap:16px;min-width:0;padding:24px 32px 32px;border-radius:var(--scrub-r-panel);background:var(--scrub-surface)}
/* On a panel, what is pressed or typed sits on the page's own ground, where the second ink holds 4.5:1 (WCAG 2.2 AA);
   on the second surface it measured 4.23:1 in light */
.wsp-panel .choices{--opt-bg:var(--scrub-bg)}
.wsp-panel input:not([type=checkbox]):not([type=radio]),.wsp-panel select{background:var(--scrub-bg)}
.wsp-panel .disc-tag{background:var(--scrub-bg)}
.wsp-panel .topup{max-width:none}
.wsp-panel .items{border-top-color:var(--scrub-divide)}
.wsp-panel .item{border-bottom-color:var(--scrub-divide)}
.wsp-panel .inline-form{max-width:none}
.wsp-lead{font-size:15px;color:var(--scrub-text-2)}
.wsp-foot{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap}
.wsp-foot form{margin:0}
.wsp-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:16px;border-top:1px solid var(--scrub-divide)}
.wsp-row>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.wsp-row b{font-size:14px;font-weight:600}
.wsp-row .small,.wsp-row .switch-form{margin:0}
/* Payments: a ledger, one row each */
.wsp-ledger{display:flex;flex-direction:column}
.wsp-lg{display:grid;grid-template-columns:64px minmax(0,1fr) auto 72px;align-items:center;gap:12px;min-height:52px;padding:4px 0;border-bottom:1px solid var(--scrub-divide);font-size:14px}
.wsp-lg:first-child{border-top:1px solid var(--scrub-divide)}
.wsp-lg-d{color:var(--scrub-text-2)}
.wsp-lg-w{display:flex;flex-direction:column;gap:0;min-width:0;font-weight:600}
.wsp-lg-w small{font-weight:400;font-size:12.5px;color:var(--scrub-text-2)}
.wsp-lg-a{text-align:right}
.wsp-lg-i{justify-self:end;display:flex;align-items:center;min-height:40px;font-size:13px;font-weight:600;color:var(--scrub-text)}
/* Team: the plan with a team, by its price, at the foot */
.team-more{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:16px;border-radius:var(--scrub-r-block);background:var(--scrub-bg)}
.team-more p{margin:0}
/* About you: its questions two by two */
.wsp-panel .about{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;max-width:none}
.wsp-panel .about>.ab-news,.wsp-panel .about>.row,.wsp-panel .about>.ab-other{grid-column:1/-1}
/* Access: three parts side by side in one panel */
.wsp-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.wsp-three>div{display:flex;flex-direction:column;gap:12px;min-width:0}
.wsp-three h4{margin:0;font-size:15px;font-weight:600;scroll-margin-top:96px}
.wsp-three .inline-form{flex-wrap:wrap}
/* Leaving: quiet, last */
.wsp-leave{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;padding:24px 32px;border-radius:var(--scrub-r-panel);box-shadow:inset 0 0 0 1px var(--scrub-divide)}
.wsp-leave h3{font-size:16px}
.wsp-leave .row{margin:0}
@media (max-width:1199px){
  .wsp-three{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1023px){
  .wsp{grid-template-columns:minmax(0,1fr);gap:16px}
  .wsp-nav{top:56px;z-index:5;flex-direction:row;gap:8px;margin:0 -24px;padding:8px 24px;overflow-x:auto;scrollbar-width:none;background:color-mix(in srgb,var(--scrub-bg) 92%,transparent);backdrop-filter:blur(12px)}
  .wsp-nav::-webkit-scrollbar{display:none}
  .wsp-ng{flex-direction:row}
  .wsp-ng+.wsp-ng{padding-top:0;border-top:0}
  .wsp-ng .scrub-label,.wsp-nav .wsp-np{display:none}
  .wsp-nav .wsp-ng-go{display:flex;min-height:44px;background:var(--scrub-surface);color:var(--scrub-text)}
  .wsp-body .wsp-gt,.wsp-body h3,.wsp-body h4,.wsp-stand{scroll-margin-top:120px}
  .wsp-pair{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:760px){
  .wsp-three,.wsp-panel .about{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
  .wsp-nav{margin:0 -20px;padding:8px 20px}
  .wsp-body .wsp-gt{font-size:24px}
  .wsp-group{margin-top:32px;padding-top:24px}
  /* Where it stands stays one row on a phone, so the plan to choose next is in the first screen */
  .wsp-fig{gap:4px;padding:16px 12px}
  .wsp-fig:first-child{padding-left:16px}
  .wsp-fig>b{font-size:22px}
  .wsp-fig .scrub-label{font-size:10.5px}
  .wsp-panel{padding:24px 20px}
  .wsp-leave{padding:20px}
  /* 44 px to press on a phone (DESIGN.md, Touch and pointer) */
  .wsp-lg-i,.wsp input:not([type=checkbox]):not([type=radio]),.wsp select{min-height:44px}
  .wsp-lg{grid-template-columns:52px minmax(0,1fr) auto;row-gap:0}
  .wsp-lg-i{grid-column:2/-1;justify-self:start}
}

/* Connect your AI (F-69): steps in another app, something to paste, a suggestion */
.copy-field{display:flex;align-items:center;gap:10px;min-width:0;padding:6px 6px 6px 14px;border:0;border-radius:var(--scrub-r-field);background:var(--scrub-surface)}
.copy-field code{flex:1;min-width:0;font:13px/1.5 var(--scrub-mono);word-break:break-all}
.copy-field.words code{font:14px/1.45 var(--scrub-sans);word-break:normal}
.copy-field button{flex:none}
.steps-else{list-style:none;margin:0;padding:0;max-width:680px;display:flex;flex-direction:column;gap:16px;counter-reset:st}
.steps-else>li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;counter-increment:st;align-items:start}
.steps-else>li::before{content:counter(st);width:24px;height:24px;border-radius:50%;border:0;background:var(--scrub-surface);display:flex;align-items:center;justify-content:center;font:600 12.5px/1 var(--scrub-mono);color:var(--scrub-text)}
.steps-else>li>div{display:flex;flex-direction:column;gap:8px;min-width:0;padding-top:2px}
.steps-else p{margin:0}
.steps-else .button{align-self:flex-start}
.suggest{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;max-width:620px;margin:14px 0 0;padding:8px 8px 8px 14px;border:1px solid var(--scrub-line);border-radius:var(--scrub-radius);background:var(--scrub-surface);font-size:14px}
.suggest>span{flex:1 1 220px}
.suggest form{margin:0}
.connect{display:flex;flex-direction:column;gap:14px;max-width:680px}
.connect h2{margin:22px 0 0}
.connect p{margin:0}
.connect .asks{display:flex;flex-direction:column;gap:8px}
.connect-set,.connect-steps,.connect-done{display:flex;flex-direction:column;gap:14px}
.connect-steps[hidden],.connect-done[hidden]{display:none}
.connect.is-done .connect-set{display:none}


/* Doors */
.problem{display:flex;flex-direction:column;gap:10px;max-width:560px;margin:40px 0}
.door .problem{margin:0}
.problem h1{margin:0}
.problem p{margin:0}
.problem .pword{color:var(--scrub-text-2);font-weight:500}
/* Dots (SCR-498): a page on its own is a large empty ground, so the mark's dots fill it and the door's card sits on them. */
body:has(>main>.door),body:has(>main.adm-door){background-image:radial-gradient(circle,var(--scrub-dot) 1.1px,transparent 1.5px);background-size:18px 18px;background-position:9px 9px;background-attachment:fixed}
.problem .button{margin-top:8px}
.door{max-width:440px;margin:56px auto 40px;padding:32px;background:var(--scrub-surface);border:1px solid var(--scrub-line-2);border-radius:var(--scrub-r-sheet);display:flex;flex-direction:column;gap:16px}
.door>.lockup{font-size:22px;margin-bottom:6px;align-self:flex-start}
.door h1{font-size:26px;letter-spacing:-.03em;margin:0}
.door p{margin:0}
.door .facts{margin:0;font-size:14px;gap:6px 18px}
.door .host{display:block;font-size:12.5px;color:var(--scrub-text-2)}
.door form{display:flex;flex-direction:column;gap:12px}
.door label.flabel{margin:0}
.door input[type=password],.door input[type=email]{max-width:none;min-height:44px}
.door input[type=password]{font-family:var(--scrub-mono);font-size:14px}
.door>.button,.door form>button{width:100%;min-height:48px;display:inline-flex;align-items:center;justify-content:center}
.door .actions{display:flex;gap:10px}
.door .actions>*{flex:1;min-height:48px}
.door .or{display:flex;align-items:center;gap:12px;color:var(--scrub-text-2);font-size:12.5px}
.door .or::before,.door .or::after{content:"";flex:1;border-top:1px solid var(--scrub-line)}
.pickfile{display:flex;flex-direction:column;gap:4px;align-items:center;text-align:center;padding:28px 16px;border:1.5px dashed var(--scrub-line);border-radius:var(--scrub-r-panel);background:var(--scrub-bg);cursor:pointer;position:relative}
.pickfile:hover{border-color:var(--scrub-text-2)}
.pickfile:focus-within{border-color:var(--scrub-text)}
.pickfile input{position:absolute;opacity:0;width:1px;height:1px}
#pick{font-weight:600;overflow-wrap:anywhere}

/* Captions drawn over a video: a tool's preview and the caption editor */
.caps{position:absolute;pointer-events:none}
.cap{position:absolute;width:max-content;max-width:90%;white-space:pre-line;text-wrap:balance;paint-order:stroke fill;pointer-events:auto;cursor:grab;touch-action:none;user-select:none}
.cap.still{pointer-events:none;cursor:default}
.caps.placing .cap{cursor:grabbing;opacity:.9}
.cap-pen{position:absolute;left:0;top:0;pointer-events:none}
.cap.handle{color:transparent;background:none;padding:0;border-radius:0;-webkit-text-stroke:0}
/* The caption's box on the preview (SCR-613): its outline and eight handles while the caption is held or boxed; guides and the numbers while it moves */
.cap.boxed{outline:1.5px solid white;outline-offset:0;box-shadow:var(--scrub-shadow-float);border-radius:2px}
.cap .hd{position:absolute;width:12px;height:12px;border-radius:50%;background:white;box-shadow:var(--scrub-shadow-float);pointer-events:auto;touch-action:none;display:none;transition:transform .12s}
.cap.boxed .hd{display:block}
/* A handle's hit area is a finger's (44 px), its mark 12 */
.cap .hd::before{content:"";position:absolute;inset:-16px}
.cap .hd:hover,.cap .hd.live{transform:scale(1.25)}
.cap .hd[data-h=nw]{left:-6px;top:-6px;cursor:nwse-resize}.cap .hd[data-h=ne]{right:-6px;top:-6px;cursor:nesw-resize}
.cap .hd[data-h=sw]{left:-6px;bottom:-6px;cursor:nesw-resize}.cap .hd[data-h=se]{right:-6px;bottom:-6px;cursor:nwse-resize}
.cap .hd[data-h=n],.cap .hd[data-h=s]{width:22px;border-radius:7px;left:calc(50% - 11px)}.cap .hd[data-h=n]{top:-6px;cursor:ns-resize}.cap .hd[data-h=s]{bottom:-6px;cursor:ns-resize}
.cap .hd[data-h=w],.cap .hd[data-h=e]{height:22px;border-radius:7px;top:calc(50% - 11px)}.cap .hd[data-h=w]{left:-6px;cursor:ew-resize}.cap .hd[data-h=e]{right:-6px;cursor:ew-resize}
/* The player's own bar steps aside while a caption is held, so handles at the foot stay clear of it (SCR-613, Gate 2) */
.view.player:has(.caps.placing) .pl-bar{visibility:hidden;pointer-events:none}
@media (max-width:860px){.view.player:has(.caps.sel-caption) .pl-bar{visibility:hidden;pointer-events:none}}
.cap-guides{position:absolute;inset:0;pointer-events:none;display:none}
.caps.placing .cap-guides{display:block}
.cap-guides i{position:absolute;display:none;background:white;opacity:.85;box-shadow:var(--scrub-shadow-float)}
.cap-guides i.v{top:0;bottom:0;width:1px}.cap-guides i.h{left:0;right:0;height:1px}
.cap-guides i.on{display:block}
.cap-guides i.faint{display:block;opacity:.3;box-shadow:none}
.cap-readout{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);padding:4px 10px;border-radius:999px;background:var(--scrub-raised);color:var(--scrub-text);font:500 12px/1.4 var(--scrub-mono);font-variant-numeric:tabular-nums;box-shadow:var(--scrub-shadow-float);display:none;pointer-events:none;white-space:nowrap;z-index:8}
.caps.placing .cap-readout{display:block}
/* The caption's words corrected where they show (SCR-609): a box over the caption, then the offer to change the rest. */
.cap-edit{position:absolute;pointer-events:auto;z-index:9;display:flex;flex-direction:column;gap:6px;min-width:240px;max-width:min(92%,520px);padding:8px;border-radius:12px;background:var(--scrub-raised);box-shadow:var(--scrub-shadow-float)}
/* On a phone the box takes the row under the picture, where the player's bar cannot cover it. */
@media (max-width:860px){.shell-stage>.cap-edit{position:static;order:1;width:100%;max-width:none;min-width:0;margin:8px 0 0;box-sizing:border-box}}
/* The caption's handle sits over the player's bar (z 4), so a caption at the foot of a small picture can still be pressed. */
.caps{z-index:5}
.cap-edit input{width:100%;box-sizing:border-box;font:600 15px/1.3 var(--scrub-sans);padding:8px 12px;border-radius:8px;border:1px solid var(--scrub-line);background:var(--scrub-bg);color:var(--scrub-text)}
.cap-edit .cap-note{color:var(--scrub-text-2)}
.cap-all{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
#tx-all{margin-right:8px}
.preview-chip{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:6px 6px 6px 12px;border:1px solid var(--scrub-line);border-radius:var(--scrub-radius);background:var(--scrub-surface);font-size:13px;font-weight:600}
.preview-chip[hidden]{display:none}

/* Transcript */
.transcript{display:flex;flex-direction:column;gap:14px;max-height:62vh;overflow:auto;padding:4px 2px;font-size:15.5px;line-height:1.75}
.para{display:grid;grid-template-columns:52px 1fr;gap:10px;margin:0;max-width:820px}
.at{all:unset;align-self:start;cursor:pointer;font:500 12.5px/1.75 var(--scrub-mono);font-variant-numeric:tabular-nums;color:var(--scrub-text-2);padding-top:2px}
.at:hover,.at:focus-visible{color:var(--scrub-text);text-decoration:underline}
.w{cursor:pointer;border-radius:3px;padding:0 1px}
.w:hover{background:var(--scrub-surface-2)}
.w.now{background:var(--scrub-text);color:var(--scrub-bg)}
.w.unsure,.unsure-key{text-decoration:underline dotted var(--scrub-warn);text-decoration-thickness:2px;text-underline-offset:3px}
/* A table (F-22, general since F-23; DESIGN.md Table). */
.tb-wrap{overflow-x:auto;border:1px solid transparent;border-radius:var(--scrub-r-panel);background:var(--scrub-surface)}
.tb-table{border-collapse:collapse;width:100%;font-size:13.5px;min-width:720px}
.tb-table th{font-size:12px;font-weight:600;color:var(--scrub-text-2);text-align:left;padding:10px;border-bottom:1px solid var(--scrub-divide);white-space:nowrap;background:var(--scrub-surface)}
.tb-table th.n{text-align:right}
.tb-table td{padding:9px 10px;border-bottom:1px solid var(--scrub-divide);white-space:nowrap;max-width:220px;overflow:hidden;text-overflow:ellipsis;cursor:pointer;outline:none}
.tb-table td[data-key]:focus-visible{box-shadow:inset 0 0 0 2px var(--scrub-text)}
.tb-edit{position:fixed;z-index:40;box-sizing:border-box;background:var(--scrub-raised);border:2px solid var(--scrub-text);border-radius:var(--scrub-r-field);box-shadow:var(--scrub-shadow-float)}
.tb-edit[hidden]{display:none}
.tb-edit textarea{display:block;width:100%;box-sizing:border-box;margin:0;border:0;border-radius:4px;padding:7px 8px;background:transparent;color:var(--scrub-text);font:inherit;font-size:13.5px;line-height:1.45;resize:none;overflow:auto;outline:none;box-shadow:none;min-height:0}
.tb-edit textarea.n{font-family:var(--scrub-mono);font-variant-numeric:tabular-nums;text-align:right}
.tb-edit textarea[readonly]{color:var(--scrub-text-2)}
.tb-edit-err{margin:0;padding:0 8px 7px;font-size:12.5px;color:var(--scrub-err)}
.tb-table tbody tr:last-child td{border-bottom:0}
.tb-table td.n{font-family:var(--scrub-mono);font-variant-numeric:tabular-nums;text-align:right}
.tb-table.read td.empty::before{content:"None found";color:var(--scrub-text-2);font-family:var(--scrub-sans)}
.tb-wrap.said{margin:8px 0 12px}
.tb-table.said{min-width:0}
.tb-table.said td{cursor:default;max-width:16em;white-space:normal;overflow-wrap:normal;word-break:normal;min-width:5.5em}
.tb-table.said td.n{white-space:nowrap;min-width:0}
.tb-table td.unsure-cell{text-decoration:underline dotted var(--scrub-warn);text-decoration-thickness:2px;text-underline-offset:3px}
.tb-table td.edited{box-shadow:inset 0 -2px 0 var(--scrub-text)}
.tb-table tr.on td{background:color-mix(in srgb,var(--scrub-text) 6%,var(--scrub-surface))}
.tb-table th:first-child,.tb-table td:first-child{position:sticky;left:0;z-index:1;background:var(--scrub-surface)}
.tb-table tr.on td:first-child{background:color-mix(in srgb,var(--scrub-text) 6%,var(--scrub-surface));box-shadow:inset 3px 0 0 var(--scrub-text)}
.tb-open td{white-space:normal;max-width:none;cursor:default;padding:12px;background:color-mix(in srgb,var(--scrub-text) 6%,var(--scrub-surface))}
.tb-open td:first-child{position:static}
.tb-peek{display:flex;gap:16px;align-items:flex-start;position:sticky;left:12px;max-width:min(560px,calc(100vw - 80px))}
.tb-peek img,.tb-peek .pdf-mark{width:150px;flex:none;border-radius:var(--scrub-radius);border:1px solid var(--scrub-line-2);background:var(--scrub-bg)}
.tb-peek .pdf-mark{height:200px;display:flex;align-items:center;justify-content:center;font-family:var(--scrub-mono);font-weight:600;color:var(--scrub-text-2)}
.tb-peek div{display:flex;flex-direction:column;gap:8px;min-width:0}
.tb-peek p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tb-peek p.small{white-space:normal}
.tb-note{font-size:12.5px;color:var(--scrub-text-2);margin:8px 0 0}
.transcript.editing .said{outline:1px solid var(--scrub-line);outline-offset:4px;border-radius:4px;cursor:text}
.transcript.editing .said:focus{outline-color:var(--scrub-text)}
.transcript.editing .w{cursor:text}
.tx-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}

/* Caption rows */
.cues{display:flex;flex-direction:column;max-height:44vh;overflow:auto;border-top:1px solid var(--scrub-line-2)}
.cue{display:grid;grid-template-columns:auto 1fr 10px;gap:10px;align-items:center;padding:6px 4px;border-bottom:1px solid var(--scrub-divide)}
.cue.now{background:color-mix(in srgb,var(--scrub-text) 6%,transparent)}
/* A finished video's scenes beside it (SCR-225, DESIGN.md Scenes beside a video): rows as captions are. */
.scenes{display:flex;flex-direction:column;max-height:60vh;overflow:auto;border-top:1px solid var(--scrub-line-2);text-align:left}
.scn{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;padding:10px 4px;border-bottom:1px solid var(--scrub-line-2)}
.scn.now{background:color-mix(in srgb,var(--scrub-text) 6%,transparent)}
.scn .cue-at{padding-top:3px}
.scn-b{min-width:0}
.scn-line{margin:0;font-size:14.5px;line-height:1.45;color:var(--scrub-text)}
.scn-on{margin:4px 0 0;color:var(--scrub-text-2)}
.scn-pics{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.scn-pics img{height:64px;width:auto;max-width:96px;object-fit:cover;border-radius:4px;border:1px solid var(--scrub-line-2);display:block}
@media (max-width:860px){ .scenes{max-height:none;overflow:visible} }
.cue-at{all:unset;cursor:pointer;display:flex;flex-direction:column;font:500 12px/1.35 var(--scrub-mono);font-variant-numeric:tabular-nums;color:var(--scrub-text-2);min-width:48px;padding:2px 4px;border-radius:4px}
.cue-at:hover,.cue-at:focus-visible{color:var(--scrub-text);background:var(--scrub-line-2)}
.cue-text{field-sizing:content;resize:none;overflow:hidden;min-height:0;font:inherit;font-size:14.5px;line-height:1.4;border:1px solid transparent;background:transparent;color:var(--scrub-text);padding:7px 9px;border-radius:var(--scrub-radius);width:100%;max-width:none;min-width:0}
.cue-text:hover{border-color:var(--scrub-line)}
.cue-text:focus{border-color:var(--scrub-text);outline:none;background:var(--scrub-surface)}
.cue-mark{width:8px;height:8px;border-radius:50%}
.cue.changed .cue-mark{background:var(--scrub-text)}

@media (max-width:1023px){
  .find{grid-template-columns:repeat(4,minmax(0,1fr))}
  .find .q{grid-column:1/4}
  .find .go{grid-column:4;grid-row:1}
  .find .go button{width:100%}
  .find.find-3{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:860px){
  .ws{grid-template-columns:1fr;border-radius:0;overflow:visible}
  .work{border-right:0;border-bottom:0;min-height:0;padding:0 0 24px}
  .side{padding:0 0 24px}
  .drop-empty{min-height:200px}
  .tb-peek{flex-direction:column;max-width:calc(100vw - 110px)}
  .tb-peek img,.tb-peek .pdf-mark{width:120px}
  .mf-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .pay{position:sticky;bottom:0;z-index:4;margin:0 0 -12px;padding:12px 0 calc(12px + env(safe-area-inset-bottom));background:var(--scrub-bg);border-top:0}
  .pay.still{position:static;margin:0;padding:0;border:0;background:none}
  /* One shape on a phone (F-31): Input, then Configuration, then Output;
     the Run bar pinned to the bottom while the page is on screen. */
  .ws.node{display:flex;flex-direction:column;align-items:stretch;overflow:clip}
  .node>.side,.node .io-in,.node .io-out,.node>.jh{min-width:0}
  .node>.work{display:contents}
  .node .io-in,.node .io-out{padding:0 0 24px;background:none}
  .node .io-in{order:1;border-bottom:0}
  .node>.side{order:2;border-bottom:0}
  /* Run pinned at the foot while the page is on screen, floating over what
     scrolls under it (SCR-498: the 63 px it kept for a bottom bar work pages
     no longer draw left it hanging above the foot). */
  .node>.work>.runbar{order:3;position:sticky;bottom:calc(12px + env(safe-area-inset-bottom));z-index:5;margin:0 0 24px;border-radius:var(--scrub-r-sheet);border-width:0;background:var(--scrub-raised);box-shadow:var(--scrub-shadow-float)}
  .node .io-out{order:4}
  .node>.jh{order:6}
  /* On a phone the parts stack, so no tabs; the bar holds Run and the price. */
  .wtabs{display:none}
  .runbar .price-line .what{font-size:14px}
}
@media (max-width:640px){
  .choices:not(.rows){grid-template-columns:1fr 1fr}
  button,.button{min-height:44px}
  .button{display:inline-flex;align-items:center;justify-content:center}
  .pl-big{min-height:0}
  .find,.find.find-3{grid-template-columns:1fr 1fr}
  .find .q{grid-column:1/-1}
  .find .go{grid-column:1/-1;grid-row:auto}
  .find input,.find select,.find .go button{min-height:44px}
  .job{grid-template-columns:40px minmax(0,1fr) auto;grid-template-areas:"tile name cost" "tile name time";column-gap:12px}
  .job .jw{display:none}
  .job .jwi{display:inline}
  .job .jwhen{min-width:0;overflow:hidden;text-overflow:ellipsis}
  .job>.tile{--s:40px}
  .jobs.grouped .job{grid-template-columns:40px minmax(0,1fr) auto}
  .jg-steps{margin-left:12px}
  .jst{grid-template-columns:26px minmax(0,1fr) auto;grid-template-areas:"tile name cost" "tile name time"}
  .jst .jt{font-size:12px;padding-right:34px}
  .jobs.grouped .job .jt{padding-right:34px}
  .toolhead{gap:12px}
  .toolhead .tile{--s:44px}
  .toolhead h1{font-size:24px}
  .job .jt{font-size:12.5px}
  .job .jf{flex-direction:column}
  .job .jf .sep{display:none}
  .fentry{grid-template-columns:40px minmax(0,1fr) auto;grid-template-areas:"x name size" "act act act";row-gap:10px;column-gap:12px}
  .fx{width:40px;height:40px;border-radius:10px}
  .fe-meta{white-space:normal}
  .fe-act{justify-content:flex-start;padding-left:52px}
  .fentry:has(.confirm.asking) .fe-act{grid-column:1/-1;grid-row:auto}
  .fe-act .confirm.asking{flex:1 1 100%;justify-content:flex-start}
  .fe-act .confirm.asking .confirm-ask{max-width:none;flex:1 1 100%;text-align:left}
  .fe-act .button,.fe-act button{min-height:44px}
  .fe-use{position:static}
  .fe-pop{left:0;right:0;width:auto}
  .fentry{position:relative}
  .ask{gap:4px;padding:4px}
  .ask button[type=submit]{padding:0}
  .att,.att .att-sq{width:68px;height:68px}
  .mc-stage{height:180px}
  .result-grid.small{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
  .result-grid.small .mc-stage{height:120px}
  .find-bar{flex-direction:column;align-items:stretch}
  .find-bar>.jv{align-self:flex-start}
  .find-bar>.jv a{min-height:44px;padding:2px 16px}
  .paging .button{min-height:44px;display:inline-flex;align-items:center}
  .msg.you{max-width:88%}
  .chatbar .more{display:none}
  .composer{padding:10px 12px calc(10px + env(safe-area-inset-bottom))}
  .composer .inner{gap:8px}
  .para{grid-template-columns:1fr;gap:0}
  .cue{grid-template-columns:auto 1fr 8px;gap:6px}
  .door{margin:16px auto;padding:22px 18px 24px}
  .item{flex-wrap:wrap}
  .inline-form{flex-wrap:wrap}
  .inline-form button,.topup button[type=submit],.more-storage button[type=submit]{width:100%}
  .compare{gap:8px}
  .compare .view video,.compare .view img{max-height:48vh}
  .view video,.view img{max-height:60vh}
}
/* Two players side by side leave each too narrow for its controls: stacked. */
@media (max-width:520px){.compare{grid-template-columns:1fr}.compare .cmp-split{height:1px;width:100%}.compare .view video,.compare .view img{max-height:36vh}}

.mk-in circle,.mk-run circle,.mk-prog circle,.mk-done circle{transform-box:fill-box;transform-origin:center}
.mk-run circle{opacity:.2}
.mk-prog circle{fill:var(--scrub-line);transition:fill .3s ease}
.mk-prog circle.on{fill:var(--scrub-accent-fill)}
@media (prefers-reduced-motion:no-preference){
  .mk-in circle{animation:mkin .8s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i) * 55ms + 120ms)}
  .mk-run circle{animation:mkrun 1.5s ease-in-out infinite;animation-delay:calc(var(--i) * 105ms)}
  .mk-prog circle.pop{animation:mkpop .5s ease-out both}
  .mk-done circle{animation:mkpop .55s ease-out both;animation-delay:calc(var(--i) * 45ms)}
}
@keyframes mkin{from{transform:translate(var(--dx),var(--dy)) scale(.2);opacity:0}to{transform:none;opacity:1}}
@keyframes mkrun{0%,100%{opacity:.2}22%{opacity:1}55%{opacity:.45}}
@keyframes mkpop{0%{transform:scale(.35)}60%{transform:scale(1.22)}100%{transform:none}}
@media (prefers-reduced-motion:reduce){.mk-run circle{opacity:.6}}
.sd-split,.sq,.sq-prev,.about,.toastbar{--sd-tint:color-mix(in srgb,var(--scrub-text) 6%,var(--scrub-surface));--sd-tint-2:color-mix(in srgb,var(--scrub-text) 11%,var(--scrub-surface));--sd-bar:color-mix(in srgb,var(--scrub-text) 58%,var(--scrub-surface));--sd-sunk:color-mix(in srgb,var(--scrub-text) 5%,var(--scrub-bg));--sd-dot:color-mix(in srgb,var(--scrub-text) 13%,transparent);--sd-shadow:0 1px 2px rgba(20,20,30,.05),0 12px 32px -8px rgba(20,20,30,.14);--sd-film:#17191e;--sd-film-2:#262a31;--sd-film-ink:#f3f2ee;--sd-cap-bg:rgba(10,10,12,.62)}
.sd-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
main.sd-main{max-width:none;margin:0;padding:0;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.sd-split{flex:1;display:grid;grid-template-columns:minmax(0,1fr);min-height:100vh;min-height:100dvh}
.sd-left{display:flex;flex-direction:column;align-items:center;padding:14px 16px 24px;gap:12px;min-width:0}
.sd-left .door{margin:0;width:100%}
.sd-door [hidden]{display:none!important}
.sd-split.solo{grid-template-columns:minmax(0,1fr)!important}
.sd-split.solo .sd-left{justify-content:center}
.door.sd-door{max-width:360px;background:none;border:0;border-radius:0;padding:24px 0;align-items:stretch;gap:0;text-align:center}
.sd-icon{align-self:center;display:grid;place-items:center;width:52px;height:52px;border-radius:var(--scrub-r-block);background:var(--scrub-accent-fill);color:var(--scrub-on-accent);box-shadow:0 8px 24px -10px var(--scrub-accent-fill)}
.sd-icon .scrub-mark{height:23px;width:17px;color:var(--scrub-on-accent)}
.sd-door h1,.sd-door .sd-step{font-size:24px;line-height:1.2;letter-spacing:-.03em;font-weight:500;margin:22px 0 26px}
.sd-door .notice{margin:0 0 16px;text-align:left}
.sd-door .sd-ways{gap:10px}
.sd-door .sd-way{min-height:48px;border-radius:var(--scrub-r-pill);font-size:15px}
.sd-door .sd-way.secondary{background:var(--scrub-surface);border-color:transparent;color:var(--scrub-text)}
.sd-door .sd-way.secondary:hover{background:var(--scrub-surface-2)}
.sd-door .sd-way:not(.secondary){color:var(--scrub-on-accent)}
.sd-pm{display:grid;place-items:center;flex:none}
.sd-door .sd-way:not(.secondary) .sd-pm{width:24px;height:24px;border-radius:50%;background:#fff;margin-left:-6px}
.sd-door .sd-way:not(.secondary) .sd-pm svg{width:15px;height:15px}
.sd-door .sd-way .sd-last{position:absolute;right:12px}
.sd-door .sd-way:not(.secondary) .sd-last{color:var(--scrub-on-accent);background:rgba(255,255,255,.18);border-color:transparent}
.sd-door .sd-email{gap:10px}
.sd-door .sd-email .sd-step{display:none}
.sd-door .sd-email.step .sd-step{display:block}
.sd-door .sd-email:not(.step){margin-top:10px}
.sd-door .sd-email input[type=email]{border-radius:var(--scrub-r-pill);min-height:48px;padding-inline:18px}
.sd-door .sd-go{min-height:48px;border-radius:var(--scrub-r-pill)}
.sd-back{align-self:center;margin-top:8px;background:none;border:0;padding:6px 14px;border-radius:var(--scrub-r-pill);font:inherit;font-size:13.5px;color:var(--scrub-text-2);cursor:pointer}
.sd-back:hover{color:var(--scrub-text);background:var(--scrub-surface)}
.sd-door .sd-truth{justify-content:center;margin-top:18px}
.sd-door .sd-terms{margin-top:26px;color:var(--scrub-text-2);line-height:1.6}
.sd-door .sd-terms a{text-decoration:none;font-weight:600}
.sd-swap{margin-top:20px!important;font-size:13.5px;color:var(--scrub-text-2)}
.sd-swap a{color:var(--scrub-text);font-weight:600;text-decoration:none}
.sd-swap a:hover{text-decoration:underline}
.door .lockup .scrub-mark{color:currentColor}
.sd-credit{color:var(--scrub-text)}
.sd-ways{display:flex;flex-direction:column;gap:10px}
.sd-way{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:44px;font-weight:600}
.sd-way svg{width:18px;height:18px;flex:none}
.sd-last{flex:none;font-size:11px;font-weight:600;color:var(--scrub-text-2);border:1px solid transparent;border-radius:999px;padding:2px 9px;background:var(--scrub-bg)}
.sd-email{display:flex;flex-direction:column;gap:10px}
.sd-email input[type=email]{max-width:none;min-height:44px}
.sd-go{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:44px}
.sd-go.secondary{font-weight:600}
.sd-go .scrub-mark{height:1.05em;width:.79em}
.sd-go[aria-disabled=true]{cursor:default}
.sd-terms a{color:var(--scrub-text);text-underline-offset:2px}
.sd-truth{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--scrub-text-2);margin:0}
.sd-truth i{width:7px;height:7px;border-radius:50%;background:var(--scrub-ok)}
.sd-truth.closed i{background:var(--scrub-text-2)}
.sd-inbox{display:flex;gap:10px}
.sd-linkbtn{background:none;border:0;padding:0;color:var(--scrub-text);font:inherit;font-weight:400;text-decoration:underline;text-underline-offset:2px;cursor:pointer;display:inline}
.sd-linkbtn[hidden]{display:none}
.door form>button{overflow-wrap:anywhere;white-space:normal}
.sd-inbox>*{flex:1;text-align:center;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.door .sd-code{font-family:var(--scrub-mono);font-size:20px;letter-spacing:.4em;text-align:center;padding-inline:8px;max-width:none;min-height:52px;border-radius:var(--scrub-r-pill)}
.door .flabel{font-size:13.5px;font-weight:600;display:block}
.sd-stage{display:none;position:relative;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px 28px;min-width:0;overflow:hidden;border-left:0;background-color:var(--sd-sunk);background-image:radial-gradient(circle,var(--scrub-dot) 1.1px,transparent 1.5px);background-size:18px 18px;background-position:9px 9px;container-type:inline-size;container-name:sdstage}
@media (min-width:720px){
  .sd-split{grid-template-columns:minmax(0,1fr) minmax(0,1.12fr)}
  .sd-left{justify-content:center;padding:32px 28px}
  .sd-stage{display:flex}
  .sd-strip{display:none!important}
}
@media (min-width:720px) and (max-width:940px){
  .sd-split{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .sd-left{padding-inline:20px}
  .sd-left .door{padding:24px 22px 26px}
}
.sd-win{width:100%;max-width:560px;background:var(--scrub-bg);border:1px solid var(--scrub-line-2);border-radius:var(--scrub-r-sheet);box-shadow:var(--scrub-shadow-float);display:flex;flex-direction:column;overflow:hidden}
.sd-ask{display:flex;align-items:center;gap:10px;padding:0 12px 0 16px;min-height:54px;border-bottom:1px solid var(--scrub-line-2);font-size:15px;font-weight:500}
.sd-ask .t{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sd-ask .go{margin-left:auto;flex:none;width:34px;height:34px;border-radius:50%;border:1px solid var(--scrub-line);display:grid;place-items:center;color:var(--scrub-text-2);transition:background .2s,color .2s,border-color .2s}
.sd-ask .go svg{width:15px;height:15px}
.sd-ask.sent .go{background:var(--scrub-text);color:var(--scrub-surface);border-color:var(--scrub-text)}
.sd-caret{flex:none;width:1.5px;height:18px;background:var(--scrub-text);margin-left:-8px}
.sd-ask.sent .sd-caret,.sd-strip.done .sd-caret{visibility:hidden}
@media (prefers-reduced-motion:no-preference){.sd-caret{animation:sdblink 1s steps(1) infinite}}
@keyframes sdblink{50%{opacity:0}}
.sd-body{display:flex;flex-direction:column;transition:opacity .28s ease}
.sd-body.out{opacity:0}
.sd-wa{position:relative;height:304px;padding:16px}
.sd-wa[hidden]{display:none}
.sd-runl{display:grid;align-items:center;min-height:74px;padding:12px 16px;border-top:1px solid var(--scrub-line-2)}
.sd-runl>*{grid-area:1/1;transition:opacity .3s ease,transform .3s ease}
.sd-rl-run{display:flex;align-items:center;gap:10px;font-size:13.5px;opacity:0}
.sd-rl-run .scrub-mark{height:18px;width:13.5px;flex:none;color:var(--scrub-accent-fill)}
.sd-rl-run b{font-weight:600}
.sd-rl-run .scrub-num{color:var(--scrub-text-2);font-size:12.5px}
.sd-rl-done{display:flex;flex-direction:column;gap:4px;opacity:0;transform:translateY(4px)}
.sd-runl.go .sd-rl-run{opacity:1}
.sd-runl.done .sd-rl-run{opacity:0}
.sd-runl.done .sd-rl-done{opacity:1;transform:none}
.sd-rl-res{display:flex;align-items:center;gap:8px;font-size:14.5px}
.sd-rl-res b{font-weight:700}
.sd-rl-res .rx{color:var(--scrub-text-2)}
.sd-rl-res .tk,.sd-strip .tk{width:18px;height:18px;border-radius:50%;background:var(--scrub-ok);color:var(--scrub-surface);display:grid;place-items:center;flex:none}
.sd-rl-res .tk svg,.sd-strip .tk svg{width:12px;height:12px}
.sd-rl-rcpt{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;font-size:12.5px;color:var(--scrub-text-2);padding-left:26px}
.sd-rl-rcpt .rn{color:var(--scrub-text);font-weight:600}
.sd-rl-rcpt .led{font-variant-numeric:tabular-nums;white-space:nowrap}
.sd-ctl{display:flex;align-items:center;gap:12px;width:100%;max-width:560px}
.sd-segs{display:flex;gap:6px;flex:1;min-width:0}
.sd-seg{flex:1;min-width:0;border:0;background:none;padding:10px 0;cursor:pointer;display:flex;flex-direction:column;gap:6px;align-items:flex-start;color:var(--scrub-text-2);font:600 12px/1.2 var(--scrub-sans);text-align:left;border-radius:0}
.sd-seg .bar{display:block;width:100%;height:3px;border-radius:999px;background:var(--scrub-line);position:relative;overflow:hidden}
.sd-seg .bar i{position:absolute;inset:0 auto 0 0;width:0;background:var(--scrub-text)}
.sd-seg.past .bar i{width:100%}
.sd-seg[aria-current=true]{color:var(--scrub-text)}
.sd-seg .nm{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.sd-pp{flex:none;width:40px;height:40px;border-radius:50%;border:1px solid transparent;background:var(--scrub-surface);color:var(--scrub-text);cursor:pointer;display:grid;place-items:center;padding:0}
.sd-pp svg{width:14px;height:14px}
@container sdstage (max-width:470px){.sd-wa{height:262px;padding:12px}}
.sd-tbl{border:1px solid var(--scrub-line);border-radius:var(--scrub-r-field);overflow:hidden;font-size:12.5px;min-width:0;background:var(--scrub-surface)}
.sd-tr{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.85fr) minmax(0,.85fr) minmax(0,.85fr);gap:8px;padding:9px 12px;border-top:1px solid var(--scrub-line-2);align-items:baseline;opacity:0;transform:translateY(4px);transition:opacity .35s ease,transform .35s ease,background-color .9s ease}
.sd-tr.th{border-top:0;font-size:11px;color:var(--scrub-text-2);font-weight:600;background:var(--sd-tint)}
.sd-tr.on{opacity:1;transform:none}
.sd-tr.land{background-color:var(--sd-tint)}
.sd-tr>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sd-tr .scrub-num{text-align:right}
.sd-tr.th span:nth-child(n+3){text-align:right}
.sd-tr .sup{font-weight:600}
@container sdstage (max-width:470px){
  .sd-tr{grid-template-columns:minmax(0,1.6fr) minmax(0,.8fr) minmax(0,.8fr);padding:8px 9px}
  .sd-tr>span:nth-child(2){display:none}
}
.sd-c{display:flex;flex-direction:column;align-items:center;gap:10px;height:100%}
.sd-vid{position:relative;height:222px;aspect-ratio:16/9;max-width:100%;border-radius:var(--scrub-r-block);overflow:hidden;background:var(--sd-film);opacity:0;transform:scale(.98);transition:opacity .4s ease,transform .5s ease}
.sd-vid.on{opacity:1;transform:none}
.sd-vid video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.sd-vchip{position:absolute;top:10px;left:10px;font-size:11px;color:var(--sd-film-ink);background:rgba(255,255,255,.13);border-radius:999px;padding:2px 9px;font-weight:600}
.sd-vchip .scrub-num{font-size:11px;opacity:.8}
.sd-cap{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);width:max-content;max-width:88%;text-align:center}
.sd-cl{display:none;background:var(--sd-cap-bg);color:var(--sd-film-ink);border-radius:5px;padding:4px 10px;font-size:14px;line-height:1.35;font-weight:600}
.sd-cl.cur{display:inline;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.sd-cl .w{opacity:0;transition:opacity .18s ease}
.sd-cl .w.on{opacity:1}
.sd-vid.burned .sd-cl{font-weight:800;background:rgba(10,10,12,.78)}
.sd-wave{position:relative;height:40px;width:100%;max-width:395px;opacity:0;transition:opacity .4s ease}
.sd-wave.on{opacity:1}
.sd-wave .wv{position:absolute;inset:0;display:flex;align-items:center;gap:2px}
.sd-wave .wv i{flex:1;min-width:1px;border-radius:2px;background:var(--scrub-line)}
.sd-wave .clip{position:absolute;inset:0 auto 0 0;width:0;overflow:hidden;border-right:1.5px solid var(--scrub-text)}
.sd-wave .clip .wv{width:var(--ww,395px)}
.sd-wave .clip .wv i{background:var(--scrub-text)}
.sd-wave.fin .clip{width:100%;border-right-color:transparent}
@container sdstage (max-width:470px){.sd-vid{height:182px}}
.sd-k{display:flex;flex-direction:column;gap:12px;height:100%}
.sd-kgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:14px;align-items:start}
.sd-script{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px;font-size:12.5px;line-height:1.38}
.sd-script li{display:grid;grid-template-columns:2.6em minmax(0,1fr);gap:6px;opacity:0;transform:translateY(4px);transition:opacity .35s ease,transform .35s ease,color .3s}
.sd-script li.on{opacity:1;transform:none}
.sd-script li .scrub-num{color:var(--scrub-text-2);font-size:11.5px;padding-top:1px}
.sd-script li.say{color:var(--scrub-text);font-weight:600}
.sd-script.spoken li:not(.say){color:var(--scrub-text-2)}
.sd-kprev{position:relative;aspect-ratio:16/9;width:100%;border-radius:var(--scrub-r-field);overflow:hidden;background:var(--sd-tint);opacity:0;transition:opacity .4s ease}
.sd-kprev.on{opacity:1}
.sd-kprev .kf{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .5s ease}
.sd-kprev .kf.cur{opacity:1}
.sd-kcap{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);width:max-content;max-width:90%;text-align:center;background:var(--sd-cap-bg);color:var(--sd-film-ink);font-size:10.5px;font-weight:700;line-height:1.3;border-radius:4px;padding:2px 7px;opacity:0;transition:opacity .2s}
.sd-kcap.on{opacity:1}
.sd-kstrip{position:relative;display:grid;gap:5px;font-size:10.5px;opacity:0;transition:opacity .4s ease;margin-top:auto}
.sd-kstrip.on{opacity:1}
.sd-lane{display:grid;grid-template-columns:3.6em minmax(0,1fr);gap:8px;align-items:center;font-size:10.5px;color:var(--scrub-text-2);font-weight:600}
.sd-lane .lt{display:flex;gap:3px;height:34px}
.sd-lane .th{flex:1;min-width:0;border-radius:3px;overflow:hidden;position:relative;background:var(--sd-tint)}
.sd-lane .th img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .35s ease}
.sd-lane .th.on img{opacity:1}
@media (prefers-reduced-motion:no-preference){.sd-lane .th.on::after{content:"";position:absolute;inset:0;border-radius:3px;box-shadow:inset 0 0 0 1.5px var(--scrub-text);animation:sdlit .9s ease-out forwards}}
@keyframes sdlit{to{box-shadow:inset 0 0 0 1.5px transparent}}
.sd-lane .fl{height:10px;border-radius:3px;background:var(--sd-tint);position:relative;overflow:hidden}
.sd-lane .fl i{position:absolute;inset:0 auto 0 0;width:0;background:var(--sd-bar);border-radius:3px;transition:width .8s ease}
.sd-lane .fl.on i{width:100%}
.sd-lane .vw{height:16px;display:flex;align-items:center;gap:1.5px;position:relative}
.sd-lane .vw i{flex:1;border-radius:1px;background:var(--scrub-line);transition:background-color .2s}
.sd-lane .vw i.on{background:var(--sd-bar)}
.kph{position:absolute;top:-4px;bottom:-4px;left:calc(3.6em + 8px);width:1.5px;background:var(--scrub-text);opacity:0}
.sd-kstrip.drawing .kph{opacity:1;left:100%;transition:left 6.6s linear}
.sd-kstrip.drawn .kph{opacity:0}
.shine{background:linear-gradient(90deg,var(--sd-tint) 0%,var(--sd-tint-2) 50%,var(--sd-tint) 100%);background-size:220% 100%}
@media (prefers-reduced-motion:no-preference){.shine{animation:sdshine 1.3s linear infinite}}
@keyframes sdshine{from{background-position:120% 0}to{background-position:-120% 0}}
.th.on.shine{animation:none;background:var(--sd-tint)}
@container sdstage (max-width:470px){.sd-kgrid{grid-template-columns:minmax(0,1fr)}.sd-script{display:none}.sd-kprev{width:76%;margin-inline:auto}}
.sd-strip{width:100%;max-width:440px;display:flex;align-items:center;gap:10px;min-height:52px;padding:8px 16px;background:var(--scrub-surface);border:1px solid transparent;border-radius:var(--scrub-r-pill);font-size:13.5px}
.sd-strip .sx-mk{flex:none;display:grid;place-items:center;width:18px}
.sd-strip [hidden]{display:none!important}
.sd-strip .sx-mk .scrub-mark{height:16px;width:12px;color:var(--scrub-accent-fill)}
.sd-strip .sx-t{flex:1;min-width:0;display:flex;align-items:center}
.sd-strip .sx-t .t{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}
.sd-strip .sd-caret{margin-left:1px;height:15px}
.sd-strip .sx-th{flex:none;width:34px;height:24px;border-radius:4px;overflow:hidden;border:1px solid var(--scrub-line);background:var(--sd-tint);opacity:0;transition:opacity .3s}
.sd-strip .sx-th img{width:100%;height:100%;object-fit:cover;display:block}
.sd-strip.done .sx-th{opacity:1}
.sd-strip .sx-r{flex:none;font-size:13px}
main.sq-main{max-width:none;margin:0;padding:0}
.sq [hidden]{display:none!important}
.sq{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;background:var(--scrub-bg)}
.sq-head{display:flex;align-items:center;gap:12px;padding:14px 24px;min-height:64px}
.sq-prog{display:inline-flex;align-items:center;gap:12px;font-size:13px;color:var(--scrub-text-2)}
.sq-prog .scrub-mark{height:28px;width:21px}
.sq-prog .scrub-num{color:var(--scrub-text)}
.sq-skipform{margin-left:auto}
.sq-skipall{background:none;border:0;color:var(--scrub-text-2);font-weight:600;text-decoration:underline;text-underline-offset:3px;min-height:44px;padding:0 4px}
.sq-body{flex:1;display:flex;flex-direction:column;align-items:center;padding:clamp(12px,5vh,56px) 24px 24px;gap:28px}
.sq-card{border:0;margin:0;padding:0;min-width:0;width:100%;max-width:600px;outline:none}
.sq-card.wide{max-width:860px}
.sq-card[hidden]{display:none}
.sq-in{display:flex;flex-direction:column;gap:18px}
@media (prefers-reduced-motion:no-preference){
  .sq-card.in-f{animation:sqinf .34s cubic-bezier(.2,.8,.2,1) both}
  .sq-card.in-b{animation:sqinb .34s cubic-bezier(.2,.8,.2,1) both}
  .sq-card.out-f{animation:sqout .14s ease-in both}
  .sq-card.out-b{animation:sqoutb .14s ease-in both}
}
@keyframes sqinf{from{opacity:0;transform:translateY(18px)}}
@keyframes sqinb{from{opacity:0;transform:translateY(-18px)}}
@keyframes sqout{to{opacity:0;transform:translateY(-10px)}}
@keyframes sqoutb{to{opacity:0;transform:translateY(10px)}}
.sq-k{font-size:12.5px;color:var(--scrub-text-2);font-weight:600;display:flex;gap:8px;align-items:center;margin:0}
.sq-t{font-size:34px;line-height:1.1;letter-spacing:-.035em;font-weight:500;margin:0;text-wrap:balance}
.sq-sub{margin:-8px 0 0;color:var(--scrub-text-2);font-size:15px}
.sq-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.sq-card.wide .sq-cols{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:22px;align-items:start}
.sq-o{position:relative;display:flex;align-items:center;gap:12px;text-align:left;width:100%;min-height:56px;padding:12px 16px 12px 12px;border:1px solid transparent;border-radius:var(--scrub-r-block);background:var(--scrub-surface);cursor:pointer;transition:border-color .15s,background-color .15s,box-shadow .15s}
.sq-o:hover{background:var(--scrub-surface-2)}
.sq-o input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.sq-o kbd{flex:none;width:26px;height:26px;display:grid;place-items:center;border:1px solid transparent;border-radius:50%;font:600 11.5px/1 var(--scrub-mono);color:var(--scrub-text-2);background:var(--scrub-bg);transition:all .15s}
.sq-o .ql{display:flex;flex-direction:column;gap:2px;min-width:0}
.sq-o .ql b{font-size:15px;font-weight:600}
.sq-o .ql small{font-size:12.8px;color:var(--scrub-text-2);line-height:1.35}
.sq-o:has(input:checked){border-color:var(--scrub-text);box-shadow:inset 0 0 0 1px var(--scrub-text);background:color-mix(in srgb,var(--scrub-text) 5%,var(--scrub-surface))}
.sq-o:has(input:checked) kbd{background:var(--scrub-text);color:var(--scrub-surface);border-color:var(--scrub-text)}
.sq-o:has(input:focus-visible){outline:2px solid var(--scrub-text);outline-offset:2px}
@media (prefers-reduced-motion:no-preference){.sq-o.picked{animation:sqpick .32s ease-out}}
@keyframes sqpick{40%{transform:scale(.985)}}
.sq-list{display:flex;flex-direction:column;gap:8px}
.sq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sq-grid.sq-list{display:grid}
.sq-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sq-cards .sq-o{flex-direction:column;align-items:flex-start;min-height:140px;padding:18px 20px;gap:10px;border-radius:var(--scrub-r-panel)}
.sq-cards .sq-o .ql b{font-size:20px;font-weight:600;letter-spacing:-.02em}
.sq-cards .sq-o .ql small{font-size:13.5px}
.sq-cards .sq-o .ic{margin-top:auto;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--scrub-bg);color:var(--scrub-text)}
.sq-cards .sq-o .ic svg{width:20px;height:20px}
.sq-seg{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.sq-seg .sq-o{flex-direction:column;align-items:flex-start;min-height:84px;gap:8px}
/* One face for the four (SCR-244): "Just me" is words, so the ranges beside it are too. */
.sq-seg .sq-o .ql b{font-variant-numeric:tabular-nums;font-size:16px}
.sq-other{display:none;max-width:none!important}
.sq-list:has(input[value=other]:checked)>.sq-other{display:block}
.sq-grid.sq-list:has(input[value=other]:checked)>.sq-other{grid-column:1/-1}
.sq-field{font-size:18px!important;min-height:56px;padding-inline:20px!important;border-radius:var(--scrub-r-pill)!important;max-width:none!important}
.sq-hint{font-size:12.5px;color:var(--scrub-text-2);margin:5px 0 0}
.sq-tick{display:flex;gap:10px;align-items:flex-start;cursor:pointer;min-height:44px;padding-top:4px}
.sq-tick input{width:20px;height:20px;margin:1px 0 0;flex:none;accent-color:var(--scrub-text)}
.sq-tick span{font-size:14px}
.sq-tick small{display:block;font-size:12.5px;color:var(--scrub-text-2)}
.sq-foot{position:sticky;bottom:0;display:flex;align-items:center;gap:10px;width:100%;max-width:860px;padding:12px 0 calc(14px + env(safe-area-inset-bottom,0px));background:var(--scrub-bg)}
.sq.js .sq-body{padding-bottom:0}
.sq.js .sq-foot{max-width:none;margin:auto -24px 0;width:calc(100% + 48px);padding:12px 24px calc(14px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--scrub-line-2);background:var(--scrub-bg)}
.sq-foot .sq-next{margin-left:auto;min-width:140px;min-height:48px}
.sq.js .sq-foot .sq-next{margin-left:0}
.sq-foot .secondary{min-height:48px}
.sq-foot [aria-disabled=true]{cursor:default;color:var(--scrub-text-2)}
.sq-foot.gone{visibility:hidden}
.sq-hint-keys{margin-inline:auto;font-size:12.5px;color:var(--scrub-text-2);display:flex;align-items:center;gap:6px}
.sq-hint-keys[hidden]{display:none}
/* The keys at the hint's own size, in the text colour, so a 6 never reads as a 4 (SCR-244). */
.sq-hint-keys kbd{font:600 12.5px/1 var(--scrub-mono);border:1px solid var(--scrub-line);border-radius:4px;padding:3px 5px;background:var(--scrub-bg);color:var(--scrub-text)}
.sq-prev{min-width:0}
.sq-pv{border:0;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);overflow:hidden;display:flex;flex-direction:column}
.sq-pv[hidden]{display:none}
.sq-pv .pv{position:relative;height:172px;padding:14px;margin:8px 8px 0;border-radius:var(--scrub-r-block);background-color:var(--scrub-bg);background-image:radial-gradient(circle,var(--scrub-dot) 1.1px,transparent 1.5px);background-size:16px 16px;display:flex;align-items:center;justify-content:center}
.sq-pv .pl{padding:12px 16px 14px;border-top:0;font-size:12.8px;color:var(--scrub-text-2);display:flex;flex-direction:column;gap:2px}
.sq-pv .pl b{color:var(--scrub-text);font-weight:600;font-size:13px}
.sq-pv.empty .pv{color:var(--scrub-text-2);font-size:13.5px;text-align:center}
.sq-frames{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;max-width:330px}
.sq-frames .th{aspect-ratio:16/9;border-radius:4px;overflow:hidden;position:relative}
.sq-frames .th img{width:100%;height:100%;object-fit:cover;display:block}
.sq-lines{width:100%;max-width:340px;display:flex;flex-direction:column;gap:7px;font-size:12.5px}
.sq-lines div{display:grid;grid-template-columns:2.8em minmax(0,1fr);gap:6px;background:var(--scrub-surface);border:1px solid var(--scrub-line-2);border-radius:var(--scrub-radius);padding:6px 9px}
.sq-lines .scrub-num{color:var(--scrub-text-2);font-size:11.5px;padding-top:1px}
.sq-tbl{width:100%;max-width:340px}
.sq-code{width:100%;max-width:360px;margin:0;font:12px/1.6 var(--scrub-mono);background:var(--scrub-surface);border:1px solid var(--scrub-line-2);border-radius:var(--scrub-r-field);padding:10px 12px;color:var(--scrub-text);white-space:pre;overflow-x:auto}
.sq-code .c{color:var(--scrub-text-2)}
@media (prefers-reduced-motion:no-preference){
  .sq-anim>*{animation:sqpvin 3.6s ease both infinite}
  .sq-anim>*:nth-child(2){animation-delay:.35s}
  .sq-anim>*:nth-child(3){animation-delay:.7s}
  .sq-anim>*:nth-child(4){animation-delay:1.05s}
}
@keyframes sqpvin{0%{opacity:0;transform:translateY(5px)}12%,82%{opacity:1;transform:none}100%{opacity:0}}
.sq-done .sq-in{align-items:flex-start;gap:14px}
.sq-bigmark{color:var(--scrub-accent-fill)}
.sq-bigmark .scrub-mark{height:64px;width:48px}
.sq-done .sq-t{font-size:40px;letter-spacing:-.04em}
.sq-done .sq-sub{margin:0}
.sq-credit{color:var(--scrub-text)}
.sq:not(.js) .sq-card{padding-bottom:20px;border-bottom:1px solid var(--scrub-line-2)}
@media (max-width:640px){
  .sq-head{padding:10px 16px;min-height:56px}
  .sq-body{padding:8px 16px 20px}
  .sq.js .sq-foot{margin-inline:-16px;width:calc(100% + 32px);padding-inline:16px}
  .sq-t{font-size:26px}
  .sq-card.wide .sq-cols{grid-template-columns:minmax(0,1fr)}
  .sq-grid{grid-template-columns:minmax(0,1fr)}
  .sq-seg{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sq-cards .sq-o{min-height:116px}
  .sq-hint-keys{display:none!important}
  .sq.js .sq-back{margin-right:auto}
  .sq-foot .sq-next{min-width:0;flex:1}
  .sq-pv .pv{height:150px}
  .sq-o kbd{display:none}
}
.about{display:flex;flex-direction:column;gap:12px;max-width:560px}
.ab-row{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;font-size:13.5px;font-weight:600}
.ab-row select,.ab-row input{font-weight:400;max-width:none}
.about .ab-other{display:none}
.about:has(#about-first option[value=other]:checked) .ab-other[for=about-first-other],.about:has(#about-role option[value=other]:checked) .ab-other[for=about-role-other]{display:grid}
.about .row{margin-top:2px}
.toastbar{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);display:flex;align-items:center;gap:12px;background:var(--scrub-raised);border:0;border-radius:var(--scrub-r-float);padding:4px 4px 4px 18px;min-height:52px;box-sizing:border-box;font-size:14px;box-shadow:var(--scrub-shadow-float);width:max-content;max-width:calc(100% - 32px);z-index:60}
.toastbar[hidden]{display:none}
.toastbar:is(.done,.stopped){--toast-edge:var(--scrub-ok);background:color-mix(in srgb,var(--scrub-text) 7%,var(--scrub-raised));border-left:4px solid var(--toast-edge);padding-left:14px;box-shadow:0 0 0 1px color-mix(in srgb,var(--toast-edge) 45%,transparent),0 2px 6px rgba(10,10,14,.12),0 18px 44px -8px rgba(10,10,14,.32)}
.toastbar.stopped{--toast-edge:var(--scrub-err)}
.toastbar-m{flex:none;display:flex;color:var(--toast-edge)}
.toastbar.going{opacity:0;transition:opacity .25s ease}
/* Over Admin's person panel, at its foot, where the press was made (SCR-299). */
.toastbar a{font-weight:600}
.toastbar-x{border:0;background:none;cursor:pointer;color:var(--scrub-text-2);font-size:18px;line-height:1;width:44px;height:44px;border-radius:var(--scrub-r-pill);padding:0;flex:none}
.toastbar-x:hover{background:var(--scrub-surface-2);color:var(--scrub-text)}
@media (prefers-reduced-motion:no-preference){.toastbar{animation:toastup .3s ease-out}}
.appcard{position:fixed;right:16px;bottom:79px;z-index:55;display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:14px;align-items:start;width:340px;box-sizing:border-box;background:var(--scrub-surface);border:1px solid var(--scrub-line);border-radius:12px;padding:16px 8px 16px 16px;box-shadow:0 10px 28px rgba(20,20,30,.14)}
.appcard[hidden]{display:none}
.appcard-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--scrub-accent-fill);color:var(--scrub-on-accent)}
.appcard-icon svg{width:15px;height:20px}
.appcard b{display:block;font-size:14.5px;line-height:1.35}
.appcard p{margin:2px 0 10px;font-size:13.5px;line-height:1.45;color:var(--scrub-text-2)}
.appcard a{font-size:13.5px;font-weight:600}
.appcard-x{border:0;background:none;cursor:pointer;color:var(--scrub-text-2);font-size:18px;line-height:1;width:32px;height:32px;margin:-8px 0 0;border-radius:6px;padding:0}
.appcard-x:hover{color:var(--scrub-text);background:var(--scrub-line-2)}
@media (prefers-reduced-motion:no-preference){.appcard{animation:appcardup .3s ease-out}}
@keyframes appcardup{from{transform:translateY(8px);opacity:0}to{transform:none;opacity:1}}
@keyframes toastup{from{transform:translate(-50%,8px);opacity:0}to{transform:translateX(-50%);opacity:1}}
@keyframes toastin{from{transform:translateY(12px);opacity:0}to{transform:none;opacity:1}}
.welcome-fly{position:fixed;z-index:70;left:0;top:0;pointer-events:none;font-weight:600;color:var(--scrub-text);font-size:13.5px;background:var(--scrub-surface);border:1px solid var(--scrub-line);border-radius:999px;padding:3px 10px;box-shadow:0 10px 28px rgba(20,20,30,.14);white-space:nowrap}
header.top .bal b{transition:opacity .3s,background-color .8s;border-radius:5px}
header.top .bal b.got{background-color:color-mix(in srgb,var(--scrub-text) 11%,var(--scrub-surface))}
.adm-pv{margin-top:8px}
.adm-gby{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12.5px;color:var(--scrub-text-2);margin:0 0 8px}
.adm-pv-says{max-width:80ch;margin:0 0 10px}
.adm-pv .adm-tablewrap{overflow-x:auto}
.adm-pvt{width:100%;border-collapse:collapse;font-size:13px}
.adm-pvt th{text-align:left;font-size:11.5px;font-weight:600;color:var(--scrub-text-2);padding:8px 10px;border-bottom:1px solid var(--scrub-line);white-space:nowrap;vertical-align:bottom}
.adm-pvt td{padding:9px 10px;border-bottom:1px solid var(--scrub-line-2);white-space:nowrap;vertical-align:top}
.adm-pvt tbody tr:last-child td{border-bottom:0}
.adm-pvt .r{text-align:right}
.adm-pers{white-space:normal!important;min-width:15em}
.adm-pers b{display:block;font-weight:700}
.adm-pers span{color:var(--scrub-text-2);font-size:12px}
.adm-meter{display:inline-grid;grid-template-columns:3.2em 56px;gap:6px;align-items:center;justify-content:end}
.adm-meter-t{width:56px;height:8px;background:var(--adm-tint);border-radius:0 3px 3px 0;overflow:hidden;display:block}
.adm-meter-t i{display:block;height:8px;background:var(--adm-bar);border-radius:0 3px 3px 0}
.adm-few-t{font-size:12.5px;text-align:left}
.adm-pv-charts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr);gap:10px;margin-top:10px}
@media (max-width:900px){.adm-pv-charts{grid-template-columns:minmax(0,1fr)}}
.adm-pb{display:grid;grid-template-columns:minmax(0,11em) minmax(60px,1fr) 3.4em;gap:4px 10px;align-items:center;font-size:12.5px}
.adm-pb-two{display:grid;gap:3px}
.adm-pb-two i{display:block;height:7px;border-radius:0 3px 3px 0;min-width:2px}
.adm-pb-two i.said{border:1.5px solid var(--adm-bar);height:8px}
.adm-pb-two i.ran{background:var(--adm-done)}
.adm-pb-v{text-align:right;font-size:11.5px;line-height:1.25}
.adm-pb-v span{color:var(--scrub-text-2)}
.adm-pv-charts .adm-legend{margin-top:8px}
.adm-legend i.adm-said{border:1.5px solid var(--adm-bar);background:transparent}
.adm-about .adm-li{grid-template-columns:minmax(8.5em,auto) minmax(0,1fr)}
.adm-ans{display:block;font-size:12.5px;color:var(--scrub-text-2);white-space:normal;max-width:16em}


/* Stretches of a recording and a sound chain's settings (SCR-357, sound-editor.ts):
   the waveform, the spectrogram with its sharp moments and parts, the part
   chosen's floating toolbar (the video builder's .tl-tbar), its Custom values
   as scrub numbers, and listening As recorded, Cleaned or What it takes away. */
.vt{display:grid;gap:8px;min-width:0}
.heard-ab{display:grid;gap:12px;justify-items:center;width:100%;align-self:stretch;margin:0 auto}
.heard-ab>.player{width:100%}
.vt-cv{position:relative;border:1px solid var(--scrub-line-2);border-radius:var(--scrub-radius);background:var(--scrub-surface);overflow:hidden}
.vt-cv canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.vt-wave{height:56px}
.vt-specwrap{position:relative}
.vt-spec{height:190px;cursor:crosshair;touch-action:none}
@media (max-width:640px){.vt-spec{height:150px}}
.vt-down{height:16px;border:0;background:color-mix(in srgb,var(--scrub-text) 5%,var(--scrub-bg));border-radius:4px}
.vt-tbar{position:absolute;top:8px;left:0;z-index:5}
.vt-tbar.dock{position:static;margin:6px 0 0}
.vt-tbar .vt-x{color:var(--scrub-text-2)}
.vt-row{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}
.vt-time{margin-left:auto;font:600 17px var(--scrub-mono);font-variant-numeric:tabular-nums;color:var(--scrub-text)}
.vt-hear{display:inline-grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:2px;padding:3px;border:0;border-radius:var(--scrub-r-pill);background:var(--scrub-surface);overflow:hidden}
.vt-hear button{all:unset;box-sizing:border-box;font:600 14px/1.2 var(--scrub-sans);padding:4px 14px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;text-align:center;cursor:pointer;color:var(--scrub-text-2);background:none;border-radius:var(--scrub-r-pill);border-right:0;transition:background .2s var(--scrub-ease),color .2s var(--scrub-ease)}
/* A phone: Play and the time on one line, the switch under them, three equal parts. */
@media (max-width:640px){.vt-row .vt-hear{order:3;width:100%}.vt-hear button{padding:4px 8px}}
.vt-hear button:last-child{border-right:0}
.vt-hear button[aria-pressed="true"]{color:var(--scrub-on-inv);background:var(--scrub-inv)}
.vt-hear button:focus-visible{outline:2px solid var(--scrub-text);outline-offset:1px}
.vt-parts{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.vt-count{font-weight:700;margin-right:4px}
.vt-hint{flex-basis:100%;font-size:12.5px;color:var(--scrub-text-2)}
.vt-chip{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 10px 0 6px;border:1px solid var(--scrub-line);border-radius:var(--scrub-radius);background:var(--scrub-surface);color:var(--scrub-text);font:600 13px var(--scrub-sans);cursor:pointer}
.vt-chip[aria-pressed="true"]{box-shadow:inset 0 0 0 2px var(--scrub-text)}
.vt-chip:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.vt-chip .no{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--scrub-text);color:var(--scrub-bg);font:700 11px var(--scrub-sans)}
.vt-chip .t{font-family:var(--scrub-mono);font-weight:500}
.vt-chip .s{color:var(--scrub-text-2);font-weight:500}
.vt-custom{border:1px solid var(--scrub-line-2);border-radius:var(--scrub-radius);padding:10px 12px;background:var(--scrub-surface)}
.vt-ch{margin:0 0 6px;font-weight:700;font-size:14px}
.vt-vals{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px 16px}
.vt-vals label{display:grid;gap:4px;font-size:13px;font-weight:600}
.vt-num{display:inline-flex;align-items:center;width:max-content;border:1px solid var(--scrub-line);border-radius:var(--scrub-radius);background:var(--scrub-bg);cursor:ew-resize;user-select:none;touch-action:none}
.vt-num button{min-width:28px;min-height:32px}
.vt-num .v{font:500 13px var(--scrub-mono);font-variant-numeric:tabular-nums;min-width:80px;text-align:center}
.vt-found{display:flex;flex-wrap:wrap;gap:6px;max-height:128px;overflow:auto}
.vt-fm{display:inline-flex;align-items:center;border:1px solid var(--scrub-line);border-radius:var(--scrub-radius);background:var(--scrub-surface)}
.vt-fm button{min-height:32px;font-size:13px}
.vt-fm button.t{font-family:var(--scrub-mono)}
.vt-fm button+button{border-left:1px solid var(--scrub-line-2);color:var(--scrub-text-2)}
.vt-wait{display:none;font-size:13px;color:var(--scrub-text-2)}
.vt-failed{display:none;color:var(--scrub-text-2)}
.vt[data-state="failed"] .vt-failed{display:block}
.vt[data-state="failed"] .vt-on{display:none}
/* Listening only once there is a recording to listen to (SCR-432: a page opened fresh said it, turning, over nothing). */
.vt[data-state="hearing"] .vt-wait{display:block}
.vt[data-state="waiting"] .vt-on,.vt[data-state="hearing"] .vt-on{opacity:.35;pointer-events:none}
/* The slide studio (SCR-443, DESIGN.md Slide studio): slides on the left, a
   toolbar over the slide, the slide drawn as the render draws it, its voice
   and layers below; its settings in Configuration. */
.ss{position:relative}
.ss-work{display:flex;flex-direction:column;gap:12px;min-width:0}
.ss-work[hidden],.ss-start[hidden],.ss-froms[hidden],.ss-rail[hidden]{display:none}
.ss-rail{display:flex;flex-direction:column;min-width:0;min-height:0}
.ss-rh{display:flex;align-items:center;gap:8px;padding:12px 12px 8px}
.ss-rh b{font-size:14px}
.ss-rh .ss-count{color:var(--scrub-text-2)}
.ss-rh .ss-new{margin-left:auto}
.ss-list{display:flex;flex-direction:column;gap:2px;padding:4px 12px 16px;overflow-y:auto;min-height:0}
.ss-th{position:relative;display:block;flex:none;width:100%;min-height:0;padding:0;border:2px solid transparent;border-radius:var(--scrub-radius);background:none;cursor:pointer}
.ss-th canvas{display:block;width:100%;height:auto;border-radius:calc(var(--scrub-radius) - 2px);box-shadow:0 0 0 1px var(--scrub-line)}
.ss-th[aria-current="true"]{border-color:var(--scrub-text)}
.ss-th .ss-n{position:absolute;left:6px;top:5px;padding:0 5px;border-radius:4px;background:var(--scrub-bg);color:var(--scrub-text-2);font-size:11px;line-height:16px}
.ss-th.over{box-shadow:0 -3px 0 var(--scrub-text)}
.ss-th.drag{opacity:.4}
.ss-ins{position:relative;height:12px}
.ss-ins button{position:absolute;left:50%;top:50%;width:22px;height:22px;min-height:0;margin:-11px 0 0 -11px;padding:0;border-radius:50%;border:1px solid var(--scrub-line);background:var(--scrub-bg);color:var(--scrub-text);font:600 14px/1 var(--scrub-sans);opacity:0;z-index:1}
.ss-ins:hover button,.ss-ins button:focus-visible{opacity:1}
.ss-part{margin:8px 0 2px;font-weight:600;color:var(--scrub-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ss-main{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0}
.ss-bar{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center}
.ss-new svg{margin-right:4px;vertical-align:-2px}
.ss-g{display:flex;align-items:center;gap:3px;flex-wrap:nowrap}
.ss-g.off{display:none}
.ss-main{container:ssmain/inline-size}
.ss-gl{margin-right:2px;font-size:12px;color:var(--scrub-text-2)}
.ss-tb{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;font-size:13px;white-space:nowrap;background:var(--scrub-bg);color:var(--scrub-text);border:1px solid var(--scrub-line);border-radius:var(--scrub-r-pill)}
.ss-tb svg{flex:none;color:var(--scrub-text-2)}
/* A narrow work: the insert buttons are their icons, named on hover. */
@container ssmain (max-width:900px){.ss-tb .ss-tl-n{display:none}.ss-tb{padding:0 8px}}
.ss-tb[hidden]{display:none}
.ss-tb .small{color:var(--scrub-text-2);font-size:11.5px}
.ss-ib{flex:none;width:32px;min-width:32px;height:32px;min-height:0;padding:0;display:inline-flex;align-items:center;justify-content:center;background:var(--scrub-bg);border:1px solid var(--scrub-line);border-radius:var(--scrub-r-pill);color:var(--scrub-text)}
.ss-ib[aria-pressed="true"]{background:var(--scrub-text);color:var(--scrub-bg);border-color:var(--scrub-text)}
.ss-ib:disabled{opacity:.5}
.ss-bar select,.ss-bar input{min-height:30px;height:30px;padding-top:0;padding-bottom:0;font-size:12.5px}
.ss .ss-bar select.ss-font{width:124px;max-width:124px;flex:none}
.ss .ss-bar select.ss-enter{width:auto;max-width:150px;flex:none}
.ss .ss-bar input.ss-size{width:54px;max-width:54px;flex:none}
.ss-dots{display:inline-flex;gap:5px;margin:0 4px}
.ss-dot{width:20px;height:20px;min-height:0;padding:0;border-radius:50%;border:1px solid var(--scrub-line)}
.ss-dot[aria-pressed="true"]{outline:2px solid var(--scrub-text);outline-offset:2px}
.ss-desk{position:relative;display:flex;align-items:center;justify-content:center;min-height:0;padding:8px;border-radius:var(--scrub-r-panel);background:color-mix(in srgb,var(--scrub-bg) 82%,var(--scrub-line-2))}
.ss-sheet{position:relative;touch-action:none;user-select:none;-webkit-user-select:none}
.ss-canvas{display:block;width:100%;height:100%;border-radius:4px;box-shadow:0 1px 3px rgba(20,20,25,.14)}
.ss-over{position:absolute;inset:0;pointer-events:none}
.ss-sbox{position:absolute;outline:1.5px solid var(--scrub-accent)}
.ss-sbox.ss-art,.ss-place{position:absolute;border-radius:6px;outline:1.5px dashed var(--scrub-text-2)}
.ss-sbox.ss-art{outline-color:var(--scrub-accent)}
.ss-hd{position:absolute;width:12px;height:12px;border-radius:3px;background:#fff;border:1.5px solid var(--scrub-accent);pointer-events:auto;box-sizing:border-box}
.ss-guide{position:absolute;background:var(--scrub-accent)}
.ss-edit{position:absolute;box-sizing:border-box;pointer-events:auto;outline:1.5px solid var(--scrub-accent);white-space:pre-wrap;overflow-wrap:break-word;cursor:text}
.ss-said{margin:0}
.ss-said[hidden]{display:none}
.ss-time{display:flex;flex-direction:column;min-height:0;border:1px solid transparent;border-radius:var(--scrub-r-panel);background:var(--scrub-surface)}
.ss-time[hidden]{display:none}
.ss-transport{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 12px;border-bottom:1px solid var(--scrub-divide)}
.ss-transport .ss-clock{color:var(--scrub-text);font-size:13px}
.ss-tp-end{margin-left:auto;display:flex;align-items:center;gap:6px}
.ss-tp-end .ss-ib{width:30px;min-width:30px;height:30px}
.ss-views{display:inline-flex;border:1px solid var(--scrub-line);border-radius:var(--scrub-radius);overflow:hidden}
.ss-views button{min-height:30px;padding:0 10px;border:0;border-radius:0;background:var(--scrub-bg);color:var(--scrub-text-2);font-size:12.5px}
.ss-views button[aria-pressed="true"]{background:var(--scrub-text);color:var(--scrub-bg)}
.ss-strip{position:relative;flex:none;height:28px;margin:10px 12px 4px;border-radius:6px;background:var(--scrub-bg);box-shadow:inset 0 0 0 1px var(--scrub-line);overflow:hidden;cursor:pointer;touch-action:none}
.ss-blk{position:absolute;top:0;bottom:0;min-height:0;padding:0;border:0;border-right:1px solid var(--scrub-line);border-radius:0;background:transparent;color:var(--scrub-text-2);font:500 11px/28px var(--scrub-mono);overflow:hidden;cursor:pointer}
.ss-blk:hover{background:color-mix(in srgb,var(--scrub-text) 8%,transparent);color:var(--scrub-text)}
.ss-blk.on{background:var(--scrub-text);color:var(--scrub-bg)}
.ss-ph3{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:var(--scrub-text);pointer-events:none}
.ss-tl{position:relative;min-height:0;overflow-y:auto;padding:4px 12px 10px}
.ss-row{display:grid;grid-template-columns:136px minmax(0,1fr);align-items:center;min-height:28px}
.ss-lab{display:flex;align-items:center;gap:6px;min-width:0;padding-right:8px;font-size:12.5px;color:var(--scrub-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ss-track{position:relative;height:28px}
.ss-ruler{height:22px;cursor:pointer;touch-action:none}
.ss-ruler span{position:absolute;top:2px;padding-left:4px;border-left:1px solid var(--scrub-line);color:var(--scrub-text-2);font:11px/16px var(--scrub-mono);white-space:nowrap}
.ss-voice .ss-track{height:32px;overflow:hidden;cursor:pointer;touch-action:none}
.ss-wd{position:absolute;top:1px;padding:0 4px;border-left:1px solid var(--scrub-line);font-size:12px;line-height:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;color:var(--scrub-text)}
.ss-wd.r2{top:16px}
.ss-wd.est{color:var(--scrub-text-2);font-style:italic}
.ss-wd.lit{background:color-mix(in srgb,var(--scrub-accent) 16%,transparent);border-left-color:var(--scrub-accent)}
.ss-quietw{position:absolute;left:0;top:8px;white-space:nowrap}
.ss-lrow{border-top:1px solid var(--scrub-line);cursor:pointer}
.ss-lrow:hover{background:color-mix(in srgb,var(--scrub-text) 4%,transparent)}
.ss-lrow.on{background:color-mix(in srgb,var(--scrub-text) 6%,transparent)}
.ss-lrow.on .ss-lab{color:var(--scrub-text)}
.ss-span{position:absolute;top:9px;height:10px;border-radius:5px;opacity:.75}
.ss-kd{flex:none;width:8px;height:8px;border-radius:2px}
.ss-k-words{background:var(--scrub-tile-mail-ink)}
.ss-k-image{background:var(--scrub-tile-image-ink)}
.ss-k-card{background:var(--scrub-text-2)}
.ss-k-icon{background:var(--scrub-tile-data-ink)}
.ss-k-ground{background:var(--scrub-line)}
.ss-key{position:absolute;top:7px;width:14px;height:14px;min-height:0;margin-left:-7px;padding:0;border:1.5px solid var(--scrub-text);border-radius:2px;background:var(--scrub-text);transform:rotate(45deg);cursor:ew-resize;touch-action:none;z-index:1}
.ss-key.hollow{background:var(--scrub-surface)}
.ss-key-mark{top:9px;width:10px;height:10px;margin-left:-5px;border-color:var(--scrub-text-2);background:var(--scrub-text-2)}
.ss-key-mark.hollow{background:var(--scrub-surface)}
.ss-tip{position:absolute;top:-18px;transform:translateX(-50%);padding:1px 6px;border-radius:4px;background:var(--scrub-text);color:var(--scrub-bg);font-size:11.5px;white-space:nowrap;pointer-events:none;z-index:3}
.ss-head{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:var(--scrub-text);pointer-events:none;z-index:2}
.ss-head[hidden]{display:none}
.ss-empty{margin:8px 0 0}
.ss-hint{display:none}
.ss-pop{position:fixed;z-index:60;display:flex;flex-direction:column;gap:6px;max-width:min(340px,calc(100vw - 16px));padding:10px;border:0;border-radius:var(--scrub-r-float);background:var(--scrub-raised);box-shadow:var(--scrub-shadow-float)}
.ss-pop[hidden]{display:none}
.ss-ph{margin:0;font-size:12.5px;color:var(--scrub-text-2)}
.ss-pi{justify-content:flex-start;min-height:34px;padding:0 10px;text-align:left;font-size:13.5px;background:var(--scrub-bg);color:var(--scrub-text);border:1px solid var(--scrub-line)}
.ss-icons{display:grid;grid-template-columns:repeat(8,34px);gap:4px;max-height:244px;overflow-y:auto}
.ss-icons button{width:34px;height:34px;min-height:0;padding:0;display:inline-flex;align-items:center;justify-content:center;background:var(--scrub-bg);border:1px solid var(--scrub-line);color:var(--scrub-text)}
.ss-icons button[aria-pressed="true"]{border-color:var(--scrub-text);box-shadow:inset 0 0 0 1px var(--scrub-text)}
.ss-chips{display:flex;flex-wrap:wrap;gap:4px}
.ss-chips button{min-height:30px;padding:0 10px;font-size:12.5px;background:var(--scrub-bg);color:var(--scrub-text);border:1px solid var(--scrub-line)}
.ss-chips button[aria-pressed="true"]{border-color:var(--scrub-text);box-shadow:inset 0 0 0 1px var(--scrub-text)}
.ss-panel{display:flex;flex-direction:column;gap:14px}
.side .ss-panel{padding:4px 16px 16px;border-bottom:1px solid var(--scrub-line)}
.ss-panel:empty{display:none}
.ss-ph2{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.ss-pf{display:flex;flex-direction:column;gap:6px}
.ss-pf>.flabel,.ss-pf p.small{margin:0}
.ss-pf select,.ss-pf input[type=text]{max-width:none;width:100%;box-sizing:border-box}
.ss-pf textarea{width:100%;max-width:none;box-sizing:border-box;min-height:56px;font-family:var(--scrub-sans)}
.ss-sw{display:flex;gap:8px}
.ss-sw button{width:30px;height:30px;min-height:0;padding:0;border-radius:50%;border:1px solid var(--scrub-line)}
.ss-sw button[aria-pressed="true"]{outline:2px solid var(--scrub-text);outline-offset:2px}
.ss-chk{display:flex;align-items:center;gap:8px;font-size:13.5px}
.ss-lines{display:flex;flex-direction:column;gap:10px}
.ss-line{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding-bottom:10px;border-bottom:1px solid var(--scrub-line-2)}
.ss-line audio{width:100%;height:32px}
.ss-lnote:empty{display:none}
.ss-heard{margin:0;font-size:13.5px}
.ss-row2{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ss-quiet{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ss-quiet input{width:68px}
.ss-themes{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.ss-themes button{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:0;padding:8px 10px;background:var(--scrub-bg);color:var(--scrub-text);border:1px solid var(--scrub-line);font-size:13px}
.ss-themes button[aria-pressed="true"]{border-color:var(--scrub-text);box-shadow:inset 0 0 0 1px var(--scrub-text)}
.ss-pal{display:flex;gap:3px}
.ss-pal i{width:14px;height:14px;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(20,20,25,.14)}
.ss-pf2{display:flex;flex-direction:column;gap:4px}
.ss-danger{align-self:flex-start;color:var(--scrub-err)}
.ss-rec{color:var(--scrub-err)}
/* From 861 px the studio fills the work, as the video builder does (F-76):
   its slides a column of the page, Run at the top right, nothing scrolls. */
@media (min-width:861px){
  .workpage>.ws>.ss-rail{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--scrub-bg);border-right:1px solid var(--scrub-line)}
  .workpage>.ws.ss-with-rail{--media:184px;--cfg:344px;grid-template-rows:minmax(0,1fr) clamp(220px,36%,440px)}
  /* The timeline under the slides and the slide, as the prototype has it;
     Configuration and Job history keep the page's whole height (founder, 2 Nov). */
  .workpage>.ws.ss-with-rail>.ss-rail{grid-column:1;grid-row:1}
  .workpage>.ws.ss-with-rail>.work{grid-column:2;grid-row:1}
  .workpage>.ws.ss-with-rail>.ss-time{grid-column:1/3;grid-row:2;border:0;border-top:1px solid var(--scrub-line);border-right:1px solid var(--scrub-line);border-radius:0}
  .workpage>.ws.ss-with-rail>.side{grid-column:3;grid-row:1/3}
  .workpage>.ws.ss-with-rail>.jh{grid-column:4;grid-row:1/3}
  .workpage .work[data-open="in"]:has(.ss-work:not([hidden])){overflow:hidden;position:relative;padding-bottom:14px}
  .work[data-open="in"]:has(.ss-work:not([hidden]))>.io-in,.work[data-open="in"]:has(.ss-work:not([hidden]))>.io-in>.io,.work[data-open="in"] .io-v:has(>.ss>.ss-work:not([hidden])),.work[data-open="in"] .ss:has(>.ss-work:not([hidden])){flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
  .work[data-open="in"]:has(.ss-work:not([hidden]))>.io-in>.io>.io-h{display:none}
  .work[data-open="in"]:has(.ss-work:not([hidden]))>.runbar{position:absolute;top:13px;right:24px;max-width:calc(100% - 250px);padding:0;border:0;background:none;gap:12px;flex-wrap:nowrap;z-index:6}
  .work[data-open="in"]:has(.ss-work:not([hidden]))>.runbar>button,.work[data-open="in"]:has(.ss-work:not([hidden]))>.runbar>.run-credit{min-height:36px;padding:0 16px;font-size:14px}
  .work[data-open="in"]:has(.ss-work:not([hidden]))>.runbar .price-line{min-width:0;font-size:13.5px;gap:10px}
  .work[data-open="in"]:has(.ss-work:not([hidden]))>.runbar .price-line .what{white-space:nowrap}
  .work[data-open="in"] .ss-work:not([hidden]){flex:1 1 auto;min-height:0;display:grid;grid-template-rows:minmax(0,1fr);gap:12px}
  .work[data-open="in"] .ss-work>.ss-main{min-height:0}
  .work[data-open="in"] .ss-work .ss-desk{flex:1 1 auto}
  .work[data-open="in"] .ss-work>.ss-panel-home{display:none}
}
.work:has(.ss-work:not([hidden]))>.runbar .run-pick,.work:has(.ss-work:not([hidden]))>.runbar .run-from{display:none}
/* Up to 860 px: the slides a row along the top, the settings under the slide. */
@media (max-width:860px){
  .ss-list{flex-direction:row;align-items:center;gap:2px;padding:4px 0 8px;overflow-x:auto}
  .ss-th{flex:none;width:136px}
  .ss-ins{flex:none;width:14px;height:auto;align-self:stretch}
  .ss-part{display:none}
  .ss-rh{padding:0}
  .ss-desk{padding:6px}
}
/* A phone plays, reviews, retypes and makes; building is for a wider screen. */
@media (max-width:767px){
  .ss-bar,.ss-layers,.ss-hint,.ss-ins,.ss-rh .ss-new,.ss-tp-end [data-zoom],.ss-tp-end .tl-tp-sep{display:none}
  .ss-row{grid-template-columns:56px minmax(0,1fr)}
  .ss-th{width:112px}
  .ss-transport{gap:8px}
  .ss-views button{padding:0 8px}
}
.io:has(>.io-v .ss-start:not([hidden]) .tl-from-card)>.io-h{display:none}
/* The rail names it: Slides is said once. */
.io:has(>.io-v .ss-work:not([hidden]))>.io-h{display:none}
.ss-start .tl-go>button{max-width:100%;white-space:normal;text-align:center}
/* ── The pieces board (SCR-686) ── */
/* SCR-686: the pieces board. Moves into ui.ts (UI_CSS) once approved. */
.ws.shell.pieces .ws.shell .work{display:flex;flex-direction:column;gap:12px;min-height:0;overflow:hidden}
.ws.shell.pieces .pb-stage{display:flex;flex-direction:column;gap:12px;min-height:0;flex:1 1 0;overflow:visible}
.ws.shell.pieces .pb-source .tb-text input.tl-tnum{max-width:260px;flex:none}

/* The source: the video as a strip, its settings on the Bar beside it. */
.pb-source{display:flex;align-items:center;gap:12px;min-width:0;padding:8px 8px 8px 8px;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);flex:none}
.pb-source .tb-text input{field-sizing:content;min-width:60px;max-width:240px}
.pb-whole>.pb-idea,.pb-whole .pb-cell{margin-top:12px}
.pb-source>.tl-tbar{position:static;transform:none;margin:0 0 0 auto;flex:0 1 auto;min-width:0;max-width:100%;overflow-x:auto;flex-wrap:nowrap;white-space:nowrap;background:none;box-shadow:none;border:0;padding:0;scrollbar-width:none}
.pb-source>.tl-tbar>*{flex:none}


/* The question before reading, on the empty ground. */
.pb-ask{flex:1 1 auto;min-height:0;display:grid;place-items:center;padding:24px;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);overflow:auto}
.pb-ask>*{width:100%;max-width:560px}

/* The board: what the video holds down the side, a lane per kind across. */
.pb-board{flex:1 1 auto;min-height:0;overflow:auto;padding:0 12px 12px;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);display:grid;grid-template-columns:minmax(220px,260px) repeat(var(--lanes),minmax(180px,1fr)) auto;gap:8px;align-content:start}
.pb-hrow,.pb-row,.pb-whole-cells{display:contents}
.pb-corner,.pb-lane-h{position:sticky;top:0;z-index:3;background:var(--scrub-surface);padding:14px 4px 8px}
.pb-corner{left:0;z-index:4;display:flex;flex-direction:column;gap:2px}
.pb-corner .small{color:var(--scrub-text-2)}
.pb-lane-h{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.pb-lane-n{font:600 14px/1.3 var(--scrub-sans);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pb-count{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px 0 12px;border:0;border-radius:var(--scrub-r-pill);background:var(--scrub-surface-2);color:var(--scrub-text);font:600 13px/1 var(--scrub-mono);cursor:pointer}
.pb-count .chev{width:7px;height:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg);opacity:.7}
.pb-more{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.pb-lane-h.pb-more{justify-content:flex-start;flex-direction:row;flex-wrap:wrap}
.pb-addkind{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.pb-addkind svg{width:14px;height:14px}

/* An idea: its number, its name, its one line, the moment it starts. */
.pb-idea{grid-column:1;position:sticky;left:0;z-index:2;background:var(--scrub-surface);display:flex;gap:12px;padding:12px 8px 12px 4px;min-width:0}
.pb-idea b{display:block;font:600 14px/1.35 var(--scrub-sans)}
.pb-idea p{margin:4px 0 8px;color:var(--scrub-text-2)}
.pb-n{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--scrub-surface-2);font:600 12px/1 var(--scrub-mono)}
.pb-whole .pb-n{font:600 11px/1 var(--scrub-sans)}
.pb-whole>.pb-idea{border-bottom:0}
.pb-row:not(.pb-hrow)+.pb-row>.pb-idea,.pb-whole+.pb-row>.pb-idea{box-shadow:0 -1px 0 var(--scrub-divide)}
.pb-idea-wait i{display:block;height:10px;border-radius:5px;background:var(--scrub-surface-2);margin:6px 0;width:180px}
.pb-idea-wait i+i{width:120px}

/* The moment a piece or an idea comes from: pressing it plays the video there. */
.pb-at{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 10px;border:0;border-radius:var(--scrub-r-pill);background:var(--scrub-surface-2);color:var(--scrub-text);font:500 12.5px/1 var(--scrub-sans);cursor:pointer}
.pb-at .scrub-num{font-size:12.5px}
.pb-cell .pb-at{background:var(--scrub-surface)}

/* A cell: a piece in one of its states. */
.pb-cell{position:relative;min-width:0;min-height:148px;padding:12px;border-radius:var(--scrub-r-block);display:flex;flex-direction:column;gap:6px;text-align:left;font:inherit;color:inherit}
.pb-k{font:500 12.5px/1.3 var(--scrub-sans);color:var(--scrub-text-2)}
.pb-row:not(.pb-whole) .pb-k{display:none}
.pb-none{min-height:0;padding:0}
.pb-empty{display:grid;place-items:center;align-content:center;gap:6px;border:1px dashed var(--scrub-line-2);background:none;color:var(--scrub-text-2);cursor:pointer}
.pb-empty .pb-add{display:none;font-size:12.5px}
.pb-empty:hover,.pb-empty:focus-visible{border-color:var(--scrub-line);color:var(--scrub-text)}
.pb-empty:hover .pb-add,.pb-empty:focus-visible .pb-add{display:block}
.pb-planned{background:var(--scrub-surface-2);box-shadow:inset 0 0 0 2px var(--scrub-text)}
.pb-planned.off{box-shadow:none;background:none;border:1px dashed var(--scrub-line-2)}
.pb-planned.off .pb-angle{color:var(--scrub-text-2);text-decoration:line-through}
.pb-angle{margin:0;font:500 14px/1.4 var(--scrub-sans);padding-right:32px}
.pb-pick{position:absolute;top:10px;right:10px;width:26px;height:26px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:var(--scrub-inv);color:var(--scrub-on-inv);cursor:pointer}
.pb-pick[aria-pressed="false"]{background:none;box-shadow:inset 0 0 0 1.5px var(--scrub-line);color:transparent}
.pb-waiting{background:var(--scrub-surface-2);opacity:.55}
.pb-writing{background:var(--scrub-surface-2)}
.pb-state{margin-top:auto;color:var(--scrub-text-2)}
.pb-lines{display:flex;flex-direction:column;gap:6px;margin-top:4px}
.pb-lines i,.pb-finding i{display:block;height:8px;border-radius:4px;background:linear-gradient(90deg,var(--scrub-line-2) 0%,var(--scrub-divide) 40%,var(--scrub-line-2) 80%);background-size:200% 100%;animation:pb-shimmer 1.4s linear infinite}
.pb-lines i:nth-child(2){width:86%}.pb-lines i:nth-child(3){width:62%}
.pb-finding{background:var(--scrub-surface-2);justify-content:center}
.pb-finding i{width:70%}.pb-finding i+i{width:45%}
@keyframes pb-shimmer{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.pb-lines i,.pb-finding i{animation:none}}
.pb-unwritten{border:1px dashed var(--scrub-line-2);background:none}
.pb-unwritten .pb-angle{color:var(--scrub-text-2)}
.pb-piece{background:var(--scrub-surface-2);cursor:pointer}
.pb-piece:hover{box-shadow:inset 0 0 0 1px var(--scrub-line)}
.pb-piece.open{box-shadow:inset 0 0 0 2px var(--scrub-text)}
.pb-piece:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.pb-piece h3{margin:0;font:600 14px/1.35 var(--scrub-sans);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pb-open{margin:0;font-size:12.5px;line-height:1.45;color:var(--scrub-text-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pb-foot{margin-top:auto;padding-top:4px;display:flex;align-items:center;gap:8px;min-width:0}
.pb-made{color:var(--scrub-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.pb-copy{margin-left:auto;display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 8px;border:0;border-radius:var(--scrub-r-pill);background:none;color:var(--scrub-text-2);font:600 12.5px/1 var(--scrub-sans);cursor:pointer}
.pb-copy:hover{color:var(--scrub-text);background:var(--scrub-surface)}
.pb-copy span{display:none}

/* Choose myself: a lane per kind, its count on it, a slot for each piece. */
.pb-lanes{grid-template-columns:repeat(4,minmax(196px,1fr)) minmax(170px,auto);padding:0 12px 12px}
.pb-lane{display:flex;flex-direction:column;gap:8px;min-width:0}
.pb-lane>.pb-lane-h{position:sticky}
.pb-lane.pb-more{padding-top:14px}
.pb-slot{min-height:96px;border:1px dashed var(--scrub-line-2);background:none;justify-content:space-between}
.pb-slot .pb-k,.pb-lanes .pb-k{display:block}
.pb-slot .small{color:var(--scrub-text-2)}
.pb-step{display:inline-flex;align-items:center;border-radius:var(--scrub-r-pill);background:var(--scrub-surface-2)}
.pb-step button{width:32px;height:32px;padding:0;border:0;border-radius:50%;background:none;color:var(--scrub-text);font:500 16px/1 var(--scrub-sans);cursor:pointer}
.pb-step button:hover{background:var(--scrub-divide)}
.pb-step b{min-width:34px;text-align:center;font-size:13px}

/* The piece opened in place: the side from 861 px, a sheet below. */
.pb-reader{display:flex;flex-direction:column;gap:14px;padding:16px 24px 24px;overflow-y:auto;min-height:0}
.pb-r-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pb-r-head .pb-k{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pb-x{flex:none;width:36px;height:36px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:var(--scrub-surface);color:var(--scrub-text);cursor:pointer}
.pb-r-play{position:relative;padding:0;border:0;border-radius:var(--scrub-r-block);overflow:hidden;aspect-ratio:16/9;background:var(--scrub-media);cursor:pointer;flex:none}
.pb-r-play img{width:100%;height:100%;object-fit:cover;display:block}
.pb-r-at{position:absolute;left:10px;bottom:10px;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:var(--scrub-r-pill);background:color-mix(in srgb,var(--scrub-media) 72%,transparent);color:var(--scrub-on-media);font:600 13px/1 var(--scrub-sans)}
.pb-r-at .scrub-num{font-size:13px}
.pb-reader h2{margin:0;font:500 20px/1.3 var(--scrub-sans);letter-spacing:-.01em}
.pb-r-text p{margin:0 0 10px;font-size:15px;line-height:1.55}
.pb-r-acts{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pb-r-acts .secondary{display:inline-flex;align-items:center;gap:6px}
.pb-r-n{margin-left:auto;color:var(--scrub-text-2)}
.pb-r-next,.pb-r-made{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid var(--scrub-line-2)}
.pb-next{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:0 16px;border-radius:var(--scrub-r-pill);background:var(--scrub-surface);color:var(--scrub-text);font:600 14px/1.2 var(--scrub-sans);text-decoration:none}
.pb-next:hover{background:var(--scrub-surface-2)}
.pb-made-row{display:flex;align-items:center;gap:12px}
.pb-made-row b{font:600 14px/1.3 var(--scrub-sans)}
.pb-made-row p{margin:2px 0 0;color:var(--scrub-text-2)}
.pb-made-sq{flex:none;width:56px;height:56px;border-radius:10px;background:var(--scrub-surface);display:flex;align-items:center;justify-content:center;gap:4px}
.pb-made-sq i{width:5px;height:5px;border-radius:50%;background:var(--scrub-text-2);animation:pb-dot 1.2s ease-in-out infinite}
.pb-made-sq i:nth-child(2){animation-delay:.15s}.pb-made-sq i:nth-child(3){animation-delay:.3s}
@keyframes pb-dot{50%{opacity:.25}}
@media (prefers-reduced-motion:reduce){.pb-made-sq i{animation:none}}
.pb-failed{color:var(--scrub-text-2)}

@media (max-width:860px){
  .pb-reader{position:fixed;left:0;right:0;bottom:0;top:96px;z-index:60;background:var(--scrub-raised);border-radius:var(--scrub-r-sheet) var(--scrub-r-sheet) 0 0;box-shadow:var(--scrub-shadow-float);border:0;padding:16px 20px 24px}
  .pb-source>.tl-tbar{margin-left:0;flex-basis:100%}
  .pb-source{flex-wrap:wrap}
}
@media (max-width:860px){
  .workpage:has(>.ws.shell.pieces){height:calc(100dvh - 61px);display:flex;flex-direction:column;overflow:hidden;padding-bottom:0}
  .workpage>.ws.shell.pieces{flex:1 1 0;min-height:0;display:flex;flex-direction:column}
  .ws.shell.pieces .io-in.pb-stage{flex:1 1 0;min-height:0}
  .ws.shell.pieces #work{flex:1 1 0;min-height:0}
  .ws.shell.pieces #runbar{position:static;flex:none}
  .ws.shell.pieces .toolhead{flex:none}
  .pb-source>.tl-tbar{flex-wrap:nowrap;overflow-x:auto;background:none;box-shadow:none;padding:0;border:0;gap:4px;justify-content:flex-start;white-space:nowrap;scrollbar-width:none}
  .pb-source>.tl-tbar>*{flex:none}
}
@media (max-width:640px){
  .pb-source{padding:8px;gap:10px}
  .pb-board{display:flex;flex-direction:column;padding:0 12px 12px}
  .pb-hrow{order:-1;flex:none;display:flex;gap:8px;overflow-x:auto;position:sticky;top:0;z-index:3;background:var(--scrub-surface);padding:12px 0 8px;margin:0 -12px;padding-left:12px;padding-right:12px}
  .pb-corner{display:none}
  .pb-lane-h{position:static;flex:none;padding:0 4px 0 12px;min-height:40px;border-radius:var(--scrub-r-pill);background:var(--scrub-surface-2)}
  .pb-lane-h .pb-count{background:var(--scrub-surface);min-height:30px}
  .pb-lane-h.pb-more{background:none;padding:0;flex-wrap:nowrap}
  .pb-row{flex:none;display:flex;flex-direction:column;gap:8px;padding:12px 0;border-top:1px solid var(--scrub-divide)}
  .pb-row>.pb-idea{position:static;box-shadow:none!important;padding:0}
  .pb-whole-cells{display:flex;flex-direction:column;gap:8px}
  .pb-empty,.pb-none{display:none}
  .pb-row:not(.pb-whole) .pb-k{display:block}
  .pb-cell{min-height:0}
  .pb-row-wait{display:none}
  .pb-lanes{display:flex;flex-direction:column;gap:16px;padding:12px}
  .pb-lane>.pb-lane-h{padding:0 4px 0 12px}
  .pb-lane.pb-more{flex-direction:row;flex-wrap:wrap;padding-top:0}
  .pb-reader{top:56px;padding:16px}
}

.pb-ask .qrun{display:none}

@media (max-width:860px){.ws.shell.pieces .ws.shell aside.pb-reader{padding:16px 20px 24px;gap:14px}.ws.shell.pieces .pb-r-play{max-height:200px;aspect-ratio:auto;height:200px}}
@media (max-width:640px){.ws.shell.pieces .ws.shell aside.pb-reader{padding:16px}.ws.shell.pieces .pb-r-play{height:180px}}

.ws.shell.pieces .pb-lanes{grid-template-columns:repeat(4,minmax(220px,1fr)) minmax(170px,auto)}
.ws.shell.pieces .pb-slot{border:0;background:var(--scrub-surface-2);min-height:72px}
.ws.shell.pieces .pb-slot .pb-k{display:none}
.ws.shell.pieces .pb-slot .small{font-size:13px}

.ws.shell.pieces .pb-unwritten{border-color:var(--scrub-line)}


/* He could not scroll (10 Nov): the kit's work area held the stage at its full height. */
.ws.shell.pieces #work > .io-in.pb-stage{flex:1 1 0;min-height:0}
.workpage:has(>.ws.shell.pieces) .pb-board{min-height:0}

/* A lane's head: the kind, then how many and how long. */
.pb-hrow .pb-lane-h[data-lane]{flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:6px}
.pb-lane-set{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.pb-len{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px 0 12px;border:0;border-radius:var(--scrub-r-pill);background:var(--scrub-surface-2);color:var(--scrub-text);font:500 12.5px/1 var(--scrub-sans);white-space:nowrap;cursor:pointer}
.pb-len .scrub-num{font-size:12.5px}
.pb-len .chev{width:7px;height:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg);opacity:.7}
.pb-planned .pb-k{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-right:32px}
.pb-planned .pb-k .pb-len{min-height:26px;background:var(--scrub-surface)}
.pb-lanes .pb-lane-h{flex-direction:column;align-items:flex-start;gap:6px}
.pb-size{color:var(--scrub-text-2);white-space:nowrap}
.pb-size .scrub-num{font-size:12.5px}
.pb-count:hover,.pb-len:hover{background:var(--scrub-divide)}
.pb-count[aria-expanded="true"],.pb-len[aria-expanded="true"]{box-shadow:inset 0 0 0 2px var(--scrub-text)}

/* Menus and the toast, the kit's, placed by the page. */
.pb-menu{position:fixed;z-index:300;min-width:200px;max-height:60vh;overflow:auto}
.pb-menu[hidden]{display:block}
.pb-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:300}

@media (max-width:640px){
  .pb-hrow .pb-lane-h[data-lane]{flex-direction:row;align-items:center}
  .pb-lane-set .pb-len{background:var(--scrub-surface)}
}
.tl-menu.shell-menu.pb-menu{position:fixed;right:auto;bottom:auto;z-index:300}
.pb-menu .shell-mlabel{white-space:nowrap}

.ws.shell.pieces .pb-source{flex-wrap:wrap}
.ws.shell.pieces .pb-source>.tl-tbar{min-width:max-content}
@media (max-width:640px){.ws.shell.pieces .pb-source>.tl-tbar{min-width:0}}

.ws.shell.pieces .pb-lane-set{flex-wrap:nowrap}
.ws.shell.pieces .pb-board{grid-template-columns:minmax(220px,260px) repeat(var(--lanes),minmax(210px,1fr)) auto}
@media (max-width:640px){.ws.shell.pieces .pb-board{display:flex}}


/* -- Polish (founder, 10 Nov: icons per kind, lanes in shades of the Documents green, calmer, guided) -- */
/* The three steps: where the run is, readable without reading. */
.pb-steps{flex:none;display:flex;align-items:center;gap:16px;flex-wrap:wrap;min-width:0}
.pb-steps ol{display:flex;align-items:center;gap:6px;margin:0;padding:0;list-style:none;flex-wrap:wrap}
.pb-steps li{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:0 14px 0 6px;border-radius:var(--scrub-r-pill);color:var(--scrub-text-2);font:500 13px/1 var(--scrub-sans)}
.pb-steps li+li::before{content:"";width:18px;height:1px;background:var(--scrub-line);margin:0 4px 0 -10px}
.pb-steps li i{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font:600 11px/1 var(--scrub-mono);font-style:normal;box-shadow:inset 0 0 0 1.5px var(--scrub-line)}
.pb-steps li.done{color:var(--scrub-text)}
.pb-steps li.done i{background:var(--scrub-block-document);color:var(--scrub-on-block);box-shadow:none}
.pb-steps li.now{background:var(--scrub-surface);color:var(--scrub-text);font-weight:600}
.pb-steps li.now i{background:var(--scrub-inv);color:var(--scrub-on-inv);box-shadow:none}
.pb-whyd{position:relative;font-size:13px}
.pb-whyd summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border-radius:var(--scrub-r-pill);color:var(--scrub-text-2);font-weight:500}
.pb-whyd summary::-webkit-details-marker{display:none}
.pb-whyd summary::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.pb-whyd summary:hover{color:var(--scrub-text);background:var(--scrub-surface)}
.pb-whyd p{position:absolute;z-index:40;top:calc(100% + 6px);left:0;width:min(460px,80vw);margin:0;padding:14px 16px;border-radius:var(--scrub-r-float);background:var(--scrub-raised);box-shadow:var(--scrub-shadow-float);color:var(--scrub-text);font-size:14px;line-height:1.5}

/* A kind's tile: its icon in the Documents green ring, as every tile wears its kind. */
.pb-tile{flex:none;display:inline-grid;place-items:center;width:26px;height:26px;border-radius:8px;color:var(--scrub-icon-document);box-shadow:inset 0 0 0 1.5px var(--scrub-icon-document)}
.pb-tile svg{width:15px;height:15px}
.pb-k{display:inline-flex;align-items:center;gap:8px}
.pb-k .pb-tile{width:22px;height:22px;border-radius:7px}
.pb-k .pb-tile svg{width:13px;height:13px}
.pb-lane-t{display:inline-flex;align-items:center;gap:10px;min-width:0}
.pb-lane-n{font:600 15px/1.3 var(--scrub-sans)}
.pb-n-all{color:var(--scrub-icon-document);box-shadow:inset 0 0 0 1.5px var(--scrub-icon-document);background:none}
.pb-n:not(.pb-n-all){background:var(--scrub-block-document);color:var(--scrub-on-block)}

/* Lanes: a band down the board in two shades of the green, so a column reads as one kind. */
.pb-board{--band-a:color-mix(in srgb,var(--scrub-tile-document) 70%,transparent);--band-b:color-mix(in srgb,var(--scrub-tile-document) 38%,transparent);column-gap:22px;row-gap:12px;padding:4px 18px 18px}
.pb-row:not(.pb-whole)>.pb-cell:nth-child(even):not(:last-child),.pb-hrow>.pb-lane-h[data-lane]:nth-child(even),.pb-whole-cells>.pb-cell:nth-child(odd):not(:last-child){--band:var(--band-a)}
.pb-row:not(.pb-whole)>.pb-cell:nth-child(odd):not(:last-child),.pb-hrow>.pb-lane-h[data-lane]:nth-child(odd),.pb-whole-cells>.pb-cell:nth-child(even):not(:last-child){--band:var(--band-b)}
.pb-board .pb-cell,.pb-board .pb-lane-h[data-lane]{box-shadow:var(--inner,0 0 0 0 transparent),0 0 0 7px var(--band,transparent)}
.pb-board .pb-lane-h[data-lane]{background:linear-gradient(var(--band,transparent),var(--band,transparent)),var(--scrub-surface);border-radius:var(--scrub-r-block) var(--scrub-r-block) 0 0;padding:14px 8px 10px;margin-top:10px}
.pb-board .pb-whole .pb-cell{margin-top:18px}
.pb-board .pb-none{background:var(--band,transparent)}
.pb-board .pb-row:last-child>.pb-cell{border-radius:var(--scrub-r-block)}

/* Calmer cards: a card is the panel's own fill on its band; no ring until it is chosen or pointed at. */
.pb-board .pb-planned,.pb-board .pb-piece,.pb-board .pb-writing,.pb-board .pb-waiting,.pb-board .pb-finding{background:var(--scrub-surface)}
.pb-board .pb-planned{--inner:0 0 0 0 transparent}
.pb-board .pb-planned .pb-angle{font-weight:500}
.pb-pick{background:var(--scrub-block-document);color:var(--scrub-on-block);transition:transform .15s var(--scrub-ease),background .15s}
.pb-pick:active{transform:scale(.9)}
.pb-board .pb-planned.off{background:none;border:1.5px dashed var(--scrub-line)}
.pb-board .pb-planned.off .pb-pick{background:none;box-shadow:inset 0 0 0 1.5px var(--scrub-line)}
.pb-board .pb-empty{border:1.5px dashed color-mix(in srgb,var(--scrub-icon-document) 35%,transparent);min-height:96px}
.pb-board .pb-empty:hover{border-color:var(--scrub-icon-document);color:var(--scrub-text);background:color-mix(in srgb,var(--scrub-surface) 60%,transparent)}
.pb-board .pb-piece:hover{--inner:inset 0 0 0 1.5px var(--scrub-line)}
.pb-board .pb-piece.open{--inner:inset 0 0 0 2px var(--scrub-text)}
.pb-board .pb-unwritten{background:none}
.pb-new{animation:pb-in .22s var(--scrub-ease)}
@keyframes pb-in{from{opacity:0;transform:scale(.97)}}
.pb-piece{animation:pb-in .25s var(--scrub-ease) backwards}
@media (prefers-reduced-motion:reduce){.pb-new,.pb-piece{animation:none}.pb-pick{transition:none}}

/* The idea and the lane a pointed-at cell belongs to light up. */
.pb-board .pb-idea{border-radius:var(--scrub-r-block);transition:background .15s}
.pb-board .pb-idea.hot{background:var(--scrub-surface-2)}
.pb-board .pb-idea.hot b{text-decoration:underline;text-decoration-color:var(--scrub-icon-document);text-decoration-thickness:2px;text-underline-offset:4px}
.pb-board .pb-lane-h.hot .pb-lane-n{text-decoration:underline;text-decoration-color:var(--scrub-icon-document);text-decoration-thickness:2px;text-underline-offset:4px}

@media (max-width:640px){
  .pb-steps li span{display:none}
  .pb-steps li.now span{display:inline}
  .pb-steps li+li::before{width:10px}
  .pb-board .pb-cell,.pb-board .pb-lane-h[data-lane]{box-shadow:var(--inner,0 0 0 0 transparent)}
  .pb-board .pb-lane-h[data-lane]{margin-top:0;border-radius:var(--scrub-r-pill);background:var(--scrub-surface-2)}
  .pb-board .pb-whole .pb-cell{margin-top:0}
  .pb-board .pb-planned,.pb-board .pb-piece{background:color-mix(in srgb,var(--scrub-tile-document) 45%,var(--scrub-surface))}
}
/* The whole video's row sits above the lanes, on its own: its pieces are not of a lane's kind. */
.pb-board .pb-whole .pb-cell{--band:transparent}
.pb-board .pb-whole .pb-none{background:none}
.pb-board .pb-whole .pb-empty{border-color:var(--scrub-line)}
/* A chosen or written card stands up from its band; an empty place stays flat. */
.pb-board .pb-planned:not(.off),.pb-board .pb-piece,.pb-board .pb-writing{background:var(--scrub-surface-2)}
.pb-board .pb-whole .pb-planned:not(.off),.pb-board .pb-whole .pb-piece,.pb-board .pb-whole .pb-writing,.pb-board .pb-whole .pb-waiting{background:color-mix(in srgb,var(--scrub-tile-document) 55%,var(--scrub-surface))}
/* An empty place is the band itself, so the lane reads as one strip. */
.pb-board .pb-row:not(.pb-whole)>.pb-empty,.pb-board .pb-row:not(.pb-whole)>.pb-planned.off,.pb-board .pb-row:not(.pb-whole)>.pb-unwritten,.pb-board .pb-row:not(.pb-whole)>.pb-none:not(:last-child){background:var(--band,transparent)}
.pb-board .pb-whole-cells>.pb-cell{box-shadow:var(--inner,0 0 0 0 transparent)}
.pb-board .pb-whole-cells>.pb-none{background:none}
@media (max-width:640px){.pb-steps li:last-child span{display:inline}.pb-steps li.now~li:last-child span{display:none}}


/* -- Lanes as whole strips (founder, 10 Nov: "columns stretch further down, not cut; add margins") -- */
.workpage:has(>.ws.shell.pieces) .pb-board{column-gap:14px;row-gap:10px;padding:4px 16px 16px}
.pb-band{z-index:0;border-radius:18px;background:var(--band-a);pointer-events:none}
.pb-band-b{background:var(--band-b)}
.pb-board .pb-cell,.pb-board .pb-lane-h[data-lane]{box-shadow:var(--inner,0 0 0 0 transparent);position:relative;z-index:1}
.pb-board .pb-hrow .pb-lane-h[data-lane]{position:sticky;top:0;z-index:3;margin:0;padding:16px 18px 10px;border-radius:18px 18px 0 0;background:linear-gradient(var(--band,transparent),var(--band,transparent)),var(--scrub-surface)}
.pb-board .pb-row:not(.pb-whole)>.pb-cell:not(:last-child){margin:0 10px}
.pb-board .pb-row:last-child>.pb-cell:not(:last-child){margin-bottom:10px}
.pb-board .pb-row:not(.pb-whole)>.pb-empty,.pb-board .pb-row:not(.pb-whole)>.pb-planned.off,.pb-board .pb-row:not(.pb-whole)>.pb-unwritten,.pb-board .pb-row:not(.pb-whole)>.pb-none{background:none}
.pb-board .pb-row:not(.pb-whole)>.pb-empty{border-color:color-mix(in srgb,var(--scrub-icon-document) 45%,transparent)}
.pb-board .pb-whole .pb-cell{margin-top:12px;margin-bottom:14px}
.pb-board .pb-hrow .pb-corner,.pb-board .pb-hrow .pb-more{align-self:start;padding-top:18px}
@media (max-width:640px){
  .pb-band{display:none}
  .pb-board .pb-row:not(.pb-whole)>.pb-cell:not(:last-child),.pb-board .pb-row:last-child>.pb-cell{margin:0}
  .pb-board .pb-hrow .pb-lane-h[data-lane]{position:static;padding:0 4px 0 12px;border-radius:var(--scrub-r-pill);background:var(--scrub-surface-2)}
  .pb-board .pb-whole .pb-cell{margin:0}
}

/* Every card answers the pointer (founder, 10 Nov): a ring and a step up in its fill. */
.pb-board .pb-cell{transition:background .12s,box-shadow .12s,border-color .12s}
.pb-board .pb-planned:not(.off):hover,.pb-board .pb-piece:hover,.pb-board .pb-writing:hover,.pb-board .pb-waiting:hover{--inner:inset 0 0 0 1.5px var(--scrub-text-2);background:color-mix(in srgb,var(--scrub-surface-2) 88%,var(--scrub-text))}
.pb-board .pb-planned.off:hover,.pb-board .pb-unwritten:hover{border-color:var(--scrub-text-2)}
.pb-board .pb-empty:hover{border-color:var(--scrub-icon-document);border-style:solid;background:color-mix(in srgb,var(--scrub-surface) 55%,transparent)}
.pb-board .pb-piece.open,.pb-board .pb-piece.open:hover{--inner:inset 0 0 0 2px var(--scrub-text)}
/* The lit idea: its whole cell, not only its words. */
.pb-board .pb-idea.hot{background:var(--scrub-surface-2);box-shadow:inset 3px 0 0 var(--scrub-icon-document)}
@media (prefers-reduced-motion:reduce){.pb-board .pb-cell{transition:none}}

/* A taken-out idea: crossed out, put back with its tick; no price, a real idea is behind it. */
.pb-board .pb-planned.off:hover{border-style:solid;border-color:var(--scrub-icon-document)}
.pb-board .pb-planned.off .pb-pick svg{opacity:0}
.pb-board .pb-planned.off .pb-pick::after{content:"+";position:absolute;font:500 16px/1 var(--scrub-sans);color:var(--scrub-text-2)}
.pb-board .pb-planned.off:hover .pb-pick{box-shadow:inset 0 0 0 1.5px var(--scrub-icon-document)}
.pb-board .pb-planned.off:hover .pb-pick::after{color:var(--scrub-text)}


/* Bug, 10 Nov: scrolled sideways, the pinned ideas column let the lanes show through its gaps and its head. */
.pb-board .pb-idea{z-index:5;background:var(--scrub-surface);box-shadow:0 -6px 0 var(--scrub-surface),0 6px 0 var(--scrub-surface),14px 0 0 var(--scrub-surface),14px -6px 0 var(--scrub-surface),14px 6px 0 var(--scrub-surface)}
.pb-board .pb-idea.hot{background:var(--scrub-surface-2);box-shadow:inset 3px 0 0 var(--scrub-icon-document),0 -6px 0 var(--scrub-surface),0 6px 0 var(--scrub-surface),14px 0 0 var(--scrub-surface),14px -6px 0 var(--scrub-surface),14px 6px 0 var(--scrub-surface)}
.pb-board .pb-hrow .pb-corner{position:sticky;left:0;top:0;z-index:6;align-self:stretch;background:var(--scrub-surface);box-shadow:14px 0 0 var(--scrub-surface),0 -6px 0 var(--scrub-surface)}
/* Bug, 10 Nov: a long title was squeezed under its opening; the title keeps its lines. */
.pb-board .pb-piece h3,.pb-board .pb-piece .pb-k,.pb-board .pb-piece .pb-foot{flex:none}
.pb-board .pb-piece .pb-open{flex:0 1 auto;min-height:0}
@media (max-width:640px){.pb-board .pb-idea,.pb-board .pb-idea.hot{box-shadow:none;z-index:auto}}
.pb-board [data-addkind][hidden]{display:none}
/* Scrolled sideways, the pinned ideas column shows its edge, so lanes read as sliding under it. */
.pb-board.pb-scrolled .pb-idea,.pb-board.pb-scrolled .pb-hrow .pb-corner{box-shadow:0 -6px 0 var(--scrub-surface),0 6px 0 var(--scrub-surface),14px 0 0 var(--scrub-surface),14px -6px 0 var(--scrub-surface),14px 6px 0 var(--scrub-surface),16px -6px 0 var(--scrub-line),16px 6px 0 var(--scrub-line),16px 0 0 var(--scrub-line)}
.pb-board.pb-scrolled .pb-idea.hot{box-shadow:inset 3px 0 0 var(--scrub-icon-document),0 -6px 0 var(--scrub-surface),0 6px 0 var(--scrub-surface),14px 0 0 var(--scrub-surface),14px -6px 0 var(--scrub-surface),14px 6px 0 var(--scrub-surface),16px -6px 0 var(--scrub-line),16px 6px 0 var(--scrub-line),16px 0 0 var(--scrub-line)}

/* An idea or a lane with nothing left to write dims; its controls stay usable (founder, 10 Nov). */
.pb-board .pb-row.pb-dim>.pb-idea>*{opacity:.4;transition:opacity .15s}
.pb-board .pb-row.pb-dim>.pb-idea.hot>*{opacity:.7}
.pb-band{transition:opacity .15s}
.pb-band.pb-dim{opacity:.35}
.pb-board .pb-lane-h.pb-dim .pb-lane-t{opacity:.4;transition:opacity .15s}
@media (prefers-reduced-motion:reduce){.pb-board .pb-row.pb-dim>.pb-idea>*,.pb-band,.pb-board .pb-lane-h.pb-dim .pb-lane-t{transition:none}}

/* Review (Gate 2): a card reached by Tab scrolls clear of the pinned ideas column (WCAG 2.4.11);
   nothing shows to the column's left. */
@media (min-width:641px){
  .pb-board:not(.pb-lanes){scroll-padding-left:292px}
  .pb-board .pb-idea,.pb-board .pb-hrow .pb-corner{box-shadow:-18px 0 0 var(--scrub-surface),0 -6px 0 var(--scrub-surface),0 6px 0 var(--scrub-surface),14px 0 0 var(--scrub-surface),14px -6px 0 var(--scrub-surface),14px 6px 0 var(--scrub-surface)}
}
/* Small words on a card hold 4.5:1 in both themes (WCAG 1.4.3); an empty place's outline 3:1 (1.4.11). */
.pb-board .pb-k,.pb-board .pb-open,.pb-board .pb-size,.pb-board .pb-copy,.pb-board .pb-state,.pb-board .pb-empty .pb-add,.pb-board .pb-empty{color:color-mix(in srgb,var(--scrub-text-2) 70%,var(--scrub-text))}
.pb-board .pb-row:not(.pb-whole)>.pb-empty,.pb-board .pb-whole .pb-empty,.pb-board .pb-planned.off,.pb-board .pb-unwritten{border-color:var(--scrub-text-2)}
/* Every control at least 44 px on a phone (DESIGN.md Screens). */
@media (max-width:640px){
  .pb-board .pb-pick{width:44px;height:44px;top:2px;right:2px}
  .pb-board .pb-at,.pb-board .pb-count,.pb-board .pb-len,.pb-board .pb-copy,.pb .pb-whyd summary{min-height:44px}
  .pb-board .pb-copy{min-width:44px;justify-content:center}
  .pb .pb-step button{width:44px;height:44px}
}
/* Choose myself: the lanes side by side, as many as fit, the rest scrolling. */
.ws.shell.pieces .pb-board.pb-lanes{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));align-items:start;gap:12px;padding:12px}
@media (max-width:640px){.ws.shell.pieces .pb-board.pb-lanes{display:flex;flex-direction:column}}
/* A board's page carries its second input (a transcription the plan made) without showing it. */
.ws.shell.pieces .shell-row{display:none}
/* …but another starting point (words typed, where a document is the other) is the person's to fill. */
.ws.shell.pieces .shell-row.pb-wayin{display:block;flex:none}
.ws.shell.pieces .shell-row.pb-wayin[hidden]{display:none}
/* With a second starting point under it, the empty drop zone is one short band, so the words and the board keep the screen. */
.ws.shell.pieces.ways .pb-source .drop:not(.has){border-style:solid;border-color:transparent}
.ws.shell.pieces.ways .pb-source .drop:not(.has)::before{display:none}
.ws.shell.pieces.ways .pb-source .drop:not(.has) .drop-empty{flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px 14px;min-height:0;padding:10px 14px;text-align:left}
.ws.shell.pieces.ways .pb-source .drop:not(.has) .drop-empty b{font-size:14px;font-weight:500}
.ws.shell.pieces.ways .pb-source .drop:not(.has) .drop-actions{justify-content:flex-start}
/* A phone: the offer reads as one line of words, its quiet price after its name, wrapping as words do. */
@media (max-width:640px){.ws.shell.pieces.ways .pb-source .drop:not(.has) .make-here{display:inline-block;text-align:left}}
.ws.shell.pieces.ways .shell-row.pb-wayin textarea{height:clamp(88px,18vh,180px);min-height:88px;max-height:30vh;width:100%;max-width:none;font:400 15px/1.45 var(--scrub-sans)}
/* The words box is named by its title; the material's own description is for AIs and Settings, not the board. */
.ws.shell.pieces.ways .shell-row.pb-wayin .hint{display:none}
@media (max-width:640px){.ws.shell.pieces.ways .shell-row.pb-wayin textarea{height:88px;min-height:64px;max-height:16vh}}
/* The real page (SCR-686): the video's own row is the strip; its player shows only to play a moment. */
.ws.shell.pieces .pb-source{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0;padding:8px;border-radius:var(--scrub-r-panel);background:var(--scrub-surface);flex:none}
.ws.shell.pieces .pb-source>.shell-stage{flex:1 1 320px;min-width:0;padding:0;background:none}
.ws.shell.pieces .pb-source .shell-stage>.view:not(.pb-playing){display:none}
.ws.shell.pieces .pb-source .shell-stage>.view.pb-playing{max-height:min(34vh,320px);border-radius:var(--scrub-r-block);overflow:hidden}
.ws.shell.pieces .pb-source .shell-stage>.view.pb-playing video{max-height:min(34vh,320px)}
.ws.shell.pieces .pb-source .shell-stage>.drop.has{margin-top:0}
.ws.shell.pieces .pb-source .shell-stage>.drop.has>.drop-file{background:none;padding:0}
.ws.shell.pieces .pb[hidden]{display:none}
.ws.shell.pieces .pb{display:flex;flex-direction:column;gap:12px;min-height:0;flex:1 1 0}
/* What it writes, every kind at once (SCR-767): the kit's Choice of several, each kind with its tile;
   Let Scrub decide opens the plan's card, with its steps, in their place. */
.ws.shell.pieces .pb-plan{display:flex;flex-direction:column;gap:12px;flex:1 1 auto;min-height:0}
.ws.shell.pieces .pb-plan[hidden],.ws.shell.pieces .pb-kinds[hidden],.ws.shell.pieces .pb-lanes[hidden]{display:none}
/* Before anything is read, the kinds and their lanes scroll as one under the material; on a phone or a
   narrow tablet the whole stage scrolls inside the page, so the words, the kinds and the lanes are all reached. */
.ws.shell.pieces .pb[data-state="before"]{overflow:auto}
.ws.shell.pieces .pb[data-state="before"]>.pb-lanes{flex:none;overflow:visible}
@media (max-width:860px){.ws.shell.pieces .io-in.pb-stage:has(>.pb[data-state="before"]){overflow:auto}.ws.shell.pieces .pb[data-state="before"]{flex:none;overflow:visible}}
.pb-kinds{flex:none;min-width:0}
.pb-kinds-q{margin:0 0 2px;font:600 15px/1.3 var(--scrub-sans)}
.choices.rows.pb-kinds-c{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px}
.choices.rows.pb-kinds-c .opt.drawn{gap:10px;padding:8px 36px 8px 10px}
.pb-kinds-c .opt b{white-space:normal;line-height:1.25}
/* A phone: two across, each kind's tile above its name (the Choice's Drawn), so no name wraps; the tick beside the tile. */
@media (max-width:640px){
  .choices.rows.pb-kinds-c{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .choices.rows.pb-kinds-c .opt.drawn{flex-direction:column;align-items:flex-start;gap:6px;padding:10px}
  .pb-kinds-c .opt b{font-size:13.5px;white-space:nowrap}
  .choices.rows.pb-kinds-c .opt:before,.choices.rows.pb-kinds-c input:checked+.opt:before{top:23px;margin-top:-7px}
  .choices.rows.pb-kinds-c input:checked+.opt:after{top:23px;margin-top:-5.5px}
}
.ws.shell.pieces .pb>[hidden]{display:none}
.pb-made-row{display:flex;align-items:center;gap:12px;color:var(--scrub-text);text-decoration:none}
/* Rooms (SCR-703): the column, a room's messages, who is here, naming someone, Share. */
.snav-n{margin-left:auto;font:600 10.5px/1 var(--scrub-mono);padding:3px 5px;border-radius:999px;background:var(--scrub-text);color:var(--scrub-bg)}
.nav-min .snav-item .snav-n{position:absolute;top:2px;right:2px;margin:0}
.snav-item{position:relative}
.rm-log{display:flex;flex-direction:column;gap:2px;padding-bottom:12px}
.rm{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr);gap:0 12px;padding:8px 12px;border-radius:var(--scrub-r-field);color:inherit;text-decoration:none}
.rm.cont{padding-top:2px;padding-bottom:2px}
.rm:hover{background:var(--scrub-surface)}
.rm.to-me{box-shadow:inset 2px 0 0 var(--scrub-text);border-radius:0 var(--scrub-r-field) var(--scrub-r-field) 0}
.rm:target{background:var(--scrub-surface-2)}
.rm .tr-head .clock{white-space:nowrap}
.rm-av{width:32px;height:32px;font-size:12px}
.rm-ai{border-radius:9px}
.rm-av.rm-ai:not(.rm-scrub){background:var(--scrub-surface);box-shadow:inset 0 0 0 1.5px var(--scrub-text-2)}
.rm-scrub{display:inline-flex;align-items:center;justify-content:center;flex:none;background:var(--scrub-text);color:var(--scrub-bg)}
.rm-scrub svg{width:15px;height:15px}
.rm-tag{font:600 10.5px/1 var(--scrub-mono);letter-spacing:.04em;padding:3px 5px;border-radius:5px;border:1px solid var(--scrub-line);color:var(--scrub-text-2);align-self:center}
.rm-b{min-width:0;display:flex;flex-direction:column;gap:8px}
.rm-h{margin:0;max-width:none;display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;line-height:1.3}
.rm-h time,.rm-for{font-size:12.5px;color:var(--scrub-text-2)}
.rm-h time{font-family:var(--scrub-mono)}
.rm-t{margin:0;overflow-wrap:anywhere}
.rm-t p{margin:0 0 4px;max-width:none}
.rm-t p:last-child{margin:0}
.rm-t ul,.rm-t ol{margin:2px 0 4px;padding-left:20px}
.rm-t li{margin:2px 0}
.rm-t code{font:500 .9em var(--scrub-mono);padding:1px 4px;border-radius:4px;background:var(--scrub-surface-2)}
.rm-t a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.rm-at{font-weight:600;border-radius:4px;padding:0 3px;background:var(--scrub-surface-2)}
.rm-at.me{background:var(--scrub-text);color:var(--scrub-bg)}
.rm-day{display:flex;align-items:center;gap:12px;margin:8px 10px;max-width:none;color:var(--scrub-text-2);font:var(--scrub-label);letter-spacing:.06em;text-transform:uppercase}
.rm-day::before,.rm-day::after{content:"";flex:1;border-top:1px solid var(--scrub-line-2)}
.rm .toolrun,.rm .offer{max-width:480px}
.rm-wait{color:var(--scrub-text-2)}
.rm-row .rm-hash,.rm-bar .rm-hash{color:var(--scrub-text-2);width:20px;display:inline-flex;justify-content:center;flex:none}
.rm-row .rm-av{width:20px;height:20px;font-size:9px}
.rm-row .rm-ai{border-radius:6px}
.rm-row.unread .t{font-weight:600}
.rm-row .t{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cmenu-chats .rm-row{display:flex;align-items:center;gap:8px}
.rm-badge{font:500 11.5px/1 var(--scrub-mono);padding:3px 6px;border-radius:999px;background:var(--scrub-surface-2);color:var(--scrub-text)}
.rm-badge.at{background:var(--scrub-text);color:var(--scrub-bg)}
.rm-g{display:flex;align-items:center;justify-content:space-between}
.rm-add{width:28px;min-width:28px;height:28px;box-sizing:border-box;padding:0;display:inline-flex;align-items:center;justify-content:center;margin:-6px -4px -6px 0}
.rm-add svg{flex:none;width:15px;height:15px}
.htitle .rm-menu summary{list-style:none;cursor:pointer}
.htitle .rm-menu .cmenu-l{text-align:left;font-weight:400}
.rm-bar .now{display:inline-flex;align-items:center;gap:2px}
.rm-ppl{margin-left:auto;position:relative}
.rm-ppl>summary{list-style:none;cursor:pointer}
.rm-ppl>summary::-webkit-details-marker{display:none}
.rm-stack{display:inline-flex;padding:4px 6px;min-height:44px;box-sizing:border-box;align-items:center;border-radius:var(--scrub-r-pill)}
.rm-stack:hover{background:var(--scrub-surface)}
.rm-stack .rm-av{width:26px;height:26px;font-size:10px;border:2px solid var(--scrub-bg);margin-left:-8px;box-sizing:border-box}
.rm-stack .rm-av:first-child{margin-left:0}
.rm-stack .rm-scrub svg{width:12px;height:12px}
.rm-who{position:absolute;right:0;top:calc(100% + 4px);width:min(300px,calc(100vw - 32px));background:var(--scrub-raised,var(--scrub-surface));border:1px solid var(--scrub-line-2);border-radius:var(--scrub-r-float,12px);box-shadow:var(--scrub-shadow-float);padding:8px;z-index:8;display:flex;flex-direction:column;gap:2px;text-align:left;font-weight:400}
.rm-who-g{margin:8px 8px 4px;font:var(--scrub-label);letter-spacing:.06em;text-transform:uppercase;color:var(--scrub-text-2)}
.rm-mem{display:flex;align-items:center;gap:10px;padding:6px 8px;min-height:40px}
.rm-mem .rm-av{width:28px;height:28px;font-size:10.5px}
.rm-mem>span:last-child{display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px;line-height:1.3}
.rm-mem .small{flex-basis:100%;color:var(--scrub-text-2)}
.rm-who-n{margin:8px;color:var(--scrub-text-2)}
.rm-who-x{align-self:flex-start;margin:0 4px 4px}
.rm-hint{color:var(--scrub-text-2)}
.composer .inner{position:relative}
.rm-atmenu{position:absolute;left:12px;bottom:calc(100% - 4px);width:min(340px,calc(100% - 24px));background:var(--scrub-raised,var(--scrub-surface));border:1px solid var(--scrub-line-2);border-radius:var(--scrub-r-float,12px);box-shadow:var(--scrub-shadow-float);padding:6px;z-index:6}
.rm-opt{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;min-height:44px;box-sizing:border-box;border-radius:var(--scrub-r-field);background:none;border:0;color:inherit;font:inherit;text-align:left;cursor:pointer}
.rm-opt[aria-selected=true]{background:var(--scrub-surface-2)}
.rm-opt .rm-av{width:28px;height:28px}
.rm-opt>span:last-child{display:flex;flex-direction:column;line-height:1.3}
.rm-opt b{display:inline-flex;align-items:center;gap:6px}
.rm-opt .small{color:var(--scrub-text-2)}
.rm-act .rm-t{color:var(--scrub-text-2)}
.rm-act.unread .rm-t{color:var(--scrub-text)}
.rm-dot{width:8px;height:8px;border-radius:999px;background:var(--scrub-text);margin-left:auto;align-self:center}
.rm-share{position:relative;display:inline-flex}
.rm-share>summary{list-style:none;display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:4px 8px;cursor:pointer;border-radius:var(--scrub-r-pill);font-size:13.5px}
.rm-share>summary::-webkit-details-marker{display:none}
.rm-share-m{position:absolute;right:0;top:calc(100% + 4px);min-width:220px;background:var(--scrub-raised,var(--scrub-surface));border:1px solid var(--scrub-line-2);border-radius:var(--scrub-r-float,12px);box-shadow:var(--scrub-shadow-float);padding:6px;z-index:6;display:flex;flex-direction:column}
.rm-share-h{padding:6px 10px 4px;font:var(--scrub-label);letter-spacing:.06em;text-transform:uppercase;color:var(--scrub-text-2)}
.rm-share-m button{justify-content:flex-start;gap:4px;min-height:40px;text-align:left;font-weight:400}
.rm-share-m .rm-hash{color:var(--scrub-text-2);width:18px}
.rm-empty{margin:24px 12px;color:var(--scrub-text-2)}
/* Rooms, a team's comforts (SCR-776): full width beside the menu and its column, as Slack's is. */
body.rooms main{max-width:none;margin:0;padding:0 12px var(--foot,170px)}
body.rooms .composer .inner,body.rooms .composer .hint{max-width:none}
body.rooms .composer{padding-left:24px;padding-right:24px}
.rm-gut{display:flex;justify-content:center;align-items:flex-start}
.rm-face{all:unset;display:inline-flex;cursor:pointer;border-radius:999px}
.rm-face .rm-ai{border-radius:9px}
.rm-gt{display:none;font:500 11px/22px var(--scrub-mono);color:var(--scrub-text-2);white-space:nowrap}
.rm.cont .rm-face,.rm.cont .rm-h{display:none}
.rm.cont:hover .rm-gt,.rm.cont.tapped .rm-gt,.rm.cont:focus-within .rm-gt{display:block}
.rm-n{all:unset;font-weight:600;cursor:pointer;border-radius:4px}
.rm-n:hover{text-decoration:underline;text-underline-offset:2px}
.rm-n:focus-visible,.rm-face:focus-visible,.rm-about:focus-visible{outline:2px solid var(--scrub-text);outline-offset:2px}
.rm-ed{font-size:12px;color:var(--scrub-text-2)}
.rm-tools{position:absolute;top:-16px;right:12px;z-index:2;display:none;gap:2px;padding:2px;background:var(--scrub-raised,var(--scrub-bg));border:1px solid var(--scrub-line-2);border-radius:var(--scrub-r-pill);box-shadow:var(--scrub-shadow-float)}
.rm:hover .rm-tools,.rm:focus-within .rm-tools,.rm.tapped .rm-tools{display:flex}
.rm.editing .rm-tools{display:none}
.rm-tools button{width:32px;min-width:32px;height:32px;min-height:32px;padding:0;display:inline-flex;align-items:center;justify-content:center;color:var(--scrub-text-2);border-radius:var(--scrub-r-pill)}
.rm-tools button:hover{color:var(--scrub-text);background:var(--scrub-surface-2)}
.rm-rx{display:flex;flex-wrap:wrap;gap:6px}
.rm-rc{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:2px 9px;border-radius:999px;border:1px solid var(--scrub-line);background:var(--scrub-bg);color:var(--scrub-text);font-size:14px;line-height:1;cursor:pointer}
.rm-rc span{font:500 12px/1 var(--scrub-mono)}
.rm-rc:hover{background:var(--scrub-surface)}
.rm-rc.mine{border-color:var(--scrub-text);background:var(--scrub-surface)}
.rm-rc::after{content:"";position:absolute;inset:-8px -2px}
.rm-pick{position:fixed;z-index:40;display:flex;gap:2px;padding:4px;background:var(--scrub-raised,var(--scrub-bg));border:1px solid var(--scrub-line-2);border-radius:var(--scrub-r-pill);box-shadow:var(--scrub-shadow-float)}
.rm-pick button{width:40px;min-width:40px;height:40px;padding:0;font-size:20px;line-height:1;background:none;border:0;border-radius:var(--scrub-r-pill);cursor:pointer}
.rm-pick button:hover,.rm-pick button:focus-visible{background:var(--scrub-surface-2)}
.rm-card{position:fixed;z-index:40;width:min(280px,calc(100vw - 16px));box-sizing:border-box;display:flex;flex-direction:column;gap:12px;padding:12px;background:var(--scrub-raised,var(--scrub-bg));border:1px solid var(--scrub-line-2);border-radius:var(--scrub-r-float,12px);box-shadow:var(--scrub-shadow-float)}
.rm-card-h{display:flex;align-items:center;gap:10px}
.rm-card-h .rm-av{width:40px;height:40px;font-size:14px;flex:none}
.rm-card-h .rm-scrub svg{width:18px;height:18px}
.rm-card-h>span{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.3}
.rm-card-h b{display:inline-flex;align-items:center;gap:6px}
.rm-card-h .small{color:var(--scrub-text-2);font-weight:400;overflow-wrap:anywhere}
.rm-card-b{display:flex;gap:8px}
.rm-new{display:flex;align-items:center;gap:10px;margin:6px 12px;max-width:none;font:var(--scrub-label);letter-spacing:.06em;text-transform:uppercase;color:var(--scrub-text)}
.rm-new::before{content:"";flex:1;border-top:1px solid var(--scrub-text)}
.rm-intro{display:flex;flex-direction:column;gap:6px;padding:32px 12px 20px}
.rm-intro h2{margin:0;display:flex;align-items:center;gap:2px;font-size:24px;line-height:1.2}
.rm-intro h2 .rm-hash{color:var(--scrub-text-2)}
.rm-intro p{margin:0;max-width:640px}
.rm-intro .small{color:var(--scrub-text-2)}
.rm-intro-b{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.rm-jump{position:fixed;z-index:6;left:calc(var(--nav-w,0px) + var(--csub-w,0px) + (100vw - var(--nav-w,0px) - var(--csub-w,0px)) / 2);transform:translateX(-50%);bottom:140px;display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 14px;border:0;border-radius:var(--scrub-r-pill);background:var(--scrub-inv);color:var(--scrub-on-inv);box-shadow:var(--scrub-shadow-float);font:inherit;font-size:14px;font-weight:500;cursor:pointer}
.rm-jump[hidden]{display:none}
.rm-about{all:unset;display:flex;align-items:center;gap:10px;flex:1;min-width:0;min-height:44px;box-sizing:border-box;padding:0 8px;margin-left:-8px;border-radius:var(--scrub-r-field);cursor:pointer}
.rm-about:hover{background:var(--scrub-surface)}
.rm-about .rm-title{flex:none}
.rm-topic{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;color:var(--scrub-text-2)}
.rm-cnt{margin-left:6px;font:500 12.5px/1 var(--scrub-mono);color:var(--scrub-text-2)}
.rm-form{width:min(440px,calc(100vw - 48px));box-sizing:border-box}
.rm-f{display:flex;flex-direction:column;gap:6px;font-size:14px}
.rm-f>span:first-child{font-weight:500}
.rm-f input{width:100%;box-sizing:border-box}
.rm-f input[readonly]{color:var(--scrub-text-2)}
.rm-f .small{color:var(--scrub-text-2)}
.rm-sw{flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
.rm-sw>span{display:flex;flex-direction:column;gap:2px}
.rm-sw .small{font-weight:400}
.rm-made{margin:0;color:var(--scrub-text-2)}
.rm-x{margin-left:auto}
.rm-edit{display:flex;flex-direction:column;gap:6px}
.rm-edit .say{min-height:40px;max-height:240px;overflow-y:auto;padding:8px 10px;box-sizing:border-box;border:1.5px solid var(--scrub-text);border-radius:10px;background:var(--scrub-bg);white-space:pre-wrap;overflow-wrap:anywhere;outline:none}
.rm-edit-b{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.rm-edit-b .small{margin-right:auto;color:var(--scrub-text-2)}
.rm-inv{color:var(--scrub-text-2)}
@media (hover:none){.rm-tools button{width:44px;min-width:44px;height:44px;min-height:44px}.rm-tools{top:-24px}.rm-rc{min-height:32px}.rm-pick button{width:44px;min-width:44px;height:44px}.rm-n,.rm-face{position:relative}.rm-n::after,.rm-face::after{content:"";position:absolute;inset:-10px -6px}}
/* The menu in sections (SCR-731): each under its name; folded to icons, a hairline between them. */
.snav-sec{display:flex;flex-direction:column;gap:2px}
.snav-g{margin:14px 0 4px;padding:0 14px;font:var(--scrub-label);letter-spacing:.06em;text-transform:uppercase;color:var(--scrub-text-2)}
.nav-min .snav-g{display:none}
.nav-min .snav-sec{border-top:1px solid var(--scrub-line);margin-top:8px;padding-top:8px}
@media (max-width:860px){.rm{padding:8px 4px;grid-template-columns:28px minmax(0,1fr);gap:0 10px}.rm-av{width:28px;height:28px}.rm-bar{background:var(--scrub-bg);z-index:5;position:sticky;top:var(--head-h,57px);min-height:0;padding:0 8px;justify-content:flex-end}.rm-bar .rm-menu{display:none}.rm-stack{min-height:40px}}
@media (max-width:640px){.rm-b>:not(.rm-h):not(.rm-t):not(.msg):not(.rm-rx):not(.rm-edit){margin-left:-38px;max-width:none}body.rooms main{padding:0 4px var(--foot,170px)}body.rooms .composer{padding-left:12px;padding-right:12px}.rm-intro{padding:24px 4px 16px}}
@media (max-width:860px){.rm-bar>.rm-title,.rm-about .rm-title{display:none}.rm-bar{justify-content:space-between}.rm-about{min-height:44px}}
@media (max-width:860px){.cmenu-chats .rm-row{min-height:44px}.rm-add{width:44px;min-width:44px;height:44px;margin:-12px -8px -12px 0}.rm-stack{min-height:44px}}
.rm-title{display:inline-flex;align-items:center;gap:2px}
.rm-mail{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 10px 8px;padding:8px 0 16px;border-bottom:1px solid var(--scrub-line-2);color:var(--scrub-text-2);font-size:14px}
.chart-stage{display:flex;flex-direction:column;align-items:center;gap:10px}
.chart-view{display:grid;place-items:center;min-height:160px;min-width:min(100%,240px)}
.chart-view canvas{display:block;width:auto;height:auto;max-width:100%;max-height:min(70vh,640px);cursor:pointer}
@media (max-width:860px){.chart-view canvas{max-height:min(calc(100dvh - 330px),560px)}}
.chart-view[data-ground=light]{background:repeating-conic-gradient(var(--scrub-on-media) 0 25%,color-mix(in srgb,var(--scrub-on-media) 91%,var(--scrub-media)) 0 50%) 0 0/20px 20px}
.chart-view[data-ground=dark]{background:repeating-conic-gradient(var(--scrub-media) 0 25%,color-mix(in srgb,var(--scrub-media) 88%,var(--scrub-on-media)) 0 50%) 0 0/20px 20px}
.chart-view[data-ground=none]{background:var(--scrub-surface);width:100%;padding:32px 16px}
.chart-view .chart-empty{margin:0;color:var(--scrub-text-2);text-align:center}
.chart-under{order:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 12px;min-height:44px}
.chart-stage [hidden]{display:none!important}
.chart-view .chart-empty.refused{color:var(--scrub-err)}


main{max-width:680px;margin:0 auto;padding:40px 20px 80px}
header.top~main{max-width:728px;margin:0;padding:40px 24px 80px}
@media (max-width:640px){header.top~main{padding:40px 20px 80px}}
.account{display:flex;flex-direction:column;gap:14px}
.account h2{margin:22px 0 0}
.account p{margin:0}
.account .row{display:flex;gap:10px;flex-wrap:wrap}
