
  /* ⚠️ ITEM 658 — IN THE PAGE FLOW, NEVER OVER IT. This shipped as `position:fixed; top:0` with a
     z-index, i.e. an overlay the layout never accounted for: measured in Chrome at 1440, the 27px
     band sat over the top of the sidebar, the v5 rail, the topbar (Back and the breadcrumb) and
     whatever page was under them, on every preview surface. Nothing depended on the overlap.
     NOW: `body.is-preview` is a two-row grid — row 1 is the banner (auto, so it may wrap at any
     width and nothing measures it), row 2 is `minmax(0,1fr)`, the rest of the viewport — and the
     shell columns — the rail (v4's #sidebar, or the v5 rail that mounts in its place) and
     .portal-main — are pinned to row 2 with their `height:100vh` released to `auto`, so they
     STRETCH to the row instead of overflowing it by the banner's height. `body` keeps
     `height:100vh; overflow:hidden`, so the banner never scrolls away (it never could:
     .portal-content is the scroller, body is not) and the review page, which fills .portal-main
     (#app.visible height:100%), is exactly the banner's height shorter.
     ⚠️ THE RAIL IS SELECTED AS `aside`, BY ELEMENT, ON PURPOSE. Both rails are <aside> children of
     body (#sidebar in the markup; v5RailMount creates an aside and inserts it before #sidebar).
     Naming `.v5-rail` here would break two standing v5 promises — every rule naming the rail sits
     under `.v5` and names only `v5-` classes (v5-client-rail.mjs, v5-flag-off-identity.mjs) — and
     the preview shell is v4 chrome that should not know a v5 class name at all. Whichever rail is
     in the first column gets the row. `[id]` is SPECIFICITY, not selection: both rails carry an
     id, and `.v5 .v5-rail { height:100vh }` is (0,2,0) and later in source, so a bare
     `body.is-preview > aside` at (0,1,1) LOST to it (measured: the rail rendered 840px tall in an
     813px viewport). `aside[id]` is (0,2,1) and wins; preview-banner-flow.mjs pins the inequality
     against the rail rule's real selector.
     ⚠️ AND IT IS SCOPED TO WIDTHS WHERE A RAIL IS IN FLOW. Under 640px #sidebar is the
     position:fixed drawer (`height:100vh`, the @media block near #nav-scrim) and a `height:auto`
     there would collapse the drawer to its content; a fixed element takes no grid cell, so it
     needs no row. The v5 rail unmounts at the SAME breakpoint (v5RailMq, item 653), so no width
     has a mounted rail outside this rule. The drawer opens OVER the banner at that width — an
     overlay you dismiss, recorded, not fixed. z-index kept: the banner stayed over every overlay
     before and does still (a grid item honours z-index without positioning).
     ⚠️ THE GRID ONLY WORKS BECAUSE body HAS EXACTLY THESE IN-FLOW CHILDREN: the banner, the
     sidebar (or the rail in its place), .portal-main. Everything else on body is position:fixed
     or display:none and takes no cell. A NEW in-flow body child would land in a cell of its own
     and break the row — checks/preview-banner-flow.mjs pins the census as an equality. */
  #preview-banner {
    grid-column:1 / -1; grid-row:1; z-index:500;
    background:var(--rd-gold); color:#1A1A1A; font-family:'Inter',sans-serif;
    font-size:12px; font-weight:600; text-align:center; padding:6px 12px;
  }
  body.is-preview { display:grid; grid-template-rows:auto minmax(0,1fr); grid-template-columns:auto minmax(0,1fr); }
  body.is-preview > .portal-main { grid-row:2; grid-column:2; height:auto; min-height:0; }
  @media (min-width: 641px) {
    body.is-preview > aside[id] { grid-row:2; grid-column:1; height:auto; min-height:0; }
  }
  /* ⟦item 856⟧ THE TEAM BAR rides the preview banner's grid shape: row 1, every column, and the shell in row 2. `body.team-bar-on`
     is written ONLY by teamBarPaint for a team session with the v5 shell on (never for a client, a guest or a preview tab, which
     is the banner's own audience — the two never share a page). Mock TEAM-20: a slim blue-tinted strip, 12px radius, the
     "TEAM" label in capitals, then a thin divider. The tokens are the .v5 block's (--v5-team-*): the bar only shows under .v5. */
  /* Its OWN three rules, the preview grid's values, rather than a second selector on the preview's: the banner's rules stay
     byte-identical and preview-banner-flow.mjs pins both sets. */
  body.team-bar-on { display:grid; grid-template-rows:auto minmax(0,1fr); grid-template-columns:auto minmax(0,1fr); }
  body.team-bar-on > .portal-main { grid-row:2; grid-column:2; height:auto; min-height:0; }
  @media (min-width: 641px) {
    body.team-bar-on > aside[id] { grid-row:2; grid-column:1; height:auto; min-height:0; }
  }
  /* ⟦item 1018⟧ the team strip beside the team's client rail: a first column (the strip · the rail · the page), the bar still across */
  body.team-bar-on.team-rstrip-on { grid-template-columns:auto auto minmax(0,1fr); }
  body.team-bar-on.team-rstrip-on > #team-rail-strip { grid-row:2; grid-column:1; height:auto; min-height:0; }
  body.team-bar-on.team-rstrip-on > aside[id] { grid-row:2; grid-column:2; }
  body.team-bar-on.team-rstrip-on > .portal-main { grid-column:3; }
  #team-bar[hidden] { display:none; }
  /* ⟦item 1060⟧ the team app header (body.team-hdr-on beside .v5-thdr-on, v5ThdrSync) carries the ☰: the portal top bar's own one goes */
  body.team-hdr-on #nav-trigger { display:none; }
  #team-bar.team-bar--off { display:none; }   /* ⟦item 889⟧ the Recordings page (no bar of its own) */
  /* ⟦item 1052⟧ a bar with no page context is never drawn: on a team tool page reached by its own address (Status, Activity, …) the bar was
     painted ("TEAM", empty) and the context sync never ran, so it sat under the page — out of sight, but in its text ("TEAM LOADING…") */
  #team-bar:not(.team-bar--del):not(.team-bar--client):not(.team-bar--project):not(.team-bar--rv):not(.team-bar--pd) { display:none; }
  #team-bar {
    grid-column:1 / -1; grid-row:1; display:flex; align-items:center; gap:12px; min-height:36px; margin:8px 12px 0; padding:0 14px;
    background:var(--v5-team-bg); border:1px solid var(--v5-team-line); border-radius:12px; font-family:var(--v5-font); box-sizing:border-box;
  }
  #team-bar .team-bar-label { font-size:11px; font-weight:700; letter-spacing:.14em; color:var(--v5-team-ink); }
  #team-bar .team-bar-div { width:1px; height:16px; background:var(--v5-team-line); }
  /* ⟦item 857⟧ THE BAR ON THE DELIVERABLE PAGE (TEAM-20): facts on the left in grey (Due turns red when late), a gap, then the
     actions — + Add asset OUTLINED, Send to client the ONE gold button, ⋯ last. The slot is empty on every other page. */
  #team-bar { position:relative; }
  #team-bar .team-bar-body { display:contents; }
  #team-bar .team-bar-facts { display:flex; align-items:center; gap:14px; min-width:0; }
  #team-bar .team-bar-fact { font-size:12px; color:var(--v5-text3); white-space:nowrap; }
  #team-bar .team-bar-trev { color:var(--v5-team-ink); }   /* ⟦item 911⟧ TEAM-63: team work in blue */
  #team-bar .team-bar-due--late { color:var(--v5-bad); }
  #team-bar .team-bar-due--over { color:var(--v5-rust); }
  /* ⟦item 1061⟧ the facts never run under the buttons ("Edit overdue · due …" is longer): they clip, "with the client" giving way first */
  #team-bar .team-bar-facts { overflow:hidden; }
  #team-bar .team-bar-facts .team-bar-wc { min-width:0; overflow:hidden; text-overflow:ellipsis; }   /* ⟦item 1061⟧ RAIL-4 (12): "Edit overdue · due <date>", a calm rust (never red) */
  #team-bar .team-bar-gap { flex:1 1 auto; }
  #team-bar .team-bar-btn { height:26px; padding:0 12px; border-radius:8px; font:inherit; font-size:12px; font-weight:600; cursor:pointer; white-space:nowrap; }
  #team-bar .team-bar-add { background:transparent; color:var(--v5-text); border:1px solid var(--v5-team-btn-line); }   /* ⟦item 889⟧ TEAM-58 white outline (was the bar's blue edge) */
  #team-bar .team-bar-add:hover { border-color:var(--v5-text3); }
  #team-bar .team-bar-tl { display:inline-flex; align-items:center; text-decoration:none; background:transparent; color:var(--v5-text); border:1px solid var(--v5-team-btn-line); }   /* ⟦item 1010⟧ (1) Timeline: a normal button (it is a real link), never blue and underlined */
  #team-bar .team-bar-tl:hover { border-color:var(--v5-text3); }
  #team-bar .team-bar-send { background:var(--v5-gold-btn); color:var(--v5-on-gold-btn); border:1px solid var(--v5-gold-btn); }   /* ⟦item 1066⟧ addendum 2 (2): the brand gold #FBB03B with #3a2600 text in Light AND Dark — it read muddy brown in Light because 1055's remap points --v5-gold (an INK, #8a5a00 for text on white) at the button's fill */
  #team-bar .team-bar-eye { display:inline-flex; align-items:center; justify-content:center; padding:0 8px; background:transparent; color:var(--v5-text); border:1px solid var(--v5-team-btn-line); }   /* ⟦item 889⟧ TEAM-58 white outline */
  #team-bar .team-bar-eye:hover { border-color:var(--v5-text3); }
  #team-bar .team-bar-send:disabled { opacity:.45; cursor:default; }
  #team-bar .team-bar-send.team-bar-send--quiet { background:transparent; color:var(--v5-text); border-color:var(--v5-team-btn-line); }   /* ⟦item 1117⟧ C1: nothing ready to send = a quiet outlined button (gold only with a count) */
  #team-bar .team-bar-due.team-bar-due--soon, #team-bar .team-bar-due.team-bar-due--over { color:var(--v5-bad); }   /* ⟦item 1117⟧ C2: the deadline coral when 2 days or less, or overdue */
  #team-bar .team-bar-eye .team-bar-eyew { margin-left:6px; font-size:13px; font-weight:500; }   /* ⟦item 1117⟧ C3: "Preview" beside the eye */
  #team-bar .team-bar-allok { flex:0 0 auto; font-size:13px; font-weight:600; color:var(--v5-green); white-space:nowrap; }   /* ⟦item 911⟧ TEAM-68 "✓ All N approved" */
  #team-bar .team-bar-more { width:28px; height:26px; padding:0; border:0; border-radius:8px; background:transparent; color:var(--v5-text2); font-size:16px; line-height:1; cursor:pointer; }
  #team-bar .team-bar-more:hover { background:var(--v5-team-line); }
  #team-bar-menu .team-bar-menu-scrim { display:none; }
  #team-bar-menu .team-bar-menu-box { position:absolute; right:8px; top:calc(100% + 6px); z-index:60; min-width:220px; max-width:340px; padding:6px;
    background:var(--v5-menu-bg, #1c1c22); border:1px solid var(--v5-team-line); border-radius:10px; box-shadow:0 10px 30px rgba(0,0,0,.45); }
  #team-bar-menu .team-bar-menu-item { display:flex; flex-direction:column; align-items:flex-start; gap:2px; width:100%; padding:8px 10px; border:0; border-radius:7px;
    background:transparent; color:var(--v5-text); font:inherit; font-size:13px; text-align:left; cursor:pointer; }
  #team-bar-menu .team-bar-menu-item:hover { background:var(--v5-team-bg); }
  #team-bar-menu .team-bar-menu-s { font-size:11px; color:var(--v5-text3); }
  #team-bar-menu .team-bar-menu-fact { padding:8px 10px; font-size:12px; color:var(--v5-text3); }
  #team-bar-menu .team-bar-m-phone { display:none; }
  #team-bar .team-bar-ph { display:none; }
  /* ⟦item 879 step 6⟧ TEAM-45 (Jeffrey, Oct 15), 680 AND WIDER: the rail runs the full height from the top of the window; the TEAM bar
     sits over the MAIN column only, lined up with the page's content (the same 1100px-less-48px-each-side box the pages use), about
     50px tall, 14px text, rounded like the page cards. Same contents and order (TEAM-20). A phone is unchanged (TEAM-23). */
  @media (min-width: 680px) {
    body.team-bar-on > aside[id] { grid-row:1 / -1; }
    #team-bar { grid-column:2; min-height:50px; margin:12px 12px 0; padding:0 18px; gap:16px; border-radius:var(--v5-r-card); }
    /* the client, project and deliverable pages: lined up with their content box; a review surface keeps the main column's width */
    #team-bar.team-bar--del, #team-bar.team-bar--client, #team-bar.team-bar--project { justify-self:center; width:calc(min(1100px, 100%) - 96px); margin:12px 0 0; }
    #team-bar .team-bar-label { font-size:12px; }
    #team-bar .team-bar-fact { font-size:14px; }
    #team-bar .team-bar-btn { height:34px; padding:0 14px; font-size:14px; }
    #team-bar .team-bar-more { width:34px; height:34px; font-size:18px; }
  }
  @media (min-width: 680px) and (max-width: 700px) { #team-bar.team-bar--del, #team-bar.team-bar--client, #team-bar.team-bar--project { width:calc(min(1100px, 100%) - 48px); } }
  /* ⟦item 883⟧ TEAM-48: DOCKED UNDER THE HEADER (the client, project and deliverable pages) the bar is the content's own width, inside
     the page's box; its height, text and contents are TEAM-45's, and a phone keeps TEAM-23's collapsed form. */
  #team-bar.team-bar--docked { width:auto; margin:0; justify-self:auto; }   /* the page's own 24px sides below 701 (main's padding) */
  /* ⟦item 984⟧ Part 15 (TEAM-95): ON THE EPISODE PAGE the bar is neutral dark (no blue fill; only the word TEAM blue) with ~22px under it,
     so it never runs into the blue In team review box */
  #team-bar.team-bar--del { background:var(--v5-panel3); border-color:var(--v5-line-dim); }
  #team-bar.team-bar--del .team-bar-div { background:var(--v5-line-dim); }
  #team-bar.team-bar--del.team-bar--docked { margin-bottom:22px; }
  /* ⟦item 885⟧ THE TEAM's MEDIA REVIEW PAGE: the strip under the title (the status line, then the docked bar), the version menu's button,
     ↑ Upload new version outlined like + Add asset; the client's decision pair, status chip, ⋯ and Compare are not the team's. */
  body.team-rv-frame #review-view #rv-action-bar #rd-status-chip#rd-status-chip,   /* the id twice: over the frame's approved-state rule */
  body.team-rv-frame #rv-dec-bar, body.team-rv-frame #rd-status-chip, body.team-rv-frame #rv-internal-pill { display:none !important; }
  /* ⟦item 935⟧ THE TEAM's PHONE TITLE WRAPS TO A SECOND LINE: the team's header keeps its version and stage chips beside the name, so the
     client's ruled one-line short name (728b → 765, a phone) was crushed to "Full Epi…". The client's phone is unchanged. The class is
     selector names ids only (a v5 class here would make it a v5 rule: v5-flag-off-identity), the bar's id twice to outrank the twin of
     the .v5ph one-line rule (teamRvCssTwins: two ids, seven classes); a phone is the frame's own breakpoint (below 680). */
  @media (max-width: 679px) { body.team-rv-frame #review-view #rv-action-bar#rv-action-bar .rv-ctx-name { white-space:normal; overflow-wrap:anywhere; text-overflow:clip; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; } }
  #team-rv { display:flex; flex-direction:column; gap:10px; margin:0 8px; padding:4px 0 10px; }   /* the stage's own sides (the action bar's 8px) */
  #team-rv .team-rv-st { padding-left:28px; }   /* under the name (the action bar's 28px) */
  #team-rv .team-rv-st:empty { display:none; }
  #team-rv #team-bar.team-bar--docked { min-height:44px; }
  #team-bar .team-bar-ver { display:inline-flex; align-items:center; gap:6px; height:30px; padding:0 10px; border:1px solid var(--v5-team-line); border-radius:8px; background:transparent; color:var(--v5-text); font:inherit; font-size:13px; font-weight:600; cursor:pointer; white-space:nowrap; }
  #team-bar .team-bar-ver:hover { border-color:var(--v5-team-ink); }
  #team-bar .team-bar-ver-c { font-size:10px; opacity:.8; }
  #team-bar .team-bar-up { background:transparent; color:var(--v5-text); border:1px solid var(--v5-team-btn-line); }   /* ⟦item 889⟧ TEAM-58 white outline */
  #team-bar .team-bar-up:hover { border-color:var(--v5-text3); }
  #team-bar .team-bar-tr { background:transparent; color:var(--v5-text); border:1px solid var(--v5-team-btn-line); }   /* ⟦item 1118⟧ 5: the bar's Transcript, outlined like ↑ Upload new version */
  #team-bar .team-bar-tr:hover { border-color:var(--v5-text3); }
  #team-bar .team-bar-tr[aria-pressed="true"] { border-color:var(--v5-text3); }
  #team-bar .team-bar-tr:disabled { opacity:.6; cursor:default; }
  body.is-team.team-rv-frame #rv-tr-gen-btn { display:none !important; }   /* ⟦item 1118⟧ 5: never floating on the team's frame; its inline display stays the state teamRvTrMode reads (⟦item 1124⟧ 11: "Make transcript…" in the bar's ⋯) */
  /* ⟦item 908⟧ THE TEAM's TRANSCRIPT PAGE IN THE v5 FRAME (ttMount, a v5 team session only): the v4 header card gone; the header row and
     the TEAM bar; the tools row above the words; the panel's tick boxes, "X of Y done" and Hide done. Its own dark colours (--tt-*), so a
     team member's light v5 setting never reaches it. One selector per rule. */
  #rv-transcript-view.tt-on { --tt-text:#e8e8ea; --tt-text2:#c9c9d1; --tt-text3:#9a9aa4; --tt-line:#2b2f38; --tt-team-line:#24344c; --tt-gold:var(--v5-gold); --tt-blue:#8fb0ff; --tt-blue-bg:rgba(143,176,255,.10); --tt-blue-line:rgba(143,176,255,.32); --tt-on-blue:#0b0f17; --tt-card:#17171c; --tt-card-line:#2a2a31; --tt-pill:#26262e; --tt-pill-ink:#c8c8d0; --tt-grp:#141419; --tt-in:#121216; }
  /* ⟦item 925⟧ Part 2: the team frame in LIGHT (the ☀ / ☾ switch). Every team-only colour is a token; these are the light values (ink on
     white at 4.5:1 or better: --tt-text3 #5f5f6b 6.3:1, --tt-blue #2a55c9 6.1:1 on #fff, and on --tt-blue-bg). */
  #rv-transcript-view.tt-on[data-theme="light"] #tt-head { --v5-team-bg:#eef3fd; --v5-team-line:#c3d0ee; --v5-team-ink:#2a55c9; --v5-team-btn-line:#9aa0ad; --v5-text:#16161c; --v5-text2:#33333d; --v5-text3:#5f5f6b; --v5-gold:#9a6a00; --v5-on-gold:#ffffff; }   /* ⟦item 925⟧ the TEAM bar's tokens in light */
  #rv-transcript-view.tt-on[data-theme="light"] { --tt-text:#16161c; --tt-text2:#33333d; --tt-text3:#5f5f6b; --tt-line:#e2e2e8; --tt-team-line:#c3d0ee; --tt-blue:#2a55c9; --tt-blue-bg:rgba(42,85,201,.07); --tt-blue-line:rgba(42,85,201,.35); --tt-on-blue:#ffffff; --tt-card:#ffffff; --tt-card-line:#dedee6; --tt-pill:#ececf1; --tt-pill-ink:#3d3d47; --tt-grp:#f4f4f7; --tt-in:#ffffff; }
  #rv-transcript-view.tt-on #tr-action-bar { display:none; }
  #rv-transcript-view.tt-on #tck-filters { display:none; }
  #rv-transcript-view.tt-on #tck-progress { display:none; }
  #tt-head { flex:none; padding:14px 24px 0; border-bottom:1px solid var(--tt-line); }
  #tt-head .tt-h-row { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; min-width:0; padding:0 0 4px 4px; }
  #tt-head .tt-h-name { margin:0; min-width:0; overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; color:var(--tt-text); font-size:20px; font-weight:700; line-height:1.25; }
  #tt-head .tt-h-chip { flex:none; height:26px; padding:0 11px; border:1px solid var(--tt-team-line); border-radius:13px; background:transparent; color:var(--tt-text); font:inherit; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; cursor:pointer; }
  #tt-head .tt-h-chip:hover { border-color:var(--tt-text3); }
  #tt-head .tt-h-chip[data-tt-stage="asked"] { border-color:var(--tt-gold); color:var(--tt-gold); }
  #tt-head .tt-h-chip[data-tt-stage="notes"] { border-color:var(--tt-blue); color:var(--tt-blue); }   /* ⟦item 925⟧ TEAM-78: our turn is team blue */
  #rv-transcript-view.tt-on { --tt-green:#8fd6a0; }   #rv-transcript-view.tt-on[data-theme="light"] { --tt-green:#1d7a3a; }   /* ⟦item 929⟧ TEAM-79 "Notes done ✓" (≥ 4.5:1 both themes) */
  #tt-head .tt-h-chip[data-tt-stage="notesdone"] { border-color:var(--tt-green); color:var(--tt-green); }
  #tt-head #team-rv .team-rv-st .tt-st-lead { color:var(--tt-blue); font-weight:700; }
  /* ⟦item 923⟧ THE TEAM's PUBLISH DETAILS (ADM-4 / ADM-4b): the strip under the title, the title line, the dashed TEAM ONLY box, the
     production-number warning, the History panel. Team-only markup (#team-pd, .v5-mdp-tbox, .v5-mdp-numw, #team-pd-hist). */
  #team-pd { margin:2px 0 14px; }
  #team-pd #team-bar.team-bar--docked { min-height:44px; }
  #team-pd-hist { position:fixed; inset:0; z-index:640; display:flex; align-items:flex-start; justify-content:center; padding:48px 16px; overflow-y:auto; font-family:var(--v5-font); }
  #team-pd-hist .ts-scrim { position:fixed; inset:0; background:var(--v5-menu-scrim, rgba(0,0,0,.55)); }
  #team-pd-hist .tph-box { position:relative; width:min(960px, 100%); background:var(--v5-panel); color:var(--v5-text); border:1px solid var(--v5-line); border-radius:var(--v5-r-card); overflow:hidden; }
  #team-pd-hist .tph-head { display:flex; justify-content:space-between; align-items:flex-start; padding:18px 18px 10px; }
  #team-pd-hist .tph-title { margin:0; font-size:22px; font-weight:800; }
  #team-pd-hist .tph-sub, #team-pd-hist .tph-d, #team-pd-hist .tph-when, #team-pd-hist .tph-empty, #team-pd-hist .tph-foot { color:var(--v5-text3); }
  #team-pd-hist .tph-sub { font-size:13.5px; }
  #team-pd-hist .tph-x { border:0; background:none; color:var(--v5-text3); font-size:18px; cursor:pointer; min-width:44px; min-height:44px; }
  #team-pd-hist .tph-chips { display:flex; flex-wrap:wrap; gap:6px; padding:0 18px 12px; }
  #team-pd-hist .tph-chip { padding:5px 11px; border-radius:var(--v5-r-tile); border:1px solid var(--v5-line); background:transparent; color:var(--v5-text2); font:inherit; font-size:13px; cursor:pointer; }
  #team-pd-hist .tph-chip--on { background:var(--v5-chip); color:var(--v5-text); border-color:var(--v5-dim); }
  #team-pd-hist .tph-ev { display:grid; grid-template-columns:96px 1fr; gap:14px; padding:13px 18px; border-top:1px solid var(--v5-line); font-size:14px; line-height:1.5; }
  #team-pd-hist .tph-ev--dec.tph-ev--good { box-shadow:inset 3px 0 0 var(--v5-green); }
  #team-pd-hist .tph-ev--dec.tph-ev--bad { background:var(--v5-ts-bad-tint); box-shadow:inset 3px 0 0 var(--v5-bad); }
  #team-pd-hist .tph-what { display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:8px 14px; min-width:0; }
  #team-pd-hist .tph-c { flex:1 1 420px; min-width:0; overflow-wrap:anywhere; }
  #team-pd-hist .tph-who { font-weight:700; }
  #team-pd-hist .tph-pill { display:inline-block; margin-left:8px; padding:1px 8px; border-radius:var(--v5-r-pill); font-size:11.5px; font-weight:700; letter-spacing:.06em; vertical-align:middle; }
  #team-pd-hist .tph-pill--client { background:var(--v5-chip); color:var(--v5-text); border:1px solid var(--v5-dim); }   /* never gold: gold is only an ask of the client (the mock's gold pill, overruled by that rule) */
  #team-pd-hist .tph-pill--team { background:var(--v5-team-bg); color:var(--v5-team-ink); }
  #team-pd-hist .tph-pill--guest { background:var(--v5-chip); color:var(--v5-text2); }
  #team-pd-hist .tph-f { font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--v5-text3); }
  #team-pd-hist .tph-v { margin-top:4px; }
  #team-pd-hist .tph-old { color:var(--v5-bad); text-decoration:line-through; }
  #team-pd-hist .tph-new { color:var(--v5-green); }
  #team-pd-hist .tph-dec { font-weight:700; }
  #team-pd-hist .tph-dec--good { color:var(--v5-green); }
  #team-pd-hist .tph-reason { color:var(--v5-text); }   /* ⟦item 932⟧ the approval reason */
  #team-pd-hist .tph-dec--bad { color:var(--v5-bad); }
  #team-pd-hist .tph-restore { flex:0 0 auto; padding:5px 11px; border:1px solid var(--v5-team-btn-line); border-radius:var(--v5-r-tile); background:transparent; color:var(--v5-text); font:inherit; font-size:12.5px; cursor:pointer; min-height:32px; }
  #team-pd-hist .tph-restore:disabled { opacity:.5; cursor:default; }
  #team-pd-hist .tph-empty { padding:18px; }
  #team-pd-hist .tph-foot { padding:12px 18px 16px; border-top:1px solid var(--v5-line); font-size:12.5px; }
  @media (max-width: 679px) { #team-pd-hist { padding:12px; } #team-pd-hist .tph-ev { grid-template-columns:1fr; gap:4px; } }
  #tt-head #team-rv { margin:0; padding:2px 0 12px; }
  #tt-head #team-rv .team-rv-st { padding-left:4px; color:var(--tt-text2); font-size:13px; }
  #tt-head .tt-eye { display:inline-flex; align-items:center; justify-content:center; }
  /* ⟦item 1067⟧ 6 — NO TEAM STRIP ON THE TRANSCRIPT PAGE: the bar's own element (one bar, one set of handlers) docks in the title row's
     right end (.tt-h-dock) without its strip — no fill, no edge, no "TEAM |" label. Team-only markup (#team-bar / #tt-head). */
  body.is-team.tt-page #topbar-breadcrumb .bc-name { max-width:none; }   /* ⟦item 1067⟧ 5: full names on the team's transcript page */
  #tt-head .tt-h-dock { margin-left:auto; display:flex; align-items:center; min-width:0; }
  #tt-head .tt-h-dock:empty { display:none; }
  #tt-head .tt-h-dock #team-bar.team-bar--tt { display:flex; align-items:center; gap:8px; margin:0; padding:0; min-height:0; border:0; background:none; box-shadow:none; }
  #tt-head .tt-h-dock #team-bar.team-bar--tt .team-bar-label, #tt-head .tt-h-dock #team-bar.team-bar--tt .team-bar-div, #tt-head .tt-h-dock #team-bar.team-bar--tt .team-bar-gap { display:none; }
  #tt-tools { display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:12px 0 6px; }
  #tt-tools #tr-text-seg { margin-left:auto; }
  #rv-transcript-view.tt-on .tr-lc:not(.tr-player-big):not(.tr-rail-collapsed) { --tr-rail-track:316px; }
  /* ⟦item 1072⟧ (Jeffrey, Nov 10, answer to 1067 Q4): THE TEAM's TRANSCRIPT PAGE ON A PHONE (under 680px, V5_PHONE_MAX). The three-column grid
     (player | words | panel) squeezed the words to a 6px track at 390, so the page showed an empty player column with the panel laid over the
     words. On a phone the columns STACK in one scroll: the player full width when it is open (closed, no column is drawn: only its › button,
     at the words' top-left corner, opens it), the words (their own scroll, 60% of the screen, no side gutter), then the panel (Comments ·
     Clips · Cuts: tabs only — the review page's phone "Comments N" heading, #v5ph-chead, left behind when the panel moved here, is removed:
     ttDecorate / v5PhoneHead, in JS, because a CSS rule naming it would be a v5 selector outside .v5).
     Seen at 390 on the TEST rig (closed and open) before the deploy; 680px and up is untouched. */
  @media (max-width: 679px) {
    #rv-transcript-view.tt-on .tr-lc { position:relative; display:flex; flex-direction:column; overflow-y:auto; }
    #rv-transcript-view.tt-on .tr-lc > .tr-rail { flex:none; width:auto; max-width:none; margin:0 12px; }
    #rv-transcript-view.tt-on .tr-lc.tr-rail-collapsed > .tr-rail { position:absolute; width:auto; height:auto; margin:0; padding:0; border:0; background:none; z-index:2; }
    #rv-transcript-view.tt-on .tr-lc > .tr-left { flex:none; height:60vh; min-height:280px; padding:0 16px; }
    #rv-transcript-view.tt-on .tr-lc.tr-rail-collapsed > .tr-left { padding-top:34px; }
    #rv-transcript-view.tt-on .tr-lc > .tr-left .tr-scroll, #rv-transcript-view.tt-on .tr-lc > .tr-left #tr-col-head { padding-left:0; padding-right:0; }
    #rv-transcript-view.tt-on .tr-lc > .tr-side { flex:none; height:80vh; min-height:420px; }
  }   /* ⟦item 1067⟧ 10: the team's left column a little wider (~300px inside its margins; was 292 → 276) */
  /* ⟦item 1067⟧ 3: "Show cut text" ON is steel, never gold (gold is a decision colour; the team's page) */
  #rv-transcript-view.tt-on #tt-tools #tr-showcuts-btn.active, #rv-transcript-view.tt-on #tt-tools #tr-showcuts-btn:hover { color:#8fb6dc; border-color:#8fb6dc; background:rgba(143,182,220,.10); }
  #rv-transcript-view.tt-on[data-theme="light"] #tt-tools #tr-showcuts-btn.active, #rv-transcript-view.tt-on[data-theme="light"] #tt-tools #tr-showcuts-btn:hover { color:#396793; border-color:#396793; background:#e8eef5; }
  /* ⟦item 925⟧ TEAM-77 · THE TEAM's SIDE PANEL (ttCardHtml, ttCutsRender, the inline reply / edit box, the composer's Internal switch).
     Team frame only (#rv-transcript-view.tt-on); one selector per rule; colours from the --tt tokens above (dark and light). */
  /* ⟦item 925⟧ Part 2: the TEAM's transcript and Selects pages wear the client's ☀ / ☾ toggle in their (always dark) top bar
     (ttThemeMount / selTeamTopTheme add .tt-theme to the slot) — the client's look; team styles stay out of the v5 sheet */
  body.is-team .tt-theme { display:flex; align-items:center; margin-right:10px; flex:0 0 auto; }
  /* ⟦item 1066⟧ the black band under the team header at phone width in Light: the portal's own top bar (a client page's refresh) kept v4's dark
     chrome under a light page. body.team-tlpg = v5-tlpg's twin for v4 elements (v5ThdrBodySync: a team session's Light page), never a client's or a See-as-client tab's. */
  body.is-team.team-tlpg .topbar { background:var(--v5-bg); border-bottom-color:var(--v5-line); color:var(--v5-text); }
  body.is-team.team-tlpg .topbar .team-refresh-btn { border-color:var(--v5-line); background:var(--v5-panel); color:var(--v5-text2); }
  /* ⟦item 1066b⟧ (Jeffrey, Nov 9): "N late" on every team page is rust #a0522d in Light, not red — the team home's own colour. The client
     page's TEAM bar: "Late N" (desktop) and the phone line's "N late". A date that has passed (the project bar's "Overdue · <date>") stays red. */
  body.is-team.team-tlpg #team-bar .team-bar-late.team-bar-due--late, body.is-team.team-tlpg #team-bar .team-bar-ph-late { color:var(--v5-tl-rust); }
  /* ⟦item 1072⟧ the same rust on v4's own elements of a TEAM page, both themes: the TEAM bar (shown to a team session only, never See as
     client: teamBarPaint) — "Late N", the phone line's "N late", "Overdue · <date>" and a passed next due; v4's team due cells
     (.team-due, the old Status page's .sp-due) and a deliverable's inline due date on a team tab (body.team-tteam, v5TeamPageSync). */
  body.is-team #team-bar .team-bar-due--late, body.is-team #team-bar .team-bar-ph-late { color:var(--v5-rust, #e0a07a); }
  body.team-tteam .team-due.overdue, body.team-tteam .sp-due.is-late, body.team-tteam .del-due-inline.overdue { color:var(--v5-rust, #e0a07a); }
  body.is-team .tt-theme > button { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; padding:0; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text3); cursor:pointer; }
  body.is-team .tt-theme > button:hover { color:var(--v5-text); border-color:var(--v5-text3); }
  #rv-transcript-view.tt-on .rv-tabs .rv-tab.active { color:var(--tt-text); border-bottom-color:var(--tt-blue); }
  #rv-transcript-view.tt-on .rv-tabs .rv-tab .rv-tab-count { color:var(--tt-text3); margin-left:4px; }
  #rv-transcript-view.tt-on .comment-card.tt-card { margin:10px 4px; padding:12px 14px; border-radius:12px; background:var(--tt-card); border:1px solid var(--tt-card-line); box-shadow:none; color:var(--tt-text); cursor:pointer; }
  #rv-transcript-view.tt-on .comment-card.tt-card--client { border-left:3px solid var(--tt-text3); }
  #rv-transcript-view.tt-on .comment-card.tt-card--int { border-left:3px solid var(--tt-blue); background:var(--tt-blue-bg); }
  #rv-transcript-view.tt-on .tt-card .tt-c-head { display:flex; align-items:flex-start; gap:10px; }
  #rv-transcript-view.tt-on .tt-card .cc-avatar { flex:none; width:28px; height:28px; font-size:12px; background:var(--tt-pill); color:var(--tt-text); }
  #rv-transcript-view.tt-on .tt-card--int .cc-avatar { background:var(--tt-blue-bg); color:var(--tt-blue); }
  #rv-transcript-view.tt-on .tt-card .tt-c-meta { flex:1; min-width:0; padding-top:4px; font-size:13px; line-height:1.35; }
  #rv-transcript-view.tt-on .tt-card .tt-c-who { font-weight:700; color:var(--tt-text); }
  #rv-transcript-view.tt-on .tt-card .tt-c-sub { color:var(--tt-text3); font-size:12px; }
  #rv-transcript-view.tt-on .tt-card .tt-c-when { color:var(--tt-text3); font-size:12px; }   /* ⟦item 1067⟧ 8 */
  #rv-transcript-view.tt-on .tt-card .tt-c-tags { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:6px 0 0 38px; }
  #rv-transcript-view.tt-on .tt-pill { display:inline-block; padding:2px 8px; border-radius:6px; font-size:10.5px; font-weight:800; letter-spacing:.08em; }
  #rv-transcript-view.tt-on .tt-pill--hl { background:var(--tt-pill); color:var(--tt-pill-ink); }
  #rv-transcript-view.tt-on .tt-pill--note { background:var(--tt-pill); color:var(--tt-pill-ink); }
  #rv-transcript-view.tt-on .tt-pill--int { background:var(--tt-blue-bg); color:var(--tt-blue); border:1px solid var(--tt-blue-line); }
  #rv-transcript-view.tt-on .tt-tm { font-family:ui-monospace,Menlo,monospace; font-size:12px; padding:2px 8px; border-radius:6px; background:var(--tt-pill); color:var(--tt-text); cursor:pointer; }
  #rv-transcript-view.tt-on .tt-whole { font-size:12px; color:var(--tt-text3); }
  #rv-transcript-view.tt-on .tt-card .tt-quote { margin:10px 0 6px; padding-left:10px; border-left:2px solid var(--tt-card-line); color:var(--tt-text2); font-style:italic; }
  #rv-transcript-view.tt-on .tt-card .cc-body { margin-top:6px; color:var(--tt-text); font-size:14px; line-height:1.5; }
  #rv-transcript-view.tt-on .tt-edited { margin-top:4px; font-size:11.5px; color:var(--tt-text3); }
  #rv-transcript-view.tt-on .tt-more { flex:none; width:28px; height:28px; border:0; border-radius:6px; background:transparent; color:var(--tt-text3); font-size:16px; line-height:1; cursor:pointer; }
  #rv-transcript-view.tt-on .tt-more:hover { background:var(--tt-pill); color:var(--tt-text); }
  #rv-transcript-view.tt-on .tt-box { flex:none; display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; margin-top:3px; padding:0; border:2px solid var(--tt-text3); border-radius:6px; background:transparent; color:transparent; cursor:pointer; }
  #rv-transcript-view.tt-on .tt-box[aria-pressed="true"] { border-color:var(--tt-blue); background:var(--tt-blue); color:var(--tt-on-blue); }
  #rv-transcript-view.tt-on .tt-box.tt-box--wont[aria-pressed="true"] { border-color:var(--tt-text3); background:var(--tt-pill); color:var(--tt-text2); font-weight:800; }
  #rv-transcript-view.tt-on .tt-replies { margin:10px 0 0 38px; display:flex; flex-direction:column; gap:8px; }
  #rv-transcript-view.tt-on .tt-reply { padding:8px 10px; border-radius:9px; background:var(--tt-grp); border:1px solid var(--tt-card-line); font-size:13px; }
  #rv-transcript-view.tt-on .tt-reply.tt-reply--int { background:var(--tt-blue-bg); border-color:var(--tt-blue-line); }
  #rv-transcript-view.tt-on .tt-reply-h { display:flex; align-items:center; flex-wrap:wrap; gap:6px; color:var(--tt-text); }
  #rv-transcript-view.tt-on .tt-reply-vis { font-size:11.5px; color:var(--tt-text3); }
  #rv-transcript-view.tt-on .tt-reply-when { margin-left:auto; font-size:11.5px; color:var(--tt-text3); }
  #rv-transcript-view.tt-on .tt-reply-t { margin-top:4px; color:var(--tt-text); line-height:1.45; white-space:pre-wrap; }
  #rv-transcript-view.tt-on .tt-reply-mail { margin-top:4px; font-size:11.5px; color:var(--tt-text3); }
  #rv-transcript-view.tt-on .tt-ibox { margin:10px 0 0 38px; padding:8px; border-radius:10px; border:1px solid var(--tt-card-line); background:var(--tt-in); cursor:default; }
  #rv-transcript-view.tt-on .tt-ibox-in { width:100%; box-sizing:border-box; min-height:52px; resize:vertical; border:0; background:transparent; color:var(--tt-text); font:inherit; font-size:13.5px; outline:none; }
  #rv-transcript-view.tt-on .tt-ibox-row { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:6px; font-size:12.5px; color:var(--tt-text2); }
  #rv-transcript-view.tt-on .tt-ibox-sp { flex:1; }
  #rv-transcript-view.tt-on .tt-ibox-mail { display:inline-flex; align-items:center; gap:5px; }
  #rv-transcript-view.tt-on .tt-ibox-mail[hidden] { display:none; }
  #rv-transcript-view.tt-on .tt-ibox-cancel { border:0; background:none; color:var(--tt-text2); font:inherit; cursor:pointer; padding:4px 6px; }
  #rv-transcript-view.tt-on .tt-ibox-save { border:0; border-radius:7px; background:var(--tt-blue); color:var(--tt-on-blue); font:inherit; font-weight:700; padding:5px 12px; cursor:pointer; }
  #rv-transcript-view.tt-on .tt-sw { display:inline-flex; align-items:center; gap:6px; color:var(--tt-blue); font-weight:700; font-size:12.5px; cursor:pointer; }
  #rv-transcript-view.tt-on .tt-sw input { accent-color:var(--tt-blue); }
  #rv-transcript-view.tt-on .tt-note-int { margin-left:auto; margin-right:4px; }
  #rv-transcript-view.tt-on .tr-note-box { flex-wrap:wrap; align-items:center; }
  #rv-transcript-view.tt-on .tr-note-box .tr-note-input { flex:1 1 100%; }   /* the words on their own line; the Internal switch and Add note under them */
  #rv-transcript-view.tt-on .tt-cgrp-h { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 12px; background:var(--tt-grp); border-top:1px solid var(--tt-card-line); }
  #rv-transcript-view.tt-on .tt-cgrp-t { font-weight:700; color:var(--tt-text); font-size:13.5px; }
  #rv-transcript-view.tt-on .tt-cgrp-who { font-weight:500; color:var(--tt-text3); }
  #rv-transcript-view.tt-on .tt-cgrp-n { margin-top:2px; font-size:12px; color:var(--tt-text3); }
  #rv-transcript-view.tt-on .tt-cut { display:grid; grid-template-columns:1fr auto; gap:10px; align-items:start; padding:10px 12px; border-top:1px solid var(--tt-card-line); cursor:pointer; }
  #rv-transcript-view.tt-on .tt-cut:hover { background:var(--tt-grp); }
  #rv-transcript-view.tt-on .tt-cut-tc { font-family:ui-monospace,Menlo,monospace; font-size:12.5px; color:var(--tt-text2); }
  #rv-transcript-view.tt-on .tt-cut-when { margin-left:8px; font-family:'Inter',sans-serif; font-size:11.5px; color:var(--tt-text3); }
  #rv-transcript-view.tt-on .tt-cut-st { margin-left:8px; font-family:'Inter',sans-serif; font-size:11.5px; font-weight:700; color:var(--tt-blue); }
  #rv-transcript-view.tt-on .tt-cut-st.tt-cut-st--wont { color:var(--tt-text3); }
  #rv-transcript-view.tt-on .tt-cut-q { margin-top:3px; font-style:italic; font-size:13.5px; line-height:1.45; color:var(--tt-text); }
  #rv-transcript-view.tt-on .tt-cut-spk { font-style:normal; color:var(--tt-text3); }
  #rv-transcript-view.tt-on .tt-cut-note { margin-top:3px; font-size:12px; color:var(--tt-text3); white-space:pre-wrap; }
  #rv-transcript-view.tt-on .tt-cut-acts { display:flex; align-items:center; gap:6px; }
  #rv-transcript-view.tt-on .tt-cut.tt-is-done { opacity:.5; }
  #rv-transcript-view.tt-on .tt-cut.tt-cut--cut .tt-cut-q { text-decoration:line-through; }
  #rv-tab-comments.tt-mode-client .comment-card.cc-transcript[data-tt-who="team"] { display:none; }
  #rv-tab-comments.tt-mode-team .comment-card.cc-transcript[data-tt-who="client"] { display:none; }
  #rv-transcript-view.tt-on .rv-tabs { overflow-x:auto; scrollbar-width:none; }
  #rv-transcript-view.tt-on .rv-tabs .rv-tab { flex:none; min-width:0; margin-right:0; padding-left:4px; padding-right:4px; font-size:10px; letter-spacing:0; }
  #rv-transcript-view.tt-on .rv-tabs .rv-tab span { overflow:visible; text-overflow:clip; }
  /* ⟦item 1067⟧ 9 — REAL TABS: Comments · Clips · Cuts at normal text size (14px, 36px tall), sentence case, each with a count badge
     (the counts ttDecorate and the clips panel already write into .rv-tab-count). Team frame only; the review page's tabs are untouched. */
  #rv-transcript-view.tt-on .rv-tabs { gap:0; padding:0 4px; align-items:flex-end; }
  #rv-transcript-view.tt-on .rv-tabs .rv-tab { height:36px; padding:0 7px; margin-bottom:-1px; font-family:inherit; font-size:14px; font-weight:600; letter-spacing:0; text-transform:none; color:var(--tt-text3); }
  #rv-transcript-view.tt-on .rv-tabs .rv-tab:hover { color:var(--tt-text); }
  #rv-transcript-view.tt-on .rv-tabs .rv-tab.active { color:var(--tt-text); }
  #rv-transcript-view.tt-on .rv-tabs .rv-tab .rv-tab-count { display:inline-flex; align-items:center; justify-content:center; min-width:20px; height:20px; margin-left:5px; padding:0 6px; border-radius:10px; background:var(--tt-pill); color:var(--tt-text2); font-family:inherit; font-size:12px; font-weight:700; }
  #rv-transcript-view.tt-on .rv-tabs .rv-tab.active .rv-tab-count { background:var(--tt-blue-bg); color:var(--tt-blue); }
  #rv-transcript-view.tt-on .rv-tabs .rv-tab .rv-tab-count:empty { display:none; }
  #rv-transcript-view.tt-on .tt-item.tt-is-done { opacity:.5; }
  #rv-transcript-view.tt-on .tt-item.tt-is-done .cc-body { text-decoration:line-through; }
  #rv-transcript-view.tt-on .tt-item.tt-is-done .cc-tr-quote { text-decoration:line-through; }
  #rv-transcript-view.tt-on .tt-item.tt-is-done .cg-clip-text { text-decoration:line-through; }
  #rv-transcript-view.tt-on .tt-hide-done .tt-item.tt-is-done { display:none; }
  #rv-transcript-view.tt-on .tt-done-by { margin-top:6px; color:var(--tt-text3); font-size:11px; }
  #rv-transcript-view.tt-on .tt-strip { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 4px 10px; color:var(--tt-text3); font-size:12px; }
  #rv-transcript-view.tt-on .tt-strip-hide { border:0; background:none; color:var(--tt-text2); font:inherit; font-size:12px; cursor:pointer; padding:2px 4px; }
  /* ⟦item 929⟧ PART 4 · "Saving…" / "Saved" / "Didn't save · Retry" beside the counts (the transcript panel; the review page's progress line) */
  .ck-save { margin:0 auto 0 8px; font-size:12px; color:var(--tt-text3, var(--v5-text3, #9a9aa4)); white-space:nowrap; }
  .ck-save[data-ck="error"] { color:var(--v5-bad, #ef6b6b); }
  .ck-save .ck-retry { margin-left:6px; padding:0 2px; border:0; background:none; color:var(--tt-blue, var(--v5-team-ink, #8fb0ff)); font:inherit; font-weight:700; text-decoration:underline; cursor:pointer; }
  #tck-progress + .ck-save { display:block; margin:-4px 0 6px; }
  #rv-transcript-view.tt-on .tt-strip-hide:hover { color:var(--tt-text); }
  /* the tick box: item 411's done buttons restyled, and the clip rows' own */
  #rv-transcript-view.tt-on .cc-done-btn { width:20px; height:20px; padding:0; border:1.5px solid var(--tt-text3); border-radius:5px; background:transparent; color:transparent; }
  #rv-transcript-view.tt-on .cc-done-btn[aria-pressed="true"] { border-color:var(--tt-blue); background:var(--tt-blue); color:var(--tt-on-blue); }   /* ⟦item 925⟧ team blue, never gold */
  #rv-transcript-view.tt-on .cg-act-done { width:20px; height:20px; padding:0; border:1.5px solid var(--tt-text3); border-radius:5px; background:transparent; color:transparent; }
  #rv-transcript-view.tt-on .cg-act-done[aria-pressed="true"] { border-color:var(--tt-blue); background:var(--tt-blue); color:var(--tt-on-blue); }
  #rv-transcript-view.tt-on .tt-clip-tick { flex:none; align-self:flex-start; width:20px; height:20px; margin:2px 8px 0 0; padding:0; border:1.5px solid var(--tt-text3); border-radius:5px; background:transparent; cursor:pointer; }
  #rv-transcript-view.tt-on .tt-clip-tick[aria-pressed="true"] { border-color:var(--tt-blue); background:var(--tt-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0f17' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat; }
  #rv-transcript-view.tt-on[data-theme="light"] .tt-clip-tick[aria-pressed="true"] { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }
  #team-bar-menu[data-kind="rvver"] .team-bar-menu-box { left:8px; right:auto; max-height:60vh; overflow:auto; }
  #team-bar-menu .team-rv-vh { padding:8px 10px 4px; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--v5-text3); }
  #team-bar-menu .team-rv-vi--on { background:var(--v5-team-bg); }
  /* ⟦item 892⟧ THE TEAM's CHECKLIST (885 part 2): team frame only — scoped by the classes teamCkMount puts on the panel's comments tab
     (tck-panel), the composer (tck-cmp) and the timeline (tck-tl) while the team's frame is on, never `body.team-rv-frame #review-view`
     (that prefix is the runtime twins' alone: team-review-frame G1). Two ids where a twin of a frame rule could compete. Blue = a
     client comment (the team's blue); internal is blue too since item 921 (was purple, --rd-violet), its timeline chip filled stronger. One selector per rule (the CSS
     guards split lists on commas). The Internal switch's size is set inline (the twinned .v5-cp-lock rule is stronger). */
  #team-bar-menu .team-rv-vi--arch { color:var(--v5-text3); }
  #team-bar-menu .team-rv-vsep { height:1px; margin:6px 4px; background:var(--v5-line); }
  #team-bar-menu .team-rv-vcmp { font-weight:600; }
  /* ⟦item 894⟧ TEAM REVIEW (TEAM-21): the reviewers' initials on the bar (⟦item 928⟧ a green check on each one done, "N of M done"), the
     team blue Done reviewing, the dialogs' team blue button and lists. Team blue = --v5-ts-team (the TEAM bar's own ink since item 909;
     no purple). Scoped by the bar's id and the dialog's own id / classes, one selector per rule. */
  #team-bar .team-bar-revs { display:inline-flex; align-items:center; gap:5px; }
  #team-bar .team-rv-rev { position:relative; display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; box-sizing:border-box; border-radius:50%; border:1px solid var(--v5-ts-team); color:var(--v5-ts-team); font-size:10.5px; font-weight:700; letter-spacing:.02em; }
  #team-bar .team-rv-rev--done { background:color-mix(in srgb, var(--v5-green) 16%, transparent); border-color:var(--v5-green); color:var(--v5-green); }   /* ⟦item 928⟧ done = green */
  #team-bar .team-rv-rev-t { position:absolute; right:-4px; bottom:-3px; width:13px; height:13px; border-radius:50%; background:var(--v5-green); color:var(--v5-bg); font-size:9px; line-height:13px; text-align:center; }
  #team-bar .team-rv-count { margin-left:4px; font-size:12.5px; color:var(--v5-text3); white-space:nowrap; }
  #team-rv .team-rv-asknote { margin-top:8px; padding:9px 12px; border-radius:10px; border-left:3px solid var(--v5-ts-team); background:var(--v5-ts-team-tint); font-size:13.5px; line-height:1.45; color:var(--v5-text); white-space:pre-wrap; }   /* ⟦item 928⟧ the asker's note, under the TEAM bar */
  #team-rv .team-rv-asknote-h { display:block; margin-bottom:2px; font-size:12px; color:var(--v5-text3); }
  /* ⟦item 931⟧ TEAM-81: the TEAM bar's "N replies not emailed · Don't email · Email them…" (team blue: the team's own work), the
     NOT EMAILED / INTERNAL tags on a reply, the review page's Post reply row, the Email replies dialog, the transcript panel's ⋯ and its
     CSV dialog. Team only (nothing here is drawn for a client). */
  #team-rv .team-rpl { margin-top:8px; display:flex; flex-wrap:wrap; align-items:center; gap:6px; padding:7px 12px; border-radius:10px; border:1px solid var(--v5-team-line, #24344c); background:var(--v5-team-bg, #141d2a); font-size:13px; color:var(--v5-team-ink, #8fb0ff); }
  #team-rv .team-rpl-n { font-weight:700; }
  #team-rv .team-rpl-sep { opacity:.6; }
  #team-rv .team-rpl-btn { border:0; background:none; padding:0; font:inherit; color:var(--v5-team-ink, #8fb0ff); text-decoration:underline; cursor:pointer; }
  #team-rv .team-rpl-go { font-weight:700; }
  .rpl-tag { display:inline-block; margin-left:6px; padding:1px 6px; border-radius:5px; font-size:10px; line-height:15px; font-weight:700; letter-spacing:.06em; color:var(--v5-team-ink, #8fb0ff); border:1px solid currentColor; vertical-align:1px; }
  .rpl-more { margin-left:6px; border:0; background:none; color:var(--v5-text3, #9a9aa4); cursor:pointer; font-size:14px; line-height:1; padding:0 3px; }
  .reply-row.rpl-int .reply-text { color:var(--v5-team-ink, #8fb0ff); }
  .rpl-mailed { margin-top:3px; font-size:11px; color:var(--v5-text3, #9a9aa4); }
  .reply-input-wrap .tck-rrow { display:flex; align-items:center; gap:10px; margin-top:6px; width:100%; }
  .reply-input-wrap .tck-rint-l { display:inline-flex; align-items:center; gap:5px; font-size:12px; color:var(--v5-team-ink, #8fb0ff); cursor:pointer; }
  .reply-input-wrap .tck-rsp { flex:1; }
  .reply-input-wrap .tck-rpost { border:1px solid var(--v5-team-btn-line, #4a4a55); background:none; color:var(--v5-text, #e8e8ea); border-radius:7px; padding:4px 10px; font:inherit; font-size:12.5px; font-weight:700; cursor:pointer; }
  .reply-input-wrap:has(.tck-rrow) { flex-wrap:wrap; }
  #rpl-dlg .rpl-box { max-width:560px; }
  #rpl-dlg .rpl-title { letter-spacing:.04em; }
  #rpl-dlg .rpl-sec { margin:12px 0 6px; font-size:11px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:var(--v5-text3, #9a9aa4); }
  #rpl-dlg .rpl-rows { display:flex; flex-direction:column; gap:6px; max-height:260px; overflow:auto; }
  #rpl-dlg .rpl-row { display:flex; gap:8px; align-items:flex-start; padding:7px 8px; border-radius:8px; border:1px solid var(--v5-line, #26262c); cursor:pointer; }
  #rpl-dlg .rpl-row-b { display:flex; flex-direction:column; gap:2px; font-size:13px; min-width:0; }
  #rpl-dlg .rpl-row-q { color:var(--v5-text3, #9a9aa4); }
  #rpl-dlg .rpl-row-r { overflow-wrap:anywhere; }
  #rpl-dlg .rpl-chips { display:flex; flex-wrap:wrap; gap:6px; }
  #rpl-dlg .rpl-chip { display:inline-flex; align-items:center; gap:4px; padding:3px 4px 3px 9px; border-radius:999px; border:1px solid var(--v5-team-line, #24344c); background:var(--v5-team-bg, #141d2a); font-size:12.5px; }
  #rpl-dlg .rpl-chip button { border:0; background:none; color:inherit; cursor:pointer; font-size:14px; line-height:1; padding:0 4px; }
  #rpl-dlg .rpl-addrow { margin-top:8px; }
  #rpl-dlg .rpl-add, #rpl-dlg .rpl-add-p { border:1px solid var(--v5-team-btn-line, #4a4a55); background:none; color:inherit; border-radius:999px; padding:3px 10px; font:inherit; font-size:12.5px; cursor:pointer; margin:0 6px 6px 0; }
  #rpl-dlg .rpl-muted { font-size:12.5px; color:var(--v5-text3, #9a9aa4); }
  /* ⟦item 1171d2⟧ Email replies in the composer frame (D2_REPLIES_ON + the worker's ecf): the dialog placed over the page as the team's other
     dialogs are (#team-stage-dlg's frame), the form left, the live preview right (under it, narrow), a sheet on a phone */
  #rpl-dlg.d2-rpl { position:fixed; inset:0; z-index:400; display:flex; align-items:center; justify-content:center; padding:16px; box-sizing:border-box; font-family:var(--v5-font); }
  #rpl-dlg.d2-rpl .ts-scrim { position:absolute; inset:0; background:var(--v5-menu-scrim, rgba(0,0,0,.55)); }
  #rpl-dlg.d2-rpl .rpl-box.d2-cmp-box { width:560px; max-width:100%; }
  #rpl-dlg.d2-rpl .rpl-box.d2-cmp-box--pv { width:1200px; }
  #rpl-dlg.d2-rpl .rpl-sec { margin:0 0 -10px; }
  #rpl-dlg.d2-rpl label { margin:0; letter-spacing:normal; text-transform:none; }   /* the page's old form label rule (uppercase) would reach the reply rows */
  #rpl-dlg.d2-rpl .rpl-rows { flex:0 0 auto; }
  @media (max-width: 679px) {
    #rpl-dlg.d2-rpl { padding:0; align-items:flex-end; }
    #rpl-dlg.d2-rpl .ts-f-box { width:100%; max-height:92vh; border-radius:var(--v5-r-card) var(--v5-r-card) 0 0; border:0; }
    #rpl-dlg.d2-rpl .ts-f-foot { flex-wrap:wrap; padding-bottom:calc(16px + env(safe-area-inset-bottom)); }
    #rpl-dlg.d2-rpl .ts-f-foot .ts-pv-btn { flex:1 1 100%; text-align:left; }
    #rpl-dlg.d2-rpl .ts-f-foot .ts-gold { flex:1 1 auto; height:48px; font-size:16px; }
  }
  #rv-transcript-view .rv-tabs .tt-pmore, #review-view .rv-tabs .tt-pmore { margin-left:4px; border:0; background:none; color:var(--tt-text3, #9a9aa4); cursor:pointer; font-size:16px; padding:0 6px; }
  #ttcsv-dlg .ttcsv-segs { display:flex; gap:6px; margin-bottom:12px; }
  #ttcsv-dlg .ttcsv-seg { border:1px solid var(--v5-team-btn-line, #4a4a55); background:none; color:inherit; border-radius:8px; padding:5px 12px; font:inherit; font-size:13px; cursor:pointer; }
  #ttcsv-dlg .ttcsv-seg.on { border-color:var(--v5-team-ink, #8fb0ff); color:var(--v5-team-ink, #8fb0ff); font-weight:700; }
  #ttcsv-dlg .ttcsv-done { display:inline-flex; align-items:center; gap:6px; font-size:13px; }
  #team-bar .team-bar-done { background:var(--v5-ts-team); color:var(--v5-bg); border:1px solid var(--v5-ts-team); }
  #team-bar .team-bar-rvask { background:transparent; color:var(--v5-ts-team); border:1px solid var(--v5-ts-team); }   /* ⟦item 1118⟧ 4: outlined in team blue, so the gold Send to client is the bar's only filled button */   /* ⟦item 968⟧ Ask to review… (team blue, as Done reviewing) */
  #team-bar .team-bar-rvagain { padding:0 2px; border:0; background:none; color:var(--v5-ts-team); font:inherit; font-size:12.5px; font-weight:600; cursor:pointer; white-space:nowrap; }   /* ⟦item 968⟧ "Ask someone else" (a small link after the initials) */
  #team-bar .team-bar-done:disabled { opacity:.55; cursor:default; }   /* ⟦item 935⟧ pressed: the dialog is open or the answer is saving */
  /* ⟦item 930⟧ the AGENCY bar: Approve for <client> green (an approval's colour), Ask for changes for <client> a plain outline */
  #team-bar .team-bar-agok { background:transparent; color:var(--v5-green); border:1px solid var(--v5-green); }
  #team-bar .team-bar-agch { background:transparent; color:var(--v5-text); border:1px solid var(--v5-team-btn-line); }
  #team-bar .team-bar-agst { color:var(--v5-text2); white-space:nowrap; }
  #team-stage-dlg .trv-box { width:480px; }
  #team-stage-dlg .tan-box { width:460px; }   /* ⟦item 896⟧ Ask the client for notes */
  /* ⟦item 1171d2⟧ THE COMPOSER FRAME in a team dialog (d2EcfInit's dialogs): the form left, the live preview right (under it, narrow) */
  #team-stage-dlg .d2-cmp-box { width:560px; }
  #team-stage-dlg .d2-cmp-box--pv { width:1200px; }
  .d2-cmp-cols { display:flex; flex:1 1 auto; min-height:0; }
  .d2-cmp-left { flex:1 1 50%; min-width:0; display:flex; flex-direction:column; min-height:0; }
  .d2-cmp-box:not(.d2-cmp-box--pv) .d2-cmp-left { flex-basis:100%; }
  @media (max-width: 1000px) {
    .d2-cmp-box--pv .d2-cmp-cols { flex-direction:column; overflow-y:auto; }
    .d2-cmp-box--pv .d2-cmp-left { flex:0 0 auto; }
    .d2-cmp-box--pv .ts-f-body { overflow:visible; }
    .d2-cmp-box--pv .d2-pvw { flex:0 0 auto; overflow:visible; border-left:0; border-top:1px solid var(--v5-line); }
  }
  @media (max-width: 679px) {
    #team-stage-dlg .d2-cmp-box .ts-f-foot { flex-wrap:wrap; }
    #team-stage-dlg .d2-cmp-box .ts-f-foot .ts-pv-btn { flex:1 1 100%; text-align:left; }   /* Show preview on its own line; Cancel + the gold button under it */
  }
  #team-stage-dlg .trd-to { display:flex; flex-wrap:wrap; gap:6px; }   /* ⟦item 959⟧ 2: Hand it to */
  #team-stage-dlg .trd-chip { height:30px; padding:0 11px; border-radius:8px; border:1px solid var(--v5-line); background:transparent; color:var(--v5-text2); font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
  #team-stage-dlg .trd-chip--on { border-color:var(--v5-ts-team); background:color-mix(in srgb, var(--v5-ts-team) 14%, transparent); color:var(--v5-ts-team); }
  #team-stage-dlg .trv-go { height:32px; padding:0 16px; border-radius:8px; border:1px solid var(--v5-ts-team); background:var(--v5-ts-team); color:var(--v5-bg); font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
  #team-stage-dlg .trv-go:disabled { opacity:.45; cursor:default; }
  /* ⟦item 969⟧ Replace file: team blue for the action, gold only for the client email option */
  #team-stage-dlg .trp-box { width:500px; }
  #team-stage-dlg .trp-box.d2-cmp-box { width:560px; }   /* ⟦item 1171d2⟧ Replace file in the composer frame (its email ticked) */
  #team-stage-dlg .trp-box.d2-cmp-box--pv { width:1200px; }
  #team-stage-dlg .trp-cur { padding:10px 12px; border:1px solid var(--v5-line); border-radius:8px; }
  #team-stage-dlg .trp-cur-name { font-size:13.5px; font-weight:600; color:var(--v5-text); overflow-wrap:anywhere; }
  #team-stage-dlg .trp-pick { position:relative; display:inline-block; cursor:pointer; }
  #team-stage-dlg .trp-file { position:absolute; left:0; top:0; width:1px; height:1px; opacity:0; }
  #team-stage-dlg .trp-pick-btn { display:inline-flex; align-items:center; pointer-events:none; }
  #team-stage-dlg .trp-pick:focus-within .trp-pick-btn { outline:2px solid var(--v5-ts-team); outline-offset:2px; }
  #team-stage-dlg .trp-new { margin-top:8px; font-size:13px; color:var(--v5-text); overflow-wrap:anywhere; }
  #team-stage-dlg .trp-reasons { display:flex; flex-wrap:wrap; gap:14px; margin-bottom:8px; }
  #team-stage-dlg .trp-reason { display:inline-flex; align-items:center; gap:6px; font-size:13px; color:var(--v5-text); cursor:pointer; }
  #team-stage-dlg .trp-reason input { accent-color:var(--v5-ts-team); }
  #team-stage-dlg .trp-note { width:100%; box-sizing:border-box; }
  #team-stage-dlg .trp-email { display:flex; align-items:center; gap:8px; font-size:13.5px; color:var(--v5-text); cursor:pointer; }
  #team-stage-dlg .trp-newv { display:flex; align-items:center; gap:8px; margin-top:10px; font-size:13.5px; color:var(--v5-text); cursor:pointer; }   /* ⟦item 977⟧ Part 1 */
  #team-stage-dlg .trp-newv input { accent-color:var(--v5-ts-team); }
  #team-stage-dlg .trp-email input { accent-color:var(--v5-gold); }
  #team-stage-dlg .trp-done-h { margin-bottom:6px; font-size:15px; font-weight:700; color:var(--v5-text); }
  #team-stage-dlg .trp-vimeo { margin-top:10px; padding:8px 10px; border-radius:8px; background:var(--v5-panel3); font-size:13px; color:var(--v5-text); }
  #team-stage-dlg .trv-lab { margin-bottom:8px; font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--v5-text3); }
  #team-stage-dlg .trv-opt { font-weight:400; text-transform:none; letter-spacing:normal; color:var(--v5-text3); }
  #team-stage-dlg .trv-list { display:flex; flex-direction:column; gap:2px; max-height:46vh; overflow-y:auto; }
  #team-stage-dlg .trv-pick { display:flex; align-items:center; gap:10px; min-height:34px; padding:0 4px; cursor:pointer; }
  #team-stage-dlg .trv-pick--off { color:var(--v5-text3); cursor:default; }
  #team-stage-dlg .trv-eb { font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--v5-ts-team); margin-bottom:4px; }   /* ⟦item 928⟧ TEAM-80 */
  #team-stage-dlg .trv-ver { font-size:13px; font-weight:500; color:var(--v5-text3); }
  #team-stage-dlg .trv-av { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; flex:none; border-radius:50%; background:var(--v5-ts-team-tint); color:var(--v5-ts-team); font-size:11px; font-weight:800; }
  #team-stage-dlg .trv-nm { flex:1; min-width:0; }
  #team-stage-dlg .trv-role { font-size:12px; color:var(--v5-text3); }
  #team-stage-dlg .trd-opts { display:flex; flex-direction:column; gap:6px; }
  #team-stage-dlg .trd-opt { display:flex; align-items:flex-start; gap:10px; padding:10px 12px; border:1px solid var(--v5-line); border-radius:10px; cursor:pointer; }
  #team-stage-dlg .trd-opt input { margin-top:3px; accent-color:var(--v5-ts-team); }
  #team-stage-dlg .trd-opt-h { display:block; font-weight:700; color:var(--v5-text); }
  #team-stage-dlg .trd-opt-sub { display:block; font-size:12.5px; color:var(--v5-text3); }
  #team-stage-dlg .trv-hide { display:flex; align-items:flex-start; gap:10px; padding:12px; border-radius:10px; background:var(--v5-fill); cursor:pointer; }   /* ⟦item 897⟧ Hide from the client during review */
  #team-stage-dlg .trv-hide input { margin-top:2px; }
  #team-stage-dlg .trm-go { border-color:var(--v5-text); }   /* ⟦item 898⟧ Move: the white outline (TEAM-62) */
  #team-stage-dlg .trm-go:disabled { opacity:.45; cursor:default; }
  #team-stage-dlg .trv-hide-tx { display:flex; flex-direction:column; gap:3px; }
  #team-stage-dlg .trv-hide-h { font-size:14px; font-weight:700; color:var(--v5-text); }
  #team-stage-dlg .trv-hide-sub { font-size:12.5px; line-height:1.45; color:var(--v5-text3); }
  #cmp-overlay .cmp-wipe.cmp-ab { flex-direction:column; }   /* the A | B switch under the one picture (the overlay's body is a row) */
  #cmp-overlay .cmp-ab .cmp-wipe-stage { cursor:default; }   /* no divider to drag */
  #cmp-overlay .cmp-ab-sw { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:6px; padding:10px 0 0; }
  #cmp-overlay .cmp-ab-k { font-size:11.5px; color:var(--text-muted); }
  #rv-tab-comments.tck-panel #rv-comments .comment-card .cc-circle { display:none; }
  #rv-tab-comments.tck-panel #rv-comments .comment-card.resolved-card .cc-avatar { background:rgba(143,176,255,.16); color:#8fb0ff; }
  #rv-tab-comments.tck-panel #rv-comments .comment-card.resolved-card { border-left-color:transparent; }
  #rv-tab-comments.tck-panel #rv-comments .comment-card.cc-internal { background:rgba(143,176,255,.08); border-color:rgba(143,176,255,.30); border-left-color:#8fb0ff; }   /* ⟦item 921⟧ internal is the team's: blue like 916's Internal switch (was violet) */
  #rv-tab-comments.tck-panel #rv-comments .comment-card.cc-internal:hover { background:rgba(143,176,255,.12); border-color:rgba(143,176,255,.40); border-left-color:#8fb0ff; }
  #rv-tab-comments.tck-panel #rv-comments .comment-card.cc-internal .cc-avatar { background:rgba(143,176,255,.18); color:#8fb0ff; }
  #rv-tab-comments.tck-panel #rv-comments .comment-card .cc-tag.internal { text-transform:uppercase; letter-spacing:.06em; font-weight:700; background:rgba(143,176,255,.16); border-color:rgba(143,176,255,.45); color:#8fb0ff; }
  #rv-tab-comments.tck-panel #rv-comments .comment-card .cc-tag.public { display:none; }
  #rv-tab-comments.tck-panel #rv-comments .comment-card .tck-box { flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; margin-right:2px; padding:0; border:1.5px solid #8fb0ff; border-radius:5px; background:transparent; color:#0b0f17; cursor:pointer; }
  #rv-tab-comments.tck-panel #rv-comments .comment-card .tck-box:hover { background:rgba(143,176,255,.16); }
  #rv-tab-comments.tck-panel #rv-comments .comment-card .tck-box { position:relative; }   /* ⟦item 916⟧ TEAM-73: a 34px click area round the 18px box (a near miss landed on the card) */
  #rv-tab-comments.tck-panel #rv-comments .comment-card .tck-box::before { content:''; position:absolute; inset:-8px; border-radius:8px; }
  #rv-tab-comments.tck-panel #rv-comments .comment-card.tck-on .tck-box { background:#8fb0ff; }
  #rv-tab-comments.tck-panel #rv-comments .comment-card.tck-on .cc-body { text-decoration:line-through; color:var(--v5-text3); }
  #rv-tab-comments.tck-panel #rv-comments .comment-card.tck-on .cc-author { color:var(--v5-text3); }
  #rv-tab-comments.tck-panel #rv-comments .comment-card.tck-on .cc-avatar { opacity:.5; }
  #rv-tab-comments.tck-panel #rv-comments .comment-card.tck-on .cc-replies { opacity:.7; }
  #rv-tab-comments.tck-panel #rv-comments .comment-card .tck-by { font-size:11px; font-weight:600; color:#8fb0ff; }
  #rv-tab-comments.tck-panel #rv-comments .comment-card .tck-cres { background:transparent; border:1px solid var(--v5-line); color:var(--v5-text3); font-size:10px; }
  #rv-tab-comments.tck-panel .tck-filters .tck-n { margin-left:5px; font-variant-numeric:tabular-nums; opacity:.75; }
  #rv-tab-comments.tck-panel .tck-progress { margin:2px 0 8px; padding:0 16px; font-size:12px; line-height:1.4; color:var(--v5-text2); }
  #rv-tab-comments.tck-panel .tck-progress.tck-progress--done { color:#8fb0ff; }
  #rv-composer.tck-cmp .tck-pubwarn { margin:0 0 6px; font-size:12px; font-weight:600; color:var(--rd-gold); }
  #rv-composer.tck-cmp .rd-cfoot .tck-sw { width:auto; gap:6px; padding:0 8px; font-size:12px; font-weight:600; }
  #rv-composer.tck-cmp .rd-cfoot .tck-sw .rd-sr { position:static; width:auto; height:auto; margin:0; overflow:visible; clip:auto; white-space:nowrap; }
  #rv-composer.tck-cmp .rd-cfoot .tck-sw .tck-sw-t { position:relative; width:24px; height:14px; border-radius:7px; background:var(--v5-line); }
  #rv-composer.tck-cmp .rd-cfoot .tck-sw .tck-sw-t::after { content:''; position:absolute; top:2px; left:2px; width:10px; height:10px; border-radius:50%; background:var(--v5-text2); }
  #rv-composer.tck-cmp .rd-cfoot .tck-sw.on .tck-sw-t { background:#8fb0ff; }   /* ⟦item 916⟧ TEAM-73: the Internal switch is the team's, so blue (was violet) */
  /* ⟦item 934⟧ THE PHONE's Internal switch: a phone keeps the older #rv-mode-btn (the team composer's .tck-sw above is desktop's), which 916
     never recoloured, so an editor's phone showed it violet. The team's blue, from the token (knob left = internal stays the ruled direction). */
  #rv-composer.tck-cmp #rv-mode-btn.cmt-vis-toggle.internal { background:color-mix(in srgb, var(--v5-team-ink) 14%, transparent); border-color:color-mix(in srgb, var(--v5-team-ink) 38%, transparent); }
  #rv-composer.tck-cmp #rv-mode-btn.cmt-vis-toggle.internal .cmt-vis-track { background:var(--v5-team-ink); }
  #rv-composer.tck-cmp #rv-mode-btn.cmt-vis-toggle.internal .cmt-vis-label { color:var(--v5-team-ink); }
  /* ⟦item 935⟧ GOLD ONLY FOR "WAITING ON THE CLIENT" ON A TEAM PAGE: the composer's "At 0:00" chip is the team's own work (team blue), and the
     TRANSCRIPT strip's label is a heading (neutral). The client's review page keeps both as they were (.composer-tc-chip.on, .rd-tr-label). */
  #rv-composer.tck-cmp .composer-tc-chip.on { background:color-mix(in srgb, var(--v5-team-ink) 12%, transparent); border-color:color-mix(in srgb, var(--v5-team-ink) 32%, transparent); color:var(--v5-team-ink); }
  #rv-tr-region.tck-tr .rd-tr-label { color:var(--v5-text2); }
  #review-view #rv-composer.tck-cmp .rd-cfoot .tck-sw.on { color:#8fb0ff; border-color:rgba(143,176,255,.45); background:rgba(143,176,255,.12); }   /* two ids: over the twinned violet .on rule */
  #rv-composer.tck-cmp .rd-cfoot .tck-sw.on .tck-sw-t::after { left:12px; background:#fff; }
  #rv-timeline.tck-tl .rv-tl-chip { --ch-line:#8fb0ff; --ch-fg:#8fb0ff; --ch-bg:rgba(143,176,255,.22); }
  #rv-timeline.tck-tl .rv-tl-chip.internal { --ch-line:#8fb0ff; --ch-fg:#fff; --ch-bg:rgba(143,176,255,.55); }   /* ⟦item 921⟧ blue (was violet); a stronger fill than a client's chip, so the two still read apart */
  #rv-timeline.tck-tl .rv-tl-chip.tck-fixed { opacity:.45; }
  #tck-vlist.tck-vpane { padding:0; }
  #rv-tab-comments.tck-panel .rd-filter-row.tck-none { display:none !important; }   /* ⟦item 1118⟧ 7: no filters before the first comment */   /* ⟦item 916⟧ in Details now (the section's own padding) */
  /* ⟦item 916⟧ TEAM-73: the review page's ONE TITLE LINE — V1R1 · the stage chip · the grey facts, in the round chip's place */
  #rv-action-bar .team-rv-title { display:inline-flex; align-items:center; flex-wrap:wrap; gap:6px 10px; padding:0; border:0; border-radius:0; background:transparent; color:var(--v5-text3); font-size:13.5px; font-weight:500; letter-spacing:0; text-transform:none; line-height:1.4; }
  #rv-action-bar .team-rv-title > * { margin-left:0; }
  #rv-action-bar .team-rv-title > span:last-child { white-space:nowrap; }
  /* ⟦item 1118⟧ 1: the one status line under the title — a dot in the stage's colour, the stage word, the facts in grey */
  #rv-action-bar .team-rv-title.team-rv-title--st { flex-basis:100%; order:9; min-width:0; }
  #rv-action-bar .team-rv-stl { display:inline-flex; align-items:center; flex-wrap:wrap; gap:0; min-width:0; white-space:normal; color:var(--v5-text3); font-size:13.5px; font-weight:500; line-height:1.4; }
  #rv-action-bar .team-rv-stl .team-rv-dot { flex:0 0 8px; width:8px; height:8px; margin-right:8px; border-radius:50%; background:var(--team-rv-dot, var(--v5-dim)); }
  #rv-action-bar .team-rv-stl .team-rv-stw { color:var(--v5-text2); font-weight:600; }
  #rv-action-bar .team-rv-stl .team-rv-stf { white-space:pre-wrap; }
  /* the title is a grid there (.rv-ctx-row is display:contents): the line takes a row of its own under the name AND under the name's second
     line (.rv-ctx-proj, row 2: "National Security Is More Than Missiles" on P054 Social 1, where row 2 overlapped it). Three ids, over the
     twinned client rule that puts every .v5-rchip beside the name. */
  body.is-team.team-rv-frame #review-view #rv-action-bar #rv-ctx-label .team-rv-title.team-rv-title--st { grid-row:3; grid-column:1 / -1; justify-self:start; }
  #rv-action-bar .team-rv-stl--team { --team-rv-dot:var(--v5-ts-team); }
  #rv-action-bar .team-rv-stl--client { --team-rv-dot:var(--v5-gold); }
  #rv-action-bar .team-rv-stl--changes { --team-rv-dot:var(--v5-bad); }
  #rv-action-bar .team-rv-stl--done { --team-rv-dot:var(--v5-green); }
  #rv-action-bar .team-rv-stl--closed, #rv-action-bar .team-rv-stl--ref { --team-rv-dot:var(--v5-dim); }
  /* ⟦item 1124⟧ (Jeffrey, Nov 13, P054 Lauren Zabierek Episode: "more room for the video") THE TEAM's MEDIA REVIEW PAGE, its top: (1) the title
     and its status on ONE line — the status right after the title, baseline-aligned, 14px apart; a long title cut with … (the full one on
     hover: v5TitleSync's title); the status never wraps; below 1100px the status drops under the title (1118's own row). (2) the TEAM bar
     12px under that line and the stage 12px under the bar (the bar's strip #team-rv: 12px over the bar, 4px under it + the media group's own
     8px). (6) the breadcrumb row 40px (was 52px) and only the trail + "Item N of M" (Share and the refresh icon are in the TEAM bar's ⋯).
     The video (the stage, flex:1, object-fit:contain) takes what this frees. A phone (below 680) is unchanged. Team only: is-team and the
     team's frame on <body>, team-tb-rv on the top bar (v5TbSync); spelled body.is-team.team-rv-frame (never teamRvCssTwins' own spelling,
     team-review-frame G1) and naming no v5 class (v5-flag-off-identity). !important: over the twinned client rules, which sit later and
     carry more ids. Guarded in checks/item-1124.mjs (the rules) and checks/item-1124-live.mjs (the gaps, painted). */
  body.is-team .topbar.team-tb-rv #team-refresh-btn { display:none !important; }
  @media (min-width: 680px) {
    body.is-team .topbar.team-tb-rv { min-height:40px !important; height:40px; }
    body.is-team.team-rv-frame #review-view:not(.tr-active) #rv-action-bar#rv-action-bar { min-height:0 !important; margin-top:10px !important; }
    body.is-team.team-rv-frame #review-view:not(.tr-active) #rv-action-bar #rv-action-dec-slot { display:none !important; }
    body.is-team.team-rv-frame #review-view:not(.tr-active) #rv-action-bar #rv-action-left { flex:1 1 auto !important; min-width:0 !important; max-width:100% !important; }
    body.is-team.team-rv-frame #review-view:not(.tr-active) #rv-action-bar #rv-ctx-label { min-width:0 !important; max-width:100% !important; }
    body.is-team.team-rv-frame #review-view:not(.tr-active) #rv-action-bar #rv-ctx-label .rv-ctx-txt { min-width:0 !important; max-width:100% !important; }
    body.is-team.team-rv-frame #review-view:not(.tr-active) #team-rv { padding:12px 0 4px !important; }
    body.is-team.team-rv-frame #review-view:not(.tr-active) .rv-media-group { justify-content:flex-start !important; }   /* the stage docks under the bar (rvFitPlayer's fitted unit was centred: ~15px more above it at 1440) */
    body.is-team.team-rv-frame #review-view:not(.tr-active) #rv-action-bar #rv-ctx-label .rv-ctx-name { min-width:0 !important; max-width:100% !important; overflow:hidden !important; text-overflow:ellipsis !important; white-space:nowrap !important; }
  }
  @media (min-width: 1100px) {
    body.is-team.team-rv-frame #review-view:not(.tr-active) #rv-action-bar #rv-ctx-label .rv-ctx-txt { display:flex !important; flex-direction:row !important; align-items:baseline !important; gap:14px !important; flex-wrap:nowrap !important; }
    body.is-team.team-rv-frame #review-view:not(.tr-active) #rv-action-bar #rv-ctx-label .rv-ctx-name { flex:0 1 auto !important; }
    body.is-team.team-rv-frame #review-view:not(.tr-active) #rv-action-bar #rv-ctx-label .team-rv-title.team-rv-title--st { flex:0 0 auto !important; white-space:nowrap !important; }
    body.is-team.team-rv-frame #review-view:not(.tr-active) #rv-action-bar #rv-ctx-label .team-rv-title--st .team-rv-stl { flex-wrap:nowrap !important; white-space:nowrap !important; }
    body.is-team.team-rv-frame #review-view:not(.tr-active) #rv-action-bar #rv-ctx-label .team-rv-title--st .team-rv-stf { white-space:pre !important; }
  }
  #tck-vlist.tck-vpane .team-rv-vh { padding:10px 4px 4px; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--v5-text3); }
  #tck-vlist.tck-vpane .team-rv-vi { display:flex; width:100%; padding:8px 6px; border:0; border-radius:6px; background:transparent; color:var(--v5-text); font:inherit; font-size:13px; text-align:left; cursor:pointer; }
  #tck-vlist.tck-vpane .team-rv-vi:hover { background:var(--v5-chip); }
  #tck-vlist.tck-vpane .team-rv-vi--on { background:var(--v5-team-bg); }
  #tck-vlist.tck-vpane .team-rv-vi--arch { color:var(--v5-text3); }
  #tck-vlist.tck-vpane .team-rv-vsep { height:1px; margin:8px 4px; background:var(--v5-line); }
  #tck-vlist.tck-vpane .team-rv-vcmp { font-weight:600; }
  /* PHONE (TEAM-23): TEAM · Due · Send · ⋯ — + Add asset and Client opened move into ⋯, which opens as a bottom sheet.
     ⟦item 862⟧ the client page: TEAM · "1 late · 3 with client" · ⋯ (Last sent inside ⋯). */
  @media (max-width: 679px) {
    #team-bar .team-bar-add, #team-bar .team-bar-opened, #team-bar .team-bar-rec, #team-bar .team-bar-up, #team-bar .team-bar-allok { display:none; }
    #team-bar .team-bar-eye .team-bar-eyew { display:none; }   /* ⟦item 1117⟧ C3: on a phone the eye alone (its tip and name stay "Preview as client") */
    #team-bar .team-bar-rvask { display:none; }   /* ⟦item 968⟧ a phone: Ask someone to review… is in the bar's ⋯ */
    #team-bar .team-bar-tr { display:none; }   /* ⟦item 1118⟧ 5: a phone: Transcript is in the bar's ⋯ */
    #team-bar .team-bar-ai { display:none; }   /* ⟦item 965⟧ a phone: AI tools is in ⋯ */   /* ⟦item 911⟧ + "✓ All N approved" (the gold button says it) */   /* ⟦item 880⟧ + Add recordings: in ⋯; ⟦item 885⟧ ↑ Upload new version: in ⋯ */
    #team-rv .team-rv-st { padding-left:8px; }   /* ⟦item 885⟧ under the name on a phone */
    #team-bar .team-bar-late, #team-bar .team-bar-with, #team-bar .team-bar-sent, #team-bar .team-bar-dels, #team-bar .team-bar-trev { display:none; }   /* ⟦item 870⟧ + the project page's Deliverables (Next due stays) */   /* ⟦item 911⟧ + Team review (in the phone line) */
    #team-bar .team-bar-ph { display:inline; }
    #team-bar-menu .team-bar-m-phone { display:flex; }
    #team-bar-menu .team-bar-menu-scrim { display:block; position:fixed; inset:0; z-index:300; background:var(--v5-menu-scrim, rgba(0,0,0,.55)); }
    #team-bar-menu .team-bar-menu-box { position:fixed; left:0; right:0; top:auto; bottom:0; z-index:301; max-width:none; min-width:0; border-radius:14px 14px 0 0;
      padding:10px 10px calc(10px + env(safe-area-inset-bottom)); }
  }
  /* ⟦item 859⟧ SEND TO CLIENT (TEAM-22 C → A, TEAM-23 board 5). The quick send hangs under the bar's gold button; the full dialog sits
     over the page; on a phone (< 680) the quick send is a bottom sheet with big buttons and the full dialog is its own page. Gold is
     only .ts-gold: the bar's Send to client and the dialog's send, the two controls that reach the client. Team only: every element
     is created by teamSendPaint for a team session on its v5 deliverable page. */
  #team-send-quick .ts-scrim { display:none; }
  #team-send-quick .ts-q-box { position:absolute; right:44px; top:calc(100% + 6px); z-index:60; width:360px; max-width:calc(100vw - 32px); padding:14px 16px;
    background:var(--v5-menu-bg, #1c1c22); border:1px solid var(--v5-team-line); border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,.45);
    font-family:var(--v5-font); color:var(--v5-text); box-sizing:border-box; display:flex; flex-direction:column; gap:8px; }
  .ts-q-title { font-size:15px; font-weight:700; line-height:1.3; }
  .ts-q-items { font-size:13px; color:var(--v5-text); line-height:1.45; }
  .ts-q-when { font-size:13px; color:var(--v5-text2); line-height:1.45; }
  .ts-stay { font-size:12px; color:var(--v5-text3); line-height:1.4; }
  .ts-note { font-size:12px; color:var(--v5-text3); }
  .ts-q-btns { display:flex; align-items:center; justify-content:flex-end; gap:12px; margin-top:6px; }
  .ts-link { background:none; border:0; padding:0; font:inherit; font-size:13px; font-weight:600; color:var(--v5-team-ink); cursor:pointer; }
  .ts-link:disabled { opacity:.5; cursor:default; }
  .ts-gold { height:32px; padding:0 16px; border-radius:8px; border:1px solid var(--v5-gold-btn); background:var(--v5-gold-btn); color:var(--v5-on-gold-btn); font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
  .ts-steel { height:32px; padding:0 16px; border-radius:8px; border:1px solid var(--v5-tstrip-on); background:var(--v5-tstrip-on); color:var(--v5-tstrip-on-ink); font:inherit; font-size:13px; font-weight:700; cursor:pointer; }   /* ⟦item 1012⟧ the Send picker's send */
  .ts-steel:disabled { opacity:.45; cursor:default; }
  .ts-gold:disabled { opacity:.45; cursor:default; }
  .ts-plain { height:32px; padding:0 14px; border-radius:8px; border:1px solid var(--v5-line); background:transparent; color:var(--v5-text); font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
  :is(#team-stage-menu, #team-row-menu) .tsm-box { position:fixed; z-index:420; min-width:220px; padding:6px; background:var(--v5-menu-bg, #1c1c22); border:1px solid var(--v5-team-line); border-radius:var(--v5-r-tile);
    box-shadow:0 10px 30px rgba(0,0,0,.45); font-family:var(--v5-font); color:var(--v5-text); display:flex; flex-direction:column; }
  :is(#team-stage-menu, #team-row-menu) .tsm-title { padding:6px 10px 4px; font-size:12px; font-weight:700; color:var(--v5-text2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  :is(#team-stage-menu, #team-row-menu) .tsm-h { padding:8px 10px 4px; font-size:10.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--v5-text3); }
  :is(#team-stage-menu, #team-row-menu) .tsm-i { display:flex; align-items:center; gap:8px; min-height:34px; padding:0 10px; border:0; border-radius:var(--v5-r-chip); background:transparent; color:var(--v5-text); font:inherit; font-size:13.5px; text-align:left; cursor:pointer; }
  :is(#team-stage-menu, #team-row-menu) .tsm-i:hover:not([disabled]), :is(#team-stage-menu, #team-row-menu) .tsm-i:focus-visible { background:var(--v5-panel3); outline:none; }
  :is(#team-stage-menu, #team-row-menu) .tsm-i[disabled] { color:var(--v5-text3); cursor:default; }
  :is(#team-stage-menu, #team-row-menu) .tsm-tick { width:14px; color:var(--v5-team-ink); font-weight:700; }
  :is(#team-stage-menu, #team-row-menu) .tsm-why { margin-left:auto; font-size:11.5px; color:var(--v5-text3); }
  :is(#team-stage-menu, #team-row-menu) .tsm-see { display:flex; align-items:center; gap:8px; margin:6px 0 2px; padding:8px 10px 4px; border-top:1px solid var(--v5-line); font-size:13px; letter-spacing:normal; text-transform:none; color:var(--v5-text); }
  /* ⟦item 929⟧ TEAM-79 · THE ONE "Client can see it" SWITCH (the chip / Stage menu's bottom, the row ⋯): the label, one grey line and an
     On / Off toggle in team blue. A <label> round a hidden checkbox in the Stage menu, a menuitemcheckbox button in the row ⋯. */
  :is(#team-stage-menu, #team-row-menu) .tsm-sw { display:flex; align-items:center; gap:12px; min-height:34px; margin:0; padding:7px 10px; border:0; border-radius:var(--v5-r-chip); background:transparent; color:var(--v5-text); font:inherit; font-size:13.5px; text-align:left; letter-spacing:normal; text-transform:none; cursor:pointer; position:relative; }
  :is(#team-stage-menu, #team-row-menu) .tsm-sw:hover, :is(#team-stage-menu, #team-row-menu) .tsm-sw:focus-visible, :is(#team-stage-menu, #team-row-menu) .tsm-sw:focus-within { background:var(--v5-panel3); outline:none; }
  :is(#team-stage-menu, #team-row-menu) .tsm-sw .tsm-tx { display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
  :is(#team-stage-menu, #team-row-menu) .tsm-sw .tsm-l { font-weight:600; }
  :is(#team-stage-menu, #team-row-menu) .tsm-sw .tsm-hint { font-size:11.5px; line-height:1.35; color:var(--v5-text3); white-space:normal; }
  :is(#team-stage-menu, #team-row-menu) .tsm-sw-in { position:absolute; width:1px; height:1px; opacity:0; margin:0; pointer-events:none; }
  :is(#team-stage-menu, #team-row-menu) .tsm-sw-t { flex:0 0 38px; width:38px; height:22px; border-radius:11px; background:color-mix(in srgb, var(--v5-text3) 45%, transparent); position:relative; }
  :is(#team-stage-menu, #team-row-menu) .tsm-sw-t::after { content:''; position:absolute; top:3px; left:3px; width:16px; height:16px; border-radius:50%; background:var(--v5-text); transition:left .12s; }
  :is(#team-stage-menu, #team-row-menu) .tsm-sw-in:checked + .tsm-sw-t, #team-row-menu .tsm-sw[aria-checked="true"] .tsm-sw-t { background:var(--v5-team-ink); }
  :is(#team-stage-menu, #team-row-menu) .tsm-sw-in:checked + .tsm-sw-t::after, #team-row-menu .tsm-sw[aria-checked="true"] .tsm-sw-t::after { left:19px; background:var(--v5-menu-bg, #1c1c22); }
  :is(#team-stage-menu, #team-row-menu) .tsm-sw-in:focus-visible + .tsm-sw-t { outline:2px solid var(--v5-team-ink); outline-offset:2px; }
  #team-stage-menu .tsm-dot.tsm-dot--green { --c:var(--v5-green); } #team-stage-menu .tsm-dot.tsm-dot--grey { --c:var(--v5-text3); }
  #team-stage-menu .tsm-i.tsm-cur--green { background:color-mix(in srgb, var(--v5-green) 10%, transparent); box-shadow:inset 3px 0 0 var(--v5-green); }
  #team-stage-menu .tsm-i.tsm-cur--green .tsm-l { color:var(--v5-green); }
  :is(#team-stage-menu, #team-row-menu) .tsm-scrim { position:fixed; inset:0; z-index:419; background:var(--v5-menu-scrim, rgba(0,0,0,.55)); }
  :is(#team-stage-menu, #team-row-menu).tsm--sheet .tsm-box { left:0; right:0; bottom:0; top:auto; border-radius:14px 14px 0 0; padding:10px 8px calc(12px + env(safe-area-inset-bottom)); }
  :is(#team-stage-menu, #team-row-menu).tsm--sheet .tsm-i { min-height:44px; font-size:15px; }
  #team-row-menu .tsm-i--danger { color:var(--v5-bad); font-weight:600; }
  #team-row-menu .tsm-sep { height:1px; margin:5px 4px; background:var(--v5-line); }
  /* ⟦item 878⟧ TEAM-41: "Now <STAGE>", NEXT (highlighted) and OTHER, each choice a stage-colour dot, the label and one grey line */
  #team-stage-menu .tsm-box { min-width:280px; max-width:340px; }
  #team-stage-menu .tsm-now { display:flex; align-items:center; gap:6px; padding:0 10px 6px; font-size:12px; color:var(--v5-text3); }
  #team-stage-menu .tsm-chip { padding:1px 6px; border-radius:var(--v5-r-status); font-size:10.5px; font-weight:700; letter-spacing:.06em; color:var(--c); background:color-mix(in srgb, var(--c) 18%, transparent); }
  #team-stage-menu .tsm-mv { align-items:flex-start; gap:10px; padding:7px 10px; }
  #team-stage-menu .tsm-dot { flex:0 0 8px; width:8px; height:8px; margin-top:6px; border-radius:50%; background:var(--c); }
  #team-stage-menu .tsm-tx { display:flex; flex-direction:column; gap:2px; min-width:0; }
  #team-stage-menu .tsm-mv .tsm-l { font-size:13.5px; font-weight:600; }
  #team-stage-menu .tsm-hint { font-size:11.5px; line-height:1.35; color:var(--v5-text3); white-space:normal; }
  #team-stage-menu .tsm-c--needs { --c:var(--v5-ts-team); } #team-stage-menu .tsm-c--prog { --c:var(--v5-ts-team); } #team-stage-menu .tsm-c--team { --c:var(--v5-ts-team); }   /* ⟦item 909⟧ every team-only stage blue */
  #team-stage-menu .tsm-c--source { --c:var(--v5-ts-team); } #team-stage-menu .tsm-c--client { --c:var(--v5-gold); }
  #team-stage-menu .tsm-h--team { color:var(--v5-team-ink); }
  #team-stage-menu .tsm-h--item { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  /* ⟦item 912⟧ TEAM-69: the gold / blue dot on every option; the current option in its chip's colour; TO THE CLIENT in gold */
  #team-stage-menu .tsm-dot.tsm-dot--gold { --c:var(--v5-gold); }
  #team-stage-menu .tsm-dot.tsm-dot--blue { --c:var(--v5-team-ink); }
  #team-stage-menu .tsm-dot { flex:0 0 9px; width:9px; height:9px; }
  #team-stage-menu .tsm-i.tsm-cur--gold { background:color-mix(in srgb, var(--v5-gold) 10%, transparent); box-shadow:inset 3px 0 0 var(--v5-gold); }
  #team-stage-menu .tsm-i.tsm-cur--gold .tsm-l { color:var(--v5-gold); }
  #team-stage-menu .tsm-i.tsm-cur--blue { background:color-mix(in srgb, var(--v5-team-ink) 10%, transparent); box-shadow:inset 3px 0 0 var(--v5-team-ink); }
  #team-stage-menu .tsm-i.tsm-cur--blue .tsm-l { color:var(--v5-team-ink); }
  #team-stage-menu .tsm-h--client { color:var(--v5-gold); }
  #team-stage-menu .tsm-h--end { color:var(--v5-text3); }
  #team-stage-menu .tsm-h--other { color:var(--v5-text3); }   /* ⟦item 946⟧ OTHER, neutral like END IT */
  #team-stage-menu .tsm-note { padding:6px 10px 10px; font-size:12px; color:var(--v5-text3); }   /* ⟦item 946⟧ the placeholder's muted line */   /* ⟦item 941⟧ Part 3: END IT, neutral */
  #team-stage-menu .tsm-mute { font-weight:500; color:var(--v5-text3); }   /* ⟦item 911⟧ TEAM-68: "<ITEM> · WITH THE CLIENT" */
  #team-stage-menu .tsm-sep { height:1px; margin:5px 4px; background:var(--v5-line); }   /* ⟦item 911⟧ above Close, no approval needed… */
  #team-stage-menu .tsm-c--changes { --c:var(--v5-bad); }
  #team-stage-menu .tsm-c--approved, #team-stage-menu .tsm-c--final { --c:var(--v5-green); } #team-stage-menu .tsm-c--closed { --c:var(--v5-dim); }   /* ⟦item 878⟧ the divider above the red Delete asset… */   /* ⟦item 877⟧ a destructive item: red, last */
  .tcl-line { margin-top:6px; font-size:13px; color:var(--v5-text2); line-height:1.45; }
  /* ⟦item 1171b⟧ "Emails come from": two steel choices; the locked one greyed with its reason */
  .efm-opts { display:flex; flex-direction:column; gap:8px; }
  .efm-opt { display:flex; gap:10px; align-items:flex-start; padding:10px 12px; border:1px solid var(--v5-line); border-radius:10px; cursor:pointer; }
  .efm-opt input { accent-color:var(--v5-team-ink); margin:3px 0 0; }
  .efm-opt--on { border-color:var(--v5-team-ink); }
  .efm-opt--lock { opacity:.6; cursor:not-allowed; }
  .efm-t { display:flex; flex-direction:column; gap:2px; }
  .efm-t b { font-weight:600; font-size:14px; color:var(--v5-text); }
  .efm-t small { font-size:12.5px; color:var(--v5-text2); line-height:1.4; }
  #team-stage-dlg { position:fixed; inset:0; z-index:400; display:flex; align-items:center; justify-content:center; padding:16px; box-sizing:border-box; font-family:var(--v5-font); }   /* ⟦item 875⟧ Record approval / Close / Final */
  #team-stage-dlg .ts-scrim { position:absolute; inset:0; background:var(--v5-menu-scrim, rgba(0,0,0,.55)); }
  #team-stage-dlg label { margin:0; font-size:14px; font-weight:500; letter-spacing:normal; text-transform:none; color:var(--v5-text); }
  .tra-pills { display:flex; flex-wrap:wrap; gap:6px; }
  .tra-wait { font-size:12px; color:var(--v5-text3); }
  #team-stage-dlg .tra-typed { flex:1 1 200px; width:auto; min-width:0; max-width:320px; height:32px; }   /* the page's bare input rule would shrink it */
  .tra-pill { height:30px; padding:0 12px; border-radius:15px; border:1px solid var(--v5-line); background:transparent; color:var(--v5-text); font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
  .tra-pill--on { border-color:var(--v5-green); color:var(--v5-green); background:var(--v5-done-tint); }
  .tra-file { display:inline-flex; align-items:center; gap:6px; font-size:13px !important; color:var(--v5-team-ink) !important; cursor:pointer; }
  .tra-file input { display:none; }
  .tra-err { font-size:13px; color:var(--v5-bad); }
  .tmc-go { height:32px; padding:0 16px; border-radius:8px; border:1px solid var(--v5-team-ink); background:var(--v5-team-ink); color:#fff; font:inherit; font-size:13px; font-weight:700; cursor:pointer; }   /* ⟦item 941⟧ Make changes…: team blue (it goes back to the editor) */
  .tmc-go:disabled { opacity:.45; cursor:default; }
  .tmc-box .tmc-who { flex-wrap:wrap; }
  .tmc-box .tmc-typed { margin-top:8px; width:100%; }
  .tcl-line--rel { margin:0 0 10px; color:var(--v5-text3); }   /* ⟦item 941⟧ the Close dialog's Completed line */
  .tra-green { height:32px; padding:0 16px; border-radius:8px; border:1px solid var(--v5-green); background:var(--v5-green); color:var(--v5-bg); font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
  .tra-green:disabled { opacity:.45; cursor:default; }
  @media (max-width: 679px) {
    #team-stage-dlg { padding:0; align-items:flex-end; }
    #team-stage-dlg .ts-f-box { width:100%; max-height:92vh; border-radius:14px 14px 0 0; border:0; }
    #team-stage-dlg .ts-f-foot { padding-bottom:calc(16px + env(safe-area-inset-bottom)); }
    #team-stage-dlg .ts-f-foot .tra-green, #team-stage-dlg .ts-f-foot .ts-gold { flex:1 1 auto; height:48px; font-size:16px; }
  }
  /* ⟦item 1166⟧ MARK APPROVED FOR CLIENT (team): selection mode's boxes (absolutely placed in the row's left padding, so the desktop flex row
     and the phone grid row are both untouched), the bottom bar, the box. Every input 16px (no phone zoom). Steel, never gold. */
  #tba-bar { position:fixed; left:50%; bottom:22px; transform:translateX(-50%); z-index:300; display:flex; align-items:center; gap:12px; width:min(640px, calc(100vw - 32px)); box-sizing:border-box; padding:10px 14px; background:var(--v5-panel2); color:var(--v5-text); border:1px solid var(--v5-line); border-radius:12px; box-shadow:0 14px 40px rgba(0,0,0,.28); font-family:var(--v5-font); font-size:14px; }
  #tba-bar .tba-gap { flex:1; }
  #tba-bar .tba-go:disabled, #tba-bar .tba-go--dim { opacity:.45; cursor:default; }
  .tba-box .tba-chips { display:flex; flex-wrap:wrap; gap:6px; }
  .tba-box .tba-chip { font-size:12px; font-weight:600; border-radius:999px; padding:2px 9px; background:var(--v5-panel3); border:1px solid var(--v5-line); color:var(--v5-text2); }
  .tba-box .tba-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
  #team-stage-dlg.tba-dlg .tba-who, #team-stage-dlg.tba-dlg .tba-at { width:100%; height:38px; box-sizing:border-box; }
  #team-stage-dlg.tba-dlg input.tba-at { background:var(--v5-bg); color:var(--v5-text); border:1px solid var(--v5-line); border-radius:8px; padding:6px 8px; font-weight:400; }   /* the page's global input[type=date] rule (the old dark form) outranks .ts-ab-in */
  #team-stage-dlg.tba-dlg input, #team-stage-dlg.tba-dlg select, #team-stage-dlg.tba-dlg textarea { font-size:16px; }
  #team-stage-dlg.tba-dlg .tba-note { width:100%; box-sizing:border-box; }
  .tba-box .tba-pill--on { border-color:var(--v5-team-ink); color:var(--v5-team-ink); background:color-mix(in srgb, var(--v5-team-ink) 12%, transparent); }
  #team-stage-dlg.tba-dlg .tba-mail { display:flex; gap:10px; align-items:flex-start; padding:10px 12px; border:1px solid var(--v5-line); border-radius:9px; cursor:pointer; }
  #team-stage-dlg.tba-dlg .tba-mail input { width:18px; height:18px; margin:2px 0 0; flex:0 0 auto; }
  .tba-box .tba-mail-l { font-weight:600; }
  .tba-box .tba-mail small { display:block; margin-top:2px; font-size:12px; color:var(--v5-text3); }
  .tba-box .tba-foot-m { font-size:12px; color:var(--v5-text3); }
  @media (max-width: 679px) {
    #tba-bar { bottom:calc(12px + env(safe-area-inset-bottom)); gap:8px; padding:10px 12px; }
    #tba-bar { flex-wrap:wrap; row-gap:8px; }
    #tba-bar .tba-n { white-space:nowrap; }
    #tba-bar .tba-go { flex:1 1 100%; order:3; height:44px; font-size:15px; }   /* a phone: the count and Clear on one line, the button full width under them */
    .tba-box .tba-grid { grid-template-columns:1fr; }
    .tba-box .tba-foot-m { display:none; }
    #team-stage-dlg .ts-f-foot .ts-steel { flex:1 1 auto; height:48px; font-size:16px; }
  }
/* ══ ⟦send flow⟧ SEND FLOW (team): the rows' send boxes (absolutely placed in the row's left padding, ahead of the file tree, which
   moves right by the box's width: a nested file keeps today's indent), a ticked row's blue (a tint and a blue left edge), the dark blue
   bar sticky at the foot of the page's column (one compact line on a phone), the box's groups and two-way switches, the ⋯'s grey line.
   One selector per rule; a repeated class where a v5 row rule would outrank one (never a v5 name: v5-flag-off-identity); overrides after their base rule. ══ */
  div.team-sfl-row.team-sfl-row.team-sfl-row.team-sfl-row { position:relative; padding-left:50px; --v5-tree-x:70px; }
  div.team-sfl-row.team-sfl-row.team-sfl-row.team-sfl-kid { padding-left:90px; }
  div.team-sfl-row.team-sfl-row.team-sfl-row.team-sfl-kid::after { width:16px; }
  .team-sfl-tall.team-sfl-tall.team-sfl-tall { overflow-y:auto; }
  div.team-sfl-row.team-sfl-row.team-sfl-row.team-sfl-row--on { background:color-mix(in srgb, var(--v5-team-ink) 20%, transparent); box-shadow:inset 3px 0 0 var(--v5-team-ink); }
  span.team-sfl-cb { position:absolute; left:18px; top:50%; transform:translateY(-50%); width:20px; height:20px; box-sizing:border-box; border:1.5px solid var(--v5-text3); border-radius:var(--v5-r-chip); display:grid; place-items:center; font-size:13px; font-weight:800; line-height:1; color:var(--v5-tstrip-on-ink); background:var(--v5-panel2); cursor:pointer; z-index:1; }
  span.team-sfl-cb.team-sfl-cb--on { background:var(--v5-tstrip-on); border-color:var(--v5-tstrip-on); }
  span.team-sfl-cb.team-sfl-cb--lock { opacity:.55; cursor:default; }
  span.team-sfl-cb.team-sfl-cb--none { visibility:hidden; }
  #team-sfl-bar { position:fixed; left:50%; bottom:22px; transform:translateX(-50%); z-index:300; display:flex; align-items:center; gap:12px; width:min(720px, calc(100vw - 32px)); box-sizing:border-box; padding:10px 12px 10px 16px; background:#22304a; color:#e8eef8; border:1px solid #3d5a85; border-radius:12px; box-shadow:0 10px 30px rgba(8,14,28,.35); font-family:var(--v5-font); font-size:14px; }
  #team-sfl-bar.team-sfl-sticky { position:sticky; left:auto; bottom:16px; transform:none; width:auto; margin:16px 0 0; }
  body:has(#team-send-full) #team-sfl-bar { visibility:hidden; }
  #team-sfl-bar .team-sfl-n { white-space:nowrap; color:#ffffff; }
  #team-sfl-bar .team-sfl-what { color:#b9c7dc; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  #team-sfl-bar .team-sfl-gap { flex:1; }
  #team-sfl-bar .team-sfl-clear { height:34px; padding:0 12px; border:1px solid #3d5a85; border-radius:8px; background:transparent; color:#e8eef8; font:inherit; font-size:14px; cursor:pointer; white-space:nowrap; }
  #team-sfl-bar .team-sfl-go { height:34px; padding:0 16px; border:0; border-radius:8px; background:#6c97d6; color:#0e1420; font:inherit; font-size:14px; font-weight:700; cursor:pointer; white-space:nowrap; }
  #team-sfl-bar .team-sfl-ws { display:none; }
  .team-sfl-tbs { display:none; }
  body.team-sfl-on #team-send-toast { bottom:96px; }
  body.team-sfl-on #toast { bottom:96px; }
  .team-sfl-box .team-sfl-grp { padding:10px 0 4px; border-top:1px solid var(--v5-line); }
  .team-sfl-box .team-sfl-gh { font-size:11px; font-weight:700; letter-spacing:.06em; color:var(--v5-text2); margin-bottom:6px; }
  .team-sfl-box .team-sfl-gs { font-weight:400; letter-spacing:0; color:var(--v5-text3); }
  .team-sfl-box .team-sfl-it { padding:6px 0; }
  .team-sfl-box .team-sfl-it--tr { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
  .team-sfl-box .team-sfl-it-h { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
  .team-sfl-box .team-sfl-nm { font-weight:600; }
  .team-sfl-box .team-sfl-kid { font-size:13px; color:var(--v5-text2); padding-left:12px; }
  .team-sfl-box .team-sfl-mv { font-size:12px; color:var(--v5-text3); }
  .team-sfl-box .team-sfl-fixed { font-size:12px; color:var(--v5-text3); margin-left:auto; }
  .team-sfl-box .team-sfl-seg { display:inline-flex; flex:0 0 auto; border:1px solid var(--v5-line); border-radius:8px; overflow:hidden; margin-left:auto; }
  .team-sfl-box .team-sfl-segb { height:28px; padding:0 10px; border:0; background:transparent; color:var(--v5-text2); font:inherit; font-size:12px; cursor:pointer; }
  .team-sfl-box .team-sfl-segb--on { background:color-mix(in srgb, var(--v5-team-ink) 16%, transparent); color:var(--v5-team-ink); font-weight:700; }
  .team-sfl-box .team-sfl-seg--sm .team-sfl-segb { height:24px; width:36px; padding:0; }
  .team-sfl-box .ts-row.team-sfl-person { display:grid; grid-template-columns:minmax(0, 1fr) 74px; align-items:center; column-gap:8px; width:100%; box-sizing:border-box; }
  .team-sfl-box .team-sfl-person .team-sfl-seg { justify-self:end; margin-left:0; }
  .team-sfl-box .team-sfl-pl { display:flex; align-items:center; gap:8px; flex:1 1 auto; min-width:0; }
  .team-sfl-box .team-sfl-team { margin-top:10px; font-size:12px; color:var(--v5-text2); }
  .team-sfl-box .team-sfl-team .team-sfl-tc { display:inline-flex; align-items:center; gap:4px; white-space:nowrap; margin:0; font-size:12px; font-weight:400; }
  .team-sfl-box .team-sfl-sum { margin-top:10px; font-size:13px; color:var(--v5-text2); }
  .team-sfl-box .team-sfl-nomail { display:block; margin:0 auto 12px; border:0; background:none; color:var(--v5-text3); text-decoration:underline; font:inherit; font-size:12px; cursor:pointer; }
  .team-sfl-box .team-sfl-nomail:disabled { opacity:.45; cursor:default; }
  #team-row-menu .team-sfl-mhint { padding:8px 12px 6px; border-top:1px solid var(--v5-line); font-size:12px; color:var(--v5-text3); }
  @media (max-width: 679px) {
    div.team-sfl-row.team-sfl-row.team-sfl-row.team-sfl-row { padding-left:44px; --v5-tree-x:68px; }
    div.team-sfl-row.team-sfl-row.team-sfl-row.team-sfl-kid { padding-left:44px; }
    span.team-sfl-cb { left:12px; }
    #team-sfl-bar.team-sfl-sticky { bottom:calc(10px + env(safe-area-inset-bottom)); gap:8px; padding:8px 8px 8px 12px; margin-top:12px; }
    #team-sfl-bar .team-sfl-what { display:none; }
    #team-sfl-bar .team-sfl-wl { display:none; }
    #team-sfl-bar .team-sfl-ws { display:inline; }
    #team-sfl-bar .team-sfl-clear { height:32px; width:32px; padding:0; font-size:18px; line-height:1; }
    #team-sfl-bar .team-sfl-go { height:36px; padding:0 14px; }
    .team-sfl-tbl { display:none; }
    .team-sfl-tbs { display:inline; }
    .team-sfl-box .team-sfl-seg { margin-left:0; }
  }
/* ══ ⟦send flow⟧ END ══ */
/* ══ ⟦asset actions⟧ ASSET ACTIONS (team): the row ⋯'s three groups (headings, a grey line under each choice, "✓ now"), the second grey
   label, the ⋮⋮ handle in the row's left padding, the drop marks (attributes, never classes: Organize's Safari rule) and the line that says
   what a drop does, the send flow bar's three buttons and its gold Send. One selector per rule; no v5- class of its own; no media query (a
   phone is a class the script sets). ══ */
  #team-row-menu .tsm-box[data-aax-menu] { width:340px; max-width:calc(100vw - 16px); }
  #team-row-menu .aax-h { padding:9px 12px 3px; font-size:11px; font-weight:700; letter-spacing:.1em; color:var(--v5-text3); }
  #team-row-menu .tsm-i.aax-o { display:flex; align-items:flex-start; gap:10px; width:100%; text-align:left; white-space:normal; line-height:1.3; }
  #team-row-menu .aax-ic { flex:0 0 18px; text-align:center; }
  #team-row-menu .aax-tx { display:flex; flex-direction:column; flex:1 1 auto; min-width:0; }
  #team-row-menu .aax-s { margin-top:2px; font-size:12px; font-weight:400; color:var(--v5-text3); }
  #team-row-menu .aax-now { flex:0 0 auto; margin-left:auto; padding-left:8px; font-size:12px; color:var(--v5-green); white-space:nowrap; }
  #team-row-menu .tsm-i.aax-o--cur { background:var(--v5-panel3); cursor:default; }
  #team-row-menu .tsm-i.aax-o--off { opacity:.5; cursor:default; }
  span.aax-tag { display:inline-flex; align-items:center; margin-left:8px; padding:1px 7px; border:1px solid var(--v5-line); border-radius:var(--v5-r-chip); background:var(--v5-panel3); color:var(--v5-text2); font-size:11.5px; font-weight:600; white-space:nowrap; vertical-align:2px; }
  span.aax-grip { position:absolute; left:3px; top:50%; transform:translateY(-50%); width:14px; text-align:center; color:var(--v5-text3); font-size:14px; letter-spacing:-3px; line-height:1; cursor:grab; user-select:none; -webkit-user-select:none; }
  span.aax-grip.aax-grip--none { visibility:hidden; }
  div:has(> span.aax-grip) { position:relative; }
  div[data-aax-over="on"][data-aax-over="on"][data-aax-over="on"] { outline:2px dashed var(--v5-team-ink); outline-offset:-2px; background:var(--v5-team-bg); }
  div[data-aax-over="above"][data-aax-over="above"][data-aax-over="above"] { box-shadow:inset 0 3px 0 var(--v5-team-ink); background:var(--v5-team-bg); }
  div[data-aax-over="below"][data-aax-over="below"][data-aax-over="below"] { box-shadow:inset 0 -3px 0 var(--v5-team-ink); background:var(--v5-team-bg); }
  [data-aax-dragging] span.aax-grip { cursor:grabbing; }
  #aax-dline { position:fixed; left:50%; bottom:96px; transform:translateX(-50%); z-index:320; max-width:calc(100vw - 32px); box-sizing:border-box; padding:9px 14px; border:2px dashed #6c97d6; border-radius:10px; background:#18202e; color:#9fb4ff; font-size:13.5px; pointer-events:none; }
  #team-sfl-bar .aax-bar { display:inline-flex; align-items:center; gap:8px; flex:0 0 auto; }
  #team-sfl-bar .aax-bb { height:34px; padding:0 12px; border:1px solid #5a7bb0; border-radius:8px; background:transparent; color:#e8eef8; font:inherit; font-size:14px; cursor:pointer; white-space:nowrap; }
  #team-sfl-bar.aax-bar-on { width:auto; max-width:min(1000px, calc(100vw - 32px)); }
  #team-sfl-bar.aax-bar-on .team-sfl-go { background:#e0aa45; color:#1b1406; }
  #team-sfl-bar.aax-bar--phone .aax-bar { gap:4px; }
  #team-sfl-bar.aax-bar--phone .aax-bb { height:32px; padding:0 8px; font-size:12px; }
/* ══ ⟦asset actions⟧ END ══ */
/* ══ ⟦open notes⟧ CSS: the asset row's open-notes chips, the header's count, the Send box's warning (team only; see the script block) ══ */
  .team-on-chip { display:inline-flex; align-items:center; gap:5px; margin-left:8px; padding:2px 8px; border-radius:var(--v5-r-pill); font:inherit; font-size:12.5px; font-weight:600; white-space:nowrap; cursor:pointer; vertical-align:2px; }
  .team-on-chip--t { color:var(--st-internal); background:rgba(var(--st-internal-rgb), .14); border:1px solid rgba(var(--st-internal-rgb), .42); }
  .team-on-chip--c { color:var(--v5-gold); background:rgba(var(--v5-gold-rgb), .12); border:1px solid var(--v5-line-gold); }
  .team-on-sum { color:var(--st-internal); }
  .team-on-warn { margin:10px 0 4px; padding:10px 12px; border-radius:var(--v5-r-box); border:1px solid rgba(var(--st-internal-rgb), .42); background:rgba(var(--st-internal-rgb), .10); font-size:14px; line-height:1.5; }
  .team-on-warn b { color:var(--st-internal); }
  .team-on-warn a { color:var(--st-internal); font-weight:600; cursor:pointer; }
  .team-on-warn .team-on-sub { color:var(--v5-text2); }
/* ══ ⟦open notes⟧ CSS END ══ */
/* ══ ⟦v6voice⟧ CSS: VOICE NOTES TO TEXT on the TEAM review page (see the script block of the same name). Drawn only for a team session on
   V6_VOICE_USERS; a client, a guest and an agency never get these elements. Colours are the review page's --rd- tokens (ink on a filled red / violet is --rd-card: dark ink in dark, white in light; ≥ 4.5:1 both ways); its own literal radii; no comma selector, no media rule. ══ */
  .v6-vo-mic { flex:0 0 auto; width:44px; height:44px; min-width:44px; box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; margin-left:auto; padding:0; border:1px solid var(--rd-violet); border-radius:50%; background:rgba(var(--rd-violet-rgb), .16); color:var(--rd-violet); cursor:pointer; touch-action:none; user-select:none; -webkit-user-select:none; -webkit-touch-callout:none; }
  .v6-vo-mic + .composer-send { margin-left:8px; }
  .v6-vo-mic.v6-vo-mic--rec { background:var(--rd-red); border-color:var(--rd-red); color:var(--rd-card); box-shadow:0 0 0 8px color-mix(in srgb, var(--rd-red) 18%, transparent); }
  .v6-vo-rec { display:flex; align-items:center; gap:10px; margin:0 0 8px; padding:8px 12px; border-radius:4px; background:var(--rd-inset); }
  .v6-vo-wave { flex:1 1 auto; min-width:0; height:28px; display:flex; align-items:center; gap:3px; overflow:hidden; }
  .v6-vo-wave i { display:block; flex:0 0 auto; width:3px; height:4px; border-radius:2px; background:var(--rd-red); }
  .v6-vo-time { flex:0 0 auto; color:var(--rd-red-fg); font-size:13px; font-variant-numeric:tabular-nums; }
  .v6-vo-hint { margin:0 0 8px; color:var(--rd-text-2); font-size:12px; text-align:center; }
  .v6-vo-note { margin:0 0 8px; color:var(--rd-text-2); font-size:13px; }
  .v6-vo-draft { margin:0 0 10px; padding:10px 12px; border:1px solid var(--rd-violet); border-radius:4px; background:var(--rd-card); color:var(--rd-text); }
  .v6-vo-dh { display:flex; align-items:center; gap:6px; margin-bottom:4px; color:var(--rd-violet); font-size:12px; }
  .v6-vo-tc { margin-right:6px; color:var(--rd-violet); font-weight:600; font-variant-numeric:tabular-nums; }
  .v6-vo-dt { display:block; width:100%; min-height:66px; box-sizing:border-box; padding:8px 10px; border:1px solid var(--rd-control-bd); border-radius:4px; background:var(--rd-inset); color:var(--rd-text); font:inherit; font-size:16px; line-height:1.45; resize:vertical; }
  .v6-vo-wait { color:var(--rd-text-2); font-size:14px; padding:6px 0; }
  .v6-vo-err { margin-top:6px; color:var(--rd-red-fg); font-size:13px; }
  .v6-vo-btns { display:flex; gap:8px; margin-top:9px; }
  .v6-vo-b { flex:1 1 0; min-height:44px; box-sizing:border-box; padding:0 8px; border:1px solid var(--rd-control-bd); border-radius:4px; background:transparent; color:var(--rd-text); font:inherit; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; cursor:pointer; }
  .v6-vo-b.v6-vo-b--pri { background:var(--rd-violet); border-color:var(--rd-violet); color:var(--rd-card); font-weight:600; }
  .v6-vo-b.v6-vo-b--client { border-color:var(--rd-gold); color:var(--rd-gold); }
/* ══ ⟦v6voice⟧ CSS END ══ */
/* ══ ⟦tr done⟧ TEAM REVIEW · DONE (team): the bar under the TEAM bar on the review page (team blue when asked, grey when not), its two
   buttons and the one line, the green / orange tags on a file's row and in the Send box, the message box's line under the Team only box.
   One selector per rule; never a v5 name; tokens, plus one orange for Needs changes (the mock's). ══ */
  .trx-bar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:10px 0 0; padding:12px 16px; border:1px solid var(--v5-team-line); border-radius:12px; background:var(--v5-team-bg); color:var(--v5-text); font-size:14px; box-sizing:border-box; }
  .trx-bar.trx-bar--asked { border-color:color-mix(in srgb, var(--v5-ts-team) 55%, transparent); background:var(--v5-ts-team-tint); }
  .trx-bar .trx-bar-t { flex:1 1 220px; min-width:0; }
  .trx-bar .trx-bar-t b { font-weight:700; }
  .trx-bar .trx-bar-t small { display:block; margin-top:2px; font-size:12.8px; color:var(--v5-text3); overflow-wrap:anywhere; }
  .trx-bar .trx-btn { height:34px; padding:0 14px; border:1px solid var(--v5-team-line); border-radius:9px; background:transparent; color:var(--v5-text2); font:inherit; font-size:14px; font-weight:600; cursor:pointer; white-space:nowrap; }
  .trx-bar .trx-btn--chg { border-color:color-mix(in srgb, #e8913f 55%, transparent); background:color-mix(in srgb, #e8913f 16%, transparent); color:color-mix(in srgb, #e8913f 70%, var(--v5-text)); }
  .trx-bar .trx-btn--ok { border-color:var(--v5-green); background:var(--v5-green); color:#ffffff; }
  .trx-bar .trx-btn:disabled { opacity:.55; cursor:default; }
  .trx-bar .trx-in { flex:2 1 260px; min-width:0; height:34px; padding:0 10px; border:1px solid var(--v5-team-line); border-radius:9px; background:transparent; color:var(--v5-text); font:inherit; font-size:14px; box-sizing:border-box; }
  .trx-bar .trx-err { flex:1 1 100%; font-size:12.5px; color:var(--v5-revise); }
  .trx-tags { display:inline-flex; gap:6px; flex-wrap:wrap; vertical-align:middle; }
  .trx-tags.trx-tags--row { display:flex; margin-top:5px; }
  .trx-tags:empty { display:none; }
  .trx-tag { display:inline-flex; align-items:center; height:20px; padding:0 8px; margin-left:6px; border-radius:var(--v5-r-chip); font-size:11.5px; font-weight:700; white-space:nowrap; }
  .trx-tags .trx-tag { margin-left:0; }
  .trx-tag.trx-tag--ok { background:var(--v5-done-tint); color:var(--v5-green); }
  .trx-tag.trx-tag--chg { background:color-mix(in srgb, #e8913f 18%, transparent); color:color-mix(in srgb, #e8913f 70%, var(--v5-text)); }
  .trx-cv { margin:6px 0 0; }
  .trx-cv:empty { display:none; }
  .trx-cv .trx-cv-opt { display:flex; align-items:center; gap:9px; flex-wrap:wrap; padding:8px 12px; border:1px solid color-mix(in srgb, var(--v5-ts-team) 50%, transparent); border-radius:9px; background:var(--v5-ts-team-tint); font-size:14px; font-weight:500; color:var(--v5-text); text-transform:none; letter-spacing:normal; cursor:pointer; }
  .trx-cv .trx-cv-opt + .trx-cv-opt { margin-top:6px; }
  .trx-cv .trx-cv-opt input { accent-color:var(--v5-ts-team); margin:0; }
  .trx-cv .trx-cv-h { margin-left:auto; font-size:12.5px; font-weight:400; color:var(--v5-text3); text-transform:none; letter-spacing:normal; }
/* ══ ⟦tr done⟧ END ══ */
  #team-send-full, #team-send-preview { position:fixed; inset:0; z-index:400; display:flex; align-items:center; justify-content:center; padding:16px; box-sizing:border-box; font-family:var(--v5-font); }
  #team-send-full .ts-scrim, #team-send-preview .ts-scrim { position:absolute; inset:0; background:var(--v5-menu-scrim, rgba(0,0,0,.55)); }
  .ts-f-box { position:relative; width:560px; max-width:100%; max-height:calc(100vh - 32px); display:flex; flex-direction:column; background:var(--v5-panel2);
    color:var(--v5-text); border:1px solid var(--v5-line); border-radius:14px; box-shadow:0 20px 50px rgba(0,0,0,.5); overflow:hidden; }
  /* ⟦item 879⟧ THE ADD ASSET DIALOG (TEAM-17): the quick send's near-black frame; tabs, a drop area, one line per file */
  #team-add { position:fixed; inset:0; z-index:400; display:flex; align-items:center; justify-content:center; padding:16px; box-sizing:border-box; font-family:var(--v5-font); }
  #team-add .ts-scrim { position:absolute; inset:0; background:var(--v5-menu-scrim, rgba(0,0,0,.55)); }
  #team-add label { margin:0; letter-spacing:normal; text-transform:none; }
  #team-add .tad-box { width:720px; background:var(--v5-bg); }
  .tad-tabs { display:flex; gap:4px; margin-top:12px; border-bottom:1px solid var(--v5-line); }
  .tad-tab { height:34px; padding:0 12px; border:0; border-bottom:2px solid transparent; background:none; color:var(--v5-text3); font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
  .tad-tab--on { color:var(--v5-text); border-bottom-color:var(--v5-team-ink); }
  .tad-drop { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; min-height:180px; border:1.5px dashed var(--v5-line); border-radius:12px; color:var(--v5-text2); cursor:pointer; }
  .tad-drop:hover { border-color:var(--v5-dim); }
  .tad-drop-h { font-size:16px; font-weight:700; color:var(--v5-text); }
  .tad-drop-s { font-size:13px; color:var(--v5-text3); }
  .tad-browse { color:var(--v5-team-ink); text-decoration:underline; }
  .tad-body { gap:10px; }
  .tad-v { display:inline-flex; align-items:center; gap:3px; height:30px; padding:0 8px; border:1px solid var(--v5-line); border-radius:8px; font-size:12px; font-weight:600; color:var(--v5-text3); }
  /* ⟦item 924⟧ .tad-v as well: the page-wide input[type="text"] rule (width 100%, padding, border, background) outranked the bare class,
     so the field spilled out of its box and covered the Stage choice beside it (TEST, Oct 22) */
  .tad-v .tad-v-in { width:30px; height:auto; border:0; border-radius:0; background:none; color:var(--v5-text); font:inherit; font-size:13px; padding:0; margin:0; outline:none; box-shadow:none; }
  .tad-line { display:flex; align-items:flex-start; gap:12px; padding:10px; border:1px solid var(--v5-line); border-radius:10px; background:var(--v5-panel2); }
  .tad-tile { flex:0 0 36px; width:36px; height:36px; border-radius:8px; display:inline-flex; align-items:center; justify-content:center; }
  .tad-main { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:6px; }
  .tad-name { font:inherit; font-size:14px; font-weight:600; color:var(--v5-text); background:var(--v5-bg); border:1px solid var(--v5-line); border-radius:8px; padding:6px 8px; box-sizing:border-box; width:100%; }
  .tad-name--locked { border-style:dashed; color:var(--v5-text2); }
  .tad-ctl { display:flex; flex-wrap:wrap; align-items:center; gap:6px; min-width:0; }
  .tad-sel { font:inherit; font-size:12px; height:28px; padding:0 8px; color:var(--v5-text); background:var(--v5-team-bg); border:1px solid var(--v5-team-line); border-radius:14px; max-width:100%; min-width:0; text-overflow:ellipsis; }   /* ⟦item 924⟧ a long "New version · R# of …" shrinks to the row, never past it */
  .tad-v { flex:0 0 auto; box-sizing:border-box; }
  .tad-stage-hint { font-size:11.5px; color:var(--v5-text3); }
  .tad-who { font-size:11.5px; color:var(--v5-text3); align-self:center; }   /* ⟦item 930⟧ the agency's "Who sees it" */
  .tad-stage-hint:empty { display:none; }
  /* ⟦item 942⟧ Part 1: ONE ROW — Name · Type · Version, a small label over each and its one grey line under it; a phone stacks them */
  .tad-row { display:grid; grid-template-columns:minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, 1.4fr); gap:10px; align-items:start; }
  .tad-f { display:flex; flex-direction:column; gap:4px; min-width:0; }
  .tad-fl { font-size:10.5px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--v5-text3); }
  .tad-fh { font-size:11.5px; line-height:1.35; color:var(--v5-text3); }
  .tad-fh--warn { color:var(--v5-text); font-weight:700; }
  .tad-verrow { display:flex; align-items:center; gap:6px; min-width:0; }
  .tad-verrow .tad-sel { flex:1 1 auto; }
  .tad-f--type .tad-sel { width:100%; }
  @media (max-width: 679px) { .tad-row { grid-template-columns:minmax(0, 1fr); } }
  /* ⟦item 942⟧ Part 2: the near match's question; Part 5: the cut chips (team blue: team work) */
  .tad-near { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:8px 10px; border:1px solid var(--v5-team-line); border-radius:9px; background:var(--v5-team-bg); font-size:13px; color:var(--v5-text); }
  .tad-near > span { flex:1 1 220px; }
  .tad-near-yes, .tad-near-no { height:28px; padding:0 11px; border-radius:8px; font:inherit; font-size:12.5px; font-weight:700; cursor:pointer; }
  .tad-near-yes { border:1px solid var(--v5-team-ink); background:var(--v5-team-ink); color:var(--v5-bg); }
  .tad-near-no { border:1px solid var(--v5-line); background:none; color:var(--v5-text); }
  .tad-cut { display:flex; flex-direction:column; gap:6px; }
  .tad-cut-chips { display:flex; flex-wrap:wrap; gap:5px; }
  .tad-chip { font:inherit; font-size:12px; height:26px; padding:0 10px; border-radius:13px; border:1px solid var(--v5-line); background:none; color:var(--v5-text2, var(--v5-text)); cursor:pointer; }
  .tad-chip--on { border-color:var(--v5-team-line); background:var(--v5-team-bg); color:var(--v5-team-ink); font-weight:700; }
  /* ⟦item 942⟧ Part 4: WHERE DOES IT GO? (one choice for the dialog) and its one button: blue for the team, gold when it reaches the client */
  .tad-where { display:flex; flex-direction:column; gap:6px; margin-top:4px; }
  .tad-where-opt { display:flex; gap:9px; align-items:flex-start; padding:8px 10px; border:1px solid var(--v5-line); border-radius:9px; font-size:13px; color:var(--v5-text); cursor:pointer; }
  .tad-where-opt input { margin:2px 0 0; accent-color:var(--v5-team-ink); }
  .tad-where-opt > span { display:flex; flex-direction:column; gap:2px; }
  .tad-where-opt--on { border-color:var(--v5-team-line); background:var(--v5-team-bg); }
  /* ⟦item 943⟧ the picked card follows its button: blue Team view, gold Client view (the dot too); unpicked stays neutral */
  .tad-where-opt { flex-direction:column; gap:0; }
  .tad-where-pick { display:flex; gap:9px; align-items:flex-start; cursor:pointer; }
  .tad-where-pick > span { display:flex; flex-direction:column; gap:2px; }
  .tad-where-opt--gold input { accent-color:var(--v5-gold); }
  .tad-where-opt--gold.tad-where-opt--on { border-color:var(--v5-line-gold); background:rgba(var(--v5-gold-rgb), .08); }
  .tad-round { display:flex; flex-direction:column; gap:8px; margin-top:9px; padding-top:9px; border-top:1px solid var(--v5-line-gold); }
  .tad-round-line { display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; font-size:13px; color:var(--v5-text); }
  .tad-sel--gold { background:rgba(var(--v5-gold-rgb), .10); border-color:var(--v5-line-gold); }
  .tad-round-was { flex:1 0 100%; }
  .tad-fh--v { text-align:right; }
  .tad-pd-line { display:flex; align-items:center; justify-content:space-between; gap:10px; }
  .tad-saving { flex:1 1 auto; margin-right:12px; font-size:12.5px; font-weight:600; color:var(--v5-text2); }   /* ⟦item 944⟧ until the server has the save */
  .tad-go-team { height:32px; padding:0 18px; border-radius:8px; border:1px solid var(--v5-team-ink); background:var(--v5-team-ink); color:var(--v5-bg); font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
  .tad-go-team:disabled { opacity:.45; cursor:default; }
  /* ⟦item 932⟧ Part 4: Publish details on a video / audio line (team blue: team work; the green tick is "already done") */
  .tad-pd { margin-top:8px; padding:9px 11px; border:1px solid var(--v5-line); border-radius:10px; display:flex; flex-direction:column; gap:6px; }
  .tad-pd-h { font-size:10.5px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--v5-text3); }
  .tad-pd-opt { display:flex; gap:9px; align-items:flex-start; padding:7px 9px; border:1px solid var(--v5-line); border-radius:9px; font-size:13px; color:var(--v5-text); cursor:pointer; }
  .tad-pd-opt input { margin:2px 0 0; accent-color:var(--v5-team-ink); }
  .tad-pd-opt--on { border-color:var(--v5-team-line); background:var(--v5-team-bg); }
  .tad-pd-sub { display:block; font-size:11.5px; color:var(--v5-text3); font-weight:400; }
  .tad-pd-form { display:flex; flex-direction:column; gap:6px; padding-left:4px; }
  .tad-pd-in { font:inherit; font-size:13px; padding:7px 9px; color:var(--v5-text); background:var(--v5-panel, transparent); border:1px solid var(--v5-line); border-radius:8px; min-width:0; box-sizing:border-box; width:100%; }
  textarea.tad-pd-in { resize:vertical; }
  .tad-pd-two { display:flex; flex-wrap:wrap; gap:6px; }
  .tad-pd-two > input[type="date"] { flex:0 0 150px; }
  .tad-pd-two > input[type="text"] { flex:1 1 180px; width:auto; }
  .tad-pd-plats { display:flex; flex-wrap:wrap; gap:5px; }
  .tad-pd-plat { font:inherit; font-size:12px; height:26px; padding:0 10px; border-radius:13px; border:1px solid var(--v5-line); background:none; color:var(--v5-text2, var(--v5-text)); cursor:pointer; }
  .tad-pd-plat--on { border-color:var(--v5-team-line); background:var(--v5-team-bg); color:var(--v5-team-ink); font-weight:700; }
  .tad-pd-setrow { display:flex; align-items:center; gap:9px; font-size:13px; color:var(--v5-text); }
  .tad-pd-ok { color:var(--v5-green); font-weight:800; }
  .tad-pd-st { flex:1; min-width:0; }
  .tad-pd-edit { font:inherit; font-size:12.5px; font-weight:700; color:var(--v5-team-ink); background:none; border:0; cursor:pointer; padding:4px 6px; }
  .tad-as--ver { color:var(--v5-text); border-color:var(--v5-team-btn-line); }   /* ⟦item 889⟧ TEAM-58: "add as a new version" goes nowhere yet: white outline, never gold */
  .tad-saved { font-size:11.5px; color:var(--v5-text3); overflow-wrap:anywhere; }
  #team-add .lk-dlg--tab { max-width:none; padding:0; border:0; background:none; }   /* the link form, unchanged, inside the tab */
  .tad-x { flex:0 0 28px; width:28px; height:28px; border:0; border-radius:14px; background:none; color:var(--v5-text3); font-size:14px; cursor:pointer; }
  .tad-x:hover { color:var(--v5-text); background:var(--v5-panel3); }
  .tad-more { align-self:flex-start; padding:4px 2px; font-size:13px; font-weight:600; color:var(--v5-team-ink); cursor:pointer; }
  /* ⟦item 880 step 4⟧ the safety net's line under a raw-looking file */
  .tad-raw { display:flex; align-items:center; flex-wrap:wrap; gap:6px 10px; padding:8px 10px; border-radius:8px; background:var(--v5-team-bg); border:1px solid var(--v5-team-line); font-size:12.5px; color:var(--v5-text); }
  /* ⟦item 960⟧ transcript footage: the grey source card, the transcript check box, the picker under the gold choice */
  .tad-foot-card { margin:10px 0 8px; padding:10px 12px; border-radius:9px; background:var(--v5-panel2); border:1px solid var(--v5-line); color:var(--v5-text2); font-size:12.5px; line-height:1.45; }
  .tad-foot-tr { display:flex; align-items:center; gap:8px; margin:0 0 10px; font-size:13px; font-weight:600; color:var(--v5-text); cursor:pointer; }
  .tad-foot-rcp { margin:8px 0 2px 26px; }
  .tad-raw-go { height:26px; padding:0 10px; border-radius:7px; border:1px solid var(--v5-team-ink); background:transparent; color:var(--v5-team-ink); font:inherit; font-size:12px; font-weight:600; cursor:pointer; }
  .tad-tab:focus-visible, .tad-x:focus-visible, .tad-sel:focus-visible, .tad-name:focus-visible { outline:2px solid var(--v5-team-ink); outline-offset:2px; }
  /* ⟦item 880⟧ + ADD RECORDINGS (TEAM-31): the project bar's BLUE team button (never gold); on a phone it lives in ⋯ */
  #team-bar .team-bar-rec { background:var(--v5-team-bg); color:var(--v5-team-ink); border:1px solid var(--v5-team-ink); }
  #team-bar .team-bar-rec:hover { background:var(--v5-team-line); }
  #team-bar .team-bar-ai { background:var(--v5-team-bg); color:var(--v5-team-ink); border:1px solid var(--v5-team-ink); }   /* ⟦item 965⟧ BLUE, a team-only tool */
  #team-bar .team-bar-ai:hover { background:var(--v5-team-line); }
  .cg-foot .cg-foot-ai { color:#8fb0ff; border-color:#8fb0ff; }
  /* ⟦item 965⟧ the AI tools panel: team blue, a phone by its .aipk--phone marker (no media query) */
  #aipk { position:fixed; inset:0; z-index:10050; background:rgba(0,0,0,.55); display:flex; justify-content:flex-end; font-family:inherit; }
  #aipk .aipk-box { width:min(780px,100vw); height:100%; overflow:auto; background:#16161b; color:#e9e9ee; border-left:1px solid #24344c; box-sizing:border-box; padding:18px 22px 28px; }
  #aipk.aipk--phone .aipk-box { width:100vw; padding:14px 14px 24px; border-left:0; }
  #aipk .aipk-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
  #aipk .aipk-eyebrow { font-size:11px; letter-spacing:.08em; font-weight:700; color:#8fb0ff; }
  #aipk .aipk-title { font-size:18px; font-weight:650; margin-top:4px; }
  #aipk .aipk-x { background:none; border:0; color:#a9a9b4; font-size:18px; cursor:pointer; padding:4px 8px; }
  #aipk .aipk-tabs { display:flex; gap:4px; margin:14px 0 12px; border-bottom:1px solid #2a2a33; }
  #aipk .aipk-tab { background:none; border:0; border-bottom:2px solid transparent; color:#a9a9b4; padding:8px 10px; cursor:pointer; font:inherit; font-size:14px; }
  #aipk .aipk-tab--on { color:#e9e9ee; border-bottom-color:#8fb0ff; }
  #aipk .aipk-sec { margin:12px 0; }
  #aipk label { text-transform:none; letter-spacing:normal; }   /* ⟦item 965b⟧ the page's labels are capitals; the panel's are sentence case */
  #aipk .aipk-lab { display:block; font-size:12px; font-weight:650; color:#a9a9b4; margin-bottom:6px; }
  #aipk .aipk-in { background:#1f1f26; color:#e9e9ee; border:1px solid #33333d; border-radius:8px; padding:7px 9px; font:inherit; font-size:14px; box-sizing:border-box; max-width:100%; }
  #aipk select.aipk-in { width:100%; }
  #aipk .aipk-ta { width:100%; resize:vertical; line-height:1.4; }
  #aipk .aipk-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:10px; }
  #aipk .aipk-fld { display:flex; flex-direction:column; gap:4px; font-size:12px; color:#a9a9b4; }
  #aipk .aipk-fld code { color:#80808b; font-size:11px; }
  #aipk .aipk-checks { display:flex; flex-wrap:wrap; gap:8px 16px; }
  #aipk .aipk-chk { display:flex; align-items:center; gap:6px; font-size:14px; }
  #aipk .aipk-row { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:8px 0; }
  #aipk .aipk-grow { flex:1 1 auto; min-width:0; }
  #aipk input.aipk-grow { min-width:160px; }
  #aipk .aipk-btn { background:#1f1f26; color:#e9e9ee; border:1px solid #4a4a55; border-radius:8px; padding:7px 12px; font:inherit; font-size:13px; cursor:pointer; white-space:nowrap; }
  #aipk .aipk-btn:disabled { opacity:.45; cursor:default; }
  #aipk .aipk-btn--team { background:#141d2a; color:#8fb0ff; border-color:#8fb0ff; }
  #aipk .aipk-btn--go { background:#2a55c9; color:#ffffff; border-color:#2a55c9; font-weight:650; }
  #aipk .aipk-btn--danger { color:#ff8a80; }
  #aipk .aipk-link { background:none; border:0; color:#8fb0ff; cursor:pointer; font:inherit; font-size:13px; padding:2px 4px; }
  #aipk .aipk-foot { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:16px; padding-top:12px; border-top:1px solid #2a2a33; }
  #aipk .aipk-quiet { color:#9a9aa6; font-size:13px; }
  #aipk .aipk-err { color:#ff8a80; font-size:13px; margin:10px 0; }
  #aipk .aipk-ok { color:#7fd49a; font-size:13px; margin:10px 0; }
  #aipk .aipk-note { color:#c8c8d2; font-size:13px; background:#1c1c22; border-radius:8px; padding:8px 10px; margin:8px 0; }
  #aipk .aipk-marked { font-size:13px; margin-top:6px; }
  #aipk .aipk-unm { margin:6px 0 0 18px; padding:0; color:#ffb74d; font-size:13px; }
  #aipk .aipk-runs { list-style:none; margin:0; padding:0; }
  #aipk .aipk-runrow { width:100%; text-align:left; background:#1c1c22; border:1px solid #2a2a33; border-radius:10px; color:inherit; padding:10px 12px; margin-bottom:8px; cursor:pointer; display:flex; flex-wrap:wrap; gap:4px 10px; font:inherit; }
  #aipk .aipk-rn { font-weight:650; }
  #aipk .aipk-runhead { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px; margin-bottom:10px; }
  #aipk .aipk-ptabs { display:flex; flex-wrap:wrap; gap:6px; margin:6px 0 12px; }
  #aipk .aipk-ptab { background:#1c1c22; border:1px solid #33333d; color:#c8c8d2; border-radius:999px; padding:5px 12px; cursor:pointer; font:inherit; font-size:13px; }
  #aipk .aipk-ptab--on { background:#141d2a; border-color:#8fb0ff; color:#8fb0ff; }
  #aipk .aipk-card { background:#1c1c22; border:1px solid #2a2a33; border-radius:12px; padding:12px 14px; margin-bottom:10px; }
  #aipk .aipk-card--kept { border-color:#8fb0ff; }
  #aipk .aipk-card--rej { opacity:.55; }
  #aipk .aipk-ct { font-weight:650; font-size:15px; margin-bottom:4px; }
  #aipk .aipk-tcl { font-size:13px; color:#c8c8d2; font-variant-numeric:tabular-nums; }
  #aipk .aipk-flags { display:flex; flex-wrap:wrap; gap:6px; margin:6px 0; }
  #aipk .aipk-flag { font-size:12px; border-radius:999px; padding:2px 8px; background:#24242b; color:#c8c8d2; }
  #aipk .aipk-flag--ok { background:#14281d; color:#7fd49a; }
  #aipk .aipk-flag--warn { background:#2e2412; color:#ffb74d; }
  #aipk .aipk-flag--bad { background:#2e1616; color:#ff8a80; }
  #aipk .aipk-q { font-size:14px; line-height:1.5; margin:8px 0; color:#e9e9ee; }
  #aipk .aipk-hook { font-size:13px; color:#c8c8d2; font-style:italic; }
  #aipk .aipk-det { margin-top:6px; font-size:13px; color:#c8c8d2; }
  #aipk .aipk-det summary { cursor:pointer; color:#8fb0ff; }
  #aipk .aipk-acts { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:8px; }
  #aipk .aipk-nudge { display:inline-flex; flex-wrap:wrap; align-items:center; gap:4px; font-size:12px; color:#9a9aa6; }
  #aipk .aipk-nb { background:#24242b; border:1px solid #33333d; color:#c8c8d2; border-radius:6px; padding:3px 7px; font:inherit; font-size:12px; cursor:pointer; }
  #aipk .aipk-sub { font-size:12px; font-weight:650; color:#a9a9b4; margin:14px 0 6px; }
  #aipk .aipk-pre { white-space:pre-wrap; font:inherit; font-size:14px; line-height:1.5; background:#1c1c22; border:1px solid #2a2a33; border-radius:10px; padding:10px 12px; margin:0; }
  #aipk .aipk-vo { font-size:14px; line-height:1.5; margin:8px 0; }
  #aipk .aipk-spk { font-size:11px; font-weight:700; letter-spacing:.06em; color:#8fb0ff; margin-right:6px; }
  /* ⟦item 1051⟧ Story Builder · Find picks: a panel docked over the right rail (Notes / Clips), the player and the words left as they are (a sheet on a phone). Team blue for everything internal; the
     ONE gold button is Send. Its light / dark follow the transcript's (data-theme from trTheme); the light values are the transcript
     TEAM bar's own (item 925). */
  #sbp, .sbp-pill { --sbp-bg:#111418; --sbp-panel:#181c21; --sbp-line:#2a313a; --sbp-text:#e8e8ea; --sbp-text2:#c9c9d1; --sbp-text3:#9a9aa4; --sbp-team-ink:#8fb0ff; --sbp-team-bg:#141d2a; --sbp-team-line:#24344c; --sbp-gold:var(--v5-gold); --sbp-on-gold:var(--v5-on-gold); --sbp-bad:#e08a8a; --sbp-ok:#5FBF8A; }
  #sbp[data-theme="light"], .sbp-pill[data-theme="light"] { --sbp-bg:#FBFAF8; --sbp-panel:#ffffff; --sbp-line:#E2DED7; --sbp-text:#16161c; --sbp-text2:#33333d; --sbp-text3:#5f5f6b; --sbp-team-ink:#2a55c9; --sbp-team-bg:#eef3fd; --sbp-team-line:#c3d0ee; --sbp-gold:#9a6a00; --sbp-on-gold:#ffffff; --sbp-bad:#B3261E; --sbp-ok:#2F6B4F; }
  #sbp { position:fixed; top:0; right:0; bottom:0; width:420px; z-index:10040; display:flex; flex-direction:column; background:var(--sbp-bg); color:var(--sbp-text); border-left:1px solid var(--sbp-team-line); font-family:inherit; box-sizing:border-box; }
  #sbp label { text-transform:none; letter-spacing:normal; }   /* the page's own label rule draws capitals (item 965b) */
  #sbp.sbp--phone { top:auto; left:0; width:auto; height:72vh; border-left:0; border-top:1px solid var(--sbp-team-line); border-radius:14px 14px 0 0; box-shadow:0 -8px 30px rgba(0,0,0,.35); }
  #sbp .sbp-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:16px 18px 12px; border-bottom:1px solid var(--sbp-line); }
  #sbp .sbp-eyebrow { font-size:11px; font-weight:700; letter-spacing:.08em; color:var(--sbp-team-ink); }
  #sbp .sbp-h { font-size:18px; font-weight:650; margin-top:2px; }
  #sbp .sbp-name { margin-top:2px; }
  #sbp .sbp-x { background:none; border:0; color:var(--sbp-text3); font-size:18px; cursor:pointer; padding:2px 6px; }
  #sbp .sbp-body { flex:1; overflow:auto; padding:6px 18px 18px; }
  #sbp .sbp-sec { margin-top:14px; }
  #sbp .sbp-lab { font-size:12px; font-weight:700; letter-spacing:.04em; color:var(--sbp-text2); text-transform:uppercase; margin-bottom:6px; }
  #sbp .sbp-row { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
  #sbp .sbp-grow { flex:1; }
  #sbp .sbp-quiet { font-size:12.5px; color:var(--sbp-text3); line-height:1.4; }
  #sbp .sbp-prompts { display:flex; flex-direction:column; gap:6px; }
  #sbp .sbp-pr { display:flex; align-items:flex-start; gap:10px; padding:9px 10px; border:1px solid var(--sbp-line); border-radius:10px; background:var(--sbp-panel); cursor:pointer; }
  #sbp .sbp-pr--on { border-color:var(--sbp-team-ink); background:var(--sbp-team-bg); }
  #sbp .sbp-pr input { margin-top:3px; accent-color:var(--sbp-team-ink); }
  #sbp .sbp-prt { flex:1; display:flex; flex-direction:column; gap:2px; font-size:13.5px; min-width:0; }
  #sbp .sbp-in { width:100%; box-sizing:border-box; background:var(--sbp-panel); color:var(--sbp-text); border:1px solid var(--sbp-line); border-radius:8px; padding:8px 10px; font:inherit; font-size:13.5px; margin-bottom:8px; }
  #sbp .sbp-ta { resize:vertical; line-height:1.45; }
  #sbp .sbp-runs { width:auto; max-width:220px; margin:0; padding:4px 8px; font-size:12.5px; }
  #sbp .sbp-go { display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
  #sbp .sbp-btn { background:transparent; color:var(--sbp-text2); border:1px solid var(--sbp-line); border-radius:8px; padding:6px 12px; font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
  #sbp .sbp-btn:disabled { opacity:.45; cursor:default; }
  #sbp .sbp-btn--team { background:var(--sbp-team-bg); color:var(--sbp-team-ink); border-color:var(--sbp-team-ink); }
  #sbp .sbp-btn--find { background:var(--sbp-team-bg); color:var(--sbp-team-ink); border-color:var(--sbp-team-ink); padding:9px 18px; font-size:14px; }
  #sbp .sbp-btn--go { background:var(--sbp-gold); color:var(--sbp-on-gold); border-color:var(--sbp-gold); padding:8px 16px; font-weight:700; }
  #sbp .sbp-link { background:none; border:0; padding:0; color:var(--sbp-team-ink); font:inherit; font-size:12.5px; font-weight:600; cursor:pointer; }
  #sbp .sbp-card { margin-top:10px; padding:12px; border:1px solid var(--sbp-line); border-radius:12px; background:var(--sbp-panel); }
  #sbp .sbp-card--kept { border-color:var(--sbp-team-ink); box-shadow:inset 3px 0 0 var(--sbp-team-ink); }
  #sbp .sbp-card--rej { opacity:.55; }
  #sbp .sbp-ct { display:flex; align-items:center; gap:8px; font-size:14.5px; font-weight:650; }
  #sbp .sbp-n { flex:none; width:22px; height:22px; border-radius:11px; display:inline-flex; align-items:center; justify-content:center; font-size:11.5px; background:var(--sbp-team-bg); color:var(--sbp-team-ink); border:1px solid var(--sbp-team-line); }
  #sbp .sbp-tc { font-size:12.5px; color:var(--sbp-text2); margin-top:4px; font-variant-numeric:tabular-nums; }
  #sbp .sbp-why { font-size:13px; color:var(--sbp-text); margin-top:6px; }
  #sbp .sbp-q { font-size:13px; color:var(--sbp-text3); margin-top:6px; line-height:1.45; }
  #sbp .sbp-flags { display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; }
  #sbp .sbp-flag { font-size:11.5px; padding:2px 7px; border-radius:6px; border:1px solid var(--sbp-line); color:var(--sbp-text3); }
  #sbp .sbp-flag--bad { color:var(--sbp-bad); border-color:var(--sbp-bad); }
  #sbp .sbp-flag--ok { color:var(--sbp-ok); border-color:var(--sbp-ok); }
  #sbp .sbp-nudge { margin-top:8px; display:flex; flex-direction:column; gap:4px; }
  #sbp .sbp-nrow { display:flex; align-items:center; gap:4px; flex-wrap:wrap; }
  #sbp .sbp-nlab { width:38px; font-size:12px; color:var(--sbp-text3); }
  #sbp .sbp-nb { background:transparent; border:1px solid var(--sbp-line); color:var(--sbp-text2); border-radius:6px; padding:2px 7px; font:inherit; font-size:12px; cursor:pointer; }
  #sbp .sbp-acts { display:flex; align-items:center; gap:8px; margin-top:10px; flex-wrap:wrap; }
  #sbp .sbp-state { font-size:12.5px; color:var(--sbp-text2); }
  #sbp .sbp-foot { display:flex; align-items:center; gap:10px; padding:12px 18px calc(12px + env(safe-area-inset-bottom)); border-top:1px solid var(--sbp-line); background:var(--sbp-bg); }
  #sbp .sbp-err { margin-top:12px; color:var(--sbp-bad); font-size:13px; }
  #sbp .sbp-ok { margin-top:12px; color:var(--sbp-ok); font-size:13px; }
  #sbp .sbp-busy { margin-top:10px; font-size:13px; color:var(--sbp-team-ink); }
  #sbp .sbp-note { margin-top:8px; font-size:12.5px; color:var(--sbp-text2); }
  .sbp-pill { position:fixed; right:22px; bottom:22px; z-index:10030; background:var(--sbp-team-bg); color:var(--sbp-team-ink); border:1px solid var(--sbp-team-ink); border-radius:20px; padding:9px 16px; font:inherit; font-size:14px; font-weight:650; cursor:pointer; box-shadow:0 6px 18px rgba(0,0,0,.3); }
  .tr-word.sbp-hl { background:rgba(143,176,255,.16); border-radius:3px; }
  .tr-word.sbp-hl--kept { background:rgba(143,176,255,.34); }
  #rv-transcript-view[data-theme="light"] .tr-word.sbp-hl { background:rgba(42,85,201,.10); }
  #rv-transcript-view[data-theme="light"] .tr-word.sbp-hl--kept { background:rgba(42,85,201,.22); }
  /* ⟦item 880⟧ THE ADD RECORDINGS DIALOG (TEAM-31): the Add asset dialog's frame (ts-f-*, tad-*), its own batch fields, camera lines and switches */
  #team-rec { position:fixed; inset:0; z-index:410; display:flex; align-items:center; justify-content:center; padding:16px; box-sizing:border-box; font-family:var(--v5-font); }
  #team-rec .ts-scrim { position:absolute; inset:0; background:var(--v5-menu-scrim, rgba(0,0,0,.55)); }
  #team-rec label { margin:0; letter-spacing:normal; text-transform:none; }
  #team-rec .trc-box { width:760px; background:var(--v5-bg); }
  .trc-batch { display:grid; grid-template-columns:120px 160px 1fr; gap:10px; }
  .trc-f { display:flex; flex-direction:column; gap:4px; min-width:0; }
  .trc-f-h { font-size:12px; font-weight:700; color:var(--v5-text2); }
  .trc-in { font-weight:500; height:34px; }
  .trc-raw { flex:0 0 36px; width:36px; height:36px; border-radius:8px; display:inline-flex; align-items:center; justify-content:center; font-size:10px; font-weight:800; letter-spacing:.06em;
    color:var(--v5-team-ink); background:var(--v5-team-bg); border:1px solid var(--v5-team-line); box-sizing:border-box; }
  .trc-name { font-size:14px; font-weight:600; color:var(--v5-text); overflow-wrap:anywhere; }
  .trc-take, .trc-meta { display:inline-flex; align-items:center; font-size:12px; color:var(--v5-text3); }
  .trc-sws { display:flex; flex-direction:column; gap:10px; padding-top:4px; }
  .trc-sw { display:flex; align-items:flex-start; gap:10px; cursor:pointer; }
  .trc-sw input { accent-color:var(--v5-team-ink); width:16px; height:16px; margin:2px 0 0; }
  .trc-sw-t { display:flex; flex-direction:column; gap:2px; }
  .trc-sw-h { font-size:14px; font-weight:600; color:var(--v5-text); }
  .trc-sw-s { font-size:12px; color:var(--v5-text3); }
  .ts-plain.trc-go { background:var(--v5-text); color:var(--v5-bg); border-color:var(--v5-text); }
  .ts-plain.trc-go:disabled { opacity:.5; cursor:default; }
  @media (max-width: 679px) {
    #team-rec { padding:0; align-items:flex-end; }
    #team-rec .trc-box { width:100%; max-height:92vh; border-radius:14px 14px 0 0; border:0; }
    #team-rec .ts-f-foot { padding-bottom:calc(16px + env(safe-area-inset-bottom)); }
    .trc-batch { grid-template-columns:1fr 1fr; }
    .trc-f--who { grid-column:1 / -1; }
  }
  .ts-f-head { padding:18px 20px 8px; }
  .ts-f-eyebrow { font-size:11px; font-weight:700; letter-spacing:.12em; color:var(--v5-text3); }
  .ts-f-title { margin:6px 0 0; font-size:20px; font-weight:800; letter-spacing:-.01em; line-height:1.25; }
  .ts-f-body { padding:8px 20px 12px; overflow-y:auto; display:flex; flex-direction:column; gap:18px; }
  .ts-sec { display:flex; flex-direction:column; gap:8px; }
  .ts-sec--row { flex-direction:row; align-items:center; gap:14px; }
  .ts-sec--row .ts-sec-h { white-space:nowrap; }
  .ts-sec-h { font-size:12px; font-weight:700; color:var(--v5-text2); }
  .ts-opt { font-weight:500; color:var(--v5-text3); }
  /* the page's bare `label` rule (small caps, muted, a bottom margin) is the sign-in form's; the dialog's rows are not form captions */
  #team-send-full label { margin:0; font-size:14px; font-weight:500; letter-spacing:normal; text-transform:none; color:var(--v5-text); }
  .ts-row { display:flex; align-items:center; flex-wrap:wrap; gap:4px 10px; font-size:14px; }
  .ts-row input { accent-color:var(--v5-team-ink); width:16px; height:16px; margin:0; }
  .ts-row-name { font-weight:600; }
  .ts-row-sub { font-size:12px; color:var(--v5-text3); }
  .ts-row--off .ts-row-name { color:var(--v5-text3); }
  /* ⟦item 909⟧ TEAM-64: each row's tag (New / Already sent / Not ready), its team label, its reason on the line under it */
  .ts-list { gap:10px; }
  .ts-row-lab { margin-left:4px; padding:1px 6px; border-radius:5px; background:var(--v5-chip); color:var(--v5-text3); font-size:11.5px; font-weight:600; }
  /* ⟦item 940⟧ "V3 as Round [2]": the round box sits inside the label chip, the chip's own size */
  /* ⟦item 940⟧ the Proof box's hint: light grey italic, gone on typing (a placeholder, never sample text) */
  .tra-proof::placeholder { color:var(--v5-text3); font-style:italic; opacity:1; }
  .ts-row-round { display:inline-flex; align-items:center; gap:4px; }
  .ts-round-in { width:2.6em; padding:0 4px; border:1px solid var(--v5-line); border-radius:4px; background:var(--v5-bg); color:var(--v5-text); font:inherit; text-align:center; }
  .ts-tag { margin-left:auto; padding:2px 8px; border-radius:6px; background:var(--v5-chip); color:var(--v5-text3); font-size:12px; font-weight:600; white-space:nowrap; }
  .ts-tag--new { color:var(--v5-gold); background:color-mix(in srgb, var(--v5-gold) 14%, transparent); }
  .ts-row > .ts-row-sub { flex-basis:100%; padding-left:26px; }
  .ts-row--off { opacity:.62; }
  .ts-row--off input:not([disabled]) { cursor:pointer; }
  .ts-mark { font-size:12px; }
  .ts-already { font-size:12px; color:var(--v5-text3); }
  .ts-chips { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
  .ts-note.ts-flag { color:var(--v5-bad); }   /* ⟦item 927⟧ the bounce warning (red: something went wrong, never gold) */
  .ts-chip { display:inline-flex; align-items:center; gap:4px; height:28px; padding:0 4px 0 10px; border-radius:14px; background:var(--v5-team-bg); border:1px solid var(--v5-team-line); font-size:13px; }
  .ts-chip-x { width:22px; height:22px; border:0; border-radius:11px; background:transparent; color:var(--v5-text2); font-size:15px; line-height:1; cursor:pointer; }
  .ts-add { display:inline-flex; align-items:center; gap:6px; }
  .ts-add-in, .ts-ab-in, .ts-msg { font:inherit; font-size:13px; color:var(--v5-text); background:var(--v5-bg); border:1px solid var(--v5-line); border-radius:8px; padding:6px 8px; box-sizing:border-box; }
  .ts-add-in { width:200px; }
  .ts-msg { width:100%; resize:vertical; }
  /* ⟦item 1021⟧ the picker's name line and Sign off as: ⟦item 1102⟧ both gone (one heading per video; the email always signs "Thanks, <name>") */
  .ts-when { display:flex; flex-direction:column; gap:6px; }
  .ts-when-opt { display:flex; align-items:center; gap:8px; font-size:14px; cursor:pointer; }
  .ts-when-opt input { accent-color:var(--v5-team-ink); margin:0; }
  .ts-ab { font-size:13px; color:var(--v5-text2); }
  /* ⟦item 919⟧ TEAM-75: the project dialog's groups (one per deliverable), its line under the title, a disabled send's reason */
  .ts-f-sub { margin-top:4px; font-size:13px; color:var(--v5-text3); }
  .ts-grp { display:flex; flex-direction:column; gap:10px; }
  .ts-grp + .ts-grp { margin-top:8px; padding-top:12px; border-top:1px solid var(--v5-line); }
  .ts-gh { margin:10px 0 2px; font-size:11.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }   /* ⟦item 946⟧ the two groups */
  .ts-gh:first-child { margin-top:0; }
  .ts-gh--gold { color:var(--v5-gold); }
  .ts-gh--blue { color:var(--v5-team-ink); }
  /* ⟦item 1012⟧ the picker's three parts (steel, no gold), files under their video on the tree line, one round label */
  .ts-gh--new { color:var(--v5-text2); }
  .ts-gh--again { color:var(--v5-text3); }   /* ⟦item 1102⟧ GREY (was purple #c89cf0: purple means team only / AI) */
  .ts-gh-note { margin-left:8px; font-size:11.5px; font-weight:400; letter-spacing:0; text-transform:none; color:var(--v5-text3); }
  .ts-row-round { margin-left:6px; font-size:12px; font-weight:400; color:var(--v5-text3); }
  .ts-row-when { margin-left:auto; padding-left:10px; font-size:12px; color:var(--v5-text3); white-space:nowrap; }
  #team-send-full .ts-list .ts-row { flex-wrap:nowrap; align-items:flex-start; }   /* ⟦item 1012⟧ a long name wraps beside its box, never under it */
  #team-send-full .ts-list .ts-row > input { margin-top:2px; flex:0 0 auto; }
  #team-send-full .ts-list .ts-row-name { flex:1 1 auto; min-width:0; }
  #team-send-full .ts-list .ts-row:has(> .ts-row-sub) { flex-wrap:wrap; }
  .ts-row--kid { position:relative; padding-left:34px; }
  /* ⟦item 1046⟧ the email's tree, the same here: ONE continuous 1.5px grey line (#3a3d44 on the dark dialog), equal stubs */
  .ts-row--kid::before { content:""; position:absolute; left:9px; top:0; bottom:0; width:1.5px; background:#3a3d44; }
  .ts-row--kid.ts-row--kid-last::before { bottom:50%; }
  .ts-row--kid::after { content:""; position:absolute; left:9px; top:50%; width:16px; height:1.5px; background:#3a3d44; }
  .ts-closed-toggle { display:block; margin-top:10px; }
  .ts-ab-hint { margin-left:10px; font-size:12px; color:var(--v5-text3); }
  .ts-people { display:flex; flex-direction:column; gap:6px; }
  .ts-addp { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
  .ts-addp .ts-add-in { flex:1 1 160px; }
  .ts-addp-err { flex-basis:100%; color:var(--v5-bad); }
  .ts-grp-h { display:flex; align-items:baseline; gap:10px; font-size:11.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-text3); }
  .ts-grp-n { margin-left:auto; font-weight:700; }
  .ts-grp-pv { font-size:12px; letter-spacing:normal; text-transform:none; }
  .ts-sec--row .ts-link { margin-left:2px; }
  .ts-why { padding:0 20px 14px; margin-top:-6px; }
  .ts-f-foot { display:flex; align-items:center; gap:10px; padding:12px 20px 16px; border-top:1px solid var(--v5-line); }
  .ts-gap { flex:1 1 auto; }
  /* ⟦item 1102⟧ THE SEND PICKER, CLEANED UP (mock send-picker-final / -final-preview): the items box (one steel heading per video, approve-by its
     last line), Who gets it | When side by side, the message, the footer's Show preview; the live preview to the right (under, on a narrow
     screen). Steel and grey only: no gold anywhere in the picker (the email inside the preview keeps its own). */
  #team-send-full .ts-f-box { width:780px; }
  #team-send-full .ts-f-box--pv { width:1320px; }
  #team-send-full .ts-f-cols { display:flex; flex:1 1 auto; min-height:0; }
  #team-send-full .ts-f-left { flex:1 1 56%; min-width:0; display:flex; flex-direction:column; min-height:0; }
  #team-send-full .ts-f-box:not(.ts-f-box--pv) .ts-f-left { flex-basis:100%; }
  #team-send-full .ts-f-eyebrow { text-transform:uppercase; }
  .ts-cap { font-size:11.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--v5-text3); }
  .ts-cap .ts-opt { margin-left:8px; font-size:12px; font-weight:500; letter-spacing:0; text-transform:none; }
  .ts-items { border:1px solid var(--v5-line); border-radius:12px; padding:12px 14px; gap:8px; }
  .ts-ep { display:flex; flex-direction:column; gap:8px; }
  .ts-ep + .ts-ep { margin-top:6px; }
  .ts-eph { font-size:11.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--v5-team-ink); }
  .ts-sb { display:flex; flex-direction:column; gap:8px; margin-top:4px; padding-top:8px; border-top:1px dashed var(--v5-line); }
  .ts-apb { display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; margin-top:4px; padding-top:10px; border-top:1px solid var(--v5-line); font-size:13px; }
  .ts-apb-l { color:var(--v5-text2); white-space:nowrap; }
  .ts-apb .ts-ab-hint { margin-left:0; }
  .ts-two { display:grid; grid-template-columns:minmax(0, 1.35fr) minmax(0, 1fr); gap:24px; align-items:start; }
  .ts-who, .ts-whencol { display:flex; flex-direction:column; gap:6px; min-width:0; }
  .ts-who--off { opacity:.45; }
  .ts-gh2 { margin-top:6px; font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--v5-text3); }
  .ts-role { padding:1px 7px; border-radius:5px; background:var(--v5-team-bg); color:var(--v5-team-ink); font-size:11px; font-weight:600; white-space:nowrap; }
  .ts-others { display:flex; flex-direction:column; gap:4px; padding:6px 10px; border:1px dashed var(--v5-line); border-radius:10px; }
  .ts-other { justify-content:space-between; flex-wrap:wrap; }
  .ts-other-l { display:flex; align-items:center; flex-wrap:wrap; gap:4px 10px; min-width:0; cursor:pointer; }
  .ts-other .ts-row-name { color:var(--v5-text2); }
  .ts-other--on .ts-row-name { color:var(--v5-text); }
  .ts-mm { font-size:12px; color:var(--v5-text3); }
  .ts-role-sel { height:24px; padding:0 6px; border:1px solid var(--v5-team-line); border-radius:6px; background:var(--v5-team-bg); color:var(--v5-team-ink); font:inherit; font-size:12px; }
  .ts-addp-open { align-self:flex-start; margin-top:2px; }
  .ts-when { gap:6px; }
  #team-send-full .ts-when-opt { padding:8px 10px; border:1px solid var(--v5-line); border-radius:8px; font-size:13.5px; }
  #team-send-full .ts-when-opt--on { background:var(--v5-team-bg); border-color:var(--v5-team-line); }
  /* ⟦item 1121⟧ (Jeffrey, Nov 13; mock send-dialog-fixed-mock): the three groups, the grey Not shown line, gold = goes to the client
     (the checked boxes, the chosen When, the send), the Sending state, and a person's row that only its box and name check (B). */
  #team-send-full .ts-when-opt--on { background:rgba(var(--v5-gold-rgb), .10); border-color:var(--v5-line-gold); }
  #team-send-full .ts-when-opt input, #team-send-full .ts-list .ts-row input, #team-send-full .ts-person input { accent-color:var(--v5-gold); }
  #team-send-full .ts-grp2 { display:flex; flex-direction:column; gap:8px; }
  #team-send-full .ts-grp2 + .ts-grp2 { margin-top:10px; }
  #team-send-full .ts-gh3 { font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--v5-text3); }
  #team-send-full .ts-grp2--ready .ts-gh3 { color:var(--v5-team-ink); }
  #team-send-full .ts-row--nr > .ts-row-name { color:var(--v5-text2); }
  #team-send-full .ts-nr-tag { flex:0 0 auto; margin-left:6px; padding:1px 7px; border-radius:5px; background:var(--v5-chip); color:var(--v5-text2); font-size:11px; font-weight:600; white-space:nowrap; }
  #team-send-full .ts-nr-tag--team { background:var(--v5-team-bg); color:var(--v5-team-ink); }
  #team-send-full .ts-notshown { margin-top:8px; font-size:11.5px; color:var(--v5-text3); }
  #team-send-full .ts-people .ts-person { align-self:flex-start; max-width:100%; cursor:pointer; }
  #team-send-full .ts-dropped { color:var(--v5-text2); }
  #team-send-full .ts-sending { display:inline-flex; align-items:center; gap:8px; opacity:1; background:rgba(var(--v5-gold-rgb), .32); border-color:transparent; color:var(--v5-text); cursor:progress; }
  #team-send-full .ts-spin { width:12px; height:12px; flex:0 0 auto; border-radius:50%; border:2px solid currentColor; border-right-color:transparent; animation:ts-spin .8s linear infinite; }
  @keyframes ts-spin { to { transform:rotate(360deg); } }
  .ts-pvw { flex:1 1 44%; min-width:0; display:flex; flex-direction:column; gap:10px; padding:18px 22px; overflow-y:auto; border-left:1px solid var(--v5-line); background:var(--v5-panel); }
  .ts-pvh { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
  .ts-pv-live-pill { padding:1px 8px; border-radius:999px; background:rgba(124,199,143,.14); color:#7cc78f; font-size:11.5px; font-weight:700; }
  .ts-pv-sw { display:flex; flex-wrap:wrap; gap:4px; margin-left:auto; }
  .ts-pv-who { padding:2px 8px; border:1px solid var(--v5-line); border-radius:6px; background:none; color:var(--v5-text2); font:inherit; font-size:12px; font-weight:600; cursor:pointer; }
  .ts-pv-who--on { background:var(--v5-chip); color:var(--v5-text); }
  .ts-pv-hdrs { display:grid; grid-template-columns:62px minmax(0, 1fr); gap:2px 8px; padding:8px 12px; border-radius:8px; background:var(--v5-bg); font-size:12.5px; color:var(--v5-text3); }
  .ts-pv-hdrs b { color:var(--v5-text); font-weight:600; overflow-wrap:anywhere; }
  .ts-pv-live { flex:1 1 auto; width:100%; min-height:520px; border:0; border-radius:10px; background:#fff; }
  @media (max-width: 1000px) {
    #team-send-full .ts-f-box--pv .ts-f-cols { flex-direction:column; overflow-y:auto; }
    #team-send-full .ts-f-box--pv .ts-f-left { flex:0 0 auto; }
    #team-send-full .ts-f-box--pv .ts-f-body { overflow:visible; }
    #team-send-full .ts-pvw { flex:0 0 auto; overflow:visible; border-left:0; border-top:1px solid var(--v5-line); }
  }
  @media (max-width: 679px) { .ts-two { grid-template-columns:minmax(0, 1fr); gap:16px; } }
  .ts-pv-box { position:relative; width:680px; max-width:100%; height:calc(100vh - 32px); display:flex; flex-direction:column; background:var(--v5-panel2); border:1px solid var(--v5-line); border-radius:14px; overflow:hidden; }
  .ts-pv-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 14px; font-size:13px; color:var(--v5-text2); border-bottom:1px solid var(--v5-line); }
  .ts-pv-frame { flex:1 1 auto; width:100%; border:0; background:#fff; }
  #team-send-toast { position:fixed; left:50%; bottom:24px; z-index:450; transform:translate(-50%, 20px); opacity:0; pointer-events:none; display:flex; align-items:center; gap:14px;
    max-width:calc(100vw - 32px); padding:12px 16px; border-radius:12px; background:var(--v5-menu-bg, #1c1c22); color:var(--v5-text); border:1px solid var(--v5-team-line);
    box-shadow:0 10px 30px rgba(0,0,0,.45); font-family:var(--v5-font); font-size:14px; overflow:hidden; transition:opacity .15s, transform .15s; box-sizing:border-box; }
  #team-send-toast.show { opacity:1; transform:translate(-50%, 0); pointer-events:auto; }
  .ts-t-undo { background:none; border:0; padding:0; font:inherit; font-weight:700; color:var(--v5-team-ink); cursor:pointer; }
  .ts-t-clock { position:absolute; left:0; bottom:0; height:2px; width:100%; background:var(--v5-team-ink); transform-origin:left; animation:ts-clock linear forwards; }
  @keyframes ts-clock { from { transform:scaleX(1); } to { transform:scaleX(0); } }
  @media (max-width: 679px) {
    #team-send-quick .ts-scrim { display:block; position:fixed; inset:0; z-index:300; background:var(--v5-menu-scrim, rgba(0,0,0,.55)); }
    #team-send-quick .ts-q-box { position:fixed; left:0; right:0; top:auto; bottom:0; z-index:301; width:auto; max-width:none; border-radius:14px 14px 0 0;
      padding:18px 16px calc(16px + env(safe-area-inset-bottom)); }
    #team-send-quick .ts-q-btns { flex-direction:column-reverse; align-items:stretch; gap:10px; }
    #team-send-quick .ts-q-btns .ts-gold, #team-send-quick .ts-q-btns .ts-link { height:48px; font-size:16px; border-radius:10px; }
    #team-send-quick .ts-q-btns .ts-link { border:1px solid var(--v5-team-line); }
    #team-send-full { padding:0; }
    #team-send-full .ts-f-box { width:100%; height:100%; max-height:none; border-radius:0; border:0; }
    #team-send-full .ts-f-foot { padding-bottom:calc(16px + env(safe-area-inset-bottom)); flex-wrap:wrap; }
    #team-send-full .ts-f-foot .ts-gold, #team-send-full .ts-f-foot .ts-steel { flex:1 1 100%; height:48px; font-size:16px; order:3; }
    .ts-add-in { width:160px; }
  }
  /* Server-enforced (the isPreview gate in the worker's dispatcher) — these rules are the
     client-side courtesy, not the mechanism. A path missed here still gets refused there. */
  body.is-preview .decision-btns,
  body.is-preview .rv-composer,
  body.is-preview .md-btn-approve,
  body.is-preview .md-btn-changes,
  body.is-preview .msg-send {
    pointer-events:none; opacity:0.4; cursor:not-allowed;
  }
