/* ==========================================================================
   THRILLA LITE — client dashboard. Step 1: shell and home.
   --------------------------------------------------------------------------
   Rebuilt 2026-10-22 against the design RUNNING, not against its spec. The
   first attempt was inferred from `audits/01-shell-home.md` and `PATTERNS.md`
   without opening the board (Jack: "your design is miles off"). Everything
   structural below — the covers, the date chips, the two-column lede, the
   "+N more" row, the crew bar, the seen count — was missing because of that.
   The skill's instruction is to run the file and click through it.

   The rules from the audit still hold and still shape this:

   1 · ONE JOB PER COLOUR. Rizzz is smart matching and the single primary
       action. Teal is booked, as a ring on a face, and nothing else. Orange
       is "needs you now", once per thing. Everything else is cream and grey.
   2 · NO BOXES INSIDE BOXES. Hairlines and space, not nested cards.
   3 · 44px HIT AREAS even where the control looks smaller.

   Motion is 120–360ms with nothing looping; the booked ring at 600ms is the
   one documented exception.
   ========================================================================== */

.dash { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter) var(--s10); }
/* THE SAME GUTTER LADDER `.shell` HAS, because `.dash` reads the tokens
   directly rather than going through it (Jack, 2026-10-23: 64 at >=821,
   24 at <=820, 16 at <=520). It used to jump 64 -> 16 at the 760 phone
   breakpoint, so a 600px browser got the phone's gutter. */
@container (max-width: 820px) { .dash { padding-inline: 24px; } }
@container (max-width: 520px) { .dash { padding-inline: 16px; } }

/* ---- shell -------------------------------------------------------- */

/* THE HEADER IS A THREE-COLUMN GRID, not a flex row (Home desktop v3:
   `240px minmax(0,1fr) 240px`, 80px tall, 24px gap).

   Jack, 2026-10-22: "notifications and profile buttons look like they should
   be further right.. they're hugging the search bar, we have unused space".
   Exactly right, and the grid is why: as a flex row the bar took all the
   slack and shoved the icons up against itself, leaving ~230px of nothing at
   the right edge. Fixed side columns pin the icons to that edge and give the
   bar the middle, which is the balance the artboard has. */
.dash__top {
	display: grid; grid-template-columns: 240px minmax(0, 1fr) 240px;
	align-items: center; gap: var(--s5);
	height: 80px; padding: 0;
}
/* The phone header's own controls. Desktop carries Messages as a nav tab and
   has no hamburger at all, so both are hidden until the phone block — and
   this rule has to sit ABOVE that block, or source order beats it. */
.dash__top .icon--phone { display: none; }
.icon__dot {
	position: absolute; top: 10px; right: 9px;
	width: 7px; height: 7px; border-radius: 999px; background: var(--cavir);
}
.icon__dot--new { background: var(--text); right: 11px; }

/* A <button> now that it goes Home, so it needs the UA chrome removed —
   the global reset only inherits font and colour. */
/* A <button> now that it goes Home, so it needs the UA chrome removed —
   the global reset only inherits font and colour — and a thumb's worth of
   hit area: the lockup draws 93x16, which is 28px short of the minimum. */
.dash__top .brand { position: relative; flex: none; display: block; padding: 0; border: 0; background: none; cursor: pointer; }
.dash__top .brand::after { content: ''; position: absolute; inset: -14px -8px; }
.dash__top .lockup { height: 24px; width: auto; display: block; }
/* justify-self: end is the half that actually moves the icons — without it
   they sit at the START of a 240px column, which looks identical to the bug. */
.dash__right { display: flex; align-items: center; justify-self: end; gap: var(--s2); }

/* The bar lives in the header and takes the middle, because the dashboard is
   built around it. Its Rizzz is the underline and the spark; never a fill,
   which would compete with the one primary action on the page. */
/* `max-width` WITHOUT A MARGIN IS NOT CENTRED, and Jack asked exactly the
   right question — "is the header genuinely central?" Measured: the header
   spans 235-1547, centre 891; its middle grid column spans 499-1283, centre
   891, so the COLUMN is perfectly placed. The bar was 640 wide inside a 784
   column, left-aligned, putting its own centre at 819 — 72px off. The cap is
   worth keeping (a 784px ask bar is a trough), so it gets the auto margins
   the cap always needed.

   `width: 100%` IS LOAD-BEARING and was missing in the first version. As a
   grid item the bar was stretching to its column and the cap trimmed it to
   640; `margin-inline: auto` replaced that stretch, so it fell back to
   sizing on its CONTENT and rendered 213px wide (Jack, 2026-10-26: "header
   search bar is now too short"). I measured the centring, which was right,
   and never re-measured the width the same change had broken. */
.bar { width: 100%; max-width: 640px; margin-inline: auto; display: flex; align-items: center; gap: var(--s2); position: relative; }
/* THE PAGE BAR IS LEFT, THE HEADER BAR IS CENTRED, and that is a deliberate
   split rather than an inconsistency (Jack, 2026-10-26: "talent page search
   bar can align left. that's fine, it looks better on that page left"). In
   the header the bar is the middle of three columns and centring is what
   makes the header read as balanced. On the Talent page it sits above a
   left-aligned grid of cards, and a centred field over a left-aligned grid
   is the thing that looks wrong. Same treatment, different alignment,
   because they sit in different compositions. */
.bar--page { margin-inline: 0; }
.bar__wrap { flex: 1; display: block; }
/* ONE ASK BAR, ONE TREATMENT (Jack, 2026-10-22: "the search bar should be
   the same across all pages", smaller / lighter / more transparent / closer
   to a thinner line).

   "All pages" is the ASK bar — this one and the brief flow's
   `.agentic .linewrap`, which carried 15-17px text over a 5px rule. Those two
   are now one treatment, mirrored in agentic.css.

   NOT the Jobs filter (`.find`). That is a different control and the design
   draws it as a bordered pill (Jobs desktop artboard: 260x44, 1px #646466).
   It has no line to sit close to, so none of this instruction applies to it.
   I converted it first and that was wrong. */
.bar__wrap input {
	width: 100%; min-height: 40px;
	background: none; border: 0; border-bottom: 1px solid transparent;
	border-image: var(--action) 1; border-image-slice: 0 0 1 0;
	border-radius: 0;
	color: var(--text); font: inherit;
	/* smaller, lighter, and closer to its line. It sat at 1.125rem in full
	   weight over a 2px rule, which read as a field shouting at the page. */
	font-size: var(--t-body); font-weight: var(--fw-light);
	padding: 0 0 .25rem;
}
/* Derived from --text rather than a second copy of #f2eee7, so a change to
   the text colour carries into the placeholder instead of drifting from it. */
.bar__wrap input::placeholder {
	color: color-mix(in srgb, var(--text) 42%, transparent);
	font-weight: var(--fw-light); opacity: 1;
}
/* FOCUS IS THE UNDERLINE, NEVER A BOX. The global :focus-visible ring in
   thrilla.css draws a 3px Rizzz outline around any focused input, which on a
   bar that already HAS a Rizzz underline reads as an error state and boxes in
   something designed to be open. The brief's own field solved this months ago
   (agentic.css `.linewrap:focus-within::after`): thicken the underline and
   let it glow. Same treatment here, so the two bars behave identically.
   Jack, 2026-10-22: "how many times have we dropped this blue outline". */
.bar__wrap input:focus,
.bar__wrap input:focus-visible { outline: 0; box-shadow: none; }
/* Proportionate to a 1px rule: it doubles rather than quadrupling. */
.bar:focus-within .bar__wrap input {
	border-bottom-width: 2px;
	filter: drop-shadow(0 5px 14px rgba(25, 255, 217, .22));
}
.bar__wrap input { transition: border-width 160ms ease-out; }
/* The intent word and the ⌘K chip are both gone (Jack, 2026-10-22). The bar
   is the input and the spark, and nothing else. ⌘K still WORKS — it is a
   logged decision and costs nothing unseen — it just no longer advertises
   itself in a bar that was getting crowded. */
/* The spark is an ICON and nothing else. 40px with an 18px glyph, matching
   the design. Its hit area is padded to 44 rather than the circle being
   grown, so the mark keeps its size. What the button WILL do is carried by
   aria-label and by the bar's own text — never by a word inside the circle,
   which has no room for one. */
/* 40px OF SOLID FRESH RIZZZ BESIDE 14px TEXT read as the loudest thing in
   the header (Jack, 2026-10-26: "the button seems too big compared to the
   text"). Both moved rather than one: the field is the thing being used and
   was undersized at --t-sm, and the button is a 16px glyph that does not
   need a 40px disc. 36 and --t-body sit level. */
.spark {
	flex: none; width: 36px; height: 36px; border-radius: 999px; border: 0; cursor: pointer;
	background: var(--action); color: var(--on-action); position: relative;
	display: inline-flex; align-items: center; justify-content: center;
}
.spark::before { content: ''; position: absolute; inset: -2px; }
.spark svg { width: 18px; height: 18px; fill: var(--set-black); pointer-events: none; }
.spark:hover { filter: brightness(1.08); }

/* THE BELL IS NOT A BUTTON-SHAPED THING, it is an icon. Jack, 2026-10-26:
   "remove the circle from the notifications button too." The ring and fill
   were giving a 20px glyph the same weight as a real control, two of them
   side by side with the avatar — which IS a circle, legitimately, because it
   holds a face. The avatar keeps its own treatment below; the icon loses the
   chrome and keeps the 44px hit area, which is the part that matters. */
.icon, .avatar {
	width: 44px; height: 44px; flex: none; position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(11, 11, 12, .5); border: 1px solid rgba(242, 238, 231, .14);
	border-radius: 999px;
	color: var(--text-2); cursor: pointer; font: inherit;
	/* An icon button holds an SVG or a single glyph — a × — and neither
	   wants caps tracking. It carried `--ls-caps`, which the 2026-10-22
	   type pass took from .08em to .22em, so every × in the build quietly
	   drifted off its own centre and stayed at 12px inside a 44px circle
	   (Jack, 2026-10-25: "the x icon is not finished"). */
	letter-spacing: normal; font-size: 1.25rem; line-height: 1;
}
.icon { background: none; border-color: transparent; }
.icon:hover, .avatar:hover { color: var(--text); border-color: var(--line); }
.icon:hover { border-color: transparent; }
.icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.avatar { border-color: var(--line); color: var(--text); background: var(--card-lift); }
/* SIGNED OUT, OR BRAND NEW. A person outline rather than two letters that
   belong to somebody else. Quieter than a real avatar, because an empty
   account is not a thing to draw attention to. */
.avatar--anon { color: var(--text-3); }
.avatar--anon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* The only orange in the chrome, and it counts the things that need you. */
.icon__n {
	position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px;
	padding: 0 5px; box-sizing: border-box;
	border-radius: 999px; background: var(--cavir); color: var(--set-black);
	font-size: 12px; font-weight: 700; line-height: 18px; text-align: center;
	font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px var(--page);
}

.tabs { display: flex; gap: var(--s1); border-bottom: 1px solid var(--line-soft); margin-bottom: var(--s8); }
.tab {
	/* 48, not 44. Both LITE 01 and LITE 06 draw the shell nav as 48px tabs
	   over a 1px hairline — a 49px row. It sat at 44 (45 with the border)
	   on every screen since step 1 because the shell was never in BOARD;
	   adding `.tabs` while measuring LITE 06 found it in one run.
	   Corrected 2026-10-22. */
	position: relative; min-height: 48px; height: 48px; padding: 0 var(--s3);
	display: inline-flex; align-items: center; gap: .4rem;
	background: none; border: 0; cursor: pointer;
	font: inherit; font-size: var(--t-sm); color: var(--text-3);
}
.tab:hover { color: var(--text); }
/* Cream, not Rizzz: where you are is not an action. */
.tab.is-on { color: var(--text); font-weight: 500; }
.tab.is-on::after { content: ''; position: absolute; left: var(--s3); right: var(--s3); bottom: -1px; height: 2px; background: var(--text); }
.tab__n { font-size: var(--t-xs); color: var(--text-3); font-variant-numeric: tabular-nums; }

/* ---- lede: headline left, cues right ------------------------------- */

.lede {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 11fr);
	gap: var(--s8); align-items: start; margin-bottom: var(--s10);
}
.lede__h {
	font-size: var(--t-h2); line-height: var(--lh-snug); letter-spacing: var(--ls-tight);
	font-weight: var(--fw-med); margin: var(--s3) 0 var(--s3);
}
.lede__b { font-size: var(--t-body); color: var(--text-2); max-width: 32ch; }

/* ---- cue cards ----------------------------------------------------- */

.cues { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: var(--s3); align-items: start; }

/* A cue is something you act on, so it is a card — and it carries the photo
   of the person or the night it is about, which is what makes it readable
   at a glance rather than a row of text. */
.cue {
	position: relative; border-radius: 16px; overflow: hidden;
	min-height: 15rem; display: flex; isolation: isolate;
	background: var(--card);
}
.cue__cov {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	z-index: -2; image-orientation: none;
}
/* The scrim is what makes the text legible over any photograph. Dark from
   the bottom, because that is where the words are. */
.cue__grad {
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(to top, rgba(11,11,12,.94) 0%, rgba(11,11,12,.78) 42%, rgba(11,11,12,.28) 100%);
}
.cue__in { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5); width: 100%; }
.cue__top { display: flex; align-items: center; gap: var(--s2); }
.tagc {
	font-size: var(--t-xs); letter-spacing: var(--ls-caps); text-transform: uppercase;
	background: var(--grey-100); color: var(--set-black);
	border-radius: 999px; padding: .25rem .6rem; font-weight: 600;
}
.tagc--urgent { background: var(--cavir); color: var(--set-black); }
.cue__when { font-size: var(--t-xs); color: var(--text-2); }
.cue__h { font-size: var(--t-h3); line-height: var(--lh-head); font-weight: 600; margin-top: auto; }
.cue__m { font-size: var(--t-sm); color: var(--text-2); font-variant-numeric: tabular-nums; }
.cue__act { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s2); }
.cue__act .btn { min-height: 44px; }
.cue__faces { display: flex; align-items: center; }
.cue__hint { font-size: var(--t-sm); color: var(--text-2); white-space: nowrap; margin-left: var(--s3); }
.cue__aside { font-size: var(--t-sm); color: var(--text-3); }

.face { width: 32px; height: 32px; border-radius: 999px; object-fit: cover; display: block; flex: none; image-orientation: none; background: var(--sunken); }
.face.is-mini { width: 28px; height: 28px; margin-right: -10px; box-shadow: 0 0 0 2px rgba(11,11,12,.9); }
/* Teal, here and nowhere else. 600ms is the documented exception: this is
   the beat that says a seat filled. */
.face.is-booked { box-shadow: 0 0 0 2px var(--st-active); animation: ringIn 600ms ease-out 1; }
@keyframes ringIn { from { box-shadow: 0 0 0 0 transparent; } to { box-shadow: 0 0 0 2px var(--st-active); } }
.face.is-waiting { opacity: .5; }
.face.is-casting { box-shadow: 0 0 0 2px var(--line-soft); }
/* AN OPEN SEAT. Not `--gap`, which is the urgent "somebody dropped out"
   state with its own colour — this is simply a role nobody is in yet, which
   is the normal state of a job that has just gone live. */
.face--open { border: 1px dashed var(--line); background: none; }
.face--gap {
	border: 2px dashed var(--cavir); color: var(--cavir); display: flex;
	align-items: center; justify-content: center; font-weight: 700; font-size: var(--t-sm);
}

/* ---- the rest of the list ------------------------------------------ */

.more {
	display: flex; align-items: center; gap: var(--s3);
	margin-top: var(--s3); padding: var(--s3) var(--s5);
	border: 1px solid var(--line-soft); border-radius: 12px; background: var(--card);
	font-size: var(--t-sm);
}
.more__n { font-weight: 600; }
.more__p { color: var(--text-3); margin-right: auto; }
.more .sep { color: var(--grey-700); }

/* ---- job cards ------------------------------------------------------ */

.next__h { display: flex; align-items: baseline; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s5); }
.next__t { font-size: var(--t-h3); font-weight: 600; letter-spacing: var(--ls-tight); }
.next__m { font-size: var(--t-sm); color: var(--text-3); margin-right: auto; }

.jobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: var(--s3); align-items: start; }
.jobc { background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; }

.jobc__cov { position: relative; aspect-ratio: 16 / 9; isolation: isolate; }
.jobc__cov > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; image-orientation: none; }
.jobc__grad {
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(to top, rgba(11,11,12,.92) 0%, rgba(11,11,12,.45) 48%, rgba(11,11,12,.1) 100%);
}
/* The date chip. Weekday and number, so the card answers "when" before the
   eye reaches the text — and both are computed, never written. */
.datec {
	position: absolute; top: var(--s3); left: var(--s3);
	background: rgba(11,11,12,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	border-radius: 10px; padding: .35rem .55rem; text-align: center; line-height: 1.1;
	display: flex; flex-direction: column;
}
.datec__d { font-size: 10px; letter-spacing: var(--ls-caps); color: var(--text-2); }
.datec__n { font-size: var(--t-h4); font-weight: 600; font-variant-numeric: tabular-nums; }
.jobc__cov .pill { position: absolute; top: var(--s3); right: var(--s3); }
.jobc__cap { position: absolute; left: var(--s3); right: var(--s3); bottom: var(--s3); display: flex; flex-direction: column; gap: .1rem; }
.jobc__t { font-size: var(--t-h4); font-weight: 600; }
.jobc__m { font-size: var(--t-sm); color: var(--text-2); }
.jobc__seen {
	position: absolute; right: var(--s3); bottom: var(--s3);
	font-size: var(--t-xs); color: var(--text-2); display: inline-flex; align-items: center; gap: .3rem;
	font-variant-numeric: tabular-nums;
}
.jobc__seen svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.pill {
	font-size: var(--t-xs); letter-spacing: var(--ls-caps); text-transform: uppercase; font-weight: 600;
	background: var(--grey-100); color: var(--set-black); border-radius: 999px; padding: .25rem .6rem;
}
.pill--need { background: var(--cavir); color: var(--set-black); }

.jobc__body { padding: var(--s3) var(--s5) var(--s5); }

/* Crew progress: a hairline, not a box. Cream — filling seats is not a
   status and not an action. */
.crew { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s3); }
.crew__l { font-size: var(--t-xs); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--text-3); flex: none; }
.crew__bar { flex: 1; height: 2px; background: var(--grey-700); border-radius: 2px; overflow: hidden; }
.crew__bar > span { display: block; height: 100%; background: var(--text-2); }
.crew__n { font-size: var(--t-xs); color: var(--text-3); font-variant-numeric: tabular-nums; flex: none; }

/* ---- seats ---------------------------------------------------------- */

.seats { list-style: none; display: flex; flex-direction: column; }
.seat {
	display: flex; align-items: center; gap: var(--s3);
	min-height: 56px; padding: var(--s2) 0;
	border-top: 1px solid var(--line-soft);
}
.seat:first-child { border-top: 0; }
.seat.is-urgent { margin: 0 calc(var(--s3) * -1); padding-left: var(--s3); padding-right: var(--s3); border-radius: 10px; }
.seat__txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.seat__role { font-size: var(--t-sm); font-weight: 500; }
.seat__who { font-size: var(--t-xs); color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat__st--urgent { color: var(--text-2); }
.seat__wait { font-size: var(--t-sm); color: var(--text-3); flex: none; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: var(--cavir); margin-right: .35rem; vertical-align: middle; }

/* Seat actions are secondary, so cream — never Rizzz. The audit removed
   Rizzz from Review / Replace / Invite for exactly this reason. */
.seat__act, .link {
	background: none; border: 0; cursor: pointer; font: inherit; font-size: var(--t-sm);
	color: var(--text); text-decoration: underline; text-underline-offset: 3px;
	text-decoration-color: var(--line); flex: none; min-height: 44px; padding: 0 .25rem;
}
.seat__act:hover, .link:hover { text-decoration-color: currentColor; }

/* ---- toast ---------------------------------------------------------- */

/* Always the bottom. The top belongs to the header and nav; the bottom is
   where the thumb and the action are. */
/* ================= THE HOME INDICATOR =================================
   Jack, 2026-10-23: "Fixed bars and sheets respect the browser's toolbar
   and the iPhone home indicator: env(safe-area-inset-bottom), plus 100dvh
   instead of 100vh."

   THIS SUPERSEDES THE NOTE AT `.jp .jp__side:last-child` AND `.pj--phone`,
   which said env(safe-area-inset-*) is "the wrong tool: it reads 0 in a
   tab". That is true only WITHOUT `viewport-fit=cover` — and index.html
   has carried it since it was written, so on a notched iPhone in Safari it
   reads ~34px and the old reasoning never applied here. The `dvh` half of
   those notes is right and unchanged.

   In THIS prototype every one of these resolves to 0: the phone is a 390px
   box inside a desktop window and there is no notch to inset from. They
   only do anything on a real device, which is also why they cannot be
   verified from here.
   ===================================================================== */
.toast {
	/* ABOVE THE PROFILE PANEL (z-index 86) AND THE BOOK CONFIRM (91). At 60
	   every toast fired from inside an overlay rendered UNDERNEATH it, so an
	   action that worked looked like an action that did nothing — the third
	   reason Jack's star read as dead. A toast is the confirmation; it is the
	   one thing that must never be occluded. */
	/* The frame's edge, not the window's — `toastTo()` measures `.app` and
	   writes both. The literals are the fallback for the one case it cannot
	   measure: a toast fired before `.app` exists. */
	position: fixed; right: var(--toast-r, 64px);
	bottom: calc(var(--toast-b, 32px) + env(safe-area-inset-bottom, 0px)); z-index: 95;
	display: flex; align-items: center; gap: var(--s3);
	max-width: min(30rem, calc(100vw - 32px));
	background: rgba(22,22,26,.96); border: 1px solid rgba(242,238,231,.16);
	border-radius: 999px; padding: .5rem .5rem .5rem var(--s5);
	color: var(--text); font-size: var(--t-sm); overflow: hidden;
}
.toast.is-in { animation: toastIn 300ms ease-out 1; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.toast__t { flex: 1; }
.toast__x { flex: none; width: 44px; height: 44px; background: none; border: 0; color: var(--text-2); font-size: 1.25rem; cursor: pointer; line-height: 1; }
.toast__x:hover { color: var(--text); }
/* The 3s timer, shown rather than guessed at. */
.toast__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: rgba(242,238,231,.3); transform-origin: left; animation: toastBar 3000ms linear 1 forwards; }
@keyframes toastBar { to { transform: scaleX(0); } }

/* ======================================================================
   THE PHONE DOCK — the bottom tab bar, and the ask bar that finally pins
   ----------------------------------------------------------------------
   Jack, 2026-11-23: "yes do the bottom tab bar." ADR-059 carries the
   decision and why it reverses LITE 01's "Phone = browser" note; the
   mechanism and the move are documented in dashboard.js's `paintDock`.

   NOT A @container BLOCK, AND THAT IS THE WHOLE POINT. The dock lives in
   <body> precisely because `.app`'s container-type makes it the containing
   block for fixed descendants — so no container query reaches the dock
   (rule 2.2) and `paintDock()` writes `data-view="phone"` instead. Every
   rule here is therefore scoped to that attribute and to nothing else, and
   the @container law gate is satisfied because there is no width query.

   IT ALSO MEANS THE SCREEN'S OWN PHONE RULES STOP APPLYING to anything
   moved in here — `.tabs { display: none }`, the bar's absolute placement,
   `.bar ... .bar__wrap { display: none }`. That is not a loss to patch
   around: it is why the moved controls need their dock treatment restated
   below rather than inherited.
   ====================================================================== */
.dock {
	/* THE FALLBACKS ARE THE REAL-PHONE CASE — `left: 0; width: 100%;
	   bottom: 0` — so one declaration serves both configurations and there
	   is no second code path to keep in step. `dockTo()` writes --dev-l,
	   --dev-w and --dock-b ONLY inside the prototype's 390px frame. */
	position: fixed;
	left: var(--dev-l, 0); width: var(--dev-w, 100%);
	bottom: calc(var(--dock-b, 0px) + var(--cns-h, 0px));
	/* Above the page, below every sheet (40+), the profile panel (86), the
	   book confirm (91) and the toast (95). Furniture, not an overlay. */
	z-index: 30;
	background: rgba(11, 11, 12, .96);
	border-top: 1px solid var(--line-soft);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}
.dock[data-view="desktop"] { display: none; }
/* CONTENT FADES UNDER THE DOCK RATHER THAN BEING GUILLOTINED BY IT. At 96%
   a job row crossing the top edge is sliced crisply in half and reads as a
   rendering fault; the ask bar it replaces carried a gradient for exactly
   this reason and lost it when it moved in here. 24px, above the dock and
   outside its own box, so it costs `--dock-h` nothing. */
.dock::before {
	content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 24px;
	pointer-events: none;
	background: linear-gradient(to top, rgba(11, 11, 12, .96), rgba(11, 11, 12, 0));
}

/* ---- the tab row ---- */
/* SCOPED BY ID, because `.tabs` already means the desktop shell nav — the
   48px row over a hairline that `screen-audit.js` measures at 49. Two
   meanings for one class name decided by file order is the widest bug in
   this repo (rule 2.7b), so the dock states its own and leaves that alone. */
#dashDock .tabs {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0; border-bottom: 0; margin-bottom: 0;
}
#dashDock .tab {
	/* 56, not the shell's 48. A bottom bar is thumb-reach furniture and the
	   full cell is the target, which is what rule 3.6 asks for in BOTH
	   dimensions — 93x56 at 375px, with no ::after trick needed. */
	min-height: 56px; height: 56px; padding: 0 var(--s1);
	justify-content: center; gap: .3rem;
	font-size: var(--t-xs);
}
/* THE INDICATOR MOVES TO THE TOP EDGE. The shell's `.tab.is-on::after` sits
   at `bottom: -1px` because it underlines a row whose hairline is below it;
   in a bottom bar that line is off the bottom of the screen behind the home
   indicator. Same 2px, same cream, opposite edge — "where you are is not an
   action", so it is never Rizzz. */
#dashDock .tab.is-on::after { top: 0; bottom: auto; left: 0; right: 0; }

/* ---- the ask row ---- */
/* Home only. The board draws the bar "pinned just above the browser chrome"
   and it never was: `.app` is as tall as its content, so bottom meant the
   bottom of the page. Here it is in flow above the tabs, so it is pinned by
   the dock's own placement and needs no arithmetic of its own. */
#dashDock .bar[data-page="home"] {
	max-width: none; margin-inline: 0;
	padding: 10px 16px; border-bottom: 1px solid var(--line-soft);
}
/* EVERY OTHER SCREEN KEEPS ITS 56px SPARK, floating clear of the tab row
   rather than sitting in it. `bottom: 100%` takes it out of the dock's own
   height, so `--dock-h` stays 57px on those screens and the content below
   clears the tabs without reserving a FAB's worth of empty rail as well. */
#dashDock .bar:not([data-page="home"]) {
	position: absolute; right: 16px; left: auto; bottom: 100%;
	width: auto; max-width: none; margin: 0 0 16px; padding: 0; background: none;
}
#dashDock .bar:not([data-page="home"]) .bar__wrap { display: none; }
#dashDock .bar:not([data-page="home"]) .spark {
	width: 56px; height: 56px; box-shadow: 0 10px 28px rgba(0, 0, 0, .5);
}
#dashDock .bar:not([data-page="home"]) .spark svg { width: 22px; height: 22px; }
/* The 36px disc is under the 44px minimum and the hit area grows without
   moving the layout (rule 3.7b), exactly as it does in the header. */
#dashDock .bar[data-page="home"] .spark::before { inset: -4px; }
/* AND THE FIELD'S 44px, restated for the same reason as the thread's three
   below: the `@container` rule that sets it cannot reach <body>. The gate
   reported Talent's search input fixed and Home's still short on the same
   run, which is the difference between a bar that stayed in `.app` and one
   that moved into the dock. */
#dashDock .bar__wrap input { min-height: 44px; }

/* ---- the message thread's composer, docked (audit fix 3) ---- */
/* `.ms__pin` nominates itself with `data-dock`, so the quick replies AND the
   field arrive here instead of the Spark. Why the pair and not the field
   alone — and why the hint stays behind — is in `dashboard.js` beside the
   attribute. */
#dashDock .ms__pin { margin: 10px 16px 12px; gap: 8px; }
/* ONE SCROLLING LINE, NOT TWO WRAPPED ONES. Three chips measure 112 + 141 +
   119 and wrap at 328, which is 78px of dock for what fits in 36 — and the
   wrap is the whole reason the old note priced this at 92px and declined it.
   Same treatment as the Applications chip row: the gutter survives the
   scroll, because scroll-snap ignores a scroller's own padding (rule 2.8). */
#dashDock .ms__q {
	flex-wrap: nowrap; overflow-x: auto; gap: 6px;
	padding: 0 16px; margin: 0 -16px;
	scroll-padding-left: 16px; scrollbar-width: none;
}
#dashDock .ms__q::-webkit-scrollbar { display: none; }
/* `flex: none`, or a nowrap row shrinks every chip to its longest word.
   The 36px box is unchanged and `.ms__qb::after`'s negative insets already
   carry the 44px target (rule 3.7b), so the dock grows by the row and not
   by the rule. */
#dashDock .ms__qb { flex: none; }
/* THE THREAD'S OWN PHONE RULES DO NOT REACH IN HERE, which is the banner's
   point restated as three concrete losses: `.ms__send` goes back to the base
   40px, `.ms__clip` loses the `::after` that grows its 40px disc to a 46px
   target, and the textarea sits at 43 — all three under the 44px minimum the
   moment the field leaves `.app`. The dimension gate named two of them on the
   first run; the third is the same class and is restated with them rather
   than waiting to be caught.
   Restated, not re-derived: these are the same numbers as the `@container`
   block below, and a change to one is a change to both. */
#dashDock .ms__send { width: 44px; height: 44px; }
#dashDock .ms__clip { position: relative; }
#dashDock .ms__clip::after { content: ''; position: absolute; inset: -3px; }
#dashDock .ms__wrap textarea { min-height: 44px; }

/* THE PROTOTYPE'S DEVICE BOX IS NOT THE VIEWPORT, so the public page's
   column takes the frame's own ceiling there — the same arithmetic
   `.stage[data-view="phone"] .app` uses in index.html. Outside the frame
   this selector never matches and the `100dvh` rule above stands. It lives
   out here rather than in the @container block because `.stage` is an
   ancestor of `.app` and the law is about width queries, not about which
   elements a rule may name. */
.stage[data-view="phone"] .pj--phone { min-height: calc(100svh - 7rem); }

/* ---- phone ----------------------------------------------------------- */

@container (max-width: 900px) {
	.lede { grid-template-columns: 1fr; gap: var(--s5); }
}
/* ======================================================================
   THE PHONE IS A DIFFERENT COMPOSITION, NOT A REFLOW
   ----------------------------------------------------------------------
   Jack, 2026-10-22: "mobile screens do not match the claude design work."
   He was right, and the cause is the one already on record: I built from
   the handoff's prose and PATTERNS.md instead of opening its phone
   artboards. LITE 01 "Home phone browser v3" and LITE 02 "Jobs phone" are
   390x844 and lay the screen out differently from the desktop boards —
   they do not merely stack it.

   The design's own note ("Phone = browser"): "The app's floating dock is
   gone, because it would fight Safari's toolbar. Instead there's a 48px
   header, compact cards, and the smart-matching bar pinned just above the
   browser chrome. Nav lives behind the menu."

   THE LAST SENTENCE OF THAT NOTE IS REVERSED, 2026-11-23, by ADR-059 and by
   Jack: *"yes do the bottom tab bar."* Nav is a bottom tab bar now, in the
   body-level dock above this block. The rest of the note stands — the 48px
   header, the compact cards and the bar pinned above the browser chrome are
   all still what this file builds, and the bar is pinned for the first time
   because of the same change.

   Read the artboards for numbers, not this comment. One trap worth
   naming: the 47px band at the top and the 86px band at the bottom of
   those boards are the iOS status bar and Safari's own address bar, drawn
   as mockup chrome. They are NOT product UI. An 86px bottom dock here
   would be us reimplementing Safari.
   ====================================================================== */
@container (max-width: 760px) {
	/* A CONTAINER query, not a media query — see the banner above. */
	/* 16px under the header too: the date line was sitting flush against it
	   with a 0px gap, which read as clipped. The artboard's phone content
	   block is `padding: 16px 16px 0`. */
	.dash { padding-bottom: var(--s10); min-height: 100%; }   /* the gutter is the ladder above */


	/* ---- the 48px header: logo · Messages · Notifications · ☰ ---- */
	.dash__top {
		/* FLEX HERE, not the desktop grid. The three-column header
		   (`240px minmax(0,1fr) 240px` + 48px of gaps) needs 528px minimum
		   and the phone content box is 364 — so it overflowed by 4px and
		   .app scrolled sideways. Caught by the audit, not by eye. */
		display: flex; grid-template-columns: none;
		height: 48px; gap: 4px; padding: 0 8px 0 16px;
		border-bottom: 1px solid rgba(242, 238, 231, .08);
		background: rgba(11, 11, 12, .7);
		/* NOT sticky. A positioned header is the containing block for the
		   absolutely-placed ask bar inside it, which pinned the bar to the
		   bottom of the 48px header instead of the bottom of the screen.
		   The artboard's header does not scroll with the page anyway. */
		position: static; z-index: 4;
		/* Full-bleed sideways, and 16px of air underneath. The gap belongs in
		   THIS shorthand: as a separate `.dash__top { margin-bottom }` rule it
		   was reset by this one, and on `.dash__top + *` it landed on the nav,
		   which is display:none here — either way the date line stayed flush
		   against the header and read as clipped. */
		margin: 0 -16px 16px;
		/* NO backdrop-filter. It creates a containing block for fixed
		   descendants, and the ask bar is a child of this header — with a
		   blur here the bar pinned itself to the header instead of the
		   bottom of the screen. The artboard asks for a translucent
		   background and nothing more. */
	}
	.dash__top .lockup { height: 16px; }
	.dash__right { gap: 0; margin-left: auto; justify-self: auto; }
	.dash__top .icon--phone { display: inline-flex; }
	/* THE NAV IS HIDDEN HERE AND SHOWN IN THE DOCK, which is a move and not
	   a contradiction: `paintDock()` lifts this same `nav.tabs` node out of
	   `.app` into <body>, where no @container rule — this one included —
	   can reach it. It stays declared so the row never flashes as a desktop
	   underline tab row in the tick before the move. The ☰ keeps its copy of
	   the four items for now; thinning that sheet is Jack's call once he has
	   the bar in his hand. The avatar is an item in that sheet. */
	.tabs, .dash__right .avatar { display: none; }
	/* THE SPARK IS 36px AND A FINGER IS NOT. Dropping it from 40 to 36 for
	   the header's balance took it under the touch minimum on the phone
	   (check 8 caught it on Home, 36x36). Rule 3.7b: the hit area grows
	   without moving the layout, via the ::before this button already has —
	   36 + 4 either side is 44. The disc stays 36. */
	/* BOTH INLINE SPARKS, not just Home's. Scoping this to the header bar
	   left the Talent page's search button at 36x36 — same control, same
	   36px disc, same finger (check 8, caught on the re-run). The FAB form
	   is 56 and needs none of this. */
	.bar[data-page="home"] .spark::before,
	.bar--page .spark::before { inset: -4px; }
	.icon { width: 44px; height: 44px; border: 0; background: none; }
	/* A count badge belongs to the roomier desktop header; on the phone the
	   artboard uses a 7px dot, and the number is read out instead. */
	.icon__n { display: none; }

	/* ---- the ask bar is pinned above the browser chrome on Home ---- */
	/* ABSOLUTE, not fixed. .app carries container-type: inline-size, which
	   makes it the containing block for fixed descendants anyway — so fixed
	   buys nothing here and absolute says what actually happens. Same call
	   as `.stage[data-view="phone"] .slider` in agentic.css. */
	.bar[data-page="home"] {
		position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
		max-width: none; padding: 12px 16px calc(10px + env(safe-area-inset-bottom, 0px));
		background: linear-gradient(180deg, rgba(11, 11, 12, 0) 0%, rgba(11, 11, 12, .72) 60%, rgba(11, 11, 12, .96) 100%);
	}
	/* ROOM FOR THE DOCK, MEASURED RATHER THAN GUESSED. This was two
	   hardcoded numbers — 92px with Home's ask bar, 88 with the Spark —
	   and both were `:has()` tests for a bar that now lives in <body>, so
	   both would have silently resolved to the 88 branch.

	   `--dock-h` is written by `measureDock()` from the dock's real height
	   and watched by a ResizeObserver, because that height genuinely moves:
	   Home carries the ask row and Jobs does not, the tab labels re-wrap,
	   and the safe-area inset is a device fact we cannot know here. 16px of
	   air on top of it, the same ladder `--cns-h` uses two blocks down.

	   THE 72px FALLBACK IS REACHABLE AND IS THE OLD NUMBER. A phone screen
	   that renders no shell nav gets no dock — Sent, Pick, the public job —
	   and `measureDock()` REMOVES the property rather than writing 0 so that
	   this branch fires: 72 + 16 is the 88 those screens have always had. */
	.dash { padding-bottom: calc(var(--dock-h, 72px) + 16px); }
	.dash { position: static; }

	/* ---- and collapses to a 56px Spark everywhere else ----
	   TWO CORRECTIONS, 2026-10-26, both from Jack on the phone: "talent and
	   applications pages on mobile have the search button bottom left.
	   that's incorrect."

	   1. `width: auto` IS LOAD-BEARING. This rule anchors the bar with
	      `right: 16px; left: auto` and relies on it being shrink-to-fit, so
	      the 56px Spark lands bottom-RIGHT. Adding `width: 100%` to `.bar`
	      earlier today — to stop the header bar collapsing to its content —
	      made it span the frame instead, and the Spark fell to the left
	      edge on every non-home phone screen. One change, two opposite
	      requirements, and the second only shows at 390.

	   2. `.bar--page` IS NOT THE HEADER BAR. The Talent page's own search
	      field carries no `data-page`, so `:not([data-page="home"])` matched
	      it and turned a real field into a floating button with its input
	      hidden. It is excluded: that page IS search, so its field stays a
	      field at every width. */
	.bar:not([data-page="home"]):not(.bar--page) {
		position: absolute; right: 16px; left: auto; z-index: 5;
		bottom: calc(16px + env(safe-area-inset-bottom, 0px));
		width: auto; max-width: none; padding: 0; background: none;
	}
	.bar:not([data-page="home"]):not(.bar--page) .bar__wrap { display: none; }
	.bar:not([data-page="home"]):not(.bar--page) .spark {
		width: 56px; height: 56px; box-shadow: 0 10px 28px rgba(0, 0, 0, .5);
	}
	.bar:not([data-page="home"]):not(.bar--page) .spark svg { width: 22px; height: 22px; }

	/* ---- content ---- */
	.lede { grid-template-columns: 1fr; gap: var(--s2); }
	.lede__h { font-size: 22px; line-height: 1.2; }
	.next__t { font-size: 15px; }
	.next__h { margin-bottom: var(--s2); }
	.next__m { font-size: var(--t-xs); }
	.next__h .link { font-size: 13px; }

	/* Cue cards become a horizontal scroller of 272x164 cards. Stacking them
	   pushed "Your next jobs" off a 844px screen entirely. */
	/* The scroller is .lede__r, not .cues, because the "+N more" tile is a
	   SIBLING of .cues in the markup and the design puts it at the end of
	   the same scrolling row. .cues goes display:contents so both land on
	   one flex line. Full-bleed, so a card can sit under the screen edge. */
	.lede__r {
		display: flex; gap: 8px; align-items: stretch;
		overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
		margin: 0 -16px; padding: 2px 16px; -webkit-overflow-scrolling: touch;
		/* SCROLL-PADDING, or the gutter is cancelled on load. A
		   scroll-snap-align:start child snaps its edge to the SNAPPORT edge,
		   which ignores the scroller's own padding — so the browser scrolled
		   to 16 the moment the page settled, putting the first card flush
		   against the left edge of the screen while every other block on the
		   page sat at 16. Jack spotted it as "talent cancelled card doesn't
		   fit left side of screen padding". This insets the snapport to
		   match, so scrollLeft 0 is a valid snap position. */
		scroll-padding-left: 16px;
	}
	.lede__r::-webkit-scrollbar { display: none; }
	.cues { display: contents; }
	/* 164px exactly, not a minimum. The row stretches every card to the
	   tallest one, so a single long cue was making all of them 232. */
	.cue { flex: none; width: 272px; height: 164px; min-height: 0; scroll-snap-align: start; }
	.cue__in { padding: 12px 14px; max-width: 200px; gap: 6px; }
	/* The artboard's phone cue is tag / title / button and nothing else. The
	   timestamp and the meta line belong to the desktop board, and at 200px
	   they forced the tag to wrap to two lines (39px tall for an 11px pill)
	   and left the title and the CTA fighting for what was left. */
	.cue__when, .cue__m { display: none; }
	.cue__top { display: block; }
	.tagc { white-space: nowrap; align-self: flex-start; }
	/* Clamped, because a fixed height turns an extra line into a clipped one. */
	.cue__h {
		font-size: 15px; line-height: 1.25; margin-top: 0;
		display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	}
	.cue__m { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.cue__act { margin-top: auto; gap: 8px; flex-wrap: nowrap; }
	.cue__act .btn {
		min-height: 44px; height: 44px; font-size: 12px; padding: 0 16px;
		white-space: nowrap;   /* "Find a replacement" wrapped to two lines */
	}
	.cue__hint, .cue__aside, .cue__m { font-size: 11px; }
	.cue__faces { display: none; }   /* no room beside a nowrap CTA at 200px */
	.tagc { font-size: 11px; padding: 3px 8px; }

	/* The "+N more" row is a 120x164 tile at the end of that scroller. */
	.more {
		flex: none; width: 120px; height: 164px; min-height: 0; margin: 0;
		flex-direction: column; align-items: flex-start; justify-content: flex-start;
		padding: 14px; border-radius: 16px; gap: 2px;
	}
	.more__n { font-size: 28px; }
	.more__p { font-size: 13px; line-height: 1.35; white-space: normal; }
	.more .sep { display: none; }

	/* Home's job cards become compact rows: date · title · faces. The phone
	   artboard drops the cover photo here, which is what buys the room. */
	/* align-items must be reset: inherited `start` is the CROSS axis once this
	   is a column, so every card shrank to its content instead of filling. */
	.jobs { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
	.jobc {
		display: grid; grid-template-columns: 40px minmax(0, 1fr) auto;
		align-items: center; gap: 12px; padding: 10px 12px;
		border-radius: 14px; border: 0; background: rgba(22, 22, 26, .8);
	}
	/* display:contents lifts the cover's children into the row's own grid, so
	   the date chip, the caption and the faces become its three columns
	   without a second markup shape for the phone. */
	.jobc__cov { display: contents; }
	.jobc__cov > img, .jobc__grad, .jobc__seen, .jobc__cov .pill, .jobc .crew { display: none; }
	.jobc .datec {
		position: static; width: 40px; height: 42px; padding: 0;
		display: flex; flex-direction: column; align-items: center; justify-content: center;
		border-radius: 10px; background: var(--page); backdrop-filter: none; -webkit-backdrop-filter: none;
	}
	.jobc .datec__n { font-size: 15px; }
	.jobc__cap { position: static; padding: 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
	/* Same on the home card at phone width, and the same reservation: the
	   cards sit in a row and an uneven one reads as broken. Recorded +11px
	   against LITE 01's 3b board. */
	.jobc__t { font-size: 14px; line-height: 1.25; overflow: hidden; min-height: 2lh;
	           display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
	.jobc__m { font-size: 12px; }
	.jobc__body { padding: 0; }
	/* Edge to edge, as the artboard has them. At -6px they overlapped by a
	   quarter, which hides the ring — and the ring is the status. */
	.jobc .seats { display: flex; flex-direction: row; align-items: center; gap: 2px; }
	.jobc .seat__txt, .jobc .seat__act, .jobc .seat__wait, .jobc .seat__role, .jobc .seat__who { display: none; }
	.jobc .seat {
		min-height: 0; padding: 0; border-top: 0; gap: 0;
		width: 26px; height: 26px; margin-right: 0;
	}
	.jobc .seat > * { width: 26px; height: 26px; }

	/* Full width INSIDE the phone frame, not inside the window. `--toast-r` is
	   the measured distance from the window's right edge to the frame's, so
	   mirroring it on the left centres the toast over a 390px column sitting in
	   a 1400px window — where, before this, it spanned the whole window. */
	.toast { right: calc(var(--toast-r, 16px) - 8px); left: calc(var(--toast-r, 16px) - 8px);
	         bottom: calc(var(--toast-b, 32px) + 56px); max-width: none; border-radius: 14px; }
}

/* ---- reduced motion --------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.face.is-booked, .toast.is-in { animation: none; }
	.toast__bar { animation: none; transform: scaleX(1); }
}

/* ==========================================================================
   STEP 2 · JOBS LIST  (LITE 02, artboards 2a desktop / 2b phone)
   --------------------------------------------------------------------------
   A job is a ROW here, not a card: "every job is a strip of seats, so you can
   read who's booked across all of them at a glance. Each row has one next
   action." The crew is five ring states and no text, which is what makes a
   whole list readable without opening anything.
   ========================================================================== */

.jobs__h { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s5); }
.page__h { font-size: 42px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin-right: var(--s3); }

/* A SEGMENTED CONTROL, not loose buttons: one pill holding four. Gap 2.9. */
.jtabs {
	display: flex; gap: 4px; align-self: flex-start;
	padding: 4px; border-radius: 999px;
	background: rgba(22, 22, 26, .8); border: 1px solid rgba(242, 238, 231, .1);
}
.jtab {
	position: relative; height: 40px; min-height: 0; padding: 0 16px;
	display: inline-flex; align-items: center; gap: var(--s2);
	background: none; border: 0; border-radius: 999px;
	font: inherit; font-size: var(--t-body); color: var(--text-3); cursor: pointer;
}
.jtab:hover { color: var(--text); }
/* The selected tab is a cream fill, not Rizzz: which tab you are on is not
   an action, and Rizzz is spoken for. */
.jtab.is-on { background: var(--grey-100); color: var(--set-black); font-weight: 600; }
.jtab__n { font-variant-numeric: tabular-nums; opacity: .75; }
/* An orange dot means something inside that tab needs you. */
.jtab__dot { width: 7px; height: 7px; border-radius: 999px; background: var(--cavir); }

/* The Jobs filter, per the Jobs desktop artboard: a 260x44 outlined pill.
   It is a filter, not the ask bar, and the two are deliberately different
   controls — see the ONE ASK BAR note at the top of this file. */
.find { flex: 0 1 260px; margin-left: auto; display: block; min-width: 0; }
.find input {
	width: 100%; min-height: 44px; padding: 0 var(--s5);
	background: transparent; border: 1px solid var(--grey-600); border-radius: 999px;
	color: var(--text); font: inherit; font-size: var(--t-sm);
}
.find input::placeholder { color: var(--text-3); opacity: 1; }
/* FOCUS IS THE CONTROL'S OWN EDGE, NEVER A DETACHED BOX — the same rule as
   the ask bar, applied to the shape this control actually is. The bar
   thickens its underline; a pill brightens its border. Without this the
   global :focus-visible in thrilla.css puts a 3px cyan rectangle around it,
   which is the defect Jack has now called out twice.
   Regression note: this was covered while .find briefly shared the bar's
   treatment, and came back the moment it was returned to a pill (caught by
   tools/screen-audit.js, check 6, not by eye). */
.find input:focus, .find input:focus-visible {
	outline: 0; box-shadow: none; border-color: var(--text);
}

.sort {
	flex: none; min-height: 44px; padding: 0 var(--s3);
	background: var(--card); border: 1px solid var(--line-soft); border-radius: 999px;
	color: var(--text-2); font: inherit; font-size: var(--t-sm); cursor: pointer;
}
.sort:hover { color: var(--text); }

.grp {
	font-size: var(--t-xs); letter-spacing: var(--ls-caps); text-transform: uppercase;
	color: var(--text-3); margin: var(--s8) 0 var(--s3);
}
.grp:first-of-type { margin-top: var(--s5); }

/* ---- the row ------------------------------------------------------- */

/* ONE CONTAINER, ROWS DIVIDED BY A HAIRLINE (Jobs desktop artboard).
   We built five separate 14px cards with their own borders and an 8px gap,
   which reads as five objects; the design is one list with rows inside it.
   Gap 2.6 in the register. */
.rows {
	list-style: none; display: flex; flex-direction: column;
	border-radius: 20px; border: 1px solid rgba(242, 238, 231, .1);
	background: rgba(22, 22, 26, .72); overflow: hidden;
}
/* `.rows .row`, NOT `.row`. `thrilla.css` has owned a generic `.row` — a
   flex row with wrap — since before the dashboard existed, and it is used
   all over the brief and project screens. `dashboard.css` loads after it,
   so this Jobs-list grid was winning EVERYWHERE the word appeared: on the
   project screen it gave "Share your job" a 48px column and its Copy link
   button 270, which is a paragraph one character wide.

   Two meanings for one class name, decided by file order (rubric 2.7).
   Scoped here rather than renamed, because the jobs list is the newer
   claim on the name and the markup is already `ul.rows > li.row`.
   Found 2026-10-22 from Jack's screenshot; the audit passed the screen,
   because nothing CLIPPED — the text just wrapped, one letter at a time. */
.rows .row {
	display: grid;
	/* The artboard's tracks are `96 260 1fr 220 40` at a 1312px content width
	   (1440 less 64px gutters). This prototype's frame is --shell 1240 with
	   56px gutters, so we get 1128 — 184px less — and at the artboard's own
	   numbers either the date or the crew line clips.
	   The action column gives up the difference: it only ever holds one short
	   verb ("Replace dancer"), where the other two columns hold the time, the
	   city and who is still outstanding.

	   MEASURED AGAIN 2026-10-22, and it holds — but not for the reason you
	   would guess from the tokens. `thrilla.css` sets --shell 1440 / --gutter
	   64 at :root (the 2026-10-20 one-grid redesign), and `index.html`'s
	   `.frame { --gutter: 56px; --shell: 1240px; }` overrides both for every
	   screen. So the computed value ON `.dash` is 1240/56 and the content box
	   really is 1128. Read the computed value on the element, never the
	   declaration at :root — see the register, "the one-grid redesign is not
	   in effect", which is Jack's call to make, not a thing to quietly
	   widen. */
	grid-template-columns: 96px minmax(260px, 340px) minmax(0, 1fr) 180px 40px;
	align-items: center; gap: var(--s5);
	padding: 12px 16px 12px 12px;
	border-top: 1px solid var(--line-soft);
	background: none;
}
.rows .row:first-child { border-top: 0; }

/* The cover, with the date chip on it. 96x72 here, 48x48 on the phone. */
.row__cov {
	position: relative; width: 96px; height: 72px; border-radius: 12px;
	overflow: hidden; background: var(--card); display: block;
}
.row__cov > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
/* A row that needs the client gets a hairline edge, not a tint — the audit
   removed the orange row tint for exactly this reason. */
.rows .row--needs { border-left: 2px solid var(--cavir); }

.datec--row {
	position: absolute; top: 6px; left: 6px;
	padding: 3px 6px; border-radius: 8px; background: rgba(11, 11, 12, .78);
	line-height: 1.1; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.datec--row .datec__n { font-size: 15px; }

.row__main { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.row__top { display: flex; align-items: center; gap: var(--s2); min-width: 0; }
/* A REAL TITLE IS LONGER THAN A FIXTURE ONE — third site of the same
   defect today, after the job page's h1 and the home card. One line is
   right when the title is "Autumn menu launch"; "[Thrilla test] Three-day
   film shoot in Dubai" needs two. Clamped, so a very long title still
   cannot push the row's meta off. */
.row__t { font-size: 17px; font-weight: 600; line-height: 1.25; overflow: hidden;
          display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
/* nowrap: the pill and the date share line two. Wrapping made the line
   break on four of five rows and left the list visibly uneven (109px
   against 97px) — the row should be cover-driven at 96. */
.row__when { display: flex; align-items: center; gap: var(--s2); flex-wrap: nowrap; min-width: 0; }
.row__whenT { font-size: 13px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill--quiet { background: none; border: 1px solid var(--line); color: var(--text-2); }

.row__crew { min-width: 0; display: flex; align-items: center; gap: var(--s4); }
.rings { display: flex; align-items: center; gap: 6px; }
/* Five states, one legend, and the same rings as Home. Teal booked, cream
   casting, dashed grey invited, orange dashed urgent, dotted in review. */
/* 36px and SIDE BY SIDE. They overlapped at 28px, which hid the ring on
   every seat but the last — and the ring is the whole point of the strip:
   "You can read every crew without opening anything". Gap 2.8. */
.ring {
	width: 36px; height: 36px; border-radius: 999px; background: var(--sunken);
	flex: none; overflow: hidden; position: relative;
}
/* The ring is the status drawn AROUND a person. A seat with somebody in it
   shows them; an open or cancelled seat genuinely has nobody, and that
   emptiness is the information. */
.ring--who > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
.ring--booked  { box-shadow: 0 0 0 2px var(--st-active); }
.ring--casting { box-shadow: 0 0 0 2px var(--grey-300); }
.ring--invited { border: 2px dashed var(--grey-600); background: none; }
.ring--urgent  { border: 2px dashed var(--cavir); background: none; }
.ring--review  { border: 2px dotted var(--grey-600); background: none; }
.row__sum { font-size: 14px; color: var(--text-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Columns 4 and 5 are fixed tracks, so the action no longer needs
   margin-left:auto to be pushed right — the grid does that. */
.row__act { display: contents; }
.row__act .btn, .row__act .link { justify-self: end; }
.row__cta { min-height: 40px; padding: 0 18px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.dots {
	width: 44px; height: 44px; flex: none; background: none; border: 0; border-radius: 999px;
	color: var(--text-3); font-size: 1.1rem; cursor: pointer; line-height: 1;
}
.dots:hover { color: var(--text); background: var(--card-lift); }

/* An empty tab says what it means. "Drafts empty" and "Completed empty" are
   different sentences, so they are written separately rather than shared. */
.empty {
	font-size: var(--t-body); color: var(--text-2);
	border: 1px dashed var(--line-soft); border-radius: 14px;
	padding: var(--s8) var(--s5); text-align: center; max-width: 46ch; margin: var(--s5) auto;
}

/* ---- phone (2b) ----------------------------------------------------- */

/* Jobs on a phone (LITE 02 "Jobs phone"): a four-column grid of tab pills,
   then compact rows that KEEP their rings at 20px. The rings were hidden
   here, which took away the one thing the design says you can read without
   opening anything ("You can read every crew without opening anything"). */
@container (max-width: 760px) {
	.jobs__h { gap: 12px; }   /* the header's margin already gives the 16 */
	.page__h { flex: 1 0 100%; font-size: 22px; }

	.jtabs {
		flex: 1 0 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 6px; overflow: visible;
	}
	/* 44px tall for the tap target, with the 36px pill drawn inside it —
	   which is exactly how the artboard builds it (`height:44px;
	   padding:4px 0` around a 36px span). The pill alone was a 36px target. */
	.jtab {
		flex: none; min-width: 0; height: 44px; padding: 4px 0;
		border-radius: 999px; font-size: 13px; gap: 6px;
		justify-content: center; white-space: nowrap; overflow: hidden;
		/* The selected fill paints the 36px pill, not the 44px target —
		   the extra 8px is hit area and should not be visible. */
		background-clip: content-box;
	}
	.jtab__n { display: none; }   /* no room beside the label at 1/4 of 390px */

	/* The filter and sort are not on the phone artboard at all: the four tabs
	   are the filter there, and sort lives in the row menu. */
	.find, .sort { display: none; }

	.grp { font-size: 11px; margin: var(--s5) 0 var(--s2); }
	/* The phone artboard has separate rows, not the desktop's single bordered
	   container — so the container styling is unwound here rather than the
	   desktop rule being weakened. */
	.rows {
		gap: 8px; border: 0; border-radius: 0; background: none; overflow: visible;
	}
	.rows .row {
		display: grid; grid-template-columns: 48px minmax(0, 1fr);
		/* 12 across, 4 down: `gap: 12px` applied to both axes and left the
		   title and the crew line 12 apart, which made a 70px row 102. */
		align-items: start; gap: 4px 12px; padding: 10px; min-height: 0;
		border-radius: 14px; background: rgba(22, 22, 26, .82);
		border: 1px solid rgba(242, 238, 231, .08);
		border-top: 1px solid rgba(242, 238, 231, .08);
	}
	.row__cov { width: 48px; height: 48px; border-radius: 10px; grid-row: span 2; }
	.rows .row .datec--row { top: 3px; left: 3px; padding: 1px 4px; border-radius: 4px; }
	.rows .row .datec--row .datec__d { font-size: 9px; }
	.rows .row .datec--row .datec__n { font-size: 11px; }
	.row__main { min-width: 0; grid-column: 2; }
	/* TWO LINES RESERVED, not two lines allowed. Clamping alone made a
	   one-line title a shorter row than a two-line one, which breaks rule
	   4.2 — rows in one list are one height. `min-height: 2lh` keeps every
	   row equal whatever the title. The cost is a recorded +10px against
	   LITE 02's 2b board, which was drawn with "Autumn menu launch"; a real
	   title is longer and clipping it (rule 4.1) is the worse trade. */
	.row__t { font-size: 14px; -webkit-line-clamp: 2; min-height: 2lh; }
	/* The artboard's phone row is TWO lines: title with its phase pill, then
	   crew. The date is on the cover chip, so only the date TEXT goes — the
	   pill stays, because it is how the row says what phase the job is in.
	   display:contents lifts the pill out of the second line and back beside
	   the title, where there is room for it at this size. */
	.row__whenT { display: none; }
	.row__when { display: contents; }
	.row__main { flex-direction: row; align-items: center; flex-wrap: nowrap; gap: 6px; }
	.row__top { min-width: 0; flex: 1 1 auto; }
	/* THE PHASE IS A DOT HERE, NOT A PILL. The artboard uses an 8px dot after
	   the title on the phone, and the reason shows the moment you build the
	   pill instead: "30s TVC for a fintech app" plus IN REVIEW does not fit
	   390px, so that one row wrapped to 101px against everyone else's 71. */
	.rows .row .pill {
		flex: none; width: 8px; height: 8px; min-height: 0; padding: 0;
		border-radius: 999px; font-size: 0; overflow: hidden;
		background: var(--grey-300); border: 0;
	}
	.rows .row .pill--need { background: var(--cavir); }
	.rows .row .pill--quiet { background: var(--grey-600); }
	.row__crew { grid-column: 2; display: flex; align-items: center; gap: 8px; min-width: 0; }
	.row__sum { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.rows .rings { gap: 0; }
	.rows .row .ring { width: 20px; height: 20px; border-width: 2px; margin-right: -4px; }
	.rows .row .ring--booked, .row .ring--casting { box-shadow: 0 0 0 2px currentColor; }
	/* Tapping the row opens the job, so the explicit button and the menu go.
	   The pill stays: it is how the row says what phase the job is in. */
	.rows .row__act { display: none; }
}

/* ==========================================================================
   STEP 1b · NOTIFICATIONS PANEL  (LITE 02, artboards 2c / 2d / 2e)
   + the row menu (PATTERNS.md §3)
   --------------------------------------------------------------------------
   A side panel, so the page behind stays visible and keeps its scroll
   position: 560px from the right on desktop, a bottom sheet at 90% on a
   phone with the top 96px of the page still showing so you know where you
   are. At most one is ever open; panels replace rather than stack.
   ========================================================================== */

.panel-scrim {
	position: fixed; inset: 0; z-index: 70;
	background: rgba(11,11,12,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	animation: scrimIn 180ms ease-out 1;
}
@keyframes scrimIn { from { opacity: 0; } to { opacity: 1; } }

.panel {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 71;
	width: min(560px, 100vw); display: flex; flex-direction: column;
	background: var(--grey-800); border-left: 1px solid var(--line-soft);
	animation: panelIn 240ms ease-out 1; overflow-y: auto;
}
@keyframes panelIn { from { transform: translateX(16px); opacity: 0; } to { transform: none; opacity: 1; } }

.panel__h { display: flex; align-items: center; gap: var(--s3); padding: var(--s5) var(--s5) var(--s3); }
.panel__h .link { margin-left: auto; }
.panel__x { width: 44px; height: 44px; flex: none; background: none; border: 0; color: var(--text-2); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.panel__x:hover { color: var(--text); }
.panel__lede { font-size: var(--t-sm); color: var(--text-3); padding: 0 var(--s5) var(--s3); }

.ptabs { display: flex; gap: var(--s3); padding: 0 var(--s5); border-bottom: 1px solid var(--line-soft); }
.ptab {
	position: relative; min-height: 44px; padding: 0 .2rem;
	display: inline-flex; align-items: center; gap: .4rem;
	background: none; border: 0; cursor: pointer; font: inherit; font-size: var(--t-body); color: var(--text-3);
}
.ptab.is-on { color: var(--text); font-weight: 600; }
.ptab.is-on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--text); }
/* The To do count IS the orange badge on the bell, so it is orange here too. */
.ptab__n {
	min-width: 20px; height: 20px; border-radius: 999px; background: var(--cavir); color: var(--set-black);
	font-size: 11px; font-weight: 600; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums;
}

.chips { display: flex; gap: var(--s1); flex-wrap: wrap; padding: var(--s3) var(--s5); }
.chip {
	min-height: 36px; padding: 0 var(--s3); display: inline-flex; align-items: center; gap: .35rem;
	background: none; border: 1px solid var(--line-soft); border-radius: 999px;
	font: inherit; font-size: var(--t-sm); color: var(--text-3); cursor: pointer;
	position: relative;
}
/* Looks 36, hits 44 — the audit's rule, kept without making the chip bigger. */
.chip::before { content: ''; position: absolute; inset: -4px 0; }
.chip.is-on { background: var(--grey-100); color: var(--set-black); border-color: var(--grey-100); font-weight: 600; }
.chip__n { font-variant-numeric: tabular-nums; opacity: .75; }

.nlist { list-style: none; padding: 0 var(--s5) var(--s8); }
/* Hairlines, not nested cards — the panel is already a container. */
/* Board 2c: a THREE-COLUMN grid with a face — 44px · [tag+ago, title,
   context] · the action. It was a stacked card with no face at 190px against
   the board's 114, which is what the board-metrics check caught. */
.nitem {
	display: grid; grid-template-columns: 44px minmax(0, 1fr) auto;
	gap: var(--s4); padding: 14px 0;
	border-bottom: 1px solid rgba(242, 238, 231, .08);
}
.nitem:last-child { border-bottom: 0; }
.nitem__f { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 2px var(--grey-600); }
.nitem__b { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nitem__act { flex-direction: column; align-items: flex-end; gap: 6px; }
.nitem__top { display: flex; align-items: center; gap: var(--s2); }
.nitem__when { font-size: var(--t-xs); color: var(--text-3); }
.nitem__h { font-size: var(--t-body); font-weight: 600; line-height: 1.3; }
.nitem__m { font-size: 13px; line-height: 1.35; color: var(--text-3); font-variant-numeric: tabular-nums; }
.nitem__act { display: flex; margin: 0; }
.nitem__act .btn { min-height: 40px; height: 40px; padding: 0 16px; font-size: 12px; white-space: nowrap; }

.nact { padding: var(--s3) var(--s5) var(--s8); }
.nday { font-size: var(--t-xs); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--text-3); margin: var(--s5) 0 var(--s2); }
.nfeed { list-style: none; display: flex; flex-direction: column; }
.nline {
	display: grid; grid-template-columns: auto 1fr; gap: 0 var(--s2);
	padding: var(--s3) 0 var(--s3) var(--s5); border-top: 1px solid var(--line-soft); position: relative;
}
.nfeed:first-of-type .nline:first-child { border-top: 0; }
/* A cream dot for unread, never orange — an activity line is news, not a task. */
.nline.is-unread::before {
	content: ''; position: absolute; left: var(--s2); top: 1.15rem;
	width: 6px; height: 6px; border-radius: 999px; background: var(--grey-300);
}
.nline__tick { grid-row: span 2; color: var(--st-active); font-size: var(--t-sm); }
.nline__h { font-size: var(--t-sm); }
.nline__m { font-size: var(--t-xs); color: var(--text-3); grid-column: 2; }

/* ---- the row menu --------------------------------------------------- */

.menu {
	position: absolute; z-index: 80; width: 220px;
	background: var(--grey-800); border: 1px solid var(--line-soft); border-radius: 12px;
	padding: var(--s1); box-shadow: 0 18px 40px rgba(0,0,0,.5);
	animation: menuIn 120ms ease-out 1;
}
@keyframes menuIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.menu__i {
	display: block; width: 100%; text-align: left; min-height: 44px; padding: 0 var(--s3);
	background: none; border: 0; border-radius: 8px; cursor: pointer;
	font: inherit; font-size: var(--t-sm); color: var(--text);
}
.menu__i:hover { background: var(--card-lift); }
/* Destructive is orange AND last, so the pointer never lands on it first. */
.menu__i--bad { color: var(--cavir-bright); }

/* ---- phone: the panel becomes a sheet -------------------------------- */

/* The panel is a bottom sheet on the phone (LITE 02 "Needs your action
   phone"): it starts below the header rather than filling the screen, and it
   has a grab handle, because a sheet with no handle reads as a stuck page.

   TWO selectors, deliberately. #dashPanel is appended to <body>, outside
   .app, so a @container rule cannot reach it; and in the prototype's phone
   view the window is still ~1400px wide, so a @media rule does not fire
   either. `[data-view="phone"]` is set on the host by paintPanel, and the
   media query covers a genuinely narrow browser. */
/* Fixed to the viewport and then placed INSIDE the device box, whose
   geometry paintPanel measures and passes down. Absolute would resolve
   against <body> and span the whole reviewer's window. */
#dashPanel[data-view="phone"] .panel-scrim {
	position: fixed;
	left: var(--dev-l, 0); top: var(--dev-t, 0);
	width: var(--dev-w, 100%); height: var(--dev-h, 100%);
	inset: auto; border-radius: var(--r-xl, 20px);
}
#dashPanel[data-view="phone"] .panel {
	position: fixed; inset: auto;
	left: var(--dev-l, 0); width: var(--dev-w, 100%);
	top: calc(var(--dev-t, 0px) + 96px);
	height: calc(var(--dev-h, 100%) - 96px);
	right: auto; bottom: auto;
	border-left: 0; border-top: 1px solid rgba(242, 238, 231, .14);
	border-radius: 24px 24px 0 0; background: #121215;
	padding-top: 14px; padding-bottom: env(safe-area-inset-bottom, 0px); animation: sheetIn 280ms ease-out 1;
}
/* The handle. Decorative, so it is a pseudo-element and not a focus stop. */
#dashPanel[data-view="phone"] .panel::before {
	content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
	width: 40px; height: 4px; border-radius: 2px; background: #646466;
}
@keyframes sheetIn { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
#dashPanel[data-view="phone"] :is(.panel__h, .panel__lede, .chips, .nlist, .nact, .ptabs) {
	padding-left: 16px; padding-right: 16px;
}
#dashPanel[data-view="phone"] .ptabs { gap: 24px; }
#dashPanel[data-view="phone"] .ptab { height: 44px; font-size: 15px; }
/* THE SHEET'S ROW IS 69-76px ON THE BOARD, and was 173-195 here — more than
   twice the height, because this rendered as a stacked card (tag+when, title,
   meta, then the actions on their own line) where board 2d is a THREE-COLUMN
   grid: 36px face · [tag, title] · one 44px button, inline.
   The timestamp and the meta line are not on the phone board at all. */
/* ── TWO ROWS ON THE PHONE, AND THE ARITHMETIC IS THE ARGUMENT ────────────
   Board 2d draws a three-column row — 36px face, text, one button, inline —
   and that shape is kept wherever it fits. On the blocking row it cannot
   fit, and no tuning makes it: measured at 375, the content track is 283px
   and the row needs 141 (the "Talent cancelled" pill, which must not wrap —
   a two-line pill reads as broken) + 12 + 144 (the wrapped "Find a
   replacement") = 297. The pill therefore overflowed its own column and
   painted over the action, and the headline was squeezed to 62px and clamped
   to two lines, so the most urgent item in the product read
   `TALENT CANCELLE[FIND A REPLACEMENT]` with "Noor A. can't…" truncated
   underneath it (2026-11-11 audit, overlay A).

   So the action moves to a second line of the same row, right-aligned. It is
   MOVED, not removed or replaced, which is Jack's constraint; the row grows
   88 -> ~116px; and the headline gets the full text column, which is what a
   person is being asked to read before they act. Divergence from board 2d,
   recorded. */
#dashPanel[data-view="phone"] .nitem {
	grid-template-columns: 36px minmax(0, 1fr);
	grid-template-areas: "face body" "gap act";
	align-items: center; gap: 8px 12px; padding: 12px 0;
}
#dashPanel[data-view="phone"] .nitem__f { grid-area: face; }
#dashPanel[data-view="phone"] .nitem__b { grid-area: body; }
#dashPanel[data-view="phone"] .nitem__act { grid-area: act; justify-content: flex-end; }
#dashPanel[data-view="phone"] .nitem__f { width: 36px; height: 36px; }
#dashPanel[data-view="phone"] .nitem__b { gap: 2px; }
#dashPanel[data-view="phone"] .nitem__act { flex-direction: row; align-items: center; }
#dashPanel[data-view="phone"] .nitem__top { gap: 0; }
/* THE STATUS PILL NEVER WRAPS. "Talent cancelled" broke across two lines
   inside its own pill, because its row's action is the longest label on the
   panel ("Find a replacement") and the auto column took 180 of 334 —
   leaving 118 for everything else. A two-line pill reads as broken in a way
   a two-line sentence does not. The pill holds its line; the action is
   capped so it cannot take more than its share; and a long label wraps
   inside the BUTTON, which is a shape that can carry two lines. */
#dashPanel[data-view="phone"] .nitem__top .tagc {
	font-size: 11px; letter-spacing: .06em; white-space: nowrap;
}
/* THE 42% CAP GOES WITH THE INLINE ROW IT EXISTED FOR. It was there to stop
   the action taking the text column's width; on its own line there is no
   column to take, and a cap now just makes a button needlessly small. */
#dashPanel[data-view="phone"] .nitem__act .btn {
	white-space: normal; line-height: 1.2; height: auto; min-height: 44px;
	padding: 6px 12px; text-align: center; font-size: 12px;
}
#dashPanel[data-view="phone"] .nitem__h {
	font-size: 14px; font-weight: 600; line-height: 1.3;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
#dashPanel[data-view="phone"] :is(.nitem__when, .nitem__m) { display: none; }
#dashPanel[data-view="phone"] .nitem__act { margin: 0; gap: 0; flex-wrap: nowrap; }
#dashPanel[data-view="phone"] .nitem__act .link { display: none; }
/* THE DUPLICATE THAT CANCELLED THE RULE ABOVE IS GONE (2026-11-22).
   `.nitem__act .btn` was declared TWICE in this block, eleven lines apart,
   and source order decides between equal specificities (rule 2.7) — so the
   second won and the first, with the comment explaining the whole fix, did
   nothing. `white-space: nowrap` plus a fixed `height: 44px` left "Find a
   replacement" unable to wrap and unable to shrink: 210px of button in a 42%
   cap, painting over its own row's tag. Measured by the 2026-11-11 audit as
   `tagc` x64->205 against a button starting at x149, and reported as the
   worst-reading row in the product: `TALENT CANCELLE[FIND A REPLACEMENT]`.
   The rule above was always right. It just never applied.
   The second effect is the headline: with the action no longer taking more
   than its share, `nitem__h`'s column widens and its two-line clamp stops
   truncating "Noor A. can't make 5 Dec." — which is the register's
   `home/panel:notifications|phone@375|clamp|box:nitem__h`. */

/* A short action sheet from the bottom, 56px rows (PATTERNS.md §3). The menu
   is also appended to <body>, so it is keyed off the same flag on <html>. */
/* A BOTTOM SHEET INSIDE THE DEVICE BOX, not across the reviewer's window.
   `16px` from each side of the VIEWPORT made this 1545px wide beside a
   390px phone, which is the same mistake as every other overlay here and
   the most visible one — it reads as the app falling out of its frame.
   `openMenu` now hands over the device box as --dev-*, the way frameTo()
   does for the panel, the profile and the share sheet. */
html[data-phone="1"] .menu {
	position: fixed;
	left: calc(var(--dev-l, 0px) + 16px) !important;
	width: calc(var(--dev-w, 100vw) - 32px);
	right: auto;
	top: auto !important;
	bottom: calc(100dvh - (var(--dev-t, 0px) + var(--dev-h, 100dvh)) + 16px);
	max-height: calc(var(--dev-h, 100dvh) - 96px);
	overflow-y: auto;
}
html[data-phone="1"] .menu__i { min-height: 56px; }

@media (prefers-reduced-motion: reduce) {
	.panel, .panel-scrim, .menu { animation: none; }
}

/* ======================================================================
   STEP 3b · THE ASK ANSWER PANEL  (LITE 03, artboard "Ask answer panel")
   ----------------------------------------------------------------------
   A centred dialog, not a side panel — 560x900 in the artboard, with a
   border all the way round and its own shadow. The notifications panel is
   a side panel and this deliberately is not: one answers "what needs me",
   which belongs at the edge, and this answers a question you just asked,
   which belongs in front of you.
   ====================================================================== */

#dashAsk .panel-scrim { z-index: 80; }
.askp {
	position: fixed; z-index: 81; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: min(560px, calc(100vw - 32px)); max-height: min(900px, calc(100dvh - 64px));
	display: flex; flex-direction: column; overflow: hidden;
	background: rgba(16, 16, 19, .98); border: 1px solid rgba(242, 238, 231, .12);
	border-radius: 12px; box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
	animation: askIn 240ms var(--ease-out, ease-out) 1;
}
@keyframes askIn {
	from { transform: translate(-50%, -48%); opacity: 0; }
	to   { transform: translate(-50%, -50%); opacity: 1; }
}

.askp__h {
	flex: none; padding: var(--s7) var(--s6) var(--s5);
	display: flex; flex-direction: column; gap: var(--s3);
	border-bottom: 1px solid rgba(242, 238, 231, .08);
}
.askp__top { display: flex; align-items: center; gap: var(--s3); }
.askp__top .eyebrow { flex: 1; }
.askp__q { font-size: var(--t-sm); color: var(--text-2); }
/* The headline says who FITS, never who is free. Availability is confirmed
   by the talent, which is what the line under it promises. */
.askp__hd { font-size: 24px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.askp__sub { font-size: var(--t-sm); color: var(--text-2); }

.askp__list { flex: 1 1 auto; min-height: 0; overflow-y: auto; list-style: none; padding: 4px var(--s6); }
.askr {
	display: grid; grid-template-columns: 48px minmax(0, 1fr) auto;
	align-items: center; gap: 14px; padding: var(--s4) 0;
	border-bottom: 1px solid rgba(242, 238, 231, .07);
}
.askr:last-child { border-bottom: 0; }
.askr .face--lg { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; }
.askr__m { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.askr__n { font-size: var(--t-body); font-weight: 600; }
.askr__r, .askr__note { font-size: 13px; color: var(--text-2); }
.askr__note { color: var(--text-3); }
.askr__act { display: flex; align-items: center; gap: var(--s2); }
.askr__see { min-height: 40px; height: 40px; padding: 0 14px; font-size: 13px; white-space: nowrap; }

/* The tick is a 28px mark in a 44px target — the hit area is padded rather
   than the mark being grown, the same call as the spark. */
.tick {
	width: 44px; height: 44px; flex: none; padding: 0; border: 0;
	background: none; cursor: pointer; display: inline-flex;
	align-items: center; justify-content: center;
}
.tick__b {
	width: 28px; height: 28px; box-sizing: border-box; border-radius: 999px;
	border: 1px solid var(--grey-600); background: transparent;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 14px; font-weight: 700; line-height: 1; color: var(--set-black);
	transition: background var(--dur, 160ms) ease-out, border-color var(--dur, 160ms) ease-out;
}
.tick[aria-checked="true"] .tick__b { background: var(--action); border-color: transparent; }
.tick:hover .tick__b { border-color: var(--text-2); }

.askp__f {
	flex: none; padding: var(--s5) var(--s6);
	border-top: 1px solid rgba(242, 238, 231, .1);
	display: flex; align-items: center; gap: var(--s4);
}
.askp__f .link { flex: 1; text-align: left; font-size: var(--t-sm); font-weight: 500; }
.askp__f .btn { min-height: 48px; padding: 0 22px; font-size: 13px; }
.askp__f .btn[disabled] { opacity: .45; cursor: not-allowed; }

/* On a phone it is a sheet from the bottom, like the notifications panel —
   a 560px centred dialog has nowhere to be centred at 390. */
#dashAsk[data-view="phone"] .askp {
	/* The host is fixed to the VIEWPORT, so `bottom: 0` is the window's
	   bottom, not the device's — which left the sheet floating 17px above
	   the frame. Measured off the device box the same way the notifications
	   sheet is. */
	top: auto; left: var(--dev-l, 0); transform: none;
	bottom: calc(100dvh - (var(--dev-t, 0px) + var(--dev-h, 100dvh)));
	width: var(--dev-w, 100%); max-height: calc(var(--dev-h, 100dvh) * .86);
	border-radius: 24px 24px 0 0; border-left: 0; border-right: 0; border-bottom: 0;
	animation: sheetIn 280ms ease-out 1;
}
#dashAsk[data-view="phone"] .askp__h { padding: var(--s5) var(--s4) var(--s4); }
#dashAsk[data-view="phone"] .askp__list { padding-left: var(--s4); padding-right: var(--s4); }
#dashAsk[data-view="phone"] .askp__f { padding: var(--s4); }
#dashAsk[data-view="phone"] .askp__hd { font-size: var(--t-h4); }
/* The row stacks its action under the name: 48 + text + two controls does
   not fit 390 without the name being clipped, and the name is the point. */
#dashAsk[data-view="phone"] .askr { grid-template-columns: 48px minmax(0, 1fr); row-gap: var(--s2); }
#dashAsk[data-view="phone"] .askr__act { grid-column: 2; }
/* 44 on touch. The artboard draws it at 40, which the step-3 audit accepts
   for pointer use (WCAG 2.2 AA is 24px) while requiring 44 on the phone —
   "On touch they render with 44px hit areas, as on 3c, 3g and 3h". The
   second pass caught the same thing on 3h's Send button. */
#dashAsk[data-view="phone"] .askr__see { flex: 1; min-height: 44px; height: 44px; }
/* "Turn this into a job" broke across two lines at 390 because the CTA took
   the room first. The link keeps its words; the CTA gives up the padding. */
#dashAsk[data-view="phone"] .askp__f { gap: var(--s3); }
#dashAsk[data-view="phone"] .askp__f .link { flex: 0 1 auto; white-space: nowrap; }
#dashAsk[data-view="phone"] .askp__f .btn { flex: 0 1 auto; min-width: 0; padding: 0 14px; }

@media (prefers-reduced-motion: reduce) {
	.askp { animation: none; }
}

/* ======================================================================
   STEP 3d · SENT  (LITE 03, artboard "Sent")
   ----------------------------------------------------------------------
   56px of padding, a 42px headline held to 18ch and a 17px line held to
   52ch — both caps are the artboard's, and both matter: this screen is
   almost entirely two paragraphs, so the measure IS the layout.
   ====================================================================== */

.sent {
	min-height: 70vh; display: flex; flex-direction: column; gap: var(--s5);
	padding-top: var(--s9);
}
.sent__top { display: flex; flex-direction: column; gap: var(--s3); }
.sent__h {
	font-size: 42px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1;
	max-width: 18ch;
}
.sent__p { font-size: 17px; line-height: 1.5; color: var(--text-2); max-width: 52ch; }

/* DASHED GREY is "invited" in the ring legend. Nothing here is booked, so
   nothing here is teal. */
.sent__row { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.sent__f { display: inline-flex; margin-left: -10px; }
.sent__f:first-child { margin-left: 0; }
.sent .face--inv {
	width: 44px; height: 44px; border-radius: 999px; object-fit: cover;
	border: 2px dashed var(--grey-400, #999); background: var(--sunken);
}
.sent__n { font-size: var(--t-sm); color: var(--text-2); }

.sent__act { display: flex; align-items: center; gap: var(--s4); margin-top: auto; flex-wrap: wrap; }
.sent__act .btn { min-height: 48px; padding: 0 22px; font-size: 13px; }
.sent__act .btn__i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sent__act .link { font-size: var(--t-sm); font-weight: 500; }

.sent--empty { gap: var(--s3); }

@container (max-width: 760px) {
	.sent { padding: var(--s5) 16px var(--s10); min-height: 0; }
	.sent__h { font-size: var(--t-h2); }
	.sent__p { font-size: var(--t-body); }
	/* The two actions stack and fill, so neither is a 180px target in a
	   360px row. 48px each, which is over the touch minimum. */
	.sent__act { flex-direction: column; align-items: stretch; gap: var(--s3); margin-top: var(--s5); }
	.sent__act .btn, .sent__act .link { width: 100%; min-height: 48px; }
	.sent__act .link { display: inline-flex; align-items: center; justify-content: center; }
}

/* ======================================================================
   STEP 3f / 3g · CHOOSE TALENT  (LITE 03, "Available talent")
   ----------------------------------------------------------------------
   Card grid at `auto-fill, minmax(216px, 1fr)` on desktop and two fixed
   columns on the phone, both from the artboards. No card carries money:
   the step-3 audit makes that a rule, not a layout accident.
   ====================================================================== */

.pick { display: flex; flex-direction: column; gap: var(--s4); padding-bottom: var(--s12); }

.pick__top { display: flex; align-items: center; gap: var(--s5); height: 80px; }
.steps { list-style: none; display: flex; align-items: center; gap: var(--s3); flex: 1; }
/* `flex: none` on BOTH, because neither may shrink. Without it the numbered
   circle squeezed to a sliver and the label wrapped to two lines wherever
   the row was tight — which is every width on the brief, where the step
   indicator shares its row with "Saved as a draft" and Close. Jack caught
   it on the brief, 2026-10-25. The CONNECTOR is the thing that gives way:
   it is a rule between two steps and has nothing to say at a narrow width. */
.step { display: flex; align-items: center; gap: var(--s2); font-size: var(--t-sm);
	font-weight: 500; color: var(--text-3); flex: none; white-space: nowrap; }
.step + .step::before { content: ''; width: 32px; min-width: 0; flex: 0 1 32px;
	height: 1px; background: var(--grey-600); margin-right: var(--s3); }
.step__n {
	width: 24px; height: 24px; flex: none; box-sizing: border-box; border-radius: 999px;
	border: 1px solid var(--grey-600); display: inline-flex; align-items: center;
	justify-content: center; font-size: var(--t-xs); font-weight: 700;
}
.step.is-on { color: var(--text); font-weight: 600; }
.step.is-on .step__n { background: var(--text); color: var(--page); border-color: transparent; }
.step.is-done { color: var(--text-2); }
.step.is-done .step__n { border-color: var(--text); color: var(--text); }
.pick__draft { font-size: var(--t-sm); color: var(--text-3); }

.pick__back { align-self: flex-start; min-height: 44px; margin: -12px 0 -8px; font-size: var(--t-sm); font-weight: 500; }
.pick__h { font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.pick__sub { font-size: var(--t-sm); color: var(--text-2); }

.ptabs2 { display: flex; gap: var(--s6); border-bottom: 1px solid rgba(242, 238, 231, .1); overflow-x: auto; scrollbar-width: none; }
.ptabs2::-webkit-scrollbar { display: none; }
/* TWO LINES, NOT ONE RUNNING OFF THE EDGE. This was a single 17px row —
   `Content Creator · Food & Culinary Creator` and a count — which measured
   392px on its own, so two tabs totalled 707px in a 343px scroller and the
   second was entirely off-screen with no edge to say so. The profession is
   what you choose between and keeps the 17px; the expertise qualifies it and
   drops to 11px beside the count. */
.ptab2 {
	flex: none; min-height: 48px; max-width: 60vw; padding: 0; border: 0; background: none; cursor: pointer;
	display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
	font: inherit; font-size: 17px; font-weight: 500; color: var(--text-3);
	box-shadow: inset 0 -2px 0 transparent; text-align: left;
}
.ptab2.is-on { color: var(--text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--text); }
/* Each line clips to the tab rather than the tab growing to the text. */
.ptab2__t, .ptab2__s { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.ptab2__s { font-size: 11px; font-weight: 500; color: var(--text-3); }

.pick__ctl { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.pick__sp { flex: 1; }
/* Matches the sort pill beside it rather than `.link`'s own 44px, which
   would grow a row the board measures exactly (rule 3.7b). Desktop only —
   this whole row is hidden on a phone. */
.pick__ctl .link { min-height: 40px; }
.pick__sortwrap { position: relative; }
.pick__sort {
	height: 40px; padding: 0 14px; border-radius: 999px;
	border: 1px solid var(--text); background: transparent;
	color: var(--text); font: inherit; font-size: var(--t-sm); cursor: pointer;
}
/* ═══ ONE SORT MENU, TWO SCREENS ═════════════════════════════════════════
   This was `.pick__why`, a 340px popover whose body explained "how best fit
   works" in five numbered factors plus three more orders in prose. None of
   it was implemented — Thrilla Score has no column anywhere (F-25) — so it
   described a ranking the product does not do, and the three "also sort by"
   orders were sentences rather than controls. See `sortDefs` in dashboard.js
   for the options that replaced it and why each one has a field behind it.

   IN FLOW BY DEFAULT, positioned only where a screen asks. Applications
   holds its sort inside a chip row that is `overflow-x: auto` on a phone,
   and a popover inside a scroller is clipped by it. */
.sortm {
	display: flex; flex-direction: column; align-self: start;
	min-width: 220px; max-width: 100%; padding: 6px;
	border-radius: 14px; background: rgba(22, 22, 26, .98);
	border: 1px solid rgba(242, 238, 231, .14);
}
.sortm__o {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
	padding: 0 10px; border: 0; border-radius: 10px; background: none;
	cursor: pointer; font: inherit; font-size: var(--t-sm); color: var(--text-2);
	text-align: left; white-space: nowrap;
}
.sortm__o:hover { color: var(--text); }
.sortm__o.is-on { color: var(--text); font-weight: var(--fw-semi); }
/* The tick is NOT a status colour. A selected radio is not an "active"
   booking, and the semantic set in `design/status-colour-system.md` is for
   statuses — borrowing teal here would invent a nineteenth meaning for it. */
.sortm__tick { width: 14px; flex: none; text-align: center; color: var(--text); }
/* On Pick there IS room and the board draws it floating, so this screen
   places the same component over its grid. */
.pick__sortwrap .sortm {
	position: absolute; right: 0; top: 48px; z-index: 20;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(216px, 1fr)); gap: var(--s4); }
.pcard {
	position: relative; border-radius: 16px; overflow: hidden;
	background: rgba(22, 22, 26, .82); display: flex; flex-direction: column;
	box-shadow: 0 0 0 0 transparent; transition: box-shadow 160ms ease-out;
}
.pcard.is-on { box-shadow: 0 0 0 2px var(--st-active); }
.pcard__cov { position: relative; height: 150px; background: var(--card); }
.pcard__img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
.pcard__grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,0) 55%, rgba(11,11,12,.8) 100%); }
/* SCOPED TO ITS PARENT, and that is the whole fix. A REAL talent's avatar
   comes out of `faceOf()` as `class="face face--init pcard__face"`, because
   a real photo is layered over initials so an expired signature degrades to
   a monogram. `.face--init { position: relative }` sits 3,159 lines further
   down this file at the same specificity (0,1,0), so source order gave it
   the position — the avatar left the cover, fell into the body, and landed
   on top of the name (Jack, 2026-10-26, on production talent: "profile
   pictures cover the talent name").

   FIXTURES NEVER HIT IT: `face()` emits no `face--init`, so every test and
   every audit sweep on this machine saw it positioned correctly. It needed
   real data to appear, which is exactly why it survived to production.

   `.pcard__cov > .pcard__face` is (0,2,0) and cannot be beaten by a later
   single class, whatever gets added to this file next. */
.pcard__cov > .pcard__face {
	position: absolute; left: 12px; bottom: -18px; width: 44px; height: 44px;
	border-radius: 999px; object-fit: cover; border: 3px solid var(--card);
}
.pcard__tick { position: absolute; top: 4px; right: 4px; }
.pcard__tick .tick__b { border-color: rgba(242, 238, 231, .5); background: rgba(11, 11, 12, .55); }
.pcard.is-on .tick__b { background: var(--action); border-color: transparent; }

.pcard__b { padding: 24px 12px 8px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard__n { font-size: var(--t-sm); font-weight: 600; }
.pcard__m { font-size: var(--t-xs); color: var(--text-3); }
.pcard__t { display: flex; gap: 4px; flex-wrap: wrap; }
.ptag { font-size: var(--t-xs); padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); }
/* Two lines, clamped, with the height reserved — so a short "why" does not
   make its card shorter than the one beside it. */
.pcard__w {
	font-size: var(--t-xs); line-height: 1.4; color: var(--text-2); min-height: 34px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard__v {
	margin-top: auto; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
	display: flex; align-items: center; width: 100%;
}
.pcard__v > span {
	width: 100%; height: 36px; box-sizing: border-box; border-radius: 999px;
	border: 1px solid var(--grey-600); color: var(--text-2);
	font-size: 13px; display: inline-flex; align-items: center; justify-content: center;
}
.pcard__v:hover > span { border-color: var(--text); color: var(--text); }

.pick__more { font-size: var(--t-sm); color: var(--text-3); }

.pick__dock { position: sticky; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; margin-top: var(--s4); }
.pick__hint {
	display: inline-flex; align-items: center; gap: 10px; padding: 10px 8px 10px 16px;
	border-radius: 14px; background: rgba(22, 22, 26, .96);
	border: 1px solid rgba(25, 255, 217, .35); box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
	font-size: var(--t-sm);
}
.pick__hdot { width: 8px; height: 8px; border-radius: 999px; background: var(--st-active); flex: none; }
/* flex: none, or the hint row squeezes it to 42 and it drops under the
   touch minimum — which the audit caught and the eye would not. */
.pick__hx { flex: none; width: 44px; height: 44px; border: 0; background: none; color: var(--text-3); font-size: 16px; cursor: pointer; }
.pick__bar {
	width: 100%; border-radius: 20px; border: 1px solid rgba(242, 238, 231, .14);
	background: rgba(16, 16, 19, .94); padding: var(--s4) var(--s5);
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s5); align-items: center;
}
.pick__faces { display: flex; align-items: center; }
.pick .face--sel { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; margin-right: -8px; border: 2px solid var(--st-active); }
.pick__cnt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pick__cn { font-size: 17px; font-weight: 600; }
.pick__cm { font-size: 13px; color: var(--text-3); }
.pick__acts { display: flex; align-items: center; gap: var(--s4); }
.pick__go { min-height: 52px; padding: 0 24px; font-size: var(--t-sm); }
.pick__go[disabled] { opacity: .45; cursor: not-allowed; }

@container (max-width: 760px) {
	.pick { padding: 0 16px var(--s12); gap: var(--s3); }
	/* The phone board replaces the step rail with one line of text — there
	   is no room for three labelled circles at 390. */
	.pick__top { height: auto; padding-top: var(--s4); }
	.steps { display: none; }
	.pick__draft { flex: 1; }
	.pick__h { font-size: 22px; }
	.pick__back { display: none; }
	.ptabs2 { gap: var(--s5); }
	.ptab2 { font-size: var(--t-body); max-width: 55vw; }
	/* AUDIT FIX 2. This was `display: none` with the comment "sort and
	   filters are desktop-only here" and no board citation behind it, which
	   took BOTH controls on the row — "Browse all talent", the only way to
	   widen past the role's own talent type, and the sort. Jack's constraint
	   was "possibly moved but that's it". The spacer goes instead, so the two
	   sit on one 44px line rather than wrapping to two. */
	.pick__ctl { display: flex; }
	.pick__sp { display: none; }
	.pick__ctl .link { min-height: 44px; }
	.pick__sort { height: 44px; }
	/* THE CARD IS 152px ON THE BOARD and was 325 here. The phone card is a
	   far plainer thing than the desktop one: a 100px cover, a 28px face, a
	   name, ONE meta line, and View profile as plain left-aligned text. The
	   specialism tags and the "why" line are desktop only, and the bordered
	   pill button is too. */
	.pgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.pcard { border-radius: 14px; }
	.pcard__cov { height: 100px; }
	/* Same escalation as the desktop rule above, and for the same reason. */
	.pcard__cov > .pcard__face { left: 8px; bottom: -12px; width: 28px; height: 28px; border-width: 2px; }
	.pcard__tick { top: 0; right: 0; }
	.pcard__b { padding: 16px 10px 0; gap: 1px; }
	/* The board's BODY is 92px: 16 padding + a 16px name line + a 14px meta
	   line + a 44px View profile, with 1px gaps. Explicit line boxes, for
	   the same reason as the job page's rows. */
	.pcard__n { font-size: var(--t-sm); line-height: 16px; }
	.pcard__m { font-size: 11px; line-height: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.pcard__b { flex: none; }
	.pcard__t, .pcard__w { display: none; }
	.pcard__v { height: 44px; }
	.pcard__v > span {
		height: auto; border: 0; border-radius: 0; justify-content: flex-start;
		font-size: 13px; color: var(--text-2);
	}
	.pick__dock { bottom: 0; margin-left: -16px; margin-right: -16px; }
	.pick__hint { align-self: stretch; margin: 0 16px; }
	.pick__bar {
		border-radius: 18px 18px 0 0; padding: var(--s3) var(--s4);
		grid-template-columns: auto minmax(0, 1fr); gap: var(--s3);
	}
	.pick__cm { display: none; }
	.pick__acts { grid-column: 1 / -1; }
	.pick__acts .link { flex: 1; }
	.pick__go { flex: none; min-height: 48px; }
	/* "Post to the Thrilla network" is three times the width of "Invite 3",
	   and `flex: none` cannot shrink — so the row ran past the frame and
	   squeezed "Next: Content creator" to 63px over four lines (ThrillaAudit
	   on the phone, checks 1 and 14, never on desktop). Stacked rather than
	   shortened: rule 16 says an action button does not wrap, and the
	   sentence is the honest one.

	   RE-KEYED 2026-11-09 FROM `--none` TO `--post`, because the scope was
	   one state too narrow and the defect came back in the other one. The
	   overflow is caused by the LABEL, not by the rail being empty: with
	   talent on screen and nobody selected yet the button still reads "Post
	   to the Thrilla network", measured at 363px in a 354px row — 70px past
	   the frame. `--none` is a strict subset of `--post` (an empty rail makes
	   `canInvite` false), so this covers the old case as well as the one it
	   missed. The original scoping note still holds and is why this is not
	   simply `.pick__bar`: the invite dock IS measured, and it never shows
	   this button. */
	.pick__bar--post .pick__acts { flex-wrap: wrap; gap: var(--s2); }
	/* MEASURED, not guessed. The label is 313px on one line at 14px with
	   3.08px tracking, uppercase; the row is 354px. At the desktop 24px
	   padding the button needs 361 and wraps to two lines, which rule 16
	   forbids — so stacking it full-width fixed checks 1 and 14 and traded
	   them for check 16. 12px leaves 330 for 313: 17px of headroom.
	   It costs nothing to look at. The button is `flex: 1 1 100%` here, so
	   its WIDTH comes from the row and the padding only bounds the label,
	   which is centred either way. */
	.pick__bar--post .pick__go { flex: 1 1 100%; order: -1; padding-inline: 12px; }
	.pick__bar--post .pick__acts .link { flex: 1 1 100%; text-align: center; }
}

/* ======================================================================
   STEP 4 · JOB PAGE  (LITE 04: 4a, 4b, 4c Book confirm)
   ----------------------------------------------------------------------
   Teal appears twice and only twice: the Booked chip and the booked ring.
   Everything else is cream, grey or — for "needs you" — orange.
   ====================================================================== */

.jp { display: flex; flex-direction: column; gap: var(--s5); padding-bottom: var(--s12); }
.jp__back { align-self: flex-start; min-height: 44px; margin: -8px 0; font-size: var(--t-sm); }

.jp__hero { display: grid; grid-template-columns: 240px minmax(0, 1fr) auto; gap: var(--s6); align-items: start; }
.jp__cov { display: block; height: 160px; border-radius: 16px; overflow: hidden; background: var(--card); }
.jp__cov > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
.jp__ht { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.jp__top { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.jp__pill {
	font-size: var(--t-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line);
	background: var(--sunken); color: var(--text-2);
}
/* Orange is urgent and carries dark text — white on #e95400 is 3.66:1. */
.jp--needs .jp__pill { background: var(--cavir); border-color: transparent; color: var(--set-black); }
.jp--booked .jp__pill { background: var(--grey-100); border-color: transparent; color: var(--set-black); }
.jp__since { font-size: var(--t-sm); color: var(--text-3); }
.jp__h { font-size: 42px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.jp__sub { font-size: var(--t-sm); color: var(--text-2); }
.jp__muted { color: var(--text-3); }
.jp__acts { display: flex; align-items: center; gap: var(--s2); }
.jp__share { min-height: 44px; padding: 0 18px; font-size: 13px; white-space: nowrap; }

.jp__banner {
	display: flex; align-items: center; gap: var(--s4); padding: 14px 18px;
	border-radius: 14px; border: 1px solid var(--line-soft); background: rgba(22, 22, 26, .8);
}
.jp__bdot { width: 8px; height: 8px; border-radius: 999px; background: var(--grey-500, #646466); flex: none; }
.jp__banner--urgent { border-color: var(--cavir); }
.jp__banner--urgent .jp__bdot { background: var(--cavir); }
.jp__banner--ok .jp__bdot { background: var(--st-active); }
.jp__bt { flex: 1; font-size: var(--t-sm); }

/* The line that stands where a role's decisions used to be once its work has
   finished. Quiet by design: it explains an absence, it is not an alert. */
.jp__note { font-size: var(--t-sm); color: var(--text-3); padding-top: 2px; }

/* THREE values, 64px apart, NO rules and NO box — the board is a flex row,
   not a bordered grid. Jack circled this one: a full-width four-column strip
   with lines through it is a table, and the page does not have a table here. */
.jp__stats { display: flex; gap: var(--s10); padding: 4px 0 8px; border: 0; }
.jp__stat { padding: 0; display: flex; flex-direction: column; gap: 4px; border: 0; }
.jp__stat dt { font-size: 13px; color: var(--text-3); }
.jp__stat dd { font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }

.jp__cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--s6); }
.jp__main { display: flex; flex-direction: column; gap: var(--s9); min-width: 0; }
.jp__role { display: flex; flex-direction: column; gap: var(--s3); }
.jp__rh { display: flex; align-items: baseline; gap: var(--s3); flex-wrap: wrap; }
.jp__rn { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.jp__rr { font-size: var(--t-sm); color: var(--text-2); }
.jp__sp { flex: 1; }
.jp__rs { font-size: var(--t-sm); color: var(--text-3); }

.jtabs2b { display: flex; gap: var(--s5); border-bottom: 1px solid rgba(242, 238, 231, .1); }
.jtab2 {
	height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
	display: inline-flex; align-items: center; gap: 6px;
	font: inherit; font-size: var(--t-sm); font-weight: 500; color: var(--text-3);
	box-shadow: inset 0 -2px 0 transparent;
}
.jtab2.is-on { color: var(--text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--text); }
.jtab2__n { font-size: var(--t-xs); font-variant-numeric: tabular-nums; opacity: .75; }

.jp__ppl { list-style: none; display: flex; flex-direction: column; }
/* TWO ROWS, SO THE PITCH GETS THE WIDTH OF THE ROW (audit fix 7). It used to
   sit inside `.jp__pm`, sharing column 2 with the name while the actions held
   column 3 — 612px of quote in 105px. Areas rather than auto-placement
   because a row without a pitch has three children and one with it has four,
   and auto-placement would put the fourth somewhere different in each
   (rule 2.9b: a changed child count breaks a grid that assumed one). */
.jp__p {
	display: grid; grid-template-columns: 44px minmax(0, 1fr) auto;
	grid-template-areas: "face main acts" ".    pitch pitch";
	column-gap: var(--s4); row-gap: 2px;
	align-items: center; padding: var(--s3) 0; border-bottom: 1px solid rgba(242, 238, 231, .06);
}
.jp .jp__face { grid-area: face; }
.jp__pm { grid-area: main; }
.jp__pa { grid-area: acts; }
.jp__msg { grid-area: pitch; }
/* ROW 1 IS ONE LINE EACH, OR FIX 7 TRADES ONE SQUEEZE FOR ANOTHER. The
   actions column is `auto` and takes its width first (the audit's root cause
   4), so at a 1009px app the name column is 137px — and once the pitch left,
   the NAME started wrapping into the space the pitch had vacated: measured
   96px tall for two short strings, a 146px row. Ellipsis rather than wrap,
   so the row is the two lines fix 7 asks for and not four. */
.jp__pmeta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
/* `.jp__pn`'s own rule is BELOW this one and wins on source order (rule 2.7),
   so the no-wrap change is made THERE rather than here. Writing it twice is
   how you get a declaration that looks applied and is not — which is what
   happened on the first pass of this fix. */
.jp__empty { padding: var(--s5) 0; font-size: var(--t-sm); color: var(--text-3); }
.jp .jp__face { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; }
.jp .ring--booked  { box-shadow: 0 0 0 2px var(--st-active); }
.jp .ring--casting { box-shadow: 0 0 0 2px var(--grey-300); }
.jp .ring--invited { box-shadow: 0 0 0 2px var(--grey-600); }
.jp__pm { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jp__pn > :first-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.jp__pn .jchip { flex: none; }
.jp__pn {
	/* `flex-wrap: wrap` until 2026-11-23 (audit fix 7). Once the pitch left
	   this column the name had the width to itself — and the actions column
	   is `auto` and takes its share first, so at a 1009px app the column is
	   137px and the CHIP wrapped to its own line, making row 1 55px tall for
	   two short strings. The name gives way instead: a truncated name is
	   still a name, a truncated "Applied" is not a status. */
	display: flex; align-items: center; gap: var(--s2); font-size: var(--t-body);
	font-weight: 600; flex-wrap: nowrap; white-space: nowrap;
	/* It is a <button> now (the name opens the profile), so it has to undo
	   the UA's button styling or it draws a grey box with a border. */
	background: none; border: 0; padding: 0; color: inherit; font-family: inherit;
	text-align: left; cursor: pointer; position: relative;
}
.jp__pmeta { font-size: 13px; color: var(--text-3); }
.jchip {
	font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2);
}
/* The only teal on the page, with the ring. */
.chip--booked { background: var(--st-active); border-color: transparent; color: var(--st-active-fg); }
.chip--short { background: var(--grey-100); border-color: transparent; color: var(--set-black); }
.chip--urgent { background: var(--cavir); border-color: transparent; color: var(--set-black); }

/* The applicant's own note, one line, with Read. */
.jp__msg {
	display: flex; align-items: baseline; gap: 6px; margin-top: 4px; min-width: 0;
	font-size: var(--t-sm); line-height: 1.4; color: var(--text-2);
}
.jp__q { flex: none; color: var(--text-3); }
.jp__mt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.jp__read { flex: none; font-weight: 500; color: var(--text); text-decoration: underline; }

.jp__pa { display: flex; align-items: center; gap: var(--s3); }
.jp__sm { min-height: 40px; height: 40px; padding: 0 14px; font-size: 13px; white-space: nowrap; }
/* Decline is its own control, not a .btn — the phone strips a .btn's fill
   and border and leaves an invisible button behind, which is what the audit
   caught. Here it carries its own outline; there it is a ringed ×. */
.jp__dec {
	min-height: 40px; height: 40px; padding: 0 14px; border-radius: 999px;
	border: 1px solid var(--grey-600); background: transparent; cursor: pointer;
	color: var(--text-2); font: inherit; font-size: 13px; font-weight: 600;
	letter-spacing: var(--ls-caps); text-transform: uppercase; white-space: nowrap;
	display: inline-flex; align-items: center; justify-content: center;
}
.jp__dec:hover { border-color: var(--text); color: var(--text); }
.jp__decx { display: none; }
.jp__read {
	border: 0; background: none; padding: 0; cursor: pointer; font: inherit;
	flex: none; font-weight: 500; color: var(--text); text-decoration: underline;
}
.star {
	width: 44px; height: 44px; flex: none; padding: 0; border: 0; background: none;
	cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.star svg { width: 20px; height: 20px; fill: none; stroke: var(--text-3); stroke-width: 1.6; stroke-linejoin: round; }
.star:hover svg { stroke: var(--text); }
.star[aria-pressed="true"] svg { fill: var(--text); stroke: var(--text); }

.jp__side { display: flex; flex-direction: column; gap: var(--s6); border-left: 1px solid rgba(242, 238, 231, .1); padding-left: var(--s5); }
.jp__sec { display: flex; flex-direction: column; gap: 10px; }
.jp__sh { display: flex; align-items: center; gap: var(--s3); }
.jp__sh .eyebrow { flex: 1; }
.jp__brief { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px 12px; font-size: var(--t-sm); }
.jp__brief dt { color: var(--text-3); }
.jp__brief dd { color: var(--text-2); }
.jp__pub { border-radius: 14px; overflow: hidden; border: 1px solid rgba(242, 238, 231, .12); }
.jp__pubc { display: block; height: 96px; overflow: hidden; }
.jp__pubc > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jp__pubt { padding: var(--s3); display: flex; flex-direction: column; gap: 4px; }
.jp__pubn { font-size: var(--t-sm); font-weight: 600; }
.jp__pubm { font-size: 13px; color: var(--text-3); }
.jp__publ { display: flex; gap: var(--s4); }
.jp__act { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: var(--t-sm); }
.jp__act li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s2); color: var(--text-2); }
.jp__aw { color: var(--text-3); }

/* ---- 4c · Book confirm --------------------------------------------- */
#dashBook .panel-scrim { z-index: 90; }
.bookc {
	position: fixed; z-index: 91; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: min(440px, calc(100vw - 32px)); box-sizing: border-box; padding: var(--s5);
	border-radius: 20px; background: var(--card); border: 1px solid rgba(242, 238, 231, .14);
	box-shadow: 0 24px 64px rgba(0, 0, 0, .6);
	display: flex; flex-direction: column; gap: var(--s4);
	animation: askIn 200ms var(--ease-out, ease-out) 1;
}
.bookc__top { display: flex; align-items: center; gap: 14px; }
.bookc__face { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 2px var(--text); }
.bookc__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bookc__h { font-size: 20px; font-weight: 600; }
.bookc__m { font-size: var(--t-sm); color: var(--text-3); }
.bookc__q { font-size: var(--t-sm); line-height: 1.5; color: var(--text-2); padding-left: var(--s3); border-left: 2px solid var(--grey-600); }
.bookc__pts { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: var(--t-sm); line-height: 1.45; color: var(--text-2); }
.bookc__lab { font-size: 13px; color: var(--text-3); }
.bookc__in {
	min-height: 44px; box-sizing: border-box; border-radius: 12px;
	border: 1px solid var(--grey-600); background: transparent; padding: 12px 14px;
	color: var(--text); font: inherit; font-size: var(--t-sm); resize: vertical;
}
.bookc__in:focus { outline: 0; border-color: var(--text); }
.bookc__acts { display: flex; align-items: center; justify-content: flex-end; gap: var(--s3); }
.bookc__acts .btn { min-height: 48px; padding: 0 20px; font-size: 13px; }

@container (max-width: 760px) {
	.jp { padding: 0 16px var(--s12); gap: var(--s4); }
	.jp__hero { grid-template-columns: 1fr; gap: var(--s3); }
	.jp__cov { height: 140px; }
	.jp__h { font-size: 22px; }
	.jp__acts { order: 9; }
	.jp__share { flex: 1; }
	.jp__stats { grid-template-columns: 1fr 1fr; }
	.jp__stat { padding: var(--s3) 0; }
	.jp__stat:nth-child(2) { border-right: 0; }
	.jp__stat dd { font-size: 22px; }
	.jp__cols { grid-template-columns: 1fr; gap: var(--s6); }
	.jp__side { border-left: 0; padding-left: 0; border-top: 1px solid rgba(242, 238, 231, .1); padding-top: var(--s5); }
	/* The row stacks its actions under the person, as the phone board does —
	   44 + name + four controls does not fit 390. */
	.jp__p { grid-template-columns: 44px minmax(0, 1fr); row-gap: var(--s2); }
	.jp__pa { grid-column: 2; flex-wrap: wrap; }
	/* 44 on touch. The artboard draws these at 40, which the handoff accepts
	   for pointer and raises on the phone — same call as 3f's View profile. */
	.jp__sm { flex: 1; min-height: 44px; height: 44px; }

	/* A text link is still a tap target here: Edit, Open public page and
	   Copy link are the only way to reach those things. */
	.jp__sh .link, .jp__publ .link {
		min-height: 44px; min-width: 44px; display: inline-flex;
		align-items: center; justify-content: flex-end;
	}

}
#dashBook[data-view="phone"] .bookc {
	top: auto; left: var(--dev-l, 0); transform: none;
	bottom: calc(100dvh - (var(--dev-t, 0px) + var(--dev-h, 100dvh)));
	width: var(--dev-w, 100%); max-height: calc(var(--dev-h, 100dvh) * .9);
	border-radius: 24px 24px 0 0; border-left: 0; border-right: 0; border-bottom: 0;
	overflow-y: auto; animation: sheetIn 260ms ease-out 1;
}
@media (prefers-reduced-motion: reduce) { .bookc { animation: none; } }

/* ---- step 4, the rest of it ----------------------------------------- */

/* The undo toast. The bar is the five seconds running out, and nothing is
   sent until it does — so the bar is the state, not decoration. */
.toast--undo .toast__u {
	flex: none; min-height: 44px; padding: 0 var(--s3); border: 0; background: none;
	color: var(--text); font: inherit; font-size: var(--t-sm); font-weight: 600;
	text-decoration: underline; cursor: pointer;
}
.toast--undo .toast__bar { animation: undoRun var(--undo-ms, 5000ms) linear 1 forwards; }
@keyframes undoRun { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .toast--undo .toast__bar { animation: none; } }

/* At volume the page stops listing and starts summarising. */
.jp__many {
	display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap;
	padding: var(--s3) 0;
}
.jp__manyn { flex: 1; font-size: var(--t-sm); color: var(--text-2); font-variant-numeric: tabular-nums; }

/* Declined people are gone from the list but not gone — a quiet way back. */
.jp__decl { padding-top: var(--s2); }
.jp__decl .link { font-size: 13px; color: var(--text-3); }

/* Close job early is the one destructive action here, so it is the one
   place on this page that uses red. */
/* ORANGE, NOT RED. "Orange is the only error colour; there's no red in
   LITE" (LITE 09, 9e). This was --st-cancelled (#e03131) on the one
   destructive button in the prototype — Close the job. The platform's own
   status system still uses red for a cancelled TAG, which is a different
   surface and a different rule. Corrected 2026-10-22, and check 12 now
   refuses red inside .dash. */
.btn--bad { background: var(--cavir, #e95400); color: var(--page); border-color: transparent; }
.btn--bad:hover { filter: brightness(1.08); }

/* The swipe needs the row to move and to spring back. */
.jp__p { transition: transform 160ms ease-out; touch-action: pan-y; }
@media (prefers-reduced-motion: reduce) { .jp__p { transition: none; } }

/* ---- the desktop hero, with the new bar elements kept out of it ------ */
.jp__hero .jp__back { grid-column: 1 / -1; justify-self: start; }
.jp__backi, .jp__short, .jp__sharei, .jrtabs { display: none; }
.jp__hero { grid-template-rows: auto auto; }
.jp__ht .jp__h { order: 2; }
.jp__ht .jp__top { order: 1; }
.jp__ht .jp__sub { order: 3; }
.jp__ht { display: flex; flex-direction: column; }

/* ======================================================================
   THE PHONE JOB PAGE IS A DIFFERENT COMPOSITION  (LITE 04, board 4b)
   ----------------------------------------------------------------------
   Jack, 2026-10-22: "mobile is clearly not finished and should not have
   passed the audit." He was right, and the audit cannot see it — nine
   mechanical checks all passed on a screen that was the DESKTOP layout
   squeezed into 390px.

   The board is: a 48px bar (back · title · share · ⋯), a pill and a short
   date, THREE stats with no rules between them, the roles as TABS, then
   the pipeline tabs and compact 40px rows. No cover. No 2x2 grid. No
   stacked role sections.
   ====================================================================== */
@container (max-width: 760px) {
	.jp { padding: 0; gap: 0; }
	/* ROOM AT THE BOTTOM. Jack, 2026-10-22: "is this the end of the text at
	   the bottom because its going to be unvisible on mobile browser" — yes.
	   Nothing cleared the 56px Spark, so the last Activity row sat under it.
	   56 + 16 above + 16 below.

	   NOT env(safe-area-inset-bottom): "this is not an app, it will always be
	   mobile browser for now" (Jack). The inset is a standalone and notch
	   concept and reads 0 in a browser tab. What the browser's own toolbar
	   needs is `dvh` on anything pinned to the bottom, which the overlays
	   now use — `100vh` in mobile Safari is the LARGE viewport, the one with
	   the toolbar hidden, so a `bottom: 0` element hides behind it. */
	/* THE DOCK'S REAL HEIGHT, not the 88 this carried — the one surviving
	   copy of the number the rest of the phone block stopped hardcoding
	   when the dock landed. The job page zeroes `.dash`'s own padding, so
	   this is its only clearance; at 57 + 16 it is now 15px tighter than
	   the guess and correct rather than lucky. */
	.jp .jp__side:last-child { padding-bottom: calc(var(--dock-h, 72px) + 16px); }
	/* .dash__top goes full-bleed with `margin: 0 -16px`, which assumes the
	   16px padding .jp just removed. Without this it is 420px in a 388px
	   box and the page scrolls sideways. */
	.jp .dash__top { margin: 0; }

	/* The bar. .jp__ht goes display:contents so the title becomes a grid
	   item of the bar rather than a block squeezed into a column. */
	.jp__hero {
		display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px 44px;
		align-items: center; gap: 4px; padding: 0 8px 0 4px; margin: 0;
		height: 48px; border-bottom: 1px solid rgba(242, 238, 231, .08);
	}
	.jp__ht { display: contents; }
	.jp__cov, .jp__sub, .jp__since, .jp__share { display: none; }
	.jp__back {
		grid-column: 1; grid-row: 1; justify-self: stretch;
		width: 44px; height: 44px; min-width: 0; padding: 0;
		display: inline-flex; align-items: center; justify-content: center;
	}
	.jp__backi { display: inline; font-size: 18px; }
	.jp__backt { display: none; }
	/* A REAL TITLE IS LONGER THAN A FIXTURE ONE. This was `nowrap` +
	   ellipsis, which is right for a sticky one-line bar and wrong the
	   moment the title is real: "[Thrilla test] Three-day film shoot in
	   Dubai" clipped to "...in Dub" (check 2, caught the first time this
	   screen rendered API data rather than "Autumn menu launch"). Two lines,
	   clamped — the job's own name is the one thing on this bar that has to
	   be readable, and a third line would push the actions off. */
	.jp__h { grid-column: 2; grid-row: 1; font-size: 15px; font-weight: 600;
	         white-space: normal; overflow: hidden; line-height: 1.25;
	         display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
	.jp__acts { grid-column: 3 / span 2; grid-row: 1; display: contents; }
	.jp__sharei { display: inline-flex; grid-column: 3; grid-row: 1; }
	.jp__acts .icon { width: 44px; height: 44px; border: 0; background: none; }
	.jp__acts [data-menu] { grid-column: 4; grid-row: 1; }
	/* THE PILL ROW GOES (Jack, 2026-10-22: "drop this on mobile too"). A
	   DELIBERATE DIVERGENCE: board 4b has "CASTING · Thu 22 Oct · Dubai,
	   UAE" under the bar, and we do not. Do not put it back from the board.

	   What it costs, recorded so the choice stays visible: this row is the
	   only place the phone shows the job's DATE, and in the `live` state the
	   only place it shows status — the banner appears for review, needs and
	   booked, but live has none. The stats, the tabs and the rows all still
	   read without it. */
	.jp__top { display: none; }

	.jp__banner, .jp__stats, .jrtabs, .jp__cols { margin: 0 16px; }
	.jp__banner {
		flex-direction: column; align-items: stretch; gap: 8px;
		padding: 12px; margin-top: 12px;
	}
	.jp__bdot { display: none; }
	.jp__bt { font-size: var(--t-sm); line-height: 1.4; }
	.jp__banner .btn { width: 100%; min-height: 44px; }

	/* Three stats, side by side, NO rules between them. The 2x2 grid with
	   borders was the desktop block reflowed and it read as broken. */
	.jp__stats {
		display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
		padding: 12px 0 4px;
	}
	.jp__stat { gap: 2px; }
	.jp__stat dt { font-size: 11px; }
	.jp__stat dd { font-size: 18px; }

	/* Roles become tabs, and only the chosen one is drawn. */
	/* Two roles share the width; three or more SCROLL rather than truncating
	   a profession to "Camera opera…". A clipped profession is a clipped
	   fact, and the audit says so. */
	.jrtabs {
		display: flex; border-bottom: 1px solid rgba(242, 238, 231, .1);
		margin-top: 12px; overflow-x: auto; scrollbar-width: none;
	}
	.jrtabs::-webkit-scrollbar { display: none; }
	.jrtab { flex: 1 0 auto; min-width: 0; padding: 0 var(--s3); }
	.jrtab {
		height: 44px; border: 0; background: none; cursor: pointer;
		font: inherit; font-size: var(--t-sm); font-weight: 500; color: var(--text-3);
		box-shadow: inset 0 -2px 0 transparent; white-space: nowrap;
	}
	.jrtab.is-on { color: var(--text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--text); }
	.jp__main { gap: 0; }
	.jp__role { display: none; padding-top: 12px; }
	.jp[data-roletab="0"] .jp__role[data-ri="0"],
	.jp[data-roletab="1"] .jp__role[data-ri="1"],
	.jp[data-roletab="2"] .jp__role[data-ri="2"],
	.jp[data-roletab="3"] .jp__role[data-ri="3"] { display: flex; }
	/* With roles as tabs the heading repeats what the tab says, so the row
	   keeps only the rate and the count. */
	/* The board goes role tabs -> pipeline tabs with nothing between. The
	   rate and the booked count are desktop only.

	   BUT "INVITE MORE" LIVES IN THIS HEADER AND WAS NEVER PART OF THAT
	   DECISION — it went out as collateral, silently, which is the audit's
	   root cause 2 in its purest form. The sentence above names the rate and
	   the count; it does not name the invite.

	   The cost is a whole screen. `data-job-invite` is the ONLY route to
	   `pick` — one `T.go('pick')` call site in the whole file — so with this
	   header hidden, "Choose who to invite" was built, measured and audited
	   at 4/10 and could not be opened on a phone at all.

	   So the header comes back carrying ONLY the invite, and the board's
	   decision holds for everything it actually named. The role name is the
	   tab above it, so hiding the h3 keeps the board's "nothing between".
	   `!roleFinished(r)` still gates the button in `jobSection`, so a
	   finished role shows nothing here (Jack, 2026-11-13: "yeah remove
	   invite talent too") — that is a JS gate and a CSS change cannot
	   weaken it. */
	.jp__rh { display: flex; gap: 0; margin: 0 0 var(--s1); }
	.jp__rn, .jp__rr, .jp__sp, .jp__rs { display: none; }
	/* NO RULE under the pipeline tabs on the phone. The ROLE tablist above
	   carries one; this one does not, and the second full-width line is what
	   Jack boxed. Checked against board 4b, where the pipeline tablist is a
	   bare flex row and only the role tablist has a border-bottom. */
	.jtabs2b { gap: var(--s4); border-bottom: 0; }
	.jtab2 { font-size: 13px; }

	/* 68px rows, which is the board's. Mine were 82: a 15px name on a loose
	   line-height, plus 4px of margin above the quote. The line heights are
	   explicit here because the default leading is what made up the 14px. */
	.jp__pn { line-height: 18px; }
	.jp__pmeta { line-height: 15px; }
	.jp__msg { margin-top: 0; line-height: 14px; }

	/* The last row's rule and the rail's rule were stacking with a band
	   between them — two lines saying one thing. The rail keeps its rule as
	   the separator; the list stops drawing one. */
	.jp__ppl .jp__p:last-child { border-bottom: 0; }
	.jp__cols { row-gap: var(--s5); }
	.jp__side { padding-top: var(--s4); }

	/* Compact rows: 40px face, everything on one line. */
	/* The phone board puts the quote under the NAME, not under the
	   actions, so it is placed explicitly rather than inheriting the
	   desktop's full-width `pitch` area. One ellipsised line, no Read —
	   unchanged by fix 7, which is a desktop problem. */
	/* 5px, NOT 8, AND THE BOARD IS WHY. The row is measured at 68 ±3
	   (`screen-audit.js`, LITE 04 / 4b). The pitch used to stack inside
	   the name column, so the column's 49px drove the row: 49 + 16 = 65.
	   With the pitch on its own grid row for fix 7, row 1 is pinned to
	   the ACTIONS' 44px — 44 + 14 + 16 = 74, seven over. The content is
	   identical and only the distribution changed, so the breathing room
	   gives way rather than the board's row height. */
	.jp__p { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: none;
	         column-gap: 12px; row-gap: 0; padding: 5px 0; align-items: center; }
	.jp .jp__face { grid-column: 1; grid-row: 1; }
	.jp__pm { grid-column: 2; grid-row: 1; }
	.jp__msg { grid-column: 2; grid-row: 2; }
	.jp .jp__face { width: 40px; height: 40px; }
	.jp__pn { font-size: 15px; gap: 6px; flex-wrap: nowrap; }
	/* 44px of finger on an 18px line, without moving the row off the
	   board's 68px (rule 3.7b). Its siblings in this column are the meta
	   line and the quote, neither of which is interactive on a phone —
	   `.jp__read` is hidden here — so the overlay covers nothing tappable. */
	.jp__pn::after { content: ''; position: absolute; inset: -13px 0; }
	/* THE CHIP GOES on the phone (Jack, 2026-10-22: "they are already under
	   the tab above, it gives more room"). The pipeline tab says "Applied 4";
	   repeating it on every row costs the name the width it needs. */
	.jp__p .jchip { display: none; }
	.jp__pmeta { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	/* ONE line here too, as the board has it — two pushed the row to 99px
	   against the board's ~70 and made four rows fill the screen. */
	.jp__msg { font-size: 12px; min-height: 0; align-items: baseline; padding: 0; }
	.jp__mt { white-space: nowrap; display: block; -webkit-line-clamp: none; }
	/* The LINE is 17px tall, so the line cannot be the target. Read is, at
	   44 — and the face and name open the same panel anyway. */
	/* No Read on the phone board — the quote is one ellipsised line. The
	   face and the name open the same panel, so nothing is lost. */
	.jp__read { display: none; }
	/* `grid-row: 1` IS LOAD-BEARING. The desktop rule gives this
	   `grid-area: acts`, and the phone sets `grid-template-areas: none`
	   — so the name no longer resolves and the actions were placed on an
	   IMPLICIT second row, taking the row from the board's 68px to 101.
	   The old phone rule set only the column, which was enough while the
	   desktop rule set no area at all. Rule 2.9: check the mechanism
	   still applies after changing a tier. */
	.jp__pa { grid-area: auto; grid-column: 3; grid-row: 1; flex-wrap: nowrap; gap: 0; }
	.jp__pa .link { display: none; }        /* the face and name open the profile */
		.jp__sm { flex: none; min-height: 44px; height: 44px; padding: 0 14px; font-size: 12px; }
	/* star · × · Book, which is what the board draws. */
	.jp__dec {
		width: 44px; height: 44px; padding: 0; background: none; border: 0;
		text-transform: none; letter-spacing: 0;
	}
	.jp__decw { display: none; }
	.jp__decx {
		display: inline-flex; align-items: center; justify-content: center;
		width: 32px; height: 32px; border-radius: 999px;
		border: 1px solid var(--grey-600); font-size: 15px; line-height: 1;
	}
	/* The name gets the room the two text buttons were taking. */
	.jp__pn { min-width: 0; }
	.jp__pn > :first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
	.jp__sides { }
	.jp__side { margin: 0 16px; }
}

/* ==========================================================================
   LITE 05 · THE PUBLIC JOB PAGE  (.pj)  and the share sheet  (.pjs)
   --------------------------------------------------------------------------
   Measured off "LITE 05 Public Job Page.dc.html" (sha256 3f00245b…),
   2026-10-22. The numbers are in BOARD in tools/screen-audit.js, which is
   what check 10 compares the build against.

   Every width rule below is @container. The app is a 390px column inside a
   ~1400px window in phone view, so a width media query reads the WINDOW.
   ========================================================================== */

/* ---- the header. 80px, logo left, who-you-are and Log in right ----------
   NOT .dash__top. There is no Messages, no bell and no menu on this page:
   the visitor is talent arriving from a WhatsApp link, and may not be
   signed in at all. */
.pj__top {
	height: 80px; flex: none;
	display: flex; align-items: center; gap: var(--s5);
}
.pj__brand { display: inline-flex; align-items: center; }
.pj__brand .lockup { height: 24px; width: auto; }
.pj__sp { flex: 1; }
.pj__who { font-size: 14px; color: var(--text-2); }

/* ---- the hero. An INSET card: the gutter is its side margin, radius 20,
   360 tall, with the gradient and the title block at the bottom. The phone
   board replaces this with a full-bleed 180 — see the container block. */
.pj__hero {
	position: relative; height: 360px; border-radius: var(--r-lg);
	overflow: hidden; background: var(--card);
}
.pj__hero > img {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; image-orientation: none;
}
.pj__hero::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(11,11,12,.05) 30%, rgba(11,11,12,.9) 100%);
}
.pj__hb {
	position: absolute; left: 32px; right: 32px; bottom: 28px; z-index: 1;
	display: flex; flex-direction: column; gap: 10px;
}
.pj__pills { display: flex; gap: var(--s2); flex-wrap: wrap; }
.pj__type, .pj__pill {
	font-size: var(--t-xs); font-weight: var(--fw-bold);
	letter-spacing: .08em; text-transform: uppercase;
	padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.pj__type { background: var(--text); color: var(--page); }
.pj__pill { border: 1px solid rgba(242, 238, 231, .5); }
/* Closed is the one state that fills its pill — a grey solid, never red:
   a job that ran and finished is not an error. */
.pj__pill--closed { background: #313133; color: var(--text-2); border-color: transparent; }
.pj__h {
	margin: 0; font-size: 64px; font-weight: var(--fw-semi);
	letter-spacing: -.02em; line-height: 1; text-wrap: balance;
}
.pj__meta { font-size: 17px; line-height: normal; color: var(--text-2); }

/* ---- the body. Twelve columns, main 8 and the rail 4 ---- */
.pj__body {
	margin-top: 40px;
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--col-gap);
}
.pj__main { grid-column: 1 / span 8; display: flex; flex-direction: column; gap: var(--s5); min-width: 0; }
.pj__side {
	grid-column: 9 / span 4;
	border-left: 1px solid var(--line-soft); padding-left: var(--s5);
	display: flex; flex-direction: column; gap: var(--s5); min-width: 0;
}

/* About the job goes FIRST in the main column, not in the rail, because it
   is what talent read. 68ch, which is the board's own measure. */
.pj__about { display: flex; flex-direction: column; gap: var(--s3); max-width: 68ch; }
.pj__about p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.pj__rolesh { margin: var(--s5) 0 0; font-size: 24px; line-height: normal; font-weight: var(--fw-semi); }
/* A closed job dims the detail, not the status. */
.pj--closed .pj__about, .pj--closed .pj__rolesh, .pj--closed .pj__role { opacity: .6; }

/* ---- a role. A ROW IN A LIST, not a card: a border-top hairline, no fill,
   no radius, no shadow. The board draws no box and one was the first thing
   that made the desktop Jobs list read as broken. */
.pj__role {
	display: grid; grid-template-columns: minmax(0, 1fr) auto;
	gap: var(--s4) var(--s5); align-items: center;
	padding: 20px 0; border-top: 1px solid rgba(242, 238, 231, .12);
}
.pj__rh { display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.pj__rt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pj__rn { font-size: 24px; line-height: normal; font-weight: var(--fw-semi); letter-spacing: -.01em; }
/* "You were sent this" is the role the link carried. A cream hairline pill,
   because it is a fact about this visit rather than a status. */
.pj__sent, .pj__filled {
	font-size: 11px; line-height: normal; font-weight: var(--fw-bold);
	letter-spacing: .08em; text-transform: uppercase;
	padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.pj__sent { border: 1px solid var(--text); }
.pj__filled { background: #313133; color: var(--text-2); }
.pj__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pj__tag {
	font-size: 13px; line-height: normal; padding: 3px 10px; border-radius: 999px;
	border: 1px solid var(--grey-600); color: var(--text-2); white-space: nowrap;
}
/* ONE line. The board gives it one and a second takes the row 23px past the
   board's 215 — which is exactly how two screens shipped at 2x. */
/* THE ROLE DESCRIPTION WAS ONE LINE, ALWAYS, EVEN EXPANDED. `white-space:
   nowrap` with an ellipsis cut it mid-word — "…for your guests on the night.
   Specialis…" — on the public job page, which is the page a talent decides
   from and the only one a stranger ever sees (Jack, 2026-11-09).

   The role already owns an expand toggle, so this uses it rather than adding
   a second "read more" beside it: collapsed gives two WRAPPED lines, which is
   a real preview instead of a severed sentence, and expanded shows the whole
   thing. One control, one meaning — a card that offered both would be asking
   the client to learn which of two affordances reveals which text. */
.pj__what {
	font-size: 15px; line-height: 1.5; color: var(--text-2);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden;
}
.pj__role.is-open .pj__what {
	display: block; -webkit-line-clamp: unset; overflow: visible;
}
.pj__n { font-size: 14px; line-height: normal; font-weight: var(--fw-reg); color: var(--grey-300); }

.pj__pay { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pj__rate { font-size: 24px; line-height: normal; }
.pj__apply { height: 48px; padding: 0 22px; white-space: nowrap; }
/* The wrong-profession case is a SENTENCE, never a dead button. */
.pj__gate { font-size: 13px; color: var(--grey-300); text-align: right; max-width: 220px; }

/* The expanded detail: What you'll do across both columns, then Who it's
   for + You'll need, then Pay. */
.pj__det {
	grid-column: 1 / -1;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--s5) 32px; padding-top: var(--s2);
}
.pj .eyebrow { line-height: normal; }
.pj__dcol { display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.pj__dcol--wide { grid-column: 1 / -1; }
.pj__dl {
	margin: 0; padding-left: 18px; list-style: disc;
	display: flex; flex-direction: column; gap: 6px;
	font-size: 15px; line-height: 1.5; color: var(--text-2);
}
/* `.pj__wfor`, not `.pj__who`: the header already owns `.pj__who` for who
   is LOOKING, and two meanings on one class is how the header picked up a
   12px bottom margin it never asked for. */
.pj__wfor { font-size: 15px; color: var(--text-2); margin-bottom: var(--s3); }
.pj__paid {
	margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr);
	gap: 6px var(--s4); font-size: 15px; line-height: normal;
}
.pj__paid dt { color: var(--grey-300); }
.pj__paid dd { margin: 0; color: var(--text); }
/* The toggle is a 44px row with no border and no fill — it is the quiet
   alternative, and the page already has its one filled button. */
.pj__tog {
	grid-column: 1 / -1; justify-self: start;
	min-height: 44px; height: 44px; padding: 0;
	border: 0; background: none; cursor: pointer;
	font: inherit; font-size: 14px; color: var(--text);
	display: inline-flex; align-items: center; gap: 6px;
}
.pj__tog svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.pj__tog:hover { color: var(--text); }

/* ---- the rail ---- */
.pj__sec { display: flex; flex-direction: column; gap: var(--s2); }
/* `ul, ol { list-style: none }` is the global reset, so a list that MEANS a
   list has to ask for its markers back. The board numbers How it works and
   bullets the role detail, and without these three lines both rendered as
   indented prose — which the audit cannot see and a side-by-side can. */
.pj__how {
	margin: 0; padding-left: 18px; list-style: decimal;
	display: flex; flex-direction: column; gap: 6px;
	font-size: 14px; line-height: 1.45; color: var(--text-2);
}
/* Share is a CREAM OUTLINE, not a fill: Apply owns the one fill on this
   page. On desktop it opens our popover, because the web has no native
   share sheet outside a phone. */
.pj__shares { position: relative; gap: var(--s3); }
.pj__share {
	height: 48px; width: 100%; gap: 10px;
	border-color: var(--text); color: var(--text); background: transparent;
}
.pj__share svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pj__menu {
	position: static; width: 100%; padding: var(--s2);
	border-radius: var(--r-md); border-color: rgba(242, 238, 231, .14);
	background: rgba(22, 22, 26, .98);
	display: flex; flex-direction: column; gap: 2px;
}
.pj__menu button {
	display: grid; grid-template-columns: 20px 1fr; gap: var(--s3);
	align-items: center; width: 100%; min-height: 44px; height: 44px;
	padding: 0 var(--s3); border: 0; border-radius: 10px; background: none;
	cursor: pointer; font: inherit; font-size: 14px;
	color: var(--text); text-align: left;
}
.pj__menu button:hover { background: var(--card-lift); }
.pj__menu button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pj__menu .menu__sep { height: 1px; background: rgba(242, 238, 231, .08); margin: 4px var(--s2); }

/* Why talent use Thrilla. The one boxed thing in the rail, and the sign-up
   button always sits at the end of it — same place in every state. */
.pj__why {
	display: flex; flex-direction: column; gap: var(--s4);
	padding: var(--s5); border-radius: var(--r-lg);
	background: rgba(22, 22, 26, .72); border: 1px solid var(--line-soft);
}
.pj__wh { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: var(--fw-semi); }
.pj__spark { width: 22px; height: 22px; flex: none; fill: var(--rizzz); stroke: none; }
.pj__prom {
	margin: 0; padding: 0; list-style: none;
	display: flex; flex-direction: column; gap: var(--s3);
	font-size: 14px; line-height: 1.45; color: var(--text-2);
}
.pj__prom li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.pj__prom li > span:first-child { color: var(--grey-300); }
.pj__prom strong { color: var(--text); font-weight: var(--fw-semi); }
/* One consented quote, from the testimonial library (§13) — it needs
   sign-off before this page is public. */
.pj__q {
	margin: 0; padding-top: var(--s4); border-top: 1px solid var(--line-soft);
	display: grid; grid-template-columns: 40px 1fr; gap: var(--s3); align-items: start;
}
.pj__qf { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; }
.pj__qf > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
.pj__q blockquote { margin: 0; display: flex; flex-direction: column; gap: var(--s2); }
.pj__qt { font-size: 14px; line-height: 1.45; }
.pj__qw { font-size: 13px; line-height: normal; color: var(--grey-300); }
.pj__prof { height: 48px; width: 100%; }

/* ---- Similar roles. Only on filled and closed, and at the TOP of them.
   No container around the set: a label, two arrows, and full-bleed photo
   cards. Three fit at a time, it steps one every 4s and wraps — a
   deliberate exception to the no-looping-animation rule, approved by Jack
   2026-10-22 — and it does not move at all under reduced motion. */
.pj__sim { display: flex; flex-direction: column; gap: var(--s3); }
.pj__simh { display: flex; align-items: center; gap: var(--s2); }
.pj__siml { flex: 1; min-width: 0; }
.pj__arr { width: 36px; height: 36px; background: transparent; border-color: var(--grey-600); }
.pj__arr svg { width: 14px; height: 14px; stroke-width: 2.2; }
.pj__simt {
	display: grid; grid-auto-flow: column;
	grid-auto-columns: calc((100% - 32px) / 3);
	gap: var(--s4);
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none;
}
.pj__simt::-webkit-scrollbar { display: none; }
.pj__simc {
	position: relative; height: 132px; border-radius: var(--r-md);
	overflow: hidden; scroll-snap-align: start; text-decoration: none;
	color: var(--text); border: 1px solid var(--line-soft); background: var(--card);
}
.pj__simc > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; image-orientation: none; }
.pj__simg { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,0) 25%, rgba(11,11,12,.88) 100%); }
.pj__simb { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; }
.pj__simn { font-size: 15px; line-height: normal; font-weight: var(--fw-semi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pj__simr { font-size: 13px; line-height: normal; font-weight: var(--fw-reg); color: var(--text-2); }
@media (prefers-reduced-motion: reduce) { .pj__simt { scroll-behavior: auto; } }

/* NO display toggling between the two compositions, because only ONE is
   ever in the DOM: publicRender() branches on isPhone() and returns either
   this markup or pubPhone()'s. That is a first for this prototype — every
   other screen is one markup reflowed by @container — and it is why
   `S.public` carries `perView: true`, which makes the Desktop/Phone toggle
   re-render rather than leave the other view's DOM on screen. The phone
   block below therefore styles DIFFERENT ELEMENTS, not the same ones
   rearranged. */

/* ==========================================================================
   5c · SHARE THIS JOB — the client's sheet, from the job page or Sent
   --------------------------------------------------------------------------
   Appended to <body>, so it is OUTSIDE .app: no container query reaches it,
   and in phone view the window is still ~1400px so no media query fires
   either. frameTo() hands it the phone's VISIBLE slice as --dev-*.
   ========================================================================== */
.pjs__host { position: relative; z-index: 90; }
.pjs__scrim { position: fixed; inset: 0; background: rgba(11, 11, 12, .6); display: block; }
.pjs {
	position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
	z-index: 91; width: 560px; max-width: calc(100vw - 32px);
	max-height: calc(100dvh - 48px); overflow-y: auto;
	box-sizing: border-box; padding: 28px 32px;
	border-radius: var(--r-md); background: rgba(16, 16, 19, .98);
	border: 1px solid rgba(242, 238, 231, .12);
	display: flex; flex-direction: column; gap: var(--s5);
	box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
}
.pjs__h { display: flex; align-items: center; }
.pjs__t { flex: 1; font-size: var(--t-h3); font-weight: var(--fw-semi); }
.pjs__x { font-size: 20px; letter-spacing: 0; }
.pjs__l { font-size: 13px; line-height: normal; color: var(--text-3); }
.pjs__pick { display: flex; flex-direction: column; gap: var(--s2); }
/* A per-role share is the point: "Photographer wanted" travels further than
   "Autumn menu launch". */
.pjs__seg {
	display: flex; gap: 4px; padding: 4px; align-self: flex-start;
	border-radius: 999px; background: var(--page); border: 1px solid var(--line-soft);
	max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.pjs__seg::-webkit-scrollbar { display: none; }
.pjs__r {
	min-height: 36px; height: 36px; padding: 0 14px; border: 0; border-radius: 999px;
	background: transparent; color: var(--grey-300); cursor: pointer;
	font: inherit; font-size: 13px; white-space: nowrap;
}
.pjs__r.is-on { background: var(--text); color: var(--page); font-weight: var(--fw-semi); }
/* The board draws these at 36 in a 46px track, and the standing decision is
   that a control may LOOK 36 as long as its hit area is 44. The track has
   4px of padding, so 4px of overhang each way reaches 44 and lands on the
   track rather than on anything else. */
.pjs__r { position: relative; }
.pjs__r::after { content: ''; position: absolute; inset: -4px 0; }

/* The OG card is GENERATED, from the content library's Job card template
   and the job's public fields. It is not hand-made and does not enter the
   library. */
.pjs__og { border-radius: var(--r-md); overflow: hidden; border: 1px solid rgba(242, 238, 231, .14); background: var(--card); }
.pjs__ogi { position: relative; height: 250px; }
.pjs__ogi > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; image-orientation: none; }
.pjs__ogs { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.55) 60%, rgba(11,11,12,.1) 100%); }
.pjs__ogb {
	position: absolute; left: 24px; top: 24px; bottom: 24px; max-width: 300px;
	display: flex; flex-direction: column; justify-content: space-between;
}
.pjs__ogl { height: 16px; width: auto; }
.pjs__ogt { display: flex; flex-direction: column; gap: var(--s2); }
.pjs__ogn { font-size: 30px; font-weight: var(--fw-semi); line-height: 1.1; letter-spacing: -.01em; }
.pjs__ogm { font-size: 14px; line-height: normal; color: var(--text-2); }
.pjs__ogc { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.pjs__ogcn { font-size: 14px; line-height: normal; font-weight: var(--fw-semi); }
.pjs__ogcu { font-size: var(--t-xs); color: var(--text-3); }
.pjs__note { font-size: var(--t-xs); color: var(--text-3); margin-top: -12px; }

/* THREE TRACKS FOR THREE TILES. It was four until the QR came out on
   2026-11-18; a four-track row with three children does not re-centre, it
   leaves a quarter-width hole on the right (rule 2.9b). Three fit the phone
   too, measured at 375: a 341px row less two 8px gaps is 108px a tile, and
   the widest label, "Story image", draws 76px in a 92px content box on one
   line — so the two phone overrides that forced 2x2 for four tiles are gone
   with it rather than orphaning a third tile on a second row. */
.pjs__ch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
.pjs__c {
	height: 72px; border-radius: 14px; padding: 0 var(--s2);
	flex-direction: column; gap: 6px;
	font-size: 13px; letter-spacing: 0; text-transform: none;
}
.pjs__c svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pjs__msg { display: flex; flex-direction: column; gap: var(--s2); }
.pjs__mt {
	border-radius: var(--r-md); border: 1px solid var(--grey-600);
	padding: 12px 14px; font-size: 14px; line-height: 1.5; color: var(--text-2);
}
.pjs__mt:focus-visible { outline: 0; border-color: var(--rizzz); }

/* ==========================================================================
   LITE 05 · THE PHONE  —  A DIFFERENT COMPOSITION, not this page narrowed
   --------------------------------------------------------------------------
   What the phone board actually does, element by element:
     · the hero is FULL BLEED at 180px, no radius and no side margin, where
       desktop has an inset 360px rounded card
     · THE TARGETED ROLE IS THE WHOLE PAGE. There is no list of roles and no
       "2 roles" heading; "Also hiring: Content creator" is one 18px line
       under a hairline
     · "About the job" is a LINK, not a section at the top
     · there is no rail: no How it works, no Share section, no Why talent
       box. The sign-up rule moves into the docked bar
     · Apply is docked above the browser toolbar at 52px in a 73px bar
     · Share moves INTO the 48px header and opens the device's own sheet

   @container, never @media: in phone view the app is a 390px column inside
   a ~1400px window, so a width media query reads the window.
   ========================================================================== */
@container (max-width: 760px) {

	/* The page fills the device and its three parts are a column: a fixed
	   header, a scrolling middle, and the docked bar. dvh, not vh — in
	   mobile Safari 100vh is the LARGE viewport, the one with the toolbar
	   hidden, so a vh-sized column puts the dock under the toolbar. This
	   is a mobile BROWSER and will be for now, so env(safe-area-inset-*)
	   is the wrong tool: it reads 0 in a tab. */
	.pj--phone {
		display: flex; flex-direction: column;
		/* 100% of the DEVICE BOX, not 100dvh. `.app` is the phone frame and
		   the reviewer's chrome sits above it, so a dvh-tall column is
		   taller than the space it has by exactly that chrome — which put
		   the docked Apply 41px below the fold. `.dash` already does this;
		   dvh is the right unit for a REAL phone's toolbar and the wrong
		   one for the frame inside this prototype. */
		/* `min-height: 100%` WAS INERT AND HAD BEEN SINCE IT WAS WRITTEN.
		   A percentage min-height resolves against the containing block's
		   HEIGHT, and every ancestor here is auto — `.pj`, `.frame`, `#app`,
		   `.app` all measured `min-height: 0px` with a 660px content height
		   in an 812px viewport. So the column never filled anything and the
		   sticky dock stopped wherever the content did: the audit measured
		   134px of empty page under it, 108 after `.stage`'s bottom padding
		   went. The reasoning above is right; the value could not express it.

		   A definite height, twice, because the two surfaces genuinely differ
		   and that is what the paragraph above says. The REAL phone's ceiling
		   is the viewport less `.stage`'s top padding, in dvh for the toolbar
		   reason given. The prototype's is the device box, and it is written
		   as the same arithmetic `.stage[data-view="phone"] .app` uses in
		   index.html rather than a percentage of it. */
		min-height: calc(100dvh - var(--s5)); max-width: none; margin: 0; padding: 0;
	}

	/* ---- the 48px header: logo · Share · Log in ---- */
	.pj__top {
		height: 48px; gap: 4px; padding: 0 8px 0 16px;
		background: rgba(11, 11, 12, .7);
		border-bottom: 1px solid rgba(242, 238, 231, .08);
		position: sticky; top: 0; z-index: 5;
	}
	/* backdrop-filter makes an element the containing block for every fixed
	   descendant, which is how the ask bar was captured once already. There
	   is nothing fixed inside this header, so it is safe here — and it is
	   named so the next person does not have to rediscover why. */
	@supports (backdrop-filter: blur(12px)) {
		.pj__top { backdrop-filter: blur(12px); }
	}
	.pj__brand .lockup { height: 16px; }
	.pj__sharei { display: inline-flex; width: 44px; height: 44px; background: none; border: 0; }
	.pj__sharei svg { width: 18px; height: 18px; }
	.pj__face { display: block; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; margin-right: 6px; }
	.pj__face > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }

	/* ---- the scrolling middle ---- */
	.pj__scroll { display: flex; flex-direction: column; flex: 1; min-height: 0; }

	/* FULL BLEED, 180, square. The gutter stops at its content. */
	.pj__hero { height: 180px; flex: none; border-radius: 0; margin: 0; }
	.pj__hero::after { background: linear-gradient(180deg, rgba(11,11,12,0) 30%, rgba(11,11,12,.92) 100%); }
	.pj__hb { left: 16px; right: 16px; bottom: 12px; gap: 6px; }
	.pj__eyebrow {
		font-size: 11px; line-height: normal; font-weight: var(--fw-bold);
		letter-spacing: .08em; text-transform: uppercase;
	}
	.pj__h { font-size: 28px; line-height: 1.1; }
	.pj__meta { font-size: 13px; }

	/* ---- the one role, which IS the page ---- */
	.pj--phone .pj__role {
		display: flex; flex-direction: column; gap: 10px;
		/* align-items is the CROSS axis, and the desktop rule sets it to
		   `center` for its two-column grid. Carried into a flex COLUMN it
		   centred every line on the phone — the eyebrow, the title row,
		   the tags, "7 applied", "Also hiring" — against a board that is
		   left-aligned throughout. The audit passed it: every row was the
		   right height and nothing clipped. Only looking found it. */
		align-items: stretch;
		padding: 12px 16px; border-top: 0; margin: 0;
	}
	.pj__reye { display: block; color: var(--grey-300); }
	.pj--phone .pj__rt { align-items: baseline; gap: var(--s2); flex-wrap: nowrap; }
	.pj--phone .pj__rn { flex: 1; min-width: 0; font-size: 20px; line-height: normal; }
	.pj--phone .pj__rate { font-size: 17px; line-height: normal; }
	.pj--phone .pj__tag { font-size: 12px; padding: 2px 8px; }
	.pj--phone .pj__what { font-size: 14px; line-height: 1.45; white-space: normal; }
	/* The desktop's bulleted lists become one dense line each — the board
	   writes them with middots, which is a rewrite rather than a reflow. */
	.pj__pb { display: flex; flex-direction: column; gap: 4px; }
	.pj__pb .eyebrow { font-size: 11px; }
	.pj__pbt { font-size: 13px; color: var(--text-2); line-height: 1.45; }
	/* About the job is a LINK here, and the board draws it as a bare 15px
	   line in a 10px-gap column. A min-height of 44 added 29px to a role
	   block the board puts at 331 — so the hit area goes on a pseudo
	   element instead, which the finger gets and the layout does not. Same
	   technique, same reason, as .pj__dlink in the dock. */
	.pj__about {
		position: relative; align-self: flex-start;
		font-size: 13px; line-height: normal; color: var(--grey-300);
		text-decoration: underline; text-underline-offset: 3px;
		text-decoration-color: var(--grey-600);
		min-height: 0; padding: 0;
	}
	.pj__about::after { content: ''; position: absolute; inset: -15px -10px; }
	.pj--phone .pj__n { font-size: 13px; }
	.pj__rule { display: block; height: 1px; background: rgba(242, 238, 231, .1); }
	/* ONE LINE, not a second role row. */
	/* A BUTTON NOW, SO IT NEEDS A BUTTON'S RESET AND A FINGER. The visual
	   is unchanged — the board draws a line of text, not a control — but it
	   is one, so it gets 44px of height and a focus state the edge of the
	   row can carry. */
	.pj__also {
		display: flex; align-items: baseline; gap: var(--s2);
		width: 100%; min-height: 44px; padding: 0; margin: 0;
		background: none; border: 0; text-align: left; cursor: pointer; font: inherit;
	}
	.pj__alsot { flex: 1; min-width: 0; font-size: 15px; line-height: normal; font-weight: var(--fw-semi);
		overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.pj__alsor { font-size: 14px; line-height: normal; font-weight: var(--fw-reg); color: var(--grey-300); }

	/* ---- Similar roles, on filled and closed (Jack: "if there's space
	   add it"). Two cards fit a 390 column where three fit 1128, and the
	   arrows go: swipe is the gesture on a phone and the scroller already
	   snaps. The label keeps its full copy, which is the point of it —
	   it says how wide the pool had to go to fill the row. ---- */
	.pj--phone .pj__sim { padding: 12px 16px 0; gap: var(--s2); }
	.pj--phone .pj__arr { display: none; }
	.pj--phone .pj__simt { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
	.pj--phone .pj__simc { height: 104px; }
	.pj--phone .pj__siml { font-size: 11px; line-height: normal; }

	/* ---- the docked bar. 73px on a 52px button ---- */
	.pj__dock {
		display: flex; flex-direction: column; gap: var(--s2); flex: none;
		padding: 10px 16px;
		border-top: 1px solid rgba(242, 238, 231, .1);
		background: rgba(16, 16, 19, .88);
		position: sticky; bottom: 0; z-index: 5;
		padding-bottom: calc(var(--s3) + env(safe-area-inset-bottom, 0px));
		/* STICKY HOLDS IT ON A LONG PAGE; THIS PUTS IT ON THE FOLD ON A SHORT
		   ONE. Sticky can only pin while there is content to scroll past, so
		   on a 660px job it sat at the end of the text with the rest of the
		   screen blank beneath it. The column has a definite height now, so
		   the free space can be given to this margin instead. */
		margin-top: auto;
	}
	@supports (backdrop-filter: blur(12px)) {
		.pj__dock { backdrop-filter: blur(12px); }
	}
	.pj__dbtn { height: 52px; width: 100%; }
	.pj__dnote { font-size: 14px; line-height: normal; color: var(--text-2); text-align: center; padding: 4px 0; }
	.pj__dgate { font-size: 14px; line-height: normal; color: var(--text-2); text-align: center; padding: 8px 0; }
	/* 44px of HIT AREA on a 17px line, WITHOUT changing the dock's height.
	   The board draws this escape link inline inside a 33px box, and the
	   standing decision is "44px hit area; a control can look smaller as
	   long as its hit area is 44". A pseudo-element gives the finger the
	   44 while the line keeps the board's 17 — there is nothing else in
	   the dock for it to overlap. */
	.pj__dlink {
		position: relative; display: inline; min-height: 0; padding: 0;
		font-size: 14px; line-height: normal;
	}
	.pj__dlink::after { content: ''; position: absolute; inset: -14px -10px; }

}


/* ==========================================================================
   5c ON THE PHONE — a bottom sheet inside the DEVICE box
   --------------------------------------------------------------------------
   TOP LEVEL, NOT INSIDE THE @container BLOCK, and that is the whole point:
   `.pjs__host` is appended to <body>, so it is OUTSIDE .app and NO container
   query can reach it. These rules were written inside the container block
   first and did nothing at all — the sheet stayed 560px wide in phone view.
   `[data-view="phone"]`, which frameTo() sets on the host, is what scopes
   them, and it is set from isPhone(), so it covers both the prototype's
   toggle and a genuinely narrow window.
   ========================================================================== */
/* ---- 5c becomes a bottom sheet, inside the DEVICE box ----
   fixed to the viewport and then placed inside the frame, whose visible
   slice frameTo() measures. Absolute would resolve against <body> and
   span the reviewer's whole window; anchoring to .app's own box would
   land it wherever the page's CONTENT ends, which is how the Book
   confirm shipped off-screen. */
.pjs__host[data-view="phone"] .pjs__scrim {
	position: fixed; inset: auto;
	left: var(--dev-l, 0); top: var(--dev-t, 0);
	width: var(--dev-w, 100%); height: var(--dev-h, 100%);
	border-radius: var(--r-xl);
}
.pjs__host[data-view="phone"] .pjs {
	left: var(--dev-l, 0); transform: none;
	top: auto; bottom: calc(100dvh - (var(--dev-t, 0px) + var(--dev-h, 100dvh)));
	width: var(--dev-w, 100%); max-width: none;
	max-height: calc(var(--dev-h, 100dvh) - 48px);
	padding: 20px 16px 16px;
	border-radius: var(--r-xl) var(--r-xl) 0 0;
	border-bottom: 0; gap: var(--s4);
}
.pjs__host[data-view="phone"] .pjs::before {
	content: ''; position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
	width: 36px; height: 4px; border-radius: 2px; background: rgba(242, 238, 231, .24);
}
.pjs__host[data-view="phone"] .pjs__ogi { height: 160px; }
.pjs__host[data-view="phone"] .pjs__ogb { left: 16px; top: 16px; bottom: 16px; max-width: 220px; }
.pjs__host[data-view="phone"] .pjs__ogn { font-size: var(--t-h4); }
/* WRAP, don't scroll. Three role pills are 386 wide in a 354 box, and a
   horizontal scroller with no edge fade hides the third option behind
   nothing — "Content creat…" was the last thing you could see. */
.pjs__host[data-view="phone"] .pjs__seg { flex-wrap: wrap; overflow-x: visible; align-self: stretch; }
.pjs__host[data-view="phone"] .pjs__r { flex: 1 1 auto; }
.pjs__host[data-view="phone"] .pjs__t { font-size: var(--t-h4); }

/* A genuinely narrow browser, for the same sheet. `.pjs__host` is appended
   to <body>, OUTSIDE .app, so no container query can reach it at all, and
   `[data-view="phone"]` above only says what the prototype's own toggle
   says — a real phone sets neither. The viewport really is the right
   measure here: same exemption, same reason, as #dashPanel's sheet.
   container-law-exempt */
@media (max-width: 760px) {
	.pjs { width: 100%; max-width: none; left: 0; bottom: 0; top: auto; transform: none;
		border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 20px 16px 16px;
		max-height: calc(100dvh - 48px); }
	.pjs__seg { flex-wrap: wrap; overflow-x: visible; align-self: stretch; }
	.pjs__r { flex: 1 1 auto; }
	.pjs__ogi { height: 160px; }
}

/* ==========================================================================
   LITE 06 · APPLICATIONS PER ROLE  (.ap)
   --------------------------------------------------------------------------
   Measured off "LITE 06 Applications.dc.html" (sha256 9329d0e8…),
   2026-10-22. Numbers in BOARD in tools/screen-audit.js.

   A PAGE, not a panel: 50–100+ applicants need room and their own address.
   The phone is this page REFLOWED, not a different composition, so there is
   one markup and the differences below are @container rules.
   ========================================================================== */

.ap__head { padding-top: var(--s6); display: flex; flex-direction: column; gap: 20px; }
.ap__crumb { margin: 0; display: flex; align-items: center; gap: var(--s3); }
.ap__crumb .link { font-size: 14px; }
/* The select-mode title. × is the ONLY way out, which is why the back link
   hides with it: two exits from one bar is how you leave by accident. */
.ap__crumb--sel { gap: var(--s2); }
.ap__selt { font-size: 22px; font-weight: var(--fw-semi); }
.ap__selon { display: none; }
.ap__ht { display: flex; flex-direction: column; gap: 6px; }
.ap__h { margin: 0; font-size: 32px; line-height: normal; font-weight: var(--fw-semi); letter-spacing: -.01em; }
.ap__sub { margin: 0; font-size: 15px; line-height: normal; color: var(--text-2); }

/* The pipeline, the same four as the job page and in the same order.
   NO BOOKED TAB: booking one person fills the role, so the page moves on. */
.ap__tabs {
	display: flex; align-items: flex-end; gap: 28px;
	border-bottom: 1px solid var(--line-soft);
}
.ap__tab {
	min-height: 44px; height: 44px; padding: 0; border: 0; background: none;
	cursor: pointer; font: inherit; font-size: 15px;
	color: var(--text-3); position: relative;
	display: inline-flex; align-items: center; gap: 6px;
}
.ap__tab.is-on { color: var(--text); font-weight: var(--fw-semi); }
.ap__tab.is-on::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: -1px;
	height: 2px; background: var(--action-flat);
}
.ap__tn { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.ap__tab.is-on .ap__tn { color: var(--text-2); }

.ap__body {
	margin-top: 20px;
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--col-gap);
}
.ap__main { grid-column: 1 / span 9; display: flex; flex-direction: column; gap: var(--s3); min-width: 0; }
.ap__side { grid-column: 10 / span 3; padding-left: 20px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* Filters say their own counts, and the counts are the API's rather than
   the rows loaded so far — "8 of 42" has to mean 42. */
.ap__fs { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.ap__f {
	min-height: 36px; height: 36px; padding: 0 14px; border-radius: 999px;
	border: 1px solid var(--line-soft); background: none; cursor: pointer;
	font: inherit; font-size: var(--t-sm); color: var(--text-2);
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.ap__f:hover { border-color: var(--line); color: var(--text); }
.ap__f.is-on { background: var(--text); border-color: transparent; color: var(--page); font-weight: var(--fw-semi); }
.ap__fn { font-size: var(--t-sm); opacity: .72; font-variant-numeric: tabular-nums; }
.ap__fsp { flex: 1; }
.ap__sort {
	min-height: 36px; height: 36px; padding: 0 12px; border: 0; background: none;
	cursor: pointer; font: inherit; font-size: var(--t-sm); color: var(--text-2);
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.ap__sort svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }

.ap__tool { display: flex; align-items: center; gap: var(--s3); }
.ap__count { flex: 1; min-width: 0; font-size: var(--t-sm); line-height: normal; color: var(--text-3); }
.ap__vw { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-soft); }
.ap__vb {
	min-height: 30px; height: 30px; padding: 0 12px; border: 0; border-radius: 999px;
	background: none; cursor: pointer; font: inherit; font-size: var(--t-xs);
	color: var(--text-3); white-space: nowrap;
}
.ap__vb.is-on { background: var(--card-lift); color: var(--text); }
/* 44px of hit area on 30 and 36px controls, without moving the layout —
   the board draws them small and the standing rule is the finger gets 44. */
.ap__vb, .ap__f, .ap__sort { position: relative; }
.ap__vb::after { content: ''; position: absolute; inset: -7px 0; }
.ap__f::after, .ap__sort::after { content: ''; position: absolute; inset: -4px 0; }

/* ---- the rows ------------------------------------------------------
   Grid 24 | 48 | 1fr | auto. The row is NOT one big link: the checkbox,
   star and buttons stay separate targets, and the name, photo and message
   are what open the profile. */
.ap__rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ap__r {
	display: grid; grid-template-columns: 24px 48px minmax(0, 1fr) auto;
	align-items: center; gap: var(--s4);
	padding: 12px 0; border-bottom: 1px solid var(--line-soft);
	background: none; transition: transform 160ms var(--ease);
}
.ap__r.is-sel { background: rgba(242, 238, 231, .04); }
.ap__box {
	width: 24px; height: 24px; padding: 0; border-radius: 6px;
	border: 1px solid var(--grey-600); background: none; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	font: inherit; font-size: var(--t-sm); color: var(--page);
	position: relative;
}
.ap__box::after { content: ''; position: absolute; inset: -10px; }
.ap__box.is-on { background: var(--text); border-color: transparent; }
.ap__face {
	width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
	overflow: hidden; background: var(--card); cursor: pointer;
}
.ap__face > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
.ap__r:hover .ap__face { box-shadow: 0 0 0 2px var(--text); }
.ap__t {
	display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
	min-width: 0; padding: 0; border: 0; background: none; cursor: pointer;
	font: inherit; text-align: left; color: inherit;
}
.ap__n { display: flex; align-items: center; gap: var(--s2); min-width: 0; max-width: 100%; }
.ap__name { font-size: var(--t-body); font-weight: var(--fw-semi); line-height: normal; color: var(--text); white-space: nowrap; }
.ap__t:hover .ap__name { text-decoration: underline; text-underline-offset: 3px; }
/* The dot is "new on Thrilla", the one thing a rating cannot say. */
.ap__new { width: 7px; height: 7px; border-radius: 50%; background: var(--action-flat); flex: none; }
.ap__meta { font-size: var(--t-sm); line-height: normal; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap__fit { display: flex; gap: 6px; flex-wrap: wrap; max-width: 100%; }
/* WHY this person ranks here. No match percentage: a number nobody can
   check is worse than the reason. */
.ap__chip {
	font-size: var(--t-xs); line-height: normal; padding: 1px 8px; border-radius: 999px;
	border: 1px solid var(--line-soft); color: var(--text-2); white-space: nowrap;
}
.ap__msg {
	display: block; max-width: 100%;
	font-size: 14px; line-height: normal; color: var(--text-2);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ap__t:hover .ap__msg { color: var(--text); }
.ap__a { display: flex; align-items: center; gap: 4px; }
.ap__star { width: 44px; height: 44px; background: none; border: 0; }
.ap__star svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ap__star.is-on svg { fill: var(--action-flat); stroke: var(--action-flat); }
.ap__dec { min-height: 40px; height: 40px; padding: 0 14px; font-size: var(--t-sm); }
.ap__sm { min-height: 40px; height: 40px; padding: 0 16px; font-size: var(--t-xs); white-space: nowrap; }
.ap__empty { padding: var(--s8) 0; font-size: var(--t-body); color: var(--text-3); text-align: center; }

/* ---- the rail ---- */
.ap__tip {
	position: relative; padding: 14px 40px 14px 14px; border-radius: 14px;
	border: 1px solid rgba(25, 255, 217, .3); background: rgba(25, 255, 217, .05);
	display: flex; flex-direction: column; gap: 6px;
}
.ap__tip p { margin: 0; font-size: var(--t-sm); line-height: 1.45; color: var(--text-2); }
.ap__tx { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; background: none; border: 0; font-size: 18px; }
.ap__sec { display: flex; flex-direction: column; gap: var(--s3); }
.ap__sec--top { padding-top: 20px; border-top: 1px solid var(--line-soft); }
.ap__sh { margin: 0; display: flex; align-items: center; gap: var(--s2); font-size: var(--t-sm); font-weight: var(--fw-semi); }
.ap__spark { width: 16px; height: 16px; flex: none; fill: var(--action-flat); stroke: none; }
.ap__st { margin: 0; font-size: var(--t-sm); line-height: 1.45; color: var(--text-2); }

/* ---- the selection bar. It FLOATS on desktop, centred over the list ----
   The one filled button on the page lives here (Compare), because with 42
   rows there is no obvious next action in the list itself. */
.ap__bar {
	/* STICKY, not fixed. `.frame` carries a transform, which makes it the
	   containing block for anything fixed — so a fixed bar pins to the
	   frame and not the viewport, and the audit's check 7 says so. Sticky
	   inside the main column needs no containing block at all, and it
	   settles at the end of the list instead of hanging over the footer. */
	position: sticky; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 60;
	width: fit-content; max-width: 100%; margin: var(--s5) auto 0;
	display: flex; align-items: center; gap: var(--s3);
	padding: 10px 10px 10px 20px; border-radius: 999px;
	background: var(--grey-800); border: 1px solid var(--line-soft);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}
.ap__bn { font-size: var(--t-body); line-height: normal; white-space: nowrap; }
.ap__bb { min-height: 40px; height: 40px; padding: 0 16px; font-size: var(--t-xs); white-space: nowrap; }

/* ---- Compare. Up to four, the same facts in the same order on each, so
   the eye runs across instead of hunting. ---- */
.ap__cmp { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: var(--s4); }
.ap__cc {
	display: flex; flex-direction: column; gap: var(--s3);
	padding: var(--s4); border-radius: var(--r-lg);
	border: 1px solid var(--line-soft); background: rgba(22, 22, 26, .72);
	min-width: 0;
}
.ap__ccov { height: 160px; border-radius: var(--r-md); overflow: hidden; background: var(--card); }
/* The face inside Compare's cover. `faceOf` emits an <img class="face …">
   for a signed avatar or a <span> of initials, so it needs to fill the
   cover the way the old hardcoded <img> did (2026-10-30). */
.ap__cface { width: 100%; height: 100%; border-radius: 0; object-fit: cover; font-size: var(--t-h3, 20px); }
.ap__ccov > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
.ap__cshots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ap__cshot { height: 56px; border-radius: 8px; overflow: hidden; background: var(--card); }
.ap__cshot > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
.ap__cn { margin: 0; font-size: var(--t-h4); line-height: normal; font-weight: var(--fw-semi); }
.ap__cf { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px var(--s3); font-size: var(--t-sm); }
.ap__cf dt { color: var(--text-3); white-space: nowrap; }
.ap__cf dd { margin: 0; color: var(--text-2); }
.ap__cmsg { margin: 0; font-size: var(--t-sm); line-height: 1.45; color: var(--text-2); }
.ap__ca { margin-top: auto; display: flex; align-items: center; gap: var(--s3); }
.ap__ca .btn { height: 44px; flex: 1; }

/* ==========================================================================
   LITE 06 · THE PHONE — the same page, reflowed
   --------------------------------------------------------------------------
   Not a different composition, which is why there is one markup and this is
   a @container block. What actually changes:
     · the row's tracks go 24 | 48 | 1fr | auto -> 24 | 44 | 1fr | 44, and
       its height 84 -> 68
     · the rate and the booked count go. They are on the job page, one step
       back, and this page is a list you scan
     · the rail goes entirely
     · CHECKBOXES ONLY EXIST IN SELECT MODE. Out of it a tap opens the
       profile; in it a tap toggles. That is the Photos and Mail pattern, so
       tapping is never ambiguous — and × is the only way out, which is why
       the back link hides with it
     · the selection bar stops floating and docks above the browser chrome
   ========================================================================== */
@container (max-width: 760px) {
	.ap__head { padding-top: var(--s3); gap: 6px; }
	.ap__crumb { gap: 4px; }
	.ap__selon { display: inline-flex; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; }
	.ap__selon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
	.ap__x { width: 44px; height: 44px; background: none; border: 0; font-size: 20px; }
	/* The title is the h2 the board draws at 22, and in select mode it is
	   replaced by the count rather than sitting beside it. */
	.ap__h { font-size: 22px; }
	.ap--sel .ap__ht { display: none; }
	.ap.is-select .ap__ht { display: none; }
	.ap__sub { display: none; }        /* rate and booked are on the job page */

	/* A SCROLLER AT 360. Four tabs at 18px apart need ~382 and a 360px
	   Android gives 328 of content, so the row pushed `.app` 4px sideways
	   — found at Jack's second phone checkpoint, not at 390. Same treatment
	   the Talent tab row already has, and `flex: none` so a tab shrinks its
	   gap rather than its label. */
	.ap__tabs { gap: 18px; overflow-x: auto; scrollbar-width: none; }
	.ap__tabs::-webkit-scrollbar { display: none; }
	.ap__tab { font-size: var(--t-body-sm, 14px); flex: none; }
	.ap__tn { font-size: var(--t-sm); }

	.ap__body { margin-top: 0; display: block; }
	.ap__main { gap: 0; }
	.ap__side { display: none; }

	/* One scrolling line of chips, and the gutter survives the scroll —
	   scroll-padding, because scroll-snap ignores a scroller's padding. */
	.ap__fs {
		flex-wrap: nowrap; overflow-x: auto; gap: 6px;
		padding: 4px 16px 0; margin: 0 -16px;
		scroll-padding-left: 16px; scrollbar-width: none;
	}
	.ap__fs::-webkit-scrollbar { display: none; }
	.ap__f { padding: 0 12px; flex: none; }
	/* THE COUNT STAYS, THE VIEW TOGGLE GOES. `.ap__tool` holds both, and
	   hiding the pair took the count with it — so the busiest screen in the
	   product showed four rows under a tab reading a number, with nothing
	   saying how many of how many (audit fix 6). The count is one line of
	   13px text and it is the thing a client reads to know whether they have
	   seen everybody.

	   LIST/COMPARE STAYS A DESKTOP CONTROL, and that is a decision rather
	   than an omission: Compare is entered from the selection bar, which is
	   on the phone, and with nothing selected the toggle would render the
	   same list either way (`lite-mobile-reach-gate.mjs`, `apps.view`).

	   THE SORT COMES BACK — audit fix 2, which this comment has been
	   pointing at since 2026-11-23. It leads the row rather than trailing it:
	   four chips at ~110px each push anything after them past 375, so a sort
	   at the end of a scroller is a control you cannot see. Its height is
	   unchanged at 36 — `.ap__sort::after` already carries the 44px target on
	   negative insets, so the row the board measures does not grow (3.7b). */
	.ap__fsp, .ap__vw { display: none; }
	.ap__sort { order: -1; flex: none; padding-left: 0; }

	.ap__r {
		grid-template-columns: 24px 44px minmax(0, 1fr) 44px;
		gap: 10px; padding: 8px 0;
	}
	/* Out of select mode the checkbox is not there at all — and the grid
	   loses its track with it. A `0` first track was wrong: `display: none`
	   takes the box OUT of the grid, so every remaining item slid one track
	   left and the face landed on top of the name. Three tracks when there
	   is no checkbox, four when there is. */
	.ap:not(.is-select) .ap__r { grid-template-columns: 44px minmax(0, 1fr) 44px; }
	.ap:not(.is-select) .ap__r > .ap__box { display: none; }
	.ap.is-select .ap__r { grid-template-columns: 24px 44px minmax(0, 1fr) 44px; }
	.ap.is-select .ap__r > .ap__box { display: inline-flex; border-radius: 50%; }
	.ap__face { width: 44px; height: 44px; }
	.ap__t { gap: 2px; }
	.ap__name { font-size: 15px; }
	.ap__meta { font-size: var(--t-xs); }
	/* The fit chips go: at 216px of text column they wrap to two lines and
	   take the row past the board's 68. The meta line and the message are
	   what a thumb scans. */
	.ap__fit { display: none; }
	.ap__msg { font-size: var(--t-xs); }
	/* THE NAME AND THE META STACK on the phone, where the desktop board has
	   them on one line. 250px of text column is not 650: keeping them
	   together wrapped "Rami K." onto two lines and bent the row. The board
	   stacks them too — three lines of 18 / 15 / 14 at a 2px gap, which is
	   the 51px text column the row is measured from. */
	.ap__n { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
	.ap__new { display: none; }        /* "New on Thrilla" is in the meta line */
	/* Decline and Book leave the row — swipe left declines, and the profile
	   sheet carries both. The star stays, because shortlisting is the one
	   thing you do without opening anyone. */
	.ap__dec, .ap__sm, .ap__a .btn { display: none; }
	.ap__a { gap: 0; }
	.ap__star { width: 44px; height: 44px; }

	/* Docked, not floating: a pill centred over a 390px column would cover
	   the rows it is acting on. */
	.ap__bar {
		position: sticky; left: auto; bottom: 0; transform: none;
		padding-bottom: calc(var(--s3) + env(safe-area-inset-bottom, 0px));
		max-width: none; border-radius: 0; box-shadow: none;
		border: 0; border-top: 1px solid var(--line-soft);
		background: rgba(16, 16, 19, .94);
		padding: 10px 12px 10px 16px; gap: var(--s2);
		justify-content: flex-end;
	}
	@supports (backdrop-filter: blur(12px)) { .ap__bar { backdrop-filter: blur(12px); } }
	/* "3 selected" is already the title in select mode; repeating it in the
	   bar is a label that costs width and says nothing new. */
	.ap__bar .ap__bn, .ap__bar .link { display: none; }
	.ap__bb { height: 44px; padding: 0 14px; }
	/* Shortlist is the star on each row, so the bar carries the two that
	   only make sense in bulk. */
	.ap__bar [data-ap-bulk="star"] { display: none; }
	/* The 56px Spark hides in select mode, so it never covers Decline or
	   Compare — the handoff says so, and the two sit in the same corner. */
	.ap.is-select .bar:not([data-page="home"]) { display: none; }

	/* One per screen, swipeable — four cards on 390 is not a comparison. */
	.ap__cmp {
		grid-auto-flow: column; grid-auto-columns: calc(100% - 32px);
		grid-template-columns: none; gap: var(--s3);
		overflow-x: auto; scroll-snap-type: x mandatory;
		padding: 0 16px; margin: 0 -16px; scroll-padding-left: 16px;
		scrollbar-width: none;
	}
	.ap__cmp::-webkit-scrollbar { display: none; }
	.ap__cc { scroll-snap-align: start; }
}

/* ==========================================================================
   LITE 07 · THE TALENT PROFILE  (.tp panel and page, .tv viewer)
   --------------------------------------------------------------------------
   Measured off "LITE 07 Talent Profile.dc.html" (sha256 9593ff47…),
   2026-10-22. Five boards: the 720px panel, the phone sheet, the full page,
   and the portfolio viewer on both.

   `#dashProfile` is appended to <body>, OUTSIDE .app — so no container
   query reaches it and the prototype's phone frame is invisible to a width
   media query. frameTo() puts the device box on it as --dev-*, and the
   phone rules hang off [data-view="phone"], exactly as #dashPanel does.
   ========================================================================== */

/* The line that stands where a finished role's decisions used to be, in the
   profile panel and on the full page. Quiet by design: it explains an absence,
   it is not an alert — the same treatment as the job page's `.jp__note`. */
.tp__fnote { font-size: var(--t-sm); color: var(--text-3); flex: 1; min-width: 0; }
.tp__slimnote { font-size: var(--t-sm); color: var(--text-3); margin: 0; padding: 4px 0; }

#dashProfile { position: relative; z-index: 85; }
.tp__scrim {
	position: fixed; inset: 0; display: block;
	background: rgba(11, 11, 12, .6);
}
@supports (backdrop-filter: blur(8px)) { .tp__scrim { backdrop-filter: blur(8px); } }
#dashProfile .tp {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 86;
	width: 720px; max-width: 100vw;
	display: flex; flex-direction: column;
	background: var(--page); border-left: 1px solid var(--line-soft);
	box-shadow: -24px 0 64px rgba(0, 0, 0, .5);
}

.tp__top {
	height: 65px; flex: none; display: flex; align-items: center; gap: var(--s2);
	padding: 0 16px 0 24px; border-bottom: 1px solid var(--line-soft);
}
.tp__back { min-height: 44px; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.tp__sp { flex: 1; }
.tp__of { font-size: 13px; line-height: normal; color: var(--text-3); white-space: nowrap; }
.tp__nav, .tp__x { width: 44px; height: 44px; background: none; border: 0; }
.tp__x { border: 1px solid var(--line-soft); border-radius: 50%; font-size: 18px; }
.tp__nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

.tp__scroll { flex: 1; min-height: 0; overflow-y: auto; }

/* ---- identity. The portfolio is the decision, so identity is short:
   who, what, where, and the real numbers. ---- */
.tp__id { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 24px 32px 20px; }
.tp__face { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--card); position: relative; }
.tp__face > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
.tp__idt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tp__nm { margin: 0; display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.tp__n { font-size: 26px; line-height: normal; font-weight: var(--fw-semi); letter-spacing: -.01em; }
.tp__role { margin: 0; font-size: 15px; line-height: normal; color: var(--text-2); }
.tp__rt { margin: 0; display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; font-size: 14px; line-height: normal; color: var(--text-2); }
/* Socials are PUBLIC WORK, not contact details, so they show before
   booking. Phone and email do not (R2). New tab is the one exception to
   the no-new-tabs rule: a portfolio link is somewhere else. */
.tp__soc { display: flex; align-items: center; gap: var(--s2); padding-left: var(--s3); border-left: 1px solid var(--line-soft); }
.tp__s {
	width: 32px; height: 32px; border-radius: 50%; position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--line-soft); color: var(--text-2);
}
.tp__s::after { content: ''; position: absolute; inset: -6px; }
.tp__s:hover { color: var(--text); border-color: var(--line); }
.tp__s svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ---- why you are here: the message, or the contact once booked ---- */
.tp__why { margin: 0 32px; padding: 16px 18px; border-radius: 16px; background: var(--card); display: flex; flex-direction: column; gap: 6px; }
.tp__why--on { border: 1px solid rgba(25, 255, 217, .3); background: rgba(25, 255, 217, .05); }
.tp__q { margin: 0; font-size: var(--t-body); line-height: 1.5; color: var(--text); }
.tp__c { margin: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); font-size: 15px; }
.tp__ca { margin: 0; display: flex; gap: var(--s3); }
.tp__ca .btn { height: 44px; }

.tp__tabs { display: flex; align-items: flex-end; gap: 28px; padding: 0 32px; border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; z-index: 2; background: var(--page); }
.tp__tab { min-height: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: 15px; color: var(--text-3); position: relative; display: inline-flex; align-items: center; gap: 6px; }
.tp__tab.is-on { color: var(--text); font-weight: var(--fw-semi); }
.tp__tab.is-on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--action-flat); }
.tp__tn { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }

.tp__body { padding: 20px 32px 32px; display: flex; flex-direction: column; gap: var(--s5); }

/* ---- the portfolio. One hero tile and a grid, because the first frame
   is what a client actually judges. ---- */
.tp__pf { display: grid; grid-template-columns: 322px 161px 161px; gap: 6px; }
.tp__tile { position: relative; height: 100px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: var(--card); cursor: pointer; }
.tp__tile--hero { grid-row: span 3; height: auto; min-height: 306px; }
/* A PORTFOLIO VIDEO IS A TILE LIKE ANY OTHER. `> img` was written for the
   cover and a real wall carries video too (the file's contentType decides,
   not its position) — so both get the same box. Selector 2.11's lesson
   applies: this is a CHILD selector so it reaches the tile's own media and
   not the badge or the "+ N" chip layered over it. */
.tp__tile > img,
.tp__tile > video { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
.tp__badge, .tp__more {
	position: absolute; display: inline-flex; align-items: center; justify-content: center;
	color: var(--text); font-size: var(--t-sm);
}
.tp__badge { left: 8px; bottom: 8px; width: 24px; height: 24px; border-radius: 50%; background: rgba(11, 11, 12, .7); }
.tp__more { inset: 0; background: rgba(11, 11, 12, .62); font-weight: var(--fw-semi); }

.tp__det { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) 32px; }
.tp__db { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tp__db:first-child { grid-column: 1 / -1; }
/* BIO AND EXPERIENCE BOTH SPAN on board 7c — measured 1312 of 1312, against
   640 for Skills, Languages, Equipment and Education. Only `:first-child` was
   spanning, so Experience sat in a 312px half-column and wrapped its rows. A
   prose block is wide; a chip list is not. */
.tp__db[data-wide] { grid-column: 1 / -1; }
.tp__dp { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.tp__dl { margin: 0; padding-left: 18px; list-style: disc; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.tp__dc { margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.tp__chip { font-size: var(--t-xs); line-height: normal; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-soft); color: var(--text-2); }

/* ---- Work on Thrilla: jobs and reviews as ONE list ---- */
.tp__work { display: flex; flex-direction: column; gap: var(--s3); }
.tp__wl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s3); }
.tp__wi { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s3); }
.tp__wc { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--card); }
.tp__wc > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
.tp__wt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tp__wn { margin: 0; display: flex; align-items: baseline; gap: var(--s2); font-size: 15px; font-weight: var(--fw-semi); line-height: normal; }
.tp__wr { font-size: var(--t-sm); font-weight: var(--fw-reg); color: var(--text-2); }
.tp__wm { margin: 0; font-size: var(--t-sm); line-height: normal; color: var(--text-3); }
.tp__wq { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text-2); }

/* ---- the footer. ONE filled button, and it is the context's action.
   Message is always an outline so it never competes with it. ---- */
.tp__foot {
	flex: none; display: flex; align-items: center; gap: var(--s2);
	padding: 14px 24px; border-top: 1px solid var(--line-soft); background: var(--page);
}
.tp__star { width: 48px; height: 48px; background: none; border: 1px solid var(--line-soft); }
.tp__star svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.tp__star.is-on svg { fill: var(--action-flat); stroke: var(--action-flat); }
.tp__fs { flex: 1; min-width: 0; font-size: 13px; line-height: normal; color: var(--text-3); }
.tp__fsp { flex: 1; }
.tp__dec, .tp__cancel { min-height: 48px; height: 48px; padding: 0 14px; font-size: 14px; }
.tp__foot .btn { height: 48px; white-space: nowrap; }
.tp__book { padding: 0 22px; }

/* ==========================================================================
   7c · THE FULL PAGE — full width, with the decision card floating over it
   ========================================================================== */
.tp--page .tp__crumb { margin: var(--s6) 0 0; }
.tp__pbody { position: relative; margin-top: 20px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); padding-bottom: 48px; }
/* SAME ROW AS THE CARD. The card is explicitly placed in row 1, so an
   auto-placed main went to row 2 — leaving a 365px hole above the
   profile and pushing the whole page down by the height of a card it
   was supposed to sit under. The card overlays on purpose ("sitting
   over the content instead of pushing it"), and its chevron is the
   escape when it covers something you want to see. */
.tp__pmain { grid-column: 1 / span 12; grid-row: 1; display: flex; flex-direction: column; gap: var(--s6); min-width: 0; }
.tp--page .tp__id { padding: 0; }
.tp--page .tp__why { margin: 0; }
.tp__psec { display: flex; flex-direction: column; gap: var(--s3); }
/* The card OVERLAYS rather than pushing: a 400px column taken out of the
   grid would narrow the portfolio, which is the thing being judged. */
.tp__card {
	position: sticky; top: var(--s5); z-index: 20;
	grid-column: 9 / span 4; grid-row: 1; justify-self: end; align-self: start;
	width: 402px; max-width: 100%;
	display: flex; flex-direction: column; gap: var(--s3);
	padding: var(--s4); border-radius: var(--r-lg);
	border: 1px solid rgba(25, 255, 217, .3); background: rgba(16, 16, 19, .97);
	box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
}
.tp__card.is-slim { gap: var(--s3); }
.tp__ch { display: flex; align-items: flex-start; gap: var(--s2); }
.tp__spark { width: 18px; height: 18px; flex: none; fill: var(--action-flat); stroke: none; margin-top: 2px; }
.tp__ct { flex: 1; min-width: 0; font-size: 14px; line-height: 1.35; font-weight: var(--fw-semi); }
.tp__ct2 { display: block; font-weight: var(--fw-reg); color: var(--text-3); }
/* 32px drawn, 44 to the finger. The card is a floating overlay, so there
   is nothing beside the chevron for the overhang to collide with. */
.tp__cx { width: 32px; height: 32px; background: none; border: 0; flex: none; position: relative; }
.tp__cx::after { content: ''; position: absolute; inset: -6px; }
.tp__cx svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.tp__card .tp__foot { border-top: 0; padding: 0; background: none; flex-wrap: wrap; }
.tp__slim { height: 44px; width: 100%; }
/* The page's own numbers, not the panel's: four 322px columns at an 8px
   gap, 240px tiles with a 14px radius, and a hero spanning 2x2 — 488 tall,
   which is what gives the work the room the page exists for. */
.tp--page .tp__pf { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tp--page .tp__tile { height: 240px; border-radius: 14px; }
.tp--page .tp__tile--hero { grid-column: span 2; grid-row: span 2; min-height: 0; height: 488px; }
.tp--page .tp__det { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) 32px; }
.tp--page .tp__id { grid-template-columns: 128px minmax(0, 1fr); gap: var(--s5); }
.tp--page .tp__face { width: 128px; height: 128px; }
.tp--page .tp__n { font-size: 32px; }
.tp--page .tp__s { width: 34px; height: 34px; }

/* ==========================================================================
   7d / 7e · THE PORTFOLIO VIEWER — an IN-PAGE overlay, near-black
   --------------------------------------------------------------------------
   Not the browser's Fullscreen API: that needs a click, hides the back
   button and the tabs, and is not supported for images on iPhone Safari.
   No download and no right-click save — the work belongs to the talent.
   ========================================================================== */
.tv {
	position: fixed; inset: 0; z-index: 95; background: #08080a;
	display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px;
	grid-template-rows: 64px minmax(0, 1fr) auto auto;
	align-items: center;
}
.tv__top { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--s3); padding: 0 16px; }
.tv__who { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--s2); font-size: 14px; }
.tv__face { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex: none; }
.tv__face > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
.tv__of { color: var(--text-3); font-variant-numeric: tabular-nums; }
.tv__act { height: 40px; padding: 0 16px; font-size: var(--t-xs); }
.tv__x { width: 44px; height: 44px; background: none; border: 0; font-size: 20px; }
.tv__arr { width: 44px; height: 44px; background: none; border: 0; justify-self: center; }
.tv__arr svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.tv__stage { position: relative; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
.tv__stage > img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
/* THE VIEWER COULD RENDER THREE THINGS AND ONLY ONE WAS SIZED. `img` was
   constrained and `video` had no rule at all, so a 1080p portfolio video took
   its INTRINSIC height inside a centred flex stage — it overflowed top and
   bottom, which put its native controls off-screen. The viewer opened, a frame
   appeared, and there was no play button to press.

   Jack, 2026-11-11: "videos are not playing on talent profiles … the videos
   play on the original platform. why can't they play on LITE?" They play there
   because that player has its own CSS. Here the element was unstyled, and it is
   the only one of the three the stage can hold that nobody checked (F-154).

   Two wrong diagnoses came before this one, both from reading a URL path
   instead of a box: the planner's signed url is the ORIGINAL's s3Key and
   correctly typed, and the platform's `previewUrl` presigns the original too —
   `video/mp4`, `AcceptRanges: bytes`, read off the object itself on the box. The
   bytes were always fine. `audio` is included because it is in the same
   `innerHTML` and had no rule either. */
.tv__stage > video { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.tv__stage > audio { width: min(100%, 420px); display: block; }
.tv__play {
	position: absolute; width: 64px; height: 64px; border-radius: 50%;
	background: rgba(11, 11, 12, .6); display: flex; align-items: center;
	justify-content: center; font-size: 22px; color: var(--text);
}
.tv__cap { grid-column: 1 / -1; margin: 0; padding: var(--s3) 16px 0; text-align: center; font-size: 14px; line-height: 1.4; }
.tv__cap2 { display: block; font-size: var(--t-sm); color: var(--text-3); }
.tv__strip { grid-column: 1 / -1; display: flex; gap: 6px; padding: var(--s3) 16px var(--s4); overflow-x: auto; scrollbar-width: none; justify-content: center; }
.tv__strip::-webkit-scrollbar { display: none; }
.tv__t { position: relative; width: 64px; height: 44px; flex: none; padding: 0; border: 0; border-radius: 6px; overflow: hidden; opacity: .5; cursor: pointer; background: var(--card); }
.tv__t.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--text); }
.tv__t > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
.tv__b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; background: rgba(11, 11, 12, .4); }

/* --------------------------------------------------------------------------
   LITE 07 · THE PHONE — a 90% sheet, one continuous scroll
   --------------------------------------------------------------------------
   The sheet is ONE SCROLL (identity -> message -> Portfolio -> Details ->
   Work), not separate tab pages: people judge a creative by skimming
   everything, and swiping between hidden tabs hides half the profile. The
   44px tab row sticks once reached, tapping jumps, and the underline
   follows the scroll.

   TOP LEVEL, not inside a @container block: #dashProfile is appended to
   <body>, outside .app, so no container query reaches it. frameTo() sets
   [data-view="phone"] and the device box, exactly as #dashPanel does.
   -------------------------------------------------------------------------- */
#dashProfile[data-view="phone"] .tp__scrim {
	position: fixed; inset: auto;
	left: var(--dev-l, 0); top: var(--dev-t, 0);
	width: var(--dev-w, 100%); height: var(--dev-h, 100%);
	border-radius: var(--r-xl);
}
#dashProfile[data-view="phone"] .tp {
	left: var(--dev-l, 0); right: auto;
	top: auto; bottom: calc(100dvh - (var(--dev-t, 0px) + var(--dev-h, 100dvh)));
	width: var(--dev-w, 100%); max-width: none;
	height: calc(var(--dev-h, 100dvh) * .9);
	border-left: 0; border-top: 1px solid var(--line-soft);
	border-radius: 24px 24px 0 0;
	box-shadow: 0 -18px 44px rgba(0, 0, 0, .5);
}
/* A sheet with no handle reads as a stuck page. */
#dashProfile[data-view="phone"] .tp__top {
	height: 50px; padding: 6px 8px 0 16px; border-bottom: 0;
	justify-content: flex-end; position: relative;
}
#dashProfile[data-view="phone"] .tp__top::before {
	content: ''; position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
	width: 40px; height: 4px; border-radius: 2px; background: rgba(242, 238, 231, .24);
}
#dashProfile[data-view="phone"] .tp__back,
#dashProfile[data-view="phone"] .tp__of,
#dashProfile[data-view="phone"] .tp__nav { display: none; }
#dashProfile[data-view="phone"] .tp__x { border: 0; }
#dashProfile[data-view="phone"] .tp__id {
	grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 0 16px;
}
#dashProfile[data-view="phone"] .tp__face { width: 64px; height: 64px; }
#dashProfile[data-view="phone"] .tp__idt { gap: 3px; }
#dashProfile[data-view="phone"] .tp__n { font-size: 20px; }
#dashProfile[data-view="phone"] .tp__role { font-size: 14px; }
#dashProfile[data-view="phone"] .tp__rt { font-size: 13px; gap: var(--s2); }
/* Socials get their own row on the phone, at 36px with 44 of hit area —
   there is no width to put them on the rating line. */
#dashProfile[data-view="phone"] .tp__soc { width: 100%; padding-left: 0; border-left: 0; padding-top: 4px; }
#dashProfile[data-view="phone"] .tp__s { width: 36px; height: 36px; }
#dashProfile[data-view="phone"] .tp__s::after { inset: -4px; }
#dashProfile[data-view="phone"] .tp__scroll { padding-top: 14px; display: flex; flex-direction: column; gap: 14px; }
#dashProfile[data-view="phone"] .tp__why { margin: 0 16px; padding: 12px 14px; border-radius: 14px; gap: 4px; }
#dashProfile[data-view="phone"] .tp__q { font-size: 14px; }
#dashProfile[data-view="phone"] .tp__tabs { padding: 0 16px; gap: 20px; }
#dashProfile[data-view="phone"] .tp__tab { font-size: 14px; }
#dashProfile[data-view="phone"] .tp__body { padding: 0 16px 24px; gap: var(--s4); }
#dashProfile[data-view="phone"] .tp__pf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
#dashProfile[data-view="phone"] .tp__tile { height: 104px; }
#dashProfile[data-view="phone"] .tp__tile--hero { grid-row: auto; min-height: 0; height: 104px; }
#dashProfile[data-view="phone"] .tp__det { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
#dashProfile[data-view="phone"] .tp__db:first-child { grid-column: auto; }
#dashProfile[data-view="phone"] .tp__foot { padding: 10px 12px; gap: 6px; }
#dashProfile[data-view="phone"] .tp__foot .btn { height: 48px; }
#dashProfile[data-view="phone"] .tp__fs { display: none; }
#dashProfile[data-view="phone"] .tp__dec { padding: 0 10px; }

/* THE FULL PAGE IS INSIDE .app, so it is @container like everything else.
   It was written into the media block below with the panel and the viewer,
   and an exempt marker covers its WHOLE block — so three page rules were
   silently exempted from the container law and never fired in phone view:
   the portfolio stayed four columns on a 390px frame and .app scrolled
   sideways by 124px. Caught by check 1, not by the gate, 2026-10-22.
   The lesson is in the rubric as 2.1b: an exemption is per BLOCK, so a
   block may only contain rules that earn it. */
@container (max-width: 760px) {
	/* The decision card docks to the bottom rather than floating, which is
	   what the handoff says for a narrow screen. */
	.tp__card {
		position: sticky; grid-column: 1 / -1; grid-row: auto;
		justify-self: stretch; width: 100%; top: auto; bottom: 0;
		border-radius: var(--r-lg) var(--r-lg) 0 0;
	}
	.tp--page .tp__crumb { margin-top: var(--s3); }
	.tp__pbody { display: flex; flex-direction: column; margin-top: var(--s3); padding-bottom: 0; }
	.tp--page .tp__pmain { gap: var(--s5); }
	.tp--page .tp__pf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
	.tp--page .tp__tile { height: 104px; border-radius: 8px; }
	.tp--page .tp__tile--hero { grid-column: auto; grid-row: auto; height: 104px; }
	.tp--page .tp__det { grid-template-columns: minmax(0, 1fr); }
	.tp--page .tp__id { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
	.tp--page .tp__face { width: 64px; height: 64px; }
	.tp--page .tp__n { font-size: 20px; }
	.tp--page .tp__foot { flex-wrap: wrap; }
	.tp--page .tp__foot .btn { flex: 1; }
}

/* A genuinely narrow browser gets the same sheet and the same viewer. These
   two ARE outside .app — #dashProfile and .tv are both appended to <body>,
   so no container query can reach them, and [data-view] only says what the
   prototype's own toggle says. Nothing else belongs in this block.
   container-law-exempt */
@media (max-width: 760px) {
	#dashProfile .tp {
		left: 0; right: 0; top: auto; bottom: 0;
		width: 100%; max-width: none; height: 90dvh;
		border-left: 0; border-radius: 24px 24px 0 0;
	}
	.tv { grid-template-columns: 1fr; grid-template-rows: 56px minmax(0, 1fr) auto auto; }
	.tv__arr { display: none; }     /* swipe steps it on a phone */
}

/* ==========================================================================
   LITE 08 · CLOSE-OUT  (.cl page, .cp panel, .cb celebrate)
   --------------------------------------------------------------------------
   Measured off "LITE 08 Close-out.dc.html" (sha256 67b090c6…), 2026-10-22.

   PAYMENT IS OFF-PLATFORM (R1): the client pays directly and records it, so
   proof is required and the booking sits at PAYMENT_PENDING_CONFIRMATION
   until the talent says the money arrived. Nothing here moves money.
   ========================================================================== */

.cl__head { display: flex; flex-direction: column; gap: var(--s2); padding-top: var(--s6); }
.cl__pills { margin: 0; display: flex; gap: var(--s2); flex-wrap: wrap; }
.cl__pill {
	font-size: var(--t-xs); line-height: normal; font-weight: var(--fw-bold);
	letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px;
	border-radius: 999px; white-space: nowrap;
}
.cl__pill--now { background: var(--action-flat); color: var(--page); }
.cl__pill--done { background: var(--grey-700); color: var(--text-2); }
.cl__pill--soft { border: 1px solid var(--line-soft); color: var(--text-2); }
.cl__h { margin: 0; font-size: 42px; line-height: normal; font-weight: var(--fw-semi); letter-spacing: -.02em; }
.cl__sub { margin: 0; font-size: 15px; line-height: normal; color: var(--text-2); }

.cl__body { margin-top: var(--s5); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); padding-bottom: 48px; }
.cl__main { grid-column: 1 / span 8; display: flex; flex-direction: column; gap: var(--s5); min-width: 0; }
.cl__side { grid-column: 9 / span 4; padding-left: var(--s5); display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* Overtime is the ONE orange thing on the page — urgent, with the bolt, and
   dark text on it, because white on this orange is 3.66:1. */
.cl__ot, .cl__wrap {
	display: grid; grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center; gap: var(--s4);
	padding: 16px 18px; border-radius: 16px;
	border: 1px solid var(--cavir, #e95400); background: rgba(233, 84, 0, .08);
}
.cl__wrap { grid-template-columns: minmax(0, 1fr) auto; border-color: rgba(25, 255, 217, .3); background: rgba(25, 255, 217, .05); }
.cl__oti { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cavir, #e95400); color: var(--page); font-size: 20px; }
.cl__ott { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cl__otp { margin: 0; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.cl__otp strong { color: var(--text); }
.cl__ota { display: flex; align-items: center; gap: var(--s3); }
.cl__ota .btn, .cl__wrap .btn { height: 44px; white-space: nowrap; }

.cl__sec { display: flex; flex-direction: column; gap: var(--s2); }
.cl__sh { margin: 0; display: flex; align-items: baseline; gap: var(--s3); padding-bottom: var(--s2); }
.cl__shh { font-size: 24px; line-height: normal; font-weight: var(--fw-semi); }
.cl__shn { font-size: var(--t-body-sm, 14px); color: var(--text-3); }

.cl__crew { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
/* FOUR TRACKS FOR A ROW THAT NOW HAS THREE CHILDREN. Dropping the call-time
   block left `today` rows with face / text / actions, so the actions landed in
   the 120px call-time track and overflowed 117px to the right — straight over
   "Cancel a booking" in the rail. `ended` rows still have four children (the
   Owed block), so the fix is content-sized trailing tracks rather than a count
   that is right for one phase and wrong for the other. Rule 2.9: check the
   layout mechanism still applies after you change a tier. */
.cl__c {
	display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto;
	align-items: center; gap: var(--s4);
	padding: 14px 0; border-bottom: 1px solid var(--line-soft);
}
.cl--closed .cl__c { grid-template-columns: 48px minmax(0, 1fr) auto; padding: 12px 0; }
.cl__face { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--card); }
.cl__face > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
.cl__ct { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cl__cn { font-size: var(--t-body); line-height: normal; font-weight: var(--fw-semi); }
.cl__cp { font-size: var(--t-body-sm, 14px); line-height: normal; color: var(--text-2); }
.cl__cw { display: flex; flex-direction: column; gap: 2px; }
.cl__cv { font-size: 15px; line-height: normal; font-weight: var(--fw-semi); }
.cl__ca { display: flex; align-items: center; gap: var(--s2); }
.cl__sm { height: 40px; padding: 0 14px; font-size: var(--t-xs); white-space: nowrap; }
.cl__st { font-size: 15px; color: var(--text-2); }

.cl__ss { display: flex; flex-direction: column; gap: var(--s2); align-items: flex-start; }
.cl__ss--top { padding-top: 20px; border-top: 1px solid var(--line-soft); }
.cl__sv { margin: 0; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.cl__run { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s2) var(--s3); font-size: var(--t-body-sm, 14px); width: 100%; }
.cl__run dt { color: var(--text-2); }
.cl__run dd { margin: 0; text-align: right; }
.cl__rt { padding-top: var(--s2); border-top: 1px solid var(--line-soft); font-weight: var(--fw-semi); }

/* ---- 8d: the closed summary ---- */
.cl--closed .cl__head, .cl--closed .cl__tot, .cl--closed .cl__crew, .cl--closed .cl__acts { max-width: 867px; }
.cl__tot { margin: var(--s5) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); padding: 20px 0; }
.cl__tot > div { display: flex; flex-direction: column; gap: 2px; }
.cl__tot dt { font-size: var(--t-sm); color: var(--text-3); }
.cl__tot dd { margin: 0; font-size: 28px; line-height: normal; font-weight: var(--fw-semi); }
.cl__tn { font-size: var(--t-sm) !important; font-weight: var(--fw-reg) !important; color: var(--text-3); }
.cl__acts { margin-top: var(--s5); display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.cl__acts .btn { height: 48px; }

/* ==========================================================================
   8b / 8c · ONE PANEL FOR THE WHOLE CREW, not one per role
   ========================================================================== */
#dashClose, #dashCeleb { position: relative; z-index: 88; }
.cp__scrim { position: fixed; inset: 0; display: block; background: rgba(11, 11, 12, .6); }
@supports (backdrop-filter: blur(8px)) { .cp__scrim { backdrop-filter: blur(8px); } }
.cp, .cb {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 89;
	width: 560px; max-width: 100vw;
	display: flex; flex-direction: column;
	background: var(--page); border-left: 1px solid var(--line-soft);
	box-shadow: -24px 0 64px rgba(0, 0, 0, .5);
}
.cp__top { flex: none; display: flex; flex-direction: column; gap: var(--s4); padding: 20px 24px 16px; border-bottom: 1px solid var(--line-soft); }
.cp__who { display: flex; align-items: center; gap: var(--s3); }
.cp__face { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; background: var(--card); }
.cp__face > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
.cp__wt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cp__wn { font-size: 17px; line-height: normal; font-weight: var(--fw-semi); }
.cp__ws { font-size: 13px; line-height: normal; color: var(--text-3); }
.cp__x { width: 44px; height: 44px; border-radius: 50%; background: none; font-size: 18px; }

/* The switcher is how you move between people, so the whole crew is one
   panel rather than one panel per role. */
.cp__chips { display: flex; gap: var(--s2); flex-wrap: wrap; }
.cp__chip {
	display: inline-flex; align-items: center; gap: var(--s2);
	height: 44px; padding: 0 14px 0 6px; border-radius: 999px;
	border: 1px solid var(--line-soft); background: none; cursor: pointer;
	font: inherit; font-size: var(--t-sm); color: var(--text-2);
}
.cp__chip.is-on { border-color: var(--text); color: var(--text); }
.cp__cf { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex: none; }
.cp__cf > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
.cp__cs { color: var(--text-3); }

.cp__bar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
.cp__s { display: flex; flex-direction: column; gap: 6px; }
.cp__sb { height: 3px; border-radius: 2px; background: var(--line-soft); }
.cp__s.is-on .cp__sb, .cp__s.is-done .cp__sb { background: var(--action-flat); }
.cp__sl { font-size: 13px; line-height: normal; color: var(--text-3); }
.cp__s.is-on .cp__sl { color: var(--text); font-weight: var(--fw-semi); }

.cp__body { flex: 1; min-height: 0; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.cp__t { display: flex; flex-direction: column; gap: 4px; }
.cp__h { margin: 0; font-size: 24px; line-height: normal; font-weight: var(--fw-semi); }
.cp__sub { font-size: var(--t-body-sm, 14px); line-height: 1.45; color: var(--text-2); }
.cp__blk { display: flex; flex-direction: column; gap: var(--s2); }
.cp__l { font-size: var(--t-body-sm, 14px); color: var(--text-2); }
/* The Ask panel with nobody in it. Until 2026-10-30 this state could not
   happen, because four invented people were returned unconditionally. */
.askr--none { display: block; padding: var(--s4) 0; font-size: var(--t-body-sm, 14px);
  line-height: 1.5; color: var(--text-2); }
/* "optional" beside Proof of payment. It is quieter than the label it
   qualifies, because the label is the instruction and this is the relief
   from it — proof never gated the write and the DTO never asked for it. */
.cp__opt { margin-left: var(--s2); font-size: var(--t-xs); color: var(--text-3); text-transform: none; letter-spacing: 0; }
.cp__ms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
.cp__m {
	height: 56px; border-radius: 14px; border: 1px solid var(--line-soft);
	background: none; cursor: pointer; font: inherit; font-size: var(--t-body-sm, 14px);
	color: var(--text-2);
}
.cp__m.is-on { border-color: var(--text); color: var(--text); background: var(--card-lift); }
.cp__acct { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s2) var(--s4); font-size: var(--t-body-sm, 14px); padding: var(--s4); border-radius: var(--r-md); background: var(--card); }
.cp__acct dt { color: var(--text-3); white-space: nowrap; }
.cp__acct dd { margin: 0; }
.cp__iban { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; font-variant-numeric: tabular-nums; }
/* Proof gates the button, because it is the only record either side has. */
.cp__drop {
	min-height: 80px; border-radius: var(--r-md); border: 1px dashed var(--grey-600);
	background: none; cursor: pointer; font: inherit; font-size: var(--t-body-sm, 14px);
	color: var(--text-3);
}
.cp__drop.is-on { border-style: solid; border-color: var(--action-flat); color: var(--text); }
.cp__same { display: flex; align-items: center; gap: var(--s2); font-size: var(--t-body-sm, 14px); color: var(--text-2); min-height: 44px; }
.cp__fig { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s2) var(--s4); font-size: 15px; padding: var(--s4); border-radius: var(--r-md); background: var(--card); }
.cp__fig dt { color: var(--text-2); }
.cp__fig dd { margin: 0; text-align: right; }
.cp__ft { padding-top: var(--s2); border-top: 1px solid var(--line-soft); font-weight: var(--fw-semi); }
.cp__act { margin-top: auto; display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.cp__act .btn { height: 48px; margin-left: auto; }
.cp__act .btn[disabled] { opacity: .45; cursor: not-allowed; }
.cp__note { font-size: var(--t-sm); color: var(--text-3); flex: 1; min-width: 0; }

.cp__stars { display: flex; gap: var(--s2); }
.cp__star {
	width: 52px; height: 52px; padding: 0; border: 0; background: none;
	cursor: pointer; font-size: 34px; line-height: 1; color: var(--grey-600);
}
.cp__star.is-on { color: var(--action-flat); }
.cp__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.cp__tag { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-soft); background: none; cursor: pointer; font: inherit; font-size: var(--t-sm); color: var(--text-2); position: relative; }
.cp__tag::after { content: ''; position: absolute; inset: -4px 0; }
.cp__tag.is-on { background: var(--text); border-color: transparent; color: var(--page); }
.cp__rev { min-height: 90px; border-radius: var(--r-md); border: 1px solid var(--grey-600); padding: 12px 14px; font-size: var(--t-body-sm, 14px); line-height: 1.5; }
.cp__rev:focus-visible { outline: 0; border-color: var(--action-flat); }
.cp__low { margin: 0; font-size: var(--t-sm); line-height: 1.45; color: var(--text-2); padding: var(--s3); border-radius: var(--r-md); background: var(--card); }

/* ==========================================================================
   8e · CELEBRATE — a light summary. No money, no date, no venue.
   ========================================================================== */
.cb { padding: 24px; gap: 20px; overflow-y: auto; }
.cb__top { display: flex; align-items: center; }
.cb__h { flex: 1; font-size: 24px; line-height: normal; font-weight: var(--fw-semi); }
.cb__x { width: 44px; height: 44px; border-radius: 50%; background: none; font-size: 18px; }
.cb__sub { margin: 0; font-size: var(--t-body-sm, 14px); line-height: 1.5; color: var(--text-2); }
.cb__card {
	border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: var(--s3);
	background: linear-gradient(140deg, rgba(133,40,55,.55) 0%, rgba(11,11,12,.9) 70%), var(--card);
	border: 1px solid var(--line-soft); min-height: 268px;
}
.cb__lk { height: 14px; width: auto; }
.cb__ct { margin: var(--s4) 0 0; font-size: 30px; line-height: 1.1; font-weight: var(--fw-semi); letter-spacing: -.01em; }
.cb__cs { margin: 0; font-size: 15px; line-height: normal; color: var(--text-2); }
.cb__crew { margin-top: auto; display: flex; gap: var(--s4); flex-wrap: wrap; }
.cb__p { display: flex; align-items: center; gap: var(--s2); font-size: var(--t-body-sm, 14px); }
.cb__pf { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: none; background: var(--card-lift); }
.cb__pf > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
/* No consent, no face: they appear as a role until they agree (§13). */
.cb__pf--none { border: 1px dashed var(--grey-600); background: none; }
.cb__sw { display: flex; flex-direction: column; }
.cb__r { display: grid; grid-template-columns: auto minmax(0, 1fr) 44px; align-items: center; gap: var(--s3); padding: 12px 0; border-bottom: 1px solid var(--line-soft); min-height: 44px; }
.cb__r:first-child { grid-template-columns: minmax(0, 1fr) 44px; }
.cb__rt { display: flex; flex-direction: column; gap: 2px; font-size: var(--t-body-sm, 14px); }
.cb__rs { font-size: var(--t-sm); color: var(--text-3); }
.cb__pf--sm { width: 36px; height: 36px; }
.cb__r input { width: 44px; height: 26px; accent-color: var(--action-flat); }
.cb__share { height: 48px; width: 100%; gap: var(--s2); }
.cb__share svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------------
   LITE 08 · THE PHONE — the page reflows; the panel becomes a sheet (8c)
   -------------------------------------------------------------------------- */
@container (max-width: 760px) {
	.cl__head { padding-top: var(--s3); }
	.cl__h { font-size: 26px; }
	.cl__body { display: flex; flex-direction: column; margin-top: var(--s3); padding-bottom: 24px; }
	.cl__side { padding-left: 0; padding-top: 20px; border-top: 1px solid var(--line-soft); }
	/* The card stacks: at 358px a 44px icon, the text and two buttons on one
	   row leaves the amount nowhere to go. */
	.cl__ot, .cl__wrap { grid-template-columns: 44px minmax(0, 1fr); gap: var(--s3); }
	.cl__ota, .cl__wrap .btn { grid-column: 1 / -1; }
	.cl__ota { justify-content: space-between; }
	.cl__wrap { grid-template-columns: minmax(0, 1fr); }
	/* Call time moves under the name; the actions take their own row, so
	   nothing is a 30px target squeezed against the edge. */
	.cl__c { grid-template-columns: 48px minmax(0, 1fr); gap: var(--s3); }
	.cl__cw { grid-column: 2; flex-direction: row; align-items: baseline; gap: var(--s2); }
	.cl__ca { grid-column: 1 / -1; justify-content: flex-end; }
	.cl--closed .cl__c { grid-template-columns: 48px minmax(0, 1fr); }
	.cl__tot { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
	.cl__acts .btn { flex: 1; }
}

/* The sheet and the celebrate panel are appended to <body>, outside .app —
   so they are told where they are, the same way #dashPanel is. */
#dashClose[data-view="phone"] .cp__scrim,
#dashCeleb[data-view="phone"] .cp__scrim {
	position: fixed; inset: auto;
	left: var(--dev-l, 0); top: var(--dev-t, 0);
	width: var(--dev-w, 100%); height: var(--dev-h, 100%);
	border-radius: var(--r-xl);
}
#dashClose[data-view="phone"] .cp,
#dashCeleb[data-view="phone"] .cb {
	left: var(--dev-l, 0); right: auto;
	top: auto; bottom: calc(100dvh - (var(--dev-t, 0px) + var(--dev-h, 100dvh)));
	width: var(--dev-w, 100%); max-width: none;
	height: calc(var(--dev-h, 100dvh) * .92);
	border-left: 0; border-top: 1px solid var(--line-soft);
	border-radius: 24px 24px 0 0;
	box-shadow: 0 -18px 44px rgba(0, 0, 0, .5);
}
#dashClose[data-view="phone"] .cp__top { padding: 16px 16px 14px; }
#dashClose[data-view="phone"] .cp__body { padding: 16px; }
#dashClose[data-view="phone"] .cp__ms { grid-template-columns: minmax(0, 1fr); }
#dashClose[data-view="phone"] .cp__act .btn { width: 100%; margin-left: 0; }
#dashClose[data-view="phone"] .cp__note { flex: none; width: 100%; }
#dashCeleb[data-view="phone"] .cb { padding: 16px; }

/* A genuinely narrow browser gets the same two sheets. Both are outside
   .app, so no container query can reach them and the viewport is the right
   measure. container-law-exempt */
@media (max-width: 760px) {
	#dashClose .cp, #dashCeleb .cb {
		left: 0; right: 0; top: auto; bottom: 0;
		width: 100%; max-width: none; height: 92dvh;
		border-left: 0; border-radius: 24px 24px 0 0;
	}
	#dashClose .cp__ms { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   LITE 10 · MESSAGES  (.ms)
   --------------------------------------------------------------------------
   Measured off "LITE 10 Messages.dc.html" (sha256 4a8f1669…), 2026-10-22.

   A THREAD IS ONE CLIENT + ONE TALENT + ONE JOB. The same pair on two jobs
   gets two threads, so context never mixes — which is why every thread
   opens with a job card.
   ========================================================================== */

/* A FIXED PANE, NOT A PAGE THAT GROWS (Jack, 2026-11-09: "it forms one long
   screen the user has to scroll").

   `.ms__turns` has had `flex: 1; min-height: 0; overflow-y: auto` all along and
   could never fire, because NOTHING above it had a definite height — every
   ancestor was height:auto and the one height-ish declaration here was a FLOOR
   (`min-height: 60vh`), not a cap. `flex: 1` inside an unbounded column means
   "grow to content", so the turns grew, the grid row grew, `.dash` grew, and
   the DOCUMENT became the scroller. Giving the column a cap is the whole fix;
   the scrolling child was already correct.

   `min-height` keeps it usable on a short window, and the floor is below the
   old 60vh so a laptop does not end up with less room than before. */
.dash.ms { height: calc(100dvh - 188px); min-height: 460px; display: flex; flex-direction: column; }
/* THE PHONE KEEPS THE PAGE SCROLL, DELIBERATELY. Two reasons, and the second
   is the one that would have bitten us.

   Design: on a phone this screen is already a TWO-PAGE flow (`is-thread`), so
   the thread IS the page. A nested scroller inside it is worse than the native
   one — it breaks momentum chaining and fights the address bar.

   Mechanism: `100dvh` is the viewport, and in the prototype `.app` is a 390px
   device box roughly `100svh - 7rem` tall (index.html:187), so a dvh-tall pane
   overflows it by about that 7rem. That is rule 2.16, and scoping the height
   to the desktop composition avoids it rather than arguing with it. */
@container (max-width: 760px) {
	.dash.ms { height: auto; min-height: 100%; display: block; }
	.ms__body { flex: none; min-height: 0; }
}
.ms__body { margin-top: 0; display: grid; grid-template-columns: 400px minmax(0, 1fr); flex: 1; min-height: 0; }
.ms__in { border-right: 1px solid var(--line-soft); display: flex; flex-direction: column; min-width: 0; }
.ms__ih { padding: 20px 20px 12px 0; display: flex; flex-direction: column; gap: var(--s3); }
.ms__h { margin: 0; font-size: 24px; line-height: normal; font-weight: var(--fw-semi); }
.ms__fs { display: flex; gap: 6px; flex-wrap: wrap; }
.ms__f {
	min-height: 36px; height: 36px; padding: 0 12px; border-radius: 999px;
	border: 1px solid var(--line-soft); background: none; cursor: pointer;
	font: inherit; font-size: var(--t-sm); color: var(--text-2); white-space: nowrap;
	position: relative;
}
.ms__f::after { content: ''; position: absolute; inset: -4px 0; }
.ms__f.is-on { background: var(--text); border-color: transparent; color: var(--page); font-weight: var(--fw-semi); }
.ms__list { list-style: none; margin: 0; padding: 0 12px 20px 0; display: flex; flex-direction: column; flex: 1; min-height: 0; overflow-y: auto; }
.ms__r {
	width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center; gap: var(--s3); text-align: left;
	padding: 12px 16px 12px 12px; border: 0; border-radius: 12px;
	background: none; cursor: pointer; font: inherit; color: inherit;
}
.ms__r:hover { background: var(--card); }
.ms__r.is-on { background: var(--card-lift); }
.ms__face { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; background: var(--card); }
.ms__face > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
.ms__rt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ms__r1 { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.ms__rn { font-size: 15px; line-height: normal; font-weight: var(--fw-semi); white-space: nowrap; flex: none; }
.ms__rj { font-size: var(--t-xs); line-height: normal; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
/* An inbox preview is always one ellipsised line — the thread has the
   rest. Declared to the audit as accepted, with the register row. */
.ms__rl { font-size: var(--t-body-sm, 14px); line-height: normal; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms__rm { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ms__rw { font-size: var(--t-xs); line-height: normal; color: var(--text-3); white-space: nowrap; }
/* CREAM, not orange. A message is not a thing that needs you today; orange
   is Needs you and nothing else uses it. */
.ms__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text); }

.ms__th { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.ms__top { display: flex; align-items: center; gap: var(--s3); padding: 0 0 0 24px; height: 73px; flex: none; border-bottom: 1px solid var(--line-soft); }
.ms__tt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ms__tn { display: flex; align-items: center; gap: var(--s2); font-size: var(--t-body); line-height: normal; font-weight: var(--fw-semi); }
.ms__tj { font-size: var(--t-sm); line-height: normal; color: var(--text-3); }
.ms__vp { font-size: var(--t-body-sm, 14px); }
.ms__sm { height: 40px; padding: 0 14px; font-size: var(--t-xs); white-space: nowrap; }
/* One of the two is always hidden. Desktop has the room for the word. */
.ms__smi { display: none; }
.ms__back { width: 44px; height: 44px; background: none; border: 0; }
.ms__back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

.ms__turns { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 24px 12px 24px; display: flex; flex-direction: column; gap: var(--s3); }
.ms__job { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: var(--s3); padding: 10px 14px 10px 10px; border-radius: 14px; border: 1px solid var(--line-soft); max-width: 586px; }
.ms__jc { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--card); }
.ms__jc > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
.ms__jt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ms__jn { font-size: var(--t-body-sm, 14px); line-height: normal; font-weight: var(--fw-semi); }
.ms__js { font-size: var(--t-sm); line-height: normal; color: var(--text-3); }
.ms__day { margin: var(--s3) 0 0; text-align: center; font-size: var(--t-sm); line-height: normal; color: var(--text-3); }
.ms__sys { margin: 0; text-align: center; font-size: var(--t-sm); line-height: normal; color: var(--text-3); padding: var(--s2) 0; }
.ms__b { max-width: 560px; display: flex; flex-direction: column; gap: 4px; }
.ms__b--you { align-self: flex-end; align-items: flex-end; }
/* BOTH BUBBLES CARRY A 1px BORDER, the talent's transparent. Without it the
   outlined one is 2px taller than the filled one and the rows stop lining up —
   the kind of difference nobody can name and everybody can see. */
.ms__bt { margin: 0; padding: 12px 14px; border-radius: 16px; border: 1px solid transparent; font-size: var(--t-body-sm, 14px); line-height: 1.5; }
/* THEM: A SOLID BLOCK. YOU: A GHOST FRAME. (Jack, 2026-11-09.)
   These were `--card` #16161a and `--card-lift` #1c1c21 — measured 1.06:1
   apart, which is one colour. Only `align-self` and the mirrored corner told
   the two sides apart, which is exactly what Jack saw. This stylesheet had
   ALREADY found that pair unusable for a state swap once (see the 4%-difference
   note further down) and the Messages thread was built on it anyway.

   The weight is deliberately on THEIR message, not yours: the filled block is
   the thing you need to read, and your own is the one you are only locating.
   That inverts the usual convention and is the right way round on a dark page.

   THE FILL IS THE PAGE'S WHITE, not a dark card (Jack, 2026-11-09: "the black
   bubbles should be full white with black text"). The first pass stopped at a
   dark fill on the reasoning that a light one would be the loudest thing on
   screen -- which it is, and which is correct here, because the loudest thing
   on a messages screen should be the message you came to read.

   ONE COLOUR, TWO JOBS: `--text` as a line on yours, as a fill on theirs. That
   is this stylesheet's own selected-state pattern -- `.chip[aria-pressed]`,
   `.cal__day[aria-pressed]`, `.btn--selected` all do `background: var(--text);
   color: var(--page)` -- so the pair needs no new token and cannot drift from
   the rest of the page.

   No hue, by thrilla.css's own rule: copy is not a control, not the machine
   speaking and not an operational state, so it takes none. 17:1 both ways --
   `--text` on the page ground, and `--page` on `--text`. */
.ms__b--them .ms__bt { background: var(--text); color: var(--page); border-bottom-left-radius: 6px; }
.ms__b--you .ms__bt { background: transparent; border-color: var(--text); color: var(--text); border-bottom-right-radius: 6px; }
.ms__bw { font-size: var(--t-xs); color: var(--text-3); }
.ms__empty { padding: var(--s8) 0; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.ms__et { margin: 0; font-size: var(--t-body); font-weight: var(--fw-semi); }
.ms__es { margin: 0; font-size: var(--t-sm); line-height: 1.45; color: var(--text-3); }

.ms__comp { flex: none; padding: 12px 24px 20px 24px; display: flex; flex-direction: column; gap: 10px; }
/* THE PINNED PAIR. On desktop this is a nested flex column carrying the
   SAME 10px gap as `.ms__comp`, so the composition is unchanged to the
   pixel; on a phone it is what `data-dock` lifts into the dock. It is a
   real box and not `display: contents`, because `paintDock` asks the
   nominated row for `getClientRects()` to tell a thread that is on screen
   from one behind `.ms__th.is-away` — and an element with no box has no
   rects, so the dock would quietly skip it and fall back to the Spark. */
.ms__pin { display: flex; flex-direction: column; gap: 10px; }
.ms__q { display: flex; gap: 6px; flex-wrap: wrap; }
.ms__qb { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-soft); background: none; cursor: pointer; font: inherit; font-size: var(--t-sm); color: var(--text-2); position: relative; }
.ms__qb::after { content: ''; position: absolute; inset: -4px 0; }
.ms__qb:hover { border-color: var(--line); color: var(--text); }
/* An ACTION reply attaches a real object, so it is marked. */
.ms__qb--act { border-style: dashed; }
/* NO BOX: a 2px underline that turns cream on focus — the step 3 composer.
   Not Rizzz, because this is a person talking, not the product. */
.ms__field { display: flex; align-items: center; gap: var(--s3); border-bottom: 2px solid var(--grey-600); padding-bottom: 6px; }
.ms__field:focus-within { border-bottom-color: var(--text); }
.ms__wrap { flex: 1; min-width: 0; display: block; }
/* A GROWING FIELD. `rows=1` with no resize handle and no scrollbar until it
   reaches its six-row cap, which msGrow() sets from scrollHeight. The
   wrapper's align-items is `end` so the Spark and the clip stay on the last
   line as the field grows upward, rather than floating in the middle. */
.ms__wrap textarea { width: 100%; background: none; border: 0; color: var(--text);
	font: inherit; font-size: var(--t-body); line-height: 1.45; padding: 10px 0;
	resize: none; overflow-y: auto; display: block; max-height: 8.7em; }
.ms__wrap textarea:focus { outline: 0; }
.ms__field { align-items: flex-end; }
.ms__clip { width: 40px; height: 40px; background: none; border: 0; }
.ms__clip svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ms__send { width: 40px; height: 40px; flex: none; }
.ms__send svg { width: 18px; height: 18px; }
.ms__hint { margin: 0; font-size: var(--t-xs); line-height: 1.4; color: var(--text-3); }

/* --------------------------------------------------------------------------
   The phone is TWO PAGES, not a split view: the inbox, then the thread with
   a Back. A 400px list beside a thread does not exist at 390px wide, so the
   screen renders one or the other — which is why S.msgs carries perView.
   -------------------------------------------------------------------------- */
@container (max-width: 760px) {
	.ms__body { display: block; }
	.ms__in { border-right: 0; }
	.ms__ih { padding: var(--s3) 0 var(--s3); }
	.ms__fs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
	.ms__fs::-webkit-scrollbar { display: none; }
	.ms__f { flex: none; height: 44px; min-height: 44px; }
	.ms__list { padding: 0 0 20px; margin: 0 -8px; }
	.ms__in.is-away, .ms__th.is-away { display: none; }
	.ms__th { margin: 0 -16px; }
	.ms__top { padding: 0 12px 0 4px; }
	.ms__vp { display: none; }      /* the name opens the profile */
	/* ---- the header is the PERSON; the card under it is the JOB ----
	   Measured 2026-11-23: `ms__tn` wanted 123px for "Rami K.Booked" and had
	   100, so the name wrapped mid-name — "Rami / K." — and the line under it
	   clipped. Two things were taking the width first and BOTH were saying
	   something the screen already said.

	   `role · job` is printed verbatim by the job card eight pixels below,
	   so it leaves the header rather than being squeezed in it; and WhatsApp
	   becomes the 44x44 glyph it is on every other screen. Between them the
	   name block goes from 100px to ~195 and the clip is gone.

	   This is NOT the audit's version of the fix, which deletes the job card
	   and pulls `Open job` up into the header. Same duplication removed, the
	   other way round: the header keeps the person, the card keeps the job,
	   the cover and the applied date — which that version drops — and a
	   375px header never has to hold five controls. */
	.ms__tj { display: none; }
	.ms__smt { display: none; }
	.ms__smi { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
	.ms__sm {
		width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 999px;
		display: inline-flex; align-items: center; justify-content: center; flex: none;
	}
	.ms__turns { padding: 12px 16px; }
	.ms__job { max-width: none; }
	/* NO EXTRA CLEARANCE HERE. `.dash` already carries `calc(--dock-h + 16)`
	   and `.dash.ms` is `display: block` on a phone, so a second copy on the
	   composer stacked: 292px of padding under the last line of a
	   conversation, leaving a 128px void between the hint and the input you
	   could never close by scrolling. Measured before removing it.
	   The rule to keep is one clearance per scroll container. */
	/* THE SPARK HAS NO SLOT HERE, SO IT MUST NOT FLOAT. The thread nominates
	   its own docked row (`data-dock` on `.ms__field`), so the header bar
	   never reaches the dock — and left behind in `.app` it keeps the phone
	   rule that floats it bottom-right, which put a 56px Spark ON TOP of the
	   message input. Measured before this line: the disc at y645 over a field
	   at y693, overlapping its send button.
	   `.tt` already gets the same treatment for the same reason — a screen
	   whose bottom-right is spoken for. And the audit asked for it in its own
	   words: "drop the Spark from the thread; it has no business in a
	   conversation." Posting a job is one tab away, on every screen. */
	.ms.is-thread .dash__top > .bar { display: none; }
	.ms__comp { padding: 10px 16px 16px; }
	.ms__send { width: 44px; height: 44px; }
	/* The clip stays 40 as drawn; the finger gets 44. */
	.ms__clip { position: relative; }
	.ms__clip::after { content: ''; position: absolute; inset: -3px; }
	.ms__b { max-width: 86%; }
}

/* ==========================================================================
   LITE 12 / 14 · SETTINGS, HELP, REPORT AN ISSUE  (.st)
   --------------------------------------------------------------------------
   Measured off "LITE 12 Settings Sign-in and Help.dc.html" (sha256
   e29197d9…), 2026-10-22. A 560px panel over whatever you were doing.

   NOT HERE, deliberately: Team, Payments, a device or session list, a
   search bar. The handoff names all four as out of scope, and a settings
   screen grows by itself if nobody writes that down.
   ========================================================================== */

#dashSet { position: relative; z-index: 87; }
.st__scrim { position: fixed; inset: 0; display: block; background: rgba(11, 11, 12, .6); }
@supports (backdrop-filter: blur(8px)) { .st__scrim { backdrop-filter: blur(8px); } }
.st {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 87;
	width: 560px; max-width: 100vw;
	display: flex; flex-direction: column;
	background: var(--page); border-left: 1px solid var(--line-soft);
	box-shadow: -24px 0 64px rgba(0, 0, 0, .5);
}
.st__top { flex: none; display: flex; align-items: flex-start; gap: var(--s3); padding: 28px 32px 20px; }
.st__h { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 24px; line-height: normal; font-weight: var(--fw-semi); }
.st__who { font-size: var(--t-body-sm, 14px); font-weight: var(--fw-reg); color: var(--text-3); }
.st__x { width: 44px; height: 44px; border-radius: 50%; background: none; font-size: 18px; }
.st__body { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 32px 32px; display: flex; flex-direction: column; gap: 20px; }

.st__card {
	display: grid; grid-template-columns: minmax(0, 1fr) 16px; align-items: center; gap: var(--s3);
	padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-soft);
	background: none; cursor: pointer; font: inherit; color: inherit; text-align: left;
}
.st__card:hover { border-color: var(--line); }
.st__card svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.st__ct { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.st__cn { font-size: var(--t-body); line-height: normal; font-weight: var(--fw-semi); }
.st__cs { font-size: var(--t-sm); line-height: normal; color: var(--text-3); }
.st__biz { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s4); border-radius: 14px; background: var(--card); }
.st__fl { display: flex; flex-direction: column; gap: 4px; font-size: var(--t-sm); color: var(--text-3); }
.st__fl input {
	background: none; border: 0; border-bottom: 1px solid var(--grey-600);
	color: var(--text); font: inherit; font-size: var(--t-body); padding: 8px 0;
}
.st__fl input:focus { outline: 0; border-bottom-color: var(--text); }
.st__auto { margin: 0; font-size: var(--t-xs); color: var(--text-3); }

.st__sec { display: flex; flex-direction: column; gap: 6px; }
.st__sn { font-size: 17px; line-height: normal; font-weight: var(--fw-semi); }
.st__ss { font-size: var(--t-sm); line-height: 1.45; color: var(--text-3); }

/* One row is the channel, the address, Change and a switch — because email
   and WhatsApp are BOTH the ways you sign in and the channels you hear on.
   In-app is always on and so has no switch. */
.st__rows { display: flex; flex-direction: column; }
.st__r { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--s3); padding: 14px 0; border-bottom: 1px solid var(--line-soft); min-height: 68px; }
.st__rt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.st__rc { font-size: var(--t-sm); line-height: normal; color: var(--text-3); }
.st__ra { font-size: var(--t-body); line-height: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* A text link is tall enough and never wide enough: "Help" is 39px. The
   finger gets 44 in BOTH dimensions without the layout moving. */
.st__ch, .st__foot .link, .st__del { position: relative; }
.st__ch::after, .st__foot .link::after, .st__del::after { content: ''; position: absolute; inset: 0 -4px; }
.st__ch { min-height: 44px; font-size: var(--t-body-sm, 14px); }
.st__sw { display: inline-flex; align-items: center; min-height: 44px; }
/* A SWITCH, NOT A CHECKBOX. This was a native <input type=checkbox> sized to
   44x26 with an accent-color, which the platform draws as a large green tick
   — Jack's Settings panel had two of them sitting where the design has
   toggles (2026-10-27). `accent-color` tints a checkbox; it does not change
   what a checkbox IS.

   Bright teal is the design system's ACTIVE, and its foreground is navy
   because white on that teal is 2.19:1 — so the thumb goes dark when on,
   never white. */
.st__sw input {
	appearance: none; -webkit-appearance: none;
	width: 44px; height: 26px; flex: none; margin: 0;
	border-radius: var(--r-pill); border: 1px solid var(--line);
	background: var(--grey-700); position: relative; cursor: pointer;
	transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
/* 44x26 IS A SWITCH AND 44x44 IS A FINGER. The label around it already
   carries `min-height: 44px`, but the control the thumb is on is the input,
   and that is what a tap has to land on. `::after` is the THUMB and cannot
   be reused, so the hit area is a `::before` on negative vertical insets:
   26 + 9 + 9 = 44, with the switch drawn exactly as it was (rule 3.7b). */
.st__sw input::before {
	content: ""; position: absolute; inset: -9px 0; border-radius: inherit;
}
.st__sw input::after {
	content: ""; position: absolute; top: 50%; left: 2px;
	width: 20px; height: 20px; border-radius: 50%;
	background: var(--text-2); transform: translateY(-50%);
	transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
/* A CHANNEL WITH NO ADDRESS CANNOT DELIVER, so its switch is off and not
   operable rather than on and silent. It read "on" beside a row saying "Not
   set", under a line claiming all notifications were on (F-185). Kept at
   full size and full hit area: it is disabled, not hidden, because the row
   still has to explain why. */
.st__sw input:disabled { cursor: not-allowed; opacity: .4; }
/* The rule about the last sign-in method, stated on the row it is TRUE of.
   It used to appear only as a refusal in a toast, on rows it was false of. */
.st__ro { font-size: var(--t-xs); line-height: normal; color: var(--text-3); }
.st__r--unset .st__ra { color: var(--text-3); }

.st__sw input:checked { background: var(--st-active); border-color: var(--st-active); }
.st__sw input:checked::after {
	transform: translateY(-50%) translateX(16px);
	background: var(--st-active-fg);
}
/* The control's own edge, never a detached box (rule 3.2). */
.st__sw input:focus-visible { outline: 2px solid var(--action-flat); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.st__sw input, .st__sw input::after { transition: none; }
}
.st__note { margin: 0; font-size: var(--t-sm); line-height: 1.45; color: var(--text-3); }
/* The one destructive thing on this panel, and the only orange on it. */
.st__del { align-self: flex-start; min-height: 44px; font-size: var(--t-body-sm, 14px); color: var(--cavir, #e95400); }
.st__foot { flex: none; display: flex; align-items: center; gap: var(--s5); padding: 12px 32px 20px; }
.st__foot .link { min-height: 44px; font-size: var(--t-body-sm, 14px); }
.st__foot--act { border-top: 1px solid var(--line-soft); padding-top: 16px; }
.st__foot--act .btn { height: 48px; margin-left: auto; }
.st__foot--act .btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---- 14b: Help ---- */
.st__rep { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.st__ri { display: flex; align-items: center; gap: var(--s3); padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.st__rth { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.st__rn { font-size: var(--t-body); line-height: normal; font-weight: var(--fw-semi); }
.st__rj { font-size: var(--t-sm); line-height: normal; color: var(--text-3); }
.st__help { display: flex; gap: var(--s3); flex-wrap: wrap; }
.st__help .btn { height: 48px; flex: 1; }

/* ---- 14a: Report an issue. ALWAYS booking-scoped — a report with no
   booking is a thing nobody can act on. ---- */
.st__picks { display: flex; flex-direction: column; gap: var(--s2); }
.st__pick {
	display: flex; align-items: center; gap: var(--s3); text-align: left;
	padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line-soft);
	background: none; cursor: pointer; font: inherit; color: inherit; min-height: 64px;
}
.st__pick.is-on { border-color: var(--action-flat); background: rgba(25, 255, 217, .05); }
.st__pf { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; background: var(--card); }
.st__pf > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
.st__pt { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: var(--t-body); }
.st__ps { font-size: var(--t-sm); color: var(--text-3); }
.st__opts { display: flex; flex-direction: column; gap: var(--s2); }
.st__opt {
	display: flex; flex-direction: column; gap: 2px; text-align: left;
	padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-soft);
	background: none; cursor: pointer; font: inherit; color: inherit;
	font-size: var(--t-body); min-height: 48px;
}
.st__opt.is-on { border-color: var(--action-flat); background: rgba(25, 255, 217, .05); }
.st__os { font-size: var(--t-sm); color: var(--text-3); }
.st__fl--area { gap: var(--s2); }
.st__area { min-height: 100px; border-radius: var(--r-md); border: 1px solid var(--grey-600); padding: 12px 14px; font-size: var(--t-body-sm, 14px); line-height: 1.5; color: var(--text); }
.st__area:focus-visible { outline: 0; border-color: var(--action-flat); }

/* The phone is a FULL-HEIGHT sheet (12b), not a 560 panel. Outside .app, so
   it is told where it is, the way every other overlay here is. */
#dashSet[data-view="phone"] .st__scrim {
	position: fixed; inset: auto;
	left: var(--dev-l, 0); top: var(--dev-t, 0);
	width: var(--dev-w, 100%); height: var(--dev-h, 100%);
	border-radius: var(--r-xl);
}
#dashSet[data-view="phone"] .st {
	left: var(--dev-l, 0); right: auto;
	top: var(--dev-t, 0); bottom: auto;
	width: var(--dev-w, 100%); max-width: none;
	height: var(--dev-h, 100dvh);
	border-left: 0; border-radius: var(--r-xl);
}
#dashSet[data-view="phone"] .st__top { padding: 20px 16px 14px; }
#dashSet[data-view="phone"] .st__body { padding: 14px 16px 24px; }
#dashSet[data-view="phone"] .st__foot { padding: 12px 16px 20px; }
#dashSet[data-view="phone"] .st__help { flex-direction: column; }

/* A genuinely narrow browser gets the same sheet. #dashSet is appended to
   <body>, outside .app, so no container query can reach it.
   container-law-exempt */
@media (max-width: 760px) {
	#dashSet .st { left: 0; right: 0; top: 0; bottom: 0; width: 100%; max-width: none; height: 100dvh; border-left: 0; border-radius: 0; }
	#dashSet .st__help { flex-direction: column; }
}


/* ==========================================================================
   LITE 09 · ONE EMPTY STATE, EVERYWHERE  (.es)
   --------------------------------------------------------------------------
   Before this there were five, with four different markups and one that
   just said "No jobs yet." The pattern, from 9d: a dashed hairline, a faint
   Spark cropped off the corner and NEVER behind the words, an eyebrow
   saying where you are, a title in plain language, one line on what happens
   next, and at most one action.

   Never "No data". Never an illustration.
   ========================================================================== */
.es {
	position: relative; overflow: hidden;
	display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
	padding: var(--s6) var(--s5); border-radius: var(--r-lg);
	border: 1px dashed var(--grey-600);
	text-align: left;
}
/* Cropped off the corner, behind nothing. 10% is a texture, not a picture. */
.es__spark {
	position: absolute; right: -28px; top: -28px;
	width: 140px; height: 140px; fill: var(--action-flat); stroke: none;
	opacity: .1; pointer-events: none;
}
.es__w { position: relative; }
.es__t { margin: 0; position: relative; font-size: 17px; line-height: 1.35; font-weight: var(--fw-semi); }
.es__n { margin: 0; position: relative; font-size: var(--t-body-sm, 14px); line-height: 1.5; color: var(--text-2); max-width: 46ch; }
.es .btn { position: relative; height: 44px; margin-top: var(--s2); }
/* Inside a list it is a row, so it takes the list's own width. */
li > .es { width: 100%; }

@container (max-width: 760px) {
	.es { padding: var(--s5) var(--s4); }
	.es__spark { width: 110px; height: 110px; right: -22px; top: -22px; }
	.es .btn { width: 100%; }
}

/* ==========================================================================
   LITE 11 · THE TALENT TAB  (.tt)
   --------------------------------------------------------------------------
   Measured off "LITE 11 Talent.dc.html" (sha256 d56fd7c8…), 2026-10-23.
   Five boards: the stage on both views, the grid on both, the invite sheet.

   BROWSING BECOMES MEETING PEOPLE ONE AT A TIME. Every stage card is the
   same 340×480 (280×420 on the phone) and the TRANSFORM does the rest —
   which is why a neighbour measures 249 wide on the board and is still a
   340px card.

   INVITE IS ALWAYS A SMALL OUTLINED PILL here. Talent is a browse section;
   inviting is light and undoable, so it never gets a filled Rizzz button.
   ========================================================================== */

/* MARGIN, not padding: the board's block is 100 tall and sits 28 below
   the nav. Padding inside it made the element itself 128 and the
   board metric said so. */
.tt__search { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
/* ONE SEARCH FIELD ON THIS SCREEN. The handoff is explicit: "on Talent,
   hide the global smart-matching bar — the page's own talent search bar
   replaces it". Two fields asking for the same thing in one header is the
   duplication this section is about.

   AND THE HEADER HAS TO CLOSE UP BEHIND IT. `display: none` takes the bar
   out of the grid, so `240px 1fr 240px` lost its middle item and the bell
   and the avatar landed in the SECOND column — stranded 264px short of the
   right edge, which is what Jack saw. Two columns when the bar is gone,
   with the right group pinned to the end. */
.tt .dash__top > .bar { display: none; }
.tt .dash__top { grid-template-columns: 240px minmax(0, 1fr); }
.tt .dash__right { justify-self: end; }
.tt__sr { display: flex; align-items: center; gap: var(--s5); }
/* The page's bar is the HEADER's bar, moved. `.bar` and `.bar__wrap` carry
   the whole treatment already — the 1px gradient rule that doubles and
   glows on focus, the small light type — so this only says where it sits
   and what goes in it. */
.bar--page { flex: 1; min-width: 0; max-width: 760px; }
.tt__si { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--text-3); stroke-width: 2; }
/* The sentence comes back with its parts marked, and tapping one turns it
   off — so the ranking is always something you can see and undo, never a
   hidden score. The rule under it is the ask bar's, applied to the row of
   chips instead of to an input. */
.tt__parts {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px;
	min-height: 40px; padding: 8px 0 6px;
	border-bottom: 1px solid transparent;
	border-image: var(--action) 1; border-image-slice: 0 0 1 0;
	font-size: var(--t-sm); font-weight: var(--fw-light);
	transition: border-width 160ms ease-out;
}
.bar--page:focus-within .tt__parts {
	border-bottom-width: 2px;
	filter: drop-shadow(0 5px 14px rgba(25, 255, 217, .22));
}
.tt__p {
	padding: 1px 6px; border: 0; border-radius: 6px; cursor: pointer;
	font: inherit; font-size: var(--t-sm); color: var(--text);
	background: rgba(242, 238, 231, .08); position: relative;
}
.tt__p::after { content: ''; position: absolute; inset: -12px -2px; }
.tt__p--profession { background: rgba(25, 255, 217, .14); }
.tt__p--skill { background: rgba(242, 238, 231, .1); }
.tt__p--city { background: rgba(221, 171, 245, .16); }
.tt__n { font-size: var(--t-xs); color: var(--text-3); font-variant-numeric: tabular-nums; flex: none; }
.tt__sort {
	min-height: 40px; height: 40px; padding: 0 4px; border: 0; background: none;
	cursor: pointer; font: inherit; font-size: var(--t-body-sm, 14px); color: var(--text-2);
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; position: relative;
}
.tt__sort::after { content: ''; position: absolute; inset: -2px -6px; }
.tt__sort svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }

.tt__row2 { display: flex; align-items: center; gap: var(--s5); min-height: 38px; }
.tt__tabs { display: flex; align-items: center; gap: var(--s5); }
.tt__tab {
	min-height: 36px; padding: 0; border: 0; background: none; cursor: pointer;
	font: inherit; font-size: var(--t-body-sm, 14px); color: var(--text-3);
	display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; position: relative;
}
.tt__tab::after { content: ''; position: absolute; inset: -4px -4px; }
.tt__tab.is-on { color: var(--text); font-weight: var(--fw-semi); }
.tt__tn { font-size: var(--t-xs); color: var(--text-3); font-variant-numeric: tabular-nums; }
.tt__sp { flex: 1; }
.tt__zoom { display: flex; align-items: center; }
/* ONE BORDERED GROUP, not three loose buttons (Jack, 2026-10-23: "the
   outline on the zoom and stage / gallery view is not clear"). Both
   controls are segmented pills now, with the same edge as every other
   segmented control in the product — the zoom's two buttons share one
   border with the count between them, and the view toggle's selected half
   is filled rather than tinted. */
.tt__zoom {
	border: 1px solid var(--line); border-radius: 10px; padding: 2px;
	gap: 0;
}
.tt__z {
	width: 30px; height: 28px; border-radius: 8px; border: 0;
	background: none; cursor: pointer; font: inherit; font-size: var(--t-body); color: var(--text-2);
	position: relative;
}
.tt__z:hover { background: var(--card-lift); color: var(--text); }
.tt__z::after { content: ''; position: absolute; inset: -6px; }
.tt__zn { font-size: var(--t-sm); color: var(--text-3); min-width: 14px; text-align: center; font-variant-numeric: tabular-nums; }
.tt__view { display: flex; gap: 2px; padding: 2px; border-radius: 10px; border: 1px solid var(--line); }
.tt__v {
	width: 36px; height: 32px; border-radius: 8px; border: 0; background: none;
	cursor: pointer; color: var(--text-3); position: relative;
	display: inline-flex; align-items: center; justify-content: center;
}
/* 44 in BOTH dimensions: the icon is 36x32 drawn, so the overhang has to
   be horizontal as well. A height-only inset left it 36 wide. */
.tt__v::after { content: ''; position: absolute; inset: -6px -4px; }
/* FILLED, not tinted: `--card-lift` against this ground is a 4% difference
   and the selected half was not readable as selected. */
.tt__v.is-on { background: var(--text); color: var(--page); }
.tt__v svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

/* ---- the stage ------------------------------------------------------
   touch-action: pan-y so a vertical page scroll still works over it; the
   deck only ever claims the sideways gesture. */
.tt__stage {
	position: relative; height: 500px; margin-top: var(--s5);
	display: flex; align-items: center; justify-content: center;
	perspective: 1400px; overflow: hidden;
	touch-action: pan-y; cursor: grab; user-select: none;
}
.tt__stage:active { cursor: grabbing; }
.tt__deck { position: relative; width: 340px; height: 480px; transform-style: preserve-3d; transition: transform 360ms cubic-bezier(.2, .7, .2, 1); }
.tt__c {
	position: absolute; inset: 0; width: 340px; height: 480px;
	padding: 0; border: 0; border-radius: 24px; overflow: hidden;
	background: var(--card); cursor: pointer;
	transition: transform 360ms cubic-bezier(.2, .7, .2, 1), filter 360ms ease;
	filter: brightness(.6);
}
.tt__c.is-mid { filter: none; box-shadow: 0 0 0 1px var(--text), 0 24px 60px rgba(0, 0, 0, .55); }
.tt__ci { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
.tt__cg { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,0) 38%, rgba(11,11,12,.92) 100%); }
.tt__bef {
	position: absolute; left: 16px; top: 16px;
	font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .06em;
	padding: 4px 10px; border-radius: 999px; background: var(--text); color: var(--page);
}
.tt__ct { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.tt__cn { font-size: 28px; line-height: normal; font-weight: var(--fw-semi); letter-spacing: -.01em; }
.tt__cj { font-size: 15px; line-height: normal; color: var(--text-2); }
.tt__cm { font-size: var(--t-body-sm, 14px); line-height: normal; color: var(--text-2); }
.tt__cs { font-size: var(--t-sm); line-height: normal; color: var(--text-3); padding-top: 4px; }
/* ---- the footer: actions, strip, slider, count. Four centred rows, in
   that order, measured off `Talent stage desktop`. The arrows belong to the
   STRIP, not to the deck — on the board nothing floats over the cards. ---- */
.tt__acts { position: relative; margin-top: var(--s5); display: flex; align-items: center; justify-content: center; gap: var(--s5); }
.tt__acts .tt__save { border: 1px solid var(--line); border-radius: 50%; }
/* Taller and a size up here than on a grid card — this is the row the whole
   screen leads to, and the board sizes it 107x40 against the grid's 70x32. */
.tt__acts .tt__inv { height: 40px; min-height: 40px; padding: 0 var(--s4); font-size: var(--t-xs); }
.tt__acts .tt__save:hover { border-color: var(--text); color: var(--text); }
/* An outlined pill, not a text link: the board gives View profile the same
   weight as Invite, because on this screen they are the two things to do. */
.tt__vp {
	height: 44px; min-width: 140px; padding: 0 var(--s4); border-radius: 999px;
	border: 1px solid var(--line); background: none; color: var(--text);
	font: inherit; font-size: var(--t-sm); cursor: pointer;
}
.tt__vp:hover { border-color: var(--text); }

.tt__strip { margin-top: var(--s6); display: flex; align-items: center; justify-content: center; gap: 12px; }
/* The end-of-set card: a person's card with no person in it. Same box,
   same three-line block, no photo and no scrim — `Talent stage desktop`
   draws it at rgb(22,22,26), radius 24, inside the deck's own transform. */
.tt__c--load { background: var(--card); display: block; cursor: default; }
.tt__c--load .tt__cn { color: var(--text-2); }

.tt__arr { width: 44px; height: 44px; background: none; border-color: var(--line); }
.tt__arr svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.tt__faces { display: flex; align-items: center; gap: 8px; }
.tt__f { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; overflow: hidden; opacity: .45; cursor: pointer; background: var(--card); position: relative; }
.tt__f::after { content: ''; position: absolute; inset: -6px; }
/* The one you are on is BIGGER, not just brighter — 44 against 32 on the
   board, which is what makes the strip readable at a glance. */
.tt__f.is-on { width: 44px; height: 44px; opacity: 1; box-shadow: 0 0 0 2px var(--text); }
.tt__f > img { width: 100%; height: 100%; object-fit: cover; display: block; image-orientation: none; }
/* `faceOf` renders a `.face` span (initials, with the photo layered over it
   when one exists) rather than a bare <img>, so the strip has to size that
   wrapper too — otherwise a real person's thumbnail inherits `.face`'s own
   dimensions and the 32px circle holds a 44px face. */
.tt__f > .face { width: 100%; height: 100%; border-radius: 50%; font-size: 11px; }
.tt__f.is-on > .face { font-size: 14px; }
.tt__f .face__im { width: 100%; height: 100%; object-fit: cover; }
.tt__more { font-size: var(--t-sm); color: var(--text-3); padding-left: 4px; font-variant-numeric: tabular-nums; }

/* The thumb travels along the rail and overhangs it by 1px top and bottom,
   so no `overflow: hidden` here — that would clip it to the rail's 2px. */
.tt__track { position: relative; width: min(560px, 100%); height: 2px; border-radius: 1px; background: var(--line-soft); margin: 13px auto 0; }
.tt__th { position: absolute; top: -1px; width: 48px; height: 4px; border-radius: 2px; background: var(--text); }
.tt__of { margin: 14px 0 0; text-align: center; font-size: var(--t-sm); color: var(--text-3); font-variant-numeric: tabular-nums; padding-bottom: var(--s8); }

/* ---- INVITE: a small outlined pill, everywhere in this section ---- */
.tt__inv {
	min-height: 32px; height: 32px; padding: 0 14px; border-radius: 999px;
	border: 1px solid var(--grey-600); background: none; cursor: pointer;
	font: inherit; font-size: 11px; font-weight: var(--fw-semi);
	letter-spacing: .06em; text-transform: uppercase; color: var(--text);
	white-space: nowrap; position: relative;
}
.tt__inv::after { content: ''; position: absolute; inset: -6px 0; }
.tt__inv:hover { border-color: var(--text); }
.tt__inv.is-on { border-color: var(--action-flat); color: var(--action-flat); }
.tt__save { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--text-2); }
.tt__save svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linejoin: round; stroke-linecap: round; }
.tt__save.is-on svg { fill: var(--action-flat); stroke: var(--action-flat); }
.tt__save.is-on { color: var(--action-flat); }

/* ---- the grid. 3–8 columns, height = width × 1.32 ---- */
.tt__grid {
	list-style: none; margin: var(--s5) 0 0; padding: 0 0 var(--s8);
	display: grid; grid-template-columns: repeat(var(--tt-cols, 5), minmax(0, 1fr));
	gap: var(--s5);
}
.tt__g { position: relative; aspect-ratio: 1 / 1.32; border-radius: 18px; overflow: visible; }
.tt__gc {
	position: absolute; inset: 0; padding: 0; border: 0; border-radius: 18px;
	overflow: hidden; background: var(--card); cursor: pointer; text-align: left;
}
/* 56px, not 14: the Invite pill sits BELOW this block on the board (32px
   tall, 14px off the bottom, 10px clear of the rating line). At 14px the
   text and the pill occupied the same corner and the rating ran under it. */
.tt__g .tt__ct { left: 14px; right: 14px; bottom: 56px; gap: 2px; }
/* THE GRID SCRIM IS ANCHORED TO THE TEXT, NOT TO THE CARD. A percentage
   ramp weakens as the card shortens: the same 38% stop that works at five
   columns leaves the name on alpha .24 at six, and the composite against a
   bright overhead food shot comes out around 2:1 — unreadable. The board
   never shows that because its own grid card is photographed dark; ours
   are not, so the stop cannot depend on the photo.
   The text block is 55px tall and sits 56px off the bottom, so it occupies
   the last 111px. Reaching .78 by 118px guarantees the whole block is on a
   dark backing at every zoom AND in the dense variant, where it sits
   lower still. The top of the ramp is unchanged — at five columns
   `100% - 170px` is the same 38% that was there before. */
/* THE STOPS WERE ABSOLUTE PIXELS ON A CARD WHOSE HEIGHT IS ITS WIDTH times
   `aspect-ratio: 1 / 1.32` — so as the column count rises the card shrinks and
   the scrim does not. Written for the 5-column card (243x321) the offsets land
   at 47% and 63%; at 8 columns the card is 143x189 and the SAME offsets land at
   9.9% and 37.5%, so the photo is clear for its top 19px and the bottom 62% is
   near-black. That is the "foreshadow covering most of the card" Jack found on
   2026-11-09.

   Two parts, and the second is the one that cannot rot. The variables let each
   density declare the text zone it actually has — dense hides the profession,
   the rating and both buttons (:4062-4063) and sits the text at `bottom: 14px`
   (:4053), so it needs far less. The `max()` floor is the guarantee: whatever
   the pixel figures say, the clear zone is never less than 46% of the card, at
   any size anyone picks later. A fixed offset against a fluid box is the defect
   class, so the fix has to hold without anybody re-measuring. */
.tt__g { --cg-clear: 170px; --cg-dark: 118px; }
.tt__g.is-dense { --cg-clear: 92px; --cg-dark: 58px; }
.tt__g .tt__cg {
	background: linear-gradient(180deg,
		rgba(11,11,12,0) max(46%, calc(100% - var(--cg-clear))),
		rgba(11,11,12,.78) max(62%, calc(100% - var(--cg-dark))),
		rgba(11,11,12,.92) 100%);
}
.tt__g.is-dense .tt__ct { bottom: 14px; }
.tt__g .tt__cn { font-size: 17px; }
.tt__g .tt__cj { font-size: var(--t-sm); }
.tt__g .tt__cm { font-size: var(--t-xs); }
.tt__g .tt__bef { left: 12px; top: 12px; font-size: 10px; padding: 3px 8px; }
.tt__g .tt__save { position: absolute; right: 6px; top: 6px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(11,11,12,.55); }
.tt__g .tt__inv { position: absolute; left: 14px; bottom: 14px; z-index: 2; }
/* DENSE: above 6 columns there is no room for a profession and an area, so
   the card says who it is and nothing else. */
.tt__g.is-dense .tt__cn { font-size: 14px; }
.tt__g.is-dense .tt__inv, .tt__g.is-dense .tt__save { display: none; }

/* The role menu. Inviting is to a ROLE, never to "a job" — a job with two
   roles has two answers and only the client knows which. */
.tt__menu {
	position: absolute; right: 0; bottom: 48px; z-index: 40; width: 318px; max-width: 86vw;
	display: flex; flex-direction: column; gap: 2px; padding: 8px;
	border-radius: 16px; background: rgba(22, 22, 26, .98);
	border: 1px solid rgba(242, 238, 231, .14); box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}
.tt__acts .tt__menu { right: auto; left: 50%; transform: translateX(-50%); }
.tt__ml { font-size: var(--t-xs); color: var(--text-3); padding: 4px 10px 6px; }
.tt__mi {
	display: flex; flex-direction: column; gap: 1px; text-align: left;
	min-height: 44px; padding: 6px 10px; border: 0; border-radius: 10px;
	background: none; cursor: pointer; font: inherit; font-size: var(--t-body-sm, 14px); color: var(--text);
}
.tt__mi:hover { background: var(--card-lift); }
.tt__mr { font-size: var(--t-sm); color: var(--text-3); }
.tt__mi--new { color: var(--text-2); }

@media (prefers-reduced-motion: reduce) {
	.tt__deck, .tt__c { transition: none; }
}

/* --------------------------------------------------------------------------
   LITE 11 · THE PHONE — calm by design
   --------------------------------------------------------------------------
   The search bar with its highlighted parts and the count, a 280×420 card
   with neighbours peeking, "9 of 49", and ONE quiet action: a small
   outlined Invite, centred. This is a browse page, not a conversion page,
   so there is no filled Rizzz button on it — and the arrows, the sort and
   the under-stage View profile all go, because the card itself is the tap.
   -------------------------------------------------------------------------- */
@container (max-width: 760px) {
	.tt__search { margin-top: 12px; gap: 10px; }
	.tt__field { max-width: none; padding: 4px 0; min-height: 56px; }
	.tt__parts { font-size: 15px; }
	.tt__row2 { gap: var(--s3); }
	.tt__tabs { gap: var(--s4); overflow-x: auto; scrollbar-width: none; }
	.tt__tabs::-webkit-scrollbar { display: none; }
	.tt__tab { flex: none; min-height: 44px; }

	.tt__stage { height: 440px; margin: 0 calc(-1 * var(--gutter)); perspective: 1000px; }
	.tt__deck { width: 280px; height: 420px; }
	.tt__c { width: 280px; height: 420px; border-radius: 20px; }
	.tt__cn { font-size: 20px; }
	.tt__cj { font-size: 13px; }
	.tt__cm { font-size: 12px; }
	.tt__ct { left: 14px; right: 14px; bottom: 16px; gap: 3px; }
	/* The phone board has no strip and no slider — the stage itself is the
	   strip here — so neither is rendered, and the count leads instead of
	   trailing. Nothing left to hide with CSS. */
	.tt__of { margin-top: var(--s4); padding-bottom: 0; }
	.tt__acts { margin-top: var(--s4); padding-bottom: var(--s6); }
	/* 44, not 40: the phone board draws this one at 111x44. It is the only
	   action on the screen and it is hit with a thumb. */
	.tt__acts .tt__inv { height: 44px; min-height: 44px; padding: 0 var(--s5); }

	/* 1–4 columns, default 2, and dense above 2. */
	.tt__grid { gap: var(--s3); margin-top: var(--s4); }
	/* `.tt__pinch` WAS HERE — the board's "Pinch to see more or fewer"
	   caption at y220 of a 392 board. The gesture is gone (see
	   `pinchToZoom`'s removal in dashboard.js) and the `-/+` pair is on the
	   phone in its place, so the caption would describe something that no
	   longer happens. A deliberate divergence from the board, recorded here
	   and in the register rather than silently dropped (rule 1.5).

	   THE `-/+` PAIR GETS A FINGER, AND A REAL BOX RATHER THAN A PSEUDO.
	   It is drawn 30x28 with a `::after` at inset -6 — 42x40, under the
	   minimum on the one view where it is now the only column control.
	   Growing that pseudo to reach 44 made the gate report the BUTTON as
	   clipped, correctly: an absolutely-placed child that overflows its
	   parent is what `scrollWidth > clientWidth` measures, and rule 3.7b's
	   technique is invisible to it. 30x28 is a DESKTOP number off the
	   desktop board; the phone never had this control, so it has no board
	   number to diverge from and the honest answer is a 44x44 button.
	   The pseudo is neutralised here rather than left to overflow. */
	.tt__z { width: 44px; height: 44px; }
	.tt__z::after { inset: 0; }

	/* ---- the phone grid card, measured off `Talent phone`: 174x240 in a
	   `174px 174px` track with a 10px gap, which is exactly 358 inside the
	   gutter. Text at 8px, not 14. Name 15, profession 12, no rating line,
	   no Booked-before badge — all three are desktop. ---- */
	.tt__grid { gap: 10px; }
	.tt__g { aspect-ratio: 1 / 1.38; border-radius: 14px; }
	.tt__gc { border-radius: 14px; }
	.tt__g .tt__cn { font-size: 15px; }
	.tt__g .tt__cj { font-size: 12px; }
	.tt__g .tt__ct { left: 8px; right: 8px; bottom: 50px; }
	.tt__g .tt__inv { left: 10px; bottom: 10px; }
	/* 30px drawn, 44px hit — the board draws the circle at 30 inside a 44
	   button, so the target stays a thumb's worth without the chip growing. */
	.tt__g .tt__save { right: 7px; top: 7px; width: 30px; height: 30px; }
	.tt__g .tt__save::after { content: ''; position: absolute; inset: -7px; }
	.tt__g .tt__save svg { width: 16px; height: 16px; }

	/* The role menu is a SHEET on the phone (11c) — a menu pinned to a card
	   in a 358px column is a menu half off the screen. */
	.tt__menu {
		position: fixed; left: var(--gutter); right: var(--gutter);
		bottom: var(--s5); top: auto; width: auto; max-width: none;
		transform: none; border-radius: var(--r-lg);
	}
	.tt__acts .tt__menu { left: var(--gutter); transform: none; }
}

/* ==========================================================================
   LITE 09 — LOADING (9h), ERRORS (9e)
   --------------------------------------------------------------------------
   Built 2026-10-23. Orange (`--cavir`) is the error colour here, never red:
   check 12 enforces that in `.dash` and the overlays, because red reads as a
   system failure and almost nothing in this product is one.
   ========================================================================== */

/* 9h · 1 — the skeleton. The same shapes as a real row, so nothing jumps. */
.sk { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s3); }
.sk__r { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) 0; }
.sk__f { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.sk__c { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.sk__l { height: 10px; border-radius: 5px; display: block; }
.sk__l--a { width: 38%; }
.sk__l--b { width: 62%; }
.sk__f, .sk__l, .tt__sk {
	background: linear-gradient(90deg, var(--card) 0%, var(--card-lift) 42%, rgba(25,255,217,.10) 50%, var(--card-lift) 58%, var(--card) 100%);
	background-size: 280% 100%;
	animation: skSweep 1.6s linear infinite;
}
@keyframes skSweep { from { background-position: 140% 0; } to { background-position: -140% 0; } }
/* "No shimmer, sweep or slide: static skeletons" — the board's own rule. */
.sk--still .sk__f, .sk--still .sk__l, .sk--still .tt__sk { animation: none; background: var(--card-lift); }
@media (prefers-reduced-motion: reduce) {
	.sk__f, .sk__l, .tt__sk { animation: none; background: var(--card-lift); }
}

/* 9h · 2 — the TALENT skeleton. `.tt__g` above already carries the aspect
   ratio and the radius, and `.tt__grid` the column track, so the placeholder
   IS the card box and nothing jumps when the people land. Only the fill and the two lines are
   new, and both take their treatment from 9h·1 above rather than restating
   it — including the reduced-motion rule, which a second gradient would have
   quietly escaped. */
.tt__g--sk { pointer-events: none; }
/* `inherit`, not 18px: the phone container query above takes `.tt__g` to
   14px, and a hard-coded radius here would square the corners there. */
.tt__sk { position: absolute; inset: 0; border-radius: inherit; }
/* Where the real card's name and profession sit — `.tt__g .tt__ct` is 56px
   off the bottom and its block runs 55px, so these are the same two lines.
   FLAT AND LIGHTER, overriding the sweep `.sk__l` gives them: the card body
   above carries the same gradient, so two bars drawn in it were invisible on
   it — a skeleton card with nothing on it reads as a dark empty box, which is
   the thing this whole change exists to stop showing. One moving shape and two
   still ones is also the clearer loader. Caught by looking at it. */
.tt__skl { position: absolute; left: 14px; background: var(--line-soft); animation: none; }
.tt__skl--n { bottom: 74px; width: 58%; }
.tt__skl--j { bottom: 56px; width: 34%; }

/* 9e · INLINE — a section could not load. */
.errc {
	border: 1px solid var(--line-soft); border-left: 2px solid var(--cavir);
	border-radius: var(--r-md, 12px); background: var(--card);
	padding: var(--s5); display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.errc__t { margin: 0; font-size: 17px; font-weight: var(--fw-semi); }
.errc__n { margin: 0; font-size: var(--t-sm); color: var(--text-2); }
.errc__b { margin-top: 10px; }

/* 9e · BANNER — offline or signed out. Docked to the bottom of the device
   box, clear of the home indicator, and it never times out. */
.bnr {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 70;
	display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap;
	padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom, 0px));
	background: var(--card-lift); border-top: 1px solid var(--cavir);
	font-size: var(--t-sm);
}
.bnr__t { flex: 1; min-width: 0; }
@container (max-width: 820px) { .bnr { padding-inline: 24px; } }
@container (max-width: 520px) { .bnr { padding-inline: 16px; } }

/* 9e · TOAST — no progress bar, because it does not time out. */
.toast--err { border-color: var(--cavir); }
.toast--err .toast__u {
	background: none; border: 1px solid var(--line); border-radius: 999px;
	padding: 6px 14px; color: var(--text); cursor: pointer; font: inherit; font-size: var(--t-sm);
}
.toast--err .toast__u:hover { border-color: var(--text); }

/* ==========================================================================
   LITE 09 §8 — THE CONSENT BANNER
   --------------------------------------------------------------------------
   Small, at the bottom, and it NEVER COVERS THE BAR — which on the phone's
   Home screen is docked to the same edge, so `.app[data-consent]` lifts it
   while the ask is up. That is the one rule in §8 with a layout consequence.

   Three ways out, all equally reachable. Necessary only sits beside Accept
   all at the same size, because a refusal that takes an extra click is a
   dark pattern and PDPL/GDPR both read it that way.
   ========================================================================== */
/* FIXED, and placed by placeConsent() in app.js. It sits in <body> so that
   `fixed` means the viewport: inside `.app` it would not, because
   `container-type` makes .app the containing block for fixed as well as the
   query container (rules 2.3 and 2.12). left/width/bottom come from the
   app's visible slice, so the banner is on screen on every screen. */
.cns {
	position: fixed; z-index: 90;
	padding: var(--s3) 0 calc(var(--s3) + env(safe-area-inset-bottom, 0px));
	background: rgba(16, 16, 19, .97); border-top: 1px solid var(--line-soft);
}
/* THE BANNER IS FULL-BLEED; ITS CONTENT IS NOT. The ground reaches both
   window edges, but the text and the buttons sit on the shell's own width,
   so at 2000px they are not a screen apart (Jack, 2026-10-24). */
/* The GUTTER LIVES HERE, not on .cns, so this box is `.dash`'s box: same
   max-width, same centring, same padding. With the gutter on the banner
   instead, its content started at the window's 64px while the page's
   started at 82 — centring is what the extra 18px was. */
.cns__in {
	max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter);
	display: flex; align-items: center; justify-content: space-between;
	gap: var(--s5); flex-wrap: wrap;
}
@supports (backdrop-filter: blur(12px)) {
	.cns { background: rgba(16, 16, 19, .86); backdrop-filter: blur(12px); }
}
.cns__t { flex: 1 1 22rem; min-width: 0; }
.cns__h { margin: 0 0 2px; font-size: var(--t-xs); font-weight: var(--fw-semi); }
.cns__p { margin: 0; font-size: var(--t-xs); line-height: 1.45; color: var(--text-2); max-width: 64ch; }
.cns__acts, .cns__opts { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; flex: none; }
/* Smaller than a page action — this is an interruption, not the work
   (Jack, 2026-10-24: "reduce the size"). 36px still clears the 44px touch
   minimum on the phone, where the rule below makes them full-width rows. */
/* 36px TALL, 44px TO A FINGER. The decisions log allows a control to look
   36 only if its hit area is 44 — I shipped the 36 without the 44 on
   2026-10-24 and the divergence register lists it as mine. Rule 3.7b: an
   ::after on negative insets, so the box grows and the layout does not. */
.cns__b { min-height: 36px; padding: .4rem 1rem; font-size: var(--t-xs); white-space: nowrap; flex: none; position: relative; }
.cns__b::after { content: ''; position: absolute; inset: -4px 0; }
/* ACCEPT ALL IS FRESH RIZZZ, AND HAS TO BE TOLD TO SHOW IT. `.btn--primary`
   paints --grad-rizzz at `background-size: 160%` anchored at `0% 50%`, which
   on a wide button sweeps green → cyan → lilac and on a narrow one shows
   only the green end — so it read as flat teal here while "See your crew"
   read as the gradient (Jack, 2026-10-24: "make accept fresh rizz"). */
.cns__b.btn--primary { background-size: 100% 100%; background-position: 0 0; }
/* The two that are not the primary carry no pill, and keep Accept all's
   size and place so the refusal stays one click and equally reachable. */
.btn--plain { border-color: transparent; background: none; color: var(--text); }
.btn--plain:hover { color: var(--text); background: rgba(242, 238, 231, 0.06); }
.cns__o { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); cursor: pointer; min-height: 44px; }
.cns__o input { width: 18px; height: 18px; accent-color: var(--action-flat); cursor: pointer; }

/* §8: "never covers the bar". The phone Home bar is docked to this same
   edge, so it moves up by the banner's height while the ask is showing. */
/* THE BANNER'S OWN PHONE RULES CANNOT BE A CONTAINER QUERY ANY MORE.
   It moved to <body> to escape .app's containing block, and rule 2.2 is the
   price: nothing outside .app is reached by a query on .app, and a width
   media query would read the reviewer's window rather than the 390px frame.
   So placeConsent() stamps data-view, exactly as frameTo() does for the
   panels, and these key off it. */
.cns[data-view="phone"] .cns__in { padding-inline: 16px; }
.cns[data-view="phone"] .cns__acts,
.cns[data-view="phone"] .cns__opts { width: 100%; }
.cns[data-view="phone"] .cns__b { flex: 1 1 auto; }

@container (max-width: 760px) {
	/* `--cns-h` is set by paintConsent() from the banner's real height —
	   it changes with the copy, with Choose opening, and with the width it
	   wraps at, so a number written here is wrong the moment any of those
	   move. 16px of air on top of it. */
	/* BOTH OF THESE NOW DESCRIBE A BAR THAT IS NOT HERE. On a phone the ask
	   bar and the Spark are moved into the body-level dock, which clears the
	   banner itself — `.dock { bottom: calc(var(--dock-b) + var(--cns-h)) }`,
	   reading the copy app.js publishes on <html> for exactly this. They are
	   kept because they still fire for the one case the dock does not cover:
	   a narrow viewport on a screen that renders no shell nav, where there
	   is no dock and the bar stays where `shellTop()` put it. */
	.app[data-consent] .bar[data-page="home"] { bottom: calc(var(--cns-h, 0px) + 16px); }
	.app[data-consent] .bar:not([data-page="home"]) { bottom: calc(var(--cns-h, 0px) + 16px + env(safe-area-inset-bottom, 0px)); }
}

/* ==========================================================================
   LITE 00 · LANDING (step 34) — the signed-out entry
   --------------------------------------------------------------------------
   Built 2026-10-24 from `design_handoff_lite_landing`, measured off the
   board rather than read off its prose. The numbers that came from the
   artboard: headline 84 desktop / 44 phone at 500 and -.03em, line-height 1;
   the lede 24 / 16; the input 22 / 18; the Spark 48 / 44; chips 44 tall on
   a 999px radius with a Rizzz hairline at .35 alpha; wall tiles 223x256 at
   radius 16; strip faces 72x96 at radius 12.

   EVERY WIDTH RULE IS @container (§2.1). In phone view this page is a 390px
   column inside a ~1400px window, so a media query would read the window.
   ========================================================================== */
.lp { position: relative; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter) var(--s10); min-height: 100%; }

.lp__top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: var(--s5) 0; }
.lp__top .lockup { height: 26px; width: auto; }
/* A plain text link, no outline, with the 44px tap area the handoff asks
   for — height here rather than an ::after, because nothing is measured
   against this row (contrast rule 3.7b, which exists for the opposite case). */
/* `background` AND `border` ARE NOT OPTIONAL ON A <button>. The only global
   reset is `button, input, textarea, select { font: inherit; color: inherit }`
   (thrilla.css) — it carries no background and no border, so a button that
   does not set them gets the BROWSER'S defaults: a pale box with a grey
   border, which on this ground is unmissable. Jack, 2026-11-02: "signed out
   state has a funny sign in button on landing page", with a screenshot of a
   white rectangle in the top right of the hero.
   `.lp__signin` set colour and padding and stopped there. */
.lp__signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
	font-size: 15px; color: var(--text); text-decoration: none;
	background: transparent; border: 0; cursor: pointer; }
.lp__signin:hover { color: var(--action-flat); }

.lp__hero { position: relative; z-index: 2; padding: var(--s8) 0 var(--s10); max-width: 46rem; }
.lp__eyebrow { color: var(--text-2); margin-bottom: var(--s4); }
/* 84px, 500, -.03em, line-height 1 — straight off the board. */
.lp__h { margin: 0; font-size: 84px; font-weight: var(--fw-med); letter-spacing: -.03em; line-height: 1; }
/* "creation." is Fresh Rizzz as TEXT, not a fill behind it. */
.lp__rz { background: var(--grad-rizzz); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* The plain variant is one line of statement rather than a two-line
   tagline, so it needs no <br> and the phone board drops it to 40 with a
   touch more leading rather than the tagline's 44 at line-height 1. */
.lp__h--plain { max-width: 18ch; }
.lp__lede { margin: var(--s5) 0 0; font-size: 24px; line-height: 1.4; color: #e5e1df; max-width: 34ch; text-wrap: pretty; }

/* THE BAR HAS NO BOX — a 2px Rizzz underline and a round Spark, and the
   focus state thickens the underline rather than drawing a ring around it
   (rule 3.2; the same treatment the brief's own field uses). */
.lp__bar { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s8);
	border-bottom: 2px solid var(--action-flat); padding-bottom: var(--s3); }
/* 22px read as a headline rather than a field (Jack, 2026-10-26: "homepage
   search bar text is very large"). 18 is still the hero's field and no longer
   competes with the h1 above it. The phone rule below stays at 16: under 16
   iOS Safari zooms the page on focus. */
.lp__in { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font-size: 18px; padding: var(--s3) 0; }
.lp__in:focus { outline: none; }
.lp__bar:focus-within { border-bottom-color: transparent; background-image: var(--grad-rizzz);
	background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 3px; }
.lp__go { flex: none; width: 48px; height: 48px; border: 0; border-radius: 50%;
	background: var(--grad-rizzz); color: #0b0b0c; display: flex; align-items: center; justify-content: center; }
.lp__go svg { width: 20px; height: 20px; }

.lp__match { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s5); min-height: 44px; }
.lp__match:empty { display: none; }
.lp__mfaces { display: flex; }
.lp__face--m { width: 36px; height: 36px; border-radius: 50%; margin-right: -10px; border: 2px solid var(--page); }
.lp__mtext { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.lp__mrate { font-size: 13px; color: var(--text-2); }

.lp__starts { margin-top: var(--s8); }
.lp__startl { display: block; font-size: 14px; color: var(--text-2); margin-bottom: var(--s3); }
.lp__chips { display: flex; flex-wrap: wrap; gap: var(--s3); }
.lp__chip { min-height: 44px; padding: 0 18px; border-radius: 999px;
	border: 1px solid rgba(25, 255, 217, .35); background: none; color: var(--text); font-size: 14px; }
.lp__chip:hover { border-color: var(--action-flat); }

.lp__foot { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s5);
	flex-wrap: wrap; margin-top: var(--s10); }
.lp__footl { font-size: 15px; color: #e5e1df; }
.lp__footr { font-size: 14px; color: var(--text-2); }

/* ---- the talent wall. An ambient exception to the motion rule: signed-out
       only, and it stops under reduced motion. ---- */
.lp__wall { position: absolute; top: 0; right: 0; bottom: 0; width: 470px; display: flex; gap: var(--s4);
	overflow: hidden; z-index: 1; opacity: .5;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%);
	-webkit-mask-composite: source-in; mask-composite: intersect;
}
.lp__wallcol { display: flex; flex-direction: column; gap: var(--s4); animation: lpWallUp 64s linear infinite; }
.lp__wallcol[data-dir="down"] { animation-name: lpWallDown; }
.lp__face { display: block; background-size: cover; background-position: center; flex: none; }
.lp__face--wall { width: 223px; height: 256px; border-radius: 16px; }
@keyframes lpWallUp   { from { transform: translateY(0) }    to { transform: translateY(-50%) } }
@keyframes lpWallDown { from { transform: translateY(-50%) } to { transform: translateY(0) } }

/* ---- below the fold ---- */
.lp__how { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s8);
	padding: var(--s10) 0; border-top: 1px solid var(--line-soft); }
.lp__stepn { margin: 0 0 var(--s3); font-size: 42px; font-weight: var(--fw-light); color: var(--text-3); line-height: 1.16; }
.lp__steph { margin: 0 0 var(--s2); font-size: 20px; font-weight: var(--fw-semi); }
.lp__stepb { margin: 0; font-size: 15px; color: var(--text-2); max-width: 30ch; }

.lp__proof { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8);
	align-items: center; padding: var(--s10) 0; border-top: 1px solid var(--line-soft); }
.lp__card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
.lp__cardimg { display: block; height: 240px; background-size: cover; background-position: center; }
.lp__cardb { padding: var(--s5); }
.lp__cardh { margin: var(--s2) 0 var(--s2); font-size: 20px; font-weight: var(--fw-semi); }
.lp__cardm { margin: 0; font-size: 15px; color: var(--text-2); }
.lp__numsh { margin: 0 0 var(--s6); font-size: var(--t-h2); font-weight: var(--fw-med); letter-spacing: var(--ls-tight); }
.lp__stats { display: flex; gap: var(--s8); margin-bottom: var(--s7); }
.lp__statn { margin: 0; font-size: 42px; font-weight: var(--fw-light); letter-spacing: -.02em; line-height: 1.16; font-variant-numeric: tabular-nums; }
.lp__statl { margin: 0; font-size: 14px; color: var(--text-2); }

.lp__end { position: relative; z-index: 2; display: flex; align-items: center; flex-wrap: wrap; gap: var(--s5);
	padding: var(--s6) 0 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.lp__endl, .lp__endt { color: var(--text-2); }
.lp__endt { color: #e5e1df; }
.lp__endsp { flex: 1; }
.lp__enda { color: var(--text-2); min-height: 44px; display: inline-flex; align-items: center; }

@media (prefers-reduced-motion: reduce) {
	.lp__wallcol, .lp__striprow { animation: none !important; }
}

/* ---- LANDING · PHONE (390). A DIFFERENT COMPOSITION, per rule 1.0 and
       step 4 of the sequence: the two drifting columns on the right are
       replaced by ONE horizontal strip of eight faces behind the logo,
       masked top and bottom at 50% opacity on a 70s drift. Everything else
       drops a tier: headline 84 -> 44, lede 24 -> 16, input 22 -> 18,
       Spark 48 -> 44, and the three below-fold grids go to one column. ---- */
@container (max-width: 760px) {
	.lp { padding: 0 16px var(--s10); }
	.lp__hero { padding: var(--s6) 0 var(--s8); max-width: none; }
	/* A SCRIM UNDER THE HERO TEXT, because the eyebrow sits INSIDE the photo
	   strip. Measured: eyebrow y145-161, strip y72-222 — it lands in the
	   strip's fade band, 12px at `--text-2` over a composite that changes
	   with whichever face is drifting past. At 12px that needs 4.5:1 and
	   nothing guaranteed it.

	   The audit offered "move it below the strip, or a solid scrim band".
	   Moving it pushes the headline ~90px down the page, which is not
	   "nothing moves far"; a band behind one line reads as a chip. This is
	   the product's own device — the same page-coloured gradient
	   `.ambience .scrim` uses — and it covers the HEADLINE too, which is 44px
	   white over the same uncontrolled photograph and needs 3:1 with the
	   same nothing guaranteeing it.

	   At .82 the strip contributes at most 9% of the composite (it is
	   already at opacity .5), so the pairing is effectively the flat page it
	   was designed against. The strip stays itself above the text and below
	   it; `z-index: -1` keeps this inside the hero's own stacking context,
	   so it dims the strip without touching anything the hero draws. */
	.lp__hero::before {
		content: ''; position: absolute; inset: calc(var(--s6) * -1) -16px auto; height: 240px;
		z-index: -1; pointer-events: none;
		background: linear-gradient(180deg,
			rgba(11, 11, 12, .82) 0%, rgba(11, 11, 12, .55) 62%, rgba(11, 11, 12, 0) 100%);
	}

	/* ONE 5,009 ON THE PAGE, NOT TWO. The hero's foot already states the
	   network size; `lp__nums` restated it under the heading "Vetted people,
	   real numbers." — a plural promise over a single number — inside a
	   790px block that is a third of the phone page.

	   HIDDEN HERE RATHER THAN DELETED, and scoped to the phone, because the
	   audit is a mobile audit and the desktop composition puts this beside
	   the case-study card where it reads as a column rather than a third of
	   the page. THE CTA IS UNTOUCHED: it lives inside `lp__nums` and the
	   audit says in as many words that no CTA is to be touched, which is why
	   this hides the two children and not the parent. */
	.lp__numsh, .lp__stats { display: none; }

	/* ---- fix 8, the 44px sweep ---- */
	/* `Terms` measured 41x44 — three pixels short on ONE axis, which is the
	   whole of rule 3.6: "measured as the finger gets them, and in BOTH
	   dimensions". A min-width costs the row nothing because the footer
	   wraps anyway. */
	.lp__enda { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; }
	/* The ask bar's field is 40px tall by the board's own number, and a
	   board number is a desktop number: on a phone the field IS the control
	   and 40 is under the minimum. Four pixels, on the one input a client
	   types into on the home screen and on Talent. The dock measures its own
	   height, so the clearance follows this without a second edit. */
	.bar__wrap input { min-height: 44px; }
	.lp__h { font-size: 44px; }
	.lp__h--plain { font-size: 40px; line-height: 1.02; max-width: none; }
	.lp__lede { font-size: 16px; line-height: 1.45; margin-top: var(--s4); max-width: none; }
	.lp__in { font-size: 16px; }
	.lp__go { width: 44px; height: 44px; }
	.lp__go svg { width: 18px; height: 18px; }
	.lp__bar { gap: var(--s3); margin-top: var(--s6); }
	/* The chips scroll rather than wrap into four rows on a 358px column. */
	.lp__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
		margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
	.lp__chips::-webkit-scrollbar { display: none; }
	.lp__chip { flex: none; }
	.lp__foot { margin-top: var(--s8); gap: var(--s2); }
	.lp__footl, .lp__footr { font-size: 13px; }
	.lp__how, .lp__proof { grid-template-columns: 1fr; gap: var(--s7); padding: var(--s8) 0; }
	.lp__stats { gap: var(--s6); }
	.lp__statn { font-size: 32px; }
	.lp__cta { width: 100%; justify-content: center; }
	.lp__end { gap: var(--s3); padding-top: var(--s5); }
	.lp__endsp { display: none; }
}

/* The strip only exists in the phone markup, so it needs no query of its
   own — but its sizes are the board's: 72x96 at radius 12. */
.lp__strip { position: absolute; left: 0; right: 0; top: 40px; height: 150px; overflow: hidden;
	z-index: 1; opacity: .5;
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 55%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 55%, transparent 100%);
}
.lp__striprow { display: flex; gap: var(--s3); width: max-content; animation: lpStripX 70s linear infinite; }
.lp__face--strip { width: 72px; height: 96px; border-radius: 12px; }
@keyframes lpStripX { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ---- THE FIELD, as the design system's own rather than the brief's.
       `.inp` and `.lab` existed only as `.agentic .inp` / `.agentic .lab`,
       so anything outside the brief — the commit sheet, which lives in
       <body> — rendered a browser-default input on a dark card (Jack,
       2026-10-25: "the text boxes don't match our design system"). Same
       values, unscoped, at a lower specificity, so the brief's own rules
       still win inside it and nothing there moves. ---- */
.lab { display: block; font-size: var(--t-xs); font-weight: 500; margin-bottom: .4rem; color: var(--text-2); }
.inp {
	width: 100%; min-height: 46px; padding: .6rem .9rem; box-sizing: border-box;
	background: rgba(11, 11, 12, .5); border: 1px solid var(--line);
	border-radius: 12px; color: var(--text); outline: none;
	font: inherit; font-size: .9375rem;
}
.inp::placeholder { color: var(--text-3); }
.inp:focus { border-color: var(--action-flat); box-shadow: 0 0 0 3px rgba(25, 255, 217, .18); }

/* ==========================================================================
   13a · THE COMMIT SHEET — "the commit sheet (phone; the desktop dock is
   the same)". Appended to <body>, so frameTo() hands it the device box and
   `data-view` tells it which it is: no container query reaches outside
   `.app`, and a width media query would read the reviewer's window.
   ========================================================================== */
#commitSheet { position: fixed; inset: 0; z-index: 120; display: flex;
	align-items: center; justify-content: center; }
#commitSheet[data-view="phone"] {
	inset: var(--dev-t, 0) auto auto var(--dev-l, 0);
	width: var(--dev-w, 100%); height: var(--dev-h, 100%);
	align-items: flex-end;
}
.cm__scrim { position: absolute; inset: 0; background: rgba(11, 11, 12, .72); }
@supports (backdrop-filter: blur(4px)) { .cm__scrim { backdrop-filter: blur(4px); } }
.cm { position: relative; width: min(440px, calc(100% - 32px)); max-height: 92%; overflow-y: auto;
	background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
	padding: var(--s6); display: flex; flex-direction: column; gap: var(--s4); }
#commitSheet[data-view="phone"] .cm { width: 100%; max-height: 86%;
	border-radius: var(--r-lg) var(--r-lg) 0 0; border-bottom: 0; padding: var(--s5); }

.cm__h { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4); }
.cm__t { margin: 0; font-size: var(--t-h3); font-weight: var(--fw-semi); letter-spacing: var(--ls-tight); }
.cm__x { flex: none; }
.cm__p { margin: 0; font-size: var(--t-sm); color: var(--text-2); line-height: 1.5; }
.cm__fields { display: flex; flex-direction: column; gap: var(--s4); }
.cm__f { display: flex; flex-direction: column; gap: var(--s2); }
.cm__consent { display: flex; gap: var(--s3); align-items: flex-start; font-size: var(--t-xs);
	color: var(--text-2); line-height: 1.45; cursor: pointer; }
.cm__consent input { width: 18px; height: 18px; flex: none; margin-top: 1px; accent-color: var(--action-flat); }
/* WORKING, NOT FAILING. The busy line sits where the error line sits, so
   the step has one place that speaks — but it is text-2 with a pulsing dot,
   never the error red, because "posting your job" is the happy path and the
   client should not read it as a problem. */
.cm__busy { margin: 0; font-size: var(--t-sm); color: var(--text-2); display: flex; align-items: center; gap: var(--s2); }
.cm__busy::before {
  content: ''; width: 8px; height: 8px; border-radius: 999px; flex: none;
  background: var(--action); animation: cmPulse 1.1s ease-in-out infinite;
}
@keyframes cmPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cm__busy::before { animation: none; opacity: .8; } }
.cm__err { margin: 0; font-size: var(--t-sm); color: var(--bad, #e03131); }
.cm__tries { color: var(--text-3); }
.cm__go { width: 100%; justify-content: center; }
.cm__go[disabled] { opacity: .45; cursor: not-allowed; }

/* Six boxes, and they stay six on a 358px column: 44px each plus five gaps
   is 274, which fits with room for the sheet's padding. */
.cm__code { display: flex; gap: var(--s2); }
.cm__d { flex: 1 1 0; min-width: 0; height: 56px; text-align: center;
	font-size: var(--t-h3); font-variant-numeric: tabular-nums;
	background: var(--page); color: var(--text);
	border: 1px solid var(--line); border-radius: var(--r-sm); }
.cm__d:focus-visible { outline: 0; border-color: var(--action-flat); }
.cm__d[disabled] { opacity: .4; }
.cm__acts { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.cm__acts .link[disabled] { color: var(--text-3); cursor: default; }

/* ---- 12 · Delete account confirm. Reuses the Book confirm's shell, because
       it IS the same utility — a confirm over the screen (PATTERNS §3) — and
       two dialogs that look different for no reason is how a product starts
       feeling assembled rather than designed. ---- */
#dashDel .panel-scrim { z-index: 90; }
.delc__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s3); }
.delc__i { display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
	padding: var(--s3) 0; border-bottom: 1px solid var(--line-soft); }
.delc__i:last-child { border-bottom: 0; }
.delc__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.delc__w { font-size: var(--t-sm); font-weight: var(--fw-semi); }
.delc__n { font-size: var(--t-xs); color: var(--text-2); }
.bookc__acts { display: flex; gap: var(--s3); justify-content: flex-end; flex-wrap: wrap; }
.bookc__acts .btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---- 1.4 · a toast ABOUT A PERSON shows them. The design draws
       "Rami T. accepted · Host, Rooftop brand night" with the face, and a
       toast that names somebody without showing them makes the client go
       and look up who it meant. Plain toasts are untouched. ---- */
.toast__face { width: 32px; height: 32px; border-radius: 999px; flex: none;
	background-size: cover; background-position: center; }
.toast--who .toast__t { display: flex; flex-direction: column; gap: 1px; }
.toast__m { font-weight: var(--fw-semi); }
.toast__sub { font-size: var(--t-xs); color: var(--text-2); }

/* ==========================================================================
   10.5 · THE ATTACHED OBJECT — an action reply's card, in the composer as a
   preview and in the thread once sent. handoff/10:55: "attach the real
   thing … which the client previews before sending."
   One block, both places: the sent card is the same card without its remove
   control, so the preview cannot drift from what actually goes.
   ========================================================================== */
.msa {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  padding: var(--s3);
  display: flex; flex-direction: column; gap: 6px;
}
.msa__h { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
/* The remove control is 24px drawn and 44px touched — rule 3.7b, via insets
   rather than a min-height, so it does not grow the card's own measured box. */
.msa__x {
  position: relative; width: 24px; height: 24px; flex: none;
  background: none; border: 0; color: var(--text-2); line-height: 1;
}
.msa__x::after { content: ''; position: absolute; inset: -10px; }
.msa__x:hover { color: var(--text); }
.msa__t { margin: 0; font-size: var(--t-sm); font-weight: var(--fw-semi); color: var(--text); }
.msa__m { margin: 0; font-size: var(--t-xs); color: var(--text-2); line-height: var(--lh-normal); }
.msa__n { margin: 2px 0 0; font-size: var(--t-xs); color: var(--text-3); line-height: var(--lh-normal); }
/* A crew list is tabular, not prose, so it keeps the global marker reset
   (rule 2.15 is about lists that MEAN a list). */
.msa__l { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.msa__r {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px var(--s2); align-items: baseline;
  padding-top: 6px; border-top: 1px solid var(--line-soft);
}
.msa__rn { font-size: var(--t-xs); font-weight: var(--fw-med); color: var(--text); min-width: 0; }
.msa__rr { grid-row: 2; font-size: var(--t-xs); color: var(--text-3); min-width: 0; }
.msa__rc {
  grid-column: 2; grid-row: 1 / span 2; text-align: right;
  font-size: var(--t-xs); color: var(--text-2); white-space: nowrap;
}
.msa__rc .sep { margin: 0 4px; }
/* In the thread the card IS the bubble, so the bubble's own padding would
   double the card's. */
.ms__b--card .msa { max-width: 420px; }

/* The crew sheet's rows stack their contact under the name when the card is
   narrow — a phone number and a call time on one line with a name is 44
   characters of nowrap in a 300px card. @container, never @media (rule 2.1). */
@container (max-width: 560px) {
  .msa__r { grid-template-columns: minmax(0, 1fr); }
  .msa__rc { grid-column: 1; grid-row: 3; text-align: left; white-space: normal; }
}

/* ==========================================================================
   8.4 · BELOW THREE STARS — the private note, and the public review marked
   held. handoff/08:42: "a private note to Thrilla is offered and the review
   is held for moderation." The copy asked the question; there was no field.
   ========================================================================== */
.cp__blk--low {
  border-top: 1px solid var(--line);
  padding-top: var(--s3);
  /* The warning state, not an error: a low rating is a legitimate thing to
     leave, so this is amber rather than red (design/status-colour-system). */
  border-left: 2px solid var(--st-warning);
  padding-left: var(--s3);
}
.cp__rev--note { min-height: 72px; }
.cp__lown { margin: 6px 0 0; font-size: var(--t-xs); color: var(--text-3); line-height: var(--lh-normal); }
/* Held is a STATE, carried on the label as well as in the sentence, because
   a client who skims the label should still learn it does not go straight up. */
.cp__held {
  display: inline-block; margin-left: 6px;
  padding: 1px 8px; border-radius: var(--r-pill);
  background: var(--st-warning); color: var(--st-warning-fg);
  font-size: var(--t-xs); font-weight: var(--fw-med);
  text-transform: none; letter-spacing: 0;
}
.cp__rev.is-held { border-color: var(--st-warning); }

/* ==========================================================================
   A FACE WE DO NOT HOLD. search_talent returns no avatar — a real person has
   one image and it is their portfolio work — so the circle carries initials
   rather than the cover repeated (rule 2.11) or an empty ring (rule 4.7).
   ========================================================================== */
.face--init {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grey-700); color: var(--text-2);
  font-size: var(--t-xs); font-weight: var(--fw-semi);
  letter-spacing: var(--ls-caps);
  /* object-fit does nothing on a span, and .face sets it for the <img> case. */
  overflow: hidden;
}
/* The photo sits OVER the initials in the same circle, so a signature that
   expires mid-session falls back to a readable monogram rather than a broken
   frame — `onerror` removes the <img> and the letters are already behind it. */
.face--init { position: relative; }
.face__im {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: inherit; object-fit: cover;
  /* F-56: the platform's derived variants drop the EXIF orientation. We read
     the original, which is upright, so the tag must not be applied twice. */
  image-orientation: none;
}

/* A grid of people who are NOT people. Jack, 2026-10-26: "if there are not
   real talent to select for whatever reason, we should not be pushing a
   client to invite a placeholder?" The cards still draw — Railway and the
   artifact can never reach the MCP and the screen has to stay reviewable —
   but nothing on them is pressable and the reason is stated above them. */
/* NOBODY TO SHOW — the honest state off this machine (Jack, 2026-10-26:
   "this should never reach production"). Deliberately NOT a card grid and not
   `.pick__unreal`'s warning rail: nothing has gone wrong that the client
   caused or can fix, and a warning colour over "post your job instead" reads
   as a failure rather than as the other half of the product. No `@media`
   anywhere in here — the container law, §2.1. */
.pick__none {
  margin: 0 0 var(--s3);
  padding: var(--s5) var(--s4);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--card);
  text-align: center;
}
.pick__nonet {
  margin: 0 0 var(--s2);
  font-size: var(--t-lg);
  line-height: var(--lh-tight);
  color: var(--text);
}
.pick__nonep {
  margin: 0 auto;
  max-width: 46ch;
  font-size: var(--t-sm);
  line-height: var(--lh-normal);
  color: var(--text-2);
}
.pick__unreal {
  margin: 0 0 var(--s3);
  padding: var(--s3);
  border-radius: var(--r-md);
  border-left: 2px solid var(--st-warning);
  background: var(--card);
  font-size: var(--t-sm);
  line-height: var(--lh-normal);
  color: var(--text-2);
}
/* Reads as a sample rather than as a list you failed to interact with. */
.pgrid.is-unreal { opacity: 0.6; }
.pgrid.is-unreal .pcard { cursor: default; }

/* ==========================================================================
   REAL PEOPLE AND REAL JOBS IN PLACES THAT ONLY HAD FIXTURES
   Added 2026-10-27 with the live reads. Each class below exists because a
   render path that used to be unreachable now is.
   ========================================================================== */

/* An inbox face for somebody whose photo is a SIGNED URL rather than a file
   under assets/talent. Same construction as `.face--init` (4579): the
   initials are the element, the photo sits over them, and a signature that
   expires mid-session falls back to a monogram instead of a broken frame. */
.ms__face--init {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grey-700); color: var(--text-2);
  font-size: var(--t-xs); font-weight: var(--fw-semi);
  letter-spacing: var(--ls-caps);
}
.ms__fim {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: inherit; object-fit: cover;
  /* F-56: the derived variants drop EXIF orientation, so we read the
     original — which is already upright and must not be rotated again. */
  image-orientation: none;
}

/* The composer on a real thread. Sending is not wired and `POST /chat/message`
   writes to a named person, so the control says so. Warm amber is the
   design system's warning state; orange is urgent-only and would be wrong. */
.ms__hint--off {
  margin: 0 0 6px; font-size: var(--t-xs); line-height: 1.4;
  /* `--st-warning`, the declared warm amber. `--amber` does not exist and
     the fallback was quietly doing the work, which survives the token gate
     and then ignores every future change to the palette. */
  color: var(--st-warning);
}

/* Empty states that only became reachable once the fixtures were gated:
   a public job link that resolves to nothing, a real talent with no
   portfolio cover, and the full-page profile with nobody to show. */
.pj--none, .tpf__body { padding: var(--s7) var(--gutter); }
.tp__pf--none { padding: var(--s5) 0; }

/* --------------------------------------------------------------------------
   UNDER REVIEW, ON THE JOB PAGE  (ADR-048)
   The three-step timeline and the §P-6 deadline, moved off the Project
   screen because they are states of a job and the home of a job's states is
   the job's own page. Rows and rules, not containers.
   -------------------------------------------------------------------------- */
.jrt { margin: 0 0 var(--s5); }
.jrt__l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s4); }
.jrt__i { display: flex; gap: var(--s4); align-items: flex-start; }
.jrt__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jrt__h { font-size: var(--t-body); font-weight: var(--fw-semi); line-height: normal; }
.jrt__s { font-size: var(--t-xs); line-height: 1.45; color: var(--text-3); }
.jrt__by { margin: var(--s4) 0 0; font-size: var(--t-xs); line-height: 1.45; color: var(--text-3); }

/* The marker column is one width at every step so the three headings share
   a left edge — a done tick and a pending ring are different sizes and
   would otherwise stagger the text (rule 4.2's cousin). */
.jrt__m { width: 20px; height: 20px; flex: none; margin-top: 2px;
	display: inline-flex; align-items: center; justify-content: center; }
.jrt__m--done { border-radius: 50%; background: var(--st-progress); color: var(--st-progress-fg); }
.jrt__m--done svg { width: 12px; height: 12px; fill: none; stroke: currentColor;
	stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.jrt__m--next::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); }

/* Deliberately NOT `.dots`: that name is taken by the 44px round "more
   actions" button in this same file, which loads after thrilla.css and so
   wins (rule 2.7b). Same three-dot pulse, scoped to this component. */
.jrt__m--now { gap: 3px; }
.jrt__m--now > span { width: 4px; height: 4px; border-radius: 50%; background: var(--text-2);
	animation: dotpulse 1400ms var(--ease) infinite; }
.jrt__m--now > span:nth-child(2) { animation-delay: 160ms; }
.jrt__m--now > span:nth-child(3) { animation-delay: 320ms; }

/* --------------------------------------------------------------------------
   SIGN IN
   The sheet reuses the Settings panel's chrome (.st, .st__top, .st__body,
   .st__fl, .inp) because it IS that object — a panel over whatever you were
   doing. Only the four things Settings has no equivalent for are declared.
   -------------------------------------------------------------------------- */
.si__lede { margin: 0 0 var(--s5); font-size: var(--t-body); line-height: 1.5; color: var(--text-2); }
.si__go { width: 100%; margin-top: var(--s5); }

/* `--st-cancelled` is the declared red. There is no `--st-error`, and a
   literal here would drift from the palette the status system owns. */
.si__err {
  margin: var(--s4) 0 0; font-size: var(--t-xs); line-height: 1.45;
  color: var(--st-cancelled);
}

/* Not a footnote. Every client who posted through LITE has a password that
   was generated in their browser and never stored (ADR-033), so this link is
   the ONLY way in for them — it earns its place in the flow. */
.si__alt { margin: var(--s5) 0 0; font-size: var(--t-xs); line-height: 1.5; color: var(--text-3); }

/* A real person's headshot in the profile panel. Same construction as
   `.face--init` and `.ms__face--init`: the initials ARE the element and the
   photo sits over them, so a 15-minute signature expiring mid-session falls
   back to a monogram rather than the empty circle Jack saw on 2026-10-27. */
.tp__face--init {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grey-700); color: var(--text-2);
  font-size: var(--t-body); font-weight: var(--fw-semi);
  letter-spacing: var(--ls-caps);
}
.tp__fim {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: inherit; object-fit: cover;
  /* F-56: the derived variants drop EXIF orientation; we read the original. */
  image-orientation: none;
}

/* A real booking has no phone or email on it, so the "contact unlocked"
   block says where the number actually lives instead of inventing one. */
.tp__cnone { margin: var(--s3) 0 0; font-size: var(--t-xs); line-height: 1.5; color: var(--text-3); }

/* "Not saved yet", where "Saved as a draft" used to sit. Warm amber is the
   design system's warning; it is not urgent (orange) and not an error (red).
   The label stays in the same slot so the header does not reflow. */
.pick__draft--warn { color: var(--st-warning); }

/* The landing ask is a positioned wrapper so `.suggest` (absolute, top:100%)
   anchors to the FIELD. Without it the containing block is `.lp__hero` and the
   dropdown opened 331px low, over the three steps (measured 2026-10-28). */
.lp__askw { position: relative; }

/* A notification with no action is two columns, not three — the row still
   has to hold the board shape without an actions block. */
.nitem--plain { grid-template-columns: 1fr; }

/* The floor under a photo that never arrives: initials, behind the image,
   so a card is never a blank box with a name under it. The img sits on top
   and simply covers this when it loads. */
.tt__ini { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 600; letter-spacing: .04em; color: var(--text-2);
  background: var(--sunken); }
.tt__g.is-dense .tt__ini { font-size: 18px; }

/* The reason radiogroup inside a confirm. `.cp__m` buttons are the close-out's
   own and are reused here; this is only the row that holds them, which the
   confirm did not have because no confirm had a choice in it before. */
.bookc__blk { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }

/* ─── THE TALENT'S OWN PUBLIC PAGE (ADR-056) ──────────────────────────────
   A FRAME, NOT A SECOND PROFILE. The body is `tpIdentity` + the tabs +
   `tpPortfolio`/`tpDetails`/`tpWork` — the same four the client-facing panel
   composes — so everything under `.pt__wrap` is already styled by the `.tp__*`
   rules above and nothing here restyles them. What this adds is the page
   around them: a header a visitor can leave by, a readable column, and the one
   call to action. Restyling a `.tp__*` rule from here would be exactly the
   drift the parity gate exists to prevent. */
.pt { padding-block: var(--s4) var(--s10); }
.pt__top { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s6); }
.pt__home { font-weight: 600; letter-spacing: -0.01em; text-decoration: none; color: inherit;
	/* 61x24 drawn, 44 of height for the finger. The header is measured, so
	   the box does not grow — the hit area does (rule 3.7b). */
	position: relative; }
.pt__home::after { content: ''; position: absolute; inset: -10px 0; }
.pt__sp { flex: 1 1 auto; }
.pt__wrap { max-width: 860px; margin-inline: auto; }
.pt__amb { margin-top: var(--s4); display: flex; flex-direction: column; gap: var(--s2); }
.pt__cta { margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line); }
@container (max-width: 767px) {
  .pt__top { margin-bottom: var(--s4); }
  .pt { padding-block: var(--s3) var(--s8); }
}
