/* Peak Medium brand: docs/brand/brand-identity.md. Ink/paper/greys everywhere; ember is the one focal point. */
/* Every colour is a token: the two themes are one swap of this block. Dark is the default (and the no-JS fallback).
   Light: ember/green/red/amber are darkened a step so text keeps >= 4.5:1 on paper; the logo keeps the true ember. */
:root, [data-theme="dark"] {
  color-scheme: dark;
  --bg: #0A0A0C;            /* ink */
  --fg: #F2EFEA;            /* paper */
  --surface: #141417;
  --surface-2: #1C1C20;
  --scroll-shadow: rgba(0, 0, 0, .7);
  --line: #26262B;
  --muted: #A6A19A;        /* v4.00 secondary grey one step brighter (was #8E8A84) */
  --faint: #858079;        /* v4.00 the second grey (labels) */
  --bar: #4A4A52;
  --bar-hot: var(--fg);
  --ember: #FF6B1F;         /* brand accent for text/numbers */
  --ember-hot: #FFB46A;
  --ember-glow: rgba(255, 107, 31, .35);
  --gold: #F5C451;          /* v2.73 review stars */
  --gold-glow: rgba(245, 196, 81, .45);
  --gold-sheen: #FFF3C4;    /* v3.68 the light sweep / twinkles on a golden frame */
  --focal-line: rgba(255, 107, 31, .45);
  --topbar-bg: rgba(10, 10, 12, .92);
  /* Data colours — meaning only, always paired with ▲ ▼ / + − */
  --up: #2FBF71;
  --down: #E5484D;
  --warn: #F5A524;
  --up-line: rgba(47, 191, 113, .35);
  --warn-line: rgba(245, 165, 36, .35);
  --todo: #B9E04A;          /* v4.40 yellow-green: needs doing, no rush (replaces grey as a status) */
  --todo-text: #B9E04A;
  --todo-line: rgba(185, 224, 74, .40);
  /* Charts. Heatmap = one ember ramp mixed into the card surface; on dark, more = brighter. */
  --area: rgba(242, 239, 234, .07);
  --heat: #FF6B1F;
  --heat-empty: #222227;
  /* Selling sources (v2.9): video = paper / ink, LIVE = yellow, showcase = a cool blue that never reads as ember,
     shared link = green (v2.49). */
  --src-video: #F2EFEA;
  --src-video-ads: #9E9A94;  /* v2.51 a lighter shade of the video colour (on dark: dimmer paper) */
  --src-promo: #E58BC8;
  --src-live: #F5C542;
  --src-showcase: #7AA2FF;
  --src-link: #5CC8A4;
  --src-other: #4A4A52;
}
[data-theme="light"] {
  color-scheme: light;
  --bg: #F2EFEA;            /* paper */
  --fg: #0A0A0C;            /* ink */
  --surface: #FAF8F4;
  --surface-2: #EFEBE4;
  --scroll-shadow: rgba(40, 30, 20, .22);
  --line: #E2DDD5;
  --muted: #57524B;        /* v4.00 one step more contrast on paper (was #6B665F) */
  --faint: #736D65;
  --bar: #BDB6AB;
  --bar-hot: var(--fg);
  --ember: #C2410C;
  --ember-hot: #9A3412;
  --ember-glow: rgba(255, 107, 31, .30);
  --gold: #A86A00;
  --gold-glow: rgba(214, 150, 20, .35);
  --gold-sheen: #FFC93D;
  --focal-line: rgba(194, 65, 12, .45);
  --topbar-bg: rgba(242, 239, 234, .92);
  --up: #136B3E;
  --down: #C62A2F;
  --warn: #9A5400;
  --up-line: rgba(19, 107, 62, .35);
  --warn-line: rgba(154, 84, 0, .35);
  --todo: #6B8F00;          /* v4.40 fills + borders only: a yellow-green dark enough for text on paper nears the green */
  --todo-text: var(--fg);
  --todo-line: rgba(107, 143, 0, .50);
  --area: rgba(10, 10, 12, .06);
  --heat: #E8590C;          /* on paper, more = darker: the top step sits a touch deeper than the logo ember */
  --heat-empty: #E9E4DC;
  --src-video: #0A0A0C;
  --src-video-ads: #77736E;
  --src-promo: #B0478F;
  --src-live: #C99400;
  --src-showcase: #2F5BD3;
  --src-link: #1E8A68;
  --src-other: #BDB6AB;
}
:root {
  --radius: 16px;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
/* v3.98 (BRIEF-v398) global guard: nothing can push a page sideways. clip (not hidden) keeps sticky bars working.
   scripts/overflow_audit.mjs still reports anything that sticks out, so real overflows get fixed, not hidden. */
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--fg); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--fg); text-decoration: none; }
a:hover { color: var(--ember-hot); }
button { font: inherit; color: inherit; }
.num, .value, td.num, .delta { font-variant-numeric: tabular-nums; }

/* ---------- header */
.topbar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 48px; background: var(--topbar-bg); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; color: var(--fg); }
.brand:hover { color: var(--fg); }
.brand img:where(:not(.badge-svg)) { display: block; width: 40px; height: auto; }
.wordmark { font-weight: 800; font-stretch: 125%; font-size: 17px; letter-spacing: .01em; text-transform: uppercase; }
.product { color: var(--muted); font-size: 14px; padding-left: 14px; border-left: 1px solid var(--line); }
.controls { display: flex; align-items: center; gap: 16px; }
.badge { white-space: nowrap; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border: 1px solid; }
.badge.fixtures { color: var(--warn); border-color: var(--warn-line); }
.badge.live { color: var(--up); border-color: var(--up-line); }
/* v3.98 (BRIEF-v398) a switch never makes the page wider than the screen: it scrolls inside itself (no bar shown) */
.segmented { display: inline-flex; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  max-width: 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.segmented::-webkit-scrollbar { display: none; }
.segmented > * { flex: none; white-space: nowrap; }
.segmented button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.segmented button[aria-checked="true"] { background: var(--fg); color: var(--bg); }
.segmented button:hover { color: var(--fg); }
.segmented button[aria-checked="true"]:hover { color: var(--bg); }
.segmented button:focus-visible { outline: 2px solid var(--ember-glow); outline-offset: 2px; }

.segmented.theme button { padding: 8px 10px; display: inline-flex; align-items: center; }
/* The period switch repeated on the main chart card (and the creator's earnings hero): same value as the header. */
.segmented.range { padding: 3px; }
.segmented.range button { padding: 6px 12px; font-size: 12px; }
.chart-legend { margin: -12px 0 16px; }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.segmented.theme svg { width: 16px; height: 16px; display: block; }
/* Compact header controls: mobile only. */
.compact { display: none; position: relative; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--fg); font-size: 14px; font-weight: 600; cursor: pointer; }
.compact svg { width: 16px; height: 16px; display: block; flex: none; }
.compact:focus-within, .compact:focus-visible { outline: 2px solid var(--ember-glow); outline-offset: 2px; }
.period-select select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.theme-cycle { width: 36px; padding: 0; justify-content: center; }
/* Header logo: light roads on dark, ink roads on light. */
.brand .logo-light { display: none; }
[data-theme="light"] .brand .logo-dark { display: none; }
[data-theme="light"] .brand .logo-light { display: block; }

/* ---------- layout */
main { max-width: 1360px; margin: 0 auto; padding: 48px 48px 96px; display: grid; gap: 32px; }
main > *, .split > *, .kpis > * { min-width: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: 36px; line-height: 1.1; font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; }
.page-head .meta { color: var(--muted); font-size: 14px; }
.back { color: var(--muted); font-size: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

/* Cards: ≥32px padding. */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.card h2 { margin: 0; font-size: 18px; font-weight: 700; font-stretch: 105%; }
.card .sub { color: var(--muted); font-size: 14px; margin: 6px 0 0; max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- KPIs */
.kpis { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); gap: 24px; }
.perf-kpis { grid-template-columns: 1.35fr repeat(5, 1fr); }  /* v2.30: six figures in one row */
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 8px; }
.kpi .label { color: var(--muted); font-size: 14px; font-weight: 500; }
.kpi .value { font-size: 30px; font-weight: 700; font-stretch: 110%; line-height: 1.15; letter-spacing: -.01em; }
.kpi .hint { color: var(--faint); font-size: 12px; }
.kpi.focal { border-color: var(--focal-line); box-shadow: 0 0 48px -24px var(--ember-glow); }
.kpi.focal .label { color: var(--fg); }
.kpi.focal .value { color: var(--ember); font-size: 40px; }

.delta { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.delta.up { color: var(--up); }
.delta.down { color: var(--down); }
.delta.flat, .delta.na { color: var(--muted); font-weight: 500; }
.delta .vs { color: var(--faint); font-weight: 400; margin-left: 4px; }

/* ---------- tables: cells ≥32px horizontal / 24px vertical */
.table-wrap { overflow-x: auto; margin: 0 -32px -32px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 24px 32px; text-align: left; border-top: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; border-top: none; padding-top: 0; }
th.num, td.num { text-align: right; }
td.name { white-space: normal; min-width: 220px; }
td .sub-line { color: var(--muted); font-size: 14px; margin-top: 2px; }
tbody tr { transition: background .12s; }
tr.clickable { cursor: pointer; }
tr.clickable:hover { background: var(--surface-2); }
td strong { font-weight: 700; }
.handle { font-weight: 600; }
.rank { color: var(--faint); font-size: 14px; width: 1%; padding-right: 0; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .06em; border: 1px solid var(--line); color: var(--muted); }
.flag { color: var(--warn); font-size: 12px; font-weight: 600; }

/* share bars (content type split) */
.share { display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
.share .track { display: block; flex: none; width: 96px; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.share .fill { display: block; height: 100%; background: var(--muted); }
/* v2.59 the % has a fixed width so every row's bar starts on the same left edge */
.share .pct { display: inline-block; min-width: 3.6em; text-align: right; font-variant-numeric: tabular-nums; }
.ct-table td.lead { width: 160px; }

/* ---------- charts */
.chart svg { width: 100%; height: 240px; display: block; overflow: visible; }
.chart .bar { fill: var(--bar); transition: fill .1s; }
.chart .bar:hover, .chart .bar.hot { fill: var(--bar-hot); }
.chart .axis { fill: var(--faint); font-size: 12px; font-family: inherit; font-variant-numeric: tabular-nums; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.legend { display: flex; gap: 16px; color: var(--muted); font-size: 14px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--bar); margin-right: 6px; vertical-align: -1px; }
.tooltip { position: fixed; pointer-events: none; background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: 10px; font-size: 12px; font-weight: 500; display: none; z-index: 10; font-variant-numeric: tabular-nums; max-width: 260px; white-space: pre-line; line-height: 1.6; }

/* trend: daily GMV area + line, 7-day average on top */
.chart .area { fill: var(--area); }
.chart .line { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linejoin: round; }
.chart .avg { fill: none; stroke: var(--fg); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .crosshair { stroke: var(--faint); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .dot-line { fill: var(--muted); stroke: var(--surface); stroke-width: 2; }
.chart .dot-avg { fill: var(--fg); stroke: var(--surface); stroke-width: 2; }
.chart .hit { cursor: crosshair; }
.legend .swatch-line, .legend .swatch-avg { width: 16px; height: 0; border-radius: 0; background: none; border-top: 2px solid var(--muted); vertical-align: 3px; }
.legend .swatch-avg { border-top: 3px solid var(--fg); }

/* heatmap */
.chart.heatmap svg { width: auto; height: auto; max-width: 100%; }
.hm-0 { fill: var(--heat-empty); background: var(--heat-empty); }
.hm-1 { fill: color-mix(in oklab, var(--heat) 30%, var(--surface)); background: color-mix(in oklab, var(--heat) 30%, var(--surface)); }
.hm-2 { fill: color-mix(in oklab, var(--heat) 55%, var(--surface)); background: color-mix(in oklab, var(--heat) 55%, var(--surface)); }
.hm-3 { fill: color-mix(in oklab, var(--heat) 78%, var(--surface)); background: color-mix(in oklab, var(--heat) 78%, var(--surface)); }
.hm-4 { fill: var(--heat); background: var(--heat); }
.heatmap rect { cursor: pointer; }
.heatmap rect:hover { stroke: var(--fg); stroke-width: 1.5; }
.hm-legend { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; }
.hm-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.hm-legend i:first-of-type { margin-left: 4px; }
.hm-legend i:last-of-type { margin-right: 4px; }
.heat-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: start; }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; align-content: start; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 4px 0 0; font-size: 22px; font-weight: 700; font-stretch: 108%; font-variant-numeric: tabular-nums; }
.facts dd span { display: block; color: var(--faint); font-size: 12px; font-weight: 500; font-stretch: 100%; margin-top: 2px; }
.compact-heat .facts { grid-template-columns: repeat(4, auto); justify-content: start; gap: 24px 48px; align-self: center; }

/* weekly activity mini-bars */
.weeks { display: inline-flex; align-items: flex-end; gap: 3px; height: 28px; }
.weeks span { width: 7px; background: var(--bar); border-radius: 2px 2px 0 0; min-height: 2px; }
.weeks span.now { background: var(--bar-hot); }
.weeks span.zero { background: var(--line); }

/* video age bars: grey = first 30 days, ember = older (the point of the panel) */
.chart .age-bar { fill: var(--bar); }
.chart .age-bar.old { fill: var(--heat); }
.chart .bar-label { fill: var(--fg); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.legend .sw-young { background: var(--bar); }
.legend .sw-old { background: var(--heat); }
.headline { margin: 12px 0 0; font-size: 22px; line-height: 1.3; font-weight: 500; font-stretch: 105%; max-width: 40ch; }
.headline strong { font-weight: 800; }

/* growth curves */
.curves-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.chart.curves svg { height: auto; }
.chart .curve { fill: none; stroke: var(--muted); stroke-opacity: .7; stroke-width: 1.5; stroke-linejoin: round; transition: stroke .1s; }
.chart .curve.hot { stroke: var(--ember); stroke-opacity: 1; stroke-width: 2.5; }
.chart .curve-hit { fill: none; stroke: transparent; stroke-width: 14; cursor: pointer; pointer-events: stroke; }
.chart .median { fill: none; stroke: var(--fg); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; pointer-events: none; }
.chart .median-end { fill: var(--fg); stroke: var(--surface); stroke-width: 2; }
.chart .line-label { fill: var(--fg); font-size: 12px; font-weight: 700; }
.facts.one { grid-template-columns: 1fr; margin-bottom: 24px; }
.table-wrap.flush { margin: 0; }
/* v2.45 a wide table or list scrolls inside its card; the side with more to show gets a soft shadow (set by app.js). */
.table-wrap.more-l, .vscroll.more-l { box-shadow: inset 16px 0 14px -14px var(--scroll-shadow); }
.table-wrap.more-r, .vscroll.more-r { box-shadow: inset -16px 0 14px -14px var(--scroll-shadow); }
.table-wrap.more-l.more-r, .vscroll.more-l.more-r { box-shadow: inset 16px 0 14px -14px var(--scroll-shadow), inset -16px 0 14px -14px var(--scroll-shadow); }
/* Grids and folds give their children room to shrink, so one wide table can't push the page past the window. */
details.more-box > .more-inner, details.more-box[open] { grid-template-columns: minmax(0, 1fr); }
table.compact-rows th, table.compact-rows td { padding: 16px 0 16px 24px; }
table.compact-rows th:first-child, table.compact-rows td:first-child { padding-left: 0; }
tr.hot { background: var(--surface-2); }

/* video drawer: right-hand panel on desktop, bottom sheet on phones */
.scrim { position: fixed; inset: 0; background: rgba(10, 10, 12, .55); z-index: 20; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); z-index: 21; overflow-y: auto;
  background: var(--surface); border-left: 1px solid var(--line); box-shadow: -24px 0 64px -32px rgba(0, 0, 0, .5); }
.drawer[hidden], .scrim[hidden] { display: none; }
.drawer-inner { padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.drawer-head h2 { margin: 10px 0 2px; font-size: 26px; font-weight: 800; font-stretch: 110%; font-variant-numeric: tabular-nums; }
.drawer h3 { margin: 8px 0 0; font-size: 16px; font-weight: 700; }
.drawer .meta { font-size: 14px; color: var(--muted); }
.drawer .close { border: 1px solid var(--line); background: var(--surface-2); width: 40px; height: 40px; border-radius: 999px; cursor: pointer; flex: none; }
.drawer .close:hover { border-color: var(--faint); }
.drawer .close:focus-visible { outline: 2px solid var(--ember-glow); outline-offset: 2px; }
.drawer .chart svg { height: 170px; }
.note { margin: 0; padding: 16px 20px; border-radius: 12px; border: 1px solid var(--warn-line); color: var(--fg); font-size: 14px; }
/* A panel opened from a day: that day's numbers, highlighted, above the all-time totals. */
.on-day { padding: 16px 20px; border-radius: 12px; border: 1px solid var(--focal-line); box-shadow: 0 0 40px -24px var(--ember-glow); }
.on-day .eyebrow { margin: 0 0 6px; color: var(--ember); }
.on-day-line { margin: 0; font-size: 17px; font-variant-numeric: tabular-nums; }
.on-day-line strong { font-weight: 800; }
.on-day .small { margin: 6px 0 0; }
.back-day { text-decoration: none; }
.back-day:hover { color: var(--fg); }
.drawer-head h2.product-name { font-size: 20px; line-height: 1.25; font-variant-numeric: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body.drawer-open { overflow: hidden; }

/* ---------- v2: navigation, sign-in, creator view, collaborations */
.tabs { display: flex; gap: 4px; margin-right: auto; margin-left: 8px; }
.tabs[hidden] { display: none; }
.tabs a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  color: var(--muted); font-size: 14px; font-weight: 600; }
.tabs a svg { width: 16px; height: 16px; flex: none; }
.tabs a:hover { color: var(--fg); }
.tabs a[aria-current="true"] { color: var(--fg); background: var(--surface-2); }
.tabs .count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--warn); color: var(--bg);
  font-size: 12px; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.tabs .count[hidden] { display: none; }
.account { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  background: none; border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 600; }
.account:hover { color: var(--fg); border-color: var(--faint); }
.account svg { width: 16px; height: 16px; flex: none; }
.account[hidden] { display: none; }
body.no-period #days, body.no-period .period-select { display: none; }
body.signed-out #days, body.signed-out .period-select { display: none; }
.eyebrow { margin: 0 0 6px; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ember { color: var(--ember); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--fg); background: var(--fg); color: var(--bg); font-weight: 700; font-size: 14px; cursor: pointer; }
.btn:hover { opacity: .88; }
.btn:disabled { opacity: .5; cursor: default; }
.btn:focus-visible { outline: 2px solid var(--ember-glow); outline-offset: 2px; }
.btn.secondary { background: none; color: var(--fg); border-color: var(--line); }
.btn.secondary:hover { border-color: var(--faint); opacity: 1; }
.btn.small { min-height: 36px; padding: 0 16px; font-size: 14px; }
/* The one ember call to action: the sign-in button (the only thing to do on that screen). */
.btn.ember { background: #FF6B1F; border-color: #FF6B1F; color: #0A0A0C; }
input[type="email"], input[type="password"], input[type="text"], input[type="date"], input[type="search"], input[type="number"], input[type="url"], select {
  font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  min-height: 44px; padding: 0 14px; width: 100%; font-size: 16px; }
input:focus, select:focus { outline: 2px solid var(--ember-glow); outline-offset: 1px; border-color: var(--faint); }
label { display: grid; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }

/* sign-in */
/* Sign-in: one calm card, the lockup on top, ember only on the main button. Mobile first. */
body.signed-out .topbar .brand { visibility: hidden; }
.signin-wrap { display: grid; justify-items: center; gap: 20px; padding: 24px 0 48px; }
.signin { max-width: 440px; width: 100%; margin: 0; padding: 48px 40px; display: grid; gap: 20px; }
.signin > p:empty { display: none; }
.signin-logo { display: flex; justify-content: center; padding-bottom: 12px; }
.signin-logo img { display: block; width: 132px; height: auto; }
.signin .logo-light { display: none; }
[data-theme="light"] .signin .logo-dark { display: none; }
[data-theme="light"] .signin .logo-light { display: block; }
.signin h1 { margin: 0; font-size: 30px; font-weight: 800; font-stretch: 112%; line-height: 1.1; }
.signin .sub { max-width: none; margin: 0; font-size: 16px; line-height: 1.6; }
.signin .sub strong { color: var(--fg); font-weight: 600; word-break: break-all; }
.signin .hint { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--hover, rgba(127,127,127,.08));
  color: var(--muted); font-size: 14px; line-height: 1.5; }
.signin form { display: grid; gap: 16px; }
.signin form .error:empty { display: none; }
.signin .btn { width: 100%; }
.signin-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  border: 1px solid var(--line); color: var(--fg); }
.signin-icon svg { width: 24px; height: 24px; }
.signin-icon.warn { color: var(--warn); border-color: var(--warn-line); }
.signin-icon.done { color: var(--up); }
.signin-actions { display: grid; gap: 8px; }
.btn.link { background: none; border-color: transparent; color: var(--muted); }
.btn.link:hover { color: var(--fg); opacity: 1; }
.signin .divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px;
  letter-spacing: .06em; text-transform: uppercase; }
.signin .divider::before, .signin .divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.signin-help { margin: 0; color: var(--muted); font-size: 14px; }
.signin .label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.link-btn { padding: 0; border: 0; background: none; color: var(--ember, var(--fg)); font: inherit; font-weight: 600;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--fg); }
.signin label.check { min-height: 0; font-weight: 500; font-size: 14px; }
.signin > .muted.small { margin: 0; text-align: center; }
td .sub-line.warn-text { color: var(--warn); }
.demo-views { display: grid; gap: 12px; }
.demo-views p { margin: 0; }
@media (max-width: 720px) {
  .signin-wrap { padding: 8px 0 32px; }
  .signin { padding: 36px 24px; }
  .signin h1 { font-size: 26px; }
}

/* creator: trends */
td a.go { color: var(--fg); font-weight: 600; white-space: nowrap; }
td a.go:hover { color: var(--ember-hot); }

/* collaborations */
.collab-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.collab-hero .headline { margin: 0; max-width: 24ch; font-size: 28px; }
.collab-hero .sub { margin-top: 12px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.steps li { display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: start; font-size: 14px; color: var(--muted); }
.steps li strong { color: var(--fg); }
.steps li > span { width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center;
  font-weight: 700; font-size: 14px; color: var(--fg); font-variant-numeric: tabular-nums; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--pgap, 24px); }
.pcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); padding: 24px; }
.pcard-top { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; }
/* Square: TikTok Shop product photos are square. The initials sit underneath and show if the image can't load. */
.thumb { position: relative; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--surface-2);
  display: grid; place-items: center; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb .initials { font-size: 18px; font-weight: 800; font-stretch: 120%; color: var(--faint); letter-spacing: .04em; }
.pcard-body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard h3 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; }
.pcard .sub-line { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
/* v2.41 uniform cards: names at most 2 lines (full name on hover), shop · category on one line; the facts and the
   buttons sit at the same height in every card of a row. */
.pcard-name { min-width: 0; }
.pcard-name h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.pcard-name .sub-line { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }  /* v2.45 two lines, not cut mid-word */
/* Cards share the row's tracks (name · tags · facts · buttons), so every part starts at the same height. */
@supports (grid-template-rows: subgrid) {
  /* the space between rows of cards is the card's own margin, so the grid's gap never lands inside a card */
  .pgrid { row-gap: 0; margin-bottom: calc(-1 * var(--pgap, 24px)); }
  .pgrid .pcard { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; margin-bottom: var(--pgap, 24px); }
  .pgrid .pcard-body { display: contents; }
  .pgrid .pfacts, .pgrid .pcard-action { align-self: start; }
}
.tags:empty { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 600; }
.pfacts { margin: auto 0 0; padding-top: 20px; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px 16px; }
.pfacts dt { color: var(--muted); font-size: 12px; }
.pfacts dd { margin: 2px 0 0; font-size: 18px; font-weight: 700; font-stretch: 106%; font-variant-numeric: tabular-nums; }
.pfacts dd span { display: block; color: var(--faint); font-size: 12px; font-weight: 500; font-stretch: 100%; margin-top: 2px; }
.pcard-action { padding-top: 20px; }
.pcard-action .btn { width: 100%; }
a.thumb { display: grid; }
.pcard .plink { color: inherit; text-decoration: none; }
.pcard .plink:hover { text-decoration: underline; text-underline-offset: 3px; }
/* v2.57 one way out: the name is the link, with a small TikTok glyph + ↗ after it so it reads as tappable */
.plink-tt { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; vertical-align: -2px; color: var(--muted); }
.plink-tt .tt-glyph { width: 14px; height: 14px; }
.plink-tt .ext { width: 12px; height: 12px; }
.pcard .plink:hover .plink-tt { color: var(--fg); }
.via-invite { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; text-align: center; }
/* v2.57 campaign card head: full width, the meta on its own line, the description at a reading width (2 lines + More) */
.camp-head { margin-bottom: 24px; }
.camp-head h2 { margin: 0; }
.camp-meta { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 4px 8px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.camp-meta span + span::before { content: "·"; margin-right: 8px; color: var(--faint); }
.camp-desc { margin-top: 12px; max-width: 72ch; }
.camp-desc p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.camp-desc p.clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.camp-desc .linkish { display: inline-block; margin-top: 6px; }
.camp-desc .linkish[hidden] { display: none; }
.status { margin: 0; font-size: 14px; font-weight: 600; }
.status.up { color: var(--up); }
.status.warn { color: var(--warn); }
.status.na { color: var(--muted); }
.decision-note { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
ul.plain { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }

/* team: requests + access */
.decide { display: grid; gap: 10px; min-width: 260px; }
.decide input { min-height: 38px; font-size: 14px; }
.decide-buttons { display: flex; gap: 8px; }
.grant { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr auto; gap: 16px; align-items: end; }
#grant.grant { grid-template-columns: 1.4fr 1fr auto; }
/* v2.19 invite link: TikTok profile check, then a copy box; the creator's join page shows the same photo */
#invite-form.grant { grid-template-columns: 1fr auto; }
#invite-result:empty { display: none; }
#invite-result { margin-top: 24px; }
.invite-out { display: grid; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.invite-q { margin: 0; font-weight: 600; }
.tt-profile, .join-who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.tt-profile strong, .join-who strong { display: block; overflow-wrap: anywhere; }
.tt-avatar { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; flex: none; background: var(--surface); border: 1px solid var(--line); }
.tt-avatar.big { width: 64px; height: 64px; }
.tt-avatar.blank { display: inline-grid; place-items: center; color: var(--muted); font-weight: 700; font-size: 20px; }
.copy-box { display: flex; gap: 8px; margin-top: 8px; min-width: 0; }
.copy-box input { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; }
.copy-box .btn { flex: none; }
.row-actions { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.role-select { min-height: 36px; padding: 0 12px; font-size: 14px; }
.card .note { margin-top: 24px; }

/* ---------- v2.1: To-post list (samples), samples needing attention, day panel */
/* Overdue = amber, always with ▲ and words, never colour alone. Amber stays visibly apart from ember. */
tr.overdue { background: color-mix(in srgb, var(--warn) 7%, transparent); }
tr.overdue td:first-child { box-shadow: inset 3px 0 0 var(--warn); }
.warn-text { color: var(--warn); }
.ends-red { color: var(--down); font-weight: 600; }  /* v3.73 deadline ≤ 7 days: red text only, never the card */
a.status { text-decoration: none; }
a.status:hover { text-decoration: underline; }
td.prod { min-width: 220px; }
td.sample { min-width: 190px; max-width: 300px; }
.act-buttons { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 250px; margin-left: auto; }
.act-buttons .btn { white-space: nowrap; }
.table-wrap.mid { margin-bottom: 0; }
tr.group td { padding-top: 48px; padding-bottom: 8px; border-top: none; }
tr.group h3 { margin: 0; font-size: 16px; font-weight: 700; }
.add-sample { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1.4fr auto; gap: 16px; align-items: end;
  margin: 0 0 32px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.add-sample[hidden] { display: none; }
.add-sample p { grid-column: 1 / -1; margin: 0; }
.add-sample p:empty { display: none; }
.day-nav { display: flex; gap: 8px; }
.sub-line.ids { white-space: nowrap; font-variant-numeric: tabular-nums; }
.drawer .day-nav .close { font-size: 18px; color: var(--fg); }

/* ---------- v2.2: team overview at scale (search + movers), creators list, creator Home */
.tabs .t-short { display: none; }
.find { display: flex; gap: 16px; align-items: center; }
.search { position: relative; flex: 1; max-width: 560px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { padding-left: 46px; border-radius: 999px; background: var(--surface); }
.desk-only { display: grid; gap: 32px; }
.movers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.movers { display: flex; flex-direction: column; }
.movers .card-head { margin-bottom: 8px; flex-wrap: nowrap; align-items: flex-start; }
.count-pill { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mover-list { list-style: none; margin: 0; padding: 0; }
.mover-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.mover-list li:first-child { border-top: none; }
.mover-list li a { display: grid; min-width: 0; }
.mover-list .handle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mover-list .sub-line { color: var(--muted); font-size: 12px; }
.mover-list .flag { text-align: right; }
.mover-list li.none { padding-top: 16px; }
.see-all { display: inline-block; margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 600; color: var(--fg); }
.see-all:hover { color: var(--ember-hot); }
.list-card { padding-bottom: 8px; }
.filters { display: grid; gap: 20px; margin-bottom: 24px; }
.filters .search { max-width: none; }
.filter-box summary { display: none; }
.filter-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; }
.filter-row label { min-width: 150px; flex: 1; }
.filter-row select { min-height: 40px; font-size: 14px; }
label.check { flex: 0 0 auto; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 40px; color: var(--fg); cursor: pointer; }
label.check input { width: 18px; height: 18px; accent-color: var(--fg); }
/* v2.90 six columns: Creator · GMV (+ change under it) · Orders · Shop videos (30 days) · Goal · Score */
.vhead, .vrow { display: grid; grid-template-columns: 32px minmax(200px, 2.6fr) minmax(128px, 1fr) minmax(104px, 1.1fr) minmax(72px, .8fr) minmax(72px, .8fr) minmax(88px, .8fr) minmax(64px, .6fr) minmax(96px, .8fr) minmax(64px, .7fr) minmax(72px, .6fr);
  gap: 16px; align-items: center; padding: 0 32px; }
.vhead { padding-bottom: 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.vhead .num, .vrow .num { text-align: right; justify-self: end; }
.vlist { position: relative; }
/* v2.45 the header and rows scroll sideways inside the card when the window is too narrow for every column (never
   past the card's edge); the widths below are the columns' minimums plus gaps and padding. */
.vscroll { margin: 0 -32px; overflow-x: auto; overflow-y: hidden; }
.vscroll > .vhead, .vscroll > .vlist { min-width: 1216px; }  /* v4.87 + Days with us (72 + gap 16) */  /* v2.90 six columns; v3.93 eight; v4.11 + Needs; v4.16 + Plan last week; v4.79 + CTR, Campaign share + Lost to the opened row (tracks 920 + gaps 144 + padding 64) */
.vrow { position: absolute; left: 0; right: 0; top: 0; border-top: 1px solid var(--line); color: var(--fg); font-variant-numeric: tabular-nums; cursor: pointer; }
.vrow:focus-visible { outline: 2px solid var(--fg); outline-offset: -2px; }
.vrow.open { background: var(--surface-2); }
.vrow:hover { background: var(--surface-2); color: var(--fg); }
.vrow .who { display: grid; min-width: 0; }
.vrow .handle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vrow .sub-line { color: var(--muted); font-size: 14px; }
/* v2.9: column headers sort the creators list */
.vsort { all: unset; cursor: pointer; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; border-radius: 6px; }
.vsort.num { text-align: right; justify-self: end; }
.vsort:hover, .vsort.on { color: var(--fg); }
.vsort:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.vnote { margin: 16px 0 0; }
.vstatus .btn { margin-left: 8px; }
.vstatus { margin: 0; padding: 20px 0 16px; text-align: center; }
.vstatus:empty { display: none; }

/* creator Home: money first */
.hero { display: grid; gap: 12px; border-color: var(--focal-line); box-shadow: 0 0 64px -32px var(--ember-glow); }
.hero .eyebrow { margin: 0; }
.hero-value { font-size: 64px; line-height: 1; font-weight: 800; font-stretch: 115%; letter-spacing: -.02em; color: var(--ember); font-variant-numeric: tabular-nums; }
.hero .delta { font-size: 16px; }
.hero-mini { margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 640px; }
.hero-mini dt { color: var(--muted); font-size: 14px; }
.hero-mini dd { margin: 4px 0 0; font-size: 22px; font-weight: 700; font-stretch: 108%; font-variant-numeric: tabular-nums; }
.chart.spark svg { height: auto; }
.chart.spark { margin-top: 8px; }
.highlight { margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; }
.highlight strong { font-weight: 800; }
.highlight a { font-weight: 600; white-space: nowrap; }
.fine { margin: 0; color: var(--faint); font-size: 12px; }
.due .card-head { margin-bottom: 4px; flex-wrap: nowrap; align-items: baseline; }
.due .see-all { margin: 0; padding: 0; white-space: nowrap; }
.small-head { font-size: 18px; margin: 0 0 8px; max-width: none; }
.due-list { list-style: none; margin: 0; padding: 0; }
.due-list li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.due-list .name { font-weight: 600; }
.due-list .sub-line { color: var(--muted); font-size: 14px; }
.insights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
a.insight { display: flex; flex-direction: column; gap: 8px; color: var(--fg); transition: border-color .12s; }
a.insight:hover { border-color: var(--faint); color: var(--fg); }
.insight .eyebrow { margin: 0; }
.insight .big { font-size: 36px; font-weight: 800; font-stretch: 112%; line-height: 1.1; font-variant-numeric: tabular-nums; }
.insight .sub { margin: 0; max-width: none; flex: 1; }
.insight .go { font-size: 14px; font-weight: 600; color: var(--muted); }
.minibars { display: flex; align-items: flex-end; gap: 6px; height: 40px; margin-top: 8px; }
.minibars i { flex: 1; background: var(--bar); border-radius: 3px 3px 0 0; }
.minibars i.old { background: var(--fg); }
.stackbar, .meter { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--line); margin-top: 8px; }
.stackbar i { background: var(--fg); border-right: 2px solid var(--surface); min-width: 4px; }
.stackbar i:last-child { border-right: none; }
.meter i { background: var(--fg); }

/* ---------- mobile: tables become stacked rows */
@media (max-width: 1280px) {
  .product { display: none; }
}
@media (max-width: 1360px) {
  .vhead, .vrow { padding: 0 24px; }
}
@media (max-width: 1100px) {
  .movers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .wordmark { display: none; }
  .compact-heat .facts { grid-template-columns: 1fr 1fr; }
  .kpi.focal { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .curves-body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 720px) {
  body { font-size: 14px; }
  /* Header on one row: logo mark only, period + theme as compact controls. */
  .topbar { padding: 12px 16px; gap: 12px; }
  .product, .wordmark, .controls .segmented { display: none; }
  .segmented.range button { padding: 6px 10px; }
  .brand img:where(:not(.badge-svg)) { width: 34px; }
  .controls { gap: 8px; }
  .compact { display: inline-flex; }
  .badge { padding: 5px 10px; font-size: 12px; }
  main { padding: 24px 16px 64px; gap: 20px; }
  .page-head h1 { font-size: 28px; }
  .kpis { gap: 12px; }
  .kpi { padding: 24px; }
  .kpi.focal { padding: 32px; }
  .kpi .value { font-size: 22px; }
  .kpi.focal .value { font-size: 36px; }
  .card { padding: 32px 24px; }
  .table-wrap { margin: 0; overflow: visible; }
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { padding: 20px 0; border-top: 1px solid var(--line); }
  table.stack tr[hidden] { display: none; }  /* v2.57 "top 5 · See all" lists stayed fully open on phones */
  table.stack tr:first-child { border-top: none; padding-top: 0; }
  table.stack tr.clickable:hover { background: none; }
  table.stack td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; white-space: normal; text-align: right; min-width: 0; }
  table.stack td::before { content: attr(data-label); color: var(--muted); font-size: 12px; text-align: left; }
  /* v2.45 a long note under a value wraps inside the row instead of running past the card */
  table.stack td:has(> .sub-line) { flex-wrap: wrap; }
  table.stack td .sub-line { min-width: 0; overflow-wrap: anywhere; }
  table.stack td.lead { display: block; text-align: left; padding-bottom: 8px; font-size: 16px; }
  table.stack td.lead::before { content: none; }
  table.stack td.rank { display: none; }
  .chart svg { height: 200px; }
  .legend { width: 100%; }
  .heat-body { grid-template-columns: 1fr; gap: 32px; }
  .facts, .compact-heat .facts { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  .facts dd { font-size: 18px; }
  .headline { font-size: 19px; }
  table.compact-rows th, table.compact-rows td { padding: 14px 0 14px 16px; white-space: nowrap; }
  table.compact-rows th:first-child, table.compact-rows td:first-child { padding-left: 0; }
  table.compact-rows th, table.compact-rows td:not(.num) { white-space: normal; overflow-wrap: anywhere; }
  /* Phones: the section tabs become a bottom tab bar (thumb reach), the header keeps one row. The header drops its
     blur here: a backdrop-filter would make it the containing block for the fixed tab bar and pin the bar inside it. */
  .topbar { backdrop-filter: none; background: var(--bg); }
  .tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; margin: 0; gap: 0; justify-content: space-around;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--topbar-bg); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line); }
  .tabs a { flex: 1; flex-direction: column; gap: 4px; padding: 8px 4px; border-radius: 12px; font-size: 12px; }
  .tabs a svg { width: 22px; height: 22px; }
  .tabs .count { position: absolute; top: 4px; left: calc(50% + 6px); }
  body:not(.signed-out) main { padding-bottom: 120px; }
  .account span { display: none; }
  .account { width: 36px; padding: 0; justify-content: center; }
  .signin { margin-top: 16px; padding: 32px 24px; }
  .collab-hero { grid-template-columns: 1fr; gap: 32px; }
  .collab-hero .headline { font-size: 22px; }
  .pgrid { grid-template-columns: 1fr; --pgap: 16px; }
  .pfacts dd { font-size: 16px; }
  .grant, #grant.grant, #invite-form.grant { grid-template-columns: 1fr; }
  .row-actions { justify-content: flex-start; }
  .decide { min-width: 0; width: 100%; }
  .drawer { top: auto; height: 88vh; width: 100vw; border-left: 0; border-top: 1px solid var(--line); border-radius: 20px 20px 0 0; }
  .drawer-inner { padding: 32px 24px; }
  table.stack tr.overdue { box-shadow: inset 3px 0 0 var(--warn); padding-left: 16px; padding-right: 12px; }
  table.stack tr.overdue:first-child { padding-top: 20px; }
  table.stack tr.overdue td:first-child { box-shadow: none; }
  table.stack td.actions { display: block; padding-top: 12px; }
  table.stack td.actions::before { content: none; }
  .act-buttons { justify-content: flex-start; max-width: none; margin-left: 0; }
  .add-sample { grid-template-columns: 1fr; padding: 20px; }
  .act-buttons { flex-wrap: wrap; }
  table.stack tr.group { padding: 32px 0 0; border-top: none; }
  table.stack tr.group td { display: block; text-align: left; padding: 0; }
  table.stack td.sample { max-width: none; }
  table.stack td.prod { min-width: 0; }
  .drawer table.stack.compact-rows tr { padding: 14px 0; }
  .drawer table.stack.compact-rows td { padding: 2px 0; white-space: normal; }
  .drawer table.stack.compact-rows td.lead { padding-bottom: 6px; }
  /* 2026-10-24 (Basel's iPhone, 375 wide): nothing may be wider than the screen, or the whole page pans sideways and
     looks off-centre. Tabs may shrink below their label width; deltas and the top-video line wrap instead of running on. */
  .tabs a { flex: 1 1 0; min-width: 0; padding: 8px 2px; }
  .tabs a .t-long, .tabs a .t-short { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* v2.45 seven tabs on a 375-390 phone: the labels shrink a touch so "Campaigns" reads whole. */
  .tabs:has(> a:nth-child(7)) { padding-left: 2px; padding-right: 2px; }
  .tabs:has(> a:nth-child(7)) a { font-size: min(11px, 2.45vw); letter-spacing: -.02em; padding-left: 0; padding-right: 0; }
  .delta { white-space: normal; flex-wrap: wrap; row-gap: 0; }
  .delta .vs { margin-left: 0; }
  .highlight a { white-space: normal; overflow-wrap: anywhere; }
  table.stack td[colspan] { display: block; text-align: left; }
  table.stack td[colspan]::before { content: none; }
  .tabs a:has(.t-short) .t-long { display: none; }
  .tabs .t-short { display: inline; }
  .find { flex-wrap: wrap; gap: 12px; }
  .find .search { flex-basis: 100%; max-width: none; }
  .movers-grid { grid-template-columns: 1fr; gap: 20px; }
  .mover-list li:nth-child(n+6) { display: none; }
  .desk-only { display: none; }
  .filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .filter-row label { min-width: 0; }
  .vhead { display: none; }
  .vscroll { margin: 0 -24px; overflow: visible; }
  .vscroll > .vhead, .vscroll > .vlist { min-width: 0; }
  .vrow { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "who who who who" "sales vids units vpp"; gap: 6px 10px; padding: 0 24px; align-content: center; }
  .vrow > span { display: none; }
  .filter-box summary { display: list-item; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--muted); }
  .filter-box[open] summary { margin-bottom: 16px; }
  .vrow .who { grid-area: who; display: grid; }
  /* v4.23 the four levers on one line under the handle, each with a small label */
  .vrow .c-sales { grid-area: sales; } .vrow .c-vids { grid-area: vids; } .vrow .c-units { grid-area: units; } .vrow .c-vpp { grid-area: vpp; }
  .vrow .c-sales, .vrow .c-vids, .vrow .c-units, .vrow .c-vpp { display: grid; justify-items: start; text-align: left; }
  .vrow .c-sales::before, .vrow .c-vids::before, .vrow .c-units::before, .vrow .c-vpp::before { content: attr(data-label); font-size: 12px; color: var(--muted); font-weight: 600; }
  .vrow .gmv-top .mbar { display: none; }
  .hero { padding: 28px 24px; gap: 10px; }
  .due { padding: 24px; }
  .highlight { padding-top: 12px; margin-top: 4px; }
  .hero-value { font-size: 44px; }
  .hero-mini { gap: 12px; }
  .hero-mini dd { font-size: 17px; }
  .highlight { font-size: 16px; }
  .small-head { font-size: 16px; }
  .due-list li { padding: 10px 0; }
  .insights { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .insights::-webkit-scrollbar { display: none; }
  a.insight { flex: 0 0 78%; scroll-snap-align: start; padding: 24px; }
  .insight .big { font-size: 30px; }
}
.error { color: var(--down); }

/* Low-key, read-only analyst list (samples waiting for a video) */
.card.quiet h2 { font-size: 1rem; color: var(--muted); }
/* Creator's "how to report a missing sample" guide under the To-post list */
.guide { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.guide summary { cursor: pointer; font-weight: 600; }
.guide ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); line-height: 1.5; }
.guide strong { color: var(--fg); }

/* v2.2: five creator tabs need the header room — the product label goes, sign-out becomes an icon on narrower desktops */
body.role-creator .product { display: none; }
@media (max-width: 1500px) {
  body.role-creator .account span { display: none; }
  body.role-creator .account { width: 36px; padding: 0; justify-content: center; }
}
.account span { white-space: nowrap; }

/* v2.5: a team member viewing the dashboard as a creator */
.view-as { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  padding: 8px 16px; background: var(--ember, #E8622C); color: #fff; font-size: 14px; }
.view-as .btn { background: rgba(0, 0, 0, .25); color: #fff; border-color: transparent; }

/* ---------------------------------------------------------------- v2.9 */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Every way out to TikTok: a quiet pill with the TikTok glyph (monochrome), clear hover and focus. */
.btn-tt { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--fg); font-size: 14px; font-weight: 600;
  text-decoration: none; white-space: nowrap; transition: border-color .12s, background .12s; }
.btn-tt:hover { border-color: var(--faint); background: color-mix(in oklab, var(--fg) 6%, var(--surface)); }
.btn-tt:focus-visible { outline: 2px solid var(--ember-glow); outline-offset: 2px; }
.btn-tt .tt-glyph { width: 18px; height: 18px; flex: none; }
.btn-tt .ext { width: 14px; height: 14px; flex: none; color: var(--muted); }
.page-head .btn-tt { margin-left: auto; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.id-line { display: block; margin-top: 2px; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
/* TikTok's embedded player: click to load, 9:16, never taller than the panel can show. */
.player { width: 100%; max-width: 340px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: color-mix(in oklab, var(--fg) 4%, var(--surface)); }
.player.loaded { aspect-ratio: 9 / 16; max-height: 70vh; }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-load { width: 100%; min-height: 72px; padding: 12px 16px; display: grid; grid-template-columns: auto 1fr;
  grid-template-rows: auto auto; column-gap: 14px; align-items: center; text-align: left; border: 0; background: none;
  color: var(--fg); font: inherit; font-weight: 600; cursor: pointer; }
.player-load .play { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-size: 16px; border: 1px solid var(--line); background: var(--surface); }
.player-load:hover .play { border-color: var(--faint); }
.player-load:focus-visible { outline: 2px solid var(--ember-glow); outline-offset: -4px; }
.vname { font-weight: 600; }
.vname .more { color: var(--muted); font-weight: 500; }
/* Creator Home: sales lead, take-home commission right under it. */
.hero-take { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 0 0; border-top: 1px solid var(--line); }
.hero-take .label { color: var(--muted); font-size: 14px; }
.hero-take strong { font-size: 26px; font-weight: 800; font-stretch: 108%; font-variant-numeric: tabular-nums; }
.hero-mini > div > span { display: block; color: var(--faint); font-size: 12px; margin-top: 2px; }
/* Selling sources */
.chart .src-video, .legend .src-video { fill: var(--src-video); background: var(--src-video); }
.chart .src-video_ads, .legend .src-video_ads { fill: var(--src-video-ads); background: var(--src-video-ads); }
.chart .src-live, .legend .src-live { fill: var(--src-live); background: var(--src-live); }
.chart .src-promo, .legend .src-promo { fill: var(--src-promo); background: var(--src-promo); }
.chart .src-showcase, .legend .src-showcase { fill: var(--src-showcase); background: var(--src-showcase); }
.chart .src-link, .legend .src-link { fill: var(--src-link); background: var(--src-link); }
.chart .src-other, .legend .src-other { fill: var(--src-other); background: var(--src-other); }
.chart .bucket-hit { cursor: pointer; }
.chart .bucket-hit:hover { fill: color-mix(in oklab, var(--fg) 6%, transparent); }
.pill.src { border-color: transparent; color: var(--bg); }
.pill.src-video { background: var(--src-video); }
.pill.src-video_ads { background: var(--src-video-ads); color: #0A0A0C; }
.pill.src-live { background: var(--src-live); color: #0A0A0C; }
.pill.src-promo { background: var(--src-promo); color: #0A0A0C; }
.sub-line.ads-line { display: block; color: var(--muted); }
.pill.src-showcase { background: var(--src-showcase); color: #0A0A0C; }
.pill.src-link { background: var(--src-link); color: #0A0A0C; }
.pill.src-other { background: var(--src-other); color: var(--fg); }
/* Sortable number columns */
table.sortable th[data-sort] { cursor: pointer; user-select: none; }
table.sortable th[data-sort]:hover { color: var(--fg); }
table.sortable th[aria-sort="descending"]::after { content: " ↓"; }
table.sortable th[aria-sort="ascending"]::after { content: " ↑"; }
.fine-note { margin: 16px 0 0; }
[data-theme="light"] .pill.src-showcase, [data-theme="light"] .pill.src-link, [data-theme="light"] .pill.src-video_ads,
[data-theme="light"] .pill.src-promo { color: #fff; }
td.num .sub-line { display: block; }
td.lead:has(.vname) { white-space: normal; min-width: 160px; }
.drawer td.lead, .drawer td.name { white-space: normal; }

/* v2.9: Report a problem (creator) / Reported by the creator (team) */
textarea { font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; width: 100%; font-size: 16px; resize: vertical; }
textarea:focus { outline: 2px solid var(--ember-glow); outline-offset: 1px; border-color: var(--faint); }
.problem-form { margin-top: 20px; }
.problem-form > summary { list-style: none; cursor: pointer; width: max-content; }
.problem-form > summary::-webkit-details-marker { display: none; }
.problem-form[open] > summary { display: none; }
.stack-form { display: grid; gap: 16px; max-width: 520px; }
.form-actions { display: flex; gap: 12px; }
.problem-list { display: grid; gap: 12px; margin: 16px 0 0; }
.problem-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px;
  border: 1px solid var(--line); border-radius: 12px; }
.problem-list p { margin: 6px 0 0; }

/* v2.9: This week (team overview) */
.week-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin: 20px 0 0; }
.week-grid dt { color: var(--muted); font-size: 14px; font-weight: 600; }
.week-grid dd { margin: 6px 0 4px; font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.week .highlight { margin-top: 20px; }
@media (max-width: 1100px) { .week-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .week-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .week-grid dd { font-size: 22px; } }
/* v2.9: Needs attention reasons sit under the handle, one per line */
.mover-list li.has-why a { min-width: 0; flex: 1; }
.flag.why { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; text-align: left; white-space: normal; }

/* v2.12 goals: small and calm under the money hero. Green (with ✓) only for "on track" / reached; never red. */
.goals .card-head { margin-bottom: 8px; }
.goal-list { list-style: none; margin: 0; padding: 0; }
.goal { display: grid; gap: 8px; padding: 20px 0; border-top: 1px solid var(--line); }
.goal:first-child { border-top: 0; padding-top: 8px; }
.goal-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.goal-name { font-weight: 600; }
.goal-amt { margin: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.goal-amt strong { color: var(--fg); font-size: 22px; font-weight: 800; font-stretch: 108%; margin-right: 4px; }
.goal-bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.goal-bar span { display: block; height: 100%; border-radius: inherit; background: var(--fg); }
.goal.hit .goal-bar span { background: var(--up); }
.goal-pace { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); font-variant-numeric: tabular-nums; }
.goal-state { color: var(--fg); font-weight: 600; }
.goal-state.up { color: var(--up); }
.goal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.goal-actions { display: flex; gap: 16px; margin-left: auto; }
.linkish { all: unset; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--muted); }
.linkish:hover, .linkish:focus-visible { color: var(--fg); }
.linkish:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 4px; }
.goal-suggest { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 8px 0 4px; }
.suggest { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 4px; padding: 16px 20px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--surface-2); color: var(--fg); font-size: 14px; }
.suggest span { color: var(--muted); font-size: 14px; }
.suggest:hover { border-color: var(--muted); }
.suggest:focus-visible { outline: 2px solid var(--ember-glow); outline-offset: 2px; }
.vcount { display: grid; gap: 8px; margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.vcount-line { margin: 0; }
.vcount-line strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.vcount p.small { margin: 0; }
.vcount .see-all { margin: 0; padding-top: 4px; }
.goal-form-box { margin-top: 20px; }
.goal-form-box > summary { list-style: none; display: inline-flex; align-items: center; }
.goal-form-box > summary::-webkit-details-marker { display: none; }
.goal-form-box[open] > summary { margin-bottom: 16px; }
.goal-form { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 800px; }
.goal-form .form-actions, .goal-form .form-msg, .goal-form > p { grid-column: 1 / -1; }
.goal-form > p { margin: 0; }
.goal-form [hidden] { display: none; }
.goal-form .form-msg { margin: 0; }
.goal-ideas { margin-top: 12px; }
.goal-ideas summary { cursor: pointer; }
@media (max-width: 720px) {
  .goals { padding: 24px; }
  .goal { padding: 16px 0; }
  .goal-form { grid-template-columns: 1fr; }
  .goal-suggest { grid-template-columns: none; }
}

/* v2.13 Connect your TikTok (Samples tab) */
.tt-card .tt-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.tt-card h2 { margin: 0 0 4px; }
.tt-card .sub { margin: 0; }
.tt-card.connected { padding-top: 20px; padding-bottom: 20px; }
.tt-card.connected .tt-row p { margin: 0; }
/* v2.15 step 2 interstitial + view counts */
.tt-step h2 { margin: 4px 0; }
.tt-card .linkish { margin-left: 8px; text-decoration: underline; text-underline-offset: 3px; }
.views-card .kpis { margin: 24px 0; }
.views-card h3 { margin: 24px 0 8px; }
.vsub { display: block; font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.2; }
.tt-result { display: block; margin: 0 0 16px; }
.tt-result:only-child { margin: 0; }  /* v2.21 Home: the result line on its own once connected */
.tt-line { margin: -8px 0 24px; }
@media (max-width: 720px) {
  .tt-card .tt-row { align-items: stretch; }
  .tt-card .tt-row .btn:not(.small) { width: 100%; }
}
/* v2.14 growth before vs since joining (team only) */
.growth-kpis { grid-template-columns: repeat(4, 1fr); margin-top: 24px; }
.kpi .value .per { font-size: .5em; font-weight: 600; color: var(--muted); margin-left: 2px; }
.growth-chart-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 32px 0 8px; flex-wrap: wrap; }
.growth-chart-head h3 { margin: 0; font-size: 16px; }
.chart .join-mark { stroke: var(--fg); stroke-width: 1.5; stroke-dasharray: 4 4; }
.chart .line.so-far { stroke-dasharray: 3 4; }
.join-line .linkish { margin-left: 8px; }
.join-form { display: flex; gap: 12px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.join-form input[type="date"] { font: inherit; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); }
ul.plain.notes { gap: 4px; font-size: 14px; color: var(--muted); }
th.sortable[data-gsort] { cursor: pointer; user-select: none; }
th.sortable[data-gsort]:hover { color: var(--fg); }
@media (max-width: 720px) { .growth-kpis { grid-template-columns: repeat(2, 1fr); } }
.join-form[hidden] { display: none; }
.growth-overview .table-wrap { margin-top: 32px; }
.growth .notes, .growth-overview .notes { margin-top: 24px; }
.kpi .value .g-up { color: var(--up); }
.kpi .value .g-down { color: var(--down); }
@media (max-width: 720px) { .growth-kpis .delta .vs { display: none; } }
.views-card .table-wrap + .muted { margin-top: 16px; }
.signin-legal { margin-top: 8px; }

/* v2.16 followers line (creator Home hero, team creator page) */
.followers-line { margin: 16px 0 0; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.followers-line strong { color: var(--fg); font-weight: 600; }
.followers-line .label { margin-right: 4px; }
.views-card .followers-line { margin: 0 0 16px; }
.views-card .followers-line .label { display: none; }

/* ---------- v2.17 phone app (home-screen install) */
/* Safe areas: in the installed app the page runs edge to edge, so the header clears the iPhone notch / status bar and
   the side insets in landscape. The bottom tab bar already clears the home bar. 0 in a normal browser tab. */
.topbar { padding-top: calc(20px + env(safe-area-inset-top)); padding-left: max(48px, env(safe-area-inset-left));
  padding-right: max(48px, env(safe-area-inset-right)); }
.drawer-inner { padding-top: calc(40px + env(safe-area-inset-top)); padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
#install-slot { display: contents; }
.install-card { padding: 24px; display: grid; gap: 16px; }
.install-head { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.install-head h2 { margin: 0; font-size: 17px; }
.install-head .sub { margin-top: 2px; }
.install-icon { display: block; width: 48px; height: 48px; border-radius: 11px; }
.install-close { align-self: start; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line);
  background: none; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.install-close:hover { color: var(--fg); border-color: var(--faint); }
.install-card .btn { width: 100%; }
.install-steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.inline-icon { width: 18px; height: 18px; vertical-align: -3px; }
.pings .sub { margin-bottom: 16px; }
.pings .ping-kinds { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-bottom: 8px; }
.pings .btn.link { padding: 0; min-height: 36px; }
.pings .ping-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 16px; }
/* v2.18 Users page: pings sent / failed in the last 7 days */
.ping-counter { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.ping-counter strong { color: var(--fg); font-variant-numeric: tabular-nums; }
.ping-counter.has-failed strong:last-child { color: var(--down); }
@media (max-width: 720px) {
  .topbar { padding: calc(12px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left)); }
  .drawer-inner { padding-top: calc(32px + env(safe-area-inset-top)); padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  .pings .btn:not(.link) { width: 100%; }
}
/* Very narrow phones (≤360, e.g. iPhone SE 1st gen): tighten the header so it never pushes the page wider than the screen. */
@media (max-width: 360px) {
  .controls { gap: 6px; }
  .controls .badge { padding: 5px 8px; letter-spacing: .04em; }
  .topbar { gap: 8px; }
}

/* v2.20 one login, several TikTok accounts: the switcher bar (creators with 2+ accounts), tags on merged lists,
   the Add another account dialog, and the team's account chips on Logins. Ink/paper/greys only: no ember here. */
.acct-bar { border-bottom: 1px solid var(--line); background: var(--surface); }
.acct-inner { max-width: 1360px; margin: 0 auto; padding: 14px 48px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.acct-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.acct-switch { position: relative; }
.acct-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--fg); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; min-height: 44px; }
.acct-btn svg { width: 16px; height: 16px; color: var(--muted); transition: transform .15s; }
.acct-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.acct-btn:focus-visible, .acct-menu button:focus-visible { outline: 2px solid var(--ember-glow); outline-offset: 2px; }
.acct-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; min-width: 300px; padding: 8px; display: grid; gap: 2px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .5); }
.acct-menu[hidden] { display: none; }
.acct-menu button { display: grid; gap: 2px; text-align: left; padding: 12px 16px 12px 40px; border: 0; border-radius: 12px; background: none;
  color: var(--fg); font: inherit; cursor: pointer; position: relative; }
.acct-menu button:hover { background: var(--surface-2); }
.acct-menu button[aria-checked="true"] { background: var(--surface-2); }
.acct-menu button[aria-checked="true"]::before { content: "✓"; position: absolute; left: 16px; top: 12px; font-weight: 700; }
.acct-name { font-weight: 700; font-size: 16px; }
.acct-sub { font-size: 14px; color: var(--muted); }
.acct-sub .status { font-size: 14px; }
.acct-menu .acct-add { border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 6px; padding-top: 14px; color: var(--muted); font-weight: 600; }
.acct-count { margin-left: auto; }
.acct-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface-2); white-space: nowrap; vertical-align: 1px; }
.acct-pick select { min-width: 12ch; }
.acct-req { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pcard-action:has(.acct-req, [data-account]) { display: grid; gap: 8px; }
.tt-accounts li { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--line); }
.tt-accounts li:first-child { border-top: 0; }
.tt-accounts li strong { min-width: 12ch; }
.tt-accounts li .btn { margin-left: auto; }
.add-account-line { text-align: center; margin: 0; }
.acct-modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 24px; }
.acct-modal .scrim { z-index: 0; }
.acct-dialog { position: relative; z-index: 1; width: min(520px, 100%); display: grid; gap: 16px; max-height: 90vh; overflow-y: auto; }
.acct-dialog .close { border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); width: 40px; height: 40px; border-radius: 999px; cursor: pointer; flex: none; }
.acct-dialog h2 { margin: 6px 0 0; font-size: 22px; font-weight: 800; font-stretch: 110%; }
.acct-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.acct-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; }
.acct-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.acct-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font-size: 14px; }
.acct-chip.req { border-style: dashed; }
.add-acct { display: grid; gap: 16px; padding: 8px 0; white-space: normal; }
.add-acct-row td { white-space: normal; }
.person-card .kpis { margin: 24px 0; }
@media (max-width: 720px) {
  .acct-inner { padding: 10px 16px; gap: 10px; }
  .acct-count { display: none; }
  .acct-inner { position: relative; }
  .acct-switch { position: static; }
  .acct-menu { min-width: 0; left: 16px; right: 16px; top: calc(100% - 4px); }
  .acct-btn { font-size: 14px; }
}

/* v2.22 video reviews */
.rv-tile .hero-mini { margin-top: 16px; }
.rv-by { margin: 16px 0 0; }
.rv-head .rv-title { margin: 4px 0 8px; font-size: 24px; line-height: 1.25; }
.rv-watch { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.rv-items { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; }
.rv-item { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.rv-item:first-child { border-top: 0; padding-top: 4px; }
.rv-item-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rv-label { font-weight: 600; color: var(--fg); }
.rv-choice { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; flex: none; }
.rv-v { min-height: 36px; min-width: 72px; padding: 0 14px; border: 0; background: none; color: var(--muted); font: inherit;
  font-size: 14px; font-weight: 700; cursor: pointer; }
.rv-v + .rv-v { border-left: 1px solid var(--line); }
.rv-v.good[aria-pressed="true"] { background: var(--up); color: var(--bg); }
.rv-v.fix[aria-pressed="true"] { background: var(--warn); color: var(--bg); }
/* v2.74 "Video removed" (+ the "Looks removed" hint from the video fetch) */
.rv-gone-act { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
td .rv-gone-act { display: flex; margin-top: 6px; flex-basis: 100%; justify-content: flex-end; }
td:has(> .rv-gone-act) { flex-wrap: wrap; }
td:has(> .rv-gone-act) .btn { white-space: nowrap; }
.rv-gone { font-size: 12px; color: var(--warn); border-color: var(--warn); }
.rv-v:focus-visible { outline: 2px solid var(--ember-glow); outline-offset: -2px; }
.rv-note { width: 100%; }
.rv-note-read { margin: 0; color: var(--muted); }
/* v3.30 the result an item drives, under its label */
.rv-why { display: block; margin-top: 2px; font-size: .8rem; font-weight: 400; color: var(--muted); }
.rv-form label { margin-top: 20px; }
.rv-form textarea { width: 100%; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.rv-one { border-left: 3px solid var(--ember); }
/* v2.64 "Nothing to change: keep doing this" + short product names on review screens (full name on hover) */
.rv-keep { border-left-color: var(--up); }
.rv-keep .eyebrow, .rv-keep-line { color: var(--up); display: flex; align-items: center; gap: 6px; }
.rv-onepick { margin-top: 20px; display: grid; gap: 8px; }
.rv-form .rv-onepick label { margin-top: 0; }
.rv-none { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.rv-none input { width: 18px; height: 18px; margin: 0; accent-color: var(--up); }
.rv-onepick textarea:disabled { opacity: .45; }
.rv-head .rv-title, .rv-home h2, .rv-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.rv-big { margin: 4px 0 16px; font-size: 20px; line-height: 1.45; color: var(--fg); }
.rv-worked { margin: 4px 0 0; line-height: 1.5; }
/* v2.25 AI first draft (team only) */
.rv-ai-banner { margin: 16px 0 0; padding: 16px 20px; border: 1px solid var(--ember-glow); border-left: 3px solid var(--ember);
  border-radius: 12px; display: grid; gap: 8px; }
.rv-ai-banner p { margin: 0; line-height: 1.5; }
.rv-ai-ref summary { cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; min-height: 32px; display: flex; align-items: center; }
.rv-ai-ref .eyebrow { margin: 12px 0 4px; }
.rv-ai-ref p.small { white-space: pre-wrap; }
.rv-ai-pill { margin-left: 8px; color: var(--ember); border-color: var(--ember-glow); letter-spacing: .02em; }
.rv-ai { margin: 8px 0 0; }
.rv-limit-form { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin-top: 16px; }
.rv-limit-form input { width: 96px; }
.rv-home { display: block; color: inherit; text-decoration: none; border-left: 3px solid var(--ember); }
.rv-home h2 { margin: 2px 0 8px; }
.rv-home:hover { border-color: var(--faint); border-left-color: var(--ember-hot); }
.rv-quote { margin: 0; color: var(--muted); line-height: 1.5; }
.rv-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--ember);
  vertical-align: middle; }
.rv-wait { margin: 12px 0 0; }
.rv-past-list { list-style: none; margin: 16px 0 0; padding: 0; }
.rv-past { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0;
  border-top: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.rv-past:hover { color: var(--ember-hot); }
.rv-email { margin-top: 16px; }
.rv-foot { margin: 8px 4px 24px; }
@media (max-width: 640px) {
  .rv-item-top { flex-wrap: wrap; }
  .rv-big { font-size: 18px; }
}
.rv-past > span:last-child { white-space: nowrap; flex: none; }
.rv-load { margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.rv-load strong { color: var(--fg); font-variant-numeric: tabular-nums; }
.rv-behind { margin: 8px 0 0; }

/* v2.23 Today's creators (scouts): one creator per row, big tap targets, phones first */
.sc-head { flex-wrap: wrap; row-gap: 12px; }
.sc-progress { flex-basis: 100%; height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.sc-progress span { display: block; height: 100%; background: var(--ember); border-radius: 999px; }
.sc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.sc-row { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 32px;
  display: grid; gap: 16px; transition: border-color .2s, box-shadow .2s; }
.sc-row.returned { border-color: var(--ember); box-shadow: 0 0 0 3px var(--ember-glow); }
.sc-row.returned .sc-btn[data-sc="messaged"] { background: var(--ember); border-color: var(--ember); color: var(--bg); }
.sc-row.returned .sc-btn[data-sc="skip"] { border-color: var(--ember); }
.sc-row.done { padding: 0; gap: 0; opacity: .7; }
.sc-row.done.open { opacity: 1; border-color: var(--line-strong, var(--line)); }
/* v2.26 a done row is one big tap target; tapping it opens "Undo — put back on my list" */
.sc-done-head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; width: 100%;
  min-height: 52px; padding: 14px 32px; border: 0; background: none; color: var(--fg); font: inherit; text-align: left;
  cursor: pointer; border-radius: var(--radius); }
.sc-done-head:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
.sc-reset { display: grid; gap: 12px; padding: 0 32px 20px; }
.sc-reset .btn { justify-self: start; min-height: 44px; }
.sc-hint { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px;
  padding: 16px 24px; border: 1px solid var(--ember); border-radius: var(--radius); background: var(--surface); }
.sc-hint p { margin: 0; }
.sc-hint .link-btn { flex: none; min-height: 44px; }
.sc-done-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-who { display: flex; align-items: center; gap: 14px; min-height: 56px; color: var(--fg); text-decoration: none; }
a.sc-who strong { text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; }
.sc-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-2); }
.sc-avatar-blank { display: grid; place-items: center; font-weight: 700; font-size: 20px; color: var(--muted); }
.sc-names { display: grid; min-width: 0; font-size: 17px; }
.sc-names strong, .sc-names .sub-line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-fast { font-size: 12px; font-weight: 600; color: var(--up); }
.sc-note { margin: -6px 0 0; font-size: 14px; }
.sc-stats { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin: 0; }
.sc-stats dt { font-size: 12px; color: var(--muted); }
.sc-stats dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sc-btn { min-height: 52px; font-size: 16px; }
.sc-more { display: grid; justify-items: center; gap: 8px; margin: 24px 0; }
.sc-more .btn { min-height: 52px; min-width: 220px; }
.sc-tile .hero-mini { margin-top: 16px; }
.sc-by { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
/* v2.57 one bar per scout; v2.59 two: name · [New outreach bar 12 / 100, Follow-ups bar 3 / 5] */
.sc-by li { display: grid; grid-template-columns: minmax(0, 160px) minmax(0, 1fr); align-items: start; gap: 16px; }
.sc-by li + li { border-top: 1px solid var(--line); padding-top: 16px; }
.sc-by { gap: 16px; }
.sc-who { display: grid; gap: 4px; min-width: 0; }
.sc-who .sub-line { font-size: 12px; }
.sc-by .sc-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-bars { display: grid; gap: 6px; min-width: 0; }
.sc-bar { display: grid; grid-template-columns: 96px minmax(0, 1fr) 72px; align-items: center; gap: 12px; }
.sc-lab { font-size: 12px; color: var(--muted); white-space: nowrap; }
.sc-by .meter { margin: 0; height: 8px; }
.sc-by .meter i { background: var(--ember); }
.sc-by .sc-bar.fu .meter i { background: var(--ember); opacity: .6; }  /* v2.72 #54 one in-progress colour (was a blue used nowhere else) */
.sc-hit { color: var(--up); font-weight: 700; }
.sc-by .sc-bar .meter.done i { background: var(--up); }
.sc-by .sc-count { text-align: right; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; margin: 0; }
.sc-by .sc-count strong { color: var(--fg); font-size: 16px; }
.sc-line { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.sc-dl { color: var(--ember); font-weight: 600; }
.sc-switch { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.sc-switch input { width: 20px; height: 20px; accent-color: var(--ember); }
.sc-count { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; color: var(--muted); font-size: 14px; }
.sc-count input { width: 72px; }
.sc-cats { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; grid-column: 1 / -1; }
.sc-cats legend { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.sc-cat { display: inline-flex; align-items: center; gap: 6px; }
/* v2.28 follow-ups, skip reason, history, conversations, the finish moment */
.sc-row.followup { border-color: var(--line-strong, var(--line)); border-left: 4px solid var(--ember); }
.sc-fu { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; }
.sc-fu .link-btn { margin-left: auto; min-height: 36px; }
.sc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sc-steps .sc-btn { min-height: 48px; font-size: 16px; padding-left: 8px; padding-right: 8px; }
.sc-steps-mini { grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; }
.sc-steps-mini .btn { min-height: 40px; }
.sc-blocked-note { margin: -4px 0 0; }
.sc-mix { flex-basis: 100%; margin: 0; color: var(--fg); }
.sc-mix .muted { color: var(--muted); }
.sc-week { margin: -8px 0 16px; color: var(--muted); }
.sc-week strong { color: var(--fg); font-variant-numeric: tabular-nums; }
.sc-finish { text-align: center; display: grid; justify-items: center; gap: 8px; margin-bottom: 16px; padding: 32px; border-color: var(--ember); }
.sc-finish h2 { margin: 0; font-size: 22px; }
.sc-finish .sub { margin: 0; }
.sc-finish .btn { min-width: 220px; margin-top: 8px; }
canvas.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 40; }
.sheet-scrim { position: fixed; inset: 0; background: rgba(10, 10, 12, .55); z-index: 30; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: 20px 20px 0 0; width: min(640px, 100vw);
  max-height: 88vh; overflow-y: auto; padding: 32px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); display: grid; gap: 16px; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.sheet-head h2 { margin: 0; font-size: 20px; overflow-wrap: anywhere; }
.sheet .close { border: 1px solid var(--line); background: var(--surface-2); width: 40px; height: 40px; border-radius: 999px; cursor: pointer; flex: none; color: var(--fg); }
.sheet h3 { margin: 8px 0 0; font-size: 16px; }
.sheet-field { display: grid; gap: 6px; font-size: 14px; }
.sheet-field textarea { width: 100%; font: inherit; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); }
.sheet-note { display: grid; gap: 10px; justify-items: start; }
.sheet-note .sheet-field { justify-self: stretch; }
/* v4.36.1 phone Connect sheet: the two actions full width, stacked */
.cn-sheet { display: grid; gap: 12px; margin-top: 16px; }
.cn-sheet .btn { width: 100%; text-decoration: none; }
.cn-sheet .sub { margin: 0; }
.cn-inapp { display: grid; gap: 10px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); }
.cn-inapp p { margin: 0; }
body.sheet-open { overflow: hidden; }
/* v2.76 desktop: a centred dialog, not a sheet pinned to the bottom edge (phones keep the bottom sheet) */
@media (min-width: 721px) {
  .sheet-scrim { align-items: center; padding: 24px; }
  .sheet { border-radius: 20px; padding-bottom: 32px; }
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); font: inherit; cursor: pointer; }
.chip[aria-checked="true"] { border-color: var(--ember); box-shadow: 0 0 0 2px var(--ember-glow); font-weight: 600; }
.chip:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.sc-history { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sc-history li { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sc-note-text { white-space: pre-wrap; }
.sc-convos { margin-top: 24px; padding: 32px; }
.sc-convos summary { display: flex; align-items: baseline; gap: 12px; cursor: pointer; list-style: none; min-height: 44px; }
.sc-convos summary::-webkit-details-marker { display: none; }
.sc-convos summary h2 { margin: 0; font-size: 18px; }
.sc-convos summary::after { content: "▾"; margin-left: auto; color: var(--muted); }
.sc-convos[open] summary::after { content: "▴"; }
.sc-found { display: grid; gap: 10px; margin: 16px 0 24px; }
.sc-found label { display: grid; gap: 8px; font-size: 14px; }
.sc-found-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.sc-found input { min-height: 44px; }
.sc-convos-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 12px; }
.sc-convos-tools input[type="search"] { min-height: 44px; flex: 1 1 200px; }
.sc-convo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sc-convo { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; text-align: left;
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); font: inherit; cursor: pointer; min-height: 56px; }
.sc-convo strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.sc-custom { font-weight: 600; }
.sc-custom-range { flex-basis: 100%; }
.sc-rules { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.sc-week-h { margin: 24px 0 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.sc-week-table td, .sc-week-table th { padding: 10px 12px; }
.brought-in { margin: 4px 0 16px; }
@media (max-width: 720px) {
  .sc-row { padding: 20px; gap: 14px; }
  .sc-done-head { padding: 12px 20px; }
  .sc-reset { padding: 0 20px 16px; }
  .sc-reset .btn { justify-self: stretch; }
  .sc-hint { padding: 14px 20px; align-items: flex-start; }
  .sc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; }
  .sc-stats .sc-wide { grid-column: 1 / -1; }
  .sc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-steps-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet { padding: 24px 20px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .sc-convos { padding: 20px; }
  .sc-stats dd { font-size: 16px; }
  .sc-more .btn { width: 100%; }
}

/* ---------- v2.24 team access by person */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.no-access { padding: 32px; display: grid; gap: 16px; justify-items: start; }
.my-links { padding: 24px 32px; }
/* Desktop: tabs never clip. They sit beside the logo while everything fits; otherwise (fitNav) on their own row under
   the logo and the controls, wrapping if the window is narrower still. */
@media (min-width: 721px) {
  .tabs a { flex: none; white-space: nowrap; }
  .topbar .controls, .topbar .brand { flex: none; }
  body.nav-row .topbar { flex-wrap: wrap; row-gap: 14px; }
  body.nav-row .tabs { order: 3; flex: 1 0 100%; flex-wrap: wrap; margin: 0 0 -6px -16px; }
}
.acc { display: grid; gap: 10px; min-width: 260px; max-width: 420px; }
.acc-preset { justify-self: start; }
.acc-boxes { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.acc-boxes .check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--fg); white-space: nowrap; }
.acc-boxes .check:has(input:disabled) { opacity: .7; }
@media (max-width: 720px) { .acc { min-width: 0; max-width: none; } }
.sc-viewing { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 14px; font-weight: 600; color: var(--muted); }
.sc-viewing select { width: auto; min-width: 260px; max-width: 100%; }
/* v2.26 scout search settings + preview */
form.grant.sc-settings, .sc-settings #sc-fields { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
#sc-own-wrap[hidden] { display: none; }
.sc-range { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 16px; }
.sc-cats { display: flex; flex-wrap: wrap; gap: 10px 20px; border: 0; padding: 0; margin: 0; }
.sc-cats legend { width: 100%; margin-bottom: 10px; font-weight: 600; }
.sc-cats .small { flex-basis: 100%; margin: 0; }
.sc-cat { min-height: 32px; }
.sc-settings-actions { display: flex; flex-wrap: wrap; gap: 12px; }
#sc-own-wrap { margin: 4px 0 16px; font-weight: 600; }
#sc-for-note { margin: -12px 0 12px; }
.sc-preview { margin-top: 16px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.sc-preview h3 { margin: 0 0 8px; font-size: 16px; }
.sc-preview p { margin: 0 0 12px; }
.sc-preview-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
@media (max-width: 720px) {
  .sc-range { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sc-settings-actions .btn { flex: 1 1 100%; }
  .sc-preview { padding: 16px 20px; }
  .sc-viewing select { min-width: 0; flex: 1; }
}

/* v2.27 team: shop videos (30 days) from TikTok's creator marketplace */
.market-card .kpis { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.market-trend { margin-top: 24px; }
.market-trend .hint { margin-top: 8px; }
.check-note { color: var(--muted); font-size: 12px; }
.check-banner { margin: 0 0 24px; padding: 16px 20px; border-radius: 12px; border: 1px solid var(--warn); color: var(--fg); }
.check-banner strong { color: var(--warn); }
.check-banner.soft { border-color: var(--line); color: var(--muted); }
.ck-list { display: grid; gap: 12px; margin: 16px 0 0; }
.ck-list li { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }
.ck-sub { margin: 24px 0 0; font-size: 14px; }

/* v2.30 Performance tab (admins only) */
.perf-month { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-left: auto; }
.perf-month select { font: inherit; color: var(--fg); background: var(--card, var(--bg)); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.perf-table td.perf-money { font-weight: 700; }
.perf-table td.perf-rank { color: var(--muted); width: 48px; }
.perf-table tr.perf-row.on td { background: var(--hover, transparent); }
@media (max-width: 1100px) { .perf-kpis > :last-child { grid-column: 1 / -1; } }
@media (max-width: 720px) {
  .perf-month { margin-left: 0; width: 100%; }
  .perf-month select { flex: 1; }
}

/* v2.31 Creators + Logins in one tab: each row's login state + the ⋯ menu; the invite forms fold away above the list */
.vrow .handle { display: flex; align-items: center; gap: 8px; min-width: 0; }
.vrow .h-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 0 1 auto; }
.vrow .sub-line .login-chip { margin-right: 6px; }
.login-chip { flex: none; font-size: 12px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.row-menu { flex: none; width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); cursor: pointer; font-weight: 700; line-height: 1; }
.row-menu:hover, .row-menu:focus-visible { border-color: var(--fg); }
.sheet-actions { display: grid; gap: 10px; margin-top: 16px; }
.sheet-actions .btn { width: 100%; }
.sheet-actions .sub { margin: 0; }
.btn.danger { color: var(--down); }
.logins-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 32px; }
.logins-box > summary { cursor: pointer; padding: 22px 0; font-weight: 600; }
.logins-box[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.logins-box #login-forms { display: grid; gap: 24px; padding-bottom: 32px; }
.logins-box #login-forms .card { padding: 0; border: 0; }
#logins-needs:empty { display: none; }
@media (max-width: 720px) {
  .logins-box { padding: 0 20px; }
  .login-chip { font-size: 12px; padding: 1px 8px; }
}
.login-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 32px; margin: 24px 0; }
.login-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.login-facts dd { margin: 0; overflow-wrap: anywhere; }
.login-card .row-actions { justify-content: flex-start; margin-top: 8px; }
.login-card .add-acct-row { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.needs-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; }
.needs-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.needs-list li > div { min-width: 0; }
@media (max-width: 720px) { .needs-list li { flex-wrap: wrap; row-gap: 8px; } }  /* v2.45 the button drops under the text, never past the card */
.need-req { display: grid; gap: 6px; justify-items: end; }
@media (max-width: 720px) { .need-req { justify-items: start; } }
/* v2.72 #40 act in place: ✓ on the row, then it folds away */
.row-done > *:not(.row-tick) { opacity: .45; pointer-events: none; }
.row-tick { color: var(--up); font-weight: 600; white-space: nowrap; }
.row-gone { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .row-tick { animation: nudge-in .3s ease-out; }
  .row-gone { animation: row-fold .3s ease-in forwards; }
}
@keyframes row-fold { to { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin: 0; } }
/* v2.45 desktop rows: chips and the note wrap onto a second line rather than run past the column; a chip too long
   for the column shortens with "…" inside its own border (full text on hover). */
@media (min-width: 721px) {
  .vrow .sub-line { display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; row-gap: 2px;
    white-space: nowrap; max-height: 44px; overflow: hidden; }
  .vrow .sub-line > * { max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}

/* v2.31 Campaigns tab */
.camp-card h2 a { color: inherit; text-decoration: none; }
.camp-card h2 a:hover { text-decoration: underline; }
.camp-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.camp-tiles > div { display: grid; gap: 4px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.camp-tiles span { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.camp-tiles strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.camp-tiles em { font-style: normal; font-size: 12px; color: var(--muted); }
.camp-tiles .mbar { background: var(--line); margin-top: 6px; }  /* v4.126 the Sales tile's video / LIVE bar: a visible track (was the tile colour) */
.camp-card .note, .camp-product .note { margin-top: 16px; }
.camp-prod { display: flex; gap: 20px; align-items: flex-start; }
.camp-prod img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex: none; background: var(--surface-2); }
.camp-prod h2 { margin: 0 0 4px; font-size: 18px; overflow-wrap: anywhere; }
.camp-prod .sub { margin: 2px 0 0; }
.camp-nums { margin: 16px 0 8px; }
.camp-product .table-wrap { margin-top: 16px; }
.camp-product th, .camp-product td { padding-left: 20px; padding-right: 20px; }
.camp-product td:first-child, .camp-product th:first-child { padding-left: 32px; }
.camp-product td:last-child, .camp-product th:last-child { padding-right: 32px; }
.camp-product td[data-label="Sample"] { white-space: normal; min-width: 200px; }
details.decided { margin: 8px 0 0; border-top: 1px solid var(--line); }  /* v2.61 lines up with the rows above (was indented) */
details.decided > summary { cursor: pointer; padding: 16px 0; }
@media (max-width: 900px) { .camp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .camp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .camp-tiles > div { padding: 12px 14px; }
  .camp-tiles strong { font-size: 18px; }
  .camp-prod img { width: 56px; height: 56px; }
}

/* v2.32 the last follow-up allowed (Jah's rule) */
.pill.warn { color: var(--warn); border-color: currentColor; }

/* v2.34 multi-account: a tag on each account's row; the combined line closes the accounts table */
.multi-pill { margin-right: 6px; padding: 1px 8px; font-size: 12px; letter-spacing: .04em; vertical-align: middle; white-space: nowrap; }
.person-card .total-row td { font-weight: 600; }
@media (min-width: 721px) { .person-card .total-row td { border-top: 1px solid var(--line); } }
.camp-by { margin-right: 6px; padding: 1px 8px; font-size: 12px; vertical-align: middle; }

/* v2.39 Collabs: get through the list */
.pass-btn { margin-top: 8px; width: 100%; background: transparent; border: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.pass-btn:hover { color: var(--fg); }
.progress-line { margin-top: 12px; }
.all-done { margin-top: 12px; color: var(--fg); }
.all-done strong { color: var(--up, #1f7a4d); }
.passed-box summary { cursor: pointer; font-weight: 600; }
.passed-box .needs-list { margin-top: 16px; }

/* v2.40 Videos due: overdue in red on the team side (the creator's own screens stay kind: amber, no red) */
.late-text { color: var(--down); }
.status.late-text { font-weight: 600; }
tr.late td:first-child { box-shadow: inset 3px 0 0 var(--down); }
tr.late-out td:first-child { box-shadow: inset 3px 0 0 var(--warn); }  /* v4.131 outside our campaigns: amber */
.videos-due .small-head { margin: 4px 0 16px; }
.videos-due .btn-row { margin-top: 16px; }
.next-due .headline { margin-bottom: 4px; }
.next-due .late-note { color: var(--warn); margin-top: 4px; }
@media (max-width: 640px) {
  table.stack tr.late { box-shadow: inset 3px 0 0 var(--down); padding-left: 16px; }
  table.stack tr.late td:first-child { box-shadow: none; }
  table.stack tr.late-out { box-shadow: inset 3px 0 0 var(--warn); padding-left: 16px; }
  table.stack tr.late-out td:first-child { box-shadow: none; }
}

/* v2.43 simplicity: "How it works" taps, folded cards, the reviewer's next-video button */
.howto { margin-top: 8px; }
.howto summary { cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.howto-body { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.howto-body p { margin: 0 0 8px; }
.howto-body ol, .howto-body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
details.fold > summary { cursor: pointer; font-weight: 600; font-size: 16px; min-height: 32px; display: flex; align-items: center; }
details.fold[open] > summary { margin-bottom: 8px; }
.rv-next { display: grid; gap: 8px; justify-items: start; }
.rv-next .btn, .rv-tile .btn-row .btn { min-height: 48px; padding: 0 24px; font-size: 16px; }
.rv-next p { margin: 0; }
.rv-count { margin: 8px 0 12px; font-size: 16px; }
.rv-sent { margin: 8px 0 0; color: var(--up); font-weight: 600; }
textarea.rv-note { resize: none; overflow: hidden; min-height: 40px; line-height: 1.4; }
.check-more summary { cursor: pointer; color: var(--muted); font-size: 12px; }
/* v2.43 join requests: one compact row each */
.req-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; }
.req-line { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.req-line:first-child { border-top: 0; }
.req-who { min-width: 0; flex: 1 1 200px; }
.req-rate { margin-left: 8px; color: var(--ember); }
.req-line .decide { min-width: 0; display: grid; gap: 4px; justify-items: end; }
.decide-note summary { cursor: pointer; color: var(--muted); font-size: 12px; text-align: right; }
.decide-note input { margin-top: 6px; width: 100%; min-width: 220px; }
@media (max-width: 720px) { .req-line .decide { width: 100%; justify-items: start; } .decide-note summary { text-align: left; } }
.howto > summary, details.fold > summary, .check-more > summary { list-style: none; }
.howto > summary::-webkit-details-marker, details.fold > summary::-webkit-details-marker, .check-more > summary::-webkit-details-marker { display: none; }
.howto > summary::before, details.fold > summary::before, .check-more > summary::before { content: "▸"; margin-right: 6px; }
.howto[open] > summary::before, details.fold[open] > summary::before, .check-more[open] > summary::before { content: "▾"; }

/* v2.44 simplicity pass, batch 2: the first phone screen does the job; the rest sits under "More" */
.hero-from { margin: 8px 0 4px; color: var(--muted); font-size: 16px; }
.do-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.do-list li { border-top: 1px solid var(--line); }
.do-list li:first-child { border-top: 0; }
.do-list a:not(.btn), .do-list li > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; color: var(--fg); min-height: 44px; justify-content: center; }
.do-list .name { font-weight: 600; }
.do-list .sub-line { color: var(--muted); font-size: 14px; }
.do-list a.is-late .sub-line { color: var(--warn); }
.sell-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sell-list li > div { flex: 1; min-width: 0; }
.do-next .card-head, .sell-next .card-head { margin-bottom: 8px; }
.home-row { display: flex; flex-direction: column; gap: 4px; color: var(--fg); }
.home-row-main { font-weight: 600; font-size: 16px; }
.home-row-sub { color: var(--ember); font-weight: 600; font-size: 14px; }
.connect-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.connect-bar p { margin: 0; font-size: 14px; }
details.more-box > summary { cursor: pointer; list-style: none; color: var(--muted); font-weight: 600; font-size: 14px; min-height: 44px;
  display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line); border-radius: var(--radius); }
details.more-box > summary::-webkit-details-marker { display: none; }
details.more-box > summary::before { content: "▸"; margin-right: 6px; }
details.more-box[open] > summary::before { content: "▾"; }
details.more-box[open] > summary { margin-bottom: 24px; }
details.more-box > .more-inner, details.more-box[open] { display: grid; gap: 24px; }
.one-line-list { list-style: none; margin: 0; padding: 0; }
.one-line-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.one-line-list li:first-child { border-top: 0; }
.one-line-list .muted { font-size: 14px; }
@media (max-width: 720px) {
  .connect-bar { padding: 14px 16px; }
  details.more-box[open] > summary { margin-bottom: 16px; }
  details.more-box[open] { gap: 16px; }
}
.settings-fold > .card, .login-fold > .card { border: 0; padding: 16px 0 0; background: none; box-shadow: none; }
.login-fold > .tt-line { margin: 8px 0 0; }
.perf-funnel { margin: 0; font-size: 16px; }
.perf-scouts .one-line-list .perf-money { color: var(--ember); font-variant-numeric: tabular-nums; }
.perf-rank { color: var(--muted); font-weight: 600; margin-right: 4px; }
.user-list { list-style: none; margin: 0; padding: 0; }
.user-list > li { border-top: 1px solid var(--line); }
.user-list > li:first-child { border-top: 0; }
.user-row > summary { cursor: pointer; list-style: none; display: flex; flex-direction: column; gap: 2px; padding: 12px 0; min-height: 44px; }
.user-row > summary::-webkit-details-marker { display: none; }
.user-row .u-name { font-weight: 600; }
.user-row .u-sub { color: var(--muted); font-size: 14px; }
.user-row .u-body { display: grid; gap: 10px; padding: 0 0 16px; }
.user-row .u-field { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.user-row .acc-boxes { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.sc-more-stats > summary { cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; list-style: none; }
.sc-more-stats > summary::-webkit-details-marker { display: none; }
.sc-more-stats > summary::before { content: "▸"; margin-right: 6px; }
.sc-more-stats[open] > summary::before { content: "▾"; }
.needs-today .late-text, .do-list .late-text { color: var(--warn); }

/* v2.47 Send invite: the invite chain on a team row, the creator's Add to your showcase box, product approval */
.req-sub { margin: 18px 0 6px; font-size: 14px; color: var(--muted); font-weight: 600; }
.req-sent .req-who { flex: 1 1 auto; }
.invite-chain { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-top: 6px; font-size: 14px; color: var(--muted); }
.invite-chain a { font-weight: 600; }
.invite-chain .status { font-size: 14px; }
.invite-note { margin: 6px 0 0; max-width: 34ch; }
.invite-box { display: grid; gap: 8px; justify-items: start; }
.invite-box .sub { margin: 0; }
.btn.invite-go { width: 100%; justify-content: center; text-align: center; }
.review-box { margin-top: 12px; display: grid; gap: 10px; justify-items: start; }
.reject-pick { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.reject-pick[hidden] { display: none; }  /* v3.51 Reject asks its reason only after the tap */
.reject-pick select { margin-left: 6px; }
.flash { animation: req-flash 2.4s ease-out 1; border-radius: 10px; }
@keyframes req-flash { 0%, 40% { box-shadow: 0 0 0 2px var(--ember-glow); } 100% { box-shadow: none; } }

/* v2.50 Where you started */
.started-card .started-one + .started-one { margin-top: 20px; }
.started-card h3 { margin: 0 0 4px; }
.started-card .hint { margin-top: 8px; }

/* v2.51 Notifications: the bell in the top bar, Phone / Email switches per kind */
.account.notif-link { width: 36px; padding: 0; justify-content: center; text-decoration: none; color: var(--muted); }
.account.notif-link[aria-current="page"] { color: var(--fg); border-color: var(--faint); }
.notif-page .notif-phone { margin: 0 0 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 12px; }
.notif-page .notif-phone h3 { margin: 0 0 8px; }
.notif-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.notif-table td, .notif-table th { white-space: normal; overflow-wrap: anywhere; }
.notif-table th, .notif-table td { padding: 16px 0 16px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.notif-table th:first-child, .notif-table td:first-child { padding-left: 0; }
.notif-table th.sw, .notif-table td.sw { width: 96px; text-align: center; }
.saved-tick { display: block; color: var(--up); font-weight: 600; min-height: 1.2em; margin-top: 4px; } /* v2.71 */
.notif-soon { margin: 0 0 8px; }
.notif-table .sub-line { display: block; font-weight: 400; }
/* v2.59 the same settings in a sheet from the bell */
.sheet.sheet-wide { width: min(760px, 100vw); }
.notif-in-sheet .notif-phone { margin: 0 0 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; }
.notif-in-sheet .notif-phone h3 { margin: 0 0 8px; }
.switch { position: relative; display: inline-flex; align-items: center; cursor: pointer; min-height: 36px; }
.switch input { position: absolute; opacity: 0; width: 44px; height: 26px; margin: 0; cursor: pointer; }
.switch .track { width: 44px; height: 26px; border-radius: 999px; background: var(--line); border: 1px solid var(--faint); position: relative; transition: background .15s; }
.switch .track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--fg); transition: transform .15s; }
.switch input:checked + .track { background: var(--ember); border-color: var(--ember); }
.switch input:checked + .track::after { transform: translateX(18px); background: #0A0A0C; }
.switch input:focus-visible + .track { outline: 2px solid var(--ember-glow); outline-offset: 2px; }
.switch input:disabled + .track { opacity: .5; }
@media (max-width: 720px) {
  .notif-page .notif-phone { padding: 16px; }
  .notif-table th.sw, .notif-table td.sw { width: 64px; }
  .notif-table th, .notif-table td { padding: 14px 0 14px 12px; }
}

/* v2.57 Creators sub-nav (All creators · Growth since joining) */
/* v4.14 overflow-x: auto made overflow-y auto too, and the tabs hung 1 px under the row (margin-bottom: -1px), so phones
   showed a vertical scrollbar on the right. The line is now an inset shadow the tab underline paints over; no scrollbar. */
.subnav { display: flex; gap: 4px; margin: 0; box-shadow: inset 0 -1px 0 var(--line); overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { padding: 10px 16px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none;
  border-bottom: 2px solid transparent; white-space: nowrap; flex: none; }
.subnav .sn-short { display: none; }
@media (max-width: 640px) {
  .subnav { gap: 0; }
  .subnav a { padding: 10px 12px; }
  .subnav a:first-child { padding-left: 4px; }
  .subnav .sn-full { display: none; }
  .subnav .sn-short { display: inline; }
}
.subnav a:hover { color: var(--fg); }
.subnav a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--ember); }
/* v2.57 Growth since joining: the day a waiting number lands + a small countdown bar */
.growth-why { margin: 0 0 16px; color: var(--muted); font-size: 14px; max-width: 80ch; }
.lands { display: inline-grid; justify-items: end; gap: 4px; min-width: 96px; }
.lands-date { font-weight: 600; }
.lands .meter { margin: 0; width: 96px; height: 6px; }
.lands .meter i { background: var(--ember); }
.lands .sub-line { font-size: 12px; }
@media (max-width: 720px) { .lands { justify-items: end; } }
/* v2.57 product names in tables: the short name on one line, the full name on hover and in the detail */
.pname { display: block; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 720px) { .pname { max-width: 100%; } }
@media (max-width: 720px) {  /* v2.59 phones: the name on its own line, then label · bar · count per bar */
  .sc-by { gap: 16px; }
  .sc-by li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .sc-bar { grid-template-columns: 84px minmax(0, 1fr) 60px; gap: 10px; }
}

/* v2.58 Discord posts card (Settings; v2.93 Discord announcements) */
.dc-list .dc-row { align-items: center; flex-wrap: wrap; }
.dc-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 280px; }
.dc-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* v2.93 Settings › Discord announcements: Edit fold per row, live preview drawn like a Discord message */
.dc-edit { flex: 1 1 100%; margin-top: 4px; }
.dc-edit > summary { cursor: pointer; color: var(--muted); font-size: 14px; min-height: 36px; display: flex; align-items: center; gap: 8px; }
.dc-edit > summary:hover { color: var(--fg); }
.dc-form { display: grid; gap: 16px; padding: 16px 0 8px; max-width: 680px; }
.dc-field { display: grid; gap: 6px; }
.dc-field > span:first-child { font-size: 14px; font-weight: 600; color: var(--muted); }
.dc-ch { display: flex; align-items: center; gap: 2px; color: var(--muted); }
.dc-ch input { flex: 1; max-width: 280px; }
.dc-form textarea { width: 100%; resize: vertical; font: inherit; line-height: 1.45; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); }
.dc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-chips .chip { min-height: 32px; padding: 4px 12px; font-size: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.dc-cats { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.dc-cats .small { flex: 1 1 100%; }
.dc-buttons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dc-form .error { margin: 0; }
.dc-form .error:empty { display: none; }
.dc-msg { background: #313338; color: #DBDEE1; border-radius: 10px; padding: 14px 16px; font-size: 14px; line-height: 1.45; }
.dc-msg p { margin: 0; }
.dc-msg strong { color: #F2F3F5; }
.dc-more { margin-top: 6px !important; color: #949BA4; font-style: italic; }
.dc-embed { display: flex; justify-content: space-between; gap: 16px; background: #2B2D31; border-left: 4px solid var(--bar); border-radius: 4px; padding: 10px 14px; }
.dc-embed p { margin-top: 4px; }
.dc-art { flex: 0 0 auto; display: flex; }

/* ================================================================ v2.61 design review part 1 */
/* glitch: an empty source badge left an empty pill in the header */
.badge:empty { display: none; }
/* #35 motion: the helper in app.js animates transforms only; nothing here moves under reduced motion */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; } }

/* slim bars (meterBar): ember = you / ours, green up, red down, amber warn, grey "before" */
.mbar { display: block; height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; min-width: 40px; }
.mbar > i { display: block; height: 100%; border-radius: inherit; background: var(--ember); }
.mbar.up > i { background: var(--up); }
.mbar.down > i { background: var(--down); }
.mbar.warn > i { background: var(--warn); }
.mbar.grey > i { background: var(--bar); }
.mbar.fg > i { background: var(--fg); }
.mbar.thick { height: 10px; }

/* #2 one compact bar row */
.brows { list-style: none; margin: 0; padding: 0; display: grid; }
.brow + .brow { border-top: 1px solid var(--line); }
.brow[hidden] { display: none; }
.brow-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 0;
  color: inherit; text-decoration: none; width: 100%; background: none; border: 0; font: inherit; text-align: left; cursor: default; }
a.brow-in, button.brow-in { cursor: pointer; }
a.brow-in:hover .brow-name, button.brow-in:hover .brow-name { text-decoration: underline; text-underline-offset: 3px; }
.brow-in:not(:has(.brow-thumb)) { grid-template-columns: minmax(0, 1fr) auto; }
.brow-thumb { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center;
  position: relative; color: var(--muted); flex: none; }
.brow-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brow-thumb svg { width: 20px; height: 20px; }
.brow-thumb .initials { font-size: 14px; font-weight: 800; font-stretch: 120%; color: var(--faint); }
.brow-main { display: grid; gap: 4px; min-width: 0; }
.brow-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brow-sub { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brow-main .mbar { margin-top: 4px; }
.brow-end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.brow-val { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 16px; white-space: nowrap; }
.brows-more { margin-top: 12px; }
.vchip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.vchip.up { color: var(--up); border-color: var(--up-line); }
.vchip.warn { color: var(--warn); border-color: var(--warn-line); }
.vchip.ember { color: var(--ember); border-color: var(--focal-line); }
.vchip svg { width: 13px; height: 13px; }
/* v2.84 the Creators list's status chips: each one filters the list; the one on is filled */
.status-chips { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: 10px; vertical-align: middle; }
button.status-chip { cursor: pointer; background: none; font: inherit; font-size: 12px; font-weight: 600; min-height: 28px; }
button.status-chip:hover { border-color: var(--muted); color: var(--fg); }
button.status-chip.on { background: var(--ember); border-color: var(--ember); color: var(--bg); }
/* v4.65 the reviews "Aesthetic" filter + row tag */
.rv-style-bar { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.vchip.former-chip { color: var(--muted); border-style: dashed; }
button.status-chip.former-chip.on { border-style: solid; }
.was-line { margin: 4px 0 0; }
.was-line .linkish { margin-left: 6px; }
@media (max-width: 720px) { .status-chips { display: flex; margin: 8px 0 0; } }

/* stage dots (journeys / trackers) */
.stages { list-style: none; margin: 12px 0 0; padding: 0; display: flex; gap: 0; }
.stages li { flex: 1; position: relative; display: grid; justify-items: center; gap: 6px; font-size: 12px; color: var(--faint); text-align: center; min-width: 0; }
.stages li::before { content: ""; position: absolute; top: 5px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.stages li:first-child::before { content: none; }
.stages li.done::before, .stages li.now::before { background: var(--ember); }
.stages li i { position: relative; width: 12px; height: 12px; border-radius: 999px; background: var(--surface-2); border: 2px solid var(--line); }
.stages li.done i { background: var(--ember); border-color: var(--ember); }
.stages li.now i { background: var(--surface); border-color: var(--ember); box-shadow: 0 0 0 4px var(--ember-glow); }
.stages li.now.bad i { border-color: var(--warn); box-shadow: 0 0 0 4px var(--warn-line); }
.stages li.done span, .stages li.now span { color: var(--fg); }
.stages li.now span { font-weight: 700; }
.stages span { overflow: hidden; text-overflow: ellipsis; max-width: 100%; padding: 0 2px; }
.stages.st-compact span { display: none; }
.stages.st-compact { max-width: 160px; }
@media (prefers-reduced-motion: no-preference) {
  .stages li.now i { animation: stage-pulse 1.8s ease-in-out infinite; }
}
@keyframes stage-pulse { 50% { box-shadow: 0 0 0 7px transparent; } }

/* progress ring */
.ring { position: relative; display: inline-grid; place-items: center; flex: none; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring-track { stroke: var(--surface-2); }
.ring.dashed .ring-track { stroke: var(--line); stroke-dasharray: 6 6; }
.ring-fill { stroke: var(--ember); stroke-linecap: round; }
.ring.hit .ring-fill { stroke: var(--up); }
.ring-in { position: relative; text-align: center; font-size: 12px; line-height: 1.25; color: var(--muted); padding: 0 10px; }
.ring-in strong { display: block; color: var(--fg); font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* #36 skeletons */
.sk-page { display: grid; gap: inherit; }
main > .sk-page { gap: 32px; }
.sk { display: block; background: var(--surface-2); border-radius: 8px; }
.sk-line { height: 12px; margin: 10px 0; }
.sk-big { height: 48px; width: 42%; margin: 16px 0; border-radius: 10px; }
.sk-card { min-height: 120px; }
.sk-hero { min-height: 200px; }
.sk-row { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.sk-row:first-of-type { border-top: 0; }
.sk-dot { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.sk-col { flex: 1; }
.page-head .sk-line { height: 28px; min-width: 160px; }
@media (prefers-reduced-motion: no-preference) {
  .sk { animation: sk-pulse 1.4s ease-in-out infinite; }
}
@keyframes sk-pulse { 50% { opacity: .45; } }

/* #38 long names: 2 lines, the shop on the next line */
.clamp2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
/* #39 roomier phone cards where rows were tight: Samples, Results, Users (table cells elsewhere stay as they are) */
@media (max-width: 720px) {
  #app[data-page="samples"] .card, #app[data-page="performance"] .card, #app[data-page="users"] .card { padding: 32px 24px; }
  #app[data-page="samples"] table.stack tr, #app[data-page="performance"] table.stack tr, #app[data-page="users"] table.stack tr { padding: 24px 0; }
  #app[data-page="samples"] table.stack td, #app[data-page="performance"] table.stack td, #app[data-page="users"] table.stack td { padding: 6px 0; }
  #app[data-page="performance"] .perf-kpis .kpi, #app[data-page="users"] .kpi { padding: 24px; }
  main > .sk-page { gap: 20px; }
}

/* #1 commission card: number + goal ring side by side, the 7-day sales line under them */
.hero-body { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero-left { display: grid; gap: 12px; min-width: 0; }
.hero-goal { display: grid; justify-items: center; gap: 8px; background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-align: center; max-width: 180px; }
div.hero-goal { cursor: default; }
.hero-goal .ring { width: 112px !important; height: 112px !important; }
.hero-goal .ring-in strong { font-size: 17px; }
.hero-goal .ring-in { font-size: 12px; }
.hero-goal-name { font-size: 12px; color: var(--muted); line-height: 1.3; }
button.hero-goal:hover .hero-goal-name { color: var(--fg); }
.hero-trend { margin-top: 8px; }
/* v3.03 Home: one bar per day = that day's sales; best day solid ember, the rest a softer ember, $0 = hairline */
.hero-bars .bar-sale { fill: var(--ember); opacity: .4; transition: opacity .15s; }
.hero-bars .bar-best { opacity: 1; }
.hero-bars .bar-zero { fill: var(--faint); opacity: .6; }
.hero-bars.scrubbing .bar-sale { opacity: .22; }
.hero-bars.scrubbing .bar-best { opacity: .5; }
.hero-bars .bars .on { opacity: 1; }
.hero-bars .bar-zero.on { fill: var(--muted); }
.hero-trend-cap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.hero-trend-cap strong { color: var(--fg); }
.best-key { display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: var(--ember); margin-right: 6px; }
@media (max-width: 720px) {
  .hero-goal .ring { width: 92px !important; height: 92px !important; }
  .hero-goal .ring-in strong { font-size: 14px; }
  .hero-goal { max-width: 120px; }
  .hero-body { gap: 12px; align-items: flex-start; }
}

/* ---------------------------------------------------------------- v2.61 creator view */
.ic { width: 20px; height: 20px; flex: none; }
.vchip .ic, .tag .ic { width: 13px; height: 13px; }
.tag .ic { margin-right: 4px; vertical-align: -2px; }

/* #9 Do this next: icon tile per row type, urgency colour, post-by bar, truck dots */
.do-list a.do-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 0; }
.do-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.do-due .do-ic, .do-review .do-ic { background: var(--ember-glow); color: var(--ember); }
.do-soon .do-ic { background: var(--warn-line); color: var(--warn); }
.do-late .do-ic { background: color-mix(in srgb, var(--down) 22%, transparent); color: var(--down); }
.do-invite .do-ic { background: var(--up-line); color: var(--up); }
.do-txt { display: grid; gap: 3px; min-width: 0; }
.do-txt .mbar { margin-top: 6px; max-width: 320px; }
.do-soon .sub-line { color: var(--warn); }
.do-late .sub-line { color: var(--down) !important; }
.do-go { color: var(--faint); font-size: 22px; line-height: 1; }
.way-dots { display: flex; gap: 6px; margin-top: 6px; }
.way-dots i { width: 8px; height: 8px; border-radius: 999px; background: var(--faint); }
@media (prefers-reduced-motion: no-preference) {
  .way-dots i { animation: way-dot 1.6s ease-in-out infinite; }
  .way-dots i:nth-child(2) { animation-delay: .2s; } .way-dots i:nth-child(3) { animation-delay: .4s; }
  .way-dots i:nth-child(4) { animation-delay: .6s; } .way-dots i:nth-child(5) { animation-delay: .8s; }
}
@keyframes way-dot { 50% { background: var(--ember); } }
.mbar.window.warn > i { background: var(--warn); }
.mbar.window.down > i { background: var(--down); }
.all-clear { display: flex; align-items: center; gap: 10px; color: var(--muted); margin: 0; }
.all-clear .ic { color: var(--up); }

/* #12 Do this next + best video side by side on desktop */
.home-pair { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.home-pair > .card { margin: 0; }
a.best-video { display: flex; gap: 20px; align-items: flex-start; color: var(--fg); text-decoration: none; }
a.best-video:hover { border-color: var(--focal-line); }
.bv-tile { width: 64px; height: 84px; border-radius: 14px; flex: none; display: grid; place-items: center; color: #fff;
  background: linear-gradient(160deg, var(--ember), color-mix(in srgb, var(--ember) 45%, #000)); }
.bv-tile .ic { width: 26px; height: 26px; }
.bv-main { display: grid; gap: 6px; min-width: 0; }
.bv-main .eyebrow { margin: 0; }
.bv-earned { font-size: 16px; color: var(--muted); }
.bv-earned strong { font-size: 28px; font-weight: 800; color: var(--ember); font-variant-numeric: tabular-nums; display: block; line-height: 1.15; }
@media (max-width: 900px) { .home-pair { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* #7 our rate vs the normal rate */
.sell-list li { align-items: center; }
.sell-thumb { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; position: relative; background: var(--surface-2); display: grid; place-items: center; flex: none; }
.sell-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sell-thumb .initials { font-size: 14px; font-weight: 800; color: var(--faint); }
.sell-list .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag.gift { color: var(--up); border-color: var(--up-line); }

/* #4 Where you started: start / now bars */
.sb-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 20px; }
.sb-row { display: grid; gap: 8px; }
.sb-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sb-label { font-weight: 600; font-size: 14px; }
.sb-line { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(64px, auto); align-items: center; gap: 12px; font-size: 14px; }
.sb-k { color: var(--muted); font-size: 12px; }
.sb-v { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sb-v .muted { font-size: 12px; }
.sb-text p { margin: 0; }

/* #5 "More" as a real section header, not a faint dashed link */
details.more-box > summary { justify-content: flex-start; gap: 12px; padding: 18px 24px; border: 1px solid var(--line); background: var(--surface);
  color: var(--fg); font-size: 16px; font-weight: 700; min-height: 60px; }
details.more-box > summary::before { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg); margin: 0 4px 0 2px; transition: transform .2s; flex: none; }
details.more-box[open] > summary::before { content: ""; transform: rotate(45deg); }
details.more-box > summary:hover { border-color: var(--focal-line); }
.more-what { color: var(--muted); font-weight: 500; font-size: 14px; }
@media (max-width: 720px) {
  details.more-box > summary { padding: 16px 20px; flex-wrap: wrap; row-gap: 2px; }
  .more-what { flex-basis: 100%; padding-left: 26px; font-size: 14px; }
  .bv-tile { width: 52px; height: 68px; }
}

/* #16 one period switch for creators: the one on the page; the top bar copy is hidden */
body.role-creator #days, body.role-creator .period-select { display: none; }
.head-range { display: grid; justify-items: end; gap: 8px; }
.head-range .meta { text-align: right; }
@media (max-width: 720px) { .head-range { justify-items: start; } .head-range .meta { text-align: left; } }

/* #11 type tiles on bar rows (video / LIVE / shared link) */
.type-tile { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.type-tile.t-video { background: var(--ember-glow); color: var(--ember); }
.type-tile.t-live, .type-tile.t-pre_live { background: color-mix(in srgb, var(--warn) 22%, transparent); color: var(--warn); }
.type-tile .ic { width: 18px; height: 18px; }
.brow .brow-thumb:has(.type-tile) { background: none; }
.brow-val .unit { color: var(--muted); font-weight: 500; font-size: 12px; }
.brow-name .vname { font-weight: 600; }

/* #15 video reviews: stage line + icon chip per review */
.rv-rows { list-style: none; margin: 16px 0 0; padding: 0; }
.rv-row + .rv-row { border-top: 1px solid var(--line); }
.rv-row-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; color: var(--fg); text-decoration: none; }
a.rv-row-in:hover .rv-name { text-decoration: underline; text-underline-offset: 3px; }
.rv-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.rv-row:has(.rv-new) .rv-ic { background: var(--ember-glow); color: var(--ember); }
.rv-main { display: grid; gap: 4px; min-width: 0; }
.rv-name { font-weight: 600; }
.rv-main .stages { max-width: 320px; margin-top: 6px; }
@media (prefers-reduced-motion: no-preference) { .rv-new { animation: rv-new 1.2s ease-out 1; } }
@keyframes rv-new { 0% { transform: scale(.85); box-shadow: 0 0 0 0 var(--ember-glow); } 60% { transform: scale(1.06); box-shadow: 0 0 0 8px transparent; } 100% { transform: none; } }
@media (max-width: 720px) {
  .rv-row-in { grid-template-columns: auto minmax(0, 1fr); }
  .rv-row-in > .vchip { grid-column: 2; justify-self: start; }
}

/* #13 slim Connect bar with a grey preview of the views line */
.tt-slim { flex-wrap: wrap; }
.tt-slim > p:not(.tt-result) { flex: 1 1 260px; }
.tt-slim .tt-result { flex-basis: 100%; }
.ghost-line { display: grid; justify-items: end; gap: 2px; width: 160px; flex: none; }
.ghost-line svg { width: 160px; height: 36px; }
.ghost-line path { fill: var(--surface-2); }
.ghost-line path.gl { fill: none; stroke: var(--bar); stroke-width: 2; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.ghost-line span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
@media (max-width: 720px) { .ghost-line { display: none; } }

/* #10 trending tiles */
.trend-tile { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.trend-tile.tr-rising { background: var(--ember-glow); color: var(--ember); }
.trend-tile.tr-cooling { color: #6BA6D9; }
.rank-n { display: inline-block; min-width: 18px; color: var(--faint); font-weight: 700; font-variant-numeric: tabular-nums; margin-right: 6px; }
/* phones: the chip drops under the name so the name keeps its width */
@media (max-width: 720px) {
  .brow-in { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 8px; column-gap: 14px; }
  .brow-end { display: contents; }
  .brow-thumb { grid-row: span 2; align-self: start; }
  .brow-in:not(:has(.brow-thumb)) .brow-main { grid-column: 1; }
  .brow-val { grid-column: -2; grid-row: 1; align-self: start; text-align: right; }
  .brow-end > .vchip { grid-column: 2 / -1; grid-row: 2; justify-self: start; }
  .brow-in:not(:has(.brow-thumb)) > .brow-end > .vchip { grid-column: 1 / -1; }
}
.earn { font-size: 12px; color: var(--muted); white-space: nowrap; }
.earn strong { color: var(--ember); font-weight: 700; }
@media (max-width: 720px) { .brow-end > .earn { grid-column: 2 / -1; grid-row: 2; justify-self: start; } }

/* #3 samples as journeys */
.sjobs { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 16px; }
.sjob { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; background: var(--surface); }
.sjob.late { border-color: color-mix(in srgb, var(--down) 50%, transparent); }
.sjob-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.sjob-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ember-glow); color: var(--ember); }
.sjob-name { display: grid; gap: 3px; min-width: 0; }
.sjob-name .name { font-weight: 600; }
.sjob .stages { margin: 0; max-width: 520px; }
.sjob-state .status { font-weight: 600; }
.sjob-state .sub-line { color: var(--muted); font-size: 14px; }
.sjob-due { display: grid; gap: 6px; font-size: 14px; color: var(--muted); max-width: 520px; }
.sjob-due.soon span { color: var(--warn); font-weight: 600; }
.sjob-due.late span { color: var(--down); font-weight: 600; }
.sjob-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.more-acts { position: relative; }
.more-acts > summary { list-style: none; cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; padding: 8px 12px; min-height: 36px;
  border-radius: 999px; border: 1px solid var(--line); display: inline-flex; align-items: center; }
.more-acts > summary::-webkit-details-marker { display: none; }
.more-acts > summary::after { content: "⋯"; margin-left: 6px; }
.more-acts[open] > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sgroup { margin: 32px 0 4px; font-size: 16px; }
.done-tile { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; background: var(--up-line); color: var(--up); font-weight: 700; }
.done-tile.gone { background: var(--surface-2); color: var(--faint); }
.done-tile .ic { width: 16px; height: 16px; }
.sdone .brow-in { padding: 12px 0; }
.sdone .brow-thumb { width: 36px; height: 36px; background: none; }
@media (max-width: 720px) {
  .sjob { padding: 20px; gap: 12px; }
  .sjob-top { grid-template-columns: auto minmax(0, 1fr); }
  .sjob-top > .vchip { grid-column: 2; justify-self: start; }
  .stages li span { font-size: 12px; }
}

/* ================================================================ v2.63 design review part 2: team view */
/* #18 Last 7 days: GMV + Orders as a 7-day bar chart and this-week vs week-before bars (no repeat of the period tiles) */
/* v3.79 was .wk-top: the creator Plan's later .wk-top (flex, space-between) overrode it and pushed Orders to the far right,
   leaving an empty middle (Basel 11-13). Own class now; three columns: GMV | Creators joined | Orders. */
.wk-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 20px 0 0; }
.wk-money { display: grid; gap: 6px; align-content: start; }
.wk-label { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.wk-big { margin: 0; font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.wk-days { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; height: 72px; margin: 12px 0 4px; }
.wk-day { display: grid; grid-template-rows: 1fr auto; gap: 4px; min-width: 0; }
.wk-day i { align-self: end; display: block; background: var(--ember); border-radius: 4px 4px 2px 2px; min-height: 2px; }
.wk-day span { text-align: center; color: var(--faint); font-size: 12px; }
.wk-vs { display: grid; gap: 8px; margin-top: 8px; }
.wk-vs > span { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.wk-vs em { font-style: normal; color: var(--muted); font-size: 12px; }
.wk-vs b { font-variant-numeric: tabular-nums; font-size: 14px; min-width: 56px; text-align: right; }
.week-grid.wk-small { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 20px; border-top: 1px solid var(--line); }
.week-grid.wk-small dd { font-size: 22px; }
.prod-filter { flex-wrap: wrap; }
@media (max-width: 720px) {
  .wk-cols { grid-template-columns: 1fr; gap: 28px; }
  .week-grid.wk-small { grid-template-columns: 1fr 1fr; }
  .wk-vs > span { grid-template-columns: 80px minmax(0, 1fr) auto; }
}
/* #19 period tiles: a small trend line under the change */
.kpi-spark { margin: 10px 0 2px; }
.kpi-spark .spark .line { stroke: var(--muted); stroke-width: 1.5; }
.kpi-spark .spark .area { fill: var(--surface-2); opacity: .6; }
.kpi.focal .kpi-spark .spark .line { stroke: var(--ember); }
.kpi.focal .kpi-spark .spark .area { fill: var(--ember-glow); }
/* #20 Needs you today: icon per type, count badge, a slim bar for how old the oldest one is */
.needs-today .do-list .do-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 0; flex-direction: initial; }
.needs-today .do-ic { background: var(--ember-glow); color: var(--ember); }
.needs-today .needs-late .do-ic, .needs-today .needs-review .do-ic { background: var(--warn-line); color: var(--warn); }
.needs-today .needs-ask .do-ic { background: var(--up-line); color: var(--up); }
.needs-n { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 999px; display: grid; place-items: center; font-weight: 800;
  font-variant-numeric: tabular-nums; background: var(--surface-2); color: var(--fg); font-size: 16px; }
.needs-n.late { background: var(--warn-line); color: var(--warn); }
.needs-age { display: grid; grid-template-columns: minmax(80px, 240px) auto; align-items: center; gap: 12px; margin-top: 8px; }
.needs-age > span:last-child { color: var(--muted); font-size: 12px; white-space: nowrap; }
@media (max-width: 720px) {
  .needs-age { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .needs-today .do-list .do-row { gap: 12px; }
}
/* #21 movers: was (grey) / now (green or red) bars; empty cards fold into one line under the grid */
.movers-grid.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.movers-grid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.movers-grid.n1 { grid-template-columns: minmax(0, 1fr); }
.movers-grid.n0 { display: none; }
.mv-bars { display: grid; gap: 3px; margin-top: 8px; width: 100%; max-width: 240px; align-self: stretch; }
.mv-bars .mbar { height: 5px; }
.mv-empties { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: -12px 0 0; color: var(--muted); font-size: 14px; }
.mv-empty { display: inline-flex; align-items: center; gap: 6px; }
.mv-empty .ic { width: 15px; height: 15px; color: var(--faint); }
.mv-empty strong { color: var(--fg); font-weight: 600; }
@media (max-width: 1100px) { .movers-grid.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .movers-grid.n3, .movers-grid.n2 { grid-template-columns: 1fr; } .mv-empties { margin-top: -8px; } }
.movers.mv-rising .mover-list li a, .movers.mv-falling .mover-list li a { flex: 1; }
/* #22 Products: GMV with a bar against the #1 product and a tiny trend line */
td.prod-gmv { min-width: 150px; }
td.prod-gmv .pg-val { display: block; }
td.prod-gmv .mbar { margin: 8px 0 0 auto; max-width: 140px; }
.mini-trend { display: block; margin: 6px 0 0 auto; overflow: visible; }
.mini-trend .line { fill: none; stroke: var(--ember); stroke-width: 1.5; }
.mini-trend .area { fill: var(--ember-glow); opacity: .5; stroke: none; }
@media (max-width: 720px) { td.prod-gmv .mbar, .mini-trend { margin-left: 0; } td.prod-gmv { text-align: left; } }
/* #23 Creators list: GMV bar against the top creator, goal as a mini ring, the name column stays put when the
   table scrolls sideways (desktop only; the phone layout is cards) */
.vrow .c-gmv { display: grid; justify-items: end; gap: 2px; }
.vrow .gmv-top { display: inline-flex; align-items: center; gap: 10px; }
.vrow .gmv-top .mbar { width: 48px; min-width: 0; }
.vrow .c-gmv .delta { font-size: 12px; white-space: nowrap; }
.goal-mini { display: inline-flex; align-items: center; gap: 6px; }
.goal-mini .ring circle { stroke-width: 14; }
@media (min-width: 1101px) {
  .vrow .who, .vhead > .vsort[data-csort="username"] { position: sticky; left: 0; z-index: 1; background: var(--surface); padding-right: 8px; }
  .vrow:hover .who { background: var(--surface-2); }
}
@media (max-width: 1100px) { .vrow .c-gmv { display: grid; } }
/* #24 Growth since joining: start (grey) / now (ember) bars on one scale per row; the lands bar grows in */
td.gr-bar { min-width: 120px; }
.gr-v { display: inline-grid; justify-items: end; gap: 8px; }
.gr-v .mbar { width: 100px; min-width: 0; }
.lands .mbar { width: 96px; min-width: 0; }
.delta .delta-pct { font-weight: 500; opacity: .85; }
/* #25 team creator page: the growth strip at the top */
.growth-sum { display: grid; gap: 16px; }
.gs-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.gs-head h2 { margin: 0; }
.gs-bars { display: grid; gap: 12px; }
.gs-line { display: grid; grid-template-columns: minmax(120px, 180px) 1fr auto; align-items: center; gap: 16px; }
.gs-k { color: var(--muted); font-size: 14px; }
.gs-v { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 72px; text-align: right; }
.growth-sum .see-all { justify-self: start; }
@media (max-width: 720px) { .gs-line { grid-template-columns: 1fr auto; } .gs-line .mbar { grid-column: 1 / -1; grid-row: 2; } }
/* #26 Videos due: one segmented bar for the summary, rows grouped by when, a post-by bar on each */
.due-seg { display: grid; gap: 12px; margin: 4px 0 24px; }
.ds-bar { display: flex; gap: 4px; }
.ds-part { min-width: 12px; }
.ds-part > i { display: block; height: 10px; border-radius: 999px; background: var(--ember); }
.ds-part.late > i { background: var(--down); }
.ds-part.wait > i { background: var(--bar); }
.ds-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ds-lbl { display: inline-flex; align-items: baseline; gap: 6px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.ds-lbl > i { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); align-self: center; }
.ds-lbl.late > i { background: var(--down); }
.ds-lbl.wait > i { background: var(--bar); }
.ds-lbl strong { color: var(--fg); font-size: 16px; }
.ds-lbl.late strong { color: var(--down); }
.due-table td[data-label="Due"] .mbar { margin-top: 8px; max-width: 180px; }
.due-table tr.due-grp th { padding-top: 24px; padding-bottom: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: left; border-top: none; }
.due-table tr.due-grp.grp-late th { color: var(--down); }
.due-table tr.due-grp.grp-out th { color: var(--warn); }  /* v4.131 outside our campaigns */
.ds-part.out > i, .ds-lbl.out > i { background: var(--warn); }
.ds-lbl.out strong { color: var(--warn); }
@media (max-width: 720px) {
  .due-table tr.due-grp { display: block; border: none; padding: 0; }
  .due-table tr.due-grp th { display: block; padding: 16px 0 4px; }
}
/* #27 Results: recruiting funnel, week bar on each payout row, link chips. The funnel is shared with #29. */
.funnel { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fn-step { display: grid; grid-template-columns: minmax(80px, 120px) 1fr minmax(120px, auto); align-items: center; gap: 16px; }
.fn-k { color: var(--muted); font-size: 14px; }
.fn-n { display: inline-flex; align-items: baseline; gap: 8px; justify-content: flex-end; font-variant-numeric: tabular-nums; }
.fn-n strong { font-size: 18px; }
.fn-rate { font-size: 12px; color: var(--muted); white-space: nowrap; }
.perf-who { display: grid; gap: 4px; min-width: 0; flex: 1; }
.perf-who .mbar { max-width: 260px; margin-top: 4px; }
.link-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.link-chips .vchip { text-decoration: none; }
@media (max-width: 720px) { .fn-step { grid-template-columns: 1fr auto; } .fn-step .mbar { grid-column: 1 / -1; grid-row: 2; } }
/* #28 Scout list: tick → slide out → done line slides in, cards below lift (FLIP in JS); 5-step sales meter */
.sc-row { position: relative; }
.sc-row.sc-tick::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 56px; font-weight: 800;
  color: var(--up); background: color-mix(in srgb, var(--surface) 78%, transparent); border-radius: inherit; animation: sc-pop .26s ease-out both; }
.sc-row.sc-out { transition: transform .22s ease-in, opacity .22s ease-in; transform: translateX(-12%); opacity: 0; }
.sc-row.sc-in { animation: sc-in .3s ease-out both; }
@keyframes sc-pop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes sc-in { from { opacity: 0; transform: translateX(8%); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sc-row.sc-tick::after, .sc-row.sc-in { animation: none; } .sc-row.sc-out { transition: none; } }
.sc-sales { display: grid; gap: 6px; }
.sc-steps5 { display: inline-flex; gap: 3px; }
.sc-steps5 i { width: 14px; height: 6px; border-radius: 3px; background: var(--surface-2); }
.sc-steps5 i.on { background: var(--ember); }
.sc-web-note { margin-bottom: 16px; }
/* #29 Campaign cards: time bar with today + sign-up cutoff, Creators → Samples → Videos funnel, closed = greyed */
.camp-time { margin-top: 24px; display: grid; gap: 8px; }
.ct-track { position: relative; height: 10px; border-radius: 999px; background: var(--surface-2); }
.ct-track > i { display: block; height: 100%; border-radius: inherit; background: var(--bar); }
.ct-now { position: absolute; top: -5px; width: 3px; height: 20px; margin-left: -1px; border-radius: 2px; background: var(--ember); }
.ct-reg { position: absolute; top: -3px; width: 2px; height: 16px; margin-left: -1px; background: var(--fg); opacity: .55; }
.ct-labels { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.ct-today { color: var(--fg); font-weight: 600; }
.ct-reg-note { margin: 0; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.ct-reg-key { display: inline-block; width: 2px; height: 12px; background: var(--fg); opacity: .55; }
.camp-funnel { margin-top: 24px; }
.camp-tiles-sm { grid-template-columns: repeat(5, minmax(0, 140px)); }
.camp-tiles > div.zero strong { color: var(--muted); font-weight: 500; }  /* v2.69 a 0 tile stays, quietly */
.camp-closed { opacity: .72; }
.camp-closed .ct-track > i { background: var(--line); }
@media (max-width: 720px) { .camp-tiles-sm { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* #30 Video reviews: workload bars, calm "All caught up" */
.rv-work { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px 24px; margin-bottom: 16px; }
.rv-w { display: grid; gap: 6px; }
.rv-w strong { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rv-w.zero strong { color: var(--muted); }
.rv-wk { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.rv-calm { display: flex; align-items: center; gap: 16px; margin: 8px 0; }
.rv-calm strong { font-size: 18px; }
.rv-calm-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--up-bg, var(--surface-2)); color: var(--up); flex: none; }
.rv-calm-ic .ic { width: 22px; height: 22px; }
@media (max-width: 720px) { .rv-work { grid-template-columns: 1fr 1fr; } .rv-work:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.rv-calm .sub-line { display: block; color: var(--muted); font-size: 14px; font-weight: 400; margin-top: 2px; }
/* #31 Creators asking to join: explainer behind a toggle, stage line per invited creator */
.how-this { margin-top: 4px; }
.how-this summary { cursor: pointer; font-size: 14px; color: var(--muted); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.how-this summary::-webkit-details-marker { display: none; }
.how-this summary::before { content: "ⓘ"; }
.how-this[open] summary { color: var(--fg); }
.how-this p { margin-top: 8px; max-width: 640px; }
.req-sent .stages { max-width: 440px; margin: 12px 0 8px; }
/* #32 Check on these creators: warning marker for flagged, faint dot for the watch list */
.ck-list li.ck-flag { flex-wrap: nowrap; align-items: flex-start; gap: 12px; }
.ck-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--warn); border: 1px solid var(--warn-line); flex: none; }
.ck-ic .ic { width: 16px; height: 16px; }
.ck-flag .sub-line { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.ck-list li.ck-watch { align-items: center; gap: 12px; }
.ck-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); opacity: .7; flex: none; }
.ck-list.soft .handle { color: var(--muted); }
/* #33 Daily GMV: faint day bars under the one 7-day line */
.chart .bar-day { fill: var(--ember); opacity: .28; }
.legend .swatch-bar { width: 10px; height: 10px; border-radius: 2px; background: var(--ember); opacity: .45; }
/* #34 Users: a status card per person, a clear Add button */
.user-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.user-list > li, .user-list > li:first-child { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.user-list > li:has(details[open]) { grid-column: 1 / -1; }
.user-row > summary { flex-direction: row; align-items: center; gap: 16px; padding: 20px 24px; }
.user-row .u-body { padding: 0 24px 24px; }
.u-av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none; background: var(--surface-2); color: var(--fg); font-weight: 700; font-size: 16px; }
.u-main { display: grid; gap: 8px; min-width: 0; }
.u-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.u-badge { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.u-badge.admin { color: var(--ember); background: none; border: 1px solid var(--focal-line); }
details.fold.add-member > summary::before { content: none; }
details.fold.add-member > summary .btn { display: inline-flex; align-items: center; gap: 8px; }
details.fold.add-member[open] > summary .btn { background: var(--surface-2); color: var(--fg); }
@media (max-width: 720px) { .user-list { grid-template-columns: 1fr; } .user-row > summary { padding: 16px 20px; } }
/* v2.61 #6 Collabs: progress bar under the count, stage dots per request */
.collab-hero .mbar { max-width: 420px; margin: 8px 0 12px; }
td .stages.st-compact { margin: 8px 0 0 auto; }
/* v2.61 #14 Collabs: time-left bar; phones = a header strip over full-width product cards, no card inside a card */
.camp-head .mbar { max-width: 420px; margin-top: 12px; }
@media (max-width: 720px) {
  section.card.camp { background: none; border: 0; padding: 0; }
  section.card.camp .camp-head { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
  section.card.camp .pgrid { grid-template-columns: 1fr; --pgap: 16px; }
  section.card.camp .pcard { background: var(--surface); padding: 24px; }
}
/* v2.65 sample delivery journey: start → finish bar, current dot pulses, a parcel rides the bar */
.jny { all: unset; box-sizing: border-box; display: grid; gap: 8px; width: 100%; max-width: 640px; cursor: pointer; padding: 4px 0; -webkit-tap-highlight-color: transparent; }
.jny:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; border-radius: 8px; }
.jny-track { position: relative; height: 26px; margin: 0 13px; }
.jny-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 999px; background: var(--line); }
.jny-fill { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; width: var(--to); border-radius: 999px; background: var(--ember); transform-origin: 0 50%; }
.jny-dot { position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 999px; transform: translate(-50%, -50%); background: var(--surface); border: 2px solid var(--line); }
.jny-dot.done { background: var(--ember); border-color: var(--ember); }
.jny-dot.now { border-color: var(--ember); box-shadow: 0 0 0 4px var(--ember-glow); }
.jny-pkg { position: absolute; top: 50%; left: var(--to); width: 26px; height: 26px; border-radius: 999px; transform: translate(-50%, -50%); display: grid; place-items: center;
  background: var(--ember); color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); z-index: 1; }
.jny-pkg .ic { width: 15px; height: 15px; }
.jny-delivered .jny-pkg { background: var(--up); }
.jny-labs { position: relative; height: 16px; margin: 0 13px; font-size: 12px; color: var(--faint); }
.jny-lab { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.jny-lab.end:first-child { transform: translateX(-13px); }
.jny-lab.end:last-child { transform: translateX(calc(-100% + 13px)); }
.jny-lab.now { color: var(--fg); font-weight: 700; }
.jny-meta { font-size: 14px; color: var(--muted); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; line-height: 1.45; }
.jny-l2 { grid-column: 1 / -1; font-size: 12px; }
.jny-here { color: var(--fg); }
.jny-eta { color: var(--fg); font-weight: 600; }
.jny-more { color: var(--ember); font-weight: 600; white-space: nowrap; font-size: 14px; }
.jny.bad .jny-dot.now { border-color: var(--warn); box-shadow: 0 0 0 4px var(--warn-line); }
.jny-cancelled .jny-fill, .jny-cancelled .jny-dot.done { background: var(--faint); border-color: var(--faint); }
.jny-cancelled .jny-here { color: var(--muted); text-decoration: line-through; }
.jny-compact .jny-track { height: 22px; }
.jny-compact .jny-pkg { width: 22px; height: 22px; }
@media (max-width: 560px) { .jny-labs { font-size: 12px; } }  /* v2.71 #19 every dot labelled (short words) */

@media (prefers-reduced-motion: no-preference) {
  .jny-dot.now { animation: stage-pulse 1.8s ease-in-out infinite; }
  .jny-pkg.go .ic { animation: jny-bob 1.6s ease-in-out infinite; }
}
@keyframes jny-bob { 50% { transform: translateY(-1.5px); } }
.jscans { list-style: none; margin: 16px 0 8px; padding: 0; display: grid; gap: 0; }
.jscans li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.jscans li:first-child { border-top: 0; font-weight: 600; }
.jsc-when { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .jscans li { grid-template-columns: 1fr; gap: 2px; } }
.jny-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.jny-list li { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.jny-list li:first-child { border-top: 0; }
.jny-cell { min-width: 220px; }
.due-list .jny { margin-top: 6px; }
.do-row .jny { margin-top: 8px; }
.jny-still { cursor: inherit; }

/* v2.66 scouting backlog: warning-coloured follow-ups count + short chips under the scout's name */
.sc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-chip { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: 12px;
  font-weight: 500; color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.sc-chip.warn { color: var(--warn); border-color: var(--warn-line); }
.sc-bar.behind .sc-count, .sc-bar.behind .sc-count strong { color: var(--warn); }
.sc-bar.behind .meter i { background: var(--warn); }

/* v2.66 (?) tips: a small round button next to a title; tap opens the text below the title (phones), hover or tap
   shows it as a popover on desktop. Text resets from the heading it sits in. */
.qtip { display: inline; position: relative; }
.qtip-btn, .tab-help { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 6px; padding: 0;
  vertical-align: 2px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted);
  font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1; cursor: pointer; transition: color .15s, border-color .15s; }
.qtip-btn::before, .tab-help::before { content: ""; position: absolute; inset: -10px; } /* 38px tap target */
.qtip-btn:hover, .qtip.open .qtip-btn, .tab-help:hover { color: var(--fg); border-color: var(--muted); }
.qtip-pop { display: none; font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--muted); letter-spacing: 0;
  text-transform: none; white-space: normal; text-align: left; }
.qtip.open .qtip-pop { display: block; margin: 6px 0 2px; animation: qtip-in .18s ease-out; }
@media (hover: hover) and (pointer: fine) {
  .qtip:hover .qtip-pop, .qtip.open .qtip-pop { display: block; position: absolute; z-index: 30; top: calc(100% + 6px);
    left: -8px; width: max-content; max-width: min(300px, 70vw); margin: 0; padding: 10px 12px; border-radius: 10px;
    background: var(--surface-2); color: var(--fg); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
}
@keyframes qtip-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .qtip.open .qtip-pop { animation: none; } }
/* v3.08 star help: three short lines, then one muted line */
.st-help, .st-help > span, .qtip-pop .st-from { display: block; }
.st-help > span { color: var(--text); white-space: nowrap; }
.qtip-pop .st-from { margin-top: 4px; font-size: 12px; }

/* v2.66 goals card: a set goal = small ring + "12 / 30 videos" + days left; suggestions = three dashed tiles. */
.goal.goal-c { grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 0; }
.goal-c .ring-in { padding: 0; color: var(--muted); }
.ic-wrap { display: inline-grid; place-items: center; }
.ic-wrap .ic { width: 18px; height: 18px; }
.goal-c.hit .ring-fill { stroke: var(--up); }
.goal-c-main { min-width: 0; }
.goal-c-amt { margin: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.goal-c-amt strong { color: var(--fg); font-size: 22px; font-weight: 800; }
.goal-c-when { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; }
.goal-c.hit .goal-c-when { color: var(--up); }
.goal-c .goal-actions { display: grid; gap: 4px; justify-items: end; font-size: 14px; }
.goal-suggest { display: block; margin: 4px 0; }
.sg-label { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.sg-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sg-tile { all: unset; box-sizing: border-box; cursor: pointer; display: grid; justify-items: center; gap: 4px; padding: 14px 6px 12px;
  border: 1px dashed var(--line); border-radius: 14px; text-align: center; transition: border-color .2s, transform .2s, background .2s; }
.sg-tile strong { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--fg); }
.sg-tile > span:last-child { font-size: 12px; color: var(--muted); }
.sg-tile .ring { margin-bottom: 4px; color: var(--muted); }
.sg-tile .ring-in { padding: 0; }
.sg-tile:hover { border-color: var(--muted); }
.sg-tile:focus-visible { outline: 2px solid var(--ember-glow); outline-offset: 2px; }
.sg-tile.picked { border-style: solid; border-color: var(--ember); background: var(--surface-2); transform: scale(1.04); }
.sg-tile.picked .ring-track { stroke: var(--ember); stroke-dasharray: 264 0; transition: stroke-dasharray .6s ease-out, stroke .3s; }
.sg-tile.picked .ring { color: var(--ember); }
.goal-ideas .sg-tiles { margin-top: 10px; }
.goal-foot-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-top: 14px; }
.goal-foot-row .goal-form-box { margin-top: 0; flex: 1 1 100%; order: 2; }
.goal-foot-row .goal-form-box:not([open]) { flex: 0 1 auto; order: 0; }
.goal-foot-row .see-all { margin: 0; }
.goal-form-box > summary.linkish { cursor: pointer; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.goal-cap-note { margin: 0; color: var(--warn); }
@media (prefers-reduced-motion: reduce) { .sg-tile, .sg-tile.picked .ring-track { transition: none; } .sg-tile.picked { transform: none; } }

/* v2.66 short product names: one line, ellipsis if the box is narrower still; tap swaps in the full title */
.pname { cursor: help; }
.pname.full { cursor: zoom-out; }
.due-list .name, .jny-list .name, .goal-c-main, .rv-list .name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* v2.66 "More info" folds open with a height + fade (browsers that can animate to auto; others just open) */
@supports (interpolate-size: allow-keywords) {
  details.more-box { interpolate-size: allow-keywords; }
  details.more-box::details-content { block-size: 0; opacity: 0; overflow: clip;
    transition: block-size .35s cubic-bezier(.2, .7, .2, 1), opacity .3s ease, content-visibility .35s allow-discrete; }
  details.more-box[open]::details-content { block-size: auto; opacity: 1; overflow: visible; }
  details.more-box::details-content { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { details.more-box::details-content { transition: none; } }
/* v2.66 Coming up on phones: a swipeable row of sample cards instead of a stack */
@media (max-width: 720px) {
  .card.due .due-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -16px; padding: 4px 16px 6px; scrollbar-width: none; }
  .card.due .due-list::-webkit-scrollbar { display: none; }
  .card.due .due-list li { flex: 0 0 80%; scroll-snap-align: start; padding: 14px; border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
  .card.due .due-list li:only-child { flex-basis: 100%; }
}
/* the ring's own svg is rotated to start at 12 o'clock; an icon inside it must not be */
.ring .ring-in svg.ic { position: static; inset: auto; transform: none; width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .qtip:hover .qtip-pop, .qtip.open .qtip-pop { margin-left: var(--qx, 0px); } }
/* v2.69 ended campaigns: one tappable line each inside the "Ended (n)" fold */
.ended-list li { display: block; }
.ended-row { display: grid; gap: 2px; color: inherit; text-decoration: none; min-height: 44px; }
.ended-row .name { font-weight: 600; }
.ended-row:hover .name { text-decoration: underline; }
/* v2.69 Nudge: the team's "Videos owed" rows and the creator's calm Home card */
/* v2.72 #21 Nudge on the right of each Videos due row; #44 the sent state with a paper plane flying off */
.due-table td.nudge-cell { text-align: right; white-space: nowrap; width: 1%; vertical-align: middle; }
.nudged { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.nudge-plane { width: 14px; height: 14px; flex-shrink: 0; }
.nudged:not(.just-sent) .nudge-plane { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .nudged.just-sent { animation: nudge-in .35s ease-out; }
  .nudged.just-sent .nudge-plane { animation: nudge-fly .9s ease-in .15s forwards; }
}
@keyframes nudge-in { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes nudge-fly { 0% { transform: none; opacity: 1; } 100% { transform: translate(18px, -14px) rotate(-12deg); opacity: 0; } }
@media (max-width: 720px) { .due-table td.nudge-cell { width: auto; text-align: left; } }
.nudge-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.nudge-card h2 { margin: 0 0 4px; font-size: 18px; }
.nudge-card .sub { margin: 0 0 16px; }
.nudge-x { flex-shrink: 0; width: 44px; height: 44px; margin: -12px -12px 0 0; border: 0; background: none; color: var(--muted); font-size: 16px; cursor: pointer; border-radius: 10px; }
.nudge-x:hover { background: var(--surface-2); color: var(--fg); }
.auto-nudge-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
/* v2.69 Results › Team output: five tiles, each a number over a small bar per day (per month for all time) */
.out-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.out-tile { display: grid; gap: 6px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); min-width: 0; }
.out-k { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }  /* v2.72 #51 sentence case, one line */
.out-tile strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.out-tile.zero strong { color: var(--muted); font-weight: 500; }
.out-bars { display: flex; align-items: flex-end; gap: 2px; height: 36px; }
.out-bars i { flex: 1 1 0; min-width: 2px; background: var(--ember); border-radius: 2px 2px 0 0; }
.out-bars i.none { background: var(--line); }
.team-output .card-head { flex-wrap: wrap; gap: 12px; }
/* v2.72 #51 no orphan tile: 3 + 2 wide on tablets, 2 + 2 + 1 full-width on phones */
@media (max-width: 1100px) { .out-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .out-tile { grid-column: span 2; } .out-tile:nth-child(n+4) { grid-column: span 3; } }
@media (max-width: 720px) { .out-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .out-tile, .out-tile:nth-child(n+4) { grid-column: auto; padding: 12px 14px; } .out-tile:last-child:nth-child(odd) { grid-column: 1 / -1; } .out-tile strong { font-size: 20px; } }
.perf-week { display: grid; gap: 4px; }
.nowrap { white-space: nowrap; }
/* v2.69 the opened campaign: per-video / per-sample tiles and the sales-by-product bars */
.camp-per { margin-top: 12px; grid-template-columns: repeat(3, minmax(0, 160px)); }
.camp-by-product { margin-top: 24px; }
.bar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bar-list li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) auto; align-items: center; gap: 12px; }
.bar-list strong { font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .camp-per { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bar-list li { grid-template-columns: minmax(0, 1fr) auto; } .bar-list .mbar { grid-column: 1 / -1; grid-row: 2; } }

/* v2.71 #1 "Which account?" sheet: tick rows; #36 the button pops into "Request sent ✓" */
.want-pick { display: grid; gap: 4px; padding: 8px 0 4px; }
.want-pick .tick-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--line); font-weight: 600; cursor: pointer; }
.want-pick .tick-row input { width: 20px; height: 20px; accent-color: var(--ember); }
.want-pick .btn { margin-top: 16px; }
.btn.want-sent { background: var(--up-line); color: var(--fg); border-color: var(--up); animation: want-pop .45s ease-out; }
@keyframes want-pop { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .btn.want-sent { animation: none; } }

/* v2.71 #2 + #37 review page: fixes on top (tap to open the note), the checklist as a score ring */
.rv-fixes { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.rv-fixes summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; gap: 8px; }
.rv-fixes .rv-note-read { margin: 0 0 8px 28px; }
.rv-score { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.rv-score h2 { margin: 0; }
.ring-mini { --p: 0; width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: radial-gradient(closest-side, var(--surface) 72%, transparent 73%), conic-gradient(var(--up) calc(var(--p) * 1%), var(--line) 0); }
.ring-mini.fill-in { animation: ring-fill .9s ease-out both; }
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
@keyframes ring-fill { from { --p: 0; } }
.rv-next { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 16px; }

/* v2.71 #3 late cards stand out; #5 filter chips instead of the summary sentence */
.sjob.late { border-left: 4px solid var(--down); }
.sjob.missing { border-left: 4px solid var(--warn); }
.schips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.schip { border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); border-radius: 999px; padding: 8px 14px; min-height: 40px; font: inherit; font-size: 14px; cursor: pointer; }
.schip strong { margin-left: 4px; }
.schip[aria-pressed="true"] { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.schip.late { border-color: var(--down); }
.schip.late[aria-pressed="true"] { background: var(--down); border-color: var(--down); color: #fff; }
.how-steps { margin: 8px 0 16px; padding-left: 20px; display: grid; gap: 12px; line-height: 1.5; }

/* v2.71 #7 the creator's own money is the big number */
.earn-big { color: var(--ember); font-size: 17px; }
.earn-sales { display: block; font-size: 12px; color: var(--muted); font-weight: 500; white-space: nowrap; text-align: right; }

/* v2.71 #8 sample source chip + free-sample gift tag */
.src-chip { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); vertical-align: 1px; }
.tag.gift svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 2px; color: var(--ember); }

/* v2.71 #14 connected = one quiet line under the title */
.tt-synced { margin: 0 0 16px; padding: 0 4px; line-height: 1.6; overflow-wrap: anywhere; }  /* v3.69 never pulled onto a card's border */
.acct-list .linkish { margin-left: 8px; }
.since-chip { margin: 0 0 8px; }

/* v2.71 #18 names wrap to 2 lines, never cut to "Kitche…"; meta lines may wrap too */
.brow-name, .pname, .due-list .name, .jny-list .name, .rv-list .name, .sjob-name .name {
  white-space: normal; text-overflow: clip; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.pname { max-width: none; }
.brow-sub { white-space: normal; text-overflow: clip; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.camp-desc p.clamped { -webkit-line-clamp: 3; line-clamp: 3; }
.tag.sold { border: 0; background: none; padding-left: 0; color: var(--ember); font-weight: 600; }

/* v2.71 #11 rate bars on each card with a "+10%" chip */

/* v2.71 #48 sample cards show the product picture (initials underneath) */
.sjob-ic.pic { position: relative; overflow: hidden; background: var(--surface-2); color: var(--faint); }
.sjob-ic.pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sjob-ic.pic .initials { font-size: 12px; font-weight: 800; }

/* v2.71 #53 handle chips hug their text (no stretched pills in flex columns) */
.acct-tag { width: max-content; max-width: 100%; align-self: flex-start; justify-self: start; font-size: 12px; padding: 0 7px; overflow: hidden; text-overflow: ellipsis; }

/* v2.71 #52 desktop Home: Do this next 65% / best video 35%; Sell next = product tiles side by side; tighter story */
@media (min-width: 901px) {
  .home-pair { grid-template-columns: minmax(0, 65fr) minmax(0, 35fr); gap: 20px; }
  .sell-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .sell-list li { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; align-items: flex-start; flex-wrap: wrap; }
  .sell-list li > .btn, .sell-list li > a.btn { align-self: flex-end; }
  .hero-commission + * { margin-top: 16px; }
}

/* v2.71 #54 Notifications on phones: stacked rows (label on top, switches under), not a squeezed table */
@media (max-width: 560px) {
  .notif-table thead { display: none; }
  .notif-table tr { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .notif-table td { border: 0; padding: 0; width: auto !important; }
  .notif-table td.lead { grid-column: 1 / -1; }
  .notif-table td.sw { display: flex; align-items: center; gap: 8px; justify-content: flex-start; }
  .notif-table td.sw::before { content: attr(data-label); font-size: 14px; color: var(--muted); }
  .notif-table td.sw:empty { display: none; }
}

/* v2.71 #41 Home charts you can touch */
.hero-spark { touch-action: pan-y; cursor: crosshair; }
.minibar-labs { display: flex; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--faint); }
.minibar-labs span { flex: 1; text-align: center; white-space: nowrap; }
.minibars i[data-peek], .stackbar i[data-peek] { cursor: help; }
.ins-dots { display: none; }
@media (max-width: 720px) {
  .ins-dots { display: flex; justify-content: center; gap: 6px; margin: 8px 0 0; }
  .ins-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .2s, width .2s; }
  .ins-dots i.on { background: var(--fg); width: 16px; border-radius: 3px; }
}

/* v2.71 #46 small creator touches */
.views-card .chart .bar.hot { fill: var(--ember); }
.pill-btn { border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); border-radius: 999px; padding: 6px 16px; min-height: 36px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.pill-btn:hover { border-color: var(--fg); }
.pill-btn.done { border-color: var(--up); color: var(--up); }

/* v2.71 #36 "Go through them": one product card at a time, swipe or tap */
.stack-wrap .meter { margin: 4px 0 16px; }
.stack-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--surface); display: grid; gap: 10px; touch-action: pan-y; user-select: none; will-change: transform; }
.stack-card h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.stack-pic { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 240px; border-radius: 12px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.stack-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stack-pic .initials { font-size: 28px; font-weight: 800; color: var(--faint); }
.stack-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 8px; }
.stack-acts .btn { min-height: 52px; }
.stack-end { display: grid; gap: 16px; padding: 16px 0; }
.progress-line .pill-btn { margin-left: 8px; }

/* v2.71 #39 swiped sample card: its actions in one row (buttons stay for non-swipers) */
.sjob { touch-action: pan-y; }
.sjob-swipe { display: none; gap: 8px; flex-wrap: wrap; padding-top: 12px; border-top: 1px dashed var(--line); }
.sjob.swiped .sjob-swipe { display: flex; animation: swipe-in .25s ease-out; }
.sjob.swiped .sjob-acts:not(.sjob-swipe) { display: none; }
@keyframes swipe-in { from { transform: translateX(24px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sjob.swiped .sjob-swipe { animation: none; } }
.stack-card > .vchip, .stack-card > .tag { justify-self: start; }

/* ---------------------------------------------------------------- v2.72 team view */
/* #40 a Needs-you-today row that opens its sheet is a button that looks exactly like the link rows */
.needs-today .do-list button.do-row { width: 100%; background: none; border: 0; font: inherit; color: var(--fg); text-align: left; cursor: pointer; min-height: 44px; }
.needs-today .do-list li.has-act { display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: 12px; }
.needs-today .do-list li.has-act .pc-btn-wrap { padding-left: 52px; }
/* #27 Partner Center as a button, the path in its (?) */
.pc-btn-wrap { display: inline-flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.pc-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
/* #26 the Campaigns to-dos as one strip of count chips */
.todo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.todo-strip .vchip { min-height: 32px; display: inline-flex; align-items: center; }
.todo-strip .pc-btn-wrap { margin-left: auto; }
@media (max-width: 720px) { .todo-strip .pc-btn-wrap { margin-left: 0; } }
.camp-todos > .card { margin-top: 16px; }
.asks-sheet .req-card { border: 0; padding: 0; background: none; box-shadow: none; }
/* #40 Join requests follow the finger on phones */
.req-list .req-line { touch-action: pan-y; transition: transform .2s ease; }
.req-line[data-swipe="invite"] { box-shadow: inset 4px 0 0 var(--up); }
.req-line[data-swipe="decline"] { box-shadow: inset -4px 0 0 var(--down); }
/* #28 "Where they started" folded into the Growth card */
.gs-more { margin-top: 12px; }
.gs-more > summary { cursor: pointer; color: var(--muted); font-size: 14px; min-height: 32px; display: flex; align-items: center; }
.gs-more > .card { border: 0; padding: 0; margin: 8px 0 0; background: none; box-shadow: none; }
/* #29 product rates as chips; #51 the campaign card's stats in one row, Open as a chevron */
.rate-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rate-chips .vchip.rate { font-weight: 700; color: var(--fg); }
.rate-chips .vchip.up { color: var(--up); }
.camp-row { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.camp-row > div { padding: 10px 12px; }
.camp-row span { font-size: 12px; text-transform: none; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.camp-card > .card-head { flex-wrap: nowrap; align-items: flex-start; }
.camp-card > .card-head > div { min-width: 0; flex: 1; }
.camp-row strong { font-size: 18px; }
@media (max-width: 720px) { .camp-tiles.camp-row { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; } .camp-row > div { padding: 8px; } .camp-row strong { font-size: 16px; } .camp-row span { font-size: 12px; } }
.camp-open { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: var(--muted); flex-shrink: 0; }
.camp-open:hover { color: var(--fg); background: var(--surface-2); }
.src-note { margin-top: 12px; }
/* #30 scout: one slim dismissible tip line; follow-up meta under the name, History as an icon */
.sc-hint.sc-slim { padding: 8px 8px 8px 16px; border-color: var(--line); font-size: 14px; color: var(--muted); }
.sc-hint.sc-slim .link-btn { min-width: 44px; min-height: 44px; }
.sc-row .sc-fu { margin-top: 8px; }
.icon-btn.sc-hist { margin-left: auto; display: inline-grid; place-items: center; width: 44px; height: 36px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.icon-btn.sc-hist:hover { color: var(--fg); }
/* #32 one bulk-invite banner, grey not-invited chips, Discord off = one line; #51 user cards: name + role, then access + last used */
.invite-all { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.user-row .u-role { font-weight: 400; font-size: 14px; color: var(--muted); margin-left: 4px; }
.dc-off { padding-top: 16px; padding-bottom: 16px; }
.dc-off p { margin: 0; }
/* #49 phones: 5 tabs + More; desktop shows every tab and no More */
.tabs .nav-more { display: none; }
@media (max-width: 720px) {
  .tabs a.nav-extra { display: none; }
  .tabs .nav-more { display: inline-flex; flex: 1; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border: 0; border-radius: 12px; background: none; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
  .tabs .nav-more svg { width: 22px; height: 22px; }
  .tabs .nav-more[aria-current="true"] { color: var(--fg); background: var(--surface-2); }
}
.more-list { display: grid; gap: 4px; }
.more-link { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 12px; border-radius: 12px; color: var(--fg); }
.more-link:hover { background: var(--surface-2); }
.more-link svg { width: 22px; height: 22px; color: var(--muted); }
/* #33 Growth since joining: Ready first, Ready soon folded */
.gr-grp { margin: 16px 0 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.gr-soon { margin-top: 20px; }
.gr-soon > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; }
/* #50 creator page header: avatar + @handle (+ the other accounts as chips), two equal buttons */
.creator-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; margin: 8px 0 16px; }
.creator-head h1 { margin: 0; overflow-wrap: anywhere; }
.ch-av { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; background: var(--surface-2); display: grid; place-items: center; font-weight: 700; font-size: 22px; color: var(--muted); }
.ch-accts { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.ch-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ch-btns .btn { justify-content: center; white-space: nowrap; }
@media (max-width: 720px) { .creator-head { grid-template-columns: auto minmax(0, 1fr); } .ch-btns { grid-column: 1 / -1; } .ch-av { width: 48px; height: 48px; } }
/* #45 sticky section chips on the creator page */
.sec-chips { position: sticky; top: var(--topbar-h, 64px); z-index: 4; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; margin: 0 0 12px; background: var(--bg); }
.sec-chips::-webkit-scrollbar { display: none; }
.sec-chips .vchip { flex-shrink: 0; min-height: 36px; display: inline-flex; align-items: center; }
.sec-chips .vchip.on { border-color: var(--ember); color: var(--fg); }
#c-growth, #c-videos-due, #c-products, #c-videos, #login-fold { scroll-margin-top: 140px; }
/* #47 the queue row's product flows into the review form's title */
.rv-title { view-transition-name: rv-hero; }
::view-transition-group(rv-hero) { animation-duration: .35s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
/* #54 zero tile: muted number + a next step */
.out-next { font-size: 12px; color: var(--ember); font-weight: 600; }

/* ---------------------------------------------------------------- v2.73 review stars, game-style */
.stars { display: inline-flex; gap: 2px; line-height: 1; vertical-align: -2px; }
.stars .st { color: var(--line); font-size: 1em; }
.stars .st.on { color: var(--gold); }
.stars.big { gap: 10px; font-size: 52px; }
.stars.big .st.on { text-shadow: 0 0 18px var(--gold-glow); }
.stars.pop .st { opacity: 0; transform: scale(.2) rotate(-25deg); animation: st-pop .55s cubic-bezier(.2, 1.6, .4, 1) forwards;
  animation-delay: calc(var(--i) * 280ms + 150ms); position: relative; }
.stars.pop .st.on::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--gold-glow), transparent 65%); opacity: 0;
  animation: st-shine .9s ease-out forwards; animation-delay: calc(var(--i) * 280ms + 400ms); }
@keyframes st-pop { 60% { opacity: 1; transform: scale(1.25) rotate(6deg); } 100% { opacity: 1; transform: none; } }
@keyframes st-shine { 30% { opacity: 1; transform: scale(1.3); } 100% { opacity: 0; transform: scale(1.8); } }
.rv-stars { text-align: center; padding: 28px 32px 24px; }
.rv-stars .st-title { margin: 12px 0 0; font-size: 20px; }
.rv-stars.fresh .st-title, .rv-stars.fresh .st-moment { opacity: 0; animation: st-fade .4s ease-out forwards; animation-delay: 1.15s; }
@keyframes st-fade { to { opacity: 1; } }
.st-moment { margin: 10px auto 0; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--gold); color: var(--gold); font-weight: 600; font-size: 14px; }
.st-moment.up { background: var(--gold); color: #0A0A0C; }
.st-moment.calm { border-color: var(--line); color: var(--muted); font-weight: 500; }
.rv-nextstar .eyebrow .stars { font-size: 16px; }
.st-chip { color: var(--gold); border-color: var(--gold-glow); letter-spacing: 1px; font-size: 14px; }
.st-chip .st-off { color: var(--line); }
.st-bonus { font-size: 12px; padding: 1px 7px; color: var(--gold); border-color: var(--gold-glow); vertical-align: 1px; }
.rv-item.soft .icon { width: 11px; height: 11px; }
.st-filter { margin: 4px 0 12px; gap: 8px; }
.st-filter .chip { min-height: 36px; padding: 4px 14px; }
.st-filter .chip.on { border-color: var(--gold); color: var(--gold); }
.lv-card { padding: 24px 32px; }
.lv-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lv-top h2 { margin: 0; font-size: 16px; }
.lv-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; font-weight: 700;
  background: var(--surface-2); border: 1px solid var(--gold); color: var(--gold); }
.lv-star .lv-badge, .lv-pro .lv-badge { background: var(--gold); color: #0A0A0C; }
/* v3.11 one bar, 4 equal segments, the ember → gold gradient runs across all four (each segment shows its quarter) */
.lv-segs { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 4px; margin: 12px 0 0; }
.lv-seg { min-width: 0; }
.lv-track { position: relative; display: block; height: 8px; border-radius: 999px; background: var(--heat-empty, var(--line)); overflow: hidden; }
.lv-fill { position: absolute; inset: 0; border-radius: 999px; clip-path: inset(0 calc(100% - var(--w, 0%)) 0 0 round 999px);
  background: linear-gradient(90deg, var(--ember), var(--gold)) no-repeat; background-size: calc(var(--n, 4) * 100%) 100%;
  background-position: calc(var(--i) / (var(--n, 4) - 1) * 100%) 0; }
.lv-fill.grow { animation: lv-grow .8s ease-out both; animation-delay: calc(var(--i) * .15s); }
@keyframes lv-grow { from { clip-path: inset(0 100% 0 0 round 999px); } }
.lv-name { display: block; margin-top: 4px; font-size: 12px; line-height: 13px; color: var(--muted); text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-seg.mine .lv-name { color: var(--fg); font-weight: 700; }
.lv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 0; padding-top: 9px; border-top: 1px solid var(--line); }
.lv-stats div { margin: 0; }
.lv-stats dt { font-size: 12px; line-height: 15px; color: var(--muted); }
.lv-stats dd { margin: 1px 0 0; font-size: 16px; line-height: 20px; font-weight: 700; }
.lv-next { margin: 8px 0 0; }
/* team: stars on the form + Creator Score */
.st-pick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; }
.st-pick .seg { display: inline-flex; gap: 6px; }
.st-pick .seg button { min-height: 44px; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2);
  color: var(--muted); font: inherit; font-size: 17px; letter-spacing: 1px; cursor: pointer; }
.st-pick .seg button[aria-pressed="true"] { color: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-glow); }
.rv-stars-pick { margin: 18px 0 8px; }
.st-done { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 18px; }
.st-ai { font-size: 14px; color: var(--muted); }
.sc-spark { width: 120px; height: 28px; vertical-align: middle; }
.sc-spark path { fill: none; stroke: var(--gold); stroke-width: 2; }
.c-score { width: 64px; }
@media (prefers-reduced-motion: reduce) {
  .stars.pop .st, .stars.pop .st.on::after, .rv-stars.fresh .st-title, .rv-stars.fresh .st-moment, .lv-fill.grow { animation: none; opacity: 1; transform: none; }
  .stars.pop .st.on::after { opacity: 0; }
}
.cs-top { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; }
.cs-q { color: var(--muted); font-size: 14px; }
.cs-score { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.cs-score strong { font-size: 22px; color: var(--fg); }
.cs-list { list-style: none; margin: 14px 0 0; padding: 0; }
.cs-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.cs-list a { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: inherit; text-decoration: none; }
.out-stars strong { color: var(--gold); }
/* v2.74 the Bonus row's Yes / No is the same pill as Good / Fix: "No" fills calm grey (no inset box clipped by the radius) */
.rv-item.soft .rv-v.fix[aria-pressed="true"] { background: var(--muted); color: var(--bg); }

/* v2.74 "Mark all as followed up" (scout list) */
.sc-bulk summary { cursor: pointer; font-weight: 600; }
.sc-bulk-body { margin-top: 12px; display: grid; gap: 10px; }
.sc-bulk-list { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow: auto; border-top: 1px solid var(--line); }
.sc-bulk-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.sc-bulk-list label { display: flex; align-items: center; gap: 10px; }
.sc-bulk textarea { width: 100%; margin-top: 6px; }
/* v4.07 Invite link box (scout list) */
.sc-invite .card-head { margin-bottom: 12px; }
.sc-invite-form { display: flex; gap: 8px; min-width: 0; }
.sc-invite-form input { flex: 1; min-width: 0; }
.sc-invite-form .btn { flex: none; }
#sc-invite-out:not(:empty) { margin-top: 12px; }
.sc-invite-res, .sc-invite-made { display: grid; gap: 10px; min-width: 0; }
.sc-invite-made .copy-box { margin-top: 0; }
/* v2.74 Joined, no dashboard yet (scout list) */
.sc-joined-list { list-style: none; margin: 0; padding: 0; }
.sc-joined-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line); }
.sc-joined-list li:first-child { border-top: 0; }
.sc-joined-act .copy-box { display: flex; gap: 8px; }
.sc-joined-act input { min-width: 0; width: 220px; }
/* v2.74 the product next to the video on the review form (desktop: beside it; phone: above the Watch button) */
.rv-head.has-prod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); grid-template-areas: "txt prod" "watch prod"; gap: 8px 24px; align-items: start; }
.rv-head.has-prod .rv-head-txt { grid-area: txt; min-width: 0; }
.rv-head.has-prod .rv-watch { grid-area: watch; }
.rv-prod { grid-area: prod; display: flex; gap: 14px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); min-width: 0; }
.rv-prod-pic { position: relative; flex: none; width: 88px; height: 88px; border-radius: 10px; overflow: hidden; background: var(--surface); display: grid; place-items: center; }
.rv-prod-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-prod-pic .initials { font-size: 16px; font-weight: 800; color: var(--faint); }
.rv-prod-txt { min-width: 0; display: grid; gap: 4px; }
.rv-prod-txt p { margin: 0; }
.rv-prod-name { font-weight: 700; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rv-prodcell { display: flex; align-items: center; gap: 10px; min-width: 0; }
/* v3.26 queue rows open the review: the product cell is a link, the row is clickable, Take over sits on the row */
a.rv-open { color: inherit; text-decoration: none; }
a.rv-open:hover .rv-pname, tr.rv-row:hover a.rv-open .rv-pname { text-decoration: underline; text-underline-offset: 3px; }
a.rv-open:focus-visible, tr.rv-row a.handle:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; border-radius: 6px; }
.rv-row-act { display: flex; gap: 8px; justify-content: flex-end; }
tr.rv-row td.lead { white-space: normal; min-width: 180px; max-width: 280px; }  /* chips wrap under the handle: the action column stays in view */
.rv-row-act .btn { white-space: nowrap; }
.rv-row-act + .sub-line { text-align: right; }
.rv-thumb { position: relative; flex: none; width: 36px; height: 36px; border-radius: 8px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.rv-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-thumb .initials { font-size: 12px; font-weight: 800; color: var(--faint); }
@media (max-width: 720px) {
  .rv-head.has-prod { grid-template-columns: minmax(0, 1fr); grid-template-areas: "txt" "prod" "watch"; }
  .rv-prod-pic { width: 72px; height: 72px; }
}
/* v2.74 review stacks + New chip */
.rv-stack, .rv-new { font-size: 12px; padding: 1px 8px; vertical-align: 1px; }
.rv-stack.campaign { color: var(--muted); }  /* v4.09 describes, not a status: grey (was ember) */
.rv-stack.regular { color: var(--muted); }
.rv-new { color: var(--up); border-color: var(--up); }
/* v3.17 a brand ran this reviewed video as an ad */
.rv-ad { font-size: 12px; padding: 1px 8px; vertical-align: 1px; color: var(--ember); border-color: var(--ember); font-weight: 600; }
.rv-ad .qtip-btn { margin-left: 2px; }
.rv-wait[data-show="campaign"] tr[data-stack="regular"], .rv-wait[data-show="regular"] tr[data-stack="campaign"] { display: none; }
.rv-stack-filter { margin: 0 0 12px; }
/* v2.75 Guidance (Creators tab) + advice banners on the creator's Home */
.banner-card { border-left: 4px solid var(--ember); }
.banner-card .eyebrow { display: flex; align-items: center; gap: 6px; color: var(--ember); margin: 0 0 8px; }
.banner-card .eyebrow .ic { width: 16px; height: 16px; }
.guide-card { display: grid; gap: 20px; }
.guide-card [hidden] { display: none !important; }
.guide-card > .card-head { margin-bottom: 0; }
.guide-card .segmented { justify-self: start; }
/* v4.84 the (?) beside Banner / Goal / Lesson, and beside the Button / What labels */
.guide-seg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-self: start; max-width: 100%; }
.guide-seg-row .segmented { flex-shrink: 0; max-width: 100%; }
.guide-help { display: contents; }
.guide-lbl { display: block; }
/* touch: the open text drops to its own full-width line under Banner / Goal / Lesson; the (?) stays beside them */
@media not ((hover: hover) and (pointer: fine)) {
  .guide-seg-row .qtip.open { display: contents; }
  .guide-seg-row .qtip.open .qtip-pop { flex-basis: 100%; margin: 0; }
}
.guide-who label, .guide-filters label, .guide-row label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.guide-who input, .guide-who select, .guide-row select, .guide-row input { min-height: 44px; font-size: 16px; }
.guide-who > label { max-width: 360px; }
.guide-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.guide-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; }
.guide-row > label:not(.check) { flex: 1; min-width: 150px; }
.guide-row label.check { display: flex; color: var(--fg); font-size: 16px; }
.guide-count { margin: 0; font-size: 14px; min-height: 20px; }
.guide-count strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.guide-banner, .guide-goal { max-width: 640px; }
.guide-goal label:not(.check), .guide-banner > label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.guide-banner input[type=text], .guide-banner textarea { font-size: 16px; }
.guide-goal select, .guide-goal input[type=number] { min-height: 44px; font-size: 16px; }
.guide-preview { pointer-events: none; }
.guide-preview .card { margin: 0; }
.form-msg.ok { color: var(--up); }
.guide-log { display: grid; gap: 0; }
.guide-log-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.guide-log-row:first-child { border-top: 0; }
.gl-main { display: grid; gap: 2px; min-width: 0; }
.gl-title { font-size: 14px; }
.gl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.guide-rules { width: 100%; border-collapse: collapse; }
.guide-rules th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 0 8px 12px; }
.guide-rules td { padding: 12px 8px; border-top: 1px solid var(--line); }
.guide-rules th:not(:first-child), .guide-rules td:not(:first-child) { width: 72px; text-align: center; }
@media (max-width: 720px) {
  .guide-card { gap: 16px; }
  .guide-who > label { max-width: none; }
}
/* v2.75 "Watch these" (creator Videos tab) + the Next star link */
.ref-list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -8px; padding-inline: 8px; }
.ref-tile { scroll-snap-align: start; }
.ref-tile a { display: grid; gap: 12px; color: inherit; text-decoration: none; }
.ref-thumb { position: relative; display: block; aspect-ratio: 9 / 16; max-height: 300px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2), var(--line)); }
.ref-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ref-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.ref-play .ic { width: 40px; height: 40px; padding: 10px; border-radius: 999px; background: rgba(0, 0, 0, .45); }
.ref-views { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px;
  border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; font-weight: 600; }
.ref-views .ic { width: 14px; height: 14px; }
.ref-kind { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .55);
  color: #fff; font-size: 12px; font-weight: 600; }  /* v3.02 a photo (carousel) post */
.ref-main { display: grid; gap: 6px; }
.ref-prod { font-size: 16px; }
.ref-line { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ref-nails { display: flex; flex-wrap: wrap; gap: 4px; }
.ref-nails .vchip { font-size: 12px; }
.ref-nails .ic { width: 12px; height: 12px; }
.ref-go { font-size: 14px; font-weight: 600; color: var(--ember); }
.ref-link { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; padding: 12px; border: 1px solid var(--line);
  border-radius: 14px; color: inherit; text-decoration: none; }
.ref-link:hover { border-color: var(--ember); }
.ref-link img, .ref-link-play { width: 48px; height: 64px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.ref-link-play { display: grid; place-items: center; background: var(--surface-2); }
.ref-link > span:last-child { display: grid; gap: 2px; }
/* v2.75 Results › Prep: before/after cards */
.ba-fold .pill { margin-left: 6px; }
.ba-list { display: grid; margin-top: 8px; }
.ba-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.ba-row:first-child { border-top: 0; }
.ba-main { display: grid; gap: 2px; min-width: 0; }
.ba-why { display: inline-flex; align-items: center; gap: 6px; }
.ba-out { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.ba-img { width: 220px; aspect-ratio: 9 / 16; border-radius: 14px; border: 1px solid var(--line); }
.ba-actions { display: grid; gap: 12px; }
/* v2.75 Scout list: the demo login note */
.sc-demo { display: flex; align-items: center; gap: 6px; margin: 24px 0 8px; color: var(--muted); }
.sc-demo .ic { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- v2.78 niches: onboarding chips, Collabs filter + sort, team */
.cat-sheet { gap: 20px; }
.cat-lede { margin: -8px 0 0; }
.cat-pick { display: grid; gap: 12px; }
.cat-eyebrow { margin: 8px 0 0; }
.cat-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); font: inherit; font-size: 16px; font-weight: 650;
  cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .15s, border-color .15s, transform .1s; }
.cat-chip:hover { border-color: var(--fg); }
.cat-chip:active { transform: scale(.97); }
.cat-chip .n { font-size: 12px; font-weight: 700; color: var(--ember); font-variant-numeric: tabular-nums; }
.cat-chip[aria-pressed="true"], .cat-chip.on { background: var(--ember); border-color: var(--ember); color: #fff; }
.cat-chip[aria-pressed="true"] .n, .cat-chip.on .n { color: #fff; opacity: .9; }
.cat-chip[aria-pressed="true"]::before { content: "✓"; font-weight: 800; }
.cat-chip.cat-all { justify-self: start; border-color: var(--focal-line); color: var(--ember); }
.cat-chip.cat-all[aria-pressed="true"] { color: #fff; }
.cat-chip.cat-all[aria-pressed="true"]::before { content: none; }
.cat-chip .ic { width: 16px; height: 16px; }
.cat-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; position: sticky; bottom: -32px;
  background: var(--surface); padding: 12px 0 0; }
.cat-actions .btn { min-width: 180px; }
.collab-bar { display: grid; gap: 12px; margin: 0 0 24px; }
.cat-filter { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cat-filter::-webkit-scrollbar { display: none; }
.cat-chip.small { min-height: 36px; padding: 0 14px; font-size: 14px; flex: none; }
.cat-chip.small.mine:not(.on) { border-color: var(--focal-line); }
.collab-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sort-ctl select { min-height: 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg);
  font: inherit; font-size: 14px; font-weight: 600; padding: 0 14px; cursor: pointer; }
.collab-tools .pill-btn { display: inline-flex; align-items: center; gap: 6px; }
.collab-tools .pill-btn .ic { width: 14px; height: 14px; }
.cat-head .camp-meta { margin-top: 4px; }
.taken-note { flex-basis: 100%; margin: 4px 0 0; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.taken-note .ic { width: 14px; height: 14px; }
details.more-cats { margin: 0 0 24px; }
details.more-cats > .more-inner { display: grid; gap: 24px; margin-top: 12px; }
.camp-info .camp-head { margin-bottom: 0; }
.niches-row { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.niches-row h3 { margin: 0; font-size: 16px; }
.niches-now { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.niches-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.niches-line .eyebrow { margin: 0 4px 0 0; }
.interest-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.interest-list li { display: grid; grid-template-columns: minmax(120px, 1.2fr) 1fr 1fr; gap: 16px; align-items: center; }
.il-name { font-weight: 650; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.il-bar { display: grid; grid-template-columns: 1fr 32px; gap: 10px; align-items: center; font-variant-numeric: tabular-nums; }
.il-bar span:last-child, .il-bar strong { text-align: right; }
.il-key { margin: 16px 0 0; display: flex; align-items: center; gap: 6px; }
.key-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--bar); }
.key-dot.ember { background: var(--ember); }
@media (max-width: 720px) {
  .cat-chip { min-height: 46px; padding: 0 16px; }
  .cat-actions .btn { flex: 1; }
  .interest-list li { grid-template-columns: 1fr 1fr; }
  .il-name { grid-column: 1 / -1; }
}
.pgrid .tags { align-content: flex-start; align-items: flex-start; }  /* v2.78 a 2-line tags row never stretches a lone tag */
/* v2.77 Offboard / Delete now / Quiet 60 days */
.btn.danger:not(.secondary) { background: var(--down); border-color: var(--down); color: #fff; }
.unlink-note .btn-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.attention-card .btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.off-list { display: grid; gap: 12px; margin: 20px 0 8px; }
.off-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; overflow-wrap: anywhere; }
.off-list li .ic { width: 20px; height: 20px; margin-top: 1px; }
.del-now { display: grid; gap: 16px; margin-top: 12px; }
.del-now .sub { margin: 0; }
.needs-today .needs-quiet .do-ic { background: var(--warn-line); color: var(--warn); }
.quiet-list { display: grid; margin-top: 16px; }
.quiet-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.quiet-list li:first-child { border-top: 0; }
.quiet-list .do-txt { display: grid; gap: 4px; min-width: 0; }
.quiet-list .name { font-weight: 700; color: var(--fg); text-decoration: none; }
.quiet-list .btn-row { display: flex; gap: 8px; }
@media (max-width: 720px) {
  .quiet-list li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .quiet-list .btn-row .btn { flex: 1; }
}
/* v2.79 Help: tickets (creator + team inbox) */
.ticket-list { display: grid; gap: 10px; margin: 0; }
.ticket-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--line);
  border-radius: 14px; color: inherit; text-decoration: none; }
.ticket-row:hover { border-color: var(--faint); color: inherit; }
.t-main { display: grid; gap: 4px; min-width: 0; }
.t-main .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.help-head .card-head { margin-bottom: 0; }
.faq-item { border-top: 1px solid var(--line); padding: 14px 0; }
.faq-item:first-of-type { border-top: 0; padding-top: 0; }
.faq-item summary { cursor: pointer; font-weight: 600; list-style-position: outside; }
.faq-item p { margin: 10px 0 0; color: var(--muted); line-height: 1.55; max-width: 64ch; }
.ticket-kinds .chip { min-height: 44px; }
#ticket-form .bug-note { display: none; margin: -4px 0 0; }
#ticket-form.is-bug .bug-note { display: block; }
.shot-pick { display: grid; gap: 8px; font-size: 14px; }
.shot-pick > span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.shot-pick .ic { width: 16px; height: 16px; transform: rotate(180deg); }
.shot-pick input { font: inherit; font-size: 14px; color: var(--muted); }
.shot-preview { display: flex; align-items: flex-end; gap: 12px; }
.shot-preview img, .ticket-shot { max-width: 160px; max-height: 240px; border-radius: 12px; border: 1px solid var(--line); object-fit: cover; }
.ticket-shot { display: block; margin: 16px 0 0; }
.thread { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; }
.msg { max-width: 85%; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); }
.msg p { margin: 4px 0 0; line-height: 1.5; overflow-wrap: anywhere; }
.msg-who { font-size: 12px; color: var(--muted); font-weight: 600; }
.msg.from-team { justify-self: start; border-color: var(--focal-line); }
.msg.from-creator { justify-self: end; }
.team-ticket .msg.from-team { justify-self: end; }
.team-ticket .msg.from-creator { justify-self: start; }
.ticket .card-head { margin-bottom: 8px; }
.assign { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--muted); }
.bug-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 16px 0 0; padding: 16px 20px;
  border: 1px dashed var(--line); border-radius: 12px; font-size: 14px; }
.bug-facts .wide { grid-column: 1 / -1; }
.bug-facts dt { color: var(--muted); font-weight: 600; }
.bug-facts dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.help-inbox .chips { margin-bottom: 20px; }
.help-line { margin: 8px 0 0; text-align: center; }
.help-line a { color: var(--muted); }
.tabs .nav-more { position: relative; }
.tabs .nav-more.has-new::after { content: ""; position: absolute; top: 6px; left: calc(50% + 8px); width: 8px; height: 8px; border-radius: 999px; background: var(--warn); }
@media (max-width: 720px) {
  .ticket-row { padding: 14px 16px; }
  .msg { max-width: 92%; }
  .bug-facts { grid-template-columns: minmax(0, 1fr); }
}
/* v2.79 first-visit tour: one card per tab, the real tab lit up above the dimmed page */
.tour { position: fixed; inset: 0; z-index: 45; background: rgba(10, 10, 12, .62); display: flex; justify-content: center; align-items: flex-start;
  padding: calc(var(--topbar-h, 64px) + 24px) 24px 24px; }
.tour-card { width: min(440px, 100%); padding: 28px; display: grid; gap: 8px; box-shadow: 0 24px 64px -24px rgba(0, 0, 0, .6); animation: tour-in .22s ease-out; }
.tour-card h2 { font-size: 22px; }
.tour-card p { margin: 0; line-height: 1.5; }
.tour-card > p:not(.eyebrow) { color: var(--muted); font-size: 16px; }
.tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.tour-btns { display: flex; gap: 8px; margin-left: auto; }
.tour-dots { display: flex; gap: 6px; }
.tour-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--line); transition: width .2s; }
.tour-dot.on { width: 20px; background: var(--ember); }
body.touring .topbar { z-index: 46; }
body.touring .topbar > :not(.tabs) { opacity: .35; pointer-events: none; }
body.touring .tabs a, body.touring .tabs .nav-more { opacity: .35; pointer-events: none; }
body.touring .tabs .tour-hl { opacity: 1; color: var(--fg); background: var(--surface-2); box-shadow: 0 0 0 2px var(--ember), 0 0 24px var(--ember-glow);
  animation: tour-pulse 1.6s ease-in-out infinite; }
@keyframes tour-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes tour-pulse { 50% { box-shadow: 0 0 0 2px var(--ember), 0 0 6px var(--ember-glow); } }
@media (prefers-reduced-motion: reduce) { .tour-card, body.touring .tabs .tour-hl { animation: none; } }
.tab-help { position: relative; margin-left: 8px; text-transform: none; letter-spacing: 0; }
@media (max-width: 720px) {
  .tour { align-items: flex-end; padding: 16px 12px calc(84px + env(safe-area-inset-bottom)); }
  body.touring .tabs { z-index: 46; }
  .tour-card { padding: 24px; }
}
/* v2.79 the tour's last card = v2.78's niche chips: the card scrolls, its buttons stay in view */
.tour-card.tour-cat { width: min(600px, 100%); max-height: calc(100dvh - var(--tour-top, 140px) - 24px); overflow-y: auto; }
.tour-cat .tour-foot { position: sticky; bottom: -28px; background: var(--surface); padding: 12px 0 4px; margin-bottom: -4px; }
.tour-cat .cat-pick { margin-top: 8px; }
@media (max-width: 720px) { .tour-card.tour-cat { max-height: calc(100dvh - 120px - env(safe-area-inset-bottom)); } .tour-cat .tour-foot { bottom: -24px; } }
/* v2.79 the ticket form's screenshot picker in the dashboard's button look (not the browser's grey box) */
.new-ticket input[type="file"] { color: var(--muted); font: inherit; font-size: 14px; max-width: 100%; }
.new-ticket input[type="file"]::file-selector-button { font: inherit; font-weight: 600; color: var(--fg); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; margin-right: 12px; cursor: pointer; }
/* v2.80 terms: Renewals + Asked to leave (team sheets), term line, Leave (creator), why people leave */
.needs-today .needs-renewals .do-ic { background: var(--focal-line); color: var(--ember); }
.needs-today .needs-leaves .do-ic { background: var(--warn-line); color: var(--warn); }
.term-list li, .leave-list li { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.term-list .btn-row, .leave-list .btn-row { flex-wrap: wrap; align-items: center; }
.term-list .sub-line .vchip { margin-left: 4px; }
@media (max-width: 720px) {
  .term-list .btn-row .btn, .leave-list .btn-row .btn { flex: 0 1 auto; }
  .term-list .btn-row .pc-btn-wrap, .leave-list .btn-row .pc-btn-wrap { flex: 1 1 100%; }
  .term-list .btn-row .pc-btn-wrap .btn, .leave-list .btn-row .pc-btn-wrap .btn { flex: 1; }
}
.leave-why { display: flex; flex-wrap: wrap; gap: 6px; }
.leave-note { font-style: italic; }
.term-line .linkish { margin-left: 4px; }
.leave-reasons { gap: 8px; }
.leave-reasons .cat-chip { min-height: 40px; padding: 0 14px; font-size: 14px; }
.leave-form .eyebrow { margin: 4px 0 0; }
.leave-line { text-align: center; margin: 24px 0 8px; }
.leave-line .linkish { color: var(--muted); }
/* v4.86 leave sheet: the warning (red = bad), three choices; the quiet link at the bottom of More */
.leave-warn { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 12px;
  background: color-mix(in srgb, var(--down) 10%, transparent); color: var(--fg); line-height: 1.45; }
.leave-warn svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--down); }
.leave-form textarea { width: 100%; }
.leave-actions { flex-wrap: wrap; align-items: center; }
.leave-actions [data-leave-help] { margin-left: auto; }
.more-leave { display: block; margin: 18px auto 4px; color: var(--muted); }
.leave-sent ul li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.leave-why-card .leave-notes { display: grid; gap: 12px; margin-top: 12px; }
.term-card h2 { margin-bottom: 4px; }
.mbar.muted > i { background: var(--faint); }

/* v2.83 Best match: what one sale earns (money first), Selling now / Example video / Ends soon tags */
.pfacts .pf-sale dd { color: var(--ember); }
.tag.hot { color: var(--ember); border-color: var(--focal-line); }
.tag.hot svg, .tag.ex svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; }
.tag.ex { color: var(--fg); text-decoration: none; }
.tag.ex:hover { border-color: var(--fg); }
.tag.warn { color: var(--warn); border-color: var(--warn-line); }
.stack-sale { margin: 4px 0 0; font-size: 16px; }
.stack-sale strong { font-size: 22px; font-weight: 800; }
/* team Results › Best match check */
.bm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 16px; }
.bm-grid h3 { margin: 0 0 8px; font-size: 14px; }
.bm-grid h3 .muted { font-weight: 500; }
@media (max-width: 640px) { .bm-grid { grid-template-columns: 1fr; } }

/* v2.82 followers since joining (creator Home + team creator page) and "Invite a creator" */
.since-joined { padding: 24px 32px; }
.sj-row { display: flex; align-items: center; gap: 24px; }
.sj-row + .sj-row { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.sj-line { margin: 0; font-size: 14px; flex: 1 1 auto; min-width: 0; font-variant-numeric: tabular-nums; }
.sj-gain { font-weight: 700; margin-right: 2px; }  /* v2.84 a small stat, not a headline */
.sj-spark { flex: 0 0 38%; max-width: 220px; min-width: 96px; }
.sj-team { margin-top: 16px; }
.sj-team .sj-line { font-size: 14px; color: var(--muted); }
.sj-none { margin: 12px 0 0; }
.invite-card .card-head { margin-bottom: 12px; }
.invite-count { margin: 0 0 8px; font-size: 16px; }
.invite-count strong { font-size: 20px; color: var(--up); margin-right: 2px; }
.invite-reward { margin: 0 0 8px; }
.invite-link { margin: 4px 0 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; user-select: all; }
.invite-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.ref-line { margin: -8px 0 16px; font-size: 14px; color: var(--muted); }
.ref-by { margin: 0 0 4px; }
.ref-sent summary { cursor: pointer; width: fit-content; }
.ref-sent[open] { max-width: 480px; }
ul.plain.invref-list { list-style: none; margin: 8px 0 0; padding: 0; display: block; }
.invref-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.invref-list li:first-child { border-top: 0; }
.ref-sent .invref-list li { padding: 8px 0; color: var(--fg); }
.sc-refs summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; cursor: pointer; }
.sc-refs summary h2 { display: inline; }
@media (max-width: 560px) {
  .since-joined { padding: 20px 24px; }
  .sj-row { gap: 16px; }
  .sj-spark { flex-basis: 34%; }
}

/* ---------------------------------------------------------------- v2.81 Learn */
.ln-list { display: grid; margin: 0; padding: 0; list-style: none; }
.ln-list > li + li { border-top: 1px solid var(--line); }
.ln-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 0;
  color: inherit; text-decoration: none; }
a.ln-row:hover .ln-title { color: var(--ember); }
.ln-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--fg); flex: none; }
.ln-ic svg { width: 18px; height: 18px; }
.ln-ic.done { background: var(--up-line, var(--surface-2)); color: var(--up); }
.ln-main { display: grid; gap: 4px; min-width: 0; }
.ln-title { font-weight: 600; overflow-wrap: anywhere; }
.ln-num { display: inline-block; min-width: 1.6em; color: var(--muted); font-variant-numeric: tabular-nums; }
.ln-end { display: flex; align-items: center; gap: 8px; }
.ln-end > svg, .learn-next .ln-end svg { width: 18px; height: 18px; color: var(--muted); }
.learn-head .mbar, .learn-group > .mbar { margin-bottom: 8px; }
/* v2.81b one bar per section (Course, How-tos, …); tap one to show its lessons */
.learn-secs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.learn-sec { display: grid; gap: 8px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2);
  color: var(--fg); font: inherit; text-align: left; cursor: pointer; }
.learn-sec[aria-pressed="true"] { border-color: var(--ember); box-shadow: 0 0 0 1px var(--ember) inset; }
.learn-sec:focus-visible { outline: 2px solid var(--ember-glow); outline-offset: 2px; }
.learn-sec-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 600; }
.learn-sec .mbar { margin: 0; }
.learn-secs-team { margin: 0 0 16px; }
.ln-soon .ln-title { color: var(--muted); }
.ln-list > li.ln-sec { padding: 20px 0 4px; margin: 0; border-top: 0; }
#lf-group[hidden] { display: none; }
.le-section { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 32px 4px 12px; }
.le-section:first-of-type { margin-top: 8px; }
.le-section h2 { margin: 0; font-size: 20px; }
.le-section.is-hidden h2 { opacity: .55; }
.learn-group .sub { margin-bottom: 8px; }
.learn-next { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; color: inherit;
  text-decoration: none; border-color: var(--focal-line, var(--line)); }
.learn-next .eyebrow { margin: 0; color: var(--ember); }
.learn-next.small-card { padding: 20px 32px; }
.learn-next:hover .ln-title { color: var(--ember); }
.learn-note { max-width: 70ch; margin: 8px 4px 0; }
.back-line { margin: 0; }
.lesson .eyebrow { margin-bottom: 8px; }
.lesson-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.lesson-head h1 { margin: 0; font-size: 26px; line-height: 1.2; }
.lesson-video { margin: 0 -8px 12px; border-radius: 12px; overflow: hidden; background: #000; display: grid; place-items: center; }
.lesson-video video { display: block; width: 100%; max-height: 72vh; background: #000; }
.lesson-video.yt { aspect-ratio: 16 / 9; }
.lesson-video.yt iframe, .lesson-video.yt > div { width: 100%; height: 100%; border: 0; }
.lesson-meter { margin: 0 0 6px; }
.lesson-meter .mbar { height: 8px; }
/* v3.86 Go deeper: Speaker Session chapters + How-tos under the video */
.lesson-links { margin-top: 24px; max-width: 70ch; }
.lesson-links .eyebrow { margin: 0 0 4px; }
.lesson-links .ln-row { padding: 12px 0; }
.lesson-body { margin-top: 24px; font-size: 16px; line-height: 1.65; max-width: 70ch; }
.lesson-body p, .lesson-body ul, .lesson-body ol, .lesson-body blockquote { margin: 0 0 16px; }
.lesson-body ul, .lesson-body ol { padding-left: 22px; }
.lesson-body li + li { margin-top: 6px; }
.lesson-body h3, .lesson-body h4 { margin: 28px 0 10px; font-size: 18px; }
.lesson-body blockquote { border-left: 3px solid var(--ember); padding: 8px 16px; background: var(--surface-2); border-radius: 0 10px 10px 0; }
.lesson-body code { font-size: .92em; background: var(--surface-2); padding: 1px 5px; border-radius: 5px; }
.md-table { overflow-x: auto; margin: 0 0 16px; }
.md-table table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.45; }
.md-table th, .md-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.md-table th { color: var(--muted); font-weight: 600; }
.lesson-done { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.lesson-nav { display: flex; justify-content: space-between; gap: 12px; }
.le-ctl { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.le-ctl .icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); cursor: pointer; font: inherit; }
.le-ctl .icon-btn:disabled { opacity: .35; cursor: default; }
.le-group .card-head { align-items: center; }
.le-group > .btn { margin-top: 12px; }
.is-hidden .ln-title, .le-group.is-hidden h2 { opacity: .55; }
.guide-lesson select { max-width: 100%; }
@media (max-width: 720px) {
  .lesson-head h1 { font-size: 22px; }
  .lesson-video { margin: 0 -16px 12px; border-radius: 0; }
  .learn-next.small-card { padding: 16px 20px; }
  .le-row { grid-template-columns: auto minmax(0, 1fr); }
  .le-row .le-ctl { grid-column: 1 / -1; justify-content: flex-start; }
  .lesson-body { font-size: 16px; }
}
.md-table th, .md-table td { white-space: normal; overflow: visible; text-overflow: clip; min-width: 7em; }

/* v2.86 "Now what?": Your plan this week, the checkup's top fixes, the journey map */
.plan-card .card-head h2 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.plan-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 4px 0 16px; }
.plan-in { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; }
.plan-in .mbar { background: var(--line); }
.plan-in:hover { border-color: var(--focal-line); }
.plan-check { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--muted); display: grid; place-items: center; color: var(--ember); opacity: .8; }
.plan-item.hit .plan-check { opacity: 1; }
.plan-check .ic { width: 15px; height: 15px; }
.plan-item.hit .plan-check { background: var(--up); border-color: var(--up); color: var(--surface); }
.plan-main { display: grid; gap: 8px; min-width: 0; }
.plan-label { font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.plan-sub { display: block; font-weight: 400; font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plan-num { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 17px; }
.plan-item.hit .plan-num { color: var(--up); }
.plan-reading { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--muted); }
.plan-reading .ic { width: 18px; height: 18px; color: var(--ember); flex: none; }
.plan-ok { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; }
.plan-ok .ic { width: 14px; height: 14px; color: var(--up); }
.plan-eyebrow { margin-top: 20px; }
.plan-fixes { margin: 0 0 16px; }
.plan-fixes > summary { cursor: pointer; font-weight: 600; color: var(--muted); padding: 4px 0; }
.plan-fixes[open] > summary { color: var(--fg); }
.fix-list { display: grid; gap: 10px; margin: 10px 0 0; }
.fix { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 12px; }
.fix-line a { color: var(--ember); font-weight: 600; text-decoration: none; white-space: nowrap; }
.fix-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px;
  color: var(--ember); border: 1px solid var(--focal-line); }
.fix-main { display: grid; gap: 2px; min-width: 0; }
.fix-title { font-weight: 600; }
.fix-line { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.checkup-card .card-head { flex-wrap: wrap; gap: 8px; }
.checkup-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; align-items: end; }
.checkup-form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.checkup-form .row-end { display: flex; align-items: center; gap: 12px; }

/* the journey map: 4 stages on one line, a line that fills up to "here", tap a stage = what to do there */
.journey { border-top: 1px solid var(--line); padding-top: 16px; }
.jm { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.jm::before, .jm::after { content: ""; position: absolute; top: 17px; left: 12.5%; height: 3px; border-radius: 3px; }
.jm::before { right: 12.5%; background: var(--line); }
.jm::after { width: calc(75% * var(--jm-fill, 0)); background: var(--ember); transform-origin: left; }
.jm-step { position: relative; z-index: 1; display: flex; justify-content: center; }
.jm-btn { all: unset; cursor: pointer; display: grid; justify-items: center; gap: 6px; text-align: center; padding: 0 2px; }
.jm-btn:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; border-radius: 8px; }
.jm-dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface);
  border: 2px solid var(--line); color: var(--muted); }
.jm-dot .ic { width: 16px; height: 16px; }
.jm-step.done .jm-dot { background: var(--ember); border-color: var(--ember); color: var(--surface); }
.jm-step.here .jm-dot { border-color: var(--ember); color: var(--ember); box-shadow: 0 0 0 6px var(--ember-glow); }
.jm-btn.picked .jm-dot { outline: 2px solid var(--focal-line); outline-offset: 3px; }
.jm-label { font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--muted); }
.jm-step.here .jm-label { color: var(--fg); }
.jm-say { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.jm-say strong { color: var(--fg); }
/* full (Learn › Start here): one card per stage, top to bottom, the line down the left */
.jm-full { grid-template-columns: 1fr; gap: 18px; }
.jm-full::before, .jm-full::after { top: 18px; left: 17px; right: auto; width: 3px; }
.jm-full::before { bottom: 18px; height: auto; }
.jm-full::after { height: calc((100% - 36px) * var(--jm-fill, 0)); width: 3px; transform-origin: top; }
.jm-full .jm-step { justify-content: flex-start; gap: 16px; align-items: flex-start; }
.jm-full .jm-dot { flex: none; }
.jm-text { display: grid; gap: 4px; padding-top: 6px; }
.jm-full .jm-label { font-size: 16px; color: var(--fg); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jm-line { color: var(--muted); font-size: 14px; }
.jm-todo { font-size: 14px; }
.jm-full .jm-step.next .jm-text { opacity: .72; }
@media (prefers-reduced-motion: no-preference) {
  .jm::after { animation: jm-grow .9s cubic-bezier(.2, .7, .2, 1) both .15s; }
  .jm-full::after { animation-name: jm-grow-down; }
  .jm-step { animation: jm-pop .45s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(var(--i) * 90ms); }
  .jm-step.here .jm-dot { animation: jm-pulse 2.4s ease-in-out 1.2s infinite; }
}
@keyframes jm-grow { from { transform: scaleX(0); } }
@keyframes jm-grow-down { from { transform: scaleY(0); } }
@keyframes jm-pop { from { opacity: 0; transform: translateY(6px) scale(.9); } }
@keyframes jm-pulse { 50% { box-shadow: 0 0 0 10px transparent; } }
@media (max-width: 640px) {
  .plan-in { padding: 12px; gap: 12px; }
  .jm-label { font-size: 12px; }
}

/* v2.86b human touches: where they started (fixes tick off), plan rounds, welcome drafts, first video clock,
   the day-7 check-in, the first sale, a voice-only lesson */
.fix.done .fix-n { background: var(--up); border-color: var(--up); color: #fff; }
.fix.done .fix-n .ic { width: 14px; height: 14px; }
.fix.done .fix-title { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); }
.fix-when { display: flex; align-items: center; gap: 4px; margin: 4px 0 0; }
.plan-round { font-size: 12px; margin-left: 6px; vertical-align: 2px; }
.rv-first { font-size: 12px; padding: 1px 8px; vertical-align: 1px; color: var(--warn); border-color: var(--warn-line); font-weight: 600; }  /* v4.09 a clock: amber, red when late (was ember) */
.rv-first.late { color: var(--down); border-color: var(--down); }
.checkin-card, .first-sale-card { border-left: 4px solid var(--ember); }
.checkin-card .eyebrow, .first-sale-card .eyebrow { display: flex; align-items: center; gap: 6px; color: var(--ember); margin: 0 0 8px; }
.checkin-card .eyebrow .ic, .first-sale-card .eyebrow .ic { width: 16px; height: 16px; }
.checkin-body { margin: 0 0 16px; font-size: 16px; line-height: 1.5; }
.checkin-form { display: grid; gap: 8px; margin-top: 8px; }
.checkin-form textarea { width: 100%; }
.checkin-card .form-msg .ic { width: 14px; height: 14px; color: var(--up); vertical-align: -2px; }
.checkin-card .form-msg a { color: var(--ember); font-weight: 600; }
.first-sale-card { border-left-color: var(--up); }
.first-sale-card .eyebrow { color: var(--up); }
.lesson-audio { display: flex; align-items: center; gap: 16px; margin: 0 0 12px; padding: 20px 24px; border-radius: 12px;
  background: var(--ember-glow, rgba(255,107,31,.12)); }
.lesson-audio .la-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ember); color: #fff; flex: none; }
.lesson-audio .la-ic .ic { width: 20px; height: 20px; }
.lesson-audio audio { flex: 1; min-width: 0; }
.first-sale-card .sub:last-child, .checkin-card .form-msg:empty { margin-bottom: 0; }

/* v2.87 one plan: "This week" items, then a small ring per goal ("This month") */
.plan-eyebrow.first { margin-top: 4px; }
ul.pr-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 16px 8px; margin: 8px 0 20px; }
.pr { display: grid; justify-items: center; text-align: center; gap: 4px; min-width: 0; }
.pr .ring-in { padding: 0 4px; }
.pr .ring-in strong { font-size: 16px; }
.pr-k { font-size: 12px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-when { font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.pr.hit .pr-when { color: var(--up); }
.pr-none { margin: 8px 0 16px; }
.plan-foot { margin: 0 0 16px; }
.former-tg { min-height: 32px; padding: 4px 12px; font-size: 14px; margin-left: auto; }
.former-tg.on { border-color: var(--focal-line); }
.former-tag { font-size: 12px; vertical-align: 1px; margin-left: 4px; }
/* v3.96 house accounts: a small grey tag, never a status colour */
.house-tag { font-size: 12px; vertical-align: 1px; margin-left: 6px; padding: 1px 7px; color: var(--muted); border-color: var(--line); }
h1 .house-tag { font-size: 12px; vertical-align: 4px; }

/* v2.88 case-by-case plan edits (team): Edit button, "Edited by X · reason", items off this week, on hold, changes log */
.plan-edit-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.plan-edit-btn .ic { width: 15px; height: 15px; }
.plan-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; min-width: 0; }  /* v4.06 a long chip never widens the row */
.plan-edit { display: block; font-size: 12px; color: var(--muted); padding: 0 16px; }
.plan-item.off .plan-in { opacity: .55; }
.plan-item.off .plan-label { text-decoration: line-through; }
.plan-num .linkish { display: block; margin-top: 2px; font-weight: 600; }
.pr-edit { font-size: 12px; color: var(--ember); }
.plan-hold { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--focal-line); background: var(--surface-2); }
.plan-hold .ic { width: 18px; height: 18px; color: var(--ember); flex: none; margin-top: 2px; }
.plan-hold .plan-edit { padding: 0; margin-top: 2px; }
.plan-held .plan-reading { margin: 4px 0 8px; }
.pe-log { display: grid; gap: 12px; margin: 8px 0 0; }
.pe-log li { display: grid; gap: 2px; }
.pe-fields { display: grid; gap: 12px; }
.pe-item { display: grid; gap: 12px; }
.pe-check { display: flex; align-items: center; gap: 10px; font-size: 14px; min-height: 44px; }
.pe-check input { width: 20px; height: 20px; }
.sheet .eyebrow { margin: 4px 0 0; }

/* v2.90 Creators table: the Sort by menu above it (every old sort, columns or not), the TikTok-connected mark by the
   name, and the row's panel (tap a row) with the numbers that used to be columns. */
.sort-by { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin: 8px 0 16px; }
.sort-by label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.sort-by select { min-height: 36px; font-size: 14px; width: auto; max-width: 220px; }
.sort-dir { min-width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg);
  font: inherit; font-size: 16px; cursor: pointer; }
.sort-dir:hover, .sort-dir:focus-visible { border-color: var(--fg); }
.vrow a.h-name { color: var(--fg); text-decoration: none; font-weight: 600; }
.vrow a.h-name:hover { text-decoration: underline; }
.tt-ic { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.tt-ic .ic { width: 12px; height: 12px; }
.tt-ic.up { color: var(--up); }
.tt-ic.warn { color: var(--warn); }
.vpanel { position: absolute; left: 0; right: 0; top: 0; padding: 24px 32px 28px; background: var(--surface-2); border-top: 1px dashed var(--line); cursor: auto; }
.vp-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 32px; margin: 0; }
.vp-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); display: flex; align-items: center; }
.vp-facts dd { margin: 4px 0 0; font-size: 17px; font-variant-numeric: tabular-nums; }
.vp-sub, .vp-facts .sub-line { font-size: 12px; color: var(--muted); margin-top: 2px; }
.vp-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.vp-meta { margin: 0; font-size: 14px; color: var(--muted); }
.vp-goals { margin: 14px 0 12px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.vp-goals strong { color: var(--fg); margin-right: 4px; }
.vp-goals .vp-goal-hit { color: var(--up); }
.goal-tally { margin-left: 6px; }
.vp-meta a { color: inherit; }
.vrow.open .who { background: var(--surface-2); }
.vhead .vsort { white-space: normal; text-wrap: balance; }  /* v4.11.1 long labels (Campaign share) wrap to 2 lines instead of running into the next column */
.vhead { align-items: end; }
.vhead span.vsort { cursor: default; }  /* v3.93 columns that don't sort */
@media (max-width: 1100px) { .vp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .sort-by { justify-content: flex-start; margin: 4px 0 12px; }
  .vpanel { padding: 20px 24px 24px; }
  .vp-facts { gap: 16px 20px; }
  .vp-facts dt { font-size: 12px; }
  .vp-facts dd { font-size: 16px; }
  .vp-foot .btn { width: 100%; }
}

/* ---------------------------------------------------------------- v2.92 badges, plan tiers (v2.94: no level theme) */
.badge-svg { display: inline-block; flex: none; vertical-align: -3px; }
.badge-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 6px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .01em; color: var(--fg); white-space: nowrap; vertical-align: middle;
  background: var(--surface); border: 1px solid var(--line); }  /* v2.94 neutral: the badge art carries the colour */
h1 .badge-chip { font-size: 14px; margin-left: 6px; vertical-align: 4px; }
.badge-mark { display: inline-flex; margin-left: 6px; vertical-align: -1px; }
.lvl-head:empty { display: none; }
.lvl-head { display: inline-flex; margin-left: 12px; }
.level-up { display: flex; align-items: center; gap: 24px; padding: 32px;
  border-color: color-mix(in srgb, var(--lvl) 55%, var(--line)); background: color-mix(in srgb, var(--lvl) 8%, var(--surface)); }
.level-up h2 { margin: 2px 0 6px; font-size: 24px; }
.level-up .badge-svg { width: 64px; height: 64px; }
.tier-wrap { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; }
.tier-chip { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  border: 1px solid var(--line); color: var(--fg); background: var(--surface-2); white-space: nowrap; }
.checkup-card .card-head { flex-wrap: wrap; gap: 8px; }
.tier-flag { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.tier-moves { margin: 0 0 12px; }
/* a suggested pace is never "missed": a calm grey ring, no tick */
.ring.pace .ring-fill { stroke: var(--muted); }
.pr.pace .pr-when { color: var(--muted); }
/* v3.00 the month's winners: one calm optional line, ✕ to hide (no counter, no bars) */
.cb-sug { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px;
  background: var(--surface-2); font-size: 14px; }
.cb-sug.off { opacity: .6; }
.cb-ic { flex: none; color: var(--muted); padding-top: 1px; }
.cb-ic .ic { width: 16px; height: 16px; }
.cb-text { flex: 1; min-width: 0; margin: 0; line-height: 1.45; color: var(--muted); }
.cb-text strong { color: var(--fg); font-weight: 600; }
.cb-name { color: var(--fg); }
.cb-x { flex: none; margin: -4px -6px 0 0; width: 28px; height: 28px; padding: 0; border: 0; background: none;
  color: var(--muted); font-size: 14px; cursor: pointer; border-radius: 8px; }
.cb-x:hover { color: var(--fg); background: var(--surface); }
/* v3.00 "3–5 videos per new product": a simple line under the 30-day rings, never red */
.depth-line { display: grid; gap: 2px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.dl-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.depth-line .plan-label { font-weight: 600; }
.depth-line .plan-sub { white-space: normal; }
/* v3.00 the 6-tier ladder (past Starting) on the journey map's track */
/* v4.06 as many columns as steps (seven since v4.03a, was a fixed 5 that wrapped): the line runs dot centre to dot centre */
.jm.tl { --n: 7; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.jm.tl::before, .jm.tl::after { left: calc(50% / var(--n)); }
.jm.tl::before { right: calc(50% / var(--n)); }
.jm.tl::after { width: calc((100% - 100% / var(--n)) * var(--jm-fill, 0)); }
.jm.tl .jm-dot b { font-size: 14px; font-weight: 700; }
.jm.tl .jm-label { white-space: nowrap; }
@media (max-width: 640px) {
  /* six names don't fit a phone row: only their tier is named (the line under it names the next; tap any for its line) */
  .jm.tl .jm-dot { width: 32px; height: 32px; }
  .jm.tl::before, .jm.tl::after { top: 15px; }
  .jm.tl .jm-step:not(.here) .jm-label { visibility: hidden; }
}
.tier-form fieldset { border: 0; padding: 0; margin: 0 0 16px; display: contents; }
.tier-form legend { grid-column: 1 / -1; font-weight: 700; margin-top: 8px; }
.badge-rows { display: grid; gap: 10px; }
.badge-rows li { display: grid; grid-template-columns: 64px 64px minmax(120px, 220px) 56px; align-items: center; gap: 12px; }
.badge-prev { display: inline-flex; align-items: center; gap: 8px; }
.badge-rows input[type=color] { width: 48px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: none; }
@media (max-width: 720px) {
  .level-up { padding: 24px; gap: 16px; }
  .level-up h2 { font-size: 20px; }
  .lvl-head { margin-left: 6px; }
  .lvl-head .badge-chip span { display: none; }
  .lvl-head .badge-chip { padding: 3px; }
  .tier-wrap { margin-left: 0; }
}
/* v2.97 Settings › Plan tiers: one row per tier (six) */
.tier-form .tier-grid { grid-column: 1 / -1; display: grid; gap: 10px; }
.tier-form .tier-row { display: grid; grid-template-columns: 24px minmax(130px, 1.1fr) 110px 130px 110px 110px minmax(180px, 2fr); gap: 12px; align-items: center; }
.tier-form .tier-row label { gap: 0; }
.tier-form .tier-head { font-size: 12px; color: var(--muted); font-weight: 600; }
.tier-form .tl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tier-form .tier-n { font-weight: 700; color: var(--muted); text-align: center; }
.tier-form .tier-zero { padding: 8px 0; color: var(--muted); }
@media (max-width: 900px) {
  .tier-form .tier-head { display: none; }
  .tier-form .tier-row { grid-template-columns: 1fr 1fr; padding: 12px 0; border-top: 1px solid var(--line); }
  .tier-form .tier-row label { gap: 6px; }
  .tier-form .tier-row label:nth-of-type(1), .tier-form .tier-row label:last-child { grid-column: 1 / -1; }
  .tier-form .tl { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .tier-form .tier-n { display: none; }
}

/* ---------------------------------------------------------------- v2.98 tap a badge → what it means */
[data-badge] { cursor: pointer; }
[data-badge]:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; border-radius: 999px; }
.badge-none { color: var(--muted); border-style: dashed; }
.badge-none .bn-ring { flex: none; }
.lu-art { display: inline-flex; flex: none; border-radius: 999px; }
.bl-sheet { gap: 20px; }
.bl-title { display: flex; align-items: center; gap: 16px; min-width: 0; }
.bl-title .badge-svg { width: 64px; height: 64px; }
.bl-title .eyebrow { margin: 0 0 2px; }
.bl-none { width: 64px; height: 64px; flex: none; border-radius: 999px; border: 2px dashed var(--line); }
.bl-line, .bl-next, .bl-cap { margin: 0; }
.bl-cap { margin-bottom: -4px; }
.bl-next { font-weight: 700; }
.bl-ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.bl-ladder li { display: grid; justify-items: center; align-content: start; gap: 4px; padding: 10px 2px; text-align: center;
  border: 1px solid transparent; border-radius: 12px; }
.bl-ladder li.on { background: var(--surface-2); border-color: var(--ember); }
.bl-ladder .badge-svg { width: 32px; height: 32px; }
.bl-name { font-size: 12px; font-weight: 600; }
.bl-ladder li.on .bl-name { font-weight: 800; }
.bl-range { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* phones: two rows of four, still read left → right */
@media (max-width: 560px) { .bl-ladder { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 8px; } }
.bf-from { display: inline-flex; align-items: center; gap: 6px; }
.bf-from input { width: 110px; }
.bf-from input[readonly] { opacity: .6; }
.badge-rows li { grid-template-columns: 64px 64px minmax(120px, 220px) 56px auto; }
@media (max-width: 720px) { .badge-rows li { grid-template-columns: 64px minmax(0, 1fr) 56px; } .badge-rows li > .muted { display: none; } .bf-from { grid-column: 2 / -1; } }

/* v3.01 "Lessons in my plan": the one-tap skip under the first lesson item, its 10 s undo, the Learn tab's off line */
.skip-lessons { margin: 4px 0 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: var(--muted); padding-left: 16px; }
.learn-next-box { display: grid; gap: 4px; }
.learn-next-box .skip-lessons { padding-left: 32px; }
.undo-bar { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 35; display: flex; align-items: center; gap: 16px;
  padding: 12px 20px; border-radius: 12px; background: var(--fg); color: var(--bg); font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.undo-bar .linkish { color: var(--ember); font-weight: 600; }
.learn-off { margin: 8px 0 0; }
@media (max-width: 720px) {
  .undo-bar { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .learn-next-box .skip-lessons { padding-left: 20px; }
  .skip-lessons { padding-left: 12px; }
}

/* v3.04 better-than-usual rate in one line (was two bars): our rate big in ember + a small "↑ +10% vs 15% usual" chip.
   Inside a product card's facts it stays one line, so a bonus card is as tall as any other. */
.rate-fact { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.rate-fact > strong { color: var(--ember); font-weight: 800; }
.rate-fact .rf-word { color: var(--muted); font-weight: 500; }
.rate-fact .rf-chip, .pfacts dd .rate-fact .rf-chip { display: inline-flex; align-items: center; gap: 3px; margin: 0; padding: 1px 7px;
  border: 1px solid var(--focal-line); border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 500;
  font-stretch: 100%; line-height: 16px; white-space: nowrap; }
.rate-fact .rf-chip b { color: var(--ember); font-weight: 700; }
.rate-fact .rf-chip.rf-usual { border-color: var(--line); }
.pfacts dd .rate-fact { display: inline-flex; margin: 0; color: inherit; font-size: inherit; font-weight: inherit; font-stretch: inherit; gap: 4px 6px; }

/* v3.07 campaign flow (Basel × Justher 11-06) */
.showcase-card { border-color: var(--ember); }
.showcase-card.wrong-deal-card { border-color: var(--warn); }  /* v3.77 a status: amber (red chip after 3 days), never ember */
.wrong-deal-card .ic { color: var(--warn); }
.showcase-card.sw-card { border-color: var(--line); }  /* v4.88 Switch to us: an offer, not a status (no ember, no amber) */
.sw-card .sw-facts { margin: 0 0 12px; }
.wd-blind { margin: 16px 0 0; }
.showcase-card h2 { display: flex; align-items: center; gap: 8px; margin: 0; }
.showcase-card h2 .needs-n { margin-left: auto; }
.showcase-card .sub { margin: 8px 0 4px; }
.showcase-list { list-style: none; margin: 0; padding: 0; display: grid; }
.showcase-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.showcase-list li:first-child { border-top: 0; }
.showcase-list .sc-txt { display: grid; min-width: 0; }
.showcase-list .sc-txt .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.collab-hero .go-through { margin-top: 16px; }
@media (max-width: 720px) { .collab-hero .go-through { width: 100%; } }
.account.notif-link.has-dot { position: relative; }
.account.notif-link.has-dot::after { content: ""; position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }
.showcase-note { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.req-state { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 8px; }
.req-state .sub-line { margin: 0; }
.req-sent .stages.st-compact { margin: 8px 0 0; }
.stuck-steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 901px) { .stuck-steps { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.stuck-step { width: 100%; display: grid; gap: 6px; justify-items: start; text-align: left; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); color: var(--fg); font: inherit; cursor: pointer; }
.stuck-step:hover, .stuck-step.on { border-color: var(--fg); }
.stuck-step.biggest { border-color: var(--ember); }
.stuck-step .ss-n { font-size: 22px; font-weight: 700; line-height: 1; }
.stuck-step .ss-k { font-size: 12px; color: var(--muted); }
.stuck-step .mbar { width: 100%; min-width: 0; background: var(--line); }
.stuck-table td.lead { max-width: 380px; }
.stuck-table .clamp1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stuck-table tr.stuck-leak td:first-child { box-shadow: inset 3px 0 0 var(--ember); }
/* v3.08 Samples: first 5 rows, then "Show all N" */
.sjobs > li[data-capped] { display: none; }
.sjob-all:not([hidden]) { display: block; margin: 12px auto 4px; }
/* v3.09 "Invite a creator" = one Help row (opens a sheet) */
.invite-row-card { padding: 0; }
.invite-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 16px 24px; border: 0;
  background: none; color: var(--fg); font: inherit; font-weight: 600; text-align: left; cursor: pointer; border-radius: inherit; }
.invite-row .name { flex: 1; }
.invite-row .ir-ic { display: inline-flex; color: var(--ember); }
.invite-row svg { width: 20px; height: 20px; }
.invite-sheet { padding-top: 4px; }
/* v3.09 paid brand deal card (top of Collabs) */
.deal-card { border-color: color-mix(in srgb, var(--ember) 45%, var(--line));
  background: linear-gradient(160deg, color-mix(in srgb, var(--ember) 9%, var(--surface)) 0%, var(--surface) 60%); }
.deal-top { display: flex; gap: 16px; align-items: center; }
.deal-thumb { flex: none; display: grid; place-items: center; }
.deal-head { min-width: 0; }
.deal-head .eyebrow { color: var(--ember); margin-bottom: 4px; }
.deal-head h2 { font-size: 20px; }
.deal-head .sub { margin-top: 2px; }
.deal-pay { margin: 16px 0 0; font-size: 16px; font-weight: 600; }
.deal-pay strong { font-size: 20px; }
.deal-prize, .deal-for { margin: 8px 0 0; font-size: 14px; }
.deal-when { margin: 8px 0 0; }
.deal-apply { margin-top: 16px; width: 100%; min-height: 48px; }
.deal-mine { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.deal-status { margin: 16px 0 0; display: flex; gap: 8px; align-items: center; }
.deal-mine .deal-status { margin-top: 0; }
.deal-status .status { padding: 4px 12px; border-radius: 999px; background: var(--surface-2); }
.deal-brief { margin: 12px 0 0; font-size: 14px; line-height: 1.5; white-space: pre-line; }
.deal-due { margin: 12px 0 8px; font-size: 14px; }
.deal-place { margin: 12px 0 0; font-weight: 700; }
.deal-sheet .deal-pay { margin: 0 0 8px; }
.deal-q { border: 0; padding: 0; margin: 0; }
.deal-q legend { font-weight: 600; margin-bottom: 8px; padding: 0; }

/* v3.09 team: Campaigns › Brand deals */
ul.plain.deal-list, ol.plain.deal-board, ul.plain.deal-picked { list-style: none; margin: 0; padding: 0; display: block; }
.deal-list li + li, .deal-board li + li, .deal-picked li + li { border-top: 1px solid var(--line); }
.deal-row { display: grid; gap: 4px; padding: 16px 0; color: var(--fg); text-decoration: none; }
.deal-row .name { font-weight: 700; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.deal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.deal-edit { max-width: 640px; margin-top: 16px; }
.deal-split { margin: 0; color: var(--muted); }
.deal-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }  /* v3.15 */
.deal-missing { margin: 0; text-align: right; }
@media (max-width: 720px) { .deal-actions { align-items: flex-start; } .deal-missing { text-align: left; } }
.deal-money p { margin: 0; }
.deal-money p + p { margin-top: 8px; }
.deal-board li, .deal-picked li { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.deal-board .place { font-weight: 800; font-size: 18px; min-width: 32px; }
.deal-board .name, .deal-picked li > span:first-child { flex: 1; min-width: 0; display: grid; gap: 4px; }
.deal-picked .mbar { max-width: 240px; }
.pill.up { color: var(--up); border-color: color-mix(in srgb, var(--up) 50%, var(--line)); }
.deal-grid input { min-width: 0; width: 100%; box-sizing: border-box; }

/* v3.10 Your level (?): the rank ladder, one line each, the creator's own row marked */
.lv-ladder, .lv-rung { display: block; }
.lv-rung { color: var(--fg); padding: 2px 0; white-space: nowrap; }
.lv-rung .muted { font-size: 12px; }
.lv-rung.mine b { color: var(--ember); }
.lv-you { margin-left: 4px; font-size: 12px; font-weight: 700; color: var(--ember); }
.qtip-pop .lv-how { display: block; margin-top: 6px; font-size: 12px; text-decoration: underline; }
/* v3.10 Growth since joining: change bar, sparkline since joining, Too early muted + last */
.gr-sort { margin: 4px 0 12px; }
td.gr-chg { min-width: 140px; }
.gr-spark { display: inline-block; vertical-align: middle; overflow: visible; }
.gr-spark polyline { fill: none; stroke: var(--ember); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.gr-spark.up polyline { stroke: var(--up); }
.gr-spark.down polyline { stroke: var(--down); }
.gr-spark.flat polyline { stroke: var(--muted); }
tr.gr-early td { color: var(--muted); }
tr.gr-early .delta, tr.gr-early .gr-spark { opacity: .55; }
.gr-full { font-size: 12px; }
#reviews { scroll-margin-top: calc(var(--topbar-h, 64px) + 16px); } /* v3.10 "How to earn stars" lands here, clear of the sticky header */
/* v3.14 the creator rate per campaign product (Justher + Admins): Creator % · Total · Open · Us · TikTok link · Save */
.rate-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; margin: 16px 0 0; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.rate-form label { gap: 4px; font-size: 12px; }
.rate-form .rate-in input { width: 96px; }
.rate-form .rate-link { flex: 1 1 240px; min-width: 0; }
.rate-form .rate-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 44px; color: var(--muted); }
.rate-form .rate-facts strong { color: var(--fg); }
.rate-form .qtip { align-self: center; min-height: 44px; display: inline-flex; align-items: center; }
.rate-form .rate-msg { flex: 1 0 100%; margin: 0; min-height: 0; }
.rate-form .rate-msg:empty { display: none; }
.rate-form.camp-link { margin-top: 16px; }
.team-tips p { margin: 6px 0 0; }

/* v3.19 "Fast approval" on products of campaigns we created; a brand's no + products to request instead */
.tag.fast { color: var(--up); border-color: var(--up-line); }
.tag.fast .ic, .tag.fast svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; }
.tag.fast .qtip { margin-left: 2px; }
.stack-card > .tags { justify-self: start; display: flex; flex-wrap: wrap; gap: 6px; }
.sjobs.snos { margin-top: 20px; }
.alt-box { margin-top: 12px; }
.alt-head { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.alt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.alt-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.alt-pic { position: relative; width: 36px; height: 36px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); color: var(--faint); }
.alt-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.alt-pic .initials { font-size: 12px; font-weight: 800; }
.alt-name { min-width: 0; display: grid; gap: 2px; }
.alt-name .name { font-weight: 600; font-size: 14px; }
.invite-box .alt-box, .acct-req .alt-box { text-align: left; }

/* v3.20 / v3.28 the tip under "Reason to buy now" (shown on No) */
.rv-tip { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 0; padding: 8px 12px; border-radius: 10px;
  background: color-mix(in srgb, var(--ember) 8%, transparent); font-size: 14px; }
.rv-tip .icon { flex: none; margin-top: 3px; color: var(--ember); }

/* v3.21 golden videos: a gold star (performance-decided, rare), the creator's note, one celebration; the gold level bar */
.gold-star { color: var(--gold); text-shadow: 0 0 10px var(--gold-glow); }
.gold-chip { color: var(--gold); border-color: var(--gold); font-weight: 700; }
.rv-gold { font-size: 12px; padding: 1px 8px; vertical-align: 1px; color: var(--gold); border-color: var(--gold); font-weight: 700; }
.rv-gold .qtip-btn { margin-left: 2px; }
.gold-card { padding: 24px 32px; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold-glow) inset; }
.gold-card .eyebrow { color: var(--gold); font-weight: 700; }
.gold-card.team p { margin: 6px 0 0; }
a.gold-new { display: block; color: inherit; text-decoration: none; }
.gold-new h2 { margin: 6px 0 4px; }
.lv-goldbar .lv-fill { background: var(--gold); background-size: auto; box-shadow: 0 0 8px var(--gold-glow); }
.lv-goldbar .lv-badge { background: var(--gold); color: #0A0A0C; }

/* v3.24 color notes on creators (team only): a dot per creator, the Notes panel, the Red / Yellow / Black chips */
.fdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0 6px; vertical-align: middle; flex: none; }
.fdot.big { width: 14px; height: 14px; margin: 0 4px 0 10px; }
.fdot-red { background: var(--down); box-shadow: 0 0 0 3px rgba(229, 72, 77, .22); }
.fdot-yellow { background: var(--warn); box-shadow: 0 0 0 3px var(--warn-line); }
.fdot-black { background: #000; box-shadow: 0 0 0 2px var(--fg); }
.fdot-slot { display: none; }
.notes-card .card-head { align-items: center; }
.note-list { display: grid; gap: 12px; margin: 12px 0 0; }
.note { border: 1px solid var(--line); border-left-width: 4px; border-radius: 12px; padding: 16px 20px; }
.note-red { border-left-color: var(--down); }
.note-yellow, .note-suggest { border-left-color: var(--warn); }
.note-black { border-left-color: var(--fg); }
.note-suggest { border-style: dashed; border-left-style: solid; }
.note.overdue { background: rgba(229, 72, 77, .06); }
.note-top { display: flex; align-items: center; gap: 2px; font-size: 14px; }
.note-top .fdot { margin-left: 0; }
.note-text { margin: 6px 0 4px; overflow-wrap: anywhere; }
.note-out { margin: 6px 0 0; font-size: 14px; }
.note-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.note-row { display: flex; flex-wrap: wrap; gap: 12px; }
.note-row label { flex: 1 1 160px; }
.note .stack-form { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.note-new { margin-top: 12px; }
.note-new .segmented .fdot { margin: 0 4px 0 0; }
.note-hist { margin-top: 16px; }
.note-hist summary { cursor: pointer; color: var(--muted); font-weight: 600; }
button.status-chip.flag-chip .fdot { margin: 0 2px 0 0; width: 8px; height: 8px; }
.needs-today .name .fdot { margin: 0 6px 0 0; }
.pill.rv-minor { font-size: 12px; color: var(--down); border-color: var(--down); }
.rv-minor-line { margin: 8px 0; }
.pill.rv-policy { font-size: 12px; color: var(--warn); border-color: var(--warn-line); }
.segmented button[aria-checked="true"] .fdot-black { box-shadow: 0 0 0 2px var(--bg); }

/* v3.30 one-time Shop Ads authorization card */
.ads-auth-how { margin: 8px 0; }
.ads-auth-how summary { cursor: pointer; font-weight: 600; }
.ads-auth-how ol { margin: 8px 0; padding-left: 20px; }
.ads-auth-how li { margin: 4px 0; }
/* v3.31 Campaigns › Products: look up a product, then the same rate box as campaign products */
.shelf-find { display: flex; gap: 10px; align-items: flex-end; margin-top: 12px; }
.shelf-find label { flex: 1 1 auto; min-width: 0; }
.shelf-find input { width: 100%; box-sizing: border-box; }
.shelf-preview { margin-top: 16px; }
.shelf-form .deal-grid { flex: 1 1 100%; }
.shelf-form .deal-grid .rate-in input { width: 100%; }
.shelf-form .check { flex: 0 0 auto; align-self: center; font-size: 14px; }
.shelf-form .form-actions { display: flex; gap: 10px; }
.shelf-edit > .rate-form { margin-top: 8px; }

/* ---------------------------------------------------------------- v3.32 Products tab: Higher rates · Top picks */
.shop-tabs { display: flex; width: fit-content; margin: 16px 0 24px; max-width: 100%; }
.segmented a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; font-size: 14px;
  font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; }
.segmented a:hover { color: var(--fg); }
.segmented a[aria-current="page"] { background: var(--fg); color: var(--bg); }
.segmented a:focus-visible { outline: 2px solid var(--ember-glow); outline-offset: 2px; }
.segmented a .n { font-size: 12px; font-weight: 700; color: var(--ember); font-variant-numeric: tabular-nums; }
.segmented a[aria-current="page"] .n { color: inherit; opacity: .75; }
.picks-lede { margin: 0 0 12px; display: flex; align-items: center; gap: 6px; }
.pick-filter { margin: 0 0 16px; }
.picks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.pick-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); overflow: hidden; }
.pick-pic { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; background: var(--surface-2); }
.pick-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pick-pic .initials { font-size: 28px; font-weight: 800; color: var(--faint); letter-spacing: .04em; }
.pick-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; flex: 1; }
.pick-cat { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pick-name { margin: 0; font-size: 16px; font-weight: 650; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.pick-rate { margin: 2px 0 0; font-size: 14px; }
.pick-rate strong { font-size: 20px; font-weight: 800; }
.pick-note { margin: 0; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  line-clamp: 2; overflow: hidden; }
.pick-add { margin-top: auto; align-self: stretch; justify-content: center; }
.pick-body > :nth-last-child(2) { margin-bottom: 10px; }
@media (max-width: 720px) {
  .shop-tabs { margin: 12px 0 20px; }
  .picks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pick-body { padding: 12px 12px 14px; gap: 4px; }
  .pick-name { font-size: 14px; }
  .pick-rate strong { font-size: 18px; }
  .pick-add { min-height: 40px; padding: 0 10px; font-size: 14px; gap: 6px; }
}
/* team: Campaigns › Top picks */
.tpick-list { display: grid; gap: 0; }
.tpick { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 16px 0;
  border-top: 1px solid var(--line); }
.tpick:first-child { border-top: 0; padding-top: 4px; }
.tpick.is-hidden .thumb { opacity: .55; }
.tpick-name { margin: 0; font-weight: 650; }
.tpick-name a { color: inherit; }
.tpick .sub-line { margin: 4px 0 0; }
.tpick-note { display: flex; gap: 8px; margin-top: 10px; max-width: 520px; }
.tpick-note input { flex: 1; min-width: 0; }
.tpick-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 260px; }
.pick-add-form { max-width: 560px; }
@media (max-width: 720px) {
  .tpick { grid-template-columns: 48px minmax(0, 1fr); }
  .tpick .thumb { width: 48px; height: 48px; }
  .tpick-acts { grid-column: 1 / -1; justify-content: flex-start; max-width: none; }
}
/* v3.33 Top picks: "n new picks", New tag, In your showcase; team: results line, Ask for a campaign */
.segmented a .seg-dot { display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--ember);
  vertical-align: middle; }
.picks-news { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--line);
  border-left: 4px solid var(--ember); border-radius: 12px; color: var(--fg); text-decoration: none; font-size: 14px; }
a.picks-news:hover { background: var(--surface-2); }
.picks-news .ic { width: 16px; height: 16px; color: var(--ember); flex: none; }
.pick-new { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--ember); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.pick-have { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 650; color: var(--up, var(--fg)); }
.pick-have .ic { width: 15px; height: 15px; flex: none; }
.tpick-results { color: var(--fg); }
.ask-brand { display: grid; gap: 8px; padding: 18px 0; border-top: 1px solid var(--line); }
.ask-brand:first-child { border-top: 0; padding-top: 4px; }
.ask-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.ask-num { white-space: nowrap; font-size: 14px; color: var(--muted); }
.ask-num strong { font-size: 20px; font-weight: 800; color: var(--fg); font-variant-numeric: tabular-nums; }
.ask-brand .sub-line { margin: 0; }
.ask-brand .tpick-name { font-size: 16px; }
.ask-brand .ask-products { display: grid; gap: 10px; margin: 6px 0 0; padding: 2px 0 2px 16px; border-left: 2px solid var(--line); }
.ask-products li { display: grid; gap: 2px; min-width: 0; }
.ask-brand .ask-products .sub-line { color: var(--muted); font-size: 14px; }
.ask-products a { color: inherit; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* v3.34 (BRIEF-v334) creator Products › Higher rates: each campaign in the Campaigns list opens its products */
.camp-link .camp-see { margin-top: 16px; }
.camp-open-bar { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 0 0 16px; scroll-margin-top: 80px; }
.camp-open-bar .camp-info { width: 100%; margin: 0; }
.camp-open-bar h2:focus { outline: none; }
.camp-open-bar h2:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
/* v3.34 team Top picks: what Recheck (or a campaign share link) came back with */
.tpick-flash { margin: 4px 0 0; }
.tpick { scroll-margin-top: 80px; }

/* v3.35 ONE Products grid (BRIEF-v335): one card per product, picture on top, 2 columns on phones */
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-bottom: 24px; }  /* v4.02 mockup-04 cards */
.gcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); overflow: hidden; min-width: 0; }
.gcard.is-top { border-color: var(--focal-line); box-shadow: 0 0 48px -28px var(--ember-glow); }  /* v4.02 only the top pick */
.gcard-pic { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; background: var(--surface-2); }
.gcard-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gcard-pic .initials { font-size: 28px; font-weight: 800; color: var(--faint); letter-spacing: .04em; }
.gcard-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; flex: 1; min-width: 0; }
.gcard-body .tags { display: flex; flex-wrap: wrap; gap: 4px; }
.gcard-body .tag { padding: 2px 8px; font-size: 12px; }
.tag.pin { color: var(--ember); border-color: var(--focal-line); background: var(--surface-2); }
.tag.pin svg, .tag.have svg { width: 12px; height: 12px; vertical-align: -2px; margin-right: 3px; }
.tag.have { color: var(--up); border-color: var(--up-line); }
.gcard-name { margin: 0; font-size: 16px; font-weight: 650; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.gcard-name .plink { color: inherit; text-decoration: none; }
.gcard-name .plink:hover { text-decoration: underline; text-underline-offset: 3px; }
.gcard-name .plink-tt svg { width: 12px; height: 12px; vertical-align: -1px; margin-left: 4px; color: var(--faint); }
.gcard .sub-line { margin: 0; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gcard-rate { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 14px; }
.gcard-rate strong { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.g-usual { color: var(--muted); font-size: 12px; }
.g-sale { color: var(--fg); font-weight: 650; font-size: 14px; }
.gcard-note { margin: 0; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); font-size: 14px; color: var(--fg);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.gcard .pcard-action { margin-top: auto; padding-top: 10px; display: grid; gap: 6px; }
.gcard .pcard-action .btn { width: 100%; }
.gcard .pass-btn { justify-self: center; color: var(--muted); }
.grid-more { display: block; margin: -8px auto 24px; }
.collab-tools .pill-btn.on { border-color: var(--ember); color: var(--ember); }
.collab-tools .pill-btn svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.pin-find { display: block; margin: 0 0 12px; max-width: 420px; }
.pin-find input { width: 100%; }
.pin-cand .tag { padding: 1px 8px; font-size: 12px; margin-left: 4px; }
.trend-pic { position: relative; display: grid; place-items: center; width: 100%; height: 100%; }
.trend-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trend-pic .initials { font-size: 14px; font-weight: 800; color: var(--faint); }
@media (max-width: 720px) {
  .ggrid { grid-template-columns: minmax(0, 1fr); gap: 12px; }  /* v4.02 one mockup-04 card per row */
  .gcard-body { padding: 12px 12px 14px; gap: 5px; }
  .gcard-name { font-size: 14px; }
  .gcard-rate strong { font-size: 18px; }
  .gcard .pcard-action .btn { min-height: 40px; padding: 0 10px; font-size: 14px; }
  .gcard .acct-req { font-size: 12px; }
}
.gcard-body .tag.fast { display: inline-flex; align-items: center; white-space: nowrap; }
.gcard-body .tag .qtip { margin-left: 3px; }

/* v3.36 picks row (v3.62 Today's picks): the creator's row on top of Products; the team's read-only page */
.week-picks { margin: 0 0 24px; min-width: 0; max-width: 100%; }  /* main is a grid: never let the row widen the page */
.wp-head { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.wp-head h2 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.wp-head h2 .ic, .wp-head h2 svg { width: 18px; height: 18px; color: var(--muted); }  /* v4.02 the top pick is the focus */
.wp-row { margin-bottom: 0; }
@media (max-width: 720px) {
  /* a row you swipe: about two cards wide, the next one peeking */
  .wp-row { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 86%; overflow-x: auto; min-width: 0; position: relative; /* clips the (?) pop-ups too */
    scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -16px; padding-left: 16px; padding-right: 16px;
    scroll-padding-left: 16px; }
  .wp-row .gcard { scroll-snap-align: start; }
}
.wp-why { color: var(--fg); font-size: 14px; }
/* v3.62 Campaigns: today's 5 picks and why, one compact line under the to-do chips */
.tp-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 0 16px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 12px; }
.tp-head { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--fg); text-decoration: none; }
.tp-head svg { width: 16px; height: 16px; color: var(--ember); }
.tp-items { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; flex-basis: 100%; }
.tp-items li { min-width: 0; }
.tp-items a { color: var(--fg); }

/* v3.37 Justher's campaign scoreboard (team Campaigns top + Overview tile) */
.sb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.sb-tile { background: var(--surface-2); border-radius: var(--radius); padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sb-tile.wide { grid-column: span 2; grid-row: span 1; }
.sb-label { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.sb-big { margin: 0; font-size: 30px; font-weight: 700; font-stretch: 110%; line-height: 1.15; font-variant-numeric: tabular-nums; }
.sb-big .per { font-size: .5em; font-weight: 600; color: var(--muted); margin-left: 2px; }
.sb-goal { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
.sb-goal .mbar { height: 8px; }
.sb-pace { position: absolute; top: -3px; width: 2px; height: 14px; margin-left: -1px; background: var(--fg); opacity: .55; border-radius: 1px; pointer-events: none; }
.sb-goal.done .small { color: var(--up); }
.sb-spark { margin-top: 2px; }
.sb-months { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; height: 116px; margin: 24px 0 6px; }
.sb-month { display: grid; grid-template-rows: 1fr auto auto; gap: 4px; min-width: 0; text-align: center; }
.sb-stack { display: flex; flex-direction: column-reverse; justify-content: flex-start; align-items: stretch; min-height: 0; }
.sb-stack i { display: block; min-height: 0; }
.sb-stack i.j { background: var(--ember); border-radius: 2px 2px 2px 2px; }
.sb-stack i.c { background: var(--bar); border-radius: 4px 4px 0 0; }
.sb-month b { font-size: 14px; font-variant-numeric: tabular-nums; }
.sb-month span:last-child { color: var(--faint); font-size: 12px; }
.sb-month.now span:last-child { color: var(--fg); font-weight: 600; }
.sb-key { margin: 4px 0 0; }
.sb-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 10px; width: 100%; color: inherit; text-decoration: none; }
.sb-list .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-tform { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 12px 0 4px; }
.sb-tform label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 600; }
.sb-tform input { width: 96px; }
.sb-tform .form-msg { flex-basis: 100%; margin: 0; }
@media (max-width: 1100px) { .sb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .sb-grid { gap: 10px; }
  .sb-tile { padding: 16px; }
  .sb-big { font-size: 26px; }
  .sb-months { height: 96px; gap: 6px; }
}

/* v3.38 Products List / Grid toggle (BRIEF-v338): two icon buttons next to the sort control, as tall as it (36 px).
   List = the pre-v3.35 .pcard in .pgrid inside a .card.camp (phones: one column, no card around it), styles unchanged. */
.view-toggle { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); }
.vt-btn { display: grid; place-items: center; width: 36px; height: 30px; border: 0; border-radius: 999px; background: none; color: var(--muted); cursor: pointer; }
.vt-btn svg { width: 16px; height: 16px; }
.vt-btn:hover { color: var(--fg); }
.vt-btn.on { background: var(--bg); color: var(--fg); }  /* v4.02 orange stays on the top pick */
.vt-btn:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.plist .tags .gcard-note { flex-basis: 100%; margin-top: 4px; }

/* v3.39 (BRIEF-v339) compact List card: 3–4 per phone screen. Same card (.pcard: border, radius, 24 px padding), less in
   it: thumb + name + shop · money line · one tag + price · a small I want this on the right. The name button stretches
   over the whole card (tap anywhere = the detail sheet); the action row sits above it. */
.lcard { position: relative; }
.lc-top { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; }
.lc-thumb { width: 48px; height: 48px; border-radius: 10px; }
.lc-name { min-width: 0; }
.lc-name h3 { margin: 0; font-size: 16px; line-height: 1.2; }
.lc-open { all: unset; cursor: pointer; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
  overflow: hidden; overflow-wrap: anywhere; font: inherit; font-weight: 700; color: var(--fg); }
.lc-open::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.lc-open:focus-visible::after { outline: 2px solid var(--ember); outline-offset: -2px; }
.lcard:hover { border-color: var(--faint); }
.lc-name .sub-line { margin: 1px 0 0; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-money { margin: 8px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 14px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.lc-sale { font-weight: 700; color: var(--fg); }
.lc-sep { color: var(--faint); }
.lc-money strong { font-size: 16px; font-weight: 800; }
.lc-usual { padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 500; }
.lc-facts { margin: 8px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lc-meta .tag { white-space: nowrap; padding: 2px 9px; line-height: 1.4; }
.lc-meta .tag svg { width: 12px; height: 12px; vertical-align: -2px; margin-right: 3px; }
.lc-price { margin-left: auto; color: var(--muted); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lc-action { position: relative; z-index: 1; margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 12px; }
.lc-action .btn.small { min-height: 44px; }
.lc-action .status { margin-right: auto; }
.lc-action .sub-line { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 12px; }
.lc-action .acct-req { flex-basis: 100%; }
.lc-action .decision-note { flex-basis: 100%; margin: 0; }
.lcard.is-pinned { border-color: var(--focal-line); }
@media (max-width: 720px) { section.card.camp.plist .pgrid { --pgap: 12px; } }  /* phones: a bit less space between the compact cards */
/* the detail sheet: the full v3.38 card, flat inside the sheet */
.pd-sheet .pd-head { justify-content: flex-end; margin-bottom: -8px; }
.sheet .pd-card { border: 0; border-radius: 0; background: none; padding: 0; }
.pd-card .pcard-name .pd-name { margin: 0; font-size: 18px; line-height: 1.3; display: block; overflow: visible; }
.pd-card .pcard-name .sub-line { display: block; overflow: visible; }
.pd-card .tags .gcard-note { flex-basis: 100%; margin-top: 4px; }
/* v3.40 picks search: .tpick's display:grid (and .linkish's all:unset) beat the [hidden] attribute, so the search
   marked rows hidden but they stayed on screen and nothing looked filtered */
.tpick[hidden], .brows-more[hidden] { display: none; }
/* v3.41 a join request with no creator rate: the line + Set rate on one wrapping row */
.invite-note.needs-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: none; }

/* ---------- v3.43 Overview: campaigns first (BRIEF-v343) */
.row-label { margin: 0 0 -12px; font-size: 16px; font-weight: 600; }
.row-label .muted { font-weight: 500; }
.camp-kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }  /* v3.86 sales (+ earnings inside) | funnel */
.cs-earn { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.cs-earn-v { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cs-earn .nocut { margin-top: 0; }
.cs-est { margin-top: 6px; font-size: 14px; color: var(--muted); display: flex; align-items: baseline; gap: 6px; }  /* v3.93 estimate: grey, smaller */
.cs-est .label { font-size: 12px; }
.cs-est-v { font-variant-numeric: tabular-nums; font-weight: 600; }
.agency-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.agency-kpis.with-joins { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.4fr); }  /* v3.79 + Creators joined */
.creator-kpis { grid-template-columns: 1.35fr 1fr 1fr; }
.cs-meter { display: grid; gap: 6px; margin-top: 8px; }
/* v3.45 the funnel shape (BRIEF-v345); v4.02 (review change 11): name | a left-aligned bar true to scale | count, four
   shrinking bars, the drop written in the gap under each bar. Neutral bands (orange = good everywhere); each gap's %
   is a traffic light against its target: --up / --warn / --down. */
.cfunnel { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; column-gap: 14px; }
.cfunnel li { display: contents; }
.cf-k { color: var(--muted); font-size: 14px; align-self: center; }
.cf-n { font-size: 16px; font-variant-numeric: tabular-nums; text-align: right; align-self: center; }
.cf-band { display: flex; align-items: center; height: 18px; }
.cf-band i { display: block; height: 100%; background: var(--bar); border-radius: 999px; transform-origin: left center; min-width: 4px; }
.cfunnel li.cf-join { display: flex; grid-column: 2 / -1; align-items: center; gap: 6px; height: 26px; }
.cf-rate { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cf-join i { order: -1; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--bar); opacity: .45; }
.cf-join.up .cf-rate { color: var(--up); font-weight: 700; }
.cf-join.warn .cf-rate { color: var(--warn); font-weight: 700; }
.cf-join.down .cf-rate { color: var(--down); font-weight: 700; }
.cf-join.up i { background: var(--up); opacity: 1; }
.cf-join.warn i { background: var(--warn); opacity: 1; }
.cf-join.down i { background: var(--down); opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .cf-band i { animation: cf-grow .3s cubic-bezier(.2, .8, .2, 1) both; }
  .cfunnel li:nth-child(3) .cf-band i { animation-delay: .06s; } .cfunnel li:nth-child(5) .cf-band i { animation-delay: .12s; } .cfunnel li:nth-child(7) .cf-band i { animation-delay: .18s; }
  .cf-join i { animation: cf-fade .5s ease-out both; }
}
@keyframes cf-grow { from { transform: scaleX(0); } }
@keyframes cf-fade { from { opacity: 0; } }
@media (max-width: 1100px) {
  .creator-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .camp-kpis { grid-template-columns: minmax(0, 1fr); }  /* v3.86 two cards: stacked, never a gap beside one */
  .agency-kpis.with-joins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agency-kpis.with-joins > .kpi:last-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) { .row-label { margin-bottom: -8px; } }

/* ---------------------------------------------------------------- v3.64 calmer Home, Plan tab (BRIEF-v364) */
.do-list button.do-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 0;
  width: 100%; background: none; border: 0; font: inherit; color: var(--fg); text-align: left; cursor: pointer; min-height: 44px; }
/* one highlight with its ✕ (the cards inside keep their own look) */
.hl-wrap { position: relative; }
.hl-wrap > .card { padding-right: 56px; }
.hl-x { position: absolute; top: 12px; right: 12px; margin: 0; }
/* "5 new picks today →" */
.card.picks-line { display: flex; align-items: center; gap: 12px; padding: 16px 32px; font-weight: 700; color: var(--fg); text-decoration: none; }
.picks-line .pl-ic { color: var(--ember); display: inline-flex; }
.picks-line .pl-go { margin-left: auto; color: var(--muted); }
.picks-line:hover .pl-go { color: var(--fg); }
/* Plan: the week's videos goal as one big bar */
.wk-hero { margin: 4px 0 20px; }
.wk-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.wk-top .eyebrow { margin: 0; }
.wk-num { color: var(--muted); font-weight: 600; }
.wk-num strong { font-size: 28px; color: var(--fg); font-weight: 800; letter-spacing: -0.02em; }
.wk-bar { height: 14px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.wk-bar > i { display: block; height: 100%; border-radius: inherit; background: var(--ember); }
.wk-hero.hit .wk-bar > i { background: var(--up); }
.wk-sub { margin: 8px 0 0; display: flex; align-items: center; gap: 6px; }
.wk-hero.hit .wk-sub { color: var(--up); }
/* Plan: product checklist */
.cl-sum { color: var(--muted); font-size: 14px; white-space: nowrap; }
.cl-sum strong { color: var(--fg); }
.cl-group + .cl-group { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.cl-ghead { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.cl-ghead strong { color: var(--fg); }
.cl-list { margin-top: 8px; }
.cl-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 0; }
.cl-row + .cl-row { border-top: 1px solid var(--line); }
.cl-txt { display: flex; flex-direction: column; min-width: 0; }
.cl-txt .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cl-txt .sub-line { display: inline-flex; align-items: center; gap: 4px; }
.cl-row.done .cl-txt .sub-line { color: var(--up); }
.cl-ticks { display: inline-flex; align-items: center; gap: 6px; }
.cl-tick { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); box-sizing: border-box; display: block; }
.cl-tick.extra { width: 10px; height: 10px; }
.cl-tick.on { background: var(--ember); border-color: var(--ember); }
.cl-row.done .cl-tick.on { background: var(--up); border-color: var(--up); }
@media (prefers-reduced-motion: no-preference) {
  .cl-tick.new { animation: cl-pop 420ms cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: var(--d, 0ms); }
  .cl-ticks.burst { animation: cl-burst 700ms ease-out both; }
}
@keyframes cl-pop { 0% { transform: scale(0); } 70% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes cl-burst { 0% { transform: scale(1); } 30% { transform: scale(1.25); } 100% { transform: scale(1); } }
/* Plan: the samples section (the old Samples tab, whole) */
.plan-samples { scroll-margin-top: 80px; }
.plan-samples > .section-title { display: flex; align-items: center; gap: 8px; margin: 32px 4px 12px; font-size: 20px; }
.rv-more { display: block; margin: 12px auto 0; min-height: 44px; }
@media (max-width: 600px) {
  .cl-row { gap: 10px; }
  .cl-tick { width: 14px; height: 14px; }
  .cl-tick.extra { width: 9px; height: 9px; }
  .card.picks-line { padding: 16px 24px; }
}

/* ---------- v3.46 campaign insights (BRIEF-v346): Top campaigns + Stuck creators under the funnel; Top creators / Sales
   spread / Earned per sale on a campaign page and "All campaigns". Sales bars = ember (heat); counts = neutral --bar;
   statuses only --up / --warn / --down. */
.camp-insights { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.camp-insights .card-head { margin-bottom: 16px; }
.tc-list { list-style: none; margin: 0; padding: 0; display: grid; }
.tc-list li + li { border-top: 1px solid var(--line); }
.tc-row { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 10px; row-gap: 8px; padding: 14px 0; color: inherit; text-decoration: none; }
.tc-list li:first-child .tc-row { padding-top: 0; }
.tc-rank { grid-row: 1 / 4; font-size: 18px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.tc-name { font-weight: 600; }
.tc-row:hover .tc-name { text-decoration: underline; }
.tc-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.tc-bar strong { font-variant-numeric: tabular-nums; font-size: 14px; }
.tc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; color: var(--muted); }
.tc-earn { font-variant-numeric: tabular-nums; }
.tc-fn { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.tc-fn > * + *::before { content: "→ "; color: var(--muted); font-weight: 400; }
.tc-step { font-weight: 700; }
.tc-step.up { color: var(--up); }
.tc-step.warn { color: var(--warn); }
.tc-step.down { color: var(--down); }
.tc-step.na { color: var(--muted); font-weight: 400; }
.stk-count { font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.stk-count.zero { color: var(--muted); }
.stk-list { list-style: none; margin: 0; padding: 0; display: grid; }
.stk-person { padding: 12px 0; border-top: 1px solid var(--line); min-width: 0; }
.stk-person:first-child { padding-top: 0; border-top: 0; }
.stk-camps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.stk-camps li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; font-size: 14px; align-items: baseline; }
.stk-camps a { color: var(--muted); }
.stk-days { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 14px; }
.stk-more { margin-top: 6px; font-size: 14px; }
.stk-more summary { cursor: pointer; color: var(--muted); }
/* v3.74 Waiting on sample / No sample asked: a quieter line under the Stuck list */
.stk-rest { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.stk-rest > summary { cursor: pointer; color: var(--muted); }
.stk-sub { font-size: 12px; font-weight: 600; color: var(--muted); margin: 12px 0 0; text-transform: none; }
.stk-rest .stk-person:first-child { padding-top: 6px; }
.ci-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .8fr); gap: 32px; }
.ci-h { margin: 0 0 12px; font-size: 16px; }
.ci-top li { grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) auto; }
.ci-top .handle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-num { font-size: 14px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ci-num strong { color: var(--fg); }
.ci-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: end; }
.ci-cols.ci-gmv { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; } /* v3.80 six GMV brackets */
.ci-gmv .ci-col em { font-size: 12px; }
.nocut { display: block; margin-top: 4px; } /* v3.80 sales at no cut */
.ci-col { display: grid; justify-items: center; gap: 4px; }
.ci-col b { font-variant-numeric: tabular-nums; font-size: 16px; }
.ci-col.zero b { color: var(--muted); font-weight: 500; }
.ci-colbar { display: flex; align-items: flex-end; width: 100%; max-width: 48px; height: 88px; }
.ci-colbar i { display: block; width: 100%; background: var(--bar); border-radius: 3px 3px 0 0; }
.ci-col em { font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; }
.ci-line { margin: 12px 0 0; }
.ci-big { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ci-earned { margin: 12px 0 4px; font-variant-numeric: tabular-nums; }
.camp-ins p.small { margin: 2px 0 0; }
@media (max-width: 1100px) { .ci-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ci-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 720px) {
  .camp-insights { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ci-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ci-top li { grid-template-columns: minmax(0, 1fr) auto; }
  .ci-top .mbar { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- v3.48 sample funnel (BRIEF-v348): Requested → Shipped → Arrived → Posted, the v3.45 funnel shape with its
   own targets; waiting / cancelled lines open their lists; By shop = ship rate bars coloured --up / --warn / --down. */
.camp-samples .card-head { margin-bottom: 16px; }
.sf-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.sf-grid .cfunnel { margin-top: 0; }
.sf-side { display: grid; gap: 10px; min-width: 0; }
.sf-line { margin: 0; font-size: 14px; }
.sf-line summary { cursor: pointer; }
.sf-n { font-size: 18px; font-variant-numeric: tabular-nums; margin-right: 4px; }
.sf-n.warn { color: var(--warn); }
.sf-n.zero { color: var(--muted); font-weight: 500; }
.sf-by { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.sf-line + .sf-by { margin-top: -6px; }
.sf-list { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; gap: 8px; }
.sf-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: baseline; font-size: 14px; padding-top: 8px; border-top: 1px solid var(--line); }
.sf-who { display: grid; min-width: 0; }
.sf-who .handle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-what { color: var(--muted); }
.sf-meta { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sf-h { margin-top: 10px; }
.sf-shops li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; }
.sf-pct { font-size: 14px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ship-chip b { font-weight: 700; }
@media (max-width: 720px) {
  .sf-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .sf-shops li { grid-template-columns: minmax(0, 1fr) auto; }
  .sf-shops .mbar { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- v3.49 team speed + late samples (BRIEF-v349). Same traffic lights: --up on target, --warn below, --down far
   below / bad. Team chips (Late, Removal review, Never arrived rate) never reach a creator. */
.team-speed .card-head { margin-bottom: 12px; }
.sp-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sp-row { display: grid; gap: 8px; min-width: 0; }
.sp-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sp-name { font-size: 14px; color: var(--muted); }
.sp-val { font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sp-val.na { font-size: 16px; }
.sp-bar { position: relative; display: block; }
.sp-goal { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--fg); opacity: .55; border-radius: 1px; }
.sp-sub { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sp-extra { font-size: 14px; }
@media (max-width: 720px) { .sp-list { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
.vchip.down { color: var(--down); border-color: color-mix(in srgb, var(--down) 40%, transparent); }
.late-chip, .rel-chip { margin-left: 6px; white-space: nowrap; }
.sub-line .late-chip:first-child, .ch-accts .late-chip:first-child { margin-left: 0; }
button.status-chip.removal-chip { color: var(--down); border-color: color-mix(in srgb, var(--down) 40%, transparent); }
.sf-n.down { color: var(--down); }
.sf-late { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.sf-late .sf-meta .vchip { margin-left: 6px; }
.held-tag { font-size: 14px; align-self: center; margin-right: 4px; }
.held-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
/* creator side: the calm hold line (amber) and the red notice once they're up for removal review */
.late-hold { display: grid; gap: 12px; border-color: var(--warn-line); }
.late-hold.red { border-color: color-mix(in srgb, var(--down) 55%, transparent); background: color-mix(in srgb, var(--down) 7%, var(--surface)); }
.lh-top { display: flex; gap: 12px; align-items: flex-start; }
.lh-ic { color: var(--warn); font-size: 16px; line-height: 1.4; }
.late-hold.red .lh-ic, .late-hold.red .lh-title { color: var(--down); }
.lh-title { margin: 0; font-weight: 700; font-size: 16px; }
.lh-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lh-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.lh-list li .late-text { white-space: nowrap; }
.late-hold .btn { justify-self: start; }
.sjob-ask { margin: 8px 0 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); }

/* ---------- v3.50 AI reviews publish themselves + "Ask for a second look" (BRIEF-v350). Colours mean status only:
   green = answered / good, amber = needs a person or asks often; the AI chip is neutral. */
.pill.rv-ai-chip { font-size: 12px; padding: 1px 8px; vertical-align: 1px; color: var(--fg); border-color: var(--line); }
.pill.rv-held, .pill.rv-rate { font-size: 12px; padding: 1px 8px; vertical-align: 1px; color: var(--warn); border-color: var(--warn-line, var(--warn)); }
.pill.rv-rate .qtip-btn { margin-left: 2px; }
.rv-look-note { white-space: normal; }
.rv-look { border-left: 3px solid var(--warn); }
.rv-look.done { border-left-color: var(--up); }
.rv-look .eyebrow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rv-look p { margin: 4px 0 0; }
.rv-edits { margin-top: 12px; }
.rv-edits ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.rv-again { border-left-color: var(--up); }
.rv-again .eyebrow { color: var(--up); display: flex; align-items: center; gap: 6px; }
.rv-sl-head { display: flex; align-items: center; gap: 8px; }
.rv-sl-form { display: grid; gap: 12px; }
.rv-sl-form label { display: grid; gap: 6px; font-weight: 600; }
.rv-sl-form textarea { width: 100%; }
.rv-sl-form .btn-row { display: flex; gap: 12px; }
.rv-sl-line { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.rv-sl-line .icon { flex: none; margin-top: 3px; color: var(--muted); }
.rv-sl-line .sub-line { display: block; }
.rv-auto-row { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 8px 0 4px; }
.cs-looks { margin: 12px 0 0; }
.rv-sl-form[hidden], .rv-sl-head[hidden] { display: none; }

/* v3.51 frictionless campaigns: results per product, Waiting in Partner Center, rate check, Instant, Resend */
.rs-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; }
.rs-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.rs-row:first-child { border-top: 0; }
.rs-rank { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--muted); text-align: center; }
.rs-main { min-width: 0; display: grid; gap: 2px; }
.rs-name { font-weight: 600; overflow-wrap: anywhere; }
.rs-name .vchip { margin-left: 6px; vertical-align: middle; }
.rs-nums { display: grid; grid-template-columns: repeat(4, minmax(64px, auto)); gap: 18px; margin: 0; }
.rs-nums div { display: grid; gap: 2px; text-align: right; }
.rs-nums dt { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rs-nums dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.rs-nums small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.rs-nums:has(.rm-dd) { grid-template-columns: repeat(5, minmax(64px, auto)); }  /* v4.38 + Removed */
.rm-flags .vchip { white-space: normal; }
@media (max-width: 720px) {
  .rs-row { grid-template-columns: 24px minmax(0, 1fr); }
  .rs-nums { grid-column: 2; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .rs-nums:has(.rm-dd) { grid-template-columns: repeat(4, minmax(0, 1fr)); }  /* v4.38 Removed wraps */
  .rs-nums div { text-align: left; }
}
.pc-list { list-style: none; margin: 0; padding: 0; display: grid; }
.pc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.pc-row:first-child { border-top: 0; }
.pc-main { min-width: 0; display: grid; gap: 2px; }
.pc-label { font-weight: 600; }
.pc-n { font-size: 22px; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.pc-n.up { color: var(--up); } .pc-n.warn { color: var(--warn); } .pc-n.down { color: var(--down); }
.pc-row .pc-go { white-space: nowrap; }
.rv-check { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 10px; font-size: 14px; font-variant-numeric: tabular-nums; }
.rv-check .up { color: var(--up); font-weight: 600; }
.q-why { color: var(--warn); font-weight: 600; }
.camp-auto .auto-nudge-row + .auto-nudge-row { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- v3.53 "Request a manual review" + "Message us" in one row (BRIEF-v353); the note form opens under it */
.rv-sl > .rv-next { flex-wrap: nowrap; align-items: center; gap: 8px; }
.rv-sl > .rv-next .rv-sl-head { flex: 1 1 auto; min-width: 0; gap: 6px; }
.rv-sl > .rv-next .btn { padding: 8px 18px; line-height: 1.2; }
.rv-sl > .rv-next .rv-sl-head .btn { white-space: normal; text-align: center; }
.rv-sl > .rv-next > .btn { flex: none; white-space: nowrap; }
.rv-sl-limit { margin: -8px 4px 16px; }
.rv-sl-form.card { margin: 0 0 16px; }
.rv-sl-form .form-msg:empty { display: none; }
.rv-sl-head .btn:disabled { opacity: .55; cursor: not-allowed; }
.rv-limit-form label > span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- v3.54 Rates page: the brand-product gate line (open + 3 until 50 creators, then + 5) */
.gate-line { margin: 0 0 16px; font-size: 14px; line-height: 1.6; font-variant-numeric: tabular-nums; }
/* v3.56 scout credit: the "Bonus: to be decided" pill beside the recruits table's CSV link */
.credit-bonus { margin-right: 12px; white-space: nowrap; }
.credit-table .credit-v { display: inline-block; text-align: right; font-variant-numeric: tabular-nums; }
.credit-table .credit-shop { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.credit-head { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 4px; justify-content: flex-end; }

/* v3.59 the two steps (Home card + a product's own box): Add to showcase, then Request your free sample in TikTok.
   Done = calm green check, to do = a numbered circle; no red anywhere (dashboard-colour-meaning). */
.steps-card .step, .invite-box .step { padding: 12px 0 4px; border-top: 1px solid var(--line); }
.steps-card .step:first-of-type { border-top: 0; }
.invite-box .step { padding: 10px 0 2px; }
.step-head { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.step-head .step-n { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800;
  background: var(--surface-2); color: var(--fg); }
.step-head .step-n svg { width: 14px; height: 14px; }
.step-head.done { color: var(--muted); }
.step-head.done .step-n { background: transparent; color: var(--up); border: 1.5px solid var(--up); }
.step-head.done strong { font-weight: 600; }
.step-taps { margin: 0 0 6px 34px; font-weight: 600; line-height: 1.4; }
.step > .small.muted, .step > .sub-line, .step > .showcase-list, .step > .btn, .step > .alt-box { margin-left: 34px; }
.step > .btn { margin-top: 4px; margin-bottom: 8px; }
.showcase-list li.no-btn { grid-template-columns: 48px minmax(0, 1fr); }
@media (max-width: 720px) { .step-taps, .step > .small.muted, .step > .sub-line, .step > .showcase-list, .step > .btn, .step > .alt-box { margin-left: 0; } }
.invite-box .step { justify-self: stretch; }
/* v3.59 lesson playback speed */
.lesson-speed { margin: 12px 0 4px; }
.lesson-speed button { padding: 6px 12px; min-height: 36px; }
/* v3.59 inside a product card (2 columns on a phone): no number circles, no indent, smaller taps line */
.gcard .invite-box .step-head .step-n { display: none; }
.gcard .invite-box .step-head { margin-bottom: 4px; font-size: 14px; }
.gcard .invite-box .step-taps { font-size: 14px; font-weight: 600; margin-left: 0; }
.gcard .invite-box .step > * { margin-left: 0; }
.gcard .invite-box .step .small.muted { font-size: 12px; }


/* v3.65 (BRIEF-v365 #3, Basel 11-11: "too much blank space") the List card in 3 rows: thumb + name · money + price ·
   tag + button on one line. Desktop: 20 px inside the outer Products card (was 24); phones keep 24 px sides, 20 px top + bottom. */
.pgrid .pcard.lcard { grid-row: span 3; }
.lcard.pcard { padding: 20px; }
.lcard .lc-money { margin-top: 10px; }
.lcard .lc-price { margin-left: auto; padding-left: 8px; font-size: 14px; }
.lc-foot { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 40px; }
.lc-foot .tag { white-space: nowrap; padding: 2px 9px; line-height: 1.4; }
.lc-foot .tag svg { width: 12px; height: 12px; vertical-align: -2px; margin-right: 3px; }
.lc-foot .lc-action { margin: 0 0 0 auto; flex: 1 1 auto; }
.lc-foot .lc-action .btn.small { min-height: 40px; }
@media (max-width: 720px) { .lcard.pcard { padding: 20px 24px; } }  /* phones: the card is the outer card, sides stay 24 px */
/* v3.65 (BRIEF-v365 #4) Plan | Samples switch on top of the Plan tab: two halves, the count of samples on the way. */
.plan-switch { display: flex; width: 100%; max-width: 420px; margin: 0 0 24px; }
.plan-switch a { flex: 1; text-align: center; padding: 10px 16px; min-height: 44px; box-sizing: border-box; border-radius: 999px; font-size: 14px;
  font-weight: 600; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.plan-switch a:hover { color: var(--fg); }
.plan-switch a[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.plan-switch a:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.plan-switch .ps-n { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); color: var(--fg); font-size: 12px;
  font-weight: 700; font-variant-numeric: tabular-nums; }
.plan-switch a[aria-selected="true"] .ps-n { background: var(--bg); color: var(--fg); }
@media (max-width: 720px) { .plan-switch { max-width: none; margin-bottom: 16px; } }
/* v3.65 (BRIEF-v365 #2) Sales over time: the three numbers are the switch; the picked one gets a bold underline. */
.st-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 4px 0 16px; }
.st-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; min-height: 44px; border: 1px solid var(--line);
  border-radius: 12px; background: none; color: var(--fg); text-align: left; cursor: pointer; font: inherit; min-width: 0; }
.st-tab:hover { border-color: var(--faint); }
.st-tab[aria-selected="true"] { border-color: var(--fg); box-shadow: inset 0 -3px 0 var(--fg); }
.st-tab:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.st-l { font-size: 12px; font-weight: 600; color: var(--muted); }
.st-v { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.st-tab .delta { font-size: 12px; white-space: nowrap; }
@media (max-width: 720px) { .st-tab { padding: 10px; } .st-v { font-size: 17px; } }
/* v3.65 (BRIEF-v365 #5) per-tab walkthroughs: everything dims except the part being explained (the "hole": a clear box
   whose huge shadow is the dim layer), a small card under or over it. Above the header and the tab bar. */
.coach { position: fixed; inset: 0; z-index: 60; }
.coach-hole { position: fixed; border-radius: 16px; box-shadow: 0 0 0 200vmax rgba(10, 10, 12, .66), 0 0 0 2px var(--fg) inset;
  transition: top .25s ease, left .25s ease, width .25s ease, height .25s ease; pointer-events: none; }
.coach-card { position: fixed; left: 50%; transform: translateX(-50%); width: min(400px, calc(100vw - 24px)); padding: 24px; display: grid; gap: 6px;
  box-shadow: 0 24px 64px -24px rgba(0, 0, 0, .6); animation: coach-in .22s ease-out; box-sizing: border-box; }
@keyframes coach-in { from { opacity: 0; } }
.coach-card h2 { font-size: 20px; margin: 0; }
.coach-card p { margin: 0; line-height: 1.5; }
.coach-card > p:not(.eyebrow) { color: var(--muted); font-size: 16px; }
.coach-card .tour-foot { margin-top: 12px; }
.coach-card .btn.small { min-height: 44px; }
@media (prefers-reduced-motion: reduce) { .coach-hole { transition: none; } .coach-card { animation: none; } }
.sort-wrap { display: inline-flex; align-items: center; gap: 6px; }  /* v3.65 the sort's (?) stays beside it, not alone on a line */
.collab-bar { margin-bottom: 0; }  /* v3.65 the page's own gap is enough between the filters and the list (was 24 px more) */
/* v3.66 (BRIEF-v366 #1) Sales at a glance: facts under Sales over time; a small sales-over-time bar strip per product */
.st-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; margin: 0; }  /* v3.69 own card under What's selling */
.st-facts dd { font-size: 20px; }
@media (max-width: 720px) { .st-facts { grid-template-columns: 1fr 1fr; } .st-facts dd { font-size: 18px; } }
.prod-spark { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.prod-spark svg { width: 120px; height: 20px; flex: none; }
.prod-spark rect { fill: var(--bar); }
.prod-spark rect.ps-best { fill: var(--bar-hot); }
.prod-spark .ps-cap { font-size: 12px; color: var(--faint); }
/* v3.68 (Basel 11-11) the golden video wears a gold frame: all four sides, 2.5 px (2 px on its Videos row), a slow light
   sweep travelling round the frame every ~5 s and 4 tiny twinkles sitting ON the frame (never over text). Gold is a
   reward colour, never a status. Reduced motion: the static frame only. */
@property --gs-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.gold-why { list-style: none; margin: 8px 0 12px; padding: 0; font-weight: 600; color: var(--fg); }
.gold-why li + li { margin-top: 4px; }
.gold-why1 { margin: 0 0 4px; font-weight: 600; color: var(--gold); }
.gold-shine { --gs-w: 2.5px; position: relative; border: var(--gs-w) solid var(--gold);
  box-shadow: 0 0 0 1px var(--gold-glow) inset, 0 0 22px -6px var(--gold-glow); }
.gold-shine::after { content: ""; position: absolute; inset: calc(-1 * var(--gs-w) - 1px); border-radius: calc(var(--radius) + 1px);
  padding: calc(var(--gs-w) + 1px);
  background: conic-gradient(from var(--gs-a), transparent 0 74%, color-mix(in srgb, var(--gold-sheen) 55%, transparent) 82%,
    var(--gold-sheen) 86.5%, color-mix(in srgb, var(--gold-sheen) 55%, transparent) 90%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none; opacity: 0; }
.gs-tw { position: absolute; inset: calc(-1 * var(--gs-w)); pointer-events: none; display: none; }
.gs-tw i { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; opacity: 0; transform: scale(.4);
  background: var(--gold-sheen); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.gs-tw i:nth-child(1) { left: 18%; top: 0; }
.gs-tw i:nth-child(2) { left: 100%; top: 38%; animation-delay: 1.6s; }
.gs-tw i:nth-child(3) { left: 64%; top: 100%; animation-delay: 3.1s; }
.gs-tw i:nth-child(4) { left: 0; top: 72%; animation-delay: 4.4s; }
@media (prefers-reduced-motion: no-preference) {
  .gold-shine::after { opacity: 1; animation: gs-sweep 5.5s linear infinite; }
  .gs-tw { display: block; }
  .gs-tw i { animation: gs-twinkle 6s ease-in-out infinite; }
}
@keyframes gs-sweep { to { --gs-a: 360deg; } }
@keyframes gs-twinkle { 0%, 70%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 80% { opacity: .75; transform: scale(1) rotate(45deg); } 90% { opacity: 0; transform: scale(.5) rotate(90deg); } }
/* the row in Videos: same frame, smaller (rounded box inside the list, its own padding, 3 twinkles) */
.rv-row.gold-shine.sm { --gs-w: 2px; border-radius: 14px; margin: 8px -12px; padding: 0 12px; }
.rv-row + .rv-row.gold-shine.sm { border-top: var(--gs-w) solid var(--gold); }
.rv-row.gold-shine.sm + .rv-row { border-top-color: transparent; }
.rv-row.gold-shine.sm::after { border-radius: 15px; }
.rv-row.gold-shine.sm .gs-tw i { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; }
.rv-row.gold-shine.sm .gs-tw i:nth-child(4) { display: none; }
/* v3.67 hero goal ring: "47 / 60" on one line, the unit under it; never wraps or clips at 360-430 px */
.hero-goal .ring-in { padding: 0 6px; }
.hero-goal .ring-in strong { white-space: nowrap; }
.hero-goal .rg-of { font-weight: 600; color: var(--muted); }
.hero-goal .rg-unit { display: block; white-space: nowrap; font-size: 12px; }
@media (max-width: 720px) {
  .hero-goal .ring-in strong { font-size: 14px; }
  .hero-goal .rg-unit { font-size: 12px; }
}

/* v3.72 (BRIEF-v372) product cards: brand · Free sample · Ends Dec 3 on one line under the name (wraps on narrow cards,
   never a campaign); the brand filter beside the sort; the team's Dashboard usage page */
.sub-line.pbrand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; white-space: normal; }
.lc-facts { flex: 0 1 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-width: 0; font-size: 14px; color: var(--muted); }
.lc-name .sub-line.pbrand { white-space: normal; overflow: visible; }
.pbrand .pl-brand { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-sample, .pl-ends { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.pl-sample svg, .pl-sample .ic { width: 13px; height: 13px; color: var(--up); }
.brand-ctl select { max-width: 11.5rem; text-overflow: ellipsis; }
.ut-list { display: grid; gap: 10px; margin: 0; }
.ut-row { display: grid; grid-template-columns: minmax(7.5rem, 11rem) 1fr auto; align-items: center; gap: 12px; }
.ut-name { font-size: 14px; }
.ut-n { font-variant-numeric: tabular-nums; text-align: right; min-width: 4.5rem; }
.ut-drops { margin: 12px 0 16px; }
/* v3.77 Wrong deals on Needs you today: amber (needs fixing); the name turns red after 3 days via .late-text */
.needs-deals .do-ic { background: var(--warn-line); color: var(--warn); }
/* v3.78 Better deal elsewhere (Rates): amber = needs attention, never ember */
.bd-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 16px 0 24px; }
.bd-tiles .mbar { margin-top: 6px; }
.bd-card .spark .line { stroke: var(--warn); }
.bd-card .spark .area { fill: var(--warn-line); opacity: .6; }
@media (max-width: 900px) { .bd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- v3.79 Overview + Creators (BRIEF-v379) */
/* Creators joined: bars per day (per week past 31 days) for the selected range, dates under, the 50-linked goal meter */
.jn { display: grid; gap: 4px; margin: 10px 0 2px; }
.jn-bars { display: flex; align-items: flex-end; gap: 3px; height: 44px; }
.jn-bars i { flex: 1 1 0; min-width: 2px; max-width: 28px; background: var(--bar); border-radius: 3px 3px 1px 1px; }
.jn-bars i.z { background: var(--surface-2); }
.jn-axis { display: flex; justify-content: space-between; color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }
/* Samples card, second row: By shop | Video score (no empty space under the funnel) */
.sf-row2 { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.sf-row2 .sf-h:first-child { margin-top: 0; }
.sf-col { min-width: 0; }
.vscore { display: grid; gap: 8px; }
.vs-top { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.vs-big { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.vs-n { margin: 0; }
.vs-dist { margin-top: 4px; }
.sf-shops.vs-dist li { grid-template-columns: 48px minmax(0, 1fr) 36px; }
.vs-stars { color: var(--muted); letter-spacing: 1px; font-size: 12px; }
@media (max-width: 720px) {
  .sf-shops.vs-dist li { grid-template-columns: 48px minmax(0, 1fr) 36px; }
  .sf-shops.vs-dist .mbar { grid-column: auto; grid-row: auto; }
}
/* Creators page: roster tiles, then the GMV brackets columns */
#creators-kpis:not(:empty) { display: grid; gap: 24px; }
.br-cols { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
.br-cols li { display: grid; grid-template-rows: auto 120px auto; gap: 6px; justify-items: center; min-width: 0; }
.br-n { font-size: 18px; font-variant-numeric: tabular-nums; }
.br-cols li.z .br-n { color: var(--muted); font-weight: 500; }
.br-bar { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 100%; border-bottom: 1px solid var(--line); }
.br-bar i { display: block; width: min(56px, 80%); background: var(--bar); border-radius: 4px 4px 1px 1px; }
.br-k { color: var(--muted); font-size: 12px; text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .br-cols { gap: 4px; }
  .br-cols li { grid-template-rows: auto 96px auto; }
  .br-k { font-size: 12px; letter-spacing: -0.2px; }
}
/* v3.81 end dates entered from Partner Center: inline editor + the neutral "not set" row */
.end-edit { display: inline-block; margin-left: 8px; }
.end-edit summary { display: inline; cursor: pointer; list-style: none; }
.end-edit summary::-webkit-details-marker { display: none; }
.end-edit-row { display: inline-flex; gap: 8px; align-items: center; margin-left: 8px; }
.end-edit-row input[type="date"] { padding: 4px 8px; }
.no-end-row { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); }
.no-end-list .end-edit { margin-left: 0; }

/* v3.82 plan steps: products sold (the goal), videos per product, the pace line, what the next step needs */
.up-text { color: var(--up); }
.tier-chip.met { box-shadow: inset 0 0 0 1px var(--up); }
.step-gates { margin: 8px 0 4px; }
.step-gates .sg-list { display: grid; gap: 14px; margin: 6px 0 0; }
.step-gates .sg-row { display: grid; gap: 6px; }
.step-gates .sg-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.step-gates .sg-top .plan-num { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.step-gates .sg-row.met .plan-num { color: var(--up); }
.step-gates .plan-sub { font-size: 14px; color: var(--muted); }
.step-gates .sg-pace, .step-gates .sg-next { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 12px 0 0; font-size: 14px; }
.step-gates .sg-pace { color: var(--muted); }
.step-gates .sg-next { display: grid; gap: 2px; }
.step-gates .sg-pace svg, .step-gates .sg-next svg { width: 16px; height: 16px; flex: none; }
/* v3.83 "Give 3 products their 3rd video": the picked products as small links under the item */
.plan-prods { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0 0 16px; min-width: 0; }
.plan-prod { min-width: 0; max-width: 100%; display: inline-flex; gap: 4px; font-size: 14px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: inherit; text-decoration: none; white-space: nowrap; }
.plan-prod .pp-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; }  /* v4.06 the name shortens, the video count always shows */
.plan-prod .muted { flex: none; }
.plan-prod:hover { border-color: var(--focal-line); }

/* v3.90 showcase first: one short amber line where a creator asks (why behind ?); the team's "not in showcase" flag */
.sc-first { display: flex; align-items: center; gap: 6px; margin: 4px 0 6px; color: var(--warn); font-weight: 600; }
.step > .sc-first { margin-left: 34px; }
@media (max-width: 720px) { .step > .sc-first { margin-left: 0; } }
.sc-first .ic { width: 14px; height: 14px; flex: none; }
.add-sc { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.held-box.no-cut { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
/* v3.92 one gate met on a step not reached: which gate is still open (amber = below target) */
.step-gates .sg-open { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--warn); }
.step-gates .sg-open svg { width: 16px; height: 16px; flex: none; }
/* v3.92 Require TikTok connect (team, creator page) */
.connect-rule { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.connect-rule .tick-row.inline { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.connect-rule .connect-hint { display: inline-flex; align-items: center; gap: 6px; color: var(--warn); font-weight: 600; }
.connect-rule .connect-hint svg { width: 16px; height: 16px; }
.connect-rule.top { margin: 4px 0 12px; }
/* v3.92 the full-screen Connect your TikTok step */
.signin[data-state="gate"] .gate-title { font-size: 24px; margin: 8px 0 8px; }
.signin[data-state="gate"] .gate-btn { width: 100%; margin: 18px 0 8px; }
.signin[data-state="gate"] .gate-note { margin: 0 0 18px; }
/* v4.49 (BRIEF-v4490) Need help? on Connect: a quiet link under the button; "Help asked" greyed for 24 h */
.signin[data-state="gate"] .gate-help { margin: -8px 0 18px; }
.cn-help { min-height: 44px; display: inline-flex; align-items: center; gap: 4px; }
.cn-help.asked { color: var(--muted); cursor: default; text-decoration: none; }
.cn-help.asked svg { width: 14px; height: 14px; }
.cn-needhelp { margin: 4px 0 0; text-align: center; }
.cnh-form textarea { width: 100%; font: inherit; }
.cnh-sent { display: flex; align-items: center; gap: 6px; margin: 8px 0 4px; }
.connect-rule .connect-mode { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.signin[data-state="gate"] .gate-msg { margin: 12px 0 0; }
.signin[data-state="gate"] .gate-out { display: block; margin: 0 auto; }
/* v4.36.2 "TikTok will show our company name, Revler, Inc." next to every Connect button: one small muted line */
.tt-revler { display: block; margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.connect-bar p .tt-revler { margin-top: 2px; }
.ttp-over p.tt-revler { font-size: 14px; color: var(--muted); }
.cn-sheet .tt-revler { margin: 0; }
.signin[data-state="gate"] .tt-revler { margin: 0 0 6px; }
/* v3.92 scout onboarding ticks */
.ob-ticks { display: inline-flex; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.ob-tick { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.ob-tick.ok { color: var(--up); }
.ob-tick svg { width: 14px; height: 14px; }
.ob-tick .ob-dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-block; }
/* v3.92 first-run showcase tutorial: Home chip, sheet, drawn phone screens */
.fr-chip { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0 0 16px; padding: 14px 18px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--surface); color: var(--fg); font: inherit; font-size: 16px; text-align: left; cursor: pointer; }
.fr-chip svg { width: 20px; height: 20px; color: var(--fg); flex: none; }
.fr-chip > span:first-of-type { flex: 1; }
.fr-chip-n { font-size: 14px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.fr { display: grid; gap: 12px; }
.fr p { margin: 0; line-height: 1.45; }
.fr .sheet-head h2 { margin: 2px 0 0; }
.fr-dots { display: flex; gap: 6px; margin: 0 0 10px; }
.fr-dots i { width: 26px; height: 4px; border-radius: 2px; background: var(--line); }
.fr-dots i.on { background: var(--fg); }
.fr-dots i.done { background: var(--up); }
.fr-prod { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.fr-prod .sc-txt { display: grid; gap: 2px; min-width: 0; }
.fr-prod .name { font-weight: 700; }
.fr-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fr-phone { display: grid; grid-template-rows: auto 1fr auto; gap: 6px; padding: 8px 7px 10px; border: 2px solid var(--line); border-radius: 18px;
  background: var(--bg); min-height: 176px; }
.fr-phone.hit { border-color: var(--fg); }
.fr-notch { width: 34%; height: 5px; margin: 0 auto; border-radius: 3px; background: var(--line); }
.fr-scr { display: grid; gap: 6px; align-content: start; padding: 7px; border-radius: 10px; background: var(--surface-2); font-size: 12px; }
.fr-img { display: block; height: 46px; border-radius: 7px; background: var(--line); }
.fr-bar { display: block; height: 7px; border-radius: 4px; background: var(--line); }
.fr-btn { display: block; padding: 6px 4px; border-radius: 8px; text-align: center; font-weight: 800; font-size: 12px; line-height: 1.2;
  background: var(--fg); color: var(--bg); }
.fr-btn.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.fr-btn.hit { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--up); }
.fr-ok { display: flex; align-items: center; gap: 6px; color: var(--up); font-weight: 700; }
.fr-ok svg { width: 16px; height: 16px; flex: none; }
.fr-scr .fr-ok { font-size: 12px; }
.fr-cap { margin: 0; font-size: 12px; font-weight: 700; text-align: center; }
.fr-warn { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--warn-line);
  color: var(--fg); font-size: 14px; }
.fr-warn svg { width: 18px; height: 18px; color: var(--warn); flex: none; margin-top: 1px; }
.fr-wrong { display: grid; gap: 10px; padding: 14px; border-radius: 12px; border: 1px solid var(--warn-line); }
.fr-wrong p strong { color: var(--warn); }
.fr-wait { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--muted); }
.fr-wait svg { width: 15px; height: 15px; flex: none; }
.fr-big { font-size: 18px; font-weight: 700; }
.fr .btn-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
@media (max-width: 380px) { .fr-phone { min-height: 150px; padding: 6px 5px 8px; } .fr-btn { font-size: 12px; } .fr-cap { font-size: 12px; } }

/* v3.94 (BRIEF-v394) Needs you today = one work list: tick (left), owner pill, done rows sink + grey */
.needs-today .do-list li.wk-li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; column-gap: 8px; }
.needs-today .do-list li.wk-li.has-act { grid-template-columns: 44px minmax(0, 1fr); }
.needs-today .do-list li.wk-li.has-act .pc-btn-wrap { grid-column: 2; padding-left: 52px; }
.wk-tick { width: 32px; height: 32px; border-radius: 999px; border: 2px solid var(--line-strong, var(--line)); background: transparent; color: transparent;
  display: grid; place-items: center; cursor: pointer; padding: 0; justify-self: start; }
.wk-tick svg { width: 18px; height: 18px; }
.wk-tick:hover { border-color: var(--up); color: var(--up); }
.wk-tick[aria-pressed="true"] { background: var(--up); border-color: var(--up); color: var(--bg); }
.wk-tick:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.wk-who { display: inline-block; font-size: 12px; font-weight: 600; color: var(--fg); background: var(--surface-2); border-radius: 999px; padding: 1px 8px; margin-right: 6px; }
.wk-who.none { color: var(--muted); font-weight: 500; }
.wk-done-list { margin-top: 4px; border-top: 1px dashed var(--line); padding-top: 4px; }
.wk-done .do-row { opacity: .55; }
.wk-done .do-row .name { text-decoration: line-through; }
.wk-done-by { color: var(--up) !important; font-size: 12px; }
.wk-owner-list { display: grid; gap: 8px; }
.wk-own-row { display: grid; grid-template-columns: minmax(0, 1fr) 160px; align-items: center; gap: 12px; min-height: 44px; }
.wk-own-row select { min-height: 40px; }
/* the four numbers */
.four-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .four-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .four-kpis { gap: 12px; } .four-kpis .kpi.focal { grid-column: auto; } .four-kpis .kpi { padding: 20px; } .four-kpis .kpi .value { font-size: 24px; } .four-kpis .kpi.focal .value { font-size: 28px; } }
/* Recruiting */
.rec-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; margin-bottom: 20px; }
.rec-big { margin: 0 0 8px; font-size: 16px; }
.rec-big strong { font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rec-stat { display: grid; gap: 4px; }
.rec-stat .label { color: var(--muted); font-size: 14px; }
.rec-stat strong { font-size: 26px; font-variant-numeric: tabular-nums; }
.rec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.rec-head .seg { display: inline-flex; gap: 4px; }
.rec-head .seg-btn { min-height: 36px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.rec-head .seg-btn[aria-pressed="true"] { border-color: var(--fg); color: var(--fg); font-weight: 600; }
.rc-table td, .rc-table th { padding: 12px 16px; }
.rc-rate { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.rc-no li { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr) 32px; align-items: center; gap: 12px; }
.rc-no b { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .rec-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .rec-top > div:first-child { grid-column: 1 / -1; }
  .rc-rate { flex-direction: row; gap: 6px; align-items: baseline; }
  .rc-no li { grid-template-columns: minmax(0, 1fr) 80px 28px; }
}
/* Brands */
.br-pipe { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.br-step { display: grid; gap: 2px; text-align: center; min-width: 72px; }
.br-step strong { font-size: 26px; font-variant-numeric: tabular-nums; }
.br-arrow { color: var(--faint); font-size: 18px; }
.br-lost { margin-left: auto; }
.brand-row { cursor: pointer; }
.brand-row:hover td { background: var(--surface-2); }
.brand-table td, .brand-table th { padding: 14px 16px; }
.rec-card .table-wrap { margin-bottom: 0; }
.rec-card .table-wrap + .ci-h { margin-top: 28px; }
/* v3.94 text / number / date fields in sheets (brand list, goal, scout bonus) look like the textareas */
.sheet-field input:not([type="checkbox"]):not([type="radio"]) { width: 100%; min-height: 44px; font: inherit; padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); }
#br-form .chips { margin: 12px 0 4px; }
#br-form .sheet-field { display: grid; gap: 6px; margin-top: 12px; }

/* v3.95 vs the creator's own last videos (green = better / steady, amber = slipped, team only) */
.rv-vs { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 6px; }
.rv-vs li { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.rv-vs li.up { color: var(--up); }
.rv-vs li.warn { color: var(--warn); }
.rv-vs li .icon { flex: none; }
.rv-preview .btn-row { margin-top: 16px; }

/* v3.98 (BRIEF-v398) phones 360 / 390 / 430 px: every overflow the audit found (scripts/overflow_audit.mjs) */
.step-gates .sg-top .plan-label { display: block; overflow: visible; -webkit-line-clamp: none; line-clamp: none; min-width: 0; }
.step-gates .plan-sub { white-space: normal; overflow: visible; text-overflow: clip; }
@media (max-width: 480px) {
  .plan-label { display: block; overflow: visible; -webkit-line-clamp: none; line-clamp: none; }  /* steps read in full */
  .plan-sub { white-space: normal; overflow: visible; text-overflow: clip; }
}
@media (max-width: 720px) { .camp-row span { white-space: normal; overflow: visible; text-overflow: clip; } }  /* "Samples asked" wraps */
@media (max-width: 420px) {
  .camp-tiles.camp-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }  /* 5 tiles: 3 + 2, labels never cut */
  .stuck-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }  /* "Not in showcase" fits its box */
}

/* ---------- v3.99 the Plan tab as a climb (BRIEF-v399, review change 5). The climb sits on the page itself (no box):
   a faint mountain with level lines, the climbed trail + "You're here" in ember (the one focus on this screen), camps
   above dim. Then ONE "Next camp" card (green = met, amber = open), a lean "This week" card, the checklist's slots. */
.climb-wrap { display: grid; gap: inherit; }
.climb { position: relative; margin: -8px 0 -4px; }
.climb-map { position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 390 / 330; }
.climb-map::before { content: ""; position: absolute; inset: 0; pointer-events: none;  /* v4.01.2 glow sits on the peak (282, 60) */
  display: none; }  /* v4.01.2 the glow is an SVG circle on the peak now (no box edges) */
.climb-map svg { display: block; width: 100%; height: 100%; overflow: visible; }
.climb-mtn { fill: url(#climb-fade); }
.climb-ridge { fill: url(#climb-fade); opacity: .6; }
.climb-contours path { fill: none; stroke: var(--fg); stroke-opacity: .06; stroke-width: 1; }
.climb-cap { fill: var(--ember); fill-opacity: .9; }
.climb-seg { fill: none; stroke: var(--fg); stroke-opacity: .3; stroke-width: 2.5; stroke-dasharray: 1 7; stroke-linecap: round; }
.climb-seg.done { stroke: var(--ember); stroke-opacity: 1; stroke-width: 4; stroke-dasharray: none; }
.climb-camp circle { fill: var(--bg); stroke: var(--fg); stroke-width: 2; stroke-opacity: .3; }
.climb-camp.next circle { stroke-opacity: .75; }
.climb-camp.done circle, .climb-camp.here circle { fill: var(--ember); stroke: none; }
.climb-name { font-size: 12px; font-weight: 600; fill: var(--fg); fill-opacity: .4; font-family: inherit; }
.climb-name.done { fill: var(--muted); fill-opacity: 1; }
.climb-name.next { fill-opacity: .9; }
.climb-name.here { fill-opacity: 1; font-weight: 800; }
.climb-halo { fill: var(--ember); fill-opacity: .22; transform-box: fill-box; transform-origin: center; }
.climb-dot { fill: var(--ember); }
.climb-core { fill: #FFF3E8; }
.climb-pill { position: absolute; transform: translate(-50%, calc(-100% - 16px)); padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  background: var(--fg); color: var(--bg); font-size: 14px; font-weight: 600; line-height: 1.2; pointer-events: none;
  box-shadow: 0 6px 20px var(--ember-glow); transition: opacity .35s ease, transform .35s ease; }
.climb-pill b { font-weight: 800; }
.climb-pill.wait { opacity: 0; transform: translate(-50%, calc(-100% - 6px)); }
.climb-pill.left { transform: translate(calc(-100% - 16px), calc(-50% - 14px)); }
.climb-pill.left.wait { transform: translate(calc(-100% - 6px), calc(-50% - 14px)); }
.climb-pill.down { transform: translate(-50%, 16px); }
.climb-pill.down.wait { transform: translate(-50%, 6px); }
.climb-tap { position: absolute; width: 44px; height: 44px; transform: translate(-50%, -50%); padding: 0; border: 0; border-radius: 50%;
  background: transparent; cursor: pointer; }
.climb-tap:focus-visible { outline: 2px solid var(--focal-line); outline-offset: -8px; }
.climb-say { text-align: center; margin: 6px auto 0; max-width: 46ch; min-height: 0; }
.climb-say:empty { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .climb-halo { animation: climb-pulse 2.6s ease-in-out infinite; }
  .climb.arrived .climb-me { animation: climb-pop 600ms cubic-bezier(.2, 1.4, .4, 1); transform-box: fill-box; transform-origin: center; }
}
@keyframes climb-pulse { 0%, 100% { transform: scale(1); fill-opacity: .22; } 50% { transform: scale(1.4); fill-opacity: .07; } }
@keyframes climb-pop { 0% { scale: 1; } 40% { scale: 1.35; } 100% { scale: 1; } }
/* Next camp */
.camp-eyebrow { margin: 0 0 6px; display: flex; align-items: center; gap: 4px; }
.camp-title { font-size: 22px !important; line-height: 1.25; margin: 0 0 20px !important; }
.camp-list { display: grid; gap: 18px; }
.camp-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.camp-connect .camp-top { align-items: center; margin-bottom: 0; }
.camp-k { font-weight: 600; min-width: 0; }
.camp-sub { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 2px; }
.camp-n { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.camp-row.met .camp-n { color: var(--up); }
.camp-n .ic { width: 15px; height: 15px; }
.camp-row .mbar { height: 8px; }
.camp-pace { margin: 20px 0 0; font-size: 14px; color: var(--muted); }
/* This week: progress without a deadline is neutral; done is green */
.week-card .wk-bar > i, .week-card .mbar:not(.up):not(.warn):not(.down) > i { background: var(--fg); }
.week-card .plan-check { color: var(--muted); }
.week-card .plan-eyebrow:first-child { margin-top: 0; }
/* Product checklist: three video slots per product, a green tick that draws itself */
.cl-ghead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cl-group + .cl-group { margin-top: 16px; padding-top: 16px; }
/* the climb is the Plan screen's one ember focus: the lesson card under it goes neutral */
body.page-climb .learn-next { border-color: var(--line); }
body.page-climb .learn-next .eyebrow { color: var(--muted); }
.cl-ghead span { white-space: nowrap; }
.cl-slots { gap: 6px; }
.cl-slot { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--bar); box-sizing: border-box; display: grid; place-items: center; }
.cl-slot.on { background: var(--up); border-color: var(--up); }
.cl-slot svg { width: 17px; height: 17px; fill: none; stroke: var(--bg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cl-row:not(.done) .sub-line { color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .cl-slot.draw { animation: cl-fill 320ms ease-out both; animation-delay: var(--d, 0ms); }
  .cl-slot.draw path { stroke-dasharray: 18; stroke-dashoffset: 18; animation: cl-draw 420ms ease-out forwards; animation-delay: calc(var(--d, 0ms) + 180ms); }
}
@keyframes cl-fill { 0% { background: transparent; border-color: var(--bar); transform: scale(.85); } 100% { transform: scale(1); } }
@keyframes cl-draw { to { stroke-dashoffset: 0; } }
/* Plan › Samples: the Connect card touched the To post card (no gap between the section's cards) */
.plan-samples { display: grid; gap: inherit; }
@media (max-width: 600px) {
  .cl-slot { width: 24px; height: 24px; border-radius: 7px; }
  .cl-slots { gap: 5px; }
  .camp-title { font-size: 20px !important; }
}
@media (min-width: 900px) {
  .climb-wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
}

/* ---------- v4.00 colour, type, top bar + tab bar (BRIEF-v400, review changes 2, 9, 12 + section 4).
   Ember only for the one key number, the one main button and "you are here". Above-usual rates and done = green,
   progress with no deadline = neutral grey-white, list amounts = white, team task icons neutral. */
:root, [data-theme="dark"] { --neutral-fill: color-mix(in srgb, var(--fg) 78%, var(--surface-2)); }
[data-theme="light"] { --neutral-fill: color-mix(in srgb, var(--fg) 70%, var(--surface-2)); }
/* rates: green when they beat the usual rate, plain white otherwise */
.rate-up, .rate-fact > strong.rate-up { color: var(--up); }
.rate-plain, .rate-fact > strong { color: var(--fg); }
.rate-fact .rf-chip b { color: var(--up); }
.rate-fact .rf-chip:not(.rf-usual) { border-color: var(--up-line); color: var(--up); }
/* list amounts white */
.earn-big, .earn strong, .tag.sold, .perf-scouts .one-line-list .perf-money, .req-rate, .bv-earned strong { color: var(--fg); }
/* neutral progress (no deadline pressure): grey-white; deadlines keep amber / red; done = green */
.mbar > i, .sc-progress span, .sc-by .meter i, .sc-by .sc-bar.fu .meter i, .lands .meter i, .ds-part > i { background: var(--neutral-fill); }
.mbar.ember > i { background: var(--ember); }
.sc-by .sc-bar.fu .meter i { opacity: .6; }
.stages li.done::before { background: var(--up); }
.stages li.done i, .jny-dot.done { background: var(--up); border-color: var(--up); }
.jny-fill { background: var(--up); }
/* task icons: neutral tiles (amber / red / green keep their meaning) */
.needs-today .do-ic, .needs-today .needs-renewals .do-ic, .do-due .do-ic, .do-review .do-ic, .sjob-ic { background: var(--surface-2); color: var(--fg); }
/* selected filter chips: white like every other switch, not orange */
.cat-chip[aria-pressed="true"], .cat-chip.on { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.cat-chip .n, .cat-chip.cat-all { color: inherit; }
.cat-chip[aria-pressed="true"] .n, .cat-chip.on .n { color: var(--bg); }
/* toggles: on = green; light theme gets a white knob (no heavy black dot) */
.switch input:checked + .track { background: var(--up); border-color: var(--up); }
.switch input:checked + .track::after { background: #fff; }
[data-theme="light"] .switch .track::after { background: #fff; box-shadow: 0 1px 2px rgba(10, 10, 12, .25); }
/* (?) one per card */
.qtip.qtip-extra { display: none; }

/* Creator top bar on phones (change 9): level ring + "Hi Maya" left, bell right. Theme + sign out live in More. */
.hi-name { display: none; }
@media (max-width: 720px) {
  body.role-creator .topbar .brand > img { display: none; }
  body.role-creator .hi-name { display: block; min-width: 0; max-width: 52vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 16px; font-weight: 700; color: var(--fg); }
  body.role-creator .brand { gap: 10px; min-width: 0; }
  body.role-creator .lvl-head { margin-left: 0; }
  body.role-creator .controls .theme-cycle, body.role-creator #sign-out, body.role-creator .badge.live { display: none; }
  body.role-creator .controls .notif-link { width: 40px; height: 40px; }
  /* floating rounded tab bar, a small ember dot under the current tab; one label size */
  body.role-creator .tabs { left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px;
    border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 12px 32px rgba(0, 0, 0, .35); }
  body.role-creator .tabs a[aria-current="true"], body.role-creator .tabs .nav-more[aria-current="true"] { background: none; color: var(--fg); }
  body.role-creator .tabs a[aria-current="true"]::after, body.role-creator .tabs .nav-more[aria-current="true"]::before { content: ""; position: absolute;
    left: 50%; bottom: 1px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--ember); }
  body.role-creator:not(.signed-out) main { padding-bottom: 132px; }
  .tabs a, .tabs .nav-more { font-size: 12px; font-weight: 600; line-height: 1.2; }
  .tabs a .t-long, .tabs a .t-short, .tabs .nav-more > span { display: block; font-size: 12px; line-height: 16px; height: 16px; }
}
.more-theme { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 4px; border-top: 1px solid var(--line); }
.more-theme > span { font-weight: 600; }
.more-theme .segmented { display: inline-flex; }
.more-out { width: 100%; border: 0; background: none; font: inherit; color: var(--fg); cursor: pointer; text-align: left; }
/* section 4 layout bugs */
.card-head > .see-all { margin-top: 0; padding-top: 0; }  /* Home "More →" sat 16 px under its title */
.soon-when { display: block; margin-top: 2px; }  /* Products › Coming soon: "opens in 39 daysDec 26" ran together */
/* Notifications › What you promote: title + Change on one line, the choice on its own full line under them */
.niches-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.niches-row .niches-now { grid-column: 1 / -1; grid-row: 2; min-width: 0; }
.niches-row > button { grid-column: 2; grid-row: 1; }
/* chip rows that scroll sideways: a fade at the cut edge says "there's more" */
.fade-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
.fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px); mask-image: linear-gradient(90deg, transparent, #000 32px); }
.fade-l.fade-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); }
/* team creator page: Term was a <p> holding a <details>, so the browser split it into loose lines (v4.00: a div) */
.term-line .end-edit { margin-left: 4px; }
@media (min-width: 1101px) {  /* a KPI row with fewer than 5 tiles fills the width (was 240 px empty on the right) */
  .kpis:has(> :nth-child(4):last-child) { grid-template-columns: 1.35fr repeat(3, 1fr); }
  .kpis:has(> :nth-child(3):last-child) { grid-template-columns: 1.35fr repeat(2, 1fr); }
}
.sb-key { margin-bottom: 16px; }  /* Scoreboard legend touched the Targets box */
.sb-none { margin: 16px 0; }
.kpi .value .kpi-wait, .kpi-wait { font-size: 16px; font-weight: 600; letter-spacing: 0; }  /* Money received "Not read yet" */
@media (min-width: 1101px) {  /* a lone tile (Results › Recruits) or two tiles share the row instead of one fifth of it */
  .kpis:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
  .kpis:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.prod-spark .ps-cap { white-space: nowrap; }  /* v4.00 12 px labels: "By week" stays one line */
/* v4.00 the 12 px label size made the header badge ("Sample data") ~20 px wider: on phones it drops the capitals
   and the letter spacing, so Sign out stays on screen (overflow audit, team pages 360-430) */
@media (max-width: 440px) {
  .controls .badge { text-transform: none; letter-spacing: 0; padding: 5px 8px; }
}
.home-row-sub { color: var(--muted); }  /* v4.00 Home best video "$96 in sales · 3,448 views →": a list amount, not the screen's one ember number */

/* ---------------------------------------------------------------- v4.01 Home hero, summit glow, motion (BRIEF-v401)
   Level 1 (one per screen): no box, sits on the background (Home: on the summit glow). Level 2: the normal card.
   Level 3: detail rows with no border, thin dividers. Phones: cards on Home + Sales pad 20 px (was 32 / 24). */
.hero.hero-l1 { position: relative; isolation: isolate; background: none; border: 0; box-shadow: none; border-radius: 0;
  padding: 8px 0 4px; gap: 14px; --glow: rgba(255, 107, 31, .30); --glow-2: rgba(255, 107, 31, .10); }
.hero-l1 .summit { position: absolute; z-index: -1; inset: -56px -48px -28px; pointer-events: none; overflow: hidden;
  background: radial-gradient(ellipse 62% 48% at 50% 82%, var(--glow) 0%, var(--glow-2) 45%, transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%); transition: filter .6s; }
.hero-l1 .contours { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 78%; fill: none;
  stroke: rgba(255, 255, 255, .06); stroke-width: 1.2; }
/* v4.14.1 (Basel 11-17 18:40) the ridge lines keep the phone size on wide screens: one small summit centred behind the
   hero (mockup 01), never stretched across the desktop. Phones (summit <= 480 px wide) look exactly as before. */
.hero-l1 .contours { left: 50%; right: auto; width: min(100%, 480px); transform: translateX(-50%); }
@media (min-width: 521px) {
  .hero-l1 .contours { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%); }
}
.hero-l1 .drift { display: none; }
.hero-l1[data-mood="bright"] { --glow: rgba(255, 107, 31, .44); --glow-2: rgba(255, 140, 60, .16); }
.hero-l1[data-mood="record"] { --glow: rgba(255, 107, 31, .48); --glow-2: rgba(255, 150, 70, .18); }
.hero-l1[data-mood="flat"] { --glow: rgba(120, 140, 170, .20); --glow-2: rgba(120, 140, 170, .07); }
.hero-l1[data-mood="record"] .drift { display: block; position: absolute; left: 50%; bottom: 18%; width: 7px; height: 7px; border-radius: 50%;
  background: #FFB46A; box-shadow: 0 0 14px 4px rgba(255, 140, 60, .55); opacity: 0; }
[data-theme="light"] .hero-l1 { --glow: rgba(255, 170, 90, .42); --glow-2: rgba(255, 210, 160, .30); }
[data-theme="light"] .hero-l1[data-mood="bright"], [data-theme="light"] .hero-l1[data-mood="record"] { --glow: rgba(255, 150, 70, .52); --glow-2: rgba(255, 200, 140, .36); }
[data-theme="light"] .hero-l1[data-mood="flat"] { --glow: rgba(150, 165, 190, .26); --glow-2: rgba(170, 182, 200, .14); }
[data-theme="light"] .hero-l1 .contours { stroke: rgba(10, 10, 12, .06); }
.hero-l1 .eyebrow { margin: 0; }
.hero-l1 .hero-value { font-size: 64px; line-height: 1; letter-spacing: -.03em; }
.hero-value .cents { font-size: .56em; letter-spacing: -.01em; }
.since-line { margin: 0; color: var(--muted); font-size: 14px; }
.since-line b { color: var(--up); font-weight: 700; }
.hero-sub { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 16px; }
.hero-sub .pill { font-size: 14px; letter-spacing: 0; padding: 4px 12px; }
.hero-sub .pill.up { color: var(--up); border-color: color-mix(in srgb, var(--up) 45%, transparent); background: color-mix(in srgb, var(--up) 12%, transparent); }
.paid-bar .mbar { height: 8px; }
.pb-cap { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.pb-cap b { color: var(--fg); }
.hb-chart { position: relative; margin-top: 4px; touch-action: pan-y; }
.hb-chart svg { display: block; overflow: visible; }
.hb-chart rect.hb { fill: var(--bar); }
.hb-chart rect.hb.zero { fill: var(--line); }
.hb-chart rect.hb.best { fill: var(--ember); }
.hb-chart rect.hb.on { fill: var(--fg); }
.hb-chart rect.hb.best.on { fill: var(--ember-hot); }
.hb-best { position: absolute; transform: translate(-50%, -100%); white-space: nowrap; padding: 4px 10px; border-radius: 999px;
  background: var(--fg); color: var(--bg); font-size: 12px; font-weight: 700; pointer-events: none; }
.hb-chart.scrubbing .hb-best { opacity: 0; transition: opacity .15s; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hb-read { color: var(--muted); font-size: 14px; min-width: 0; }
.hero-l1 .hero-body { align-items: flex-start; }
/* Home: the hero carries the period buttons, so the page doesn't need its own row above */
#app[data-page="home"] .hero-l1 + * { margin-top: 8px; }
.picks-line.card { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
/* Sales: the chart card is level 1 (no box); the facts are level 3 rows */
#app[data-page="products"] #sales-time.card { background: none; border: 0; box-shadow: none; border-radius: 0; padding-left: 0; padding-right: 0; }
#app[data-page="products"] .st-facts-card.card { background: none; border: 0; border-radius: 0; padding: 0; }
#app[data-page="products"] .st-facts-card .facts > * { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
@media (max-width: 640px) {
  #app[data-page="home"] .card, #app[data-page="products"] .card { padding: 20px; }
  #app[data-page="products"] #sales-time.card { padding: 4px 0; }
  #app[data-page="products"] .st-facts-card.card { padding: 0; }
  .hero-l1 .summit { inset: -48px -16px -24px; }
  .hero-l1 .hero-value { font-size: 60px; }
}
@media (prefers-reduced-motion: no-preference) {
  /* the motion system: press shrink, ticks that draw themselves, a glow when a number went up */
  .btn, a.card, #tabs a, .segmented button, .schip, .more-link { transition: transform .12s ease; }
  .btn:active, a.card:active, #tabs a:active, .segmented button:active, .schip:active, .more-link:active { transform: scale(.97); }
  .ic-check path { stroke-dasharray: 24; stroke-dashoffset: 0; animation: tick-draw .45s cubic-bezier(.2, .7, .2, 1) .12s backwards; }
  .num-up { animation: num-glow 1.1s ease-out; }
  .hero-l1.pulse .summit { animation: glow-pulse 1.4s ease-out; }
  .hero-l1[data-mood="record"] .drift { animation: ember-drift 9s ease-in-out infinite; }
  .hb-best { animation: hb-pop .35s cubic-bezier(.2, .7, .2, 1) .45s backwards; }
}
@keyframes tick-draw { from { stroke-dashoffset: 24; } }
@keyframes num-glow { 30% { text-shadow: 0 0 24px var(--ember-glow); } }
@keyframes glow-pulse { 30% { filter: brightness(1.7) saturate(1.2); } }
@keyframes ember-drift { 0% { opacity: 0; transform: translate(-60px, 20px); } 20% { opacity: .9; } 80% { opacity: .7; } 100% { opacity: 0; transform: translate(70px, -120px); } }
@keyframes hb-pop { from { opacity: 0; transform: translate(-50%, calc(-100% + 6px)); } }


/* ---------------------------------------------------------------- v4.04 team Overview on one screen (mockup 05) */
body:not(.role-creator) #app[data-page="home"] { padding-top: 32px; gap: 20px; }
.ov-head h1 { font-size: 36px; }
.ov-head .meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ov-board .ic, .ov-board svg { width: 16px; height: 16px; }
.ov-line { margin: -12px 0 0; color: var(--muted); font-size: 16px; }
.ov-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.nt-card, .road-card { padding: 28px 32px; }
.nt-card .card-head, .road-card .card-head { margin-bottom: 12px; }
.nt-card h2, .road-card h2 { font-size: 18px; }
.nt-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 22px; padding: 0 8px; margin-left: 6px;
  border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 12px; font-weight: 800; vertical-align: 2px; }
.nt-list { list-style: none; margin: 0; padding: 0; }
.nt-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto 40px; align-items: center; gap: 12px; padding: 10px 0;
  border-top: 1px solid var(--line); min-height: 56px; }
.nt-list:first-of-type > .nt-row:first-child { border-top: 0; }
.nt-dot { width: 28px; height: 28px; border-radius: 50%; border: 1px solid transparent; background: none; padding: 0; display: grid; place-items: center;
  color: var(--up); cursor: pointer; }
span.nt-dot { cursor: default; }
.nt-dot i { width: 10px; height: 10px; border-radius: 50%; display: block; transition: transform .15s ease; }
.nt-dot.bad i { background: var(--down); box-shadow: 0 0 0 4px rgba(229, 72, 77, .14); }
.nt-dot.warn i { background: var(--warn); box-shadow: 0 0 0 4px rgba(245, 165, 36, .14); }
button.nt-dot:hover, button.nt-dot:focus-visible { border-color: var(--line); }
button.nt-dot:hover i { transform: scale(1.25); }
.nt-dot.ok { border-color: var(--up-line); background: rgba(47, 191, 113, .12); }
.nt-dot.ok svg { width: 16px; height: 16px; }
.nt-txt { display: grid; gap: 2px; min-width: 0; }
.nt-main { font-weight: 700; font-size: 16px; line-height: 1.3; }
.nt-sub { color: var(--muted); font-size: 14px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-row.done .nt-main { color: var(--muted); font-weight: 600; }
.nt-own { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.nt-own.me { color: var(--fg); }
.nt-av { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface-2);
  border: 1px solid var(--line); color: var(--fg); font-size: 12px; font-weight: 800; flex: none; }
.nt-own.me .nt-av { border-color: var(--fg); }
.nt-take { min-height: 32px; padding: 0 14px; border-radius: 999px; border: 1px dashed var(--faint); background: none; color: var(--fg);
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.nt-take:hover { border-style: solid; border-color: var(--fg); }
.nt-end { display: contents; }
.nt-acts { display: inline-flex; align-items: center; gap: 8px; }
.nt-open, .nt-pc { min-height: 32px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--fg); font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; }
.nt-pc { background: none; color: var(--muted); }
.nt-open:hover, .nt-pc:hover { border-color: var(--fg); }
.nt-n { font-size: 22px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.nt-row.done .nt-n { color: var(--muted); font-size: 16px; }
.nt-fold { border-top: 1px solid var(--line); }
.nt-fold > summary { cursor: pointer; padding: 10px 0; font-size: 14px; font-weight: 700; color: var(--muted); list-style: none; display: flex; align-items: center; gap: 6px; }
.nt-fold > summary::-webkit-details-marker { display: none; }
.nt-fold > summary svg { width: 14px; height: 14px; color: var(--up); }
.nt-fold .nt-row:first-child { border-top: 0; }
.nt-card .all-clear { margin: 8px 0 0; }

/* Road to 50 */
.road-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 24px; align-items: center; }
.road-ring { width: 132px; height: 132px; display: block; }
.rr-track { fill: none; stroke: var(--line); stroke-width: 10; }
.rr-arc { fill: none; stroke: var(--ember); stroke-width: 10; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--ember-glow)); }
.rr-n { fill: var(--fg); font-size: 34px; font-weight: 800; text-anchor: middle; font-variant-numeric: tabular-nums; }
.rr-of { fill: var(--muted); font-size: 12px; text-anchor: middle; }
.road-chart { position: relative; min-width: 0; height: 132px; }
.road-line { width: 100%; height: 100%; display: block; overflow: visible; }
.rl-grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rl-pace { stroke: var(--faint); stroke-width: 1.5; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.rl-real { fill: none; stroke: var(--ember); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.rl-dot { fill: var(--ember); stroke: var(--surface); stroke-width: 2; vector-effect: non-scaling-stroke; }
.rl-lab { position: absolute; font-size: 12px; color: var(--muted); white-space: nowrap; pointer-events: none; }
.rl-goal { right: 0; top: -2px; }
.rl-today { transform: translate(8px, 6px); color: var(--fg); font-weight: 700; }
.road-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.road-foot strong { font-size: 16px; }
.road-foot p { margin: 2px 0 0; }
@media (prefers-reduced-motion: no-preference) {
  .rr-arc { animation: rr-draw .9s cubic-bezier(.2, .8, .2, 1) both; }
  .rl-real { stroke-dasharray: 1; animation: rl-draw 1s .15s cubic-bezier(.2, .8, .2, 1) both; }
  .rl-dot, .rl-today { animation: rl-pop .3s 1s ease-out both; }
  .nt-row { animation: nt-in .3s ease-out both; }
  .nt-list .nt-row:nth-child(2) { animation-delay: .04s; } .nt-list .nt-row:nth-child(3) { animation-delay: .08s; }
  .nt-list .nt-row:nth-child(4) { animation-delay: .12s; } .nt-list .nt-row:nth-child(5) { animation-delay: .16s; }
  .nt-list .nt-row:nth-child(6) { animation-delay: .2s; }
}
@keyframes rr-draw { from { stroke-dashoffset: var(--c); } }
@keyframes rl-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes rl-pop { from { opacity: 0; } }
@keyframes nt-in { from { opacity: 0; transform: translateY(4px); } }
.ov-four .kpi { padding: 18px 24px; }
/* v4.04 live check: 1440 x 900 must not scroll. Desktop rows keep one line (the full text is the row's title) and the
   page loses the empty bottom padding it doesn't need. */
@media (min-width: 1101px) {
  .ov-grid .nt-main { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body:not(.role-creator) #app[data-page="home"]:has(.ov-grid) { padding-bottom: 24px; }
}
.ov-four .kpi .value { font-size: 30px; }
.kpi-link { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--faint); }
.kpi-link:hover { border-bottom-color: var(--fg); }
@media (max-width: 1100px) { .ov-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  body:not(.role-creator) #app[data-page="home"] { padding-top: 20px; gap: 16px; }
  .ov-head h1 { font-size: 28px; }
  .ov-line { margin-top: -8px; font-size: 14px; }
  .nt-card, .road-card { padding: 20px; }
  .nt-row { grid-template-columns: 28px minmax(0, 1fr) 36px; row-gap: 8px; column-gap: 10px; align-items: start; }
  .nt-row > .nt-dot { grid-row: 1 / 3; }
  .nt-row > .nt-end { grid-column: 2 / 4; grid-row: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
  .nt-row > .nt-n { grid-column: 3; grid-row: 1; }
  .nt-sub { white-space: normal; }
  .road-body { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .road-ring { width: 96px; height: 96px; }
  .road-chart { height: 104px; }
  .ov-four .kpi { padding: 20px; }
  .ov-four .kpi .value { font-size: 24px; }
}

/* ---------------------------------------------------------------- v4.04 the morning board (full screen) */
body.board-mode .topbar, body.board-mode .tabs, body.board-mode .tabbar { display: none !important; }
body.board-mode #app { max-width: none; padding: 40px 56px; min-height: 100vh; align-content: start; }
.board { display: grid; gap: 32px; }
.bd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.bd-head h1 { margin: 4px 0 6px; font-size: 52px; line-height: 1.05; font-weight: 800; font-stretch: 112%; }
.bd-date { margin: 0; color: var(--muted); font-size: 16px; }
.bd-line { margin: 0; font-size: 20px; color: var(--muted); }
.bd-ctl { display: flex; gap: 12px; }
.bd-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.bd-card h2 { margin: 0 0 8px; font-size: 16px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.bd-big { margin: 0 0 16px; font-size: 72px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.bd-big .muted { font-size: 24px; font-weight: 700; }
.bd-list, .bd-people { list-style: none; margin: 0; padding: 0; }
.bd-task { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto 40px; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 17px; }
.bd-task:first-child { border-top: 0; }
.bd-task strong { text-align: right; font-size: 22px; }
.bd-who { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 16px; }
.bd-note { margin: 12px 0 8px; font-size: 17px; }
.bd-joins .mbar { height: 14px; }
.bd-people { display: grid; gap: 4px; margin-top: 8px; }
.bd-person { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; font-size: 18px; border-top: 1px solid var(--line); }
.bd-person:first-child { border-top: 0; }
.bd-person .nt-av { width: 34px; height: 34px; font-size: 12px; }
.bd-person strong { font-size: 26px; color: var(--up); font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .bd-grid { grid-template-columns: minmax(0, 1fr); } body.board-mode #app { padding: 24px 20px; } .bd-head h1 { font-size: 36px; } .bd-big { font-size: 56px; } }
body:not(.role-creator) #app[data-page="home"] { padding-bottom: 48px; }
@media (max-width: 720px) { .ov-board { display: none; } }  /* the board is for a spare screen, not a phone */
body.board-mode #app { background: radial-gradient(ellipse 70% 45% at 50% 115%, var(--ember-glow), transparent 70%) fixed; }

/* v4.02 (BRIEF-v402, review change 6) product tiles: a soft category colour + one thin glyph, never grey initials.
   Sits under the photo (the img covers it); --th = the category hue. Low saturation so it never reads as a status. */
.initials.ptile { position: absolute; inset: 0; display: grid; place-items: center; font-size: 0; letter-spacing: 0;
  color: hsl(var(--th) 30% 82% / .75); background: radial-gradient(120% 90% at 30% 15%, hsl(var(--th) 32% 30%), hsl(var(--th) 26% 16%)); }
.initials.ptile svg { width: 44%; height: 44%; max-width: 44px; max-height: 44px; }
[data-theme="light"] .initials.ptile { color: hsl(var(--th) 30% 32% / .7); background: radial-gradient(120% 90% at 30% 15%, hsl(var(--th) 45% 92%), hsl(var(--th) 32% 80%)); }

/* v4.02 mockup-04 product card */
.gcard.pc4 { padding: 20px; gap: 14px; background: var(--surface); }
.pc4-eyebrow { margin: 0; display: flex; align-items: center; gap: 6px; color: var(--ember); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.pc4-eyebrow svg { width: 14px; height: 14px; fill: currentColor; }
.pc4-head { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; }
.pc4 .gcard-pic { width: 96px; height: 96px; aspect-ratio: auto; border-radius: 16px; overflow: hidden; }
.pc4 .gcard-body { padding: 0; gap: 2px; }
.pc4 .gcard-name { font-size: 16px; line-height: 1.25; }
.pc4-sale { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.pc4-sale b { color: var(--fg); font-size: 32px; font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; font-variant-numeric: tabular-nums; margin-right: 4px; line-height: 1; }
.pc4-sale b small { font-size: .55em; font-weight: 750; }
.pc4-sample { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 2px 0; border-radius: 999px; text-align: center;
  background: rgba(10, 10, 12, .78); color: var(--up); font-size: 12px; font-weight: 750; white-space: nowrap; }
[data-theme="light"] .pc4-sample { background: rgba(250, 248, 244, .92); }
.pc4 .pick-new { background: var(--fg); color: var(--bg); top: 6px; left: 6px; }
.pc4 .tags { display: flex; flex-wrap: wrap; gap: 4px; }
.pc4 .tag { padding: 2px 8px; font-size: 12px; }
.pc4 .tag.pin { color: var(--fg); border-color: var(--line); }
.pc4-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.pc4-ends { color: var(--muted); font-size: 14px; min-width: 0; }
.pc4 .pcard-action { margin: 0; padding: 0; flex: none; max-width: 70%; }
.pc4 .pcard-action .btn { width: auto; min-height: 48px; padding: 0 24px; font-size: 16px; }
.pc4 .pcard-action:has(.acct-req, .status, .invite-box) { flex: 1; max-width: none; }
.pc4.is-top .btn.ember { box-shadow: 0 8px 28px -10px var(--ember-glow); }
.pc4 .pass-btn { align-self: center; margin-top: -4px; }
.rbar { display: grid; gap: 8px; }
.rbar-track { position: relative; height: 10px; border-radius: 999px; background: var(--surface-2); overflow: visible; }
.rbar-usual { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--bar); }
.rbar-extra { position: absolute; top: 0; bottom: 0; border-radius: 0 999px 999px 0; background: var(--up); }
.rbar-tick { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--fg); }
.rbar-labels { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.rbar-ours { color: var(--up); font-weight: 650; text-align: right; }
.rbar-none { font-size: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .rbar-usual, .rbar-extra { transform-origin: left center; animation: rbar-grow .3s cubic-bezier(.2, .8, .2, 1) both; }
  .rbar-extra { animation-delay: .12s; }
}
@keyframes rbar-grow { from { transform: scaleX(0); } }
@media (max-width: 720px) {
  .gcard.pc4 { padding: 20px; }
  .pc4 .gcard-name { font-size: 16px; }
  .pc4 .pcard-action .btn { min-height: 48px; padding: 0 22px; font-size: 16px; }
  .wp-row .pc4-head { grid-template-columns: 80px minmax(0, 1fr); }
  .wp-row .pc4 .gcard-pic { width: 80px; height: 80px; }
}

/* v4.02 Sell next rows: the product card's parts (bigger photo / tile, $ per sale big, the rate bar under) */
.sell-list li.sn-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "thumb main btn" "bar bar bar";
  align-items: center; gap: 12px 14px; padding: 16px 0; }
.sell-list li.sn-row > .sn-thumb { grid-area: thumb; width: 64px; height: 64px; border-radius: 14px; }
.sell-list li.sn-row > .sn-main { grid-area: main; padding: 0; min-height: 0; gap: 0; }
.sell-list li.sn-row > .sn-bar { grid-area: bar; display: grid; justify-content: normal; gap: 8px; padding: 0; min-height: 0; }
.sell-list li.sn-row > .sn-btn { grid-area: btn; }
.sell-list .sn-main .name { font-weight: 650; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.sn-sale { margin: 4px 0 0; }
.sn-sale b { font-size: 24px; }
.sell-list .sn-bar .tags { margin-top: 0; }
@media (min-width: 901px) {
  .sell-list li.sn-row { padding: 16px; }
}
/* the other product rows (Plan checklist, Sales What's selling, samples): the same tile, a touch bigger */
.sell-thumb { width: 56px; height: 56px; border-radius: 12px; }
.pc4 .tags { margin-top: 0; }
.pc4 .tag.sold { color: var(--fg); padding-left: 0; }
.pc4 .pass-btn { width: auto; align-self: center; margin-top: -6px; text-decoration: none; font-size: 14px; }
.sn-main .sn-sale { white-space: nowrap; }
.tag.gift svg { color: inherit; }

/* v4.02 (BRIEF-v402, review change 11) charts: neutral bars, only the best one orange; the highest + latest bar and
   every small chart's highest + latest point carry their value; an all-zero chart is one quiet line */
.chart .bar.hot { fill: var(--ember); }
.chart .bar:hover { fill: var(--bar-hot); }
.chart .bar-day { fill: var(--bar); opacity: 1; }
.chart .bar-day.best { fill: var(--ember); }
.chart .bar-val { fill: var(--muted); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.chart .bar-val.best { fill: var(--fg); }
.chart .spark-dot { fill: var(--muted); stroke: var(--surface); stroke-width: 1.5; }
.chart .spark-dot.hi { fill: var(--fg); }
.chart .spark-val { fill: var(--muted); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.chart .spark-val.hi { fill: var(--fg); }
.chart-empty { margin: 4px 0; padding: 14px 0; color: var(--muted); font-size: 14px; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); text-align: center; }
.wk-day i { background: var(--bar); }
.wk-day.best i { background: var(--ember); }
.wk-day.best span { color: var(--fg); font-weight: 700; }

/* v4.02 (BRIEF-v402, review change 8) empty states: a line drawing (text colour, thin, one ember dot), one sentence,
   one button */
.empty-state { display: grid; justify-items: center; gap: 12px; padding: 20px 8px 8px; text-align: center; }
.empty-state p { margin: 0; max-width: 32ch; color: var(--muted); font-size: 14px; line-height: 1.45; }
.empty-state .btn { width: auto; }
.es-art { width: 120px; height: 72px; color: var(--fg); opacity: .85; }
.es-art .es-dot { fill: var(--ember); stroke: none; }
.empty-state.es-left { justify-items: start; text-align: left; padding: 0; }
@media (prefers-reduced-motion: no-preference) {
  .es-art path, .es-art rect, .es-art circle:not(.es-dot) { stroke-dasharray: 400; animation: es-draw 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  .es-art .es-dot { animation: es-dot .5s .8s ease-out both; }
}
@keyframes es-draw { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
@keyframes es-dot { from { opacity: 0; transform: scale(.2); } }
.es-art .es-dot { transform-box: fill-box; transform-origin: center; }
/* Connect TikTok: the connected Videos screen, blurred, behind the button */
.card.tt-preview { position: relative; overflow: hidden; padding: 0; min-height: 360px; display: grid; }
.ttp-ghost { grid-area: 1 / 1; display: grid; gap: 14px; align-content: start; padding: 24px; filter: blur(6px); opacity: .7; pointer-events: none; user-select: none; }
.ttp-ghost i { display: block; border-radius: 6px; background: var(--surface-2); }
.ttp-h { width: 40%; height: 18px; }
.ttp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ttp-kpis i { height: 52px; }
.ttp-bars { width: 100%; height: 96px; }
.ttp-bars rect { fill: var(--bar); }
.ttp-bars rect.hot { fill: var(--ember); }
.ttp-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 48px; gap: 12px; align-items: center; }
.ttp-row > span { display: grid; gap: 6px; }
.ttp-row > span i { height: 10px; }
.ttp-thumb { height: 40px; }
.ttp-val { height: 16px; }
.ttp-over { grid-area: 1 / 1; z-index: 1; display: grid; justify-items: center; align-content: center; gap: 14px; padding: 32px 24px; text-align: center;
  background: radial-gradient(70% 60% at 50% 50%, color-mix(in oklab, var(--surface) 92%, transparent), transparent); }
.ttp-over p { margin: 0; max-width: 30ch; font-size: 16px; color: var(--fg); line-height: 1.4; }
.ttp-over .btn { width: auto; min-height: 48px; padding: 0 28px; }

/* v4.02 (BRIEF-v402, review change 3, the rest after v4.01's Home + Sales) card levels everywhere.
   Level 1 = the one main thing on a screen: no box, straight on the background. Level 2 = the normal card.
   Level 3 = folded details at the foot of a page: a divider row, not one more box. Phones: 20 px inside every card. */
#app[data-page="shop"] .card.collab-hero, #app[data-page="learn"] .card.learn-head {
  background: none; border: 0; box-shadow: none; border-radius: 0; padding-left: 0; padding-right: 0; }
#app[data-page="shop"] .card.collab-hero { padding-top: 8px; padding-bottom: 8px; }
#app > details.more-box > summary, #app > section > details.more-box:last-child > summary {
  background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding-left: 0; padding-right: 0; }
#app > details.more-box > summary:hover { border-color: var(--line); color: var(--fg); }
@media (max-width: 640px) {
  :where(#app) .card { padding: 20px; }
  #app[data-page="samples"] .card, #app[data-page="performance"] .card, #app[data-page="users"] .card { padding: 20px; }
  #app[data-page="shop"] .card.collab-hero, #app[data-page="learn"] .card.learn-head { padding-left: 0; padding-right: 0; }
}
/* Learn: orange only for the one focus (Start / Continue) and "you are here"; done steps green, the picked section plain */
#app[data-page="learn"] .learn-sec[aria-pressed="true"] { border-color: var(--fg); box-shadow: 0 0 0 1px var(--fg) inset; }
.jm-step.done .jm-dot { background: var(--up); border-color: var(--up); }
.jm::after { background: var(--up); }
/* team Campaigns: the scoreboard is the screen's level 1 (its tiles stay level-2 boxes) */
#app[data-page="campaigns"] .card.sb-card { background: none; border: 0; box-shadow: none; border-radius: 0; padding-left: 0; padding-right: 0; padding-top: 0; }

/* v4.03a stages by products sold OR sales: "either one gets you there", the summit's bar, videos per product = coaching */
.camp-either, .step-gates .sg-either { margin: -12px 0 18px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.step-gates .sg-either { margin: 0 0 10px; }
.camp-either.met { color: var(--up); font-weight: 600; }
.camp-either svg, .step-gates .sg-either svg { width: 16px; height: 16px; flex: none; }
.camp-coach { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.camp-card.top .camp-coach { margin-top: 0; padding-top: 0; border-top: 0; }
.camp-row .camp-sub { margin-top: 6px; }
.climb-bar { font-size: 12px; font-weight: 600; fill: var(--fg); fill-opacity: .55; font-family: inherit; }
.climb-bar.here, .climb-bar.next { fill-opacity: .85; }
.step-gates .vpp-coach { padding-top: 12px; border-top: 1px dashed var(--line); }

/* ---------------------------------------------------------------- v4.08 monthly recap, trophy shelf, streak, seasons
   (BRIEF-v403). Season palettes are the one sanctioned exception to "ember is the one accent" (Basel 2026-11-16). */
/* Season: the countdown strip on Home, the glow tint and the particles (none under reduced motion) */
.season-strip { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--season-a, #E7B04A) 40%, transparent);
  background: color-mix(in srgb, var(--season-a, #E7B04A) 10%, transparent); color: var(--fg); font-size: 14px; font-weight: 600; width: fit-content; max-width: 100%; }
.season-strip .ss-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--season-a, #E7B04A);
  box-shadow: 0 0 10px 2px color-mix(in srgb, var(--season-a, #E7B04A) 60%, transparent); }
[data-theme="light"] .season-strip { border-color: color-mix(in srgb, #A86A00 40%, transparent); background: color-mix(in srgb, #E7B04A 16%, transparent); }
[data-theme="light"] .season-strip .ss-dot { background: #A86A00; }
.season-skin .hero-l1 { --glow: color-mix(in srgb, var(--season-glow) 46%, transparent); --glow-2: color-mix(in srgb, var(--season-glow) 16%, transparent); }
.season-skin .hero-l1[data-mood="flat"] { --glow: color-mix(in srgb, var(--season-glow) 26%, transparent); --glow-2: color-mix(in srgb, var(--season-glow) 8%, transparent); }
[data-theme="light"].season-skin .hero-l1 { --glow: color-mix(in srgb, var(--season-glow) 40%, transparent); --glow-2: color-mix(in srgb, var(--season-b) 40%, transparent); }
.season-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.season-fx .sp { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; opacity: .55; }
.season-fx .sp.gold { background: var(--season-a); box-shadow: 0 0 6px 1px color-mix(in srgb, var(--season-a) 60%, transparent); }
.season-fx .sp.snow { background: #fff; opacity: .35; }
[data-theme="light"] .season-fx .sp.snow { background: #B9C3CF; opacity: .5; }
@media (prefers-reduced-motion: no-preference) {
  .season-fx .sp { top: -4% !important; animation: sp-fall var(--d) linear var(--dl) infinite; }
}
@media (prefers-reduced-motion: reduce) { .season-fx .sp:nth-child(n+9) { display: none; } }
@keyframes sp-fall { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: .6; } 85% { opacity: .5; }
  100% { transform: translate(var(--x), 110vh); opacity: 0; } }
.hero-l1 .summit .season-fx { inset: 0; }

/* Streak: seven flames, today last. Lit = paper with a warm glow (the Home number keeps the one ember); never red */
.streak { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 16px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sk-label { color: var(--muted); font-size: 14px; flex: 1 1 auto; min-width: 0; }
.sk-days { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sk-days li { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 26px; color: var(--faint); font-size: 12px; font-weight: 600; }
.sk-days .sk-flame { width: 22px; height: 22px; stroke: var(--bar); stroke-width: 1.6; fill: none; }
.sk-days li.lit { color: var(--fg); }
.sk-days li.lit .sk-flame { fill: var(--fg); stroke: var(--fg); filter: drop-shadow(0 0 5px rgba(255, 140, 60, .55)); }
.sk-days li.today span { text-decoration: underline; text-underline-offset: 3px; }
.season-skin .sk-days li.lit .sk-flame { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--season-a) 70%, transparent)); }
.sk-n { color: var(--fg); font-size: 14px; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .sk-days li.lit .sk-flame { animation: sk-pop .5s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 60ms + 200ms) backwards; transform-origin: 50% 90%; }
}
@keyframes sk-pop { from { transform: scale(.3); opacity: 0; } }

/* Recap: full screen, cards side by side on a track (tap right = next, left third = back, or swipe) */
body.recap-open { overflow: hidden; }
.recap { position: fixed; inset: 0; z-index: 60; background: var(--bg); color: var(--fg); overflow: hidden; display: flex; flex-direction: column;
  --glow: rgba(255, 107, 31, .38); --glow-2: rgba(255, 107, 31, .12); }
[data-theme="light"] .recap { --glow: rgba(255, 170, 90, .46); --glow-2: rgba(255, 210, 160, .32); }
.season-skin .recap { --glow: color-mix(in srgb, var(--season-glow) 46%, transparent); --glow-2: color-mix(in srgb, var(--season-glow) 16%, transparent); }
.rc-bg { position: absolute; inset: 0; pointer-events: none; }
.rc-bg .summit { position: absolute; inset: 0; overflow: hidden;
  background: radial-gradient(ellipse 80% 46% at 50% 88%, var(--glow) 0%, var(--glow-2) 45%, transparent 78%); }
.rc-bg .contours { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70%; fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 1.2; }
[data-theme="light"] .rc-bg .contours { stroke: rgba(10, 10, 12, .06); }
.rc-bg .drift { display: none; }
.rc-top { position: relative; z-index: 2; padding: calc(12px + env(safe-area-inset-top)) 20px 0; max-width: 560px; width: 100%; margin: 0 auto; box-sizing: border-box; }
.rc-prog { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.rc-prog li { flex: 1; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--fg) 18%, transparent); overflow: hidden; }
.rc-prog li i { display: block; height: 100%; width: 0; background: var(--fg); transition: width .35s cubic-bezier(.2, .7, .2, 1); }
.rc-prog li.done i, .rc-prog li.on i { width: 100%; }
.rc-bar { display: flex; align-items: center; gap: 12px; margin-top: 12px; min-height: 44px; }
.rc-who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #FFB46A, #C2410C); }
.rc-team { font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.rc-month { min-height: 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); padding: 0 12px; font: inherit; font-size: 14px; }
.rc-x { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--fg); font-size: 16px; cursor: pointer; }
.rc-track { position: relative; z-index: 1; flex: 1; display: flex; transition: transform .45s cubic-bezier(.2, .7, .2, 1); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.rc-card { flex: 0 0 100%; min-width: 0; display: flex; overflow-y: auto; }
.rc-in { margin: auto; width: 100%; max-width: 560px; box-sizing: border-box; padding: 24px 24px calc(48px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
.rc-eyebrow { margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rc-h { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 800; font-stretch: 110%; }
.rc-big { font-size: 76px; line-height: 1; font-weight: 800; font-stretch: 115%; letter-spacing: -.03em; color: var(--ember); font-variant-numeric: tabular-nums; }
.season-skin .rc-big { color: var(--fg); text-shadow: 0 0 28px color-mix(in srgb, var(--season-a) 55%, transparent); }
.rc-big-int { color: var(--fg); }
.rc-mid { font-size: 44px; line-height: 1; font-weight: 800; font-stretch: 112%; color: var(--ember); }
.rc-sub { margin: 0; min-height: 0; }
.rc-sub:empty { display: none; }
.rc-sub .pill { font-size: 14px; letter-spacing: 0; padding: 4px 12px; }
.rc-sub .pill.up, .rc-row .pill.new { color: var(--up); border-color: color-mix(in srgb, var(--up) 45%, transparent); background: color-mix(in srgb, var(--up) 12%, transparent); }
.rc-line { margin: 0; color: var(--muted); font-size: 16px; }
.rc-line b { color: var(--fg); }
.rc-note { margin: 4px 0 0; color: var(--faint); font-size: 14px; }
.rc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 8px 0; padding: 0; list-style: none; }
.rc-facts li { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px solid var(--line); }
.rc-facts b { font-size: 28px; font-weight: 800; font-stretch: 110%; }
.rc-facts span { color: var(--muted); font-size: 14px; }
.rc-media { position: relative; width: 168px; height: 224px; border-radius: 20px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; margin: 8px 0; }
.rc-media.rc-prod { width: 168px; height: 168px; background: #fff; }
.rc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rc-play { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(10, 10, 12, .55); color: #fff; }
.rc-media img + .rc-play { background: rgba(10, 10, 12, .45); }
.rc-prod img + .rc-play { display: none; }
.rc-link { align-self: flex-start; margin-top: 8px; }
.rc-step { margin: 8px 0 0; }
.rc-step .step-medal { filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .35)); }
.rc-stepname { margin: 0; font-size: 40px; font-weight: 800; font-stretch: 112%; line-height: 1.1; }
.rc-bars { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.rc-bars p { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.rc-bars p b { color: var(--fg); }
.rc-bars .mbar { height: 8px; }
.rc-goal { margin: 0; font-size: 40px; line-height: 1.1; font-weight: 800; font-stretch: 112%; }
.rc-shot { align-self: center; width: min(220px, 52vw); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 48px rgba(0, 0, 0, .35); background: #0A0A0C; }
.rc-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rc-img:not([src]) { visibility: hidden; }
.rc-money { align-self: center; }
.rc-actions { display: flex; gap: 12px; justify-content: center; }
.rc-actions .btn { min-width: 120px; }
.rc-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.recap .season-fx { z-index: 0; }
@media (prefers-reduced-motion: no-preference) {
  .rc-card .rc-in > * { transition: opacity .45s ease, transform .45s cubic-bezier(.2, .7, .2, 1); }
  .rc-card:not(.active) .rc-in > * { opacity: 0; transform: translateY(14px); }
  .rc-card.active .rc-in > *:nth-child(2) { transition-delay: 60ms; } .rc-card.active .rc-in > *:nth-child(3) { transition-delay: 120ms; }
  .rc-card.active .rc-in > *:nth-child(4) { transition-delay: 180ms; } .rc-card.active .rc-in > *:nth-child(n+5) { transition-delay: 240ms; }
}
@media (max-width: 400px) { .rc-big { font-size: 64px; } .rc-goal, .rc-stepname { font-size: 34px; } }

/* More › Recaps */
.rc-list { display: flex; flex-direction: column; margin-top: 8px; }
.rc-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; min-height: 44px; }
.rc-row-art { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); color: var(--fg); }
.rc-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rc-row-main b { font-size: 16px; } .rc-row-main span { color: var(--muted); font-size: 14px; }
.rc-row-go { color: var(--muted); }
.rc-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px 0 8px; color: var(--muted); text-align: center; }
.rc-empty .ic { width: 32px; height: 32px; }
.rc-empty p { margin: 0; }

/* Trophy shelf: greyed until earned; the first time a new one shows it flips */
.tr-count { color: var(--muted); font-size: 14px; font-weight: 600; }
.tr-shelf-h { margin: 20px 0 10px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tr-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px 8px; margin: 0; padding: 0; list-style: none; }
.tr-btn { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; border: 0; border-radius: 16px; background: none; color: inherit; font: inherit; cursor: pointer; perspective: 600px; }
.tr-btn:hover { background: var(--surface-2); }
.tr-art { display: grid; place-items: center; width: 72px; height: 72px; }
.tr-item:not(.earned) .tr-art { filter: grayscale(1); opacity: .28; }
.tr-item.current .tr-art { filter: drop-shadow(0 0 12px rgba(255, 180, 106, .45)); }
.tr-name { font-size: 14px; font-weight: 700; text-align: center; line-height: 1.2; }
.tr-when { font-size: 12px; color: var(--faint); }
.tr-item.earned .tr-when { color: var(--muted); }
.tr-sheet { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 0 16px; text-align: center; }
.tr-sheet .tr-art { width: 150px; height: 150px; }
.tr-sheet:not(.earned) .tr-art { filter: grayscale(1); opacity: .3; }
.tr-sheet-when { margin: 4px 0 0; font-weight: 700; font-size: 16px; }
.tr-sheet .btn { margin-top: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .tr-item.flip .tr-art { animation: tr-flip 1.1s cubic-bezier(.2, .7, .2, 1) .3s backwards; transform-style: preserve-3d; }
  .tr-item.earned .tr-btn:active .tr-art { transform: scale(.94); }
}
@keyframes tr-flip { 0% { transform: rotateY(-540deg) scale(.6); filter: grayscale(1); opacity: .3; } 60% { filter: none; opacity: 1; } 100% { transform: none; } }

/* ---------------------------------------------------------------- v4.09 Reviews redesign (BRIEF-v408, Fable team review)
   Queue: counters in one row, one sorted table, Due as a bar, side column. One review: video beside the checklist,
   one line per check, a fixed bottom bar. Ember = the one main button per screen (Review next video / Send and open next). */
.down-text { color: var(--down); }
kbd { display: inline-block; min-width: 18px; padding: 0 5px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px;
  font: 600 11px/16px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); text-align: center; background: var(--surface-2); }
.rv-qhead { align-items: center; }
.rv-qhead .rv-next-msg { flex-basis: 100%; margin: 0; text-align: right; }
.rv-qhead .rv-next-msg:empty { display: none; }
.rv-next-act { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.rv-next-act .btn { min-height: 48px; padding: 0 24px; font-size: 16px; }
.rv-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; padding: 0; overflow: hidden; }
.rv-c { display: grid; gap: 6px; padding: 20px 24px; border-left: 1px solid var(--line); min-width: 0; }
.rv-c:first-child { border-left: 0; }
.rv-c strong { font-size: 26px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rv-c.zero strong { color: var(--muted); }
.rv-qgrid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.rv-qmain, .rv-qside { display: grid; gap: 16px; min-width: 0; }
.rv-qmain > *, .rv-qside > * { min-width: 0; }
.rv-queue { padding: 20px 0 16px; }
.rv-queue .table-wrap { margin: 0; }
.rv-qtable th, .rv-qtable td { padding: 16px 12px; }
.rv-qtable th:first-child, .rv-qtable td:first-child { padding-left: 24px; }
.rv-qtable th:last-child, .rv-qtable td:last-child { padding-right: 20px; }
.rv-queue > .rv-keyhint { margin: 12px 24px 0; }
.rv-queue > .rv-calm { margin: 0 24px; }
.rv-qtable th, .rv-qtable td { vertical-align: middle; }
.rv-qtable td.lead { max-width: 210px; white-space: normal; }
.rv-qtable td.rv-why-cell { white-space: normal; min-width: 150px; }
.rv-act-gap { width: 36px; flex: none; }
.rv-qtable .rv-qprod { color: var(--muted); text-decoration: none; }
.rv-qtable .rv-qprod:hover { color: var(--fg); }
.rv-qtable .rv-qprod .rv-pname { display: inline; }
.rv-q.rv-mine { background: color-mix(in oklab, var(--fg) 4%, transparent); }
.rv-q.rv-sel { outline: 2px solid var(--ember-glow); outline-offset: -2px; }
.rv-q:focus { outline: none; }
.rv-q.rv-sel:focus-visible, .rv-q.rv-sel { outline: 2px solid var(--ember-glow); outline-offset: -2px; }
.rv-why-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pill.rv-why-tag { font-size: 12px; padding: 1px 8px; letter-spacing: .02em; color: var(--muted); border-color: var(--line); white-space: nowrap; }
.pill.rv-why-tag.warn { color: var(--warn); border-color: var(--warn-line, var(--warn)); }
.pill.rv-why-tag.bad { color: var(--down); border-color: var(--down); }
.pill.rv-why-tag.good { color: var(--up); border-color: color-mix(in oklab, var(--up) 45%, transparent); }
.rv-look-note { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-due-cell { min-width: 104px; }
.rv-due { display: block; font-size: 14px; font-weight: 600; color: var(--warn); margin-bottom: 6px; white-space: nowrap; }
.rv-due.late { color: var(--down); }
.rv-due-cell .mbar { width: 88px; height: 4px; }
.rv-who-dot { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 12px; font-weight: 700;
  background: var(--surface-2); color: var(--fg); border: 1px solid var(--line); }
.rv-who-dot.none { background: none; border-style: dashed; border-color: var(--faint); }
.rv-who-dot.you { width: auto; padding: 0 8px; border-radius: 999px; background: var(--fg); color: var(--bg); border-color: var(--fg); }
.rv-act { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.rv-act > .btn { min-width: 96px; padding: 0 14px; }
.rv-more { position: relative; }
.rv-more > summary { list-style: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  color: var(--muted); font-weight: 800; letter-spacing: .05em; border: 1px solid transparent; }
.rv-more > summary::-webkit-details-marker { display: none; }
.rv-more > summary:hover, .rv-more[open] > summary { border-color: var(--line); color: var(--fg); }
.rv-more > summary:focus-visible { outline: 2px solid var(--ember-glow); outline-offset: 2px; }
.rv-more-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 8; width: 260px; padding: 8px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .45); display: grid; gap: 4px; text-align: left; }
.rv-bar .rv-more-pop { top: auto; bottom: calc(100% + 8px); }
.rv-more-item { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--fg); font: inherit;
  font-weight: 600; text-align: left; cursor: pointer; }
.rv-more-item:hover, .rv-more-item:focus-visible { background: var(--surface-2); outline: none; }
.rv-more-why { display: block; padding: 0 12px 8px; color: var(--muted); font-size: 12px; line-height: 1.45; white-space: normal; }
.rv-side-card { padding: 20px 24px; }
.rv-side-card h2 { font-size: 16px; margin: 0 0 12px; }
.rv-whohas { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rv-whohas li { display: grid; grid-template-columns: minmax(0, 1fr) 56px 24px 32px; align-items: center; gap: 10px; font-size: 14px; }
.rv-whohas .rv-wh-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-whohas strong { text-align: right; font-variant-numeric: tabular-nums; }
.rv-wh-late { font-size: 12px; font-weight: 700; }
.rv-whohas .mbar { min-width: 0; height: 4px; }
.rv-side-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 16px 24px; font: inherit;
  font-weight: 600; color: var(--fg); text-align: left; cursor: pointer; }
.rv-side-link:hover { border-color: var(--faint); }
.rv-side-link:focus-visible { outline: 2px solid var(--ember-glow); outline-offset: 2px; }
.rv-keyhint { margin: 12px 0 0; }
.rv-keyhint kbd { margin: 0 1px; }
@media (hover: none), (max-width: 1100px) { .rv-keyhint { display: none; } }
@media (max-width: 1100px) {
  .rv-qgrid { grid-template-columns: minmax(0, 1fr); }
  .rv-qside { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
@media (max-width: 720px) {
  .rv-next-act { margin-left: 0; width: 100%; }
  .rv-next-act .btn { width: 100%; }
  .rv-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-c { padding: 16px; border-left: 0; border-top: 1px solid var(--line); }
  .rv-c:nth-child(-n+2) { border-top: 0; }
  .rv-c:nth-child(2n) { border-left: 1px solid var(--line); }
  .rv-c:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .rv-queue { padding: 16px 20px; }
  .rv-qtable th, .rv-qtable td, .rv-qtable td:first-child, .rv-qtable td:last-child { padding: 4px 0; }
  .rv-queue > .rv-calm { margin: 0; }
  .rv-qtable td.lead { max-width: none; }
  table.stack.rv-qtable td.rv-act-cell::before { content: none; }
  .rv-act { width: 100%; }
  .rv-act > .btn { flex: 1; }
  .rv-why-tags { justify-content: flex-end; }
  .rv-look-note { max-width: 100%; white-space: normal; }
  table.stack.rv-qtable td:has(.rv-look-note) { flex-wrap: wrap; }
}

/* v4.09 one review: video beside the checklist (desktop), one line per check, the bar fixed to the bottom */
.rv-page { display: grid; gap: 16px; }
.rv-page.has-bar { padding-bottom: 72px; }
.rv-topline { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rv-topline .rv-sent { margin: 0; }
.rv-cols { display: grid; grid-template-columns: 320px minmax(0, 1fr); grid-template-areas: "media head" "media body"; gap: 20px 24px; align-items: start; }
.rv-cols > * { min-width: 0; }
.rv-media { grid-area: media; position: sticky; top: 132px; display: grid; gap: 12px; align-self: start; }
.rv-cols > .rv-head { grid-area: head; padding: 24px 28px; }
.rv-body { grid-area: body; display: grid; gap: 20px; }
.rv-player { position: relative; width: 100%; aspect-ratio: 9 / 16; max-height: calc(100vh - 300px); border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.rv-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rv-player-fb { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; background: var(--surface-2); }
.rv-player-fb .rv-fb-pic { position: relative; width: 140px; height: 140px; border-radius: 14px; overflow: hidden; }
.rv-player-fb .rv-fb-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-fb-play .tt-glyph { width: 48px; height: 48px; color: var(--muted); }
.rv-jumps { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-jump { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg);
  font: inherit; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; }
.rv-jump:hover { border-color: var(--faint); }
.rv-jump:focus-visible, .rv-open-video:focus-visible { outline: 2px solid var(--ember-glow); outline-offset: 2px; }
.rv-open-video { width: 100%; }
.rv-open-video .tt-glyph { width: 18px; height: 18px; }
.rv-open-video .ext { width: 14px; height: 14px; color: var(--muted); }
.rv-media-facts { margin: 0; text-align: center; }
.rv-media .rv-ai-ref { padding: 4px 4px 0; }
.rv-form-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rv-form-head h2 { margin: 0; }
.rv-form-head .rv-keyhint { margin: 0 0 0 auto; }
.pill.rv-ai-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 2px 10px; letter-spacing: .02em;
  color: var(--up); border-color: color-mix(in oklab, var(--up) 45%, transparent); }
.pill.rv-ai-tag .ic { width: 12px; height: 12px; }
.rv-ai-notes { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; line-height: 1.5; }
.rv-ai-notes .rv-minor-line { margin: 0; }
.rv-line { padding: 0; border-top: 1px solid var(--line); gap: 0; scroll-margin: 140px 0 96px; }
.rv-line:first-child { padding-top: 0; }
.rv-line .rv-item-top { display: grid; grid-template-columns: 18px minmax(170px, 250px) minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 52px; padding: 6px 0; }
.rv-line .rv-label { min-width: 0; font-size: 16px; }
.rv-mark { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 800; }
.rv-mark::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.rv-line[data-v="good"] .rv-mark::before { content: "✓"; width: auto; height: auto; background: none; color: var(--up); }
.rv-line[data-v="fix"] .rv-mark::before { content: "▲"; width: auto; height: auto; background: none; color: var(--warn); font-size: 12px; }
.rv-line.soft[data-v="fix"] .rv-mark::before { content: "–"; color: var(--muted); }
.rv-peek { min-width: 0; padding: 6px 10px; margin: 0 -10px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: inherit; font-size: 14px;
  text-align: left; cursor: text; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-peek:hover { background: var(--surface-2); color: var(--fg); }
.rv-peek.empty { color: var(--faint); font-size: 14px; }
.rv-peek:focus-visible { outline: 2px solid var(--ember-glow); outline-offset: 0; }
.rv-line.open .rv-peek { visibility: hidden; }
.rv-item-box { display: none; gap: 8px; padding: 0 0 14px 32px; }
.rv-line.open .rv-item-box { display: grid; }
.rv-line .rv-v { min-height: 34px; min-width: 64px; }
.rv-line.rv-cur { background: color-mix(in oklab, var(--fg) 5%, transparent); box-shadow: inset 3px 0 0 var(--fg); border-radius: 8px; }
.rv-line.rv-cur .rv-item-top { padding-left: 10px; margin-left: -10px; }
.rv-line.rv-cur .rv-item-top { padding-right: 10px; margin-right: -10px; }
.rv-final { display: grid; grid-template-columns: minmax(170px, 210px) minmax(0, 1fr) minmax(0, 1fr); gap: 20px 24px; align-items: start; margin-top: 20px;
  padding-top: 20px; border-top: 1px solid var(--line); }
.rv-final .rv-stars-pick { margin: 0; }
.rv-final .st-pick .seg { flex-wrap: wrap; }
.rv-final .rv-onepick { margin-top: 0; }
.rv-form .rv-final label.rv-worked-f { margin-top: 0; display: grid; gap: 8px; }
.rv-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 7; background: var(--topbar-bg); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.rv-bar-in { max-width: 1360px; margin: 0 auto; padding: 12px 48px calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rv-tally { margin: 0; font-size: 16px; }
.rv-bar .form-msg { margin: 0; flex: 1 1 200px; min-width: 0; }
.rv-bar .form-msg:empty { visibility: hidden; }
.rv-bar-act { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.rv-bar .rv-more-why .pill { margin-right: 4px; }
@media (max-width: 1100px) {
  .rv-cols { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "body"; }
  .rv-media { position: static; }
  .rv-final { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .rv-page.has-bar { padding-bottom: 150px; }
  .rv-cols > .rv-head { padding: 20px; }
  .rv-line .rv-item-top { grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; }
  .rv-line .rv-peek { grid-column: 2 / -1; grid-row: 2; margin: -6px 0 0; padding: 0 0 4px; white-space: normal; }
  .rv-line .rv-peek.empty { display: none; }
  .rv-line.open .rv-peek { display: none; }
  .rv-item-box { padding-left: 28px; }
  .rv-bar { bottom: calc(74px + env(safe-area-inset-bottom)); }
  .rv-bar-in { padding: 10px 16px; gap: 8px 12px; }
  .rv-bar .form-msg:empty { display: none; }
  .rv-bar-act { width: 100%; margin-left: 0; }
  .rv-bar-act .btn { flex: 1; padding: 0 12px; }
  .rv-bar-act .btn.secondary { flex: 0 0 auto; }
  .rv-bar .rv-more-pop { right: auto; left: 0; max-width: calc(100vw - 32px); }  /* v4.09 the ··· sits first: open to the right */
  .rv-bar-act .btn.ember { white-space: nowrap; }  /* v4.09 the main button stays on one line */
}

/* ---------- v4.10 Scout list (BRIEF-v409, Fable team review "Scout list" 1-5 + layout bug "four buttons in three columns").
   One header line (title, Today + This week bars, Invite link button), two groups (Follow-ups first, then New, no orange
   stripe), one 58 px row per creator on desktop (cards stay on a phone), done rows fade to one line with a green tick +
   Undo, the selected row has a plain white edge (keys 1-4, arrows). */
.sc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.sc-title { flex: 1 1 260px; min-width: 0; display: grid; gap: 4px; }
.sc-title h1 { margin: 0; }
.sc-head .sc-mix { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0; color: var(--muted); }
.sc-head .sc-viewing { margin: 0; font-size: 14px; }
.sc-head .sc-viewing select { min-width: 200px; min-height: 36px; padding-top: 4px; padding-bottom: 4px; }
.sc-hbars { display: flex; flex-wrap: wrap; gap: 12px 24px; flex: 0 1 auto; }
.sc-hbar { display: grid; gap: 6px; width: 200px; }
.sc-hbar + .sc-hbar { width: 280px; }
.sc-hbar-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.sc-hbar-n strong { color: var(--fg); font-variant-numeric: tabular-nums; }
.sc-hbar .mbar { height: 6px; }
.sc-invite-btn { flex: none; }
.sc-invite[hidden] { display: none; }
.sc-group { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 8px; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.sc-group b { color: var(--fg); font-weight: 700; }
.sc-group[hidden] { display: none; }
.sc-gdone { text-transform: none; letter-spacing: 0; font-weight: 400; }
.sc-groups { display: grid; gap: 0; }
.sc-groups > .sc-list + .sc-group { margin-top: 32px; }
.sc-keys { display: none; margin: 0 0 -20px; text-align: right; }
.sc-tags .pill, .sc-tags .vchip, .sc-fast { white-space: nowrap; }
.sc-row .sc-who { display: flex; align-items: center; }
.sc-list:empty { display: none; }
.sc-row.followup { border-left: 1px solid var(--line-strong, var(--line)); }
.sc-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; min-width: 0; }
.sc-tags:empty { display: none; }
.sc-steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sc-done-line { display: flex; align-items: center; }
.sc-done-line .sc-done-head { flex: 1; min-width: 0; }
.sc-undo-quick { flex: none; min-height: 44px; padding: 0 24px 0 8px; color: var(--muted); font-size: 14px; }
.sc-undo-quick:hover { color: var(--fg); }
.sc-row.done { opacity: .6; }
.sc-row.done .status.up { color: var(--up); }
@media (min-width: 901px) {
  .sc-keys { display: block; }
  .sc-list { gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
  .sc-list > .sc-row { border: 0; border-radius: 0; background: none; border-top: 1px solid var(--line); }
  .sc-list > .sc-row:first-child { border-top: 0; }
  .sc-list > .sc-row:not(.done) { display: grid; grid-template-columns: minmax(0, 220px) minmax(min-content, 1fr) 204px auto 32px; align-items: center;
    gap: 16px; min-height: 58px; padding: 6px 20px 6px 24px; }
  .sc-row:not(.done) .sc-who { min-height: 44px; gap: 12px; }
  .sc-row .sc-avatar { width: 36px; height: 36px; }
  .sc-row .sc-avatar-blank { font-size: 14px; }
  .sc-row .sc-names { font-size: 14px; }
  .sc-row .sc-names .sub-line { font-size: 12px; }
  .sc-row:not(.done) .sc-tags { grid-column: 2; }
  .sc-row .sc-stats { grid-column: 3; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .sc-row .sc-stats > div:nth-child(3) { display: none; }  /* in the numbers' hover text on desktop */
  .sc-row .sc-stats dt { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sc-row .sc-stats dd { font-size: 14px; margin: 0; }
  .sc-row .sc-stats .sc-sales { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
  .sc-row .sc-more-stats { display: none; }
  .sc-row .sc-steps5 i { width: 8px; }
  .sc-row:not(.done) .sc-actions, .sc-row:not(.done) .sc-steps { grid-column: 4; display: flex; gap: 8px; justify-content: flex-end; }
  .sc-row:not(.done) .sc-btn { min-height: 36px; font-size: 14px; padding: 0 14px; white-space: nowrap; }
  .sc-row:not(.done) .sc-actions .sc-btn { min-width: 96px; }
  .sc-row .sc-hist { grid-column: 5; }
  .sc-row.sel { box-shadow: inset 3px 0 0 var(--fg); background: var(--surface-2); }
  .sc-row.returned { box-shadow: inset 3px 0 0 var(--ember); }
  .sc-list > .sc-row.done { opacity: .6; }
  .sc-row.done .sc-done-head { padding: 12px 24px; min-height: 48px; }
  .sc-row.done.open { opacity: 1; }
}
@media (min-width: 901px) and (max-width: 1399px) {  /* numbers move into the name's hover text */
  .sc-list > .sc-row:not(.done) { grid-template-columns: minmax(0, 220px) minmax(min-content, 1fr) auto 32px; }
  .sc-row .sc-stats { display: none; }
  .sc-row:not(.done) .sc-actions, .sc-row:not(.done) .sc-steps { grid-column: 3; }
  .sc-row .sc-hist { grid-column: 4; }
}
@media (max-width: 900px) {
  .sc-hbars { flex: 1 1 100%; }
  .sc-hbar, .sc-hbar + .sc-hbar { flex: 1 1 160px; width: auto; }
}
@media (max-width: 720px) {
  .sc-head .sc-viewing select { min-width: 0; width: 100%; }
  .sc-head .sc-viewing { width: 100%; }
  .sc-invite-btn { width: 100%; }
  .sc-row.followup .sc-hist { justify-self: end; margin-top: -8px; }
  .sc-undo-quick { padding-right: 20px; }
}
@media (max-width: 900px) {
  .sc-list > .sc-row:not(.done) { grid-template-columns: minmax(0, 1fr) auto; }
  .sc-list > .sc-row:not(.done) > * { grid-column: 1 / -1; }
  .sc-list > .sc-row:not(.done) > .sc-who { grid-column: 1; grid-row: 1; }
  .sc-list > .sc-row:not(.done) > .sc-hist { grid-column: 2; grid-row: 1; align-self: center; }
}
.credit-zero-line { display: none; }
@media (max-width: 720px) {
  table.stack tr.credit-zero td:not(.lead) { display: none; }
  table.stack tr.credit-zero .credit-zero-line { display: block; }
}

/* ---------- v4.10 Campaigns (BRIEF-v409, Fable team review "Campaigns" 1-5 + its layout bugs). Four tabs under the title,
   To do = Needs you now (one row per job, dot + one count + who + one button) beside Running now (one row per
   campaign: joined / posted / sold bars against the funnel targets), campaigns as rows, Stuck one row per creator. */
.camp-head { flex-wrap: wrap; row-gap: 8px; }
.camp-head .meta { margin-left: 16px; margin-right: auto; }
.camp-tabs { margin: 8px 0 24px; }
.camp-tabs a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.camp-tab-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--warn); color: #111; font-size: 12px; font-weight: 700; }
.camp-tab-n[hidden] { display: none; }
.camp-tab-c { font-weight: 400; margin-left: -4px; }
.todo-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.nn-list, .cr-list, .bd-list, .stk-list { list-style: none; margin: 0; padding: 0; }
.nn-row { display: grid; grid-template-columns: 10px 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.nn-row:first-child { border-top: 0; padding-top: 0; }
.nn-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--warn); display: inline-block; flex: none; }
.nn-dot.down { background: var(--down); }
.nn-dot.up { background: var(--up); }
.nn-n { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.nn-main { display: grid; gap: 2px; min-width: 0; }
.nn-label { font-weight: 600; }
.nn-main .sub-line { font-size: 12px; }
.nn-clear { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.nn-clear .nn-dot { width: 8px; height: 8px; }
.cr-list > li + li { border-top: 1px solid var(--line); }
.camp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 230px) 64px; align-items: center; gap: 16px; padding: 12px 0;
  color: var(--fg); text-decoration: none; }
.cr-list > li:first-child .camp-row { padding-top: 0; }
.camp-row:not(.full) { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
.camp-row:not(.full) .cr-bars { grid-column: 1 / -1; grid-row: 2; }
.camp-row.full { grid-template-columns: minmax(0, 1fr) minmax(0, 300px) 64px 84px 20px; padding: 16px 0; }
.camp-row:hover .cr-name strong { text-decoration: underline; text-underline-offset: 3px; }
.cr-name { display: grid; gap: 2px; min-width: 0; }
.cr-name .sub-line { font-size: 12px; }
.cr-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.cr-bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cr-bar { display: grid; gap: 4px; min-width: 0; }
.cr-lab { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-bar .mbar { min-width: 0; }
.cr-lab.warn { color: var(--warn); }
.cr-lab.down { color: var(--down); }
.cr-num { display: grid; justify-items: end; font-variant-numeric: tabular-nums; }
.cr-num b { font-size: 16px; }
.cr-go { color: var(--muted); display: grid; place-items: center; }
.camp-row.camp-closed { opacity: .7; }
.bd-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; align-items: center; gap: 16px; padding: 14px 0; color: var(--fg); text-decoration: none; border-top: 1px solid var(--line); }
.bd-list > li:first-child .bd-row { border-top: 0; padding-top: 0; }
.bd-row strong { display: block; }
.bd-row .sub-line { font-size: 12px; }
.bd-n { font-size: 18px; font-variant-numeric: tabular-nums; }
.camp-pc { flex: none; }
/* Scoreboard: one even row, zeros folded */
.sb-grid { grid-template-columns: repeat(var(--sb-n, 4), minmax(0, 1fr)); }
.sb-zero { margin: 12px 0 0; }
/* layout bugs: Top campaigns title over its list (a flex rule meant for another .camp-top), Top campaigns alone = full width */
section.card.camp-top { display: block; }
.camp-insights.solo { grid-template-columns: minmax(0, 1fr); }
/* Stuck: nine step tiles fit one row */
@media (min-width: 901px) { .stuck-steps { grid-template-columns: repeat(9, minmax(0, 1fr)); } }
.stk-list { margin-top: 8px; }
.stk-row + .stk-row { border-top: 1px solid var(--line); }
.stk-line { display: flex; align-items: center; gap: 16px; }
.stk-toggle { flex: 1; min-width: 0; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto 120px; align-items: center; gap: 12px;
  padding: 12px 0; min-height: 56px; background: none; border: 0; color: var(--fg); text-align: left; cursor: pointer; font: inherit; }
.stk-toggle:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.stk-chev { color: var(--muted); display: grid; place-items: center; transition: transform .2s; }
.stk-row.open .stk-chev { transform: rotate(90deg); }
.stk-who { display: grid; gap: 2px; min-width: 0; }
.stk-who .sub-line { font-size: 12px; }
.stk-days { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.stk-days.warn { color: var(--warn); font-weight: 600; }
.stk-days.down { color: var(--down); font-weight: 700; }
.stk-act { display: flex; align-items: center; gap: 10px; flex: none; min-width: 150px; justify-content: flex-end; }
.stk-tick { font-size: 12px; white-space: nowrap; }
.stk-items { margin: 0 0 12px 32px; display: grid; gap: 0; }
.stk-items li { display: grid; grid-template-columns: minmax(0, 1fr) auto 90px auto; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); }
.stk-prod { display: grid; min-width: 0; }
.stk-prod .sub-line { font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .stk-chev { transition: none; } }
@media (max-width: 1100px) {
  .todo-grid { grid-template-columns: minmax(0, 1fr); }
  .camp-row.full { grid-template-columns: minmax(0, 1fr) minmax(0, 260px) 84px 20px; }
  .camp-row.full .cr-num:not(.cr-sales) { display: none; }
}
@media (max-width: 720px) {
  .camp-head .meta { margin-left: 0; flex-basis: 100%; order: 3; }
  .camp-pc { order: 4; }
  .camp-tabs { margin: 4px 0 16px; }
  .nn-row { grid-template-columns: 10px 28px minmax(0, 1fr); }
  .nn-row > .btn { grid-column: 2 / -1; justify-self: start; }
  .nn-n { font-size: 18px; }
  .camp-row, .camp-row.full { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .camp-row .cr-bars { grid-column: 1 / -1; grid-row: 2; }
  .camp-row .cr-go { display: none; }
  .camp-row.full .cr-num:not(.cr-sales) { display: none; }
  .sb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stk-line { flex-wrap: wrap; gap: 0 12px; }
  .stk-toggle { grid-template-columns: 16px minmax(0, 1fr) auto; }
  .stk-toggle .stk-actor { display: none; }
  .stk-act { min-width: 0; margin: 0 0 12px 28px; justify-content: flex-start; }
  .stk-items { margin-left: 28px; }
  .stk-items li { grid-template-columns: minmax(0, 1fr) auto; }
  .stk-items li .status { grid-column: 1; justify-self: start; }
}

/* v4.10.1 Basel 11-17 (team Overview on his phone): the last cards sat under the floating tab bar and the page bounced
   back when he scrolled to them. Room for the bar + the home indicator + a little air, team view on phones only. */
@media (max-width: 720px) {
  body:not(.role-creator):not(.signed-out) main { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
}
/* v4.11 the rule above lost to the Overview's own padding (#app[data-page="home"] 48 px / 24 px, an id selector), so
   Basel's Overview still ended under the bar. #app#app outranks every page rule; the creator view gets the same room. */
@media (max-width: 720px) {
  body:not(.signed-out) #app#app { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
}
/* v4.10 Stuck fixes: rows start closed ([hidden] beats display:grid), product lines indent under the name, phone days under the handle */
.stk-items[hidden] { display: none; }
ul.plain.stk-items { margin: 0 0 12px 32px; padding: 0; }
@media (max-width: 720px) {
  ul.plain.stk-items { margin-left: 28px; }
  .stk-toggle .stk-days { grid-column: 2; grid-row: 2; text-align: left; }
  .stk-toggle .stk-chev { grid-row: 1 / span 2; }
}

/* ---------- v4.11 Creators list (BRIEF-v410, Fable team review "Creators (list)" 1-4 + its layout bug). The list first:
   one thin numbers strip, search, quick buttons with counts, More filters; a sortable Needs column (dot + 1-2 words:
   red = video overdue, amber = sign-in / sales down); the opened row leads with Message them about + Open creator page. */
.page-head .cl-invite { margin-left: 16px; }
/* v4.14 Creators head: title left, Invite right on the same line, the count + status pills under them (no orphan Invite) */
.page-head.cl-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 16px; }
.cl-head h1 { grid-column: 1; grid-row: 1; min-width: 0; }
.page-head.cl-head .cl-invite { grid-column: 2; grid-row: 1; margin: 0; }
.cl-head .meta { grid-column: 1 / -1; min-width: 0; }
.cl-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; margin: 0 0 20px; font-size: 14px; color: var(--muted); }
.cl-s { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.cl-s strong { color: var(--fg); font-size: 16px; font-variant-numeric: tabular-nums; }
.cl-s .mbar { width: 72px; min-width: 0; }
.cl-s .delta { font-size: 12px; }
.quick-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.qf { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  background: none; color: var(--fg); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.qf:hover { border-color: var(--muted); }
.qf:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.qf.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.qf.zero { color: var(--muted); font-weight: 500; }
.qf-n { font-variant-numeric: tabular-nums; font-weight: 700; opacity: .8; }
.qf.zero .qf-n { font-weight: 500; }
.list-card .filter-box { margin-top: 12px; }
.needs { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; min-width: 0; }
.needs .nd-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--muted); }
.needs.down { color: var(--down); }
.needs.down .nd-dot { background: var(--down); }
.needs.warn { color: var(--warn); }
.needs.warn .nd-dot { background: var(--warn); }
.vrow .c-needs { min-width: 0; overflow: hidden; }
.vrow .sub-line .needs-m { display: none; }
.list-card .filter-box summary { display: list-item; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--muted); }  /* More filters, desktop too */
.list-card .filter-box[open] summary { margin-bottom: 16px; }
#creators-brackets .brackets { margin-top: 0; }
.vp-lead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.vp-msg { min-width: 0; flex: 1 1 320px; }
.vp-msg .eyebrow { margin: 0 0 8px; }
.vp-msg-list { display: grid; gap: 6px; }
.vp-msg-list .needs { white-space: normal; font-weight: 400; color: var(--fg); }
.vp-msg-list .needs strong { font-weight: 600; }
@media (max-width: 720px) {
  .page-head .cl-invite { margin-left: auto; }
  /* v4.14 the status pills: one row that scrolls sideways with fades, bleeding to the screen edge, first pill at the
     page padding, never two ragged lines */
  .cl-head .status-chips { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; margin: 10px -16px 0; padding: 2px 16px; }
  .cl-head .status-chips::-webkit-scrollbar { display: none; }
  .cl-head .status-chips > * { flex: none; }
  .cl-strip { gap: 8px 20px; margin-bottom: 16px; }
  .cl-s .mbar { width: 48px; }
  /* v4.14 bleeds exactly to the card's edge (20 px under 640, 24 px above), first chip at the card padding */
  .quick-row { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; margin: 0 -24px; padding: 2px 24px; scrollbar-width: none; }
  .quick-row > .qf { flex: none; }
  .list-card .filter-box { margin-top: 0; }
  .quick-row::-webkit-scrollbar { display: none; }
  .vrow .sub-line .needs-m { display: inline-flex; }
  .vrow .sub-line:has(.needs-m) > :not(.needs-m) { display: none; }
  .vrow .sub-line .needs { font-size: 12px; }
  .vp-lead .btn { width: 100%; }
}
@media (max-width: 640px) { .quick-row { margin: 0 -20px; padding: 2px 20px; } }  /* v4.14 the card is 20 px here */

/* ---------- v4.11 one creator page (team; Fable team review "Creators (one creator page)" 1-5 + its layout bugs).
   One header card (name, badge, buttons incl. Add note, the facts as a label/value list); sticky jump buttons;
   two columns from 1100 px: to-do left, numbers right; phones one column in the same order. */
.ch-card .creator-head { margin: 0; }
.ch-facts { display: grid; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.ch-facts > * { margin: 0; }
.ch-facts .niches-line { position: relative; padding-left: 104px; min-height: 28px; margin: 0; row-gap: 4px; }
.ch-facts .niches-line > .eyebrow:first-child { position: absolute; left: 0; top: 6px; width: 96px; margin: 0; }
.ch-facts .brought-in, .ch-facts .ref-line { color: var(--muted); }
.ch-facts .connect-rule { margin: 0; }
.notes-card[hidden] { display: none; }
.ch-btns:has(> :nth-child(4)) { grid-template-columns: 1fr 1fr; }
.sec-chips { margin: 0; }
.sec-chips .vchip:focus:not(:focus-visible) { border-color: var(--line); }
.cp-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.cp-col { display: grid; gap: 32px; min-width: 0; align-content: start; }
.cp-col:empty { display: none; }
.cp-col > * { min-width: 0; margin: 0; }
@media (min-width: 1100px) {
  .cp-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cp-nums .kpis, .cp-nums .kpis:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .cp-nums .kpis > * { grid-column: auto; }
  .cp-col th, .cp-col td { padding: 16px 12px; }
  .cp-col th:first-child, .cp-col td:first-child { padding-left: 32px; }
  .cp-col th:last-child, .cp-col td:last-child { padding-right: 32px; }
  .cp-col th { white-space: normal; padding-top: 0; }
  .cp-col td.lead { white-space: normal; }
  .cp-col .jny { max-width: none; }
}
#c-plan, #c-videos-due, #c-products, #c-videos, #login-fold, #notes { scroll-margin-top: calc(var(--topbar-h, 64px) + 64px); }
/* the short team Plan card: title + step tag together on the left, Edit on the right; path + two bars; the rest folded */
.plan-short .card-head { flex-wrap: nowrap; align-items: flex-start; }
.plan-h { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; }
.plan-h h2 { margin: 0; }
.plan-card .hero-mini { max-width: none; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.plan-short .tier-ladder { margin: 4px 0 20px; }
.plan-short .sg-list { margin-bottom: 8px; }
.plan-cv { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.plan-cv > summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--muted); list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
.plan-cv > summary::-webkit-details-marker { display: none; }
.plan-cv > summary::before { content: "▸"; transition: transform .15s; }
.plan-cv[open] > summary::before { transform: rotate(90deg); }
.plan-cv[open] > summary { margin-bottom: 8px; color: var(--fg); }
@media (prefers-reduced-motion: reduce) { .plan-cv > summary::before { transition: none; } }
/* layout bug: the Ramping up tag sat in the middle of the Plan card's top line (Guidance keeps the long card) */
.plan-card:not(.plan-short) .card-head { justify-content: flex-start; }
.plan-card:not(.plan-short) .card-head > .plan-edit-btn { margin-left: auto; }
/* layout bug: On the way trackers stopped at half the card width */
.videos-due .jny-list .jny { max-width: none; }
/* phone bug: the hidden end date row measured 509 px in a 390 px window; it wraps under the term now */
.end-edit[open] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; }
.end-edit-row { flex-wrap: wrap; max-width: 100%; }
.end-edit:not([open]) .end-edit-row { display: none; }
@media (max-width: 720px) {
  .ch-facts .niches-line { padding-left: 0; }
  .ch-facts .niches-line > .eyebrow:first-child { position: static; width: 100%; }
  .end-edit-row { margin-left: 0; }
  .end-edit-row input[type="date"] { min-width: 0; max-width: 100%; }
}
/* v4.11 On the way: first 5 trackers, the rest behind Show all N */
.jny-more > summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--muted); min-height: 40px; display: flex; align-items: center; border-top: 1px solid var(--line); }
.jny-more[open] > summary { color: var(--fg); }
/* v4.11.1 overflow audit (creator Shop, 390): the hint under a product's button ("Post your late videos first, then the
   next samples") was cut with "…" by the one-line .gcard .sub-line rule. A hint you can't finish reading wraps instead. */
.gcard .pcard-action .sub-line { white-space: normal; overflow: visible; text-overflow: clip; }

/* v4.12 (BRIEF-v411-brand-pitch) Brand pitch card + the shop videos line (brand section only, team) */
.sv-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 12px 0 0; font-size: 14px; }
.sv-line .sv-k { color: var(--muted); }
.sv-line .sv-n b { font-variant-numeric: tabular-nums; color: var(--fg); }
td .sv-line { margin-top: 6px; font-size: 12px; gap: 2px 12px; }
.pitch-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; max-width: 760px; margin: 0 auto 16px; }
.pitch-tools .sp { flex: 1; }
/* v4.48 (BRIEF-v4480) the brand search (combobox) + the period switch; the card's hero = the period's shop videos + bars */
.pb-combo { position: relative; width: 260px; }
.pb-combo input { width: 100%; min-height: 36px; padding-right: 36px; }
.pb-clear { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: none; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; border-radius: 999px; }
.pb-clear:hover, .pb-clear:focus-visible { color: var(--fg); }
.pb-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .28); max-height: 360px; overflow-y: auto; }
.pb-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; padding: 8px 12px; border-radius: 8px; font-size: 14px; cursor: pointer; }
.pb-list li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-list li b { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.pb-list li.cur > span { font-weight: 600; }
.pb-list li[aria-selected="true"], .pb-list li:hover { background: var(--surface-2); }
.pb-list li.pb-none { color: var(--muted); cursor: default; background: none; }
.pitch-when { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.pitch-when b { font-size: 14px; color: var(--fg); }
.pv-hero.pitch-hero, .pv-hero.proof-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 24px; }
.pitch-hero.pv-hero { margin-bottom: 32px; }
.pv-hero .pv-n { display: flex; flex-direction: column; gap: 8px; }
.pv-hero .pv-bars { display: flex; flex-direction: row; align-items: flex-end; gap: 3px; height: 72px; min-width: 0; overflow: hidden; }
.pv-bars i { flex: 1 1 0; min-width: 0; max-width: 28px; background: var(--bar, var(--muted)); border-radius: 3px 3px 0 0; }
.pv-bars i.z { height: 2px !important; background: var(--surface-2); }
.proof-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.proof-head .pp-head { flex: 1; min-width: 200px; margin: 0; }
.pitch-tog { gap: 8px; font-size: 14px; color: var(--muted); }
.pitch-save { display: inline-flex; gap: 8px; }
.pitch-cats .cat-short { display: none; }
.card.pitch { width: 100%; max-width: 760px; margin: 0 auto; padding: 40px; }
.pitch-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.pitch-top img { width: 168px; height: auto; }
.pitch .logo-light { display: none; }
[data-theme="light"] .pitch .logo-dark { display: none; }
[data-theme="light"] .pitch .logo-light { display: block; }
.pitch-eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.pitch h2 { font-size: 24px; margin: 0 0 24px; overflow-wrap: anywhere; }
.pitch-hero { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 32px; }
.pitch-hero > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pitch-hero b { font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--fg); }
.pitch-hero span { font-size: 12px; color: var(--muted); }
.pitch-hero .mbar { width: 100%; }
.pitch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 32px; }
.pitch-grid > div { border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; min-width: 0; }
.pitch-grid .k, .pitch-grid .s { font-size: 12px; color: var(--muted); }
.pitch-grid .v { font-size: 28px; font-weight: 600; margin-top: 6px; font-variant-numeric: tabular-nums; }
.pitch-grid .s { margin-top: 4px; }
.pitch-cats + .pitch-cats { margin-top: 24px; }
.pitch-cats h3 { font-size: 12px; color: var(--muted); font-weight: 500; margin: 0 0 12px; }
.pitch-cats li { display: grid; grid-template-columns: 200px minmax(0, 1fr) 48px; align-items: center; gap: 16px; padding: 6px 0; font-size: 14px; }
.pitch-cats li > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pitch-cats li b { text-align: right; font-variant-numeric: tabular-nums; }
.pitch-foot { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; }
@media (max-width: 640px) {
  .card.pitch { padding: 24px; }
  .pitch-top img { width: 132px; }
  .pitch-hero { gap: 12px; }
  .pitch-hero b { font-size: 28px; }
  .pitch-grid { gap: 12px; }
  .pitch-grid > div { padding: 16px; }
  .pitch-grid .v { font-size: 22px; }
  .pitch-cats li { grid-template-columns: 120px minmax(0, 1fr) 36px; gap: 12px; }
  .pitch-foot { flex-direction: column; gap: 4px; }
  .pitch-brand, .pitch-brand select, .pb-combo { width: 100%; max-width: none; }
  .pv-hero.pitch-hero, .pv-hero.proof-hero { gap: 16px; }
  .pv-hero .pv-bars { height: 56px; gap: 2px; }
  .pitch-cats .cat-full { display: none; }
  .pitch-cats .cat-short { display: inline; }
}

/* ---------- v4.13 (BRIEF-v413) Campaigns › Samples waiting: one row per brand (the Stuck row layout), owner on the right,
   actions + notes inside the opened row; No sample yet list + the products approving most. */
.nn-dot.grey { background: var(--muted); }
.pill.down { color: var(--down); border-color: currentColor; }
.sw-row.sw-calm .stk-who strong { color: var(--muted); }
.sw-row .stk-who strong .nn-dot { margin-right: 4px; vertical-align: 1px; }
.sw-notes { white-space: normal; }
.sw-body[hidden] { display: none; }
.sw-body { margin: 0 0 16px 32px; }
.sw-body ul.plain.stk-items { margin: 0 0 12px; }
.sw-body .stk-items li { grid-template-columns: minmax(0, 1fr) auto 90px; }
.sw-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.sw-told { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; min-height: 44px; cursor: pointer; }
.sw-owner { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.sw-owner select { min-height: 36px; }
.sw-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sw-form[hidden] { display: none; }
.sw-form input { flex: 1 1 240px; min-width: 0; min-height: 36px; }
.ns-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 140px); align-items: center; gap: 12px; padding: 12px 0; }
.ns-list li + li { border-top: 1px solid var(--line); }
.ns-list .muted { text-align: right; }
.ns-picks { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.ns-picks li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; min-width: 0; }
.ns-picks li > .clamp1 { min-width: 0; }
.ns-rate { font-size: 14px; color: var(--up); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .sw-body { margin-left: 28px; }
  .sw-body .stk-items li { grid-template-columns: minmax(0, 1fr) auto; }
  .sw-body .stk-items li .pill { grid-column: 1; justify-self: start; }
  .sw-owner { margin-left: 0; }
  .ns-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .ns-list .muted { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 720px) {
  .sw-row .stk-toggle > :nth-child(3) { grid-column: 2; grid-row: 3; justify-self: start; }
  .sw-row .stk-toggle > :nth-child(3):empty { display: none; }
  .sw-row .stk-act { margin-bottom: 12px; }
}
@media (max-width: 720px) { .sw-row .stk-toggle { flex-basis: 100%; } .sw-row .stk-act { margin-left: 28px; } }
.ns-picks .ns-prod { display: grid; gap: 2px; min-width: 0; }
.do-list .ns-picks { margin-top: 12px; padding-top: 12px; }
.do-list .ns-picks li { padding: 6px 0; border: 0; }
.do-list .ns-picks p.sub { margin: 0 0 4px; }

/* v4.16 Samples on hold (creator Home): the late-hold card in amber, one row per held product */
.held-list li { align-items: center; justify-content: flex-start; }
.held-list .held-thumb { width: 40px; height: 40px; border-radius: 8px; }
.held-list .name { flex: 1; min-width: 0; }
.held-list .held-go { flex: none; }
.held-card .lh-title .tip-wrap, .held-card .lh-title button { vertical-align: middle; }
.held-box .told-line { flex-basis: 100%; margin: 0; }

/* v4.16 plan follow-through: the Overview line, the Creators column, the creator page's 6 weeks */
.ov-plan { margin: 0; color: var(--muted); font-size: 14px; }
.ov-plan a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.c-planw { width: 96px; }
.plan-trend .pt-bars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.pt-week { display: grid; gap: 6px; justify-items: center; }
.pt-col { height: 56px; width: 100%; max-width: 32px; display: flex; align-items: flex-end; border-bottom: 1px solid var(--line); }
.pt-bar { display: block; width: 100%; border-radius: 4px 4px 0 0; background: var(--muted); }
.pt-bar.up { background: var(--up); }
.pt-bar.warn { background: var(--warn); }
.pt-bar.down { background: var(--down); }
.pt-week.none .pt-col { border-bottom-style: dashed; }
.pt-day { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* v4.20 (BRIEF-v419 part 2) the Today tab: person switcher with done bars, one card per task type, button states.
   Mockup: design/mockups-2026-11-18-pipeline/today.html. Green = done, amber = waiting, red = late; ember = brand only. */
.td-head .meta { margin-left: auto; }
.td-people { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; margin-bottom: 24px; }
.td-people::-webkit-scrollbar { display: none; }
.td-person { flex: none; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; row-gap: 10px; min-width: 132px;
  padding: 12px 16px 12px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--fg); text-align: left; font: inherit; cursor: pointer; }
.td-person.on { border-color: var(--fg); background: var(--surface-2); }
.td-person .nm { font-size: 14px; font-weight: 700; line-height: 1.2; display: block; }
.td-person .ct { font-size: 12px; color: var(--muted); display: block; font-weight: 600; white-space: nowrap; }
.td-person .mbar { grid-column: 1 / -1; height: 4px; min-width: 0; }
.td-av { width: 28px; height: 28px; border-radius: 999px; display: inline-grid; place-items: center; flex: none; font-size: 12px; font-weight: 700;
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.td-av.me { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.td-av.all .ic { width: 14px; height: 14px; }
.td-mine { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 32px; margin-bottom: 24px; }
.td-mine .big { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.td-mine .big em { font-style: normal; color: var(--up); }
.td-mine .big span { color: var(--faint); font-size: 28px; font-weight: 700; }
.td-mine .lbl { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.td-steps { display: flex; gap: 6px; }
.td-steps i { flex: 1; height: 12px; border-radius: 999px; background: var(--surface-2); }
.td-steps i.done { background: var(--up); }
.td-steps i.late { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--down) 45%, transparent); }
.td-steps i.wait { box-shadow: inset 0 0 0 2px var(--warn-line); }
.td-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.td-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.td-grid.td-donegrid { gap: 16px; }
.td-card { display: grid; gap: 20px; align-content: start; padding: 32px; }
.td-card.pin { grid-column: 1 / -1; border-color: color-mix(in srgb, var(--down) 45%, transparent);
  background: linear-gradient(0deg, color-mix(in srgb, var(--down) 8%, transparent), color-mix(in srgb, var(--down) 8%, transparent)), var(--surface); }
.td-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.td-n { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.02em; min-width: 52px; color: var(--muted); }
.td-n.down { color: var(--down); } .td-n.warn { color: var(--warn); }
.td-what h3 { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; line-height: 1.3; margin: 0; }
.td-what .sub { font-size: 14px; color: var(--muted); margin: 4px 0 0; overflow-wrap: anywhere; }
.td-flag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.td-flag .ic { width: 13px; height: 13px; }
.td-tick { width: 40px; height: 40px; border-radius: 999px; border: 2px solid var(--bar); background: none; display: grid; place-items: center;
  color: transparent; flex: none; cursor: pointer; padding: 0; }
.td-tick:hover { border-color: var(--up); color: var(--up-line); }
.td-tick .ic { width: 20px; height: 20px; stroke-width: 3; }
.td-tick.on { background: var(--up); border-color: var(--up); color: var(--bg); }
.td-age { display: grid; gap: 10px; }
.td-agebar { display: flex; gap: 3px; height: 12px; }
.td-agebar i { border-radius: 4px; min-width: 10px; }
.td-agebar .down { background: var(--down); } .td-agebar .warn { background: var(--warn); } .td-agebar .grey { background: var(--bar); }
.td-agekey { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); align-items: center; }
.td-agekey > span { display: inline-flex; align-items: center; gap: 6px; }
.td-agekey .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--bar); }
.td-agekey .dot.down { background: var(--down); } .td-agekey .dot.warn { background: var(--warn); }
.td-old { margin-left: auto; font-weight: 700; }
.td-old.down { color: var(--down); } .td-old.warn { color: var(--warn); }
.td-said { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--up); margin: 0; flex-wrap: wrap; }
.td-said .ic { width: 15px; height: 15px; }
.td-copied { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: 12px; background: var(--surface-2); font-size: 14px; }
.td-copied[hidden] { display: none; }
.td-copied .up-text { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
.td-copied .sp, .td-foot .sp { flex: 1; }
.td-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.td-foot .btn { white-space: nowrap; gap: 6px; }
.td-foot .btn .ic { width: 16px; height: 16px; }
.td-who { display: inline-flex; align-items: center; gap: 10px; }
.btn.sent { background: color-mix(in srgb, var(--up) 14%, transparent); color: var(--up); border-color: var(--up-line); }
.btn.sent[disabled] { opacity: 1; cursor: default; }
.td-owner { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 4px; border-radius: 999px; border: 1px solid var(--line);
  font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; background: none; }
button.td-owner { cursor: pointer; }
.td-owner.none { border-style: dashed; }
.td-owner .td-caret { width: 12px; height: 12px; transform: rotate(90deg); }
.td-done { display: flex; align-items: center; gap: 16px; padding: 18px 24px; }
.td-done .td-tick { width: 32px; height: 32px; } .td-done .td-tick .ic { width: 16px; height: 16px; }
.td-done b { font-size: 16px; } .td-done .sub { margin: 0 0 0 auto; text-align: right; color: var(--muted); font-size: 14px; }
.td-done .sub { min-width: 0; overflow: hidden; text-overflow: ellipsis; }  /* v4.64 "Cleared · N handled · names" */
.td-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); display: flex; align-items: center; gap: 10px; margin: 8px 0 16px; }
.td-label::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.td-group { display: grid; gap: 16px; margin-bottom: 32px; }
.td-group .td-grid { margin-bottom: 0; }
.td-ghead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.td-ghead h2 { font-size: 20px; font-weight: 700; margin: 0; }
.td-ghead .role { color: var(--faint); font-size: 14px; }
.td-ghead .sp { flex: 1; }
.td-ghead .mbar { width: 120px; height: 6px; }
.td-clear { display: flex; align-items: center; gap: 10px; color: var(--up); font-weight: 600; font-size: 14px; padding: 16px 24px; margin: 0 0 24px;
  border: 1px dashed var(--up-line); border-radius: var(--radius); }
.td-menu { display: grid; gap: 4px; }
.td-menu-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; border: 0; background: none; color: var(--fg);
  font: inherit; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; min-height: 44px; }
.td-menu-row:hover, .td-menu-row.on { background: var(--surface-2); }
.td-menu-row .ic { margin-left: auto; color: var(--up); }
.td-link { padding: 28px 32px; display: grid; gap: 14px; align-content: start; }
.td-link .card-head { margin: 0; }
.td-link h2 { font-size: 18px; }
.td-link-big { margin: 0; font-size: 40px; font-weight: 800; line-height: 1; }
.td-link-big span { color: var(--faint); font-size: 22px; font-weight: 700; }
.td-link p { margin: 0; }
.td-link .btn { justify-self: start; }
.camp-tab-out .ic { width: 12px; height: 12px; vertical-align: -1px; }
.stk-act .td-said, .stk-copied { white-space: nowrap; }
.guide-log-card .card-head { justify-content: space-between; }
.guide-log-row details > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.guide-log-row details > summary::-webkit-details-marker { display: none; }
.gl-body { padding: 12px 0 4px; display: grid; gap: 10px; justify-items: start; }
.gl-body p { margin: 0; color: var(--muted); }
@media (max-width: 1100px) { .td-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .td-mine { grid-template-columns: 1fr; gap: 16px; padding: 24px; } .td-mine .big { font-size: 48px; } .td-mine .btn { justify-self: start; }
  .td-grid, .td-grid.three { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .td-card { padding: 24px; gap: 18px; } .td-n { font-size: 40px; min-width: 44px; }
  .td-foot > .btn { flex: 1; justify-content: center; padding: 0 12px; } .td-foot .sp { display: none; }
  .td-who { order: 9; flex-basis: 100%; }
  .td-done { padding: 16px 20px; gap: 12px; } .td-done .sub { font-size: 12px; white-space: nowrap; } .td-done .td-tick { width: 28px; height: 28px; }
  .td-head .meta { margin-left: 0; }
}

/* ---------------------------------------------------------------- v4.21 Overview pipe (BRIEF-v419 part 3, mockup overview.html) */
.ov-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 24px 32px; }
.ovs-lead { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.ovs-lead > b { font-size: 32px; font-weight: 800; line-height: 1; }
.ovs-lead > b span { color: var(--faint); font-size: 18px; }
.ovs-lead strong { color: var(--fg); }
.ovs-people { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.ovs-p { display: grid; grid-template-columns: auto auto; gap: 2px 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--muted); }
.ovs-p b { color: var(--fg); }
.ovs-p .mbar { grid-column: 1 / -1; width: 100%; min-width: 84px; height: 4px; margin-top: 4px; }
.ovs-p .td-av { width: 26px; height: 26px; font-size: 12px; }
.pp-wrap { display: grid; gap: 20px; min-width: 0; }
.pp-head { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.pp { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr) 40px) minmax(0, 1fr); }
.pp::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 10px; border-radius: 999px; background: var(--bar); }
.pp-stage { display: grid; grid-template-rows: 56px 1fr; gap: 20px; min-width: 0; }
.pp-node { position: relative; justify-self: center; width: 56px; height: 56px; border-radius: 999px; background: var(--bg); border: 3px solid var(--bar); display: grid; place-items: center; color: var(--fg); }
.pp-node > .ic { width: 24px; height: 24px; }
.pp-node.up { border-color: var(--up); } .pp-node.warn { border-color: var(--warn); } .pp-node.down { border-color: var(--down); }
.pp-drip { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 2px); display: flex; }
.pp-drop { width: 12px; height: 16px; flex: none; color: var(--faint); }
.pp-drop.warn { color: var(--warn); } .pp-drop.down { color: var(--down); }
.pp-joint { position: relative; height: 56px; }
.pp-joint span { position: absolute; left: 50%; top: 28px; transform: translate(-50%, -50%); white-space: nowrap; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--bar); font-size: 12px; font-weight: 700; color: var(--muted); z-index: 1; }
.pp-joint span:empty { display: none; }
.pp-joint b { color: var(--fg); } .pp-joint b.up-text { color: var(--up); } .pp-joint b.warn-text { color: var(--warn); } .pp-joint b.down-text { color: var(--down); }
.pp-card { padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pp-name { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.pp-tag { white-space: nowrap; letter-spacing: .04em; font-size: 12px; padding: 2px 8px; }
.pill.warn { color: var(--warn); border-color: currentColor; }
.pp-big { margin: 0; font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.pp-big small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pp-unit { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.pp-unit .delta { display: inline; font-size: 12px; }
.pp-vis { min-height: 64px; display: grid; align-content: end; gap: 8px; }
.pp-vis .delta { font-size: 12px; }
.pp-st { font-weight: 700; }
.xs { font-size: 12px; }
.pp-meter { position: relative; }
.pp-meter .mbar { width: 100%; }
.pp-mark { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--fg); }
.pp-ends { display: flex; justify-content: space-between; gap: 8px; }
.pp-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; align-items: end; height: 64px; }
.pp-bars div { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; height: 100%; font-size: 12px; text-align: center; }
.pp-bars b { color: var(--fg); font-weight: 700; }
.pp-bars i { display: block; border-radius: 4px 4px 0 0; background: var(--bar); min-height: 2px; }
.pp-bars-l { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: 12px; color: var(--faint); text-align: center; }
.pp-facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.pp-facts li { display: flex; justify-content: space-between; gap: 8px; }
.pp-facts b { color: var(--fg); text-align: right; white-space: nowrap; }
.pp-leak { margin-top: auto; border-radius: 12px; padding: 14px; display: grid; gap: 10px; border: 1px solid var(--line); background: var(--surface-2); }
.pp-leak.down { border-color: color-mix(in srgb, var(--down) 45%, transparent); background: color-mix(in srgb, var(--down) 9%, var(--surface)); }
.pp-leak.warn { border-color: var(--warn-line); background: color-mix(in srgb, var(--warn) 9%, var(--surface)); }
.pp-leak-top { display: flex; gap: 10px; align-items: flex-start; }
.pp-leak-top > .pp-drop { margin-top: 3px; }
.pp-leak-top > .ic { width: 16px; height: 16px; color: var(--up); flex: none; margin-top: 2px; }
.pp-leak-top b { display: block; font-size: 16px; line-height: 1.3; }
.pp-leak.down .pp-leak-top b { color: var(--down); } .pp-leak.warn .pp-leak-top b { color: var(--warn); }
.pp-leak-top span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.pp-leak a { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--fg); text-decoration: none; min-height: 32px; }
.pp-leak a > .pp-leak-t { flex: 1; min-width: 0; }
.pp-leak a > .ic { margin-left: auto; width: 14px; height: 14px; flex: none; }
.pp-leak .td-av { width: 26px; height: 26px; font-size: 12px; }
.ov-two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: stretch; }
.ov-two > .road-card { margin: 0; }
.ov-far { padding: 32px; }
.ov-far .card-head h2 { font-size: 18px; }
.ov-far .ov-four, .ov-far .ov-four:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.ov-far .ov-four .kpi { background: none; border: 0; border-radius: 0; border-top: 1px solid var(--line); padding: 24px 32px; }
.ov-far .ov-four .kpi:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 0; }
.ov-far .ov-four .kpi:nth-child(-n+2) { border-top: 0; padding-top: 0; }
.ov-far .ov-four .kpi:nth-last-child(-n+2) { padding-bottom: 0; }
.ov-planbar { display: flex; align-items: center; gap: 16px; padding: 20px 32px; flex-wrap: wrap; }
.ov-planbar .mbar { flex: 1; min-width: 120px; max-width: 320px; }
.ov-planbar .sp { flex: 1; }
.td-card.td-hit { outline: 3px solid var(--fg); outline-offset: 3px; transition: outline-color .6s; }
@media (max-width: 1100px) {
  .ov-two { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pp { grid-template-columns: minmax(0, 1fr); }
  .pp::before { left: calc(50% - 5px); right: auto; top: 0; bottom: 0; width: 10px; height: auto; }
  .pp-stage { grid-template-rows: auto auto; gap: 12px; position: relative; }
  .pp-drip { display: none; }
  .pp-joint { height: 64px; } .pp-joint span { top: 32px; }
  .pp-card { padding: 24px; position: relative; } .pp-vis { min-height: 0; }
}
@media (max-width: 720px) {
  .ov-strip { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px; }
  .ovs-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .ovs-p .mbar { min-width: 0; }
  .ov-strip > .btn { justify-self: stretch; justify-content: center; }
  .ov-far { padding: 24px; }
  .ov-far .ov-four .kpi { padding: 20px 16px; }
  .ov-planbar { padding: 20px 24px; }
}

/* ---------------------------------------------------------------- v4.22 Campaigns › Health (BRIEF-v419 part 4, mockup campaigns.html) */
.hc-meters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hc-m { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hc-k { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.hc-big { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hc-big > b { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.hc-big > span { font-size: 16px; font-weight: 600; color: var(--muted); }
.hc-ends { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.hc-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hc-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hc-side > b { font-size: 32px; font-weight: 800; line-height: 1; }
.hc-side > span:not(.xs) { font-size: 14px; color: var(--muted); }
.hc-split { display: flex; gap: 4px; height: 10px; }
.hc-split i { display: block; border-radius: 999px; min-width: 10px; }
.hc-split i.down, .hc-keys i.dot.down, .hc-key i.dot.down { background: var(--down); }
.hc-split i.warn, .hc-key i.dot.warn { background: var(--warn); }
.hc-key { display: flex; gap: 12px; flex-wrap: wrap; }
.hc-key > span { display: inline-flex; align-items: center; gap: 6px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: var(--bar); flex: none; }
.hc-own { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--fg); text-decoration: none; min-height: 32px; }
.hc-own .td-av { width: 26px; height: 26px; font-size: 12px; }
.hc-own .ic { width: 14px; height: 14px; }
.hc-pipe .card-head { align-items: center; }
.hc-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); }
.hc-sb { min-height: 36px; padding: 4px 14px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.hc-sb[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.hc-th, .hc-row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.5fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.2fr) 16px; gap: 20px; align-items: center; }
.hc-th { padding: 0 8px 14px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--line); }
.hc-list > li { border-bottom: 1px solid var(--line); }
.hc-row { padding: 20px 8px; color: var(--fg); text-decoration: none; border-radius: 12px; }
.hc-row:hover { background: var(--surface-2); }
.hc-name { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hc-c { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 14px; }
.hc-c > b { font-size: 16px; }
.hc-c .pp-meter { max-width: 120px; }
.hc-l { display: none; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.hc-smp-in { display: flex; align-items: center; gap: 10px; }
.hc-mini { display: flex; align-items: flex-end; gap: 3px; height: 32px; width: 56px; flex: none; }
.hc-mini i { flex: 1; border-radius: 2px 2px 0 0; background: var(--bar); }
.hc-mini i.up { background: var(--up); } .hc-mini i.warn { background: var(--warn); } .hc-mini i.down { background: var(--down); }
.hc-two { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); white-space: nowrap; }
.hc-leak .vchip { align-self: flex-start; white-space: nowrap; font-weight: 600; }
.hc-leak .vchip .pp-drop { width: 9px; height: 12px; }
.vchip.down { color: var(--down); border-color: color-mix(in srgb, var(--down) 45%, transparent); }
.hc-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 20px; flex-wrap: wrap; }
.hc-more { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); }
.hc-more .ic { width: 14px; height: 14px; }
.hc-two-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.hc-steps { display: flex; gap: 6px; margin-bottom: 24px; }
.hc-step { min-width: 40px; min-height: 48px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.hc-step.big { color: var(--down); border-color: color-mix(in srgb, var(--down) 45%, transparent); background: color-mix(in srgb, var(--down) 9%, var(--surface)); }
.hc-keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; font-size: 14px; }
.hc-keys li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hc-keys li > span { flex: 1; min-width: 0; }
.hc-keys li > b { font-variant-numeric: tabular-nums; }
.hc-keys li.big > b { color: var(--down); }
.hc-brands > li { display: grid; grid-template-columns: minmax(0, 1.2fr) 28px minmax(90px, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hc-brands > li:last-child { border-bottom: 0; }
.hc-bn { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hc-bq { font-size: 20px; text-align: right; }
.hc-ship { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hc-brands .vchip { white-space: nowrap; justify-self: end; }
.hc-proof { display: grid; gap: 20px; min-width: 0; }
.hc-rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.proof { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.proof-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.proof-top h3 { margin: 0; font-size: 20px; }
.proof-top .pitch-eyebrow { margin-bottom: 4px; }
.proof-top .pill { white-space: nowrap; }
.pill.up { color: var(--up); border-color: var(--up-line); }
.proof-k { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.proof-hero { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.proof-hero > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.proof-hero b { font-size: 32px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.proof-hero span { font-size: 12px; color: var(--muted); }
.proof-hero .mbar { width: 100%; min-width: 0; }
.proof-rate { display: grid; gap: 10px; padding: 20px; border-radius: 14px; background: var(--surface-2); }
.proof-rate .hc-ends { font-size: 14px; color: var(--fg); }
.proof-rate .hc-ends b { font-size: 24px; font-weight: 800; }
.proof-rate .xs { margin: 0; }
.proof-facts { margin: 0; padding: 20px 0 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border-top: 1px solid var(--line); }
.proof-facts li { display: flex; flex-direction: column; gap: 4px; }
.proof-facts b { font-size: 20px; }
.proof-facts span { font-size: 12px; color: var(--muted); }
.proof-acts { margin-top: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.proof-acts .linkish { margin-left: auto; text-decoration: underline; text-underline-offset: 3px; }
.proof-acts .ic { width: 14px; height: 14px; vertical-align: -2px; }
.hc-pick { margin: 0; }
.hc-pick a { color: var(--fg); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.hc-pick .ic { width: 14px; height: 14px; }
@media (max-width: 1100px) {
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-th { display: none; }
  .hc-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 20px; align-items: start; }
  .hc-name { grid-column: 1 / -1; }
  .hc-row > .cr-go { display: none; }
  .hc-l { display: block; }
}
@media (max-width: 900px) {
  .hc-meters, .hc-two-up { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .proof-grid { grid-template-columns: minmax(0, 1fr); }
  .hc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px 0; }
  .hc-big > b { font-size: 36px; }
  .hc-brands > li { grid-template-columns: minmax(0, 1fr) 28px; }
  .hc-ship, .hc-brands .vchip { grid-column: 1 / -1; justify-self: start; }
  .hc-keys { grid-template-columns: minmax(0, 1fr); }
  .proof-hero b { font-size: 28px; }
}

/* v4.23 (BRIEF-v423) the three levers: Sales · Videos posted · Products sold, then the diagnose row */
.levers-card .card-head { justify-content: flex-start; align-items: center; gap: 12px; margin-bottom: 16px; }
.levers-card .card-head h2 { margin: 0; }
.levers-card .lv-asof { margin-left: auto; }
.lv-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lv-diag-row { margin-top: 16px; }
.lv-tile { background: var(--surface-2); border-radius: 14px; padding: 20px 24px; min-width: 0; }
.lv-tile p { margin: 0; }
.lv-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.lv-label .ic { width: 16px; height: 16px; }
.lv-num { font-size: 44px; font-weight: 800; line-height: 1.1; margin: 8px 0 8px !important; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.lv-chg { display: flex; flex-wrap: wrap; gap: 6px; min-height: 24px; }
.lv-tile .spark { margin-top: 8px; }
.lv-foot { font-size: 12px; color: var(--muted); margin-top: 8px !important; }
.lv-foot b { color: var(--fg); }
.lv-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; padding: 0 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }
.lv-diag { background: transparent; border: 1px solid var(--line); }
.lv-dnum { font-size: 28px; font-weight: 800; margin: 6px 0 10px !important; font-variant-numeric: tabular-nums; }
.lv-goal { font-size: 14px; font-weight: 600; color: var(--muted); }
.lv-read { background: transparent; border: 1px solid var(--warn-line); }
.lv-read.ok { border-color: var(--up-line); }
.lv-read-t { font-size: 16px; font-weight: 700; margin: 8px 0 0 !important; }
.lv-readline { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-size: 14px; font-weight: 600; }
.lv-readline a { margin-left: auto; white-space: nowrap; font-weight: 600; }
.lv-ask { margin: 12px 0 0; }
.lv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); flex: none; }
.lv-dot.ok { background: var(--up); }
.lv-none .lv-num { color: var(--muted); }
/* v4.106 (BRIEF-v499 Part G 5) the three tiles: equal width + height, label on one line, number, one chip, the sparkline
   on the same line in every tile, the footer pinned to the bottom */
.levers-card .lv-row { align-items: stretch; }
.levers-card .lv-row > .lv-tile { display: flex; flex-direction: column; }
.levers-card .lv-row:not(.lv-diag-row) > .lv-tile > .lv-label { white-space: nowrap; overflow: hidden; min-width: 0; }
.levers-card .lv-row:not(.lv-diag-row) > .lv-tile > .lv-label > span { overflow: hidden; text-overflow: ellipsis; }
.levers-card .lv-row:not(.lv-diag-row) > .lv-tile > .lv-chg { flex-wrap: nowrap; overflow: hidden; }
.levers-card .lv-row > .lv-tile > .lv-foot { margin-top: auto !important; padding-top: 8px; }
.lv-short { display: none; }
@media (max-width: 640px) {
  .lv-full { display: none; }
  .lv-short { display: inline; }
  .levers-card { padding: 20px; }
  .lv-row { gap: 8px; }
  .lv-tile { padding: 14px 12px; border-radius: 12px; }
  .lv-label { font-size: 12px; gap: 4px; }
  .lv-label .ic { display: none; }
  .lv-num { font-size: 26px; }
  .lv-chg .lv-was, .lv-long { display: none; }
  .lv-chg .pill { font-size: 12px; padding: 1px 7px; letter-spacing: 0; white-space: nowrap; }
  .lv-diag-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lv-diag-row .lv-read { grid-column: 1 / -1; }
  .lv-dnum { font-size: 22px; }
  .levers-card .lv-asof { margin-left: 0; width: 100%; }
}

/* v4.23 Creators list lever cells: the number, its change under it */
@media (min-width: 721px) { .vrow .c-sales, .vrow .c-vids, .vrow .c-units, .vrow .c-vpp { display: grid; justify-items: end; gap: 2px; align-content: center; } }
.vrow .lvc-ch { font-size: 12px; font-weight: 600; white-space: nowrap; }
/* v4.115 a fallback's source after its change; a dash that carries a reason (hover) */
.vrow .lvc-two { white-space: nowrap; }
.lv-why { text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
/* v4.125 (review B10) the dash itself is the tap target for its reason (no round (?) look) */
.qtip-btn.lv-why { width: auto; height: auto; min-width: 24px; margin: 0; padding: 0 4px; border: 0; border-radius: 4px; vertical-align: baseline;
  font-size: inherit; font-weight: inherit; color: var(--muted); text-decoration: underline dotted; text-underline-offset: 3px; }
.lv-whyq .qtip-pop { white-space: normal; text-align: left; min-width: 200px; }

/* v4.23 Samples confirmed switch (campaign page) + Invite not confirmed / Samples unconfirmed sheets */
.sg-bar { padding: 20px 32px; }
.sg-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sg-row .sub { margin: 4px 0 0; }
.sg-bar.on b { color: var(--up, inherit); }
.ig-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ig-row:last-child { border-bottom: 0; }
.ig-row .sub { margin: 4px 0 0; }
.ig-row > div { min-width: 0; }
.ig-row .ig-acts { display: flex; gap: 8px; flex: none; }  /* v4.24 Tell: no free sample: Copy + Told */
/* v4.38.2 per-product sample switches (campaign page + Samples unconfirmed sheet) */
.sg-bar .quiet-list { margin: 12px 0 0; }
.sg-bar.on .ig-row b { color: inherit; }
.ig-row.ig-camp { align-items: flex-start; }
.ig-row.ig-camp > div { flex: 1; }
.ig-camp .quiet-list .ig-row { padding: 8px 0; }

/* v4.31 the "Stuck" prompt, Part B (BRIEF-v430, design/mockups-2026-11-20-stuck): the one amber card + the sheet,
   one product at a time. Amber 1-6 days, red 7+, green = done (always with an icon); ember only on the money. */
.stk2-pic { width: 88px; height: 88px; border-radius: 16px; overflow: hidden; position: relative; background: var(--surface-2);
  display: grid; place-items: center; flex: none; border: 1px solid var(--line); }
.stk2-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stk2-pic .initials { color: var(--faint); }
.stk2-pic .initials svg { width: 36px; height: 36px; }
.stk2-pic.sm { width: 40px; height: 40px; border-radius: 10px; }
.stk2-pic.sm .initials svg { width: 20px; height: 20px; }
.stk2-home { border-color: var(--warn-line); }
.stk2-home.fresh { border-color: var(--line); }
.stk2-home h2 { display: flex; align-items: center; gap: 8px; margin: 0; }
.stk2-home h2 .ic { width: 20px; height: 20px; color: var(--warn); }
.stk2-home.fresh h2 .ic { color: var(--muted); }
.stk2-home h2 .needs-n { margin-left: auto; }
/* v4.105 (BRIEF-v499 Part F 2) small per-product reminders (Home, Plan › Samples, Products): one row each, ✕ = Not interested */
.stk3 h2 { display: flex; align-items: center; gap: 8px; margin: 0; }
.stk3 h2 .ic { width: 20px; height: 20px; color: var(--muted); }
.stk3 h2 .needs-n { margin-left: auto; }
.stk3-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; }
.stk3-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.stk3-list li:first-child { border-top: 0; }
.stk3-list .stk2-pic { width: 48px; height: 48px; border-radius: 12px; }
.stk3-txt { display: grid; gap: 4px; min-width: 0; }
.stk3-txt .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stk3-txt .sub-line { margin: 0; }
.stk3-tag .tag { font-size: 12px; }
.stk3-sell { line-height: 1.35; }
.stk3-act { display: flex; align-items: center; gap: 4px; }
.stk3-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.stk3-x:hover, .stk3-x:focus-visible { background: var(--surface-2); color: var(--fg); }
.stk3-list li.stk3-gone { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.stk3-gone .row { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.stk3-gone .row .ic { width: 16px; height: 16px; color: var(--up); }
.stk3-gone .why { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.stk3-gone .why .chip { min-height: 32px; padding: 4px 12px; font-size: 14px; }
.stk3-more { margin-top: 8px; }
@media (max-width: 520px) { .stk3-list li { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; } .stk3-list .stk2-pic { width: 40px; height: 40px; } }
.stk2-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.stk2-pile { display: flex; flex: none; }
.stk2-pile .stk2-pic.sm + .stk2-pic.sm { margin-left: -8px; box-shadow: -2px 0 0 var(--surface); }
.stk2-row p { margin: 0; font-size: 14px; color: var(--muted); min-width: 0; }
.stk2-row p strong { display: block; color: var(--fg); font-size: 16px; }
.stk2-row .btn { margin-left: auto; flex: none; }
.sheet.stk2-sheet { padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); }
.stk2 { display: grid; gap: 18px; min-width: 0; }
.stk2-top { display: flex; align-items: center; gap: 10px; }
.stk2-top .vchip { font-size: 14px; font-weight: 700; padding: 4px 12px; display: inline-flex; align-items: center; gap: 6px; }
.stk2-top .vchip .ic { width: 14px; height: 14px; }
.stk2-count { margin-left: auto; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.stk2-top .close { width: 36px; height: 36px; font-size: 14px; }
.stk2-bar { height: 3px; border-radius: 2px; background: var(--surface-2); overflow: hidden; margin-top: -8px; }
.stk2-bar i { display: block; height: 100%; background: var(--muted); transition: width .25s ease; }
.stk2-prod { display: flex; gap: 16px; align-items: center; min-width: 0; }
.stk2-prod > div { min-width: 0; }
.stk2-prod .name { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.stk2-prod .shop { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.stk2-money { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0; }
.stk2-money .amt { font-size: 34px; font-weight: 800; font-stretch: 112%; color: var(--ember); font-variant-numeric: tabular-nums; line-height: 1; }
.stk2-money .amt small { font-size: .62em; }
.stk2-money .per { font-size: 16px; font-weight: 600; }
.stk2-money .rate { color: var(--muted); font-size: 14px; margin-left: auto; }
.stk2-money .rate.solo { margin-left: 0; font-size: 16px; color: var(--fg); font-weight: 600; }
.stk2-where { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
.stk2-where li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--muted); }
.stk2-where li.ok { color: var(--up); border-color: var(--up-line); }
.stk2-where li.now { color: var(--warn); border-color: var(--warn-line); }
.stk2-where .ic { width: 16px; height: 16px; flex: none; }
.stk2-acts { display: grid; gap: 10px; }
.stk2-acts .btn { width: 100%; min-height: 52px; font-size: 16px; }
.stk2-acts .btn .ic { width: 16px; height: 16px; }
.stk2-acts p { margin: 0; }
.stk2-h { margin: 0; font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.stk2-next { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--up); }
.stk2-next .ic, .stk2-notyet .ic, .stk2-clear .ic { width: 16px; height: 16px; flex: none; }
.stk2-notyet { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--warn); }
.stk2-taps { margin: 0; padding: 0; list-style: none; display: grid; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.stk2-taps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); font-size: 16px;
  font-weight: 600; min-height: 52px; box-sizing: border-box; min-width: 0; }
.stk2-taps li:first-child { border-top: 0; }
.stk2-taps .n { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center;
  font-size: 14px; font-weight: 800; flex: none; }
.stk2-taps li.last { color: var(--up); }
.stk2-taps li.last .n { background: transparent; border: 1.5px solid var(--up); color: var(--up); box-sizing: border-box; }
.stk2-tname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stk2-taps .stk2-pic.sm { margin-left: auto; }
.stk2-gone { display: grid; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }
.stk2-gone .row { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.stk2-gone .row .ic { width: 16px; height: 16px; color: var(--up); flex: none; }
.stk2-gone .undo { margin-left: auto; background: none; border: 0; color: var(--fg); font: inherit; font-weight: 700; text-decoration: underline;
  padding: 8px 0; min-height: 36px; cursor: pointer; }
.stk2-gone .why { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 12px; }
.stk2-gone .why button { font: inherit; font-size: 14px; font-weight: 600; color: var(--fg); background: none; border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 12px; min-height: 32px; cursor: pointer; }
.stk2-clear { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--up); }
.stk2-look { margin: 0; }
/* v4.27 (BRIEF-v427) English / Español: desktop top bar (creators), More sheet on phones, sign-in pages */
.lang-switch button { white-space: nowrap; }
.controls .lang-top { flex: none; }
@media (max-width: 720px) { .controls .lang-top { display: none; } }
.signin-lang { display: flex; justify-content: center; margin-top: 4px; }
.signin-lang .lang-switch { display: inline-flex; }
/* v4.27 Spanish tab names run longer ("Productos"): tighter letters on phones so none is cut with "…" */
@media (max-width: 720px) { html[lang="es"] .tabs a .t-long, html[lang="es"] .tabs .nav-more span { font-size: 12px; letter-spacing: -.03em; } }

/* v4.33 the Plan camp card's rows (products sold / 30-day sales / videos per product) share the class name .camp-row
   with the v4.10 Campaigns list, whose grid squeezed them: the bar shrank to a dot beside the number and "Videos per
   product" was drawn under its "— · goal 3" (worse in Spanish). Inside the camp card a row is a plain stack again. */
.camp-card .camp-row { display: block; padding: 0; }

/* v4.40 (BRIEF-v4400) yellow-green "todo" = needs doing, no rush. It replaces grey on Today cards and the pipe; grey
   stays only for neutral UI. In light theme the colour is a fill / border, the text stays ink. */
.todo-text { color: var(--todo-text); }
.mbar.todo > i { background: var(--todo); }
.pill.todo { color: var(--todo-text); border-color: var(--todo); }
.td-n.todo { color: var(--todo-text); }
.td-agebar .todo { background: var(--todo); }
.td-agekey .dot.todo { background: var(--todo); }
.td-old.todo { color: var(--todo-text); }
.pp-node.todo { border-color: var(--todo); }
.pp-drop.todo { color: var(--todo); }
.pp-leak.todo { border-color: var(--todo-line); background: color-mix(in srgb, var(--todo) 10%, var(--surface)); }
.pp-leak.todo .pp-leak-top b { color: var(--todo-text); }
.pp-leak.up { border-color: var(--up-line); }
.pp-big.up-text small, .pp-big.todo-text small, .pp-big.warn-text small, .pp-big.down-text small { color: var(--muted); }
.pp-leak-top .pp-risk { display: block; font-size: 14px; font-weight: 600; color: var(--fg); margin-top: 4px; }
.pp-rules { margin-top: 10px; border-collapse: collapse; font-size: 12px; line-height: 1.35; width: 100%; }
.pp-rules th, .pp-rules td { text-align: left; vertical-align: top; padding: 6px 8px; border-top: 1px solid var(--line); }
.pp-rules thead th { border-top: 0; font-weight: 700; }
.pp-rules tbody th small { display: block; font-weight: 400; color: var(--muted); }
.pp-rules-wrap { display: block; overflow-x: auto; max-width: 100%; }
.pp-rules-wrap .pp-rules { min-width: 520px; }
@media (hover: hover) and (pointer: fine) {
  .qtip:hover .qtip-pop:has(.pp-rules), .qtip.open .qtip-pop:has(.pp-rules) { max-width: min(760px, 90vw); }
}
/* v4.41 Growth since joining: "Is our plan working?" (tiles with each week under them, the four boxes) + the table's
   plan columns (one square per finished week) — same kpi / vchip / mbar parts as the rest of the dashboard */
.pw-kpis { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.pw-kpis .kpi { padding: 24px; background: var(--surface-2); }
.pw-wk { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; align-items: center; margin-top: 8px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pw-wk b { color: var(--fg); font-weight: 600; } .pw-wk .mbar { width: 100%; } .pw-wk i.muted { font-style: normal; }
.pw-wk .mbar.pw-sofar i { opacity: .45; }
.pw-verdict { font-size: 18px; line-height: 1.45; margin: 4px 0 0; max-width: 62ch; }
.pw-h3 { font-size: 14px; font-weight: 600; margin: 28px 0 12px; }
.pw-quads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pw-quad { border: 1px solid var(--line); border-left-width: 4px; border-radius: 12px; padding: 16px 20px; display: grid; gap: 6px; align-content: start; }
.pw-quad.up { border-left-color: var(--up); } .pw-quad.down { border-left-color: var(--down); } .pw-quad.warn { border-left-color: var(--warn); }
.pw-quad .qh { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; } .pw-quad .qn { font-size: 26px; font-weight: 700; font-stretch: 110%; }
.pw-quad .who { display: flex; flex-wrap: wrap; gap: 6px; }
.pw-foot { margin: 16px 0 0; }
.gr-plan th, .gr-plan td { padding-left: 10px; padding-right: 10px; }
.gr-plan th { white-space: normal; line-height: 1.35; vertical-align: bottom; }
.gr-plan th:first-child, .gr-plan td:first-child { padding-left: 32px; } .gr-plan th:last-child, .gr-plan td:last-child { padding-right: 32px; }
.gr-plan .pw-m { display: none; }
.gr-plan td { white-space: nowrap; }
.pw-sqs { display: inline-flex; gap: 3px; vertical-align: -1px; margin-right: 8px; }
.pw-sq { width: 11px; height: 11px; border-radius: 3px; display: inline-block; box-sizing: border-box; flex: none; }
.pw-sq.hit { background: var(--up); } .pw-sq.close { background: var(--warn); } .pw-sq.miss { background: var(--down); }
.pw-sq.unk { border: 1px dashed var(--faint); } .pw-sq.none { border: 1px solid var(--line); }
.pw-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; border-top: 1px solid var(--line); margin: 0 -32px; padding: 16px 32px 0; }
.pw-legend .pw-sq { margin-right: 6px; vertical-align: -1px; }
@media (max-width: 980px) { .pw-kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .pw-kpis { grid-template-columns: 1fr; gap: 10px; } .pw-kpis .kpi { padding: 16px 20px; }
  .pw-quads { grid-template-columns: 1fr; } .pw-verdict { font-size: 16px; }
  .gr-sort button { padding-left: 7px; padding-right: 7px; font-size: 12px; }
  table.stack.gr-plan td.pw-d { display: none; } table.stack.gr-plan td.pw-m { display: flex; }
  table.stack.gr-plan td, table.stack.gr-plan td:first-child, table.stack.gr-plan td:last-child { padding-left: 0; padding-right: 0; white-space: normal; }
  .pw-legend { margin: 0 -20px; padding: 16px 20px 0; }
}
.pw-v { display: inline-flex; align-items: center; gap: 0 4px; white-space: nowrap; } .pw-v .pw-sqs { margin-right: 4px; }
/* v4.42 streaks + delayed results: Waiting row, sales change by streak (diverging bars from a zero line, each with its n) */
.pw-run { font-weight: 600; color: var(--fg); }
.pw-wait { display: grid; gap: 8px; margin-top: 12px; padding: 16px 20px; border: 1px dashed var(--line); border-radius: 12px; }
.pw-wait .who { display: flex; flex-wrap: wrap; gap: 6px; }
.pw-quad .vchip .muted, .pw-wait .vchip .muted { font-weight: 400; }
.pw-bands { display: grid; grid-template-columns: auto minmax(120px, 1fr) auto; gap: 10px 16px; align-items: center; font-variant-numeric: tabular-nums; }
.pw-bl { font-weight: 600; white-space: nowrap; } .pw-bl .muted { font-weight: 400; }
.pw-bt { position: relative; height: 12px; border-radius: 6px; background: var(--surface-2); }
.pw-bt::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--faint); }
.pw-bt.empty { opacity: .5; }
.pw-bt i { position: absolute; top: 0; bottom: 0; border-radius: 6px; }
.pw-bt i.up { background: var(--up); } .pw-bt i.down { background: var(--down); } .pw-bt i.flat { background: var(--faint); }
.pw-bv { white-space: nowrap; }
@media (max-width: 720px) {
  .pw-bands { grid-template-columns: auto 1fr; gap: 6px 12px; } .pw-bv { grid-column: 1 / -1; white-space: normal; margin-bottom: 6px; }
  .pw-bands > .muted.small { grid-column: 1 / -1; margin-bottom: 6px; }
  .pw-wait { padding: 14px 16px; }
}

/* v4.43 (BRIEF-v4430) removal workflow: outreach buttons (No reply ×N, Messaged no reply, Replied, last chance), the
   creator page's Outreach line + open removal flags. Team only. */
.or-acts { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.or-acts:empty { display: none; }
.quiet-list li .or-acts { margin-top: 6px; width: 100%; }
.ig-row:has(> .or-acts:not(:empty)) { flex-wrap: wrap; }
.ig-row > .or-acts { flex-basis: 100%; margin-top: 0; }
.ig-row.or-row > .or-acts { flex-basis: auto; justify-content: flex-end; }
.rm-flags li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.rm-flags li p { margin: 0; }
.rm-flags li .sub-line { margin-top: 4px; }
.or-said { display: inline-flex; align-items: center; gap: 6px; }
.or-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.or-flags { width: 100%; margin: 2px 0 0; display: grid; gap: 4px; }
.or-chip + .or-chip { margin-left: 4px; }
.stk-list .or-acts { margin-left: 8px; }

/* v4.47 (BRIEF-v4470) Today follow-up cards: one row per creator, Done (44 px), Day N, day-3 buttons, sticky footer */
.td-grid > .td-fu { grid-column: 1 / -1; }
.fu-meter { font-size: 14px; color: var(--muted); white-space: nowrap; align-self: center; }
.fu-meter b { font-size: 22px; font-weight: 800; color: var(--fg); }
.fu-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 32px; margin: 0; }
.fu-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; padding: 10px 0;
  border-bottom: 1px solid var(--line); min-width: 0; }
.fu-who { display: grid; gap: 2px; min-width: 0; text-align: left; background: none; border: 0; padding: 4px 0; margin: 0;
  font: inherit; color: var(--fg); cursor: pointer; min-height: 44px; align-content: center; }
.fu-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; font-size: 16px; min-width: 0; overflow-wrap: anywhere; }
.fu-h a { color: inherit; }
.fu-line { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }
.fu-tick { width: 44px; height: 44px; }
.fu-decide { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.fu-row.decide { grid-template-columns: minmax(0, 1fr); }
.fu-row.decide .fu-decide { justify-content: flex-start; }
.fu-more { grid-column: 1 / -1; display: grid; gap: 10px; padding: 4px 0 6px; }
.fu-prev { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.fu-note { display: grid; gap: 4px; }
.fu-note-in { width: 100%; box-sizing: border-box; min-height: 44px; }
.fu-more-acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.fu-handled .fu-h { font-weight: 600; }
.fu-handled.other { opacity: .65; }
.fu-handled .fu-pre { width: 32px; height: 32px; cursor: default; background: var(--bar); border-color: var(--bar); }
.fu-handled .fu-pre .ic { width: 16px; height: 16px; }
.fu-undo { min-height: 44px; }
.fu-donelist summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--muted); padding: 8px 0; min-height: 28px; }
.fu-foot { position: sticky; bottom: 0; z-index: 2; background: inherit; display: flex; align-items: center; gap: 12px;
  padding: 12px 0; margin: -8px 0 -12px; border-top: 1px solid var(--line); }
.fu-foot .sp { flex: 1; }
.fu-foot .mbar { flex: 1; max-width: 240px; height: 6px; }
.fu-foot .btn { white-space: nowrap; gap: 6px; min-height: 44px; }
.vchip.fu-nr { color: var(--muted); }
/* v4.47.1 (BRIEF-v4471) notes on every outcome + Escalate + the owner's "Review: @x" card */
.fu-tools { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.fu-tools .linkish, .fu-esc-btn.linkish { min-height: 32px; }
.fu-reply { margin: 0; overflow-wrap: anywhere; }
.fu-nr-item { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.or-escs { margin: 8px 0 0; display: grid; gap: 6px; overflow-wrap: anywhere; }
.td-esc .esc-list { margin: 0; display: grid; gap: 12px; }
.esc-item { display: grid; gap: 4px; padding: 10px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.esc-item p { margin: 0; }
.esc-note { font-size: 16px; }
.esc-notes summary { cursor: pointer; color: var(--muted); min-height: 28px; }
.esc-notes ul { margin: 6px 0 0; display: grid; gap: 4px; }
.td-esc .fu-note { margin-top: 8px; }
.td-esc .esc-acts { justify-content: flex-start; margin-top: 8px; }
.td-esc .esc-reply { width: 100%; box-sizing: border-box; min-height: 44px; }
@media (max-width: 720px) {
  .fu-rows { grid-template-columns: minmax(0, 1fr); }
  .fu-decide { flex-direction: column; width: 100%; }
  .fu-decide .btn { width: 100%; min-height: 44px; justify-content: center; }
  .fu-foot { bottom: calc(74px + env(safe-area-inset-bottom)); }
  .fu-foot .sp { display: none; }
  .td-fu .td-top { grid-template-columns: auto minmax(0, 1fr); }
  .td-fu .td-top .fu-meter { display: none; }
}

/* ---------- v4.51 sample report sheet (Never arrived / Doesn't work / Arrived broken) */
.rep-form { display: grid; gap: 16px; }
.rep-why { display: flex; flex-wrap: wrap; gap: 8px; }
.rep-why .chip { min-height: 44px; }
.rep-form input[type="text"] { width: 100%; }
.rep-tiktok { margin: 8px 0 16px; line-height: 1.5; }
q.rep-note { font-style: normal; color: var(--muted); }

/* v4.55 link taps: the drawer's Views to orders funnel (bars only, no sentence under them), stats, one coaching line */
.tap-funnel { margin: 0 0 16px; row-gap: 12px; }
.tap-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0 0 14px; }
.tap-stats b { display: block; font-size: 20px; font-stretch: 108%; font-variant-numeric: tabular-nums; }
.tap-stats span { color: var(--muted); font-size: 12px; }
.tap-coach { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 8px; padding: 0 0 0 12px; border-left: 3px solid var(--line);
  color: var(--fg); font-size: 14px; line-height: 1.35; }
.tap-coach svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--muted); }
.tap-fig { white-space: nowrap; }
/* v4.55 the funnel's (?) floats on every device: opened inline (touch) it widened the label column and squeezed the bars */
.tap-funnel .qtip { position: relative; }
.tap-funnel .qtip.open .qtip-pop { position: absolute; z-index: 30; top: calc(100% + 6px); left: -8px; width: max-content;
  max-width: min(300px, 70vw); margin: 0 0 0 var(--qx, 0px); padding: 10px 12px; border-radius: 10px; background: var(--surface-2);
  color: var(--fg); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }

/* v4.57 (BRIEF-v4570) Campaign rank badges, team only: metal tones (never green / amber / red, those mean status) */
.rank-badge { display: inline-block; margin-left: 6px; padding: 0 7px; border: 1px solid; border-radius: 999px; font-size: 12px;
  font-weight: 700; line-height: 17px; letter-spacing: .02em; vertical-align: 1px; white-space: nowrap; }
.rb-gold { color: #5e4508; background: linear-gradient(135deg, #f7e7ad, #d8b257); border-color: #c19a3c; }
.rb-silver { color: #3f454c; background: linear-gradient(135deg, #f3f5f7, #c6ccd3); border-color: #aab1b9; }
.rb-bronze { color: #5c3216; background: linear-gradient(135deg, #f1cba6, #c4885a); border-color: #ad7346; }
.vp-sub .rank-badge, td .rank-badge { margin-left: 0; }
.rank-counts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 4px 0 16px; }
.rank-count { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.rank-count .rank-badge { margin-left: 0; }
.stars-list { display: none; }
@media (max-width: 640px) {
  table.stack.stars-table, .table-wrap:has(> table.stars-table) { display: none; }
  .stars-list { display: block; margin: 0; }
  .stars-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
  .stars-list .st-n { width: 18px; color: var(--muted); font-size: 12px; }
  .stars-list .st-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
  .stars-list .st-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
  .stars-list .st-top a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .stars-list .st-top .rank-badge { margin-left: 0; flex: none; }
  .stars-list .st-sub { font-size: 14px; }
  .stars-list .st-sub .delta { font-size: 14px; }
  .stars-list .st-sales { font-size: 16px; }
}

/* v4.59 (BRIEF-v4580 Part 2) campaign page: amber chips under the title, the Details list, the Details level's tabs */
.camp-chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 20px; }
.camp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--warn-line);
  color: var(--warn); font-size: 14px; font-weight: 600; text-decoration: none; }
.camp-chip b { font-variant-numeric: tabular-nums; }
.camp-chip:hover { background: var(--warn-line); }
.camp-more h2 { margin: 0 0 6px; }
.camp-more-list li { border-top: 1px solid var(--line); }
.camp-more-list li:first-child { border-top: 0; }
.camp-more-list a { display: flex; align-items: center; gap: 14px; padding: 16px 0; text-decoration: none; color: inherit; min-height: 44px; }
.camp-more-list .cm-k { font-weight: 600; font-size: 16px; }
.camp-more-list .cm-s { color: var(--muted); font-size: 14px; }
.camp-more-list .cm-c { margin-left: auto; font-variant-numeric: tabular-nums; font-size: 14px; white-space: nowrap; }
.camp-more-list .cm-c.warn-text { font-weight: 700; }
.camp-more-list svg { color: var(--faint); flex: none; }
.camp-more-list a:hover .cm-k { text-decoration: underline; }
.camp-detail-tabs { margin: 8px 0 24px; }
.camp-detail-tabs a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.camp-detail-tabs .cdt-c { font-size: 12px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .camp-more-list .cm-s { display: none; }
  .camp-detail-tabs { margin: 4px 0 16px; }
}

/* v4.60 (BRIEF-v4580 Part 3) campaign page: Creators by stage (faces) + the Videos row */
.cs-head, .cv-head { display: flex; align-items: center; margin-bottom: 0; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cs-head h2, .cv-head h2 { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.cs-sub { font-weight: 400; }
.cs-legend { display: inline-flex; align-items: center; gap: 16px; }
.cs-lg { display: inline-flex; align-items: center; gap: 6px; }
.cs-lg i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--warn); }
.cs-lg i.red { border-color: var(--down); }
.cs-drop { display: inline-flex; align-items: center; gap: 6px; }
.camp-stages { position: relative; }
.cs-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 24px; }
.cs-col { padding: 0 16px; border-left: 1px solid var(--line); min-width: 0; }
.cs-col:first-child { padding-left: 0; border-left: 0; }
.cs-k { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cs-n { margin: 6px 0 2px; font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cs-who { margin: 0 0 10px; }
.cs-bar { display: block; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; margin-bottom: 14px; }
.cs-bar i { display: block; height: 100%; background: var(--neutral-fill, var(--muted)); border-radius: 2px; }
.cs-bar.done i { background: var(--up); }
.cs-faces { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 12px 8px; }
.cs-faces .cs-more-face { display: none; }
.cs-faces.all .cs-more-face { display: flex; }
.cs-face { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: inherit; min-width: 0; }
.cs-pic { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2);
  border: 1px solid var(--line); overflow: hidden; flex: none; }
.cs-pic.xs { width: 20px; height: 20px; }
.cs-pic.xs .cs-ini { font-size: 0; }
.cs-ini { font-size: 12px; font-weight: 700; color: var(--muted); }
.cs-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ring-amber .cs-pic { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--warn); }
.ring-red .cs-pic { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--down); }
.cs-badge { position: absolute; top: -6px; right: calc(50% - 30px); padding: 1px 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: 12px; line-height: 1.2; font-variant-numeric: tabular-nums; color: var(--muted); }
.cs-badge.amber { color: var(--warn); border-color: var(--warn-line); }
.cs-badge.red { color: var(--down); border-color: var(--down); }
.cs-badge.up { color: var(--up); border-color: var(--up-line); }
.cs-h { max-width: 100%; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-face:hover .cs-h, .cs-face:focus-visible .cs-h { color: var(--fg); }
.cs-plus { align-self: start; justify-self: center; width: 44px; height: 44px; border-radius: 50%; border: 1px dashed var(--line); background: none; color: var(--muted); font-size: 12px; cursor: pointer; }
.cs-pop { position: absolute; z-index: 30; width: 280px; padding: 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(0,0,0,.35); }
.cs-pop[hidden] { display: none; }
.cs-card-h { margin: 0 0 4px; font-weight: 700; font-size: 16px; }
.cs-pop p { margin: 0; }
ul.plain.cs-card-list { margin: 10px 0 0; display: grid; gap: 4px; }
.cs-card-list li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-card-list .cs-pn { color: var(--fg); }
.cs-card-act { display: flex; gap: 8px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.cs-rows { display: none; }
@media (max-width: 760px) {
  .cs-cols, .cs-legend .cs-lg { display: none; }
  .cs-rows { display: block; margin-top: 12px; }
  .cs-row { border-top: 1px solid var(--line); }
  .cs-row:first-child { border-top: 0; }
  .cs-row summary { display: flex; align-items: center; gap: 12px; padding: 14px 0; min-height: 44px; list-style: none; cursor: pointer; }
  .cs-row summary::-webkit-details-marker { display: none; }
  .cs-row[data-empty] summary { cursor: default; }
  .cs-row summary > svg { flex: none; color: var(--faint); transition: transform .2s; }
  .cs-row[open] summary > svg { transform: rotate(90deg); }
  .cs-rk { display: flex; flex-direction: column; gap: 2px; min-width: 104px; }
  .cs-row .cs-n { margin: 0; font-size: 24px; }
  .cs-stack { display: flex; flex: 1; min-width: 0; justify-content: flex-end; padding-left: 8px; }
  .cs-sf { margin-left: -8px; border-radius: 50%; }
  .cs-sf .cs-pic { width: 36px; height: 36px; box-shadow: 0 0 0 2px var(--surface); }
  .cs-sf.ring-amber .cs-pic { box-shadow: 0 0 0 2px var(--warn); }
  .cs-sf.ring-red .cs-pic { box-shadow: 0 0 0 2px var(--down); }
  .cs-sf-more { display: inline-grid; place-items: center; width: 36px; height: 36px; background: var(--line); font-size: 12px; color: var(--muted); }
  ul.plain.cs-list { margin: 0; padding: 0 0 12px; display: grid; gap: 4px; }
  .cs-list li { display: flex; align-items: center; gap: 8px; }
  .cs-li { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 6px 0; min-height: 44px; text-decoration: none; color: inherit; }
  .cs-li-t { display: flex; flex-direction: column; min-width: 0; }
  .cs-li-t b, .cs-li-t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* Videos */
.cv-ctl { display: inline-flex; align-items: center; gap: 12px; }
.cv-ctl .seg { display: inline-flex; gap: 4px; }
.cv-ctl .seg-btn { min-height: 32px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.cv-ctl .seg-btn[aria-pressed="true"] { border-color: var(--fg); color: var(--fg); font-weight: 600; }
.cv-arrows { display: inline-flex; gap: 6px; }
.cv-arrow { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--fg); font-size: 16px; line-height: 1; cursor: pointer; }
.cv-arrow:hover { background: var(--line); }
ul.plain.cv-track { display: flex; gap: 14px; margin: 20px -4px 0; padding: 0 4px 8px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
.cv-item { flex: 0 0 170px; scroll-snap-align: start; min-width: 0; }
.cv-cover { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; border: 0; padding: 0; margin: 0;
  background: var(--surface-2); cursor: pointer; color: var(--fg); }
.cv-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cv-tap { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: var(--muted); display: none; }
.cv-cover.no-cover .cv-tap { display: block; }
.cv-play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,0,0,.55); color: #fff; }
.cv-play svg { width: 20px; height: 20px; }
.cv-cover:hover .cv-play, .cv-cover:focus-visible .cv-play { background: rgba(0,0,0,.75); }
.cv-sales { position: absolute; top: 10px; left: 10px; padding: 2px 8px; border-radius: 999px; background: var(--up); color: #fff; font-size: 12px; font-weight: 700; }
.cv-removed { display: grid; place-items: center; cursor: default; opacity: .55; border: 1px dashed var(--line); background: none; color: var(--muted); }
.cv-player { cursor: default; background: #000; }
.cv-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cv-who { display: flex; align-items: center; gap: 8px; margin-top: 10px; text-decoration: none; color: inherit; min-width: 0; font-size: 14px; }
.cv-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-av { position: relative; flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; overflow: hidden; background: var(--line); }
.cv-av span { font-size: 0; }
.cv-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cv-facts { margin: 4px 0 0; }
/* v4.120 the review score under each campaign video (gold = golden or sold as an ad) + the "Sold as ad" tag */
.cv-score { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 4px 0 0; min-height: 22px; }
.cv-stars { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; color: var(--fg); text-decoration: none; }
.cv-stars span { color: var(--muted); }
.cv-stars.gold, .cv-stars.gold span { color: var(--gold); }
.cv-stars.gold span { text-shadow: 0 0 10px var(--gold-glow); }
.cv-ad { padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line);  /* v4.125 (review O4) gold = the star only */ color: var(--fg); font-size: 12px; white-space: nowrap; }
.cv-ads-btn { margin-right: 8px; }
.cv-ctl .cv-ads-btn[aria-pressed="true"] { border-color: var(--fg); }
.camp-ads-btn { font: inherit; font-weight: inherit; padding: 0; color: inherit; text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 4px; }
.cv-item.playing { flex-basis: 240px; }
@media (max-width: 760px) {
  .cv-arrows { display: none; }
  .cv-item { flex-basis: 46%; }
  .cv-item.playing { flex-basis: 78%; }
  .cv-track { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .cv-track { scroll-behavior: auto; } }
.tag.try { border-style: dashed; }  /* v4.61 "Try asking": no proof either way */

/* v4.63 (BRIEF-v4630) sample status: one chip = the status (colour = meaning), an unlabeled track under it, one sub-line.
   wait = amber (someone else) · todo = yellow-green (your step) · up = green (moving / good) · na = grey (ended, no fault)
   · down = red (bad). Never ember. Done segments = solid --fg, future = faint outline. */
.st-block { display: grid; gap: 10px; max-width: 520px; }
.st-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.st-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 14px; font-weight: 700;
  line-height: 1.3; letter-spacing: 0; font-stretch: 100%; text-transform: none; white-space: nowrap; border: 1px solid var(--line); color: var(--muted); background: var(--surface-2, var(--surface)); }
.st-chip .ic { width: 14px; height: 14px; }
.st-chip.wait { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); background: color-mix(in srgb, var(--warn) 12%, var(--surface)); }
.st-chip.up { color: var(--up); border-color: color-mix(in srgb, var(--up) 40%, transparent); background: color-mix(in srgb, var(--up) 11%, var(--surface)); }
.st-chip.down { color: var(--down); border-color: color-mix(in srgb, var(--down) 40%, transparent); background: color-mix(in srgb, var(--down) 11%, var(--surface)); }
.st-chip.todo { color: var(--todo-text); border-color: var(--todo-line); background: color-mix(in srgb, var(--todo) 13%, var(--surface)); }
.st-chip.na { color: var(--muted); }
.st-track { display: flex; gap: 5px; width: 100%; justify-self: stretch; }
.st-track i { flex: 1; height: 6px; border-radius: 3px; border: 1px solid var(--line); background: transparent; }
.st-track i.done { background: var(--fg); border-color: var(--fg); }
.st-track i.now.wait { background: var(--warn); border-color: var(--warn); }
.st-track i.now.up { background: var(--up); border-color: var(--up); }
.st-track i.now.down { background: var(--down); border-color: var(--down); }
.st-track i.now.todo { background: var(--todo); border-color: var(--todo); }
.st-track i.now.na { background: var(--muted); border-color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .st-track i.now.go { animation: st-pulse 1.8s ease-in-out infinite; }
  @keyframes st-pulse { 50% { opacity: .45; } }
}
.st-sub { font-size: 14px; color: var(--muted); }
.st-sub b { color: var(--fg); font-weight: 600; }
.st-tt { color: var(--faint); }
.st-act { margin-top: -2px; }
.st-more { justify-self: start; margin-top: -6px; }
.sjob .st-block + .sjob-due { margin-top: -6px; }
.sjobs > li.sgroup-head { list-style: none; display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; margin: 8px 0 -4px; }
.sjobs > li.sgroup-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--warn); flex: none; }
td .st-block { justify-items: start; text-align: left; min-width: 220px; width: 100%; }
@media (max-width: 720px) {
  /* v4.63 phones: the chip + track take the row's full width under "Asked" (no "Status" label beside them) */
  table.stack td:has(> .st-block) { display: block; text-align: left; }
  table.stack td:has(> .st-block)::before { content: none; }
  td .st-block { min-width: 0; }
}

/* v4.67 (BRIEF-v4670) messaged recently: held off message cards for the gap, greyed under Next message <day> */
.td-held { margin: 4px 0 0; }
.td-held summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--muted); padding: 8px 0; min-height: 28px; }
.td-held-day { margin: 8px 0 4px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.td-held-rows { opacity: .6; }
.td-held-rows li { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); min-width: 0; flex-wrap: wrap; }
.td-held-rows a { font-weight: 600; overflow-wrap: anywhere; }
.td-heldcard { opacity: .85; }
.td-heldcard .sub { color: var(--muted); }
/* v4.70 (BRIEF-v4700) "<name> replied: @x" card + the "2nd time in 30 days" chip */
.td-reply .rp-thread { margin: 0; display: grid; gap: 4px; padding-left: 10px; border-left: 2px solid var(--line); }
.td-reply .rp-text { margin: 8px 0 0; }
.td-reply .fu-note { margin-top: 8px; }
.td-reply .rp-input { width: 100%; box-sizing: border-box; min-height: 44px; }
.td-reply .esc-acts { justify-content: flex-start; margin-top: 8px; flex-wrap: wrap; }
.rp-row { margin: 4px 0 0; display: flex; align-items: center; gap: 4px; }
.rp-chip { font-size: 12px; white-space: nowrap; }

/* v4.72 (BRIEF-v4720) Urgent tag + For tomorrow + working hours */
.td-urgent { font-size: 12px; font-weight: 700; margin-right: 6px; vertical-align: 2px; }
.td-later { margin: 8px 0 20px; }
.td-later > summary { cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 8px 0 12px; }
.td-later[open] > summary { margin-bottom: 8px; }
.u-hours { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.u-hours input[type="time"] { width: auto; min-width: 0; }
.u-days { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* v4.72.1 My hours on Today */
.td-hours-ask { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; }
.td-hours-form { display: grid; gap: 12px; margin: 0 0 20px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.td-hours-btn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }  /* v4.80 next to the day line */
.td-head { column-gap: 12px; }
.td-hours-btn svg { width: 16px; height: 16px; flex: none; }
.my-hours-card .card-head { gap: 10px; flex-wrap: wrap; }
.my-hours-card .td-hours-form { margin: 0; padding: 0; border: 0; }
.td-hours-form .u-field { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* v4.71 (BRIEF-v4710) LIVE plan next to the Video plan: the team's chip + override row, the creator's LIVE coaching,
   the one-tap "How do you like to sell?" sheet. No status colours here: green / amber only on the meters. */
.vchip.live-chip { color: var(--fg); background: var(--surface); font-weight: 700; letter-spacing: .02em; margin-left: 4px; font-size: 12px; }
.vchip.video-chip { color: var(--muted); margin-left: 4px; font-size: 12px; }
.plan-h .vchip.live-chip, .plan-h .vchip.video-chip { margin-left: 8px; vertical-align: middle; }
.seller-plan-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.seller-plan-row .sp-k { font-weight: 600; font-size: 14px; }
.seller-plan-row .vchip { margin-left: 0; }
.seller-plan-row .sp-why { flex: 1 1 220px; }
.seller-plan-row .sp-seg button { padding: 6px 12px; font-size: 14px; }
.live-room-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.live-room-grid > span { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; }
.live-room-grid strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.live-room-grid small { color: var(--muted); font-size: 12px; }
.live-tip { display: flex; gap: 6px; align-items: flex-start; color: var(--muted); font-size: 14px; }
.live-tip svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.lv-teaser .lv-label { display: flex; gap: 6px; align-items: center; }
.lv-teaser .lv-label svg { width: 16px; height: 16px; }
.sell-sheet .sell-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 8px; }
.sell-opt { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 12px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); color: var(--fg); font-size: 16px; font-weight: 600; cursor: pointer; }
.sell-opt svg { width: 28px; height: 28px; }
.sell-opt:hover, .sell-opt[aria-pressed="true"] { border-color: var(--fg); }
.live-plan-fs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.live-plan-fs legend { grid-column: 1 / -1; }

/* v4.73.1 ticket screenshot viewer */
.ticket-shot-btn { all: unset; cursor: zoom-in; display: block; }
.ticket-shot-btn:focus-visible { outline: 2px solid var(--line); border-radius: 12px; }
.shot-viewer { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.85); display: flex; align-items: center; justify-content: center; padding: 56px 16px 16px; cursor: zoom-out; }
.shot-viewer img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; cursor: default; }
.shot-close { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 28px; line-height: 44px; cursor: pointer; }

/* v4.74 Style switch on a review */
.rv-style { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.rv-style-b { font: inherit; font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; }
.rv-style-b.on { background: var(--ink, #111); color: var(--paper, #fff); border-color: transparent; }
.rv-style-b:disabled { opacity: .5; cursor: default; }

/* v4.76 repeat reasons in the Removal review sheet */
.rp-times { margin: 8px 0 16px; padding-left: 20px; display: grid; gap: 6px; }

/* v4.77 Removal review decisions: three choices with why, watch note on top, history */
.rm-decide-label { margin: 16px 0 0; display: flex; align-items: center; gap: 4px; color: var(--muted); }
.rm-picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.rm-pick { min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--muted); font: inherit; font-size: 16px; cursor: pointer; }
.rm-pick[aria-pressed="true"] { border-color: var(--fg); color: var(--fg); font-weight: 600; box-shadow: 0 0 0 1px var(--fg); }
.rm-days[hidden] { display: none; }  /* v4.86 shown only after Keep · watch is picked */
.rm-days select { display: block; margin-top: 4px; min-height: 44px; padding: 6px 10px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); font: inherit; }
.rm-watch { margin: 6px 0 8px; line-height: 1.5; }
.rm-watch .vchip { margin-right: 4px; }
.rm-hist { margin: 12px 0; width: 100%; }
.rm-hist summary { cursor: pointer; color: var(--muted); }
.rm-hist-list { margin: 8px 0 0; padding-left: 0; list-style: none; display: grid; gap: 6px; }
.rm-hist-list li { line-height: 1.45; }
.rm-hist-list .vchip { white-space: normal; }

/* v4.79 (BRIEF-v4790 FINAL DESIGN) CTR tile (third in the second row of "Your 3 numbers"), the "sold as ads" pill,
   Videos › Ads: gold rows with a gold star tile, the ad sales on the right */
.lv-diag-row.has-ctr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lv-ctr { display: flex; flex-direction: column; }
.lv-ctr .lv-band { font-size: 14px; font-weight: 700; margin: auto 0 0 !important; }
.lv-dnum.muted { color: var(--muted); }
.lv-tipline { display: block; margin-top: 6px; }
.hero-sub { row-gap: 10px; }
.hero-sub .ads-pill { text-decoration: none; white-space: nowrap; font-weight: 600; }
.rv-adrow { grid-template-columns: auto minmax(0, 1fr) auto !important; cursor: pointer; }
.rv-adrow > .rv-adamt { grid-column: auto !important; display: grid; justify-items: end; gap: 2px; }
.rv-adamt strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.rv-adstar { width: 40px; height: 52px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; color: var(--gold);
  text-shadow: 0 0 10px var(--gold-glow); border: 1px solid var(--gold-glow); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.rv-adpost { font-weight: 400; white-space: nowrap; }
.rv-adlead { margin: 0 0 8px; }
.rv-row.gold-shine.sm + .rv-row.gold-shine.sm { border-top-color: var(--gold); margin-top: 12px; }
.rv-name .rv-ad { margin-left: 4px; }
@media (max-width: 640px) {
  .lv-diag-row.has-ctr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lv-diag-row.has-ctr .lv-diag { padding: 14px 10px; }
  .lv-diag-row.has-ctr .lv-goal { font-size: 12px; }
  .lv-ctr .lv-band { font-size: 12px; }
}

/* v4.81 (BRIEF-v4810) the team's Health card carries the same CTR tile: desktop = every tile of the 2nd row on one line
   (Per product · Different products · CTR · Read); phones keep 3 across with Read full width under them */
.lv-team .lv-diag-row.has-ctr { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
@media (max-width: 640px) {
  .lv-team .lv-diag-row.has-ctr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lv-team .lv-diag-row.has-ctr .lv-read { grid-column: 1 / -1; }
}

/* v4.82 (BRIEF-v482 Part 1) Jah's task buttons under a follow-up row, the Warn / Check card, Day N with us */
.fu-quick { grid-column: 1 / -1; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: -2px; }
.fu-quick .linkish { min-height: 32px; }
.fu-quick .btn.small { min-height: 32px; }
.td-watch .watch-form, .cr-issue .watch-form { display: grid; gap: 10px; margin-top: 10px; }
.td-watch .watch-form input, .td-watch .watch-form textarea, .cr-issue .watch-form input, .cr-issue .watch-form textarea { width: 100%; }
/* v4.89 (BRIEF-v482-v486 Part 8) one card per creator: issues, each with its own buttons, then one message */
.cr-issues { display: grid; gap: 0; margin: 12px 0 0; }
.cr-issue { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); min-width: 0; }
.cr-issue:first-child { border-top: 0; padding-top: 4px; }
.cr-head { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cr-line { display: block; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.cr-issue .fu-quick { margin-top: 0; }
.cr-msg { display: grid; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.cr-msg textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; }
.cr-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.td-leave .esc-note { margin: 8px 0 4px; }
.watch-cmp { width: 100%; border-collapse: collapse; margin: 10px 0 2px; }
.watch-cmp th, .watch-cmp td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.watch-cmp .num { text-align: right; font-variant-numeric: tabular-nums; }
.watch-cmp td.up { color: var(--up); font-weight: 600; }
.watch-cmp td.down { color: var(--down); font-weight: 600; }
.vchip.dwu { color: var(--muted, inherit); }
.rm-warned { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 0 0 6px; }
.team-more { display: flex; gap: 10px; flex-wrap: wrap; }
.team-more .btn { flex: 1 1 0; }
.fu-quick > a, .fu-quick > button { display: inline-flex; align-items: center; min-height: 32px; margin: 0; }
/* v4.83 (BRIEF-v482-v486 Part 2) Justher's sheets: Hand-offs, Chase brands (an email per brand), Removed products */
.jt-list li { grid-template-columns: minmax(0, 1fr); align-items: start; }
.jt-list .jt-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.jt-list .jt-note { flex: 1 1 160px; min-width: 0; }
.jt-list .jt-mail { width: 100%; margin-top: 8px; font: inherit; font-size: 14px; resize: vertical; }
.jt-list li.jt-done { opacity: .6; }
.jt-list .esc-note { margin: 4px 0 0; }
.jt-send select, .jt-send textarea { width: 100%; }
.sb-removed { margin-top: 12px; display: flex; align-items: center; gap: 4px; }

/* v4.85 (BRIEF-v482-v486 Part 4) creator Products: Interested next to Not interested, My list, Last viewed */
.pc4-choice { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; }
.pc4-choice .pass-btn, .pc4-choice .save-btn { width: auto; min-height: 44px; margin-top: 4px; }
.save-btn.linkish { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.save-btn.linkish:hover { color: var(--fg); }
.save-btn.on { color: var(--up); }
.save-btn .ic { width: 15px; height: 15px; }
.pd-card .pc4-choice { margin-top: 8px; }
.stack-acts .stack-want { grid-column: 1 / -1; }
.stack-acts .btn .ic { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.last-viewed { display: grid; gap: 8px; margin: 0 0 20px; min-width: 0; }
/* v4.106 scoped to the strip: unscoped, these overrode the v4.23 levers grid (.lv-row / .lv-label) on every page */
.last-viewed .lv-label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.last-viewed .lv-label .ic { width: 14px; height: 14px; }
.last-viewed .lv-row { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.last-viewed .lv-row::-webkit-scrollbar { display: none; }
.lv-chip { all: unset; box-sizing: border-box; cursor: pointer; flex: none; display: inline-flex; align-items: center; gap: 8px;
  max-width: 190px; min-height: 44px; padding: 4px 14px 4px 4px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface-2); font-size: 14px; font-weight: 600; color: var(--fg); }
.lv-chip:hover { border-color: var(--fg); }
.lv-chip:focus-visible, .lv-item:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.lv-thumb { width: 34px; height: 34px; border-radius: 999px; flex: none; }
.lv-thumb .initials { font-size: 12px; }
.lv-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.lv-all { flex: none; min-height: 44px; padding: 0 8px; white-space: nowrap; }
.lv-list { margin: 8px 0 0; padding: 0; }
.lv-list li + li { border-top: 1px solid var(--line); }
.lv-item { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 0; }
.lv-item .lv-thumb { width: 48px; height: 48px; border-radius: 10px; }
.lv-text { display: grid; gap: 2px; min-width: 0; }
.lv-text strong { font-size: 14px; }
.pc4-choice .pass-btn { text-decoration: none; }

/* v4.87 Score's (?) sits next to its header (visible, not only a hover title); its pop opens leftwards (last columns) */
.vhead .vh-tip { white-space: nowrap; }
.vhead .vh-tip .qtip-btn { margin-left: 4px; }
@media (hover: hover) and (pointer: fine) {
  .vhead .vh-tip .qtip:hover .qtip-pop, .vhead .vh-tip .qtip.open .qtip-pop { left: auto; right: -8px; }
}
.c-days { width: 72px; }

/* v4.90 (BRIEF-v482-v486 Part 9) "Help" on every creator to-do: a small quiet pill (not a dismiss), the "We're looking
   into it" line that stands in for a to-do the creator asked about, a Still needed reply under a to-do that came back */
.td-help { font: inherit; font-size: 12px; font-weight: 600; line-height: 1; color: var(--muted); background: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; min-height: 28px; cursor: pointer;
  white-space: nowrap; justify-self: start; }
.td-help:hover, .td-help:focus-visible { color: var(--fg); border-color: var(--muted); }
.do-list li.td-li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 6px; }
.do-list li.td-li > .td-help { margin-right: 2px; }
.do-list li.td-li > .td-back { grid-column: 1 / -1; padding: 0 0 10px 52px; }
.td-help.in-row { margin-top: 6px; padding: 4px 10px; min-height: 24px; }
.sc-txt .td-help.in-row { display: inline-flex; align-self: flex-start; }
.td-help.in-banner { margin-top: 10px; }
.td-help.in-sjob { margin: 8px 0 0; }
.td-back { display: block; color: var(--muted); margin-top: 4px; font-style: italic; overflow-wrap: anywhere; }
.td-looking-list { margin: 8px 0 0; display: grid; gap: 4px; }
.td-looking { display: flex; align-items: center; gap: 6px; color: var(--muted); flex-wrap: wrap; }
.td-looking .ic { width: 14px; height: 14px; color: var(--up); flex-shrink: 0; }
.td-looking a { color: var(--fg); }
.plan-samples > .td-looking-list { margin: 0 0 12px; padding: 0 4px; }
.lh-acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.held-go { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.stk2-help { margin: 8px 0 0; text-align: center; }
.tdh-reasons { display: flex; flex-wrap: wrap; gap: 8px; }
.tdh-what { color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.tdh-team { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.tdh-team p { margin: 2px 0; }
.connect-bar .td-help { margin-left: 8px; }
.team-reply .form-actions { flex-wrap: wrap; }
.team-reply .form-actions .btn { white-space: nowrap; }

/* v4.91 (BRIEF-v482-v486 Part 10) Hand-off @x (product team): the creator team's note, 30-day sample numbers, the newest
   requests (Ours or not), Dismiss / Back to creator team / Escalate. Flags sheet rows: Clear · Guidance · Removal · Escalate */
.td-ho .esc-note { margin: 8px 0 4px; }
.td-ho .six-types, .td-ho .six-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 4px; }  /* v4.103 */
.td-ho .ho-nums { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 6px; }
.td-ho .ho-n b { font-variant-numeric: tabular-nums; }
.td-ho .ho-n.up b { color: var(--up); }
.td-ho .ho-n.down b { color: var(--down); }
.td-ho .ho-n.warn b { color: var(--warn); }
.td-ho .ho-list { margin: 4px 0 6px; }
.td-ho .ho-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; padding: 7px 0;
  border-top: 1px solid var(--line); min-width: 0; }
.td-ho .ho-p { min-width: 0; overflow-wrap: anywhere; }
.td-ho .ho-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.td-ho .esc-acts { justify-content: flex-start; flex-wrap: wrap; margin-top: 8px; }
.fl-list .fl-acts { margin-top: 8px; }
/* v4.93 campaign reviews: the review form's picks + the Monday write-up (one block per campaign) */
.crv-form .crv-pts { margin: 0 0 8px; }
.crv-wk-list { display: grid; gap: 14px; margin: 12px 0 0; }
.crv-wk { padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; }
.crv-wk.jt-done { opacity: .72; }
.crv-wk p { margin: 6px 0; }
.crv-wk-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ho-nums { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.crv-wk .ho-n.up b { color: var(--up); }
.crv-wk .ho-n.down b { color: var(--down); }
/* v4.94 (Part 13) Needs guidance markers, Violations log, Not shipped / At risk rows, Quarterly review */
.shot-preview { flex-wrap: wrap; }
.shot-preview img { max-width: 96px; max-height: 144px; }
.vio-shots { display: flex; flex-wrap: wrap; gap: 12px; }
.vio-shots .ticket-shot { max-width: 96px; max-height: 144px; margin: 8px 0 0; }
.gm-list, .vio-list, .ar-list { display: grid; gap: 12px; margin: 8px 0 12px; }
.gm-m { display: grid; gap: 4px; }
.gm-acts { display: flex; gap: 16px; flex-wrap: wrap; }
.vio-row { padding: 12px 0; border-top: 1px solid var(--line); }
.vio-row:first-child { border-top: 0; }
.vio-row p { margin: 0 0 4px; }
.vio-card .card-head, .gm-card .card-head { gap: 12px; }
.ar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ar-row .cr-line { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.qr-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0 20px; }
.qr-tile { display: grid; gap: 2px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: inherit; }
.qr-tile.on { border-color: var(--ink, currentColor); }
.qr-tile b { font-size: 24px; }
.qr-v { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
@media (max-width: 600px) { .qr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ar-row { align-items: flex-start; } }
.qr-card select.qr-q { width: auto; min-width: 140px; }
/* v4.95 (BRIEF-v482-v486 Part 14) Products › My showcase: All products | My showcase switch, Checked line, the three
   sections (Wrong deal amber, Peak Medium green, My list), the ask-again hint on cancelled sample asks */
.prd-switch { margin: 0 0 16px; }
.plan-switch .ps-n.warn, .plan-switch a[aria-selected="true"] .ps-n.warn { background: var(--warn-line); color: var(--warn); }
.sc-checked { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; }
.sc-checked .ic, .sc-reading .ic { width: 14px; height: 14px; }
.sc-reading { display: inline-flex; align-items: center; gap: 6px; }
.needs-n.up { background: var(--up-line); color: var(--up); }
.sc-ours-card { border-color: var(--line); }
.sc-ours-card h2 .up-text { display: inline-flex; }
.sc-note { margin: 12px 0 0; }
.sc-more summary { cursor: pointer; padding: 12px 0 0; font-size: 14px; color: var(--muted); }
.sc-list-head { margin: 24px 0 12px; }
.sc-list-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; }
.sc-list-head h2 .needs-n { min-width: 28px; height: 28px; font-size: 14px; }
.ask-again { display: flex; gap: 6px; align-items: flex-start; margin: 6px 0 0; color: var(--fg); }
.ask-again .ic { flex: none; width: 14px; height: 14px; margin-top: 3px; color: var(--warn); }

/* v4.96 (BRIEF-v482-v486 Part 15) Today › Renewals: one row per creator with its step buttons + notes / removal status */
.td-renew .rn-list { margin: 12px 0 4px; }
.rn-list li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px 0; border-top: 1px solid var(--line, rgba(0,0,0,.08)); }
.rn-list li:first-child { border-top: 0; padding-top: 4px; }
.rn-list .btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rn-list .sub-line .vchip { margin-left: 4px; }
.rn-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 0; }
.rn-status .vchip .fdot { margin-right: 4px; }
@media (max-width: 640px) {
  .rn-list .btn-row .pc-btn-wrap { flex: 1 1 100%; }
  .rn-list .btn-row .pc-btn-wrap .btn { flex: 1; }
}

/* v4.97 (BRIEF-v482-v486 Part 16) team -> creator messages: the Message sheet, the card's Send in dashboard row, the
   creator page's Messages, the creator's Help › Messages (unread row) */
.msg-form textarea { min-height: 120px; }
.msg-preview img { max-width: 160px; max-height: 160px; border-radius: 10px; }
p.warn-line { color: var(--warn); }
.cr-acts .check { align-self: center; }
.msgs-card .ticket-row .t-main strong { font-weight: 600; }
.team-msgs .ticket-row.unread .t-main strong { color: var(--ember, inherit); }

/* v4.98 (BRIEF-v482-v486 Part 17, Option B) Today at scale: one "Creators to message" card + the queue mode */
.td-cq { gap: 20px; margin-bottom: 24px; }
.td-grid .td-cq { grid-column: 1 / -1; margin-bottom: 0; }
.td-card.td-cq.pin { border-color: var(--line); background: var(--surface); }  /* Option B: the urgent chip carries it, the card stays calm */
.cq-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.cq-top h3 { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cq-stack { display: flex; gap: 3px; height: 14px; }
.cq-stack i { border-radius: 4px; min-width: 6px; }
.cq-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cq-chips .vchip { min-height: 32px; padding: 2px 12px; font-size: 14px; cursor: pointer; background: transparent; font: inherit; font-size: 14px; }
.cq-chips .vchip.on { border-color: var(--fg); color: var(--fg); background: var(--surface-2); font-weight: 700; }
.cq-cap { font-size: 14px; color: var(--muted); margin: 0; }
.cq-sum .mbar { height: 12px; }
.cq-qhead { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.cq-qhead .mbar { flex: 1; min-width: 80px; height: 8px; }
.cq-qhead b { white-space: nowrap; }
.cq-q { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 24px; align-items: start; }
.cq-side { padding: 20px 24px; }
.cq-side .td-label { margin-top: 0; }
.cq-rows { margin: 0; padding: 0; list-style: none; }
.cq-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.cq-row .nm { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; min-width: 0; }
.cq-row b { font-size: 16px; overflow-wrap: anywhere; }
.cq-row .ln { grid-column: 1; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cq-row .go { grid-row: 1 / 3; grid-column: 2; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.cq-row.cur { background: var(--surface-2); margin: 0 -12px; padding: 12px; border-radius: 12px; border-top-color: transparent; }
.cq-row.cur + .cq-row { border-top-color: transparent; }
.cq-row.done b, .cq-row.done .ln { color: var(--faint); text-decoration: line-through; }
.cq-more { text-align: center; padding: 16px 0 0; margin: 0; font-size: 14px; color: var(--muted); }
.cq-focus { display: grid; gap: 16px; padding: 32px; align-content: start; }
.cq-focus h2 { margin: 0; font-size: 28px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; overflow-wrap: anywhere; }
.cq-focus h2 a { color: inherit; text-decoration: none; }
.cq-focus .cr-issues { margin: 0; }
.cq-facts { font-size: 14px; color: var(--muted); margin: 0; }
.cq-msgbox { display: grid; gap: 8px; }
.cq-msg { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; line-height: 1.5; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); resize: vertical; }
.cq-bar { display: flex; gap: 10px 14px; align-items: center; flex-wrap: wrap; }
.cq-bar .sp { flex: 1; }
.cq-bar .btn.go { padding-left: 22px; padding-right: 22px; }
.cq-links .linkish { font-weight: 600; }
.cq-guide { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.cq-guide[hidden] { display: none; }
.cq-guide-btn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px; }
.cq-focus .form-msg:empty { display: none; }
.cq-empty h2 { font-size: 22px; }
@media (max-width: 720px) {
  .cq-top { grid-template-columns: auto minmax(0, 1fr); }
  .cq-top .cq-go { grid-column: 1 / -1; justify-content: center; }
  .cq-q { grid-template-columns: minmax(0, 1fr); }
  .cq-side { display: none; }
  .cq-focus { padding: 20px; }
  .cq-focus h2 { font-size: 22px; }
  .cq-head { display: none; }
  .cq-page { padding-bottom: 96px; }
  .cq-qhead .cq-chips { flex-basis: 100%; }
  .cq-acts { position: fixed; left: 0; right: 0; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 5; background: var(--surface); border-top: 1px solid var(--line); padding: 12px 16px; flex-wrap: nowrap; }
  .cq-acts .btn.go { flex: 1; justify-content: center; white-space: nowrap; padding-left: 12px; padding-right: 12px; }
  .cq-acts .sp { display: none; }
  .cq-acts { gap: 8px; }  /* v4.121 Skip · Replied · Copy · Send & next fit a 390 px phone (Send was cut off since v4.119) */
  .cq-acts .btn.secondary { padding-left: 14px; padding-right: 14px; }
  .cq-acts [data-cq-copy] .cq-ct { display: none; }
  .cq-acts [data-bq-copy] .cq-ct, .cq-acts [data-bq-send="handled"] .cq-ct { display: none; }  /* v4.122 Reply & next fits */
  .cq-guide-btn { grid-template-columns: minmax(0, 1fr); }
}
/* v4.99 (BRIEF-v499 Part A) the queue: jump in Up next, Find @handle, the Today card's number + title open it */
.cq-open { cursor: pointer; border-radius: 8px; }
.cq-title { color: inherit; text-decoration: none; }
.cq-title:hover { text-decoration: underline; }
.cq-row.cq-jump { cursor: pointer; margin: 0 -12px; padding: 12px; border-radius: 12px; }
.cq-row.cq-jump:hover, .cq-row.cq-jump:focus-visible { background: var(--surface-2); outline: none; }
.cq-row.cq-jump .go svg { width: 16px; height: 16px; }
.cq-find { position: relative; flex: 0 1 240px; min-width: 180px; }
.cq-find-in { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; padding: 8px 12px; min-height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); }
.cq-find-res:empty { display: none; }
.cq-find-res { position: absolute; top: calc(100% + 6px); left: 0; min-width: 100%; width: max-content; max-width: min(360px, 90vw); z-index: 20; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.cq-find-res ul { margin: 0; padding: 0; list-style: none; }
.cq-pick { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 8px; background: none; color: var(--fg); font: inherit; font-size: 14px; cursor: pointer; }
.cq-pick:hover, .cq-pick:focus-visible { background: var(--surface-2); }
.cq-pick .muted { font-size: 12px; }
.cq-find-none { margin: 0; padding: 10px 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .cq-find { flex: 1 1 100%; } .cq-find-res { right: 0; max-width: none; width: auto; } }
/* v4.100 (BRIEF-v499-v4100 Part B) Final notes job line + Close: nothing ran; Chase brands Dismiss; Thin share (info) */
.cf-job { font-size: 16px; font-weight: 600; color: var(--fg); margin: 6px 0 0; }
.fu-decide.cf-close { display: flex; flex-direction: row; gap: 8px; align-items: center; flex-wrap: wrap; }
.cf-close-note { flex: 1 1 200px; min-width: 0; height: auto; min-height: 0; max-height: 44px; font: inherit; font-size: 14px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface, transparent); color: var(--fg); }
.ch-dis { display: grid; gap: 8px; margin: 8px 0 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; }
.ch-dis input[type=text] { font: inherit; font-size: 14px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--fg); }
.ch-dis[hidden] { display: none; }
.ch-dis .form-msg:empty { display: none; }
.ch-dis-done { display: inline-flex; gap: 6px; align-items: center; }
.ra-info { display: grid; gap: 8px; margin: 8px 0 0; }
.ra-info-card { padding: 32px; }
.ra-info-card .more-box { margin: 0; }

/* v4.101 (BRIEF-v499-v4100 Part B 4) campaign timeline (team only) + the Quarterly review's days per step */
.ctl { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin: 16px 0 4px; counter-reset: none; }
.ctl-step { position: relative; display: grid; justify-items: start; gap: 4px; padding: 0 12px 0 0; min-width: 0; }
.ctl-step::before { content: ""; position: absolute; left: 0; right: 0; top: 33px; height: 2px; background: var(--line); }
.ctl-step.on::before { background: color-mix(in srgb, var(--fg) 45%, var(--line)); }
.ctl-step:last-child::before { right: auto; width: 12px; }
.ctl-gap { min-height: 20px; font-size: 12px; color: var(--muted); }
.ctl-dot { position: relative; z-index: 1; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface, var(--bg)); }
.ctl-step.on .ctl-dot { border-color: var(--fg); background: var(--fg); }
.ctl-name { font-size: 14px; margin-top: 4px; }
.ctl-date { font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
  .ctl { grid-template-columns: 1fr; gap: 12px; }
  .ctl-step { grid-template-columns: 20px auto 1fr; grid-template-areas: "dot name date" "dot gap gap"; align-items: center; column-gap: 12px; row-gap: 0; padding: 0; }
  .ctl-step::before { left: 6px; right: auto; top: 14px; bottom: -14px; width: 2px; height: auto; }
  .ctl-step:last-child::before { display: none; }
  .ctl-dot { grid-area: dot; } .ctl-name { grid-area: name; margin: 0; } .ctl-date { grid-area: date; justify-self: end; }
  .ctl-gap { grid-area: gap; min-height: 0; } .ctl-day { display: none; }
}
.qr-tl { width: 100%; border-collapse: collapse; margin-top: 12px; }
.qr-tl th, .qr-tl td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.qr-tl thead th { font-weight: 600; color: var(--muted); }
.qr-tl-wrap { overflow-x: auto; }  /* v4.101 phone: the 3 columns never clip */
@media (max-width: 560px) { .qr-tl th, .qr-tl td { padding: 10px 8px; } .qr-tl thead th { letter-spacing: 0; } }

/* v4.102 (BRIEF-v499 Part C) the follow-up ladder: the warning step (2+ channels), the bigger No reply issue, $ lost */
.cr-issue.ld-big { border-left: 3px solid var(--down); padding-left: 12px; }
.ld-warn { border: 1px solid var(--down); border-radius: 12px; padding: 16px 20px; margin: 12px 0; display: grid; gap: 10px; }
.ld-warn .td-label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.ld-warn-text { width: 100%; }
.ld-chs { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.ld-ch { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ld-noreply { font-weight: 600; }
.ld-reasons { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.ld-what { display: grid; gap: 6px; margin: 8px 0 12px; }
.cq-lost { font-size: 14px; font-weight: 600; color: var(--down); align-self: center; }
.or-ladder { display: grid; gap: 4px; margin: 6px 0; }
.ld-nr-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line, rgba(127,127,127,.25)); }
/* v4.104 (BRIEF-v499 Part E) note updates + the decision sheets' tick list of open notes */
.note-ups { margin: 6px 0 0; display: grid; gap: 2px; }
.note-days { margin-bottom: 4px; }
.carry-box { margin: 4px 0 8px; }
.carry { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 0; display: grid; gap: 8px; }
.carry legend { padding: 0 4px; font-weight: 600; color: var(--muted); }
.carry-row { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; overflow-wrap: anywhere; font-weight: 400; }
.carry-row input { margin-top: 3px; flex: none; }
.carry-row .fdot { margin: 0 4px 0 0; }

/* v4.107 (BRIEF-v499 Part H) campaign page: samples covered (per SAMPLE) above the tiles; the split bar + key reuse the
   Health meter's .hc-split / .hc-key; green = covered, grey = in time, red = late, amber = TikTok says done (no video). */
.camp-cover { display: grid; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.cc-k { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.cc-big { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cc-big > b { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cc-big > span { font-size: 16px; font-weight: 600; color: var(--muted); }
.cc-split i { background: var(--bar); }
.cc-split i.up, .cc-key i.dot.up { background: var(--up); }
.cc-split i.down, .cc-key i.dot.down { background: var(--down); }
.cc-split i.warn, .cc-key i.dot.warn { background: var(--warn); }
.cc-tt summary { cursor: pointer; color: var(--muted); min-height: 32px; display: flex; align-items: center; }
.cc-tt ul.plain { margin: 4px 0 0; display: grid; gap: 4px; }
.camp-cover + .camp-tiles { margin-top: 24px; }
/* the face's "1/4" chip: covered / delivered samples (green = all covered, red = one late) */
.cs-cov { position: absolute; top: 30px; right: calc(50% - 32px); padding: 1px 5px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); font-size: 12px; line-height: 1.2; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }
.cs-cov.up { color: var(--up); border-color: var(--up-line); }
.cs-cov.down { color: var(--down); border-color: var(--down); }
.cs-card-cov { margin-top: 6px !important; }
.cs-cols { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cs-col { padding: 0 12px; }
/* v4.107 (BRIEF-v499 Part H additions) an icon in the big-number slot (⚠ Review / No samples shipped yet, ✎ Final notes,
   Warn, Not shipped) is sized like the number (.td-n 44 px) and centred in the same box, so it lines up with the title. */
.td-n > .ic { display: block; width: 42px; height: 42px; margin: 1px auto 0; stroke-width: 2.2; }
@media (max-width: 760px) { .td-n > .ic { width: 38px; height: 38px; } }
/* one "$X lost · 30 days" next to the queue card's title (?) and under the queue's Find box (no $ chip per issue) */
.cq-lost-total { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; font-size: 14px; font-weight: 700; color: var(--down); white-space: nowrap; vertical-align: middle; }
.cq-lost-total.small-loss { color: var(--muted); font-weight: 600; }  /* v4.125 under $5: not an alarm */
.cq-lost-line { margin: 8px 0 0; }
.cq-lost-line .cq-lost-total { margin-left: 0; }

/* v4.108 (BRIEF-v4108) the Brands queue (#/today/brands) on the Creators queue's layout (.cq-*) + the brand page */
.bq-rows { display: grid; gap: 0; margin: 0; }
.bq-row { display: grid; gap: 6px; justify-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.bq-row:first-child { border-top: 0; padding-top: 4px; }
.bq-row .bq-line { margin: 0; overflow-wrap: anywhere; }
.bq-stake { margin-left: 4px; }
.bq-state { display: grid; gap: 8px; justify-items: start; padding: 12px 0 12px 16px; border-left: 3px solid var(--line); }
.bq-state.down { border-left-color: var(--down); }
.bq-state.warn { border-left-color: var(--warn); }  /* v4.125 Confused = a to-do */
.bq-state.up { border-left-color: var(--up); }
.bq-state ul { display: grid; gap: 4px; margin: 0; }
.bq-reply { margin: 0; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
/* v4.122 the thread view: what we sent (folded after 3 lines) above the brand's reply, later rounds under it */
.bq-thread { display: grid; gap: 12px; width: 100%; margin: 4px 0; }
.bq-te { display: grid; gap: 6px; padding: 10px 0 10px 14px; border-left: 3px solid var(--line); min-width: 0; }
.bq-te.reply { border-left-color: var(--up); }
.bq-te.reply.confused { border-left-color: var(--down); }
.bq-te-h { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.bq-te-h b { color: var(--fg); font-weight: 600; }
.bq-fold { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.5; }
.bq-fold.folded { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bq-te > .linkish { justify-self: start; }
.bp-thread { display: grid; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); }
.bp-thread:first-of-type { border-top: 0; padding-top: 0; }
.bp-reply > summary { list-style: none; display: inline-flex; cursor: pointer; }
.bp-reply > summary::-webkit-details-marker { display: none; }
.bp-reply-box { display: grid; gap: 8px; margin-top: 12px; }
.cq-done-open { cursor: pointer; }
.cq-done-open:hover .nm b, .cq-done-open:focus-visible .nm b { color: var(--ember-hot); }
.done-sheet { display: grid; gap: 12px; }
.done-sheet .td-label { margin: 4px 0 0; }
.bq-dis { display: grid; gap: 8px; width: 100%; }
.bq-dis .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bq-dis .chip { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.bq-dis input[type=text] { width: 100%; max-width: 420px; }
.bq-notice { margin: 0; }
.bq-list { display: grid; gap: 0; margin: 0; }
.bq-list > li { padding: 14px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.bq-list > li:first-child { border-top: 0; }
.bq-contact { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; }
.bq-send p { margin: 0 0 4px; }
.bq-pre { white-space: pre-wrap; font: inherit; font-size: 14px; margin: 8px 0 0; padding: 16px; border-radius: 12px; background: color-mix(in srgb, var(--line) 35%, transparent); }
@media (max-width: 640px) { .bq-state { padding-left: 12px; } .bq-pre { padding: 12px; } }
/* v4.109 (BRIEF-v4108 v4.109) the Campaigns queue (#/today/campaigns) on the Creators queue's layout (.cq-*), the rating
   headline (sales per sample) on reviews / final notes / the campaign page, and End campaign */
.kq-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 8px; font-size: 16px; }
.kq-rate b { font-weight: 600; font-variant-numeric: tabular-nums; }
.kq-head-rate { font-size: 18px; margin-top: 8px; }
.kq-form { display: grid; gap: 8px; margin: 8px 0 4px; }
.kq-form .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kq-lab { margin: 8px 0 0; }
.kq-end { color: var(--down); }
.kq-campbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 16px; }
.kq-campbar .kq-rate { margin: 0; }
.kq-campbar .sp { flex: 1; }
.kq-ended { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; overflow-wrap: anywhere; }
.kq-end-what, .kq-steps { display: grid; gap: 6px; margin: 0 0 16px; padding-left: 20px; }
.kq-end-done { display: grid; gap: 12px; }
@media (max-width: 640px) { .kq-head-rate { font-size: 16px; } .kq-campbar { gap: 8px; } }

/* v4.110 (BRIEF-v4110) pictures on Help messages: paperclip + thumbnails with remove, paste / drag-and-drop */
.pic-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pic-attach { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.pic-attach .ic { width: 16px; height: 16px; }
.pic-thumbs { display: flex; flex-wrap: wrap; gap: 8px; flex-basis: 100%; }
.pic-thumbs[hidden] { display: none; }
.pic-thumb { position: relative; display: block; }
.pic-thumb img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block; }
.pic-rm { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: inherit; font-size: 16px; line-height: 1; cursor: pointer; padding: 0; }
form.pic-drop { outline: 2px dashed var(--line); outline-offset: 6px; border-radius: 12px; }
.msg .msg-pics { margin-top: 4px; }
.msg .msg-pics .ticket-shot { max-width: 120px; max-height: 160px; }
#ticket-form .vio-note { display: none; margin: -4px 0 0; }
#ticket-form.is-vio .vio-note { display: block; }
.vio-appeal-note { margin: 0 0 12px; }
.vio-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
@media (max-width: 600px) { .pic-thumb img { width: 64px; height: 64px; } }

/* v4.111 (BRIEF-v4111) help when TikTok Connect never comes back: the creator's sheet + the team's lines */
.cns { display: grid; gap: 14px; margin-top: 16px; }
.cns .sub { margin: 0; }
.cns-steps { margin: 0; padding: 0; list-style: none; counter-reset: cns; display: grid; gap: 10px; }
.cns-steps li { counter-increment: cns; display: grid; grid-template-columns: 28px 1fr; gap: 4px 10px; align-items: start;
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); line-height: 1.45; }
.cns-steps li::before { content: counter(cns); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.cns-steps li .btn { grid-column: 2; justify-self: start; margin-top: 6px; }
.cns-steps li.cns-hot { border-color: var(--warn-line); }
.cns-actions { display: grid; gap: 10px; }
.cns-actions .btn { width: 100%; text-decoration: none; text-align: center; }
.cns .tt-revler { margin: 0; }
.cns-still { justify-self: center; }
.cns-form { display: grid; gap: 10px; }
.cns-form[hidden] { display: none; }
.cns-form .btn[type=submit] { width: 100%; }
.connect-stuck { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.msg.from-system { border-style: dashed; opacity: .9; }

/* v4.113 Connect by browser (team, Connect Help item) */
.cn-browsers { margin: 8px 0 0; }
.cn-browsers ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.cn-browsers .cnb-kind { font-weight: 600; }
.cn-browsers .cnb-bad { color: var(--down); }

/* v4.114 the Queue board (BRIEF-v4114; design = design/mockups-2026-12-04-queue-board, Basel OK 2026-12-04 14:24) */
.qb-sec { margin-top: 36px; }
.qb-sec:first-of-type { margin-top: 28px; }
.qb-sec > .td-label { color: var(--fg); margin: 0 0 14px; }
.qb-shift { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.qb-shift i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--up); margin-right: 6px; vertical-align: 1px; }
.qb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.qb-card { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 0 12px; padding: 20px 24px 18px;
  border-radius: 22px; background: var(--surface); border: 1px solid var(--line); color: var(--fg); text-decoration: none;
  position: relative; transition: border-color .15s; }
.qb-card:hover { border-color: color-mix(in srgb, var(--fg) 25%, var(--line)); }
.qb-card h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.qb-card .qb-chev { color: var(--muted); width: 20px; height: 20px; }
.qb-card p { margin: 0; }
.qb-card .qb-count { font-size: 14px; color: var(--muted); white-space: nowrap; }
.qb-card .qb-count b { font-size: 30px; font-weight: 800; color: var(--fg); letter-spacing: -.02em; margin-right: 2px; }
.qb-card .qb-bar { grid-column: 1 / -1; height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin: 14px 0 12px; }
.qb-card .qb-bar > i { display: block; height: 100%; border-radius: inherit; }
.qb-card .qb-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.qb-card .qb-old { font-weight: 700; }
.qb-card .qb-old::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 7px; vertical-align: 1px; }
.qb-card .qb-foot .qb-who { margin-left: auto; }
.qb-up .qb-bar > i { background: var(--up); } .qb-up .qb-old { color: var(--up); }
.qb-warn .qb-bar > i { background: var(--warn); } .qb-warn .qb-old { color: var(--warn); }
.qb-down .qb-bar > i { background: var(--down); } .qb-down .qb-old { color: var(--down); }
.qb-card.qb-none { border-style: dashed; background: transparent; grid-template-columns: 1fr; }
.qb-card.qb-none h3 { color: var(--muted); font-weight: 600; font-size: 18px; }
.qb-card.qb-none p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
/* inside a queue: WHO chips + Move */
.qb-people { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 18px 0 20px; }
.qb-people .qb-lbl { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted); margin-right: 4px; }
.qb-pchip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); font: inherit; font-size: 14px; color: var(--fg); cursor: pointer; min-height: 36px; }
.qb-pchip.all, .qb-pchip.unas { padding-left: 12px; }
.qb-pchip .td-av { width: 24px; height: 24px; font-size: 12px; }
.qb-pchip b { font-weight: 700; }
.qb-pchip.on { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.qb-pchip.zero { color: var(--muted); }
.qb-pchip .off { font-size: 12px; }
.qb-pchip.unas { border-style: dashed; }
.qb-people .sp { flex: 1; }
.qb-pscroll { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.qb-people .btn { min-height: 40px; }
.qb-acts { display: flex; gap: 8px; }
.cq-row .qb-own { color: var(--muted); }
/* the Move picker: a pop-over under the button (phones: a sheet at the bottom) */
.qb-move { position: absolute; z-index: 60; width: 320px; max-width: calc(100vw - 32px); padding: 12px; border-radius: 18px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.qb-move .qb-mv-h { margin: 6px 8px 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.qb-mv-who { display: grid; gap: 2px; max-height: 260px; overflow: auto; }
.qb-to { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 12px; background: transparent;
  font: inherit; font-size: 16px; color: var(--fg); text-align: left; cursor: pointer; }
.qb-to.on { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--fg); }
.qb-to .td-av { width: 26px; height: 26px; font-size: 12px; }
.qb-to span.muted { margin-left: auto; font-size: 12px; }
.qb-mv-what { display: grid; gap: 6px; padding: 2px 10px 4px; }
.qb-task { font-size: 16px; }
.qb-move .cq-bar { margin-top: 8px; align-items: center; }
.qb-move .form-msg:empty { display: none; }
/* Undo: 5 seconds, a shrinking line shows the time left */
.qb-toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 18px;
  padding: 14px 16px 14px 22px; border-radius: 16px; background: var(--fg); color: var(--bg); font-size: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.25);
  overflow: hidden; white-space: nowrap; }
.qb-toast b { font-weight: 700; }
.qb-toast button { font: inherit; font-weight: 700; border: 0; background: transparent; color: var(--bg); text-decoration: underline; text-underline-offset: 3px;
  padding: 6px 8px; cursor: pointer; }
.qb-toast .qb-tl { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: color-mix(in srgb, var(--bg) 55%, transparent);
  transform-origin: left; animation: qb-tl 5s linear forwards; }
@keyframes qb-tl { to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .qb-toast .qb-tl { animation: none; } }
@media (max-width: 1100px) { .qb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .qb-grid { grid-template-columns: 1fr; gap: 14px; }
  .qb-card { padding: 22px 22px 20px; border-radius: 20px; }
  .qb-card .qb-count b { font-size: 26px; }
  .qb-card h3 { font-size: 20px; }
  .qb-sec { margin-top: 28px; }
  .qb-people { gap: 10px; }
  .qb-people .sp, .qb-people .qb-lbl { display: none; }
  .qb-pscroll { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 32px); margin: 0 -16px; padding: 2px 16px; scrollbar-width: none; }
  .qb-pchip { flex: none; }
  .qb-acts { width: 100%; }
  .qb-acts .btn { flex: 1; }
  .qb-toast { bottom: 172px; left: 16px; right: 16px; transform: none; justify-content: space-between; }
  .qb-move { position: fixed; left: 16px; right: 16px; bottom: 96px; width: auto; max-width: none; }
}
/* v4.118 (BRIEF-v4118) a Warning / money issue's evidence + severity in the creator queue (team only) */
.cr-line.wc-ev { color: var(--muted); line-height: 1.45; }
.wc-box { margin: 10px 0 4px; padding: 10px 14px; border-radius: 10px; background: var(--panel-2, rgba(127,127,127,.06)); }
.wc-box .wc-sev { margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.wc-box .wc-shared { margin: 0; }
.wc-warns, .or-warns .wc-warns { font-weight: 600; }
.wl-list .wl-row { padding: 10px 0; border-bottom: 1px solid var(--line, rgba(127,127,127,.18)); line-height: 1.5; }
.wl-list .wl-row:last-child { border-bottom: 0; }
.cq-links .wc-flag.btn { margin-left: 4px; }
/* v4.119 (BRIEF-v4119) follow-up ladder v2: Quiet / Extra help marks, Not connected's reason ask, the guidance before/after */
.cr-quiet, .cr-extra { margin-left: 6px; vertical-align: middle; }
.unc-ask { display: grid; gap: 6px; padding: 10px 0 0; }
.unc-ask p { margin: 0; }
.unc-last, .unc-stuck { display: block; line-height: 1.5; }
.gd-strip { margin: 8px 0 4px; }
.gd-strip p { margin: 0 0 6px; }
.gd-list { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.gd-x { font-size: .9em; white-space: nowrap; }
.gd-k { color: var(--muted, inherit); margin-right: 2px; }
.gd-up .gd-a, .gd-up b { color: var(--up); }
.gd-down .gd-a, .gd-down b { color: var(--down); }
.gd-x[title] { white-space: normal; }
.qb-sub { margin: 4px 0 0; opacity: .85; }
.or-marks { margin: 4px 0; }
.or-unc .unc-r { white-space: nowrap; }

/* v4.121 product buttons in messages: the editor (chips), the Products row, the "Creator sees" preview, the buttons */
pt-editor { display: block; box-sizing: border-box; width: 100%; font: inherit; font-size: 14px; line-height: 1.55; color: var(--fg);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; white-space: pre-wrap;
  overflow-wrap: anywhere; max-height: 60vh; overflow-y: auto; cursor: text; text-align: left; }
pt-editor:focus { outline: 2px solid var(--ember-glow); outline-offset: 1px; border-color: var(--faint); }
pt-editor.cq-msg, pt-editor.jt-mail { font-size: 14px; }
.pt-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin: 2px 0; padding: 3px 4px 3px 10px;
  border-radius: 999px; background: rgba(255, 107, 31, .16); border: 1px solid var(--focal-line); color: var(--fg);
  font-size: 12px; font-weight: 700; line-height: 1.3; vertical-align: middle; user-select: none; white-space: nowrap; }
.pt-chip .ic { width: 14px; height: 14px; flex: none; color: #FF6B1F; }
.pt-chip .pt-cl { overflow: hidden; text-overflow: ellipsis; }
.pt-chip.pt-gone { opacity: .6; }
.pt-x { border: 0; background: none; color: var(--muted); font: inherit; font-size: 12px; line-height: 1; padding: 4px 6px; border-radius: 999px; cursor: pointer; }
.pt-x:hover { color: var(--fg); background: var(--surface-2); }
.pt-field { display: grid; gap: 8px; }
.pt-flabel { color: var(--muted); font-size: 14px; font-weight: 600; }
.pt-tools { display: grid; gap: 10px; margin: 8px 0 4px; }
.pt-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pt-pl { color: var(--faint); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.pt-chips, .pt-res { display: contents; }
.pt-add { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px 4px 6px; border-radius: 999px;
  border: 1px dashed var(--faint); background: none; color: var(--fg); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; max-width: 240px; }
.pt-add:hover { border-color: #FF6B1F; border-style: solid; }
.pt-add img, .pt-add .ic { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; flex: none; }
.pt-add .ic { padding: 3px; box-sizing: border-box; color: #FF6B1F; }
.pt-add span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* v4.127 the brand row's groups: In email (ember, the selected style), Open, Other (muted, after a hairline) */
.pt-gl { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0; }
.pt-gl > .pt-add { min-width: 0; }
.pt-grp { flex: none; color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.pt-add.pt-hot { border: 1px solid #FF6B1F; box-shadow: 0 0 0 1px #FF6B1F inset; }
.pt-add.pt-muted { opacity: .62; }
.pt-add.pt-muted:hover { opacity: 1; }
.pt-div { flex-basis: 100%; height: 1px; background: var(--line); }
.pt-more { min-height: 36px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--muted); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.pt-more:hover { color: var(--fg); border-color: var(--faint); }
.pt-find { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 1 1 200px; }
.pt-find .pt-q { min-height: 36px; font-size: 14px; max-width: 220px; }
.pt-found { display: contents; }
.pt-prev { display: grid; gap: 6px; }
/* v4.125 (review B5 / B8) the preview is folded behind "Preview" (a 44 px tap target on phones) */
details.pt-prev > summary.pt-pl { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; width: max-content; }
details.pt-prev > summary.pt-pl::-webkit-details-marker { display: none; }
details.pt-prev > summary.pt-pl::before { content: "▸"; font-size: 12px; }
details.pt-prev[open] > summary.pt-pl::before { content: "▾"; }
.pt-view { padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.pt-view .msg { max-width: 100%; margin: 0; }
.pt-view .banner-card { margin: 0; }
.pt-msg p { margin: 4px 0 8px; line-height: 1.5; overflow-wrap: anywhere; }
.pt-msg > p:last-child { margin-bottom: 4px; }
.pt-btn { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; min-height: 52px; margin: 8px 0;
  padding: 8px 16px 8px 8px; border-radius: 14px; background: #FF6B1F; color: #0A0A0C; font-weight: 800; font-size: 14px;
  line-height: 1.3; text-decoration: none; box-shadow: 0 1px 0 rgba(0, 0, 0, .25); }
.pt-btn:hover { filter: brightness(1.06); }
.pt-btn:active { transform: translateY(1px); }
.pt-btn:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.pt-btn .pt-th { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; flex: none; background: rgba(10, 10, 12, .14); }
.pt-btn .pt-th-i { display: inline-flex; align-items: center; justify-content: center; }
.pt-btn .pt-th-i .ic { width: 20px; height: 20px; }
.pt-btn .pt-lb { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pt-btn .pt-go { font-size: 22px; line-height: 1; }
.pt-banner { margin-bottom: 8px; }
/* v4.123 every team-view @handle is a link (creatorLink): same colour as the text around it, ember + underline on hover */
a.h-link { color: inherit; font-weight: inherit; text-decoration: none; }
a.h-link:hover, a.h-link:focus-visible { color: var(--ember-hot); text-decoration: underline; text-underline-offset: 2px; }
div.ticket-row { cursor: pointer; }
div.ticket-row:focus-visible { outline: 2px solid var(--ember-glow); outline-offset: 2px; }
/* v4.123 Video not counted: the video next to the sample's product, then the verdict */
.nc-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 8px 0 4px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.nc-col { display: grid; gap: 4px; align-content: start; min-width: 0; }
.nc-k { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.nc-pic { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: var(--line); }
.nc-tags li { overflow-wrap: anywhere; }
.nc-verdict { grid-column: 1 / -1; margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.stk-st { display: inline-flex; align-items: center; gap: 4px; }
/* v4.126 (DESIGN-DECISIONS 2026-12-04 item 1) the creator queue: one line per issue, one bar Skip · Close · More · Send & next */
.cq-issues { display: grid; gap: 10px; margin: 16px 0 20px; }
.cq-il-l { display: flex; gap: 6px 10px; align-items: baseline; flex-wrap: wrap; font-size: 14px; }
.cq-il-p { font-weight: 500; }
.cq-il-s { color: var(--muted); }
.cq-il .fu-quick, .cq-il .unc-ask, .cq-il .watch-form, .cq-il .gd-strip, .cq-il .wc-ev { margin-top: 8px; }
.cq-il .wc-ev { display: block; font-size: 14px; color: var(--muted); }
@media (min-width: 721px) { .cq-acts { position: relative; } }
.cq-acts .btn { white-space: nowrap; }
.cq-dd { position: relative; display: inline-flex; }
.cq-caret { font-size: 12px; margin-left: 2px; }
.cq-pop { position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 20; min-width: 240px; max-width: min(340px, calc(100vw - 24px)); display: grid; gap: 2px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(0, 0, 0, .18); }
.cq-pop[hidden] { display: none; }
.cq-pop-more { left: auto; right: 0; }
.cq-mh { display: flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 10px 4px; }
.cq-mh.cq-own { text-transform: none; letter-spacing: 0; font-size: 14px; }
.cq-pop > button, .cq-pop > a { all: unset; box-sizing: border-box; cursor: pointer; padding: 10px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--fg); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; min-height: 40px; }
.cq-pop > button:hover, .cq-pop > a:hover, .cq-pop > button:focus-visible, .cq-pop > a:focus-visible { background: color-mix(in srgb, var(--fg) 7%, transparent); }
.cq-pop > button[disabled] { opacity: .45; cursor: default; background: none; }
.cq-pop > button.down { color: var(--down); }
.cq-pop small { color: var(--muted); font-weight: 400; font-size: 12px; }
.cq-pop hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
.cq-which { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 2px 10px 8px; }
.cq-which label { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 500; cursor: pointer; }
.cq-which input { width: 16px; height: 16px; margin: 0; accent-color: var(--fg); }
@media (max-width: 720px) {
  .cq-acts .cq-dd { position: static; }
  .cq-pop, .cq-pop-more { left: 12px; right: 12px; max-width: none; bottom: calc(100% + 6px); }
  .cq-acts .btn.secondary { padding-left: 12px; padding-right: 12px; }
  /* v4.126 live check: Skip · Close · More · Send & next ran 12 px past the bar's right edge on a 390 px phone */
  .cq-acts { padding-left: 12px; padding-right: 12px; gap: 6px; }
  .cq-acts .cq-dd > .btn { gap: 4px; }
}
/* v4.126 (DESIGN-DECISIONS 2026-12-04 item 2) Campaigns › Stuck: Blockers / Optional tabs, six blocker tiles in one row */
.stk-tabs { display: flex; gap: 8px; margin: 0 0 16px; align-items: center; flex-wrap: wrap; }
.stk-tab-note { margin-left: auto; font-size: 14px; color: var(--muted); }
.stuck-steps.stk-n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stuck-steps.stk-n7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stuck-steps.stk-n2 { grid-template-columns: repeat(2, minmax(0, 220px)); }
@media (min-width: 901px) { .stuck-steps.stk-n6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } .stuck-steps.stk-n7 { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
@media (max-width: 720px) { .stuck-steps.stk-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stk-opt { color: var(--muted); }
.stk-counting { margin: 14px 0 0; }
.stk-tabs .vchip { cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; padding: 4px 10px; background: transparent; color: var(--muted); }
.stk-tabs .vchip.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
/* v4.126 (DESIGN-DECISIONS 2026-12-04 item 3) campaign page: one money source, the per-creator report as one grey note */
.camp-src { margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.camp-src .camp-lag { font-size: 12px; font-weight: 600; color: var(--fg); }
.camp-tiles .mbar { margin-top: 8px; }

/* v4.128 (BRIEF-v4128 2) urgent creators (an overdue post, a violation, a leave request): red and extra-highlighted,
   first in Up next and in front */
.cq-row.cq-urgent { box-shadow: inset 4px 0 0 var(--down); background: color-mix(in srgb, var(--down) 8%, transparent); margin: 0 -12px; padding: 12px 12px 12px 16px; border-radius: 12px; }
.cq-row.cq-urgent.cur { background: color-mix(in srgb, var(--down) 12%, var(--surface-2)); }
.cq-focus.cq-urgent { border: 2px solid var(--down); box-shadow: 0 0 0 4px color-mix(in srgb, var(--down) 14%, transparent); }
.cq-il.urgent .vchip { font-weight: 700; }
.cq-off { display: flex; gap: 6px; align-items: center; color: var(--muted); }
.cq-off svg { width: 14px; height: 14px; }
.cq-help { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.cq-help .small { overflow-wrap: anywhere; }
.cq-pc { display: grid; gap: 8px; }
.cq-pc-steps { margin: 0; padding-left: 20px; display: grid; gap: 2px; }
.cq-pc label { display: grid; gap: 4px; }
.cq-pc textarea { width: 100%; }
.cq-pc-acts { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cq-pc .form-msg:empty { display: none; }
.qb-ppl { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); }
.qb-ppl b { color: var(--fg); }

/* v4.129 (BRIEF-v4129 1) one Creators filter row: the work filters, then the state pills (flags, Signed in, Removal
   review, Former…) after a thin divider. Same pill, one pick at a time. */
.qf:not(.qf-state) + .qf-state { margin-left: 9px; position: relative; }
.qf:not(.qf-state) + .qf-state::before { content: ""; position: absolute; left: -9px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.qf.flag-chip .fdot { margin: 0; width: 8px; height: 8px; }
.qf.removal-chip:not(.on) { color: var(--down); border-color: color-mix(in srgb, var(--down) 40%, transparent); }
.qf.former-chip:not(.on) { border-style: dashed; }
/* v4.129 (BRIEF-v4129 2) a pressed pill's list dims at once while the new answer loads (never a dead click) */
.pill-busy { opacity: .5; transition: opacity .12s ease-out; cursor: progress; }
.pill-busy * { cursor: progress; }
@media (prefers-reduced-motion: reduce) { .pill-busy { transition: none; } }
/* v4.129 one line at every width (it scrolls sideways, the edge fades: FADE_ROWS), never a second row of pills */
.quick-row { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
@media (min-width: 721px) { .quick-row { padding: 2px 2px 4px; } }
.quick-row::-webkit-scrollbar { display: none; }
.quick-row > .qf { flex: none; }
/* v4.130 Heard about us: the source chip on scout rows, the bars on the Scout page and Results */
.heard-chip { margin-left: 4px; }
.sc-site .heard-bars, .heard-card .heard-bars { margin: 12px 0 4px; }
.site-app strong { color: var(--fg); font-weight: 600; }
/* v4.134 Down since joining (creator team): weekly 30-day-sales bars (start = ink, under 90% of it = amber), note tags */
.sj-block { display: grid; gap: 8px; margin: 12px 0 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.sj-cap { margin: 4px 0 0; }
.sj-bars { display: flex; align-items: flex-end; gap: 4px; height: 64px; }
.sj-bar { flex: 1 1 0; max-width: 28px; min-width: 4px; border-radius: 3px 3px 0 0; background: color-mix(in srgb, var(--muted) 45%, transparent); }
.sj-bar.sj-start { background: var(--fg); }
.sj-bar.sj-low { background: var(--warn); }
.sj-legend { display: flex; justify-content: space-between; gap: 8px; }
.sj-read { margin: 0; font-weight: 600; }
.sj-nums { margin: 0; }
.sj-note { display: grid; gap: 8px; }
.sj-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sj-tags .chip { min-height: 36px; padding: 6px 12px; }
.sj-tags .chip[aria-pressed="true"] { border-color: var(--fg); background: var(--surface-2); font-weight: 600; }
/* v4.135 Down since joining build 2: Back · 2nd look, the Send as Guidance sheet, history rows */
.sj-back { display: grid; gap: 4px; }
.sj-last { margin: 0; }
.sj-guide { display: grid; gap: 8px; margin: 4px 0 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.sj-guide legend { padding: 0 4px; }
.sj-guide textarea { width: 100%; }
.sj-earlier summary { cursor: pointer; padding: 8px 0; }

/* v4.136 the scouts' Recruits to set up: three step tiles (green done, amber to do, Discord dashed with its tick) */
.sq-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sq-step { display: grid; gap: 6px; align-content: start; padding: 16px; border-radius: 12px; border: 1px solid var(--line); }
.sq-step.up { border-color: var(--up-line); }
.sq-step.up b { color: var(--up); }
.sq-step.warn { border-color: var(--warn-line); }
.sq-step.warn b { color: var(--warn); }
.sq-step.dash { border-style: dashed; }
.sq-step .btn, .sq-step .linkish { justify-self: start; }
.sq-msg-l { display: grid; gap: 6px; }
.sc-setup { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 24px 32px; margin-bottom: 16px; }
.sc-setup .btn { margin-left: auto; }
@media (max-width: 560px) { .sq-steps { grid-template-columns: 1fr; } }
/* v4.137 hand-over (B) + the Scout list's Handed over card (D) */
.sq-hand-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sq-hand-head h2 { margin: 0; }
.sc-handed { padding: 24px 32px; margin-bottom: 16px; }
.sc-hand-list { list-style: none; margin: 0; padding: 0; }
.sc-hand-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line); }
.sc-hand-row:first-child { border-top: 0; }
@media (max-width: 560px) { .sc-handed { padding: 20px; } }
