
  /* ══ v5 CLIENT SHELL — THE PROJECT PAGE (item 647) ════════════════════════════════════════
       ⚠️ EVERY SELECTOR BEGINS `.v5 ` AND EVERY CLASS BEGINS `v5-`, AND BOTH HALVES ARE
       LOAD-BEARING FOR DIFFERENT REASONS. The `.v5 ` ancestor is the rollout brief's own rule
       ("Every new rule is scoped under .v5 … Root element gets class="v5" when the flag is on"),
       and it is what makes flag-off provably inert: with no `v5` class on <html> not one rule
       below can match anything, whatever markup exists. The `v5-` prefix is the separate promise
       that no v4 class name is restyled — so a v4 element cannot be caught by a v5 rule even if
       someone later drops the ancestor. checks/v5-flag-off-identity.mjs §5 asserts both.
       ⚠️ NO COLOUR LITERAL ANYWHERE IN THIS BLOCK — every value is an existing custom property.
       The prototype's own hexes are banned by checks/asset-type-palette.mjs and
       checks/client-work-screen.mjs §4, which scan the JOINED stylesheet and would not care that
       these rules are unreachable. ⚠️ AND THOSE LITERALS MUST NOT BE QUOTED EVEN IN PROSE: §4's
       scan blanks JS comments, not HTML ones, so naming the handoff's amber here in order to
       forbid it turned that guard red on this block's first run. The ban is named by GUARD, not
       by value, for that reason.
       ⚠️ GOLD APPEARS TWICE AND ONLY TWICE — the owed chip and the owed action. That is spec §3's
       "Gold means one thing: you owe us something", and it is the rule a later card/shelf pass is
       most likely to erode.
       ⚠️ REVISING IS --st-revision, NOT THE SPEC'S PURPLE #c98fb5. Two reasons, both recorded:
       a literal is banned here, and the file's only violet token carries the comment
       "violet = internal only, never client-visible", so borrowing it for a client row would
       contradict a ⚠️ rather than follow one. --st-revision is already the client's
       changes-requested ink by an explicit ruling (item 637). Deviation from the spec, stated.
       ⚠️ NO @media BLOCK. Responsive is a later step, and the guards that iterate this stylesheet
       parse rules with a flat `{…}` matcher that an at-rule confuses. Adding breakpoints means
       teaching them first.
     ⚠️ ITEM 648 — THIS BANNER SITS INSIDE THE STYLESHEET, AND THAT IS THE FIX, NOT A TIDY-UP.
     It shipped opening with an HTML comment opener and closing with a CSS comment terminator.
     The browser therefore never met a closer, ran the comment on to the NEXT one in the file
     (the "Add / Edit Team Member" block some sixty lines below) and SWALLOWED this entire
     stylesheet: four style blocks in the source, three in the DOM, and 0 of 3,984 parsed rules
     carrying a `.v5 ` selector. The page rendered with native buttons and an unstyled banner.
     ⚠️ THE MISTAKE WAS CONTEXT, NOT TYPING. Every other banner of this shape in this file sits
     INSIDE a stylesheet, where the CSS form is correct; this one sat between two stylesheet
     blocks, which is HTML context. Moving it inside removes the CHOICE rather than asking the
     next author to make it correctly — a hazard you must remember a rule to avoid is documented,
     not mitigated (this file's own standing rule, and the reason the guard below was widened).
     ⚠️ AND THE PROSE HERE NAMES NO TAG LITERALLY. A stylesheet comment quoting an opening tag is
     the same context ambiguity one layer up: it makes any source-side count of those blocks
     disagree with the DOM on CORRECT code, which is exactly the measurement the new guard needs
     to be able to trust. */
  /* ⚠️ ITEM 650 — `main` CARRIES `padding: 3rem 3rem 6rem`, AND THAT TOP 3rem WAS THE GAP above
     the banner on every project. Zeroed for v5 only, scoped under `.v5` so v4's own pages keep the
     spacing they were designed with. The side padding stays: it is what keeps the column off the
     rail. */
  /* ══ ITEM 657 — THE v5 TOKEN BLOCK ══════════════════════════════════════════════════════════
     ⚠️ THE ONLY PLACE IN THE v5 STYLESHEET A COLOUR LITERAL MAY APPEAR. Every rule below reads a
     token; checks/v5-flag-off-identity.mjs §5 allows hex inside THIS declaration block and nowhere
     else in the v5 rules. Values are the prototype's (design/v5/portal-prototype.html :root) —
     STANDING RULING, item 657: the v5 client shell is held to the prototype's LOOK, not to the
     brand guide. Two things are NOT loosened and are encoded here as tokens that point at MEANING:
       · --v5-gold is the PROTOTYPE's gold, #f5a524 (item 660 #6). It was var(--rd-gold) because
         checks/client-work-screen.mjs §4 banned #f5a524 across the whole file — a ban written
         when the brand guide was binding, and item 657 released the v5 shell from the guide. That
         ban now applies to every v4 rule and NOT to this token block (a deliberate narrowing,
         recorded there and in CLAUDE-HISTORY 660). The MEANING is unchanged: GOLD = THE CLIENT
         OWES US SOMETHING, and nothing else on a v5 surface — only the hue moved. The dark on-gold
         text (--v5-on-gold, the page tone) reads at ~9:1 on it; v5-polish.mjs §2 measures it.
       · nothing internal-only reaches a client BANNER, BACKGROUND, BADGE or STATUS: the violet is
         excluded there by palette lookup (v5InternalColour), never by a hex named here. ⚠️ Item 697
         NARROWED this for TYPE TILES, which show all twelve palette colours (ruled 2026-09-23 — a
         tile colour says what kind of file it is). The BANNER derives
         nothing since item 659 B6 — its gradient is the three fixed stops below, the prototype's
         .pbanner, the same on every project.
     ⚠️ --v5-banner-c (#3a2b3f) IS NOT THE INTERNAL VIOLET (--rd-violet #b08cf5, hsl 261° 84% 75%);
       it is a dark, desaturated plum (hsl 285° 19% 21%). It IS within 10 RGB units of the
       transcript tile FILL (#3D2F47, the palette's dark tint) — recorded in CLAUDE-HISTORY 659, not
       hidden. The banner's meaning is what changed: a fixed gradient reports nothing about the
       work, which is the rule item 656 protected.
     Radius scale (item 657 #11): 12 cards / 8 tiles+buttons / 5 chips. Progress bars are 2px
     (a hairline, not a shape) and avatars 50% — both outside the scale on purpose, named. The
     banner is 14px (item 659 B6, the prototype's .pbanner) — a named exception, its own token.
     Scoped on `.v5` itself: with no class on <html> not one of these exists. */
  .v5 {
    --v5-cv-ink-violet-dk:#cdbcf5; --v5-cv-blue-dk:#5d9cd6; --v5-cv-ink-violet-lt:#5a3ea8; --v5-cv-blue-lt:#2f6aa3; --v5-cv-white:#fff; --v5-cv-av:#3d6f9e; --v5-cv-av-client:#5c6370; --v5-cv-av-mail:#2b3949; --v5-cv-frame:#f4f4f2; --v5-cv-teal-dk:#6fcfc4; --v5-cv-teal-lt:#1f7a72; --v5-cv-av-note:#6b56b3;   /* ⟦item 1097⟧ the team Conversation page's own inks (its bubbles read --td-* and these) */
    --v5-p50-team:#3a6aa8; --v5-p50-client:#2f7a5a; --v5-p50-agency:#a87a2a; --v5-p50-seen:#8ea3e6;   /* ⟦item 1250⟧ Messages: who is talking (team, client, agency) and the ✉ client-seen line */
    --v5-tip-edge:#3d6f9e; --v5-tip-bg:#1d2530;
    --v5-note:var(--at-transcript-ring); --v5-note-bg:#2a2338;   /* ⟦item 1050⟧ a team note on Activity: the palette's violet (#b08cf5, the transcript ring — never a copy of it; light: the light block) */   /* ⟦item 1045⟧ ONE TIP STYLE: a steel edge on a steel-dark tint (light: #eef3f9, the light block) — never gold */
    --v5-tree:#3a3a43;   /* ⟦item 984⟧ TEAM-96 C: the tree line (2px) */
    /* ⚠️ --v5-banner-b REFERENCES the palette's video fill rather than restating it: the
       prototype's middle stop is #2C3A4A, byte-equal to the video tint in
       asset-type-colours-final.md, and checks/asset-type-palette.mjs forbids that value written
       anywhere but the palette (a copy is how six disagreeing tables happened). A reference to a
       CONSTANT property is not a per-project derivation — the banner is still the same on every
       project; only the source of one hex is the md, as it must be. */
    --v5-banner-a:#1d3346; --v5-banner-b:var(--at-video-fill); --v5-banner-c:#3a2b3f; --v5-r-banner:14px;
    --v5-cpd-white:#fff; --v5-cpd-on-white:#111114; --v5-cpd-white-hover:#e9e9ee; --v5-cpd-stage:#000;   /* ⟦item 867⟧ Completed's white Download all, its hover, the drawer player's stage */
    --v5-bg:#0d0d0f; --v5-panel:#111114; --v5-panel2:#17171b; --v5-panel3:#131317;
    --v5-line:#26262c; --v5-line-soft:#1e1e22; --v5-line-dim:#202026;
    --v5-text:#e8e8ea; --v5-text2:#c9c9d1; --v5-text3:#9a9aa4; --v5-muted:#8c8c97; --v5-dim:#6e7681;
    --v5-chip:#2a2a30; --v5-slate:#8FB8D4; --v5-slate-bg:#1b2c38;
    /* ⟦M2⟧ Messages: a NEW team reply — blue, never gold (nothing is owed); the mock's #7fa6c9 */
    --v5-new:#7fa6c9; --v5-new-bg:#1b232c; --v5-new-line:var(--at-video-fill);
    --v5-green:#63c08f; --v5-green-bar:#4ea87a;
    /* Item 696: the WITH US badge's mauve (the Sep 23 ruling's --revise, #c98fb5). A REFERENCE to
       --client-revising (item 649's token, the revising status line's ink) rather than a second
       copy of the hex — one mauve, so the badge and the line it sits beside cannot drift apart. */
    --v5-revise:var(--client-revising);
    /* (item 696's --v5-revise-line, the .45 mauve OUTLINE, retired by item 737 — no label outlines now.) */
    --v5-gold:#f5a524; --v5-gold-rgb:245,165,36; --v5-on-gold:var(--v5-bg);
    --v5-rf-doc:#d8b86a;   /* ⟦item 854⟧ the release forms' doc icon (mock RF-8) — a muted gold for the icon alone; nothing is owed there */
    /* ⚠️ ITEM 737 — THE STATUS-LABEL FAMILY (design/v5/review-page-design-ruling.md §21): every client status label is a
       small FILLED TINT, no border, 6px corners, uppercase 11px / 700 / .06em. Four tints, one ink each: OWED = gold at
       .14 behind the gold ink (light re-declares the ink darker — gold text on a light page is unreadable), APPROVED =
       the ruled rgba(99,192,143,.12) behind --v5-green, WITH US = the mauve at .14 behind --v5-revise, REFERENCE and
       CLOSED = the chip grey behind --v5-text3. SOLID GOLD IS FOR BUTTONS ONLY from here (.v5-act, .v5-hero-gold,
       .v5-strip-go, Approve, the transcript's finish button) — a status label never fills solid. */
    --v5-r-status:6px; --v5-owed-ink:var(--v5-gold); --v5-owed-tint:rgba(var(--v5-gold-rgb), .14);
    --v5-withus-tint:rgba(var(--client-revising-rgb), .14); --v5-done-tint:rgba(99,192,143,.12); --v5-ref-tint:var(--v5-chip);
    /* Item 722: a section whose save FAILED — its state word and its border (the mock's #e08a8a). */
    --v5-bad:#e08a8a; --v5-bad-line:rgba(224,138,138,.45);
    /* Item 734: the Selects "Liked" chip's tint (the mock's rgba(111,212,154,.12)) — and light re-declares it. */
    --v5-liked-bg:rgba(111,212,154,.12); --v5-stage:#07080a; --v5-play-bg:rgba(255,255,255,.14);
    /* ⟦item 780⟧ the release schedule's URGENT orange (2 days or fewer to approve) — the boards' #f0883e — and its tint. */
    --v5-urgent:#f0883e; --v5-urgent-tint:rgba(240,136,62,.15); --v5-sch-today:#1a1a20;
    --v5-line-gold:rgba(var(--v5-gold-rgb), .30);
    /* ⟦item 1016⟧ the Reports page's own palette, from design/reports/portal-reports-mock.html (plan blue, used orange, scheduled yellow,
       on-track green, filming purple, expenses periwinkle; the hero's wash; the green year-to-date box) */
    --v5-rp-plan:#4f8cff; --v5-rp-used:#f0913f; --v5-rp-sch:#f4c95d; --v5-rp-ok:#5fbf7a; --v5-rp-film:#c77dff; --v5-rp-exp:#9aa0ff; --v5-rp-over:#ff6b6b;
    --v5-rp-hero-a:#4a3550; --v5-rp-hero-b:#2b2533; --v5-rp-hero-c:#1d1d22; --v5-rp-hero-d:#1a1a1d; --v5-rp-hero-sub:#d0d0d5; --v5-rp-hero-eye:#b9b9bf;
    --v5-rp-card:#1c1c20; --v5-rp-ok-bg:#141c17; --v5-rp-ok-line:#2f5a3a; --v5-rp-banner-bg:#1c2a20; --v5-rp-banner-line:#2f4a36;
    --v5-rp-gold-bg:#1f1d17; --v5-rp-gold-line:#4a4127; --v5-rp-pill-line:#3a3220; --v5-rp-track:#0f1115;
    /* ⟦item 1028⟧ the Reports' LIGHT colours (the printed sheet's): near-white page, dark ink, bars darkened to stay readable on white
       (each checked ≥ 3:1 against the card, the ink ≥ 7:1), gold accents for a client, steel #3d6f9e for the team */
    --v5-rp-lt-bg:#f6f6f3; --v5-rp-lt-card:#ffffff; --v5-rp-lt-ink:#16161a; --v5-rp-lt-ink2:#3f4250; --v5-rp-lt-ink3:#5d6070; --v5-rp-lt-line:#d9dce3; --v5-rp-lt-panel2:#eef0f3;
    --v5-rp-lt-plan:#2b5bbf; --v5-rp-lt-used:#b45309; --v5-rp-lt-sch:#8a6a00; --v5-rp-lt-ok:#1e7a46; --v5-rp-lt-over:#b42318; --v5-rp-lt-film:#7b3fb3; --v5-rp-lt-exp:#4b52c4;
    --v5-rp-lt-gold:#8a5a00; --v5-rp-lt-steel:#3d6f9e; --v5-rp-lt-ok-bg:#eef7f1; --v5-rp-lt-ok-line:#9fd1b4; --v5-rp-lt-gold-bg:#fbf4e4; --v5-rp-lt-gold-line:#e3c98e; --v5-rp-lt-track:#e7e9ee;
    --v5-rp-lt-hero-a:#ece6f2; --v5-rp-lt-hero-b:#f3f0f6; --v5-rp-lt-hero-c:#f7f6f8; --v5-rp-lt-hero-d:#fafafa;
    /* ⟦item 1055⟧ THE SHARED LIGHT SET, EXTENDED for the team pages (THEME-1): 1028's Reports values above are the base (page, card, ink,
       line, gold #8a5a00, steel #3d6f9e, green, red); these add what a team page needs and a report did not. Text inks checked ≥ 4.5:1
       on the white card AND on the page (#f6f6f3), computed (WCAG 2): steel 5.30 / 4.89, violet #6a3fc0 6.81 / 6.29, mauve #8a4579
       6.55 / 6.05, gold #8a5a00 5.93 / 5.47, dim #646775 5.62 / 5.19, red #b42318 6.57 / 6.07, green #1e7a46 5.35 / 4.94, orange #b45309 5.02 / 4.64. */
    --v5-rp-lt-panel3:#f3f4f6; --v5-rp-lt-line-soft:#e6e8ed; --v5-rp-lt-dim:#646775; --v5-rp-lt-bg-rgb:246,246,243;
    --v5-rp-lt-gold-rgb:138,90,0; --v5-rp-lt-on-gold:#ffffff; --v5-rp-lt-owed-tint:rgba(138,90,0,.11);
    --v5-rp-lt-steel-pale:#ebf1f7; --v5-rp-lt-steel-line:#b9c9da; --v5-rp-lt-btn-line:#b4b8c2;
    --v5-rp-lt-violet:#6a3fc0; --v5-rp-lt-violet-bg:#f1ebfc; --v5-rp-lt-mauve:#8a4579; --v5-rp-lt-mauve-tint:rgba(138,69,121,.11); --v5-rp-lt-mauve-tile:#f3e6f0;
    --v5-rp-lt-done-tint:rgba(30,122,70,.11); --v5-rp-lt-bad-tint:rgba(180,35,24,.09); --v5-rp-lt-bad-line:rgba(180,35,24,.4); --v5-rp-lt-urgent-tint:rgba(180,83,9,.11);
    --v5-rp-lt-wash:rgba(0,0,0,.03); --v5-rp-lt-wash-2:rgba(0,0,0,.06); --v5-rp-lt-fill:rgba(0,0,0,.05); --v5-rp-lt-fill-line:rgba(0,0,0,.14); --v5-rp-lt-fill-hover:rgba(0,0,0,.08);
    --v5-rp-lt-ghost:rgba(0,0,0,.2); --v5-rp-lt-tab-line:rgba(0,0,0,.45); --v5-rp-lt-shadow:0 16px 40px rgba(16,24,40,.16);
    --v5-rp-lt-tnote-bg:#f3f4f6; --v5-rp-lt-tnote-line:#9a9eab;
    --v5-rust:#e0a07a; --v5-rp-lt-rust:#a0522d; --v5-rust-dk:#e0a07a;   /* ⟦item 1072⟧ --v5-rust-dk: 1061's dark rust, never remapped (Communication keeps its own ☾ / ☀) */
      /* ⟦item 1061⟧ RAIL-4 (12): the TEAM bar's "Edit overdue" — a calm rust, never red (dark / light) */
    /* ⟦item 1066⟧ HOME-2 — THE TEAM's LIGHT SET (Jeffrey, Nov 9): the page a darker cool grey with white cards on it; the header and the rail
       pure white with a #dfe3e8 hairline; small grey labels #555a63. Team pages only (the remap below names them; a client, a guest and a
       See-as-client tab never carry its classes). Each text ink checked ≥ 4.5:1 on the page #dfe4ea, the white card and the Needs you box
       #eef3f8 (computed, WCAG 2): ink3 / meta #555a63 5.42 / 6.93 / 6.21; steel #396793 4.65 / 5.94 / 5.32 (1055's #3d6f9e is 4.14 on
       #dfe4ea: one step darker); green #1c7141 4.71 / 6.02 / 5.39; orange #a24b08 4.63 / 5.92 / 5.30; amber #8a5a0b 4.63 / 5.92 / 5.30;
       rust #a0522d 5.62 on white / 5.03 on #eef3f8 (4.39 on the page: it is drawn on a card only). The gold BUTTON (both themes): #FBB03B
       with #3a2600 text, 7.81:1. */
    --v5-tl-page:#dfe4ea; --v5-tl-page-rgb:223,228,234; --v5-tl-card:#ffffff; --v5-tl-line:#dfe3e8; --v5-tl-meta:#555a63;
    --v5-tl-steel:#396793; --v5-tl-steel-pill:#e8eef5; --v5-tl-green:#1c7141; --v5-tl-orange:#a24b08; --v5-tl-amber:#8a5a0b; --v5-tl-rust:#a0522d;
    --v5-tl-needs-bg:#eef3f8; --v5-tl-needs-line:#b9cde2; --v5-tl-needs-hover:#e2eaf3; --v5-tl-lift:0 2px 8px rgba(16,24,40,.08);
    --v5-gold-btn:#FBB03B; --v5-on-gold-btn:#3a2600;
    --v5-td2-goldbox:#1d1912; --v5-td2-goldline:#4a3c1e; --v5-td2-goldrow:#3a3020; --v5-td2-goldbtn:#f3d79c; --v5-td2-goldbtnb:#5a4720; --v5-td2-turnbox:#18202c; --v5-td2-turnline:#2c3a55;   /* ⟦item 1076⟧ TODAY-2 Dark (the mock's): the gold box, its line and rows, the gold button's ink and edge, the blue box */
    --v5-tl-goldbox:#fbf5e8; --v5-tl-goldline:#e6d2a3; --v5-tl-goldrow:#efe2c2; --v5-tl-goldbtnb:#d9bf85;   /* ⟦item 1076⟧ TODAY-2 Light: the gold box family beside 1066's amber ink */
    --v5-tl-maxw:1400px; --v5-tl-maxw-read:1160px; --v5-tl-card-min:400px;   /* ⟦item 1066⟧ addendum 3: the team pages' one wide-screen rule (layout, both themes). The card minimum 400px ("~420"): 3 across at 1920, 2 at 1440, 1 on a phone */
    --v5-band:rgba(255,255,255,.028);
    /* Item 665: the card HEAD's wash — the prototype's .ghead (.035 at rest, .06 on hover). The band
       above is the ROW's HOVER overlay (the prototype's .row:hover), never a resting band. */
    --v5-head-wash:rgba(255,255,255,.035); --v5-head-wash-hover:rgba(255,255,255,.06);
    /* --v5-r-pill (item 660 #7): the prototype's 6px on the owed chip (.gowed) and the view
       toggle's segments — a fourth named radius beside the 12/8/5 scale. */
    /* Item 666: --v5-r-card 12 → 14, the prototype's .group. Every reader of the token moves with
       it (the card, the poster card, the landing's tiles and rows, the archive's cards and groups,
       the collapsed rail's chevron tile) — one card radius, deliberately. */
    --v5-ep-top:45px;   /* ⟦item 816 #9⟧ where an episode header pins: under the project bar (.v5-sticky-bar; v5StickySync writes its measured height on the page) */
    --v5-r-card:14px; --v5-r-tile:8px; --v5-r-chip:5px; --v5-r-pill:6px;
    /* ⟦item 973⟧ the Project stream: its LIGHT set (the default) and its DARK set; .v5-pst / .v5-pst--dark choose one */
    --v5-pst-l-thread:#b9c9da; --v5-pst-d-thread:#3a4a5c;   /* ⟦item 977⟧ Part 6: the reply's thread line */
    --v5-pst-ss-bg:#f0f0f2; --v5-pst-ss-ink:#52525b;   /* ⟦item 977⟧ Part 5: the "SmartSuite" tag */
    --v5-tstrip-bg:#cfdbe8; --v5-tstrip-on:#3d6f9e; --v5-tstrip-on-ink:#ffffff; --v5-tstrip-ink:#1f2d3b; --v5-tstrip-me:#ffffff;   /* ⟦item 977⟧ Part 3: the team strip */
    --v5-pst-l-box:#ffffff; --v5-pst-l-box-line:#c9d4df; --v5-pst-l-box-wait:#f1f5f9; --v5-pst-l-box-team:#dde6ef; --v5-pst-l-box-team-line:#b9c9da; --v5-pst-l-sec:#1f2d3b;   /* ⟦item 977⟧ Part 3: the rail's boxes */
    --v5-pst-d-box:#18181c; --v5-pst-d-box-line:#33333b; --v5-pst-d-box-wait:#141418; --v5-pst-d-box-team:#1a2430; --v5-pst-d-box-team-line:#2b3949; --v5-pst-d-sec:#ececf0;
    --v5-pst-l-cbox-sh:rgba(61,111,158,.14); --v5-pst-d-cbox-sh:rgba(0,0,0,.45); --v5-pst-l-page:#f4f4f5; --v5-pst-l-card:#ffffff; --v5-pst-l-line:#ececef; --v5-pst-l-line2:#e3e5ea; --v5-pst-l-text:#18181b; --v5-pst-l-muted:#5f6470; --v5-pst-l-rail:#e6edf4; --v5-pst-l-rail-ink:#1f2d3b; --v5-pst-l-rail-ink2:#2b3a4a; --v5-pst-l-rail-cap:#5b6b7d;
    --v5-pst-l-steel:#3d6f9e; --v5-pst-l-steel-pale:#ebf1f7; --v5-pst-l-on-steel:#ffffff; --v5-pst-l-ok:#26703f; --v5-pst-l-late:#b4361a; --v5-pst-l-gold:#8a5a00; --v5-pst-l-env:#52525b; --v5-pst-l-agency:#6b4fa3; --v5-pst-l-agency-pale:#f1ecfa; --v5-pst-l-bad-pale:#fbeae5; --v5-pst-l-ok-pale:#e7f4eb;
    --v5-pst-d-page:#111114; --v5-pst-d-card:#18181c; --v5-pst-d-line:#26262c; --v5-pst-d-line2:#33333b; --v5-pst-d-text:#ececf0; --v5-pst-d-muted:#a3a3ad; --v5-pst-d-rail:#141b23; --v5-pst-d-rail-ink:#dbe4ee; --v5-pst-d-rail-ink2:#c4d0dc; --v5-pst-d-rail-cap:#93a4b6;
    --v5-pst-d-steel:#8db6dc; --v5-pst-d-steel-pale:#1d2a37; --v5-pst-d-on-steel:#0d1620; --v5-pst-d-ok:#6fcf97; --v5-pst-d-late:#f08a6a; --v5-pst-d-gold:#e3b866; --v5-pst-d-env:#b4b4bd; --v5-pst-d-agency:#b9a3e8; --v5-pst-d-agency-pale:#2a2338; --v5-pst-d-bad-pale:#3a1f18; --v5-pst-d-ok-pale:#173024;
    --v5-fw-rail:#0e0e11; --v5-fw-pane:#18181c; --v5-fw-tab:#ececf0; --v5-fw-tab-ink:#16161a; --v5-fw-tab-sub:#55555f;   /* ⟦item 972⟧ Finished work's episode list (rail), the episode (pane), the chosen episode's light tab */
    --v5-r-box:10px; --v5-r-strip:12px; --v5-r-cbox:12px;   /* ⟦item 977⟧ Part 3: the rail's section boxes (ADM-16D: radius 10), the team strip's box */   /* ⟦item 983⟧ --v5-r-cbox: the Communication comment box (ADM-20 A) */
    --v5-r-tchip:7px;   /* ⟦item 883⟧ TEAM-52b: the team stage chip's corners (Jeffrey's spec, 7px) */
    /* Item 663: the landing hero's pill actions (prototype .hero-gold / .hero-ghost, 44px tall) —
       a named radius exception used by exactly those two; and the hero's light ink on the
       gradient, plus the page tone's rgb for the wash. */
    --v5-r-hero-act:22px; --v5-cp-scrim:rgba(0,0,0,.5); --v5-cp-scrim-2:rgba(0,0,0,.65); --v5-cp-ink:var(--v5-text); --v5-menu-scrim:rgba(0,0,0,.55);   /* item 758: under the phone menu */   /* item 766: the card pictures' overlays and the paper of a page stand-in */ --v5-bg-rgb:13,13,15;
    /* Item 670: the logo plate — near-white, so a dark logo on transparency reads on the dark rail. */
    --v5-logo-plate:#f4f4f6;
    /* ⟦item 763⟧ R14 (option B): the CLIENT rail’s selected item — the brighter #24242b block. ⟦item 764⟧ (Jeffrey, Oct 1) its
       text and its 3px bar are GOLD — overriding R14’s "never gold" for those two — and everything else on the rail is QUIET:
       items #a9a9b4 at 500, episodes #80808b, the section label #6f6f7a, the divider #36363f; the collapsed project count a
       gold TINT (gold number on a dark gold fill with a thin gold edge), never solid. Values are the prototype’s. */
    --v5-rail-on:#24242b; --v5-rail-on-ink:var(--v5-gold);
    --v5-rail-dim:#a9a9b4; --v5-rail-dim-ep:#80808b; --v5-rail-head:#6f6f7a; --v5-rail-div:#36363f;
    --v5-rail-bdg-bg:#2a2416; --v5-rail-bdg-line:#4a3a18;
    --v5-hero-ink:#ffffff; --v5-hero-ink-2:rgba(255,255,255,.7); --v5-hero-ink-3:rgba(255,255,255,.5); --v5-hero-line:rgba(255,255,255,.3);
    /* ⟦item 856⟧ the TEAM chrome (mock TEAM-20): the bar's blue tint, its edge and the TEAM label's ink. Team-only by use; a
       custom property paints nothing, so declaring them here changes no client pixel. */
    --v5-team-bg:#141d2a; --v5-team-line:#24344c; --v5-team-ink:#8fb0ff;
    --v5-team-btn-line:#4a4a55;   /* ⟦item 889⟧ TEAM-58's WHITE OUTLINE: everyday team work (Add asset, Upload new version, Preview as client). The one colour rule for team
     buttons on every team page: GOLD only for what reaches the client now (Send to client, the quick send and its full dialog's send, Add
     and send to client, the Stage menu's Send to client…); BLUE the team-only places (the TEAM label, Recordings); WHITE OUTLINE everyday
     team work; PURPLE internal state. Guard team-button-colours. */
    --v5-tcl-turn:#e6b3dc; --v5-tcl-turn-tile:#4a3352; --v5-tcl-badge-ink:#fff;
    --v5-tst-ink:#cfcfd6; --v5-tchip-needs:#8b939e;   /* ⟦item 883⟧ TEAM-52b: the status line's one soft grey; the Needs content chip */   /* ⟦item 876⟧ the CLIENT column's "Your turn" (TEAM-38) and its badge ink */
    --v5-ts-team:var(--v5-team-ink); --v5-ts-team-tint:color-mix(in srgb, var(--v5-team-ink) 14%, transparent);   /* ⟦item 909⟧ TEAM-64: team-only stages are BLUE (the TEAM bar's own ink); purple stays the transcript file type's alone */ --v5-ts-bad-tint:rgba(224,138,138,.16);   /* ⟦item 857⟧ TEAM REVIEW's purple is the brief's #b08cf5 — the portal's "internal only" violet, ASSET_TYPE_PALETTE.transcript.ring through --rd-violet (a var, never a copy: asset-type-palette) — and the CHANGES REQUESTED red tint */
    /* Item 667: the BANNER's two ink alphas, the prototype's own (.pb-counts .72, .pb-client .6).
       Its brightest ink is the hero's #fff — one white, because the two surfaces carry one gradient
       (item 659 B6). Named -2 / -3 by the hero's convention: a bigger number is a dimmer ink. */
    --v5-banner-ink-2:rgba(255,255,255,.72); --v5-banner-ink-3:rgba(255,255,255,.6);
    --v5-banner-owed-ink:var(--v5-owed-ink);   /* ⟦item 847⟧ the owed pill's ink ON a banner — v5-light re-declares --v5-owed-ink brown for paper, never this (a banner is always dark) */
    /* ⟦item 774⟧ the web link card (board "Web link — G"): the screenshot dimmed to ~80–88% dark, the browser bar, the boxes and
       the outlined controls laid over it — the mock's own values. The brown (no screenshot) and the link icon are the PALETTE's
       Link row (--at-link-fill / --at-link-ring), never restated. */
    --v5-lk-dim-a:rgba(20,16,12,.80); --v5-lk-dim-b:rgba(20,16,12,.88); --v5-lk-bar:#202026; --v5-lk-field:#141418;
    --v5-lk-dot:#3a3a43; --v5-lk-edge:#33333b; --v5-lk-card-line:#3a3a44; --v5-lk-box:rgba(0,0,0,.35); --v5-lk-box-line:rgba(255,255,255,.12);
    --v5-lk-ghost-line:rgba(255,255,255,.28); --v5-lk-ghost-line-2:rgba(255,255,255,.35); --v5-lk-sub:#e6dccd; --v5-lk-faint:#c9b9a2;
    --v5-lk-when:#a8977f; --v5-lk-ok:#9ad8b0; --v5-lk-shadow:rgba(0,0,0,.5);
    --v5-tnote-bg:#18181d; --v5-tnote-line:#6e6e78; --v5-tnote-k:#b4b4be; --v5-tnote-t:#e2e2e8;   /* ⟦item 778⟧ NOTE FROM TEAM: one neutral grey (mock NOTE-4 option C) */
    --v5-font:'Plus Jakarta Sans', 'Inter', sans-serif;
    /* Item 713 (ruled): the TRANSCRIPTS SHELF's own surface — the mock's #1B162F card with a violet
       border — so reference material reads as a different kind of thing from the work below it.
       The violet itself is the palette's transcript ring (a reference, never a copied hex). */
    --v5-tr-bg:#1B162F; --v5-tr-violet:var(--at-transcript-ring);
    --v5-tr-line:rgba(var(--at-transcript-ring-rgb), .20); --v5-tr-line-soft:rgba(var(--at-transcript-ring-rgb), .10);
    --v5-tr-hover:rgba(var(--at-transcript-ring-rgb), .05); --v5-tr-count:rgba(255,255,255,.07);
    /* Item 736 (§20): the transcript page's marks — a COMMENT is a blue highlight (the palette's video ring), a CUT is
       struck through in neutral grey; the selection bar's plate and ink. Light re-declares all six. */
    --v5-tr-comment:var(--at-video-ring); --v5-tr-comment-bg:rgba(var(--at-video-ring-rgb), .26); --v5-tr-cut:#7d7d87; --v5-tr-cut-bg:rgba(255,255,255,.05);
    --v5-tr-selbar:#ececf0; --v5-tr-selbar-ink:#111111;
    /* Item 725 (the review page's tokens, the Sep 25 decision-buttons ruling, option B): the NEUTRAL
       control. Request changes is an outline at .2 white; Play and Send are a .13 white fill with a
       .14 line (the ruling's send button), .18 on hover; the active tab's underline is .45 white. */
    --v5-ghost-line:rgba(255,255,255,.2); --v5-fill:rgba(255,255,255,.13); --v5-fill-line:rgba(255,255,255,.14);
    --v5-fill-hover:rgba(255,255,255,.18); --v5-tab-line:rgba(255,255,255,.45);
    /* ⟦item 825⟧ the "Download transcript" menu (mock TX-DL-1): one dark menu on every surface, the transcript page's light
       theme included — it is drawn over the page, not part of it. */
    --v5-menu-bg:#1f1f25; --v5-menu-line:#3a3a44; --v5-menu-tile:#26262e; --v5-menu-tile-ink:#cfcfd6; --v5-menu-head:#8e8e99;
    --v5-menu-shadow:0 16px 40px rgba(0,0,0,.55); --v5-menu-hover:rgba(255,255,255,.06);
    /* ⟦item 852⟧ the Schedule's PROJECT colours — eight, none of them gold, green or orange (those are status). One slot per project
       (v5SchpColours); worn as the row's / entry's left stripe and the chip's dot. */
    --v5-pc-0:#4F8FE8; --v5-pc-1:#9B7FE0; --v5-pc-2:#3FB8AF; --v5-pc-3:#E07BB0; --v5-pc-4:#7C83E6; --v5-pc-5:#6FC3E8; --v5-pc-6:#E58A9A; --v5-pc-7:#8FA3BF;
    /* ⟦item 852⟧ the Schedule's LIGHT set (the Selects light values, §19): .v5-schp--light re-declares the page tokens from these
       below its banner (a banner is always dark). */
    --v5-lt-bg:#FAF9F7; --v5-lt-panel:#FFFFFF; --v5-lt-panel3:#F3F1EE; --v5-lt-line:#E6E2DC; --v5-lt-line-soft:#EFEBE5; --v5-lt-line-dim:#EAE6E0;
    --v5-lt-text:#14110E; --v5-lt-text2:#3D3730; --v5-lt-text3:#6B645C; --v5-lt-owed-ink:#7A4E08; --v5-lt-dim:#8A8379; --v5-lt-chip:#ECE8E1;
    --v5-lt-team-bg:#E9EFFA; --v5-lt-team-line:#B7C7E6; --v5-lt-team-ink:#234C9A; --v5-lt-bad:#B3261E;   /* ⟦item 927⟧ Publish Details' team blues and red on paper */
    --v5-lt-band:rgba(0,0,0,.035); --v5-lt-green:#2E7D53; --v5-lt-today:#F1EEE9; --v5-lt-done-tint:rgba(46,125,83,.12); --v5-lt-urgent:#C25E14;
    /* ⟦item 1098⟧ Messages and the Sending-as card (team only) */ --v5-mx-dot:#378ADD; --v5-mx-gold-ink:#b9791a; --v5-mx-need-ink:#8a5a0b; --v5-mx-gold-on:#1b1607; --v5-mx-gold-line:#c98a1b; --v5-mx-blue-ink:#4f8fd0; --v5-snd-line:#33405a; --v5-snd-edge:#8FA3C4; --v5-snd-bg1:#1a2230; --v5-snd-bg2:#14171d; --v5-snd-ink:#a9b6cc; --v5-snd-sub:#97a6bf; --v5-snd-name:#d6deea; --v5-sndb-line:#6a4a16; --v5-sndb-edge:#F7931E; --v5-sndb-bg1:#2a1c08; --v5-sndb-bg2:#1a150c; --v5-sndb-ink:#d9b98a; --v5-sndb-sub:#c9a878; --v5-snd-tile:#fff;
  }
  /* ── LIGHT (§19): the client default. ONE class on <html>, written only while the Selects page shows light, re-declares
     the tokens for the topbar and the page — the rail stays dark, as the mock draws it. The topbar paints with v4's
     variables (--rd-chrome, --rd-hairline, --rd-text*, --border …), so those are re-declared on it here; this block is the
     SECOND place a colour literal may live, named as such in v5-flag-off-identity §5. Values are the mock's. */
  .v5.v5-light body:not(.is-team) #selects-view.v5-sx-host, .v5.v5-light body:not(.is-team) .topbar, .v5.v5-light body:not(.is-team) #review-view.tr-active.v5tr, .v5.v5-light body:not(.is-team) #tr-sel-bar,
  .v5.v5-md-light #metadata-view, .v5.v5-md-light .topbar {   /* ⟦item 927⟧ Publish Details in light, client and team: the same one block */
    --v5-bg:#FAF9F7; --v5-panel:#FFFFFF; --v5-panel2:#FFFFFF; --v5-panel3:#F3F1EE;
    --v5-line:#E6E2DC; --v5-line-soft:#EFEBE5; --v5-line-dim:#EAE6E0;
    --v5-tst-ink:#3D3730; --v5-tchip-needs:#6B645C;   /* ⟦item 883⟧ the light theme's own two */
    --v5-text:#14110E; --v5-text2:#3D3730; --v5-text3:#6B645C; --v5-owed-ink:#7A4E08; --v5-muted:#6B645C; --v5-dim:#8A8379;
    --v5-chip:#ECE8E1; --v5-ref-tint:var(--v5-chip); --v5-band:rgba(0,0,0,.035); --v5-head-wash:rgba(0,0,0,.03); --v5-head-wash-hover:rgba(0,0,0,.06);
    --v5-on-gold:#1a1206; --v5-liked-bg:#EAF4EE; --v5-green:#2E7D53; --v5-play-bg:rgba(255,255,255,.14);
    --rd-chrome:#FAF9F7; --rd-hairline:#E6E2DC; --rd-text:#14110E; --rd-text-2:#3D3730; --rd-text-4:#6B645C;
    --rd-control:#FFFFFF; --rd-control-bd:#E6E2DC; --border:#E6E2DC; --text:#14110E; --text-muted:#6B645C; --bg:#FAF9F7; --surface:#FFFFFF;
    --v5-tr-comment:#3F7FC0; --v5-tr-comment-bg:rgba(74,138,201,.22); --v5-tr-cut:#8a8279; --v5-tr-cut-bg:rgba(20,17,14,.05); --v5-tr-selbar:#14110E; --v5-tr-selbar-ink:#FAF9F7;
    --v5-tnote-bg:#F1EEE9; --v5-tnote-line:#A39C92; --v5-tnote-k:#5B544C; --v5-tnote-t:#14110E;   /* ⟦item 778b⟧ the note's neutral grey, light */
    --v5-tip-bg:#eef3f9;   /* ⟦item 1045⟧ the one tip style's tint, light */
    --v5-note:#7b4fd6; --v5-note-bg:#f1ebfc;   /* ⟦item 1050⟧ a team note's violet, light (#b08cf5 is the dark one) */
  }
  /* ⟦item 927⟧ PUBLISH DETAILS IN LIGHT (client and team): the light block above (the Selects values, one copy), plus what this page adds
     on paper — the team's blues and the red made dark enough (4.5:1), and the quiet grey (--v5-dim) at the body grey. Tokens only. */
  .v5.v5-md-light #metadata-view, .v5.v5-md-light .topbar {
    --v5-team-bg:var(--v5-lt-team-bg); --v5-team-line:var(--v5-lt-team-line); --v5-team-ink:var(--v5-lt-team-ink); --v5-team-btn-line:var(--v5-lt-team-line);
    --v5-bad:var(--v5-lt-bad); --v5-dim:var(--v5-text3);
    --v5-rust:var(--v5-rp-lt-rust);   /* ⟦item 1079⟧ the date box's rust and the header's late facts, dark enough for paper */
  }
  .v5.v5-md-light #metadata-view { color-scheme:light; }
  .v5.v5-md-light #metadata-view .v5-tchip--client { --tchip-c:var(--v5-owed-ink); }   /* the team's gold stage chip, dark enough for paper */
  /* ⟦item 927⟧ and in DARK: the page's quiet greys (--v5-dim: counts, help lines, a tag's ✕; --v5-muted on a chip) read 3.1 to 4.3:1 on
     the dark panels, so on THIS page they step up to 4.5:1 (the text3 grey, a lighter muted). Scoped to #metadata-view: no other page moves. */
  .v5 #metadata-view { --v5-dim:var(--v5-text3); --v5-muted:var(--v5-text3); --text-muted:var(--v5-text3); }   /* + v4's muted (the release-date note: 3.96:1, found in production) */
  .v5.v5-md-light .topbar .v5-theme-btn { color:var(--v5-text2); }
  /* ⟦item 1057⟧ the guest's Publish Details in light: the header's Sign in keeps its border, the blue chip takes the light blue (the
     shared Selects page's pair), and the "not approved yet" caption sits on paper, not on the dark band (its words were dark on dark) */
  .v5.v5-md-light .topbar .v5g-signin { border-color:var(--v5-line); }
  .v5.v5-md-light #metadata-view .v5g-chip { color:var(--v5-tr-comment); background:var(--v5-tr-comment-bg); }
  .v5.v5-md-light #metadata-view .v5-mdp-pv-cap { background:rgba(250,249,247,.9); }
  /* a phone's top bar hides the theme switch (the transcript page's ⋯ carries Light / Dark); Publish Details has no such ⋯ entry, so its
     switch stays in the bar, as Selects' does (by id: it outranks that hide rule) */
  .v5 .topbar #v5-md-theme.v5-theme-slot { display:flex; align-items:center; flex:0 0 auto; }
  /* ⚠️ ITEM 657 #7 — THE PAGE BACKGROUND, ANSWERED BEFORE CHANGED: #review-view paints its own
     canvas (var(--rv-canvas)) and the transcript reader its own (--trv-page), so neither shifts
     when body's tone changes under the v5 class. What DOES follow is every portal page inside the
     v5 shell — the v5 surfaces and the v4 pages not yet converted (Your work, Messages) — which is
     one page tone for one shell, the consistent answer. Scoped on the html class, so flag-off is
     byte-identical. */
  .v5 body { background:var(--v5-bg); }
  .v5 main { padding-top:0; }
  /* ⚠️ ITEM 657 #1 — PLUS JAKARTA SANS ON EVERY v5 SURFACE, AND ON ITS BUTTONS BY NAME: a <button>
     does not inherit font-family (item 651 met this), so the two container rules are not enough.
     The family is loaded through the portal's ONE Google Fonts <link> (display=swap, like every
     other portal face); only `.v5` text USES it, so flag-off downloads no font file. */
  .v5 .v5-page, .v5 .v5-rail, .v5 .v5-arc { font-family:var(--v5-font); -webkit-font-smoothing:antialiased; color:var(--v5-text); }
  .v5 .v5-page button, .v5 .v5-rail button, .v5 .v5-arc button { font-family:var(--v5-font); }
  .v5 .v5-page { max-width:1180px; margin:0 auto; padding:0 0 4rem; }
  .v5 .v5-page.v5-arc { max-width:1240px; }   /* ⟦item 974⟧ Part 1: Finished work uses up to ~1,240px */
  /* ⚠️ ITEM 660 #8 — WHEN THE TOPBAR IS HIDDEN, THE PAGE STARTS 26px DOWN (the prototype's banner
     offset). The topbar itself is hidden by an INLINE style the page writes and restores
     (v5TopbarSync) — no v5 rule names a v4 class — and only above 640px, where nothing in it
     renders on this page (the drawer trigger lives there at phone width). This class is the page's
     own half of that state. */
  .v5 .v5-page--nobar { padding-top:26px; }

  /* ── cards view (item 660) ────────────────────────────────────────────────────────────────
     The List/Cards toggle sits top-right on the banner (prototype .pb-tog .toggle) and the grid
     is the prototype's .cards: three across, one continuous grid per deliverable in the LIST's
     order — states never start a new row (spec §6). Tokens only; the prototype's .pb-tog variant
     used rgba literals, which no v5 rule may carry, so the segments wear the base .toggle's
     panel/line/chip tokens. */
  .v5 .v5-view-toggle { position:absolute; top:14px; right:16px; z-index:2; display:flex; gap:2px; padding:2px;
                        background:var(--v5-panel2); border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); }
  .v5 .v5-view-btn { height:26px; min-height:0; padding:0 11px; border:0; border-radius:var(--v5-r-pill); background:none; color:var(--v5-text3);
                     font-family:var(--v5-font); font-size:11.5px; font-weight:600; cursor:pointer; text-transform:none; letter-spacing:normal; }
  .v5 .v5-view-btn--on { background:var(--v5-chip); color:var(--v5-text); }
  .v5 .v5-cl--phone .v5-view-btn { padding:0 8px; }   /* ⟦item 780⟧ three views on a phone: the sticky bar keeps room for the project's name */
  /* ⟦item 780⟧ THE "Approve by" PILL — the owed status family's tint (gold ink on gold .14, §21), orange when urgent. */
  .v5 .v5-ab { display:inline-block; max-width:100%; padding:2px 8px; border-radius:var(--v5-r-status); background:var(--v5-owed-tint); color:var(--v5-owed-ink);
               font-family:var(--v5-font); font-size:11.5px; font-weight:700; line-height:1.45; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; vertical-align:middle; }
  .v5 .v5-ab--urgent { background:var(--v5-owed-tint); color:var(--v5-owed-ink); }   /* ⟦item 1045⟧ due soon stays gold (was orange) */
  .v5 .v5-ab--past { background:none; padding-left:0; padding-right:0; color:var(--v5-bad); }   /* ⟦item 1045⟧ "Was due Fri Nov 6" in soft red (REVERSES HOME-2 #7's plain, Jeffrey Nov 7) */
  .v5 .v5-ab--inline { display:inline; padding:0; background:none; font-size:inherit; font-weight:600; vertical-align:baseline; }   /* ⟦HOME-2 #5⟧ no pill box on a home card */
  .v5 .v5-chip.v5-chip--ab { text-transform:none; letter-spacing:normal; font-size:12.5px; font-weight:600; }   /* ⟦item 823⟧ one pill: the count in caps, the deadline in normal case — .v5-chip.v5-chip--ab, because `.v5 .v5-chip` is declared LATER at the same weight and would win (the live guard caught the capitals) */
  .v5 .v5-chip.v5-chip--ab .v5-chip-n { text-transform:uppercase; letter-spacing:.06em; font-size:11px; font-weight:700; }
  .v5 .v5-chip.v5-chip--ab .v5-chip-sep { opacity:.7; }
  .v5 .v5-chip.v5-chip--ab .v5-ab--inline { font-weight:600; white-space:nowrap; }
  .v5 .v5-row-ab { margin-top:4px; }
  .v5 .v5-row-ab .v5-ab { white-space:normal; }
  .v5 .v5-c7-ab, .v5 .v5-lc-sent .v5-ab { margin-top:1px; }
  /* ⟦item 780⟧ THE SCHEDULE (SCH-A Upcoming, SCH-B Month). Responsive without a media query (the v5 stylesheet carries none):
     a row's body wraps its status under its name when the column narrows; the month grid's cells shrink and clip. */
  .v5 .v5-sch { margin:22px 0 0; border:1px solid var(--v5-line); border-radius:var(--v5-r-card); background:var(--v5-panel); overflow:hidden; }
  .v5 .v5-sch-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; padding:14px 20px; }
  .v5 .v5-sch-h { font-size:13px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-text2); }
  .v5 .v5-sch-h--month { font-size:18px; font-weight:800; letter-spacing:normal; text-transform:none; color:var(--v5-text); }
  .v5 .v5-sch-mtitle { display:flex; align-items:center; gap:6px; }
  .v5 .v5-sch-nav { width:28px; height:28px; min-height:0; padding:0; border:0; border-radius:var(--v5-r-pill); background:none; color:var(--v5-text3);
                    font-family:var(--v5-font); font-size:18px; cursor:pointer; }
  .v5 .v5-sch-nav:hover { background:var(--v5-chip); color:var(--v5-text); }
  .v5 .v5-sch-seg { display:flex; gap:2px; padding:2px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); }
  .v5 .v5-sch-segb { height:26px; min-height:0; padding:0 11px; border:0; border-radius:var(--v5-r-pill); background:none; color:var(--v5-text3);
                     font-family:var(--v5-font); font-size:12.5px; font-weight:600; cursor:pointer; text-transform:none; letter-spacing:normal; }
  .v5 .v5-sch-segb--on { background:var(--v5-chip); color:var(--v5-text); font-weight:700; }
  .v5 .v5-sch-row { display:flex; align-items:center; gap:16px; padding:14px 20px; border-top:1px solid var(--v5-line); }
  .v5 .v5-sch-row--piece { padding:10px 20px 10px 34px; border-top-style:dashed; background:var(--v5-panel3); }
  .v5 .v5-sch-arrow { flex:0 0 auto; color:var(--v5-dim); }
  .v5 .v5-sch-tile { flex:0 0 56px; width:56px; box-sizing:border-box; padding:5px 0; text-align:center; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile);
                     background:var(--v5-panel2); display:flex; flex-direction:column; align-items:center; }
  .v5 .v5-sch-tile span { font-size:10.5px; font-weight:700; letter-spacing:.1em; color:var(--v5-muted); }
  .v5 .v5-sch-tile b { font-size:21px; font-weight:800; line-height:1.1; color:var(--v5-text); }
  /* ⟦780 SCH-G⟧ the date tile is ALWAYS neutral — gold is for Approve by alone (Jeffrey, Oct 3); the owed/urgent tile tones are gone. */
  .v5 .v5-sch-tile--sm { flex:0 0 42px; width:42px; padding:2px 0; border-color:transparent; background:none; }
  .v5 .v5-sch-tile--sm b { font-size:16px; }
  .v5 .v5-sch-body { flex:1 1 auto; min-width:0; display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; }
  .v5 .v5-sch-main { flex:1 1 220px; min-width:0; }
  .v5 .v5-sch-name { font-size:16px; font-weight:700; color:var(--v5-text); overflow-wrap:anywhere; }
  .v5 .v5-sch-row--piece .v5-sch-name { font-size:14.5px; font-weight:600; }
  .v5 .v5-sch-sub { margin-top:2px; font-size:13px; color:var(--v5-muted); overflow-wrap:anywhere; }
  .v5 .v5-sch-side { flex:0 1 auto; min-width:0; display:flex; align-items:center; gap:12px; }
  .v5 .v5-sch-pill { display:inline-block; max-width:100%; padding:5px 11px; border-radius:var(--v5-r-status); background:var(--v5-chip); color:var(--v5-text3);
                     font-family:var(--v5-font); font-size:12.5px; font-weight:700; line-height:1.3; white-space:normal; }
  .v5 .v5-sch-pill.v5-ab { background:var(--v5-owed-tint); color:var(--v5-owed-ink); }
  .v5 .v5-sch-pill.v5-ab--urgent { background:var(--v5-urgent-tint); color:var(--v5-urgent); }
  .v5 .v5-sch-pill--ready { background:var(--v5-done-tint); color:var(--v5-green); }
  .v5 .v5-sch-pill--wait { color:var(--v5-dim); }
  .v5 .v5-sch-pill--gold { background:var(--v5-owed-tint); color:var(--v5-owed-ink); }   /* ⟦item 1183⟧ the team's "With the client", 2+ days unopened only */
  .v5 .v5-sch-pill--risk { color:var(--v5-rust); }   /* ⟦item 1183⟧ the team's real state, At Risk */
  .v5 .v5-sch-relok { color:var(--v5-green); font-weight:700; }   /* ⟦780 SCH-G⟧ "✓ Released" — the done green */
  .v5 .v5-sch-review { flex:0 0 auto; }
  .v5 .v5-sch-review-gap { flex:0 0 84px; width:84px; }
  .v5 .v5-sch-empty { padding:18px 20px; border-top:1px solid var(--v5-line); font-size:13.5px; color:var(--v5-muted); }
  .v5 .v5-sch-released { display:flex; align-items:center; gap:8px; width:100%; min-height:0; padding:13px 20px; border:0; border-top:1px solid var(--v5-line); background:none;
                         color:var(--v5-muted); font-family:var(--v5-font); font-size:13.5px; text-align:left; cursor:pointer; text-transform:none; letter-spacing:normal; }
  .v5 .v5-sch-caret { display:inline-flex; transition:transform .15s; }
  .v5 .v5-sch-caret--open { transform:rotate(90deg); }
  .v5 .v5-sch-grid { display:grid; grid-template-columns:repeat(7, minmax(0, 1fr)); border-top:1px solid var(--v5-line); }
  .v5 .v5-sch-wd { padding:7px 8px; font-size:11px; font-weight:700; letter-spacing:.1em; color:var(--v5-dim); border-right:1px solid var(--v5-line-soft); border-bottom:1px solid var(--v5-line); overflow:hidden; }
  .v5 .v5-sch-cell { min-width:0; min-height:92px; padding:6px; border-right:1px solid var(--v5-line-soft); border-bottom:1px solid var(--v5-line-soft); overflow:hidden; }
  .v5 .v5-sch-cell--out .v5-sch-dn { color:var(--v5-dim); }
  .v5 .v5-sch-cell--today { background:var(--v5-sch-today); }
  .v5 .v5-sch-cell--today .v5-sch-dn { font-weight:800; color:var(--v5-text); }
  .v5 .v5-sch-dn { font-size:13px; font-weight:600; color:var(--v5-text2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-sch-ent { margin-top:5px; padding:4px 6px; border-left:3px solid var(--v5-dim); border-radius:var(--v5-r-chip); background:var(--v5-panel2); line-height:1.25; min-width:0; }
  .v5 .v5-sch-ent-k { display:block; font-size:10px; font-weight:700; letter-spacing:.06em; color:var(--v5-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-sch-ent-t { display:block; font-size:11.5px; color:var(--v5-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-sch-ent--ready { border-left-color:var(--v5-green); }
  .v5 .v5-sch-ent--ready .v5-sch-ent-k { color:var(--v5-green); }
  .v5 .v5-sch-ent--owed { border-left-color:var(--v5-gold); }
  .v5 .v5-sch-ent--owed .v5-sch-ent-k { color:var(--v5-owed-ink); }
  .v5 .v5-sch-ent--urgent { border-left-color:var(--v5-urgent); }
  .v5 .v5-sch-ent--urgent .v5-sch-ent-k { color:var(--v5-urgent); }
  .v5 .v5-sch-agenda { display:none; }
  .v5 .v5-cl--phone .v5-sch-agenda { display:block; border-top:1px solid var(--v5-line); }
  .v5 .v5-cl--phone .v5-sch-cell { min-height:56px; padding:5px 4px; }
  .v5 .v5-cl--phone .v5-sch-cell .v5-sch-ent { height:6px; margin-top:4px; padding:0; border-left:0; background:var(--v5-dim); }
  .v5 .v5-cl--phone .v5-sch-cell .v5-sch-ent--ready { background:var(--v5-green); }
  .v5 .v5-cl--phone .v5-sch-cell .v5-sch-ent--owed { background:var(--v5-gold); }
  .v5 .v5-cl--phone .v5-sch-cell .v5-sch-ent--urgent { background:var(--v5-urgent); }
  .v5 .v5-cl--phone .v5-sch-cell .v5-sch-ent-k, .v5 .v5-cl--phone .v5-sch-cell .v5-sch-ent-t { display:none; }
  .v5 .v5-sch-ag-day { display:flex; gap:12px; padding:10px 16px; border-top:1px solid var(--v5-line-soft); }
  .v5 .v5-sch-ag-day:first-child { border-top:0; }
  .v5 .v5-sch-ag-d { flex:0 0 78px; padding-top:5px; font-size:12.5px; font-weight:700; color:var(--v5-text2); }
  .v5 .v5-sch-ag-ents { flex:1 1 auto; min-width:0; }
  .v5 .v5-sch-ag-ents .v5-sch-ent { margin-top:0; margin-bottom:5px; }

  /* ⟦item 852⟧ THE CLIENT SCHEDULE (every project; mocks SCH-E / SCH-E2 / SCH-G). Reuses 780's row, tile, pill and month pieces;
     its own: the project stripe and dot (v5-schp-c0…c7 → --v5-pc), the filter chips, the month grid's clickable entries, the phone
     month as a list by week, the legend, and the light set. */
  .v5 .v5-schp-c0 { --v5-pc:var(--v5-pc-0); } .v5 .v5-schp-c1 { --v5-pc:var(--v5-pc-1); } .v5 .v5-schp-c2 { --v5-pc:var(--v5-pc-2); } .v5 .v5-schp-c3 { --v5-pc:var(--v5-pc-3); }
  .v5 .v5-schp-c4 { --v5-pc:var(--v5-pc-4); } .v5 .v5-schp-c5 { --v5-pc:var(--v5-pc-5); } .v5 .v5-schp-c6 { --v5-pc:var(--v5-pc-6); } .v5 .v5-schp-c7 { --v5-pc:var(--v5-pc-7); }
  .v5 .v5-schp-top { position:relative; }
  .v5 .v5-g-closed-line { display:block; margin-top:2px; font-size:12.5px; font-weight:400; color:var(--v5-text3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }   /* ⟦item 1006b⟧ a guest's "comments are closed" line */
  /* ⟦item 1011⟧ PORTAL REPORTS (Monthly, Program Year) — the v5 page's own tokens; the print sheet's rules are outside the v5 sheet */
  .v5 .v5-rp-in { max-width:1270px; margin:0 auto; padding:28px 32px 48px; }
  /* ⟦item 1016⟧ a phone: the page's own side room goes (the page frame keeps its edge), the hero and its title shrink */
  .v5 .v5-cl--phone .v5-rp-in { padding:12px 0 32px; }
  /* ⟦item 1028⟧ Reports Light: only the report area switches (the rail and the rest stay dark) — every colour the report reads is remapped
     here to the light set, so the same cards, tables, chart and Program-year-to-date box draw light; a team's accents are steel */
  .v5 .v5-rp-in.v5-rp--light { border-radius:var(--v5-r-card); background:var(--v5-rp-lt-bg); color:var(--v5-rp-lt-ink);
    --v5-text:var(--v5-rp-lt-ink); --v5-text2:var(--v5-rp-lt-ink2); --v5-text3:var(--v5-rp-lt-ink3); --v5-line:var(--v5-rp-lt-line); --v5-panel:var(--v5-rp-lt-card); --v5-panel2:var(--v5-rp-lt-panel2);
    --v5-rp-card:var(--v5-rp-lt-card); --v5-rp-plan:var(--v5-rp-lt-plan); --v5-rp-used:var(--v5-rp-lt-used); --v5-rp-sch:var(--v5-rp-lt-sch); --v5-rp-ok:var(--v5-rp-lt-ok); --v5-rp-over:var(--v5-rp-lt-over);
    --v5-rp-film:var(--v5-rp-lt-film); --v5-rp-exp:var(--v5-rp-lt-exp); --v5-gold:var(--v5-rp-lt-gold); --v5-rp-ok-bg:var(--v5-rp-lt-ok-bg); --v5-rp-ok-line:var(--v5-rp-lt-ok-line);
    --v5-rp-banner-bg:var(--v5-rp-lt-ok-bg); --v5-rp-banner-line:var(--v5-rp-lt-ok-line); --v5-rp-gold-bg:var(--v5-rp-lt-gold-bg); --v5-rp-gold-line:var(--v5-rp-lt-gold-line); --v5-rp-pill-line:var(--v5-rp-lt-gold-line);
    --v5-rp-track:var(--v5-rp-lt-track); --v5-rp-hero-a:var(--v5-rp-lt-hero-a); --v5-rp-hero-b:var(--v5-rp-lt-hero-b); --v5-rp-hero-c:var(--v5-rp-lt-hero-c); --v5-rp-hero-d:var(--v5-rp-lt-hero-d);
    --v5-rp-hero-sub:var(--v5-rp-lt-ink2); --v5-rp-hero-eye:var(--v5-rp-lt-ink3); }
  .v5 .v5-rp-in.v5-rp--light.v5-rp--team { --v5-gold:var(--v5-rp-lt-steel); --v5-rp-pill-line:var(--v5-rp-lt-steel); --v5-rp-gold-line:var(--v5-rp-lt-steel); }
  .v5 .v5-rp-theme { display:inline-flex; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); overflow:hidden; }
  /* ⟦item 1039⟧ the switch sits at the header card's top right; on a phone under the title, right-aligned */
  .v5 .v5-rp-theme-at { position:absolute; top:18px; right:20px; z-index:1; }
  .v5 .v5-cl--phone .v5-rp-theme-at { position:static; display:flex; justify-content:flex-end; margin:0 0 10px; }
  .v5 .v5-rp-tb { height:34px; padding:0 12px; border:0; background:none; color:var(--v5-text3); font:inherit; font-size:12.5px; font-weight:600; cursor:pointer; }
  .v5 .v5-rp-tb--on { background:var(--v5-panel2); color:var(--v5-text); } .v5 .v5-cl--phone .v5-rp-hero { padding:18px; } .v5 .v5-cl--phone .v5-rp-title { font-size:36px; }
  .v5 .v5-rp-title { margin:8px 0 6px; font-size:52px; line-height:1.05; font-weight:800; letter-spacing:-.035em; color:var(--v5-text); }
  /* ⟦item 1016⟧ the mock's hero card: the client's name, the big title, one line under it, on the purple wash */
  .v5 .v5-rp-hero { position:relative; margin-bottom:16px; padding:22px 28px; border-radius:var(--v5-r-card); overflow:hidden; background:radial-gradient(120% 140% at 100% 0%, var(--v5-rp-hero-a) 0%, var(--v5-rp-hero-b) 30%, var(--v5-rp-hero-c) 62%, var(--v5-rp-hero-d) 100%); }
  .v5 .v5-rp-eyebrow { font-size:12px; font-weight:600; letter-spacing:.22em; text-transform:uppercase; color:var(--v5-rp-hero-eye); }
  .v5 .v5-rp-hsub { font-size:15px; color:var(--v5-rp-hero-sub); }
  .v5 .v5-rp-tabs { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:18px; }
  /* ⟦item 1073⟧ the TEAM view only: "Updated <date>" in small grey at the right of the tabs, an admin's "Refresh now" beside it */
  .v5 .v5-rp-upd { margin-left:auto; display:inline-flex; align-items:center; gap:10px; font-size:12px; color:var(--v5-text3); }
  .v5 .v5-rp-upd .v5-rp-btn { height:30px; padding:0 12px; font-size:12.5px; }
  .v5 .v5-rp-box { overflow-x:auto; margin-bottom:14px; padding:16px; border:1px solid var(--v5-line); border-radius:var(--v5-r-card); background:var(--v5-rp-card); }
  .v5 .v5-rp-box .v5-rp-h { margin-top:0; }
  .v5 .v5-rp-bar { display:flex; flex-wrap:wrap; align-items:flex-end; gap:10px; margin-bottom:10px; }
  .v5 .v5-rp-pick { display:flex; flex-direction:column; gap:6px; font-size:12px; color:var(--v5-text3); }
  .v5 .v5-rp-pickrow { display:flex; gap:6px; align-items:center; }
  .v5 .v5-rp-sel { height:36px; padding:0 10px; border:1px solid var(--v5-rp-pill-line); border-radius:var(--v5-r-tile); background:var(--v5-rp-card); color:var(--v5-gold); font:inherit; font-size:14px; font-weight:600; }
  .v5 .v5-rp-step { width:36px; height:36px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text); font-size:16px; cursor:pointer; }
  .v5 .v5-rp-step:disabled { opacity:.35; cursor:default; }
  .v5 .v5-rp-gap { flex:1 1 auto; }
  .v5 .v5-rp-btn { height:36px; padding:0 14px; border:1px solid var(--v5-team-btn-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text); font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
  .v5 .v5-rp-pill { height:36px; padding:0 16px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text3); font:inherit; font-size:14px; font-weight:600; cursor:pointer; }
  .v5 .v5-rp-pill--on { border-color:var(--v5-rp-pill-line); color:var(--v5-gold); background:var(--v5-panel2); }
  .v5 .v5-rp-sub { margin:4px 0 16px; font-size:14px; color:var(--v5-text3); }
  .v5 .v5-rp-banner { margin:0 0 14px; padding:12px 14px; border:1px solid var(--v5-rp-banner-line); border-radius:var(--v5-r-card); background:var(--v5-rp-banner-bg); font-size:14px; line-height:1.45; color:var(--v5-text2); }
  .v5 .v5-rp-banner--gold { border-color:var(--v5-rp-gold-line); background:var(--v5-rp-gold-bg); }
  .v5 .v5-rp-banner--gold b { color:var(--v5-gold); }
  .v5 .v5-rp-banner b { color:var(--v5-rp-ok); }
  .v5 .v5-rp-banner .v5-rp-bsplit { color:var(--v5-text); }   /* ⟦item 1077⟧ a client's "ahead of plan" banner: the rest of the line in the page's normal ink */
  .v5 .v5-rp-banner .v5-rp-bq { color:var(--v5-text3); }   /* ⟦item 1072⟧ a client's "N hrs ahead of plan" banner: the small line's grey, Light and Dark; ⟦item 1077⟧ those words only */
  .v5 .v5-rp-cards { display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:10px; margin-bottom:8px; }
  .v5 .v5-rp-card { padding:12px 14px; border:1px solid var(--v5-line); border-top:3px solid var(--v5-rp-k, var(--v5-line)); border-radius:var(--v5-r-tile); background:var(--v5-rp-card); }
  .v5 .v5-rp-card--plan { --v5-rp-k:var(--v5-rp-plan); } .v5 .v5-rp-card--used { --v5-rp-k:var(--v5-rp-used); } .v5 .v5-rp-card--film { --v5-rp-k:var(--v5-rp-film); }
  .v5 .v5-rp-card--exp { --v5-rp-k:var(--v5-rp-exp); } .v5 .v5-rp-card--sch { --v5-rp-k:var(--v5-rp-sch); } .v5 .v5-rp-card--under { --v5-rp-k:var(--v5-rp-ok); } .v5 .v5-rp-card--over { --v5-rp-k:var(--v5-rp-over); }
  .v5 .v5-rp-cl { font-size:10.5px; letter-spacing:.07em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-rp-cv { margin-top:3px; font-size:26px; font-weight:600; color:var(--v5-text); }
  .v5 .v5-rp-cn { margin-top:2px; font-size:12px; color:var(--v5-text3); }
  .v5 .v5-rp-cv--quiet { color:var(--v5-text3); }   /* ⟦item 1064b⟧ a client's "N hrs ahead of plan": the small line's grey, Light and Dark */
  .v5 .v5-rp-h { margin:24px 0 3px; font-size:18px; font-weight:600; letter-spacing:-.01em; color:var(--v5-text); }
  .v5 .v5-rp-note { margin:0 0 10px; font-size:13px; color:var(--v5-text3); }
  .v5 .v5-rp-empty { margin:8px 0; font-size:13.5px; color:var(--v5-text3); }
  .v5 .v5-rp-t { width:100%; border-collapse:collapse; font-size:13.5px; color:var(--v5-text); }
  .v5 .v5-rp-t th { padding:8px 10px; border-bottom:1px solid var(--v5-line); font-size:12px; font-weight:700; text-align:left; color:var(--v5-text3); }
  .v5 .v5-rp-t td { padding:9px 10px; border-bottom:1px solid var(--v5-line); vertical-align:top; }
  .v5 .v5-rp-num { text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
  .v5 .v5-rp-t th.v5-rp-num { text-align:right; }
  .v5 .v5-rp-tot td { font-weight:800; border-bottom:0; }
  .v5 .v5-rp-ytd { margin:0 0 14px; padding:16px; border:1px solid var(--v5-rp-ok-line); border-radius:var(--v5-r-card); background:var(--v5-rp-ok-bg); }
  .v5 .v5-rp-ytd-h { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px; margin-bottom:10px; font-size:12px; color:var(--v5-text3); text-transform:uppercase; letter-spacing:.06em; }
  .v5 .v5-rp-ytd-h b { color:var(--v5-rp-ok); }
  .v5 .v5-rp-prog { margin-top:8px; }
  .v5 .v5-rp-prog-cap { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px; font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-rp-track { position:relative; height:8px; margin-top:6px; border-radius:var(--v5-r-tile); background:var(--v5-rp-track); }
  .v5 .v5-rp-fill { position:absolute; left:0; top:0; bottom:0; border-radius:var(--v5-r-tile); background:linear-gradient(90deg, var(--v5-rp-ok), var(--v5-gold)); }
  .v5 .v5-rp-fill--over { background:var(--v5-rp-over); }
  .v5 .v5-rp-card--pipe { border:1px dashed var(--v5-gold); border-top:3px dashed var(--v5-gold); background:var(--v5-owed-tint); }   /* ⟦item 1047⟧ In the pipeline: a soft dashed gold box */
  .v5 .v5-rp-planline { fill:none; stroke:var(--v5-rp-plan); stroke-width:2.5; }   /* ⟦item 1047⟧ the monthly plan as a line */
  .v5 .v5-rp-tick { position:absolute; top:-3px; bottom:-3px; width:2px; background:var(--v5-text); }
  .v5 .v5-rp-foot { display:flex; align-items:center; gap:12px; margin-top:20px; font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-rp-legend { display:flex; flex-wrap:wrap; gap:14px; margin-bottom:6px; font-size:12px; color:var(--v5-text3); }
  .v5 .v5-rp-lg::before { content:""; display:inline-block; width:10px; height:10px; margin-right:6px; vertical-align:-1px; background:var(--v5-rp-k, var(--v5-line)); }
  .v5 .v5-rp-lg--plan { --v5-rp-k:var(--v5-rp-plan); } .v5 .v5-rp-lg--used { --v5-rp-k:var(--v5-rp-used); } .v5 .v5-rp-lg--sch { --v5-rp-k:var(--v5-rp-sch); } .v5 .v5-rp-lg--today { --v5-rp-k:var(--v5-text3); }
  .v5 .v5-rp-chart { display:block; }
  .v5 .v5-rp-grid { stroke:var(--v5-line); }
  .v5 .v5-rp-ax { fill:var(--v5-text3); font-size:11px; }
  .v5 .v5-rp-bv { fill:var(--v5-text); font-size:10px; pointer-events:none; }
  .v5 .v5-rp-b--plan { fill:var(--v5-rp-plan); } .v5 .v5-rp-b--used { fill:var(--v5-rp-used); } .v5 .v5-rp-b--sch { fill:var(--v5-rp-sch); }
  .v5 .v5-rp-b--go { cursor:pointer; }
  .v5 .v5-rp-today { stroke:var(--v5-text3); stroke-dasharray:4 4; }
  .v5 .v5-rp-mh { display:flex; justify-content:space-between; margin-top:12px; padding:6px 0; border-bottom:1px solid var(--v5-line); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--v5-gold); }
  .v5 .v5-rp-up { display:flex; justify-content:space-between; gap:12px; padding:7px 0; font-size:13.5px; color:var(--v5-text2); }
  .v5 .v5-rp-pj { margin-left:8px; font-size:12px; color:var(--v5-text3); }
  .v5 .v5-rp-rules { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:10px; }
  .v5 .v5-rp-rules > div { display:flex; flex-direction:column; gap:3px; padding:12px 14px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-panel); font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-rp-rules b { font-size:14px; color:var(--v5-text); }
  .v5 .v5-schp-tools { gap:8px; }
  .v5 .v5-cl--phone .v5-schp-tools { position:static; justify-content:flex-end; margin:-2px 0 12px; }
  .v5 .v5-cl--phone .v5-schp-row .v5-sch-review-gap { display:none; }
  .v5 .v5-schp-tools .v5-view-toggle { position:static; }
  .v5 .v5-schp-theme { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; min-height:0; padding:0; border:1px solid var(--v5-line);
                       border-radius:var(--v5-r-tile); background:var(--v5-panel2); color:var(--v5-text3); cursor:pointer; }
  .v5 .v5-schp-theme:hover { color:var(--v5-text); }
  .v5 .v5-schp-main { color:var(--v5-text); }
  .v5 .v5-schp-chips { display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 14px; }
  .v5 .v5-schp-chip { display:inline-flex; align-items:center; gap:7px; height:30px; min-height:0; padding:0 13px; border:1px solid var(--v5-line); border-radius:var(--v5-r-pill); background:none;
                      color:var(--v5-text3); font-family:var(--v5-font); font-size:12.5px; font-weight:600; cursor:pointer; text-transform:none; letter-spacing:normal; white-space:nowrap; }
  .v5 .v5-schp-chip:hover { color:var(--v5-text); }
  .v5 .v5-schp-chip--on { background:var(--v5-chip); border-color:var(--v5-chip); color:var(--v5-text); }
  .v5 .v5-schp-dot { display:inline-block; flex:0 0 auto; width:8px; height:8px; border-radius:50%; background:var(--v5-pc, var(--v5-dim)); }
  .v5 .v5-schp-list, .v5 .v5-schp-month, .v5 .v5-schp-note { margin-top:0; }
  .v5 .v5-schp-row { display:flex; align-items:center; gap:16px; padding:14px 20px 14px 17px; border-top:1px solid var(--v5-line); border-left:3px solid var(--v5-pc, var(--v5-dim)); cursor:pointer; }
  .v5 .v5-schp-list > .v5-schp-row:first-child { border-top:0; }
  .v5 .v5-schp-row:hover { background:var(--v5-band); }
  .v5 .v5-schp-row:focus-visible, .v5 .v5-schp-ent:focus-visible { outline:2px solid var(--v5-text3); outline-offset:-2px; }
  .v5 .v5-schp-proj { display:flex; align-items:center; gap:6px; margin-bottom:3px; font-size:12px; font-weight:600; color:var(--v5-muted); min-width:0; overflow-wrap:anywhere; }
  .v5 .v5-schp-released span { color:var(--v5-muted); }
  .v5 .v5-schp-grid { display:grid; grid-template-columns:repeat(7, minmax(0, 1fr)); border-top:1px solid var(--v5-line); }
  .v5 .v5-schp-wdh { padding:7px 8px; font-size:11px; font-weight:700; letter-spacing:.1em; color:var(--v5-dim); border-right:1px solid var(--v5-line-soft); border-bottom:1px solid var(--v5-line); overflow:hidden; }
  .v5 .v5-schp-cell { min-width:0; min-height:104px; padding:6px; border-right:1px solid var(--v5-line-soft); border-bottom:1px solid var(--v5-line-soft); overflow:hidden; }
  .v5 .v5-schp-cell--out .v5-schp-dn { color:var(--v5-dim); }
  .v5 .v5-schp-cell--today { background:var(--v5-sch-today); }
  .v5 .v5-schp-dn { font-size:13px; font-weight:600; color:var(--v5-text2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-schp-cell--today .v5-schp-dn { font-weight:800; color:var(--v5-text); }
  .v5 .v5-schp-todayw { font-size:10.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-schp-ent { display:block; width:100%; min-width:0; min-height:0; margin-top:5px; padding:4px 6px; border:0; border-left:3px solid var(--v5-pc, var(--v5-dim)); border-radius:var(--v5-r-chip);
                     background:var(--v5-panel2); color:var(--v5-text); font-family:var(--v5-font); text-align:left; line-height:1.25; cursor:pointer; text-transform:none; letter-spacing:normal; }
  .v5 .v5-schp-ent:hover { background:var(--v5-chip); }
  .v5 .v5-schp-ent-k { display:block; font-size:10px; font-weight:700; letter-spacing:.06em; color:var(--v5-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-schp-ent-t { display:block; font-size:11.5px; color:var(--v5-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-schp-ent--owed .v5-schp-ent-k { color:var(--v5-owed-ink); }
  .v5 .v5-schp-ent--urgent .v5-schp-ent-k { color:var(--v5-urgent); }
  .v5 .v5-schp-ent--ready .v5-schp-ent-k { color:var(--v5-green); }
  .v5 .v5-schp-weeks { display:none; }
  .v5 .v5-schp-week { padding:10px 14px 4px; border-top:1px solid var(--v5-line); }
  .v5 .v5-schp-weekh { margin-bottom:6px; font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--v5-dim); }
  .v5 .v5-schp-wday { display:flex; gap:10px; padding:4px 0 8px; }
  .v5 .v5-schp-wd { flex:0 0 84px; padding-top:5px; font-size:12.5px; font-weight:700; color:var(--v5-text2); }
  .v5 .v5-schp-wday--today .v5-schp-wd { color:var(--v5-text); }
  .v5 .v5-schp-wents { flex:1 1 auto; min-width:0; }
  .v5 .v5-schp-wents .v5-schp-ent { margin-top:0; margin-bottom:5px; padding:6px 8px; }
  .v5 .v5-schp-legend { display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; padding:12px 20px; border-top:1px solid var(--v5-line); font-size:12px; color:var(--v5-muted); }
  .v5 .v5-schp-lg i { display:inline-block; width:10px; height:10px; margin-right:6px; border-radius:var(--v5-r-chip); vertical-align:-1px; background:var(--v5-dim); }
  .v5 .v5-schp-lg--owed i { background:var(--v5-owed-ink); }   /* the APPROVE BY label's own ink (gold; brown on light paper) */
  .v5 .v5-schp-lg--ready i { background:var(--v5-green); }
  .v5 .v5-schp-lg--proj { margin-left:auto; }
  /* phone (the page's .v5-cl--phone): the month is a list by week — no seven-column grid; rows stack */
  .v5 .v5-cl--phone .v5-schp-grid { display:none; }
  .v5 .v5-cl--phone .v5-schp-weeks { display:block; }
  .v5 .v5-cl--phone .v5-schp-row { align-items:flex-start; gap:12px; padding:12px 14px 12px 11px; }
  .v5 .v5-cl--phone .v5-schp-row .v5-sch-tile { flex-basis:48px; width:48px; }
  .v5 .v5-cl--phone .v5-schp-legend { padding:12px 14px; }
  .v5 .v5-cl--phone .v5-schp-lg--proj { margin-left:0; }
  .v5 .v5-cl--phone .v5-schp-chips { flex-wrap:nowrap; overflow-x:auto; margin-left:-2px; padding:0 2px 2px; scrollbar-width:none; }
  /* LIGHT: the page's own tone, the banner kept dark; the rail stays dark (as everywhere, §19) */
  .v5 .v5-schp--light { background:var(--v5-lt-bg); box-shadow:0 0 0 100vmax var(--v5-lt-bg); clip-path:inset(0 -100vmax -100vmax); min-height:100vh; }
  .v5 .v5-schp--light .v5-schp-main { --v5-bg:var(--v5-lt-bg); --v5-panel:var(--v5-lt-panel); --v5-panel2:var(--v5-lt-panel); --v5-panel3:var(--v5-lt-panel3);
       --v5-line:var(--v5-lt-line); --v5-line-soft:var(--v5-lt-line-soft); --v5-line-dim:var(--v5-lt-line-dim); --v5-text:var(--v5-lt-text); --v5-text2:var(--v5-lt-text2);
       --v5-text3:var(--v5-lt-text3); --v5-muted:var(--v5-lt-text3); --v5-dim:var(--v5-lt-dim); --v5-owed-ink:var(--v5-lt-owed-ink); --v5-chip:var(--v5-lt-chip);
       --v5-band:var(--v5-lt-band); --v5-green:var(--v5-lt-green); --v5-done-tint:var(--v5-lt-done-tint); --v5-sch-today:var(--v5-lt-today); --v5-urgent:var(--v5-lt-urgent); }
  /* ⟦item 780⟧ HOME "COMING UP" (SCH-C) — above the owed cards; the urgent orange edge when approve-by is 2 days or fewer. */
  /* ⟦780 SCH-G⟧ the card is NEUTRAL (its tile, border, fill and kicker): gold only on the approve-by line and the button. */
  .v5 .v5-cu { display:flex; align-items:center; flex-wrap:wrap; gap:14px 18px; margin:22px 0 4px; padding:16px 20px; border:1px solid var(--v5-line);
               border-radius:var(--v5-r-card); background:var(--v5-panel); text-align:left; }
  .v5 .v5-cu-text { flex:1 1 240px; min-width:0; }
  .v5 .v5-cu-kick { font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-muted); overflow-wrap:anywhere; }
  .v5 .v5-cu-h { margin-top:3px; font-size:17px; font-weight:700; color:var(--v5-text); overflow-wrap:anywhere; }
  /* ⟦HOME-2 #3⟧ "See schedule": a QUIET outline — the hero-ghost recipe, smaller; the only gold actions are the cards' own. */
  .v5 .v5-cu-go { flex:0 0 auto; height:40px; padding:0 20px; border:1px solid var(--v5-hero-line); border-radius:var(--v5-r-hero-act); background:none; color:var(--v5-hero-ink);
                  font-family:var(--v5-font); font-size:14px; font-weight:600; cursor:pointer; text-transform:none; letter-spacing:normal; }
  .v5 .v5-cu-go:hover { border-color:var(--v5-hero-ink-2); }
  .v5 .v5-cu-kick, .v5 .v5-cu-h { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }   /* one line each */
  .v5 .v5-cl--phone .v5-cu-kick, .v5 .v5-cl--phone .v5-cu-h { white-space:normal; }   /* a phone wraps them rather than cutting the episode or the day */
  /* ⚠️ ITEM 735 — THREE ACROSS WHERE THREE FIT, FEWER WHERE THEY CANNOT (no media query: the v5
     stylesheet carries none, v5-polish pins it). A track's floor is the larger of 200px and a third of the grid
     (two 16px gaps out), so a column of 1440 / 1024 wide gives exactly three, and a narrow column
     (640: two; a phone: one) gives as many 200px cards as fit — a 110px card with a 16:9 preview and a
     two-line title is not a card. */
  .v5 .v5-cards { display:grid; grid-template-columns:repeat(auto-fill, minmax(max(200px, calc((100% - 32px) / 3)), 1fr)); gap:16px; padding:14px; }
  .v5 .v5-pcard { display:flex; flex-direction:column; min-width:0; background:var(--v5-panel2); border:1px solid var(--v5-line-dim);
                  border-radius:var(--v5-r-card); overflow:hidden; cursor:pointer; text-align:left; padding:0; }
  .v5 .v5-pcard--owed { border-color:var(--v5-line-gold); }
  /* ⚠️ ITEM 735 (design ruling §16) — THE CARDS VIEW'S MEDIA BLOCK: the full-width 16:9 preview is
     back on the project page's cards (reversing item 709's 71×40 head-row slot on THIS surface only).
     ⚠️ NOT `aspect-ratio` — items 213/215/216: a ratio-only box whose height is content-based is a
     layout cycle in WebKit, and aspect-ratio-percentage-cycle.mjs refuses a new one. The block is the
     padding-top ratio hack on a zero-height box: its height is definite (56.25% of its own width,
     resolved at layout), so the absolutely-fitted poster and the centred glyph have nothing to feed
     back into. The block wears the type's TILE style (the palette fill, the ring on the glyph) — it
     IS the tile at block size where there is no frame; a poster that fails to load removes itself
     (onerror) and the glyph beneath it shows — the sibling rule is the whole fallback, no script
     decides. The CARD is the neutral panel: a card's fill is a background, and item 657's narrowing
     covers tiles only (§16). */
  .v5 .v5-pcard-media { position:relative; flex:0 0 auto; height:0; padding-top:56.25%; overflow:hidden; display:block; }
  .v5 .v5-pcard-media > svg { position:absolute; left:50%; top:50%; width:26px; height:26px; margin:-13px 0 0 -13px; }
  .v5 .v5-pcard-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
  .v5 .v5-pcard-img + svg { display:none; }
  /* The LANDING's exception (§16): a thumbnail and a graphic put their real image IN the 40px tile
     slot (the picture is what is being reviewed); the tile's own fill and glyph stay beneath it as
     the fallback, shown the moment the image removes itself. The tile is a fixed 40×40 (definite). */
  .v5 .v5-tile--img { position:relative; overflow:hidden; }
  .v5 .v5-tile-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
  .v5 .v5-tile-img + svg { display:none; }
  .v5 .v5-pcard-body { flex:1 1 auto; display:flex; flex-direction:column; gap:8px; padding:13px 14px 15px; min-width:0; }
  /* Item 666 #4: the prototype's .tpill (20px, 0 8px, 5px radius, 9.5/800/.08em) — the word is
     sentence-cased by its source and shown uppercase by treatment, as the prototype's label is. */
  /* ⚠️ ITEM 709 #2 — THE TYPE WORD WRAPS, IT NEVER CLIPS. nowrap cut "PUBLISH DETAILS" to "PUBLISH
     DETAI" on a narrow card (item 708 found it at 800 in the Cards view). WRAP, not an ellipsis: this
     word is the card's only statement of what kind of file it is, and an ellipsis would hide exactly
     the half that tells two types apart ("PUBLISH…" names nothing), with no hover to recover it on a
     touch screen. min-height keeps a one-line label at the 20px the prototype gives it; overflow-wrap
     lets a single word longer than the column break rather than overflow. */
  .v5 .v5-pcard-type { display:inline-flex; align-items:center; min-height:20px; padding:0; background:none; line-height:1.3;
                       font-family:var(--v5-font); font-size:9.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; white-space:normal; overflow-wrap:anywhere; }
  /* ⚠️ ITEM 735 (§16) — THE TITLE GETS THE CARD'S WIDTH AND TWO LINES, NEVER FOUR: a line clamp with the
     full name in the element's title; min-height holds two lines so a one-line name does not pull its
     status line up beside a neighbour's. The release chip left the name for the kicker line. */
  .v5 .v5-pcard-name { font-size:15px; font-weight:600; line-height:1.3; color:var(--v5-text); overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; min-height:39px; overflow-wrap:anywhere; }
  .v5 .v5-pcard-kicker { display:flex; align-items:center; flex-wrap:wrap; gap:4px 8px; min-height:20px; }
  .v5 .v5-pcard-kicker .v5-rchip { margin-left:0; }
  .v5 .v5-pcard--owed .v5-row-l1 { font-weight:700; }
  .v5 .v5-pcard-foot { margin-top:auto; padding-top:6px; }
  /* ⚠️ ITEM 707 #6 → 709 #1 → 735 (§16) — the HEAD ROW. On the LANDING it is led by the 40px type tile
     (or the image-in-tile for a thumbnail / graphic) beside the kicker and the name; in the CARDS VIEW
     the media block sits above the body, so the head holds the text alone and the title gets the
     card's full width. The text block has a 96px basis and the head WRAPS: on a card too narrow for
     tile + 96px the text moves under the tile instead of being squeezed. */
  .v5 .v5-pcard-head { display:flex; align-items:center; flex-wrap:wrap; gap:10px 12px; min-width:0; }
  .v5 .v5-pcard-headtext { display:flex; flex-direction:column; gap:2px; min-width:0; flex:1 1 96px; }

  /* ── the landing (item 663) ──────────────────────────────────────────────────────────────
     The prototype's home view: a full-window hero on the banner's FIXED gradient (item 659 B6 —
     no frame), greeting top-left, the organisation top-right (text, never a logo — none exists),
     a 58px headline, a line under it, two pill actions, a download line; then the four summary
     tiles and the "waiting on you" rows. ⚠️ The prototype's wash has a GOLD radial glow that shows
     even when nothing is owed — gold means owed and nothing else (item 657), so the wash here is
     the left darkening alone. Every colour is a token; the hero's light ink is its own set. */
  .v5 .v5-landing { padding-bottom:3rem; }
  /* ⚠️ ITEM 702 — THE TOP BAND IS RESERVED (padding 96px top, 40px bottom). With H3's cards the hero
     can outgrow the window (min-height is a floor, item 682); the centred body then starts at the
     hero's top edge, where the ABSOLUTELY-positioned greeting row (top 30px, ≤70px with its logo) and
     the "Completed projects" corner button (top 26px, 34px tall) sit — measured in Chrome at 800px,
     the headline ran under both. The padding keeps that band clear at every height; short content
     is still centred in what remains. */
  .v5 .v5-hero { position:relative; min-height:calc(100vh - 66px); padding:96px 0 40px; box-sizing:border-box; display:flex; align-items:center; border-radius:var(--v5-r-banner); overflow:hidden;
                 background:linear-gradient(115deg, var(--v5-banner-a), var(--v5-banner-b) 48%, var(--v5-banner-c)); }
  .v5 .v5-hero-wash { position:absolute; inset:0; background:linear-gradient(to right, rgba(var(--v5-bg-rgb), .58), rgba(var(--v5-bg-rgb), .12) 72%); }
  .v5 .v5-hero-greet { position:absolute; top:34px; left:48px; font-size:11px; font-weight:800; letter-spacing:.2em; text-transform:uppercase; color:var(--v5-hero-ink-3); }
  /* ⚠️ ITEM 702 — width:100% because .v5-hero-body is a FLEX ITEM of .v5-hero and shrinks to its
     content: an auto-fill grid inside a shrink-to-fit box collapses to ONE column (measured in Chrome:
     three cards stacked at 1440). Still capped by max-width. box-sizing so the padding sits inside it. */
  .v5 .v5-hero-body { position:relative; padding:0 48px; max-width:840px; width:100%; box-sizing:border-box; }
  /* Item 703: with owed cards the hero hugs its content — top-aligned, no full-window minimum — so the
     cards sit just below the buttons and no band of empty air sits above the headline. */
  .v5 .v5-hero--cards { align-items:flex-start; min-height:0; }
  /* ⚠️ Item 704: the failed shape — the SAME top-anchored layout as the cards (the page does not restructure
     itself around a failure) and a quiet headline: the banner title's size, the ordinary hero ink, never
     the owed 58px, never gold, never red. */
  .v5 .v5-hero--quiet { align-items:flex-start; min-height:0; }
  /* ⚠️ Compound selector ON PURPOSE: `.v5 .v5-hero-h--quiet` alone ties `.v5 .v5-hero-h` (0,2,0) and, sitting
     earlier in the sheet, LOST — Chrome computed 58px while every declaration read 30px (found by the live guard). */
  .v5 .v5-hero-h.v5-hero-h--quiet { font-size:30px; letter-spacing:-.03em; line-height:1.15; }
  .v5 .v5-hero-h { margin:0; font-size:58px; font-weight:800; letter-spacing:-.045em; line-height:.98; color:var(--v5-hero-ink); }
  .v5 .v5-hero-p { margin:18px 0 0; font-size:15px; color:var(--v5-hero-ink-2); line-height:1.6; max-width:480px; }
  .v5 .v5-hero-acts { display:flex; gap:10px; margin-top:26px; flex-wrap:wrap; }
  /* GOLD, SOLID: the one owed action on this page — present only when something is owed. */
  .v5 .v5-hero-gold { height:44px; padding:0 24px; border:0; border-radius:var(--v5-r-hero-act); background:var(--v5-gold); color:var(--v5-on-gold);
                      font-family:var(--v5-font); font-size:14px; font-weight:700; cursor:pointer; text-transform:none; letter-spacing:normal; }
  .v5 .v5-hero-ghost { height:44px; padding:0 22px; border:1px solid var(--v5-hero-line); border-radius:var(--v5-r-hero-act); background:none; color:var(--v5-hero-ink);
                       font-family:var(--v5-font); font-size:14px; font-weight:600; cursor:pointer; text-transform:none; letter-spacing:normal; }
  .v5 .v5-hero-link { font:inherit; color:var(--v5-hero-ink); background:none; border:0; border-bottom:1px solid var(--v5-hero-line); padding:0; cursor:pointer; }
  /* ⚠️ ITEM 705 — THE HOME LINK and THE CONFIRMATION STRIP. The home link is the breadcrumb row's own
     weight (a link, not a button); the strip is a panel pinned to the foot of the window over whichever
     review surface is open. GOLD appears ONCE — .v5-strip-go, the Next button, because it leads to the
     next thing the client owes; the lead word, the count, Download and Back to your list are neutral.
     The last-item screen is neutral too: nothing is owed. Every rule names a v5- class under .v5 and
     declares font-family / case / spacing itself (item 653: v4 styles `button` by element). */
  .v5 .v5-home-link { flex:0 0 auto; margin:0 14px 0 0; padding:0; border:0; background:none; cursor:pointer; white-space:nowrap;
                      font-family:var(--v5-font); font-size:13px; font-weight:600; color:var(--v5-text2); text-transform:none; letter-spacing:normal; }
  .v5 .v5-home-link:hover { color:var(--v5-text); }
  .v5 .v5-home-link .v5-home-ph { display:none; }   /* ⟦item 935⟧ the phone's word only (the 765 phone bar shows it) */
  .v5 .v5-strip { position:fixed; left:50%; bottom:24px; transform:translateX(-50%); z-index:1000; box-sizing:border-box; max-width:calc(100vw - 32px);
                  display:flex; align-items:center; flex-wrap:wrap; gap:10px 16px; padding:12px 14px 12px 20px;
                  background:var(--v5-panel); border:1px solid var(--v5-line); border-radius:var(--v5-r-card); box-shadow:0 12px 32px rgba(0,0,0,.45);
                  font-family:var(--v5-font); font-size:14px; color:var(--v5-text); }
  .v5 .v5-strip-lead { font-weight:700; }
  .v5 .v5-strip-next { color:var(--v5-text2); min-width:0; }
  .v5 .v5-strip-name { color:var(--v5-text); font-weight:600; }
  .v5 .v5-strip-acts { display:flex; align-items:center; gap:14px; margin-left:auto; }
  .v5 .v5-strip-go { height:36px; padding:0 20px; border:0; border-radius:var(--v5-r-hero-act); background:var(--v5-gold); color:var(--v5-on-gold); cursor:pointer;
                     font-family:var(--v5-font); font-size:14px; font-weight:700; text-transform:none; letter-spacing:normal; }
  .v5 .v5-strip-link { padding:0; border:0; background:none; cursor:pointer; white-space:nowrap;
                       font-family:var(--v5-font); font-size:13px; font-weight:600; color:var(--v5-text2); text-transform:none; letter-spacing:normal; }
  .v5 .v5-strip-link:hover { color:var(--v5-text); }
  .v5 .v5-done { position:fixed; inset:0; z-index:1000; display:flex; align-items:center; justify-content:center; padding:16px; box-sizing:border-box;
                 background:rgba(var(--v5-bg-rgb), .86); font-family:var(--v5-font); }
  .v5 .v5-done-card { max-width:420px; padding:32px; text-align:center; background:var(--v5-panel); border:1px solid var(--v5-line); border-radius:var(--v5-r-card); }
  .v5 .v5-done-h { font-size:24px; font-weight:800; letter-spacing:-.02em; color:var(--v5-text); }
  .v5 .v5-done-p { margin-top:8px; font-size:14px; color:var(--v5-text2); }
  .v5 .v5-done-btn { margin-top:22px; height:40px; padding:0 20px; border:1px solid var(--v5-line); border-radius:var(--v5-r-hero-act); background:none; cursor:pointer;
                     font-family:var(--v5-font); font-size:14px; font-weight:600; color:var(--v5-text); text-transform:none; letter-spacing:normal; }
  /* ⚠️ ITEM 702 (H3) — THE LANDING'S GROUPED CARDS, replacing item 681's .v5-hnext rows (deleted). The
     cards ARE the project page's .v5-pcard (one card, v5PCardHtml), so the badge ladder and the type
     palette come with them; only the grid's padding and its column count differ here. No gold is
     added — every card is owed by construction, and the one gold on this page stays "Start
     reviewing" (item 657: gold means one thing). */
  .v5 .v5-lgroups { margin-top:28px; display:flex; flex-direction:column; gap:22px; }
  /* ⟦item 816 #12/#13/#14⟧ (HOME-3/HOME-4) ~96px between the headline and what follows; a small-caps label names it ("TO REVIEW" /
     "YOUR PROJECTS"); one quiet line under the cards links every active project; generous room under it all. */
  .v5 .v5-lto { margin:96px 0 14px; font-size:12px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-cu + .v5-lto { margin-top:48px; }
  .v5 .v5-lto + .v5-lgroups, .v5 .v5-hero--cards .v5-lto + .v5-lgroups { margin-top:0; }
  .v5 .v5-hero--cards .v5-hero-body { padding-bottom:96px; }
  .v5 .v5-lmore-p { border:0; background:none; padding:0; font:inherit; font-weight:600; color:var(--v5-text2); cursor:pointer; }
  .v5 .v5-lmore-p:hover { color:var(--v5-text); text-decoration:underline; }
  .v5 .v5-lpc-list { display:flex; flex-direction:column; gap:12px; max-width:760px; }
  .v5 .v5-lpc { display:flex; align-items:center; gap:16px; width:100%; padding:16px 20px; box-sizing:border-box; border:1px solid var(--v5-line-dim); border-radius:var(--v5-r-card); background:var(--v5-panel3); color:var(--v5-text); font-family:var(--v5-font); text-align:left; cursor:pointer; }
  .v5 .v5-lpc:hover { border-color:var(--v5-line); }
  /* ⟦item 846⟧ HOME-5: the card's frame (16:9) — the newest picture, or a neutral tile with the projects glyph */
  .v5 .v5-lpc-pic { position:relative; flex:0 0 112px; width:112px; height:63px; border-radius:var(--v5-r-tile); overflow:hidden; background:var(--v5-chip); color:var(--v5-text3); display:flex; align-items:center; justify-content:center; }
  .v5 .v5-lpc-img { position:absolute; left:0; top:0; width:100%; height:100%; object-fit:cover; z-index:1; }
  .v5 .v5-lpc-ph { display:flex; }
  .v5 .v5-lpc-next { font-size:13.5px; font-weight:600; color:var(--v5-text2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-cl--phone .v5-lpc { gap:12px; padding:12px 14px; }
  .v5 .v5-cl--phone .v5-lpc-pic { flex-basis:80px; width:80px; height:45px; }
  .v5 .v5-cl--phone .v5-lpc-next { white-space:normal; }
  /* ⟦item 846⟧ HOME-5: caught up, Coming up sits right under the headline and YOUR PROJECTS close under it — no big empty band */
  .v5 .v5-hero--cards.v5-hero--caught .v5-cu { margin:32px 0 0; }   /* beats .v5-hero--cards' 56px (the owed page's) */
  .v5 .v5-hero--caught .v5-lto { margin-top:48px; }
  .v5 .v5-hero--caught .v5-cu + .v5-lto { margin-top:40px; }
  /* ⟦item 868⟧ HOME-7: nothing waiting — the banner hugs its words, three quiet tiles under it (a column on a phone). No gold. */
  .v5 .v5-hero.v5-hero--clear { padding:84px 0 34px; }
  .v5 .v5-hero--clear .v5-hero-body { padding-bottom:0; max-width:none; }
  .v5 .v5-hero--clear .v5-hero-h { font-size:46px; letter-spacing:-.03em; line-height:1.05; }
  .v5 .v5-hero--clear .v5-hero-p { margin-top:12px; max-width:640px; font-size:16px; }
  .v5 .v5-clr-tiles { display:flex; gap:16px; margin-top:18px; }
  .v5 .v5-clr-tile { flex:1 1 0; min-width:0; display:flex; align-items:center; gap:14px; padding:18px 20px; box-sizing:border-box; border:1px solid var(--v5-line-dim); border-radius:var(--v5-r-card);
                     background:var(--v5-panel2); color:var(--v5-text); font-family:var(--v5-font); text-align:left; letter-spacing:normal; text-transform:none; }
  .v5 button.v5-clr-tile { cursor:pointer; }
  .v5 button.v5-clr-tile:hover { border-color:var(--v5-line); }
  .v5 .v5-clr-ico { flex:0 0 40px; width:40px; height:40px; border-radius:var(--v5-r-tile); background:var(--v5-chip); color:var(--v5-text2); display:flex; align-items:center; justify-content:center; }
  .v5 .v5-clr-ico svg { width:18px; height:18px; }
  .v5 .v5-clr-t { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:2px; }
  .v5 .v5-clr-n { font-size:16px; font-weight:700; color:var(--v5-text); }
  .v5 .v5-clr-s { font-size:13px; color:var(--v5-muted); }
  .v5 .v5-clr-go { flex:0 0 auto; font-size:18px; color:var(--v5-text3); }
  .v5 .v5-cl--phone .v5-hero.v5-hero--clear { padding:22px 0 22px; }
  .v5 .v5-cl--phone .v5-hero--clear .v5-hero-greetrow { margin:0 20px; }
  .v5 .v5-cl--phone .v5-hero--clear .v5-hero-body { padding:0 20px; margin-top:18px; }
  .v5 .v5-cl--phone .v5-hero--clear .v5-hero-h { font-size:30px; line-height:1.1; }
  .v5 .v5-cl--phone .v5-hero--clear .v5-hero-p { font-size:14px; line-height:1.45; }
  .v5 .v5-cl--phone .v5-clr-tiles { flex-direction:column; gap:10px; margin-top:14px; }
  .v5 .v5-lpc-t { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:3px; }
  .v5 .v5-lpc-n { font-size:17px; font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-lpc-s { font-size:13.5px; color:var(--v5-muted); }
  .v5 .v5-lpc-go { flex:0 0 auto; font-size:14px; font-weight:700; color:var(--v5-text2); }
  /* ══ ITEM 862 — THE TEAM HOME (TEAM-7 / TEAM-8): its own screen over the app, built from the landing's hero and the HOME-5 card
     above; only its frame, the grid and the client card's own lines are new. No media query: 3 across is a grid whose columns are never
     narrower than a third (so never more than 3) and never under 260px (so a phone gets 1); the phone hero is the client's own
     (.v5-cl--phone, written by v5ClMark on this element too). */
  .v5 .v5-th { position:fixed; inset:0; z-index:200; overflow-y:auto; box-sizing:border-box; padding:0 24px 48px; background:var(--v5-bg); color:var(--v5-text); font-family:var(--v5-font); }
  .v5 .v5-th[hidden] { display:none; }
  .v5 .v5-th-col { max-width:1240px; margin:0 auto; }
  .v5 .v5-cl--phone .v5-th-search { order:3; flex:1 1 100%; margin-left:0; }
  .v5 .v5-cl--phone .v5-th-acct { margin-left:auto; }
  .v5 .v5-th-top { display:flex; align-items:center; flex-wrap:wrap; gap:12px 16px; padding:16px 0; }
  .v5 .v5-th-brand { display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--v5-text2); }
  .v5 .v5-th-search { margin-left:auto; flex:0 1 340px; min-width:0; display:flex; align-items:center; gap:8px; height:38px; padding:0 12px; box-sizing:border-box; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-panel2); color:var(--v5-text3); }
  .v5 .v5-th-search:focus-within { border-color:var(--v5-text3); }
  .v5 .v5-th-q { flex:1 1 auto; min-width:0; border:0; outline:none; background:none; color:var(--v5-text); font-family:var(--v5-font); font-size:14px; }
  .v5 .v5-th-acct { position:relative; flex:0 0 auto; }
  .v5 .v5-th-av { width:36px; height:36px; padding:0; border-radius:50%; border:1px solid var(--v5-line); background:var(--v5-chip); color:var(--v5-text); font-family:var(--v5-font); font-size:12px; font-weight:800; cursor:pointer; }
  .v5 .v5-th-menu { position:absolute; right:0; top:44px; z-index:2; display:flex; flex-direction:column; min-width:200px; padding:6px; border:1px solid var(--v5-line); border-radius:var(--v5-r-card); background:var(--v5-panel2); }
  .v5 .v5-th-menu[hidden] { display:none; }
  .v5 .v5-th-menu button { text-align:left; padding:10px 12px; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--v5-text); font-family:var(--v5-font); font-size:14px; font-weight:600; cursor:pointer; }
  .v5 .v5-th-menu button:hover { background:var(--v5-band); }
  /* ⟦item 925⟧ TEAM-78 · Needs you on the team home: one line per client decision, team blue dot, ✓ clears it */
  .v5 .v5-th-needs { margin:0 0 28px; padding:12px 14px; border:1px solid var(--v5-team-line); border-radius:var(--v5-r-card); background:var(--v5-team-bg); }
  .v5 .v5-thn-h { margin-bottom:6px; font-size:11.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-team-ink); }
  .v5 .v5-thn-row { display:flex; align-items:center; gap:8px; border-top:1px solid var(--v5-team-line); }
  .v5 .v5-thn-h + .v5-thn-row { border-top:0; }
  .v5 .v5-thn-go { flex:1; min-width:0; padding:9px 0; border:0; background:none; color:var(--v5-text); font:inherit; font-size:14px; line-height:1.4; text-align:left; cursor:pointer; }
  .v5 .v5-thn-go:hover { color:var(--v5-team-ink); }
  .v5 .v5-thn-ctx { color:var(--v5-text3); font-size:12.5px; }   /* ⟦item 984⟧ Part 13: "<episode> · <project>" */
  .v5 .v5-thn-dot { color:var(--v5-team-ink); font-size:10px; }
  .v5 .v5-thn-x { flex:none; min-width:36px; min-height:36px; border:1px solid var(--v5-team-line); border-radius:var(--v5-r-tile); background:transparent; color:var(--v5-team-ink); font:inherit; font-weight:800; cursor:pointer; }
  .v5 .v5-th-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(max(260px, calc((100% - 32px) / 3)), 1fr)); gap:16px; margin-top:40px; }
  .v5 .v5-th-card { min-width:0; text-align:left; cursor:pointer; }
  .v5 .v5-th-tile { flex:0 0 56px; width:56px; height:56px; display:flex; align-items:center; justify-content:center; box-sizing:border-box; border-radius:var(--v5-r-tile); overflow:hidden; background:var(--v5-chip); color:var(--v5-text2); font-size:12px; font-weight:800; letter-spacing:.02em; }
  .v5 .v5-th-code { font-size:22px; font-weight:800; letter-spacing:-.01em; }
  .v5 .v5-th-card .v5-lpc-n.v5-th-code { white-space:normal; overflow:visible; text-overflow:clip; line-height:1.15; overflow-wrap:break-word; }   /* ⟦item 1047⟧ a long client name wraps, never "…" */
  .v5 .v5-th-card .v5-lpc-n.v5-th-code--long { font-size:18px; }   /* a long one a size down, so it fits in two lines */
  .v5 .v5-th-name { font-size:13px; color:var(--v5-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-th-sig { display:flex; gap:10px; margin-top:4px; font-size:12.5px; font-weight:800; }
  .v5 .v5-th-late { color:var(--v5-bad); }
  .v5 .v5-th-out { color:var(--v5-gold); }   /* ⟦item 959⟧ 3: "N with the client" (waiting on the client: gold), late inside it in red */
  .v5 .v5-th-links { display:flex; flex-wrap:wrap; gap:8px 24px; margin:20px 0 0; }
  .v5 .v5-th-links a { text-decoration:none; }
  /* ⟦item 911⟧ THE TEAM PAGE (TEAM-67): the team home's screen (.v5-th) with one row per person — a 6-column grid on a desktop, a stacked
     card on a phone (.v5-cl--phone, v5ClMark's marker; no media query in this sheet). Team blue for v5 on; Off is grey. */
  .v5 .v5-ppl-col { max-width:1180px; }
  .v5 .v5-ppl-home { text-decoration:none; }
  .v5 .v5-ppl-back { margin-left:auto; text-decoration:none; }
  .v5 .v5-ppl-head { display:flex; align-items:center; gap:12px; margin-top:18px; }
  .v5 .v5-ppl-h1 { margin:0; font-size:30px; font-weight:800; letter-spacing:-.01em; color:var(--v5-text); }
  .v5 .v5-ppl-add { margin-left:auto; height:36px; padding:0 14px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:transparent; color:var(--v5-text); font-family:var(--v5-font); font-size:14px; font-weight:700; cursor:pointer; }
  .v5 .v5-ppl-add:hover { border-color:var(--v5-text3); }
  .v5 .v5-ppl-intro { margin:6px 0 20px; font-size:13.5px; line-height:1.5; color:var(--v5-text3); }
  .v5 .v5-ppl-note { padding:28px 4px; font-size:14px; color:var(--v5-text2); }
  .v5 .v5-ppl-list { border:1px solid var(--v5-line-dim); border-radius:var(--v5-r-card); background:var(--v5-panel2); overflow:hidden; }
  .v5 .v5-ppl-row { display:grid; grid-template-columns:minmax(190px, 1.5fr) 110px minmax(150px, 1fr) 150px minmax(170px, 1.2fr) 100px 36px; gap:14px; align-items:center; padding:14px 18px; border-top:1px solid var(--v5-line-dim); font-size:14px; }
  .v5 .v5-ppl-row:first-child { border-top:0; }
  .v5 .v5-ppl-row--head { padding:12px 18px; font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-ppl-row--busy { opacity:.55; pointer-events:none; }
  .v5 .v5-ppl-who { min-width:0; }
  .v5 .v5-ppl-name { font-weight:700; color:var(--v5-text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-ppl-you { margin-left:4px; padding:1px 6px; border-radius:var(--v5-r-chip); background:var(--v5-chip); color:var(--v5-text3); font-size:11px; font-weight:600; }
  .v5 .v5-ppl-mail { margin-top:2px; font-size:12.5px; color:var(--v5-text3); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-ppl-agname { margin-top:3px; padding:0; border:0; background:none; font:inherit; font-size:12.5px; font-weight:600; color:var(--v5-text2); cursor:pointer; text-align:left; }   /* ⟦item 930⟧ the agency's name, editable */
  .v5 .v5-ppl-agname:hover { color:var(--v5-text); text-decoration:underline; }
  .v5 .v5-ppl-acc-as span { font-weight:600; }
  .v5 .v5-ppl-c { min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:3px; }
  .v5 .v5-ppl-cl { display:none; font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-ppl-dd { height:30px; padding:0 10px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:transparent; color:var(--v5-text); font-family:var(--v5-font); font-size:13px; cursor:pointer; white-space:nowrap; }
  .v5 .v5-ppl-dd:hover { border-color:var(--v5-text3); }
  .v5 .v5-ppl-dd.v5-ppl-dd--plain { padding:0; border:0; height:auto; font-size:13.5px; }
  .v5 .v5-ppl-dd.v5-ppl-dd--off { color:var(--v5-text3); }
  .v5 .v5-ppl-fixed { font-size:13px; color:var(--v5-text2); }
  .v5 .v5-ppl-v5 { height:30px; padding:0 10px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:transparent; color:var(--v5-text); font-family:var(--v5-font); font-size:13px; cursor:pointer; white-space:nowrap; }
  .v5 .v5-ppl-v5:hover { border-color:var(--v5-text3); }
  .v5 .v5-ppl-v5.v5-ppl-v5--on { border-color:transparent; background:var(--v5-team-bg); color:var(--v5-team-ink); font-weight:700; }
  .v5 .v5-ppl-sub { font-size:12px; color:var(--v5-text3); }
  .v5 .v5-ppl-am { display:block; margin-top:4px; padding:0; border:0; background:none; font:inherit; font-size:12px; color:var(--v5-team-ink); cursor:pointer; text-align:left; }   /* ⟦item 966⟧ the 7 AM email switch (team blue) */
  .v5 .v5-ppl-am--off { color:var(--v5-text3); }
  .v5 .v5-ppl-seen { font-size:13.5px; color:var(--v5-text3); }
  .v5 .v5-ppl-more { width:30px; height:30px; padding:0; border:0; border-radius:var(--v5-r-chip); background:none; color:var(--v5-text3); font-size:16px; line-height:1; cursor:pointer; }
  .v5 .v5-ppl-more:hover { color:var(--v5-text); background:var(--v5-panel3); }
  .v5 .v5-ppl-foot { margin:14px 0 0; font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-cl--phone .v5-ppl-row { grid-template-columns:1fr 1fr; gap:10px 14px; padding:14px 16px; }
  .v5 .v5-cl--phone .v5-ppl-row.v5-ppl-row--head { display:none; }
  .v5 .v5-cl--phone .v5-ppl-who { grid-column:1 / 2; }
  .v5 .v5-cl--phone .v5-ppl-more { grid-column:2 / 3; grid-row:1 / 2; justify-self:end; }
  .v5 .v5-cl--phone .v5-ppl-cl { display:block; }
  .v5 .v5-cl--phone .v5-ppl-h1 { font-size:24px; }
  /* the "Add person" dialog (body-mounted, the page's own dialog look): a label over each field, the worker's refusal under them */
  .v5 .v5-ppl-dlg .v5-ppl-f { display:block; font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-ppl-dlg .v5-ppl-in { display:block; margin:4px 0 12px; }
  .v5 .v5-ppl-dlg.v5-ppl-acc { width:min(520px, calc(100vw - 32px)); }   /* ⟦item 928⟧ Access ▾ */
  .v5 .v5-ppl-acc .v5-ppl-acc-intro { margin:0 0 10px; font-size:13px; line-height:1.45; color:var(--v5-text3); }
  .v5 .v5-ppl-acc .v5-ppl-acc-q { display:block; width:100%; box-sizing:border-box; margin-bottom:10px; }
  .v5 .v5-ppl-acc .v5-ppl-acc-list { max-height:52vh; overflow-y:auto; border:1px solid var(--v5-line-dim); border-radius:var(--v5-r-tile); padding:4px 10px; }
  .v5 .v5-ppl-acc .v5-ppl-acc-c { border-top:1px solid var(--v5-line-dim); padding:6px 0; }
  .v5 .v5-ppl-acc .v5-ppl-acc-c:first-child { border-top:0; }
  .v5 .v5-ppl-acc .v5-ppl-acc-row { display:flex; align-items:center; gap:10px; min-height:32px; font-size:13.5px; color:var(--v5-text); cursor:pointer; }
  .v5 .v5-ppl-acc .v5-ppl-acc-cn { flex:1; min-width:0; font-weight:700; }
  .v5 .v5-ppl-acc .v5-ppl-acc-n { font-size:12px; font-weight:400; color:var(--v5-text3); }
  .v5 .v5-ppl-acc .v5-ppl-acc-sub { padding-left:28px; }
  .v5 .v5-ppl-acc .v5-ppl-acc-ps { padding-left:26px; }
  .v5 .v5-ppl-dlg .v5-ppl-err { min-height:1em; margin-bottom:8px; font-size:13px; color:var(--v5-bad); }
  /* ⟦item 927⟧ THE EMAILS PAGE (ADM-5): the Team page's screen, a 6-column grid on a desktop, a stacked card on a phone (.v5-cl--phone).
     Tokens only: red (--v5-bad) for Bounced / Marked as spam / Failed and the row's tint, the soft grey of an email open, and the
     type tags' families (gold asks the client, green a delivery, team blue, the transcript violet for the client, grey automatic). */
  .v5 .v5-eml-col { max-width:1320px; }
  .v5 .v5-eml-week { margin-bottom:16px; }
  .v5 .v5-eml-bar { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 14px; }
  .v5 .v5-eml-chips { display:flex; flex-wrap:wrap; gap:6px; }
  .v5 .v5-eml-chip { height:30px; padding:0 11px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:transparent; color:var(--v5-text2); font-family:var(--v5-font); font-size:13px; cursor:pointer; }
  .v5 .v5-eml-chip:hover { border-color:var(--v5-text3); }
  .v5 .v5-eml-chip--on { background:var(--v5-chip); border-color:var(--v5-text3); color:var(--v5-text); font-weight:700; }
  .v5 .v5-eml-chip--bad { color:var(--v5-bad); }
  .v5 .v5-eml-gap { flex:1; }
  .v5 .v5-eml-sel, .v5 .v5-eml-q { height:30px; padding:0 10px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-panel2); color:var(--v5-text); font-family:var(--v5-font); font-size:13px; }
  .v5 .v5-eml-q { width:220px; max-width:100%; box-sizing:border-box; }
  .v5 .v5-eml-list { border:1px solid var(--v5-line-dim); border-radius:var(--v5-r-card); background:var(--v5-panel2); overflow:hidden; }
  .v5 .v5-eml-row { display:grid; grid-template-columns:90px 150px minmax(0, 1fr) minmax(160px, 230px) 100px 150px; gap:14px; align-items:start; padding:12px 18px; border-top:1px solid var(--v5-line-dim); font-size:14px; color:var(--v5-text); }
  .v5 .v5-eml-row:first-child { border-top:0; }
  .v5 .v5-eml-row--head { padding:11px 18px; font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-eml-row--open { cursor:pointer; }
  .v5 .v5-eml-row--open:hover, .v5 .v5-eml-row--open:focus-visible { background:var(--v5-head-wash-hover); }
  .v5 .v5-eml-row.v5-eml-row--bad { background:color-mix(in srgb, var(--v5-bad) 9%, transparent); }
  .v5 .v5-eml-row > div { min-width:0; }
  .v5 .v5-eml-sub { margin-top:3px; font-size:12.5px; color:var(--v5-text3); overflow-wrap:anywhere; }
  .v5 .v5-eml-sub.v5-eml-sub--bad { color:var(--v5-bad); }
  .v5 .v5-eml-subj, .v5 .v5-eml-to1 { overflow-wrap:anywhere; }
  .v5 .v5-eml-by { color:var(--v5-text2); overflow-wrap:anywhere; }
  .v5 .v5-eml-ty { display:inline-block; padding:2px 8px; border-radius:var(--v5-r-chip); font-size:12px; font-weight:700; white-space:nowrap; }
  .v5 .v5-eml-ty--owed { background:var(--v5-owed-tint); color:var(--v5-owed-ink); }
  .v5 .v5-eml-ty--done { background:var(--v5-done-tint); color:var(--v5-green); }
  .v5 .v5-eml-ty--team { background:var(--v5-team-bg); color:var(--v5-team-ink); }
  .v5 .v5-eml-ty--client { background:color-mix(in srgb, var(--v5-tr-violet) 16%, transparent); color:var(--v5-tr-violet); }
  .v5 .v5-eml-ty--auto { background:var(--v5-chip); color:var(--v5-text2); }
  .v5 .v5-eml-st { font-size:13.5px; font-weight:600; color:var(--v5-text2); }
  .v5 .v5-eml-st--ok { color:var(--v5-green); }
  .v5 .v5-eml-st--bad { color:var(--v5-bad); font-weight:700; }
  .v5 .v5-eml-st--wait { color:var(--v5-text3); font-weight:500; }
  .v5 .v5-cl--phone .v5-eml-row { grid-template-columns:1fr auto; gap:6px 12px; padding:12px 14px; }
  .v5 .v5-cl--phone .v5-eml-row.v5-eml-row--head { display:none; }
  .v5 .v5-cl--phone .v5-eml-when { grid-column:1; grid-row:1; display:flex; gap:6px; align-items:baseline; }
  .v5 .v5-cl--phone .v5-eml-when .v5-eml-sub { margin-top:0; }
  .v5 .v5-cl--phone .v5-eml-type { grid-column:2; grid-row:1; }
  .v5 .v5-cl--phone .v5-eml-what, .v5 .v5-cl--phone .v5-eml-to { grid-column:1 / 3; }
  .v5 .v5-cl--phone .v5-eml-by { grid-column:1; font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-cl--phone .v5-eml-status { grid-column:2; text-align:right; }
  .v5 .v5-cl--phone .v5-eml-gap { display:none; }
  .v5 .v5-cl--phone .v5-eml-q { width:100%; }
  /* ⟦item 936⟧ THE STATUS PAGE (TEAM-83): the Team page's screen. A 9-column grid on a desktop (8 for an editor: no check box), a stacked
     row on a phone (.v5-cl--phone: client code + item, the stage chip, "waiting · due" on one line, Remind / Open; the chips scroll
     sideways; the Problems strip folds to "N problems ›"). Tokens only: the stage chips are the portal's own .v5-tchip (team blue, gold
     with the client, red changes), red (--v5-bad) only for late, Never opened and the Problems strip, gold only for Remind. */
  .v5 .v5-sts-col { max-width:1380px; }
  .v5 .v5-sts-intro { margin-bottom:14px; }
  .v5 .v5-sts-refresh { font-size:inherit; }
  .v5 .v5-sts-bar { display:flex; flex-direction:column; gap:10px; margin:0 0 14px; }
  .v5 .v5-sts-ctl { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; order:0; }
  .v5 .v5-sts-chips { order:1; }
  .v5 .v5-sts-n { margin-left:6px; font-size:11.5px; font-weight:800; color:var(--v5-text3); }
  .v5 .v5-eml-chip--bad .v5-sts-n { color:var(--v5-bad); }
  .v5 .v5-sts-prob { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 14px; padding:10px 14px; border:1px solid color-mix(in srgb, var(--v5-bad) 40%, transparent); border-radius:var(--v5-r-card); background:color-mix(in srgb, var(--v5-bad) 7%, transparent); }
  .v5 .v5-sts-probh { font-size:11.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--v5-bad); margin-right:4px; }
  .v5 .v5-sts-pill { padding:4px 10px; border:0; border-radius:var(--v5-r-chip); background:color-mix(in srgb, var(--v5-bad) 16%, transparent); color:var(--v5-text); font-family:var(--v5-font); font-size:12.5px; cursor:pointer; overflow-wrap:anywhere; text-align:left; }
  .v5 .v5-sts-pill:hover { background:color-mix(in srgb, var(--v5-bad) 26%, transparent); }
  .v5 .v5-sts-probt { border:0; background:none; padding:0; font-family:var(--v5-font); font-size:14px; font-weight:700; color:var(--v5-bad); cursor:pointer; }
  .v5 .v5-sts-list { border:1px solid var(--v5-line-dim); border-radius:var(--v5-r-card); background:var(--v5-panel2); overflow:hidden; }
  .v5 .v5-sts-row { display:grid; grid-template-columns:34px 190px minmax(200px, 1fr) 160px 70px 150px 110px 130px;   /* ⟦item 1048⟧ the client column 120 → 190: names whole */  gap:12px; align-items:center; padding:10px 16px; border-top:1px solid var(--v5-line-dim); font-size:14px; color:var(--v5-text); }
  .v5 .v5-sts-cols--admin .v5-sts-row { grid-template-columns:22px 34px 120px minmax(200px, 1fr) 160px 70px 150px 110px 130px; }   /* ⟦item 1038⟧ the one rail is wider than the strip: the item keeps 200px */   /* ⟦item 1036⟧ the client's name (was a code, 64px); Open / Remind + ⋯ */
  .v5 .v5-sts-row:first-child { border-top:0; }
  .v5 .v5-sts-row--head { padding:10px 16px; font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-sts-row > * { min-width:0; }
  .v5 .v5-sts-tile { width:30px; height:30px; border-radius:var(--v5-r-tile); display:flex; align-items:center; justify-content:center; }
  .v5 .v5-sts-cb input { width:16px; height:16px; margin:0; accent-color:var(--v5-team-ink); cursor:pointer; }
  .v5 .v5-sts-code { font-weight:600; font-size:13px; line-height:1.3; color:var(--v5-text2); white-space:normal; overflow-wrap:break-word; }   /* ⟦item 1048⟧ never cut off: a long name wraps (no logos) */   /* ⟦item 1036⟧ the short client name */
  .v5 .v5-sts-epl { font-size:10.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--v5-text3); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-sts-more { margin-left:6px; width:30px; height:30px; padding:0; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--v5-text2); font:inherit; font-size:16px; cursor:pointer; }
  .v5 .v5-sts-more:hover { background:var(--v5-panel2); }
  .v5 .v5-sts-name { display:block; max-width:100%; padding:0; border:0; background:none; font-family:var(--v5-font); font-size:14px; font-weight:700; color:var(--v5-text); text-align:left; cursor:pointer; overflow-wrap:anywhere; }
  .v5 .v5-sts-name:hover { text-decoration:underline; }
  .v5 .v5-sts-sub { margin-top:2px; font-size:12.5px; color:var(--v5-text3); overflow-wrap:anywhere; }
  /* ⟦item 997⟧ the one grey-line rule: phrases whole, each "·" before its phrase (clipped at a line start), the link last at the right end */
  .v5 .v5-gl { display:block; overflow:hidden; }
  .v5 .v5-gl-in { display:flex; flex-wrap:wrap; align-items:baseline; margin-left:-0.9em; }
  .v5 .v5-gl-ph { flex:0 1 auto; min-width:0; }   /* a phrase moves to the next line whole (flex places it by its full width); it wraps inside itself only alone on a line too narrow for it — never clipped */
  .v5 .v5-gl-ph:first-child { padding-left:0.9em; }
  .v5 .v5-gl-sep { display:inline-block; width:0.9em; text-align:center; }
  .v5 .v5-gl-end { margin-left:auto; padding-left:calc(0.9em + 10px); white-space:nowrap; }
  .v5 .v5-sts-via { color:var(--v5-text2); }
  .v5 .v5-sts-chip { cursor:default; }
  .v5 .v5-sts-stbtn { padding:0; border:0; background:none; font-family:var(--v5-font); cursor:pointer; }   /* ⟦item 957⟧ 3 */
  .v5 .v5-sts-stbtn .v5-sts-chip { cursor:pointer; }
  .v5 .v5-sts-stbtn:focus-visible { outline:2px solid var(--v5-team-ink); outline-offset:2px; border-radius:var(--v5-r-chip); }
  .v5 .v5-sts-chip:hover { background:color-mix(in srgb, var(--tchip-c) 18%, transparent); }
  .v5 .v5-sts-wait { color:var(--v5-text2); }
  .v5 .v5-sts-opened, .v5 .v5-sts-due { font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-sts-bad, .v5 .v5-sts-opened.v5-sts-bad, .v5 .v5-sts-due.v5-sts-bad { color:var(--v5-bad); font-weight:700; }
  .v5 .v5-sts-act { text-align:right; }
  .v5 .v5-sts-meta { display:none; }
  .v5 .v5-sts-meta .v5-sts-bad { font-weight:700; }
  .v5 .v5-sts-btn { height:30px; padding:0 12px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:transparent; color:var(--v5-text); font-family:var(--v5-font); font-size:13px; font-weight:700; cursor:pointer; white-space:nowrap; }
  .v5 .v5-sts-btn:hover:not(:disabled) { border-color:var(--v5-text3); }
  .v5 .v5-sts-btn:disabled { opacity:.45; cursor:default; }
  .v5 .v5-sts-btn--gold { border-color:color-mix(in srgb, var(--v5-gold) 55%, transparent); color:var(--v5-gold); }
  .v5 .v5-sts-btn--gold:hover:not(:disabled) { border-color:var(--v5-gold); }
  .v5 .v5-sts-grp { margin:0 0 16px; }
  .v5 .v5-sts-grp-h { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; margin:0 0 8px; }
  .v5 .v5-sts-grp-code { font-weight:800; font-size:15px; }
  .v5 .v5-sts-grp-name { color:var(--v5-text2); font-size:13.5px; }
  .v5 .v5-sts-grp-sum { color:var(--v5-text3); font-size:13px; }
  .v5 .v5-sts-foot { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:12px; font-size:13px; }
  .v5 .v5-sts-ssline { margin:18px 0 0; font-size:12.5px; color:var(--v5-text3); }   /* ⟦item 976⟧ */
  .v5 .v5-sts-note { color:var(--v5-text3); }
  .v5 .v5-th-status { margin:14px 0 22px; }   /* ⟦item 959⟧ 6: room under the headline (it touched it) */
  .v5 .v5-th-status a { text-decoration:none; }
  .v5 .v5-cl--phone .v5-sts-chips { flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding-bottom:2px; }
  .v5 .v5-cl--phone .v5-sts-chips .v5-eml-chip { flex:0 0 auto; }
  .v5 .v5-cl--phone .v5-sts-ctl { justify-content:flex-start; }
  .v5 .v5-cl--phone .v5-sts-row, .v5 .v5-cl--phone .v5-sts-cols--admin .v5-sts-row { grid-template-columns:30px minmax(0, 1fr) auto; grid-template-areas:"tile code act" "tile item act" ". stage stage" ". meta meta"; gap:4px 10px; padding:12px 14px; align-items:start; }
  .v5 .v5-cl--phone .v5-sts-cols--admin .v5-sts-row { grid-template-columns:20px 30px minmax(0, 1fr) auto; grid-template-areas:"cb tile code act" "cb tile item act" ". . stage stage" ". . meta meta"; }
  /* ⟦item 973⟧ PROJECT STREAM: three columns (rail · stream · side), light by default, .v5-pst--dark for dark; every colour a --v5-pst-* token
     (the light and dark sets live in the token block); the phone (.v5-pst--phone, under V5_PHONE_MAX) shows the stream alone, the rail as a
     menu and the side panel full screen */
  .v5 .v5-pst { --v5-pst-cbox-sh:var(--v5-pst-l-cbox-sh); --v5-pst-box:var(--v5-pst-l-box); --v5-pst-box-line:var(--v5-pst-l-box-line); --v5-pst-box-wait:var(--v5-pst-l-box-wait); --v5-pst-box-team:var(--v5-pst-l-box-team); --v5-pst-box-team-line:var(--v5-pst-l-box-team-line); --v5-pst-sec:var(--v5-pst-l-sec); --v5-pst-thread:var(--v5-pst-l-thread); --v5-pst-page:var(--v5-pst-l-page); --v5-pst-card:var(--v5-pst-l-card); --v5-pst-line:var(--v5-pst-l-line); --v5-pst-line2:var(--v5-pst-l-line2); --v5-pst-text:var(--v5-pst-l-text); --v5-pst-muted:var(--v5-pst-l-muted); --v5-pst-rail:var(--v5-pst-l-rail); --v5-pst-rail-ink:var(--v5-pst-l-rail-ink); --v5-pst-rail-ink2:var(--v5-pst-l-rail-ink2); --v5-pst-rail-cap:var(--v5-pst-l-rail-cap); --v5-pst-steel:var(--v5-pst-l-steel); --v5-pst-steel-pale:var(--v5-pst-l-steel-pale); --v5-pst-on-steel:var(--v5-pst-l-on-steel); --v5-pst-ok:var(--v5-pst-l-ok); --v5-pst-late:var(--v5-pst-l-late); --v5-pst-gold:var(--v5-pst-l-gold); --v5-pst-env:var(--v5-pst-l-env); --v5-pst-env-ink:var(--v5-pst-l-card); --v5-pst-agency:var(--v5-pst-l-agency); --v5-pst-agency-pale:var(--v5-pst-l-agency-pale); --v5-pst-bad-pale:var(--v5-pst-l-bad-pale); --v5-pst-ok-pale:var(--v5-pst-l-ok-pale); }
  .v5 .v5-pst--dark { --v5-pst-cbox-sh:var(--v5-pst-d-cbox-sh); --v5-pst-box:var(--v5-pst-d-box); --v5-pst-box-line:var(--v5-pst-d-box-line); --v5-pst-box-wait:var(--v5-pst-d-box-wait); --v5-pst-box-team:var(--v5-pst-d-box-team); --v5-pst-box-team-line:var(--v5-pst-d-box-team-line); --v5-pst-sec:var(--v5-pst-d-sec); --v5-pst-thread:var(--v5-pst-d-thread); --v5-pst-page:var(--v5-pst-d-page); --v5-pst-card:var(--v5-pst-d-card); --v5-pst-line:var(--v5-pst-d-line); --v5-pst-line2:var(--v5-pst-d-line2); --v5-pst-text:var(--v5-pst-d-text); --v5-pst-muted:var(--v5-pst-d-muted); --v5-pst-rail:var(--v5-pst-d-rail); --v5-pst-rail-ink:var(--v5-pst-d-rail-ink); --v5-pst-rail-ink2:var(--v5-pst-d-rail-ink2); --v5-pst-rail-cap:var(--v5-pst-d-rail-cap); --v5-pst-steel:var(--v5-pst-d-steel); --v5-pst-steel-pale:var(--v5-pst-d-steel-pale); --v5-pst-on-steel:var(--v5-pst-d-on-steel); --v5-pst-ok:var(--v5-pst-d-ok); --v5-pst-late:var(--v5-pst-d-late); --v5-pst-gold:var(--v5-pst-d-gold); --v5-pst-env:var(--v5-pst-d-env); --v5-pst-env-ink:var(--v5-pst-d-card); --v5-pst-agency:var(--v5-pst-d-agency); --v5-pst-agency-pale:var(--v5-pst-d-agency-pale); --v5-pst-bad-pale:var(--v5-pst-d-bad-pale); --v5-pst-ok-pale:var(--v5-pst-d-ok-pale); }
  .v5 .v5-pst { position:fixed; inset:0; z-index:200; display:grid; grid-template-columns:auto 300px minmax(0, 900px) var(--v5-pst-side, 480px); justify-content:center; background:var(--v5-pst-page); color:var(--v5-pst-text); font-family:var(--v5-font); font-size:14px; }   /* ⟦item 983⟧ the rail 300px (was 974's 260). ⟦item 974⟧ Part 2: the stream up to 900px, the panel (480px by default, resizable); wide screens centre it */
  .v5 .v5-pst[hidden] { display:none; }
  .v5 .v5-pst-rail { display:block; overflow-y:auto; padding:16px 10px 28px; background:var(--v5-pst-rail); color:var(--v5-pst-rail-ink); }
  .v5 .v5-pst-brand { display:flex; align-items:center; gap:7px; padding:2px 10px 8px; text-decoration:none; color:var(--v5-pst-rail-ink); }
  .v5 .v5-pst-brandt { font-size:11.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
  .v5 .v5-pst-brandteam { font-size:11.5px; font-weight:600; color:var(--v5-pst-rail-cap); }
  .v5 .v5-pst-home { display:block; padding:6px 10px; border-radius:var(--v5-r-tile); color:var(--v5-pst-rail-ink2); font-size:13px; text-decoration:none; }
  .v5 .v5-pst-home:hover { background:var(--v5-pst-steel-pale); }
  .v5 .v5-pst-openp { display:inline-flex; margin-top:14px; padding:6px 12px; border:1px solid var(--v5-pst-steel); border-radius:var(--v5-r-tile); background:none; color:var(--v5-pst-steel); font-family:var(--v5-font); font-size:13px; font-weight:700; cursor:pointer; }
  .v5 .v5-pst-openl { margin:4px 0 0; font-size:12px; color:var(--v5-pst-muted); }
  .v5 .v5-pst-rh { margin:16px 10px 6px; font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--v5-pst-rail-cap); }
  .v5 .v5-pst-ri { display:flex; align-items:center; gap:8px; width:100%; padding:7px 10px; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--v5-pst-rail-ink2); font-family:var(--v5-font); font-size:13.5px; text-align:left; cursor:pointer; }
  .v5 .v5-pst-ri:hover { background:var(--v5-pst-steel-pale); }
  .v5 .v5-pst-ri--on { background:var(--v5-pst-steel); color:var(--v5-pst-on-steel); font-weight:700; }   /* ⟦item 977⟧ Part 3: the open one is a SOLID steel bar, white text */
  .v5 .v5-pst-ri--on .v5-pst-cnt { background:var(--v5-pst-on-steel); color:var(--v5-pst-steel); }
  .v5 .v5-pst-ri--on .v5-pst-new { background:var(--v5-pst-on-steel); }
  /* ⟦item 977⟧ Part 3: the strip column, the rail's title, Find, the boxes */
  .v5 .v5-pst-strip { display:flex; }
  /* ⟦item 1018⟧ the team strip beside the team's client rail: its own flex item, full height, the page's background behind it */
  .v5 .v5-rail-tstrip { display:flex; flex:0 0 auto; background:var(--v5-bg); }
  .v5 .v5-rail-tstrip .v5-tstrip { position:sticky; }
  .v5 .v5-pst-strip .v5-tstrip { position:sticky; }
  .v5 .v5-pst-rtitle { margin:2px 6px 10px; font-size:17px; font-weight:800; color:var(--v5-pst-sec); }
  .v5 .v5-pst-find { width:100%; box-sizing:border-box; height:34px; margin:0 0 12px; padding:0 10px; border:1px solid var(--v5-pst-box-line); border-radius:var(--v5-r-tile); background:var(--v5-pst-box); color:var(--v5-pst-text); font-family:var(--v5-font); font-size:13px; }
  .v5 .v5-pst-box { margin:0 0 12px; padding:6px; border:1px solid var(--v5-pst-box-line); border-radius:var(--v5-r-box); background:var(--v5-pst-box); }
  .v5 .v5-pst-box--top { border:1.5px solid var(--v5-pst-steel); }
  .v5 .v5-pst-box--wait { background:var(--v5-pst-box-wait); }
  .v5 .v5-pst-box--team { background:var(--v5-pst-box-team); border-color:var(--v5-pst-box-team-line); }
  .v5 .v5-pst-sech { margin:4px 6px 6px; font-size:11.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--v5-pst-sec); }
  .v5 .v5-pst-cg { margin:2px 0 8px; }
  .v5 .v5-pst-cn { margin:6px 10px 2px; font-size:13px; font-weight:700; color:var(--v5-pst-sec); }
  .v5 .v5-pst-wn { margin-left:auto; flex:0 0 auto; white-space:nowrap; font-size:12px; color:var(--v5-pst-muted); }   /* ⟦item 983⟧ never two lines (it squeezed the name: "American Society for Nutri…") */
  .v5 .v5-pst-wps { margin:0 0 6px 10px; }
  .v5 .v5-pst-delv { color:var(--v5-pst-ok); font-weight:800; }
  .v5 .v5-pst-phstrip .v5-tstrip { position:static; flex-direction:row; width:auto; height:auto; margin:0 0 12px; padding:6px 10px; }
  .v5 .v5-pst-phstrip .v5-tstrip-sp { flex:1 1 auto; }
  .v5 .v5-pst-rt { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:1px; }
  .v5 .v5-pst-rn { overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow-wrap:anywhere; line-height:1.3; }   /* ⟦item 983⟧ a long name takes two lines, never cut on one (measured: "American Society of Civil Engineers" needs 226px; a project row has 200, a waiting row 177) */
  .v5 .v5-pst-rc { font-size:11.5px; color:var(--v5-pst-rail-cap); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  /* ⟦item 977⟧ Part 3: no bold-vs-normal difference any more (a number = our turn, a dot = new to me) */
  .v5 .v5-pst-cnt { flex:0 0 auto; min-width:20px; padding:1px 7px; border-radius:var(--v5-r-chip); background:var(--v5-pst-steel); color:var(--v5-pst-on-steel); font-size:11.5px; font-weight:800; text-align:center; }
  .v5 .v5-pst-more { color:var(--v5-pst-rail-cap); font-size:12.5px; }
  .v5 .v5-pst-eps { margin:2px 0 6px 12px; padding-left:8px; border-left:1px solid var(--v5-pst-line2); }
  .v5 .v5-pst-ep { display:flex; align-items:center; gap:7px; width:100%; padding:5px 8px; border:0; border-radius:var(--v5-r-chip); background:none; color:var(--v5-pst-rail-ink2); font-family:var(--v5-font); font-size:12.5px; text-align:left; cursor:pointer; }
  .v5 .v5-pst-ep:hover { background:var(--v5-pst-steel-pale); }
  .v5 .v5-pst-ep--on { background:var(--v5-pst-steel-pale); color:var(--v5-pst-rail-ink); font-weight:700; }
  .v5 .v5-pst-ep--late .v5-pst-epn { color:var(--v5-pst-late); }
  .v5 .v5-pst-epn { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-pst-dot { flex:0 0 7px; width:7px; height:7px; border-radius:50%; background:var(--v5-pst-steel); }
  .v5 .v5-pst-dot--none { background:none; }
  .v5 .v5-pst-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .v5 .v5-pst-mid { overflow-y:auto; min-width:0; padding:18px 26px 40px; }
  .v5 .v5-pst-top { display:flex; align-items:center; gap:10px; flex-wrap:nowrap; min-width:0; }   /* ⟦item 977⟧ Part 2: one row, never wraps */
  .v5 .v5-pst-h1 { flex:0 1 auto; min-width:0; margin:0; font-size:22px; font-weight:800; color:var(--v5-pst-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-pst-top .v5-pst-sel { flex:0 1 auto; min-width:0; max-width:220px; }
  /* ⟦item 1052⟧ in the 520px stream (1440 with the rail open) the title gave way first ("The W…"): the name now keeps up to half the row and the
     deliverable menu gives way instead (down to 90px: "All deliv…"); a longer name still ends in … */
  .v5 .v5-pst-top .v5-pst-h1 { flex:0 0 auto; max-width:50%; }
  .v5 .v5-pst-top .v5-pst-sel { flex:0 1 220px; min-width:90px; }
  .v5 .v5-pst-tr { display:flex; align-items:center; gap:10px; flex:0 0 auto; margin-left:auto; white-space:nowrap; position:relative; }
  .v5 .v5-pst-tr .v5-pst-cu { margin-left:0; }
  .v5 .v5-pst-hmore { width:34px; height:34px; border:1px solid var(--v5-pst-line2); border-radius:var(--v5-r-tile); background:var(--v5-pst-card); color:var(--v5-pst-text); font-size:16px; cursor:pointer; }
  .v5 .v5-pst-hpop { position:absolute; top:40px; right:0; z-index:5; display:flex; flex-direction:column; align-items:flex-start; gap:10px; padding:12px; border:1px solid var(--v5-pst-line2); border-radius:var(--v5-r-tile); background:var(--v5-pst-card); }
  .v5 .v5-pst-theme { flex:0 0 auto; width:34px; height:34px; border:1px solid var(--v5-pst-line2); border-radius:var(--v5-r-tile); background:var(--v5-pst-card); color:var(--v5-pst-text); font-size:16px; cursor:pointer; }
  .v5 .v5-pst-menu { flex:0 0 auto; width:36px; height:36px; border:1px solid var(--v5-pst-line2); border-radius:var(--v5-r-tile); background:var(--v5-pst-card); color:var(--v5-pst-text); font-size:17px; cursor:pointer; }
  .v5 .v5-pst-bar { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; margin:12px 0 6px; }
  .v5 .v5-pst-filters { display:flex; flex-wrap:nowrap; gap:6px; overflow-x:auto; max-width:100%; }   /* ⟦item 977⟧ Part 2: one row (a phone scrolls it sideways) */
  .v5 .v5-pst-filters .v5-pst-f { flex:0 0 auto; }
  .v5 .v5-pst-f { padding:5px 11px; border:1px solid var(--v5-pst-line2); border-radius:var(--v5-r-chip); background:var(--v5-pst-card); color:var(--v5-pst-muted); font-family:var(--v5-font); font-size:12.5px; font-weight:600; cursor:pointer; }
  .v5 .v5-pst-f--on { border-color:var(--v5-pst-steel); background:var(--v5-pst-steel-pale); color:var(--v5-pst-steel); }
  .v5 .v5-pst-sel { height:30px; padding:0 8px; border:1px solid var(--v5-pst-line2); border-radius:var(--v5-r-tile); background:var(--v5-pst-card); color:var(--v5-pst-text); font-family:var(--v5-font); font-size:12.5px; }
  .v5 .v5-pst-q { flex:1 1 200px; min-width:0; height:32px; padding:0 10px; border:1px solid var(--v5-pst-line2); border-radius:var(--v5-r-tile); background:var(--v5-pst-card); color:var(--v5-pst-text); font-family:var(--v5-font); font-size:13px; }
  .v5 .v5-pst-links { font-size:12.5px; color:var(--v5-pst-muted); }
  .v5 .v5-pst-link { padding:0; border:0; background:none; color:var(--v5-pst-steel); font-family:var(--v5-font); font-size:inherit; font-weight:600; text-decoration:underline; cursor:pointer; }
  .v5 .v5-pst-cu { margin-left:auto; padding:6px 12px; border:1px solid var(--v5-pst-steel); border-radius:var(--v5-r-tile); background:var(--v5-pst-card); color:var(--v5-pst-steel); font-family:var(--v5-font); font-size:13px; font-weight:700; cursor:pointer; }
  .v5 .v5-pst-day { margin:22px 0 6px; font-size:11.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--v5-pst-muted); }
  .v5 .v5-pst-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
  .v5 .v5-pst-it { border:1px solid var(--v5-pst-line); border-radius:var(--v5-r-tile); background:var(--v5-pst-card); }
  .v5 .v5-pst-it--sel { border-color:var(--v5-pst-steel); background:var(--v5-pst-steel-pale); }
  .v5 .v5-pst-it--new { box-shadow:inset 3px 0 0 var(--v5-pst-steel); background:var(--v5-pst-steel-pale); }
  .v5 .v5-pst-noemail { color:var(--v5-pst-muted); }   /* ⟦item 975⟧ */
  .v5 .v5-pst-newline { list-style:none; margin:2px 0; padding:4px 2px 0; border-top:2px solid var(--v5-pst-steel); font-size:11.5px; font-weight:800; color:var(--v5-pst-steel); }
  .v5 .v5-pst-new { flex:0 0 8px; width:8px; height:8px; border-radius:50%; background:var(--v5-pst-steel); }
  .v5 .v5-pst-new--none { background:none; }
  .v5 .v5-pst-newn { margin-left:auto; font-size:11.5px; font-weight:700; color:var(--v5-pst-steel); }
  .v5 .v5-pst-seenby { margin:0 12px 8px 64px; font-size:11.5px; color:var(--v5-pst-muted); }
  .v5 .v5-pst-row { display:flex; align-items:flex-start; gap:12px; width:100%; padding:10px 12px; border:0; background:none; color:inherit; font-family:var(--v5-font); text-align:left; cursor:pointer; }
  .v5 .v5-pst-av { flex:0 0 40px; width:40px; height:40px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:var(--v5-pst-steel-pale); color:var(--v5-pst-steel); font-size:13px; font-weight:800; }
  .v5 .v5-pst-av--client { background:var(--v5-pst-line); color:var(--v5-pst-gold); }
  .v5 .v5-pst-env { flex:0 0 40px; width:40px; height:40px; display:flex; align-items:center; justify-content:center; border-radius:var(--v5-r-tile); background:var(--v5-pst-line); color:var(--v5-pst-env); }
  .v5 .v5-pst-main { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:3px; }
  .v5 .v5-pst-head { display:flex; align-items:center; flex-wrap:wrap; gap:4px 8px; font-size:13px; }
  .v5 .v5-pst-who { font-weight:700; color:var(--v5-pst-text); }
  .v5 .v5-pst-who--client { color:var(--v5-pst-gold); }
  .v5 .v5-pst-who--team { color:var(--v5-pst-steel); }
  .v5 .v5-pst-gold { color:var(--v5-pst-gold); }
  .v5 .v5-pst-tag { padding:1px 7px; border-radius:var(--v5-r-chip); background:var(--v5-pst-line); color:var(--v5-pst-muted); font-size:11.5px; font-weight:700; }
  .v5 .v5-pst-tag--team { background:var(--v5-pst-steel-pale); color:var(--v5-pst-steel); }
  .v5 .v5-pst-tag--agency { background:var(--v5-pst-agency-pale); color:var(--v5-pst-agency); }
  .v5 .v5-pst-time { font-size:12px; color:var(--v5-pst-muted); }
  .v5 .v5-pst-chip { padding:1px 7px; border:1px solid var(--v5-pst-line2); border-radius:var(--v5-r-chip); font-size:11.5px; color:var(--v5-pst-muted); }
  .v5 .v5-pst-chip--ok { border-color:transparent; background:var(--v5-pst-ok-pale); color:var(--v5-pst-ok); }
  .v5 .v5-pst-chip--bad { border-color:transparent; background:var(--v5-pst-bad-pale); color:var(--v5-pst-late); }
  .v5 .v5-pst-chip--need { border-color:transparent; background:var(--v5-pst-steel-pale); color:var(--v5-pst-steel); }
  .v5 .v5-pst-subj { font-size:14px; font-weight:700; color:var(--v5-pst-text); overflow-wrap:anywhere; }
  .v5 .v5-pst-text { font-size:14px; line-height:1.45; color:var(--v5-pst-text); overflow-wrap:anywhere; white-space:pre-wrap; }
  .v5 .v5-pst-about { font-size:12px; color:var(--v5-pst-muted); }
  .v5 .v5-pst-reps { font-size:12.5px; font-weight:600; color:var(--v5-pst-steel); }
  /* ⟦item 977⟧ Part 6: the newest reply on a thin thread line; the done chip */
  .v5 .v5-pst-tag--ss { background:var(--v5-pst-ss-bg); color:var(--v5-pst-ss-ink); }   /* ⟦item 977⟧ Part 5 */
  .v5 .v5-pst-ssgo { display:inline-block; margin:-4px 12px 8px 64px; font-size:12.5px; }
  .v5 .v5-pst-thr { margin:-4px 12px 10px 64px; padding-left:12px; border-left:2px solid var(--v5-pst-thread); display:flex; flex-direction:column; gap:6px; }
  .v5 .v5-pst-thr-more { align-self:flex-start; font-size:12.5px; }
  .v5 .v5-pst-thr-r { display:flex; gap:8px; align-items:flex-start; }
  .v5 .v5-pst-thr-av { flex:0 0 26px; width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:10.5px; font-weight:800; background:var(--v5-pst-line); color:var(--v5-pst-text); }
  .v5 .v5-pst-thr-b { min-width:0; }
  .v5 .v5-pst-thr-h { display:flex; align-items:baseline; gap:8px; font-size:13px; }
  .v5 .v5-pst-thr-t { font-size:13px; color:var(--v5-pst-text); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .v5 .v5-pst-thr-go { font-size:12.5px; }
  .v5 .v5-pst-chip--done { margin:0 12px 6px 64px; padding:2px 9px; border:0; border-radius:var(--v5-r-chip); background:var(--v5-pst-ok-pale); color:var(--v5-pst-ok); font-family:var(--v5-font); font-size:12px; font-weight:700; cursor:pointer; }
  .v5 .v5-pst-it--ok { padding:9px 12px; border-color:transparent; background:var(--v5-pst-ok-pale); }
  .v5 .v5-pst-okline { font-size:13.5px; color:var(--v5-pst-ok); }
  .v5 .v5-pst-okline .v5-pst-who { color:var(--v5-pst-ok); }
  .v5 .v5-pst-it--line { padding:9px 12px; font-size:13.5px; }
  .v5 .v5-pst-notesgo { display:block; margin:0 12px 10px 64px; font-size:12.5px; }
  .v5 .v5-pst-tc { padding:1px 6px; border-radius:var(--v5-r-chip); background:var(--v5-pst-steel-pale); color:var(--v5-pst-steel); font-size:11.5px; font-weight:700; }
  .v5 .v5-pst-clamp { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .v5 .v5-pst-card { padding:10px 12px; }
  .v5 .v5-pst-cardt { font-size:13.5px; overflow-wrap:anywhere; }
  .v5 .v5-pst-cards { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:6px; }
  .v5 .v5-pst-btn { flex:0 0 auto; padding:5px 12px; border:0; border-radius:var(--v5-r-tile); background:var(--v5-pst-steel); color:var(--v5-pst-on-steel); font-family:var(--v5-font); font-size:12.5px; font-weight:700; cursor:pointer; }
  .v5 .v5-pst-fold { padding:8px 12px; border-style:dashed; background:none; font-size:12.5px; color:var(--v5-pst-muted); }
  .v5 .v5-pst-foldl { margin:6px 0 0; padding-left:18px; }
  .v5 .v5-pst-note { margin:14px 0; font-size:13.5px; color:var(--v5-pst-muted); }
  .v5 .v5-pst-nrow { display:flex; align-items:center; gap:12px; padding:10px 12px; }
  .v5 .v5-pst-side { position:relative; overflow-y:auto; min-width:0; padding:18px 18px 40px; border-left:1px solid var(--v5-pst-line); background:var(--v5-pst-card); }
  .v5 .v5-pst-grip { position:absolute; top:0; bottom:0; left:-3px; width:7px; cursor:col-resize; z-index:2; background:none; border:0; padding:0; }
  .v5 .v5-pst-grip:hover { box-shadow:inset 2px 0 0 var(--v5-pst-steel), inset -3px 0 0 var(--v5-pst-card); }
  .v5 .v5-pst-grip:focus-visible { outline:2px solid var(--v5-pst-steel); outline-offset:-2px; }
  .v5 .v5-pst-pic { flex:0 0 64px; width:64px; height:36px; overflow:hidden; border-radius:var(--v5-r-chip); background:var(--v5-pst-line); }
  .v5 .v5-pst-pic img { display:block; width:100%; height:100%; object-fit:cover; }
  .v5 .v5-pst-cardrow { display:flex; align-items:center; gap:10px; }
  .v5 .v5-pst-x { display:inline-flex; align-items:center; gap:6px; margin-bottom:10px; padding:4px 8px; border:1px solid var(--v5-pst-line2); border-radius:var(--v5-r-tile); background:none; color:var(--v5-pst-muted); font-family:var(--v5-font); font-size:12.5px; cursor:pointer; }
  .v5 .v5-pst-sh { margin:0 0 10px; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--v5-pst-steel); }
  .v5 .v5-pst-sub { margin:16px 0 6px; font-size:11.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--v5-pst-muted); }
  .v5 .v5-pst-kv { display:flex; gap:10px; padding:5px 0; border-bottom:1px solid var(--v5-pst-line); font-size:13px; }
  .v5 .v5-pst-kv > span:first-child { flex:0 0 78px; color:var(--v5-pst-muted); }
  .v5 .v5-pst-kv > span:last-child { flex:1 1 auto; min-width:0; overflow-wrap:anywhere; }
  .v5 .v5-pst-late { color:var(--v5-pst-late); font-weight:700; }
  .v5 .v5-pst-esubj { margin-bottom:8px; font-size:16px; font-weight:800; overflow-wrap:anywhere; }
  /* ⟦item 983⟧ the email's copy fills the panel down to the window's bottom and scrolls inside (no fixed 420px box); Assign sits above it */
  .v5 .v5-pst-side:has(.v5-pst-email) { display:flex; flex-direction:column; padding-bottom:12px; }
  .v5 .v5-pst-side:has(.v5-pst-email) > [data-v5-pst-sidein] { flex:1 1 auto; min-height:0; display:flex; flex-direction:column; }
  .v5 .v5-pst-email { flex:1 1 auto; min-height:0; display:flex; flex-direction:column; }
  .v5 .v5-pst-email .v5-pst-frame { flex:1 1 auto; height:auto; min-height:320px; }
  .v5 .v5-pst-frame { width:100%; height:420px; margin-top:12px; border:1px solid var(--v5-pst-line); border-radius:var(--v5-r-tile); background:var(--v5-pst-l-card); }
  .v5 .v5-pst-our { list-style:none; margin:0; padding:0; }
  .v5 .v5-pst-our > li { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:6px 0; border-bottom:1px solid var(--v5-pst-line); font-size:13px; }
  .v5 .v5-pst-ppl { font-size:13px; }
  .v5 .v5-pst-msg { padding:8px 0; border-bottom:1px solid var(--v5-pst-line); }
  .v5 .v5-pst-cuh { font-size:14px; line-height:1.5; }
  .v5 .v5-pst-cul { margin:0; padding-left:18px; font-size:13px; line-height:1.6; }
  /* ⟦item 983c⟧ (Jeffrey, Nov 4) the old composer rule that sat here (.v5 .v5-pst-box: margin 14 / padding 10 12 / a plain card) is GONE: the comment box has its own class since 983, and this rule — the same selector, later — had been overriding the rail's four ADM-16D boxes since 977 (Needs you's 1.5px steel edge, Waiting #f1f5f9, Team #dde6ef) */
  /* ⟦item 983⟧ THE COMMENT BOX (ADM-20 A): its own class (the rail's boxes keep .v5-pst-box): a 2px steel edge, radius 12, a soft steel shadow, the writer's initials (34px, steel) on the left, the text ~58px to start and growing as you type, the row under the text lined up with it, Post on the right */
  /* ⟦item 1114⟧ the comment box and the side reply are the ONE composer (cmpHtml): item 983's .v5-pst-cbox styles are gone with its markup */
  .v5 .v5-pst-cmpw { margin:14px 0 4px; }
  .v5 .v5-pst-cmpw--side { margin:6px 0 0; }
  .v5 .v5-pst-cmpw .v5-cmp-above { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 4px; }
  .v5 .v5-pst-ta { box-sizing:border-box; width:100%; min-height:44px; padding:8px 10px; border:1px solid var(--v5-pst-line2); border-radius:var(--v5-r-tile); background:var(--v5-pst-page); color:var(--v5-pst-text); font-family:var(--v5-font); font-size:14px; resize:vertical; }
  .v5 .v5-pst-boxbar { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:8px; }
  .v5 .v5-pst-seg { display:inline-flex; border:1px solid var(--v5-pst-line2); border-radius:var(--v5-r-tile); overflow:hidden; }
  .v5 .v5-pst-segb { padding:5px 10px; border:0; background:var(--v5-pst-card); color:var(--v5-pst-muted); font-family:var(--v5-font); font-size:12.5px; font-weight:600; cursor:pointer; }
  .v5 .v5-pst-segb--on { background:var(--v5-pst-steel); color:var(--v5-pst-on-steel); }
  .v5 .v5-pst-post { margin-left:auto; padding:6px 14px; border:0; border-radius:var(--v5-r-tile); background:var(--v5-pst-steel); color:var(--v5-pst-on-steel); font-family:var(--v5-font); font-size:13px; font-weight:700; cursor:pointer; }
  .v5 .v5-pst-post:disabled { opacity:.6; cursor:default; }
  .v5 .v5-pst-hint { margin:6px 0 0; font-size:12.5px; color:var(--v5-pst-muted); }
  .v5 .v5-pst-err { margin:6px 0 0; font-size:12.5px; color:var(--v5-pst-late); }
  .v5 .v5-pst-asg { display:flex; align-items:center; gap:8px; margin:0 12px 10px 64px; padding:6px 10px; border-radius:var(--v5-r-tile); background:var(--v5-pst-steel-pale); color:var(--v5-pst-steel); font-size:12.5px; font-weight:600; }
  .v5 .v5-pst-asg--done { background:var(--v5-pst-ok-pale); color:var(--v5-pst-ok); }
  .v5 .v5-pst-side .v5-pst-asg { margin:8px 0 0; }
  .v5 .v5-pst-circle { flex:0 0 20px; width:20px; height:20px; padding:0; border:2px solid currentColor; border-radius:50%; background:none; color:inherit; font-size:12px; font-weight:800; line-height:1; cursor:pointer; }
  .v5 .v5-pst-asg--done .v5-pst-circle { background:var(--v5-pst-ok); border-color:var(--v5-pst-ok); color:var(--v5-pst-on-steel); }
  .v5 .v5-pst-mailme { display:flex; align-items:center; gap:6px; margin-top:6px; font-size:13px; color:var(--v5-pst-gold); font-weight:600; }
  .v5 .v5-pst-mailme input { accent-color:var(--v5-pst-gold); }
  .v5 .v5-pst-acts { display:flex; margin-top:8px; }
  .v5 .v5-pst--phone { grid-template-columns:minmax(0, 1fr); }
  .v5 .v5-pst--phone .v5-pst-grip { display:none; }
  .v5 .v5-pst--phone .v5-pst-rail { display:none; }
  .v5 .v5-pst--phone .v5-pst-side { display:none; }
  .v5 .v5-pst--phone .v5-pst-mid { padding:12px 14px 40px; }
  .v5 .v5-sts-stream { color:var(--v5-team-ink, var(--v5-text2)); font-weight:600; text-decoration:none; }
  .v5 .v5-sts-stream:hover { text-decoration:underline; }
  .v5 .v5-pst--phone.v5-pst--menu .v5-pst-rail { display:block; position:fixed; inset:0 18% 0 0; z-index:3; box-shadow:0 0 0 100vmax var(--v5-menu-scrim); }
  .v5 .v5-pst--phone.v5-pst--side .v5-pst-side { display:block; position:fixed; inset:0; z-index:4; border-left:0; }
  /* ⟦item 957⟧ 5: the team tools rail beside Status and Emails (a phone keeps the page's own header) */
  .v5 .v5-trail-wrap { display:flex; align-items:flex-start; gap:28px; margin:0 -24px; }
  /* ⟦item 977⟧ Part 3: the team strip (its own rounded box, ~64px) */
  .v5 .v5-trail.v5-tstrip { flex:0 0 64px; width:64px; height:calc(100vh - 16px); top:8px; margin:8px 0 8px 8px; padding:10px 0; gap:6px; align-items:center; border-right:0; border-radius:var(--v5-r-strip); background:var(--v5-tstrip-bg); }
  .v5 .v5-tstrip-mark { display:flex; align-items:center; justify-content:center; width:40px; height:40px; margin-bottom:6px; }
  .v5 .v5-tstrip-i { display:flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:var(--v5-r-box); color:var(--v5-tstrip-ink); text-decoration:none; }
  .v5 .v5-tstrip-i svg { width:18px; height:18px; }
  .v5 .v5-tstrip-i:hover { background:var(--v5-tstrip-me); }
  .v5 .v5-tstrip-i:focus-visible { outline:2px solid var(--v5-tstrip-on); outline-offset:1px; }
  .v5 .v5-tstrip-i--on { background:var(--v5-tstrip-on); color:var(--v5-tstrip-on-ink); }
  .v5 .v5-tstrip-i--on:hover { background:var(--v5-tstrip-on); }
  .v5 .v5-tstrip-sp { flex:1 1 auto; }
  .v5 .v5-tstrip-me { display:flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:50%; background:var(--v5-tstrip-me); color:var(--v5-tstrip-ink); font-size:12px; font-weight:800; }
  /* ⟦item 1038⟧ the team-wide pages' rail beside the page (the client rail's look, 236px; closed: the 56px icon column)
     ⟦item 1101⟧ 260px open on every team page (Jeffrey, Nov 11: "Rail width: 236 → 260px on all team pages"): this rule is Today's rail (Home and
     every client page) and the team-wide pages' rail; the old v5 team rail follows below (.v5-rail--team); the header starts at 260 (.v5-thdr-ro). */
  .v5 .v5-trail.v5-rail--wide { flex:0 0 260px; width:260px; height:100vh; position:sticky; top:0; padding:0; gap:0; border-right:1px solid var(--v5-line); margin:0; }
  .v5 .v5-trail.v5-rail--wide.v5-rail--collapsed { flex-basis:56px; width:56px; }
  .v5 .v5-rail--wide .v5-rail-nav { flex:1 1 auto; overflow:auto; }
  /* on Communication the rail follows the page's own Light / Dark (its --v5-pst-* tokens switch; the other team pages are dark) */
  .v5 .v5-pst-strip .v5-rail--wide { --v5-text:var(--v5-pst-rail-ink); --v5-text2:var(--v5-pst-rail-ink2); --v5-text3:var(--v5-pst-rail-cap); --v5-panel2:var(--v5-pst-steel-pale); --v5-rail-on:var(--v5-pst-steel-pale); --v5-line:var(--v5-pst-line); background:var(--v5-pst-rail); color:var(--v5-pst-rail-ink); }
  .v5 .v5-trail-wrap > .v5-th-col { flex:1; min-width:0; padding-right:24px; }
  .v5 .v5-trail { position:sticky; top:0; flex:0 0 260px; height:100vh; box-sizing:border-box; display:flex; flex-direction:column; gap:2px; padding:16px 12px; border-right:1px solid var(--v5-line); background:var(--v5-panel); }
  .v5 .v5-trail-wrap .v5-th-top { display:none; }
  .v5 .v5-trail-wrap .v5-th-top--home { display:flex; } .v5 .v5-trail-wrap .v5-th-top--home .v5-th-brand { display:none; }   /* ⟦item 1047⟧ Team home keeps its search and account beside the rail (the rail is its brand) */
  .v5 .v5-trail-brand { display:flex; align-items:center; gap:8px; padding:4px 8px 12px; color:var(--v5-text); text-decoration:none; }
  .v5 .v5-trail-brand-t { font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
  .v5 .v5-trail-team { font-size:12px; color:var(--v5-team-ink); font-weight:700; }
  .v5 .v5-trail-h { margin:14px 8px 6px; font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-trail-item { display:flex; align-items:center; gap:10px; min-height:36px; padding:0 10px; border-radius:var(--v5-r-tile); color:var(--v5-text2); font-size:14px; font-weight:600; text-decoration:none; }
  .v5 .v5-trail-item:hover { background:var(--v5-panel2); color:var(--v5-text); }
  .v5 .v5-trail-item--on { background:var(--v5-team-bg); color:var(--v5-team-ink); }
  .v5 .v5-trail-ico { display:inline-flex; width:16px; justify-content:center; }
  .v5 .v5-trail-sp { flex:1; }
  .v5 .v5-trail-who { display:flex; align-items:center; gap:10px; padding:10px 8px 0; border-top:1px solid var(--v5-line); font-size:13px; color:var(--v5-text2); }
  .v5 .v5-cl--phone .v5-trail { display:none; } .v5 .v5-cl--phone .v5-trail-wrap { display:block; margin:0; } .v5 .v5-cl--phone .v5-trail-wrap > .v5-th-col { padding-right:0; } .v5 .v5-cl--phone .v5-trail-wrap .v5-th-top { display:flex; }   /* a phone: teamPplMark's class (the v5 sheet has no media queries) */
  /* ⟦item 1053⟧ the team pages' ☰ bar below 900px (body.v5-tnarrow, v5TeamNarrowSync): the rail leaves the page for the ☰ drawer, the old
     "MEDIA REVIEW ‹ All clients" top goes (Team home keeps its own search row), and the bar is the top bar's look: ☰ · refresh · ⌕ */
  .v5 .v5-tpb { display:none; }
  .v5 .v5-tnarrow .v5-th .v5-tpb { position:sticky; top:0; z-index:5; display:flex; align-items:center; gap:0; height:52px; box-sizing:border-box; margin:0 -24px 12px; padding:0 16px 0 12px; border-bottom:1px solid var(--v5-line); background:var(--v5-bg); }
  .v5 .v5-tnarrow .v5-th .v5-trail { display:none; }
  .v5 .v5-tnarrow .v5-th .v5-trail-wrap { display:block; margin:0; }
  .v5 .v5-tnarrow .v5-th .v5-trail-wrap > .v5-th-col { padding-right:0; }
  .v5 .v5-tnarrow .v5-th .v5-trail-wrap .v5-th-top:not(.v5-th-top--home) { display:none; }
  .v5 .v5-tpb-menu { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; padding:0; border:0; border-radius:var(--v5-r-tile); background:transparent; color:var(--v5-text); cursor:pointer; }
  .v5 .v5-tpb-menu:hover { background:var(--v5-panel2); }
  .v5 .v5-tpb-refresh { display:inline-flex; align-items:center; justify-content:center; width:28px; height:26px; margin-left:auto; padding:0; border:1px solid var(--v5-fill-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text3); cursor:pointer; }
  .v5 .v5-tpb-refresh--busy svg { animation:teamRefreshSpin 0.9s linear infinite; }
  .v5 .v5-tpb-search { display:inline-flex; align-items:center; justify-content:center; width:30px; height:28px; margin-left:20px; padding:0; border:1px solid var(--v5-fill-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text3); cursor:pointer; }
  .v5 .v5-tpb-refresh:hover, .v5 .v5-tpb-search:hover { color:var(--v5-text); border-color:var(--v5-text3); }
  .v5 .v5-tpb-menu:focus-visible, .v5 .v5-tpb-refresh:focus-visible, .v5 .v5-tpb-search:focus-visible { outline:2px solid var(--v5-text3); outline-offset:1px; }
  .v5 .v5-tnarrow .v5-pst--phone { grid-template-rows:auto minmax(0, 1fr); }
  .v5 .v5-tnarrow .v5-pst .v5-trail { display:none; }
  .v5 .v5-tnarrow .v5-pst .v5-tpb { display:flex; align-items:center; height:52px; box-sizing:border-box; padding:0 16px 0 12px; border-bottom:1px solid var(--v5-pst-line); background:var(--v5-pst-page); --v5-text:var(--v5-pst-text); --v5-text3:var(--v5-pst-muted); --v5-fill-line:var(--v5-pst-line); --v5-panel2:var(--v5-pst-steel-pale); }
  .v5 .v5-tnarrow .v5-pst-strip { display:block; }
  .v5 .v5-tdrw-scrim { position:fixed; inset:0; z-index:1000; background:var(--v5-menu-scrim); }
  .v5 .v5-tdrw { position:absolute; top:0; left:0; bottom:0; display:flex; width:min(280px, 86vw); background:var(--v5-panel); box-shadow:0 0 40px rgba(0,0,0,.5); overflow:auto; }
  .v5 .v5-tdrw .v5-trail.v5-rail--wide { position:static; flex:1 1 auto; width:100%; height:100%; border-right:0; }
  /* ⟦item 1055⟧ THEME-1 — THE TEAM PAGES IN LIGHT (the default; Dark = no class = today's look, untouched). ONE token remap, from the
     shared light set (1028's --v5-rp-lt-*), on every team-wide page (.v5-th: Team home, Status, Team, Activity, Shared links, Emails,
     Send to Vimeo, Dropbox, Coming off Stream) and the ☰ drawer. `.v5-tlight` sits on <body> (v5TeamThemeSync: a team session, never a
     preview tab). Communication keeps its own designed light / dark sets (.v5-pst / .v5-pst--dark), now chosen by this same switch.
     ⚠️ A custom property that is a var() of another is computed where it is DECLARED (the root), so each derived token (--v5-owed-ink,
     --v5-line-gold, --v5-ts-team, --v5-on-gold …) is re-declared here, never left to follow its source. Banners, players and the
     lightbox (--v5-banner-*, --v5-hero-*, --v5-stage, --v5-lk-*) are NOT re-declared: media stays dark. Tokens only, no literal. */
  .v5 .v5-tlight .v5-th, .v5 .v5-tlight .v5-tdrw, .v5 .v5-tlpg, .v5 .v5-tlhdr .v5-thdr, .v5 .v5-tlrail .v5-rail--team { color-scheme:light;   /* ⟦item 1060⟧ + the team app header; ⟦item 1061⟧ RAIL-4: the header, the rail and the page in front together (body.v5-tlpg, v5ThdrBodySync) */
   
    --v5-bg:var(--v5-tl-page); --v5-bg-rgb:var(--v5-tl-page-rgb); --v5-panel:var(--v5-tl-card); --v5-panel2:var(--v5-rp-lt-panel2); --v5-panel3:var(--v5-tl-card);   /* ⟦item 1066⟧ HOME-2: the page #dfe4ea, white cards (panel3 was #f3f4f6) */
    --v5-line:var(--v5-tl-line); --v5-line-soft:var(--v5-tl-line); --v5-line-dim:var(--v5-tl-line); --v5-tree:var(--v5-rp-lt-line);
    --v5-text:var(--v5-rp-lt-ink); --v5-text2:var(--v5-rp-lt-ink2); --v5-text3:var(--v5-tl-meta); --v5-muted:var(--v5-tl-meta); --v5-dim:var(--v5-tl-meta); --v5-cp-ink:var(--v5-rp-lt-ink);
    --v5-chip:var(--v5-rp-lt-track); --v5-ref-tint:var(--v5-rp-lt-track);
    --v5-gold:var(--v5-rp-lt-gold); --v5-gold-rgb:var(--v5-rp-lt-gold-rgb); --v5-on-gold:var(--v5-rp-lt-on-gold); --v5-owed-ink:var(--v5-rp-lt-gold); --v5-owed-tint:var(--v5-rp-lt-owed-tint); --v5-line-gold:var(--v5-rp-lt-gold-line); --v5-rf-doc:var(--v5-rp-lt-gold);
    --v5-green:var(--v5-tl-green); --v5-green-bar:var(--v5-tl-green); --v5-done-tint:var(--v5-rp-lt-done-tint); --v5-liked-bg:var(--v5-rp-lt-ok-bg);
    --v5-bad:var(--v5-rp-lt-over); --v5-bad-line:var(--v5-rp-lt-bad-line); --v5-ts-bad-tint:var(--v5-rp-lt-bad-tint);
    --v5-urgent:var(--v5-tl-orange); --v5-urgent-tint:var(--v5-rp-lt-urgent-tint);
    --v5-revise:var(--v5-rp-lt-mauve); --v5-withus-tint:var(--v5-rp-lt-mauve-tint); --v5-tcl-turn:var(--v5-rp-lt-mauve); --v5-tcl-turn-tile:var(--v5-rp-lt-mauve-tile);
    --v5-team-ink:var(--v5-tl-steel); --v5-team-bg:var(--v5-rp-lt-steel-pale); --v5-team-line:var(--v5-rp-lt-steel-line); --v5-team-btn-line:var(--v5-rp-lt-btn-line); --v5-ts-team:var(--v5-tl-steel); --v5-ts-team-tint:var(--v5-rp-lt-steel-pale);
    --v5-slate:var(--v5-tl-steel); --v5-slate-bg:var(--v5-rp-lt-steel-pale); --v5-new:var(--v5-tl-steel); --v5-new-bg:var(--v5-rp-lt-steel-pale); --v5-tip-bg:var(--v5-rp-lt-steel-pale);
    --v5-note:var(--v5-rp-lt-violet); --v5-note-bg:var(--v5-rp-lt-violet-bg); --v5-tst-ink:var(--v5-rp-lt-ink2); --v5-tchip-needs:var(--v5-tl-meta);
    --v5-tnote-bg:var(--v5-rp-lt-tnote-bg); --v5-tnote-line:var(--v5-rp-lt-tnote-line); --v5-tnote-k:var(--v5-tl-meta); --v5-tnote-t:var(--v5-rp-lt-ink);
    --v5-band:var(--v5-rp-lt-wash); --v5-head-wash:var(--v5-rp-lt-wash); --v5-head-wash-hover:var(--v5-rp-lt-wash-2);
    --v5-fill:var(--v5-rp-lt-fill); --v5-fill-line:var(--v5-rp-lt-fill-line); --v5-fill-hover:var(--v5-rp-lt-fill-hover); --v5-ghost-line:var(--v5-rp-lt-ghost); --v5-tab-line:var(--v5-rp-lt-tab-line);
    --v5-menu-bg:var(--v5-rp-lt-card); --v5-menu-line:var(--v5-rp-lt-line); --v5-menu-tile:var(--v5-rp-lt-panel2); --v5-menu-tile-ink:var(--v5-rp-lt-ink2); --v5-menu-head:var(--v5-tl-meta); --v5-menu-shadow:var(--v5-rp-lt-shadow); --v5-menu-hover:var(--v5-rp-lt-wash-2);
    --v5-rail-on:var(--v5-tl-steel-pill); --v5-rail-on-ink:var(--v5-tl-steel); --v5-rail-dim:var(--v5-tl-meta); --v5-rail-dim-ep:var(--v5-tl-meta); --v5-rail-head:var(--v5-tl-meta); --v5-rail-div:var(--v5-tl-line); --v5-rail-bdg-bg:var(--v5-rp-lt-gold-bg); --v5-rail-bdg-line:var(--v5-rp-lt-gold-line);
    /* the Team home's hero is a page header here, not media: a light wash (steel · white · lilac, the dark one's order) and dark inks — the
       Status page's "↻ Refresh" link reads the hero ink too */
    --v5-banner-a:var(--v5-tl-page); --v5-banner-b:var(--v5-tl-page); --v5-banner-c:var(--v5-tl-page);   /* ⟦item 1066⟧ HOME-2: no wash — the header block sits on the page grey itself (white cards on it) */
    --v5-hero-ink:var(--v5-rp-lt-ink); --v5-hero-ink-2:var(--v5-rp-lt-ink2); --v5-hero-ink-3:var(--v5-tl-meta); --v5-hero-line:var(--v5-tl-meta); --v5-banner-ink-2:var(--v5-rp-lt-ink2); --v5-banner-ink-3:var(--v5-tl-meta);
    --v5-rust:var(--v5-rp-lt-rust); }
  /* ⟦item 1126⟧ B4 (Jeffrey, Nov 14: "add the Light Finished work bug … as a queue item"; found in item 1099): Finished work's OPEN project kept
     item 972's DARK pane (#18181c) and episode list (#0e0e11) in the team's Light, under Light's dark words, so the episode name, its buttons and
     the "Also in this episode" rows were nearly invisible. Light gets its own three: the pane a white card, the episode list the pale panel. Dark
     and a client's page keep item 972's (only body.v5-tlpg, a team session's Light page, carries this). */
  .v5 .v5-tlpg { --v5-fw-pane:var(--v5-tl-card); --v5-fw-rail:var(--v5-rp-lt-panel2); --v5-fw-tab:var(--v5-rp-lt-steel-pale); --v5-fw-tab-ink:var(--v5-rp-lt-ink); --v5-fw-tab-sub:var(--v5-tl-meta); }
  /* the rail on a light team page: Communication's light rail (its pale steel), so every team page's rail is the same in light */
  .v5 .v5-tlight .v5-th .v5-rail--wide, .v5 .v5-tlight .v5-tdrw .v5-rail--wide, .v5 .v5-tlrail .v5-rail--team { --v5-text:var(--v5-pst-l-rail-ink); --v5-text2:var(--v5-pst-l-rail-ink2); --v5-text3:var(--v5-pst-l-rail-cap); --v5-panel2:var(--v5-tl-steel-pill); --v5-rail-on:var(--v5-tl-steel-pill); --v5-rail-on-ink:var(--v5-tl-steel); --v5-line:var(--v5-tl-line); background:var(--v5-tl-card); color:var(--v5-pst-l-rail-ink); }   /* ⟦item 1066⟧ addendum 2 (1): the rail pure WHITE as the header (was Communication's pale steel #e6edf4), the open item a steel pill #e8eef5 with steel text, the hairline #dfe3e8 */
  /* ⟦item 1055⟧ the switch: Light · Dark, a two-part control under the name in the team rail (and so in the ☰ drawer); hidden in the closed
     icon rail (open the rail to change it) */
  .v5 .v5-tthm { flex:1 1 100%; display:flex; gap:2px; margin-top:4px; padding:2px; box-sizing:border-box; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:none; }
  .v5 .v5-tthm-b { flex:1 1 0; height:26px; padding:0 8px; border:0; border-radius:var(--v5-r-chip); background:none; color:var(--v5-text3); font-family:var(--v5-font); font-size:12px; font-weight:700; letter-spacing:0; text-transform:none; cursor:pointer; }
  .v5 .v5-tthm-b:hover { color:var(--v5-text); }
  .v5 .v5-tthm-b--on { background:var(--v5-panel2); color:var(--v5-text); }   /* the rail's own "on" fill (each rail re-declares --v5-panel2: Communication's steel-pale, a dark page's #17171b) */
  .v5 .v5-tthm-b:focus-visible { outline:2px solid var(--v5-tip-edge); outline-offset:1px; }
  .v5 .v5-rail--collapsed .v5-tthm { display:none; }
  /* ⟦item 1060⟧ THE TEAM APP HEADER (v5ThdrSync): one fixed 52px bar across the top of every team page, above the rail and the page.
     `.v5-thdr-on` on <body> (a team session that is not a preview tab: never a client, a guest or See as client) pushes the portal shell
     down by the bar (body is the 100vh grid of item 856's team bar; border-box keeps it 100vh) and starts every team-wide overlay (.v5-th,
     Communication's .v5-pst) under it. There the rail and 1053's own ☰ bar are gone (the header is both). Team home keeps its client search
     (not its account button: the avatar is in the header); the portal's ⌕ goes (the header's ⌕ is the one). Steel for the open tool and
     the counts (the team's own ink: steel #3d6f9e in Light, the dark team blue in Dark), never gold. */
  .v5 .v5-thdr { position:fixed; top:0; left:0; right:0; z-index:400; height:52px; box-sizing:border-box; display:flex; align-items:center; gap:2px; padding:0 14px 0 16px; background:var(--v5-panel); border-bottom:1px solid var(--v5-line); color:var(--v5-text); font-family:var(--v5-font); font-size:13.5px; }
  .v5 .v5-thdr-on { padding-top:52px; box-sizing:border-box; }
  .v5 .v5-thdr-on .v5-th, .v5 .v5-thdr-on .v5-pst { top:52px; }
  .v5 .v5-thdr-on .v5-th .v5-trail, .v5 .v5-thdr-on .v5-pst .v5-trail, .v5 .v5-thdr-on .v5-th .v5-tpb, .v5 .v5-thdr-on .v5-pst .v5-tpb { display:none; }
  .v5 .v5-thdr-on .v5-th .v5-trail-wrap { display:block; margin:0; }
  .v5 .v5-thdr-on .v5-th .v5-trail-wrap > .v5-th-col { padding-right:0; }
  .v5 .v5-thdr-on .v5-th-acct, .v5 .v5-thdr-on .v5-tsr-trigger { display:none; }
  .v5 .v5-rail--collapsed .v5-rail-tbrand--home { display:none; }   /* the closed rail: Overview's house is the one home there (the header's mark is the team home) */
  .v5 .v5-thdr-menu { display:none; align-items:center; justify-content:center; width:34px; height:34px; margin-right:4px; padding:0; border:0; border-radius:var(--v5-r-tile); background:transparent; color:var(--v5-text); cursor:pointer; }
  .v5 .v5-thdr-brand { display:inline-flex; align-items:center; gap:8px; margin-right:16px; padding:6px 8px; border-radius:var(--v5-r-tile); color:var(--v5-text); text-decoration:none; }
  .v5 .v5-thdr-word { font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; white-space:nowrap; }
  .v5 .v5-thdr-tabs { display:flex; align-items:center; gap:2px; min-width:0; }
  .v5 .v5-thdr-tab { position:relative; display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 12px; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--v5-text2); font-family:var(--v5-font); font-size:13.5px; font-weight:600; letter-spacing:0; text-transform:none; text-decoration:none; white-space:nowrap; cursor:pointer; }
  .v5 .v5-thdr-tab:hover { background:var(--v5-panel2); color:var(--v5-text); }
  .v5 .v5-thdr-tab--on, .v5 .v5-thdr-tab--on:hover { background:var(--v5-team-bg); color:var(--v5-team-ink); }
  .v5 .v5-thdr-cnt { display:inline-block; min-width:18px; height:18px; padding:0 5px; box-sizing:border-box; border-radius:var(--v5-r-tchip); background:var(--v5-team-ink); color:var(--v5-panel); font-size:11px; font-weight:800; line-height:18px; text-align:center; }
  .v5 .v5-thdr-kbd { display:none; position:absolute; top:calc(100% + 6px); left:50%; transform:translateX(-50%); padding:3px 6px; border-radius:var(--v5-r-chip); background:var(--v5-text); color:var(--v5-panel); font-size:10.5px; font-weight:700; letter-spacing:.06em; white-space:nowrap; pointer-events:none; z-index:6; }
  .v5 .v5-thdr-tab:hover .v5-thdr-kbd { display:block; }
  .v5 .v5-thdr-car { font-size:10px; }
  .v5 .v5-thdr-sp { flex:1 1 auto; }
  .v5 .v5-thdr-btn { display:inline-flex; align-items:center; justify-content:center; width:34px; height:32px; padding:0; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--v5-text2); cursor:pointer; }
  .v5 .v5-thdr-btn:hover { background:var(--v5-panel2); color:var(--v5-text); }
  .v5 .v5-thdr-refresh { display:none; }
  .v5 .v5-thdr-btn--busy svg { animation:teamRefreshSpin 0.9s linear infinite; }
  /* ⟦item 1088⟧ the header's ☀ / ☾ for the kind of page in front (the mock's pill: the chosen one filled) */
  .v5 .v5-thdr-thm { display:inline-flex; align-items:center; gap:2px; margin-left:6px; padding:2px; border:1px solid var(--v5-line); border-radius:var(--v5-r-card); }
  .v5 .v5-thdr-thb { display:inline-flex; align-items:center; justify-content:center; width:27px; height:27px; padding:0; border:0; border-radius:50%; background:none; color:var(--v5-text3); cursor:pointer; }
  .v5 .v5-thdr-thb:hover { color:var(--v5-text); }
  .v5 .v5-thdr-thb--on, .v5 .v5-thdr-thb--on:hover { background:var(--v5-text); color:var(--v5-bg); }
  .v5 .v5-thdr-thb:focus-visible { outline:2px solid var(--v5-team-ink); outline-offset:1px; }
  /* ⟦item 1088⟧ the Appearance panel: a dialog over a scrim, in the header's colours (the light remap above names it) */
  .v5 .v5-tapp { position:fixed; inset:0; z-index:2147483100; display:flex; align-items:flex-start; justify-content:center; padding:clamp(12px, 8vh, 72px) clamp(8px, 2vw, 16px) 24px; box-sizing:border-box; overflow:auto; background:rgba(10,12,16,.45); font-family:var(--v5-font); }
  .v5 .v5-tapp[hidden] { display:none; }
  .v5 .v5-tlhdr .v5-tapp { color-scheme:light; --v5-panel:var(--v5-tl-card); --v5-panel2:var(--v5-rp-lt-panel2); --v5-line:var(--v5-tl-line); --v5-text:var(--v5-rp-lt-ink); --v5-text2:var(--v5-rp-lt-ink2); --v5-text3:var(--v5-tl-meta); --v5-team-ink:var(--v5-tl-steel); }   /* Light in front: the header's own light tokens (the remap above names the header, not this) */
  .v5 .v5-tapp-card { width:100%; max-width:640px; box-sizing:border-box; padding:16px 18px 14px; border:1px solid var(--v5-line); border-radius:var(--v5-r-card); background:var(--v5-panel); color:var(--v5-text); box-shadow:0 12px 32px rgba(0,0,0,.18); }
  .v5 .v5-tapp-top { display:flex; align-items:center; gap:10px; }
  .v5 .v5-tapp-h { flex:1 1 auto; margin:0; font-size:17px; font-weight:800; letter-spacing:0; text-transform:none; color:var(--v5-text); }
  .v5 .v5-tapp-x { width:30px; height:30px; padding:0; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--v5-text3); font-size:14px; cursor:pointer; }
  .v5 .v5-tapp-x:hover { background:var(--v5-panel2); color:var(--v5-text); }
  .v5 .v5-tapp-p { margin:4px 0 12px; font-size:14px; color:var(--v5-text3); }
  .v5 .v5-tapp-row { display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:10px 0; border-top:1px solid var(--v5-line); }
  .v5 .v5-tapp-nm { flex:1 1 150px; min-width:150px; font-size:14px; font-weight:600; color:var(--v5-text); }
  .v5 .v5-tapp-nm small { display:block; font-size:12px; font-weight:400; color:var(--v5-text3); }
  .v5 .v5-tapp-seg { display:inline-flex; padding:2px; border-radius:var(--v5-r-tile); background:var(--v5-panel2); }
  .v5 .v5-tapp-sb { padding:5px 10px; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--v5-text2); font-family:var(--v5-font); font-size:12.5px; font-weight:500; letter-spacing:0; text-transform:none; cursor:pointer; }
  .v5 .v5-tapp-sb:hover { color:var(--v5-text); }
  .v5 .v5-tapp-sb--on, .v5 .v5-tapp-sb--on:hover { background:var(--v5-panel); color:var(--v5-team-ink); font-weight:700; box-shadow:0 1px 2px rgba(0,0,0,.12); }
  .v5 .v5-tapp-foot { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:12px; }
  .v5 .v5-tapp-btn { padding:7px 12px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-panel); color:var(--v5-text); font-family:var(--v5-font); font-size:13px; font-weight:700; letter-spacing:0; text-transform:none; cursor:pointer; }
  .v5 .v5-tapp-btn:hover { border-color:var(--v5-text3); }
  .v5 .v5-tapp-sb:focus-visible, .v5 .v5-tapp-btn:focus-visible, .v5 .v5-tapp-x:focus-visible { outline:2px solid var(--v5-team-ink); outline-offset:1px; }
  .v5 .v5-tapp-note { margin:12px 0 0; font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-thdr-av { width:32px; height:32px; margin-left:6px; padding:0; border:1px solid var(--v5-line); border-radius:50%; background:var(--v5-panel2); color:var(--v5-text); font-family:var(--v5-font); font-size:12px; font-weight:800; cursor:pointer; }
  .v5 .v5-thdr-menu:focus-visible, .v5 .v5-thdr-brand:focus-visible, .v5 .v5-thdr-tab:focus-visible, .v5 .v5-thdr-btn:focus-visible, .v5 .v5-thdr-av:focus-visible, .v5 .v5-thdr-mi:focus-visible, .v5 .v5-thdr-li:focus-visible { outline:2px solid var(--v5-team-ink); outline-offset:1px; }
  .v5 .v5-thdr-popw { position:relative; display:inline-flex; }
  .v5 .v5-thdr-pop { position:absolute; top:calc(100% + 8px); left:0; z-index:5; display:flex; flex-direction:column; min-width:210px; padding:6px; box-sizing:border-box; border:1px solid var(--v5-menu-line); border-radius:var(--v5-r-box); background:var(--v5-menu-bg); box-shadow:var(--v5-menu-shadow); }
  .v5 .v5-thdr-pop[hidden] { display:none; }
  .v5 .v5-thdr-pop--me { left:auto; right:0; min-width:230px; }
  .v5 .v5-thdr-grp, .v5 .v5-thdr-lh { padding:9px 10px 4px; font-size:10.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-thdr-mi { display:flex; align-items:center; min-height:32px; padding:0 10px; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--v5-text); font-family:var(--v5-font); font-size:13.5px; font-weight:600; letter-spacing:0; text-align:left; text-decoration:none; text-transform:none; cursor:pointer; }
  .v5 .v5-thdr-mi:hover { background:var(--v5-panel2); }
  .v5 .v5-thdr-mi--on, .v5 .v5-thdr-mi--on:hover { background:var(--v5-team-bg); color:var(--v5-team-ink); }
  .v5 .v5-thdr-me { display:flex; flex-direction:column; gap:1px; padding:6px 10px 8px; }
  .v5 .v5-thdr-mename { font-size:13.5px; font-weight:700; color:var(--v5-text); }
  .v5 .v5-thdr-merole { font-size:12px; color:var(--v5-text3); }
  .v5 .v5-thdr-pop .v5-tthm, .v5 .v5-thdr-lacct .v5-tthm { flex:0 0 auto; margin:2px 0 6px; }
  /* the drawer's team part (the team drawer; under the client rail in the phone menu) */
  .v5 .v5-thdr-dr { display:flex; flex-direction:column; width:100%; padding:10px 10px 16px; box-sizing:border-box; color:var(--v5-text); font-family:var(--v5-font); }
  .v5 .v5-thdr-drhead { display:flex; align-items:center; gap:6px; margin-bottom:4px; }
  .v5 .v5-thdr-drhead .v5-thdr-drhome { flex:1 1 auto; }
  .v5 .v5-thdr-drx { flex:0 0 auto; width:30px; height:30px; padding:0; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text2); font-size:16px; cursor:pointer; }
  .v5 .v5-thdr-list { display:flex; flex-direction:column; gap:2px; }
  .v5 .v5-rail .v5-thdr-list { margin-top:10px; padding-top:6px; border-top:1px solid var(--v5-line); }
  .v5 .v5-thdr-li { display:flex; align-items:center; gap:8px; min-height:38px; padding:0 10px; border-radius:var(--v5-r-tile); color:var(--v5-text2); font-family:var(--v5-font); font-size:14px; font-weight:600; text-decoration:none; }
  .v5 .v5-thdr-li:hover { background:var(--v5-panel2); color:var(--v5-text); }
  .v5 .v5-thdr-li--on, .v5 .v5-thdr-li--on:hover { background:var(--v5-team-bg); color:var(--v5-team-ink); }
  .v5 .v5-thdr-li .v5-thdr-cnt { margin-left:auto; }
  .v5 .v5-thdr-lacct { display:flex; flex-direction:column; margin-top:12px; padding-top:10px; border-top:1px solid var(--v5-line); }
  .v5 .v5-thdr-lacct .v5-thdr-me { padding:0 10px 8px; }
  /* below the team drawer's 900px the header IS the ☰ bar: ☰ · the mark · refresh · ⌕ (the tools and you are in the drawer) */
  .v5 .v5-tnarrow .v5-thdr { padding:0 10px 0 8px; }
  .v5 .v5-tnarrow .v5-thdr-menu { display:inline-flex; }
  .v5 .v5-tnarrow .v5-thdr-brand { margin-right:0; }
  .v5 .v5-tnarrow .v5-thdr-tabs, .v5 .v5-tnarrow .v5-thdr-mew { display:none; }
  .v5 .v5-tnarrow .v5-thdr--tw .v5-thdr-refresh { display:inline-flex; }
  /* ⟦item 957⟧ 4: the email as sent */
  .v5 .v5-emlpv { position:fixed; inset:0; z-index:60; }
  .v5 .v5-emlpv-scrim { position:absolute; inset:0; background:rgba(0,0,0,.55); }
  .v5 .v5-emlpv-box { position:absolute; top:24px; right:24px; bottom:24px; width:min(720px, calc(100% - 48px)); display:flex; flex-direction:column; border:1px solid var(--v5-line); border-radius:var(--v5-r-card); background:var(--v5-panel2); box-shadow:0 18px 40px rgba(0,0,0,.45); outline:none; }
  .v5 .v5-emlpv-head { display:flex; align-items:flex-start; gap:12px; padding:14px 16px 8px; }
  .v5 .v5-emlpv-subj { flex:1; min-width:0; font-size:16px; font-weight:800; color:var(--v5-text); overflow-wrap:anywhere; }
  .v5 .v5-emlpv-x { flex:none; width:32px; height:32px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:transparent; color:var(--v5-text2); font-family:var(--v5-font); cursor:pointer; }
  .v5 .v5-emlpv-meta { padding:0 16px 10px; border-bottom:1px solid var(--v5-line); }
  .v5 .v5-emlpv-r { display:grid; grid-template-columns:72px minmax(0, 1fr); gap:10px; padding:3px 0; font-size:13px; }
  .v5 .v5-emlpv-k { color:var(--v5-text3); font-weight:700; }
  .v5 .v5-emlpv-v { color:var(--v5-text2); overflow-wrap:anywhere; }
  .v5 .v5-emlpv-body { flex:1; min-height:0; padding:12px 16px 16px; overflow:auto; }
  .v5 .v5-emlpv-frame { width:100%; height:100%; min-height:420px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-cpd-white); }
  .v5 .v5-cl--phone .v5-emlpv-box { top:8px; right:8px; bottom:8px; width:calc(100% - 16px); }
  /* ⟦item 962⟧ SHARED LINKS (TEAM-90): the Emails page's screen; team blue for Package / Guest review, grey for Single file; status green working, amber ending this week, grey off / ended; never gold */
  .v5 .v5-lnk-eyebrow { margin-top:4px; font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--v5-text3); }
  /* ⟦item 1020⟧ Send to Vimeo (admins): the Shared links page's frame; rows with a box, the name, the Vimeo state; steel, no gold */
  .v5 .v5-vim-bar { display:flex; flex-wrap:wrap; gap:10px; margin:14px 0 18px; }
  .v5 .v5-vim-go { height:36px; padding:0 16px; border:0; border-radius:var(--v5-r-tile); background:var(--v5-team-ink); color:var(--v5-bg); font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
  .v5 .v5-vim-go:disabled { opacity:.4; cursor:default; }
  .v5 .v5-vim-btn { height:30px; padding:0 12px; border:1px solid var(--v5-team-btn-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text); font:inherit; font-size:12.5px; font-weight:600; cursor:pointer; }
  .v5 .v5-vim-off { margin:10px 0 0; padding:10px 12px; border:1px solid var(--v5-line); border-radius:var(--v5-r-card); background:var(--v5-panel); font-size:13px; color:var(--v5-text2); }
  .v5 .v5-vim-gh { margin:22px 0 6px; font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-vim-row { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; padding:10px 4px; border-bottom:1px solid var(--v5-line); font-size:13.5px; font-weight:400; color:var(--v5-text); text-transform:none; letter-spacing:0; }
  /* ⟦item 1177⟧ the Dropbox page: Dropbox's space line, the To copy / Copied / All tabs and the "Select all" buttons — team controls, STEEL (--v5-team-ink), never gold */
  .v5 .v5-dbx-space { margin:10px 0 0; font-size:13px; font-weight:600; color:var(--v5-text2); }
  .v5 .v5-dbx-tabs { display:flex; flex-wrap:wrap; gap:4px; margin:16px 0 0; border-bottom:1px solid var(--v5-line); }
  .v5 .v5-dbx-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; }
  .v5 .v5-dbx-tab--on { color:var(--v5-team-ink); border-bottom-color:var(--v5-team-ink); font-weight:700; }
  .v5 .v5-dbx-gh { display:flex; align-items:center; justify-content:space-between; gap:10px; }
  .v5 .v5-dbx-all { height:28px; padding:0 10px; border:1px solid var(--v5-team-ink); border-radius:var(--v5-r-tile); background:none; color:var(--v5-team-ink); font:inherit; font-size:12px; font-weight:700; letter-spacing:0; text-transform:none; cursor:pointer; }
  /* ⟦item 1049⟧ Coming off Stream: steel for the team, grey for leaving, red only on Remove, never gold */
  .v5 .v5-sof-bar { margin:14px 0 6px; }
  .v5 .v5-sof-bar-t { font-size:13.5px; color:var(--v5-text2); margin-bottom:6px; }
  .v5 .v5-sof-free { margin-left:8px; color:var(--v5-green); font-weight:700; }
  .v5 .v5-sof-freed { margin:6px 0 0; font-size:13px; color:var(--v5-text2); }   /* ⟦item 1165⟧ the last 30 days' minutes freed */
  .v5 .v5-sof-track { position:relative; height:10px; border-radius:var(--v5-r-chip); background:var(--v5-line); overflow:hidden; }
  .v5 .v5-sof-used { position:absolute; left:0; top:0; bottom:0; background:var(--v5-tstrip-on); }
  .v5 .v5-sof-leave { position:absolute; top:0; bottom:0; background:repeating-linear-gradient(45deg, var(--v5-tstrip-on) 0 4px, var(--v5-line) 4px 8px); }
  .v5 .v5-sof-filters { display:flex; flex-wrap:wrap; gap:6px; margin:14px 0 10px; }
  .v5 .v5-sof-f { height:28px; padding:0 10px; border:1px solid var(--v5-line); border-radius:var(--v5-r-chip); background:none; color:var(--v5-text2); font:inherit; font-size:12.5px; cursor:pointer; }
  .v5 .v5-sof-f--on { border-color:var(--v5-tstrip-on); color:var(--v5-text); background:var(--v5-rail-on); }
  .v5 .v5-sof-client { height:28px; border:1px solid var(--v5-line); border-radius:var(--v5-r-chip); background:var(--v5-panel2); color:var(--v5-text2); font:inherit; font-size:12.5px; }
  .v5 .v5-sof-row { display:grid; grid-template-columns:20px 130px minmax(180px, 1fr) 210px 60px 60px auto; gap:10px; align-items:center; padding:10px 4px; border-bottom:1px solid var(--v5-line); font-size:13px; color:var(--v5-text); }
  .v5 .v5-sof-ic { color:var(--v5-text3); }
  .v5 .v5-sof-cl { color:var(--v5-text2); font-weight:600; overflow-wrap:break-word; }
  .v5 .v5-sof-it b { display:block; font-weight:600; }
  .v5 .v5-sof-pj { display:block; font-size:12px; color:var(--v5-text3); }
  .v5 .v5-sof-vim { display:inline-block; margin-top:2px; padding:0 6px; border:1px solid var(--v5-line); border-radius:var(--v5-r-chip); font-size:11px; color:var(--v5-text3); }
  .v5 .v5-sof-chip { display:inline-block; padding:2px 8px; border-radius:var(--v5-r-chip); background:var(--v5-line-dim); color:var(--v5-text2); font-size:12px; }
  .v5 .v5-sof-chip--kept { background:var(--v5-rail-on); color:var(--v5-tstrip-on); font-weight:600; }
  .v5 .v5-sof-when, .v5 .v5-sof-min { color:var(--v5-text2); font-size:12.5px; }
  .v5 .v5-sof-acts { display:flex; gap:6px; justify-content:flex-end; }
  .v5 .v5-sof-rm { color:var(--v5-bad); border-color:var(--v5-bad); }
  .v5 .v5-sof-gone { font-size:12px; color:var(--v5-text3); }
  .v5 .v5-sof-orig { display:block; margin-top:3px; font-size:11.5px; color:var(--v5-text3); }   /* ⟦item 1054⟧ what happens to a recording's original */
  /* ⟦item 1082⟧ THE USAGE PAGE (mock usage-page-mock.html): steel for the team, green On track, amber Watch, rust Over. Tokens only — the
     page's own names below are declared ON the page, so in Light they take the team's Light remap (body.v5-tlpg) and in Dark today's set. */
  .v5 .v5-usg { --usg-steel:var(--v5-team-ink); --usg-steel-bg:var(--v5-team-bg); --usg-steel-line:var(--v5-team-line); --usg-ok:var(--v5-green); --usg-ok-bg:var(--v5-done-tint);
    --usg-warn:var(--v5-rp-sch); --usg-warn-bg:var(--v5-rp-gold-bg); --usg-bad:var(--v5-rust); --usg-bad-bg:var(--v5-ts-bad-tint); --usg-track:var(--v5-line); --usg-tick:var(--v5-text3); --usg-ai:var(--v5-note); }
  .v5 .v5-tlpg .v5-usg { --usg-warn:var(--v5-tl-amber); --usg-warn-bg:var(--v5-tl-goldbox); }   /* Light: 1066's amber ink (4.6:1+ on white) on the gold box tint; never the gold token */
  .v5 .v5-usg-wrap { max-width:1180px; margin:0 auto; padding:22px 0 60px; }
  .v5 .v5-usg-hero { display:flex; flex-wrap:wrap; gap:14px; align-items:center; margin-top:10px; padding:16px 20px; border:1px solid var(--usg-steel-line); border-radius:var(--v5-r-card); background:linear-gradient(110deg, var(--usg-steel-bg), var(--v5-panel)); }
  .v5 .v5-usg-hl { flex:1 1 320px; min-width:0; }
  .v5 .v5-usg-kick { font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-usg-ht { margin:2px 0; font-size:24px; font-weight:800; color:var(--v5-text); }
  .v5 .v5-usg-hsub { font-size:13.5px; color:var(--v5-text2); }
  .v5 .v5-usg-upd { margin-left:auto; font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-usg-link { padding:0; border:0; background:none; color:var(--usg-steel); font:inherit; font-weight:700; cursor:pointer; }
  .v5 .v5-usg-link:disabled { opacity:.6; cursor:default; }
  .v5 .v5-usg-a { color:var(--usg-steel); font-weight:700; text-decoration:none; }
  /* the rows beside the panel; under ~900px the panel wraps below the rows and takes the width (flex-wrap: the v5 sheet keeps no media queries) */
  .v5 .v5-usg-grid { display:flex; flex-wrap:wrap; gap:16px; margin-top:16px; align-items:flex-start; }
  .v5 .v5-usg-rows { flex:999 1 520px; min-width:0; }
  .v5 .v5-usg-row { display:flex; gap:14px; width:100%; margin:0 0 10px; padding:12px 16px; border:1px solid var(--v5-line); border-radius:var(--v5-r-strip); background:var(--v5-panel); color:var(--v5-text); font:inherit; text-align:left; cursor:pointer; }
  .v5 .v5-usg-row:hover { border-color:var(--usg-steel-line); }
  .v5 .v5-usg-row--sel, .v5 .v5-usg-row--sel:hover { border-color:var(--usg-steel); box-shadow:0 0 0 2px var(--usg-steel-bg); }
  .v5 .v5-usg-rl { flex:1; min-width:0; display:block; }
  .v5 .v5-usg-rn { display:block; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-usg-rv { display:block; }
  .v5 .v5-usg-rv b { font-size:20px; font-variant-numeric:tabular-nums; color:var(--v5-text); }
  .v5 .v5-usg-rv span { color:var(--v5-text3); font-size:13.5px; }
  .v5 .v5-usg-bar { position:relative; display:block; height:8px; margin:8px 0 6px; border-radius:var(--v5-r-chip); background:var(--usg-track); }
  .v5 .v5-usg-fill { display:block; height:100%; border-radius:var(--v5-r-chip); background:var(--usg-ok); }
  .v5 .v5-usg-fill--watch { background:var(--usg-warn); }
  .v5 .v5-usg-fill--over { background:var(--usg-bad); }
  .v5 .v5-usg-fill--unknown { background:var(--usg-track); }
  .v5 .v5-usg-tick { position:absolute; top:-3px; width:2px; height:14px; background:var(--usg-tick); }
  .v5 .v5-usg-rs { display:block; font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-usg-rr { display:flex; flex-direction:column; align-items:flex-end; gap:8px; flex:none; }
  .v5 .v5-usg-pct { font-size:13px; font-weight:700; font-variant-numeric:tabular-nums; color:var(--v5-text3); }
  .v5 .v5-usg-pill { padding:2px 10px; border-radius:var(--v5-r-strip); font-size:11.5px; font-weight:800; white-space:nowrap; }
  .v5 .v5-usg-pill--ok { background:var(--usg-ok-bg); color:var(--usg-ok); }
  .v5 .v5-usg-pill--watch { background:var(--usg-warn-bg); color:var(--usg-warn); }
  .v5 .v5-usg-pill--over { background:var(--usg-bad-bg); color:var(--usg-bad); }
  .v5 .v5-usg-panel { flex:1 1 360px; min-width:0; box-sizing:border-box; position:sticky; top:12px; padding:14px 16px; border:1px solid var(--v5-line); border-radius:var(--v5-r-strip); background:var(--v5-panel); }
  .v5 .v5-usg-h3 { margin:0; font-size:16px; color:var(--v5-text); }
  .v5 .v5-usg-s { font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-usg-chart { position:relative; display:flex; gap:4px; align-items:flex-end; height:140px; margin:14px 0 4px; border-bottom:1px solid var(--v5-line); }
  .v5 .v5-usg-chart--big { height:240px; gap:2px; }
  .v5 .v5-usg-dcol { flex:1; min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; height:100%; }
  .v5 .v5-usg-stack { display:flex; flex-direction:column; justify-content:flex-end; width:70%; height:100%; }
  .v5 .v5-usg-seg { display:block; }
  .v5 .v5-usg-seg--r { background:var(--usg-steel); }
  .v5 .v5-usg-seg--t { background:var(--usg-steel-line); }
  .v5 .v5-usg-seg--ai { background:var(--usg-ai); }
  .v5 .v5-usg-dcol small { margin-top:3px; font-size:9.5px; color:var(--v5-text3); white-space:nowrap; min-height:12px; }
  .v5 .v5-usg-legend { display:flex; flex-wrap:wrap; gap:6px 14px; margin:8px 0 12px; font-size:12px; color:var(--v5-text3); }
  .v5 .v5-usg-key { display:inline-block; width:10px; height:10px; margin-right:5px; vertical-align:-1px; background:var(--usg-steel); }
  .v5 .v5-usg-key--t { background:var(--usg-steel-line); }
  .v5 .v5-usg-th { margin:4px 0 4px; font-size:12.5px; font-weight:700; color:var(--v5-text); }
  .v5 .v5-usg-tbl { width:100%; border-collapse:collapse; font-size:13px; color:var(--v5-text); }
  .v5 .v5-usg-tbl td { padding:6px 4px; border-bottom:1px solid var(--v5-line); overflow-wrap:anywhere; }
  .v5 .v5-usg-num { text-align:right; font-variant-numeric:tabular-nums; color:var(--v5-text3); white-space:nowrap; }
  .v5 .v5-usg-mtd { width:66px; }
  .v5 .v5-usg-mini { display:block; width:60px; height:6px; border-radius:var(--v5-r-chip); background:var(--usg-track); }
  .v5 .v5-usg-mini span { display:block; height:100%; border-radius:var(--v5-r-chip); background:var(--usg-steel); }
  .v5 .v5-usg-alerts { margin-top:12px; padding:10px 12px; border-radius:var(--v5-r-tile); background:var(--v5-panel2); font-size:12.5px; color:var(--v5-text2); }
  .v5 .v5-usg-full { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:14px; }
  .v5 .v5-usg-btn2 { padding:6px 12px; border:1px solid var(--usg-steel-line); border-radius:var(--v5-r-tile); background:var(--usg-steel-bg); color:var(--usg-steel); font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
  .v5 .v5-usg-seg2 { display:inline-flex; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); overflow:hidden; }
  .v5 .v5-usg-segb { padding:6px 12px; border:0; background:none; color:var(--v5-text2); font:inherit; font-size:13px; cursor:pointer; }
  .v5 .v5-usg-segb--on { background:var(--usg-steel-bg); color:var(--usg-steel); font-weight:700; }
  .v5 .v5-usg-rep .v5-usg-repbar { margin:12px 0; }
  .v5 .v5-usg-panel--rep { position:static; margin-top:6px; }
  /* ⟦item 1083⟧ THE AI CENTER (mock ai-center-mock.html): violet = AI (the team note's violet, --v5-note: #7b4fd6 in Light, #b08cf5 in
     Dark), steel = a team action (--v5-team-ink). Tokens only, declared on the page, so the team's Light remap (body.v5-tlpg) applies. */
  .v5 .v5-aic { --aic-vio:var(--v5-note); --aic-vio-bg:var(--v5-note-bg); --aic-vio-line:var(--v5-note); --aic-steel:var(--v5-team-ink); --aic-steel-bg:var(--v5-team-bg); --aic-ok:var(--v5-green); --aic-ok-bg:var(--v5-done-tint); --aic-on:var(--v5-bg); }
  .v5 .v5-tlpg .v5-aic, .v5 .v5-tlpg .v5-aic-pdbar { --aic-on:var(--v5-cv-white); }   /* white words on violet / steel in Light; the page's dark ground on Dark's paler violet / steel */
  .v5 .v5-aic-wrap { max-width:1180px; margin:0 auto; padding:22px 0 60px; }
  .v5 .v5-aic-hero { display:flex; flex-wrap:wrap; gap:14px; align-items:center; margin-top:10px; padding:16px 20px; border:1px solid var(--aic-vio-bg); border-radius:var(--v5-r-card); background:linear-gradient(110deg, var(--aic-vio-bg), var(--aic-steel-bg)); }
  .v5 .v5-aic-hl { flex:1 1 320px; min-width:0; }
  .v5 .v5-aic-kick { font-size:11px; font-weight:800; letter-spacing:.12em; color:var(--aic-vio); }
  .v5 .v5-aic-ht { margin:2px 0; font-size:24px; font-weight:800; color:var(--v5-text); }
  .v5 .v5-aic-hsub { font-size:13.5px; color:var(--v5-text2); }
  .v5 .v5-aic-cost { margin-left:auto; text-align:right; font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-aic-cost b { font-size:16px; color:var(--v5-text); font-variant-numeric:tabular-nums; }
  .v5 .v5-aic-vio { color:var(--aic-vio); font-weight:700; }
  .v5 .v5-aic-note { margin-top:10px; padding:8px 12px; border:1px solid var(--v5-line); border-radius:var(--v5-r-strip); background:var(--v5-panel); color:var(--v5-text2); font-size:13px; }
  .v5 .v5-aic-tabs { display:inline-flex; gap:2px; margin:16px 0 14px; padding:3px; border:1px solid var(--v5-line); border-radius:var(--v5-r-strip); background:var(--v5-panel); }
  .v5 .v5-aic-tab { padding:6px 14px; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--v5-text2); font:inherit; font-size:13.5px; cursor:pointer; }
  .v5 .v5-aic-tab--on { background:var(--aic-vio-bg); color:var(--aic-vio); font-weight:700; }
  .v5 .v5-aic-tab small { margin-left:4px; color:var(--v5-text3); font-size:12px; }
  .v5 .v5-aic-wf { display:flex; flex-wrap:wrap; gap:14px; }
  .v5 .v5-aic-card { flex:1 1 400px; min-width:0; box-sizing:border-box; padding:16px 18px; border:1px solid var(--v5-line); border-radius:var(--v5-r-strip); background:var(--v5-panel); }
  .v5 .v5-aic-card--sel { border-color:var(--aic-vio-line); box-shadow:0 0 0 2px var(--aic-vio-bg); }
  .v5 .v5-aic-card--off .v5-aic-h3, .v5 .v5-aic-card--off .v5-aic-p { opacity:.75; }
  .v5 .v5-aic-h3 { margin:0; font-size:17px; color:var(--v5-text); }
  .v5 .v5-aic-p { margin:4px 0 10px; color:var(--v5-text2); font-size:13.5px; }
  .v5 .v5-aic-steps { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:12px; }
  .v5 .v5-aic-steps span { padding:2px 10px; border:1px solid var(--v5-line); border-radius:var(--v5-r-chip); background:var(--v5-bg); color:var(--v5-text2); font-size:12px; }
  .v5 .v5-aic-steps .v5-aic-arrow { padding:2px 0; border:0; background:none; color:var(--v5-text3); }
  .v5 .v5-aic-meta { display:flex; flex-wrap:wrap; gap:14px; align-items:center; font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-aic-sp { flex:1; }
  .v5 .v5-aic-btn { padding:7px 14px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-panel); color:var(--v5-text); font:inherit; font-size:13.5px; font-weight:700; cursor:pointer; }
  .v5 .v5-aic-btn:disabled { opacity:.55; cursor:default; }
  .v5 .v5-aic-btn--ai { border-color:var(--aic-vio); background:var(--aic-vio); color:var(--aic-on); }
  .v5 .v5-aic-btn--steel { border-color:var(--aic-steel); background:var(--aic-steel); color:var(--aic-on); }
  .v5 .v5-aic-link { padding:0; border:0; background:none; color:var(--aic-steel); font:inherit; font-size:12.5px; font-weight:700; cursor:pointer; }
  .v5 .v5-aic-run { margin-top:16px; padding:16px 18px; border:1px solid var(--aic-vio-bg); border-radius:var(--v5-r-strip); background:var(--v5-panel); }
  .v5 .v5-aic-frm { display:flex; flex-wrap:wrap; gap:12px; margin:12px 0; }
  .v5 .v5-aic-frm .v5-aic-f { flex:1 1 220px; min-width:0; }
  .v5 .v5-aic-f { margin-top:6px; }
  .v5 .v5-aic-lab { display:block; margin-bottom:4px; font-size:12px; font-weight:700; letter-spacing:normal; text-transform:none; color:var(--v5-text3); }
  .v5 .v5-aic-in { box-sizing:border-box; width:100%; padding:8px 10px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-bg); color:var(--v5-text); font:inherit; font-size:13.5px; }
  .v5 .v5-aic-in--wide { width:auto; min-width:min(100%, 380px); }
  .v5 .v5-aic-row { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
  .v5 .v5-aic-area { box-sizing:border-box; width:100%; padding:8px 10px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-bg); color:var(--v5-text); font:inherit; font-size:13.5px; line-height:1.45; resize:vertical; }
  .v5 .v5-aic-checks { display:flex; flex-wrap:wrap; gap:14px; margin:6px 0 4px; font-size:13.5px; color:var(--v5-text); }
  .v5 .v5-aic-check { display:inline-flex; gap:6px; align-items:center; font-size:13.5px; font-weight:400; letter-spacing:normal; text-transform:none; color:var(--v5-text); cursor:pointer; }
  .v5 .v5-aic-check input { accent-color:var(--aic-vio); }
  .v5 .v5-aic-go { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:12px; }
  .v5 .v5-aic-small { font-size:12px; color:var(--v5-text3); }
  .v5 .v5-aic-err { margin-top:8px; font-size:13px; color:var(--v5-rust); }
  .v5 .v5-aic-res { margin-top:14px; padding-top:12px; border-top:1px solid var(--v5-line); }
  .v5 .v5-aic-run + .v5-aic-res { margin-top:8px; padding:12px 18px 16px; border:1px solid var(--aic-vio-bg); border-radius:var(--v5-r-strip); background:var(--v5-panel); }
  .v5 .v5-aic-tag { padding:1px 7px; border-radius:var(--v5-r-chip); background:var(--aic-vio-bg); color:var(--aic-vio); font-size:11px; font-weight:800; letter-spacing:.04em; }
  .v5 .v5-aic-notes { margin-top:6px; }
  .v5 .v5-aic-draft { margin-top:10px; padding:10px 12px; border:1px solid var(--v5-line); border-radius:var(--v5-r-strip); background:var(--v5-panel); color:var(--v5-text); font-size:13.5px; }
  .v5 .v5-aic-draft > b { display:block; margin-bottom:2px; font-size:12px; font-weight:700; color:var(--v5-text3); }
  .v5 .v5-aic-draft--off { opacity:.6; }
  .v5 .v5-aic-ol { margin:2px 0 0; padding-left:20px; }
  .v5 .v5-aic-chosen { font-weight:700; }
  .v5 .v5-aic-text { white-space:pre-wrap; }
  .v5 .v5-aic-acts { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:8px; }
  .v5 .v5-aic-chips { display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin-top:4px; }
  .v5 .v5-aic-chip { padding:1px 9px; border:1px solid var(--v5-line); border-radius:var(--v5-r-chip); background:var(--v5-panel); font-size:12.5px; }
  .v5 .v5-aic-cuts { display:flex; flex-direction:column; gap:8px; margin-top:10px; }
  .v5 .v5-aic-cut { padding:8px 10px; border:1px dashed var(--v5-line); border-radius:var(--v5-r-tile); }
  .v5 .v5-aic-cutn { font-size:12px; font-weight:800; color:var(--v5-text3); }
  .v5 .v5-aic-pill { padding:2px 9px; border-radius:var(--v5-r-chip); font-size:11.5px; font-weight:800; white-space:nowrap; }
  .v5 .v5-aic-pill--ok { background:var(--aic-ok-bg); color:var(--aic-ok); }
  .v5 .v5-aic-pill--ed { background:var(--v5-line); color:var(--v5-text2); }
  .v5 .v5-aic-pill--dis { background:var(--v5-bg); color:var(--v5-text3); }
  .v5 .v5-aic-tbl { width:100%; border-collapse:collapse; overflow:hidden; border:1px solid var(--v5-line); border-radius:var(--v5-r-strip); background:var(--v5-panel); color:var(--v5-text); font-size:13.5px; }
  .v5 .v5-aic-tbl th, .v5 .v5-aic-tbl td { padding:10px 12px; border-bottom:1px solid var(--v5-line); text-align:left; vertical-align:top; }
  .v5 .v5-aic-tbl th { background:var(--v5-bg); color:var(--v5-text3); font-size:12px; font-weight:700; }
  .v5 .v5-aic-num { text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
  .v5 .v5-aic-tbl th.v5-aic-num, .v5 .v5-aic-tbl td.v5-aic-num { text-align:right; }
  .v5 .v5-aic-lrow { cursor:pointer; }
  .v5 .v5-aic-lrow:hover, .v5 .v5-aic-lrow--sel { background:var(--aic-vio-bg); }
  .v5 .v5-aic-det { display:flex; flex-direction:column; gap:6px; }
  .v5 .v5-aic-box { max-height:280px; overflow:auto; padding:8px 10px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-bg); white-space:pre-wrap; font-size:12.5px; }
  .v5 .v5-aic-box--ai { border-color:var(--aic-vio-bg); }
  .v5 .v5-aic-logbar { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:10px; }
  .v5 .v5-aic-logbar .v5-aic-in { width:auto; }
  .v5 .v5-aic-under { margin-top:10px; }
  .v5 .v5-aic-pedit { display:flex; flex-direction:column; gap:4px; }
  /* the violet bar on the team's Publish details page while AI drafts sit in its boxes, unsaved */
  .v5 .v5-aic-pdbar { --aic-vio:var(--v5-note); --aic-vio-bg:var(--v5-note-bg); --aic-steel:var(--v5-team-ink); --aic-on:var(--v5-bg); display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; margin:10px 0 14px; padding:10px 14px; border:1px solid var(--aic-vio); border-radius:var(--v5-r-strip); background:var(--aic-vio-bg); color:var(--v5-text); font-size:13.5px; }
  .v5 .v5-aic-pdl { flex:1 1 320px; min-width:0; }
  .v5 .v5-aic-filled { outline:2px solid var(--v5-note); outline-offset:1px; }
  /* the header's "✦ AI" tab, lit: violet (AI), never the steel of the other tabs */
  .v5 .v5-thdr-tab--ai.v5-thdr-tab--on { background:var(--v5-note-bg); color:var(--v5-note); }
  .v5 .v5-sof-stale { color:var(--v5-text3); font-weight:400; }
  .v5 .v5-sof-foot { margin-top:10px; font-size:12px; color:var(--v5-text3); }
  .v5 .v5-cl--phone .v5-sof-row, .v5 .v5-sof--phone .v5-sof-row { grid-template-columns:20px 1fr; }
  .v5 .v5-vim-name { display:flex; flex-direction:column; gap:2px; flex:1 1 220px; min-width:0; }
  .v5 .v5-vim-sub { font-size:12px; color:var(--v5-text3); }
  .v5 .v5-vim-state { flex:0 1 auto; min-width:0; max-width:100%; font-size:12.5px; color:var(--v5-text2); overflow-wrap:anywhere; }
  .v5 .v5-vim-st { font-weight:700; }
  .v5 .v5-vim-st--ok { color:var(--v5-green); } .v5 .v5-vim-st--bad { color:var(--v5-bad); } .v5 .v5-vim-st--off { color:var(--v5-text3); }
  .v5 .v5-vim-link { color:var(--v5-text2); }
  /* ⟦item 1031⟧ ACTIVITY (ACT-1, team only): the Shared links frame; name chips first, then what / when; one line per event (time · icon ·
     "<Name> <did what>" · a grey line); steel, never gold */
  .v5 .v5-av-chips { display:flex; flex-wrap:wrap; gap:6px; margin:12px 0 0; }
  .v5 .v5-av-chip { height:28px; padding:0 11px; border:1px solid var(--v5-team-btn-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text2); font:inherit; font-size:12.5px; font-weight:600; cursor:pointer; }
  .v5 .v5-av-chip--on { border-color:var(--v5-team-ink); background:var(--v5-team-ink); color:var(--v5-bg); }
  .v5 .v5-av-chips--ppl .v5-av-chip--team:not(.v5-av-chip--on) { color:var(--v5-team-ink); }
  .v5 .v5-av-bar { align-items:center; margin:12px 0 6px; }
  .v5 .v5-av-sel { height:30px; padding:0 8px; border:1px solid var(--v5-team-btn-line); border-radius:var(--v5-r-tile); background:var(--v5-panel); color:var(--v5-text); font:inherit; font-size:12.5px; }
  .v5 .v5-av-line { display:grid; grid-template-columns:64px 24px minmax(0, 1fr); gap:10px; align-items:start; padding:9px 4px; border-bottom:1px solid var(--v5-line-dim); font-size:13.5px; color:var(--v5-text); }
  .v5 .v5-av-time { padding-top:3px; font-size:12px; color:var(--v5-text3); white-space:nowrap; }
  .v5 .v5-av-ic { display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; border-radius:50%; background:var(--v5-panel2); color:var(--v5-team-ink); font-size:12px; }
  .v5 .v5-av-what { display:flex; flex-direction:column; gap:2px; min-width:0; }
  .v5 .v5-av-main { overflow-wrap:anywhere; }
  .v5 .v5-av-name { padding:0; border:0; background:none; color:var(--v5-text); font:inherit; font-weight:700; cursor:pointer; }
  .v5 .v5-av-name:hover { text-decoration:underline; }
  .v5 .v5-av-auto { font-weight:700; color:var(--v5-text3); }
  .v5 .v5-av-grey { font-size:12px; color:var(--v5-text3); overflow-wrap:anywhere; }
  .v5 .v5-av-line--sys .v5-av-main { color:var(--v5-text2); }
  /* ⟦item 1050⟧ ACT-2: one line of menus, the picked chips, groups, the team note's violet, closer to the rail */
  .v5 .v5-av .v5-trail-wrap { gap:14px; }
  .v5 .v5-av-line { grid-template-columns:56px 24px minmax(0, 1fr); }
  .v5 .v5-av-fbar { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:14px 0 8px; }
  .v5 .v5-av-ddw { position:relative; }
  .v5 .v5-av-dd { display:inline-flex; align-items:center; gap:6px; height:30px; max-width:220px; padding:0 10px; border:1px solid var(--v5-team-btn-line); border-radius:var(--v5-r-tile); background:var(--v5-panel); color:var(--v5-text); font:inherit; font-size:12.5px; font-weight:600; cursor:pointer; }
  .v5 .v5-av-dd-t { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-av-dd--on { border-color:var(--v5-team-ink); color:var(--v5-team-ink); }
  .v5 .v5-av-menu { position:absolute; z-index:40; top:34px; left:0; width:260px; max-height:360px; overflow:auto; padding:6px; background:var(--v5-menu-bg); border:1px solid var(--v5-menu-line); border-radius:var(--v5-r-card); box-shadow:var(--v5-menu-shadow); }
  .v5 .v5-av-q { width:100%; height:30px; margin:0 0 6px; padding:0 9px; border:1px solid var(--v5-team-btn-line); border-radius:var(--v5-r-tile); background:var(--v5-panel); color:var(--v5-text); font:inherit; font-size:12.5px; box-sizing:border-box; }
  .v5 .v5-av-mi { display:flex; align-items:center; gap:6px; width:100%; min-height:30px; padding:4px 8px; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--v5-text); font:inherit; font-size:12.5px; text-align:left; cursor:pointer; }
  .v5 .v5-av-mi:hover, .v5 .v5-av-mi:focus-visible { background:var(--v5-menu-hover); outline:none; }
  .v5 .v5-av-mi[hidden] { display:none; }
  .v5 .v5-av-mi--on { font-weight:700; }
  .v5 .v5-av-tick { flex:0 0 14px; color:var(--v5-team-ink); }
  .v5 .v5-av-mh { padding:8px 8px 3px; font-size:10.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-menu-head); }
  .v5 .v5-av-mt { display:flex; align-items:center; gap:8px; margin:6px 0 0; padding:8px; border-top:1px solid var(--v5-menu-line); font-size:12.5px; color:var(--v5-text2); cursor:pointer; }
  .v5 .v5-av-chips .v5-av-chip--on span { margin-left:4px; }
  .v5 .v5-av-more { margin-left:4px; padding:0; border:0; background:none; color:var(--v5-team-ink); font:inherit; font-size:12.5px; font-weight:600; cursor:pointer; }
  .v5 .v5-av-kids { margin:0 0 0 34px; border-left:1px solid var(--v5-line-dim); }
  .v5 .v5-av-line--kid { padding-left:10px; }
  .v5 .v5-av-fname { border-bottom:1px dotted var(--v5-text3); }
  .v5 .v5-av-file { overflow-wrap:anywhere; color:var(--v5-text2); }
  .v5 .v5-av-link { color:var(--v5-team-ink); font-weight:600; }
  .v5 .v5-av-tag { display:inline-block; margin-right:2px; padding:0 6px; border-radius:var(--v5-r-tile); background:var(--v5-note-bg); color:var(--v5-note); font-size:11px; font-weight:700; line-height:18px; vertical-align:1px; }
  .v5 .v5-av-line--note .v5-av-ic { color:var(--v5-note); background:var(--v5-note-bg); }
  .v5 .v5-pst-actl { margin-left:4px; font-size:11.5px; color:var(--v5-text3); }
  .v5 .v5-lnk-row { display:grid; grid-template-columns:110px 80px minmax(0, 1fr) 150px 110px 140px 200px; gap:12px; align-items:center; padding:11px 18px; border-top:1px solid var(--v5-line-dim); font-size:13.5px; color:var(--v5-text); cursor:pointer; }
  .v5 .v5-lnk-row:hover { background:var(--v5-head-wash-hover); }
  .v5 .v5-lnk-row--head { padding:11px 18px; border-top:0; font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--v5-text3); cursor:default; }
  .v5 .v5-lnk-row--head:hover { background:none; }
  .v5 .v5-lnk-row > div { min-width:0; }
  .v5 .v5-lnk-row--open { background:var(--v5-head-wash); }
  .v5 .v5-lnk-row--dim .v5-lnk-what1 { color:var(--v5-text2); }
  .v5 .v5-lnk-ty { display:inline-block; padding:3px 8px; border-radius:var(--v5-r-tchip); font-size:11px; font-weight:800; white-space:nowrap; }
  .v5 .v5-lnk-ty--package { background:var(--v5-team-bg); color:var(--v5-team-ink); }
  .v5 .v5-lnk-ty--guest { background:var(--v5-team-bg); color:var(--v5-team-ink); }
  .v5 .v5-lnk-ty--file { background:var(--v5-chip); color:var(--v5-text2); }
  .v5 .v5-lnk-client { overflow:hidden; font-weight:700; white-space:nowrap; text-overflow:ellipsis; }
  .v5 .v5-lnk-what1 { font-weight:600; overflow-wrap:anywhere; }
  .v5 .v5-lnk-sub { font-size:12px; font-weight:500; color:var(--v5-text3); }
  .v5 .v5-lnk-st { display:inline-block; padding:2px 9px; border-radius:var(--v5-r-tchip); font-size:11px; font-weight:800; white-space:nowrap; }
  .v5 .v5-lnk-st--on { background:var(--v5-done-tint); color:var(--v5-green); }
  .v5 .v5-lnk-st--soon { background:var(--v5-urgent-tint); color:var(--v5-urgent); }
  .v5 .v5-lnk-st--off { background:var(--v5-chip); color:var(--v5-text3); }
  .v5 .v5-lnk-acts { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
  .v5 .v5-lnk-btn { height:28px; padding:0 10px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text2); font-family:var(--v5-font); font-size:12.5px; font-weight:700; white-space:nowrap; cursor:pointer; }
  .v5 .v5-lnk-btn:hover { background:var(--v5-band); color:var(--v5-text); }
  .v5 .v5-lnk-btn:disabled { opacity:.5; cursor:default; }
  .v5 .v5-lnk-btn--go { border-color:var(--v5-team-line); background:var(--v5-team-bg); color:var(--v5-team-ink); }
  .v5 .v5-lnk-det { padding:12px 18px 14px 140px; border-top:1px solid var(--v5-line-soft); background:var(--v5-panel); font-size:13.5px; line-height:1.6; color:var(--v5-text2); }
  .v5 .v5-lnk-det-h { font-weight:700; color:var(--v5-text); }
  .v5 .v5-lnk-url { font-size:12.5px; color:var(--v5-text3); overflow-wrap:anywhere; }
  .v5 .v5-lnk-links { margin-top:6px; }
  .v5 .v5-lnk-a { padding:0; border:0; background:none; color:var(--v5-team-ink); font:inherit; font-weight:700; text-decoration:none; cursor:pointer; }
  .v5 .v5-lnk-edit { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:8px; }
  .v5 .v5-lnk-lbl { display:inline-flex; align-items:center; gap:8px; margin:0; font-size:13px; font-weight:600; letter-spacing:normal; text-transform:none; color:var(--v5-text2); }
  .v5 .v5-lnk-date { height:30px; padding:0 8px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-panel2); color:var(--v5-text); font-family:var(--v5-font); font-size:13px; color-scheme:dark; }
  .v5 .v5-lnk-mini { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; padding:8px 0; border-top:1px solid var(--v5-line); }
  .v5 .v5-lnk-mini-t { display:flex; flex:1 1 200px; flex-direction:column; min-width:0; font-size:13px; }
  .v5 .v5-lnk-mini + .v5-lnk-det { padding:8px 0 10px; border-top:0; background:none; }
  .v5 .v5-lnkpv-intro { padding:0 20px 6px; font-size:13px; color:var(--v5-text3); }
  .v5 .v5-lnkpv-list { flex:1; min-height:0; padding:0 20px 18px; overflow:auto; }
  .v5 .v5-cl--phone .v5-lnk-row { grid-template-columns:1fr auto; gap:6px 10px; padding:12px 14px; }
  .v5 .v5-cl--phone .v5-lnk-row.v5-lnk-row--head { display:none; }
  .v5 .v5-cl--phone .v5-lnk-type { grid-column:1; grid-row:1; }
  .v5 .v5-cl--phone .v5-lnk-status { grid-column:2; grid-row:1; text-align:right; }
  .v5 .v5-cl--phone .v5-lnk-client { grid-column:1 / 3; }
  .v5 .v5-cl--phone .v5-lnk-what { grid-column:1 / 3; }
  .v5 .v5-cl--phone .v5-lnk-by { grid-column:1; font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-cl--phone .v5-lnk-last { grid-column:2; font-size:12.5px; text-align:right; }
  .v5 .v5-cl--phone .v5-lnk-acts { grid-column:1 / 3; justify-content:flex-start; }
  .v5 .v5-cl--phone .v5-lnk-det { padding:12px 14px; }
  .v5 .v5-cl--phone.v5-lnkpv .v5-emlpv-box { top:8px; right:8px; bottom:8px; width:calc(100% - 16px); }
  /* ⟦item 957⟧ 6b: the recently delivered projects on an overview with nothing open */
  .v5 .v5-ldl { margin:18px 0 0; max-width:560px; text-align:left; }
  .v5 .v5-ldl-h { margin-bottom:6px; font-size:11.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-ldl-row { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 12px; padding:8px 0; border-top:1px solid var(--v5-line-dim); font-size:14px; }
  .v5 .v5-ldl-n { flex:1 1 200px; min-width:0; color:var(--v5-text); font-weight:700; overflow-wrap:anywhere; }
  .v5 .v5-ldl-d { color:var(--v5-green); font-size:13px; font-weight:700; white-space:nowrap; }
  .v5 .v5-ldl-fw { margin-top:8px; }
  /* ⟦item 956⟧ a note's @names (teamTlNoteTextHtml, drawn by the Communication page); ⟦item 1114⟧ the old Timeline page's other rules are deleted with it */
  .v5 .v5-ptl-men { color:var(--v5-team-ink); font-weight:700; }
  .v5 .v5-cl--phone .v5-sts-row--head { display:none; }
  .v5 .v5-cl--phone .v5-sts-cb { grid-area:cb; padding-top:6px; }
  .v5 .v5-cl--phone .v5-sts-tile { grid-area:tile; }
  .v5 .v5-cl--phone .v5-sts-code { grid-area:code; }
  .v5 .v5-cl--phone .v5-sts-item { grid-area:item; }
  .v5 .v5-cl--phone .v5-sts-stage { grid-area:stage; }
  .v5 .v5-cl--phone .v5-sts-act { grid-area:act; }
  .v5 .v5-cl--phone .v5-sts-opened { display:none; }
  .v5 .v5-cl--phone .v5-sts-wait, .v5 .v5-cl--phone .v5-sts-due { display:none; }
  .v5 .v5-cl--phone .v5-sts-meta { display:block; grid-area:meta; font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-cl--phone .v5-sts-note { flex-basis:100%; }
  .v5 .v5-lfin { margin:22px 0 0; font-size:14px; color:var(--v5-muted); }
  .v5 .v5-lproj { display:flex; flex-direction:column; gap:14px; }
  .v5 .v5-lproj-head { align-self:flex-start; padding:0; border:0; background:none; cursor:pointer; font-family:var(--v5-font); text-transform:none; letter-spacing:normal;
                       font-size:15px; font-weight:800; color:var(--v5-hero-ink); }
  .v5 .v5-lproj-head:hover { color:var(--v5-hero-ink-2); }
  /* ⟦item 779⟧ THE COMPACT HOME CARD (CC-2): one fixed height, the tile and ONE text column on top, a divider row under it.
     A 300px column floor gives two cards across the hero's column (the mock draws them wide), one on a phone. */
  .v5 .v5-pcard.v5-lc { height:192px; box-sizing:border-box; padding:20px 22px; gap:0; border-radius:var(--v5-r-card); }   /* ⟦HOME-2 #5⟧ even padding top and bottom */
  .v5 .v5-lc-top { flex:1 1 auto; display:flex; align-items:center; gap:14px; min-width:0; min-height:0; }
  .v5 .v5-lc .v5-tile { width:56px; height:56px; flex:0 0 56px; }
  .v5 .v5-lc-text { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; }
  .v5 .v5-lc-kick { display:flex; flex-wrap:wrap; align-items:center; gap:0 7px; min-width:0; white-space:nowrap; overflow:hidden; }   /* one line; the context drops to a second only when a long type word leaves it under 40px ("PUBLISH DETAILS" on a phone) */
  .v5 .v5-lc-type { flex:0 0 auto; max-width:100%; overflow:hidden; text-overflow:ellipsis; font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; background:none; padding:0; }
  .v5 .v5-lc-dot { flex:0 0 auto; color:var(--v5-dim); }
  .v5 .v5-lc-ctx { flex:1 1 40px; min-width:40px; max-width:max-content; overflow:hidden; text-overflow:ellipsis; font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-lc-kick .v5-rchip { flex:0 0 auto; margin-left:0; }
  .v5 .v5-lc-title { margin-top:3px; font-size:18px; font-weight:700; line-height:1.3; color:var(--v5-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-lc-l2 { margin-top:1px; font-size:13.5px; line-height:1.35; color:var(--v5-text2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-lc-foot { flex:0 0 auto; display:flex; align-items:center; justify-content:space-between; gap:12px; border-top:1px solid var(--v5-line); padding-top:16px; margin-top:16px; }
  .v5 .v5-lc-st { min-width:0; }
  .v5 .v5-lc-l1 { font-size:clamp(12.5px, 3.3vw, 14px); font-weight:600; color:var(--v5-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-lc-sent { margin-top:2px; min-height:17px; font-size:12.5px; color:var(--v5-text3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-lc-foot .v5-act { flex:0 0 auto; }
  /* Responsive WITHOUT a media query (the v5 stylesheet carries none — v5-polish pins it): auto-fill
     at a 230px floor gives three columns in the hero's 840px column and fewer as the screen narrows. */
  .v5 .v5-cards--landing { padding:0; gap:24px; grid-template-columns:repeat(auto-fill, minmax(min(100%, max(300px, calc((100% - 24px) / 2))), 1fr)); }   /* ⟦HOME-2 #1/#4⟧ two across filling the panel, 24px apart; one under ~624px */
  /* ⟦HOME-2⟧ (Jeffrey, Oct 3 — board "HOME · spacing fixed (Coming up kept)"): with owed cards the content takes the panel's FULL
     width (no empty right third); ~56px headline → Coming up, ~84px Coming up → cards; the headline one line where it fits. */
  .v5 .v5-hero--cards .v5-hero-body { max-width:none; }
  .v5 .v5-hero--cards .v5-cu { margin:56px 0 0; }
  .v5 .v5-hero--cards .v5-lgroups { margin-top:56px; }
  .v5 .v5-hero--cards .v5-cu + .v5-lgroups { margin-top:84px; }
  .v5 .v5-lc-dot2 { color:var(--v5-dim); font-weight:600; }
  .v5 .v5-lc-foot .v5-lc-l1 { white-space:normal; overflow:visible; text-overflow:clip; }
  .v5 .v5-lc-w { white-space:nowrap; }   /* the status word never breaks; the deadline (itself nowrap) drops under it when the row is narrow */
  .v5 .v5-cl--phone .v5-pcard.v5-lc { padding:16px; }   /* a phone card keeps item 779's inset — 22px would leave "Waiting on you" no room beside the button */
  .v5 .v5-cl--phone .v5-lc-foot { gap:8px; }
  .v5 .v5-lc-l1 .v5-ab--inline { white-space:normal; }
  .v5 .v5-lc-l1--ab .v5-lc-w, .v5 .v5-lc-l1--ab .v5-lc-dot2 { display:none; }
  .v5 .v5-lc-l1 .v5-ab[data-v5-ab-short] { white-space:nowrap; }
  .v5 .v5-lc-l1--wrap .v5-ab[data-v5-ab-short] { white-space:normal; }   /* the deadline itself never breaks inside ("Approve by / Oct 8") */   /* ⟦item 810⟧ a tight card keeps ONE line: the deadline alone */   /* ⟦item 804⟧ was phones only: a long day ("Approve by Mon Oct 12", 156px) overflowed the 152px status column at 1024 — the deadline wraps wherever it does not fit */
  .v5 .v5-tile--frame .v5-tile-play { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:20px; height:20px; border-radius:50%;
                                      background:rgba(var(--v5-bg-rgb), .6); color:var(--v5-hero-ink); font-size:8px; line-height:20px; text-align:center; }   /* ⟦item 779⟧ 230 → 300: the compact card's one text column needs the width */
  .v5 .v5-pcard[data-v5-landing-go] { cursor:pointer; }
  .v5 .v5-lsee { align-self:flex-start; padding:0 0 2px; border:0; border-bottom:1px solid var(--v5-hero-line); background:none; cursor:pointer;
                 font-family:var(--v5-font); text-transform:none; letter-spacing:normal; font-size:13px; font-weight:600; color:var(--v5-hero-ink-2); }
  .v5 .v5-lsee:hover { color:var(--v5-hero-ink); }
  /* The corner button: the shared download icon + "Completed projects", no count (item 702). */
  .v5 .v5-hero-completed { position:absolute; top:26px; right:32px; display:inline-flex; align-items:center; gap:7px; height:34px; padding:0 14px;
                           border:1px solid var(--v5-hero-line); border-radius:var(--v5-r-pill); background:none; cursor:pointer;
                           font-family:var(--v5-font); text-transform:none; letter-spacing:normal; font-size:13px; font-weight:600; color:var(--v5-hero-ink-2); }
  .v5 .v5-hero-completed:hover { color:var(--v5-hero-ink); }
  .v5 .v5-hero-completed .v5-ico-dl { flex:0 0 auto; display:block; }

  /* ── banner ────────────────────────────────────────────────────────────────────────────────
     ⚠️ ITEM 659 B6: the prototype's .pbanner — linear-gradient(115deg, a, b 48%, c) from the three
     banner tokens, 160px tall, 14px radius, the same on every project; NO inline style from the
     renderer any more (items 650/651's derived tint is gone). The fade on .v5-banner-wash (651) is
     kept as the text's legibility floor.
     ⚠️ ITEM 657 #8: 30px / 800 / -.03em title. The prototype's eyebrow is GOLD; here it is muted —
     the eyebrow is a label (now the client's organisation, item 659 B4), not an ask (the ruling). */
  /* ⚠️ ITEM 667 — THE BANNER IS THE PROTOTYPE'S .pbanner, ALL THREE PARTS. Compared live, side by
     side: (1) the WASH was a bottom fade to the page tone, not the prototype's two layers, so the
     gradient showed through at full strength and the banner read brighter and bluer; (2) the text
     was pinned to the BOTTOM edge (absolute, bottom:1.25rem) where the prototype centres it in a
     flex row; (3) the eyebrow was uppercased muted grey where the prototype keeps the
     organisation's OWN case in white at .6. The gradient itself (item 659 B6) is unchanged.
     ⚠️ THE LANDING HERO ALREADY HAD THIS SHAPE — flex + align-items:center, its own .v5-hero-body
     (position:relative, padding, max-width) and its own ink set — so the banner was the odd
     surface out, not the hero. The hero keeps its OWN wash: a full-window surface needs a
     different ramp from a 160px strip, and its wash is deliberately gold-free (item 663).
     The ARCHIVE banner is `.v5-banner .v5-arc-banner` and reuses every rule here, so it takes the
     same wash and the same centring at its own 120px — one banner, checked, not two. The sticky
     bar (item 666) reuses only .v5-view-toggle and has its own background; unaffected. */
  .v5 .v5-banner { position:relative; height:160px; border-radius:var(--v5-r-banner); overflow:hidden; margin-bottom:.9rem;
                   display:flex; align-items:center;
                   background:linear-gradient(115deg, var(--v5-banner-a), var(--v5-banner-b) 48%, var(--v5-banner-c)); }
  /* The prototype's .pb-wash, by token: a rightward ramp that darkens the text side, over a bottom
     fade. Two layers, in this order — the first paints over the second. */
  .v5 .v5-banner-wash { position:absolute; inset:0;
                        background:linear-gradient(to right, rgba(var(--v5-bg-rgb), .92) 8%, rgba(var(--v5-bg-rgb), .55) 48%, rgba(var(--v5-bg-rgb), 0) 88%),
                                   linear-gradient(to bottom, rgba(var(--v5-bg-rgb), 0) 40%, rgba(var(--v5-bg-rgb), .85)); }
  /* The prototype's .pb-body: the one flex item, so align-items:center centres it. */
  .v5 .v5-banner-text { position:relative; padding:0 24px; max-width:760px; }
  /* The prototype's .pb-client: the organisation in its OWN case — "American Society of Civil
     Engineers", never ASCE-shouted. The uppercase treatment went with item 659 B4's reading. */
  .v5 .v5-eyebrow { font-size:10px; font-weight:800; letter-spacing:.18em; color:var(--v5-banner-ink-3); }
  .v5 .v5-title { margin:6px 0 0; font-size:30px; font-weight:800; letter-spacing:-.03em; color:var(--v5-hero-ink); line-height:1.1; }
  /* ⚠️ ITEM 650's ruling kept — the summary is READABLE body ink, the OWED half gold — but the ink
     is now the banner's own (.pb-counts .72 white). It read `var(--text)`, v4's token, which is a
     page-surface grey that was never meant to sit on a gradient. */
  .v5 .v5-summary { margin-top:9px; font-size:13px; color:var(--v5-banner-ink-2); }
  .v5 .v5-summary-owed { color:var(--v5-gold); font-weight:700; }
  .v5 .v5-tsum-dlv { padding:0; border:0; background:none; font:inherit; color:inherit; cursor:pointer; text-decoration:underline; text-decoration-color:var(--v5-text3); text-underline-offset:3px; }   /* ⟦item 889⟧ "N delivered ›" */
  .v5 .v5-tsum-dlv:focus-visible { outline:2px solid var(--v5-team-ink); outline-offset:2px; }

  /* ── deliverable card ──────────────────────────────────────────────────────────────────── */
  /* ⚠️ ITEM 665 — THE CARD SURFACE IS THE PROTOTYPE'S .group: panel3 (#131317) with the line-dim
     border. Item 657 put it on panel2 (#17171b) — one tone lighter — and that, with the resting row
     band below, is why the live card read as a lighter grey than the prototype's near-black. The
     radius stays on 657's scale token (12px; the prototype's .group is 14px) — recorded, not moved. */
  .v5 .v5-card { border:1px solid var(--v5-line-dim); border-radius:var(--v5-r-card); background:var(--v5-panel3); margin-bottom:.9rem; overflow:hidden; }
  .v5 .v5-card--owed { border-color:var(--v5-line-gold); }
  /* ⚠️ ITEM 657 #6: the caret is the FIRST child of the head — left of the title — so it reads as
     this card's control. Its glyph is the same text character it always was; only its place moved. */
  /* Item 665: the head strip is the prototype's .ghead — a faint top-down wash at .035, .06 on
     hover (an inert head has no hover). It was the row band's .028. */
  /* Item 735: flex-wrap — where a title's words need the room, the chip and the progress pair drop to
     their own line instead of the name being squeezed into a box narrower than its words (seen at
     390: the chip drawn over the title). A flex line breaks on max-content widths, so the name's
     max-width (the line minus the caret and its gap) keeps the caret beside the title rather than
     orphaned above it. Nothing moves where the row fits on one line. */
  .v5 .v5-card-head { display:flex; align-items:center; flex-wrap:wrap; gap:12px; width:100%; padding:15px 18px 14px;
                      background:linear-gradient(to bottom, var(--v5-head-wash), transparent); border:0; text-align:left; cursor:pointer; color:inherit; }
  .v5 .v5-card-head:hover { background:linear-gradient(to bottom, var(--v5-head-wash-hover), transparent); }
  .v5 .v5-card-head--inert { cursor:default; }
  .v5 .v5-card-head--inert:hover { background:linear-gradient(to bottom, var(--v5-head-wash), transparent); }
  /* ⚠️ ITEM 659 B3 — UPPERCASE, the prototype's h2.grp: 17 / 800 / +.02em / line-height 1.2. This
     REVERSES item 657 #8's mixed-case call (15 / 800 / -.01em), on the fifth browser review. Item
     651's family declaration stands (a <button> inherits no font-family). ⚠️ flex:0 1 auto, not
     1 1 auto: the title no longer swallows the head's width, so the owed chip sits IMMEDIATELY
     after it (prototype: "90-SECOND CUT [4]") and the progress pair takes margin-left:auto to hold
     the far right — the prototype's .tracker. */
  .v5 .v5-card-name { font-family:var(--v5-font); font-size:17px; font-weight:800; letter-spacing:.02em; text-transform:uppercase; line-height:1.2; color:var(--v5-text); flex:0 1 auto; min-width:0; max-width:calc(100% - 32px); overflow-wrap:anywhere; }
  /* The count of what is owed on this card (spec §3 — "gold means one thing"). Item 660 #7 took the prototype's SOLID
     .gowed; ⚠️ ITEM 737 (§21, ruled): a count is not a button, so it is the family's GOLD TINT — uppercase 11 / 700 /
     .06em, 6px corners, no border — and reads "N WAITING". The same class is the four page chips' base (.v5-mdp-chip). */
  .v5 .v5-chip { flex:0 0 auto; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; line-height:1.5; color:var(--v5-owed-ink); background:var(--v5-owed-tint); border:0; border-radius:var(--v5-r-status); padding:2px 8px; }
  .v5 .v5-prog { flex:0 0 auto; display:flex; align-items:center; gap:12px; margin-left:auto; }
  /* Items 649/650 kept: display:block on both spans, bar first. 96×4, a 2px hairline radius. */
  .v5 .v5-prog-track { display:block; flex:0 0 96px; width:96px; height:4px; border-radius:2px; background:var(--v5-chip); overflow:hidden; }
  .v5 .v5-prog-fill { display:block; height:100%; border-radius:2px; background:var(--v5-green-bar); }
  .v5 .v5-prog-label { font-size:12px; color:var(--v5-muted); white-space:nowrap; }
  /* Item 660 #5: "N done" is green in the prototype's progress text; the "· N to go" tail stays muted. */
  .v5 .v5-prog-done { color:var(--v5-green); font-weight:600; }
  .v5 .v5-empty-note { flex:0 0 auto; margin-left:auto; font-size:12px; color:var(--v5-muted); white-space:nowrap; }
  /* ⚠️ ITEM 659 B5 — THE PROTOTYPE'S CHEVRON, AT ITS SIZE. The caret was a text "›" at .95rem in a
     20px box and read too small against the prototype. It is now the prototype's own glyph
     (.gcaret: a 13px stroke-2.2 chevron SVG in a 20px box), pointing right when shut and rotated
     90° when open — v5-polish-live.mjs renders the prototype itself in Chrome and asserts the
     two boxes are the same size. Item 657's "the glyph is the same text character" pin is
     retired with the character. */
  .v5 .v5-caret { flex:0 0 auto; width:20px; height:20px; display:inline-flex; align-items:center; justify-content:center; color:var(--v5-text3); transition:transform .15s; }
  .v5 .v5-caret svg { display:block; width:13px; height:13px; }
  .v5 .v5-caret--open { transform:rotate(90deg); }
  .v5 .v5-card-body { border-top:1px solid var(--v5-line-soft); }
  /* ⟦item 816 #9⟧ (Jeffrey, Oct 5; mocks CARDS-2 A, LIST-1) THE STICKY EPISODE HEADER — a CLIENT's episode card keeps its head
     ("▾ EPISODE · N WAITING · Approve by … · X done · Y to go") pinned under the project bar while its own items scroll, Cards and
     List alike, until the next episode's head takes its place. overflow:clip (not hidden) keeps the rounded corners without
     making the card a scroll container, which would stop position:sticky. The head needs a solid fill once it floats. */
  .v5 .v5-cl .v5-card { overflow:clip; }
  .v5 .v5-cl .v5-card > .v5-card-head { position:sticky; top:var(--v5-ep-top); z-index:6; background:linear-gradient(to bottom, var(--v5-head-wash), transparent), var(--v5-panel3); }
  .v5 .v5-cl .v5-card > .v5-card-head:hover { background:linear-gradient(to bottom, var(--v5-head-wash-hover), transparent), var(--v5-panel3); }
  .v5 .v5-cl .v5-card > .v5-card-head.v5-card-head--pinned { box-shadow:0 6px 18px var(--v5-lk-shadow); border-bottom:1px solid var(--v5-line); }
  .v5 .v5-cl--phone .v5-card > .v5-card-head { padding:11px 14px 10px; gap:8px; }
  .v5 .v5-cl--phone .v5-card > .v5-card-head .v5-card-name { font-size:14px; }
  .v5 .v5-cl--phone .v5-card > .v5-card-head .v5-prog-track { display:none; }

  /* ── the transcripts shelf (spec §8; restyled item 713) ─────────────────────────────────────
     ⚠️ ITEM 713 REVERSES item 680's neutral shelf and, FOR THIS CARD ONLY, item 657's "no
     internal-only colour on a client surface" (already narrowed by 697 for tiles). Ruled by the
     operator to the mock (claude.ai artifact VD7iBAPXZAHyjDHQkq24BM): the shelf is REFERENCE
     material and must read as a different kind of thing from the deliverable groups below it, so
     it takes a violet card (#1B162F + a violet border) against their neutral #131317. Gold still
     means one thing — owed — and appears only on an owed ROW's status, never on the header line. */
  /* Item 715: 36px under the shelf against the .9rem (≈14px) between deliverable groups — reference
     material above, the work below, read as two kinds of thing. */
  /* ⟦item 834⟧ PROJECT LINKS — "FROM THE TEAM" (mock PL-1 A): a section line, then each link in a panel — the TP-10 card at the strip's size,
     the team's note under it, "Comments for the team" once opened (item 835; was "Anything else?"). Tokens only; the gold is the existing owed chip (.v5-chip) and pill (.v5-lk-pill--gold). */
  .v5 .v5-pl { margin:0 0 30px; }
  .v5 .v5-pl-head { display:flex; align-items:center; gap:10px; margin:2px 0 10px; }
  .v5 .v5-pl-k { font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-text3); flex:none; }
  .v5 .v5-pl-rule { flex:1 1 auto; height:1px; background:var(--v5-line); }
  .v5 .v5-pl-cnt { flex:none; font-size:12px; color:var(--v5-dim); }
  .v5 .v5-pl-box { background:var(--v5-panel2); border:1px solid var(--v5-line); border-radius:var(--v5-r-card); padding:14px; }
  .v5 .v5-pl-box + .v5-pl-box { margin-top:12px; }
  .v5 .v5-pl-card { display:flex; align-items:center; gap:14px; padding:14px 16px; border:1px solid var(--v5-lk-card-line); border-radius:var(--v5-r-tile); background:var(--v5-panel3); color:var(--v5-text); text-decoration:none; cursor:pointer; }
  .v5 .v5-pl-card:hover { border-color:var(--v5-lk-ghost-line-2); }
  .v5 .v5-pl-card--done { background:transparent; }
  .v5 .v5-pl-tile { flex:none; width:40px; height:40px; border-radius:var(--v5-r-tile); display:flex; align-items:center; justify-content:center; color:var(--at-link-ring); background:var(--at-link-fill); }
  .v5 .v5-pl-t { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; }
  .v5 .v5-pl-name { font-size:15px; font-weight:700; overflow-wrap:anywhere; }
  .v5 .v5-pl-sub { margin-top:2px; font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-pl-ok { color:var(--v5-green); }
  .v5 .v5-pl-chips { margin-top:6px; display:flex; }
  .v5 .v5-pl-card .v5-lk-pill { padding:7px 15px; font-size:13px; }
  .v5 .v5-pl-note { display:flex; gap:7px; align-items:flex-start; margin-top:10px; font-size:12.5px; line-height:1.45; color:var(--v5-text2); white-space:pre-wrap; overflow-wrap:anywhere; }
  .v5 .v5-pl-note-i { flex:none; display:inline-flex; margin-top:2px; color:var(--v5-text3); }
  .v5 .v5-pl-more { margin-top:14px; }
  .v5 .v5-pl-notes { margin-top:12px; border-top:1px solid var(--v5-line-soft); }
  .v5 .v5-pl-n1 { padding:10px 0 0; font-size:13px; color:var(--v5-text2); line-height:1.45; white-space:pre-wrap; overflow-wrap:anywhere; }
  .v5 .v5-pl-n1 b { color:var(--v5-text); font-weight:700; }
  .v5 .v5-pl-n1-w { color:var(--v5-dim); }
  .v5 .v5-lc--pl, .v5 .v5-lc--pl:hover { text-decoration:none; color:inherit; }
  .v5 .v5-lc--pl .v5-lc-l1, .v5 .v5-lc--pl .v5-lc-w { white-space:normal; overflow:visible; text-overflow:clip; }   /* "Covers the whole project" wraps beside Review on a phone, never under it */   /* the Home card is the link itself (an <a>): no underline on its words */
  .v5 .v5-cl--phone .v5-pl-card { flex-wrap:wrap; }
  .v5 .v5-cl--phone .v5-pl-card .v5-lk-pill { width:100%; justify-content:center; }
  .v5 .v5-cl--phone .v5-pl-more .v5-lk-more-in { font-size:16px; }   /* iOS zooms into anything smaller */
  .v5 .v5-trshelf { border:1px solid var(--v5-tr-line); border-radius:var(--v5-r-card); background:var(--v5-tr-bg); margin-bottom:36px; overflow:hidden; }
  .v5 .v5-trshelf-head { display:flex; align-items:center; gap:10px; width:100%; padding:11px 16px; border-bottom:1px solid var(--v5-tr-line); cursor:pointer; }
  .v5 .v5-trshelf--shut .v5-trshelf-head { border-bottom:0; }
  .v5 .v5-trshelf-head .v5-caret { color:var(--v5-tr-violet); opacity:.85; }
  /* The header keeps the REAL transcript tile (v5TileStyle('transcript') inline — the palette's fill
     and ring), at 25px: the one place the violet glyph appears, saying what the shelf is. */
  .v5 .v5-trshelf-icon { flex:0 0 25px; width:25px; height:25px; border-radius:var(--v5-r-tile); display:inline-flex; align-items:center; justify-content:center; }
  .v5 .v5-trshelf-icon svg { display:block; width:14px; height:14px; }
  .v5 .v5-trshelf-title { font-family:var(--v5-font); font-size:11.5px; font-weight:700; letter-spacing:.085em; text-transform:uppercase; color:var(--v5-text); flex:0 0 auto; }
  /* The count is a total, never "how many owed", so it never wears gold. */
  .v5 .v5-trshelf-count { flex:0 0 auto; font-size:11px; font-weight:600; padding:2px 8px; border-radius:var(--v5-r-pill); background:var(--v5-tr-count); color:var(--v5-text3); }
  /* ⚠️ ITEM 713 (ruled): the header's right-hand line is NEVER gold, in any state — quiet violet for
     "nothing needed" AND for "N need your notes". Gold is on the owed ROW only. */
  .v5 .v5-trshelf-caption { margin-left:auto; min-width:0; font-size:11.5px; font-weight:400; color:var(--v5-tr-violet); opacity:.72; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-trshelf-caption.v5-trshelf-caption--team { color:var(--v5-text3); opacity:1; }   /* ⟦item 889⟧ the team's words, grey (after the base rule, and the stronger selector: seen violet live) */
  /* Rows: ~36px against a deliverable row's 72px, 12.5px names against 17px, a violet DOT where a
     tile would be (a glyph at this size reads as a smudge), no type line, no action button. */
  .v5 .v5-trshelf-row { display:flex; align-items:center; gap:10px; width:100%; min-height:36px; padding:6px 16px; background:none; border-bottom:1px solid var(--v5-tr-line-soft); cursor:pointer; }
  .v5 .v5-trshelf-row:last-child { border-bottom:0; }
  .v5 .v5-trshelf-row:hover { background:var(--v5-tr-hover); }
  .v5 .v5-trshelf-dot { flex:0 0 6px; width:6px; height:6px; border-radius:50%; background:var(--v5-tr-violet); opacity:.55; }
  .v5 .v5-trshelf-name { flex:1 1 auto; min-width:0; font-size:12.5px; font-weight:500; line-height:1.4; color:var(--v5-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-trshelf-src { color:var(--v5-muted); font-weight:400; }
  .v5 .v5-trshelf-status { flex:0 0 auto; font-size:11.5px; color:var(--v5-muted); white-space:nowrap; }
  .v5 .v5-trshelf-status--owed { color:var(--v5-gold); font-weight:500; }
  /* ⟦transcripts T2⟧ the only gold on the Transcripts section: "N new" in its header and NEW on an unopened row (the violet stays) */
  .v5 .v5-trf-newc { flex:0 0 auto; font-size:11px; font-weight:600; padding:2px 8px; border-radius:var(--v5-r-pill); background:rgba(var(--v5-gold-rgb), .16); color:var(--v5-gold); white-space:nowrap; }
  .v5 .v5-trf-new { flex:0 0 auto; font-size:10.5px; font-weight:700; letter-spacing:.05em; padding:2px 6px; border-radius:var(--v5-r-tchip); background:var(--v5-gold); color:var(--v5-on-gold); }
  /* ⟦client home cards⟧ the client's Home as project cards (gold = waiting on the client, violet = a transcript to read; the NEW badge is T2's) */
  .v5 .v5-chc { max-width:1100px; margin:0 auto; padding:30px 40px 48px; box-sizing:border-box; color:var(--v5-text); font-family:var(--v5-font); }
  .v5 .v5-chc-greet { display:flex; gap:18px; align-items:flex-start; padding:4px 0 26px; }
  .v5 .v5-chc-logo { flex:0 0 auto; }
  .v5 .v5-chc-gt { min-width:0; }
  .v5 .v5-chc-hi { font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-chc-h { font-size:32px; font-weight:700; letter-spacing:-.02em; line-height:1.15; margin:6px 0 4px; color:var(--v5-text); }
  .v5 .v5-chc-p { margin:0; font-size:15.5px; line-height:1.45; color:var(--v5-text2); }
  .v5 .v5-chc-lab { font-size:11.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-text3); margin:4px 0 10px; }
  .v5 .v5-chc-card { border:1px solid var(--v5-line-dim); background:var(--v5-panel2); border-radius:var(--v5-r-card); overflow:hidden; margin-bottom:18px; }
  .v5 .v5-chc-top { padding:18px 22px 16px; }
  .v5 .v5-chc-pn { font-size:20px; font-weight:700; color:var(--v5-text); overflow-wrap:anywhere; }
  .v5 .v5-chc-st { display:flex; align-items:center; gap:8px; margin-top:4px; font-size:14px; color:var(--v5-text2); }
  .v5 .v5-chc-dot { flex:0 0 8px; width:8px; height:8px; border-radius:50%; background:var(--v5-text3); }
  .v5 .v5-chc-dot--owed { background:var(--v5-gold); }
  .v5 .v5-chc-row { display:flex; align-items:center; gap:14px; padding:13px 22px; border-top:1px solid var(--v5-line-dim); }
  .v5 .v5-chc-row--owed { background:rgba(var(--v5-gold-rgb), .06); }
  .v5 .v5-chc-row--tr { background:var(--v5-tr-bg); }
  .v5 .v5-chc-ic { flex:0 0 36px; width:36px; height:36px; border-radius:var(--v5-r-tile); display:flex; align-items:center; justify-content:center; }
  .v5 .v5-chc-ic--quiet { background:var(--v5-chip); color:var(--v5-text3); }
  .v5 .v5-chc-t { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:2px; }
  .v5 .v5-chc-n { font-size:15px; font-weight:600; color:var(--v5-text); overflow-wrap:anywhere; }
  .v5 .v5-chc-s { font-size:13px; color:var(--v5-text3); overflow-wrap:anywhere; }
  .v5 .v5-chc-new { margin-left:8px; vertical-align:2px; }
  .v5 .v5-chc-quiet { flex:0 0 auto; font-size:13px; color:var(--v5-text3); }
  .v5 .v5-chc-go { flex:0 0 auto; min-height:36px; padding:7px 14px; border-radius:var(--v5-r-tile); font-family:var(--v5-font); font-size:13.5px; font-weight:600; cursor:pointer; border:1px solid transparent; }
  .v5 .v5-chc-go--owed { background:var(--v5-gold); color:var(--v5-on-gold); }
  .v5 .v5-chc-go--tr { background:transparent; color:var(--v5-tr-violet); border-color:var(--v5-tr-line); }
  .v5 .v5-chc-more { display:block; width:100%; text-align:left; padding:13px 22px; border:0; border-top:1px solid var(--v5-line-dim); background:transparent; color:var(--v5-gold); font-family:var(--v5-font); font-size:14px; cursor:pointer; }
  .v5 .v5-chc-tip { margin:10px 8px 4px; padding:10px 12px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-panel2); color:var(--v5-text2); font-size:13px; line-height:1.45; }
  .v5 .v5-chc-tip-ok { display:block; margin-top:8px; padding:4px 10px; border:0; border-radius:var(--v5-r-tchip); background:var(--v5-text); color:var(--v5-bg); font-family:var(--v5-font); font-size:12.5px; font-weight:600; cursor:pointer; }
  /* ⟦client home tr⟧ the old home's purple transcripts box (mock NCTpZ5sjwazcekJwnzBvCK) */
  .v5 .v5-cht { margin-top:12px; border:1px solid var(--v5-tr-line); border-radius:var(--v5-r-card); background:var(--v5-tr-bg); overflow:hidden; }
  .v5 .v5-cht-line + .v5-cht-line { border-top:1px solid var(--v5-tr-line-soft); }
  .v5 .v5-cht-head { display:flex; align-items:center; gap:16px; padding:18px 20px; }
  .v5 .v5-cht-ic { flex:0 0 40px; width:40px; height:40px; border-radius:var(--v5-r-tile); display:flex; align-items:center; justify-content:center; }
  .v5 .v5-cht-t { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:3px; }
  .v5 .v5-cht-n { font-size:16px; font-weight:700; color:var(--v5-text); overflow-wrap:anywhere; }
  .v5 .v5-cht-new { margin-left:8px; vertical-align:2px; }
  .v5 .v5-cht-s { font-size:13.5px; color:var(--v5-text2); overflow-wrap:anywhere; }
  .v5 .v5-cht-all { flex:0 0 auto; min-height:36px; padding:7px 14px; border-radius:var(--v5-r-tile); border:1px solid var(--v5-tr-line); background:transparent; color:var(--v5-tr-violet); font-family:var(--v5-font); font-size:14px; font-weight:600; cursor:pointer; }
  .v5 .v5-cht-names { display:flex; flex-wrap:wrap; gap:8px; padding:0 20px 18px 76px; }
  .v5 .v5-cht-pill { min-height:32px; padding:6px 12px; border:0; border-radius:var(--v5-r-card); background:rgba(var(--at-transcript-ring-rgb), .16); color:var(--v5-text); font-family:var(--v5-font); font-size:14px; cursor:pointer; }
  .v5 .v5-cht-pill:hover { background:var(--v5-tr-hover); color:var(--v5-tr-violet); }
  .v5 .v5-cl--phone .v5-cht-head { padding:14px 14px; gap:12px; }
  .v5 .v5-cl--phone .v5-cht-names { padding:0 14px 14px 14px; }
  .v5 .v5-rail--collapsed .v5-chc-tip { display:none; }
  .v5 .v5-cl--phone .v5-chc { padding:18px 16px 32px; }
  .v5 .v5-cl--phone .v5-chc-h { font-size:24px; }
  .v5 .v5-cl--phone .v5-chc-row { flex-wrap:wrap; padding:12px 16px; }
  .v5 .v5-cl--phone .v5-chc-top { padding:16px; }
  .v5 .v5-cl--phone .v5-chc-more { padding:13px 16px; min-height:44px; }
  .v5 .v5-cl--phone .v5-chc-go { min-height:44px; width:100%; }
  /* ⟦client home cards⟧ END of its rules */
  .v5 .v5-trshelf-chev { flex:0 0 auto; display:inline-flex; color:var(--v5-text3); opacity:.6; }
  .v5 .v5-trshelf-chev svg { display:block; width:14px; height:14px; }
  /* Item 712: the row's download (the prototype's .dlbtn / .dlspace) — quiet, never gold. */
  .v5 .v5-row-dl { flex:0 0 30px; display:inline-flex; align-items:center; justify-content:center; width:30px; height:26px; padding:0; margin:0;
                   border:1px solid transparent; border-radius:var(--v5-r-tile); background:none; color:var(--v5-text2); cursor:pointer;
                   font-family:var(--v5-font); text-transform:none; letter-spacing:normal; }
  .v5 .v5-row-dl:hover { color:var(--v5-text); border-color:var(--v5-chip); }
  .v5 .v5-row-dlspace { flex:0 0 30px; display:inline-block; width:30px; height:26px; }
  /* ⟦item 825⟧ ⤓ on a transcript row / card / the shelf: opens the Download transcript menu in place; never opens the row. The
     same quiet box as the row's own download; on the violet shelf it wears the shelf's line (the mock's outlined 36×32). */
  .v5 .v5-txdl-btn { flex:0 0 30px; display:inline-flex; align-items:center; justify-content:center; width:30px; height:26px; padding:0; margin:0;
                     border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text2); cursor:pointer;
                     font-family:var(--v5-font); text-transform:none; letter-spacing:normal; }
  .v5 .v5-txdl-btn:hover, .v5 .v5-txdl-btn[aria-expanded="true"] { color:var(--v5-text); border-color:var(--v5-text3); }
  .v5 .v5-txdl-btn svg { display:block; }
  .v5 .v5-trshelf .v5-txdl-btn { flex-basis:32px; width:32px; height:26px; margin:-3px 0; border-color:var(--v5-tr-line); }   /* 26px, not the mock's 32, and a -3px margin so the row keeps item 713's 36px */
  .v5 .v5-trshelf .v5-txdl-btn:hover, .v5 .v5-trshelf .v5-txdl-btn[aria-expanded="true"] { border-color:var(--v5-tr-violet); }
  .v5 .v5-txdl-menu { position:fixed; z-index:120; width:300px; max-width:calc(100vw - 16px); box-sizing:border-box; padding:6px;
                   background:var(--v5-menu-bg); border:1px solid var(--v5-menu-line); border-radius:var(--v5-r-card); box-shadow:var(--v5-menu-shadow);
                   font-family:var(--v5-font); text-transform:none; letter-spacing:normal; }
  .v5 .v5-txdl-head { font-size:11px; font-weight:800; letter-spacing:.12em; color:var(--v5-menu-head); padding:8px 14px 4px; }
  .v5 .v5-txdl-item { display:flex; gap:12px; align-items:center; width:100%; margin:0; padding:10px 14px; border:0; border-radius:var(--v5-r-tile); background:none;
                   text-align:left; cursor:pointer; font-family:var(--v5-font); text-transform:none; letter-spacing:normal; }
  .v5 .v5-txdl-item:hover, .v5 .v5-txdl-item:focus-visible { background:var(--v5-menu-hover); outline:none; }
  .v5 .v5-txdl-item[aria-busy="true"] { opacity:.6; cursor:progress; }
  .v5 .v5-txdl-tile { flex:0 0 30px; width:30px; height:30px; border-radius:var(--v5-r-tile); background:var(--v5-menu-tile); display:flex; align-items:center; justify-content:center;
                   font-size:11px; font-weight:800; color:var(--v5-menu-tile-ink); }
  .v5 .v5-txdl-txt { display:flex; flex-direction:column; min-width:0; }
  .v5 .v5-txdl-label { font-size:14.5px; font-weight:700; color:var(--v5-text); }
  .v5 .v5-txdl-sub { font-size:12.5px; color:var(--v5-menu-head); }
  /* ⟦item 863⟧ COPY DOWNLOAD LINK: the transcript menu's look; below 680 the two choices are a bottom sheet over a scrim. The ▾
     on an approved file's Download is small and sits inside the button (the List row keeps its 30px column). */
  .v5 .v5-dl-scrim { position:fixed; inset:0; z-index:119; background:var(--v5-menu-scrim, rgba(0,0,0,.55)); }
  .v5 .v5-txdl-menu.v5-dl-sheet { left:0; right:0; top:auto; bottom:0; width:auto; max-width:none; border-radius:var(--v5-r-card) var(--v5-r-card) 0 0; padding:10px 10px calc(10px + env(safe-area-inset-bottom)); }
  .v5 .v5-dl-caret { font-size:9px; line-height:1; margin-left:1px; opacity:.8; }
  .v5 .v5-row-dl.v5-dl-has-menu { gap:0; }
  /* Item 712: the full transcripts page (the prototype's transcriptsView + navBar). */
  .v5 .v5-trp { display:flex; flex-direction:column; gap:10px; padding-top:26px; }
  .v5 .v5-trp-nav { display:flex; align-items:center; gap:12px; min-height:34px; margin-bottom:6px; }
  .v5 .v5-trp-trail { display:flex; align-items:center; gap:8px; min-width:0; color:var(--v5-text3); }
  .v5 .v5-trp-crumb { border:0; padding:0; background:none; color:var(--v5-text3); cursor:pointer; font-family:var(--v5-font); font-size:13px; font-weight:600; text-transform:none; letter-spacing:normal; }
  .v5 .v5-trp-crumb:hover { color:var(--v5-text); }
  .v5 .v5-trp-here { color:var(--v5-text); font-size:13px; font-weight:600; }
  /* ⟦item 825 #4⟧ the page's head is the standard client banner (MSG-3's): the title's own margins as Messages sets them */
  .v5 .v5-trp-banner { margin-bottom:6px; }
  .v5 .v5-trp-banner .v5-title { margin-top:6px; margin-bottom:0; }
  /* Item 713: the page's list wears the SHELF's surface and rows, so the two read as one thing. */
  /* Item 715 (ruled): the page's rows are the prototype's .tlist / .trow — each its own panel, 8px apart,
     the heading above them. (Its 10px corner is the portal's 8px tile radius, on the scale.) */
  .v5 .v5-trp-list { display:flex; flex-direction:column; gap:8px; }
  .v5 .v5-trp-across { padding:6px 2px; font-size:10px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--v5-muted); }
  .v5 .v5-row.v5-trp-row { border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); cursor:pointer; }
  /* The panel colour on every row EXCEPT an owed one, which keeps .v5-row--owed's own gold tint (the
     one gold rule it already is — no second gold rule here). */
  .v5 .v5-row.v5-trp-row:not(.v5-row--owed) { background:var(--v5-panel2); }
  .v5 .v5-row.v5-trp-row:hover { border-color:var(--v5-chip); }
  .v5 .v5-trp-note { padding:16px; font-size:13px; color:var(--v5-text3); }
  /* Item 713: search by NAME (ruled — no fetch). Every property an element rule could reach is
     declared, since v4 styles inputs by element (item 653). */
  .v5 .v5-trp-search { display:block; box-sizing:border-box; width:100%; max-width:420px; height:36px; margin:0 0 4px; padding:0 12px;
                       border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-panel2); color:var(--v5-text);
                       font-family:var(--v5-font); font-size:13.5px; font-weight:500; text-transform:none; letter-spacing:normal;
                       outline:none; box-shadow:none; -webkit-appearance:none; appearance:none; }
  .v5 .v5-trp-search::placeholder { color:var(--v5-muted); }
  .v5 .v5-trp-search:focus { border-color:var(--v5-tr-line); }
  /* Item 712: "View more" — a real control now (it was the text "+N more"): it opens the transcripts page. */
  /* Item 715: the footer line — "Show N more · Search all transcripts ›", two quiet violet buttons. */
  .v5 .v5-trshelf-foot { display:flex; align-items:center; gap:7px; padding:10px 16px; border-top:1px solid var(--v5-tr-line-soft); }
  .v5 .v5-trshelf-more { display:inline; padding:0; margin:0; border:0; background:none; cursor:pointer;
                         font-family:var(--v5-font); font-size:12px; font-weight:500; color:var(--v5-tr-violet); opacity:.85; text-transform:none; letter-spacing:normal; }
  .v5 .v5-trshelf-more:hover { opacity:1; text-decoration:underline; }
  .v5 .v5-trshelf-dot-sep { font-size:12px; color:var(--v5-tr-violet); opacity:.5; }

  /* ── rows (item 657 #3, #4; item 665) ──────────────────────────────────────────────────────
     tile | name | status column | action | chevron.
     ⚠️ ITEM 665 — ROWS AT REST HAVE NO BACKGROUND; THE .028 OVERLAY IS A HOVER STATE. The
     prototype's .row is `background:none` and only `.row:hover` carries rgba(255,255,255,.028).
     Item 657 #9 read that overlay as a resting BAND and put it on every row, which lifted the
     whole card body one shade above the prototype's near-black — the misreading behind "the live
     card is a lighter grey". Now the card's own surface (panel3, the prototype's .group) shows
     through a resting row; hover applies --v5-band; an OWED row keeps its gold tint at .04 and,
     as in the prototype (`.row.owed` declared after `.row:hover`), keeps it under hover too. The
     owed card border stays gold at .30. checks/v5-card-surface-live.mjs samples the rendered
     pixels of a resting row, a hovered row and the head against the prototype's own. */
  .v5 .v5-row { display:flex; align-items:center; gap:16px; padding:13px 18px; background:none; border-top:1px solid var(--v5-line-soft); }
  .v5 .v5-row:hover { background:var(--v5-band); }
  .v5 .v5-row:first-child { border-top:0; }
  .v5 .v5-row--owed { background:rgba(var(--v5-gold-rgb), .04); }
  /* ⚠️ ITEM 657 #5 — the tile: rounded square (8px), the palette's dark tint as fill, NO ring
     border (the softer read). The glyph and its size are untouched. A violet-family type takes a
     NEUTRAL tile (renderer, v5WashAllowed) — item 655/656's rule reaching the tile. */
  .v5 .v5-tile { flex:0 0 40px; width:40px; height:40px; border-radius:var(--v5-r-tile); border:0;
                 display:flex; align-items:center; justify-content:center; }
  .v5 .v5-row-main { flex:1 1 auto; min-width:0; }
  /* Item 666: the asset's TYPE as a small muted word under the name (the prototype's .rname .where
     slot). Muted ink, no colour; 12px so name + word (≈18 + 2 + 14) stays inside the 40px tile that
     sets the row's height — labelled and unlabelled rows measure the same (v5-cards-live). */
  /* Item 668 (3): the prototype's .vchip — the release round beside the asset's name. */
  .v5 .v5-rchip { display:inline-block; margin-left:8px; padding:3px 7px; border-radius:var(--v5-r-chip); background:var(--v5-chip); color:var(--v5-text3);
                  font-size:11px; font-weight:700; line-height:1; vertical-align:middle; }
  .v5 .v5-row-sub { font-size:12px; line-height:1.2; color:var(--v5-text3); margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  /* ⚠️ ITEM 666 — THE STICKY PROJECT BAR (spec §6, the prototype's .stickybar). A ZERO-HEIGHT sticky
     wrapper holds the bar ABSOLUTELY, so showing it costs no flow space — no layout jump, ever (the
     prototype's bar toggles display and does shift the list by its height). It sticks to the top of
     the nearest scroll container (.portal-content — inside .portal-main, which is row 2 of the
     preview grid, so the bar can never sit under item 658's preview banner). Tint by the page-tone
     rgb token at .88 (the prototype's color-mix 88%) — that IS the solid fallback; browsers with
     backdrop-filter add the blur on top. No @supports: the flat rule matchers the v5 guards use do
     not descend into at-rules. */
  .v5 .v5-sticky { position:sticky; top:0; height:0; z-index:20; }
  .v5 .v5-sticky-bar { position:absolute; left:0; right:0; top:0; display:none; align-items:center; gap:12px; padding:6px 16px;
                       border-bottom:1px solid var(--v5-line-soft); background:rgba(var(--v5-bg-rgb), .88);
                       -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
  .v5 .v5-sticky--on .v5-sticky-bar { display:flex; }
  .v5 .v5-sticky-name { flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-family:var(--v5-font); font-size:15px; font-weight:700; color:var(--v5-text); }
  /* "N waiting" wears the owed chip (.v5-chip, gold) only when N > 0; at zero it is the neutral chip. */
  .v5 .v5-chip--none { background:var(--v5-chip); color:var(--v5-text3); }
  /* Item 703: a count that could not be loaded — neutral, never gold, no number. */
  .v5 .v5-chip--unknown { font-weight:700; }
  .v5 .v5-sticky-bar .v5-view-toggle { position:static; margin-left:auto; }
  .v5 .v5-row-name { font-size:15px; font-weight:600; color:var(--v5-text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  /* The status COLUMN: fixed width so every row's state aligns; two lines kept. */
  .v5 .v5-row-status { flex:0 0 170px; width:170px; min-width:0; }
  .v5 .v5-row-l1 { font-size:13px; font-weight:600; color:var(--v5-text3); }
  .v5 .v5-row-l2 { font-size:11px; color:var(--v5-muted); margin-top:3px; }
  /* ⚠️ ITEM 659 B1 — THE OWED STATUS LINE IS NOT GOLD. It read "Waiting on you" in gold; the owed
     row already carries the tint, the card its gold border, the head its gold chip and the row its
     gold Approve, so the line was a fifth gold thing saying the same fact. It is now the SAME ink
     every other status line uses — .v5-row-l1's --v5-text3 — and keeps only the weight. This
     removed one entry from item 657's gold census (v5-polish.mjs §G), deliberately. */
  .v5 .v5-row--owed .v5-row-l1 { font-weight:700; }
  .v5 .v5-row--revising .v5-row-l1 { color:var(--client-revising); }
  /* ⚠️ ITEM 660 #1 — AN APPROVED ROW WAS GREEN TWICE: "Approved Sep 15" in green AND a green
     APPROVED badge. Item 659 B1's reasoning for gold applies to green: the BADGE carries the
     colour (with the prototype's leading ✓, v5ActionHtml), the status text is the status ink.
     The former `.v5 .v5-row--done .v5-row-l1 { color:var(--v5-green) }` rule is deleted, not
     overridden. */
  /* ⚠️ ITEM 657 #2/#10 — THE OWED ACTION: SOLID gold, dark text, a FIXED 84×26 box with the tile
     radius, so every action aligns down the card. Disabled (this build) is the SAME solid box at
     .45 opacity with a not-allowed cursor — dimmed, never an outline, so it cannot be mistaken for
     the outline the spec never had. "Add notes" at 11.5px/700 measures ~62px: it fits. */
  .v5 .v5-act { flex:0 0 84px; display:inline-flex; align-items:center; justify-content:center; width:84px; height:26px; padding:0;
                font-family:var(--v5-font); font-size:11.5px; font-weight:700; letter-spacing:0; text-transform:none; white-space:nowrap;
                border:0; border-radius:var(--v5-r-tile); color:var(--v5-on-gold); background:var(--v5-gold); }
  /* ⚠️ ITEM 659 B2 — .75, NOT .45. At .45 the gold composited over the card panel (#17171b) to
     rgb(126,92,41): the same 36° hue, but lightness 33% — which is what "brown" is, a dark orange.
     At .75 it composites to rgb(194,138,51), lightness 48%, still the gold hue, still visibly
     dimmer than the live box. The rule: dimmed enough to read as unavailable, bright enough that
     the hue still reads as gold — v5-polish.mjs §2 computes the composite from the real tokens and
     pins its lightness, not just the number. cursor:not-allowed kept. */
  .v5 .v5-act[disabled] { opacity:.75; cursor:not-allowed; }
  /* Item 708: the owed button is LIVE (it opens the item through the card's own dispatch). The
     disabled rule above now has one reader, the Completed archive's Download all (item 654). */
  .v5 .v5-act:not([disabled]) { cursor:pointer; }
  /* ⟦item 911⟧ TEAM-63: the team pages' "Open" — white outline, never gold (gold is only what reaches the client); the In team review
     heading and its cards' edge in team blue; "hidden from the client" blue, a past approve-by red. Team-only markup (.v5-tov-*). */
  .v5 .v5-act.v5-act--open { width:auto; flex:0 0 auto; padding:0 14px; height:30px; font-size:12.5px; color:var(--v5-text); background:transparent; border:1px solid var(--v5-text2); }
  .v5 .v5-act.v5-act--open:hover { border-color:var(--v5-text); }
  .v5 .v5-lto.v5-lto--team { color:var(--v5-team-ink); }
  .v5 .v5-lto.v5-lto--client { color:var(--v5-gold); }   /* ⟦item 915⟧ the overview's With the client heading gold (team only) */
  .v5 .v5-tov-team + .v5-lto { margin-top:40px; }
  .v5 .v5-pcard.v5-tov-card--team { border-color:var(--v5-team-ink); }
  .v5 .v5-tov-card .v5-lc-title .v5-tlab { vertical-align:2px; }
  .v5 .v5-tov-hid { color:var(--v5-team-ink); }
  .v5 .v5-tov-late { color:var(--v5-bad); }
  /* Non-owed marks keep their recipe (item 657's brief) — only the BOX is fixed to the action's
     84×26 and tile radius, so the column aligns whether a row is owed or not. */
  /* ⚠️ ITEM 737 (§21) — THE BOX IS THE PROTOTYPE'S (84×26, the column's width); THE LOOK IS THE FAMILY'S: a filled tint,
     no border, 6px corners, the page's font at 11 / 700 / .06em uppercase. The base IS the REFERENCE look (grey tint,
     muted ink); the three modifiers change only the tint and the ink. */
  .v5 .v5-mark { flex:0 0 84px; display:inline-flex; align-items:center; justify-content:center; gap:5px; width:84px; height:26px; padding:0 6px;
                 font-family:var(--v5-font); font-size:11px; letter-spacing:.06em; font-weight:700; text-transform:uppercase; white-space:nowrap;
                 color:var(--v5-text3); border:0; border-radius:var(--v5-r-status); background:var(--v5-ref-tint); }
  .v5 .v5-mark--done { color:var(--v5-green); background:var(--v5-done-tint); }
  /* ⟦item 857⟧ THE TEAM'S STAGE LABEL (team v5 deliverable page only; nothing renders it for a client): item 737's shape — the
     family's 11px / 700 / .06em capitals in a status-radius box — with the brief's treatments. Team only: NEEDS CONTENT grey
     DASHED outline, IN PROGRESS mauve outline, TEAM REVIEW purple #b08cf5 tint, SOURCE grey tint.
     Client sees: CLIENT REVIEW orange tint, CHANGES REQUESTED red tint, APPROVED green outline, FINAL solid green, CLOSED grey outline. */
  /* ⟦item 876⟧ the CLIENT column (left, the client status column's room) and the Stage cell (right) side by side */
  .v5 .v5-tcols { flex:0 0 270px; width:270px; min-width:0; display:flex; flex-direction:row; align-items:center; gap:12px; }
  .v5 .v5-tcols > .v5-tcl { order:1; flex:0 0 160px; width:160px; min-width:0; }   /* ⟦item 878⟧ TEAM-40: the CLIENT column narrower (160px), its line on two lines */
  .v5 .v5-tcols > .v5-tcl { margin-right:auto; }   /* ⟦item 878⟧ the note control and the ⋯ keep to the right edge, so the ⋯ lines up whether the row shows "+ Note", ✎ or nothing */
  .v5 .v5-tcols > .v5-tnb, .v5 .v5-tcol--strip > .v5-tnb { order:3; }   /* ⟦item 876⟧ CLIENT, then Stage, then the note control — at every width (a phone row included) */
  .v5 .v5-tcols > .v5-trm, .v5 .v5-tcol--strip > .v5-trm { order:4; }   /* ⟦item 877⟧ the row's ⋯ is last, at every width */
  .v5 .v5-tcol--strip { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-top:6px; }
  /* ⟦item 878⟧ TEAM-43 B: the stage line under the name — a small dot and the word in the stage colour, then ▾ (team-only stages) */
  .v5 .v5-tsl { display:flex; margin-top:3px; min-width:0; }
  .v5 .v5-tcol--strip > .v5-tsl { margin-top:0; flex:1 1 100%; }
  .v5 .v5-tsl-b { display:inline-flex; align-items:center; gap:5px; min-width:0; padding:1px 4px 1px 0; border-radius:var(--v5-r-chip); font-family:var(--v5-font); font-size:12px; font-weight:600; line-height:1.3; white-space:nowrap; color:var(--tsl-c); cursor:pointer; }
  .v5 .v5-tsl-b:hover .v5-tsl-w { text-decoration:underline; }
  .v5 .v5-tsl-b:focus-visible { outline:2px solid var(--v5-team-ink); outline-offset:2px; }
  .v5 .v5-tsl-dot { flex:0 0 7px; width:7px; height:7px; border-radius:50%; background:var(--tsl-c); }
  .v5 .v5-tsl-see { font-weight:500; color:var(--v5-ts-team); }
  .v5 .v5-tsl-caret { font-size:10px; color:var(--v5-text3); }
  .v5 .v5-team-dock { margin:16px 0; }   /* ⟦item 883⟧ TEAM-48: the TEAM bar's place, under the header */
  .v5 .v5-tsum-us { color:var(--v5-ts-team); }   /* ⟦item 883⟧ the team's count line: "need us" purple, "late" red */
  .v5 .v5-tsum-late { color:var(--v5-bad); }
  .v5 .v5-tsum-team { color:var(--v5-team-ink); }
  .v5 .v5-tsum-wait { color:var(--v5-gold); }   /* ⟦item 1117⟧ A3: "1 waiting on <client>" (the episode page's header line) */   /* ⟦item 912⟧ "N in team review" */
  .v5 .v5-tsl--needs { --tsl-c:var(--v5-dim); }
  .v5 .v5-tsl--prog { --tsl-c:var(--v5-revise); }
  .v5 .v5-tsl--team { --tsl-c:var(--v5-ts-team); }
  .v5 .v5-tsl--source { --tsl-c:var(--v5-text3); }
  /* ⟦item 876⟧ THE CLIENT COLUMN (TEAM-38): a 22px round symbol + the latest line in small grey. The client's own status column
     (row) and status lines (card) are hidden on the TEAM's rows and cards only — they carry the team columns, a client's never do. */
  .v5 .v5-row:has(> .v5-tcols) > .v5-row-status, .v5 .v5-pcard:has(.v5-tcol--strip) .v5-c7-st { display:none; }
  /* ...and the client's own state mark (WITH US / DONE / COMMENTS SENT): the CLIENT column says it, on the team's rows and cards */
  .v5 .v5-row:has(> .v5-tcols) > .v5-mark, .v5 .v5-pcard:has(.v5-tcol--strip) .v5-mark { display:none; }
  .v5 .v5-pcard:has(.v5-tcol--strip) .v5-c7-foot { justify-content:flex-end; }
  .v5 .v5-tcl { display:inline-flex; align-items:center; gap:8px; min-width:0; max-width:100%; }
  /* ⟦item 878⟧ TEAM-40: the mark fills ~60% of its 22px tile (16px, was 14) with a thicker line (2.6), on stronger tiles (~28%, were
     12–16%) — color-mix of the symbol's own colour, so the light theme follows its own inks */
  .v5 .v5-tcl-sym { position:relative; flex:0 0 22px; width:22px; height:22px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; stroke-width:2.6; }
  .v5 .v5-tcl-sym svg { stroke-width:inherit; }
  .v5 .v5-tcl-txt { display:flex; flex-direction:column; min-width:0; line-height:1.3; }
  .v5 .v5-tcl-line { font-size:12px; color:var(--v5-text3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; }
  .v5 .v5-tcl-who { font-size:11px; color:var(--v5-dim); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; }
  .v5 .v5-tcl--wait .v5-tcl-sym { color:var(--v5-urgent); background:color-mix(in srgb, var(--v5-urgent) 28%, transparent); }
  .v5 .v5-tcl--late .v5-tcl-sym { color:var(--v5-bad); background:color-mix(in srgb, var(--v5-bad) 28%, transparent); }
  .v5 .v5-tcl--changes .v5-tcl-sym { color:var(--v5-bad); background:color-mix(in srgb, var(--v5-bad) 28%, transparent); }
  .v5 .v5-tcl-n { position:absolute; top:-5px; right:-7px; min-width:15px; height:15px; padding:0 4px; box-sizing:border-box; border-radius:var(--v5-r-tile); background:var(--v5-bad); color:var(--v5-tcl-badge-ink); font-size:10px; font-weight:700; line-height:15px; text-align:center; }
  .v5 .v5-tcl--turn .v5-tcl-sym { color:var(--v5-tcl-turn); background:var(--v5-tcl-turn-tile); stroke-width:2.8; }
  .v5 .v5-tcl--done .v5-tcl-sym { color:var(--v5-green); background:color-mix(in srgb, var(--v5-green) 28%, transparent); }
  .v5 .v5-tcl--ref .v5-tcl-sym { color:var(--v5-text3); background:color-mix(in srgb, var(--v5-text3) 28%, transparent); }
  .v5 .v5-tcl--closed .v5-tcl-sym { color:var(--v5-dim); background:color-mix(in srgb, var(--v5-dim) 28%, transparent); }
  /* ⟦item 883⟧ TEAM-52b: THE TEAM's ROW — the status and the ⋯ at the right, the whole row the click; the status ONE line: the round
     symbol, lead words and detail regular in one soft grey, the stage chip a soft fill (no outline, 7px corners, ▾) in its stage colour;
     red only for a late detail. A never-sent item's symbol is a dashed grey circle. */
  .v5 .v5-row.v5-row--team { cursor:pointer; align-items:center; }
  /* ⟦item 884⟧ TEAM-54: the name a fixed column, the status LEFT-ALIGNED right after it (every status starts at the same x), the ⋯ at the end */
  .v5 .v5-row--team > .v5-row-main { flex:0 0 34%; max-width:34%; min-width:0; }
  .v5 .v5-row--team.v5-row--nest > .v5-row-main { flex-basis:calc(34% - 20.4px); max-width:calc(34% - 20.4px); }   /* ⟦item 984⟧ the tree's indent (58px) and the child's 34px icon put its name 34px further in: still the same status x (was 34px / 10.56px) */   /* a nested row is 16px narrower inside: its status still starts at the same x (34% of the full row less the indent) */
  .v5 .v5-tst-col { flex:1 1 0; min-width:0; display:flex; align-items:center; justify-content:space-between; gap:10px; margin-left:0; }
  .v5 .v5-tst-col > .v5-tst { min-width:0; overflow:hidden; }
  /* ⟦item 884⟧ TEAM-54b: the note line under the row — the row wraps, the line takes the full width less the tile and its gap (56px), so it starts
     under the name; the ✎ beside the note's first line */
  .v5 .v5-row--team { flex-wrap:wrap; row-gap:4px; }
  .v5 .v5-tnote-line { flex:1 1 100%; display:flex; align-items:flex-start; gap:8px; min-width:0; margin-left:56px; }
  .v5 .v5-tnote-line > .v5-rnote { flex:1 1 auto; min-width:0; margin-top:0; }
  .v5 .v5-tnote-line > .v5-tnote-slot { margin-top:0; flex:0 0 auto; }
  .v5 .v5-tst { display:inline-flex; align-items:center; gap:8px; min-width:0; }
  .v5 .v5-tst-txt { display:inline-flex; align-items:center; gap:6px; min-width:0; font-family:var(--v5-font); font-size:13px; font-weight:400; line-height:1.3; color:var(--v5-tst-ink); white-space:nowrap; }
  .v5 .v5-tst-lead, .v5 .v5-tst-det { font-weight:400; color:var(--v5-tst-ink); }
  .v5 .v5-tst-det { flex:0 0 auto; }
  .v5 .v5-tst-txt { overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-tst-sep { color:var(--v5-tst-ink); opacity:.55; }
  .v5 .v5-tst--late .v5-tst-det { color:var(--v5-bad); }
  .v5 .v5-tchip { display:inline-flex; align-items:center; gap:4px; padding:2px 8px; border:0; border-radius:var(--v5-r-tchip); font-size:12px; font-weight:500; line-height:1.35; white-space:nowrap; cursor:pointer;
                  color:var(--tchip-c); background:color-mix(in srgb, var(--tchip-c) 18%, transparent); }
  .v5 .v5-tchip:hover { background:color-mix(in srgb, var(--tchip-c) 28%, transparent); }
  .v5 .v5-tchip:focus-visible { outline:2px solid var(--v5-team-ink); outline-offset:2px; }
  .v5 .v5-tchip-caret { font-size:10px; opacity:.8; }
  .v5 .v5-tchip--team { --tchip-c:var(--v5-ts-team); }
  /* ⟦item 884⟧ TEAM-53 · THE SPLIT VIEW: the list (about 40%) and the selected item's panel side by side */
  /* ⟦item 922⟧ TEAM-76 (approved Oct 21): the Split view to the board's sizes — the list ~36% (470 of 1290), 40px tiles, 15.5px names with the
     stage dot and V1R1, the facts line 13px grey; the selected row's bar in its stage's colour (gold only while it waits on the client) */
  .v5 .v5-split { display:grid; grid-template-columns:minmax(0, 36fr) minmax(0, 64fr); align-items:start; }
  .v5 .v5-split-list { border-right:1px solid var(--v5-line-dim); min-width:0; }
  .v5 .v5-srow { --srow-c:var(--v5-dim); display:flex; align-items:flex-start; gap:12px; padding:12px 14px; border-top:1px solid var(--v5-line-soft); cursor:pointer; min-width:0; }
  .v5 .v5-srow--team { --srow-c:var(--v5-ts-team); }
  .v5 .v5-srow--client { --srow-c:var(--v5-gold); }
  .v5 .v5-srow--changes { --srow-c:var(--v5-bad); }
  .v5 .v5-srow--done { --srow-c:var(--v5-green); }
  .v5 .v5-srow:hover { background:color-mix(in srgb, var(--v5-text) 4%, transparent); }
  .v5 .v5-srow--on, .v5 .v5-srow--on:hover { background:color-mix(in srgb, var(--v5-text) 7%, transparent); box-shadow:inset 3px 0 0 var(--srow-c); }
  .v5 .v5-srow--nest { padding-left:30px; }
  .v5 .v5-srow-main { flex:1 1 auto; min-width:0; }
  .v5 .v5-srow-name { display:flex; align-items:center; min-width:0; font-family:var(--v5-font); font-size:15.5px; font-weight:700; color:var(--v5-text); }
  .v5 .v5-srow-nm { min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-sdot { flex:0 0 9px; width:9px; height:9px; margin-right:7px; border-radius:50%; background:var(--srow-c); }
  .v5 .v5-srow-line { margin-top:3px; font-family:var(--v5-font); font-size:13px; font-weight:400; color:var(--v5-text3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-split-panel { min-width:0; padding:16px 20px 20px; }
  .v5 .v5-sp-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
  .v5 .v5-sp-ttl { flex:1 1 auto; min-width:0; display:flex; align-items:center; flex-wrap:wrap; gap:10px 12px; }
  .v5 .v5-sp-name { min-width:0; font-family:var(--v5-font); font-size:24px; font-weight:800; color:var(--v5-text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-sp-ttl .v5-tlab { margin-left:0; font-size:12px; }
  .v5 .v5-sp-nav { flex:0 0 auto; display:inline-flex; align-items:center; gap:8px; font-size:13px; color:var(--v5-text3); }
  .v5 .v5-sp-step { width:30px; height:30px; border:1px solid var(--v5-line-dim); border-radius:var(--v5-r-chip); background:none; color:var(--v5-text2); font-size:16px; line-height:1; cursor:pointer; }
  .v5 .v5-sp-step:hover { color:var(--v5-text); border-color:var(--v5-dim); }
  .v5 .v5-sp-top { display:grid; grid-template-columns:minmax(0, 340px) minmax(0, 1fr); gap:18px; margin-top:14px; align-items:start; }
  .v5 .v5-sp-prev { min-width:0; }
  .v5 .v5-sp-pic .v5-cp { border-radius:var(--v5-r-tile); }
  .v5 .v5-sp-link { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:10px; font-size:13px; color:var(--v5-text3); }
  .v5 .v5-sp-link-go { color:var(--v5-text); text-decoration:none; font-weight:600; }
  .v5 .v5-sp-link-go:hover { text-decoration:underline; }
  .v5 .v5-sp-tx { max-height:192px; overflow:hidden; padding:12px 14px; border:1px solid var(--v5-line-dim); border-radius:var(--v5-r-tile); font-size:13px; line-height:1.5; color:var(--v5-text2); }
  .v5 .v5-sp-tx-l { margin:0 0 6px; }
  .v5 .v5-sp-tx-sp { display:block; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--v5-ts-team); }
  .v5 .v5-sp-tx--wait, .v5 .v5-sp-tx--none, .v5 .v5-sp-none { color:var(--v5-text3); font-size:13px; }
  .v5 .v5-sp-sec { margin-top:16px; }
  .v5 .v5-sp-facts > .v5-sp-sec:first-child { margin-top:0; }
  .v5 .v5-sp-lbl { margin-bottom:6px; font-family:var(--v5-font); font-size:11.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-sp-st { font-family:var(--v5-font); font-size:14.5px; line-height:1.5; color:var(--v5-text); }
  .v5 .v5-sp-st + .v5-sp-st { margin-top:2px; }
  .v5 .v5-sp-dim { color:var(--v5-text3); }
  .v5 .v5-sp-cm { margin-top:6px; padding:8px 10px; border:1px solid var(--v5-line-dim); border-radius:var(--v5-r-tile); background:color-mix(in srgb, var(--v5-text) 3%, transparent); font-size:13.5px; line-height:1.45; color:var(--v5-text2); }
  .v5 .v5-sp-cm-who { font-weight:700; color:var(--v5-text); }
  .v5 .v5-sp-cm-t { margin-top:2px; overflow-wrap:anywhere; }
  .v5 .v5-sp-note { display:flex; align-items:flex-start; gap:8px; }
  .v5 .v5-sp-note-t { flex:1 1 auto; min-width:0; font-size:13px; line-height:1.5; color:var(--v5-text2); white-space:pre-wrap; }
  .v5 .v5-split-panel .v5-sp-note .v5-tnb { visibility:visible; }   /* the panel always shows "+ Note" / ✎ (a row shows it on hover) */
  .v5 .v5-sp-hist { margin:0; padding:0; list-style:none; }
  .v5 .v5-sp-hist li { display:flex; gap:12px; padding:2px 0; font-size:14px; line-height:1.6; color:var(--v5-text2); }
  /* ⟦item 940⟧ a sent version's ⋯ (Edit round…) at the line's end */
  .v5 .v5-sp-hist-more { margin-left:auto; padding:0 6px; border:0; background:none; color:var(--v5-text3); font:inherit; cursor:pointer; border-radius:var(--v5-r-tile); }
  .v5 .v5-sp-hist-more:hover { background:var(--v5-chip); color:var(--v5-text); }
  .v5 .v5-sp-hist-d { flex:0 0 58px; color:var(--v5-text3); }
  .v5 .v5-sp-acts { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:16px; }
  .v5 .v5-sp-btn { height:34px; padding:0 14px; border:1px solid var(--v5-line-dim); border-radius:var(--v5-r-chip); background:none; color:var(--v5-text); font-family:var(--v5-font); font-size:13.5px; font-weight:600; cursor:pointer; }
  .v5 .v5-sp-btn:hover { border-color:var(--v5-dim); }
  .v5 .v5-sp-btn--main { border-color:var(--v5-text2); font-weight:700; }
  .v5 .v5-sp-btn--main:hover { border-color:var(--v5-text); }
  /* ⟦item 941⟧ Part 2: the split view's left list (names only) and right panel (one status line, the player, sections that open and close) */
  .v5 .v5-srow--941 { align-items:center; padding:9px 14px; }
  .v5 .v5-srow--941 .v5-srow-name { font-size:14.5px; }
  .v5 .v5-ssec { padding:14px 14px 6px; }
  .v5 .v5-srow--proc { cursor:default; opacity:.55; }
  .v5 .v5-srow--proc:hover { background:none; }
  .v5 .v5-sp-line { margin-top:8px; color:var(--v5-text2); }
  .v5 .v5-sp-player { margin-top:14px; max-width:560px; }
  .v5 .v5-sp-pic--play { position:relative; }
  .v5 .v5-sp-playbtn { position:absolute; left:50%; top:50%; transform:translate(-50%, -50%); min-width:52px; height:52px; padding:0 14px; border:0; border-radius:var(--v5-r-card); background:color-mix(in srgb, var(--v5-bg) 65%, transparent); color:var(--v5-text); font:inherit; font-size:18px; font-weight:700; cursor:pointer; }
  .v5 .v5-sp-playbtn:hover { background:color-mix(in srgb, var(--v5-bg) 82%, transparent); }
  .v5 .v5-sp-media { display:block; width:100%; max-height:360px; border-radius:var(--v5-r-tile); background:var(--v5-bg); }
  .v5 audio.v5-sp-media { background:none; }
  .v5 .v5-sp-det { margin-top:0; border-top:1px solid var(--v5-line-soft); }
  .v5 .v5-sp-player + .v5-sp-det { margin-top:16px; }
  .v5 .v5-sp-sum { display:flex; align-items:baseline; gap:10px; padding:10px 0; cursor:pointer; list-style:none; }
  .v5 .v5-sp-sum::-webkit-details-marker { display:none; }
  .v5 .v5-sp-sum .v5-sp-lbl { flex:0 0 auto; margin:0; }
  .v5 .v5-sp-sumt { flex:1 1 auto; min-width:0; font-size:13px; color:var(--v5-text3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-split-panel .v5-sp-sumt .v5-tnb { visibility:visible; opacity:1; display:inline; margin:0; padding:0 2px; }
  .v5 .v5-ssec.v5-tsec--turn .v5-tsec-l, .v5 .v5-ssec.v5-tsec--turn .v5-tsec-n, .v5 .v5-ssec.v5-tsec--turn .v5-tsec-sep { color:var(--v5-team-ink); }   /* YOUR TURN team blue */
  .v5 .v5-sp-car { flex:0 0 auto; font-size:11px; color:var(--v5-text3); transition:transform .12s ease; }
  .v5 .v5-sp-det:not([open]) .v5-sp-car { transform:rotate(-90deg); }
  .v5 .v5-sp-body { padding:0 0 12px; }
  .v5 .v5-sp-kid { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
  .v5 .v5-sp-kid-pic { width:160px; }
  .v5 .v5-sp-btn--sm { height:28px; padding:0 10px; font-size:12.5px; }
  .v5 .v5-sp-body .v5-sp-btn--sm { margin-top:8px; }
  .v5 .v5-sp-cw--team { color:var(--v5-team-ink); } .v5 .v5-sp-cw--client { color:var(--v5-gold); } .v5 .v5-sp-cw--done { color:var(--v5-green); } .v5 .v5-sp-cw--changes { color:var(--v5-bad); }
  /* ⟦item 941⟧ Part 5: a row still processing — greyed, not a link — and a failed one in coral with Try again (team only) */
  .v5 .v5-row--proc { cursor:default; }
  .v5 .v5-row--proc:not(.v5-row--procfail) > .v5-tile, .v5 .v5-row--proc:not(.v5-row--procfail) .v5-row-name { opacity:.55; }
  .v5 .v5-row--proc:hover { background:none; }
  .v5 .v5-proc-line { margin-top:2px; }
  .v5 .v5-proc { font-family:var(--v5-font); font-size:13px; font-weight:400; color:var(--v5-text3); }
  .v5 .v5-proc-s { color:var(--v5-text3); opacity:.85; }
  .v5 .v5-proc--fail { color:var(--v5-bad); }
  .v5 .v5-proc-retry { padding:0; border:0; background:none; color:var(--v5-bad); font:inherit; font-weight:700; text-decoration:underline; cursor:pointer; }
  /* ⟦item 884⟧ TEAM-54: the team's list is neutral — no gold card border, no warm tint on rows with the client (gold is what reaches the client); the red
     changes-requested and purple team-review edges stay. Scoped to markup only the team's page draws (.v5-tsec sections, .v5-row--team rows). */
  .v5 .v5-card--owed:has(.v5-tsec) { border-color:var(--v5-line-dim); }
  .v5 .v5-row.v5-row--team.v5-row--owed:not([class*="--tint-"]) { background:none; }
  .v5 .v5-tchip--prog { --tchip-c:var(--v5-ts-team); }   /* ⟦item 909⟧ team-only stages are blue */
  .v5 .v5-tchip--needs { --tchip-c:var(--v5-ts-team); }
  .v5 .v5-tchip--source { --tchip-c:var(--v5-ts-team); }
  .v5 .v5-tcl--none .v5-tcl-sym { color:var(--v5-dim); background:transparent; }
  .v5 .v5-tnest { margin-right:6px; font-weight:400; color:var(--v5-text3); }
  .v5 .v5-tnote-slot { display:flex; margin-top:4px; }
  .v5 .v5-tnote-slot:has(> .v5-tnb:not(.v5-tnb--edit)) { position:relative; height:0; margin:0; }   /* no note yet: "+ Note" takes no height (the name stays centred); on hover it shows under the name, in the row's padding */
  .v5 .v5-tnote-slot > .v5-tnb:not(.v5-tnb--edit) { position:absolute; left:0; top:3px; height:18px; z-index:1; }
  .v5 .v5-tcol--strip:has(> .v5-tst) { flex-wrap:nowrap; align-items:flex-start; }
  .v5 .v5-tcol--strip > .v5-tst { flex:1 1 0; min-width:0; align-items:flex-start; }
  .v5 .v5-tcol--strip .v5-tst-txt { white-space:normal; flex-wrap:wrap; }
  .v5 .v5-tcl-proof { flex:0 0 auto; padding:0 2px; border:0; background:none; font-size:13px; line-height:1; cursor:pointer; }
  .v5 .v5-tcl-proof:focus-visible { outline:2px solid var(--v5-team-ink); outline-offset:2px; }
  /* ⟦item 876 step 4⟧ "+ Note" / ✎ on the team's row (admins) */
  .v5 .v5-tnb { flex:0 0 auto; height:22px; padding:0 7px; border:1px solid var(--v5-line); border-radius:var(--v5-r-chip); background:none; color:var(--v5-text3); font-family:var(--v5-font); font-size:11px; font-weight:600; white-space:nowrap; cursor:pointer; }
  .v5 .v5-tnb:hover { color:var(--v5-text); border-color:var(--v5-dim); }
  .v5 .v5-tnb--edit { padding:0 6px; font-size:12px; }
  /* ⟦item 878⟧ TEAM-40: "+ Note" only while the row (or card) is hovered or holds the focus — ✎ (a note exists) always shows; a phone
     has no hover, so there "+ Note" is not drawn and "Note…" is in the row's ⋯ */
  .v5 .v5-tnb:not(.v5-tnb--edit) { visibility:hidden; }
  .v5 .v5-row:hover .v5-tnb, .v5 .v5-row:focus-within .v5-tnb, .v5 .v5-pcard:hover .v5-tnb, .v5 .v5-pcard:focus-within .v5-tnb { visibility:visible; }
  .v5 .v5-cl--phone .v5-tnb:not(.v5-tnb--edit) { display:none; }
  /* ⟦item 877⟧ RECENTLY DELETED (TEAM-30) — rows: tile · item / where / who · Gone in N days (red on the last day) · Restore · an admin's ⋯ */
  .v5 .v5-rdp { padding:24px 28px 40px; max-width:1000px; box-sizing:border-box; font-family:var(--v5-font); color:var(--v5-text); }
  .v5 .v5-rdp-h1 { margin:0; font-size:22px; font-weight:700; letter-spacing:-.01em; color:var(--v5-text); }
  .v5 .v5-rdp-intro { margin:4px 0 18px; font-size:13px; color:var(--v5-text3); line-height:1.45; }
  .v5 .v5-rdp-note { padding:28px 4px; font-size:14px; color:var(--v5-text2); }
  .v5 .v5-rdp-row { display:flex; align-items:center; gap:14px; padding:12px 4px; border-bottom:1px solid var(--v5-line); }
  .v5 .v5-rdp-main { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:2px; }
  .v5 .v5-rdp-name { font-size:14px; font-weight:600; color:var(--v5-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-rdp-sub { font-size:12px; color:var(--v5-text3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-rdp-opened { font-size:12px; color:var(--v5-urgent); }
  .v5 .v5-rdp-gone { flex:0 0 auto; font-size:12px; color:var(--v5-text2); white-space:nowrap; }
  .v5 .v5-rdp-gone--last { color:var(--v5-bad); font-weight:700; }
  .v5 .v5-rdp-restore { flex:0 0 auto; height:30px; padding:0 14px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text); font-family:var(--v5-font); font-size:13px; font-weight:600; cursor:pointer; }
  .v5 .v5-rdp-restore:hover:not([disabled]) { border-color:var(--v5-dim); }
  .v5 .v5-rdp-restore[disabled] { opacity:.55; cursor:default; }
  .v5 .v5-rdp-more, .v5 .v5-trm { flex:0 0 auto; width:28px; height:28px; padding:0; border:0; border-radius:var(--v5-r-chip); background:none; color:var(--v5-text3); font-size:16px; line-height:1; cursor:pointer; }
  .v5 .v5-rdp-more:hover, .v5 .v5-trm:hover { color:var(--v5-text); background:var(--v5-panel3); }
  .v5 .v5-rdp-restore:focus-visible, .v5 .v5-rdp-more:focus-visible, .v5 .v5-trm:focus-visible { outline:2px solid var(--v5-team-ink); outline-offset:2px; }
  /* PHONE (below 680, v5RdpPaint sets --phone: the v5 stylesheet has no media queries): the row stacks, Restore stays visible */
  .v5 .v5-rdp--phone { padding:16px 16px 32px; }
  .v5 .v5-rdp--phone .v5-rdp-row { flex-wrap:wrap; row-gap:8px; align-items:flex-start; }
  .v5 .v5-rdp--phone .v5-rdp-main { flex:1 1 calc(100% - 60px); }
  .v5 .v5-rdp--phone .v5-rdp-gone { order:3; flex:1 1 auto; align-self:center; padding-left:54px; }
  .v5 .v5-rdp--phone .v5-rdp-restore { order:4; }
  .v5 .v5-rdp--phone .v5-rdp-more { order:5; }
  .v5 .v5-tnb:focus-visible { outline:2px solid var(--v5-team-ink); outline-offset:2px; }
  /* ⟦item 876⟧ THE TEAM's SECTIONS AND TINTS (TEAM-39): a small grey label with its count; only two tints, each with a left edge */
  .v5 .v5-tsec { display:flex; align-items:baseline; gap:6px; padding:30px 18px 6px; font-family:var(--v5-font); font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-tsec:first-child { padding-top:18px; }   /* ⟦item 984⟧ Part 14 (TEAM-95): inset to the rows' icons (the row's 18px), ~14px more room above (was 16px 4px / 4px) */
  .v5 .v5-tsec-n { font-weight:600; color:var(--v5-dim); }
  .v5 .v5-cards > .v5-tsec { grid-column:1 / -1; }
  /* ⟦item 879 step 5⟧ the team's dashed "+ Add asset" tile at the end of the Cards view */
  .v5 .v5-add-tile { 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:var(--v5-r-card); background:none; color:var(--v5-text3); font-family:var(--v5-font); font-size:14px; font-weight:600; cursor:pointer; }
  .v5 .v5-add-tile:hover { color:var(--v5-text); border-color:var(--v5-dim); }
  .v5 .v5-add-tile:focus-visible { outline:2px solid var(--v5-team-ink); outline-offset:2px; }
  .v5 .v5-add-tile-plus { font-size:24px; line-height:1; }
  .v5 .v5-row--tint-changes { background:transparent; box-shadow:inset 3px 0 0 var(--v5-bad); }   /* ⟦item 1117⟧ A5: the coral left edge and chip stay, the coral row fill is gone */
  .v5 .v5-row--tint-team { background:var(--v5-ts-team-tint); box-shadow:inset 3px 0 0 var(--v5-ts-team); }
  /* ⟦item 909⟧ TEAM-64 — the row's team label, note icon, one marker, the details box (hover / pinned), the chip colours (team blue, client
     gold), the In team review heading in blue. Team-only markup (.v5-tcol, .v5-row--team, .v5-tsec). */
  .v5 .v5-row.v5-row--team { position:relative; }
  .v5 .v5-tlab { flex:0 0 auto; margin-left:8px; padding:1px 6px; border-radius:var(--v5-r-chip); background:var(--v5-chip); color:var(--v5-text3); font-size:11.5px; font-weight:600; line-height:1.4; }
  .v5 .v5-tnote-ic { flex:0 0 auto; margin-left:6px; padding:0 2px; border:0; background:none; font-size:12px; line-height:1; cursor:pointer; opacity:.8; }
  .v5 .v5-tst-col > .v5-tchip { flex:0 0 auto; }
  .v5 .v5-tchip--client { --tchip-c:var(--v5-gold); }
  .v5 .v5-tchip--changes { --tchip-c:var(--v5-bad); }
  .v5 .v5-tchip--done { --tchip-c:var(--v5-green); }
  .v5 .v5-thid { display:inline-flex; align-items:center; flex:none; margin-left:8px; padding:2px 7px; border-radius:var(--v5-r-chip); background:color-mix(in srgb, var(--v5-text3) 18%, transparent); color:var(--v5-text2); font-size:10.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; }   /* ⟦item 929⟧ TEAM-79: the row's grey HIDDEN FROM THE CLIENT tag (the switch Off) */
  .v5 .v5-tchip--closed { --tchip-c:var(--v5-dim); }
  .v5 .v5-tchip--ref { --tchip-c:var(--v5-dim); }
  .v5 .v5-tchip--srcgrey { --tchip-c:var(--v5-dim); }   /* ⟦item 960⟧ transcript footage's Source pill, and Transcribing: grey for source */
  /* ⟦item 960b⟧ the client's caption row: an outlined Download (TEAM-87b: not gold, nothing to approve), never a full-width default button */
  .v5 .v5-cl-capdl { justify-self:end; align-self:center; width:auto; height:32px; padding:0 14px; border-radius:var(--v5-r-tile); border:1px solid var(--v5-line); background:transparent; color:var(--v5-text); font:inherit; font-size:13px; font-weight:600; cursor:pointer; white-space:nowrap; }
  .v5 .v5-cl-capdl:hover { border-color:var(--v5-text3); }
  .rv-cap-dl { height:28px; padding:0 12px; border-radius:7px; border:1px solid currentColor; background:transparent; color:inherit; font:inherit; font-size:12.5px; font-weight:600; cursor:pointer; }
  .v5 .v5-row--footage { opacity:.78; }
  .v5 .v5-tfoot-sub { color:var(--v5-text3); font-weight:400; }   /* ⟦item 923⟧ a reference transcript: grey, with the eye */
  .v5 .v5-tchip-eye { flex:0 0 auto; margin-right:4px; vertical-align:-1px; }
  .v5 .v5-tdet { visibility:hidden; opacity:0; transition:opacity .12s ease, visibility 0s linear .12s; position:absolute; z-index:30; top:calc(100% - 6px); left:56px; max-width:520px; padding:10px 12px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-panel2); color:var(--v5-text2); font-size:12.5px; line-height:1.5; box-shadow:0 8px 24px rgba(0,0,0,.35); cursor:default; }
  .v5 .v5-row--team:hover > .v5-tdet { visibility:visible; opacity:1; transition:opacity .12s ease .4s, visibility 0s linear .4s; }   /* a short wait: passing over the list draws nothing */
  .v5 .v5-row--team.v5-row--det > .v5-tdet { visibility:visible; opacity:1; transition:none; }
  .v5 .v5-tdet-k { color:var(--v5-text3); }
  /* ⟦item 912⟧ the hover box's lines: the stage line in its chip's colour (team blue, client gold, changes red, done green, closed dim) */
  .v5 .v5-tdet-l > div + div { margin-top:2px; }
  .v5 .v5-tdet-br { display:none; }   /* the lines' separator for a reader and for textContent; each fact is its own line on screen */
  .v5 .v5-tof { margin-top:1px; font-size:12.5px; color:var(--v5-text3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }   /* ⟦item 913⟧ "of Full Episode" */
  .v5 .v5-row--team.v5-row--detup > .v5-tdet { top:auto; bottom:calc(100% - 6px); }
  /* ⟦item 914⟧ TEAM-71: the team's project rows — the deliverable small above the name, the facts grey (waiting gold, a past due red) */
  .v5 .v5-tpj-list { padding:0; }
  .v5 .v5-row--tpj { gap:16px; }
  .v5 .v5-tpj-del { font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--v5-text3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-tpj-facts { flex:0 1 300px; min-width:0; font-size:13px; color:var(--v5-text3); }
  .v5 .v5-cl--phone .v5-row--tpj { flex-wrap:wrap; }
  .v5 .v5-cl--phone .v5-tpj-facts { flex:1 1 100%; order:5; }   /* ⟦item 913⟧ opens upward where it would be cut off */
  /* ⟦item 915⟧ TEAM-72: the facts in the deliverable row — grey, between the chip and the ⋯ (the project row's own place since 914); gold
     "not opened" at 7+ days, red a passed approve-by / due; too wide → under the name (v5TeamFactsFit); a phone keeps today's row */
  .v5 .v5-tst-col > .v5-tfacts { flex:1 1 auto; min-width:0; font-size:13px; color:var(--v5-text3); white-space:nowrap; overflow:hidden; }
  .v5 .v5-row--team > .v5-tfacts--down { flex:1 1 100%; min-width:0; margin-left:56px; font-size:13px; color:var(--v5-text3); }
  .v5 .v5-cl--phone .v5-tst-col > .v5-tfacts { display:none; }
  /* ⟦item 926⟧ Part 3 (Jeffrey, Oct 22: at ~1960 the chip ran over its facts — "With the clientSent Oct 19 · opened today", "Comments sent"
     over facts that also wrapped): THE CHIP AND THE FACTS HAVE THEIR OWN COLUMNS AT EVERY WIDTH. The chip's column is never narrower than
     the chip (it cannot shrink or overflow into the next one); the facts take the rest and WRAP inside their own column; the ⋯ last. A
     deliverable row's status cell is a three-column grid (chip · facts · ⋯); a project row keeps the chip in a column the chip's own width
     (at least 150px, so most rows' facts start at one x) and the facts flex beside it. Phones as before (the facts hidden / on their own line). */
  .v5 .v5-row--team:not(.v5-row--tpj) > .v5-tst-col { display:grid; grid-template-columns:minmax(150px, max-content) minmax(0, 1fr) auto; column-gap:12px; align-items:center; justify-content:stretch; }
  .v5 .v5-row--team:not(.v5-row--tpj) > .v5-tst-col > .v5-tchip { grid-column:1; justify-self:start; }
  .v5 .v5-row--team:not(.v5-row--tpj) > .v5-tst-col > .v5-tfacts { grid-column:2; white-space:normal; overflow:visible; overflow-wrap:anywhere; line-height:1.4; }
  .v5 .v5-row--team:not(.v5-row--tpj) > .v5-tst-col > .v5-trm { grid-column:3; }
  .v5 .v5-cl--phone .v5-row--team:not(.v5-row--tpj) > .v5-tst-col { display:flex; }
  .v5 .v5-row--tpj > .v5-tst-col { flex:0 0 auto; min-width:150px; }
  .v5 .v5-row--tpj > .v5-tpj-facts { flex:1 1 0; white-space:normal; overflow-wrap:anywhere; line-height:1.4; }
  .v5 .v5-tf-gold { color:var(--v5-gold); }
  .v5 .v5-tf-late { color:var(--v5-bad); }
  .v5 .v5-tdet-none { color:var(--v5-text3); font-style:italic; }
  .v5 .v5-tdet .v5-tnb { display:inline; margin:0; padding:0 2px; }
  .v5 .v5-tsec--team .v5-tsec-l { color:var(--v5-team-ink); }
  .v5 .v5-tsec-sep { color:var(--v5-dim); }
  .v5 .v5-tsec-last { font-weight:600; color:var(--v5-dim); }
  .v5 .v5-tsec--team .v5-tsec-n { color:var(--v5-team-ink); }
  .v5 .v5-tsec--team .v5-tsec-sep { color:var(--v5-team-ink); }
  .v5 .v5-tsec--needs .v5-tsec-l { color:var(--v5-team-ink); }   /* ⟦item 925⟧ TEAM-78: Needs us is team blue */
  .v5 .v5-tsec--needs .v5-tsec-n { color:var(--v5-team-ink); }
  .v5 .v5-tsec--needs .v5-tsec-sep { color:var(--v5-team-ink); }
  .v5 .v5-tsec--client .v5-tsec-l { color:var(--v5-gold); }
  .v5 .v5-tdneeds { margin-bottom:12px; }   /* ⟦item 1106⟧ the deliverable page's Needs you lines (the blue count's cards with no row) */
  .v5 .v5-tdneed { display:flex; align-items:center; gap:10px; padding:8px 18px; border-top:1px solid var(--v5-line); font-size:14px; }   /* ⟦item 1107⟧ 5: 18px, the "Needs you" label's own inset (was 4px: 14px to its left) */
  .v5 .v5-tdneed-t { flex:1 1 auto; min-width:0; color:var(--v5-text); overflow-wrap:anywhere; }
  .v5 .v5-tdneed.v5-tdneed { flex-wrap:wrap; row-gap:6px; } .v5 .v5-tdneed .v5-tdneed-t { flex:1 1 260px; overflow-wrap:normal; }   /* ⟦item 1117⟧ the words need 260px: on a phone the two buttons wrap under them (1117's longer words wrapped a letter a line at 390); one line on a desktop. No media query: the v5 sheet holds none (v5-polish) */
  /* ⟦item 1166⟧ selection mode's boxes: absolutely placed in the row's left padding (the desktop flex row and the phone grid row untouched) */
  .v5 .v5-row.v5-row--team.v5-row--bsel { padding-left:50px; cursor:pointer; }
  .v5 .v5-row--team > .v5-tba-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:transparent; }
  .v5 .v5-row--team > .v5-tba-cb.v5-tba-cb--on { background:var(--v5-tstrip-on); border-color:var(--v5-tstrip-on); }
  .v5 .v5-row--team > .v5-tba-cb.v5-tba-cb--none { visibility:hidden; }
  .v5 .v5-row.v5-row--team.v5-row--bsel-on { background:color-mix(in srgb, var(--v5-team-ink) 9%, transparent); }
  .v5 body.v5-tba-on .v5-page { padding-bottom:96px; }   /* the bottom bar never covers the last row */
  .v5 .v5-cl--phone .v5-row.v5-row--team.v5-row--bsel { padding-left:44px; }   /* a phone: the v5 phone class (this sheet takes no media query) */
  .v5 .v5-cl--phone .v5-row--team > .v5-tba-cb { left:12px; }
  .v5 .v5-tdneed-go, .v5 .v5-tdneed-done { flex:0 0 auto; height:30px; padding:0 12px; border-radius:var(--v5-r-tile); font:inherit; font-size:13px; cursor:pointer; white-space:nowrap; }
  .v5 .v5-tdneed-go { border:1px solid var(--v5-team-line); background:transparent; color:var(--v5-team-ink); font-weight:600; }
  .v5 .v5-tdneed-done { border:1px solid var(--v5-line); background:transparent; color:var(--v5-text); }   /* ⟦item 915⟧ WITH THE CLIENT · N gold, as IN TEAM REVIEW is blue; "· last sent" stays grey */
  .v5 .v5-tsec--client .v5-tsec-n { color:var(--v5-gold); }
  .v5 .v5-tsec--client .v5-tsec-l + .v5-tsec-sep { color:var(--v5-gold); }
  /* ⟦item 916⟧ TEAM-74: YOUR TURN SHADED — In team review in its own faint blue box (the TEAM bar's tint and line), the other groups in one
     plain card; the outer card goes quiet around them; inside the blue box a row needs no tint of its own. The overview's group too. */
  .v5 .v5-card:has(> .v5-card-body > .v5-tgrp) { border-color:transparent; background:transparent; overflow:visible; }
  .v5 .v5-card:has(> .v5-card-body > .v5-tgrp) > .v5-card-body { border-top:0; }
  .v5 .v5-card.v5-tpj-list:has(> .v5-tgrp) { border-color:transparent; background:transparent; overflow:visible; }
  .v5 .v5-tgrp { border:1px solid var(--v5-line-dim); border-radius:var(--v5-r-card); background:var(--v5-panel3); }
  .v5 .v5-tgrp + .v5-tgrp { margin-top:14px; }
  .v5 .v5-tgrp.v5-tgrp--team { border-color:var(--v5-team-line); background:var(--v5-team-bg); }
  .v5 .v5-tgrp.v5-tgrp--client { border-color:var(--v5-line-gold); }   /* ⟦item 941⟧ Part 1: islands — With the client a gold outline, Done a green one (no fill) */
  .v5 .v5-tgrp.v5-tgrp--done { border-color:color-mix(in srgb, var(--v5-green) 34%, transparent); }
  .v5 .v5-tsec--done .v5-tsec-l, .v5 .v5-tsec--done .v5-tsec-n, .v5 .v5-tsec--done .v5-tsec-l + .v5-tsec-sep { color:var(--v5-green); }
  .v5 .v5-tgrp.v5-tgrp--us { border-color:var(--v5-team-line); }   /* ⟦item 1117⟧ A1: WITH THE TEAM a team-blue outline (no fill), as With the client gold and Done green */
  .v5 .v5-tsec--us .v5-tsec-l, .v5 .v5-tsec--us .v5-tsec-n, .v5 .v5-tsec--us .v5-tsec-l + .v5-tsec-sep { color:var(--v5-team-ink); }   /* ⟦item 1117⟧ A1: its label team blue */   /* ⟦item 941⟧ DONE green, as IN TEAM REVIEW is blue and WITH THE CLIENT gold */
  .v5 .v5-tgrp--team .v5-row--tint-team { background:transparent; box-shadow:none; }
  .v5 .v5-tsec-turn { margin-left:6px; font-weight:600; letter-spacing:0; text-transform:none; color:var(--v5-text3); }
  .v5 .v5-tgrp.v5-tov-grp { margin-top:24px; padding:2px 16px 16px; }   /* ⟦item 959⟧ 6: was 80px, a big empty gap under the TEAM bar */
  /* ⟦item 959⟧ 1 — FOR YOU (editors): the overview's empty line, the line under the headline, the team blue Review; the home's cards */
  .v5 .v5-tfy-empty { margin:2px 0 4px; font-size:14px; line-height:1.5; color:var(--v5-text2); }
  .v5 .v5-tfy-sub { font-size:15px; font-weight:600; color:var(--v5-text); }
  .v5 .v5-act.v5-act--fy { background:var(--v5-ts-team); border-color:var(--v5-ts-team); color:var(--v5-bg); }
  .v5 .v5-th-sec { margin:22px 0 10px; font-size:11.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-team-ink); }
  .v5 .v5-th-fy .v5-th-sec--fy { margin-top:6px; }
  .v5 .v5-tfy-card { max-width:520px; margin:0 0 10px; padding:12px 14px; border:1px solid var(--v5-team-line); border-radius:var(--v5-r-card); background:var(--v5-team-bg); }
  .v5 .v5-tfy-kick { font-size:10.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-team-ink); }
  .v5 .v5-tfy-name { margin:3px 0 2px; font-size:15px; font-weight:800; color:var(--v5-text); }
  .v5 .v5-tfy-place { font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-tfy-req { margin:8px 0 2px; padding:7px 9px; border-radius:var(--v5-r-chip); background:var(--v5-panel3); font-size:13px; line-height:1.45; color:var(--v5-text2); }
  .v5 .v5-tfy-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:8px; font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-tfy-go { flex:none; height:30px; padding:0 14px; border-radius:var(--v5-r-chip); 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; }
  .v5 .v5-tov-grp > .v5-lto { margin:14px 0 12px; }
  .v5 .v5-tov-grp + .v5-lto { margin-top:40px; }
  .v5 .v5-pcard--tint-changes { box-shadow:inset 3px 0 0 var(--v5-bad); }
  .v5 .v5-pcard--tint-team { box-shadow:inset 3px 0 0 var(--v5-ts-team); }
  /* ⟦item 876 step 3⟧ a transcript under its recording: "↳ TRANSCRIPT", the row stepped in a little, the same columns */
  .v5 .v5-row--nest { padding-left:58px; border-top-style:dashed; }   /* ⟦item 984⟧ TEAM-96 C: room for the tree line (was 34px) */
  /* ⟦item 984⟧ TEAM-96 option C — THE TREE LINE: a thin light-grey line (2px, --v5-tree) runs down from under the video's icon and
     branches right to each of its files; the last file's branch ends it. The files' icons are a little smaller (34px vs the video's 40,
     TEAM-96's 44 vs 52). Team and client lists alike; a phone keeps the line closer to the edge (--v5-tree-x). */
  .v5 .v5-row--haskids, .v5 .v5-row--kid { position:relative; }
  .v5 .v5-row--haskids::after { content:""; position:absolute; left:calc(var(--v5-tree-x, 38px) - 1px); top:calc(50% + 20px); bottom:-1px; width:2px; background:var(--v5-tree); pointer-events:none; }
  .v5 .v5-row--kid::before { content:""; position:absolute; left:calc(var(--v5-tree-x, 38px) - 1px); top:-1px; bottom:0; width:2px; background:var(--v5-tree); pointer-events:none; }
  .v5 .v5-row--kid.v5-row--kid-last::before { bottom:calc(50% - 1px); }
  .v5 .v5-row--kid::after { content:""; position:absolute; left:calc(var(--v5-tree-x, 38px) - 1px); top:calc(50% - 1px); width:calc(58px - var(--v5-tree-x, 38px) - 4px); height:2px; background:var(--v5-tree); pointer-events:none; }
  .v5 .v5-row--kid > .v5-tile { flex-basis:34px; width:34px; height:34px; }
  .v5 .v5-tkind { margin-top:1px; font-size:12.5px; color:var(--v5-text3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }   /* ⟦item 984⟧ Part 15: the type under every name */
  .v5 .v5-tstill { margin-top:2px; font-size:12.5px; font-weight:400; color:var(--v5-text3); }   /* ⟦item 1117⟧ A4: muted grey, a small gold dot before it (was gold text) */
  .v5 .v5-tstill::before { content:""; display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--v5-gold); margin-right:6px; vertical-align:1px; }   /* ⟦item 984⟧ Part 12: "Still open: …" */
  .v5 .v5-kick-nest { margin-right:5px; color:var(--v5-text3); font-weight:700; }
  /* ⟦item 857b⟧ A ROW WITH NOTHING TO OPEN (Needs content: no version) has no chevron, so on a desktop its columns sat 46px off
     (the chevron's 30px + the row's 16px gap). A team row only — `:has(> .v5-tcols)` — gets a 30px trailing spacer in its place;
     no client row carries the team columns, so a client's rows match none of these rules. */
  .v5 .v5-row:has(> .v5-tcols):not(:has(> .v5-chev))::after { content:''; flex:0 0 30px; width:30px; }
  /* ⟦item 857b⟧ PHONE (TEAM-23): the name keeps the row's full width; UNDER it, Client opened as a small line on the left and the
     Stage chip on the RIGHT; then the client's own status and action one line lower. "—" (not with the client) is noise on a
     phone and is not drawn there (the chip then stands alone on the right). */
  .v5 .v5-cl--phone .v5-row:has(> .v5-tcols)::after { display:none; }
  .v5 .v5-cl--phone .v5-row > .v5-tcols { grid-column:2 / -1; grid-row:2; width:auto; min-width:0; flex-direction:row; align-items:center; justify-content:space-between; gap:8px; }
  .v5 .v5-cl--phone .v5-row:has(> .v5-tcols) > .v5-row-status,
  .v5 .v5-cl--phone .v5-row:has(> .v5-tcols) > .v5-act, .v5 .v5-cl--phone .v5-row:has(> .v5-tcols) > .v5-mark,
  .v5 .v5-cl--phone .v5-row:has(> .v5-tcols) > .v5-row-dl, .v5 .v5-cl--phone .v5-row:has(> .v5-tcols) > .v5-txdl-btn { grid-row:3; }
  /* ⟦item 876⟧ PHONE: the CLIENT line takes its own full line under the name; the Stage chip and the note control sit on the right below */
  .v5 .v5-cl--phone .v5-row > .v5-tcols { flex-wrap:wrap; row-gap:6px; }
  .v5 .v5-cl--phone .v5-tcols > .v5-tcl { order:1; flex:1 1 0; min-width:0; }   /* ⟦item 878⟧ the ✎ and the ⋯ share the CLIENT line, on its right (the Stage chip that held that line is gone) */
  .v5 .v5-cl--phone .v5-tcl-line { font-size:11px; }
  .v5 .v5-undo-l { margin-left:6px; padding:0; border:0; background:none; font:inherit; font-size:12px; color:var(--v5-text3); text-decoration:underline; cursor:pointer; }   /* ⟦item 804⟧ a row's / card's Undo, beside the date */
  .v5 .v5-undo-l:hover { color:var(--v5-text); }
  .v5 .v5-cl--phone .v5-row-l1.v5-has-undo, .v5 .v5-row-l1.v5-has-undo, .v5 .v5-c7-l1.v5-has-undo { white-space:normal; overflow:visible; text-overflow:clip; }   /* the Undo is never cut off: on a narrow column it wraps under the date */
  .v5 .v5-has-undo .v5-undo-l { white-space:nowrap; }
  /* ⚠️ ITEM 696 — THE BADGE LADDER, FROM THE SEP 23 RULINGS. Four treatments, and only two FILL:
     gold filled = owed (.v5-act, unchanged), green filled = done (above, unchanged). The other
     two are OUTLINES with no fill, so a filled badge always means "someone signed or must sign":
       · WITH US  → mauve outline + mauve text. Covers with_us AND revising — the team holds it
                    either way. Replaces item 657's neutral outline. Follow-up (ruled, to match the
                    updated prototype's .usbadge): the OUTLINE is the mauve at .45 (--v5-revise-line),
                    the TEXT full-strength --v5-revise.
       · CLOSED   → neutral outline on --v5-line (the prototype's .closedbadge --line #26262c —
                    follow-up; was --v5-chip), no fill. REVERSES item 665/673's filled chip for CLOSED; its
                    own rule still (not --ref reused) for item 673's reason — different facts.
       · REFERENCE→ NO BADGE. The box stays (84×26, the column's width) and is hidden, so a
                    reference row's chevron and status sit exactly where every other row's do.
                    visibility, not display:none — display:none would give the width back.
     The BOX is the prototype's .usbadge/.refbadge (84×26, tile radius); the COLOURS are the rulings,
     which are newer than design/v5/portal-prototype.html (Sep 20: slate-filled WITH US, no CLOSED). */
  /* ⚠️ ITEM 737 (§21, ruled Sep 27) — THE LADDER ABOVE IS SUPERSEDED: every treatment FILLS now, none outlines.
       · WITH US   → the mauve tint behind mauve text (was the .45 mauve outline).
       · CLOSED    → the chip-grey tint behind muted text (was the neutral outline).
       · REFERENCE → a VISIBLE grey "REFERENCE" label — REVERSES item 696's "no badge" (and item 665's empty .refbadge
                     comparison); the box keeps its 84×26 so the column's edge does not move.
     The prototype's own .usbadge / .closedbadge are OUTLINED at 9.5px mono — the ruling overrides the prototype for these
     two (item 657: a cleaner answer over the prototype, reported), recorded in CLAUDE-HISTORY 737. */
  .v5 .v5-mark--withus { color:var(--v5-revise); background:var(--v5-withus-tint); }
  .v5 .v5-mark--closed { color:var(--v5-text3); background:var(--v5-ref-tint); }
  .v5 .v5-mark--ref { color:var(--v5-text3); background:var(--v5-ref-tint); }
  /* Item 660 #1: the prototype's leading ✓ (ICON.check, 12px) on the APPROVED badge. */
  .v5 .v5-mark svg { flex:0 0 auto; width:12px; height:12px; display:block; }
  /* ⚠️ ITEM 660 #4 — THE ROW CHEVRON IS THE PROTOTYPE'S, AT ITS SIZE: a 15px stroke-2.2 chevron in
     the prototype's 30×26 ghost box (.btn-ghost.icon), the same way item 659 B5 did for the card
     head's 13px caret. Was a text "›". v5-cards-live.mjs renders the prototype's own row chevron in
     Chrome and asserts equal boxes. */
  .v5 .v5-chev { flex:0 0 30px; width:30px; height:26px; display:inline-flex; align-items:center; justify-content:center; color:var(--v5-text3); }
  .v5 .v5-chev svg { display:block; width:15px; height:15px; }
  /* ── ⟦item 760⟧ THE CLIENT’s LISTS, CARDS, HOME PAGE AND BANNER (Jeffrey, Sep 30–Oct 1). Every rule below hangs off `.v5-cl`
     (the client’s v5 pages — v5ClMark), `.v5-cl--phone` (the same, below V5_PHONE_MAX) or a class only client markup carries,
     so a team member’s v5 pages are unchanged. ── */
  /* The name split: line 2 is the grey rest of the name (or the episode) — one line ending in "…" on desktop. */
  .v5 .v5-name-l2 { font-size:12.5px; line-height:1.35; color:var(--v5-text3); margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-pcard .v5-name-l2 { margin-top:3px; }
  /* ══ ITEM 766 — THE CLIENT's CARDS VIEW: the card (kicker · title · description · pinned footer) and its 16:9 picture. Every
     colour is a token or the card's own palette pair (--c-ring / --c-fill, written from assetTypeRing / assetTypeFill); the
     designed graphics' lighter tones are color-mix()es of the ring. ══ */
  /* The item 766 card needs room for its footer (status + the 104px action): a third column only where it clears 260px. */
  .v5 .v5-cards:has(> .v5-pcard--c7) { grid-template-columns:repeat(auto-fill, minmax(max(260px, calc((100% - 32px) / 3)), 1fr)); }
  .v5 .v5-cp { position:relative; flex:0 0 auto; height:0; padding-top:56.25%; overflow:hidden; background:var(--c-fill); color:var(--c-ring); --c-line:color-mix(in srgb, var(--c-ring) 45%, transparent); }
  /* ⚠️ ITEM 776 — NOTHING IN THE ARTWORK IS BRIGHTER THAN THE CARD TITLE. Every text-like line (title/description bars, transcript
     and caption lines, a page's lines, the voice line) is --c-line: the type's OWN ring at 45%, the weight of the field outlines.
     Labels (TITLE, SPEAKER 1…) keep the ring. The page stand-ins are no longer white paper: a sheet in the type's colour. */
  .v5 .v5-cp > * { position:absolute; }
  .v5 .v5-cp--art:not(.v5-cp--failed) .v5-cp-fb { visibility:hidden; }
  .v5 .v5-cp-fb { inset:0; display:flex; align-items:center; justify-content:center; background:var(--c-fill); color:var(--c-ring); }
  .v5 .v5-cp-img, .v5 .v5-cp-blur { inset:0; width:100%; height:100%; object-fit:cover; display:block; }
  .v5 .v5-cp-blur { display:none; transform:scale(1.15); filter:blur(14px) brightness(.7); }
  .v5 .v5-cp--tall .v5-cp-blur { display:block; }
  .v5 .v5-cp--tall .v5-cp-img, .v5 .v5-cp-img--contain { object-fit:contain; }
  .v5 .v5-cp-play { left:50%; top:50%; width:46px; height:46px; margin:-23px 0 0 -23px; border-radius:50%; background:var(--v5-cp-scrim); color:var(--v5-cp-ink); display:flex; align-items:center; justify-content:center; }
  .v5 .v5-cp-badge { right:10px; bottom:10px; font-size:12px; font-weight:600; line-height:1.4; color:var(--v5-cp-ink); background:var(--v5-cp-scrim-2); border-radius:var(--v5-r-chip); padding:2px 7px; white-space:nowrap; }
  .v5 .v5-cp-proc { inset:0; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:600; color:var(--v5-rail-dim);
                    background:linear-gradient(90deg, var(--v5-panel2) 30%, var(--v5-chip) 50%, var(--v5-panel2) 70%); background-size:300% 100%; animation:v5shim 1.6s linear infinite; }
  .v5 .v5-cp--refresh::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg, var(--v5-panel2) 30%, var(--v5-chip) 50%, var(--v5-panel2) 70%); background-size:300% 100%; animation:v5shim 1.6s linear infinite; }
  .v5 .v5-cp-g { inset:0; }
  .v5 .v5-act.v5-act--steel { color:var(--v5-tstrip-on-ink); background:var(--v5-tstrip-on); }   /* ⟦item 995⟧ the team's card button: steel, never gold */
  /* ⟦item 995⟧ TEAM-109: a link's picture — the page's stored preview with its website name on it (B); none → A, a calm tint of the link
     type's own colour, the big link icon, the website name. Both fill the card's 16:9 box: never an empty box. */
  .v5 .v5-cp-lk { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; background:color-mix(in srgb, var(--c-ring) 9%, var(--v5-panel2)); }   /* calm: the panel, a breath of the type's colour (the type's own fill read as the old brown box) */
  .v5 .v5-cp-lk-ic { display:flex; color:var(--c-ring); }
  .v5 .v5-cp-lk-site { max-width:86%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; font-weight:600; color:var(--v5-text2); }
  .v5 .v5-cp-img.v5-cp-lk-img { object-fit:cover; object-position:top center; }
  .v5 .v5-cp-lk-tag { left:10px; bottom:10px; max-width:calc(100% - 20px); overflow:hidden; text-overflow:ellipsis; font-size:12px; font-weight:600; line-height:1.4; color:var(--v5-cp-ink); background:var(--v5-cp-scrim-2); border-radius:var(--v5-r-chip); padding:2px 7px; white-space:nowrap; }
  .v5 .v5-cp-tag { position:absolute; z-index:1; left:10px; top:10px; font-size:10.5px; font-weight:700; letter-spacing:.08em; color:var(--c-ring); }
  .v5 .v5-cp-wave { inset:14% 26%; display:flex; align-items:center; justify-content:space-between; }
  .v5 .v5-cp-wave > span { width:6px; border-radius:var(--v5-r-chip); background:color-mix(in srgb, var(--c-ring) 60%, transparent); }
  .v5 .v5-cp-narr .v5-cp-mic { position:absolute; left:12%; top:50%; width:44px; height:44px; margin-top:-22px; border-radius:50%; background:color-mix(in srgb, var(--c-ring) 18%, transparent); display:flex; align-items:center; justify-content:center; }
  .v5 .v5-cp-narr .v5-cp-voice { position:absolute; left:32%; top:25%; width:60%; height:50%; color:var(--c-line); }
  .v5 .v5-cp-tr { background:radial-gradient(110% 120% at 20% 0%, color-mix(in srgb, var(--c-ring) 28%, var(--c-fill)) 0%, var(--c-fill) 70%); }
  .v5 .v5-cp-tr-sp { position:absolute; left:10%; right:10%; top:11%; display:flex; gap:10px; align-items:flex-start; }
  .v5 .v5-cp-tr-sp--2 { top:52%; }
  .v5 .v5-cp-tr-dot { width:16px; height:16px; border-radius:50%; background:var(--c-ring); flex:none; }
  .v5 .v5-cp-tr-sp--2 .v5-cp-tr-dot { background:color-mix(in srgb, var(--c-ring) 35%, var(--v5-cp-ink)); }
  .v5 .v5-cp-tr-lines { flex:1; display:flex; flex-direction:column; gap:6px; }
  .v5 .v5-cp-tr-name { font-size:9.5px; font-weight:800; letter-spacing:.1em; color:var(--c-ring); }
  .v5 .v5-cp-tr-sp--2 .v5-cp-tr-name { color:color-mix(in srgb, var(--c-ring) 35%, var(--v5-cp-ink)); }
  .v5 .v5-cp-tr-name i { font-style:normal; font-weight:600; letter-spacing:.02em; color:color-mix(in srgb, var(--c-ring) 55%, transparent); }
  .v5 .v5-cp-tr b, .v5 .v5-cp-cc b, .v5 .v5-cp-pub b, .v5 .v5-cp-sheet b { display:block; height:6px; border-radius:var(--v5-r-chip); }
  .v5 .v5-cp-tr b { background:var(--c-line); }
  .v5 .v5-cp-tr-row { display:flex; gap:5px; align-items:center; }
  .v5 .v5-cp-tr-row em { height:12px; width:20%; border-radius:var(--v5-r-chip); background:var(--c-line); }
  .v5 .v5-cp-cc > div { position:absolute; left:50%; width:62%; margin-left:-31%; background:var(--v5-cp-scrim-2); border-radius:var(--v5-r-chip); padding:7px 10px; box-sizing:border-box; }
  .v5 .v5-cp-cc b { background:var(--c-line); margin:0 auto; }
  .v5 .v5-cp-cc b.v5-cp-cc-2 { opacity:.75; margin-top:5px; }
  .v5 .v5-cp-pub { inset:7% 14% auto; padding-top:4px; }
  .v5 .v5-cp-pub-l { display:block; margin-top:7px; font-size:8.5px; font-weight:800; letter-spacing:.12em; color:var(--c-ring); }
  .v5 .v5-cp-pub-f { margin-top:3px; height:18px; border:1px solid color-mix(in srgb, var(--c-ring) 50%, transparent); border-radius:var(--v5-r-chip); background:color-mix(in srgb, var(--v5-bg) 45%, transparent); padding:5px 7px; box-sizing:border-box; }
  .v5 .v5-cp-pub-f--2 { height:26px; }
  .v5 .v5-cp-pub b { height:5px; background:var(--c-line); }
  .v5 .v5-cp-pub-f--2 b + b { margin-top:4px; }
  .v5 .v5-cp-pub-tags { margin-top:5px; display:flex; gap:5px; }
  .v5 .v5-cp-pub-tags i { display:inline-block; height:9px; width:30px; border-radius:var(--v5-r-chip); background:color-mix(in srgb, var(--c-ring) 50%, transparent); }
  .v5 .v5-cp-sel-line { position:absolute; left:7%; right:7%; top:50%; height:1px; background:color-mix(in srgb, var(--c-ring) 30%, transparent); }
  .v5 .v5-cp-clip { position:absolute; top:50%; transform:translateY(-50%); margin-left:7%; border-radius:var(--v5-r-chip); display:flex; align-items:center; justify-content:center; box-sizing:border-box; }
  .v5 .v5-cp-clip--kept { background:color-mix(in srgb, var(--c-ring) 55%, transparent); fill:var(--c-fill); }
  .v5 .v5-cp-clip--open { border:1.5px solid color-mix(in srgb, var(--c-ring) 60%, transparent); }
  .v5 .v5-cp-clip--passed { background:color-mix(in srgb, var(--c-ring) 18%, transparent); }
  .v5 .v5-cp-sheet { position:absolute; left:50%; top:12%; bottom:0; width:38%; margin-left:-19%; border-radius:var(--v5-r-chip); overflow:hidden; box-sizing:border-box; }
  .v5 .v5-cp-sheet--pdf, .v5 .v5-cp-sheet--script { background:color-mix(in srgb, var(--c-ring) 12%, var(--c-fill)); border:1px solid color-mix(in srgb, var(--c-ring) 45%, transparent); border-bottom:0; }
  .v5 .v5-cp-sheet--pdf .v5-cp-sheet-band { height:22%; background:color-mix(in srgb, var(--c-ring) 30%, transparent); }
  .v5 .v5-cp-sheet--pdf b { height:4px; margin:5px 8px 0; background:var(--c-line); }
  .v5 .v5-cp-sheet--script { padding:9px 10px; }
  .v5 .v5-cp-sheet--script b { height:4px; border-radius:var(--v5-r-chip); margin-top:5px; background:var(--c-line); }
  .v5 .v5-cp-sheet--script b.v5-cp-k { background:color-mix(in srgb, var(--c-ring) 70%, transparent); }   /* the character cues: label weight */
  .v5 .v5-cp-sheet--script b.v5-cp-c { margin-left:35%; margin-top:8px; }
  .v5 .v5-cp-sheet--script b.v5-cp-i { margin-left:20%; }
  .v5 .v5-cp-sheet--script b:first-child { margin-top:0; }
  .v5 .v5-cp-file { display:flex; align-items:center; justify-content:center; }
  .v5 .v5-cp-file svg { position:relative; color:color-mix(in srgb, var(--c-ring) 70%, transparent); }
  .v5 .v5-cp-ext { position:absolute; left:50%; top:50%; transform:translate(-50%, 6px); font-size:10px; font-weight:800; letter-spacing:.06em; color:var(--c-fill); background:var(--c-ring); border-radius:var(--v5-r-chip); padding:1px 5px; }
  .v5 .v5-c7-body { flex:1 1 auto; display:flex; flex-direction:column; padding:14px 16px 16px; min-width:0; }
  .v5 .v5-c7-kick { display:flex; align-items:center; gap:8px; min-width:0; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
  .v5 .v5-c7-type { flex:0 0 auto; }
  .v5 .v5-c7-kick .v5-rchip { margin-left:auto; flex:0 0 auto; letter-spacing:0; text-transform:none; }
  .v5 .v5-c7-title { margin-top:6px; font-size:18px; font-weight:700; line-height:1.3; color:var(--v5-text); overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow-wrap:anywhere; }
  .v5 .v5-c7-desc { margin-top:0; font-size:14px; line-height:1.4; color:var(--v5-text2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-c7-gap { flex:1 1 auto; min-height:14px; }
  /* ⟦item 816 #10/#11⟧ (mocks CARDS-2 B, LIST-1, LIST-2) the small coloured "TYPE · EPISODE" label over the name — the type in its own
     colour (v5TypePillStyle, the violet family neutral as everywhere), the episode grey and cut with "…" when long; the name the
     largest thing in the row; the dates and who one small grey line. */
  .v5 .v5-kick { display:flex; align-items:center; gap:6px; min-width:0; font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; line-height:1.3; }
  .v5 .v5-kick-type { flex:0 0 auto; }
  .v5 .v5-kick-dot { flex:0 0 auto; color:var(--v5-dim); }
  .v5 .v5-kick-ep { flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--v5-text3); }
  .v5 .v5-c7-kickl { flex:1 1 auto; }
  .v5 .v5-row-kick { margin-bottom:2px; }
  .v5 .v5-row-name.v5-row-name--816 { font-size:17px; font-weight:700; line-height:1.3; }
  .v5 .v5-cl--phone .v5-row-name.v5-row-name--816 { white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow-wrap:anywhere; font-size:16px; }   /* a phone: the name on up to two lines */
  .v5 .v5-cl .v5-row-status .v5-row-l1 { font-weight:500; color:var(--v5-text3); }
  .v5 .v5-c7-foot { margin-top:0; display:flex; align-items:center; justify-content:space-between; gap:10px; border-top:1px solid var(--v5-line); padding-top:12px; }
  .v5 .v5-c7-st { display:flex; flex-direction:column; justify-content:center; gap:2px; min-width:0; min-height:38px; }
  .v5 .v5-c7-l1, .v5 .v5-c7-l2 { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-c7-l1 { font-size:14px; color:var(--v5-text2); }
  .v5 .v5-c7-foot--txdl .v5-c7-l1, .v5 .v5-c7-foot--txdl .v5-c7-l2 { white-space:normal; overflow:visible; text-overflow:clip; }   /* ⟦item 825⟧ ⤓ takes 34px of a reference card's footer: on a narrow card the status WRAPS rather than cut short */
  .v5 .v5-pcard--owed .v5-c7-l1 { font-weight:700; }
  .v5 .v5-c7-l2 { font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-c7-act { display:flex; align-items:center; gap:4px; flex:0 0 auto; }
  .v5 .v5-c7-act .v5-act, .v5 .v5-c7-act .v5-mark, .v5 .v5-cl .v5-pcard--c7 .v5-c7-act .v5-act, .v5 .v5-cl .v5-pcard--c7 .v5-c7-act .v5-mark { width:104px; flex-basis:104px; height:30px; }   /* the mock's 104×30 action box (beats item 760's 96px) */
  .v5 .v5-c7-act .v5-row-dl { width:34px; height:34px; }
  /* The tile carries the type: visually hidden text for screen readers (its tooltip is the tile’s title). */
  .v5 .v5-sr { position:absolute; width:1px; height:1px; margin:0; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
  .v5 .v5-cl .v5-tile { position:relative; }
  /* §21's labels widen a little so "✓ APPROVED" has room inside its edges (the button keeps the column with them). */
  .v5 .v5-cl .v5-row .v5-mark, .v5 .v5-cl .v5-row .v5-act, .v5 .v5-cl .v5-pcard .v5-mark, .v5 .v5-cl .v5-pcard .v5-act { flex-basis:96px; width:96px; }
  /* ⟦item 845⟧ "COMMENTS SENT" is longer than any other badge word: its box grows from the column's width (never narrower); the
     family's type (11 / 700 / .06em) is kept. Every selector above that sets a width is matched here, one class stronger. */
  .v5 .v5-mark.v5-mark--sent, .v5 .v5-cl .v5-row .v5-mark.v5-mark--sent, .v5 .v5-cl .v5-pcard .v5-mark.v5-mark--sent,
  .v5 .v5-c7-act .v5-mark.v5-mark--sent, .v5 .v5-cl .v5-pcard--c7 .v5-c7-act .v5-mark.v5-mark--sent { width:auto; flex-basis:auto; min-width:96px; padding:0 9px; }
  /* ⟦item 845⟧ ...and on a list that shows one, EVERY row's badge / button column takes that width (124px), so the status column
     still lines up down the page (v5-polish-live). Desktop only: a phone row puts the badge on its own line (item 760). */
  .v5 .v5-cl:not(.v5-cl--phone):has(.v5-row .v5-mark--sent) .v5-row > .v5-mark,
  .v5 .v5-cl:not(.v5-cl--phone):has(.v5-row .v5-mark--sent) .v5-row > .v5-act { flex-basis:124px; width:124px; min-width:0; }
  /* ⟦item 845⟧ the EPISODE page's one quiet line to the project's transcripts (the shelf's footer link, on its own under the list). */
  .v5 .v5-eptr { margin:4px 0 28px; padding:0 2px; }
  .v5 .v5-eptr-link { display:inline; padding:0; margin:0; border:0; background:none; cursor:pointer; font-family:var(--v5-font); font-size:13px; font-weight:500; color:var(--v5-gold); opacity:.85; }
  .v5 .v5-eptr-link--team { color:var(--v5-pst-d-steel); }
  .v5 .v5-eptr-link:hover { opacity:1; text-decoration:underline; }
  /* The rail’s owed count wears the family’s type (.06em, capitals) like every other label on a client’s page. */
  .v5 .v5-rail--client .v5-rail-pill { letter-spacing:.06em; text-transform:uppercase; }
  /* PHONE ROWS: the tile, then the name over two lines of room; below it the status (left) and the button or label (right),
     then the download. Nothing has a fixed column that can push a control past the card. */
  .v5 .v5-cl--phone .v5-row { display:grid; grid-template-columns:40px minmax(0, 1fr) auto auto; column-gap:12px; row-gap:6px; align-items:center; padding:12px 14px; }
  .v5 .v5-cl--phone .v5-row > .v5-tile { grid-column:1; grid-row:1 / span 2; align-self:start; }
  .v5 .v5-cl--phone .v5-row > .v5-row-main { grid-column:2 / -1; grid-row:1; }
  .v5 .v5-cl--phone .v5-row > .v5-row-status { grid-column:2; grid-row:2; width:auto; min-width:0; }
  .v5 .v5-cl--phone .v5-row > .v5-act, .v5 .v5-cl--phone .v5-row > .v5-mark { grid-column:3; grid-row:2; }
  /* ⟦item 845⟧ on a phone "COMMENTS SENT" tightens (10px, closer letters) so it stays in the row's right half down to 320 (item 760's rule). */
  .v5 .v5-cl--phone .v5-row .v5-mark.v5-mark--sent { font-size:10px; letter-spacing:0; padding:0 5px; min-width:0; }
  .v5 .v5-cl--phone .v5-row > .v5-row-dl { grid-column:4; grid-row:2; }
  .v5 .v5-cl--phone .v5-row > .v5-row-dlspace, .v5 .v5-cl--phone .v5-row > .v5-chev { display:none; }
  /* ⟦item 883⟧ STEP 4 — TEAM-52b ON A PHONE: the name (up to two lines), then the status on its own line under it — symbol, lead words,
     chip and detail wrapping as they must — with the ⋯ at that line's end (it opens the bottom sheet, teamRowMenuOpen). */
  .v5 .v5-cl--phone .v5-row.v5-row--team > .v5-tst-col { grid-column:2 / -1; grid-row:2; width:auto; max-width:none; min-width:0; margin-left:0; justify-content:space-between; align-items:flex-start; }
  .v5 .v5-cl--phone .v5-row--team .v5-tst { align-items:flex-start; min-width:0; }
  .v5 .v5-cl--phone .v5-row--team .v5-tst-txt { white-space:normal; flex-wrap:wrap; row-gap:3px; overflow:visible; padding-top:2px; }
  .v5 .v5-cl--phone .v5-row--team .v5-trm { flex:0 0 auto; }
  .v5 .v5-cl--phone .v5-row.v5-row--team > .v5-row-main { max-width:none; }   /* ⟦item 884⟧ a phone: the name keeps the row's full width (the 34% column is the desktop's) */
  .v5 .v5-cl--phone .v5-row.v5-row--team > .v5-tnote-line { grid-column:2 / -1; grid-row:3; margin-left:0; }   /* ⟦item 884⟧ a phone: the note on its own line under the status */
  .v5 .v5-cl--phone .v5-row-l1, .v5 .v5-cl--phone .v5-row-l2 { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-cl--phone .v5-name-l2 { white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
  /* THE PROJECT BANNER, option A: the title half again as big (30 → 45, near the home headline), the client line above it in
     capitals with the home greeting’s type (11 / 800 / .2em). On a phone the title steps down and wraps rather than clip. */
  .v5 .v5-cl .v5-banner--proj .v5-title { font-size:45px; letter-spacing:-.035em; line-height:1.04; }
  .v5 .v5-cl .v5-banner--proj .v5-eyebrow { font-size:11px; font-weight:800; letter-spacing:.2em; text-transform:uppercase; }
  .v5 .v5-cl--phone .v5-banner--proj .v5-title { font-size:32px; overflow-wrap:anywhere; }
  /* ⟦item 941⟧ Part 6 (P034, Oct 27): THE TEAM's project / episode banner keeps its title to ONE line (the Sep 25 one-line ruling; a long name
     ends in "…", the trail above names it in full), so the meta line under it is no longer pushed out of the 160px banner. Desktop only;
     the client's banner is unchanged (941: client pages pixel-identical). */
  .v5 .v5-cl:not(.v5-cl--phone):has(.v5-tcol) .v5-banner--proj .v5-title { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }   /* .v5-tcol: only the team's page draws it */
  /* ⟦item 927⟧ a phone (390): the List / Cards switch sat over the end of a long title's first line (the 160px header centres the words,
     so a 3-line title rose under it). The header grows instead: the switch keeps its corner and the words start below it. */
  .v5 .v5-cl--phone .v5-banner.v5-banner--proj:has(> .v5-banner-tools > .v5-view-toggle[aria-label="View"]) { height:auto; min-height:160px; box-sizing:border-box; padding:58px 0 18px; }   /* the project / episode page's switch only: Messages and Schedule wear --proj too */

  .v5 .v5-done-line { display:flex; align-items:center; gap:12px; width:100%; padding:13px 18px;
                      background:none; border:0; text-align:left; cursor:pointer; color:var(--v5-text3); font-size:13px; }
  .v5 .v5-placeholder { padding:.9rem 18px; font-size:13px; color:var(--v5-muted); }
  .v5 .v5-skel { background:var(--v5-chip); border-radius:var(--v5-r-chip); animation:v5skel 1.2s ease-in-out infinite, v5shim 1.6s linear infinite; }   /* item 765: a gentle shimmer over the pulse */
  .v5 .v5-row--skel .v5-tile { background:var(--v5-chip); }
  .v5 .v5-skel-l1 { height:11px; width:45%; margin-bottom:.35rem; }
  /* ⟦item 835⟧ the link page's skeleton (v5TpSkeleton): the task page's own boxes keep their size; only what fills them shimmers */
  .v5 .v5-tp-skel-pill { display:inline-block; width:112px; height:24px; color:transparent; }
  .v5 .v5-tp-skel-card { cursor:default; }
  .v5 .v5-tp-skel-card .v5-tp-tile { background:var(--v5-chip); }
  .v5 .v5-tp-skel-txt { color:transparent !important; border-color:transparent !important; background:var(--v5-chip) !important; }
  .v5 .v5-tp-skel-txt svg { visibility:hidden; }
  .v5 .v5-lk-more-in.v5-skel { display:block; }
  .v5 .v5-tp-skel-send, .v5 .v5-tp-skel-post { color:transparent; border-color:transparent; }
  .v5 .v5-tp-skel-in { display:block; height:52px; margin:4px 0; }   /* the textarea's own min-height, shimmering */
  .v5 .v5-skel-l2 { height:9px;  width:28%; }
  @keyframes v5skel { 0%,100% { opacity:.35 } 50% { opacity:.7 } }
  @keyframes v5shim { 0% { background-position:100% 0 } 100% { background-position:0 0 } }
  .v5 .v5-retry { font:inherit; color:var(--v5-text); background:none; border:0; border-bottom:1px solid var(--v5-chip); padding:0; cursor:pointer; }
  .v5 .v5-empty { padding:2rem 0; font-size:13px; color:var(--v5-muted); }
  /* Items 649/650 kept: bottom-RIGHT, a dot that expands on hover. */
  .v5 .v5-readonly { position:fixed; right:.5rem; bottom:.5rem; z-index:50; font-family:var(--mono); font-size:0;
                     letter-spacing:.08em; text-transform:uppercase; color:transparent;
                     background:var(--v5-muted); border:0; border-radius:999px; padding:0;
                     width:6px; height:6px; opacity:.5; transition:none; }
  .v5 .v5-readonly:hover { font-size:9.5px; color:var(--v5-text3); background:var(--v5-panel2);
                           border:1px solid var(--v5-line); padding:.25rem .6rem; width:auto; height:auto; opacity:1; }

  /* ══ THE RAIL (items 653, 656, 657 #12) ═══════════════════════════════════════════════════════
     236px (the prototype's), 56px collapsed (unchanged). Same promises: .v5 scope, v5- classes, no
     v4 id. ⚠️ NO GOLD ANYWHERE ON THE RAIL: the prototype lights the selected item gold and item
     653 followed spec §5 in doing so; item 657's standing ruling reserves gold for what is owed, so
     the selected item is the page's own ink on the soft fill. */
  .v5 .v5-rail { width:236px; flex-shrink:0; height:100vh; display:flex; flex-direction:column;
                 background:var(--v5-panel); border-right:1px solid var(--v5-line-soft);
                 overflow-y:auto; overflow-x:hidden; z-index:50; cursor:default;   /* ⟦item 823⟧ was w-resize: the open rail no longer collapses on an empty-space click */
                 transition:width .22s cubic-bezier(.4,0,.2,1); }
  .v5 .v5-rail--team:not(.v5-rail--collapsed) { width:260px; }   /* ⟦item 1101⟧ a TEAM session's rail is 260px open on every team page (the client's own rail stays 236px) */
  /* ⚠️ ITEM 662 — THE CURSOR SHOWS THE DIRECTION, exactly the prototype's rules: w-resize over the
     open rail, e-resize over the collapsed one, and `default` over the nav, the brand row and the
     account block so none of them looks like a resize target (items keep their pointer — a
     button's own cursor, the prototype's .pitem). The click rule (v5RailClick) is separate: it
     toggles on anything outside a button/link/input/the account block, cursor or not. */
  .v5 .v5-rail--collapsed { width:56px; cursor:e-resize; }
  .v5 .v5-rail-brand { padding:20px 16px 18px; display:flex; align-items:center; gap:10px; border-bottom:1px solid var(--v5-line-soft); cursor:default; }
  /* Item 662: ‹ beside the client name (prototype .btn-ghost 34×34), expanded only; the chevron tile
     (prototype .ctile 40×40, 12px radius) at the top of the nav, collapsed only. */
  .v5 .v5-rail-collapse { flex:0 0 34px; width:34px; height:34px; min-height:0; margin-left:auto; display:inline-flex; align-items:center; justify-content:center;
                          border:1px solid var(--v5-chip); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text2); cursor:pointer;
                          font-family:var(--v5-font); font-size:16px; line-height:1; padding:0 0 2px; }
  .v5 .v5-rail-collapse:hover { background:var(--v5-panel3); color:var(--v5-text); }
  .v5 .v5-rail--collapsed .v5-rail-collapse { display:none; }
  .v5 .v5-rail-ctile { display:none; width:40px; height:40px; margin:0 auto 8px; align-items:center; justify-content:center; border:0; border-radius:var(--v5-r-card);
                       background:none; color:var(--v5-muted); cursor:pointer; padding:0; }
  .v5 .v5-rail-ctile:hover { background:var(--v5-chip); color:var(--v5-text); }
  .v5 .v5-rail--collapsed .v5-rail-ctile { display:flex; }
  .v5 .v5-rail-ctile svg { display:block; width:13px; height:13px; }
  /* ⚠️ ITEM 660 #2 — the EXPANDED header is the prototype's .brandtext: the organisation name
     (15/700, two lines then clamped) over "CLIENT PORTAL" (10/700/.14em, muted). The logo TILE
     (Client Code, else initials — text, never an icon) is the COLLAPSED rail's header only; the
     two rules below show exactly one of the pair at each width. */
  .v5 .v5-rail-logo { display:none; flex:0 0 38px; width:38px; height:32px; border-radius:var(--v5-r-tile); align-items:center; justify-content:center;
                      font-size:11px; font-weight:800; letter-spacing:.02em; color:var(--v5-text2); background:var(--v5-panel2); border:1px solid var(--v5-line); overflow:hidden;
                      /* Item 664: a BUTTON (the way home, collapsed) — resets a <button> does not inherit. */
                      padding:0; margin:0; cursor:pointer; font-family:var(--v5-font); text-transform:none; }
  .v5 .v5-rail-logo:hover { color:var(--v5-text); border-color:var(--v5-chip); }
  /* ⚠️ ITEM 670 — THE LIGHT PLATE. A client logo is usually a dark mark on transparency, which is
     invisible on this rail; the plate is what makes both kinds legible without knowing which one
     arrived. `v5-has-logo` is written by the renderer and REMOVED by the image's own onerror
     (item 648), so a failed load falls back to the text underneath rather than an empty box. */
  .v5 .v5-has-logo { background:var(--v5-logo-plate); border-color:var(--v5-logo-plate); padding:3px; }
  .v5 .v5-has-logo .v5-logo-text { display:none; }
  /* ⚠️ ITEM 671 — NO PLATE FOR A LOGO THAT BRINGS ITS OWN BACKGROUND. An opaque logo (a JPEG, or
     a PNG with a filled canvas) fills the tile edge to edge and takes the tile's own rounding;
     the plate would otherwise draw a white frame around it, which is what Sentinel Blue's black
     JPEG showed in the collapsed rail. `v5-has-logo` still applies — it is what hides the Client
     Code text — so the fallback on a failed load is unchanged. */
  .v5 .v5-has-logo.v5-logo-bare { background:none; border-color:transparent; padding:0; }
  .v5 .v5-logo-img { display:block; width:100%; height:100%; object-fit:contain; }
  /* Expanded rail: the plate beside the organisation name. Collapsed, the brand row's own
     tile (.v5-rail-logo) carries it instead, so exactly one shows at each width. */
  .v5 .v5-rail-brandlogo { display:flex; flex:0 0 34px; width:34px; height:30px; align-items:center; justify-content:center;
                           border-radius:var(--v5-r-tile); overflow:hidden; }
  .v5 .v5-rail--collapsed .v5-rail-brandlogo { display:none; }
  /* The landing's greeting row. */
  /* ⚠️ ITEM 671 — THE GREETING ROW IS THE THING THAT IS POSITIONED, NOT THE GREETING. `.v5-hero-greet`
     was `position:absolute; top:34px; left:48px`, so wrapping it in a flex row left the ROW as an
     ordinary flex item of the hero (which is `align-items:center`): the tile sat mid-height at the
     hero's left edge, beside the subline and half outside it, while the greeting stayed pinned at
     the top on its own. The row takes the absolute placement now and the greeting inside it is
     static — so the tile sits at the TOP LEFT with "GOOD EVENING, …" beside it, which is the
     placement chosen over "above the headline" because it keeps the headline the first thing read.
     ⚠️ BOUNDED, so it can never leave the hero at any width — the greeting ellipsises rather
     than pushing the row wider. `.v5-hero-org` (item 664/670's original neighbour on the right)
     is gone as of item 681; the 52% cap is kept as a reasonable width in its own right, not
     because anything still needs clearing. */
  .v5 .v5-hero-greetrow { position:absolute; top:30px; left:48px; max-width:52%; z-index:1;
                          display:flex; align-items:center; gap:12px; }
  .v5 .v5-hero-greetrow .v5-hero-greet { position:static; top:auto; left:auto; min-width:0;
                                         overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  /* Sized to read as a LOGO rather than an icon — half again the rail's tile. */
  .v5 .v5-hero-logo { display:flex; flex:0 0 48px; width:48px; height:40px; align-items:center; justify-content:center;
                      border-radius:var(--v5-r-tile); overflow:hidden; }
  .v5 .v5-rail-logo.v5-rail-home--on { color:var(--v5-text); background:var(--v5-chip); }
  .v5 .v5-rail--collapsed .v5-rail-logo { display:flex; }
  .v5 .v5-rail-brandtext { flex:1 1 auto; min-width:0; overflow:hidden; }
  /* Item 664: a BUTTON (the way home, expanded). Item 681: measured in headless Chrome by
     sampling rendered pixels (not getComputedStyle, which reported the right colour while
     nothing painted) — display:-webkit-box + box-sizing:content-box + a negative-margin box
     on the SAME element that clamps to 2 lines never actually paints its background, on any
     build. Split: the button is a plain block/border-box surface (background + click target,
     full width); the clamp lives on an inner span that carries no box of its own. */
  .v5 .v5-rail-org { display:block; width:100%; box-sizing:border-box; border:0; background:none; text-align:left; cursor:pointer;
                     font-family:var(--v5-font); text-transform:none; letter-spacing:normal;
                     padding:4px 6px; margin:-4px -6px; border-radius:var(--v5-r-chip); }
  .v5 .v5-rail-org-text { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere;
                          font-size:15px; font-weight:700; line-height:1.25; color:var(--v5-text); }
  /* Item 681: plain at rest — no persistent "this is home" fill on the org name (the logo tile
     still carries its own .v5-rail-home--on indicator, untouched, for the collapsed rail).
     Highlight on hover AND keyboard focus only. */
  .v5 .v5-rail-org:hover, .v5 .v5-rail-org:focus-visible { background:var(--v5-panel3); }
  /* ⟦item 741⟧ the tag carries the portal's mark: a flex row (mark, 6px, words), and the tracking eased
     .14em → .1em so mark + "MEDIA REVIEW PORTAL" (~149px) fits the 159px brand column (at .14em with the first
     14px mark it measured ~160px and overflowed by a pixel — the item 741 break run). */
  /* ⟦item 741⟧ height:12px — the row the words alone gave it: the mark must never grow it (series-rail-live caught a 14px
     mark moving the whole rail below down 2px); the 11px mark fits inside it. On the TAG, not the mark: every class this
     v5 sheet names begins v5- (v5-client-rail). */
  .v5 .v5-rail-ptag { display:flex; align-items:center; gap:6px; height:12px; font-size:10px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--v5-muted); margin-top:3px; white-space:nowrap; }
  /* ⚠️ ITEM 660 #3 — THE EXPANDED RAIL IS PLAIN TEXT, like the prototype: no tile beside a project,
     none on Completed projects or Message us; the one icon is on the YOUR PROJECTS heading (Sign
     out keeps its glyph — the prototype's does). The tiles are HIDDEN here, not removed: the
     collapsed rail is tiles only and still needs every one (item 657's icon rule is not in play —
     nothing is redrawn, only shown or not). */
  .v5 .v5-rail-project .v5-rail-tile, .v5 .v5-rail-completed .v5-rail-tile, .v5 .v5-rail-messages .v5-rail-tile { display:none; }
  .v5 .v5-rail--collapsed .v5-rail-project .v5-rail-tile, .v5 .v5-rail--collapsed .v5-rail-completed .v5-rail-tile, .v5 .v5-rail--collapsed .v5-rail-messages .v5-rail-tile { display:flex; }
  /* ⚠️ ITEM 662 — THE NAV DOES NOT GROW, so the rail HAS empty space. With flex:1 the nav filled the
     rail to the account block and no point of the <aside> itself was ever hit (Chrome measured:
     elementFromPoint never returned the rail), so the resize cursor had nowhere to show and the
     "empty space" was the nav's default-cursor area. The prototype's .railnav is content-sized and
     its .railbottom takes margin-top:auto; the gap between them IS the rail. Same here. */
  .v5 .v5-rail-nav { flex:0 0 auto; padding:14px 10px 12px; display:flex; flex-direction:column; gap:2px; cursor:default; }
  /* Caps = heading. One icon in the whole rail, and it is here. */
  .v5 .v5-rail-heading { display:flex; align-items:center; gap:8px; padding:8px 12px 9px; font-size:10px; font-weight:800;
                         letter-spacing:.16em; text-transform:uppercase; color:var(--v5-muted); white-space:nowrap; }
  .v5 .v5-rail-heading svg { flex:0 0 auto; }
  /* Sentence case = destination. text-transform/letter-spacing DECLARED (item 653). */
  .v5 .v5-rail-item { display:flex; align-items:flex-start; gap:9px; width:100%; min-height:40px; padding:9px 12px; border:0; border-radius:var(--v5-r-tile);
                      background:none; color:var(--v5-text2); text-align:left; cursor:pointer; font-family:var(--v5-font); font-size:13.5px; font-weight:600; line-height:1.35;
                      text-transform:none; letter-spacing:normal; }
  .v5 .v5-rail-item:hover { background:var(--v5-panel3); }
  .v5 .v5-rail-item--on { background:var(--v5-panel2); color:var(--v5-text); }
  .v5 .v5-rail-item--on .v5-rail-label { color:var(--v5-text); }
  .v5 .v5-rail-tile { flex:0 0 26px; width:26px; height:26px; border-radius:var(--v5-r-chip); display:flex; align-items:center; justify-content:center;
                      font-size:9.5px; font-weight:800; color:var(--v5-text3); background:var(--v5-chip); }
  /* Two lines then clamp (items 635/656). */
  .v5 .v5-rail-label { flex:1 1 auto; min-width:0; overflow:hidden; white-space:normal; overflow-wrap:anywhere;
                       display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; line-height:1.35; }
  /* The fixed-width count column (spec §5): NEUTRAL ink — a count reports, it does not ask. */
  /* Item 707 #1: the END COLUMN — one fixed box every end mark sits in (pill or icon), centred, so
     they share one right edge and one centre line whatever each is showing. */
  .v5 .v5-rail-end { flex:0 0 26px; width:26px; height:19px; margin-top:1px; display:flex; align-items:center; justify-content:center; }
  .v5 .v5-rail--collapsed .v5-rail-end { display:none; }
  .v5 .v5-rail-pill { flex:0 0 auto; width:100%; text-align:center; font-size:11px; font-weight:800; line-height:1.5;
                      color:var(--v5-text3); background:var(--v5-chip); border:0; border-radius:var(--v5-r-status); padding:1px 0; }
  /* Item 703: the rail's UNKNOWN tally — the neutral pill (no gold) with a dash, not a number. */
  .v5 .v5-rail-pill--unknown { color:var(--v5-text3); background:var(--v5-chip); }
  /* Item 702: the Completed line's download icon — in the pill's place: the same end column (item 707), hidden with it when collapsed. */
  .v5 .v5-rail-dl { flex:0 0 auto; display:inline-flex; align-items:center; color:var(--v5-text3); }
  /* Item 711: a series project's in-play EPISODES under its row. The label starts where the project's
     label starts (12 + 26 + 9 = 47px), ONE line clipped with an ellipsis, every row 30px; the end
     mark sits in the same 26px column as the pills (item 707). Hidden with the rail collapsed. */
  .v5 .v5-rail-eps { display:flex; flex-direction:column; margin:0 0 4px; }
  .v5 .v5-rail--collapsed .v5-rail-eps { display:none; }
  .v5 .v5-rail-ep { display:flex; align-items:center; gap:9px; width:100%; height:30px; min-height:30px; padding:0 12px 0 47px; border:0; border-radius:var(--v5-r-tile);
                    background:none; color:var(--v5-text3); text-align:left; cursor:pointer; font-family:var(--v5-font); font-size:12.5px; font-weight:500; line-height:30px;
                    text-transform:none; letter-spacing:normal; }
  .v5 .v5-rail-ep:hover { background:var(--v5-panel3); color:var(--v5-text2); }
  .v5 .v5-rail-ep-label { flex:1 1 auto; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
  .v5 .v5-rail-ep .v5-rail-end { margin-top:0; }
  .v5 .v5-rail-dot { display:block; width:8px; height:8px; border-radius:50%; box-sizing:border-box; }
  /* Gold = the viewer owes something on this episode (item 657); a mauve RING = with us (item 696's
     WITH US outline, as a dot). */
  .v5 .v5-rail-dot--owed { background:var(--v5-gold); }
  .v5 .v5-rail-dot--withus { background:none; border:1.5px solid var(--v5-revise); }
  .v5 .v5-rail-completed .v5-rail-label { color:var(--v5-text3); }
  .v5 .v5-rail-item--on.v5-rail-completed .v5-rail-label { color:var(--v5-text); }
  /* Item 668 (1): the owed pill is GOLD — the rail's one gold thing, and it means exactly what
     gold means everywhere else in v5 (item 657): this client owes us something. */
  .v5 .v5-rail-pill--owed { background:var(--v5-owed-tint); color:var(--v5-owed-ink); font-weight:700; }   /* item 737: a count, not a button — the owed tint */
  /* ⟦item 926⟧ the TEAM menu's needs-us count: team blue on the team tint, never gold */
  .v5 .v5-rail-pill--team { background:var(--v5-team-bg); color:var(--v5-team-ink); font-weight:700; }
  .v5 .v5-rail--client .v5-rail-bdg.v5-rail-bdg--team { color:var(--v5-team-ink); background:var(--v5-team-bg); border-color:var(--v5-team-line); }
  .v5 .v5-rail-note { padding:9px 12px; font-size:12.5px; color:var(--v5-muted); }
  .v5 .v5-rail-rule { height:1px; background:var(--v5-line-soft); margin:8px 12px; }
  .v5 .v5-rail-rule--section { margin-top:12px; }
  .v5 .v5-rail-account { margin-top:auto; padding:12px 14px; border-top:1px solid var(--v5-line-soft); display:flex; align-items:center; gap:10px; flex-wrap:wrap; cursor:default; }
  .v5 .v5-rail-avatar { flex:0 0 30px; width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center;
                        font-size:11px; font-weight:800; color:var(--v5-text2); background:var(--v5-chip); }
  .v5 .v5-rail-who { flex:1 1 auto; min-width:0; }
  .v5 .v5-rail-name { font-size:13px; font-weight:600; color:var(--v5-text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-rail-role { font-size:11.5px; color:var(--v5-muted); margin-top:1px; }
  .v5 .v5-rail-signout { display:flex; align-items:center; gap:9px; width:100%; min-height:36px; margin-top:6px; padding:0 4px; border:0; border-radius:var(--v5-r-tile);
                         background:none; color:var(--v5-text3); cursor:pointer; font-family:var(--v5-font); font-size:13px; font-weight:600; text-align:left; }
  .v5 .v5-rail-signout:hover { background:var(--v5-panel3); color:var(--v5-text); }
  .v5 .v5-rail-signout .v5-rail-tile { flex-basis:22px; width:22px; height:22px; background:none; }
  .v5 .v5-rail--collapsed .v5-rail-brand { flex-direction:column; padding:14px 0 10px; align-items:center; }
  .v5 .v5-rail--collapsed .v5-rail-brandtext,
  .v5 .v5-rail--collapsed .v5-rail-heading span,
  .v5 .v5-rail--collapsed .v5-rail-label,
  .v5 .v5-rail--collapsed .v5-rail-who,
  .v5 .v5-rail--collapsed .v5-rail-note { display:none; }
  .v5 .v5-rail--collapsed .v5-rail-nav { padding:6px 6px 12px; align-items:center; }
  .v5 .v5-rail--collapsed .v5-rail-heading { justify-content:center; padding:8px 0 4px; }
  .v5 .v5-rail--collapsed .v5-rail-item { justify-content:center; padding:6px 0; width:44px; min-height:0; }
  .v5 .v5-rail--collapsed .v5-rail-tile { flex-basis:32px; width:32px; height:32px; }
  .v5 .v5-rail--collapsed .v5-rail-item--on .v5-rail-tile { color:var(--v5-text); background:var(--v5-panel2); }
  .v5 .v5-rail--collapsed .v5-rail-rule { margin:6px 12px; }
  .v5 .v5-rail--collapsed .v5-rail-account { flex-direction:column; padding:12px 0 14px; gap:8px; }
  .v5 .v5-rail--collapsed .v5-rail-signout { flex-direction:column; gap:2px; width:auto; min-height:0; padding:0; margin-top:0; align-items:center; }
  .v5 .v5-rail--collapsed .v5-rail-signout .v5-rail-label { display:block; font-family:var(--mono); font-size:8px; letter-spacing:.06em; text-transform:uppercase; }
  /* ── ⟦items 763/764⟧ THE CLIENT RAIL. Every rule below hangs off `.v5-rail--client`, which v5RailPaint writes only for a
     non-team session, so a team member’s v5 rail is untouched. Values from the prototype (FD63WDVsJHgroQqb5aHjHx) and the
     "Rail · more options" board, option B "quiet". ── */
  /* #1 QUIET: every item dim at 500 (Home, projects, Completed, Message us), so the selected one is the brightest thing. */
  .v5 .v5-rail--client .v5-rail-item { color:var(--v5-rail-dim); font-weight:500; }
  .v5 .v5-rail--client .v5-rail-item .v5-rail-label, .v5 .v5-rail--client .v5-rail-item .v5-rail-tile { color:inherit; }
  /* #2 THE ONE SELECTED ITEM: gold bold text (and icon) on the #24242b block, a 3px gold bar ~4px off its left edge. Declared
     after :hover so a hovered selected item stays selected. */
  /* ⟦item 1038⟧ ONE RAIL (TEAM-122 / 123, RAIL-1): steel for every lit item on a team rail (never gold); the Team section folds (open rail only);
     the closed rail shows Status · Communication · Shared links · Team and a ⋯ More for the rest */
  .v5 .v5-rail--team { --v5-rail-on-ink:var(--v5-tstrip-on); }
  /* ⟦item 1066⟧ addendum 2 (1): in Light the team rail is pure WHITE with a steel pill for the open item (after the rule above: it wins by order in jsdom as by specificity in a browser) */
  .v5 .v5-tlight .v5-th .v5-rail--wide, .v5 .v5-tlight .v5-tdrw .v5-rail--wide, .v5 .v5-tlrail .v5-rail--team { --v5-rail-on-ink:var(--v5-tl-steel); background:var(--v5-tl-card); }
  .v5 .v5-rail-teamh { width:100%; border:0; background:none; font-family:inherit; text-align:left; cursor:pointer; }
  .v5 .v5-rail:not(.v5-rail--collapsed) .v5-rail-teamsec--folded .v5-rail-teamlist { display:none; }
  .v5 .v5-rail-more { display:none; }
  .v5 .v5-rail--collapsed .v5-rail-more { display:flex; }
  .v5 .v5-rail--collapsed .v5-rail-tool--more, .v5 .v5-rail--collapsed .v5-rail-teamh { display:none; }
  .v5 .v5-rail--client .v5-rail-item--on { position:relative; background:var(--v5-rail-on); color:var(--v5-rail-on-ink); font-weight:700; }
  .v5 .v5-rail--client .v5-rail-item--on::before { content:''; position:absolute; left:-4px; top:8px; bottom:8px; width:3px; border-radius:3px; background:var(--v5-rail-on-ink); }
  .v5 .v5-rail--client .v5-rail-ep.v5-rail-ep--on { position:relative; background:var(--v5-rail-on); color:var(--v5-rail-on-ink); font-weight:700; }
  .v5 .v5-rail--client .v5-rail-ep.v5-rail-ep--on::before { content:''; position:absolute; left:-4px; top:6px; bottom:6px; width:3px; border-radius:3px; background:var(--v5-rail-on-ink); }
  /* ⟦item 926⟧ Part 2 (Jeffrey, Oct 22) REVERSES item 890's quiet project row: the project's own row, lit while its page is open, wears the
     SAME gold selected style (bar + text on the block) as an open episode's row — on the client's menu and the team's alike. */
  /* #4 "ACTIVE PROJECTS": plain grey capitals, no icon, ~22px under Home (the divider’s gap). */
  .v5 .v5-rail--client .v5-rail-heading { color:var(--v5-rail-head); margin-top:20px; padding-top:0; }   /* + the nav’s 2px gap = 22 */
  /* #5 ICONS ONLY ON WHAT IS CLICKABLE, in ONE left column: Home, Completed projects (the download arrow, LEFT), Message us. */
  .v5 .v5-rail--client .v5-rail-home, .v5 .v5-rail--client .v5-rail-completed, .v5 .v5-rail--client .v5-rail-messages { gap:8px; align-items:center; }
  .v5 .v5-rail--client .v5-rail-home .v5-rail-tile, .v5 .v5-rail--client .v5-rail-completed .v5-rail-tile, .v5 .v5-rail--client .v5-rail-messages .v5-rail-tile { display:flex; flex:0 0 14px; width:14px; height:18px; background:none; }
  /* #3/#9/#10: ONE divider (#36363f), ~22px above it and ~20px below before Completed projects; Message us ~4px under it. */
  .v5 .v5-rail--client .v5-rail-rule--div { height:1px; background:var(--v5-rail-div); margin:20px 12px 18px; }   /* + the nav’s 2px gap each side = 22 above, 20 below */
  .v5 .v5-rail--client .v5-rail-messages { margin-top:4px; }
  /* #8 EPISODES: 13px (see CLAUDE-HISTORY 764 on the brief’s "14px, down from 15"), dimmer still, starting 8px in from their
     project’s name; #10: ~10px after an open project’s episode list. #6: their dots share the counts’ 26px end column. */
  .v5 .v5-rail--client .v5-rail-ep { padding-left:20px; font-size:13px; font-weight:500; color:var(--v5-rail-dim-ep); }
  .v5 .v5-rail--client .v5-rail-eps { margin-bottom:10px; }
  /* #11 the client name: two lines at most (the clamp is the base rule’s), a long one a little smaller. */
  .v5 .v5-rail--client .v5-rail-org-text--long { font-size:13.5px; }
  /* ── COLLAPSED (#12–#14): Home, the projects as grid icons, the divider, Completed, Message us, Sign out as an icon only. The
     selected tile gold on the block with the gold bar; a project whose EPISODE is selected wears the same (`--epon`). ── */
  .v5 .v5-rail--client.v5-rail--collapsed .v5-rail-heading { display:none; }
  .v5 .v5-rail--client.v5-rail--collapsed .v5-rail-home .v5-rail-tile, .v5 .v5-rail--client.v5-rail--collapsed .v5-rail-completed .v5-rail-tile, .v5 .v5-rail--client.v5-rail--collapsed .v5-rail-messages .v5-rail-tile { flex-basis:32px; width:32px; height:32px; background:var(--v5-chip); }
  .v5 .v5-rail--client.v5-rail--collapsed .v5-rail-rule--div { margin:10px 12px; width:24px; }
  .v5 .v5-rail--client.v5-rail--collapsed .v5-rail-item--epon { position:relative; background:var(--v5-rail-on); color:var(--v5-rail-on-ink); }
  .v5 .v5-rail--client.v5-rail--collapsed .v5-rail-item--epon::before { content:''; position:absolute; left:-4px; top:8px; bottom:8px; width:3px; border-radius:3px; background:var(--v5-rail-on-ink); }
  .v5 .v5-rail--client.v5-rail--collapsed .v5-rail-item--on .v5-rail-tile, .v5 .v5-rail--client.v5-rail--collapsed .v5-rail-item--epon .v5-rail-tile { background:none; color:var(--v5-rail-on-ink); }
  .v5 .v5-rail--client .v5-rail-project .v5-rail-tile { position:relative; }
  .v5 .v5-rail--client .v5-rail-bdg { position:absolute; top:-5px; right:-7px; min-width:16px; height:16px; box-sizing:border-box; padding:0 3px; border-radius:8px;
                                      display:flex; align-items:center; justify-content:center; font-size:9px; font-weight:800; line-height:1;
                                      color:var(--v5-owed-ink); background:var(--v5-rail-bdg-bg); border:1.5px solid var(--v5-rail-bdg-line); }
  .v5 .v5-rail--client.v5-rail--collapsed .v5-rail-signout .v5-rail-label { display:none; }
  /* ⟦item 806⟧ (mocks RAIL-11 / RAIL-12) A PROJECT WITH EPISODES IS A TREE: the ▾/▸ chevron in the icon's place (the icon returns on the
     collapsed rail, where the chevron goes), the project name white and a touch bolder, its episodes grey under a thin guide line, the
     selected episode gold with its bar ON the guide line. Expanded rail only; the collapsed rail is unchanged. */
  .v5 .v5-rail--client .v5-rail-prow { position:relative; }
  .v5 .v5-rail--client .v5-rail-fold { position:absolute; left:6px; top:8px; z-index:1; display:flex; align-items:center; justify-content:center; width:20px; height:24px; padding:0; border:0; border-radius:var(--v5-r-chip); background:none; color:var(--v5-text3); font-family:var(--v5-font); font-size:12px; line-height:1; cursor:pointer; }
  .v5 .v5-rail--client .v5-rail-fold:hover, .v5 .v5-rail--client .v5-rail-fold:focus-visible { color:var(--v5-text); background:var(--v5-panel3); }
  .v5 .v5-rail--client.v5-rail--collapsed .v5-rail-fold { display:none; }
  .v5 .v5-rail--client:not(.v5-rail--collapsed) .v5-rail-project { padding-left:30px; }
  .v5 .v5-rail--client .v5-rail-project .v5-rail-label { -webkit-line-clamp:3; }   /* the chevron column and the bolder name cost width: a long project name takes a third line rather than being cut */   /* every project's name clears the chevron column, so names line up with or without one */
  .v5 .v5-rail--client .v5-rail-project:not(.v5-rail-item--on) { color:var(--v5-text); font-weight:600; }
  .v5 .v5-rail--client .v5-rail-eps--tree { position:relative; }
  .v5 .v5-rail--client .v5-rail-eps--tree::before { content:''; position:absolute; left:16px; top:2px; bottom:4px; width:1px; background:var(--v5-rail-div); }
  .v5 .v5-rail--client .v5-rail-eps--tree .v5-rail-ep { margin-left:16px; width:calc(100% - 16px); padding-left:26px; }
  .v5 .v5-rail--client .v5-rail-eps--tree .v5-rail-ep.v5-rail-ep--on::before { left:-1px; }
  /* ⟦item 926⟧ the TEAM menu: a long episode name WRAPS to a second line (then clamps) instead of "P063 · Rounding Califor…" */
  .v5 .v5-rail--team .v5-rail-ep { height:auto; min-height:30px; padding-top:6px; padding-bottom:6px; line-height:1.35; align-items:flex-start; }
  .v5 .v5-rail--team .v5-rail-ep-label { white-space:normal; text-overflow:clip; overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
  .v5 .v5-rail--team .v5-rail-ep .v5-rail-end { margin-top:0; }
  /* ⟦item 765b⟧ the client rail's "Show tips" switch, beside Sign out; not on the collapsed rail. */
  .v5 .v5-rail--client .v5-rail-tips { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; min-height:32px; margin-top:2px; padding:0 4px; border:0; border-radius:var(--v5-r-tile);
                                       background:none; color:var(--v5-text3); font-family:var(--v5-font); font-size:12.5px; font-weight:500; cursor:pointer; text-transform:none; letter-spacing:normal; }
  .v5 .v5-rail--client .v5-rail-tips:hover { background:var(--v5-panel3); color:var(--v5-text); }
  .v5 .v5-rail-tip { position:fixed; z-index:400; max-width:300px; padding:5px 9px; border-radius:var(--v5-r-tile); background:var(--v5-panel3); color:var(--v5-text); border:1px solid var(--v5-line); font-family:var(--v5-font); font-size:12px; font-weight:500; line-height:1.4; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; pointer-events:none; box-shadow:0 4px 14px rgba(0,0,0,.35); }   /* ⟦item 874⟧ the team rail's own tip */
  .v5 .v5-rail-tip[hidden] { display:none; }
  .v5 .v5-rail--client .v5-rail-tips-sw { position:relative; flex:0 0 28px; width:28px; height:16px; border-radius:var(--v5-r-tile); background:var(--v5-chip); border:1px solid var(--v5-line); box-sizing:border-box; }
  .v5 .v5-rail--client .v5-rail-tips-knob { position:absolute; top:2px; left:2px; width:10px; height:10px; border-radius:50%; background:var(--v5-text3); }
  .v5 .v5-rail--client .v5-rail-tips-sw--lit { background:var(--v5-slate-bg); border-color:var(--v5-slate); }
  .v5 .v5-rail--client .v5-rail-tips-sw--lit .v5-rail-tips-knob { left:14px; background:var(--v5-slate); }
  .v5 .v5-rail--client.v5-rail--collapsed .v5-rail-tips { display:none; }
  /* ── ⟦item 870⟧ THE TEAM RAIL (TEAM-10): the client rail above (it wears --client too) plus the team's head and foot, all under
     `.v5-rail--team`, which v5RailPaint writes only for a v5 team session. The mark + MEDIA REVIEW · Team, "‹ All clients", the client
     card, TEAM TOOLS pinned at the bottom (margin-top:auto takes the slack), the account under it. ── */
  .v5 .v5-rail--team .v5-rail-tbrand { flex:1 1 auto; min-width:0; display:inline-flex; align-items:center; gap:7px; text-decoration:none; border-radius:var(--v5-r-chip); }
  .v5 .v5-rail--team .v5-rail-tbrand:hover .v5-rail-tbrand-t { color:var(--v5-text); }
  .v5 .v5-rail--team .v5-rail-tbrand:focus-visible { outline:2px solid var(--v5-team-ink); outline-offset:2px; }
  .v5 .v5-rail--team .v5-rail-tbrand-t { font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-text2); white-space:nowrap; }
  .v5 .v5-rail--team .v5-rail-tbrand--on { padding:4px 8px; margin-left:-8px; background:var(--v5-rail-on); }   /* ⟦item 1047⟧ Team home lit (steel, as every lit team item) */
  .v5 .v5-rail--team .v5-rail-tbrand--on .v5-rail-tbrand-t { color:var(--v5-rail-on-ink); }
  .v5 .v5-rail--team .v5-rail-tbrand-s { font-size:11px; color:var(--v5-muted); white-space:nowrap; }
  .v5 .v5-rail--team .v5-rail-ccard, .v5 .v5-thdr-drpick .v5-rail-ccard { display:flex; align-items:center; gap:12px; width:100%; box-sizing:border-box; margin:0 0 10px; padding:10px 12px; border:1px solid var(--v5-line); border-radius:var(--v5-r-card);
                                      background:var(--v5-panel2); color:var(--v5-text); font-family:var(--v5-font); text-align:left; cursor:pointer; text-transform:none; letter-spacing:normal; }
  .v5 .v5-rail--team .v5-rail-ccard:hover, .v5 .v5-rail--team .v5-rail-ccard[aria-expanded="true"], .v5 .v5-thdr-drpick .v5-rail-ccard:hover { border-color:var(--v5-text3); }
  .v5 .v5-rail--team .v5-rail-cc-tile, .v5 .v5-thdr-drpick .v5-rail-cc-tile { flex:0 0 36px; width:36px; height:36px; box-sizing:border-box; display:flex; align-items:center; justify-content:center; overflow:hidden;
                                        border-radius:var(--v5-r-tile); background:var(--v5-chip); color:var(--v5-text2); font-size:10px; font-weight:800; letter-spacing:.02em; }
  .v5 .v5-rail--team .v5-rail-cc-t, .v5 .v5-thdr-drpick .v5-rail-cc-t { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; }
  .v5 .v5-rail--team .v5-rail-cc-code, .v5 .v5-thdr-drpick .v5-rail-cc-code { font-size:16px; font-weight:800; letter-spacing:.04em; line-height:1.25; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-rail--team .v5-rail-cc-name { font-size:12px; color:var(--v5-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-rail--team .v5-rail-cc-caret, .v5 .v5-thdr-drpick .v5-rail-cc-caret { flex:0 0 auto; font-size:12px; color:var(--v5-text3); }
  .v5 .v5-rail--team .v5-rail-tools { margin-top:auto; padding:10px 10px 6px; display:flex; flex-direction:column; gap:2px; }
  .v5 .v5-rail--team .v5-rail-tools .v5-rail-heading { margin-top:0; }
  .v5 .v5-rail--team .v5-rail-tool { gap:8px; align-items:center; box-sizing:border-box; text-decoration:none; }
  .v5 .v5-rail--team .v5-rail-tool .v5-rail-tile { display:flex; flex:0 0 14px; width:14px; height:18px; background:none; }
  .v5 .v5-rail--team .v5-rail-account { margin-top:0; }
  .v5 .v5-rail--team.v5-rail--collapsed .v5-rail-ccard { display:none; }
  /* ⟦item 1038⟧ closed: Home (the mark alone) first, then the client's logo — the icon column's top */
  .v5 .v5-rail--team.v5-rail--collapsed .v5-rail-tbrand { display:inline-flex; flex:0 0 auto; justify-content:center; padding:6px 0; }
  .v5 .v5-rail--team.v5-rail--collapsed .v5-rail-tbrand-t { display:none; }
  .v5 .v5-rail--team.v5-rail--collapsed .v5-rail-tools { padding:6px 6px 10px; align-items:center; }
  .v5 .v5-rail--team.v5-rail--collapsed .v5-rail-tool .v5-rail-tile { flex-basis:32px; width:32px; height:32px; background:var(--v5-chip); }
  .v5 .v5-rail--team.v5-rail--collapsed .v5-rail-signout .v5-rail-label { display:none; }
  /* ⟦item 1061⟧ RAIL-4 — THE HEADER BESIDE THE RAIL (v5ThdrBodySync's body classes; placed AFTER the rail's own rules, so it wins by order in jsdom's cascade as by specificity in a browser; below 900px nothing here applies: 1060's ☰ bar).
     56px everywhere. `v5-thdr-ro`: the rail runs the full height on the left (its top row the mark + "Media Review", 56px, a hairline under
     it, so rail and header read as one top edge) and the header starts at its right edge (236px). `v5-thdr-rc`: the rail closed — the
     header across the top again, its left end the mark and a › that reopens the rail (the rail's own › tile goes: one way back). The
     header's own mark shows only then (and in the ☰ bar). Tabs: the open one a soft steel pill in bolder text; counts a soft steel badge,
     solid steel on the open tab. The search is a field (⌕ Search /). */
  .v5 .v5-thdr { height:56px; }
  .v5 .v5-thdr-on { padding-top:56px; }
  .v5 .v5-thdr-on .v5-th, .v5 .v5-thdr-on .v5-pst { top:56px; }
  .v5 .v5-thdr-lead { display:inline-flex; align-items:center; gap:2px; margin-right:12px; }
  .v5 .v5-thdr-lead .v5-thdr-brand { margin-right:0; }
  .v5 .v5-thdr-reopen { display:none; width:30px; font-size:18px; line-height:1; }
  .v5 .v5-thdr-ro .v5-thdr { left:260px; padding-left:20px; }   /* ⟦item 1101⟧ was 236px: the team's open rail is 260px */
  .v5 .v5-thdr-ro .v5-thdr-lead { display:none; }
  .v5 .v5-thdr-rc .v5-thdr-word { display:none; }
  .v5 .v5-thdr-rc .v5-thdr-reopen { display:inline-flex; }
  .v5 .v5-thdr-rc .v5-thdr--norail .v5-thdr-reopen { display:none; }   /* Communication: no rail to reopen */
  /* ⟦item 1066⟧ 1061 follow-up (2): Communication keeps NO rail (Jeffrey: "OK, keep"), but the main rail is still one press away at every width:
     the header's ☰ shows there on a desktop too (below 900px it is the ☰ bar's own) and opens the drawer — "Choose a client" and the tools */
  .v5 .v5-thdr-rc .v5-thdr--norail .v5-thdr-menu { display:inline-flex; }
  .v5 .v5-thdr-drpick { padding:8px 10px 0; }   /* ⟦item 1089⟧ its "Choose a client" card wears the team rail's own card rules (the selector groups at .v5-rail--team .v5-rail-ccard): on Today's phone drawer it had none and drew as a bare browser button */
  /* ⟦item 1066⟧ the black band under the team header at phone width in Light (seen on the client's Overview, 1065's report): the portal's own
     top bar (its refresh, a client page's) kept v4's dark chrome under a light page. In Light it takes the page's grey and hairline. */
  /* (the rule itself sits with the team's other v4-element rules, beside body.is-team .tt-theme: a v5 rule names only v5- classes) */
  .v5 .v5-thdr-rc .v5-rail--team .v5-rail-ctile { display:none; }
  .v5 .v5-thdr-tab--on, .v5 .v5-thdr-tab--on:hover { font-weight:700; }
  .v5 .v5-thdr-cnt { background:var(--v5-team-bg); color:var(--v5-team-ink); border:1px solid var(--v5-team-line); }
  .v5 .v5-thdr-tab--on .v5-thdr-cnt { background:var(--v5-team-ink); color:var(--v5-panel); border-color:var(--v5-team-ink); }
  .v5 .v5-thdr-search { width:auto; min-width:200px; height:34px; gap:8px; justify-content:flex-start; padding:0 8px 0 10px; border:1px solid var(--v5-line); background:var(--v5-panel2); color:var(--v5-text3); font-family:var(--v5-font); font-size:13px; font-weight:500; }
  .v5 .v5-thdr-sq { flex:1 1 auto; text-align:left; }
  .v5 .v5-thdr-slash { display:inline-flex; align-items:center; justify-content:center; min-width:18px; height:18px; padding:0 4px; box-sizing:border-box; border:1px solid var(--v5-line); border-radius:var(--v5-r-chip); background:var(--v5-panel); color:var(--v5-text3); font-family:var(--v5-font); font-size:11px; font-weight:700; }
  .v5 .v5-tnarrow .v5-thdr-search { width:34px; min-width:0; padding:0; justify-content:center; border:0; background:none; }
  .v5 .v5-tnarrow .v5-thdr-sq, .v5 .v5-tnarrow .v5-thdr-slash { display:none; }
  .v5 .v5-thdr-mi { gap:10px; }
  .v5 .v5-thdr-mic { display:inline-flex; flex:0 0 16px; justify-content:center; color:var(--v5-text3); }
  .v5 .v5-thdr-mi--on .v5-thdr-mic { color:inherit; }
  /* the rail's top row: the mark + "Media Review" (no Home row), the header's height, a hairline under it */
  .v5 .v5-rail-hbrand { height:56px; flex:0 0 56px; box-sizing:border-box; padding:0 12px 0 16px; border-bottom:1px solid var(--v5-line); }
  .v5 .v5-rail--team .v5-rail-hbrand .v5-rail-tbrand-t { font-size:12px; color:var(--v5-text); }
  .v5 .v5-rail--team .v5-rail-hmark { gap:8px; }
  .v5 .v5-rail--collapsed .v5-rail-hbrand { display:none; }   /* closed: the mark is in the header */
  /* the client rail: full height from the top, beside the header (the shell keeps its 56px for the page; the rail climbs into it) */
  .v5 .v5-thdr-ro .v5-rail--team:not(.v5-trail) { margin-top:-56px; }   /* the client rail (aside#v5-rail; the team-wide rail is a .v5-trail): no id selector in a v5 rule (v5-client-rail) */
  /* the switcher's name wraps to two lines (never "Edgeworth E…") */
  .v5 .v5-thdr-on .v5-rail--team .v5-rail-cc-code, .v5 .v5-thdr-on .v5-thdr-drpick .v5-rail-cc-code { white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow-wrap:anywhere; font-size:15px; line-height:1.25; }
  /* Overview and Schedule: the same plain outline icon (no box) */
  .v5 .v5-thdr-on .v5-rail--team:not(.v5-rail--collapsed) .v5-rail-schedule { gap:8px; align-items:center; }
  .v5 .v5-thdr-on .v5-rail--team:not(.v5-rail--collapsed) .v5-rail-schedule .v5-rail-tile { display:flex; flex:0 0 14px; width:14px; height:18px; background:none; }
  /* the team-wide pages: their rail again, full height, under nothing (the page column below the header) */
  /* shown ONLY with the rail open at a desktop width (v5-thdr-ro): under .v5-thdr-on it out-ranked the phone's hide and covered the page at 390 (found on production after the first deploy) */
  .v5 .v5-thdr-ro .v5-th .v5-rail--thdr, .v5 .v5-thdr-ro .v5-pst .v5-rail--thdr { display:flex; }
  .v5 .v5-thdr-ro .v5-th, .v5 .v5-thdr-ro .v5-pst { top:0; }
  .v5 .v5-thdr-ro .v5-th .v5-trail-wrap { display:flex; margin:0 -24px; }
  .v5 .v5-thdr-ro .v5-th .v5-trail-wrap > .v5-th-col { padding-top:56px; padding-right:24px; }
  .v5 .v5-thdr-rc .v5-rail--thdr, .v5 .v5-tnarrow .v5-rail--thdr { display:none; }
  .v5 .v5-thdr-ro .v5-pst { padding-top:56px; box-sizing:border-box; }
  .v5 .v5-thdr-ro .v5-pst .v5-rail--thdr { margin-top:-56px; height:100vh; }
  .v5 .v5-rail--thdr .v5-rail-nav { padding:12px 10px; }
  .v5 .v5-thdr-ro .v5-av .v5-trail-wrap { gap:28px; }
  .v5 .v5-thdr-ro .v5-av .v5-trail-wrap > .v5-th-col { padding-top:72px; }   /* Activity's column had no top of its own (its eyebrow sat on the bar) */
  .v5 .v5-rail--thdr .v5-rail-cc-tile, .v5 .v5-thdr-drpick .v5-rail-cc-tile { color:var(--v5-text3); }
  /* ⟦item 1066⟧ addendum 3 (Jeffrey, Nov 9) REPLACES 1061's "left-aligned next to the rail": ONE WIDE-SCREEN RULE FOR EVERY TEAM PAGE — the
     content CENTRED in the space right of the rail, never stuck to the left. One shared max width, --v5-tl-maxw (1,400px: Home, a client's
     Overview, Status, Activity, Shared links, Team, Emails, Vimeo, Dropbox, Coming off Stream, Finished work), and one narrower one for the
     reading pages, --v5-tl-maxw-read (1,160px: a project, a deliverable / episode, Schedule, Messages, Recently deleted, Reports). Card lists
     flow 2–3 across (a card never under --v5-tl-card-min, 400px), one across on a phone; their section headings sit above the grid, full
     width. Team only: .v5-thdr-on / -ro / -rc are a team session's body classes (v5ThdrBodySync), never a client's, a guest's or See as
     client's. Left alone (their own layout): Communication's three columns, the review page, a transcript with footage, Story Builder. */
  .v5 .v5-thdr-ro main, .v5 .v5-thdr-rc main { max-width:none; margin-left:0; margin-right:0; padding-left:32px; padding-right:32px; }
  .v5 .v5-thdr-ro .v5-page:not(.v5-arc), .v5 .v5-thdr-rc .v5-page:not(.v5-arc) { max-width:var(--v5-tl-maxw-read); margin-left:auto; margin-right:auto; }
  .v5 .v5-thdr-ro .v5-page.v5-landing, .v5 .v5-thdr-rc .v5-page.v5-landing, .v5 .v5-thdr-ro .v5-page.v5-arc, .v5 .v5-thdr-rc .v5-page.v5-arc { max-width:var(--v5-tl-maxw); margin-left:auto; margin-right:auto; }
  .v5 .v5-thdr-on .v5-th .v5-th-col { max-width:var(--v5-tl-maxw); margin-left:auto; margin-right:auto; }
  .v5 .v5-thdr-on .v5-th .v5-th-grid, .v5 .v5-thdr-on .v5-cards--landing { grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--v5-tl-card-min)), 1fr)); }
  .v5 .v5-thdr-on .v5-th .v5-th-grid--none { grid-template-columns:repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }   /* "Nothing open": small entries, more across */
  /* the deliverable page's title block: no eyebrow, ~40% shorter (160 → 96px) */
  .v5 .v5-banner.v5-banner--tep { height:96px; }
  .v5 .v5-cl .v5-banner--tep .v5-title { font-size:34px; }
  .v5 .v5-tlpg .v5-eptr-link--team { color:var(--v5-team-ink); }   /* "View all project transcripts ›" in Light: the light steel (its dark steel is a pale blue on paper) */
  /* ══ ⟦item 1070⟧ TODAY-1 — the team's Today / client / project pages, Clients, the header's search box and its dropdown, Write. Team only:
     every element here is drawn by tdOn()'s code alone (a client, a guest and See as client never get one). Dark = the mock's dark set;
     Light (body.v5-tlpg, 1066's --v5-tl-* tokens: the page grey, white cards, the Needs you box, steel, rust). ══ */
  .v5 .v5-td, .v5 .v5-td-sd, .v5 .v5-td-mwrap { --td-bg:var(--v5-bg); --td-card:var(--v5-panel2); --td-line:var(--v5-line); --td-text:var(--v5-text); --td-sub:var(--v5-text2); --td-muted:var(--v5-text3); --td-steel:var(--v5-rp-lt-steel); --td-steelT:var(--v5-team-ink);
    --td-pill:var(--v5-chip); --td-needs:var(--v5-panel3); --td-needsB:var(--v5-line); --td-rust:var(--v5-rust); --td-amber:rgba(240,196,106,1); --td-ok:var(--v5-green); --td-violet:var(--v5-tr-violet); --td-violetBg:rgba(150,120,230,.16); --td-gold:rgba(251,176,59,.16); --td-teal:var(--v5-cv-teal-dk); --td-tealBg:rgba(64,170,160,.16);
    --td-white:var(--v5-tl-card); --td-err:var(--v5-bad);
    --td-hero:linear-gradient(135deg, rgba(61,111,158,.38) 0%, rgba(84,62,120,.30) 60%, rgba(110,62,110,.28) 100%), var(--v5-panel2); --td-heroB:var(--v5-line); --td-shadow:0 8px 24px rgba(0,0,0,.35); }
  .v5 .v5-tlpg .v5-td, .v5 .v5-tlhdr .v5-td-sd, .v5 .v5-tlpg .v5-td-mwrap { --td-bg:var(--v5-tl-page); --td-card:var(--v5-tl-card); --td-line:var(--v5-tl-line); --td-text:var(--v5-rp-lt-ink); --td-sub:var(--v5-rp-lt-ink2); --td-muted:var(--v5-tl-meta);
    --td-steel:var(--v5-tl-steel); --td-steelT:var(--v5-tl-steel); --td-pill:var(--v5-tl-steel-pill); --td-needs:var(--v5-tl-needs-bg); --td-needsB:var(--v5-tl-needs-line); --td-rust:var(--v5-tl-rust); --td-amber:var(--v5-tl-amber);
    --td-ok:var(--v5-tl-green); --td-violet:var(--v5-rp-lt-violet); --td-violetBg:var(--v5-rp-lt-violet-bg); --td-gold:rgba(251,176,59,.22); --td-teal:var(--v5-cv-teal-lt); --td-tealBg:rgba(31,122,114,.12);
    --td-hero:radial-gradient(120% 140% at 0% 0%, rgba(213,228,243,1) 0%, rgba(213,228,243,0) 55%), radial-gradient(120% 140% at 100% 100%, rgba(227,216,243,1) 0%, rgba(227,216,243,0) 55%), rgba(237,240,245,1); --td-heroB:rgba(207,198,227,1); --td-shadow:0 8px 24px rgba(20,30,50,.08); }
  .v5 .v5-td { background:var(--td-bg); color:var(--td-text); }
  .v5 .v5-td .v5-td-col { max-width:1240px; margin-left:auto; margin-right:auto; padding-bottom:80px; }
  .v5 .v5-td .v5-td-col > .v5-td-hero:first-child { margin-top:24px; }
  .v5 .v5-td button, .v5 .v5-td-sd button, .v5 .v5-td-mwrap button { font-family:var(--v5-font); text-transform:none; letter-spacing:normal; }
  /* the rail */
  .v5 .v5-td-rnav { display:flex; flex-direction:column; gap:2px; padding:12px 10px; overflow-y:auto; }
  .v5 .v5-td-cbox { color:var(--td-text); display:flex; align-items:center; gap:10px; width:100%; min-height:44px; padding:6px 10px; margin-bottom:10px; border:1px solid var(--td-line); border-radius:var(--v5-r-box); background:var(--td-card); cursor:pointer; text-align:left; font-size:14px; font-weight:600; }
  .v5 .v5-td-cboxt { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-td-car, .v5 .v5-td-tw { color:var(--td-muted); font-size:12px; }
  .v5 .v5-td-clogo { flex:0 0 28px; width:28px; height:28px; border-radius:var(--v5-r-tchip); display:inline-flex; align-items:center; justify-content:center; background:var(--td-pill); color:var(--td-steelT); font-size:11px; font-weight:700; overflow:hidden; }
  .v5 .v5-td-clogo img { width:100%; height:100%; object-fit:contain; background:var(--td-white); }
  .v5 .v5-td-clogo--lg { flex-basis:44px; width:44px; height:44px; border-radius:var(--v5-r-box); font-size:14px; }
  .v5 .v5-td-rh { margin:16px 10px 6px; font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--td-muted); }
  .v5 .v5-td-rnote { padding:6px 10px; font-size:13px; color:var(--td-muted); }
  .v5 .v5-td-ri { display:flex; align-items:center; gap:6px; width:100%; padding:7px 10px; border:0; border-radius:var(--v5-r-tile); background:none; cursor:pointer; text-align:left; font-size:14px; color:var(--td-text); }
  .v5 .v5-td-ri:hover { background:var(--td-pill); }
  .v5 .v5-td-ri--on { background:var(--td-pill); color:var(--td-steelT); font-weight:600; }
  .v5 .v5-td-ri--del { padding-left:30px; font-size:13px; color:var(--td-sub); }
  .v5 .v5-td-ril { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-td-rin { margin-left:auto; min-width:20px; height:20px; padding:0 6px; box-sizing:border-box; border-radius:var(--v5-r-box); background:var(--td-steel); color:var(--td-white); font-size:11px; font-weight:700; display:inline-flex; align-items:center; justify-content:center; }
  .v5 .v5-td-cmenu { position:fixed; inset:0; z-index:1100; }
  .v5 .v5-td-cmscrim { position:absolute; inset:0; }
  .v5 .v5-td-cmbox { position:absolute; top:120px; left:16px; width:320px; max-height:calc(100vh - 160px); overflow-y:auto; padding:8px; box-sizing:border-box; background:var(--td-card); border:1px solid var(--td-line); border-radius:var(--v5-r-cbox); box-shadow:var(--td-shadow); display:flex; flex-direction:column; gap:2px; }
  .v5 .v5-td-cmq { height:36px; margin-bottom:6px; padding:0 10px; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); background:var(--td-bg); color:var(--td-text); font-family:var(--v5-font); font-size:14px; }
  .v5 .v5-td-cmo { color:var(--td-text); display:flex; align-items:center; gap:10px; width:100%; min-height:40px; padding:6px 8px; border:0; border-radius:var(--v5-r-tile); background:none; cursor:pointer; text-align:left; font-size:14px; }
  .v5 .v5-td-cmo:hover, .v5 .v5-td-cmo--on { background:var(--td-pill); }
  /* ⟦item 1105⟧ the picker's headings, Inactive tag and the Show all line */
  .v5 .v5-td-cmh { padding:10px 10px 4px; font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--td-muted); }
  .v5 .v5-td-cmn { flex:1 1 auto; min-width:0; line-height:1.25; }
  .v5 .v5-td-cmo--dim .v5-td-cmn { color:var(--td-sub); }
  .v5 .v5-td-cmn mark { background:none; color:var(--td-text); font-weight:700; text-decoration:underline; }
  .v5 .v5-td-cminact { flex:0 0 auto; padding:1px 6px; border:1px solid var(--td-line); border-radius:var(--v5-r-chip); font-size:11px; color:var(--td-muted); }
  .v5 .v5-td-cmnone { padding:7px 10px; font-size:13px; color:var(--td-muted); }
  .v5 .v5-td-cmmore { display:block; width:100%; margin-top:6px; padding:10px; border:0; border-top:1px solid var(--td-line); background:none; color:var(--td-muted); font:inherit; font-size:13px; text-align:left; cursor:pointer; }
  .v5 .v5-td-cmmore b { color:var(--td-steelT); font-weight:500; }
  /* the hero */
  .v5 .v5-td-hero { display:flex; align-items:flex-start; gap:16px; padding:22px 24px; border:1px solid var(--td-heroB); border-radius:var(--v5-r-card); background:var(--td-hero); }
  .v5 .v5-td-hmain { flex:1 1 auto; min-width:0; }
  .v5 .v5-td-hlogo { flex:0 0 56px; width:56px; height:56px; border-radius:var(--v5-r-cbox); display:inline-flex; align-items:center; justify-content:center; background:var(--td-card); color:var(--td-steelT); font-weight:700; font-size:18px; overflow:hidden; }
  .v5 .v5-td-hlogo img { width:100%; height:100%; object-fit:contain; background:var(--td-white); }
  .v5 .v5-td-eyebrow { font-size:12px; font-weight:700; letter-spacing:.1em; color:var(--td-sub); }
  .v5 .v5-td-big { margin:6px 0 0; font-size:32px; line-height:1.15; font-weight:700; color:var(--td-text); }
  .v5 .v5-td-big--name { font-size:28px; }
  .v5 .v5-td-hline { margin-top:6px; font-size:14px; color:var(--td-sub); }
  .v5 .v5-td-rust { color:var(--td-rust); }
  .v5 .v5-td-hlate { color:inherit; }   /* ⟦item 1142⟧ 1 · team lateness in plain text, never red */
  .v5 .v5-td-ok { color:var(--td-ok); }
  .v5 .v5-td-violet { color:var(--td-violet); }
  .v5 .v5-td-hbtns { display:flex; gap:8px; flex-wrap:nowrap; justify-content:flex-end; }
  .v5 .v5-td-btn { display:inline-flex; align-items:center; gap:6px; height:36px; padding:0 14px; border:0; border-radius:var(--v5-r-tile); background:var(--td-steel); color:var(--td-white); font-size:14px; font-weight:600; white-space:nowrap; cursor:pointer; text-decoration:none; }
  .v5 .v5-td-btn[disabled] { opacity:.6; cursor:default; }
  .v5 .v5-td-btn2 { display:inline-flex; align-items:center; gap:6px; height:34px; padding:0 12px; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); background:var(--td-card); color:var(--td-text); font-size:13px; white-space:nowrap; cursor:pointer; text-decoration:none; }
  .v5 .v5-td-link { border:0; background:none; padding:0; color:var(--td-steel); text-decoration:underline; cursor:pointer; font-size:inherit; }
  /* tabs */
  .v5 .v5-td-tabs { display:inline-flex; margin-top:18px; padding:3px; border:1px solid var(--td-line); border-radius:var(--v5-r-box); background:var(--td-card); }
  /* ══ ⟦item 1097⟧ THE TEAM CONVERSATION PAGE (Today's project → Conversation). Light and Dark through the page's own --td-* tokens plus the
     bubble colours below (team only = violet, to the client = steel blue, the client = plain grey; gold only for a client's decision and Needs
     reply). Every selector under .v5 and v5- classes only. ══ */
  .v5 .v5-td .v5-cv, .v5 .v5-td .v5-cv-slide, .v5 .v5-td .v5-cv-seg { --cv-team:rgba(84,62,140,.42); --cv-teamB:rgba(150,120,230,.45); --cv-steel:rgba(61,111,158,.30); --cv-steelB:rgba(93,156,214,.45); --cv-client:var(--v5-panel3); --cv-clientB:var(--td-line);
    --cv-card:var(--td-card); --cv-list:var(--td-bg); --cv-on:rgba(93,156,214,.14); --cv-men:rgba(150,120,230,.30); --cv-menT:var(--v5-cv-ink-violet-dk); --cv-gold:rgba(240,196,106,1); --cv-goldBg:rgba(251,176,59,.16); --cv-okBg:rgba(80,180,120,.16); --cv-blue:var(--v5-cv-blue-dk);
    --cv-boxT:rgba(52,42,86,.92); --cv-boxTB:rgba(122,98,196,1); --cv-boxTG:rgba(122,98,196,.16); --cv-boxC:rgba(30,46,66,.95); --cv-boxCB:rgba(70,120,170,1); --cv-boxCG:rgba(70,120,170,.16); --cv-boxSh:rgba(0,0,0,.35); --cv-boxTT:rgba(196,180,240,1); --cv-boxCT:rgba(150,190,230,1); --cv-swOff:rgba(120,128,144,.55); --cv-swOn:var(--td-steel); }   /* ⟦item 1106⟧ the reply box's two looks and the switch */
  .v5 .v5-tlpg .v5-td .v5-cv, .v5 .v5-tlpg .v5-td .v5-cv-slide, .v5 .v5-tlpg .v5-td .v5-cv-seg { --cv-team:rgba(237,231,250,1); --cv-teamB:rgba(196,180,236,1); --cv-steel:rgba(226,236,247,1); --cv-steelB:rgba(170,198,228,1); --cv-client:rgba(241,242,245,1); --cv-clientB:rgba(220,223,230,1);
    --cv-card:var(--td-card); --cv-list:var(--td-card); --cv-on:rgba(61,111,158,.10); --cv-men:rgba(150,120,230,.18); --cv-menT:var(--v5-cv-ink-violet-lt); --cv-gold:var(--td-amber); --cv-goldBg:rgba(251,176,59,.18); --cv-okBg:rgba(60,150,90,.14); --cv-blue:var(--v5-cv-blue-lt);
    --cv-boxT:rgba(245,241,253,1); --cv-boxTB:rgba(150,120,220,1); --cv-boxTG:rgba(150,120,220,.18); --cv-boxC:rgba(236,243,250,1); --cv-boxCB:rgba(80,130,185,1); --cv-boxCG:rgba(80,130,185,.18); --cv-boxSh:rgba(30,40,60,.10); --cv-boxTT:rgba(100,72,180,1); --cv-boxCT:rgba(40,90,140,1); --cv-swOff:rgba(150,156,168,.6); --cv-swOn:var(--td-steel); }   /* ⟦item 1106⟧ Light team colours */
  .v5 .v5-td .v5-cv { display:grid; grid-template-columns:minmax(260px, 320px) minmax(0, 1fr); height:min(calc(100vh - 150px), 920px); min-height:520px; border:1px solid var(--td-line); border-radius:var(--v5-r-box); background:var(--cv-card); overflow:hidden; margin-top:12px; }
  .v5 .v5-td .v5-cv-list { display:flex; flex-direction:column; min-height:0; border-right:1px solid var(--td-line); background:var(--cv-list); }
  .v5 .v5-td .v5-cv-search { padding:12px; border-bottom:1px solid var(--td-line); }
  .v5 .v5-td .v5-cv-q { width:100%; box-sizing:border-box; height:36px; padding:0 12px; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); background:var(--td-card); color:var(--td-text); font:inherit; font-size:13.5px; }
  .v5 .v5-td .v5-cv-lis { overflow-y:auto; min-height:0; flex:1 1 auto; }
  .v5 .v5-td .v5-cv-li { position:relative; display:flex; align-items:flex-start; gap:10px; width:100%; padding:12px 14px 12px 18px; border:0; border-left:3px solid transparent; background:none; color:var(--td-text); text-align:left; cursor:pointer; font-size:14px; }
  .v5 .v5-td .v5-cv-li:hover { background:var(--cv-on); }
  .v5 .v5-td .v5-cv-li--on { background:var(--cv-on); border-left-color:var(--cv-blue); }
  .v5 .v5-td .v5-cv-li--on .v5-cv-ln { color:var(--cv-blue); }
  .v5 .v5-td .v5-cv-dot { position:absolute; left:6px; top:21px; width:7px; height:7px; border-radius:50%; background:var(--cv-blue); }
  .v5 .v5-td .v5-cv-ico { flex:0 0 34px; width:34px; height:34px; border-radius:var(--v5-r-tile); display:inline-flex; align-items:center; justify-content:center; background:var(--td-pill); color:var(--td-sub); font-size:15px; }
  .v5 .v5-td .v5-cv-ico--tile { flex-basis:44px; width:44px; height:32px; background:linear-gradient(135deg, rgba(61,111,158,.55), rgba(40,52,78,.9)); color:var(--v5-cv-white); }
  .v5 .v5-td .v5-cv-lm { display:flex; flex-direction:column; gap:3px; min-width:0; flex:1 1 auto; }
  .v5 .v5-td .v5-cv-lt { display:flex; align-items:baseline; gap:8px; }
  .v5 .v5-td .v5-cv-ln { flex:1 1 auto; min-width:0; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-td .v5-cv-lw { flex:0 0 auto; font-size:12px; color:var(--td-muted); }
  .v5 .v5-td .v5-cv-ls { font-size:13px; color:var(--td-sub); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-td .v5-cv-ls b { color:var(--td-text); font-weight:600; }
  .v5 .v5-td .v5-cv-quiet { color:var(--td-muted); }
  .v5 .v5-td .v5-cv-lp { display:flex; flex-wrap:wrap; gap:6px; margin-top:3px; }
  .v5 .v5-td .v5-cv-div { height:1px; margin:6px 14px; background:var(--td-line); }
  /* ⟦item 1105⟧ B3 rows */
  .v5 .v5-td .v5-cv-one { align-items:center; padding:9px 14px; font-size:13.5px; }
  .v5 .v5-td .v5-cv-one .v5-cv-ln { font-weight:400; color:var(--td-sub); }
  .v5 .v5-td .v5-cv-one .v5-cv-ln--u { font-weight:600; color:var(--td-text); }
  .v5 .v5-td .v5-cv-one .v5-cv-ln--none { color:var(--td-muted); }
  .v5 .v5-td .v5-cv-one.v5-cv-li--on .v5-cv-ln { color:var(--cv-blue); font-weight:600; }
  .v5 .v5-td .v5-cv-one .v5-cv-dot { position:static; flex:0 0 8px; width:8px; height:8px; }
  .v5 .v5-td .v5-cv-nd { flex:0 0 8px; width:8px; }
  .v5 .v5-td .v5-cv-ic { flex:0 0 26px; width:26px; height:26px; border-radius:var(--v5-r-tile); display:inline-flex; align-items:center; justify-content:center; background:var(--td-pill); color:var(--td-sub); font-size:12px; }
  .v5 .v5-td .v5-cv-dt { flex:0 0 auto; font-size:11.5px; color:var(--td-muted); }
  .v5 .v5-td .v5-cv-nr { flex:0 0 auto; font-size:11px; font-weight:600; color:var(--cv-gold); }
  .v5 .v5-td .v5-cv-done { display:block; width:100%; padding:9px 14px 9px 35px; border:0; background:none; color:var(--td-muted); font:inherit; font-size:12.5px; text-align:left; cursor:pointer; }
  .v5 .v5-td .v5-td-col--cv { padding-bottom:0; }
  /* ⟦item 1105⟧ narrow (body.v5-tnarrow, under 900px — the team pages' own narrow switch; the v5 sheet has no media queries): the list above (its own
     scroll), the thread below, the panel one window tall (tdCvFit) */
  .v5 .v5-tnarrow .v5-td .v5-cv { grid-template-columns:minmax(0, 1fr); grid-template-rows:minmax(110px, 26%) minmax(0, 1fr); }
  .v5 .v5-tnarrow .v5-td .v5-cv-list { border-right:0; border-bottom:1px solid var(--td-line); }
  .v5 .v5-tnarrow .v5-td .v5-cv-feed { padding:8px 12px 12px; }
  .v5 .v5-tnarrow .v5-td .v5-cv-boxw { margin:0 10px 10px; }
  .v5 .v5-tnarrow .v5-td .v5-cv-row { max-width:92%; }
  .v5 .v5-tnarrow .v5-td .v5-cv-row--card { width:92%; }
  .v5 .v5-td .v5-cv-pill { display:inline-flex; align-items:center; height:20px; padding:0 8px; border-radius:var(--v5-r-tchip); background:var(--td-pill); color:var(--td-sub); font-size:12px; font-weight:600; white-space:nowrap; }
  .v5 .v5-td .v5-cv-pill--wait { background:var(--cv-goldBg); color:var(--cv-gold); }
  .v5 .v5-td .v5-cv-pill--steel { background:var(--cv-steel); color:var(--td-steelT); }
  .v5 .v5-td .v5-cv-pill--ok { background:var(--cv-okBg); color:var(--td-ok); }
  .v5 .v5-td .v5-cv-needs { display:inline-flex; align-items:center; height:18px; padding:0 6px; border-radius:var(--v5-r-chip); background:var(--cv-goldBg); color:var(--cv-gold); font-size:11px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; white-space:nowrap; }
  .v5 .v5-td .v5-cv-chat { display:flex; flex-direction:column; min-width:0; min-height:0; }
  .v5 .v5-td .v5-cv-head { display:flex; flex-wrap:wrap; align-items:center; gap:8px 10px; padding:14px 20px; border-bottom:1px solid var(--td-line); }   /* ⟦item 1107⟧ 5: wraps — the buttons drop under the title when both do not fit */
  .v5 .v5-td .v5-cv-ht { margin:0; font-size:18px; font-weight:600; color:var(--td-text); min-width:0; white-space:normal; overflow-wrap:anywhere; }   /* ⟦item 1107⟧ 5: the title wraps (it was cut to "E…" beside Show activity at 390) */
  .v5 .v5-td .v5-cv-hb { margin-left:auto; display:flex; flex-wrap:wrap; gap:8px; flex:0 1 auto; min-width:0; }   /* ⟦item 1107⟧ 5b: may shrink, so its buttons wrap inside the pane (at 390 "Open video" ran past the edge) */
  .v5 .v5-td .v5-cv-b1, .v5 .v5-td .v5-cv-b2 { display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 12px; border-radius:var(--v5-r-tile); font-size:13.5px; cursor:pointer; white-space:nowrap; }
  .v5 .v5-td .v5-cv-b1 { border:0; background:var(--td-steel); color:var(--v5-cv-white); font-weight:600; }
  .v5 .v5-td .v5-cv-b2 { border:1px solid var(--td-line); background:transparent; color:var(--cv-blue); }
  .v5 .v5-td .v5-cv-b2:disabled { opacity:.45; cursor:default; }
  .v5 .v5-td .v5-cv-feed { flex:1 1 auto; min-height:0; overflow-y:auto; padding:8px 20px 16px; }
  .v5 .v5-td .v5-cv-day { display:flex; align-items:center; gap:10px; margin:18px 0 10px; font-size:11.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--td-muted); }
  .v5 .v5-td .v5-cv-day::after { content:''; flex:1 1 auto; height:1px; background:var(--td-line); }
  .v5 .v5-td .v5-cv-evl { text-align:center; margin:8px 0; font-size:13px; color:var(--td-muted); }
  .v5 .v5-td .v5-cv-evl--gold { color:var(--cv-gold); }
  .v5 .v5-td .v5-cv-evl .v5-cv-needs { margin-left:6px; }
  .v5 .v5-td .v5-cv-elink { border:0; background:none; padding:0; color:var(--cv-blue); font:inherit; font-size:13px; cursor:pointer; }
  .v5 .v5-td .v5-cv-msg { margin:12px 0; display:flex; flex-direction:column; }
  .v5 .v5-td .v5-cv-msg--r { align-items:flex-end; }
  .v5 .v5-td .v5-cv-meta { display:flex; align-items:center; gap:8px; margin-bottom:4px; font-size:12.5px; color:var(--td-muted); }
  .v5 .v5-td .v5-cv-meta--r { margin-right:42px; }
  .v5 .v5-td .v5-cv-meta--l { margin-left:42px; }
  .v5 .v5-td .v5-cv-who { color:var(--td-text); font-size:14px; font-weight:600; }
  .v5 .v5-td .v5-cv-about { font-size:12px; color:var(--td-muted); }
  .v5 .v5-td .v5-cv-code { display:inline-flex; height:18px; padding:0 6px; align-items:center; border-radius:var(--v5-r-chip); background:var(--td-pill); color:var(--td-sub); font-size:11px; font-weight:700; }
  .v5 .v5-td .v5-cv-tag { display:inline-flex; height:18px; padding:0 7px; align-items:center; border-radius:var(--v5-r-chip); font-size:11.5px; font-weight:600; }
  .v5 .v5-td .v5-cv-tag--team { background:var(--cv-men); color:var(--cv-menT); }
  .v5 .v5-td .v5-cv-tag--ss { background:var(--td-pill); color:var(--td-sub); }
  .v5 .v5-td .v5-cv-row { display:flex; align-items:flex-start; gap:10px; max-width:76%; }
  .v5 .v5-td .v5-cv-row--r { justify-content:flex-end; }
  .v5 .v5-td .v5-cv-row--card { width:min(640px, 76%); }
  .v5 .v5-td .v5-cv-av { flex:0 0 32px; width:32px; height:32px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:11.5px; font-weight:700; color:var(--v5-cv-white); background:var(--v5-cv-av); }
  .v5 .v5-td .v5-cv-av--client { background:var(--v5-cv-av-client); }
  .v5 .v5-td .v5-cv-av--mail { background:var(--v5-cv-av-mail); }
  .v5 .v5-td .v5-cv-av--note { background:var(--v5-cv-av-note); }   /* ⟦item 1105⟧ a Team only note: violet */
  .v5 .v5-td .v5-cv-card--team { border-color:var(--cv-teamB); background:var(--cv-team); }
  .v5 .v5-td .v5-cv-bub { position:relative; padding:10px 14px; border-radius:var(--v5-r-cbox); border:1px solid var(--cv-clientB); background:var(--cv-client); color:var(--td-text); font-size:14.5px; line-height:1.45; overflow-wrap:anywhere; min-width:0; }
  .v5 .v5-td .v5-cv-bub--team { background:var(--cv-team); border-color:var(--cv-teamB); }
  .v5 .v5-td .v5-cv-bub--steel { background:var(--cv-steel); border-color:var(--cv-steelB); }
  .v5 .v5-td .v5-cv-men { padding:0 4px; border-radius:var(--v5-r-chip); background:var(--cv-men); color:var(--cv-menT); font-weight:600; }
  .v5 .v5-td .v5-cv-told { margin:5px 42px 0 0; padding:2px 8px; border-radius:var(--v5-r-chip); background:var(--cv-men); color:var(--cv-menT); font-size:12px; font-weight:600; }
  .v5 .v5-td .v5-cv-edited { margin-top:6px; font-size:12px; color:var(--td-muted); text-align:right; }
  .v5 .v5-td .v5-cv-acts { position:absolute; top:-14px; right:8px; display:none; gap:2px; padding:2px; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); background:var(--td-card); box-shadow:var(--td-shadow); }
  .v5 .v5-td .v5-cv-msg:hover .v5-cv-acts, .v5 .v5-td .v5-cv-acts:focus-within { display:inline-flex; }
  .v5 .v5-td .v5-cv-act { border:0; background:none; padding:3px 8px; border-radius:var(--v5-r-tchip); color:var(--td-text); font-size:12.5px; cursor:pointer; }
  .v5 .v5-td .v5-cv-act--del { color:var(--td-rust); }
  .v5 .v5-td .v5-cv-edit { width:100%; min-width:280px; min-height:64px; box-sizing:border-box; padding:8px; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); background:var(--td-card); color:var(--td-text); font:inherit; }
  .v5 .v5-td .v5-cv-eacts { display:flex; justify-content:flex-end; gap:8px; margin-top:6px; }
  .v5 .v5-td .v5-cv-card { min-width:0; width:100%; padding:12px 16px; border-radius:var(--v5-r-cbox); border:1px solid var(--cv-clientB); background:var(--cv-client); color:var(--td-text); }
  .v5 .v5-td .v5-cv-card--out { border-color:var(--cv-steelB); background:var(--cv-steel); }
  .v5 .v5-td .v5-cv-cl { margin-bottom:6px; font-size:11.5px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:var(--cv-blue); }
  .v5 .v5-td .v5-cv-card--in .v5-cv-cl { color:var(--td-sub); }
  .v5 .v5-td .v5-cv-env { display:grid; grid-template-columns:72px minmax(0, 1fr); gap:3px 10px; font-size:13.5px; }
  .v5 .v5-td .v5-cv-ek { color:var(--td-muted); }
  .v5 .v5-td .v5-cv-ev { color:var(--td-text); overflow-wrap:anywhere; }
  .v5 .v5-td .v5-cv-ev--b { font-weight:700; }
  .v5 .v5-td .v5-cv-first { margin-top:8px; padding-top:8px; border-top:1px solid var(--cv-clientB); font-size:13.5px; font-weight:400; color:var(--td-sub); overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; line-clamp:2; }   /* ⟦item 1106⟧ 2 / 3: the first two lines, plain */
  .v5 .v5-td .v5-cv-cf { display:flex; align-items:center; gap:8px; margin-top:8px; }
  .v5 .v5-td .v5-cv-chip { display:inline-flex; height:22px; padding:0 8px; align-items:center; border-radius:var(--v5-r-tchip); border:1px solid var(--td-line); color:var(--td-sub); font-size:12.5px; }
  .v5 .v5-td .v5-cv-chip--ok { border-color:transparent; background:var(--cv-okBg); color:var(--td-ok); font-weight:600; }
  .v5 .v5-td .v5-cv-chip--bad { border-color:transparent; background:rgba(200,90,60,.16); color:var(--td-rust); font-weight:600; }
  .v5 .v5-td .v5-cv-full { margin-left:auto; border:0; background:none; color:var(--cv-blue); font:inherit; font-size:13.5px; font-weight:600; cursor:pointer; }
  .v5 .v5-td .v5-cv-hi > .v5-cv-row > .v5-cv-bub, .v5 .v5-td .v5-cv-hi > .v5-cv-row > .v5-cv-card, .v5 .v5-td .v5-cv-evl.v5-cv-hi { outline:2px solid var(--cv-blue); outline-offset:2px; }
  .v5 .v5-td .v5-cv-empty, .v5 .v5-td .v5-cv-older { margin:28px 0 8px; text-align:center; font-size:13.5px; color:var(--td-muted); }
  .v5 .v5-td .v5-cv-older { margin:10px 0 0; font-size:12.5px; }
  .v5 .v5-td .v5-cv-cu { margin:14px 20px 0; padding:12px 16px; border:1px solid var(--cv-teamB); border-radius:var(--v5-r-cbox); background:var(--cv-team); }
  .v5 .v5-td .v5-cv-cuh { display:flex; align-items:center; gap:10px; font-weight:600; color:var(--cv-menT); }
  .v5 .v5-td .v5-cv-cuh .v5-cv-x { margin-left:auto; }
  .v5 .v5-td .v5-cv-cul { margin:8px 0; padding-left:20px; font-size:14px; line-height:1.55; color:var(--td-text); }
  .v5 .v5-td .v5-cv-cuf, .v5 .v5-td .v5-cv-cup { font-size:12.5px; color:var(--td-muted); margin:6px 0 0; }
  .v5 .v5-td .v5-cv-x { border:0; background:none; color:var(--td-muted); font-size:15px; cursor:pointer; padding:2px 6px; }
  .v5 .v5-td .v5-cv-boxw { margin:0 12px 12px; }
  /* ⟦item 1113⟧ THE COMPOSER (option D, a little taller; Jeffrey, Nov 13): ONE shared write box (cmpHtml), tokens on .v5-cmp so it sits on any
     team page. Neutral box = the panel-card grey (Dark --v5-panel2; Light --v5-tl-card), 1px grey border, 10px corners, no tint. Focus = a thin
     outline in the mode's colour. Purple only on the Team only pill and Post to team; To <client> turns both gold. */
  .v5 .v5-cmp, .v5 .v5-cmp-w { --cmp-bg:var(--v5-panel2); --cmp-line:rgba(255,255,255,.13); --cmp-ink:var(--v5-text); --cmp-sub:var(--v5-text2); --cmp-muted:var(--v5-text3); --cmp-hover:rgba(255,255,255,.07);
    --cmp-violet:rgba(112,84,206,1); --cmp-violetT:var(--v5-cv-ink-violet-dk); --cmp-violetBg:rgba(150,120,230,.20); --cmp-violetB:rgba(150,120,230,.55); --cmp-onViolet:var(--v5-cv-white);
    --cmp-gold:rgba(245,165,36,1); --cmp-goldT:rgba(245,165,36,1); --cmp-goldBg:rgba(245,165,36,.14); --cmp-goldB:rgba(245,165,36,.55); --cmp-onGold:rgba(27,22,7,1); --cmp-pop:rgba(32,32,38,1); --cmp-shadow:0 10px 28px rgba(0,0,0,.45); }
  .v5 .v5-tlpg .v5-cmp, .v5 .v5-tlpg .v5-cmp-w { --cmp-bg:var(--v5-tl-card); --cmp-line:rgba(196,202,212,1); --cmp-ink:var(--v5-rp-lt-ink); --cmp-sub:var(--v5-rp-lt-ink2); --cmp-muted:var(--v5-tl-meta); --cmp-hover:rgba(20,30,50,.06);
    --cmp-violet:rgba(106,63,192,1); --cmp-violetT:var(--v5-cv-ink-violet-lt); --cmp-violetBg:rgba(150,120,230,.14); --cmp-violetB:rgba(150,120,230,.55);
    --cmp-gold:rgba(201,138,26,1); --cmp-goldT:var(--v5-tl-amber); --cmp-goldBg:rgba(251,176,59,.18); --cmp-goldB:rgba(201,138,26,.6); --cmp-pop:var(--v5-tl-card); --cmp-shadow:0 10px 28px rgba(30,40,60,.16); }
  .v5 .v5-cmp { position:relative; padding:8px 12px 8px; border:1px solid var(--cmp-line); border-radius:var(--v5-r-box); background:var(--cmp-bg); color:var(--cmp-ink); transition:border-color .15s; }
  .v5 .v5-cmp--team:focus-within { border-color:var(--cmp-violet); }
  .v5 .v5-cmp--client:focus-within { border-color:var(--cmp-gold); }
  .v5 .v5-cmp-in { display:block; width:100%; box-sizing:border-box; height:88px; min-height:88px; max-height:180px; resize:none; overflow-y:hidden; border:0; outline:0; background:transparent; color:var(--cmp-ink); font:inherit; font-size:14.5px; line-height:20px; padding:6px 0 4px; }
  .v5 .v5-cmp-in--scroll { overflow-y:auto; }
  .v5 .v5-cmp-in::placeholder { color:var(--cmp-muted); opacity:1; }
  .v5 .v5-cmp-fmt { display:none; align-items:center; gap:2px; margin:2px -4px 0; padding:4px 0 2px; border-top:1px solid var(--cmp-line); }
  .v5 .v5-cmp--aa .v5-cmp-fmt { display:flex; }
  .v5 .v5-cmp-bar { display:flex; align-items:center; flex-wrap:wrap; gap:6px 8px; padding-top:6px; }
  .v5 .v5-cmp-l { position:relative; display:flex; align-items:center; gap:8px; min-width:0; }
  .v5 .v5-cmp-r { display:flex; align-items:center; gap:2px; margin-left:auto; }
  .v5 .v5-cmp-mode { display:inline-flex; align-items:center; gap:5px; height:28px; padding:0 10px; border:1px solid var(--cmp-line); border-radius:var(--v5-r-tchip); background:transparent; color:var(--cmp-sub); font:inherit; font-size:13px; font-weight:600; white-space:nowrap; cursor:pointer; }
  .v5 .v5-cmp-mode--team { border-color:var(--cmp-violetB); background:var(--cmp-violetBg); color:var(--cmp-violetT); }
  .v5 .v5-cmp-mode--client { border-color:var(--cmp-goldB); background:var(--cmp-goldBg); color:var(--cmp-goldT); }
  .v5 .v5-cmp-mode--fixed { cursor:default; }
  .v5 .v5-cmp-car { font-size:10px; opacity:.85; }
  .v5 .v5-cmp-menu { position:absolute; left:0; bottom:calc(100% + 6px); z-index:6; min-width:220px; padding:4px; border:1px solid var(--cmp-line); border-radius:var(--v5-r-box); background:var(--cmp-pop); box-shadow:var(--cmp-shadow); }
  .v5 .v5-cmp-menu[hidden] { display:none; }
  .v5 .v5-cmp-mi { display:block; width:100%; padding:8px 10px; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--cmp-ink); font:inherit; font-size:13.5px; text-align:left; cursor:pointer; }
  .v5 .v5-cmp-mi:hover, .v5 .v5-cmp-mi[aria-checked="true"] { background:var(--cmp-hover); }
  .v5 .v5-cmp-about { position:relative; display:inline-flex; align-items:center; gap:4px; min-width:0; margin:0; font-size:13px; font-weight:400; letter-spacing:normal; text-transform:none; color:var(--cmp-muted); white-space:nowrap; }   /* the page's bare `label` rule (uppercase, 0.7rem, block) must not reach it */
  .v5 .v5-cmp-about--fixed { overflow:hidden; text-overflow:ellipsis; max-width:260px; display:inline-block; }
  .v5 .v5-cmp-abs { appearance:none; -webkit-appearance:none; field-sizing:content; max-width:200px; height:28px; padding:0 18px 0 2px; border:0; border-radius:var(--v5-r-tchip); background:transparent; color:var(--cmp-ink); font:inherit; font-size:13px; font-weight:600; text-overflow:ellipsis; cursor:pointer; }
  .v5 .v5-cmp-abs:hover { background:var(--cmp-hover); }
  .v5 .v5-cmp-abs option { background:var(--cmp-pop); color:var(--cmp-ink); }
  .v5 .v5-cmp-about .v5-cmp-car { position:absolute; right:4px; pointer-events:none; color:var(--cmp-sub); }
  .v5 .v5-cmp-tool { min-width:30px; height:30px; padding:0 6px; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--cmp-sub); font:inherit; font-size:14px; cursor:pointer; }
  .v5 .v5-cmp-tool:hover, .v5 .v5-cmp-tool[aria-expanded="true"] { background:var(--cmp-hover); color:var(--cmp-ink); }
  .v5 .v5-cmp-tool:disabled { opacity:.4; cursor:default; }
  .v5 .v5-cmp-aa { font-weight:600; font-size:13.5px; }
  .v5 .v5-cmp-tsep { width:1px; height:16px; margin:0 6px; background:var(--cmp-line); }
  .v5 .v5-cmp-cancel { display:none; height:30px; margin-left:6px; padding:0 8px; border:0; border-radius:var(--v5-r-tchip); background:none; color:var(--cmp-sub); font:inherit; font-size:13.5px; font-weight:600; cursor:pointer; }
  .v5 .v5-cmp--has .v5-cmp-cancel { display:inline-block; }
  .v5 .v5-cmp-cancel:hover { color:var(--cmp-ink); background:var(--cmp-hover); }
  .v5 .v5-cmp-send { height:32px; margin-left:6px; padding:0 14px; border:0; border-radius:var(--v5-r-tchip); font:inherit; font-size:13.5px; font-weight:600; white-space:nowrap; cursor:pointer; }
  .v5 .v5-cmp-send--team { background:var(--cmp-violet); color:var(--cmp-onViolet); }
  .v5 .v5-cmp-send--client { background:var(--cmp-gold); color:var(--cmp-onGold); }
  .v5 .v5-tlpg .v5-cmp-send--client { background:rgba(245,165,36,1); }
  .v5 .v5-cmp-send:disabled { opacity:.6; cursor:default; }
  .v5 .v5-cmp-above { margin:2px 0 2px; font-size:12.5px; color:var(--cmp-sub); }
  .v5 .v5-tnarrow .v5-cmp-r { flex:1 1 100%; min-width:0; justify-content:flex-end; }
  .v5 .v5-tnarrow .v5-cmp-send { flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; }   /* a long client name: "Send to Edgew…" (the whole name is its hover) */
  .v5 .v5-tnarrow .v5-cmp-abs { max-width:150px; }
  .v5 .v5-tnarrow .v5-cmp-about--fixed { max-width:170px; }
  .v5 .v5-td .v5-cv-replying { margin-top:8px; font-size:12.5px; color:var(--td-sub); }
  .v5 .v5-td .v5-cv-emo { position:absolute; right:8px; bottom:44px; display:grid; grid-template-columns:repeat(6, 32px); gap:2px; padding:6px; border:1px solid var(--td-line); border-radius:var(--v5-r-box); background:var(--td-card); box-shadow:var(--td-shadow); z-index:5; }
  .v5 .v5-td .v5-cv-emob { width:32px; height:32px; border:0; border-radius:var(--v5-r-tile); background:none; font-size:18px; cursor:pointer; }
  .v5 .v5-td .v5-cv-emob:hover { background:var(--cv-on); }
  .v5 .v5-td .v5-cv-fchips { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
  .v5 .v5-td .v5-cv-fchips--box { margin:4px 0 6px; }
  .v5 .v5-td .v5-cv-fchip { display:inline-flex; align-items:center; gap:6px; max-width:260px; height:30px; padding:0 8px; border:1px solid var(--cv-teamB); border-radius:var(--v5-r-tile); background:transparent; color:var(--td-text); font-size:13px; cursor:pointer; }
  .v5 .v5-td .v5-cv-fchip span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-td .v5-cv-fchip--box { border-color:var(--td-line); cursor:default; }
  .v5 .v5-td .v5-cv-fchip--err { border-color:var(--td-rust); }
  .v5 .v5-td .v5-cv-fprev { width:22px; height:22px; border-radius:var(--v5-r-chip); object-fit:cover; }
  .v5 .v5-td .v5-cv-requote { margin-bottom:6px; padding-left:8px; border-left:2px solid var(--cv-teamB); font-size:12.5px; color:var(--td-sub); }
  /* ⟦item 1115⟧ a reply under its comment; a long comment folded; "Resolved by" */
  .v5 .v5-td .v5-cv-thread { margin:-6px 0 10px; }
  .v5 .v5-td .v5-cv-thread .v5-cv-msg--r { margin-right:28px; }
  .v5 .v5-td .v5-cv-thread .v5-cv-msg--l { margin-left:28px; }
  .v5 .v5-td .v5-cv-fold { max-height:13.5em; overflow:hidden; -webkit-mask-image:linear-gradient(currentColor 72%, transparent); mask-image:linear-gradient(currentColor 72%, transparent); }
  .v5 .v5-td .v5-cv-fold--open { max-height:none; -webkit-mask-image:none; mask-image:none; }
  .v5 .v5-td .v5-cv-more { display:block; margin-top:4px; padding:0; border:0; background:none; color:var(--cv-blue); font:inherit; font-size:12.5px; font-weight:600; cursor:pointer; }
  .v5 .v5-td .v5-cv-res { margin-top:6px; font-size:12px; font-weight:600; color:var(--td-sub); }
  .v5 .v5-td .v5-cv-hand { margin:4px 0 0 42px; font-size:12.5px; color:var(--td-muted); }
  .v5 .v5-td .v5-cv-bub ul, .v5 .v5-td .v5-cv-bub ol { margin:4px 0; padding-left:20px; }
  .v5 .v5-td .v5-cv-bub blockquote { margin:4px 0; padding-left:10px; border-left:3px solid var(--cv-teamB); color:var(--td-sub); }
  .v5 .v5-td .v5-cv-bub a { color:var(--cv-blue); }
  /* ⟦item 1106⟧ 7: the Show activity switch and "N activity hidden ›" */
  .v5 .v5-td .v5-cv-sw { display:inline-flex; align-items:center; gap:7px; height:32px; padding:0 4px; border:0; background:none; color:var(--td-sub); font:inherit; font-size:12.5px; cursor:pointer; white-space:nowrap; }
  .v5 .v5-td .v5-cv-kn { position:relative; width:30px; height:17px; border-radius:var(--v5-r-tchip); background:var(--cv-swOff); transition:background .2s; }
  .v5 .v5-td .v5-cv-kn::after { content:''; position:absolute; top:2px; left:2px; width:13px; height:13px; border-radius:50%; background:var(--v5-cv-white); transition:left .2s; }
  .v5 .v5-td .v5-cv-sw--on .v5-cv-kn { background:var(--cv-swOn); }
  .v5 .v5-td .v5-cv-sw--on .v5-cv-kn::after { left:15px; }
  .v5 .v5-td .v5-cv-hid { display:block; margin:2px auto 6px; border:0; background:none; color:var(--td-muted); font:inherit; font-size:11.5px; cursor:pointer; }
  .v5 .v5-td .v5-cv-hid:hover { color:var(--td-sub); }
  .v5 .v5-td .v5-td-fsp { flex:1 1 auto; }
  .v5 .v5-td .v5-td-hidrow { padding:4px 0; }
  .v5 .v5-td .v5-cv-err { margin-top:6px; font-size:13px; color:var(--td-err); }
  .v5 .v5-td .v5-cv-mpop { position:absolute; left:8px; bottom:calc(100% + 6px); width:340px; max-width:90%; padding:8px; border:1px solid var(--td-line); border-left:3px solid var(--cv-teamB); border-radius:var(--v5-r-box); background:var(--td-card); box-shadow:var(--td-shadow); z-index:5; }
  .v5 .v5-td .v5-cv-mpop[hidden] { display:none; }
  .v5 .v5-td .v5-cv-mh { padding:4px 8px 6px; font-size:11px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:var(--td-muted); }
  .v5 .v5-td .v5-cv-mq { padding:6px 8px; font-size:13px; color:var(--td-muted); }
  .v5 .v5-td .v5-cv-mp { display:flex; align-items:center; gap:10px; width:100%; padding:6px 8px; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--td-text); font-size:14px; cursor:pointer; text-align:left; }
  .v5 .v5-td .v5-cv-mp--on, .v5 .v5-td .v5-cv-mp:hover { background:var(--cv-on); }
  .v5 .v5-td .v5-cv-mp .v5-cv-av { flex-basis:26px; width:26px; height:26px; font-size:10px; }
  .v5 .v5-td .v5-cv-mpn { flex:1 1 auto; }
  .v5 .v5-td .v5-cv-mpr { font-size:12.5px; color:var(--td-muted); }
  .v5 .v5-td .v5-cv-seg { display:inline-flex; margin-left:auto; padding:3px; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); background:var(--td-card); }
  .v5 .v5-td .v5-cv-segb { height:30px; padding:0 12px; border:0; border-radius:var(--v5-r-tchip); background:none; color:var(--td-sub); font-size:14px; cursor:pointer; }
  .v5 .v5-td .v5-cv-segb--on { background:var(--td-pill); color:var(--td-text); }
  .v5 .v5-td .v5-cv-slide { position:fixed; top:52px; right:0; bottom:0; width:min(580px, 94vw); z-index:2000; display:flex; flex-direction:column; background:var(--td-card); border-left:1px solid var(--td-line); box-shadow:-12px 0 32px rgba(0,0,0,.35); color:var(--td-text); }
  .v5 .v5-td .v5-cv-sh { display:flex; align-items:center; gap:10px; padding:16px 20px; border-bottom:1px solid var(--td-line); font-size:15px; }
  .v5 .v5-td .v5-cv-sh .v5-cv-x { margin-left:auto; }
  .v5 .v5-td .v5-cv-tag--mail { background:var(--cv-steel); color:var(--cv-blue); }
  .v5 .v5-td .v5-cv-sb { flex:1 1 auto; overflow-y:auto; padding:16px 20px; }
  .v5 .v5-td .v5-cv-env--s { grid-template-columns:90px minmax(0, 1fr); margin-bottom:16px; }
  .v5 .v5-td .v5-cv-frame { width:100%; min-height:240px; border:0; border-radius:var(--v5-r-cbox); background:var(--v5-cv-frame); }
  .v5 .v5-td .v5-cv-fullt { padding:14px 16px; border-radius:var(--v5-r-box); background:var(--cv-client); border:1px solid var(--cv-clientB); white-space:pre-wrap; font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
  .v5 .v5-td .v5-cv-files { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
  .v5 .v5-td .v5-cv-sf { display:flex; gap:8px; padding:14px 20px; border-top:1px solid var(--td-line); }
  .v5 .v5-td .v5-cv-sp { flex:1 1 auto; }
  .v5 .v5-td .v5-cv-tabrow { display:flex; align-items:flex-end; gap:12px; flex-wrap:wrap; }
  .v5 .v5-td .v5-cv-tabrow .v5-cv-seg { margin-top:18px; }
  /* ⟦item 1114⟧ the Conversation page on its own: its head (the client · Conversation, the project's name, the project picker, Open the project)
     and the links to Communication's Needs you, Team general, the client's General and All emails */
  .v5 .v5-td .v5-cvs-head { display:flex; align-items:flex-end; justify-content:space-between; gap:12px 16px; flex-wrap:wrap; margin-top:24px; }
  .v5 .v5-td .v5-cvs-t { min-width:0; }
  .v5 .v5-td .v5-cvs-r { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
  .v5 .v5-td .v5-cvs-pick { display:inline-flex; align-items:center; gap:8px; margin:0; font-size:13px; font-weight:400; letter-spacing:normal; text-transform:none; color:var(--td-sub); }
  .v5 .v5-td .v5-cvs-sel { height:34px; max-width:260px; padding:0 8px; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); background:var(--td-card); color:var(--td-text); font-family:var(--v5-font); font-size:13px; }
  .v5 .v5-td .v5-cvs-links { display:flex; gap:6px 18px; flex-wrap:wrap; margin-top:10px; font-size:13px; }
  .v5 .v5-td .v5-cvs-a { color:var(--td-steelT); text-decoration:none; }
  .v5 .v5-td .v5-cvs-a:hover { text-decoration:underline; }
  /* ⟦item 1098⟧ MESSAGES (desktop: the list beside the project's Conversation; a phone: each a full screen) */
  .v5 .v5-td .v5-mxs { padding-top:0; }
  .v5 .v5-td .v5-mx { display:grid; grid-template-columns:minmax(300px, 360px) minmax(0, 1fr); gap:0; margin-top:16px; border:1px solid var(--td-line); border-radius:var(--v5-r-box); background:var(--td-card); min-height:calc(100vh - 110px); overflow:hidden; }
  .v5 .v5-td .v5-mx-side { display:flex; flex-direction:column; min-width:0; border-right:1px solid var(--td-line); }
  .v5 .v5-td .v5-mx-head { display:flex; align-items:center; gap:6px; padding:14px 14px 6px; }
  .v5 .v5-td .v5-mx-h1 { margin:0; font-size:22px; font-weight:600; color:var(--td-text); }
  .v5 .v5-td .v5-mx-sp { flex:1 1 auto; }
  /* ⟦item 1149⟧ the last copy's hint: small grey words beside the title while the refresh runs */
  .v5 .v5-td .v5-mxc-hint { flex:none; margin-left:8px; font-size:12px; color:var(--td-muted); white-space:nowrap; }
  .v5 .v5-td .v5-mxc-hint--off { white-space:normal; color:var(--td-sub); }
  .v5 .v5-td .v5-mx-ib { width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); background:transparent; color:var(--td-sub); font-size:18px; cursor:pointer; }
  .v5 .v5-td .v5-mx-ib:hover, .v5 .v5-td .v5-mx-ib[aria-pressed="true"] { color:var(--td-text); background:var(--td-pill); }
  .v5 .v5-td .v5-mx-search { padding:4px 14px 6px; }
  .v5 .v5-td .v5-mx-q { width:100%; box-sizing:border-box; height:34px; padding:0 10px; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); background:var(--td-bg); color:var(--td-text); font:inherit; font-size:14px; }
  .v5 .v5-td .v5-mx-tabs { display:flex; gap:4px; padding:6px 12px 10px; border-bottom:1px solid var(--td-line); }
  .v5 .v5-td .v5-mx-tab { border:0; border-radius:var(--v5-r-tchip); padding:6px 11px; background:transparent; color:var(--td-sub); font:inherit; font-size:13px; cursor:pointer; white-space:nowrap; }
  .v5 .v5-td .v5-mx-tab--on { background:var(--td-pill); color:var(--td-text); font-weight:600; }
  .v5 .v5-td .v5-mx-rows { flex:1 1 auto; overflow:auto; }
  .v5 .v5-td .v5-mx-row { display:flex; align-items:flex-start; gap:10px; width:100%; padding:11px 14px; border:0; border-bottom:1px solid var(--td-line); background:transparent; color:var(--td-text); text-align:left; font:inherit; cursor:pointer; box-sizing:border-box; }
  .v5 .v5-td .v5-mx-row:hover { background:var(--td-pill); }
  .v5 .v5-td .v5-mx-row--on { background:var(--td-pill); box-shadow:inset 3px 0 0 var(--td-steelT); }
  .v5 .v5-td .v5-mx-dot { flex:none; width:8px; height:8px; margin-top:6px; border-radius:50%; }
  .v5 .v5-td .v5-mx-dot--on { background:var(--v5-mx-dot); }
  .v5 .v5-td .v5-mx-rb { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:2px; }
  .v5 .v5-td .v5-mx-eb { font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--td-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-td .v5-mx-item { font-size:12px; color:var(--td-sub); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-td .v5-mx-who { font-weight:600; font-size:14px; display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
  .v5 .v5-td .v5-mx-pv { font-size:13px; color:var(--td-sub); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-td .v5-mx-time { flex:none; font-size:12px; color:var(--td-muted); }
  .v5 .v5-td .v5-mx-time--gold { color:var(--v5-mx-gold-ink); font-weight:600; }
  .v5 .v5-td .v5-mx-tag { font-size:11px; font-weight:600; padding:1px 7px; border-radius:var(--v5-r-chip); }
  .v5 .v5-td .v5-mx-tag--need { background:var(--td-gold); color:var(--v5-mx-need-ink); }
  .v5 .v5-td .v5-mx-tag--at { background:var(--td-violetBg); color:var(--td-violet); }
  .v5 .v5-td .v5-mx-note { margin:18px 14px; color:var(--td-sub); font-size:14px; }
  .v5 .v5-td .v5-mx-al { display:flex; align-items:center; gap:10px; margin:4px 14px 8px; padding:10px 12px; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); font-size:13px; color:var(--td-sub); }
  .v5 .v5-td .v5-mx-al--off { display:block; }
  .v5 .v5-td .v5-mx-alb { flex:none; border:0; border-radius:var(--v5-r-tile); padding:7px 12px; background:var(--v5-gold); color:var(--v5-mx-gold-on); font:inherit; font-weight:700; font-size:13px; cursor:pointer; }
  .v5 .v5-td .v5-mx-bbar { display:none; }
  .v5 .v5-td .v5-mx-main { display:flex; flex-direction:column; min-width:0; padding:0 18px 12px; }
  .v5 .v5-td .v5-mx-main--empty { align-items:center; justify-content:center; }
  .v5 .v5-td .v5-mx-thead { display:flex; align-items:center; gap:10px; padding:12px 0 8px; border-bottom:1px solid var(--td-line); }
  .v5 .v5-td .v5-mx-tn { font-size:17px; font-weight:600; color:var(--td-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-td .v5-mx-tt { min-width:0; }
  .v5 .v5-td .v5-mx-back { display:none; border:0; background:transparent; color:var(--td-steelT); font-size:26px; line-height:1; padding:0 6px 0 0; cursor:pointer; }
  .v5 .v5-td .v5-mx .v5-cv-list { display:none; }
  .v5 .v5-td .v5-mx .v5-cv { grid-template-columns:minmax(0, 1fr); grid-template-rows:minmax(0, 1fr); }   /* one pane (its list hidden): the chat takes the whole height, a phone too (the phone rule gives the list a first row) */
  .v5 .v5-thdr-cnt.v5-mx-cnt { background:var(--v5-gold); color:var(--v5-mx-gold-on); }
  /* where it goes (above the composer): what it is and where it lands; About is the box's own select (a phone shows it here) */
  .v5 .v5-mx-where { display:flex; align-items:center; gap:8px; margin:0 0 6px; font-size:12px; color:var(--cmp-sub, var(--v5-text2)); }
  .v5 .v5-mx-where--cl .v5-mx-wl { color:var(--v5-mx-gold-line); }
  .v5 .v5-mx-where .v5-mx-sp { flex:1 1 auto; }
  .v5 .v5-mx-wabout { display:none; }
  /* the full email: its tag, the folded earlier message, the logged line */
  .v5 .v5-mx-etag { margin-left:6px; font-size:11px; font-weight:600; padding:1px 7px; border-radius:var(--v5-r-chip); background:rgba(55,138,221,.16); color:var(--v5-mx-blue-ink); }
  .v5 .v5-mx-etag--in { background:rgba(251,176,59,.18); color:var(--v5-mx-gold-ink); }
  .v5 .v5-mx-earlier { margin-top:10px; }
  .v5 .v5-mx-earlier summary { cursor:pointer; color:var(--v5-team-ink); font-size:13px; }
  .v5 .v5-mx-logl { margin-top:12px; }
  /* THE SENDING-AS CARD and the From sheet (team only) */
  .v5 .v5-snd { margin:0 0 8px; }
  .v5 .v5-snd-card { display:flex; align-items:center; gap:10px; width:100%; box-sizing:border-box; padding:9px 12px; border:1px solid var(--v5-snd-line); border-left:4px solid var(--v5-snd-edge); border-radius:var(--v5-r-box); background:linear-gradient(135deg, var(--v5-snd-bg1), var(--v5-snd-bg2)); color:var(--v5-snd-ink); font:inherit; text-align:left; cursor:pointer; }
  .v5 .v5-snd-mark { flex:none; }
  .v5 .v5-snd-t { display:flex; flex-direction:column; min-width:0; }
  .v5 .v5-snd-k { font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:var(--v5-snd-sub); }
  .v5 .v5-snd-n { font-size:14px; font-weight:600; color:var(--v5-snd-name); }
  .v5 .v5-snd-a { font-size:12px; color:var(--v5-snd-sub); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-snd-under { margin-top:5px; font-size:12px; color:var(--v5-text3); }
  .v5 .v5-snd-host { position:fixed; inset:0; z-index:4000; }
  .v5 .v5-snd-opt { display:flex; align-items:center; gap:10px; padding:11px 12px; margin-top:8px; border:1px solid var(--v5-snd-line); border-left:4px solid var(--v5-snd-edge); border-radius:var(--v5-r-box); background:linear-gradient(135deg, var(--v5-snd-bg1), var(--v5-snd-bg2)); color:var(--v5-snd-ink); }
  .v5 .v5-snd-opt--br { border-color:var(--v5-sndb-line); border-left-color:var(--v5-sndb-edge); background:linear-gradient(135deg, var(--v5-sndb-bg1), var(--v5-sndb-bg2)); color:var(--v5-sndb-ink); }
  .v5 .v5-snd-opt--br .v5-snd-n { color:var(--v5-sndb-ink); }
  .v5 .v5-snd-opt--br .v5-snd-a { color:var(--v5-sndb-sub); }
  .v5 .v5-snd-opt--lock { opacity:.85; cursor:not-allowed; }
  /* ⟦item 1128⟧ the card when the worker says the agency's own sender (a direct client): the From sheet's Brand Ready colours */
  .v5 .v5-snd--br .v5-snd-card { border-color:var(--v5-sndb-line); border-left-color:var(--v5-sndb-edge); background:linear-gradient(135deg, var(--v5-sndb-bg1), var(--v5-sndb-bg2)); color:var(--v5-sndb-ink); }
  .v5 .v5-snd--br .v5-snd-n { color:var(--v5-sndb-ink); }
  .v5 .v5-snd--br .v5-snd-k, .v5 .v5-snd--br .v5-snd-a { color:var(--v5-sndb-sub); }
  .v5 .v5-snd-br { flex:none; width:34px; height:34px; object-fit:contain; background:var(--v5-snd-tile); border-radius:var(--v5-r-chip); padding:3px; box-sizing:border-box; }
  .v5 .v5-snd-ok, .v5 .v5-snd-lk { margin-left:auto; }
  /* ⟦item 1171b⟧ the picker: steel (a team control) whoever is chosen; initials for a person, the mark for the portal */
  .v5 .v5-snd-av { flex:none; width:30px; height:30px; border-radius:50%; display:grid; place-items:center; font-size:11px; font-weight:700; letter-spacing:.02em; background:var(--v5-snd-bg1); color:var(--v5-snd-name); border:1px solid var(--v5-snd-edge); box-sizing:border-box; }
  .v5 .v5-snd-opt--pick { width:100%; box-sizing:border-box; font:inherit; text-align:left; cursor:pointer; }
  .v5 .v5-snd-opt--pick.v5-snd-opt--on { box-shadow:0 0 0 1px var(--v5-snd-edge); }
  .v5 .v5-snd-opt--pick .v5-snd-ok { color:var(--v5-snd-name); font-weight:700; }
  .v5 .v5-snd-why { margin-top:10px; font-size:12px; color:var(--v5-snd-sub); }
  .v5 .v5-snd--sched .v5-snd-under { margin-top:0; }
  .v5 .v5-sentas { display:inline-block; margin-left:6px; padding:0 8px; border-radius:var(--v5-r-chip); font-size:11px; font-weight:700; line-height:18px; background:var(--v5-snd-bg1); color:var(--v5-cv-ink-violet-dk); border:1px solid var(--v5-snd-line); vertical-align:middle; }   /* ⟦item 1171b⟧ team only */
  /* sheets (New message, From) and the compose / reply screen */
  .v5 .v5-mx-scrim { position:fixed; inset:0; z-index:3000; background:rgba(0,0,0,.45); }
  .v5 .v5-mx-sheet { position:fixed; left:50%; top:12vh; transform:translateX(-50%); z-index:3001; width:min(440px, 94vw); max-height:76vh; display:flex; flex-direction:column; border:1px solid var(--v5-line); border-radius:var(--v5-r-strip); background:var(--v5-panel2); color:var(--v5-text); box-shadow:0 18px 50px rgba(0,0,0,.5); }
  .v5 .v5-mx-shh { display:flex; align-items:center; gap:8px; padding:12px 14px; border-bottom:1px solid var(--v5-line); }
  .v5 .v5-mx-shh .v5-mx-sp { flex:1 1 auto; }
  .v5 .v5-mx-shb { overflow:auto; padding:6px 14px 14px; }
  .v5 .v5-mx-sl { margin:12px 0 4px; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-mx-pick { display:block; width:100%; padding:11px 10px; border:0; border-bottom:1px solid var(--v5-line); background:transparent; color:var(--v5-text); font:inherit; font-size:15px; text-align:left; cursor:pointer; }
  .v5 .v5-mx-pick:hover { background:var(--v5-chip); }
  .v5 .v5-mx-cmp { position:fixed; z-index:2100; right:0; top:56px; bottom:0; width:min(560px, 100vw); display:flex; flex-direction:column; background:var(--td-card, var(--v5-panel2)); color:var(--td-text, var(--v5-text)); border-left:1px solid var(--td-line, var(--v5-line)); box-shadow:-12px 0 40px rgba(0,0,0,.35); }
  .v5 .v5-mx-cmph { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:12px 14px; border-bottom:1px solid var(--td-line, var(--v5-line)); }
  .v5 .v5-mx-cancel { min-width:60px; border:0; background:transparent; color:var(--v5-team-ink); font:inherit; font-size:15px; text-align:left; cursor:pointer; }
  .v5 .v5-mx-cmpb { flex:1 1 auto; overflow:auto; padding:12px 14px 16px; }
  .v5 .v5-mx-f { margin:0; text-transform:none; letter-spacing:normal; font-weight:400; display:flex; align-items:flex-start; gap:8px; padding:7px 0; border-bottom:1px solid var(--td-line, var(--v5-line)); font-size:14px; }
  .v5 .v5-mx-fl { flex:none; width:58px; padding-top:5px; color:var(--td-muted, var(--v5-text3)); }
  .v5 .v5-mx-chips { display:flex; flex-wrap:wrap; gap:6px; min-width:0; }
  .v5 .v5-mx-chip { border:1px solid var(--td-line, var(--v5-line)); border-radius:var(--v5-r-card); padding:4px 10px; background:transparent; color:var(--td-sub, var(--v5-text2)); font:inherit; font-size:13px; cursor:pointer; }
  .v5 .v5-mx-chip--on { border-color:var(--v5-mx-gold-line); background:rgba(251,176,59,.16); color:var(--td-text, var(--v5-text)); }
  .v5 .v5-mx-none { font-size:13px; color:var(--td-muted, var(--v5-text3)); padding-top:5px; }
  .v5 .v5-mx-subj { flex:1 1 auto; min-width:0; height:32px; padding:0 8px; border:1px solid var(--td-line, var(--v5-line)); border-radius:var(--v5-r-tile); background:var(--td-bg, var(--v5-bg)); color:var(--td-text, var(--v5-text)); font:inherit; font-size:14px; }
  .v5 .v5-mx-text { display:block; width:100%; box-sizing:border-box; margin-top:10px; padding:10px; border:1px solid var(--td-line, var(--v5-line)); border-radius:var(--v5-r-box); background:var(--td-bg, var(--v5-bg)); color:var(--td-text, var(--v5-text)); font:inherit; font-size:15px; line-height:1.45; resize:vertical; }
  .v5 .v5-mx-logged { margin:8px 0 10px; font-size:12px; color:var(--td-muted, var(--v5-text3)); }
  .v5 .v5-mx-send { display:block; width:100%; padding:12px; border:0; border-radius:var(--v5-r-box); background:var(--v5-gold); color:var(--v5-mx-gold-on); font:inherit; font-weight:700; font-size:15px; cursor:pointer; }
  .v5 .v5-mx-send:disabled { opacity:.6; cursor:default; }
  /* A PHONE (body.v5-tnarrow): the list, then the thread, each a full screen; the bottom bar on the list; the full email full screen */
  .v5 .v5-tnarrow .v5-td .v5-mx { display:block; margin-top:0; border:0; min-height:0; background:transparent; }
  .v5 .v5-tnarrow .v5-td .v5-mx-side { border-right:0; min-height:calc(100vh - 64px); padding-bottom:64px; }
  .v5 .v5-tnarrow .v5-td .v5-mx--thread .v5-mx-side { display:none; }
  .v5 .v5-tnarrow .v5-td .v5-mx:not(.v5-mx--thread) .v5-mx-main { display:none; }
  .v5 .v5-tnarrow .v5-td .v5-mx-main { padding:0 2px; }
  .v5 .v5-tnarrow .v5-td .v5-mx-back { display:inline-block; }
  .v5 .v5-tnarrow .v5-td .v5-mx-op { display:none; }
  .v5 .v5-tnarrow .v5-td .v5-mx-bbar { display:flex; position:fixed; left:0; right:0; bottom:0; z-index:1500; padding:8px 0 calc(10px + env(safe-area-inset-bottom)); border-top:1px solid var(--td-line); background:var(--td-card); justify-content:space-around; }
  .v5 .v5-tnarrow .v5-td .v5-mx-bb { display:flex; flex-direction:column; align-items:center; gap:2px; color:var(--td-muted); font-size:11px; text-decoration:none; }
  .v5 .v5-tnarrow .v5-td .v5-mx-bb span { font-size:18px; }
  .v5 .v5-tnarrow .v5-td .v5-mx-bb--on { color:var(--td-text); }
  /* ⟦item 1153⟧ the app's tabs: buttons and the Portal link alike, the tab on in orange, the red count on Messages (a phone only, as the bar) */
  .v5 .v5-tnarrow .v5-td .v5-mx-bbar button.v5-mx-bb { border:0; background:transparent; font:inherit; font-size:11px; padding:0 14px; cursor:pointer; position:relative; }
  .v5 .v5-tnarrow .v5-td .v5-mx-bb svg { width:22px; height:22px; }
  .v5 .v5-tnarrow .v5-td .v5-mx-bbar .v5-mx-bb--on { color:var(--td-rust); }
  .v5 .v5-tnarrow .v5-td .v5-mx-bbn { position:absolute; top:-4px; right:4px; min-width:16px; height:16px; padding:0 4px; box-sizing:border-box; border-radius:var(--v5-r-tile); background:var(--td-err); color:var(--v5-tcl-badge-ink); font-size:10px; font-weight:700; line-height:16px; text-align:center; }
  /* ⟦item 1153⟧ the Today tab (one column; a phone has the bar at the foot) */
  .v5 .v5-td .v5-mx--today { display:block; padding:0 0 12px; }
  .v5 .v5-tnarrow .v5-td .v5-mx--today { padding-bottom:76px; }
  .v5 .v5-td .v5-at-head { display:flex; align-items:center; padding:14px 16px 0; }
  .v5 .v5-td .v5-at-date { padding:2px 16px 8px; font-size:12px; color:var(--td-muted); }
  .v5 .v5-td .v5-at-pull { height:0; overflow:hidden; text-align:center; font-size:12px; color:var(--td-muted); line-height:30px; }
  .v5 .v5-td .v5-at-body { padding:0 12px; }
  .v5 .v5-td .v5-at-sec { padding:12px 4px 6px; font-size:11px; letter-spacing:.08em; color:var(--td-sub); }
  .v5 .v5-td .v5-at-sec--late { color:var(--td-rust); }
  .v5 .v5-td .v5-at-card { border:1px solid var(--td-line); border-radius:var(--v5-r-strip); background:var(--td-card); overflow:hidden; }
  .v5 .v5-td .v5-at-card--late { border-color:var(--td-rust); }
  .v5 .v5-td .v5-at-row { display:flex; flex-direction:column; gap:2px; width:100%; padding:9px 12px; border:0; border-bottom:1px solid var(--td-line); background:transparent; color:var(--td-text); text-align:left; font:inherit; cursor:pointer; box-sizing:border-box; }
  .v5 .v5-td .v5-at-row:last-child { border-bottom:0; }
  .v5 .v5-td .v5-at-l1 { display:flex; align-items:baseline; gap:8px; }
  .v5 .v5-td .v5-at-proj { flex:1 1 auto; min-width:0; font-size:14px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-decoration:underline; text-decoration-color:var(--td-line); text-underline-offset:3px; }
  .v5 .v5-td .v5-at-when { flex:none; font-size:12px; color:var(--td-muted); }
  .v5 .v5-td .v5-at-when--hot, .v5 .v5-td .v5-at-hot { color:var(--td-rust); }
  .v5 .v5-td .v5-at-item { font-size:13px; color:var(--td-sub); }
  .v5 .v5-td .v5-at-client { font-size:12px; color:var(--td-muted); }
  /* ⟦item 1153⟧ end */
  .v5 .v5-tnarrow .v5-mx-wabout { display:inline-flex; }
  .v5 .v5-tnarrow .v5-cv-boxw .v5-mx-where ~ .v5-cmp .v5-cmp-about { display:none; }   /* only where the line above carries About (a project; Everything across projects keeps it in the row) */
  .v5 .v5-tnarrow .v5-mx-cmp { top:56px; width:100vw; border-left:0; }   /* below the team ☰ bar (the page frame is its own stacking context) */
  .v5 .v5-tnarrow .v5-td .v5-cv-slide { top:56px; width:100vw; }
  .v5 .v5-tnarrow .v5-mx-sheet { top:auto; bottom:0; left:0; transform:none; width:100vw; max-height:80vh; border-radius:var(--v5-r-card); }
  /* ══ ⟦item 1127⟧ THE CONVERSATION REDESIGN: one card per message (tdCvCardHtml), the same markup and rules at every width (the project
     Conversation, Everything across projects, the Messages thread, the phone app). Everyone on the left; a light outline in the type's colour
     (team note purple, client gold, email blue) round the whole message on the plain card background; quiet pills; the email card; the full
     view; the one-line box. Light and Dark through the tokens below. ══ */
  .v5 .v5-td .v5-cv, .v5 .v5-td .v5-cv-slide { --cv2-card:var(--td-card); --cv2-noteB:rgba(132,104,214,.62); --cv2-clientB:rgba(206,156,54,.58); --cv2-mailB:rgba(86,140,204,.58);
    --cv2-pill:rgba(255,255,255,.06); --cv2-pillT:var(--td-muted); --cv2-pillH:var(--cv-blue); --cv2-band:rgba(61,111,158,.26); --cv2-bandT:var(--v5-cv-blue-dk); --cv2-shadow:0 2px 10px rgba(0,0,0,.32);
    --cv2-tg:rgba(255,255,255,.06); --cv2-tgT:var(--td-sub); --cv2-tgTeam:rgba(150,120,230,.20); --cv2-tgTeamT:var(--v5-cv-ink-violet-dk); --cv2-nr:rgba(251,176,59,.16); --cv2-nrT:rgba(240,196,106,1);
    --cv2-ok:rgba(80,180,120,.18); --cv2-okT:var(--td-ok); --cv2-rule:var(--td-line); --cv2-post:rgba(112,84,206,1); --cv2-gold:rgba(245,165,36,1); --cv2-onGold:rgba(27,22,7,1); --cv2-menu:var(--td-card); }
  .v5 .v5-tlpg .v5-td .v5-cv, .v5 .v5-tlpg .v5-td .v5-cv-slide { --cv2-card:var(--td-card); --cv2-noteB:rgba(191,179,222,1); --cv2-clientB:rgba(224,200,148,1); --cv2-mailB:rgba(179,194,220,1);
    --cv2-pill:rgba(20,30,50,.05); --cv2-pillT:rgba(108,114,125,1); --cv2-pillH:var(--v5-cv-blue-lt); --cv2-band:rgba(238,243,251,1); --cv2-bandT:rgba(63,111,184,1); --cv2-shadow:0 2px 8px rgba(20,30,50,.07);
    --cv2-tg:rgba(20,30,50,.05); --cv2-tgT:rgba(108,114,125,1); --cv2-tgTeam:rgba(243,239,252,1); --cv2-tgTeamT:rgba(122,85,199,1); --cv2-nr:rgba(255,246,227,1); --cv2-nrT:rgba(138,93,0,1);
    --cv2-ok:rgba(231,246,238,1); --cv2-okT:rgba(31,157,85,1); --cv2-post:rgba(122,85,199,1); --cv2-gold:rgba(217,154,18,1); --cv2-onGold:rgba(29,20,5,1); }
  .v5 .v5-td .v5-cv-m { position:relative; display:flex; align-items:flex-start; gap:10px; margin:8px 0; padding:10px 12px; border:1px solid var(--td-line); border-radius:var(--v5-r-cbox); background:var(--cv2-card); color:var(--td-text); cursor:pointer; transition:box-shadow .12s; }
  .v5 .v5-td .v5-cv-m--note { border-color:var(--cv2-noteB); }
  .v5 .v5-td .v5-cv-m--client { border-color:var(--cv2-clientB); }
  .v5 .v5-td .v5-cv-m--mail, .v5 .v5-td .v5-cv-m--out { border-color:var(--cv2-mailB); }
  .v5 .v5-td .v5-cv-m:hover { box-shadow:var(--cv2-shadow); }
  .v5 .v5-td .v5-cv-m.v5-cv-hi { outline:2px solid var(--cv-blue); outline-offset:2px; }
  .v5 .v5-td .v5-cv-m .v5-cv-av, .v5 .v5-td .v5-cv-rep .v5-cv-av { flex:0 0 30px; width:30px; height:30px; font-size:11px; }
  .v5 .v5-td .v5-cv-mb { flex:1 1 auto; min-width:0; }
  .v5 .v5-td .v5-cv-mhd { display:flex; align-items:baseline; gap:8px; min-width:0; padding-right:28px; }
  .v5 .v5-td .v5-cv-mhd .v5-cv-who { flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13.5px; font-weight:700; color:var(--td-text); }
  .v5 .v5-td .v5-cv-mhd .v5-cv-time { flex:0 0 auto; font-size:12px; color:var(--td-muted); white-space:nowrap; }
  .v5 .v5-td .v5-cv-tags { display:flex; flex-wrap:wrap; gap:4px 6px; margin-top:3px; }
  .v5 .v5-td .v5-cv-tg { display:inline-flex; align-items:center; max-width:100%; min-height:18px; padding:0 6px; border-radius:var(--v5-r-chip); background:var(--cv2-tg); color:var(--cv2-tgT); font-size:11px; line-height:18px; overflow-wrap:anywhere; }
  .v5 .v5-td .v5-cv-tg--team { background:var(--cv2-tgTeam); color:var(--cv2-tgTeamT); font-weight:600; }
  .v5 .v5-td .v5-cv-tg--nr { background:var(--cv2-nr); color:var(--cv2-nrT); font-weight:700; }
  .v5 .v5-td .v5-cv-tg--out { background:var(--cv2-band); color:var(--cv2-bandT); font-weight:600; }
  .v5 .v5-td .v5-cv-mt { margin-top:5px; font-size:14px; line-height:1.5; color:var(--td-text); overflow-wrap:anywhere; }
  .v5 .v5-td .v5-cv-mt ul, .v5 .v5-td .v5-cv-mt ol { margin:4px 0; padding-left:20px; }
  .v5 .v5-td .v5-cv-mt blockquote { margin:4px 0; padding-left:10px; border-left:3px solid var(--cv2-noteB); color:var(--td-sub); }
  .v5 .v5-td .v5-cv-mt a { color:var(--cv-blue); }
  .v5 .v5-td .v5-cv-edited2, .v5 .v5-td .v5-cv-told2 { margin-top:4px; font-size:12px; color:var(--td-muted); }
  /* the email card in the thread: band, To / From, Subject (never the body) */
  .v5 .v5-td .v5-cv-em { margin-top:6px; border:1px solid var(--cv2-mailB); border-radius:var(--v5-r-box); overflow:hidden; font-size:13px; }
  .v5 .v5-td .v5-cv-emb { display:flex; align-items:center; gap:8px; padding:4px 10px; background:var(--cv2-band); color:var(--cv2-bandT); font-size:10.5px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
  .v5 .v5-td .v5-cv-ech { margin-left:auto; padding:0 7px; border-radius:var(--v5-r-chip); background:var(--cv2-tg); color:var(--cv2-tgT); font-size:11.5px; font-weight:500; line-height:19px; letter-spacing:0; text-transform:none; white-space:nowrap; }
  .v5 .v5-td .v5-cv-ech--ok { background:var(--cv2-ok); color:var(--cv2-okT); }
  .v5 .v5-td .v5-cv-ech--bad { background:rgba(200,90,60,.16); color:var(--td-rust); }
  .v5 .v5-td .v5-cv-emr { display:flex; align-items:baseline; gap:0; min-width:0; padding:0 10px; }
  .v5 .v5-td .v5-cv-emr:nth-child(2) { padding-top:7px; }
  .v5 .v5-td .v5-cv-emr:last-child { padding-top:2px; padding-bottom:7px; }
  .v5 .v5-td .v5-cv-emk { flex:0 0 58px; font-size:12px; color:var(--td-muted); }
  .v5 .v5-td .v5-cv-emn { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--td-text); font-weight:700; }
  .v5 .v5-td .v5-cv-ems { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--td-muted); font-weight:400; }
  .v5 .v5-td .v5-cv-emf { flex:0 0 auto; margin-left:8px; font-size:12px; color:var(--td-muted); }
  /* the pills (always shown) and the "···" menu */
  .v5 .v5-td .v5-cv-pills { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:7px 0 0 -2px; }
  .v5 .v5-td .v5-cv-pl { display:inline-flex; align-items:center; height:22px; padding:0 8px; border:1px solid transparent; border-radius:var(--v5-r-tchip); background:var(--cv2-pill); color:var(--cv2-pillT); font:inherit; font-size:12px; font-weight:500; white-space:nowrap; cursor:pointer; }
  .v5 .v5-td .v5-cv-pl:hover, .v5 .v5-td .v5-cv-pl:focus-visible { border-color:var(--cv2-pillH); color:var(--cv2-pillH); background:var(--cv2-card); }
  .v5 .v5-td .v5-cv-pdone { font-size:12px; color:var(--cv2-okT); }
  .v5 .v5-td .v5-cv-dots { position:absolute; top:6px; right:6px; width:26px; height:22px; padding:0; border:1px solid transparent; border-radius:var(--v5-r-chip); background:transparent; color:var(--td-muted); font:inherit; font-size:13px; font-weight:700; letter-spacing:1px; line-height:1; cursor:pointer; opacity:0; }
  .v5 .v5-td .v5-cv-m:hover > .v5-cv-dots, .v5 .v5-td .v5-cv-rep:hover > .v5-cv-dots, .v5 .v5-td .v5-cv-dots:focus-visible, .v5 .v5-td .v5-cv-dots[aria-expanded="true"] { opacity:1; border-color:var(--td-line); background:var(--cv2-card); }
  .v5 .v5-tnarrow .v5-td .v5-cv-dots { opacity:.85; }
  .v5 .v5-td .v5-cv-menu { position:absolute; top:30px; right:6px; z-index:8; min-width:190px; padding:4px; border:1px solid var(--td-line); border-radius:var(--v5-r-box); background:var(--cv2-menu); box-shadow:var(--td-shadow); cursor:default; }
  .v5 .v5-td .v5-cv-mi { display:block; width:100%; box-sizing:border-box; padding:7px 10px; border:0; border-radius:var(--v5-r-chip); background:none; color:var(--td-text); font:inherit; font-size:13px; text-align:left; text-decoration:none; cursor:pointer; }
  .v5 .v5-td .v5-cv-mi:hover { background:var(--cv2-pill); }
  .v5 .v5-td .v5-cv-mi--del { color:var(--td-rust); }
  .v5 .v5-td .v5-cv-m--menu { z-index:7; }
  /* the replies under a note (a thin rule) and the small reply box */
  .v5 .v5-td .v5-cv-reps { margin:8px 0 0 2px; padding-left:12px; border-left:2px solid var(--cv2-rule); cursor:default; }
  .v5 .v5-td .v5-cv-rep { position:relative; display:flex; align-items:flex-start; gap:8px; padding:6px 0; cursor:pointer; }
  .v5 .v5-td .v5-cv-rep .v5-cv-av { flex-basis:22px; width:22px; height:22px; font-size:9px; }
  .v5 .v5-td .v5-cv-rep .v5-cv-mt { margin-top:1px; font-size:13.5px; }
  .v5 .v5-td .v5-cv-rep .v5-cv-dots { top:2px; right:0; }
  .v5 .v5-td .v5-cv-rbox { display:flex; align-items:flex-end; gap:6px; margin-top:6px; }
  .v5 .v5-td .v5-cv-rin { flex:1 1 auto; min-width:0; height:32px; min-height:32px; max-height:120px; box-sizing:border-box; padding:6px 9px; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); background:var(--cv2-card); color:var(--td-text); font:inherit; font-size:13px; line-height:18px; resize:none; }
  .v5 .v5-td .v5-cv-rsend { flex:0 0 auto; height:32px; padding:0 12px; border:0; border-radius:var(--v5-r-tile); background:var(--cv2-post); color:var(--v5-cv-white); font:inherit; font-size:12.5px; font-weight:600; cursor:pointer; }
  .v5 .v5-td .v5-cv-rsend:disabled { opacity:.6; cursor:default; }
  .v5 .v5-td .v5-cv-evl--rep { text-align:left; margin:4px 0; font-size:12px; }
  /* activity (Show activity ON): small grey lines between the cards, on the left */
  .v5 .v5-td .v5-cv-chat--cards .v5-cv-evl { text-align:left; margin:4px 0; padding-left:12px; font-size:12px; }
  .v5 .v5-td .v5-cv-chat--cards .v5-cv-evl .v5-cv-elink { font-size:12px; }
  .v5 .v5-td .v5-cv-chat--cards .v5-cv-feed { padding:6px 16px 10px; }
  /* the full view: the panel from the right (a desktop) / the whole screen (a phone) */
  .v5 .v5-td .v5-cv-fv { width:min(460px, 94vw); }
  .v5 .v5-td .v5-cv-fv .v5-cv-sh { padding:14px 16px; }
  .v5 .v5-td .v5-cv-ftitle { color:var(--td-text); font-size:15px; }
  .v5 .v5-td .v5-cv-fback { border:0; background:none; padding:0 4px 0 0; color:var(--cv-blue); font:inherit; font-size:14px; font-weight:600; cursor:pointer; }
  .v5 .v5-td .v5-cv-fv .v5-cv-sb { padding:16px; }
  .v5 .v5-td .v5-cv-fullt--msg { white-space:normal; background:transparent; border:0; padding:0; font-size:14.5px; line-height:1.6; color:var(--td-text); }
  .v5 .v5-td .v5-cv-fsec { margin-top:18px; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--td-muted); }
  .v5 .v5-td .v5-cv-freps { margin-top:6px; padding-left:12px; border-left:2px solid var(--cv2-rule); }
  .v5 .v5-td .v5-cv-where { margin-top:16px; }
  .v5 .v5-td .v5-cv-fa { flex-wrap:wrap; padding:12px 16px; }
  .v5 .v5-td .v5-cv-fb { height:34px; padding:0 12px; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); background:var(--cv2-card); color:var(--td-text); font:inherit; font-size:13px; cursor:pointer; white-space:nowrap; }
  .v5 .v5-td .v5-cv-fb--gold { border-color:transparent; background:var(--cv2-gold); color:var(--cv2-onGold); font-weight:600; }
  .v5 .v5-tnarrow .v5-td .v5-cv-fv { top:56px; width:100vw; border-left:0; }
  /* THE BOX: cmpHtml's compact variant (o.compact): "Team note | Email client" and About above ONE line that grows (to ~6 lines) */
  .v5 .v5-cmp--compact { padding:0; border:0; background:transparent; }
  .v5 .v5-cmp-ctop { display:flex; align-items:center; flex-wrap:wrap; gap:6px 10px; margin:0 0 6px; }
  .v5 .v5-cmp-seg { display:inline-flex; border:1px solid var(--cmp-line); border-radius:var(--v5-r-tile); overflow:hidden; }
  .v5 .v5-cmp-segb { height:26px; padding:0 10px; border:0; background:transparent; color:var(--cmp-sub); font:inherit; font-size:12.5px; cursor:pointer; white-space:nowrap; }
  .v5 .v5-cmp-segb--team.v5-cmp-segb--on { background:var(--cmp-violetBg); color:var(--cmp-violetT); font-weight:600; }
  .v5 .v5-cmp-segb--client.v5-cmp-segb--on { background:var(--cmp-goldBg); color:var(--cmp-goldT); font-weight:600; }
  .v5 .v5-cmp-crow { display:flex; align-items:flex-end; gap:4px; padding:4px 4px 4px 12px; border:1px solid var(--cmp-line); border-radius:var(--v5-r-box); background:var(--cmp-bg); transition:border-color .15s; }
  .v5 .v5-cmp--compact.v5-cmp--team .v5-cmp-crow:focus-within { border-color:var(--cmp-violet); }
  .v5 .v5-cmp--compact.v5-cmp--client .v5-cmp-crow:focus-within { border-color:var(--cmp-gold); }
  .v5 .v5-cmp-in.v5-cmp-in--one { flex:1 1 auto; min-width:0; height:20px; min-height:20px; max-height:124px; padding:7px 0; box-sizing:content-box; font-size:14px; line-height:20px; }
  .v5 .v5-cmp--compact .v5-cmp-tool { align-self:center; }
  .v5 .v5-cmp--compact .v5-cmp-send { height:34px; margin-left:2px; }
  /* A PHONE: the thread fills the screen under the top bar; the head (title, Show activity, Catch me up) stays put on one row */
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--cards .v5-cv-head { flex-wrap:nowrap; gap:6px; padding:8px 12px; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--cards .v5-cv-ht { flex:1 1 auto; font-size:15.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--cards .v5-cv-hb { flex:0 0 auto; flex-wrap:nowrap; gap:4px; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--cards .v5-cv-cmu { height:28px; padding:0 8px; font-size:12.5px; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--cards .v5-cv-sw { padding:0 2px; font-size:12px; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--cards .v5-cv-feed { padding:4px 10px 8px; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--cards .v5-cv-boxw { margin:0 8px 8px; }
  .v5 .v5-tnarrow .v5-td .v5-mx-tn:empty, .v5 .v5-td .v5-mx-tn:empty { min-height:22px; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--cards .v5-cv-swx { display:none; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--cards .v5-cv-sw > span:last-child { text-transform:capitalize; }
  .v5 .v5-tnarrow .v5-cmp--compact .v5-cmp-send { flex:0 0 auto; overflow:visible; }   /* a phone: the one-line box's Post never shrinks to "P…" (1113's phone rule lets a long "Send to <client>" shrink) */
  /* ══ ⟦item 1129⟧ THE CARDS' FINAL LOOK (Jeffrey, Nov 14 2:37 PM: "Target = the 'Now' column of the mock"; it overrides 2:32's purple
     team-note outline). 1 · the outer outline is the NEUTRAL line colour for every kind (1px, 12px corners) — no blue / purple / gold round a
     whole card, Light or Dark. 2 · the inner email box stays, quieter: its border the blue at ~45%, the band a light blue tint (~8% Dark, ~6%
     Light), the band's words 11px bold blue. 3 · a team note is marked by its purple "Team only" tag (purple words on the normal tag
     background). 4 · the sizes: card padding 12 / 14, 10px between cards, name 14px semibold, time 12.5px grey, tag 12px (1px 7px, corners 5),
     To / From / Subject 13px with a 62px label column, the buttons 12.5px pills (3px 9px, corners 6) in the grey pill colour. ONE set of
     rules: the same card on a phone and a desktop. Later than 1127's rules, so these win. ══ */
  .v5 .v5-td .v5-cv, .v5 .v5-td .v5-cv-slide { --cv2-emB:rgba(86,140,204,.45); --cv2-emBand:rgba(86,140,204,.08); --cv2-emT:var(--v5-cv-blue-dk); --cv2-tgTeamV:var(--v5-cv-ink-violet-dk); }
  .v5 .v5-tlpg .v5-td .v5-cv, .v5 .v5-tlpg .v5-td .v5-cv-slide { --cv2-emB:rgba(63,111,184,.45); --cv2-emBand:rgba(63,111,184,.06); --cv2-emT:rgba(63,111,184,1); --cv2-tgTeamV:rgba(122,85,199,1); }
  .v5 .v5-td .v5-cv-m { margin:10px 0; padding:12px 14px; border:1px solid var(--td-line); border-radius:var(--v5-r-cbox); }
  .v5 .v5-td .v5-cv-m--note, .v5 .v5-td .v5-cv-m--client, .v5 .v5-td .v5-cv-m--mail, .v5 .v5-td .v5-cv-m--out { border-color:var(--td-line); }
  .v5 .v5-td .v5-cv-mhd .v5-cv-who { font-size:14px; font-weight:600; }
  .v5 .v5-td .v5-cv-mhd .v5-cv-time { font-size:12.5px; color:var(--td-muted); }
  .v5 .v5-td .v5-cv-tg { min-height:0; padding:1px 7px; border-radius:var(--v5-r-chip); font-size:12px; line-height:16px; }
  .v5 .v5-td .v5-cv-tg--team { background:var(--cv2-tg); color:var(--cv2-tgTeamV); }
  .v5 .v5-td .v5-cv-em { border-color:var(--cv2-emB); font-size:13px; }
  .v5 .v5-td .v5-cv-emb { background:var(--cv2-emBand); color:var(--cv2-emT); font-size:11px; font-weight:700; }
  .v5 .v5-td .v5-cv-emr { font-size:13px; }
  .v5 .v5-td .v5-cv-emk { flex:0 0 62px; font-size:13px; }
  .v5 .v5-td .v5-cv-pl { height:auto; padding:3px 9px; border-radius:var(--v5-r-pill); background:var(--cv2-pill); color:var(--cv2-pillT); font-size:12.5px; line-height:16px; }
  .v5 .v5-td .v5-cv-pdone { font-size:12.5px; }
  /* ⟦item 1129⟧ follow-up 2: the About picker shows the client's whole name and the project ("Shine Management · DVS Testimonial Video"),
     cut with … only when the row has no room */
  .v5 .v5-cmp--compact .v5-cmp-abs { max-width:min(460px, 52vw); }
  .v5 .v5-tnarrow .v5-cmp--compact .v5-cmp-abs { max-width:calc(100vw - 90px); }
  /* ⟦item 1129⟧ follow-up 1 (Jeffrey, Nov 14: "Date dividers are missing between days ('Today', 'Yesterday', 'Wed, Nov 11'); cards show only
     times. Put them back (same on phone)"). They were drawn (tdCvChatHtml: one per day) but the feed opens at its newest card, so on a screen of
     one day's cards the day's divider sat above the window and the cards read as times only. Now the day's divider STAYS at the top of the
     feed while that day's cards scroll under it (the next day's pushes it up), in the words as Jeffrey wrote them (not capitals), a small
     centred pill on the thread's background with the rule either side — the same rule at every width. */
  .v5 .v5-td .v5-cv-chat--cards .v5-cv-day { position:sticky; top:0; z-index:4; justify-content:center; margin:10px -16px 0; padding:6px 16px; background:var(--cv2-card); font-size:12px; font-weight:600; letter-spacing:0; text-transform:none; color:var(--td-sub); }
  .v5 .v5-td .v5-cv-chat--cards .v5-cv-day::before { content:''; flex:1 1 auto; height:1px; background:var(--td-line); }
  .v5 .v5-td .v5-cv-chat--cards .v5-cv-day > span { flex:0 0 auto; padding:2px 10px; border:1px solid var(--td-line); border-radius:var(--v5-r-pill); background:var(--cv2-card); }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--cards .v5-cv-day { margin:8px -10px 0; padding:6px 10px; }
  /* ⟦item 1130 ride-along⟧ (Jeffrey, Nov 14 4:16 PM: "the pinned day label ('Yesterday') floats as a small pill over the card above it … Make the
     pinned label a full-width bar with the page background behind it (and a hairline under it) so cards scroll beneath it cleanly; same on
     phone"). The bar spans the feed edge to edge (the feed's own padding: 20 / 12 px), the feed's background fills it, one hairline under it;
     the words sit on the bar (no pill, no side rules). */
  .v5 .v5-td .v5-cv-chat--cards .v5-cv-day { top:-8px; margin:10px -20px 0; padding:7px 20px; background:var(--cv-feed-bg, var(--td-bg)); border-bottom:1px solid var(--td-line); }   /* top −8px: the feed's own top padding, so nothing peeks above the bar */
  .v5 .v5-td .v5-cv-chat--cards .v5-cv-day::before, .v5 .v5-td .v5-cv-chat--cards .v5-cv-day::after { content:none; display:none; }
  .v5 .v5-td .v5-cv-chat--cards .v5-cv-day > span { padding:0; border:0; background:none; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--cards .v5-cv-day { margin:8px -12px 0; padding:7px 12px; }
  /* ⟦item 1129⟧ the Messages list as cards (msgRowHtml): the same rules on a phone and a desktop */
  .v5 .v5-td .v5-mx-side { --mx-new:rgba(86,140,204,.09); --mx-bar:var(--v5-cv-blue-dk); --mx-email:var(--v5-cv-blue-dk); --mx-team:var(--v5-cv-ink-violet-dk); --mx-client:rgba(240,196,106,1); --mx-sys:rgba(120,128,140,1); }
  .v5 .v5-tlpg .v5-td .v5-mx-side { --mx-new:rgba(63,111,184,.07); --mx-bar:rgba(63,111,184,1); --mx-email:rgba(63,111,184,1); --mx-team:rgba(122,85,199,1); --mx-client:rgba(138,93,0,1); --mx-sys:rgba(150,156,166,1); }
  .v5 .v5-td .v5-mx-rows { padding:2px 10px 10px; }
  .v5 .v5-td .v5-mx-card { position:relative; display:flex; flex-direction:column; align-items:stretch; gap:3px; margin:8px 0 0; padding:10px 12px; border:1px solid var(--td-line); border-radius:var(--v5-r-cbox); background:var(--td-card); overflow:hidden; }
  .v5 .v5-td .v5-mx-card:hover { background:var(--td-card); box-shadow:var(--cv2-shadow, 0 2px 8px rgba(0,0,0,.18)); }
  .v5 .v5-td .v5-mx-card.v5-mx-row--on { background:var(--td-pill); box-shadow:none; }
  .v5 .v5-td .v5-mx-card.v5-mx-row--new { background:linear-gradient(var(--mx-new), var(--mx-new)), var(--td-card); }   /* the tint OVER the card (a phone's list sits on the grey page) */
  .v5 .v5-td .v5-mx-card.v5-mx-row--new::before { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--mx-bar); }
  .v5 .v5-td .v5-mx-l1 { display:flex; align-items:center; gap:10px; min-width:0; }
  .v5 .v5-td .v5-mx-av { flex:0 0 32px; width:32px; height:32px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:11.5px; font-weight:700; color:var(--v5-cv-white); background:var(--v5-cv-av); }
  .v5 .v5-td .v5-mx-av--client { background:var(--v5-cv-av-client); }
  .v5 .v5-td .v5-mx-av--note { background:var(--v5-cv-av-note); }
  .v5 .v5-td .v5-mx-av--sys { background:var(--mx-sys); font-size:15px; font-weight:400; }
  .v5 .v5-td .v5-mx-card .v5-mx-who { flex:1 1 auto; min-width:0; display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; font-weight:500; color:var(--td-text); }
  .v5 .v5-td .v5-mx-card.v5-mx-row--new .v5-mx-who { font-weight:700; }
  .v5 .v5-td .v5-mx-card .v5-mx-time { flex:0 0 auto; font-size:12px; color:var(--td-muted); font-weight:400; }
  .v5 .v5-td .v5-mx-l2 { display:flex; align-items:baseline; gap:6px; min-width:0; padding-left:42px; font-size:12px; color:var(--td-muted); }
  .v5 .v5-td .v5-mx-kind { flex:0 0 auto; font-size:11px; font-weight:700; letter-spacing:.06em; }
  .v5 .v5-td .v5-mx-kind--email { color:var(--mx-email); }
  .v5 .v5-td .v5-mx-kind--team { color:var(--mx-team); }
  .v5 .v5-td .v5-mx-kind--client { color:var(--mx-client); }
  .v5 .v5-td .v5-mx-card .v5-mx-eb { flex:1 1 auto; min-width:0; font-size:12px; letter-spacing:0; text-transform:none; color:var(--td-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-td .v5-mx-l3 { display:flex; align-items:center; gap:6px; min-width:0; padding-left:42px; }
  .v5 .v5-td .v5-mx-card .v5-mx-pv { flex:1 1 auto; min-width:0; font-size:13px; color:var(--td-sub); }
  .v5 .v5-td .v5-mx-card.v5-mx-row--new .v5-mx-pv { color:var(--td-text); }
  .v5 .v5-td .v5-mx-card .v5-mx-tag { flex:0 0 auto; font-size:11px; line-height:16px; }
  .v5 .v5-td .v5-mx-day { display:flex; align-items:center; gap:10px; margin:12px 2px 0; font-size:12px; font-weight:600; color:var(--td-sub); }
  .v5 .v5-td .v5-mx-day::before, .v5 .v5-td .v5-mx-day::after { content:''; flex:1 1 auto; height:1px; background:var(--td-line); }
  /* ⟦item 1147⟧ the cards lead with the project (bold, its own tap: a quiet underline), no avatar; A · the Project filter's chip, sheet and end link */
  .v5 .v5-td .v5-mx-card .v5-mx-proj { flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; font-weight:700; color:var(--td-text); text-decoration:underline; text-decoration-color:var(--td-line); text-underline-offset:3px; cursor:pointer; }
  .v5 .v5-td .v5-mx-card .v5-mx-proj:hover { text-decoration-color:currentColor; }
  .v5 .v5-td .v5-mx-card .v5-mx-proj--item { text-decoration:none; cursor:inherit; }
  .v5 .v5-td .v5-mx-card .v5-mx-l1 { justify-content:space-between; }
  .v5 .v5-td .v5-mx-card .v5-mx-l2, .v5 .v5-td .v5-mx-card .v5-mx-l3 { padding-left:0; }
  .v5 .v5-td .v5-mx-tabs { flex-wrap:wrap; }
  .v5 .v5-td .v5-mx-pfchip { display:inline-flex; align-items:center; gap:6px; max-width:100%; border:1px solid var(--td-rust); color:var(--td-rust); padding:5px 10px; }
  .v5 .v5-td .v5-mx-pfchip--on { border-color:transparent; background:rgba(239,122,58,.16); font-weight:600; }
  .v5 .v5-td .v5-mx-pfcn { min-width:0; max-width:180px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-td .v5-mx-pfx { flex:0 0 auto; font-size:12px; opacity:.85; padding:0 2px; }
  .v5 .v5-td .v5-mx-pfall { display:block; width:100%; margin:12px 0 4px; padding:8px 0; border:0; background:transparent; color:var(--td-sub); font:inherit; font-size:13px; text-align:center; cursor:pointer; }
  .v5 .v5-td .v5-mx-pfall:hover { color:var(--td-text); }
  /* ⟦item 1148⟧ the end line under Needs you */
  .v5 .v5-td .v5-mx-caught { display:block; width:100%; margin:10px 0 4px; padding:8px 0; border:0; background:transparent; color:var(--td-muted); font:inherit; font-size:12px; text-align:center; cursor:pointer; }
  .v5 .v5-td .v5-mx-caught:hover { color:var(--td-text); }
  .v5 .v5-mx-pfsearch { padding:10px 14px 0; }
  .v5 .v5-mx-pfp { display:flex; align-items:center; justify-content:space-between; gap:10px; }
  .v5 .v5-mx-pfp--on { background:var(--v5-chip); }
  .v5 .v5-mx-pft { display:flex; flex-direction:column; min-width:0; }
  .v5 .v5-mx-pfpn { font-size:15px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-mx-pfpc { font-size:12px; color:var(--v5-text3); }
  .v5 .v5-mx-pfnew { flex:0 0 auto; font-size:12px; font-weight:600; color:var(--v5-mx-gold-ink); }
  .v5 .v5-td-tab { border:0; border-radius:var(--v5-r-tchip); padding:7px 14px; background:transparent; color:var(--td-sub); font-size:14px; cursor:pointer; }
  /* ⟦item 1170⟧ MESSAGES (team only): the kind tag, the one grey line, the 2 lines, the green approval, the video comment's check, the chips,
     Reply / Note to team on hover (always on a phone or a touch screen), gold team notes, the panel beside the list. Tokens only. */
  .v5 .v5-td .v5-cv-m .v5-cv-mhd { flex-wrap:wrap; row-gap:2px; }
  .v5 .v5-td .v5-cv-m .v5-cv-mhd .v5-cv-who { flex:0 1 auto; max-width:100%; white-space:normal; }
  .v5 .v5-td .v5-cv-kt { flex:0 0 auto; align-self:center; padding:1px 7px; border-radius:var(--v5-r-pill); font-size:10.5px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; line-height:16px; border:1px solid var(--td-line); color:var(--td-muted); }
  .v5 .v5-td .v5-cv-kt--in { border-color:transparent; background:color-mix(in srgb, var(--cv-blue) 16%, transparent); color:var(--cv-blue); }
  .v5 .v5-td .v5-cv-kt--note { border-color:transparent; background:color-mix(in srgb, var(--cv-gold) 18%, transparent); color:var(--cv-gold); }
  .v5 .v5-td .v5-cv-kt--vc { border-color:transparent; background:var(--cv-men); color:var(--cv-menT); }   /* the Conversation's own violet (both looks) */
  .v5 .v5-td .v5-cv-sub { margin-top:3px; font-size:12.5px; color:var(--td-muted); overflow-wrap:anywhere; }
  .v5 .v5-td .v5-cv-sub b { color:var(--td-text); font-weight:600; }
  .v5 .v5-td .v5-cv-sub .v5-cv-ech { margin-left:6px; }
  .v5 .v5-td .v5-cv-body { margin-top:5px; font-size:14px; line-height:1.5; color:var(--td-text); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; }
  .v5 .v5-td .v5-cv-body--open, .v5 .v5-td .v5-cv-body--vc { display:block; -webkit-line-clamp:unset; }
  .v5 .v5-td .v5-cv-atts { display:flex; flex-wrap:wrap; gap:6px; margin-top:7px; }
  .v5 .v5-td .v5-cv-att { display:inline-flex; align-items:center; gap:4px; padding:3px 9px; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); font-size:12.5px; font-weight:600; color:var(--td-text); }
  .v5 .v5-td .v5-cv-appr { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:8px 0; padding:8px 12px; border:1px solid color-mix(in srgb, var(--td-ok) 40%, var(--td-line)); border-radius:var(--v5-r-box); background:color-mix(in srgb, var(--td-ok) 9%, var(--cv2-card)); font-size:13.5px; color:var(--td-text); }
  .v5 .v5-td .v5-cv-apk { display:grid; place-items:center; flex:0 0 22px; width:22px; height:22px; border-radius:50%; background:var(--td-ok); color:var(--cv2-card); font-weight:900; font-size:12px; }
  .v5 .v5-td .v5-cv-apt { font-size:12px; color:var(--td-muted); }
  .v5 .v5-td .v5-cv-appr .v5-cv-elink { margin-left:auto; }
  .v5 .v5-td .v5-cv-ck { flex:0 0 20px; width:20px; height:20px; margin-top:5px; padding:0; display:grid; place-items:center; border:2px solid var(--td-line); border-radius:50%; background:transparent; color:var(--cv2-card); font:inherit; font-size:11px; font-weight:900; cursor:pointer; }
  .v5 .v5-td .v5-cv-ck:hover { border-color:var(--td-ok); }
  .v5 .v5-td .v5-cv-ck--on { border-color:var(--td-ok); background:var(--td-ok); }
  .v5 .v5-td .v5-cv-m--vc { cursor:default; }
  .v5 .v5-td .v5-cv-m--done { opacity:.72; }
  .v5 .v5-td .v5-cv-m--done .v5-cv-body { text-decoration:line-through; text-decoration-color:var(--td-muted); }
  .v5 .v5-td .v5-cv-tc { display:inline-flex; align-items:center; gap:6px; margin-top:6px; padding:3px 8px 3px 4px; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); background:transparent; color:var(--td-muted); font:inherit; font-size:12.5px; cursor:pointer; }
  .v5 .v5-td .v5-cv-tc b { color:var(--cv-blue); }
  .v5 .v5-td .v5-cv-tcp { display:grid; place-items:center; width:30px; height:20px; border-radius:var(--v5-r-tile); background:color-mix(in srgb, var(--cv-blue) 30%, var(--td-card)); color:var(--td-text); font-size:9px; }
  .v5 .v5-td .v5-cv-chips { display:flex; flex-wrap:wrap; gap:6px; padding:0 16px 8px; }
  .v5 .v5-td .v5-cv-chip { padding:3px 11px; border:1px solid var(--td-line); border-radius:var(--v5-r-pill); background:var(--cv2-card); color:var(--td-muted); font:inherit; font-size:12.5px; font-weight:600; cursor:pointer; }
  .v5 .v5-td .v5-cv-chip--on { background:var(--td-text); border-color:var(--td-text); color:var(--cv2-card); }
  .v5 .v5-td .v5-cv-chip i { font-style:normal; margin-left:4px; color:var(--cv-gold); }
  .v5 .v5-td .v5-cv-stack { display:inline-flex; margin-left:2px; }
  .v5 .v5-td .v5-cv-av--s { width:20px; height:20px; flex:0 0 20px; margin-left:-5px; font-size:8.5px; border:2px solid var(--cv2-card); }
  .v5 .v5-td .v5-cv-last { font-size:12px; color:var(--td-muted); }
  .v5 .v5-td .v5-cv-av--auto { background:var(--td-card); border:1px solid var(--td-line); }
  .v5 .v5-td .v5-cv-m--note { border-color:color-mix(in srgb, var(--cv-gold) 38%, var(--td-line)); background:color-mix(in srgb, var(--cv-gold) 7%, var(--cv2-card)); }
  .v5 .v5-td .v5-cv-pl--hov { visibility:hidden; order:9; }   /* a touch screen's first tap is its hover; a phone shows them always (v5-tnarrow) */   /* at the row's end: the always-shown ones (N replies, Done, Undo) keep their place */
  .v5 .v5-td .v5-cv-m:hover .v5-cv-pl--hov, .v5 .v5-td .v5-cv-m:focus-within .v5-cv-pl--hov, .v5 .v5-tnarrow .v5-td .v5-cv-pl--hov { visibility:visible; }
  .v5 .v5-td .v5-cv--beside { grid-template-columns:minmax(200px, 260px) minmax(0, 1fr) minmax(320px, 400px); }
  .v5 .v5-td .v5-cv--beside > .v5-cv-slide { position:static; top:auto; right:auto; bottom:auto; width:auto; min-width:0; z-index:auto; box-shadow:none; border-left:1px solid var(--td-line); }
  .v5 .v5-td .v5-mx .v5-cv--beside { grid-template-columns:minmax(0, 1fr) minmax(300px, 380px); }
  /* ⟦item 1170⟧ add-on: Messages → Emails sent (admins). One row per email: time · client · recipient · subject · sender · opened. */
  .v5 .v5-td .v5-mx-em { display:flex; flex-direction:column; min-height:0; height:100%; overflow:auto; padding:16px 20px; color:var(--td-text); }
  .v5 .v5-td .v5-mx-emh { display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; margin-bottom:10px; }
  .v5 .v5-td .v5-mx-emt { margin:0 auto 0 0; font-size:18px; font-weight:700; }
  .v5 .v5-td .v5-mx-ems { display:inline-flex; flex-wrap:wrap; align-items:center; gap:4px; }
  .v5 .v5-td .v5-mx-emb { padding:4px 10px; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); background:var(--td-card); color:var(--td-muted); font:inherit; font-size:12.5px; font-weight:600; cursor:pointer; }
  .v5 .v5-td .v5-mx-emb--on { background:var(--td-text); border-color:var(--td-text); color:var(--td-card); }
  .v5 .v5-td .v5-mx-emd { width:auto; max-width:150px; padding:3px 8px; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); background:var(--td-card); color:var(--td-text); font:inherit; font-size:12.5px; color-scheme:light dark; }
  .v5 .v5-td .v5-mx-eml { display:flex; flex-direction:column; border-top:1px solid var(--td-line); }
  .v5 .v5-td .v5-mx-emr { display:grid; grid-template-columns:96px minmax(80px, 1fr) minmax(90px, 1fr) minmax(140px, 2.2fr) 162px 118px; gap:10px; align-items:baseline; padding:9px 4px; border-bottom:1px solid var(--td-line); font-size:13px; }
  .v5 .v5-td .v5-mx-emr--go { cursor:pointer; }
  .v5 .v5-td .v5-mx-emr--go:hover { background:color-mix(in srgb, var(--cv-blue) 7%, transparent); }
  .v5 .v5-td .v5-mx-emc { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-td .v5-mx-emc--t, .v5 .v5-td .v5-mx-emc--o { color:var(--td-muted); font-size:12.5px; }
  .v5 .v5-td .v5-mx-emc--c { font-weight:600; }
  .v5 .v5-td .v5-mx-emc--s i { font-style:normal; color:var(--td-muted); font-size:12px; }
  .v5 .v5-td .v5-mx-emc--f { display:inline-flex; align-items:center; gap:5px; }
  .v5 .v5-td .v5-mx-emc--ok { color:var(--td-ok); }
  .v5 .v5-td .v5-mx-emc--bad { color:var(--td-rust); }
  .v5 .v5-td .v5-mx-emn { margin:10px 0 0; font-size:12px; color:var(--td-muted); }
  .v5 .v5-tnarrow .v5-td .v5-mx-em { padding:10px 12px; height:auto; }
  .v5 .v5-tnarrow .v5-td .v5-mx-emr { grid-template-columns:minmax(0, 1fr) auto; gap:2px 10px; }
  .v5 .v5-tnarrow .v5-td .v5-mx-emc--s, .v5 .v5-tnarrow .v5-td .v5-mx-emc--w { grid-column:1 / -1; white-space:normal; }
  /* ⟦item 1174⟧ MESSAGES FIXES (team only; tokens only): the filters as ONE row that swipes on a phone; the card's buttons on one row ("Note to
     team" → "Note" on a phone); Reply all in steel on an email we sent; the email page's subject; "also covers"; the deliverable head (crumb,
     ‹ title, This deliverable | Whole project); the ✨ button (its name on hover / focus / a long press); the main list's unread dot and title */
  .v5 .v5-td .v5-cv-chips--row, .v5 .v5-td .v5-mx-tabs--row { flex-wrap:nowrap; overflow-x:auto; overflow-y:hidden; scrollbar-width:none; overscroll-behavior-x:contain; touch-action:pan-x pan-y; max-width:100%; box-sizing:border-box; }
  .v5 .v5-td .v5-cv-chips--row, .v5 .v5-td .v5-mx-tabs--row { flex:0 0 auto; }   /* a scroll box in a column never shrinks (its min-height would be 0: the chips were cut) */
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--74 .v5-cv-kt { padding:1px 6px; font-size:9.5px; letter-spacing:.05em; }
  .v5 .v5-td .v5-cv-chips--row::-webkit-scrollbar, .v5 .v5-td .v5-mx-tabs--row::-webkit-scrollbar { display:none; }
  .v5 .v5-td .v5-cv-chips--row > .v5-cv-chip, .v5 .v5-td .v5-mx-tabs--row > .v5-mx-tab { flex:0 0 auto; white-space:nowrap; }
  .v5 .v5-td .v5-mx-tabs--row > .v5-mx-pfchip--plain { border:1px solid var(--td-line); background:transparent; color:var(--td-sub); max-width:none; }
  .v5 .v5-td .v5-cv-pills--row { flex-wrap:nowrap; min-width:0; overflow:hidden; }
  .v5 .v5-td .v5-cv-pills--row > * { flex:0 0 auto; white-space:nowrap; }
  .v5 .v5-td .v5-cv-shl { display:none; }
  .v5 .v5-tnarrow .v5-td .v5-cv-lgl { display:none; }
  .v5 .v5-tnarrow .v5-td .v5-cv-shl { display:inline; }
  .v5 .v5-td .v5-cv-pl.v5-cv-pl--pri, .v5 .v5-td .v5-cv-pl.v5-cv-pl--pri:hover, .v5 .v5-td .v5-cv-pl.v5-cv-pl--pri:focus-visible { border-color:var(--td-steel); background:var(--td-steel); color:var(--td-white); font-weight:600; }
  .v5 .v5-td .v5-cv-fb.v5-cv-fb--pri { border-color:transparent; background:var(--td-steel); color:var(--td-white); font-weight:600; }
  .v5 .v5-tnarrow .v5-td .v5-cv-fv .v5-cv-fa { flex-wrap:nowrap; gap:6px; overflow:hidden; }
  .v5 .v5-tnarrow .v5-td .v5-cv-fv .v5-cv-fa .v5-cv-fb { flex:0 0 auto; padding:0 10px; white-space:nowrap; }
  .v5 .v5-td .v5-cv-fsubj { margin:12px 0 10px; font-size:16px; font-weight:700; line-height:1.35; color:var(--td-text); overflow-wrap:anywhere; }
  .v5 .v5-td .v5-cv-also { margin-top:3px; font-size:12px; color:var(--td-muted); overflow-wrap:anywhere; }
  .v5 .v5-td .v5-cv-head--74 { align-items:center; }
  .v5 .v5-td .v5-cv-head--74 .v5-cv-hb { flex-wrap:nowrap; align-items:center; }
  .v5 .v5-td .v5-cv-htl { flex:1 1 160px; min-width:0; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--74 .v5-cv-head--74 { flex-wrap:wrap; row-gap:6px; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--74 .v5-cv-head--74 .v5-cv-htl { flex:1 1 100%; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--74 .v5-cv-head--74 .v5-cv-htl + .v5-cv-hb { margin-left:0; flex:1 1 auto; justify-content:space-between; }   /* under a deliverable's title only; Whole project keeps ✨ at the right */
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--74 .v5-cv-head--74 [data-cv="openvideo"] { display:none; }   /* a phone: the deliverable's own page has the video */
  .v5 .v5-td .v5-cv-crumb { font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--td-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-td .v5-cv-head--74 .v5-cv-ht { display:flex; align-items:center; gap:4px; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-td .v5-cv-hback { flex:0 0 auto; border:0; background:none; padding:0 4px 0 0; color:var(--td-steel); font:inherit; font-size:20px; line-height:1; cursor:pointer; }
  .v5 .v5-td .v5-cv-scope { display:inline-flex; flex:0 0 auto; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); overflow:hidden; }
  .v5 .v5-td .v5-cv-scb { border:0; background:transparent; padding:4px 10px; color:var(--td-sub); font:inherit; font-size:12.5px; font-weight:600; white-space:nowrap; cursor:pointer; }
  .v5 .v5-td .v5-cv-scb--on { background:var(--td-pill); color:var(--td-steelT); }
  .v5 .v5-cmu-i { position:relative; display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; gap:3px; min-width:30px; height:28px; padding:0 8px; box-sizing:border-box; border:1px solid var(--td-line, var(--v5-line)); border-radius:var(--v5-r-tile); background:transparent; color:var(--td-steel, var(--v5-text)); font:inherit; font-size:14px; line-height:1; cursor:pointer; }
  .v5 .v5-cmu-i::after { content:attr(data-tip); position:absolute; top:calc(100% + 6px); right:0; padding:4px 8px; border-radius:var(--v5-r-tile); background:var(--td-text, var(--v5-text)); color:var(--td-card, var(--v5-bg)); font-size:12px; font-weight:600; white-space:nowrap; pointer-events:none; opacity:0; transition:opacity .12s; z-index:30; }
  .v5 .v5-cmu-i:hover::after, .v5 .v5-cmu-i:focus-visible::after, .v5 .v5-cmu-i.v5-tip-on::after { opacity:1; }
  .v5 .v5-cmu-n { font-style:normal; font-size:11px; font-weight:700; }
  .v5 .v5-td .v5-mx-card--74 .v5-mx-l1 { justify-content:flex-start; gap:8px; }
  .v5 .v5-td .v5-mx-card--74 .v5-mx-proj { flex:0 1 auto; }
  .v5 .v5-td .v5-mx-card--74 .v5-mx-time { margin-left:auto; flex:0 0 auto; }
  .v5 .v5-td .v5-mx-udot { flex:0 0 7px; width:7px; height:7px; border-radius:50%; background:var(--td-steel); }
  .v5 .v5-td .v5-mx-card--74.v5-mx-row--unread .v5-mx-pv { color:var(--td-text); }
  .v5 .v5-td .v5-mx-kind--auto { color:var(--td-muted); }
  /* ⟦item 1174⟧ fix: VIDEO COMMENT, the Conversation's own violet chip (tdCvKindTag's v5-cv-kt--vc: --cv-men / --cv-menT), both looks */
  .v5 .v5-td .v5-mx-kind--vc { padding:0 6px; border-radius:var(--v5-r-pill); line-height:16px; background:rgba(150,120,230,.30); color:var(--v5-cv-ink-violet-dk); }
  .v5 .v5-tlpg .v5-td .v5-mx-kind--vc { background:rgba(150,120,230,.18); color:var(--v5-cv-ink-violet-lt); }
  /* ⟦item 1174⟧ 1: THE SIDEWAYS DRAG. The feed is a scroll box, and a card's name row (name + kind tag + time), its grey line and its buttons
     were wider than it at 390, so the FEED scrolled sideways (the cards slid off the left, the sticky day bars stayed): it scrolls up and down
     only, and every row that can be long ends in "…" instead of widening its card */
  .v5 .v5-td .v5-cv-chat--74 .v5-cv-feed { overflow-x:hidden; overscroll-behavior-x:none; }
  .v5 .v5-td .v5-cv-chat--74 .v5-cv-m, .v5 .v5-td .v5-cv-chat--74 .v5-cv-appr { min-width:0; max-width:100%; box-sizing:border-box; }
  .v5 .v5-td .v5-cv-chat--74 .v5-cv-m .v5-cv-mhd { flex-wrap:nowrap; }
  .v5 .v5-td .v5-cv-chat--74 .v5-cv-m .v5-cv-mhd .v5-cv-who { flex:0 1 auto; min-width:0; max-width:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-td .v5-cv-chat--74 .v5-cv-m .v5-cv-mhd .v5-cv-time { margin-left:auto; }
  .v5 .v5-td .v5-cv-chat--74 .v5-cv-sub { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-td .v5-cv-sub--74 { display:flex; align-items:center; min-width:0; }
  .v5 .v5-td .v5-cv-sub--74 .v5-cv-subt { flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-td .v5-cv-sub--74 .v5-cv-ech { flex:0 0 auto; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--74 .v5-cv-m .v5-cv-mhd { gap:6px; padding-right:20px; }
  .v5 .v5-td .v5-cv-chat--74 .v5-cv-tags { min-width:0; overflow:hidden; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--74 .v5-cv-day { margin:8px -10px 0; padding:7px 10px; }   /* the day bar exactly the feed's width (its sides were 12px against the feed's 10px padding: 4px too wide, the first sideways scroll) */
  /* ══ ⟦item 1178⟧ MESSAGES: ONE LAYOUT + CHAT IN CARDS (MSG_1178_ON; tokens only, both looks) ══ */
  /* 3 · the top bar's list: search, All · Needs you, two short lines a row */
  .v5 .v5-td .v5-mx78-side .v5-mx-head { gap:8px; }
  .v5 .v5-td .v5-mx78-em { border:0; background:none; padding:0 4px; color:var(--td-steelT); font:inherit; font-size:12.5px; font-weight:700; cursor:pointer; white-space:nowrap; }
  .v5 .v5-td .v5-mx78-search { padding:0 14px 8px; }
  .v5 .v5-td .v5-mx78-search .v5-mx-q { width:100%; box-sizing:border-box; padding:7px 11px; border:1px solid var(--td-line); border-radius:var(--v5-r-cbox); background:transparent; color:var(--td-text); font:inherit; font-size:13px; }
  .v5 .v5-td .v5-mx78-chips { display:flex; gap:6px; padding:2px 14px 10px; }
  .v5 .v5-td .v5-mx78-chip { border:1px solid var(--td-line); border-radius:var(--v5-r-tchip); background:transparent; color:var(--td-sub); padding:3px 11px; font:inherit; font-size:12.5px; font-weight:600; cursor:pointer; white-space:nowrap; }
  .v5 .v5-td .v5-mx78-chip--on { background:var(--td-text); border-color:var(--td-text); color:var(--td-bg); }
  .v5 .v5-td .v5-mx78-chip i, .v5 .v5-td .v5-mx78-dot, .v5 .v5-td .v5-mx78-nd, .v5 .v5-td .v5-m78-ld, .v5 .v5-td .v5-m78-nd { font-style:normal; color:var(--td-amber); }
  .v5 .v5-td .v5-mx78-chip i { margin-left:4px; }
  .v5 .v5-td .v5-mx78-rows { padding:0; }
  .v5 .v5-td .v5-mx78-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:1px 8px; width:100%; box-sizing:border-box; margin:0; padding:9px 14px; border:0; border-top:1px solid var(--td-line); background:transparent; color:var(--td-text); text-align:left; font:inherit; cursor:pointer; }
  .v5 .v5-td .v5-mx78-row:hover { background:var(--td-card); }
  .v5 .v5-td .v5-mx78-row--on { background:var(--td-pill); box-shadow:inset 3px 0 0 var(--td-steel); }
  .v5 .v5-td .v5-mx78-t { font-weight:700; font-size:13.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-td .v5-mx78-tm { color:var(--td-muted); font-size:12px; white-space:nowrap; }
  .v5 .v5-td .v5-mx78-c { grid-column:1 / -1; color:var(--td-sub); font-size:12.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  /* 7 · Emails sent, full width */
  .v5 .v5-td .v5-mx--em78 { display:block; }
  .v5 .v5-td .v5-mx78-es { padding:16px 22px; min-width:0; }
  .v5 .v5-td .v5-mx78-esh { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
  .v5 .v5-td .v5-mx78-est { margin:0 auto 0 0; font-size:20px; color:var(--td-text); }
  .v5 .v5-td .v5-mx78-esb { border:0; background:none; padding:0; color:var(--td-steelT); font:inherit; font-weight:700; cursor:pointer; }
  .v5 .v5-td .v5-mx78-sgs { display:inline-flex; align-items:center; border:1px solid var(--td-line); border-radius:var(--v5-r-cbox); overflow:hidden; }
  .v5 .v5-td .v5-mx78-sg { border:0; background:transparent; color:var(--td-sub); padding:5px 10px; font:inherit; font-size:12px; font-weight:600; cursor:pointer; white-space:nowrap; }
  .v5 .v5-td .v5-mx78-sg--on { background:var(--td-pill); color:var(--td-steelT); }
  .v5 .v5-td .v5-mx78-emd { border:0; border-left:1px solid var(--td-line); background:transparent; color:var(--td-sub); font:inherit; font-size:12px; padding:4px 8px; }
  .v5 .v5-td .v5-mx78-esgrid { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; align-items:start; }
  .v5 .v5-td .v5-mx78-es--sel .v5-mx78-esgrid { grid-template-columns:minmax(0,1fr) 380px; }
  .v5 .v5-td .v5-mx78-dh { margin:18px 0 6px; font-size:11.5px; font-weight:800; letter-spacing:.1em; color:var(--td-sub); }
  .v5 .v5-td .v5-mx78-eg { border:1px solid var(--td-line); border-radius:var(--v5-r-cbox); background:var(--td-card); overflow:hidden; }
  .v5 .v5-td .v5-mx78-er { display:grid; grid-template-columns:72px 128px minmax(0,1fr) 120px; gap:14px; align-items:center; padding:12px 16px; border-top:1px solid var(--td-line); cursor:pointer; }
  .v5 .v5-td .v5-mx78-er:first-child { border-top:0; }
  .v5 .v5-td .v5-mx78-er:hover { background:var(--td-pill); }
  .v5 .v5-td .v5-mx78-er--sel { background:var(--td-pill); box-shadow:inset 3px 0 0 var(--td-steel); }
  .v5 .v5-td .v5-mx78-et { color:var(--td-sub); font-size:12.5px; white-space:nowrap; }
  .v5 .v5-td .v5-mx78-tag { justify-self:start; font-size:9.5px; font-weight:800; letter-spacing:.07em; border-radius:var(--v5-r-tchip); padding:1px 7px; white-space:nowrap; border:1px solid var(--td-line); color:var(--td-sub); }
  .v5 .v5-td .v5-mx78-tag--rec { border-color:transparent; background:var(--td-gold); color:var(--td-amber); }
  .v5 .v5-td .v5-mx78-tag--del { border-color:transparent; background:var(--td-tealBg); color:var(--td-ok); }
  .v5 .v5-td .v5-mx78-tag--auto { color:var(--td-muted); }
  .v5 .v5-td .v5-mx78-ew { min-width:0; color:var(--td-text); font-size:13px; }
  .v5 .v5-td .v5-mx78-ec { color:var(--td-sub); }
  .v5 .v5-td .v5-mx78-es2 { display:block; color:var(--td-sub); font-size:12.5px; }
  .v5 .v5-td .v5-mx78-eo { text-align:right; font-size:12px; color:var(--td-muted); }
  .v5 .v5-td .v5-mx78-eo--ok { color:var(--td-ok); }
  .v5 .v5-td .v5-mx78-eo--bad { color:var(--td-rust); }
  .v5 .v5-td .v5-mx78-drw { position:sticky; top:12px; border:1px solid var(--td-line); border-radius:var(--v5-r-cbox); background:var(--td-card); overflow:hidden; margin-top:36px; }
  .v5 .v5-td .v5-mx78-dh2 { display:flex; align-items:center; justify-content:space-between; padding:9px 14px; border-bottom:1px solid var(--td-line); font-size:12px; font-weight:700; color:var(--td-sub); }
  .v5 .v5-td .v5-mx78-frame { display:block; width:calc(100% - 24px); margin:12px; min-height:260px; border:0; border-radius:var(--v5-r-box); background:var(--td-white); }
  .v5 .v5-td .v5-mx78-mail { margin:12px; padding:14px; border-radius:var(--v5-r-box); background:var(--td-white); color:var(--v5-rp-lt-ink); font-size:13px; }
  .v5 .v5-td .v5-mx78-msub { font-size:15px; font-weight:700; margin-bottom:6px; }
  .v5 .v5-td .v5-mx78-dfoot { padding:0 14px 12px; color:var(--td-muted); font-size:12px; line-height:1.7; }
  /* 3 · inside a client / project: the left bar's shape */
  .v5 .v5-td .v5-m78-li { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:1px 8px; align-items:center; text-align:left; }
  .v5 .v5-td .v5-m78-lt { font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--td-text); }
  .v5 .v5-td .v5-m78-li--p .v5-m78-lt { font-weight:700; }
  .v5 .v5-td .v5-m78-li--d { padding-left:30px; }
  .v5 .v5-td .v5-m78-li--d .v5-m78-lt { font-weight:500; }
  .v5 .v5-td .v5-m78-lw { color:var(--td-muted); font-size:12px; white-space:nowrap; }
  .v5 .v5-td .v5-m78-ls { grid-column:1 / -1; color:var(--td-sub); font-size:12px; }
  .v5 .v5-td .v5-m78-done { padding-left:30px; }
  /* 4 · CHAT IN CARDS */
  .v5 .v5-td .v5-cv-chat--78 .v5-m78 { margin:0 0 10px; padding:14px 16px; border:1px solid var(--td-line); border-radius:var(--v5-r-cbox); background:var(--td-card); }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78:hover { background:var(--td-pill); }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78.v5-cv-m--note { background:var(--td-gold); border-left:3px solid var(--td-amber); }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78--need { border-color:var(--td-steel); border-left:3px solid var(--td-steel); }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78 .v5-cv-mhd { display:flex; align-items:center; gap:8px; flex-wrap:nowrap; min-width:0; }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78-ab { color:var(--td-muted); font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78-dn { color:var(--td-ok); font-size:12px; font-weight:700; white-space:nowrap; }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78 .v5-cv-time { margin-left:auto; flex:0 0 auto; }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78-tx { margin-top:5px; line-height:1.55; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78-tx.v5-cv-body--open { display:block; -webkit-line-clamp:unset; }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78-more { border:0; background:none; padding:0; color:var(--td-steelT); font:inherit; font-size:12.5px; font-weight:700; cursor:pointer; }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78-meta { margin-top:5px; color:var(--td-muted); font-size:12px; }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78 .v5-cv-pills { justify-content:flex-end; margin-top:8px; }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78--need .v5-cv-pills { justify-content:flex-start; }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78--need .v5-cv-pl--hov { visibility:visible; }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78-ny { order:10; font-size:9.5px; font-weight:800; letter-spacing:.07em; color:var(--td-steelT); margin-left:4px; align-self:center; }
  .v5 .v5-td .v5-cv-chat--78 .v5-cv-reps { margin-top:10px; padding-left:12px; border-left:2px solid var(--td-line); }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78-via { color:var(--td-muted); font-size:12px; }
  /* PHONE: the swipe, no button rows (a needs-you card keeps ↩ Reply), 16px between cards */
  .v5 .v5-td .v5-m78-sw { position:relative; margin:0 0 16px; border-radius:var(--v5-r-cbox); overflow:hidden; border:1px solid var(--td-line); }
  .v5 .v5-td .v5-m78-ul { visibility:hidden; }
  .v5 .v5-td .v5-m78-sw--on > .v5-m78-ul { visibility:visible; }
  .v5 .v5-td .v5-m78-sw--r .v5-m78-ulr, .v5 .v5-td .v5-m78-sw--l .v5-m78-ull { visibility:hidden; }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78-sw > .v5-m78.v5-cv-m--note { background:linear-gradient(var(--td-gold), var(--td-gold)), var(--td-card); }   /* a swiped note is solid (its gold is a tint) */
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--78 .v5-m78 .v5-cv-mhd { flex-wrap:wrap; row-gap:2px; padding-right:20px; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--78 .v5-m78 .v5-cv-mhd .v5-cv-who { flex:0 1 auto; max-width:100%; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--78 .v5-m78 .v5-m78-ab { order:9; flex:1 1 auto; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--78 .v5-m78 .v5-cv-mhd .v5-cv-time { order:8; flex-basis:100%; margin-left:0; font-size:11.5px; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--78 .v5-m78 .v5-cv-mhd:has(.v5-m78-ab) .v5-cv-time { flex-basis:auto; }
  .v5 .v5-td .v5-m78-ul { position:absolute; inset:0; display:flex; justify-content:space-between; align-items:stretch; font-weight:800; font-size:13px; }
  .v5 .v5-td .v5-m78-ull { display:flex; align-items:center; padding:0 18px; background:var(--td-ok); color:var(--td-white); width:50%; }
  .v5 .v5-td .v5-m78-ulr { display:flex; justify-content:flex-end; margin-left:auto; }
  .v5 .v5-td .v5-m78-sbt { width:65px; border:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; background:var(--td-steel); color:var(--td-white); font-size:16px; cursor:pointer; }
  .v5 .v5-td .v5-m78-sbt small { font-size:11px; font-weight:700; }
  .v5 .v5-td .v5-m78-sbt--n { background:var(--td-violet); }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78-sw > .v5-m78 { position:relative; margin:0; border:0; border-radius:var(--v5-r-cbox); transition:transform .2s; touch-action:pan-y; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--78 .v5-m78 .v5-cv-pills [data-cv-tonote], .v5 .v5-tnarrow .v5-td .v5-cv-chat--78 .v5-m78 .v5-cv-pills [data-cv-hand],
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--78 .v5-m78 .v5-cv-pills [data-cv-vck], .v5 .v5-tnarrow .v5-td .v5-cv-chat--78 .v5-m78 .v5-cv-pills [data-cv-replyall],
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--78 .v5-m78 .v5-cv-pills .v5-cv-pl--hov { display:none; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--78 .v5-m78 .v5-cv-pills [data-cv-mdone] { display:none; }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78.v5-cv-m--note.v5-m78--need { border-color:var(--td-steel); border-left:3px solid var(--td-steel); }   /* ⟦item 1180⟧ an open @mention of me: the needs-you edge, the gold fill kept */   /* ⟦item 1180⟧ the phone's Done is the swipe */
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--78 .v5-m78--need .v5-cv-pills [data-cv-rfocus] { display:inline-flex; visibility:visible; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--78 .v5-m78--need .v5-cv-pills [data-cv-reply], .v5 .v5-tnarrow .v5-td .v5-cv-chat--78 .v5-m78--need .v5-cv-pills [data-cv-vcgo] { display:inline-flex; visibility:visible; }
  .v5 .v5-tnarrow .v5-td .v5-cv-chat--78 .v5-m78 { padding:12px; }
  .v5 .v5-tnarrow .v5-td .v5-mx78-er { grid-template-columns:auto minmax(0,1fr); gap:4px 10px; }
  .v5 .v5-tnarrow .v5-td .v5-mx78-er .v5-mx78-ew { grid-column:1 / -1; }
  .v5 .v5-tnarrow .v5-td .v5-mx78-er .v5-mx78-eo { grid-column:1 / -1; text-align:left; }
  .v5 .v5-tnarrow .v5-td .v5-mx78-es--sel .v5-mx78-esgrid { grid-template-columns:minmax(0,1fr); }
  .v5 .v5-tnarrow .v5-td .v5-mx78-es { padding:12px; }
  .v5 .v5-tnarrow .v5-td .v5-mx:has(.v5-mx78-side), .v5 .v5-tnarrow .v5-td .v5-mx--em78 { width:100%; box-sizing:border-box; }
  .v5 .v5-tnarrow .v5-td .v5-mx78-side { width:100%; box-sizing:border-box; }
  .v5 .v5-td .v5-cv-chat--78 { position:relative; }
  .v5 body:not(.v5-tnarrow) .v5-td .v5-cv-chat--78 > .v5-cv-head--74:not(:has(.v5-cv-htl)) { position:absolute; top:6px; right:12px; z-index:2; padding:0; border:0; background:none; min-height:0; }
  .v5 body:not(.v5-tnarrow) .v5-td .v5-cv-chat--78 > .v5-cv-head--74:not(:has(.v5-cv-htl)) ~ .v5-cv-chips { padding-right:56px; }
  .v5 .v5-td .v5-cv-chat--78 .v5-m78:not(.v5-m78--need) .v5-cv-pills:not(:has(> :not(.v5-cv-pl--hov))) { position:absolute; right:12px; bottom:10px; margin:0; }
  /* ══ ⟦item 1178⟧ END ══ */
  /* ══ ⟦item 1196⟧ Messages: All = what people wrote; the caught-up state (MSG_1196_ON; tokens only) ══ */
  .v5 .v5-td .v5-mx96-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:2px 8px; width:100%; box-sizing:border-box; margin:0; padding:9px 14px; border:0; border-top:1px solid var(--td-line); background:transparent; color:var(--td-text); text-align:left; font:inherit; cursor:pointer; }
  .v5 .v5-td .v5-mx96-row:hover { background:var(--td-card); }
  .v5 .v5-td .v5-mx96-w { font-size:13.5px; font-weight:400; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-td .v5-mx96-row--new .v5-mx96-w { font-weight:700; }
  .v5 .v5-td .v5-mx96-tm { display:inline-flex; align-items:center; gap:5px; color:var(--td-muted); font-size:12px; white-space:nowrap; }
  .v5 .v5-td .v5-mx96-row--new .v5-mx96-tm { color:var(--td-steelT); font-weight:700; }
  .v5 .v5-td .v5-mx96-dot { width:7px; height:7px; border-radius:50%; background:var(--td-steel); }
  .v5 .v5-td .v5-mx96-c { grid-column:1 / -1; color:var(--td-muted); font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-td .v5-mx96-calm { display:flex; flex-direction:column; align-items:center; gap:2px; padding:26px 14px 18px; color:var(--td-sub); font-size:13.5px; text-align:center; }
  .v5 .v5-td .v5-mx96-ck { display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:var(--td-tealBg); color:var(--td-ok); font-size:22px; font-weight:700; }
  .v5 .v5-td .v5-mx96-calmt { margin:8px 0 2px; color:var(--td-text); font-size:17px; }
  .v5 .v5-td .v5-mx96-lab { padding:10px 14px 6px; color:var(--td-muted); font-size:11px; font-weight:800; letter-spacing:.1em; }
  .v5 .v5-td .v5-mx96-all { display:block; width:100%; margin:6px 0 0; padding:12px 14px; border:0; border-top:1px solid var(--td-line); background:transparent; color:var(--td-steelT); font:inherit; font-size:13.5px; font-weight:700; text-align:center; cursor:pointer; }
  /* ══ ⟦item 1196⟧ END ══ */
  /* ══ ⟦item 1214⟧ Messages fixes: LATEST in three lines, full width, the two handles (MSG_1214_ON; tokens only) ══ */
  .v5 .v5-td .v5-mx14-row { display:grid; grid-template-columns:minmax(0, 1fr); gap:3px; width:100%; box-sizing:border-box; margin:0; padding:14px; border:0; border-top:1px solid var(--td-line); background:transparent; color:var(--td-text); text-align:left; font:inherit; cursor:pointer; }
  .v5 .v5-td .v5-mx14-row:hover { background:var(--td-card); }
  .v5 .v5-td .v5-mx14-t { display:flex; align-items:baseline; gap:10px; min-width:0; }
  .v5 .v5-td .v5-mx14-p { flex:1 1 auto; min-width:0; font-size:13.5px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-td .v5-mx14-tm { flex:none; display:inline-flex; align-items:center; gap:5px; color:var(--td-muted); font-size:12px; white-space:nowrap; }
  .v5 .v5-td .v5-mx14-row--new .v5-mx14-tm { color:var(--td-steelT); font-weight:700; }
  .v5 .v5-td .v5-mx14-who { color:var(--td-steelT); font-size:13px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-td .v5-mx14-q { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; color:var(--td-sub); font-size:13px; line-height:1.4; }
  .v5 .v5-td .v5-mx14-row--new .v5-mx14-q { color:var(--td-text); }
  .v5 body:has(.v5-mx14) .v5-thdr { left:0; padding-left:16px; }
  .v5 body:has(.v5-mx14) .v5-th.v5-td { padding:0; overflow:hidden; }
  .v5 .v5-td .v5-trail-wrap:has(.v5-mx14) { margin:0; }
  .v5 body .v5-td .v5-trail-wrap > .v5-td-col:has(> .v5-mx14) { max-width:none; padding-left:0; padding-right:0; padding-bottom:0; }
  .v5 .v5-td .v5-mx14 { grid-template-columns:var(--mx14-l, 320px) 6px minmax(0, 1fr); height:calc(100vh - 56px); min-height:0; margin-top:0; border:0; }
  .v5 .v5-td .v5-mx14 .v5-mx-main { min-height:0; padding-bottom:0; }
  .v5 .v5-td .v5-mx14 .v5-cv { flex:1 1 auto; height:auto; min-height:0; margin-bottom:12px; }
  .v5 .v5-td .v5-mx14 > .v5-mx-side { border-right:0; }
  .v5 .v5-td .v5-mx14 .v5-mx-al { overflow-wrap:anywhere; }
  .v5 .v5-td .v5-mx14 .v5-cv--beside { grid-template-columns:minmax(0, 1fr) 6px var(--mx14-r, 380px); }
  .v5 .v5-td .v5-mx14 .v5-cv--beside > .v5-cv-slide { border-left:0; }
  .v5 .v5-td .v5-mx14-h { position:relative; z-index:3; width:6px; min-width:6px; cursor:col-resize; touch-action:none; outline:none; }
  .v5 .v5-td .v5-mx14-h::after { content:""; position:absolute; left:2px; top:0; bottom:0; width:2px; background:var(--td-line); }
  .v5 .v5-td .v5-mx14-h:hover::after { background:var(--td-steel); }
  .v5 .v5-td .v5-mx14-h--on::after { background:var(--td-steel); }
  .v5 .v5-td .v5-mx14-h:focus-visible::after { background:var(--td-steel); }
  .v5 .v5-td .v5-mx14-g { position:absolute; top:50%; left:-3px; width:12px; height:34px; margin-top:-17px; box-sizing:border-box; border:1px solid var(--td-line); border-radius:var(--v5-r-tchip); background:var(--td-card); }
  .v5 .v5-td .v5-mx14-h:hover .v5-mx14-g { border-color:var(--td-steel); }
  .v5 body.v5-mx14-drag { cursor:col-resize; user-select:none; }
  /* ══ ⟦item 1214⟧ END ══ */
  /* ══ ⟦item 1228⟧ Messages round 2, the calmer page (MSG_1228_ON; tokens only) ══ */
  .v5 .v5-td .v5-mx28-wrap { display:flex; align-items:stretch; min-width:0; }
  .v5 .v5-td .v5-mx28-wrap > .v5-mx14 { flex:1 1 auto; min-width:0; }
  .v5 body .v5-td .v5-trail-wrap > .v5-td-col:has(> .v5-mx28-wrap) { max-width:none; padding-left:0; padding-right:0; padding-bottom:0; }
  /* F · the slim rail */
  .v5 .v5-td .v5-mx28-rail { display:block; flex:0 0 auto; width:56px; box-sizing:border-box; height:calc(100vh - 56px); overflow-x:hidden; overflow-y:auto; padding:10px 8px; border-right:1px solid var(--td-line); background:var(--td-card); }
  .v5 .v5-td .v5-mx28-rail--open { width:230px; }
  .v5 .v5-td .v5-mx28-ri { position:relative; display:flex; align-items:center; gap:10px; width:100%; box-sizing:border-box; margin:0 0 2px; padding:6px; border:0; border-radius:var(--v5-r-chip); background:transparent; color:var(--td-text); font:inherit; font-size:13.5px; text-align:left; text-decoration:none; white-space:nowrap; cursor:pointer; }
  .v5 .v5-td .v5-mx28-ri:hover { background:var(--td-pill); }
  .v5 .v5-td .v5-mx28-ic { display:grid; place-items:center; flex:0 0 auto; width:28px; height:28px; color:var(--td-muted); font-size:15px; }
  .v5 .v5-td .v5-mx28-av { display:grid; place-items:center; flex:0 0 auto; width:28px; height:28px; border-radius:var(--v5-r-chip); border:1px solid var(--td-line); background:var(--td-pill); color:var(--td-text); font-size:11px; font-weight:700; box-sizing:border-box; }
  .v5 .v5-td .v5-mx28-lb { overflow:hidden; text-overflow:ellipsis; opacity:0; }
  .v5 .v5-td .v5-mx28-rail--open .v5-mx28-lb { opacity:1; }
  .v5 .v5-td .v5-mx28-rn { position:absolute; top:2px; left:26px; min-width:14px; padding:0 4px; border-radius:var(--v5-r-chip); background:var(--td-steel); color:var(--td-white); font-size:10px; font-weight:700; line-height:16px; text-align:center; }
  .v5 .v5-td .v5-mx28-rsec { height:12px; margin:12px 0 4px 4px; color:var(--td-muted); font-size:10px; font-weight:700; letter-spacing:.08em; opacity:0; }
  .v5 .v5-td .v5-mx28-rail--open .v5-mx28-rsec { opacity:1; }
  /* calmer: no box around a message, a thin line between, the open one lit */
  .v5 .v5-td .v5-mx28 .v5-cv-chat--78 .v5-m78 { margin:0; padding:14px 8px; border:0; border-bottom:1px solid var(--td-line); border-radius:var(--v5-r-tchip); background:transparent; cursor:pointer; }
  .v5 .v5-td .v5-mx28 .v5-cv-chat--78 .v5-m78:hover { background:var(--td-pill); }
  .v5 .v5-td .v5-mx28 .v5-cv-chat--78 .v5-m78.v5-cv-m--note { background:transparent; border-left:3px solid var(--td-amber); }
  .v5 .v5-td .v5-mx28 .v5-cv-chat--78 .v5-m78.v5-m78--need { border-left:3px solid var(--td-steel); }
  .v5 .v5-td .v5-mx28 .v5-cv-chat--78 .v5-m78.v5-mx28-sel { background:var(--td-steelPill); }
  .v5 .v5-td .v5-mx28 .v5-cv-chat--78 .v5-m78-sw { margin:0; border:0; border-radius:var(--v5-r-tchip); }
  .v5 .v5-td .v5-mx28 .v5-cv-chat--78 .v5-m78-sw > .v5-m78 { border-radius:var(--v5-r-tchip); }
  /* I · the top line is the name and the time */
  .v5 .v5-td .v5-mx28 .v5-cv-chat--78 .v5-cv-kt { display:none; }
  .v5 .v5-td .v5-mx28 .v5-cv-chat--78 .v5-m78-ab { display:none; }
  .v5 .v5-td .v5-mx28 .v5-cv-chat--78 .v5-m78-meta { margin-top:4px; }
  /* the buttons on hover (a needs-you message keeps its own; a phone always shows Note to team) */
  .v5 body:not(.v5-tnarrow) .v5-td .v5-mx28 .v5-cv-chat--78 .v5-m78:not(.v5-m78--need) .v5-cv-pills { visibility:hidden; }
  .v5 body:not(.v5-tnarrow) .v5-td .v5-mx28 .v5-cv-chat--78 .v5-m78:not(.v5-m78--need):hover .v5-cv-pills { visibility:visible; }
  .v5 .v5-tnarrow .v5-td .v5-mx28 .v5-cv-chat--78 .v5-m78 .v5-cv-pills [data-cv-tonote] { display:inline-flex; visibility:visible; }
  /* B · the day headings sit in the flow (never stacked) */
  .v5 .v5-td .v5-mx28 .v5-cv-chat--cards .v5-cv-day { position:static; margin:18px 0 4px; padding:0; border:0; background:none; }
  /* G · Newest ↓ */
  .v5 .v5-td .v5-mx28-nwr { position:relative; height:0; }
  .v5 .v5-td .v5-mx28-newest { position:absolute; left:50%; bottom:10px; z-index:5; transform:translateX(-50%); padding:5px 14px; border:1px solid var(--td-line); border-radius:var(--v5-r-chip); background:var(--td-card); color:var(--td-steelT); font:inherit; font-size:12.5px; font-weight:700; box-shadow:0 2px 8px var(--td-shadow); cursor:pointer; }
  /* H · the reply box: the composer's compact box (cmpHtml), violet for a team note, gold for an email; Attach, @ and the button under the words */
  .v5 .v5-td .v5-mx28 .v5-cmp--compact { margin-top:10px; padding:10px 12px; border:1px solid var(--cmp-violetB); border-radius:var(--v5-r-cbox); background:var(--cmp-violetBg); }
  .v5 .v5-td .v5-mx28 .v5-cmp--compact.v5-cmp--client { border-color:var(--cmp-goldB); background:var(--cmp-goldBg); }
  .v5 .v5-td .v5-mx28 .v5-cmp--compact .v5-cmp-crow { flex-wrap:wrap; align-items:center; gap:6px 10px; padding:0; border:0; background:transparent; }
  .v5 .v5-td .v5-mx28 .v5-cmp--compact .v5-cmp-in { flex:1 1 100%; min-height:44px; }
  .v5 .v5-td .v5-mx28 .v5-cmp--compact .v5-cmp-send { margin-left:auto; }
  .v5 .v5-td .v5-mx28 .v5-cmp--compact.v5-cmp--team .v5-cmp-send { border-color:var(--cmp-violet); background:var(--cmp-violet); color:var(--cmp-onViolet); }
  .v5 .v5-td .v5-mx28 .v5-cmp--compact.v5-cmp--client .v5-cmp-send { border-color:var(--cmp-gold); background:var(--cmp-gold); color:var(--cmp-onGold); }
  .v5 .v5-td .v5-mx28-who { color:var(--cmp-violetT); font-size:13px; }
  .v5 .v5-td .v5-mx28 .v5-cmp--client .v5-mx28-who { color:var(--cmp-goldT); }
  .v5 .v5-td .v5-mx28-on { margin-left:auto; }
  .v5 .v5-td .v5-mx28-to { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin:0 0 8px; color:var(--td-muted); font-size:13px; }
  .v5 .v5-td .v5-mx28-pp { display:inline-flex; align-items:center; gap:4px; padding:1px 4px 1px 9px; border-radius:var(--v5-r-chip); background:var(--td-pill); color:var(--td-text); }
  .v5 .v5-td .v5-mx28-ppx { padding:0 4px; border:0; background:transparent; color:var(--td-muted); font:inherit; font-size:11px; cursor:pointer; }
  .v5 .v5-td .v5-mx28-add { padding:1px 8px; border:0; background:transparent; color:var(--td-steelT); font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
  .v5 .v5-td .v5-mx28-am { display:flex; flex-wrap:wrap; gap:4px; width:100%; }
  .v5 .v5-td .v5-mx28-ami { padding:3px 10px; border:1px solid var(--td-line); border-radius:var(--v5-r-chip); background:var(--td-card); color:var(--td-text); font:inherit; font-size:12.5px; cursor:pointer; }
  .v5 .v5-td .v5-mx28-tom { color:var(--td-muted); font-style:italic; }
  /* E · the signature, folded */
  .v5 .v5-td .v5-mx28-sig { margin:8px 0; }
  .v5 .v5-td .v5-mx28-sig > summary { color:var(--td-steelT); font-size:13px; cursor:pointer; }
  .v5 .v5-td .v5-mx28-sigp { color:var(--td-muted); }
  /* K · Needs you */
  .v5 .v5-td .v5-mx28-nhead { padding:10px 14px 6px; color:var(--td-violet); font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
  .v5 .v5-td .v5-mx28-nd { display:flex; gap:10px; width:calc(100% - 20px); box-sizing:border-box; margin:0 10px 8px; padding:10px 8px; border:1px solid var(--td-violet); border-radius:var(--v5-r-cbox); background:var(--td-violetBg); color:var(--td-text); font:inherit; text-align:left; cursor:pointer; }
  .v5 .v5-td .v5-mx28-nd--late { border-color:var(--td-err); background:color-mix(in srgb, var(--td-err) 12%, transparent); }
  .v5 .v5-td .v5-mx28-ndot { flex:0 0 auto; width:8px; height:8px; margin-top:6px; border-radius:var(--v5-r-chip); background:var(--td-violet); }
  .v5 .v5-td .v5-mx28-nd--late .v5-mx28-ndot { background:var(--td-err); }
  .v5 .v5-td .v5-mx28-nb { display:flex; flex-direction:column; flex:1 1 auto; gap:2px; min-width:0; }
  .v5 .v5-td .v5-mx28-nt { display:flex; justify-content:space-between; gap:8px; min-width:0; }
  .v5 .v5-td .v5-mx28-nt > b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13.5px; }
  .v5 .v5-td .v5-mx28-nt > small { flex:0 0 auto; color:var(--td-muted); font-size:12px; }
  .v5 .v5-td .v5-mx28-nd--late .v5-mx28-nt > small { color:var(--td-err); font-weight:700; }
  .v5 .v5-td .v5-mx28-nw { color:var(--td-violet); font-size:13px; font-weight:600; }
  .v5 .v5-td .v5-mx28-ny { color:var(--td-muted); font-size:12px; }
  .v5 .v5-td .v5-mx28-nd--late .v5-mx28-ny { color:var(--td-err); }
  .v5 .v5-td .v5-mx28-nfoot { margin:6px 14px 14px; color:var(--td-muted); font-size:12px; }
  .v5 .v5-td .v5-mx28-calm { justify-content:center; min-height:220px; box-sizing:border-box; }
  /* LATEST: two lines */
  .v5 .v5-td .v5-mx28-lr { display:flex; flex-direction:column; gap:3px; width:100%; box-sizing:border-box; margin:0; padding:10px 14px; border:0; border-top:1px solid var(--td-line); background:transparent; color:var(--td-text); font:inherit; text-align:left; cursor:pointer; }
  .v5 .v5-td .v5-mx28-lr:hover { background:var(--td-card); }
  .v5 .v5-td .v5-mx28-lt { display:flex; justify-content:space-between; gap:10px; min-width:0; }
  .v5 .v5-td .v5-mx28-lt > b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13.5px; }
  .v5 .v5-td .v5-mx28-lt > small { flex:0 0 auto; color:var(--td-muted); font-size:12px; }
  .v5 .v5-td .v5-mx28-lw { color:var(--td-muted); font-size:13px; }
  .v5 .v5-td .v5-mx28-lr--new .v5-mx28-lw { color:var(--td-steelT); font-weight:600; }
  /* J · Sent */
  .v5 .v5-td .v5-mx28-sr { display:flex; flex-direction:column; gap:2px; width:100%; box-sizing:border-box; margin:0; padding:10px 14px; border:0; border-top:1px solid var(--td-line); background:transparent; color:var(--td-text); font:inherit; text-align:left; cursor:pointer; }
  .v5 .v5-td .v5-mx28-sr:hover { background:var(--td-card); }
  .v5 .v5-td .v5-mx28-sr--x { cursor:default; }
  .v5 .v5-td .v5-mx28-st { display:flex; justify-content:space-between; gap:10px; min-width:0; }
  .v5 .v5-td .v5-mx28-st > b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13.5px; }
  .v5 .v5-td .v5-mx28-st > small { flex:0 0 auto; color:var(--td-muted); font-size:12px; }
  .v5 .v5-td .v5-mx28-ss { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--td-sub); font-size:13px; }
  .v5 .v5-td .v5-mx28-so { display:flex; justify-content:space-between; gap:10px; color:var(--td-muted); font-size:12px; }
  .v5 .v5-td .v5-mx28-sk--ok { color:var(--td-ok); }
  .v5 .v5-td .v5-mx28-sk--bad { color:var(--td-err); }
  /* ══ ⟦item 1228⟧ END ══ */
  /* ══ ⟦item 1250⟧ Messages: Talk, quieter approvals, the client-seen marker (MSG_1250_ON; the chat gets v5-cv-chat--50 only while it is on) ══ */
  /* its four colours: the --v5-p50-* tokens, in the v5 token block */
  .v5 .v5-td .v5-p50-div { flex:0 0 1px; align-self:stretch; width:1px; margin:4px 4px; background:var(--td-line); }
  .v5 .v5-td .v5-p50-ev { display:flex; align-items:baseline; gap:8px; padding:3px 8px 3px 50px; color:var(--td-muted); font-size:13px; line-height:1.5; }
  .v5 .v5-td .v5-p50-ck { flex:0 0 auto; color:var(--td-ok); }
  .v5 .v5-td .v5-p50-tx { min-width:0; }
  .v5 .v5-td .v5-p50-tx b { color:var(--td-sub); font-weight:500; }
  .v5 .v5-td .v5-p50-go { font-size:13px; }
  .v5 .v5-td .v5-p50-x { padding:0; border:0; background:transparent; color:var(--td-steelT); font:inherit; font-size:13px; cursor:pointer; }
  .v5 .v5-td .v5-p50-sub { padding:0 8px 4px 72px; color:var(--td-muted); font-size:12.5px; line-height:1.6; }
  .v5 .v5-td .v5-p50-sn { color:var(--td-muted); font-style:italic; }
  .v5 .v5-td .v5-p50-why { padding:0 8px 4px 72px; color:var(--td-muted); font-size:12.5px; font-style:italic; }
  .v5 .v5-td .v5-p50-foot { padding:10px 8px 0 50px; color:var(--td-muted); font-size:12.5px; }
  .v5 .v5-td .v5-m78-meta.v5-p50-seen { color:var(--v5-p50-seen); }
  .v5 .v5-td .v5-cv-av--p50t { background:var(--v5-p50-team); }
  .v5 .v5-td .v5-cv-av--p50c { background:var(--v5-p50-client); }
  .v5 .v5-td .v5-cv-av--p50a { background:var(--v5-p50-agency); }
  .v5 .v5-td .v5-cv-chat--50 .v5-cv-av--client { background:var(--v5-p50-client); }
  /* option E: no gold bar on a team note (gold is what the client owes) */
  .v5 .v5-td .v5-cv-chat--50 .v5-m78.v5-cv-m--note:not(.v5-m78--need) { border-left:1px solid var(--td-line); background:var(--td-card); }
  .v5 .v5-td .v5-mx28 .v5-cv-chat--50 .v5-m78.v5-cv-m--note:not(.v5-m78--need):not(.v5-mx28-sel) { border-left:0; background:transparent; }
  .v5 .v5-td .v5-mx28 .v5-cv-chat--50 .v5-m78.v5-cv-m--note:not(.v5-m78--need):not(.v5-mx28-sel):hover { background:var(--td-pill); }
  /* half the gap between messages */
  .v5 .v5-td .v5-cv-chat--50.v5-cv-chat--78 .v5-m78 { margin-bottom:5px; }
  .v5 .v5-td .v5-cv-chat--50.v5-cv-chat--78 .v5-m78-sw { margin-bottom:8px; }
  .v5 .v5-td .v5-mx28 .v5-cv-chat--50.v5-cv-chat--78 .v5-m78 { margin:0; padding-top:7px; padding-bottom:7px; }
  .v5 .v5-td .v5-mx28 .v5-cv-chat--50.v5-cv-chat--78 .v5-m78-sw { margin:0; }
  /* ✨ never floats over the thread: the Messages page has it in the header; a scoped thread in its own head */
  .v5 body:not(.v5-tnarrow) .v5-td .v5-cv-chat--50.v5-cv-chat--78 > .v5-cv-head--74:not(:has(.v5-cv-htl)) { position:static; justify-content:flex-end; padding:6px 16px 4px; border:0; }
  .v5 body:not(.v5-tnarrow) .v5-td .v5-cv-chat--50.v5-cv-chat--78 > .v5-cv-head--74:not(:has(.v5-cv-htl)) ~ .v5-cv-chips { padding-right:16px; }
  .v5 .v5-td .v5-p50-cmu { margin-right:2px; }
  /* ══ ⟦item 1250⟧ END ══ */
  .v5 .v5-td-tab--on { background:var(--td-pill); color:var(--td-steelT); font-weight:600; }
  .v5 .v5-td-tabn { margin-left:4px; font-size:12px; color:var(--td-muted); }
  /* the list and the details panel: one row, the panel top-aligned with the list and sticky */
  .v5 .v5-td-split { display:flex; align-items:flex-start; gap:20px; }
  .v5 .v5-td-main { flex:1 1 auto; min-width:0; }
  .v5 .v5-td-panel { flex:0 0 420px; width:420px; box-sizing:border-box; position:sticky; top:16px; align-self:flex-start; max-height:calc(100vh - 104px); overflow:auto; margin-top:24px; padding:18px 20px; border:1px solid var(--td-line); border-radius:var(--v5-r-card); background:var(--td-card); box-shadow:var(--td-shadow); }
  .v5 .v5-td-sec { margin-top:24px; font-size:12px; font-weight:700; letter-spacing:.1em; color:var(--td-steelT); }
  .v5 .v5-td-sec--grey { color:var(--td-muted); }
  .v5 .v5-td-split > .v5-td-main > .v5-td-sec:first-child, .v5 .v5-td-split > .v5-td-main > .v5-td-filter:first-child { margin-top:24px; }
  .v5 .v5-td-needs { margin-top:10px; padding:4px; border:1px solid var(--td-needsB); border-radius:var(--v5-r-card); background:var(--td-needs); }
  .v5 .v5-td-list { margin-top:10px; border:1px solid var(--td-line); border-radius:var(--v5-r-cbox); background:var(--td-card); overflow:hidden; }
  .v5 .v5-td-grp { margin:4px 0; }
  .v5 .v5-td-grp--w .v5-td-list { margin-top:4px; }
  .v5 .v5-td-ch { color:var(--td-text); display:flex; align-items:center; gap:8px; width:100%; padding:8px 10px 4px; border:0; background:none; cursor:pointer; text-align:left; }
  .v5 .v5-td-chi { width:22px; height:22px; border-radius:var(--v5-r-chip); display:inline-flex; align-items:center; justify-content:center; background:var(--td-pill); color:var(--td-steelT); font-size:10px; font-weight:700; }
  .v5 .v5-td-chn { font-size:13px; font-weight:700; color:var(--td-text); }
  .v5 .v5-td-chc { font-size:12px; color:var(--td-muted); }
  .v5 .v5-td-card, .v5 .v5-td-wrow, .v5 .v5-td-line { display:flex; align-items:center; gap:12px; padding:12px 14px; cursor:pointer; }
  .v5 .v5-td-card { border-radius:var(--v5-r-box); }
  .v5 .v5-td-wrow, .v5 .v5-td-line { border-bottom:1px solid var(--td-line); }
  .v5 .v5-td-wrow:last-child, .v5 .v5-td-line:last-child { border-bottom:0; }
  .v5 .v5-td-card:hover, .v5 .v5-td-wrow:hover, .v5 .v5-td-line:hover { background:rgba(61,111,158,.08); }
  .v5 .v5-td-sel, .v5 .v5-td-sel:hover { background:rgba(61,111,158,.14); box-shadow:inset 3px 0 0 var(--td-steel); }
  .v5 .v5-td-ic { position:relative; flex:0 0 34px; width:34px; height:34px; border-radius:var(--v5-r-tile); display:inline-flex; align-items:center; justify-content:center; background:var(--td-card); border:1px solid var(--td-line); }
  .v5 .v5-td-icn { position:absolute; top:-6px; right:-6px; min-width:16px; height:16px; padding:0 4px; box-sizing:border-box; border-radius:var(--v5-r-tile); background:var(--td-steel); color:var(--td-white); font-size:10px; font-weight:700; display:inline-flex; align-items:center; justify-content:center; }
  .v5 .v5-td-cm { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:2px; text-align:left; }
  .v5 .v5-td-ct { font-size:15px; font-weight:600; color:var(--td-text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-td-cs { font-size:13px; color:var(--td-sub); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-td-age { flex:0 0 auto; min-width:110px; text-align:right; font-size:13px; font-weight:500; white-space:nowrap; color:var(--td-muted); }
  .v5 .v5-td-age.v5-td-rust { color:var(--td-rust); }
  .v5 .v5-td-qb { flex:0 0 auto; display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 12px; border:1px solid var(--td-needsB); border-radius:var(--v5-r-tile); background:transparent; color:var(--td-steelT); font-size:13px; font-weight:600; white-space:nowrap; cursor:pointer; }
  .v5 .v5-td-qb:hover { background:var(--td-steel); color:var(--td-white); }
  .v5 .v5-td-qb--rem { border-color:var(--td-line); color:var(--td-sub); font-weight:500; }
  .v5 .v5-td-ck { flex:0 0 34px; width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--td-needsB); border-radius:var(--v5-r-tile); background:var(--td-card); color:var(--td-steelT); cursor:pointer; }
  .v5 .v5-td-ck:hover { background:var(--td-steel); color:var(--td-white); }
  .v5 .v5-td-pillc { flex:0 0 96px; display:inline-flex; justify-content:flex-start; }
  .v5 .v5-td-pill { display:inline-flex; align-items:center; height:22px; padding:0 8px; border-radius:var(--v5-r-chip); font-size:12px; font-weight:600; white-space:nowrap; background:rgba(127,127,127,.14); color:var(--td-muted); }
  .v5 .v5-td-pill--ok { background:rgba(47,122,74,.14); color:var(--td-ok); }
  .v5 .v5-td-pill--late { background:rgba(160,82,45,.14); color:var(--td-rust); }
  .v5 .v5-td-pill--sm { height:18px; font-size:11px; margin-left:6px; }
  .v5 .v5-td-sent { flex:0 0 96px; text-align:right; font-size:13px; color:var(--td-muted); white-space:nowrap; }
  .v5 .v5-td-empty { padding:16px; color:var(--td-ok); }
  .v5 .v5-td-empty--grey { color:var(--td-muted); }
  .v5 .v5-td-note { margin-top:24px; color:var(--td-sub); }
  /* conversation */
  .v5 .v5-td-filter { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-top:24px; }
  .v5 .v5-td-fl { font-size:13px; color:var(--td-muted); margin-right:4px; }
  .v5 .v5-td-chip { height:30px; padding:0 12px; border:1px solid var(--td-line); border-radius:var(--v5-r-cbox); background:var(--td-card); color:var(--td-sub); font-size:13px; cursor:pointer; }
  .v5 .v5-td-chip span { color:var(--td-muted); margin-left:2px; }
  .v5 .v5-td-chip--on { background:var(--td-pill); border-color:var(--td-needsB); color:var(--td-steelT); font-weight:600; }
  .v5 .v5-td-tagc { flex:0 0 112px; display:inline-flex; }
  .v5 .v5-td-tag { display:inline-flex; align-items:center; gap:5px; height:22px; padding:0 8px; border-radius:var(--v5-r-chip); font-size:11px; font-weight:600; white-space:nowrap; }
  .v5 .v5-td-tag--steel { background:rgba(61,111,158,.16); color:var(--td-steelT); }
  .v5 .v5-td-tag--violet { background:var(--td-violetBg); color:var(--td-violet); }
  .v5 .v5-td-tag--amber { background:var(--td-gold); color:var(--td-amber); }
  .v5 .v5-td-tag--rust { background:rgba(160,82,45,.14); color:var(--td-rust); }
  .v5 .v5-td-tag--green { background:rgba(47,122,74,.14); color:var(--td-ok); }
  .v5 .v5-td-tag--grey { background:rgba(127,127,127,.14); color:var(--td-muted); }
  .v5 .v5-td-tag--teal { background:var(--td-tealBg); color:var(--td-teal); }   /* ⟦item 1105⟧ Client notes */
  .v5 .v5-td-lto { color:var(--td-sub); }
  .v5 .v5-td-lt { font-size:14px; color:var(--td-text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-td-when { flex:0 0 96px; text-align:right; font-size:13px; color:var(--td-muted); white-space:nowrap; }
  /* the panel's insides */
  .v5 .v5-td-ph { display:flex; align-items:center; gap:8px; }
  .v5 .v5-td-plbl { font-size:11px; font-weight:700; letter-spacing:.08em; color:var(--td-muted); }
  .v5 .v5-td-px { margin-left:auto; width:32px; height:32px; display:inline-flex; align-items:center; justify-content:center; border:0; border-radius:var(--v5-r-tile); background:transparent; color:var(--td-sub); cursor:pointer; }
  .v5 .v5-td-pt { margin:8px 0 0; font-size:19px; line-height:1.3; color:var(--td-text); }
  .v5 .v5-td-psub { margin-top:6px; font-size:13px; color:var(--td-sub); }
  .v5 .v5-td-psm { font-size:12px; color:var(--td-muted); }
  .v5 .v5-td-chip2 { display:inline-flex; padding:2px 8px; border-radius:var(--v5-r-chip); background:var(--td-pill); color:var(--td-steelT); font-size:12px; font-weight:600; }
  .v5 .v5-td-pacts { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
  .v5 .v5-td-pacts--end { justify-content:flex-end; }
  .v5 .v5-td-plh { margin:18px 0 6px; font-size:11px; font-weight:700; letter-spacing:.08em; color:var(--td-muted); }
  .v5 .v5-td-prows { border:1px solid var(--td-line); border-radius:var(--v5-r-box); overflow:hidden; }
  .v5 .v5-td-prow { display:flex; align-items:flex-start; gap:10px; padding:9px 12px; border-bottom:1px solid var(--td-line); font-size:13px; }
  .v5 .v5-td-prow:last-child { border-bottom:0; }
  .v5 .v5-td-prt { flex:1 1 auto; min-width:0; color:var(--td-text); line-height:1.45; }
  .v5 .v5-td-prd { flex:0 0 64px; text-align:right; color:var(--td-muted); white-space:nowrap; }
  .v5 .v5-td-pbox { padding:12px 14px; border:1px solid var(--td-line); border-radius:var(--v5-r-box); background:var(--td-bg); font-size:14px; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; }
  .v5 .v5-td-pbox p { margin:8px 0 0; }
  .v5 .v5-td-pbox--team { background:var(--td-violetBg); }
  .v5 .v5-td-pul { margin:0; padding-left:18px; color:var(--td-sub); font-size:13px; }
  /* Clients */
  .v5 .v5-td-cgrid { display:grid; grid-template-columns:repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap:12px; margin-top:20px; }
  .v5 .v5-td-ccard { color:var(--td-text); display:flex; align-items:flex-start; gap:12px; padding:16px; border:1px solid var(--td-line); border-radius:var(--v5-r-card); background:var(--td-card); cursor:pointer; text-align:left; }
  .v5 .v5-td-ccard:hover { box-shadow:var(--td-shadow); }
  .v5 .v5-td-sigs { display:flex; flex-wrap:wrap; gap:4px 10px; margin-top:6px; font-size:13px; font-weight:600; }
  .v5 .v5-td-sig { white-space:nowrap; }
  .v5 .v5-td-sig--turn { color:var(--td-steel); }
  .v5 .v5-td-sig--with { color:var(--td-amber); }
  .v5 .v5-td-sig--late { color:var(--td-rust); }
  .v5 .v5-td-none { display:flex; flex-wrap:wrap; gap:6px 18px; margin-top:10px; }
  .v5 .v5-td-nonei { border:0; background:none; padding:4px 0; color:var(--td-sub); font-size:14px; cursor:pointer; }
  /* Write */
  .v5 .v5-td-mwrap { position:fixed; inset:0; z-index:1200; display:flex; align-items:center; justify-content:center; font-family:var(--v5-font); color:var(--td-text); }
  .v5 .v5-td-mscrim { position:absolute; inset:0; background:rgba(0,0,0,.4); }
  .v5 .v5-td-modal { position:relative; width:520px; max-width:calc(100vw - 24px); max-height:calc(100vh - 40px); overflow:auto; box-sizing:border-box; padding:20px 22px; border-radius:var(--v5-r-card); background:var(--td-card); box-shadow:0 20px 50px rgba(0,0,0,.3); }
  .v5 .v5-td-seg { display:inline-flex; flex-wrap:wrap; padding:3px; border:1px solid var(--td-line); border-radius:var(--v5-r-box); }
  .v5 .v5-td-segb { border:0; border-radius:var(--v5-r-tchip); padding:7px 10px; background:transparent; color:var(--td-sub); font-size:13px; cursor:pointer; }
  .v5 .v5-td-segb--on { background:var(--td-pill); color:var(--td-steelT); font-weight:600; }
  .v5 .v5-td-segb[disabled] { opacity:.45; cursor:default; }
  .v5 .v5-td-ppl { display:flex; flex-wrap:wrap; gap:6px 14px; }
  .v5 .v5-td-pchk { display:flex; align-items:center; gap:6px; font-size:14px; text-transform:none; letter-spacing:normal; font-weight:500; color:var(--td-text); }
  .v5 .v5-td-select, .v5 .v5-td-in { width:100%; height:36px; box-sizing:border-box; padding:0 10px; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); background:var(--td-card); color:var(--td-text); font-family:var(--v5-font); font-size:14px; }
  .v5 .v5-td-in { margin-top:12px; }
  .v5 .v5-td-ta { display:block; width:100%; box-sizing:border-box; margin-top:10px; padding:10px; border:1px solid var(--td-line); border-radius:var(--v5-r-box); background:var(--td-card); color:var(--td-text); font-family:var(--v5-font); font-size:14px; resize:vertical; }
  .v5 .v5-td-err { margin-top:6px; font-size:13px; color:var(--td-err); }
  /* ⟦item 1171c2⟧ THE COMPOSER FRAME (Write and the email screen): Send to client's shape. Steel (--td-steelT, the team ink) for every
     team control; gold only on the send button that reaches the client; 16px inputs (no zoom on a phone); Light and Dark through --td-*. */
  .v5 .v5-ecf-wrap .v5-td-modal.v5-ecf { width:640px; max-width:calc(100vw - 24px); padding:0; overflow:hidden; display:flex; flex-direction:column; }
  .v5 .v5-ecf-wrap .v5-td-modal.v5-ecf--pv { width:1160px; }
  .v5 .v5-ecf-bx { display:grid; grid-template-columns:minmax(0, 1fr); min-height:0; flex:1 1 auto; overflow:auto; }
  .v5 .v5-ecf--pv .v5-ecf-bx { grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); overflow:hidden; }
  .v5 .v5-ecf-l { padding:20px 24px; min-width:0; overflow:auto; }
  .v5 .v5-ecf-k { font-size:11px; letter-spacing:.12em; font-weight:800; color:var(--td-sub); }
  .v5 .v5-ecf .v5-td-ph { margin-bottom:6px; }
  .v5 .v5-ecf-sl { margin:16px 0 8px; font-size:11px; letter-spacing:.12em; font-weight:800; color:var(--td-sub); }
  .v5 .v5-ecf-opt { letter-spacing:0; font-weight:600; color:var(--td-muted); }
  .v5 .v5-ecf-ppl { display:flex; flex-wrap:wrap; gap:8px 16px; }
  .v5 .v5-ecf-p { display:inline-flex; align-items:center; gap:8px; margin:0; font-size:14px; font-weight:500; letter-spacing:normal; text-transform:none; color:var(--td-text); }
  .v5 .v5-ecf-p input { width:17px; height:17px; margin:0; accent-color:var(--td-steelT); }
  .v5 .v5-ecf-tag { font-size:11px; font-weight:700; color:var(--td-steelT); }
  .v5 .v5-ecf-tag--test { padding:0 6px; border:1px solid var(--td-line); border-radius:var(--v5-r-tchip); color:var(--td-muted); }
  .v5 .v5-ecf-in, .v5 .v5-ecf .v5-td-in { height:40px; margin-top:0; font-size:16px; }
  .v5 .v5-ecf .v5-cmp-in { font-size:16px; }
  .v5 .v5-ecf-dd { display:flex; align-items:center; gap:6px; min-height:42px; box-sizing:border-box; padding:5px 8px; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); background:var(--td-card); }
  .v5 .v5-ecf-chips { display:flex; flex-wrap:wrap; align-items:center; gap:6px; flex:1 1 auto; min-width:0; }
  .v5 .v5-ecf-chip { display:inline-flex; align-items:center; gap:4px; max-width:100%; padding:2px 4px 2px 10px; border-radius:var(--v5-r-tchip); background:var(--td-pill); color:var(--td-steelT); font-size:13px; font-weight:600; overflow-wrap:anywhere; }
  .v5 .v5-ecf-chip--team { background:var(--td-violetBg); color:var(--td-violet); }
  .v5 .v5-ecf-chip--typed { background:transparent; border:1px dashed var(--td-line); color:var(--td-sub); }
  .v5 .v5-ecf-chx { width:22px; height:22px; padding:0; border:0; border-radius:var(--v5-r-tchip); background:none; color:var(--td-muted); font-size:15px; line-height:1; cursor:pointer; }
  .v5 .v5-ecf-addr { flex:1 1 160px; min-width:120px; height:30px; border:0; outline:none; background:none; color:var(--td-text); font-family:var(--v5-font); font-size:16px; }
  .v5 .v5-ecf-ph { color:var(--td-muted); font-size:13px; }
  .v5 .v5-ecf-ddb { flex:0 0 auto; width:32px; height:32px; border:0; border-radius:var(--v5-r-tchip); background:none; color:var(--td-steelT); font-size:14px; cursor:pointer; }
  .v5 .v5-ecf-hint { margin-top:6px; font-size:12.5px; color:var(--td-muted); }
  .v5 .v5-ecf-lnk { padding:0; border:0; background:none; color:var(--td-steelT); font:inherit; font-weight:700; cursor:pointer; }
  .v5 .v5-ecf-menu { margin-top:6px; max-height:300px; overflow:auto; padding:6px; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); background:var(--td-card); box-shadow:var(--td-shadow); }
  .v5 .v5-ecf-mg { padding:8px 8px 2px; font-size:10.5px; letter-spacing:.12em; font-weight:800; color:var(--td-muted); }
  .v5 .v5-ecf-msep { height:1px; margin:6px 0; background:var(--td-line); }
  .v5 .v5-ecf-mo { display:flex; align-items:center; gap:10px; width:100%; min-height:36px; padding:6px 8px; border:0; border-radius:var(--v5-r-tchip); background:none; color:var(--td-text); font-size:14px; text-align:left; cursor:pointer; }
  .v5 .v5-ecf-mo small { margin-left:auto; padding-left:10px; color:var(--td-muted); font-size:12px; white-space:nowrap; }
  .v5 .v5-ecf-mo--on { background:var(--td-pill); }
  .v5 .v5-ecf-mo[disabled] { opacity:.45; cursor:default; }
  .v5 .v5-ecf-mon { min-width:0; overflow-wrap:anywhere; }
  .v5 .v5-ecf-cb { flex:0 0 auto; display:grid; place-items:center; width:17px; height:17px; box-sizing:border-box; border:1.5px solid var(--td-line); border-radius:var(--v5-r-chip); font-size:11px; font-weight:800; color:var(--td-white); }
  .v5 .v5-ecf-mo--on .v5-ecf-cb, .v5 .v5-ecf-hw--on .v5-ecf-cb { background:var(--td-steelT); border-color:var(--td-steelT); }
  .v5 .v5-ecf-hw--team.v5-ecf-hw--on .v5-ecf-cb { background:var(--td-violet); border-color:var(--td-violet); }
  .v5 .v5-ecf-how { display:flex; flex-direction:column; gap:8px; }
  .v5 .v5-ecf-hw { display:flex; align-items:flex-start; gap:10px; width:100%; padding:9px 11px; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); background:none; color:var(--td-text); font-size:14px; text-align:left; cursor:pointer; }
  .v5 .v5-ecf-hw b { font-weight:700; }
  .v5 .v5-ecf-hw small { display:block; margin-top:1px; color:var(--td-sub); font-size:12.5px; }
  .v5 .v5-ecf-hw--on { border-color:var(--td-steelT); background:var(--td-pill); }
  .v5 .v5-ecf-hw--team.v5-ecf-hw--on { border-color:var(--td-violet); background:var(--td-violetBg); }
  .v5 .v5-ecf-snd { margin-top:16px; }
  .v5 .v5-ecf-rl { margin-top:12px; font-size:12.5px; color:var(--td-muted); }
  .v5 .v5-ecf-pv { display:flex; flex-direction:column; min-width:0; min-height:0; padding:20px 22px; border-left:1px solid var(--td-line); background:var(--td-bg); overflow:auto; }
  .v5 .v5-ecf-pvk { margin-bottom:10px; font-size:11px; letter-spacing:.12em; font-weight:800; color:var(--td-sub); }
  .v5 .v5-ecf-pvhd { display:grid; grid-template-columns:62px minmax(0, 1fr); gap:2px 8px; margin-bottom:10px; padding:8px 12px; border-radius:var(--v5-r-tile); background:var(--td-card); font-size:12.5px; color:var(--td-muted); }
  .v5 .v5-ecf-pvhd b { color:var(--td-text); font-weight:600; overflow-wrap:anywhere; }
  .v5 .v5-ecf-pvf { flex:1 1 auto; width:100%; min-height:460px; border:0; border-radius:var(--v5-r-box); background:var(--td-white); }
  .v5 .v5-ecf-pvn { margin-top:8px; font-size:12.5px; color:var(--td-muted); }
  .v5 .v5-ecf-pvx { align-self:flex-start; margin-bottom:10px; height:36px; padding:0 14px; border:1px solid var(--td-line); border-radius:var(--v5-r-tchip); background:var(--td-card); color:var(--td-steelT); font-size:14px; font-weight:700; cursor:pointer; }
  .v5 .v5-ecf-ts { --td-card:var(--v5-panel2); --td-line:var(--v5-line); --td-text:var(--v5-text); --td-sub:var(--v5-text2); --td-muted:var(--v5-text3); --td-steelT:var(--v5-team-ink); --td-pill:var(--v5-chip); --td-violet:var(--v5-tr-violet); --td-violetBg:rgba(150,120,230,.16); }   /* ⟦item 1171d1⟧ Write's Cc / Bcc fields inside the Send dialog: the tokens they read, from the dialog's own --v5-* (Light / Dark follow the page) */
  .v5 .v5-ecf-ts .v5-ecf-capb { margin-top:12px; }
  .v5 .v5-ecf-ts .v5-ecf-lnk[disabled] { opacity:.5; cursor:default; }
  .v5 .v5-ecf-ft { display:flex; align-items:center; gap:10px; padding:14px 24px; border-top:1px solid var(--td-line); background:var(--td-card); }
  .v5 .v5-ecf-sp { flex:1 1 auto; }
  .v5 .v5-ecf-cancel { height:38px; padding:0 16px; border:1px solid var(--td-line); border-radius:var(--v5-r-tchip); background:var(--td-card); color:var(--td-text); font-size:14px; font-weight:700; cursor:pointer; }
  .v5 .v5-ecf-go { height:38px; padding:0 16px; border:0; border-radius:var(--v5-r-tchip); font-size:14px; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; cursor:pointer; }
  .v5 .v5-ecf-go--client { background:var(--cmp-gold); color:var(--cmp-onGold, rgba(27,22,7,1)); }
  .v5 .v5-ecf-go--team { background:var(--cmp-violet); color:var(--cmp-onViolet); }
  .v5 .v5-ecf-go[disabled] { opacity:.6; cursor:default; }
  /* a phone (the frame's own class, set when the screen is 760px or less: the v5 sheet uses no media queries) */
  .v5 .v5-ecf-wrap .v5-td-modal.v5-ecf--phone { width:100vw; max-width:100vw; height:100dvh; max-height:100dvh; }
  .v5 .v5-ecf--phone .v5-ecf-l { padding:16px; }
  .v5 .v5-ecf--phone.v5-ecf--pv .v5-ecf-bx { grid-template-columns:minmax(0, 1fr); }
  .v5 .v5-ecf--full .v5-ecf-pv { position:absolute; inset:0; z-index:2; border-left:0; padding:16px; }
  .v5 .v5-ecf--phone .v5-ecf-ft { padding:12px 16px; }
  /* the header (Today mode): icons on the tools, the search box, the phone's 🔍 */
  .v5 .v5-td-hic { display:inline-flex; margin-right:6px; color:inherit; opacity:.85; }
  .v5 .v5-td-tabsh .v5-thdr-tab { display:inline-flex; align-items:center; }
  .v5 .v5-td-more { min-width:240px; }
  .v5 .v5-td-grp-h { display:block; margin-top:4px; padding:8px 10px 4px; border-top:1px solid var(--v5-line); font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-td-grp-h:first-child { border-top:0; margin-top:0; }
  .v5 .v5-td-sbox { display:inline-flex; align-items:center; gap:8px; width:300px; height:36px; margin-right:10px; padding:0 8px 0 10px; box-sizing:border-box; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-panel2); color:var(--v5-text3); }
  .v5 .v5-td-sbox:focus-within { border-color:var(--v5-team-ink); }
  .v5 .v5-td-sq { flex:1 1 auto; min-width:0; height:32px; border:0; outline:none; background:none; color:var(--v5-text); font-family:var(--v5-font); font-size:13px; }
  .v5 .v5-td-kbd { flex:0 0 auto; padding:1px 5px; border:1px solid var(--v5-line); border-radius:var(--v5-r-chip); font-family:var(--v5-font); font-size:11px; font-weight:600; color:var(--v5-text3); }
  .v5 .v5-td-sicon { display:none; }
  .v5 .v5-tnarrow .v5-td-sbox { display:none; }
  .v5 .v5-tnarrow .v5-td-sicon { display:inline-flex; }
  /* the search dropdown (under the box) and the phone's full-width sheet */
  .v5 .v5-td-sd { position:fixed; z-index:1150; width:480px; max-width:calc(100vw - 24px); max-height:calc(100vh - 90px); overflow:auto; box-sizing:border-box; padding:8px; border:1px solid var(--td-line); border-radius:var(--v5-r-cbox); background:var(--td-card); color:var(--td-text); box-shadow:0 12px 32px rgba(0,0,0,.18); font-family:var(--v5-font); }
  .v5 .v5-td-sd--wide { width:640px; }
  .v5 .v5-td-sd--sheet { inset:0; top:0; right:0; z-index:3000; width:auto; max-width:none; max-height:none; border-radius:var(--v5-r-tile); padding:0; }
  .v5 .v5-td-ssheet-h { position:sticky; top:0; display:flex; align-items:center; gap:8px; height:56px; padding:0 12px; border-bottom:1px solid var(--td-line); background:var(--td-card); }
  .v5 .v5-td-sd--sheet .v5-td-sq { color:var(--td-text); font-size:16px; }
  .v5 .v5-td-sd--sheet .v5-td-slist { padding:8px; }
  .v5 .v5-td-sh { padding:10px 10px 4px; font-size:11px; font-weight:600; letter-spacing:.08em; color:var(--td-muted); border-top:1px solid var(--td-line); }
  .v5 .v5-td-sh:first-child { border-top:0; }
  .v5 .v5-td-sr { color:var(--td-text); display:flex; align-items:center; gap:10px; width:100%; min-height:42px; padding:6px 10px; border:0; border-radius:var(--v5-r-tile); background:none; cursor:pointer; text-align:left; }
  .v5 .v5-td-sr:hover, .v5 .v5-td-sr--sel { background:var(--td-pill); }
  .v5 .v5-td-sr .v5-td-ct { font-size:14px; }
  .v5 .v5-td-sr--ai .v5-td-ct { color:var(--td-violet); }
  .v5 .v5-td-sic { flex:0 0 28px; width:28px; height:28px; border-radius:var(--v5-r-tchip); display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--td-line); color:var(--td-sub); }
  .v5 .v5-td-sic--logo { background:var(--td-pill); color:var(--td-steelT); font-size:10px; font-weight:700; border:0; }
  .v5 .v5-td-smore { border:0; background:none; padding:4px 10px 8px 48px; color:var(--td-steel); font-size:13px; cursor:pointer; }
  .v5 .v5-td-snote { padding:10px; font-size:13px; color:var(--td-muted); }
  /* a phone: one column, the panel a full-height sheet over the page */
  .v5 .v5-tnarrow .v5-td .v5-td-col { padding-left:0; padding-right:0; }
  .v5 .v5-tnarrow .v5-td-hero { flex-wrap:wrap; padding:18px; }
  .v5 .v5-tnarrow .v5-td-big { font-size:26px; }
  .v5 .v5-tnarrow .v5-td-hbtns { width:100%; justify-content:flex-start; }
  /* ⟦item 1143⟧ the phone project header: one slim sticky line at the top of the page's own scroller (#v5-today, under the fixed 56px app header), edge to edge over its 24px sides; hidden everywhere else */
  .v5 .v5-td-pbar { display:none; }
  .v5 .v5-cl--phone .v5-td-pbar { display:flex; align-items:center; gap:8px; position:sticky; top:0; z-index:20; height:46px; box-sizing:border-box; margin:0 -24px 4px; padding:0 12px 0 8px; background:var(--td-bg); border-bottom:1px solid var(--td-line); }
  .v5 .v5-cl--phone .v5-td-crumb--p, .v5 .v5-cl--phone .v5-td-hero--p { display:none; }
  .v5 .v5-cl--phone .v5-td-pbar + .v5-td-tabs, .v5 .v5-cl--phone .v5-td-pbar + .v5-cv-tabrow { margin-top:8px; }
  .v5 .v5-td-pbk { flex:0 0 36px; height:36px; border:0; background:none; padding:0; color:var(--td-sub); font-size:26px; line-height:1; cursor:pointer; }
  .v5 .v5-td-pbn { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:16px; font-weight:700; color:var(--td-text); }
  .v5 .v5-td-pbl { flex:0 0 auto; height:22px; padding:0 8px; border:1px solid transparent; border-radius:var(--v5-r-chip); background:rgba(239,122,58,.16); color:var(--td-rust); font-size:12px; font-weight:700; white-space:nowrap; cursor:pointer; }
  .v5 .v5-td-pbl--on { border-color:var(--td-rust); }
  .v5 .v5-td-pbm { flex:0 0 36px; height:36px; border:0; background:none; padding:0; color:var(--td-sub); font-size:20px; line-height:1; cursor:pointer; }
  .v5 .v5-td-showall { margin-top:10px; border:0; background:none; }
  .v5 .v5-tnarrow .v5-td-panel { position:fixed; inset:56px 0 0 0; width:auto; max-height:none; margin:0; border-radius:var(--v5-r-tile); z-index:300; flex:none; }
  .v5 .v5-tnarrow .v5-td-age, .v5 .v5-tnarrow .v5-td-sent, .v5 .v5-tnarrow .v5-td-when { min-width:0; flex-basis:auto; font-size:12px; }
  .v5 .v5-tnarrow .v5-td-card, .v5 .v5-tnarrow .v5-td-wrow { flex-wrap:wrap; }
  .v5 .v5-tnarrow .v5-td-card .v5-td-cm, .v5 .v5-tnarrow .v5-td-wrow .v5-td-cm { flex-basis:calc(100% - 50px); }
  .v5 .v5-tnarrow .v5-td-tagc { flex-basis:auto; }
  .v5 .v5-tnarrow .v5-td-pillc { flex-basis:auto; }
  /* ⟦item 1076⟧ TODAY-2 — one pattern at every level (mock today2-preview.html): Home's tabs Clients · To do · Conversation; a client's and a
     project's Overview · Conversation; ONE row shape; Your turn = steel text + a blue-tinted box, Waiting on the client = gold text + a
     gold-tinted box, rust when late. Dark = the mock's set; Light = 1066's --v5-tl-* family (gold ink #8a5a0b). */
  .v5 .v5-td, .v5 .v5-td-mwrap { --td-goldT:var(--v5-gold); --td-goldBox:var(--v5-td2-goldbox); --td-goldLine:var(--v5-td2-goldline); --td-goldRow:var(--v5-td2-goldrow); --td-goldBtnT:var(--v5-td2-goldbtn); --td-goldBtnB:var(--v5-td2-goldbtnb); --td-goldPillT:var(--v5-on-gold);
    --td-turnBox:var(--v5-td2-turnbox); --td-turnLine:var(--v5-td2-turnline); --td-steelPill:var(--v5-rp-lt-steel); }
  .v5 .v5-tlpg .v5-td, .v5 .v5-tlpg .v5-td-mwrap { --td-goldT:var(--v5-tl-amber); --td-goldBox:var(--v5-tl-goldbox); --td-goldLine:var(--v5-tl-goldline); --td-goldRow:var(--v5-tl-goldrow); --td-goldBtnT:var(--v5-tl-amber); --td-goldBtnB:var(--v5-tl-goldbtnb); --td-goldPillT:var(--v5-tl-card);
    --td-turnBox:var(--v5-tl-needs-bg); --td-turnLine:var(--v5-tl-needs-line); --td-steelPill:var(--v5-tl-steel); }
  .v5 .v5-td-sec--turn { color:var(--td-steelT); }
  .v5 .v5-td-sec--wait { color:var(--td-goldT); margin-top:28px; }
  .v5 .v5-td-gold { color:var(--td-goldT); font-weight:600; }
  .v5 .v5-td-box { margin-top:10px; border:1px solid var(--td-line); border-radius:var(--v5-r-card); background:var(--td-card); overflow:hidden; }
  .v5 .v5-td-box + .v5-td-box { margin-top:12px; }
  .v5 .v5-td-box--turn { border-color:var(--td-turnLine); background:var(--td-turnBox); }
  .v5 .v5-td-box--wait { border-color:var(--td-goldLine); background:var(--td-goldBox); }
  .v5 .v5-td-row { display:flex; align-items:center; gap:12px; padding:13px 18px; border-bottom:1px solid var(--td-line); cursor:pointer; }
  .v5 .v5-td-box--turn .v5-td-row { border-bottom-color:var(--td-turnLine); }
  .v5 .v5-td-box--wait .v5-td-row { border-bottom-color:var(--td-goldRow); }
  .v5 .v5-td-row:last-child { border-bottom:0; }
  .v5 .v5-td-row:hover { background:rgba(61,111,158,.08); }
  .v5 .v5-td-rt { font-size:15px; font-weight:700; line-height:1.35; color:var(--td-text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-td-rr { flex:0 0 auto; display:inline-flex; align-items:center; gap:8px; }
  .v5 .v5-td-row .v5-td-age { min-width:0; }
  .v5 .v5-td-row .v5-td-qb { height:30px; padding:0 12px; font-size:12.5px; }
  .v5 .v5-td-row .v5-td-ck { flex-basis:32px; width:32px; height:30px; }
  .v5 .v5-td-qb--rem { border-color:var(--td-goldBtnB); color:var(--td-goldBtnT); font-weight:600; }
  .v5 .v5-td-qb--rem:hover { background:var(--td-goldLine); color:var(--td-goldBtnT); }
  .v5 .v5-td-chev { color:var(--td-muted); font-size:15px; }
  .v5 .v5-td-small { font-size:12px; }
  .v5 .v5-td-ch { gap:10px; padding:12px 18px; border-bottom:1px solid var(--td-turnLine); font-size:15px; }
  .v5 .v5-td-ch--wait { border-bottom-color:var(--td-goldLine); }
  .v5 .v5-td-ch:hover { background:rgba(61,111,158,.10); }
  .v5 .v5-td-ch .v5-td-clogo { flex-basis:24px; width:24px; height:24px; font-size:10px; }
  .v5 .v5-td-chn { font-size:15px; font-weight:800; }
  .v5 .v5-td-chc { min-width:20px; height:20px; padding:0 7px; box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; border-radius:var(--v5-r-box); background:var(--td-steelPill); color:var(--v5-tl-card); font-size:12px; font-weight:700; }
  .v5 .v5-td-ch--wait .v5-td-chc { background:var(--td-goldT); color:var(--td-goldPillT); }
  .v5 .v5-td-cho { margin-left:auto; font-size:13px; font-weight:500; color:var(--td-sub); white-space:nowrap; }
  /* ⟦item 1167⟧ Home To do, easier to read: a slimmer client header, project labels, fixed right columns (date · action · ✓), the Just approved strip */
  .v5 .v5-td-ch { padding:10px 18px 6px; border-bottom:0; font-size:14.5px; }
  .v5 .v5-td-chn { font-weight:700; }
  .v5 .v5-td-cho { font-size:12.5px; font-weight:600; color:var(--td-muted); }
  .v5 .v5-td-pj { padding:6px 18px 2px; font-size:10.5px; font-weight:700; letter-spacing:.12em; color:var(--td-muted); }
  .v5 .v5-td-sec small { margin-left:8px; font-size:12.5px; font-weight:600; letter-spacing:0; color:var(--td-muted); }
  .v5 .v5-td-row2 { display:grid; grid-template-columns:minmax(0,1fr) 130px 150px 34px; align-items:center; gap:12px; padding:9px 18px; border-bottom:0; border-top:1px solid var(--td-line); }
  .v5 .v5-td-box--turn .v5-td-row2 { border-top-color:var(--td-turnLine); }
  .v5 .v5-td-box--wait .v5-td-row2 { border-top-color:var(--td-goldRow); }
  .v5 .v5-td-pj + .v5-td-row2 { border-top:0; }
  .v5 .v5-td-row2 .v5-td-rt { font-size:14.5px; font-weight:650; }
  .v5 .v5-td-l3 { font-size:12px; color:var(--td-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-td-l3 i { font-style:normal; color:var(--td-sub); }
  .v5 .v5-td-rtl { display:flex; align-items:baseline; min-width:0; }
  .v5 .v5-td-rel { flex:none; display:inline-block; margin-left:8px; padding:0 8px; border-radius:var(--v5-r-chip); background:var(--td-pill); color:var(--td-steelT); font-size:11px; font-weight:700; vertical-align:1px; }
  .v5 .v5-td-due { text-align:right; font-size:12.5px; line-height:1.3; color:var(--td-sub); white-space:nowrap; }
  .v5 .v5-td-due small { display:block; font-size:11.5px; color:var(--td-muted); }
  .v5 .v5-td-pillc2 { justify-self:end; }
  .v5 .v5-td-actc { justify-self:end; }
  .v5 .v5-td-ckc { width:34px; display:inline-flex; justify-content:flex-end; }
  .v5 .v5-td-apstrip { margin-top:24px; padding:8px 16px; border:1px solid var(--td-apB); border-radius:var(--v5-r-card); background:var(--td-apBg); }
  .v5 .v5-td-aph { display:flex; margin:2px 0; font-size:11px; font-weight:800; letter-spacing:.12em; color:var(--td-ok); }
  .v5 .v5-td-aph span { margin-left:auto; font-size:12px; font-weight:600; letter-spacing:0; color:var(--td-muted); }
  .v5 .v5-td-ap { display:flex; align-items:center; gap:12px; padding:8px 0; border-top:1px solid var(--td-apB); cursor:pointer; }
  .v5 .v5-td-aph + .v5-td-ap { border-top:0; }
  .v5 .v5-td-aptick { flex:none; width:22px; height:22px; border-radius:50%; display:grid; place-items:center; background:var(--td-ok); color:var(--td-card); font-size:12px; font-weight:800; }
  .v5 .v5-td-apx { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; }
  .v5 .v5-td-apx b { font-weight:700; color:var(--td-text); }
  .v5 .v5-td-apx span { font-size:12.5px; color:var(--td-sub); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-td-apw { flex:none; font-size:12.5px; color:var(--td-muted); white-space:nowrap; }
  .v5 .v5-td-apdz { flex:none; width:28px; height:28px; display:grid; place-items:center; border:1px solid var(--td-apB); border-radius:var(--v5-r-tile); background:transparent; color:var(--td-ok); cursor:pointer; }
  .v5 .v5-td, .v5 .v5-td-mwrap { --td-apBg:color-mix(in srgb, var(--td-ok) 9%, var(--td-card)); --td-apB:color-mix(in srgb, var(--td-ok) 30%, var(--td-card)); }   /* from the green token: Dark and Light alike */
  .v5 .v5-tnarrow .v5-td-row2 { grid-template-columns:minmax(0,1fr) auto 34px; row-gap:6px; }
  .v5 .v5-tnarrow .v5-td-row2 > .v5-td-cm { grid-column:1 / -1; }
  .v5 .v5-tnarrow .v5-td-apx span { white-space:normal; }
  .v5 .v5-tnarrow .v5-td-ap { flex-wrap:wrap; row-gap:2px; }
  .v5 .v5-tnarrow .v5-td-apx { flex:1 1 calc(100% - 40px); }
  .v5 .v5-tnarrow .v5-td-apw { flex:1 1 auto; margin-left:34px; }
  .v5 .v5-tnarrow .v5-td-row2 .v5-td-due, .v5 .v5-tnarrow .v5-td-row2 .v5-td-pillc2 { justify-self:start; text-align:left; }
  .v5 .v5-td-morel { display:block; width:100%; padding:11px 18px; border:0; border-top:1px solid var(--td-line); background:none; color:var(--td-steel); font-size:13px; text-align:left; cursor:pointer; }
  /* ⟦item 1181⟧ the client page: the notes row's bar and newest note; one date (late in red); waiting rows grey unless late (gold tint, gold
     line, gold Remind); the email pill; the blue "N items" toggle and its indented list; the "Nothing else open" footer */
  .v5 .v5-td-nbar { display:inline-block; vertical-align:middle; width:72px; height:5px; margin-right:8px; border-radius:var(--v5-r-chip); background:var(--td-line); overflow:hidden; }
  .v5 .v5-td-nbar i { display:block; height:100%; background:var(--td-steelT); border-radius:var(--v5-r-chip); }
  .v5 .v5-td-nlast { color:var(--td-sub); }
  .v5 .v5-td-due small.v5-td-dlate { color:var(--td-rust); font-weight:600; }
  .v5 .v5-td-box--wait { border-color:var(--td-line); background:var(--td-card); }
  .v5 .v5-td-box--wait .v5-td-row2 { border-top-color:var(--td-line); }
  .v5 .v5-td-ch--wait { border-bottom-color:var(--td-line); }
  .v5 .v5-td-sec--wait { color:var(--td-sub); }
  .v5 .v5-td-row--gold { background:var(--td-goldBox); }
  .v5 .v5-td-box--wait .v5-td-row--gold { border-top-color:var(--td-goldRow); }
  .v5 .v5-td-qb--remq { border-color:var(--td-line); color:var(--td-sub); font-weight:500; }
  .v5 .v5-td-qb--remq:hover { background:var(--td-pill); color:var(--td-text); }
  .v5 .v5-td-wtog { border:0; background:none; padding:0; font:inherit; color:var(--td-steelT); font-weight:600; cursor:pointer; }
  .v5 .v5-td-wtog:hover { text-decoration:underline; }
  .v5 .v5-td-wlist { display:flex; flex-direction:column; padding:2px 18px 10px 42px; }
  .v5 .v5-td-wit { display:flex; align-items:center; gap:10px; width:100%; padding:6px 0; border:0; border-top:1px solid var(--td-line); background:none; color:var(--td-text); font:inherit; font-size:13px; text-align:left; cursor:pointer; }
  .v5 .v5-td-wit:first-child { border-top:0; }
  .v5 .v5-td-wit--kid { padding-left:22px; border-top:0; }
  .v5 .v5-td-wit:hover .v5-td-witn { text-decoration:underline; }
  .v5 .v5-td-wtag { flex:none; padding:1px 7px; border-radius:var(--v5-r-chip); background:var(--td-pill); color:var(--td-sub); font-size:11px; font-weight:700; }
  .v5 .v5-td-witn { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-td-wits { flex:none; font-size:12px; color:var(--td-muted); white-space:nowrap; }
  /* ⟦item 1189⟧ the waiting row, two lines: line 1 the episode + "Due Dec 3 · sent yesterday" (+ gold Remind when gold / red); line 2 the
     type words (the steel toggle) · one status. Grey normally; gold tint (the gold tokens) at 2+ days unviewed; red (the rust token) once
     past due. Every colour a --td-* token, so Light and Dark follow. */
  .v5 .v5-td-wr { display:block; padding:10px 18px; }
  .v5 .v5-td-wr1 { display:flex; flex-wrap:wrap; align-items:center; column-gap:12px; row-gap:4px; min-width:0; }
  .v5 .v5-td-wr1 .v5-td-rt { flex:1 1 auto; min-width:0; }
  .v5 .v5-td-wmeta { flex:none; display:inline-flex; align-items:center; gap:0; margin-left:auto; font-size:13px; white-space:nowrap; }
  .v5 .v5-td-wdue { font-weight:600; color:var(--td-text); }
  .v5 .v5-td-wdue--late { color:var(--td-rust); }
  .v5 .v5-td-wsent { font-weight:400; color:var(--td-muted); white-space:pre; }
  .v5 .v5-td-wr .v5-td-wrem { margin-left:12px; height:28px; }
  .v5 .v5-td-wr2 { display:block; margin-top:2px; font-size:13.5px; color:var(--td-sub); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-td-wr--red { background:color-mix(in srgb, var(--td-rust) 7%, transparent); }
  .v5 .v5-td-wopen { padding:0 0 10px; }
  .v5 .v5-td-wopen .v5-td-wlist { margin-left:42px; padding:2px 18px 4px 12px; border-left:2px solid var(--td-line); }
  .v5 .v5-td-wsto { padding:4px 18px 0 56px; font-size:12px; color:var(--td-muted); }
  .v5 .v5-td-wnow { border:0; background:none; padding:0; font:inherit; color:var(--td-steelT); font-weight:600; cursor:pointer; }
  .v5 .v5-td-wnow:hover { text-decoration:underline; }
  .v5 .v5-tnarrow .v5-td-wr { padding:10px 14px; }
  .v5 .v5-tnarrow .v5-td-wr2 { white-space:normal; }
  .v5 .v5-tnarrow .v5-td-wopen .v5-td-wlist { margin-left:14px; }
  .v5 .v5-tnarrow .v5-td-wsto { padding-left:30px; }
  /* ⟦item 1189⟧ add-on, Home's To do: NEEDS A NUDGE (gold heading; a card each, red = the rust token, gold = the gold tokens) and the quiet
     WAITING ON CLIENTS list (sub colour, one line each, no Remind) */
  .v5 .v5-td-sec--nudge { color:var(--td-goldT); }
  .v5 .v5-td-sec--quiet { color:var(--td-sub); }
  .v5 .v5-td-nudge--red { border-color:color-mix(in srgb, var(--td-rust) 45%, var(--td-line)); background:color-mix(in srgb, var(--td-rust) 6%, var(--td-card)); }
  .v5 .v5-td-nudge--gold { border-color:var(--td-goldBtnB); background:var(--td-goldBox); }
  .v5 .v5-td-nudge .v5-td-wr { border-top:0; background:none; }
  .v5 .v5-td-ch--nudge { padding:10px 18px 2px; border-bottom:0; font-size:11px; font-weight:700; letter-spacing:.1em; }
  .v5 .v5-td-ch--nudge .v5-td-chn { font-size:11px; font-weight:700; letter-spacing:.1em; color:var(--td-muted); }
  .v5 .v5-td-ch--nudge .v5-td-cho { margin-left:auto; font-size:12px; letter-spacing:0; font-weight:600; color:var(--td-steelT); }
  .v5 .v5-td-wlate { color:var(--td-rust); font-weight:600; }
  .v5 .v5-td-wr .v5-td-wrem--red { border-color:color-mix(in srgb, var(--td-rust) 55%, transparent); color:var(--td-rust); font-weight:600; }
  .v5 .v5-td-wr .v5-td-wrem--red:hover { background:color-mix(in srgb, var(--td-rust) 10%, transparent); }
  .v5 .v5-td-box--quiet { border-color:var(--td-line); background:var(--td-card); }
  .v5 .v5-td-qline { display:flex; align-items:baseline; gap:12px; padding:9px 18px; border-top:1px solid var(--td-line); font-size:13.5px; color:var(--td-sub); cursor:pointer; }
  .v5 .v5-td-qline:first-child { border-top:0; }
  .v5 .v5-td-qline:hover .v5-td-qln { text-decoration:underline; }
  .v5 .v5-td-qln { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--td-text); }
  .v5 .v5-td-qlm { flex:none; font-size:12.5px; color:var(--td-muted); white-space:nowrap; }
  .v5 .v5-tnarrow .v5-td-qline { flex-wrap:wrap; row-gap:2px; padding:9px 14px; }
  .v5 .v5-tnarrow .v5-td-qln { white-space:normal; }
  .v5 .v5-td-wits--seen { color:var(--td-sub); }
  .v5 .v5-td-wits--ok { color:var(--td-ok); font-weight:600; }
  .v5 .v5-td-stray { margin-top:14px; padding:2px 2px; font-size:12.5px; color:var(--td-muted); }
  .v5 .v5-td-strayb { border:0; background:none; padding:0; font:inherit; color:var(--td-sub); cursor:pointer; }
  .v5 .v5-td-strayb:hover { text-decoration:underline; }
  .v5 .v5-td-foot { margin-top:18px; border-top:0; padding:8px 2px; color:var(--td-sub); }
  .v5 .v5-tnarrow .v5-td-wlist { padding-left:18px; }
  .v5 .v5-td-crumb { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-top:20px; margin-bottom:10px; font-size:13px; color:var(--td-sub); }
  .v5 .v5-td-crb { border:0; background:none; padding:0; color:var(--td-sub); font-size:13px; cursor:pointer; }
  .v5 .v5-td-crb:hover { color:var(--td-text); text-decoration:underline; }
  .v5 .v5-td .v5-td-col > .v5-td-crumb:first-child { margin-top:24px; }
  .v5 .v5-td-ccard { flex-direction:column; align-items:stretch; gap:10px; }
  .v5 .v5-td-cch { display:flex; align-items:center; gap:12px; min-width:0; }
  .v5 .v5-td-cps { display:flex; flex-wrap:wrap; gap:6px; }
  .v5 .v5-td-cp { display:inline-flex; align-items:center; height:22px; padding:0 9px; border-radius:var(--v5-r-chip); font-size:12px; font-weight:700; white-space:nowrap; background:rgba(127,127,127,.14); color:var(--td-sub); }
  .v5 .v5-td-cp--turn { background:rgba(61,111,158,.18); color:var(--td-steelT); }
  .v5 .v5-td-cp--wait { background:var(--td-gold); color:var(--td-goldT); }
  .v5 .v5-td-cp--late { background:rgba(160,82,45,.16); color:var(--td-rust); }
  /* ⟦item 1179⟧ .v5-td-cp--done (the green "N delivered" pill) removed with the pill */
  .v5 .v5-td-rprow { display:flex; align-items:center; }
  .v5 .v5-td-rprow .v5-td-tw { flex:0 0 24px; width:24px; height:30px; padding:0; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--td-muted); cursor:pointer; font-size:12px; }
  .v5 .v5-td-rprow .v5-td-tw:hover { color:var(--td-text); background:var(--td-pill); }
  .v5 .v5-td-rprow .v5-td-pname { flex:1 1 auto; min-width:0; padding-left:4px; }
  .v5 .v5-td-ri--quiet { color:var(--td-sub); }
  .v5 .v5-td-rp .v5-td-ri--del { padding-left:34px; }
  /* ⟦item 1087⟧ the episode page's rail is Today's (tdEpRailSync): its wrapper has no box; the v5 rail beside it is hidden; the rail shows
     where Today's does (the team header open at a desktop width: .v5-thdr-ro) and climbs into the header's 56px as the v5 rail did */
  .v5 .v5-td-hmore { justify-content:center; min-width:36px; height:36px; padding:0 10px; font-size:16px; line-height:1; }   /* ⟦item 1087⟧ the Overview header's ⋯, beside Write (Write's height) */
  .v5 .v5-td-epw { display:contents; }
  .v5 .v5-td-epon .v5-rail--team:not(.v5-trail) { display:none; }
  .v5 .v5-td-epw .v5-trail { display:none; }
  .v5 .v5-thdr-ro .v5-td-epw .v5-rail--thdr { display:flex; margin-top:-56px; grid-row:1 / -1; grid-column:1; }   /* the v5 rail's grid cell (body.team-bar-on > aside[id]) */
  /* ⟦item 1091⟧ TEAM RAIL, FINAL — a CLIENT's rail (nav.v5-td-rail--c — Home's client list keeps its own look): the client box (40px logo,
     the name on up to two lines), an icon on Overview / Schedule / Reports / Finished work, ACTIVE PROJECTS, the indent line, the team's
     blue pill, a divider above Finished work. Colours: Today's tokens (--td-*), so Light and Dark follow the team's theme.
     ⟦item 1095⟧ RAIL MATCH (Jeffrey, Nov 11: "Smaller grey text, dimmer episode lines, steel bar on the current item, only blue 'your turn'
     pills, names wrap to 2 lines … No grey total counts anywhere in the rail … Long names wrap to 2 lines, no '…'"; mock rail-match-mock.html):
     items 14px in the grey (--td-sub), project names 14px (--td-text), episodes 13px in the dim grey (--td-muted); the lit line — an item, a
     project or an episode — carries the 2px steel bar at its left edge (the rail's edge for an item or a project, the indent line for an
     episode); a lit item and a lit episode are filled, a lit project is not (the mock's .pj.on: colour and bar); names wrap in full (no clamp,
     no "…"); the project count is gone (tdRailHtml draws none). Width unchanged (236px, the mock's). */
  .v5 .v5-td-rail--c .v5-td-rnav { padding:12px 10px 16px; }
  .v5 .v5-td-rail--c .v5-td-cbox { gap:12px; min-height:62px; padding:10px 12px; margin-bottom:14px; border-radius:var(--v5-r-box); }
  .v5 .v5-td-rail--c .v5-td-cbox .v5-td-clogo { flex:0 0 40px; width:40px; height:40px; border-radius:var(--v5-r-tile); font-size:13px; font-weight:800; }
  .v5 .v5-td-rail--c .v5-td-cboxt { font-size:15.5px; font-weight:700; line-height:1.2; white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; }
  .v5 .v5-td-rail--c .v5-td-car { font-size:11px; }
  .v5 .v5-td-rail--c .v5-td-ri { position:relative; gap:10px; padding:8px 12px; border-radius:var(--v5-r-tile); font-size:14px; line-height:1.4; color:var(--td-sub); }
  .v5 .v5-td-rail--c .v5-td-ri--on { font-weight:400; color:var(--td-steelT); }   /* the lit line: colour, fill (not a project) and the steel bar — normal weight (a bolder lit name re-wrapped) */
  .v5 .v5-td-rail--c .v5-td-rit.v5-td-ri--on::before { content:""; position:absolute; left:-10px; top:6px; bottom:6px; width:2px; background:var(--td-steel); }
  .v5 .v5-td-rail--c .v5-td-ric { flex:0 0 18px; width:18px; display:inline-flex; align-items:center; justify-content:center; color:var(--td-muted); }
  .v5 .v5-td-rail--c .v5-td-ri--on .v5-td-ric { color:var(--td-steelT); }
  .v5 .v5-td-rail--c .v5-td-rh { margin:18px 12px 8px; font-size:11px; font-weight:700; letter-spacing:.14em; }
  .v5 .v5-td-rail--c .v5-td-rprow { gap:0; align-items:flex-start; }
  .v5 .v5-td-rail--c .v5-td-rprow .v5-td-tw { flex:0 0 24px; width:24px; height:36px; font-size:11px; }
  .v5 .v5-td-rail--c .v5-td-rprow .v5-td-pname { gap:8px; padding:8px 12px 8px 4px; color:var(--td-text); }
  .v5 .v5-td-rail--c .v5-td-rprow .v5-td-pname.v5-td-ri--on { background:none; color:var(--td-steelT); }
  .v5 .v5-td-rail--c .v5-td-rprow .v5-td-pname.v5-td-ri--on::before { content:""; position:absolute; left:-34px; top:6px; bottom:6px; width:2px; background:var(--td-steel); }
  .v5 .v5-td-rail--c .v5-td-reps { margin:0 0 4px 12px; padding-left:6px; border-left:1px solid var(--td-line); display:flex; flex-direction:column; gap:2px; }
  .v5 .v5-td-rail--c .v5-td-ri--del { gap:8px; padding:6px 10px 6px 19px; font-size:13px; line-height:1.4; color:var(--td-muted); }
  /* ⟦item 1101⟧ RAIL FOLLOW-UP (Jeffrey, Nov 11): "Long names: max 2 lines, then '…'. Full name shows on hover (tooltip). Applies to projects and
     episodes" — reverses 1095's wrap-in-full. The full name rides on the button (data-td-name; the button's own words are the whole name, so a
     screen reader hears it all); the page's one tip (1100's #v5-td-rtip) shows it on hover / focus when the name is cut. "Episode indent: match
     the old Edgeworth rail (about 9px more than now)": an episode's words start 19px inside its row (was 10px) — the old episode-page rail's 27px
     from the indent line to the words (1095: 18px); the line and the lit bar on it stay where they were. */
  .v5 .v5-td-rail--c .v5-td-ril { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; white-space:normal; overflow:hidden; text-overflow:ellipsis; overflow-wrap:anywhere; }
  .v5 .v5-td-rail--c .v5-td-ri--del.v5-td-ri--on { color:var(--td-steelT); }
  .v5 .v5-td-rail--c .v5-td-ri--del.v5-td-ri--on::before { content:""; position:absolute; left:-7px; top:6px; bottom:6px; width:2px; background:var(--td-steel); }
  .v5 .v5-td-rail--c .v5-td-rpill { flex:0 0 auto; margin-left:auto; padding:1px 7px; border-radius:var(--v5-r-box); background:rgba(61,111,158,.22); color:var(--td-steelT); font-size:11px; font-weight:800; line-height:1.45; }
  .v5 .v5-td-rail--c .v5-td-rhr { margin:18px 12px 10px; border-top:1px solid var(--td-line); }
  /* ⟦item 1142⟧ 6 · the episode's mark at the right: a gold dot (with the client), a coral dot (with the client and past due: the rail's only
     red), a small greyed green ✓ (delivered, 7 days). After the blue number when both. Not on the client box, never on a project row. */
  .v5 .v5-td-rail--c .v5-td-rdot, .v5 .v5-td-rfly .v5-td-rdot { flex:0 0 8px; width:8px; height:8px; margin-left:auto; border-radius:50%; background:var(--td-goldT); }
  .v5 .v5-td-rail--c .v5-td-rpill + .v5-td-rdot, .v5 .v5-td-rfly .v5-td-rpill + .v5-td-rdot, .v5 .v5-td-rail--c .v5-td-rpill + .v5-td-rck, .v5 .v5-td-rfly .v5-td-rpill + .v5-td-rck { margin-left:6px; }
  .v5 .v5-td-rail--c .v5-td-rdot--late, .v5 .v5-td-rfly .v5-td-rdot--late { background:var(--td-rust); }
  .v5 .v5-td-rail--c .v5-td-rck, .v5 .v5-td-rfly .v5-td-rck { flex:0 0 auto; margin-left:auto; color:var(--td-ok); opacity:.55; font-size:11px; font-weight:700; line-height:1; }
  /* ⟦item 1193⟧ 2 · ONLY THE PAGE YOU'RE ON IS LIT: on a client's rail (nav.v5-td-rail--w, the switch on) a hovered row no longer draws the lit
     row's fill — the words darken, nothing else; the lit row keeps its fill and steel when hovered (a lit project row stays unfilled: 1095). */
  .v5 .v5-td-rail--w .v5-td-ri:hover { background:none; color:var(--td-text); }
  .v5 .v5-td-rail--w .v5-td-ri--on:hover { background:var(--td-pill); color:var(--td-steelT); }
  /* ⟦item 1193⟧ 1 · THE "WHERE AM I" CRUMB (tdWhereCrumbHtml): 12.5px, the faint grey, steel links, no pill. Today's tokens on Today's pages, the
     v5 page's own on an episode / Schedule (--v5 fallbacks). A <nav> of <button>s: v4's `nav button` (capitals, padding, a hover fill,
     transition) is undone here. */
  .v5 .v5-td-wcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:4px 7px; margin:20px 0 8px; font-family:var(--v5-font); font-size:12.5px; line-height:1.45; color:var(--td-muted, var(--v5-text3)); }
  .v5 .v5-td .v5-td-col > .v5-td-wcrumb:first-child { margin-top:24px; }
  .v5 .v5-td-wcrumb--v5 { margin:0 0 12px; }
  .v5 .v5-td-wcrumb .v5-td-wcr { padding:0; border:0; background:none; color:var(--td-steelT, var(--v5-team-ink)); font-family:inherit; font-size:12.5px; font-weight:600; line-height:inherit; letter-spacing:normal; text-transform:none; cursor:pointer; transition:none; }
  .v5 .v5-td-wcrumb .v5-td-wcr:hover { background:none; color:var(--td-steelT, var(--v5-team-ink)); text-decoration:underline; }
  .v5 .v5-td-wcrumb .v5-td-wcr-sep { color:var(--td-muted, var(--v5-text3)); }
  .v5 .v5-td-wcrumb .v5-td-wcr-here { min-width:0; color:var(--td-muted, var(--v5-text3)); overflow-wrap:anywhere; }
  .v5 .v5-td-rail--c, .v5 .v5-td-rail--c * { transition:none; }   /* ⟦item 1095⟧ nothing in the rail animates (v4's `nav button { transition:all .2s }` reached these buttons: a mount or a lit move eased in) */
  /* ⟦item 1100⟧ TEAM RAIL COLLAPSE FIX — the COLLAPSED form of Today's rail (tdRailIconNavHtml: a separate drawing, no label, heading or
     list in it): 56px, the mark row at the header's 56px, then the icon column (the client's logo, Overview / Schedule / Reports, a short
     divider, a tile per project with its blue badge, Finished work at the foot, » to open). Nothing wraps: the only words are the tiles'
     initials and the badges' numbers, each on one line. The header starts at its edge (body.v5-td-rcol, written by v5ThdrBodySync). */
  .v5 .v5-thdr-ro.v5-td-rcol .v5-thdr { left:56px; }
  .v5 .v5-trail.v5-td-rail.v5-rail--collapsed { flex:0 0 56px; width:56px; min-width:56px; max-width:56px; overflow:hidden; cursor:default; }
  /* ⟦item 1124⟧ 12 — THE TOP MENU FOLLOWS THE LEFT RAIL (v5ThdrHideWant / v5ThdrBodySync's body classes; a desktop width only, never below the
     drawer's 900px). v5-thdr-hid: the header slides up off the page and the page takes its 56px back (every place that left room for it: the
     shell's padding, the team-wide overlays' top, the rails that climbed into it); v5-thdr-peek (the 6px .v5-thdr-edge strip at the top, or
     focus inside the header — ⌘K's box, a Tab): it slides back OVER the page (nothing under it moves); .v5-thdr-rb: the header's counts on
     the rail's Home icon. A collapsed client rail beside a hidden header shows its own » again (the header's › is out of sight). */
  .v5 .v5-thdr-hid .v5-thdr { transform:translateY(-100%); transition:transform .18s ease, box-shadow .18s ease; }
  .v5 .v5-thdr-hid.v5-thdr-peek .v5-thdr, .v5 .v5-thdr-hid .v5-thdr:focus-within { transform:none; box-shadow:0 10px 28px rgba(0,0,0,.35); }
  .v5 .v5-thdr-on.v5-thdr-hid { padding-top:0; }
  .v5 .v5-thdr-hid .v5-th, .v5 .v5-thdr-hid .v5-pst { top:0; }
  .v5 .v5-thdr-ro.v5-thdr-hid .v5-th .v5-trail-wrap > .v5-th-col { padding-top:0; }
  .v5 .v5-thdr-ro.v5-thdr-hid .v5-av .v5-trail-wrap > .v5-th-col { padding-top:16px; }
  .v5 .v5-thdr-ro.v5-thdr-hid .v5-pst { padding-top:0; }
  .v5 .v5-thdr-ro.v5-thdr-hid .v5-pst .v5-rail--thdr { margin-top:0; }
  .v5 .v5-thdr-ro.v5-thdr-hid .v5-rail--team:not(.v5-trail) { margin-top:0; }
  .v5 .v5-thdr-ro.v5-thdr-hid .v5-td-epw .v5-rail--thdr { margin-top:0; }
  .v5 .v5-thdr-hid .v5-mx-cmp { top:0; }
  .v5 .v5-thdr-rc.v5-thdr-hid .v5-rail--team.v5-rail--collapsed .v5-rail-ctile { display:flex; }
  .v5 .v5-thdr-edge { position:fixed; top:0; left:0; right:0; height:6px; z-index:401; background:transparent; }
  .v5 .v5-thdr-edge[hidden], .v5 .v5-thdr-peek .v5-thdr-edge { display:none; }
  .v5 .v5-thdr-rb { position:fixed; z-index:402; display:flex; flex-direction:column; align-items:flex-start; gap:2px; pointer-events:none; }
  .v5 .v5-thdr-rb[hidden], .v5 .v5-thdr-peek .v5-thdr-rb { display:none; }
  .v5 .v5-thdr-rbi { pointer-events:auto; display:inline-flex; padding:0; border:0; background:none; cursor:pointer; }   /* the header's own count inside (its .v5-thdr-cnt: steel, Messages' gold) */
  .v5 .v5-thdr-rbi .v5-thdr-cnt { margin:0; }
  .v5 .v5-td-rail.v5-rail--collapsed .v5-rail-hbrand { display:flex; justify-content:center; padding:0; }
  .v5 .v5-td-rail.v5-rail--collapsed .v5-rail-hmark { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; padding:0; border-radius:var(--v5-r-tile); }
  .v5 .v5-td-rail .v5-td-inav { display:flex; flex-direction:column; align-items:center; gap:4px; padding:10px 0 12px; overflow-x:hidden; overflow-y:auto; scrollbar-width:none; white-space:nowrap; }
  .v5 .v5-td-ii { position:relative; flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; width:40px; height:36px; min-height:0; padding:0; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--td-muted); cursor:pointer; white-space:nowrap; transition:none; }
  .v5 .v5-td-ii:hover { background:var(--td-pill); color:var(--td-text); }
  .v5 .v5-td-ii--on { background:var(--td-pill); color:var(--td-steelT); }
  .v5 .v5-td-ii--on::before { content:""; position:absolute; left:-8px; top:6px; bottom:6px; width:2px; background:var(--td-steel); }
  .v5 .v5-td-ii--logo { width:44px; height:44px; margin-bottom:6px; }
  .v5 .v5-td-ii--logo .v5-td-clogo { flex:0 0 34px; width:34px; height:34px; border-radius:var(--v5-r-tile); font-size:12px; font-weight:800; }
  .v5 .v5-td-ii--pj { width:40px; height:38px; }
  .v5 .v5-td-ipj { display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; box-sizing:border-box; border:1px solid var(--td-line); border-radius:var(--v5-r-tile); background:var(--td-card); color:var(--td-text); font-size:11px; font-weight:700; line-height:1; letter-spacing:0; white-space:nowrap; }
  .v5 .v5-td-ii--on .v5-td-ipj { border-color:var(--td-steel); color:var(--td-steelT); }
  .v5 .v5-td-ibadge { position:absolute; top:0; right:0; min-width:16px; height:16px; padding:0 4px; box-sizing:border-box; border-radius:var(--v5-r-box); background:linear-gradient(rgba(61,111,158,.22), rgba(61,111,158,.22)), var(--td-bg); color:var(--td-steelT); font-size:10px; font-weight:800; line-height:16px; text-align:center; white-space:nowrap; }   /* the open rail's blue pill (.v5-td-rpill), made opaque over the tile */
  .v5 .v5-td-ihr { flex:0 0 auto; width:24px; height:0; margin:8px 0; border-top:1px solid var(--td-line); }
  .v5 .v5-td-isp { flex:1 1 auto; min-height:8px; }
  .v5 .v5-td-iexp { margin-bottom:4px; color:var(--td-sub); }   /* ⟦item 1118⟧ 9: first in the column now (was last, margin-top) */
  /* the project tile's list, beside the rail (inside the rail's host, so Today's tokens reach it) */
  .v5 .v5-td-rfly { position:fixed; z-index:1150; width:300px; max-height:calc(100vh - 16px); overflow-y:auto; box-sizing:border-box; padding:6px; display:flex; flex-direction:column; gap:2px; background:var(--td-card); border:1px solid var(--td-line); border-radius:var(--v5-r-cbox); box-shadow:var(--td-shadow); }
  .v5 .v5-td-rfly .v5-td-ri { position:relative; gap:8px; padding:7px 10px; font-size:13px; line-height:1.4; color:var(--td-muted); }
  .v5 .v5-td-rfly .v5-td-rflyh { font-size:14px; font-weight:600; color:var(--td-text); }
  .v5 .v5-td-rfly .v5-td-ri--on { color:var(--td-steelT); }
  .v5 .v5-td-rfly .v5-td-ril { white-space:normal; overflow:visible; text-overflow:clip; overflow-wrap:anywhere; }
  .v5 .v5-td-rfly .v5-td-rpill { flex:0 0 auto; margin-left:auto; padding:1px 7px; border-radius:var(--v5-r-box); background:rgba(61,111,158,.22); color:var(--td-steelT); font-size:11px; font-weight:800; line-height:1.45; }
  /* the icons' names (the page's own tip, at the rail's right edge) */
  .v5 .v5-td-rtip { position:fixed; z-index:1200; max-width:320px; padding:5px 9px; border-radius:var(--v5-r-tile); background:var(--v5-panel3); color:var(--v5-text); border:1px solid var(--v5-line); box-shadow:0 6px 18px rgba(0,0,0,.35); font-family:var(--v5-font); font-size:12.5px; font-weight:600; line-height:1.35; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; pointer-events:none; }
  .v5 .v5-td-rtip[hidden] { display:none; }
  /* ⟦item 1101⟧ the TEAM-WIDE rail collapsed (Status, Activity, Shared links, Team…): the 56px icon rail beside the header — the mark row at the
     header's 56px, then the client switcher as a 40px icon tile and » (the generic collapsed rules hide the mark row and the card: these come after) */
  .v5 .v5-rail--wthdr.v5-rail--collapsed .v5-rail-hbrand { display:flex; justify-content:center; padding:0; }
  .v5 .v5-rail--wthdr.v5-rail--collapsed .v5-rail-hmark { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; padding:0; border-radius:var(--v5-r-tile); }
  .v5 .v5-rail--wthdr.v5-rail--collapsed .v5-rail-nav { display:flex; flex-direction:column; align-items:center; gap:4px; padding:10px 0 12px; overflow:hidden; white-space:nowrap; }
  .v5 .v5-rail--wthdr.v5-rail--collapsed .v5-rail-ccard { display:flex; justify-content:center; width:40px; height:40px; min-height:0; margin:0; padding:0; gap:0; }
  .v5 .v5-rail--wthdr.v5-rail--collapsed .v5-rail-ccard .v5-rail-cc-tile { flex:0 0 auto; width:auto; height:auto; }
  .v5 .v5-rail--wthdr.v5-rail--collapsed .v5-rail-cc-t, .v5 .v5-rail--wthdr.v5-rail--collapsed .v5-rail-cc-caret { display:none; }
  .v5 .v5-rail--wthdr.v5-rail--collapsed .v5-rail-wexp { margin:0; }
  .v5 .v5-rail--wthdr:not(.v5-rail--collapsed) .v5-rail-wexp { display:none; }
  .v5 .v5-td-rtip.v5-td-rtip--name { max-width:300px; white-space:normal; text-overflow:clip; overflow-wrap:anywhere; }   /* ⟦item 1101⟧ a cut name's tip: the whole name, on as many lines as it needs */
  .v5 .v5-tnarrow .v5-td-row { flex-wrap:wrap; padding:12px 14px; row-gap:8px; }
  .v5 .v5-tnarrow .v5-td-row .v5-td-cm { flex-basis:100%; }
  .v5 .v5-tnarrow .v5-td-row .v5-td-rt, .v5 .v5-tnarrow .v5-td-row .v5-td-cs { white-space:normal; }
  .v5 .v5-tnarrow .v5-td-rr { margin-left:auto; flex-wrap:wrap; justify-content:flex-end; }
  .v5 .v5-tnarrow .v5-td-ch { flex-wrap:wrap; padding:12px 14px; }
  /* ⟦item 1071⟧ ✨ AI on Today: violet for every AI mark and button; the cost in a tiny grey line under the mark */
  .v5 .v5-td-ai { color:var(--td-violet); font-weight:700; font-size:12px; letter-spacing:.02em; }
  .v5 .v5-td-aimark { display:flex; flex-direction:column; gap:1px; margin-bottom:6px; }
  .v5 .v5-td-aicost { font-size:11px; color:var(--td-muted); }
  .v5 .v5-td-aibtn { display:inline-flex; align-items:center; gap:4px; height:34px; padding:0 12px; border:1px solid var(--td-violet); border-radius:var(--v5-r-tile); background:var(--td-violetBg); color:var(--td-violet); font-size:13px; font-weight:600; white-space:nowrap; cursor:pointer; }
  .v5 .v5-td-aibtn:hover { background:var(--td-violet); color:var(--v5-td-white); }
  .v5 .v5-td-aibox { margin-top:12px; padding:12px 14px; border:1px solid var(--td-violet); border-radius:var(--v5-r-box); background:var(--td-violetBg); font-size:14px; line-height:1.55; }
  .v5 .v5-td-ailines { margin:0 0 6px; padding-left:18px; }
  .v5 .v5-td-ailink { display:inline-block; margin-top:8px; color:var(--td-violet); font-size:13px; }
  .v5 .v5-td-aiask { display:flex; align-items:center; gap:8px; padding:6px 0; border-top:1px solid var(--td-line); }
  .v5 .v5-td-aiask:first-of-type { border-top:0; }
  .v5 .v5-td-aiw { display:flex; align-items:flex-start; gap:12px; margin-top:8px; }
  .v5 .v5-td-aipanel { padding:6px 4px; }
  .v5 .v5-td-aichip { display:inline-flex; align-items:center; gap:4px; margin-left:8px; padding:2px 8px; border-radius:var(--v5-r-cbox); background:var(--td-violetBg); color:var(--td-violet); font-size:12px; }
  .v5 .v5-td-aichipx { border:0; background:none; color:inherit; cursor:pointer; padding:0 2px; font-size:14px; }
  .v5 .v5-td-aiq { margin-top:12px; font-size:14px; font-weight:600; color:var(--td-text); }
  .v5 .v5-td-aians { margin-top:6px; padding:10px 12px; border-radius:var(--v5-r-box); background:var(--td-violetBg); font-size:14px; line-height:1.55; }
  .v5 .v5-td-aians p { margin:0 0 6px; }
  .v5 .v5-td-aigo { display:flex; gap:6px; width:100%; padding:4px 0; border:0; background:none; color:var(--td-steel); font-size:13px; cursor:pointer; text-align:left; }
  .v5 .v5-td-aigo span { color:var(--td-sub); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-td-aifu { margin-top:12px; }
  .v5 .v5-td-hero--ai { border-color:var(--td-violet); }
  .v5 .v5-td-aisum { display:flex; flex-wrap:wrap; gap:16px; margin-top:16px; }
  .v5 .v5-td-tbl { flex:1 1 320px; border-collapse:collapse; background:var(--td-card); border:1px solid var(--td-line); border-radius:var(--v5-r-box); font-size:13px; }
  .v5 .v5-td-tbl th, .v5 .v5-td-tbl td { padding:7px 10px; border-bottom:1px solid var(--td-line); text-align:left; }
  .v5 .v5-td-tbl th { font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--td-muted); font-weight:600; }
  .v5 .v5-td-fsel { width:auto; min-width:140px; }
  .v5 .v5-td-aiusd { flex:0 0 80px; text-align:right; font-size:13px; font-variant-numeric:tabular-nums; color:var(--td-text); }
  .v5 .v5-td-pill--faint { opacity:.6; }
  /* ── ⟦item 870⟧ THE CLIENT SWITCHER (TEAM-12): a popover under the rail's client card; a full-height sheet below 680 (`--phone`, written
     by v5TswOpen — the v5 sheet carries no media query). The rows are the team home's own: code first, full name under it, the logo tile,
     its red / blue signals, a tick on the current client. ── */
  .v5 .v5-tsw { position:fixed; inset:0; z-index:1100; font-family:var(--v5-font); color:var(--v5-text); }
  .v5 .v5-tsw-scrim { position:absolute; inset:0; background:transparent; }
  .v5 .v5-tsw-box { position:absolute; width:360px; max-width:calc(100vw - 32px); max-height:min(560px, calc(100vh - 120px)); box-sizing:border-box; display:flex; flex-direction:column; padding:10px;
                    background:var(--v5-panel2); border:1px solid var(--v5-line); border-radius:var(--v5-r-card); box-shadow:0 18px 50px rgba(0,0,0,.55); }
  .v5 .v5-tsw-search { flex:0 0 auto; display:flex; align-items:center; gap:8px; height:40px; margin-bottom:8px; padding:0 12px; box-sizing:border-box; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-panel); color:var(--v5-text3); }
  .v5 .v5-tsw-search:focus-within { border-color:var(--v5-text3); }
  .v5 .v5-tsw-q { flex:1 1 auto; min-width:0; border:0; outline:none; background:none; color:var(--v5-text); font-family:var(--v5-font); font-size:14px; }
  .v5 .v5-tsw-list { flex:1 1 auto; min-height:0; overflow-y:auto; display:flex; flex-direction:column; gap:1px; }
  .v5 .v5-tsw-opt { display:flex; align-items:center; gap:10px; width:100%; min-height:44px; box-sizing:border-box; padding:7px 10px; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--v5-text);
                    font-family:var(--v5-font); text-align:left; cursor:pointer; text-transform:none; letter-spacing:normal; }
  .v5 .v5-tsw-opt:hover, .v5 .v5-tsw-opt:focus-visible { background:var(--v5-panel3); }
  .v5 .v5-tsw-opt--on { background:var(--v5-rail-on); }
  .v5 .v5-tsw-tile { flex:0 0 28px; width:28px; height:28px; box-sizing:border-box; display:flex; align-items:center; justify-content:center; overflow:hidden; border-radius:var(--v5-r-chip);
                     background:var(--v5-chip); color:var(--v5-text2); font-size:9.5px; font-weight:800; letter-spacing:.02em; }
  .v5 .v5-tsw-t { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; }
  .v5 .v5-tsw-code { font-size:14px; font-weight:800; letter-spacing:.04em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-tsw-name { font-size:11.5px; color:var(--v5-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-tsw-opt .v5-th-sig { flex:0 0 auto; margin-top:0; font-size:11.5px; }
  .v5 .v5-tsw-tick { flex:0 0 15px; width:15px; display:flex; color:var(--v5-rail-on-ink); }
  .v5 .v5-tsw-note { padding:12px 10px; font-size:13px; color:var(--v5-muted); }
  .v5 .v5-tsw-foot { flex:0 0 auto; margin-top:8px; padding-top:8px; border-top:1px solid var(--v5-line); }
  .v5 .v5-tsw-back { display:flex; align-items:center; min-height:40px; padding:0 10px; border-radius:var(--v5-r-tile); font-size:13.5px; font-weight:700; color:var(--v5-text); text-decoration:none; }
  .v5 .v5-tsw-back:hover, .v5 .v5-tsw-back:focus-visible { background:var(--v5-panel3); }
  .v5 .v5-tsw--phone .v5-tsw-scrim { background:var(--v5-menu-scrim, rgba(0,0,0,.55)); }
  .v5 .v5-tsw--phone .v5-tsw-box { inset:0; width:auto; max-width:none; max-height:none; border:0; border-radius:0; padding:12px 16px calc(12px + env(safe-area-inset-bottom)); box-shadow:none; }
  .v5 .v5-tsw-head { flex:0 0 auto; display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
  .v5 .v5-tsw-h { font-size:16px; font-weight:800; }
  .v5 .v5-tsw-x { flex:0 0 44px; width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; padding:0; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--v5-text2); cursor:pointer; }
  .v5 .v5-tsw-x:hover { background:var(--v5-panel3); color:var(--v5-text); }
  /* ⟦item 765⟧ the EPISODE VIEW’s trail, project › episode (replaces item 764’s "‹ All episodes" link): the top bar’s trail look —
     14px, the ancestor muted and a link, the current bold and not a link, one chevron. */
  .v5 .v5-crumbs { display:flex; align-items:center; gap:8px; margin:0 0 14px; min-height:20px; font-family:var(--v5-font); font-size:14px; }
  .v5 .v5-crumb { padding:0; border:0; background:none; color:var(--v5-text3); font-family:var(--v5-font); font-size:14px; font-weight:500; cursor:pointer; text-transform:none; letter-spacing:normal; }
  .v5 .v5-crumb:hover { color:var(--v5-text); }
  .v5 .v5-crumb-sep { display:inline-flex; color:var(--v5-text3); }
  .v5 .v5-crumb-here { color:var(--v5-text); font-weight:700; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  /* ⟦item 765⟧ the client banner’s top right: Share beside List / Cards; the episode view’s progress bar; the loading shapes. */
  .v5 .v5-banner-tools { position:absolute; top:14px; right:16px; z-index:2; display:flex; align-items:center; gap:8px; }
  .v5 .v5-banner-tools .v5-view-toggle { position:static; }
  .v5 .v5-banner--proj .v5-summary { line-height:17px; min-height:17px; }
  .v5 .v5-banner-prog { display:flex; align-items:center; gap:12px; margin-top:10px; min-height:17px; }
  .v5 .v5-banner-prog .v5-prog-label { color:var(--v5-banner-ink-2); }
  .v5 .v5-card--bare .v5-card-body > .v5-row:first-child { border-top:0; }
  /* ⟦item 926⟧ CLI-4: the episode page's section title — 32px under the header (the banner's own .9rem margin + this padding: PADDING,
     because a margin here collapses into the banner's and leaves 17.6px), plain 17px bold, no count, no line; wraps on a phone. */
  .v5 .v5-ep-sec { margin:0 0 10px; padding:calc(32px - .9rem) 0 0; font-family:var(--v5-font); font-size:17px; font-weight:800; line-height:1.3; letter-spacing:normal; text-transform:none; color:var(--v5-text); overflow-wrap:anywhere; }
  .v5 .v5-skel { background:linear-gradient(90deg, var(--v5-chip) 30%, var(--v5-fill-line) 50%, var(--v5-chip) 70%); background-size:300% 100%; }
  .v5 .v5-skel-st { height:9px; width:62%; }
  .v5 .v5-skel-act { flex:0 0 84px; width:84px; height:26px; border-radius:var(--v5-r-tile); }
  .v5 .v5-skel-gap { flex:0 0 76px; width:76px; }
  .v5 .v5-skel-head { display:block; height:12px; width:30%; }
  .v5 .v5-skel-title { display:inline-block; width:42%; height:.8em; vertical-align:middle; }
  .v5 .v5-skel-sum { display:inline-block; width:220px; max-width:60%; height:10px; vertical-align:middle; }
  .v5 .v5-skel-prog { display:inline-block; width:180px; height:8px; vertical-align:middle; }
  /* R7: the expanded logo is the home BUTTON — a <button>'s own chrome reset; the plate (.v5-has-logo) and the
     bare logo (.v5-logo-bare) keep their padding and fill, which out-rank the UA's. */
  .v5 .v5-rail-brandhome { border:0; margin:0; cursor:pointer; color:inherit; font:inherit; }
  .v5 .v5-rail-brandhome:not(.v5-has-logo) { background:none; padding:0; }

  /* ══ COMPLETED (items 654, 657) ═══════════════════════════════════════════════════════════════
     GOLD ONCE — Download all (the item-654 ruling over spec §9's "no gold"); state words are ink. */
  /* ══ ITEM 758 — THE PHONE MENU: the rail's own markup and rules (.v5-rail .v5-rail--client), in a fixed slide-out over a scrim.
     Only what a drawer needs is said here: its box, its close control's 44px target, and no rail cursor (nothing collapses). */
  .v5 .v5-menu-scrim { position:fixed; inset:0; z-index:1000; background:var(--v5-menu-scrim); display:flex; }
  .v5 .v5-menu.v5-rail { width:310px; max-width:85vw; height:100%; box-sizing:border-box; cursor:default; transition:none; overscroll-behavior:contain; }
  .v5 body.v5-menu-lock { overflow:hidden; }
  .v5 .v5-menu .v5-menu-close { flex:0 0 44px; width:44px; height:44px; }
  /* ══ ITEM 758 — THE PHONE LANDING's GREETING never runs under "Completed projects": on a phone the greeting row and the
     button are in the hero's flow (greeting first, wrapping — never "…" — then the button), the body under them. */
  .v5 .v5-cl--phone .v5-hero { flex-direction:column; align-items:stretch; padding-top:26px; }
  .v5 .v5-cl--phone .v5-hero-greetrow { position:relative; top:auto; left:auto; max-width:none; margin:0 48px 0 48px; order:0; }
  .v5 .v5-cl--phone .v5-hero-greetrow .v5-hero-greet { white-space:normal; overflow:visible; text-overflow:clip; overflow-wrap:anywhere; line-height:1.5; }
  .v5 .v5-cl--phone .v5-hero-completed { position:relative; top:auto; right:auto; align-self:flex-start; margin:14px 48px 0 48px; order:1; }
  .v5 .v5-cl--phone .v5-hero-body { order:2; margin-top:28px; }
  .v5 .v5-cl--phone .v5-hero:not(.v5-hero--cards):not(.v5-hero--quiet) .v5-hero-body { margin-top:auto; margin-bottom:auto; }
  .v5 .v5-arc-banner { height:120px; }
  .v5 .v5-arc-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:14px; }
  .v5 .v5-arc-card { display:flex; flex-direction:column; border:1px solid var(--v5-line); border-radius:var(--v5-r-card); background:var(--v5-panel2); overflow:hidden; }
  .v5 .v5-arc-card-main { display:block; width:100%; padding:14px 14px 8px; background:none; border:0; text-align:left; cursor:pointer; color:inherit;
                          font-family:var(--v5-font); text-transform:none; letter-spacing:normal; }
  .v5 .v5-arc-card-main:hover { background:var(--v5-band); }
  .v5 .v5-arc-card-name { font-size:14px; font-weight:700; color:var(--v5-text); line-height:1.3; }
  .v5 .v5-arc-card-meta { margin-top:5px; font-size:11.5px; color:var(--v5-muted); }
  .v5 .v5-arc-state { margin-top:10px; font-size:11px; font-weight:700; color:var(--v5-text2); }
  .v5 .v5-arc-state--you { color:var(--v5-green); }
  .v5 .v5-arc-state--other { color:var(--v5-slate); }
  .v5 .v5-arc-state--none, .v5 .v5-arc-state--checking, .v5 .v5-arc-state--unknown { color:var(--v5-text3); }
  .v5 .v5-arc-card-actions { margin-top:auto; padding:8px 14px 14px; display:flex; justify-content:flex-start; align-items:flex-end; }
  /* Download all stands alone on a card, so it takes the card's width rather than the row action's 84px. */
  .v5 .v5-arc-dlall { flex:1 1 auto; width:100%; height:32px; font-size:12.5px; }
  .v5 .v5-arc-note { padding:.9rem 0; font-size:13px; color:var(--v5-muted); }
  .v5 .v5-arc-back { display:inline-block; margin-bottom:.35rem; padding:0; background:none; border:0; cursor:pointer;
                     font-family:var(--v5-font); font-size:12px; font-weight:700; letter-spacing:normal; text-transform:none; color:var(--v5-muted); }
  .v5 .v5-arc-back:hover { color:var(--v5-text); }
  .v5 .v5-arc-actions { margin-top:.6rem; }
  .v5 .v5-arc-actions .v5-arc-dlall { width:auto; flex:0 0 auto; padding:0 16px; }
  .v5 .v5-arc-group { border:1px solid var(--v5-line); border-radius:var(--v5-r-card); background:var(--v5-panel2); margin-bottom:.9rem; overflow:hidden; }
  .v5 .v5-arc-group-head { padding:14px 18px; font-size:15px; font-weight:800; letter-spacing:-.01em; color:var(--v5-text); border-bottom:1px solid var(--v5-line-soft);
                           background:linear-gradient(to bottom, var(--v5-band), transparent); }
  .v5 .v5-arc-file { display:flex; align-items:center; gap:16px; padding:11px 18px; background:var(--v5-band); border-top:1px solid var(--v5-line-soft); }
  .v5 .v5-arc-file:first-of-type { border-top:0; }
  .v5 .v5-arc-file .v5-tile { flex-basis:34px; width:34px; height:34px; }
  .v5 .v5-arc-file-main { flex:1 1 auto; min-width:0; }
  .v5 .v5-arc-file-name { font-size:14px; font-weight:600; color:var(--v5-text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-arc-file-sub { font-size:11.5px; color:var(--v5-muted); margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  /* Per-file download: a quiet ghost control in the row action's box — NOT gold. */
  .v5 .v5-arc-dl { flex:0 0 84px; display:inline-flex; align-items:center; justify-content:center; width:84px; height:26px; padding:0;
                   font-family:var(--v5-font); font-size:11.5px; font-weight:600; letter-spacing:normal; text-transform:none; white-space:nowrap;
                   border-radius:var(--v5-r-tile); color:var(--v5-text2); background:none; border:1px solid var(--v5-chip); }
  .v5 .v5-arc-dl[disabled] { opacity:.45; cursor:not-allowed; }
  .v5 .v5-arc-dl:not([disabled]) { cursor:pointer; }
  .v5 .v5-arc-open { flex:0 0 auto; display:inline-flex; align-items:center; height:26px; padding:0 10px; font-size:12px; font-weight:600; color:var(--v5-text2); text-decoration:none; border:1px solid var(--v5-chip); border-radius:var(--v5-r-tile); white-space:nowrap; }   /* item 769 */
  .v5 .v5-arc-open:hover { color:var(--v5-text); border-color:var(--v5-text3); }
  .v5 .v5-arc-dl:not([disabled]):hover { color:var(--v5-text); border-color:var(--v5-text3); }
  /* ⟦item 767⟧ the series card's episode list, the search box, the dated group head, the focused episode. */
  .v5 .v5-arc-card-count { font-weight:600; color:var(--v5-text2); }
  .v5 .v5-arc-eps { display:flex; flex-direction:column; padding:0 6px 4px; }
  .v5 .v5-arc-ep { display:flex; align-items:baseline; justify-content:space-between; gap:10px; width:100%; padding:6px 8px; background:none; border:0; border-radius:var(--v5-r-chip);
                   cursor:pointer; text-align:left; color:var(--v5-text2); font-family:var(--v5-font); font-size:12.5px; letter-spacing:normal; text-transform:none; }
  .v5 .v5-arc-ep:hover { background:var(--v5-band); color:var(--v5-text); }
  .v5 .v5-arc-ep-name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-arc-ep-date { flex:0 0 auto; font-size:11.5px; color:var(--v5-text3); }
  .v5 .v5-arc-more { align-self:flex-start; margin:2px 8px 0; padding:0; background:none; border:0; cursor:pointer; font-family:var(--v5-font); font-size:12px; font-weight:600;
                     letter-spacing:normal; text-transform:none; color:var(--v5-muted); }
  .v5 .v5-arc-more:hover { color:var(--v5-text); }
  .v5 .v5-arc-search { margin:0 0 14px; }
  /* ⟦CP-4 → CP-7⟧ the Completed page's shared pieces: the done green ✓ and CP-4's file line (dot, name, size, Download). */
  .v5 .v5-cpl-tick { color:var(--v5-green); font-weight:700; }
  .v5 .v5-cpl-file { display:flex; align-items:center; gap:12px; padding:8px 6px; border-top:1px solid var(--v5-line); border-radius:var(--v5-r-tile); }
  .v5 .v5-cpl-file--hit { background:var(--v5-fill); }
  .v5 .v5-cpl-dot { flex:0 0 10px; width:10px; height:10px; border-radius:var(--v5-r-chip); }
  .v5 .v5-cpl-fname { flex:1 1 auto; min-width:0; font-size:14px; color:var(--v5-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-cpl-ftxt { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:2px; }   /* ⟦item 840⟧ the type word over the name */
  .v5 .v5-cpl-ftxt .v5-cpl-fname { flex:none; }
  .v5 .v5-cpl-fsize { flex:0 0 auto; min-width:64px; text-align:right; font-size:13px; color:var(--v5-text3); }
  .v5 .v5-cpl-dl { flex:0 0 auto; display:inline-flex; align-items:center; gap:6px; height:30px; padding:0 10px; border:1px solid var(--v5-fill-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text2); font-family:var(--v5-font); font-size:13px; font-weight:600; cursor:pointer; text-decoration:none; white-space:nowrap; }
  .v5 .v5-cpl-dl:hover { color:var(--v5-text); border-color:var(--v5-text3); }
  .v5 .v5-cl--phone .v5-cpl-dl span { display:none; }
  /* ⟦CP-7⟧ ONE grouped list (replaces CP-6's two panes): a full-width row per delivery, a single file's Download on the row, a
     multi-file delivery opening in place. Neutral throughout (no gold); the ✓ is the done green; the file line is CP-4's. */
  .v5 .v5-cp7 { border:0; background:none; padding:0; }   /* ⟦item 917⟧ CP-17 D: the search and the folders sit on the page itself */
  .v5 .v5-cp7-q { max-width:360px; margin:0 0 8px; }
  /* ⟦item 854⟧ (mock RF-8) each project is its own soft outlined card — neutral, never gold or green; its name the heading (larger,
     the page's white, normal capitals) with the counts small and grey on the right. */
  .v5 .v5-cp7-group { margin-top:8px; padding:0; border:1px solid var(--v5-line); border-radius:var(--v5-r-card); background:var(--v5-panel2); overflow:hidden; }
  /* ⟦item 917⟧ (CP-17 option D, CP-18) A PROJECT IS A FOLDER: the folder icon in its box, the name, "N delivered · latest <date>", › (Close
     when open); open, its deliveries are plain indented rows (a small type tile, the name, the date, ›) on the folder's own darker
     ground, newest 10 then "Show N more ›". Neutral throughout (no gold). */
  .v5 .v5-cpf-head { display:flex; align-items:center; gap:12px; width:100%; padding:12px 14px; border:0; background:none; cursor:pointer; text-align:left; font-family:var(--v5-font); letter-spacing:normal; text-transform:none; color:var(--v5-text); }
  .v5 .v5-cpf-head:hover { background:var(--v5-band); }
  .v5 .v5-cpf-ic { flex:0 0 34px; width:34px; height:34px; display:flex; align-items:center; justify-content:center; border-radius:var(--v5-r-tile); background:var(--v5-chip); color:var(--v5-text2); }
  .v5 .v5-cpf-txt { flex:1 1 auto; min-width:0; }
  .v5 .v5-cpf-name { display:block; font-size:16px; font-weight:800; line-height:1.3; overflow-wrap:anywhere; }
  .v5 .v5-cpf-sub { display:block; margin-top:2px; font-size:13px; color:var(--v5-text3); }
  .v5 .v5-cpf-go { flex:0 0 auto; font-size:13px; font-weight:600; color:var(--v5-text3); }
  .v5 .v5-cp7-group:not(.v5-cp7-group--open) .v5-cpf-go { font-size:18px; font-weight:400; }
  .v5 .v5-cpf-in { padding:2px 0 4px; border-top:1px solid var(--v5-line-soft); background:var(--v5-panel3); }
  .v5 .v5-cpf-in .v5-rf { margin:10px 14px 6px 60px; }
  .v5 .v5-cpf-in .v5-cpd-line { padding:9px 14px 9px 60px; min-height:42px; gap:12px; }
  .v5 .v5-cpf-tile { flex:0 0 24px; width:24px; height:24px; display:flex; align-items:center; justify-content:center; border-radius:var(--v5-r-chip); }
  .v5 .v5-cpf-more { display:block; width:100%; padding:10px 14px 10px 60px; border:0; border-top:1px solid var(--v5-line-soft); background:none; cursor:pointer; text-align:left; font-family:var(--v5-font); font-size:13.5px; font-weight:600; color:var(--v5-team-ink); }
  .v5 .v5-cpf-more:hover { background:var(--v5-band); }
  .v5 .v5-cpf-in .v5-cp7-later { padding:10px 14px 8px 60px; }
  .v5 .v5-cl--phone .v5-cpf-head { padding:11px 12px; }
  .v5 .v5-cl--phone .v5-cpf-in .v5-cpd-line { padding-left:20px; }
  .v5 .v5-cl--phone .v5-cpf-more { padding-left:20px; }
  .v5 .v5-cl--phone .v5-cpf-in .v5-rf { margin-left:12px; margin-right:12px; }
  .v5 .v5-cp7-tag { display:inline-block; margin-left:10px; padding:2px 8px; border:1px solid var(--v5-line); border-radius:var(--v5-r-chip); background:var(--v5-line-dim); vertical-align:3px;
                    font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-cp7-showall { height:32px; padding:0 16px; border:1px solid var(--v5-fill-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text2); font-family:var(--v5-font); font-size:13.5px; font-weight:600; cursor:pointer; }
  .v5 .v5-cp7-showall:hover { color:var(--v5-text); border-color:var(--v5-text3); }
  .v5 .v5-cp7-later { padding:8px 8px 2px; font-size:13px; color:var(--v5-text3); }
  /* ⟦item 951⟧ FINISHED WORK — year headings, one card per project (chevron · name · badge · counts; Download all), open: each deliverable a
     small bold heading with its files under it (type tile · type word · grey line · line-icon actions). Neutral; the done badge green. */
  .v5 .v5-fw-q { max-width:360px; margin:0 0 6px; }
  /* ⟦item 952⟧ Part 0: a client with nothing open — muted, after the others */
  .v5 .v5-th-none-h { margin:36px 0 -24px; font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-th-card--none { opacity:.72; }
  /* ⟦item 1066⟧ HOME-2 (3) — NEEDS YOU, ONE ROW PER PERSON PER DELIVERABLE (v5ThNeedsHtml): the head ("NEEDS YOU · N", what they are, Mark all
     seen), then rows — the initials, "<Name> approved <N items>" (expands), a tag, "Client · project · item" under it, Open (steel) and the
     ✓ (Mark seen). Tokens only: the team's own steel / green / mauve / violet in either theme; the light box below. */
  .v5 .v5-thn-top { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 12px; margin-bottom:6px; }
  .v5 .v5-thn-top .v5-thn-h { margin-bottom:0; }
  .v5 .v5-thn-sub { flex:1 1 auto; min-width:0; font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-thn-all { margin-left:auto; flex:none; padding:5px 10px; border:1px solid var(--v5-team-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-team-ink); font-family:var(--v5-font); font-size:12.5px; font-weight:700; cursor:pointer; }
  .v5 .v5-thn-all:hover { border-color:var(--v5-team-ink); }
  .v5 .v5-thn-none { margin:4px 0 2px; font-size:14px; color:var(--v5-text2); }
  .v5 .v5-thn-row { align-items:flex-start; gap:12px; margin:0 -8px; padding:10px 8px; border-radius:var(--v5-r-tile); }
  .v5 .v5-thn-row:hover { background:var(--v5-band); }
  .v5 .v5-thn-av { flex:0 0 32px; width:32px; height:32px; display:flex; align-items:center; justify-content:center; box-sizing:border-box; border:1px solid var(--v5-team-line); border-radius:50%; background:var(--v5-panel); color:var(--v5-team-ink); font-size:11.5px; font-weight:800; letter-spacing:.02em; }
  .v5 .v5-thn-main { flex:1 1 auto; min-width:0; }
  .v5 .v5-thn-l1 { display:flex; align-items:center; flex-wrap:wrap; gap:4px 10px; min-height:22px; font-size:14px; line-height:1.4; color:var(--v5-text); }
  .v5 .v5-thn-who { padding:0; border:0; background:none; color:inherit; font-family:var(--v5-font); font-size:14px; line-height:1.4; text-align:left; cursor:pointer; }
  .v5 .v5-thn-who:hover { text-decoration:underline; }
  .v5 .v5-thn-tag { display:inline-flex; align-items:center; height:20px; padding:0 8px; box-sizing:border-box; border-radius:var(--v5-r-chip); font-size:11.5px; font-weight:700; white-space:nowrap; }
  .v5 .v5-thn-tag--ok { background:var(--v5-done-tint); color:var(--v5-green); }
  .v5 .v5-thn-tag--chg { background:var(--v5-withus-tint); color:var(--v5-revise); }
  .v5 .v5-thn-tag--team { border:1px solid var(--v5-team-line); background:var(--v5-panel); color:var(--v5-team-ink); }
  .v5 .v5-thn-tag--guest { background:var(--v5-note-bg); color:var(--v5-note); }
  .v5 .v5-thn-l2 { margin-top:2px; font-size:12.5px; line-height:1.4; color:var(--v5-text3); overflow-wrap:anywhere; }
  .v5 .v5-thn-items { margin:6px 0 0; padding:0; list-style:none; }
  .v5 .v5-thn-it { padding:3px 0; border:0; background:none; color:var(--v5-text2); font-family:var(--v5-font); font-size:13px; text-align:left; cursor:pointer; }
  .v5 .v5-thn-it:hover { color:var(--v5-team-ink); }
  .v5 .v5-thn-itf { color:var(--v5-text3); }
  .v5 .v5-thn-open { flex:none; height:32px; padding:0 14px; border:1px solid var(--v5-team-ink); border-radius:var(--v5-r-tile); background:var(--v5-team-ink); color:var(--v5-panel); font-family:var(--v5-font); font-size:13px; font-weight:700; cursor:pointer; }
  .v5 .v5-thn-x { min-width:32px; min-height:32px; }
  .v5 .v5-thn-x:hover { background:var(--v5-team-ink); border-color:var(--v5-team-ink); color:var(--v5-panel); }
  /* ⟦item 1066⟧ HOME-2 — TEAM HOME IN LIGHT (Dark keeps today's look): the Needs you box a pale steel #eef3f8 with a #b9cde2 edge (rows a step
     darker on hover; ✓ white with a steel outline); active clients white cards with a faint lift on hover; a client with nothing open no card
     at all (a small logo, the name, "All delivered" quieter); "N with the client" amber #8a5a0b, "N late" rust #a0522d (never red). */
  .v5 .v5-tlight .v5-th .v5-th-needs { border-color:var(--v5-tl-needs-line); background:var(--v5-tl-needs-bg); }
  .v5 .v5-tlight .v5-th .v5-thn-row { border-top-color:var(--v5-tl-needs-line); }
  .v5 .v5-tlight .v5-th .v5-thn-row:hover { background:var(--v5-tl-needs-hover); }
  .v5 .v5-tlight .v5-th .v5-thn-x, .v5 .v5-tlight .v5-th .v5-thn-av { border-color:var(--v5-tl-steel); background:var(--v5-tl-card); color:var(--v5-tl-steel); }
  .v5 .v5-tlight .v5-th .v5-thn-x:hover { background:var(--v5-tl-steel); color:var(--v5-tl-card); }
  .v5 .v5-tlight .v5-th .v5-thn-all { border-color:var(--v5-tl-needs-line); background:var(--v5-tl-card); }
  .v5 .v5-tlight .v5-th .v5-th-card { border-color:var(--v5-tl-line); background:var(--v5-tl-card); transition:box-shadow .15s ease, transform .15s ease; }
  .v5 .v5-tlight .v5-th .v5-th-card:hover, .v5 .v5-tlpg .v5-lpc:hover { box-shadow:var(--v5-tl-lift); transform:translateY(-1px); }   /* "a faint hover lift on clickable cards" */
  .v5 .v5-tlight .v5-th .v5-th-card--none, .v5 .v5-tlight .v5-th .v5-th-card--none:hover { padding:6px 4px; border-color:transparent; background:none; opacity:1; box-shadow:none; transform:none; }
  .v5 .v5-tlight .v5-th .v5-th-card--none .v5-th-tile { flex:0 0 32px; width:32px; height:32px; font-size:10px; }
  .v5 .v5-tlight .v5-th .v5-th-card--none .v5-lpc-n.v5-th-code { font-size:15px; font-weight:700; }
  .v5 .v5-tlight .v5-th .v5-th-card--none .v5-lpc-s { font-size:12.5px; color:var(--v5-tl-meta); }
  .v5 .v5-tlight .v5-th .v5-th-grid--none { gap:6px 16px; }
  .v5 .v5-tlight .v5-th .v5-th-out { color:var(--v5-tl-amber); }
  .v5 .v5-tlight .v5-th .v5-th-late { color:var(--v5-tl-rust); }
  /* ⟦item 1066b⟧ (Jeffrey, Nov 9): "N late" ANYWHERE on a team page in Light is the home's rust, not red — the client switcher's signals, the
     project / deliverable count line and the Overview's headline (v5-tsum-late), the Status page's client heading and its Late chip. Dark
     keeps red, as the home does in Dark. Keyed to body.v5-tlpg (a team session's Light v5 page: the only light class item 1055's guard
     allows outside .v5-th). A single item's late mark (a card's Late chip, a passed approve-by or due date, "N days") is not
     an "N late" count and is left as it was. */
  .v5 .v5-tlpg .v5-th-late, .v5 .v5-tlpg .v5-tsum-late, .v5 .v5-tlpg .v5-sts-grp-name .v5-sts-bad, .v5 .v5-tlpg .v5-sts-fchip--late.v5-eml-chip--bad, .v5 .v5-tlpg .v5-sts-fchip--late.v5-eml-chip--bad .v5-sts-n { color:var(--v5-tl-rust); }
  /* ⟦item 1072⟧ (Jeffrey, Nov 10, answers to 1066b): "rust in Dark too, using 1061's dark rust #e0a07a, everywhere 'late' shows on team
     pages incl. team Home" and "every late mark on team pages goes rust (approve-by passed, was due, N days late, Late chip, Overdue,
     Schedule late dates, Status late cells). Client, guest and See as client pages unchanged." Keyed to body.v5-tteam (a TEAM session's
     tab, never a client's, a guest's or a See-as-client tab: v5TeamPageSync), so a class shared with a client page changes nowhere else.
     var(--v5-rust) is #e0a07a and the Light set remaps it to #a0522d (.v5-tlpg, the team home's .v5-th), so one rule is right in both.
     "Never opened" on Status is not a late mark: grey since item 1077 (below); errors (Bounced, Not sent) stay red. */
  .v5 .v5-tteam .v5-th-late, .v5 .v5-tteam .v5-tsum-late, .v5 .v5-tteam .v5-tf-late, .v5 .v5-tteam .v5-tov-late, .v5 .v5-tteam .v5-tst--late .v5-tst-det { color:var(--v5-rust); }
  .v5 .v5-tteam .v5-sts-wait.v5-sts-bad, .v5 .v5-tteam .v5-sts-due.v5-sts-bad, .v5 .v5-tteam .v5-sts-meta .v5-sts-bad, .v5 .v5-tteam .v5-sts-grp-name .v5-sts-bad, .v5 .v5-tteam .v5-sts-fchip--late.v5-eml-chip--bad, .v5 .v5-tteam .v5-sts-fchip--late.v5-eml-chip--bad .v5-sts-n { color:var(--v5-rust); }
  .v5 .v5-tteam .v5-tcl--late .v5-tcl-sym { color:var(--v5-rust); background:color-mix(in srgb, var(--v5-rust) 28%, transparent); }
  /* ⟦item 1077⟧ (Jeffrey, Nov 10, answer 1 to 1072): "Status "Never opened": grey (same grey as Today's "Not opened" pill), not red, not
     rust." The pill's colour is --td-muted = var(--v5-text3) in Dark and var(--v5-tl-meta) in Light; the team's Light page (.v5-tlpg) remaps
     --v5-text3 to --v5-tl-meta, so var(--v5-text3) is the pill's grey in both. The Status cell and its "Never opened" filter chip (label and
     count). Team tabs only (body.v5-tteam), after 1072's rules so it wins in source order as by specificity. Errors (Bounced, Not sent) stay red. */
  .v5 .v5-tteam .v5-sts-opened.v5-sts-bad, .v5 .v5-tteam .v5-sts-fchip--never.v5-eml-chip--bad, .v5 .v5-tteam .v5-sts-fchip--never.v5-eml-chip--bad .v5-sts-n { color:var(--v5-text3); }
  .v5 .v5-tteam .v5-pst .v5-pst-ep--late .v5-pst-epn, .v5 .v5-tteam .v5-pst .v5-pst-late { color:var(--v5-rp-lt-rust); }   /* Communication: its own ☀ (light rust) */
  .v5 .v5-tteam .v5-pst--dark .v5-pst-ep--late .v5-pst-epn, .v5 .v5-tteam .v5-pst--dark .v5-pst-late { color:var(--v5-rust-dk); }   /* …and its own ☾ (dark rust) */
  .v5 .v5-tsw-opt--none { opacity:.6; }
  .v5 .v5-tsw-none { flex:0 0 auto; margin-left:auto; font-size:11.5px; color:var(--v5-text3); white-space:nowrap; }
  /* ⟦item 952⟧ universal search (TEAM-84): the top bar's box, and the palette */
  .v5 .v5-tsr-trigger { order:101; display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; width:30px; height:28px; margin:0 0 0 6px; padding:0; border:1px solid var(--v5-fill-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text3); cursor:pointer; }   /* ⟦item 954⟧ the ⌕ alone, after the refresh button (order 100) */
  .v5 .v5-tsr-trigger:hover { color:var(--v5-text); border-color:var(--v5-text3); }
  .v5 .v5-tsr-trigger[hidden] { display:none; }
  .v5 .v5-tsr { position:fixed; inset:0; z-index:9500; }
  .v5 .v5-tsr-scrim { position:absolute; inset:0; background:rgba(0,0,0,.6); }
  .v5 .v5-tsr-box { position:absolute; left:50%; top:72px; transform:translateX(-50%); width:min(760px, calc(100vw - 32px)); max-height:calc(100vh - 110px); display:flex; flex-direction:column; border:1px solid var(--v5-fill-line); border-radius:var(--v5-r-card); background:var(--v5-panel2); box-shadow:0 30px 80px rgba(0,0,0,.55); overflow:hidden; }
  .v5 .v5-tsr-in { display:flex; align-items:center; gap:10px; padding:12px 14px; border-bottom:1px solid var(--v5-line); color:var(--v5-team-ink, var(--v5-text2)); }
  .v5 .v5-tsr-q { flex:1 1 auto; min-width:0; height:30px; border:0; outline:0; background:none; color:var(--v5-text); font-family:var(--v5-font); font-size:17px; }
  .v5 .v5-tsr-esc { flex:0 0 auto; padding:2px 8px; border:1px solid var(--v5-fill-line); border-radius:var(--v5-r-chip); background:none; color:var(--v5-text3); font-family:var(--v5-font); font-size:11.5px; cursor:pointer; }
  .v5 .v5-tsr-body { flex:1 1 auto; min-height:0; overflow:auto; }
  .v5 .v5-tsr-chips { display:flex; flex-wrap:wrap; gap:6px; padding:10px 14px; border-bottom:1px solid var(--v5-line-soft); }
  .v5 .v5-tsr-fchip { padding:4px 10px; border:1px solid var(--v5-fill-line); border-radius:var(--v5-r-chip); background:none; color:var(--v5-text2); font-family:var(--v5-font); font-size:12px; cursor:pointer; }
  .v5 .v5-tsr-fchip--on { border-color:transparent; background:var(--v5-team-bg, var(--v5-band)); color:var(--v5-team-ink, var(--v5-text)); font-weight:700; }
  .v5 .v5-tsr-grp { padding:12px 14px 4px; font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-tsr-row { display:flex; align-items:center; gap:12px; width:100%; padding:8px 14px; border:0; background:none; color:var(--v5-text); font-family:var(--v5-font); text-align:left; cursor:pointer; }
  .v5 .v5-tsr-row:hover { background:var(--v5-band); }
  .v5 .v5-tsr-row--sel { background:var(--v5-band); box-shadow:inset 3px 0 0 var(--v5-team-ink, var(--v5-text2)); }
  .v5 .v5-tsr-row--last { opacity:.55; }
  .v5 .v5-tsr-ic { flex:0 0 26px; width:26px; height:26px; display:flex; align-items:center; justify-content:center; border-radius:var(--v5-r-chip); background:var(--v5-chip); color:var(--v5-text2); font-size:12px; }
  .v5 .v5-tsr-txt { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:1px; }
  .v5 .v5-tsr-name { font-size:14px; font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-tsr-sub { font-size:12.5px; color:var(--v5-text3); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-tsr-hl { background:var(--v5-team-bg, var(--v5-band)); color:inherit; border-radius:var(--v5-r-chip); padding:0 1px; }
  .v5 .v5-tsr-chip { flex:0 0 auto; padding:2px 9px; border-radius:var(--v5-r-chip); font-size:12px; white-space:nowrap; }
  .v5 .v5-tsr-chip--gold { background:rgba(var(--v5-gold-rgb), .14); color:var(--v5-gold); }
  .v5 .v5-tsr-chip--ok { background:var(--v5-done-tint); color:var(--v5-green); }
  .v5 .v5-tsr-chip--team { background:var(--v5-team-bg, var(--v5-band)); color:var(--v5-team-ink, var(--v5-text2)); }
  .v5 .v5-tsr-chip--grey { background:var(--v5-line-dim); color:var(--v5-text3); }
  .v5 .v5-tsr-act { flex:0 0 auto; font-size:12px; color:var(--v5-text3); }
  .v5 .v5-tsr-note { padding:18px 14px; font-size:13.5px; color:var(--v5-text3); }
  .v5 .v5-tsr-retry { border:0; background:none; color:var(--v5-text2); font-family:var(--v5-font); text-decoration:underline; cursor:pointer; }
  .v5 .v5-tsr-ft { display:flex; flex-wrap:wrap; gap:6px 16px; padding:10px 14px; border-top:1px solid var(--v5-line); font-size:12px; color:var(--v5-text3); }
  .v5 .v5-tsr-ft-gap { flex:1 1 auto; }
  .v5 .v5-tsr-ft-muted { opacity:.85; }
  .v5 .v5-tsr--phone .v5-tsr-box { inset:0; top:0; left:0; transform:none; width:auto; max-height:none; height:100%; border-radius:0; }
  .v5 .v5-tsr--phone .v5-tsr-ft > span:not(.v5-tsr-ft-muted):not(.v5-tsr-ft-gap) { display:none; }
  .v5 .v5-rail-fwdone { flex:0 0 auto; margin-left:auto; font-size:11.5px; font-weight:700; color:var(--v5-green); white-space:nowrap; }   /* ⟦item 951⟧ 4b */
  .v5 .v5-fw-year { margin:22px 2px 8px; font-size:12px; font-weight:800; letter-spacing:.08em; color:var(--v5-text3); }
  .v5 .v5-fw-list > .v5-fw-year:first-child { margin-top:10px; }
  .v5 .v5-fw-card { margin-top:8px; border:1px solid var(--v5-line); border-radius:var(--v5-r-card); background:var(--v5-panel2); overflow:hidden; }
  .v5 .v5-fw-head { display:flex; align-items:center; gap:10px; padding:4px 12px 4px 0; }
  .v5 .v5-fw-fold { flex:1 1 auto; min-width:0; display:flex; align-items:center; gap:10px; padding:12px 6px 12px 14px; border:0; background:none; cursor:pointer; text-align:left; font-family:var(--v5-font); color:var(--v5-text); letter-spacing:normal; text-transform:none; }
  .v5 .v5-fw-chev { flex:0 0 auto; display:inline-flex; color:var(--v5-text3); transition:transform .15s; }
  .v5 .v5-fw-card--open .v5-fw-chev { transform:rotate(90deg); }
  .v5 .v5-fw-htxt { flex:1 1 auto; min-width:0; display:flex; align-items:center; flex-wrap:wrap; gap:4px 10px; }
  .v5 .v5-fw-pname { font-size:16px; font-weight:800; line-height:1.3; overflow-wrap:anywhere; }
  .v5 .v5-fw-badge { display:inline-block; padding:2px 8px; border:1px solid var(--v5-line); border-radius:var(--v5-r-chip); background:var(--v5-line-dim); font-size:12px; font-weight:700; color:var(--v5-text2); white-space:nowrap; }
  .v5 .v5-fw-badge--done { border-color:transparent; background:var(--v5-done-tint, rgba(99,192,143,.14)); color:var(--v5-green); }
  .v5 .v5-fw-meta { font-size:13px; color:var(--v5-text3); }
  .v5 .v5-fw-hacts { flex:0 0 auto; display:flex; align-items:center; gap:8px; }
  .v5 .v5-fw-dlall, .v5 .v5-fw-pkg { display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 12px; border-radius:var(--v5-r-tile); font-family:var(--v5-font); font-size:13px; font-weight:700; cursor:pointer; white-space:nowrap; }
  .v5 .v5-fw-dlall { border:1px solid var(--v5-text); background:var(--v5-text); color:var(--v5-bg); }
  .v5 .v5-fw-dlall:hover { opacity:.9; }
  .v5 .v5-fw-dlall:disabled { opacity:.6; cursor:default; }
  .v5 .v5-fw-pkg { border:1px solid var(--v5-fill-line); background:none; color:var(--v5-text2); }
  .v5 .v5-fw-pkg:hover, .v5 .v5-fw-links:hover { color:var(--v5-text); background:var(--v5-band); }
  .v5 .v5-fw-links { display:inline-flex; align-items:center; gap:4px; height:32px; padding:0 8px; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--v5-text3); font-family:var(--v5-font); font-size:13px; font-weight:600; cursor:pointer; white-space:nowrap; }
  .v5 .v5-fw-lk { padding:10px 14px 12px 38px; border-top:1px solid var(--v5-line-soft); }
  .v5 .v5-fw-lk-h { margin-bottom:4px; font-size:12px; font-weight:800; color:var(--v5-text3); }
  .v5 .v5-fw-lk-row { display:flex; align-items:center; flex-wrap:wrap; gap:6px 12px; padding:6px 0; border-top:1px solid var(--v5-line); }
  .v5 .v5-fw-lk-txt { flex:1 1 220px; min-width:0; font-size:13px; color:var(--v5-text2); }
  .v5 .v5-fw-lk-row--off .v5-fw-lk-txt { color:var(--v5-text3); }
  .v5 .v5-fw-lk-note { padding:4px 0; font-size:13px; color:var(--v5-text3); }
  .v5 .v5-fw-body { padding:2px 14px 12px 38px; border-top:1px solid var(--v5-line-soft); background:var(--v5-panel3); }
  .v5 .v5-fw-del { margin-top:12px; }
  .v5 .v5-fw-del-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:0 2px 6px; }
  .v5 .v5-fw-del-name { font-size:14px; font-weight:800; color:var(--v5-text); overflow-wrap:anywhere; }
  .v5 .v5-fw-del-meta { flex:0 0 auto; font-size:12.5px; color:var(--v5-text3); white-space:nowrap; }
  .v5 .v5-fw-row { display:flex; align-items:center; flex-wrap:wrap; gap:6px 12px; padding:8px 6px; border-top:1px solid var(--v5-line); border-radius:var(--v5-r-tile); }
  .v5 .v5-fw-row--hit { background:var(--v5-fill); }
  .v5 .v5-fw-tile { flex:0 0 28px; width:28px; height:28px; display:flex; align-items:center; justify-content:center; border-radius:var(--v5-r-chip); }
  .v5 .v5-fw-txt { flex:1 1 200px; min-width:0; display:flex; flex-direction:column; gap:2px; }
  .v5 .v5-fw-type { font-size:15.5px; font-weight:600; color:var(--v5-text); overflow-wrap:anywhere; }   /* ⟦item 974⟧ Part 1: 14 → 15.5 */
  .v5 .v5-fw-name { font-weight:400; color:var(--v5-text2); }
  .v5 .v5-fw-grey { font-size:13px; color:var(--v5-text3); }   /* ⟦item 974⟧ Part 1: 12.5 → 13 */
  .v5 .v5-fw-acts { flex:0 0 auto; display:flex; align-items:center; gap:6px; margin-left:auto; }
  .v5 .v5-fw-ic { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; padding:0; border:1px solid transparent; border-radius:var(--v5-r-tile); background:none; color:var(--v5-text2); cursor:pointer; }
  .v5 .v5-fw-ic:hover { color:var(--v5-text); background:var(--v5-band); }
  .v5 .v5-fw-ic--open { border-color:var(--v5-fill-line); }
  .v5 .v5-fw-ic--ok, .v5 .v5-fw-ic--ok:hover { color:var(--v5-green); }
  .v5 .v5-fw-tbtn, .v5 .v5-fw-vadd, .v5 .v5-fw-vsave, .v5 .v5-fw-vcancel { display:inline-flex; align-items:center; height:30px; padding:0 10px; border:1px solid var(--v5-fill-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text2); font-family:var(--v5-font); font-size:13px; font-weight:600; cursor:pointer; text-decoration:none; white-space:nowrap; }
  .v5 .v5-fw-tbtn:hover, .v5 .v5-fw-vadd:hover { color:var(--v5-text); border-color:var(--v5-text3); }
  .v5 .v5-fw-vedit { align-self:flex-start; margin-top:2px; padding:0; border:0; background:none; font-family:var(--v5-font); font-size:12px; color:var(--v5-text3); text-decoration:underline; cursor:pointer; opacity:0; }
  .v5 .v5-fw-row:hover .v5-fw-vedit, .v5 .v5-fw-vedit:focus { opacity:1; }
  .v5 .v5-fw-repl { align-self:flex-start; margin-top:2px; padding:0; border:0; background:none; font-family:var(--v5-font); font-size:12px; font-weight:600; color:var(--v5-team-ink); cursor:pointer; }   /* ⟦item 969⟧ team blue */
  .v5 .v5-fw-repl:hover { text-decoration:underline; }
  .v5 .v5-fw-repline { display:block; }
  .v5 .v5-fw-vform { flex:1 0 100%; display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:4px 0 2px 40px; }
  .v5 .v5-fw-vin { flex:1 1 220px; min-width:0; height:32px; padding:0 10px; border:1px solid var(--v5-fill-line); border-radius:var(--v5-r-tile); background:var(--v5-panel2); color:var(--v5-text); font-family:var(--v5-font); font-size:13px; }
  .v5 .v5-fw-verr { flex:1 0 100%; font-size:12.5px; color:var(--v5-urgent); }
  .v5 .v5-fw-also { margin-top:16px; }
  .v5 .v5-fw-also-h { padding:0 2px 6px; font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-fw-body .v5-rf { margin:14px 0 2px; }
  .v5 .v5-fw-empty { margin-top:18px; padding:28px 20px; border:1px dashed var(--v5-line); border-radius:var(--v5-r-card); text-align:center; }
  .v5 .v5-fw-empty-h { font-size:16px; font-weight:800; color:var(--v5-text); }
  .v5 .v5-fw-empty-s { margin-top:6px; font-size:14px; color:var(--v5-text3); }
  .v5 .v5-fw-pop { position:fixed; inset:0; z-index:9000; display:flex; align-items:center; justify-content:center; padding:16px; background:rgba(0,0,0,.72); }
  .v5 .v5-fw-pop-box { width:min(960px, 100%); max-height:100%; display:flex; flex-direction:column; border-radius:var(--v5-r-card); background:var(--v5-panel2); overflow:hidden; }
  .v5 .v5-fw-pop-top { display:flex; align-items:center; gap:10px; padding:10px 12px 10px 16px; }
  .v5 .v5-fw-pop-t { flex:1 1 auto; min-width:0; font-size:14px; font-weight:700; color:var(--v5-text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-fw-pop-x { width:32px; height:32px; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--v5-text2); font-size:16px; cursor:pointer; }
  .v5 .v5-fw-pop-stage { display:flex; align-items:center; justify-content:center; min-height:120px; padding:0 12px 12px; }
  .v5 .v5-fw-pop-media { width:100%; height:min(540px, 56vw); border:0; border-radius:var(--v5-r-tile); background:var(--v5-bg); }
  .v5 .v5-fw-pop-img { max-width:100%; max-height:calc(100vh - 120px); border-radius:var(--v5-r-tile); }
  .v5 .v5-fw-pop-audio { width:100%; }
  /* the phone (v5-fw--phone: under V5_PHONE_MAX, the client's AND the team's — a team session never wears v5-cl--phone here) */
  .v5 .v5-fw--phone .v5-fw-head { flex-wrap:wrap; padding:0 12px 10px 0; }
  .v5 .v5-fw--phone .v5-fw-hacts { flex:1 1 100%; flex-wrap:wrap; min-width:0; padding-left:38px; }   /* ⟦item 953⟧ the row wraps on a phone: "Copy link to all" and "Links ⌄" ran past the card at 390 (live look) */
  .v5 .v5-fw--phone .v5-fw-body { padding:2px 10px 12px 12px; }
  /* ⟦item 972⟧ FW-3: the open project's two columns — the episode list (300px, #0e0e11; the chosen one a light tab) and the episode (#18181c) */
  .v5 .v5-fw-body--972 { padding:0; background:var(--v5-fw-pane); }
  .v5 .v5-fw--phone .v5-fw-body--972 { padding:0; }
  .v5 .v5-fw-split { display:flex; align-items:stretch; }
  .v5 .v5-fw-epcol { flex:0 0 300px; width:300px; min-width:0; padding:12px 8px 14px; background:var(--v5-fw-rail); border-right:1px solid var(--v5-line); }
  .v5 .v5-fw-split--phone .v5-fw-epcol { flex:1 1 auto; width:auto; border-right:0; }
  .v5 .v5-fw-eps-h { padding:4px 8px 8px; font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-fw-ep { display:flex; align-items:center; gap:10px; width:100%; margin:0 0 2px; padding:8px; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--v5-text); font-family:var(--v5-font); text-align:left; cursor:pointer; }
  .v5 .v5-fw-ep:hover { background:var(--v5-band); }
  .v5 .v5-fw-ep--on { background:var(--v5-fw-tab); color:var(--v5-fw-tab-ink); }
  .v5 .v5-fw-ep--on:hover { background:var(--v5-fw-tab); }
  .v5 .v5-fw-ep--on .v5-fw-ep-sub { color:var(--v5-fw-tab-sub); }
  .v5 .v5-fw-ep-pic { flex:0 0 54px; width:54px; height:32px; display:flex; align-items:center; justify-content:center; overflow:hidden; border-radius:var(--v5-r-chip); background:var(--v5-line-dim); color:var(--v5-text3); }
  .v5 .v5-fw-ep-pic img { display:block; width:100%; height:100%; object-fit:cover; }
  .v5 .v5-fw-ep-txt { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:1px; }
  .v5 .v5-fw-ep-name { font-size:13.5px; font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-fw-ep-sub { font-size:12px; color:var(--v5-text3); }
  .v5 .v5-fw-ep-go { flex:0 0 auto; font-size:17px; line-height:1; opacity:.7; }
  .v5 .v5-fw-epxcol { flex:1 1 auto; min-width:0; padding:16px 18px 16px; }
  .v5 .v5-fw-one { padding:4px 14px 14px 38px; }
  .v5 .v5-fw--phone .v5-fw-one { padding:4px 12px 12px; }
  .v5 .v5-fw--phone .v5-fw-epxcol { padding:12px 12px 14px; }
  .v5 .v5-fw--phone .v5-fw-ep { min-height:52px; }
  .v5 .v5-fw--phone .v5-fw-ep-pic { flex:0 0 64px; width:64px; height:38px; }
  .v5 .v5-fw--phone .v5-fw-eph-pic { flex:0 0 160px; width:160px; height:90px; }   /* ⟦item 1040⟧ one picture ~160×90 (was the full width, 190 tall) */
  .v5 .v5-fw--phone .v5-fw-dlep { flex:1 1 100%; justify-content:center; }
  .v5 .v5-fw--phone .v5-fw-hacts { flex-wrap:nowrap; }
  .v5 .v5-fw--phone .v5-fw-hacts > .v5-fw-dlall { flex:1 1 50%; justify-content:center; }
  .v5 .v5-fw--phone .v5-fw-hacts > .v5-fw-pkg { flex:1 1 50%; justify-content:center; }
  .v5 .v5-fw-hist { margin:0; padding:4px 0 4px 18px; font-size:14px; line-height:1.7; color:var(--v5-text); align-self:stretch; }
  .v5 .v5-fw-eph { display:flex; align-items:center; flex-wrap:wrap; gap:12px 14px; }
  .v5 .v5-fw-eph-pic { flex:0 0 150px; width:150px; height:84px; display:flex; align-items:center; justify-content:center; overflow:hidden; border-radius:var(--v5-r-tile); background:var(--v5-line-dim); color:var(--v5-text3); }
  .v5 .v5-fw-eph-pic img { display:block; width:100%; height:100%; object-fit:cover; }
  .v5 .v5-fw-eph-txt { flex:1 1 200px; min-width:0; }
  .v5 .v5-fw-epn { font-size:21px; font-weight:800; line-height:1.2; color:var(--v5-text); overflow-wrap:anywhere; }
  .v5 .v5-fw-eps { margin-top:3px; font-size:13px; color:var(--v5-text3); }
  .v5 .v5-fw-dlep { flex:0 0 auto; }
  .v5 .v5-fw-snote { margin-top:12px; font-size:13px; color:var(--v5-text3); }
  /* ⟦item 993⟧ TEAM-105: the compact link card — the team's centred in the viewer on a neutral dark ground (no brown art), the client's in its column (tokens only) */
  .v5 .v5-tp-skel-card993 { pointer-events: none; opacity: .55; }
  .v5 .v5-lkc-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--v5-bg); }
  .v5 .v5-lkc { width: min(100%, 440px); box-sizing: border-box; padding: 20px 22px; border: 1px solid var(--v5-line); border-radius: var(--v5-r-card); background: var(--v5-panel2); color: var(--v5-text); text-align: left; }
  .v5 .v5-lkc-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--v5-r-tile); background: var(--v5-band); color: var(--v5-text2); }
  .v5 .v5-lkc-name { margin-top: 12px; font-size: 18px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
  .v5 .v5-lkc-grey { margin-top: 3px; font-size: 13px; color: var(--v5-text3); overflow-wrap: anywhere; }
  .v5 .v5-lkc-acts { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
  .v5 .v5-lkc-open { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: var(--v5-r-tile); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
  .v5 .v5-lkc-open--steel { background: var(--v5-tstrip-on); color: var(--v5-tstrip-on-ink); }
  .v5 .v5-lkc-open--steel:hover { opacity: .9; }
  .v5 .v5-lkc-open--gold { background: var(--v5-gold); color: var(--v5-on-gold); }
  .v5 .v5-lkc-open--gold:hover { opacity: .9; }
  .v5 .v5-lkc-open--quiet { border: 1px solid var(--v5-line); color: var(--v5-text); background: none; }
  .v5 .v5-tp-col .v5-lkc { width: 100%; margin-top: 28px; }   /* the client's column: 821's spacing (28px under the note) and its width */
  .v5 .v5-lkc-copy { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--v5-line); border-radius: var(--v5-r-tile); background: none; color: var(--v5-text2); cursor: pointer; }
  .v5 .v5-lkc-copy:hover { color: var(--v5-text); background: var(--v5-band); }
  .v5 .v5-lkc-line { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--v5-text2); }
  .v5 .v5-lkc-ok { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--v5-green); }
  .v5 .v5-row-l1.v5-row-l1--one { white-space:nowrap; }   /* ⟦item 994⟧ "<date> · by email": one line, never wraps */
  .v5 .v5-fw-grp { margin-top:16px; }
  /* ⟦item 991⟧ FW-5 — each video its own box, its files on the thin tree line under it, "Also in this episode" last; the episode list
     280px, the files wider, taller rows, more room between videos; FOUR SLOTS at every row's end (v5SlotsHtml); the row is its main action */
  .v5 .v5-slots { flex:0 0 auto; display:inline-grid; grid-template-columns:72px 34px 34px 34px; align-items:center; justify-items:center; gap:4px; margin-left:auto; }
  .v5 .v5-slot { display:flex; align-items:center; justify-content:center; min-width:0; }
  .v5 .v5-slot--main { justify-content:flex-end; justify-self:stretch; }
  .v5 .v5-fw-main { min-width:64px; justify-content:center; }
  .v5 .v5-fw-epcol { flex:0 0 280px; width:280px; }
  .v5 .v5-fw-epxcol { padding:20px 24px 22px; }
  .v5 .v5-fw-vbox { margin-top:14px; padding:4px 10px 6px; border:1px solid var(--v5-line); border-radius:var(--v5-r-card); background:var(--v5-panel2); }
  .v5 .v5-fw-vbox + .v5-fw-vbox { margin-top:16px; }
  .v5 .v5-fw-vbox .v5-fw-row--video { border-top:0; }
  .v5 .v5-fw-row { min-height:56px; padding:10px 8px; }
  .v5 .v5-fw-row--act { cursor:pointer; }
  .v5 .v5-fw-row--act:hover { background:var(--v5-band); }
  .v5 .v5-fw-kids { margin:0 0 4px 22px; }
  .v5 .v5-fw-row--kid { position:relative; min-height:50px; padding-left:22px; border-top:0; }
  .v5 .v5-fw-row--kid::before { content:''; position:absolute; left:0; top:0; bottom:0; border-left:1px solid var(--v5-fill-line); }
  .v5 .v5-fw-row--kid-last::before { bottom:50%; }
  .v5 .v5-fw-row--kid::after { content:''; position:absolute; left:0; top:50%; width:14px; border-top:1px solid var(--v5-fill-line); }
  .v5 .v5-fw-also { margin-top:22px; padding:0 11px; }   /* the boxes' inner edge (10px + its 1px border): Also's slots line up with theirs */
  .v5 .v5-fw-also .v5-fw-grp-h { padding:0 2px 6px; }
  .v5 .v5-fw-nar .v5-fw-row--nar .v5-fw-tile, .v5 .v5-fw-nar .v5-fw-row--nar .v5-fw-type { opacity:.6; }   /* ⟦item 1099⟧ the team's narration: present, not a deliverable */
  .v5 .v5-fw-ephacts { display:inline-flex; align-items:center; gap:8px; margin-left:auto; }
  /* ⟦item 1040⟧ FW-5 TIDY: the project's name ~26px with an accent bar (gold; steel for the team), the episode list names only, the chosen
     one OUTLINED (gold; steel for the team), one picture ~160×90, the ZIP button's count and size, a cut's Publish details button */
  .v5 main:has(> .v5-fw-wide) { max-width:1260px; margin-left:0; padding-left:40px; padding-right:40px; }   /* the team's Finished work sits BESIDE the rail, as the client's does (it was centred in 1100px) */
  .v5 .v5-fw-pname { position:relative; padding-left:14px; font-size:26px; line-height:1.15; letter-spacing:-.01em; }
  .v5 .v5-fw-pname::before { content:''; position:absolute; left:0; top:3px; bottom:3px; width:4px; border-radius:var(--v5-r-chip); background:var(--v5-gold); }
  .v5 .v5-fw-pname--team::before { background:var(--v5-tstrip-on); }
  .v5 .v5-fw-htxt { flex-direction:column; align-items:flex-start; gap:4px; }
  .v5 .v5-fw-meta { padding-left:14px; }
  .v5 .v5-fw-ep { min-height:40px; padding:9px 10px; }
  .v5 .v5-fw-ep--on, .v5 .v5-fw-ep--on:hover { background:none; color:var(--v5-text); box-shadow:inset 0 0 0 1.5px var(--v5-gold); }
  .v5 .v5-fw-ep--on.v5-fw-ep--team, .v5 .v5-fw-ep--on.v5-fw-ep--team:hover { box-shadow:inset 0 0 0 1.5px var(--v5-tstrip-on); }
  .v5 .v5-fw-ep-name { font-size:14px; }
  .v5 .v5-fw-eph-pic { flex:0 0 160px; width:160px; height:90px; }
  .v5 .v5-fw-dlsub { font-weight:500; opacity:.7; }
  .v5 .v5-fw-pdbtn { flex:0 0 auto; }
  .v5 .v5-fw-more svg, .v5 .v5-fw-pmore svg { display:block; }   /* ⟦item 1058⟧ the project header's ⋯ too */
  .v5 .v5-fw--phone .v5-fw-pname { font-size:22px; }
  .v5 .v5-fw--phone .v5-fw-pdbtn { order:5; margin-left:40px; }
  .v5 .v5-fw-pop-text { max-height:70vh; overflow:auto; padding:14px 16px; white-space:pre-wrap; font-size:14px; line-height:1.55; color:var(--v5-text); }
  /* ⟦item 1126⟧ B4 (Jeffrey, Nov 14; found in item 1099): the team's "Copy link" ran past the pane at 390 — Download (with "1 file · 662 MB")
     and Copy link were each held at half the row and neither could shrink below its words. The row wraps now: side by side when both fit,
     else Copy link takes a row of its own. A client's row (Download alone) still fills the width. */
  .v5 .v5-fw--phone .v5-fw-ephacts { flex:1 1 100%; flex-wrap:wrap; margin-left:0; }
  .v5 .v5-fw--phone .v5-fw-ephacts > * { flex:1 1 auto; min-width:0; justify-content:center; }
  .v5 .v5-fw--phone .v5-fw-txt { flex:1 1 140px; }
  .v5 .v5-fw--phone .v5-fw-kids { margin-left:10px; }
  .v5 .v5-fw--phone .v5-slots { grid-template-columns:64px 32px 32px 32px; gap:2px; }
  /* ⟦item 1000⟧ the episode page's slots: a main slot wide enough for "Add comments"; the mark just left of them; empty slots keep their width */
  .v5 .v5-slots--ep { grid-template-columns:112px 44px 34px 34px; }   /* the ↓ slot fits the download and its ▾ (863) — never covered by the next slot */
  .v5 .v5-slots--ep > .v5-slot--main { justify-content:center; }
  .v5 .v5-slots--card { display:inline-flex; gap:4px; }   /* a card is its own box: the order is kept, an EMPTY slot collapses (a footer never wraps for one) */
  .v5 .v5-slots--card > .v5-slot:empty { display:none; }
  .v5 .v5-slot-mark { flex:0 0 auto; display:inline-flex; align-items:center; justify-content:flex-end; margin-left:auto; }
  .v5 .v5-row > .v5-slot-mark, .v5 .v5-tslots > .v5-slot-mark { min-width:96px; }
  .v5 .v5-cl:not(.v5-cl--phone):has(.v5-row .v5-mark--sent) .v5-row > .v5-slot-mark { min-width:124px; }
  .v5 .v5-row:has(> .v5-slots) > .v5-row-status { flex-shrink:1; min-width:96px; }   /* a narrow row: the status column gives way first (every row the same, so it still lines up) — the slots never spill past the row */   /* item 845's wider COMMENTS SENT: the mark's place widens on that list, the status column still lines up */
  .v5 .v5-tslots > .v5-slot-mark--none { display:none; }
  .v5 .v5-cl--phone .v5-slot-mark--none { display:none; }
  .v5 .v5-slot-mark + .v5-slots { margin-left:0; }
  .v5 .v5-row-status + .v5-slots, .v5 .v5-row-status + .v5-slot-mark { margin-left:auto; }
  .v5 .v5-slot-ic { width:30px; height:26px; display:inline-flex; align-items:center; justify-content:center; border:0; border-radius:var(--v5-r-chip); background:none; color:var(--v5-text3); cursor:pointer; }
  .v5 .v5-slot-ic:hover { color:var(--v5-text); background:var(--v5-panel2); }
  .v5 .v5-slot-ic:focus-visible { outline:2px solid var(--v5-team-ink); outline-offset:2px; }
  .v5 .v5-tslots { display:inline-flex; align-items:center; flex:0 0 auto; }
  .v5 .v5-tslots > .v5-slots--ep { grid-template-columns:72px 44px 34px 34px; }   /* the team's main slot holds Open alone */
  .v5 .v5-tslots .v5-act--steel { min-width:0; padding:0 14px; }
  .v5 .v5-cl--phone .v5-slot:empty { display:none; }
  .v5 .v5-cl--phone .v5-slots { display:inline-flex; gap:2px; }
  .v5 .v5-cl--phone .v5-row > .v5-slot-mark { grid-column:3; grid-row:2; margin-left:0; }
  .v5 .v5-cl--phone .v5-row > .v5-slots { grid-column:4; grid-row:2; margin-left:0; }
  .v5 .v5-cl--phone .v5-row.v5-row--team > .v5-tst-col { grid-column:2 / 4; }
  .v5 .v5-cl--phone .v5-row.v5-row--team > .v5-tslots { grid-column:4; grid-row:2; }
  .v5 .v5-cl--phone .v5-row.v5-row--team .v5-act--steel { display:none; }
  /* ⟦item 1013⟧ TEAM-111 A — TEAM ROWS: title block (free space, its grey line "Video · sent Nov 3 · approved Nov 3" may wrap) · the stage
     menu (a fixed column, lined up) · Open (steel, fixed) · ONE icon spot (a quiet square: Download or Copy link; the same button opens
     the Download menu, no separate ▾) · ⋯ — every team episode / deliverable list, nested rows too. A phone: the title block on top,
     then status · Open · icon · ⋯ on one line. */
  .v5 .v5-row--team:not(.v5-row--tpj) > .v5-tst-col { display:flex; flex:0 0 168px; width:168px; min-width:0; }
  .v5 .v5-row--team .v5-tkind, .v5 .v5-row--team .v5-tof { white-space:normal; overflow:visible; text-overflow:clip; }
  .v5 .v5-tslots > .v5-slots--team { display:grid; grid-template-columns:96px 34px 34px; column-gap:16px; align-items:center; }   /* ⟦item 1042⟧ Open (~96px) never touches the icon: 16px clear; an empty spot keeps the column */
  .v5 .v5-slots--team > .v5-slot--main { justify-content:flex-end; }
  .v5 .v5-slots--team svg, .v5 .v5-slots--ep > .v5-slot--dl svg, .v5 .v5-slots--ep > .v5-slot--link svg { width:16px; height:16px; }   /* ⟦item 1042⟧ 16px icons */
  .v5 .v5-cl--phone .v5-tslots > .v5-slots--team { grid-template-columns:34px 34px; column-gap:8px; }
  .v5 .v5-cl--phone .v5-slots--team > .v5-slot--main { display:none; }
  .v5 .v5-slots--team > .v5-slot { display:flex; align-items:center; justify-content:center; }
  .v5 .v5-slots--team > .v5-slot--icon > button { width:30px; height:30px; padding:0; border:0; border-radius:var(--v5-r-tile); background:var(--v5-panel2); color:var(--v5-text2); }
  .v5 .v5-slots--team > .v5-slot--icon > button:hover { background:var(--v5-chip); color:var(--v5-text); }
  .v5 .v5-slots--team .v5-dl-caret { display:none; }
  .v5 .v5-cl--phone .v5-row.v5-row--team .v5-slots--team .v5-act--steel { display:inline-flex; }
  .v5 .v5-cl--phone .v5-row.v5-row--team > .v5-tst-col { flex:0 1 auto; width:auto; }
  .v5 .v5-cl--phone .v5-tslots > .v5-slots--team { grid-template-columns:64px 34px 34px; column-gap:6px; }
  .v5 .v5-row--team:not(.v5-row--tpj) > .v5-row-main { flex:1 1 220px; min-width:200px; max-width:none; }   /* never crushed: too narrow (a rail beside an 800px window) → the status · Open · icon · ⋯ line wraps under it */
  .v5 .v5-cl:not(.v5-cl--phone) .v5-row--team:not(.v5-row--tpj) { flex-wrap:wrap; }   /* the title block takes the free space (915's 34% was the facts column's room) */
  .v5 .v5-row--team:not(.v5-row--tpj) > .v5-tslots { margin-left:12px; }
  .v5 .v5-cl--phone .v5-row.v5-row--team:not(.v5-row--tpj) { grid-template-columns:40px auto minmax(0, 1fr) auto; }   /* line 2: the chip · a spacer · Open, the spot, ⋯ */
  .v5 .v5-cl--phone .v5-row.v5-row--team:not(.v5-row--tpj) > .v5-tst-col { grid-column:2 / 3; grid-row:2; }
  .v5 .v5-cl--phone .v5-row.v5-row--team:not(.v5-row--tpj) > .v5-tslots { grid-column:4; grid-row:2; margin-left:0; }
  .v5 .v5-cl--phone .v5-row.v5-row--team:not(.v5-row--tpj) > .v5-tst-col { overflow:hidden; }   /* never under Open: a tight row clips the chip */
  .v5 .v5-cl--phone .v5-row.v5-row--team:not(.v5-row--tpj) > .v5-tst-col > .v5-tchip { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-cl--phone .v5-row.v5-row--team .v5-slots--team .v5-act--steel { padding:0 8px; min-width:0; max-width:100%; box-sizing:border-box; }
  .v5 .v5-slots--team > .v5-slot--main > .v5-act--steel { width:100%; padding:0; justify-content:center; }   /* Open fits its 72px slot (a gap before the icon, never touching) */
  /* ⟦item 1137⟧ (4) a team row's quiet "Open ›": no fill, grey, shown on the row's hover or a keyboard focus; a phone hides the slot */
  .v5 .v5-slots--team > .v5-slot--main > .v5-act-hov { display:inline-flex; align-items:center; gap:4px; height:30px; padding:0 6px; border:0; border-radius:var(--v5-r-chip); background:none; font:inherit; font-size:13px; color:var(--v5-text3); cursor:pointer; white-space:nowrap; opacity:0; }
  .v5 .v5-row--team:hover .v5-act-hov, .v5 .v5-act-hov:focus-visible { opacity:1; }
  .v5 .v5-act-hov:hover { color:var(--v5-text); }
  .v5 .v5-act-hov:focus-visible { outline:2px solid var(--v5-team-ink); outline-offset:2px; }
  .v5 .v5-cl--phone .v5-row.v5-row--team .v5-slots--team > .v5-slot--main { display:none; }
  .v5 .v5-cl--phone .v5-tslots > .v5-slots--team { grid-template-columns:34px 34px; }

  .v5 .v5-fw-grp-h { padding:0 2px 6px; font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-fw-back { display:inline-flex; align-items:center; margin:0 0 10px; padding:0; border:0; background:none; color:var(--v5-text2); font-family:var(--v5-font); font-size:13.5px; font-weight:700; cursor:pointer; }
  .v5 .v5-fw-rfwrap { padding:2px 14px 12px 38px; border-top:1px solid var(--v5-line-soft); background:var(--v5-panel3); }
  .v5 .v5-fw--phone .v5-fw-del-head { flex-direction:column; gap:2px; }
  .v5 .v5-fw--phone .v5-fw-del-meta { white-space:normal; }
  .v5 .v5-fw--phone .v5-fw-vform { padding-left:0; }
  .v5 .v5-fw--phone .v5-fw-q { max-width:none; }
  /* the release forms box: first thing inside the card */
  .v5 .v5-rf { margin:10px 0 4px; padding:6px 10px; border:1px solid var(--v5-line); border-radius:var(--v5-r-card); background:var(--v5-panel3); }
  .v5 .v5-rf-line { display:flex; align-items:center; gap:10px; }
  .v5 .v5-rf-toggle { flex:1 1 auto; min-width:0; display:flex; align-items:center; gap:10px; min-height:36px; padding:0 4px; border:0; background:none; cursor:pointer; text-align:left; font-family:var(--v5-font); color:var(--v5-text2); }
  .v5 .v5-rf-toggle:hover { color:var(--v5-text); }
  .v5 .v5-rf-chev { flex:0 0 10px; width:10px; color:var(--v5-text3); }
  .v5 .v5-rf-doc { flex:0 0 16px; color:var(--v5-rf-doc); }
  .v5 .v5-rf-label { font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
  .v5 .v5-rf-list { padding:2px 0 4px; }
  .v5 .v5-rf-row { display:flex; align-items:center; gap:12px; padding:9px 4px 9px 30px; border-top:1px solid var(--v5-line-soft); }
  .v5 .v5-rf-txt { flex:1 1 auto; min-width:0; }
  .v5 .v5-rf-name { font-size:14.5px; font-weight:700; color:var(--v5-text); overflow-wrap:anywhere; }
  .v5 .v5-rf-meta { margin-top:2px; font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-rf-failed { margin:8px 0 0; }
  .v5 .v5-cl--phone .v5-rf-line { flex-wrap:wrap; }
  .v5 .v5-cl--phone .v5-rf-all { margin-left:auto; }
  .v5 .v5-cl--phone .v5-rf-all span, .v5 .v5-cl--phone .v5-rf-pdf span { display:inline; }
  .v5 .v5-cl--phone .v5-rf-row { padding-left:4px; }
  .v5 .v5-cp7-row { display:flex; align-items:center; gap:14px; padding:11px 8px; border-top:1px solid var(--v5-line-soft); }
  .v5 .v5-cp7-tile { flex:0 0 40px; width:40px; height:40px; border-radius:var(--v5-r-tile); display:flex; align-items:center; justify-content:center; }
  .v5 .v5-cp7-tile--pic { position:relative; flex-basis:64px; width:64px; height:36px; overflow:hidden; }
  .v5 .v5-cp7-img { position:absolute; left:0; top:0; width:100%; height:100%; object-fit:cover; }
  .v5 .v5-cp7-done { color:var(--v5-green); }   /* item 820: the green "✓ Delivered <date>" — the page's only colour */
  .v5 .v5-cp7-meta { color:var(--v5-text3); }
  .v5 .v5-cp7-txt { flex:1 1 auto; min-width:0; }
  .v5 .v5-cp7-name { font-size:15.5px; font-weight:700; line-height:1.3; color:var(--v5-text); overflow-wrap:anywhere; }
  .v5 .v5-cp7-date { margin-top:2px; font-size:12.5px; color:var(--v5-text2); }
  .v5 .v5-cp7-right { flex:0 0 auto; display:flex; align-items:center; gap:12px; }
  .v5 .v5-cp7-more { border:0; background:none; padding:6px 4px; cursor:pointer; font-family:var(--v5-font); font-size:13px; color:var(--v5-text2); white-space:nowrap; }
  .v5 .v5-cp7-more:hover { color:var(--v5-text); }
  .v5 .v5-cp7-panel { margin:0 8px 10px 62px; padding:6px 14px 8px; border-radius:var(--v5-r-tile); background:var(--v5-panel2); }
  .v5 .v5-cp7-all { display:flex; justify-content:flex-end; padding:4px 0 8px; }
  .v5 .v5-cp7-panel .v5-cpl-file { border-top:1px solid var(--v5-line); }
  .v5 .v5-cl--phone .v5-cp7 { padding:14px 12px; }
  .v5 .v5-cl--phone .v5-cp7-row { flex-wrap:wrap; }
  .v5 .v5-cl--phone .v5-cp7-txt { flex:1 1 calc(100% - 60px); }
  .v5 .v5-cl--phone .v5-cp7-right { flex:1 1 100%; justify-content:flex-end; padding-left:54px; }
  .v5 .v5-cl--phone .v5-cp7-panel { margin-left:0; margin-right:0; }
  .v5 .v5-cl--phone .v5-cp7-dlall span { display:inline; }
  .v5 .v5-cl--phone .v5-cp7-right > .v5-cpl-dl span { display:inline; }   /* item 820: a single-file row's Download keeps its word on a phone */
  .v5 .v5-cl--phone .v5-cp7-panel .v5-cpl-fname { white-space:normal; overflow-wrap:anywhere; }   /* a phone: a file's long name wraps, never cut to a stub */   /* the one label kept on a phone: Download all's words carry its size */
  /* ⟦item 867⟧ (mocks CP-11 G / CP-12 "G + E2", CP-15) the older lines and THE DRAWER (⟦item 917⟧ the big card is gone). Neutral throughout:
     the ✓ is the done green, "Download all" is the white button, nothing gold (gold means "waiting on you"). The drawer sits on <body>
     at z-index 110: over the page and the rail, under the download menus (120) and the toasts (200). */
  .v5 .v5-cpd-hit { display:block; margin-top:3px; font-size:12.5px; font-weight:500; color:var(--v5-text3); overflow-wrap:anywhere; }
  .v5 .v5-cpd-dlall { flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; gap:8px; height:36px; padding:0 16px; border:0; border-radius:var(--v5-r-tile); background:var(--v5-cpd-white); color:var(--v5-cpd-on-white); font-family:var(--v5-font); font-size:13.5px; font-weight:700; cursor:pointer; white-space:nowrap; }
  .v5 .v5-cpd-dlall:hover { background:var(--v5-cpd-white-hover); }
  .v5 .v5-cpd-dlall:disabled { opacity:.7; cursor:default; }
  .v5 .v5-cpd-lines { margin-top:2px; }
  .v5 .v5-cpd-line { display:flex; align-items:center; gap:14px; width:100%; min-height:46px; padding:10px 8px; border:0; border-top:1px solid var(--v5-line-soft); background:none; cursor:pointer; text-align:left; font-family:var(--v5-font); letter-spacing:normal; text-transform:none; color:var(--v5-text); }
  .v5 .v5-cpd-line:first-child { border-top:0; }
  .v5 .v5-cpd-line:hover, .v5 .v5-cpd-line--sel { background:var(--v5-band); }
  .v5 .v5-cpd-line-txt { flex:1 1 auto; min-width:0; }
  .v5 .v5-cpd-line-name { display:block; font-size:15px; font-weight:700; line-height:1.3; overflow-wrap:anywhere; }
  .v5 .v5-cpd-line-date { flex:0 0 auto; font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-cpd-line-go { flex:0 0 auto; font-size:18px; color:var(--v5-text3); }
  .v5 .v5-cl--phone .v5-cpd-dlall { flex:1 1 100%; }
  .v5 .v5-cpd-lock { overflow:hidden; }   /* on <body> while the drawer is open */
  .v5 .v5-cpd { position:fixed; inset:0; z-index:110; }
  .v5 .v5-cpd-scrim { position:absolute; inset:0; background:rgba(0,0,0,.55); opacity:0; transition:opacity .2s ease; }
  .v5 .v5-cpd-panel { position:absolute; top:0; right:0; bottom:0; width:min(560px, 100vw); box-sizing:border-box; display:flex; flex-direction:column; background:var(--v5-panel); border-left:1px solid var(--v5-line);
                      box-shadow:-18px 0 40px rgba(0,0,0,.35); transform:translateX(100%); transition:transform .24s ease; font-family:var(--v5-font); color:var(--v5-text); }
  .v5 .v5-cpd--open .v5-cpd-scrim { opacity:1; }
  .v5 .v5-cpd--open .v5-cpd-panel { transform:none; }
  .v5 .v5-cpd--still .v5-cpd-scrim, .v5 .v5-cpd--still .v5-cpd-panel { transition:none; }   /* prefers-reduced-motion (set by v5CpdOpen) */
  .v5 .v5-cpd-head { flex:0 0 auto; display:flex; align-items:flex-start; gap:12px; padding:20px 22px 12px; }
  .v5 .v5-cpd-htxt { flex:1 1 auto; min-width:0; }
  .v5 .v5-cpd-proj { font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-text3); overflow-wrap:anywhere; }
  .v5 .v5-cpd-title { margin-top:4px; font-size:21px; font-weight:800; line-height:1.25; overflow-wrap:anywhere; }
  .v5 .v5-cpd-done { margin-top:5px; font-size:13px; color:var(--v5-green); }
  .v5 .v5-cpd-x { flex:0 0 36px; width:36px; height:36px; border:1px solid var(--v5-fill-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text2); font-size:15px; cursor:pointer; }
  .v5 .v5-cpd-x:hover { color:var(--v5-text); border-color:var(--v5-text3); }
  .v5 .v5-cpd-tabs { flex:0 0 auto; display:flex; gap:4px; padding:0 18px; border-bottom:1px solid var(--v5-line); }
  .v5 .v5-cpd-tab { height:40px; padding:0 12px; border:0; border-bottom:2px solid transparent; background:none; cursor:pointer; font-family:var(--v5-font); font-size:14px; font-weight:700; letter-spacing:normal; text-transform:none; color:var(--v5-text3); }
  .v5 .v5-cpd-tab[aria-selected="true"] { color:var(--v5-text); border-bottom-color:var(--v5-text); }
  .v5 .v5-cpd-body { flex:1 1 auto; min-height:0; overflow-y:auto; padding:8px 22px 18px; }
  .v5 .v5-cpd-group { margin-top:14px; }
  .v5 .v5-cpd-gh { display:flex; align-items:center; gap:8px; margin:0 0 4px; font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-cpd-gh--hist { margin-top:22px; }
  .v5 .v5-cpd-file { display:flex; align-items:center; gap:12px; padding:9px 4px; border-top:1px solid var(--v5-line-soft); }
  .v5 .v5-cpd-file .v5-cpl-fname { white-space:normal; overflow-wrap:anywhere; }
  .v5 .v5-cpd-fsub { font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-cpd-acts { flex:0 0 auto; display:flex; align-items:center; gap:8px; }
  .v5 .v5-cpd-copy svg { width:14px; height:14px; }
  .v5 .v5-cpd-pd { margin:0 4px 8px 26px; padding:10px 12px; border-radius:var(--v5-r-tile); background:var(--v5-panel2); }
  .v5 .v5-cpd-pd-lab { margin-top:6px; font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-cpd-pd-lab:first-child { margin-top:0; }
  .v5 .v5-cpd-pd-val { margin-top:2px; font-size:13.5px; line-height:1.5; white-space:pre-wrap; overflow-wrap:anywhere; color:var(--v5-text2); }
  .v5 .v5-cpd-foot { flex:0 0 auto; padding:12px 22px calc(14px + env(safe-area-inset-bottom)); border-top:1px solid var(--v5-line); background:var(--v5-panel); }
  .v5 .v5-cpd-dlall--wide { width:100%; height:42px; }
  .v5 .v5-cpd-switch { display:inline-flex; margin:14px 0 10px; padding:3px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); }
  .v5 .v5-cpd-sw { height:28px; padding:0 14px; border:0; border-radius:var(--v5-r-chip); background:none; cursor:pointer; font-family:var(--v5-font); font-size:13px; font-weight:700; color:var(--v5-text3); }
  .v5 .v5-cpd-sw[aria-pressed="true"] { background:var(--v5-fill); color:var(--v5-text); }
  .v5 .v5-cpd-stage { margin-top:12px; border-radius:var(--v5-r-card); overflow:hidden; background:var(--v5-cpd-stage); }
  .v5 .v5-cpd-media { display:block; width:100%; max-height:60vh; background:var(--v5-cpd-stage); }
  .v5 .v5-cpd-media--audio { background:var(--v5-panel2); padding:18px 12px; box-sizing:border-box; }
  .v5 .v5-cpd-wait { display:flex; flex-direction:column; align-items:flex-start; gap:8px; padding:22px 18px; background:var(--v5-panel2); }
  .v5 .v5-cpd-wait-h { font-size:15px; font-weight:800; color:var(--v5-text); }
  .v5 .v5-cpd-wait-s { font-size:13.5px; color:var(--v5-text2); }
  .v5 .v5-cpd-read { display:flex; align-items:center; gap:12px; width:100%; margin-top:12px; padding:12px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:none; cursor:pointer; text-align:left; font-family:var(--v5-font); color:var(--v5-text); }
  .v5 .v5-cpd-read:hover { border-color:var(--v5-text3); }
  .v5 .v5-cpd-read-t { flex:0 0 auto; font-size:14px; font-weight:700; }
  .v5 .v5-cpd-read-s { flex:1 1 auto; font-size:13px; color:var(--v5-text3); }
  .v5 .v5-cpd-facts { margin-top:14px; }
  .v5 .v5-cpd-fact { display:flex; gap:12px; padding:9px 0; border-top:1px solid var(--v5-line-soft); font-size:14px; }
  .v5 .v5-cpd-fact:first-child { border-top:0; }
  .v5 .v5-cpd-fk { flex:0 0 96px; color:var(--v5-text3); }
  .v5 .v5-cpd-fv { flex:1 1 auto; min-width:0; overflow-wrap:anywhere; }
  .v5 .v5-cpd-hist { margin-bottom:10px; }
  .v5 .v5-cpd-hline { padding:8px 0; border-top:1px solid var(--v5-line-soft); font-size:13.5px; line-height:1.4; color:var(--v5-text2); overflow-wrap:anywhere; }
  .v5 .v5-cpd-hline:first-child { border-top:0; }
  /* a phone (below V5_PHONE_MAX, set by v5CpdOpen): the drawer slides UP, full height, with the page's 16px gutter */
  .v5 .v5-cpd--phone .v5-cpd-panel { left:0; width:100%; border-left:0; transform:translateY(100%); box-shadow:none; }
  .v5 .v5-cpd--phone.v5-cpd--open .v5-cpd-panel { transform:none; }
  .v5 .v5-cpd--phone .v5-cpd-head { padding:16px 16px 10px; }
  .v5 .v5-cpd--phone .v5-cpd-tabs { padding:0 10px; }
  .v5 .v5-cpd--phone .v5-cpd-body { padding:6px 16px 16px; }
  .v5 .v5-cpd--phone .v5-cpd-foot { padding:10px 16px calc(12px + env(safe-area-inset-bottom)); }
  .v5 .v5-cpd--phone .v5-cpd-file { flex-wrap:wrap; }
  .v5 .v5-cpd--phone .v5-cpd-file .v5-cpl-ftxt { flex:1 1 calc(100% - 30px); }
  .v5 .v5-cpd--phone .v5-cpd-acts { flex:1 1 100%; justify-content:flex-end; padding-left:22px; }
  .v5 .v5-cpd--phone .v5-cpd-pd { margin-left:0; }
  .v5 .v5-arc-q { width:100%; max-width:360px; box-sizing:border-box; height:34px; padding:0 12px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile);
                  background:var(--v5-panel2); color:var(--v5-text); font-family:var(--v5-font); font-size:13px; }
  .v5 .v5-arc-group-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
  .v5 .v5-arc-group-date { flex:0 0 auto; font-size:12px; font-weight:600; letter-spacing:normal; color:var(--v5-text3); }
  .v5 .v5-arc-group--focus { border-color:var(--v5-text3); }
  /* ⟦item 767⟧ the project page's "Recently delivered" section and the quiet line under it. */
  .v5 .v5-recent { margin-top:22px; }
  .v5 .v5-recent-h { margin:0 0 8px; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--v5-text3); }
  /* ⟦item 887⟧ IN PRODUCTION (mock PRJ-2-in-production): items with nothing to show yet, grouped under the same small label
     as Recently delivered. The row is a dashed outline — no caret, no pointer, nothing to open — with the EPISODE kind label
     (a series only) over the name on the left and the mauve WITH US mark over one quiet line on the right. The rule before
     Recently delivered is the rail divider's grey: ~40px of air above it, 14px to the label (phones the same — these rules
     carry no width). */
  .v5 .v5-inprod { margin-top:22px; }
  .v5 .v5-inprod--cl { margin-top:44px; }   /* ⟦item 946⟧ 8a: twice the gap before IN PRODUCTION (client) */
  .v5 .v5-recent-h--ready { color:var(--v5-gold); }   /* ⟦item 946⟧ READY FOR YOU: the IN PRODUCTION heading's size and spacing, gold */
  .v5 .v5-recent-h--us { margin-top:22px; }
  .v5 .v5-row-kind { margin-top:2px; font-size:12px; color:var(--v5-text3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }   /* ⟦item 946⟧ 8c */
  .v5 .v5-cl-gh { padding:0 18px; margin:22px 0 8px; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--v5-text3); }   /* ⟦item 946⟧ 8g */
  .v5 .v5-cl-gh:first-child { margin-top:16px; }   /* ⟦item 974⟧ Part 4: off the card's top border */
  .v5 .v5-cl-gh--ready { color:var(--v5-gold); }
  /* ⟦item 984⟧ Part 15 (TEAM-95): the client's episode page — ONE BOX PER SECTION (the card around them goes quiet). Ready for your review
     the only tinted one (gold); With us a purple outline, Done green, For reference grey; the "No action needed" divider between the
     first box and the rest. Labels at the icons' inset (the rows' 18px). */
  .v5 .v5-card--bare:has(.v5-cgrp), .v5 .v5-card--bare:has(.v5-tgrp) { background:none; border:0; box-shadow:none; }   /* the team's boxes quiet it already (916's :has); one rule for both */
  .v5 .v5-card--bare:has(.v5-cgrp) > .v5-card-body, .v5 .v5-card--bare:has(.v5-tgrp) > .v5-card-body { border-top:0; }
  .v5 .v5-cgrp { border:1px solid var(--v5-line); border-radius:var(--v5-r-card); background:var(--v5-panel3); overflow:hidden; }
  .v5 .v5-cgrp + .v5-cgrp { margin-top:14px; }
  .v5 .v5-cgrp > .v5-cl-gh { margin:18px 0 8px; }
  .v5 .v5-cgrp > .v5-cl-gh + .v5-row { border-top:0; }
  .v5 .v5-cgrp--ready { border-color:var(--v5-line-gold); background:color-mix(in srgb, var(--v5-gold) 7%, var(--v5-panel3)); }
  .v5 .v5-cgrp--us { border-color:rgba(var(--client-revising-rgb), .45); }
  .v5 .v5-cgrp--us > .v5-cl-gh { color:rgb(var(--client-revising-rgb)); }
  .v5 .v5-cgrp--done { border-color:color-mix(in srgb, var(--v5-green) 34%, transparent); }
  .v5 .v5-cgrp--done > .v5-cl-gh { color:var(--v5-green); }
  .v5 .v5-cl-noact { display:flex; align-items:center; gap:12px; margin:22px 2px 14px; font-size:10.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-cl-noact::before, .v5 .v5-cl-noact::after { content:""; flex:1 1 auto; height:1px; background:var(--v5-line); }
  .v5 .v5-tgrp.v5-tgrp--ref { border-color:var(--v5-line); }
  /* ⟦item 984⟧ TEAM-101: CARDS in the section boxes — a stack per video (its card, then its files' SHORT cards); a phone one column */
  .v5 .v5-cgrp > .v5-cards, .v5 .v5-tgrp > .v5-cards { padding:4px 18px 18px; }
  .v5 .v5-cards--stacked { grid-template-columns:repeat(auto-fill, minmax(max(260px, calc((100% - 32px) / 3)), 1fr)); grid-auto-rows:auto; row-gap:16px; }   /* the c7 card's columns (its :has rule no longer sees the cards through their stacks) */
  .v5 .v5-cards--stacked > .v5-cstack { display:grid; grid-row:span 2; grid-template-rows:subgrid; row-gap:8px; }   /* the video cards of a grid row share its first track (footers aligned); their short cards the second */
  .v5 .v5-cshorts { display:flex; flex-direction:column; gap:8px; min-width:0; }
  .v5 .v5-cards--add { margin-top:14px; }
  .v5 .v5-cstack { min-width:0; }
  .v5 .v5-cstack > .v5-scard { align-self:start; }   /* ⟦item 995⟧ a short card standing alone keeps its own height — never stretched into an empty card-sized frame */
  .v5 .v5-scard { display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-panel3); cursor:pointer; min-width:0; }
  .v5 .v5-scard--under { margin-left:14px; position:relative; }
  .v5 .v5-scard--under::before { content:""; position:absolute; left:-9px; top:-9px; bottom:50%; width:7px; border-left:2px solid var(--v5-tree); border-bottom:2px solid var(--v5-tree); border-bottom-left-radius:4px; pointer-events:none; }
  .v5 .v5-scard > .v5-tile { flex:0 0 28px; width:28px; height:28px; }
  .v5 .v5-scard-main { flex:1 1 auto; min-width:0; }
  .v5 .v5-scard-name { font-size:13.5px; font-weight:700; color:var(--v5-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-scard-of, .v5 .v5-scard-st { font-size:12px; color:var(--v5-text3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-scard-act { flex:0 0 auto; display:flex; align-items:center; gap:6px; }
  .v5 .v5-scard-chip { margin-top:4px; }
  /* ⟦item 996⟧ TEAM-110 #2 / #3: a team card's stage menu on ONE line (the ⋯ at its right), one grey line under it that breaks only
     between phrases; "+ Note" bottom left of the card (the foot's left; a short card's chip line) */
  .v5 .v5-tcol--strip.v5-tcol--c9 { display:block; margin-top:8px; }
  .v5 .v5-c9-l1 { display:flex; align-items:center; gap:6px; flex-wrap:nowrap; min-width:0; }
  .v5 .v5-c9-l1 > .v5-tchip { flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-c9-l1 > .v5-trm { margin-left:auto; }
  .v5 .v5-c9-sub { margin-top:5px; font-size:12px; line-height:1.45; color:var(--v5-text3); }
  .v5 .v5-c9-ph { white-space:nowrap; }
  .v5 .v5-c9-sub--late .v5-c9-due { color:var(--v5-bad); }
  .v5 .v5-tteam .v5-c9-sub--late .v5-c9-due { color:var(--v5-rust); }   /* ⟦item 1072⟧ Schedule's late due date on a TEAM page: rust (after the red rule, so source order agrees with specificity) */
  .v5 .v5-c9-note { margin-right:auto; display:inline-flex; align-items:center; }
  .v5 .v5-scard-chip:has(.v5-c9-note) { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
  .v5 .v5-scard:hover .v5-tnb, .v5 .v5-scard:focus-within .v5-tnb { visibility:visible; }
  .v5 .v5-c7-sub { margin-top:2px; font-size:12.5px; color:var(--v5-text3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-c7-round { margin-top:6px; font-size:12px; color:var(--v5-text3); }
   /* ⟦item 984⟧ Part 15: the team's For reference, a grey outline */
  .v5 .v5-ep-sec--sp { height:20px; }
  .v5 .v5-prod-row { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:.9rem; padding:16px 20px;
                     border:1px dashed rgba(var(--client-revising-rgb), .35); border-radius:var(--v5-r-card); background:rgba(var(--client-revising-rgb), .04); }
  .v5 .v5-prod-left { display:flex; flex-direction:column; gap:4px; min-width:0; }
  .v5 .v5-prod-kind { font-size:10px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-prod-name { font-family:var(--v5-font); font-size:17px; font-weight:800; letter-spacing:.02em; text-transform:uppercase; line-height:1.2; color:var(--v5-text); overflow-wrap:anywhere; }
  .v5 .v5-prod-right { display:flex; flex-direction:column; align-items:flex-end; gap:6px; flex:0 1 auto; text-align:right; }
  /* ⟦item 887⟧ .v5-mark carries flex:0 0 84px for the LIST rows (its 84px WIDTH); here the parent is a column, so that
     basis would size its HEIGHT — reset it so the mark keeps its own 84×26 pill. */
  .v5 .v5-prod-right .v5-mark { flex:0 0 auto; }
  .v5 .v5-prod-note { font-size:12px; line-height:1.4; color:var(--v5-text3); }
  .v5 .v5-cl--phone .v5-prod-row { flex-direction:column; align-items:stretch; gap:10px; }
  .v5 .v5-cl--phone .v5-prod-right { align-items:flex-start; text-align:left; }
  .v5 .v5-prod-rule { height:1px; background:var(--v5-rail-div); margin-top:40px; }
  /* ⟦item 889⟧ THE TEAM's IN PRODUCTION ROW (TEAM-56b): a quiet grey dashed outline, the team's status line, + Add asset, ›; the row opens
     the deliverable page. + Add asset is TEAM-58's white outline: always on an empty deliverable, on hover (not on a phone) otherwise. */
  .v5 .v5-prod-row--team { justify-content:flex-start; gap:14px; border:1.5px dashed var(--v5-rail-div); background:transparent; cursor:pointer; }
  .v5 .v5-prod-row--team:hover { border-color:var(--v5-text3); }
  .v5 .v5-prod-row--team .v5-prod-left { flex:1 1 auto; }
  .v5 .v5-prod-tst { flex:0 1 auto; min-width:0; }
  .v5 .v5-tchip--plain { cursor:default; }
  .v5 .v5-tadd { flex:0 0 auto; height:30px; padding:0 12px; border-radius:var(--v5-r-tile); border:1px solid var(--v5-team-btn-line); background:transparent; color:var(--v5-text); font:inherit; font-size:13px; font-weight:700; white-space:nowrap; cursor:pointer; }
  .v5 .v5-tadd:hover { border-color:var(--v5-text3); }
  .v5 .v5-tadd:focus-visible, .v5 .v5-prod-chev:focus-visible { outline:2px solid var(--v5-team-ink); outline-offset:2px; }
  .v5 .v5-prod-chev { flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; padding:0; border:0; border-radius:var(--v5-r-tile); background:transparent; color:var(--v5-text3); cursor:pointer; }
  .v5 .v5-prod-row--team:not(.v5-prod-row--empty) .v5-prod-add { visibility:hidden; }
  .v5 .v5-card--tadd { position:relative; }
  .v5 .v5-card-add { position:absolute; top:10px; right:16px; z-index:2; display:none; }
  .v5 .v5-cl:not(.v5-cl--phone) .v5-prod-row--team:hover .v5-prod-add { visibility:visible; }   /* hover: never on a phone (the page's own marker; the v5 sheet stays flat) */
  .v5 .v5-cl:not(.v5-cl--phone) .v5-card--tadd:hover > .v5-card-add { display:inline-flex; align-items:center; }
  .v5 .v5-cl:not(.v5-cl--phone) .v5-card--tadd:hover > .v5-card-head .v5-prog { visibility:hidden; }
  .v5 .v5-cl--phone .v5-prod-row--team { flex-direction:column; align-items:flex-start; gap:10px; }
  .v5 .v5-cl--phone .v5-prod-row--team .v5-prod-chev { display:none; }
  .v5 .v5-cl--phone .v5-prod-row--team .v5-prod-tst { max-width:100%; }   /* ⟦item 889⟧ seen live at 390: the line ran past the row; it wraps */
  .v5 .v5-cl--phone .v5-prod-row--team .v5-tst-txt { flex-wrap:wrap; row-gap:4px; white-space:normal; overflow:visible; }
  .v5 .v5-cl--phone .v5-prod-row--team:not(.v5-prod-row--empty) .v5-prod-add { display:none; }
  .v5 .v5-prod-rule + .v5-recent { margin-top:14px; }
  .v5 .v5-done-tick { margin-right:6px; color:var(--v5-green); }
  .v5 .v5-delivered-line { margin:14px 2px 0; font-size:13px; color:var(--v5-text3); }
  .v5 .v5-delivered-go { padding:0; background:none; border:0; cursor:pointer; font-family:var(--v5-font); font-size:13px; font-weight:600; letter-spacing:normal;
                         text-transform:none; color:var(--v5-text2); }
  .v5 .v5-delivered-go:hover { color:var(--v5-text); }
  .v5 .v5-arc-nofile { flex:0 0 84px; text-align:center; font-size:11px; color:var(--v5-muted); }
  /* CP-1: a client's Completed — a quiet outline Open (never gold: nothing is owed), the episode line, sizes, the fold. */
  .v5 .v5-arc-file-size { flex:0 0 72px; text-align:right; font-size:12.5px; color:var(--v5-muted); }
  /* ⟦M2⟧ MESSAGES v5 (mocks MSG-1 / MSG-2): one conversation, newest at the bottom; blue for NEW (never gold — nothing is owed);
     the composer pinned at the bottom of the window, so on a phone it sits above the keyboard. */
  .v5 .v5-msgp { padding:0; }
  .v5 .v5-msgp.v5-page--nobar { padding-top:26px; }   /* ⟦MSG-3⟧ the 26px every banner page keeps above its banner (.v5-page--nobar), which the line above would cancel */
  /* ⟦MSG-3⟧ The page's head is the SAME banner every v5 client page wears (.v5-banner--proj: the client name, the big title, the
     intro line as its subtitle); the conversation and the composer below it share ONE centred column, at most 820px. */
  .v5 .v5-msg-wrap { display:flex; flex-direction:column; min-height:calc(100vh - 66px); box-sizing:border-box; }
  .v5 .v5-msg-col { width:100%; max-width:820px; margin-left:auto; margin-right:auto; box-sizing:border-box; }
  .v5 .v5-msg-banner { flex:0 0 auto; }
  .v5 .v5-msg-banner .v5-title { margin-top:6px; margin-bottom:0; }
  .v5 .v5-msg-pills { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 10px; }
  .v5 .v5-msg-pill { display:inline-flex; align-items:center; gap:6px; height:30px; min-height:0; padding:0 12px; border:1px solid var(--v5-line); border-radius:var(--v5-r-pill); background:none;
                     color:var(--v5-text2); font-family:var(--v5-font); font-size:13px; cursor:pointer; }
  .v5 .v5-msg-pill--on { background:var(--v5-chip); color:var(--v5-text); font-weight:700; border-color:var(--v5-chip); }
  .v5 .v5-msg-pill-dot { width:7px; height:7px; border-radius:50%; background:var(--v5-new); }
  .v5 .v5-msg-thread { flex:1 1 auto; display:flex; flex-direction:column; }
  /* ⟦MSG-3⟧ an EMPTY thread: one centred block in the room between the banner and the composer, never a loose line */
  .v5 .v5-msg-empty { margin:auto; padding:32px 16px; display:flex; flex-direction:column; align-items:center; text-align:center; color:var(--v5-muted); }
  .v5 .v5-msg-empty-ic { display:flex; align-items:center; justify-content:center; width:52px; height:52px; margin-bottom:12px; border-radius:var(--v5-r-card); background:var(--v5-chip); color:var(--v5-text2); }
  .v5 .v5-msg-empty-h { font-size:17px; font-weight:700; color:var(--v5-text); }
  .v5 .v5-msg-empty-s { margin-top:4px; font-size:14px; color:var(--v5-muted); }
  .v5 .v5-msg { display:flex; gap:12px; padding:14px 0; border-top:1px solid var(--v5-line-soft); }
  .v5 .v5-msg-av { flex:0 0 32px; width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--v5-chip);
                   color:var(--v5-text); font-size:12px; font-weight:800; }
  .v5 .v5-msg-av--team { background:var(--v5-new-line); }
  .v5 .v5-msg-main { flex:1 1 auto; min-width:0; }
  .v5 .v5-msg-meta { font-size:13.5px; color:var(--v5-text); overflow-wrap:anywhere; }
  .v5 .v5-msg-sub { color:var(--v5-muted); }
  .v5 .v5-msg-new { margin-left:8px; font-size:11px; font-weight:800; letter-spacing:.08em; color:var(--v5-new); }
  .v5 .v5-msg-about { margin-top:6px; }
  .v5 .v5-msg-chip { display:inline-flex; align-items:center; gap:6px; max-width:100%; padding:3px 8px; border-radius:var(--v5-r-chip); background:var(--v5-chip);
                     color:var(--v5-text2); font-size:12.5px; overflow-wrap:anywhere; }
  .v5 .v5-msg-chip[role="link"] { cursor:pointer; }
  .v5 .v5-msg-chip[role="link"]:hover { color:var(--v5-text); }
  .v5 .v5-msg-chip-sq { flex:0 0 8px; width:8px; height:8px; background:var(--v5-text3); }   /* square: no new radius (the 2px exception stays the progress bar's) */
  .v5 .v5-msg-chip-x { margin-left:2px; padding:0 2px; min-height:0; border:0; background:none; color:var(--v5-text3); font-size:12px; cursor:pointer; }
  .v5 .v5-msg-chip-x:hover { color:var(--v5-text); }
  .v5 .v5-msg-text { margin-top:5px; font-size:15px; line-height:1.55; color:var(--v5-text); white-space:pre-wrap; overflow-wrap:anywhere; }
  .v5 .v5-msg-note { padding:18px 0; border-top:1px solid var(--v5-line-soft); font-size:14px; color:var(--v5-muted); }
  .v5 .v5-msg-composer { position:sticky; bottom:0; margin-top:14px; padding:12px; border:1px solid var(--v5-line); border-radius:var(--v5-r-card); background:var(--v5-panel2); }
  .v5 .v5-msg-aboutrow { position:relative; display:flex; flex-wrap:wrap; gap:8px; margin-bottom:8px; }
  .v5 .v5-msg-add { min-height:0; padding:3px 9px; border:1px dashed var(--v5-line); border-radius:var(--v5-r-chip); background:none; color:var(--v5-text2);
                    font-family:var(--v5-font); font-size:12.5px; cursor:pointer; }
  .v5 .v5-msg-pick { position:absolute; left:0; bottom:calc(100% + 6px); z-index:5; min-width:220px; max-width:100%; max-height:260px; overflow:auto; padding:6px;
                     border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-panel); }
  .v5 .v5-msg-pick-i { display:block; width:100%; min-height:0; padding:8px 10px; border:0; border-radius:var(--v5-r-chip); background:none; text-align:left;
                       color:var(--v5-text); font-family:var(--v5-font); font-size:13.5px; cursor:pointer; }
  .v5 .v5-msg-pick-i:hover { background:var(--v5-band); }
  .v5 .v5-msg-ta { display:block; width:100%; box-sizing:border-box; min-height:64px; padding:6px 2px; border:0; background:none; resize:vertical;
                   color:var(--v5-text); font-family:var(--v5-font); font-size:15px; line-height:1.5; }
  .v5 .v5-msg-ta:focus { outline:none; }
  .v5 .v5-msg-err { margin:4px 0; font-size:13px; color:var(--v5-bad); }
  .v5 .v5-msg-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
  .v5 .v5-msg-hint { font-size:12.5px; color:var(--v5-muted); }
  .v5 .v5-msg-send { height:34px; min-height:0; padding:0 16px; border:1px solid var(--v5-text3); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text);
                     font-family:var(--v5-font); font-size:14px; font-weight:700; cursor:pointer; }
  /* ⟦MSG-3⟧ RULED (Jeffrey, Oct 5): Send turns GOLD once there is something to send — outlined while the box is empty. A named
     addition to the gold census (v5-polish §G): the one action on this page, lit only when it can act. */
  .v5 .v5-msg-send:not([disabled]) { border-color:var(--v5-gold); background:var(--v5-gold); color:var(--v5-on-gold); }
  .v5 .v5-msg-send[disabled] { color:var(--v5-text3); border-color:var(--v5-line); cursor:not-allowed; }
  .v5 .v5-cl--phone .v5-msg-wrap { min-height:calc(100svh - 60px - 6rem); }   /* ⟦MSG-3⟧ less the composer's -6rem: otherwise the thread runs 6rem under it and an empty thread's block sits low (measured: 175 above, 60 below) */
  .v5 .v5-cl--phone .v5-msg-composer { width:100vw; max-width:none; box-sizing:border-box; margin:10px 0 -6rem calc(50% - 50vw);   /* -6rem cancels main's bottom padding (6rem), so at the end it sits ON the bottom edge (seen in Chrome: an 80px band under it) */
 border-radius:0; border-left:0; border-right:0; }   /* full-bleed against the viewport, whatever the page gutter (measured 28px at 390, not 16) */
  .v5 .v5-cl--phone .v5-msg-ta { font-size:16px; }   /* iOS zooms a field under 16px */
  .v5 .v5-cl--phone .v5-msg-hint { display:none; }
  /* the rail's blue dot and the Home line */
  .v5 .v5-rail-msgdot { display:inline-block; width:9px; height:9px; border-radius:50%; background:var(--v5-new); }
  .v5 .v5-msg-home { display:flex; align-items:center; gap:12px; width:100%; max-width:760px; margin:0 0 16px; padding:11px 14px; box-sizing:border-box;
                     border:1px solid var(--v5-new-line); border-radius:var(--v5-r-tile); background:var(--v5-new-bg); color:var(--v5-text); text-align:left;
                     font-family:var(--v5-font); font-size:14.5px; cursor:pointer; }
  .v5 .v5-msg-home-dot { flex:0 0 9px; width:9px; height:9px; border-radius:50%; background:var(--v5-new); }
  .v5 .v5-msg-home-t { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-msg-home-q { color:var(--v5-text2); }
  .v5 .v5-msg-home-go { flex:0 0 auto; color:var(--v5-new); font-weight:700; }
  .v5 .v5-arc-section { margin-top:1.2rem; }
  .v5 .v5-arc-section-head { font-size:10px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--v5-muted); margin-bottom:.4rem; }
  .v5 .v5-arc-log-row { display:flex; align-items:baseline; gap:.35rem; padding:.5rem 0; font-size:13px; color:var(--v5-muted); border-bottom:1px solid var(--v5-line-soft); }
  .v5 .v5-arc-log-row:last-child { border-bottom:0; }
  .v5 .v5-arc-log-who { color:var(--v5-text); font-weight:700; }
  .v5 .v5-arc-log-what { color:var(--v5-text2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
  .v5 .v5-arc-log-when { margin-left:auto; flex:0 0 auto; font-size:11px; color:var(--v5-dim); }
  /* ⟦item 889⟧ THE RECORDINGS PAGE (TEAM-57): the team's own page under the project (880's section left the project page). A table on a
     desktop (one grid, the head and every row on the same columns), stacked rows on a phone. Never on a client's page. */
  .v5 .v5-recp { padding-top:26px; }   /* the page's own box (.v5-page), as the transcripts page */
  .v5 .v5-recp-crumbs { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
  .v5 .v5-recp-head { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:14px; }
  .v5 .v5-recp-title { margin:0; font-size:30px; font-weight:800; letter-spacing:-.01em; color:var(--v5-text); }
  .v5 .v5-recp-add { margin-left:auto; height:36px; padding:0 14px; border-radius:var(--v5-r-tile); border:1px solid var(--v5-team-ink); background:transparent; color:var(--v5-team-ink); font:inherit; font-size:14px; font-weight:700; cursor:pointer; }   /* team blue: a team-only place (TEAM-58) */
  .v5 .v5-recp-add:hover { background:var(--v5-team-bg); }
  .v5 .v5-recp-sub { margin-top:6px; font-size:13.5px; color:var(--v5-text3); }
  .v5 .v5-recp-filter { display:flex; flex-wrap:wrap; gap:6px; margin-top:20px; }
  .v5 .v5-recp-chip { height:28px; padding:0 11px; border:0; border-radius:var(--v5-r-tile); background:transparent; color:var(--v5-text3); font:inherit; font-size:12.5px; cursor:pointer; }
  .v5 .v5-recp-chip:hover { color:var(--v5-text); }
  .v5 .v5-recp-chip--on { background:var(--v5-panel3); color:var(--v5-text); }
  .v5 .v5-recp-sb { margin-top:18px; font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-recs-tag { flex:0 0 auto; padding:2px 7px; border-radius:var(--v5-r-chip); font-size:10px; font-weight:800; letter-spacing:.12em; color:var(--v5-team-ink); background:var(--v5-team-bg); border:1px solid var(--v5-team-line); }
  .v5 .v5-recs-list { display:flex; flex-direction:column; margin-top:18px; }
  .v5 .v5-rec-head, .v5 .v5-rec-row { display:grid; grid-template-columns:38px minmax(160px,1fr) 72px 104px 64px 84px 140px 64px 32px; align-items:center; column-gap:12px; }
  .v5 .v5-rec-head { padding:0 4px 8px; font-size:10.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-rec-head .v5-rec-who { font-weight:700; color:var(--v5-text3); }
  .v5 .v5-rec-row { padding:10px 4px; border-top:1px solid var(--v5-line); font-size:13.5px; }
  .v5 .v5-rec-meta { display:contents; }
  .v5 .v5-rec-row--open { cursor:pointer; }
  .v5 .v5-rec-row--open:hover { background:var(--v5-team-bg); }
  .v5 .v5-rec-row--up .v5-rec-st { grid-column:3 / -1; }
  .v5 .v5-rec-who { min-width:0; font-weight:600; color:var(--v5-text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-rec-f { color:var(--v5-text3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-rec-row .v5-rec-p { color:var(--v5-tst-ink); }
  .v5 .v5-rec-f--none, .v5 .v5-rec-row .v5-rec-p.v5-rec-f--none { color:var(--v5-text3); opacity:.8; }
  .v5 .v5-rec-st { display:flex; align-items:center; gap:8px; min-width:0; white-space:nowrap; }
  .v5 .v5-rec-tr { font-size:13px; font-weight:600; }
  .v5 .v5-rec-tr--ready { color:var(--v5-green); }
  /* ⟦item 960⟧ the Recordings page's footage list (read only) and its muted "add from an episode" line */
  .v5 .v5-recp-addnote { margin-left:auto; font-size:13px; color:var(--v5-text3); }
  .v5 .v5-recs-list--footage { margin-bottom:22px; }
  .v5 .v5-rec-head--footage { grid-template-columns:38px minmax(160px,1fr) 240px 72px 190px; }
  .v5 .v5-recs-list--footage .v5-rec-row { grid-template-columns:38px minmax(160px,1fr) 240px 72px 190px; }
  .v5 .v5-rec-ep { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .v5 .v5-rec-fchip { display:inline-block; padding:2px 8px; border-radius:var(--v5-r-tile); font-size:11.5px; font-weight:600; white-space:nowrap; }
  .v5 .v5-rec-fchip--grey { background:var(--v5-panel2); color:var(--v5-text3); }
  .v5 .v5-rec-fchip--blue { background:var(--v5-team-bg); color:var(--v5-team-ink); }
  .v5 .v5-rec-fchip--gold { background:rgba(var(--v5-gold-rgb), .14); color:var(--v5-gold); }
  .v5 .v5-rec-fchip--green { background:var(--v5-panel2); color:var(--v5-green); }
  .v5 .v5-rec-tr--busy { color:var(--v5-tr-violet); }
  .v5 .v5-rec-tr--same { color:var(--v5-text3); font-weight:500; }
  .v5 .v5-rec-tr--none { color:var(--v5-text3); font-weight:500; opacity:.8; }
  .v5 .v5-rec-tr--bad { color:var(--v5-bad); }
  .v5 .v5-rec-more { width:32px; height:30px; padding:0; border:0; border-radius:var(--v5-r-tile); background:transparent; color:var(--v5-text2); font-size:16px; line-height:1; cursor:pointer; }
  .v5 .v5-rec-more:hover { background:var(--v5-panel3); }
  .v5 .v5-rec-more:focus-visible, .v5 .v5-recp-chip:focus-visible, .v5 .v5-recp-add:focus-visible, .v5 .v5-rec-row--open:focus-visible { outline:2px solid var(--v5-team-ink); outline-offset:2px; }
  .v5 .v5-rec-go { border:0; background:none; padding:0; font:inherit; font-size:12px; font-weight:600; color:var(--v5-team-ink); text-decoration:underline; cursor:pointer; }
  .v5 .v5-recs-note { padding:10px 4px; font-size:13px; color:var(--v5-text3); }
  /* a phone (the page's own .v5-cl--phone marker: the v5 sheet stays flat): the same page, each recording a stacked row — the
     tile, the name and ⋯ on top, its facts labelled under the name */
  .v5 .v5-cl--phone .v5-recp-title { font-size:24px; }
  .v5 .v5-cl--phone .v5-rec-head { display:none; }
  .v5 .v5-cl--phone .v5-rec-row { grid-template-columns:38px minmax(0,1fr) 32px; row-gap:6px; align-items:start; }
  .v5 .v5-cl--phone .v5-rec-row > .v5-rec-raw { grid-row:1 / span 2; }
  .v5 .v5-cl--phone .v5-rec-row > .v5-rec-who { grid-column:2; grid-row:1; align-self:center; white-space:normal; }
  .v5 .v5-cl--phone .v5-rec-row > .v5-rec-more { grid-column:3; grid-row:1; }
  .v5 .v5-cl--phone .v5-rec-meta { display:flex; flex-wrap:wrap; gap:4px 14px; grid-column:2 / -1; grid-row:2; font-size:12.5px; }
  .v5 .v5-cl--phone .v5-rec-meta > [data-label]::before { content:attr(data-label) ' '; color:var(--v5-text3); opacity:.7; }
  .v5 .v5-cl--phone .v5-rec-row--up .v5-rec-st { grid-column:2 / -1; }
  /* ⟦item 880⟧ the section's RAW tile: the dialog's, under a v5- name (the v5 sheet names only v5- classes, under .v5) */
  .v5 .v5-rec-raw { flex:0 0 36px; width:36px; height:36px; border-radius:var(--v5-r-tile); 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; }
  /* ── ITEM 722 — THE CLIENT PUBLISH DETAILS PAGE (v5 frame) ───────────────────────────────────
     Built to the mock (claude.ai/artifact/7xdkWqdgYu3nXVrKasjp1B): boxed sections, each with its
     own save state; a preview that leads at narrow width. A client in the v5 frame only — team,
     guests and flag-off clients keep the v4 page (checks/pixel-identity-*-live.mjs).
     ⚠️ NARROW WITHOUT @media: the two columns WRAP IN REVERSE, so once the row cannot hold both the
     preview (second in the markup) lands ABOVE the fields. The fields take all spare width (grow
     999) while both fit; alone on its line the preview takes the whole width (grow 1).
     The thumbnail slot is a DEFINITE 170px (the mock's own fixed height), never aspect-ratio: the image
     inside is absolutely positioned at 100%, which against a ratio-only box is the WebKit
     percentage cycle (items 215/216, checks/aspect-ratio-percentage-cycle.mjs). */
  /* ⟦item 923⟧ the team's Publish Details on v5: its title line, the dashed TEAM ONLY box, the production-number warning (team-only markup) */
  .v5 .v5-mdp-tline { display:inline-flex; align-items:center; gap:8px; min-width:0; margin-left:4px; }
  .v5 .v5-mdp-tline .v5-tfacts { font-size:13px; color:var(--v5-text3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  /* ⟦item 1079⟧ (5) past due: the facts a rust pill (the date box's rust); Remind beside them, a gold outline (a send, not a decision fill) */
  .v5 .v5-mdp-tline .v5-tfacts.v5-mdp-late { padding:2px 10px; border-radius:var(--v5-r-pill); background:color-mix(in srgb, var(--v5-rust) 14%, transparent); color:var(--v5-rust); font-size:12px; font-weight:700; }
  .v5 .v5-mdp-tline .v5-mdp-late .v5-tf-gold, .v5 .v5-mdp-tline .v5-mdp-late .v5-tf-late { color:inherit; }
  .v5 .v5-mdp-remind { flex:0 0 auto; height:28px; padding:0 12px; border:1px solid var(--v5-line-gold); border-radius:var(--v5-r-tile); background:none; color:var(--v5-owed-ink); font:inherit; font-size:12.5px; font-weight:700; cursor:pointer; }
  .v5 .v5-mdp-remind:hover { border-color:var(--v5-gold); }
  .v5 .v5-mdp-remind[disabled] { opacity:.6; cursor:default; }
  .v5 .v5-mdp-tbox { margin:0 0 16px; padding:12px 14px; border:1px dashed var(--v5-team-line); border-radius:var(--v5-r-card); background:var(--v5-team-bg); }
  .v5 .v5-mdp-tbox-l { font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--v5-team-ink); }
  .v5 .v5-mdp-tbox-h { display:block; margin:12px 0 5px; font-size:11.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--v5-text3); }
  .v5 .v5-mdp-tsel { width:100%; height:36px; padding:0 10px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-panel); color:var(--v5-text); font:inherit; font-size:14px; }
  .v5 .v5-mdp-tbox-n { margin-top:5px; font-size:12.5px; color:var(--v5-text3); line-height:1.45; }
  /* ⟦item 932⟧ the platform chips (team blue when picked: team work) and the client-default check box */
  .v5 .v5-mdp-plats { display:flex; flex-wrap:wrap; gap:6px; }
  .v5 .v5-mdp-plat { height:30px; padding:0 11px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-panel); color:var(--v5-text2); font:inherit; font-size:13px; cursor:pointer; }
  .v5 .v5-mdp-plat:hover { border-color:var(--v5-text3); }
  .v5 .v5-mdp-plat--on { border-color:var(--v5-team-line); background:var(--v5-team-bg); color:var(--v5-team-ink); font-weight:700; }
  .v5 .v5-mdp-tbox .v5-mdp-pdef { display:flex; align-items:center; gap:8px; margin-top:10px; font-size:13px; font-weight:500; letter-spacing:normal; text-transform:none; color:var(--v5-text); cursor:pointer; }
  .v5 .v5-mdp-pdef input { accent-color:var(--v5-team-ink); color:var(--v5-text); width:15px; height:15px; margin:0; }
  .v5 .v5-mdp-numw { margin-top:6px; padding:7px 11px; border-radius:var(--v5-r-tile); background:var(--v5-team-bg); border:1px solid var(--v5-team-line); color:var(--v5-text2); font-size:13px; line-height:1.45; }
  .v5 .v5-mdp-numw-x { margin-left:4px; padding:0; border:0; background:none; color:var(--v5-team-ink); font:inherit; font-weight:700; text-decoration:underline; cursor:pointer; }
  .v5 .v5-mdp--phone .v5-mdp-tline .v5-tfacts, .v5 .v5-mdp--phone .v5-mdp-tline .v5-tlab { display:none; }   /* a phone's title row keeps the chip only */
  .v5 .v5-mdp { flex:1; min-height:0; overflow-y:auto; background:var(--v5-bg); color:var(--v5-text); font-family:var(--v5-font); -webkit-font-smoothing:antialiased; padding:0 0 3rem; }
  .v5 .v5-mdp button, .v5 .v5-mdp input, .v5 .v5-mdp textarea { font-family:var(--v5-font); text-transform:none; letter-spacing:normal; }
  .v5 .v5-mdp-wrap { max-width:1180px; margin:0 auto; padding:18px 18px 0; }
  .v5 .v5-mdp-hd { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
  .v5 .v5-mdp-ttl { font-size:21px; font-weight:800; letter-spacing:-.01em; color:var(--v5-text); }
  .v5 .v5-mdp-chip { flex:0 0 auto; width:auto; height:auto; padding:4px 9px; gap:5px; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; line-height:1.3; }   /* item 737: the family's type */
  .v5 .v5-mdp-hacts { margin-left:auto; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
  .v5 .v5-mdp-saved { font-size:12.5px; color:var(--v5-muted); }
  .v5 .v5-mdp-saved--bad { color:var(--v5-bad); font-weight:600; }
  .v5 .v5-mdp-btn { display:inline-flex; align-items:center; gap:7px; height:34px; padding:0 13px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile);
                    background:none; color:var(--v5-text); font-size:12.5px; font-weight:600; cursor:pointer; }
  .v5 .v5-mdp-btn:hover { border-color:var(--v5-text3); }
  .v5 .v5-mdp-btn[disabled] { opacity:.6; cursor:default; }
  .v5 .v5-mdp-menuwrap { position:relative; }
  .v5 .v5-mdp-dots { width:34px; height:34px; padding:0; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text3); font-size:16px; cursor:pointer; }
  .v5 .v5-mdp-menu { position:absolute; right:0; top:40px; z-index:20; width:230px; padding:6px; border:1px solid var(--v5-line); border-radius:var(--v5-r-card);
                     background:var(--v5-panel2); display:flex; flex-direction:column; }
  .v5 .v5-mdp-mi { display:flex; align-items:center; gap:9px; padding:8px 10px; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--v5-text); font-size:12.5px; text-align:left; cursor:pointer; }
  .v5 .v5-mdp-mi:hover { background:var(--v5-head-wash-hover); }
  .v5 .v5-mdp-mi--dim { color:var(--v5-text3); }
  .v5 .v5-mdp-msep { height:1px; margin:4px 2px; background:var(--v5-line); }
  .v5 .v5-act.v5-mdp-approve { flex:0 0 auto; width:auto; height:36px; padding:0 18px; gap:7px; font-size:13px; font-weight:700; }
  .v5 .v5-mdp-res { margin-top:12px; font-size:12.5px; color:var(--v5-muted); display:flex; flex-wrap:wrap; align-items:baseline; gap:6px; }
  .v5 .v5-mdp-res-strong { color:var(--v5-text); font-weight:600; }
  .v5 .v5-mdp-res-dim { color:var(--v5-dim); }
  .v5 .v5-mdp-link { border:0; padding:0; background:none; color:var(--v5-slate); font-size:12px; font-weight:600; cursor:pointer; text-decoration:underline; text-underline-offset:2px; }
  .v5 .v5-mdp-link[disabled] { opacity:.6; cursor:default; }
  .v5 .v5-mdp-tip { display:flex; align-items:center; gap:10px; margin-top:14px; padding:10px 12px; background:var(--v5-slate-bg); border:1px solid var(--v5-line);
                    border-radius:var(--v5-r-tile); color:var(--v5-slate); font-size:12.5px; }
  .v5 .v5-mdp-gline { margin-top:14px; font-size:13px; line-height:1.5; color:var(--v5-text2); }   /* ⟦item 1057⟧ the guest's line under the title */
  .v5 .v5-mdp-gline b { font-weight:600; color:var(--v5-text); }
  .v5 .v5-mdp-gbtn { padding:0; border:0; background:none; font:inherit; font-weight:600; color:var(--v5-text); text-decoration:underline; text-underline-offset:2px; cursor:pointer; }
  .v5 .v5-mdp-gbtn:focus-visible { outline:2px solid var(--v5-slate); outline-offset:2px; }
  .v5 .v5-mdp-gid { max-width:400px; margin-top:12px; }
  .v5 .v5-mdp-tip-x { margin-left:auto; border:0; background:none; color:var(--v5-slate); cursor:pointer; font-size:12px; }
  .v5 .v5-mdp-attrib { margin-top:9px; font-size:11.5px; color:var(--v5-dim); }
  .v5 .v5-mdp-cols { display:flex; flex-wrap:wrap-reverse; align-items:flex-end; gap:20px; margin-top:16px; }
  .v5 .v5-mdp-left { flex:999 1 420px; min-width:0; display:flex; flex-direction:column; gap:12px; }
  .v5 .v5-mdp-right { flex:1 1 300px; min-width:0; }
  .v5 .v5-mdp-sec { border:1px solid var(--v5-line); border-radius:var(--v5-r-card); background:var(--v5-panel2); padding:13px 14px; }
  .v5 .v5-mdp-sec--bad { border-color:var(--v5-bad-line); }
  .v5 .v5-mdp-sec-h { display:flex; align-items:center; gap:9px; margin-bottom:10px; min-height:25px; }
  .v5 .v5-mdp-sec-l { font-size:12px; font-weight:700; color:var(--v5-muted); }   /* ⟦E⟧ sentence case (item 759) */
  .v5 .v5-mdp-locked .v5-mdp-msg-link { color:inherit; text-decoration:underline; text-underline-offset:2px; }
  .v5 .v5-mdp-locked { margin:0 0 14px; padding:10px 14px; border-radius:var(--v5-r-tile); background:var(--v5-panel2); font-size:13px; color:var(--v5-text); }
  .v5 .v5-mdp-state { margin-left:auto; font-size:11.5px; font-weight:600; display:inline-flex; align-items:center; gap:5px; color:var(--v5-dim); }
  .v5 .v5-mdp-state--saved { color:var(--v5-green); }
  .v5 .v5-mdp-state--error { color:var(--v5-bad); }
  /* ⟦item 986⟧ quiet "Saved" fades; "Not saved · Try again" in coral; the two-people question */
  .v5 .v5-mdp-state { transition:opacity .6s ease; }
  .v5 .v5-mdp-state--fade { opacity:0; }
  .v5 .v5-mdp-state--error { color:var(--st-revision); }
  .v5 .v5-mdp-state--conflict { color:var(--v5-dim); font-weight:500; }
  .v5 .v5-mdp-state .v5-mdp-draft-btn { background:none; border:0; padding:0; font:inherit; font-weight:700; color:inherit; text-decoration:underline; cursor:pointer; }
  .v5 .v5-mdp-retry { border:0; padding:0; background:none; color:var(--v5-bad); font-size:11.5px; font-weight:700; cursor:pointer; text-decoration:underline; text-underline-offset:2px; }
  .v5 .v5-mdp-inp, .v5 .v5-mdp-area, .v5 .v5-mdp-date { box-sizing:border-box; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-panel);
                    color:var(--v5-text); font-size:13.5px; outline:none; }
  .v5 .v5-mdp-inp { width:100%; height:38px; padding:0 12px; }
  .v5 .v5-mdp-area { display:block; width:100%; min-height:104px; padding:11px 12px; line-height:1.6; resize:none; overflow:hidden; }   /* ⟦item 1008⟧ grows to fit (v5GrowArea) */
  .v5 .v5-mdp-date { width:170px; height:38px; padding:0 12px; color-scheme:dark; }
  .v5 .v5-mdp-date--release { display:flex; align-items:center; width:auto; height:auto; padding:6px 0 0; border-color:transparent; background:none; font-size:14px; font-weight:700; color:var(--v5-text); }   /* ⟦item 780⟧ */
  .v5 .v5-mdp-inp:focus, .v5 .v5-mdp-area:focus, .v5 .v5-mdp-date:focus { border-color:var(--v5-text3); }
  .v5 .v5-mdp-sec--ro .v5-mdp-inp, .v5 .v5-mdp-sec--ro .v5-mdp-area, .v5 .v5-mdp-sec--ro .v5-mdp-date { opacity:.75; }
  .v5 .v5-mdp-cnt { margin-top:7px; text-align:right; font-size:11.5px; color:var(--v5-dim); }
  .v5 .v5-mdp-cnt--over { color:var(--v5-bad); }
  .v5 .v5-mdp-tags { display:flex; flex-wrap:wrap; gap:6px; }
  .v5 .v5-mdp-tag { display:inline-flex; align-items:center; gap:6px; height:27px; padding:0 10px; border-radius:var(--v5-r-pill); background:var(--v5-chip); font-size:12px; color:var(--v5-text); }
  .v5 .v5-mdp-tag-x { border:0; padding:0; background:none; color:var(--v5-dim); cursor:pointer; font-size:11px; }
  .v5 .v5-mdp-tag-x:hover { color:var(--v5-text); }
  .v5 .v5-mdp-copyall { display:inline-flex; align-items:center; gap:6px; height:25px; padding:0 10px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-muted); font-size:11.5px; font-weight:600; cursor:pointer; }
  .v5 .v5-mdp-copyall:hover { color:var(--v5-text); }
  .v5 .v5-mdp-copyall[disabled] { opacity:.5; cursor:default; }
  .v5 .v5-mdp-copy.v5-mdp-copy--done { color:var(--v5-green); border-color:var(--v5-green); }   /* ⟦item 846⟧ "Copied", for a moment */
  .v5 .v5-mdp-help { margin-top:8px; display:flex; justify-content:space-between; gap:10px; font-size:11.5px; color:var(--v5-dim); }
  .v5 .v5-mdp-help-n { flex:0 0 auto; }
  .v5 .v5-mdp-over { margin-top:6px; font-size:11.5px; color:var(--v5-bad); }
  .v5 .v5-mdp-pv-h { display:flex; align-items:baseline; gap:10px; margin-bottom:11px; }
  .v5 .v5-mdp-pv-l { font-size:12px; font-weight:700; color:var(--v5-muted); }   /* ⟦E⟧ sentence case (item 759) */
  .v5 .v5-mdp-pv-live { margin-left:auto; font-size:11.5px; color:var(--v5-dim); }
  .v5 .v5-mdp-pv { border:1px solid var(--v5-line); border-radius:var(--v5-r-card); background:var(--v5-panel2); overflow:hidden; }
  .v5 .v5-mdp-pv-thumb { position:relative; height:170px; background:var(--v5-panel3); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; overflow:hidden; }
  .v5 .v5-mdp-pv-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
  .v5 .v5-mdp-pv-img--dim { opacity:.35; }
  .v5 .v5-mdp-pv-cap { position:relative; display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; padding:10px 14px; margin:0 12px; border-radius:var(--v5-r-tile); background:rgba(var(--v5-bg-rgb), .86); }   /* ⟦item 1008⟧ on a dark band, readable over the picture */
  .v5 .v5-mdp-pv-cap-t { font-size:12.5px; color:var(--v5-text2); }
  .v5 .v5-mdp-pv-cap-t--none { color:var(--v5-dim); }
  .v5 .v5-mdp-thumb-ask { border:0; padding:0; background:none; color:var(--v5-gold); font-size:12.5px; font-weight:700; cursor:pointer; }
  .v5 .v5-mdp-pv-body { padding:13px 14px; }
  .v5 .v5-mdp-pv-t { font-size:14.5px; font-weight:700; line-height:1.3; color:var(--v5-text); overflow-wrap:anywhere; }
  .v5 .v5-mdp-pv-ch { display:flex; align-items:center; gap:8px; margin-top:9px; font-size:12.5px; color:var(--v5-muted); }
  .v5 .v5-mdp-pv-av { width:22px; height:22px; border-radius:var(--v5-r-chip); background:var(--v5-chip); font-size:9.5px; font-weight:800; display:flex; align-items:center; justify-content:center; color:var(--v5-muted); }
  .v5 .v5-mdp-pv-d { margin-top:10px; font-size:12.5px; line-height:1.55; color:var(--v5-muted); overflow-wrap:anywhere; white-space:pre-line; }
  .v5 .v5-mdp-pv-more { margin-left:4px; padding:1px 5px; border:1px solid var(--v5-line); border-radius:var(--v5-r-chip); font-size:10px; font-weight:800; letter-spacing:.06em; color:var(--v5-dim); white-space:nowrap; }
  .v5 .v5-mdp-pv-s { margin-top:11px; font-size:11.5px; color:var(--v5-dim); }
  .v5 .v5-mdp-pv-note { margin-top:11px; font-size:12px; line-height:1.55; color:var(--v5-dim); }
  /* ⟦item 1079⟧ (4) THE TAGS BOX IS A NORMAL INPUT BOX (the Title box's line, fill and corner): the chips and the typing field inside it, the
     typing field borderless; the count in the section's head; the note under the box. A client's / guest's page is ONE column (no preview). */
  .v5 .v5-mdp-tags { box-sizing:border-box; min-height:38px; padding:5px 6px; align-items:center; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:var(--v5-panel); cursor:text; }
  .v5 .v5-mdp-tags:focus-within { border-color:var(--v5-text3); }
  .v5 .v5-mdp-sec--ro .v5-mdp-tags { cursor:default; }
  .v5 .v5-mdp-tagadd { height:27px; min-width:170px; flex:1 1 170px; padding:0 6px; border:0; background:none; color:var(--v5-text); font-size:13.5px; outline:none; }
  .v5 .v5-mdp-tagadd::placeholder { color:var(--v5-dim); }
  .v5 .v5-mdp-tagnone { padding:0 6px; font-size:13.5px; color:var(--v5-dim); }
  .v5 .v5-mdp-sec-n { margin-left:auto; font-size:11.5px; font-weight:500; color:var(--v5-dim); }
  .v5 .v5-mdp-sec-n + .v5-mdp-state { margin-left:8px; }
  .v5 .v5-mdp-help--tags { justify-content:flex-start; line-height:1.5; }
  .v5 .v5-mdp-cols--one .v5-mdp-left { flex:0 1 760px; max-width:760px; }
  /* the TEAM's page, once its two columns cannot sit side by side: the fields (the publish date first) lead, the TEAM ONLY box and the preview
     follow — the mock's one-column order; a client's preview-first wrap (item 722) has no preview to lead with any more */
  .v5 .v5-mdp-cols--team { flex-wrap:wrap; align-items:flex-start; }
  /* ══ ITEM 731 — THE FRAME (build 4's header row) ON THE PUBLISH DETAILS PAGE, and its phone layout (§4a). Every rule hangs off
     `.v5-mdp--frame` / `.v5-mdp--phone`, which v5MdRenderPage / v5MdFrameSync write only under v5HeaderRow(); with the switch off
     none can match and the page is item 722's. ══ */
  .v5 .v5-mdp-hd--frame { align-items:flex-start; gap:12px 16px; min-height:80px; padding:2px 0 0; }
  .v5 .v5-mdp-title { flex:1 1 240px; min-width:0; display:flex; flex-direction:column; gap:3px; }
  .v5 .v5-mdp-row { display:flex; align-items:center; flex-wrap:wrap; gap:10px; row-gap:4px; }
  .v5 .v5-mdp-name { font-size:18px; font-weight:600; line-height:1.25; letter-spacing:-.2px; overflow-wrap:anywhere; }
  .v5 .v5-mdp-crumbs, .v5 .v5-mdp-type { display:none; }
  .v5 .v5-mdp-sub { font-size:12px; line-height:1.35; color:var(--v5-text3); }
  .v5 .v5-mdp-acts { margin-left:auto; display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; margin-top:7px; }
  .v5 .v5-mdp-dec { display:flex; align-items:center; gap:10px; min-height:36px; }
  .v5 .v5-mdp-hd--frame .v5-mdp-res { margin-top:0; }
  .v5 .v5-mdp-res2 { flex:1 1 100%; font-size:12px; color:var(--v5-text2); }
  /* PHONE (§4a): the trail into the title block, the name on one line, "Publish details" beside it; the topbar keeps Back, the
     home link and the navigator (.topbar.v5-tb-phone hides the trail — the review page's rule, one class). Approve alone in the
     pinned bar, full width, 44px; a decided state's lines take the same row; hidden while a field has focus. */
  .v5 .v5-mdp--phone { padding-bottom:var(--v5-mdp-bar-h, calc(65px + env(safe-area-inset-bottom))); }
  .v5 .v5-mdp--phone.v5-mdp--typing { padding-bottom:0; }
  .v5 .v5-mdp--phone .v5-mdp-wrap { padding:12px 16px 0; }
  .v5 .v5-mdp--phone .v5-mdp-hd--frame { min-height:0; }
  .v5 .v5-mdp--phone .v5-mdp-crumbs { display:block; font-size:12px; line-height:1.35; color:var(--v5-text3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-mdp--phone .v5-mdp-crumbs:empty { display:none; }
  .v5 .v5-mdp--phone .v5-mdp-row { flex-wrap:nowrap; align-items:baseline; }
  .v5 .v5-mdp--phone .v5-mdp-name { flex:1 1 auto; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; overflow-wrap:normal; font-weight:700; }
  .v5 .v5-mdp--phone .v5-mdp-type { display:inline; flex:0 0 auto; font-size:12px; color:var(--v5-text3); white-space:nowrap; }
  .v5 .v5-mdp--phone .v5-mdp-row .v5-mdp-chip, .v5 .v5-mdp--phone .v5-mdp-sub { display:none; }
  /* ⟦item 1079⟧ the TEAM's phone title: the name on its own line, then the chip and Remind on the next (they overlapped the "Publish details"
     word on one nowrap line — already so for the chip before this item); the word itself is the sub line's, so it goes */
  .v5 .v5-mdp--phone .v5-mdp-row--team { flex-wrap:wrap; align-items:center; }
  .v5 .v5-mdp--phone .v5-mdp-row--team .v5-mdp-name { flex:1 1 100%; }
  .v5 .v5-mdp--phone .v5-mdp-row--team .v5-mdp-type { display:none; }
  .v5 .v5-mdp--phone .v5-mdp-row--team .v5-mdp-tline { margin-left:0; }
  .v5 .v5-mdp--phone .v5-mdp-acts { margin-top:0; flex:0 0 auto; }
  .v5 .v5-mdp--phone .v5-mdp-saved { display:none; }
  .v5 .v5-mdp--phone .v5-mdp-dots { width:40px; height:40px; border-color:transparent; }
  .v5 .v5-mdp--phone .v5-mdp-dec:empty { display:none; }   /* ⟦item 1057⟧ nothing to decide (a guest): no empty bar */
  .v5 .v5-mdp--phone .v5-mdp-dec { position:fixed; left:0; right:0; bottom:0; z-index:70; margin:0; padding:10px 16px calc(10px + env(safe-area-inset-bottom)); background:var(--v5-panel2); border-top:1px solid var(--v5-line); box-sizing:border-box; }
  .v5 .v5-mdp--phone.v5-mdp--typing .v5-mdp-dec { display:none; }
  .v5 .v5-mdp--phone .v5-act.v5-mdp-approve { flex:1 1 auto; width:100%; height:44px; font-size:14px; }
  .v5 .v5-mdp--phone .v5-mdp-res { flex:1 1 auto; min-height:44px; align-items:center; align-content:center; }
  /* ══ ITEM 734 — BUILD 7: THE SELECTS PAGE IN THE v5 FRAME (§19). Every rule is `.v5 .v5-sx-*` but the three that must
     name v4's page (#selects-view's own background/type, the topbar's light re-paint, the topbar phone class hiding the
     theme switch) — those carry the frame prefixes v5-flag-off-identity §5 allows, and are counted there by name.
     ⚠️ THE STAGE DECLARES NO aspect-ratio (items 215/216's WebKit cycle): 16:9 is padding-top:56.25% on the wrapper,
     the stage absolutely filling it. */
  .v5 body:not(.is-team) #selects-view.v5-sx-host { background:var(--v5-bg); color:var(--v5-text); font-family:'Plus Jakarta Sans',system-ui,sans-serif; }
  .v5 .v5-sx { width:100%; max-width:1280px; margin:0 auto; padding:0 24px 32px; box-sizing:border-box; display:flex; flex-direction:column; gap:16px; }
  .v5 .v5-sx-bar { display:none; }
  /* ⟦item 847 · SEL-1⟧ THE BANNER (.v5-banner--proj, the project pages'): the episode · SELECTS eyebrow, the set's name, the state's
     pill, the intro, "N of M answered" over the progress bar. The banner is the dark gradient in BOTH themes (its tokens are not
     re-declared by v5-light), so everything on it reads tokens light does not re-declare: the hero / banner inks, the gold, the
     .13 white fill. */
  .v5 .v5-sx-banner { flex:0 0 auto; height:140px; margin:16px 0 0; }   /* 140, not the project pages' 160: the answer pair stays in a 1440×844 window under the video */
  .v5 .v5-sx-banner .v5-banner-text { max-width:none; min-width:0; }
  .v5 .v5-sx-banner .v5-eyebrow { font-size:11px; letter-spacing:.2em; text-transform:uppercase; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-sx-titlerow { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:6px; min-width:0; }
  .v5 .v5-sx-name { margin:0; font-size:30px; font-weight:800; letter-spacing:-.03em; line-height:1.1; color:var(--v5-hero-ink); overflow-wrap:anywhere; min-width:0; }
  .v5 .v5-sx-banner .v5-chip { color:var(--v5-banner-owed-ink); }   /* --v5-owed-ink is re-declared brown for light paper; the banner stays dark */
  .v5 .v5-sx-banner .v5-mark--closed, .v5 .v5-sx-banner .v5-sx-gchip { color:var(--v5-banner-ink-2); background:var(--v5-fill); }
  .v5 .v5-sx-banner .v5-sx-lead { margin-top:8px; }
  .v5 .v5-sx-banner .v5-banner-prog { margin-top:10px; }
  .v5 .v5-sx-banner .v5-prog-track { background:var(--v5-fill); }
  .v5 .v5-sx-resslot { display:flex; }
  .v5 .v5-sx-res { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 8px; font-size:12.5px; color:var(--v5-text3); }
  .v5 .v5-sx-res .v5-mdp-res-strong { color:var(--v5-text); font-weight:600; font-size:13px; }
  .v5 .v5-sx-note { max-width:640px; padding:10px 12px; border-radius:var(--v5-r-tile); background:var(--v5-panel2); border:1px solid var(--v5-line); display:flex; flex-direction:column; gap:3px; }
  .v5 .v5-sx-msgs { display:flex; gap:12px; align-items:stretch; }
  .v5 .v5-sx-msgs > * { flex:1 1 0; min-width:0; max-width:none; }
  .v5 .v5-sx-msgs .v5-tnote-host--page .v5-tnote--bar { margin:0; height:100%; box-sizing:border-box; }
  .v5 .v5-sx-msgs .v5-tnote-host--page .v5-tnote-chip { margin:0; }
  .v5 .v5-sx--phone .v5-sx-msgs { flex-direction:column; }
  .v5 .v5-sx--phone .v5-sx-msgs > .v5-tnote-host { margin:0 16px; }   /* the memo's own inset */
  .v5 .v5-sx-note-lab { font-size:11px; font-weight:700; color:var(--v5-text3); }
  .v5 .v5-sx-note p { margin:0; font-size:13px; line-height:1.45; color:var(--v5-text); }
  .v5 .v5-sx-intro { max-width:640px; font-size:13px; line-height:1.5; color:var(--v5-text3); }
  .v5 .v5-sx-body { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:24px; align-items:start; }
  .v5 .v5-sx--narrow .v5-sx-body { grid-template-columns:minmax(0,1fr); }   /* ⟦item 847⟧ beside the full rail: the list under the clip */
  .v5 .v5-sx-main { min-width:0; display:flex; flex-direction:column; gap:16px; }
  .v5 .v5-sx-card { display:flex; flex-direction:column; gap:14px; }
  .v5 .v5-sx-stagewrap { position:relative; width:100%; padding-top:56.25%; border-radius:var(--v5-r-tile); overflow:hidden; background:var(--v5-stage); }
  .v5 body:not(.is-team) #selects-view.v5-sx-host .v5-sx-stagewrap .sel-stage { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:var(--v5-stage); margin:0; }
  .v5 body:not(.is-team) #selects-view.v5-sx-host .v5-sx-stagewrap .sel-stage video, .v5 body:not(.is-team) #selects-view.v5-sx-host .v5-sx-stagewrap .sel-stage audio { width:100%; height:100%; object-fit:contain; display:block; }
  .v5 .v5-sx-nomedia { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:var(--v5-stage); margin:0; color:var(--v5-dim); font-size:13px; }
  .v5 .v5-sx-play { position:absolute; left:12px; bottom:12px; width:40px; height:40px; border-radius:50%; border:0; background:var(--v5-play-bg); color:var(--v5-text); display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0; }
  .v5 .v5-sx-cliphd { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
  .v5 .v5-sx-clipttl { min-width:0; }
  .v5 .v5-sx-clipmeta { font-size:12px; color:var(--v5-text3); }
  .v5 .v5-sx-cliptitle { margin:2px 0 0; font-size:16px; font-weight:700; color:var(--v5-text); }
  .v5 .v5-sx-dec { display:flex; align-items:center; gap:10px; flex:0 0 auto; }
  .v5 .v5-sx-pass { width:150px; height:44px; border-radius:var(--v5-r-tile); border:1px solid var(--v5-dim); background:none; color:var(--v5-text); font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
  .v5 .v5-act.v5-sx-like { flex:0 0 auto; width:150px; height:44px; gap:7px; font-size:13px; font-weight:700; border-radius:var(--v5-r-tile); }
  .v5 .v5-sx-answer { display:flex; align-items:center; gap:10px; min-height:44px; }
  /* Item 737 (§21): the answer chips join the family — filled tints, no border, 6px, uppercase 11 / 700 / .06em. */
  .v5 .v5-sx-chip { flex:0 0 auto; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:3px 8px; border-radius:var(--v5-r-status); border:0; white-space:nowrap; }
  .v5 .v5-sx-chip.v5-sx-liked { color:var(--v5-green); background:var(--v5-liked-bg); }
  .v5 .v5-sx-chip.v5-sx-passed { color:var(--v5-text3); background:var(--v5-ref-tint); }
  .v5 .v5-sx-chip.v5-sx-none { color:var(--v5-text3); background:var(--v5-ref-tint); }
  .v5 .v5-sx-note-mark { font-size:12px; color:var(--v5-text3); }
  /* ⟦item 847⟧ under the clip's text: "See this in the full transcript ›" (left) and the small outlined Comment button (right) */
  .v5 .v5-sx-links { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
  .v5 .v5-sx-trlink { padding:0; border:0; background:none; font-family:var(--v5-font); font-size:13px; font-weight:600; color:var(--v5-text2); cursor:pointer; text-align:left; }
  .v5 .v5-sx-trlink:hover { color:var(--v5-text); }
  .v5 .v5-sx-cmt { margin-left:auto; height:30px; padding:0 12px; border:1px solid var(--v5-line); border-radius:var(--v5-r-tile); background:none; color:var(--v5-text2); font-family:var(--v5-font); font-size:12.5px; font-weight:600; cursor:pointer; }
  .v5 .v5-sx-cmt:hover, .v5 .v5-sx-cmt.v5-sx-cmt--on { border-color:var(--v5-dim); color:var(--v5-text); }
  .v5 .v5-sx-notebox { display:none; width:100%; min-height:72px; box-sizing:border-box; padding:10px 12px; border-radius:var(--v5-r-tile); border:1px solid var(--v5-line); background:var(--v5-panel2); color:var(--v5-text); font:inherit; font-size:16px; }
  .v5 .v5-sx-notebox.v5-sx-open { display:block; }
  .v5 .v5-sx-text { font-size:14px; line-height:1.6; color:var(--v5-text2); }
  /* ⟦item 847⟧ the clip's text in a card: each turn headed by the speaker's real name and its time in the recording */
  .v5 .v5-sx-quote { max-width:none; gap:12px; padding:14px 16px; border:1px solid var(--v5-line); border-radius:var(--v5-r-card); background:var(--v5-panel2); }   /* v4's .sel-text is a 64ch column with an 18px gap */
  .v5 .v5-sx-turn { margin:0; }
  .v5 .v5-sx-turnhd { display:flex; align-items:baseline; gap:8px; margin-bottom:3px; }
  .v5 .v5-sx-spk { font-size:13px; font-weight:700; color:var(--v5-text); }
  .v5 .v5-sx-at { color:var(--v5-text3); font-size:12px; font-variant-numeric:tabular-nums; }
  .v5 body:not(.is-team) #selects-view.v5-sx-host .v5-sx-text .sel-para { margin:0; display:inline; font:inherit; color:inherit; }   /* v4's .sel-para sizes the transcript; the frame's text sets its own */
  .v5 .v5-sx-list { background:var(--v5-panel3); border:1px solid var(--v5-line-dim); border-radius:var(--v5-r-card); padding:12px; display:flex; flex-direction:column; gap:2px; }
  .v5 .v5-sx-listhd { font-size:12px; font-weight:700; color:var(--v5-text3); padding:2px 12px 8px; }
  .v5 .v5-sx-rows { display:flex; flex-direction:column; gap:4px; }
  .v5 .v5-sx-row { display:flex; align-items:center; gap:10px; width:100%; min-height:56px; padding:8px 12px; border:0; border-radius:var(--v5-r-tile); text-align:left; background:none; color:var(--v5-text); font:inherit; cursor:pointer; box-sizing:border-box; }
  .v5 .v5-sx-row:hover { background:var(--v5-band); }
  .v5 .v5-sx-row.v5-sx-current { background:var(--v5-head-wash-hover); }
  .v5 .v5-sx-num { width:22px; height:22px; flex:0 0 22px; border-radius:50%; border:1px solid var(--v5-line); font-size:11px; font-weight:700; display:flex; align-items:center; justify-content:center; color:var(--v5-text2); }
  .v5 .v5-sx-rowmid { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
  .v5 .v5-sx-rowname { font-size:13px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v5 .v5-sx-row.v5-sx-current .v5-sx-rowname { font-weight:700; }
  .v5 .v5-sx-rowdur { font-size:11px; color:var(--v5-text3); }
  .v5 .v5-sx-foot { padding:10px 12px 4px; display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
  .v5 .v5-sx-theme { display:flex; align-items:center; margin-left:10px; flex:0 0 auto; }
  .v5.v5-light body:not(.is-team) .topbar .tr-theme-opt.active { background:var(--v5-head-wash-hover); }
  .v5.v5-light body:not(.is-team) .topbar .tr-theme-seg { border-color:var(--v5-line); }   /* --border-secondary is action-bar-context's theme census; not re-declared here */
  .v5 .v5-mdp-mi.v5-sx-on { font-weight:700; }
  /* ── the phone (§4a): video first, full width at 16:9 of the column; the title block; the note; the current clip as a card
     with three lines of its transcript; the list; Pass / Like pinned at 44px (the decided state's line in the same bar);
     hidden while a field has focus. display:contents dissolves the two-column body so the pieces can reorder. */
  .v5 .v5-sx--phone { padding:0 0 var(--v5-sx-bar-h, calc(65px + env(safe-area-inset-bottom))); gap:12px; }
  .v5 .v5-sx--phone.v5-sx--typing { padding-bottom:0; }
  .v5 .v5-sx--phone .v5-sx-body, .v5 .v5-sx--phone .v5-sx-main { display:contents; }
  .v5 .v5-sx--phone .v5-sx-stagewrap { order:1; border-radius:0; }
  /* ⟦item 847⟧ the banner heads the phone page (compact: its own height, 16px in), then the video */
  .v5 .v5-sx--phone .v5-sx-banner { order:0; margin:12px 16px 0; height:auto; padding:18px 0; }
  .v5 .v5-sx--phone .v5-sx-banner .v5-banner-text { padding:0 16px; }
  .v5 .v5-sx--phone .v5-sx-name { font-size:24px; }
  .v5 .v5-sx--phone .v5-sx-dec { display:none; }
  /* the state's line on a phone: under the banner while the bar carries the pair (a with-us set with a clip still unanswered), in the bar otherwise */
  .v5 .v5-sx--phone .v5-sx-resslot { order:0; margin:0 16px; }
  .v5 .v5-sx--phone .v5-sx-msgs { order:2; }
  .v5 .v5-sx--phone:has(.v5-sx-bar[data-v5-line]) .v5-sx-resslot { display:none; }   /* the bar carries the line — not twice */
  .v5 .v5-sx--phone .v5-sx-resslot .v5-sx-res { font-size:11.5px; }
  .v5 .v5-sx--phone .v5-sx-resslot .v5-sx-res .v5-mdp-res-strong { font-size:12px; }
  .v5 .v5-sx--phone .v5-sx-note, .v5 .v5-sx--phone .v5-sx-intro { order:3; margin:0 16px; max-width:none; }
  .v5 .v5-sx--phone .v5-sx-card { order:4; margin:0 16px; padding:12px; border:1px solid var(--v5-line); border-radius:var(--v5-r-card); background:var(--v5-panel2); display:flex; flex-direction:column; gap:6px; }
  .v5 .v5-sx--phone .v5-sx-cliptitle { font-size:15px; }
  .v5 .v5-sx--phone .v5-sx-text { font-size:13px; line-height:1.5; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
  .v5 .v5-sx--phone .v5-sx-quote { padding:0; border:0; background:none; }   /* the phone's clip is already a card */
  .v5 .v5-sx--phone .v5-sx-turn { margin:0 6px 0 0; display:inline; }
  .v5 .v5-sx--phone .v5-sx-turnhd { display:inline; margin:0 6px 0 0; }
  .v5 .v5-sx--phone .v5-sx-turnhd > * { margin-right:6px; }
  .v5 .v5-sx--phone.v5-sx--guest { padding-bottom:24px; }   /* ⟦item 847⟧ a guest has no bottom bar */
  .v5 .v5-sx--phone .v5-sx-list { order:7; margin:0 10px; }
  .v5 .v5-sx--phone .v5-sx-row { min-height:48px; padding:6px 10px; }
  .v5 .v5-sx--phone .v5-sx-rowdur { display:none; }
  .v5 .v5-sx--phone .v5-sx-bar { display:flex; position:fixed; left:0; right:0; bottom:0; z-index:70; gap:10px; align-items:center; padding:10px 16px calc(10px + env(safe-area-inset-bottom)); background:var(--v5-panel2); border-top:1px solid var(--v5-line); box-sizing:border-box; }
  .v5 .v5-sx--phone.v5-sx--typing .v5-sx-bar { display:none; }
  .v5 .v5-sx--phone .v5-sx-bar .v5-sx-pass, .v5 .v5-sx--phone .v5-sx-bar .v5-act.v5-sx-like { flex:1 1 0; width:auto; height:44px; font-size:14px; }
  .v5 .v5-sx--phone .v5-sx-bar .v5-sx-res { text-align:left; min-height:44px; justify-content:center; }
  .v5 .v5-sx--phone .v5-sx-bar .v5-sx-answer { min-height:44px; }

  .v5 .v5-mdp--phone .v5-mdp-res-strong, .v5 .v5-mdp--phone .v5-mdp-res2 { font-size:clamp(11px, 3.08vw, 12px); line-height:14px; }
  /* ══ ITEM 861 — CMT-1 OPTION B FOR THE TEAM, AND NO TIPS ON A PHONE (Jeffrey, Oct 12) ══
     THE TEAM (a v5 team session — teamBarPaint's `team-bar-on` — on the media review page, 680 and wider): the panel's labelled
     "Hide ⇥" at the right end of the Comments / Details row REPLACES the top bar's Hide comments, and hidden comments leave the slim
     "COMMENTS · N" strip on the right edge. Every class here is written by v5CsMount's team branch alone (v5-cpt on the panel's
     button, v5-cpt-off on the top bar's, v5-cst on the strip, v5-cst-on on .review-body) and removed by v5CsTeamOff, so no client,
     guest or v4 page can match. In THIS always-on sheet, not the client frame's switchable one. Below 680 the team keeps today's
     top-bar control and no strip. */
  .v5 .v5-cp-hide, .v5 .v5-cs.v5-cst { display:none; }
  .v5 .v5-cpt-off { display:none !important; }
  .v5 .v5-cp-hide.v5-cpt { display:inline-flex; align-items:center; justify-content:center; height:28px; margin:0 0 0 auto; padding:0 4px; border:0; border-radius:var(--v5-r-tile); background:none; color:var(--v5-text3); font-family:var(--v5-font); font-size:12px; font-weight:600; letter-spacing:normal; text-transform:none; white-space:nowrap; cursor:pointer; align-self:center; flex:0 0 auto; }
  .v5 .v5-cp-hide.v5-cpt:hover { color:var(--v5-text); background:none; }   /* ⟦item 1078⟧ the icon alone, no box: brighter on hover */
  .v5 .v5-cst-on { flex-direction:row; }
  /* ⟦item 1078⟧ (3+4) the strip is now the panel icon at the top right of the video (in #rv-media-group), the gold dot on its corner */
  .v5 .v5-cst-on .v5-cs-host { position:relative; }
  .v5 .v5-cst-on .v5-cs.v5-cst { position:absolute; top:10px; right:10px; z-index:9; display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; box-sizing:border-box; margin:0; padding:0; border:0; border-radius:var(--v5-r-tile); background:rgba(0,0,0,.52); color:rgba(255,255,255,.74); font-family:var(--v5-font); text-transform:none; letter-spacing:normal; cursor:pointer; }
  .v5 .v5-cst-on .v5-cs.v5-cst:hover { color:var(--v5-text); background:rgba(0,0,0,.68); }
  .v5 .v5-cst-on .v5-cs.v5-cst:focus-visible { outline:2px solid var(--v5-fill-line); outline-offset:2px; }
  .v5 .v5-cst-on .v5-cs.v5-cst .v5-cs-dot { display:none; position:absolute; top:5px; right:5px; width:7px; height:7px; border-radius:50%; background:var(--v5-gold); }
  .v5 .v5-cst-on .v5-cs.v5-cst.v5-cst-open .v5-cs-dot { display:block; }
  /* NO TIPS ON A PHONE: every gate reads v5TipsPhone(); this is the belt for a page already drawn when the window narrows (Publish
     Details' note, the panel's and the transcript's tip boxes), and it hides the "Show tips" switch (the rail's drawing, which the
     phone menu hosts). `v5-tips-phone` is on <body> below 680, written by v5TipsPhoneWatch alone (a class, not an @media block: the
     rail guards' flat matcher cannot read one). A guest's tip and the v4 first-note hint are hidden by the watcher itself. */
  .v5 body.v5-tips-phone .v5-rail-tips, .v5 body.v5-tips-phone .v5-tips, .v5 body.v5-tips-phone .v5-tipf, .v5 body.v5-tips-phone .v5-cp-tipwrap, .v5 body.v5-tips-phone .v5-mdp-tip, .v5 body.v5-tips-phone .v5-tr-tips { display:none !important; }
  /* ⟦item 1015⟧ View only: the v5 decision / share controls hide (body.v5-view-only, set by clientViewOnlyApply with body.client-view-only) */
.v5 .v5-view-only .v5-mdp-approve, .v5 .v5-view-only .v5-tb-share, .v5 .v5-view-only .v5-mdp-share { display:none !important; }
