/* ==========================================================================
   THRILLA SNAP — THE AGENTIC BRIEF, SCOPED
   --------------------------------------------------------------------------
   Extracted from agentic.html's <style> block so the standalone page and the
   folded-in screen share one source. Loaded AFTER thrilla.css by both.

   EVERY RULE IS SCOPED UNDER .agentic, AND THE TOKENS LIVE ON IT RATHER THAN
   ON :root. That is not tidiness. This block and thrilla.css collide on 22
   class names, five of which the other six screens use heavily — .btn (33
   uses), .row (28), .eyebrow (18), .card (15) — and on three custom
   properties whose values differ:

     --line    rgba(242,238,231,.14)  vs  #646466
     --card    rgba(22,22,26,.72)     vs  #16161a
     --sunken  rgba(242,238,231,.07)  vs  #232328

   --line is the one that matters. thrilla.css:75 records why its value is
   what it is: "3.06:1 on card, 3.33:1 on page — clears WCAG 1.4.11 for a
   control edge." The rgba above composites to roughly 1.5:1, which is the
   value that file explicitly rules out for a control edge. Declared on :root
   it would silently fail that decision across ten consumers in thrilla.css
   and ten more inline in screens.js. Declared on .agentic it applies inside
   this screen and nowhere else, because custom properties inherit.

   .stage was renamed .agentic for the same reason: index.html:180 puts
   class="stage" on the wrapper around the WHOLE prototype, and this block's
   overflow:hidden would have broken the sticky dock while container-name:ag
   would have landed on the 1400px outer wrapper — firing the 880px desktop
   layout inside the 390px phone frame.

   DELETED rather than scoped, because thrilla.css already provides them:
   the Work Sans @import (thrilla.css:38 imports a superset), and the six
   base rules for *, html/body, body, headings, ul and form elements. A
   scoped `body` rule could never match anyway — body is an ancestor of the
   wrapper, not a descendant, so it would have evaporated silently and taken
   the dark ground with it.

   ALSO DELETED as dead: .btn--ghost, .dots, .dots i and @keyframes dot —
   defined here, applied nowhere in agentic.html or agentic.js. Two of them
   were collisions.

   Keyframe names are global and a wrapper does nothing to them. The six here
   (breathe, blink, enter, slidein, sp, and the calendar's) do not collide
   with thrilla.css's set, so they are left alone.
   ========================================================================== */

/* ==========================================================================
   THRILLA LITE — THE AGENTIC BRIEF
   --------------------------------------------------------------------------
   One screen replaces the five-question brief, the "building your plan" wait
   and the plan. The client types a sentence and watches the agent work.

   THE LANGUAGE IS THE HYBRID HERO'S, carried through: Dark Ambience ground
   with a directional scrim, a borderless field on a Fresh Rizzz underline,
   uppercase tracked controls, Fresh Rizzz for the machine and for anything
   you press. Jack's prototype was on a light surface; it predates this visual
   design, and Fresh Rizzz measures 1.11:1 on light — invisible, not weak.

   WHAT IS SIMULATED AND WHAT IS NOT, stated plainly because the brief's first
   principle is "animate real work, never theatre".

   There is no backend here, so every await below stands in for one call. The
   structure is the honest part: each step is an async function that does its
   work and THEN renders, so swapping `sleep(n)` for a real fetch changes the
   timing and nothing else. No step pads a fast answer, and the rows appear in
   resolve order rather than on a timeline. The exact line each call belongs
   on is commented at the call site.

   THE FUNNEL COUNTS REACH, NEVER READINESS (ADR-032, clarified 2026-10-18).
   5,512 / 418 / 46 are who will SEE this job, which is true under ADR-034
   because every job is marketed to the pool. No step ends on an availability
   or bookable count — the real bookable figure is five photographers (F-49),
   and showing it is the thin-supply reveal Stage 0 designed out.

   The prototype's final filter, "Rated 4.7 and up -> 9", is DELETED rather
   than relabelled: F-23 established there is one rating on the whole
   platform, so it had no data behind it.
   ========================================================================== */



.agentic {
  --black: #0b0b0c; --paper: #f2eee7;
  --g300: #cecac6; --g400: #999999; --g600: #646466;
  --card: rgba(22, 22, 26, 0.72);
  --line: rgba(242, 238, 231, 0.14);
  --line-2: rgba(242, 238, 231, 0.26);
  --sunken: rgba(242, 238, 231, 0.07);
  --rizzz: linear-gradient(-55deg, #33ffaa 0%, #19ffd9 44%, #ddabf5 100%);
  --mint: #19ffd9;
  --mint-edge: rgba(25, 255, 217, 0.38);
  --mint-wash: rgba(25, 255, 217, 0.10);
  --caviar: linear-gradient(-55deg, #e95400 0%, #ff9500 57.4%, #ffcb6b 100%);
  --ambience:
  conic-gradient(from 180deg at 50% 100%, rgba(102,51,102,0) 0%, rgba(133,40,55,1) 31%, rgba(255,149,0,0) 78%),
  conic-gradient(from 180deg at 50% 100%, rgba(102,51,102,1) 0%, rgba(133,40,55,0) 15%, rgba(255,149,0,0) 70%, rgba(255,203,107,0) 100%),
  #0b0b0c;
  --ok: #05c882; --warn: #f7a23b;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; isolation: isolate; min-height: 100%; overflow: clip; container-type: inline-size; container-name: ag; }   /* clip, not hidden: hidden made .agentic the sticky scroller and killed every sticky inside (mobile audit F2) */
.agentic .glow { position: absolute; inset: -10% -12% 0; z-index: -2; background: var(--ambience);
  transform-origin: 50% 100%; transform: scaleX(-1) scale(1.14); animation: breathe 34s ease-in-out infinite; }
@keyframes breathe { 0%,100% { transform: scaleX(-1) scale(1.14); } 50% { transform: scaleX(-1) scale(1.22) translateY(-1.5%); } }
/* Load-bearing: the field and every card below are unfilled or barely filled,
   so the type column has to be held near-black by hand. */
.agentic .scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, rgba(11,11,12,.95) 0%, rgba(11,11,12,.86) 46%, rgba(11,11,12,.34) 76%, rgba(11,11,12,.08) 100%),
              linear-gradient(to top, rgba(11,11,12,.86) 0%, rgba(11,11,12,0) 50%); }

/* ONE COLUMN FOR EVERY SCREEN. This was max-width 1120px on its own gutter
   while every other screen used --shell (1000px) and --gutter (56px, 24 and
   16 at narrower container widths). So the brief's header, hero and content
   all sat on a different column from Project and Crew — visible the moment
   you stepped between them. --gut is kept as an alias because the rail
   bleeds against it. */
.agentic .inner { --gut: var(--gutter, 64px); position: relative;
  max-width: var(--shell, 1000px); margin: 0 auto;
  padding: 0 var(--gut) clamp(3rem,7cqi,5rem); }


/* ---- the Snap lockup ----
   One supplied SVG rather than three elements positioned against each other.
   Everything the previous version computed in CSS — the x-height match, the
   baseline offset, the Spark's size and placement — is geometry inside the
   file now, which is where it belonged: those were reconstructions of
   decisions somebody had already made.

   The height is the only thing set here. The viewBox is 1452 x 250.01, the
   same 250.01 the wordmark alone used, so --wm still means "wordmark height"
   and the lockup scales from it. */
.agentic .brand { --wm: 22px; display: inline-flex; align-items: center; text-decoration: none; }
.agentic .lockup { height: var(--wm); width: auto; display: block; }

/* ---- brand row ---- */
.agentic .top { display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: var(--s5, 1.5rem);
  border-bottom: 1px solid var(--line-soft, rgba(242,238,231,.14)); }

/* ---- type ---- */
.agentic .eyebrow { font-size: var(--t-xs);   /* rule 4: 11 is cut; 12 is uppercase tracked text */ font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--g400); }
/* THE BOX IS TWO LINES FROM FIRST PAINT, whatever is in it.
   Both hero lines break to two, but a half-typed first line is one line tall,
   so the heading grew as it typed and everything under it — the field, the
   CTA, the accent rule, the chips — slid down with it. The search bar has to
   be where it will end up before the animation starts, because that is where
   someone will aim for it.
   2 x the line-height, which is the only honest way to write "two lines". */
.agentic .h-big { font-size: clamp(2.25rem,9cqi,4rem); font-weight: var(--fw-med); line-height: 1.02;
  letter-spacing: -.03em; max-width: 14ch; }
.agentic .hero { min-height: 2.04em; }
/* The caret must not grow the line it sits on. As an inline-block it
   contributes its MARGIN BOX to the line box, not its line-height, so
   height:1em at vertical-align:-.12em came to 1.12em against a 1.02 line
   height — and the hero grew by 2px on whichever line carried it, which on
   phone was enough to move the field under it. .9em at -.08em totals 0.98em
   and fits inside the line. */
.agentic .hero .caret { height: .9em; vertical-align: -.08em; }
/* 22ch BROKE A THREE-ROLE SENTENCE OVER THREE LINES while the column it
   sits in is far wider — Jack, 2026-10-26: "could the header fill the width
   of the left panel, so that it is 2 lines instead of 3 maybe?" 22ch was
   protecting the measure of a SHORT sentence; the column already does that,
   and `text-wrap: balance` keeps the lines even. 34ch is about two lines for
   the sentences this field actually gets. */
.agentic .said { font-size: var(--t-h1); font-weight: 600; line-height: var(--lh-snug); letter-spacing: var(--ls-display); max-width: 34ch; text-wrap: balance; margin-top: .5rem; }
/* The page-head rhythm, shared by the brief, the crew and the code step. */
.agentic .eyebrow + .h-mid { margin-top: .5rem; }
.agentic #crewIntro, .agentic #codeIntro { font-size: 1rem; line-height: 1.55; color: var(--g300); margin-top: .75rem; max-width: 62ch; }
.agentic #crew { margin-top: .5rem; }
.agentic #codePhase .fields { margin-top: 2rem; }
.agentic .rz { color: var(--mint); }
@supports ((background-clip:text) or (-webkit-background-clip:text)) {
  .agentic .rz { background: var(--rizzz); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
}

/* ---- the field, from the hybrid ----
   .fieldwrap, not .field: thrilla.css uses .field for the INPUT ITSELF, while
   here it is the <label> that wraps one. Scoping stops this block reaching
   other screens, but it cannot stop thrilla's bare `.field` reaching our
   label — which gave it a filled 48px box with a border and a 12px radius,
   around a field whose whole design is that it has no fill. ---- */
.agentic .ask { margin-top: clamp(1.75rem,4.5cqi,3rem); }
.agentic .linewrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.75rem,1.6cqi,1.25rem); padding-bottom: .25rem; }
/* ONE ASK BAR, ONE TREATMENT (Jack, 2026-10-22: "the search bar should be the
   same across all pages, smaller text, less bold and more transparent, with
   less space between the text and the line. The line could also be thinner").
   This bar and the dashboard's `.bar` are the same control on different
   screens, and they had drifted: 5px rule here against 2px there, 15-17px
   text against 18px. Both are now 1px / 14px / 300, and the matching block
   lives in dashboard.css under the same heading. Change one, change both. */
.agentic .linewrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; border-radius: 999px;
  background: var(--rizzz); transition: height 180ms var(--ease), box-shadow 180ms var(--ease); }
.agentic .linewrap:focus-within::after { height: 2px; box-shadow: 0 5px 14px -4px rgba(25,255,217,.26); }
.agentic .fieldwrap { display: block; flex: 1 1 auto; min-width: 0; }
/* The CTA sits at the END OF THE TYPED LINE, not under it. The wrapper was
   flex-basis 100%, which forced the button to wrap onto its own row and
   pushed the gradient rule — which is .linewrap's ::after, pinned to the
   bottom of the row — below the button instead of under the field. With the
   field at `1 1 auto` both share one line and the rule lands where it should:
   directly beneath the field and the button together. */
.agentic .linewrap > .btn { flex: none; }
.agentic .fieldwrap input { width: 100%; min-height: 40px; padding: 0 0 .25rem; border: 0; background: transparent;
  appearance: none; font-size: .875rem; font-weight: 300; letter-spacing: -.01em; color: var(--paper); outline: none; }
/* Derived from the text colour rather than a second copy of it. */
.agentic .fieldwrap input::placeholder { color: color-mix(in srgb, var(--paper) 42%, transparent); font-weight: 300; opacity: 1; }

/* ---- controls ---- */
.agentic .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .65rem 1.15rem; border: 0; border-radius: 999px;
  background: var(--rizzz); color: var(--black);
  font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  line-height: 1; white-space: nowrap; cursor: pointer;
  transition: filter 180ms var(--ease), transform 140ms var(--ease); }
.agentic .btn:hover { filter: brightness(1.08); }
.agentic .btn:active { transform: translateY(1px); }
.agentic .btn:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }
.agentic .chip { display: inline-flex; align-items: center; min-height: 44px; padding: .3rem .8rem; font-size: var(--t-xs);
  border: 1px solid var(--mint-edge); border-radius: 999px; background: transparent; color: var(--mint);
  font-size: .6875rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; line-height: 1.2; cursor: pointer;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease); }
.agentic .chip:hover { border-color: var(--mint); background: var(--mint-wash); }
.agentic .chip:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }
/* Change / Swap / See portfolio. They must LOOK small — they sit beside a
   value, not under it — and still be 44px to a thumb. A pseudo-element
   extends the hit area past the visible pill: 32px of ink, 44px of target.
   Making the pill itself 44px would turn a secondary control into a slab. */
/* UNSCOPED since 2026-10-20: the after-post screens use the same mini
   ("Use this" beside Snap's suggested review line), so it lives outside
   .agentic on root tokens that resolve to the same values inside it. */
.mini { position: relative; min-height: 32px; padding: .25rem .6rem; font-size: .625rem; letter-spacing: .06em;
  border: 1px solid rgba(242, 238, 231, 0.26); border-radius: 999px; background: none; color: var(--grey-300);
  text-transform: uppercase; font-weight: 600; cursor: pointer; line-height: 1.2; }
.mini::after { content: ""; position: absolute; inset: -6px -4px; }
.mini:hover { color: var(--text); border-color: var(--text); }
.mini:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }

/* ---- layout ---- */
.agentic .cols { display: grid; gap: clamp(1.25rem,3cqi,2rem); margin-top: clamp(2rem,5cqi,3rem); align-items: start; }
/* Rule 2: the same 8/4 split as every other working screen, so the brief's
   summary lines up with the project's rail rather than sitting in its own
   proportion. */
@container ag (min-width: 880px) {
  .agentic .cols { grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--col-gap); }
  .agentic .cols > .talk { grid-column: 1 / span 8; min-width: 0; }
  .agentic .cols > .sum { grid-column: 9 / span 4; min-width: 0; }
}
/* The roller sits a little under the sentence; the card starts level with it. */
.agentic .cols--talk .roller { margin-top: 2rem; }
/* Rule 2: a hairline, not a card. One container removed. */
.agentic .sum.card, .agentic .card.sum { background: none; border: 0; border-radius: 0; padding: 0; }
/* THE RAIL'S ROWS STACK. The rail is four columns wide, and a label and a
   value cannot share that. "PHOTOGRAPHER" set at 12px tracked is wider than
   the 6.5rem label column was, so it overflowed, ate the gap and ran into
   its own value (Jack, 2026-10-21: "this text is still not great"). Stacked,
   any label length works and the value gets the rail's full width, so
   "Sharjah, United Arab Emirates" stops wrapping mid-country. Label to
   value is a cluster, so --s2 (rule 3). */
/* HORIZONTAL PADDING, because `.rows` IS A FILLED CARD and this override
   zeroed the inset it depends on. `dashboard.css:655` gives the container a
   20px radius, a border and `rgba(22,22,26,.72)`, and its own
   `.rows .row` carries `padding: 12px 16px 12px 12px`. This rule replaced
   that with `var(--s3) 0`, so every label and value in the brief panel sat
   flush against a rounded edge — Jack, 2026-10-26: "the brief section on
   right hand panel formatting is wrong, no padding." The stacked tracks
   above are the part that had to change; the inset was collateral. */
.agentic .sum .rows--compact .row { grid-template-columns: minmax(0,1fr); gap: var(--s2); padding: var(--s3) var(--s4); }
.agentic .sum .rows--compact .row__label,
.agentic .sum .rows--compact .row__val { grid-column: 1; }
.agentic .sum .rows--compact .row__val { font-size: 1rem; }
/* The preview notice: shown only when the fixed script runs instead of the model. */
.agentic .preview { max-width: 40rem; margin: 0 0 1.5rem; padding: .9rem 1rem; border-radius: 14px; border: 1px dashed var(--line); font-size: .8125rem; line-height: 1.5; color: var(--g300); }
.agentic .preview b { color: var(--paper); }
.agentic .card { --card-pad: clamp(1.125rem,2.4cqi,1.75rem);
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: var(--card-pad); backdrop-filter: blur(10px); }

/* A TALENT CARD IS A COLUMN. The bios are different lengths, so Invite and
   Portfolio used to sit at a different height on every card in the rail
   (Jack, 2026-10-21: "all ctas and buttons should be consistent with their
   layout"). The actions are pushed to the bottom instead, so the row of
   buttons is a straight line across the rail whatever the bio does.
   The photo is FULL-BLEED: it is the subject of the card, not an illustration
   inside it, so it cancels the padding and clips to the card's own radius. */
.agentic .rail > .card { display: flex; flex-direction: column; overflow: hidden; }
/* The actions sit at the BOTTOM of the card, so the row of buttons is a
   straight line across the rail whatever the bio does. This was already the
   intent; it did not work because the row carried an INLINE margin-top, and
   an inline style beats a stylesheet rule — so `margin-top: auto` never
   applied and the cards only looked aligned when their bios happened to
   match (Jack, 2026-10-21, twice). The inline style is gone. */
.agentic .card__acts { display: flex; gap: .5rem; margin-top: auto; padding-top: .9rem; }
.agentic .rail > .card .folio--photo {
  margin: calc(var(--card-pad) * -1) calc(var(--card-pad) * -1) var(--s4);
  border-radius: 0; aspect-ratio: 5 / 4; }
.agentic .rail > .card .folio { margin-inline: calc(var(--card-pad) * -1); }

/* ---- brief rows. THE BOARD'S OWN GRID (LITE 03, 3a), measured 2026-10-24:
       `140px minmax(0,1fr) auto auto`, gap 16, `padding: 14px 0`, 48px tall.
       Label, value, source tag and Change on ONE LINE.

       What was here stacked the label above the value across both columns,
       which left the value in whatever width the Change button did not
       take: "Dubai, United Arab Emirates" came out over three lines and the
       extras row over eleven. Jack, 2026-10-24: "the layout and formatting
       are horrible, i thought we fixed this with claude design." We had
       not — the per-step handoff was built from and the board never opened.

       THE LABEL IS NOT AN EYEBROW. The board sets it 14px/400 at #999, and
       after the 2026-10-22 type pass an eyebrow is tracked .22em, which in
       a 140px column wraps every two-word label. ---- */
/* SCOPED `.agentic .rows .row`, NOT `.agentic .row`, and that is the whole
   defect. `dashboard.css:667` sets `.rows .row` to the LITE Jobs-list's
   five tracks — `96px minmax(260px,340px) minmax(0,1fr) 180px 40px` — at
   the same specificity, and it loads SECOND, so it won. The brief's summary
   has been rendering in the Jobs list's grid: the value capped at 340px
   with three tracks eating the rest, which is why "Dubai, United Arab
   Emirates" came out over three lines and the extras row over eleven.

   Rule 2.7b, named in the rubric as the widest bug in this repo, and it
   caught us again on a DIFFERENT pair of files. Scoped to its own
   container rather than moved, as that rule says. The compact variants
   below are `.agentic .rows--compact .row` at the same 0,3,0 and come
   later in this file, so they still win while the brief is in talk mode. */
/* SWEPT 2026-10-26. The right panel's inset was fixed earlier the same day
   and THIS one was left — same container, same defect, one rule along. Jack
   found it immediately: "also left hand side of the brief box is missing
   padding." `.rows` is a filled, rounded card (dashboard.css:655) whose own
   `.rows .row` carries `padding: 12px 16px 12px 12px`; every override in
   this file replaced that with `<something> 0` and lost the inset. Fixing
   the one he pointed at was an instance fix — the class is "an agentic row
   override that drops the horizontal padding", and there were three. */
.agentic .rows .row { display: grid; grid-template-columns: 140px minmax(0,1fr) auto auto; gap: .35rem 1rem;
  align-items: center; padding: .875rem var(--s4); border-top: 1px solid var(--line); }
.agentic .rows .row:first-of-type { border-top: 0; }
.agentic .rows .row__label { font-size: var(--t-sm); font-weight: var(--fw-reg); letter-spacing: normal;
  text-transform: none; color: var(--g400); line-height: 1.3; }
.agentic .rows .row__val { font-size: 1rem; font-weight: 500; line-height: 1.4; min-width: 0; text-wrap: pretty; }
/* The note is the one thing the board's summary does not carry, and it is
   additive rather than a divergence in the layout: it drops to its own
   line under the value, clear of the 140px label column. */
.agentic .rows .row__note { grid-column: 2 / -1; font-size: var(--t-sm);   /* rule 4: 13 is cut; 14 is meta and small body */ color: var(--g400); line-height: 1.45; }
.agentic .row__meta { display: inline-flex; align-items: center; gap: .5rem; }
/* THE BOARD'S ROW IS 48px AND ITS Change IS TEXT, not a 32px pill — which
   is what was making a note-less row 61. Rule 3.7b: shrink the box to the
   board's line and give the finger its 44px with an ::after on negative
   insets, which check 8 reads, so the row measures 48 and still passes
   touch. Scoped to the brief's rows; `.mini` is used all over. */
.agentic .rows .row__meta .mini { min-height: 0; padding: 0 .25rem; position: relative;
  border: 0; background: none; font-size: var(--t-sm); font-weight: 500; color: var(--g300); }
.agentic .rows .row__meta .mini::after { content: ''; position: absolute; inset: -14px -8px; }
.agentic .src { font-size: .5625rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .2rem .45rem; border-radius: 4px; white-space: nowrap; }
.agentic .src--you { background: rgba(242,238,231,.14); color: var(--paper); }
.agentic .src--assumed { background: var(--mint-wash); color: var(--mint); }
.agentic .src--quoted { background: rgba(5,200,130,.16); color: #4ee0a8; }
.agentic .caret { display: inline-block; width: .08em; height: 1em; background: var(--mint); margin-left: .08em;
  vertical-align: -.12em; animation: blink 640ms steps(1) infinite; }
@keyframes blink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }
.agentic .enter { animation: enter 260ms var(--ease-out) both; }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- question ---- */
.agentic .q { border: 1px solid var(--mint-edge); border-radius: 16px; padding: 1.125rem; margin-top: 1rem; background: rgba(25,255,217,.04); }
.agentic .q__why { font-size: .8125rem; color: var(--g300); line-height: 1.5; margin-top: .35rem; }
.agentic .q__opts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
@keyframes dot { 0%,80%,100% { opacity: .25; } 40% { opacity: 1; } }

/* ---- live panel ---- */
.agentic .panel__h { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.agentic .fun { display: flex; flex-direction: column; gap: .6rem; }
.agentic .fun__r { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .75rem; align-items: baseline;
  animation: slidein 260ms var(--ease-out) both; }
@keyframes slidein { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.agentic .fun__l { font-size: .8125rem; color: var(--g300); line-height: 1.35; }
.agentic .fun__n { font-size: 1.0625rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.agentic .fun__n--lead { font-size: 1.5rem; }
.agentic .reach { font-size: .75rem; color: var(--g400); line-height: 1.5; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.agentic .log { display: flex; flex-direction: column; gap: .5rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.agentic .log__i { display: flex; gap: .55rem; align-items: flex-start; font-size: .75rem; color: var(--g400); line-height: 1.4;
  animation: enter 200ms var(--ease-out) both; }
.agentic .spin { width: 12px; height: 12px; flex: none; margin-top: 2px; border-radius: 50%;
  border: 2px solid rgba(25,255,217,.25); border-top-color: var(--mint); animation: sp .9s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.agentic .tick { width: 12px; height: 12px; flex: none; margin-top: 2px; color: var(--ok); }

/* ---- calendar ----
   Ported from the prototype (thrilla.css .cal*) onto the dark ground, same
   markup and same rules. Native <input type="date"> renders as a text field
   on desktop, which is the wrong affordance for the one answer that decides
   how long talent can see this job. Selected is INVERTED, not mint: a
   selection is not an action, so it does not borrow the action colour. */
.agentic .cal { max-width: 21rem; }
.agentic .cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.agentic .cal__month { font-size: .9375rem; font-weight: 600; }
.agentic .cal__nav { width: 36px; height: 36px; flex: none; display: inline-flex; align-items: center;
  justify-content: center; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--paper); cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease); }
.agentic .cal__nav:hover { background: var(--sunken); }
.agentic .cal__nav[aria-disabled="true"] { color: var(--g600); border-color: var(--line); cursor: not-allowed; pointer-events: none; }
.agentic .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.agentic .cal__dow { text-align: center; font-size: .6875rem; color: var(--g300); font-weight: 600;
  padding-bottom: .35rem; letter-spacing: .04em; }
.agentic .cal__day { aspect-ratio: 1; min-height: 40px; display: inline-flex; align-items: center;
  justify-content: center; border: 1px solid transparent; border-radius: 10px;
  background: transparent; color: var(--paper); cursor: pointer; font-size: .8125rem;
  font-variant-numeric: tabular-nums;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease); }
/* A SELECTABLE DAY MUST LOOK SELECTABLE. On the 26th, six of thirty-one
   days are pickable and the other twenty-five are dimmed — so the grid read
   as entirely disabled and the dock's "Pick a date first" looked like a dead
   end rather than an instruction (Jack, 2026-10-26: "all greyed out, but no
   advance to post"). The behaviour was right; the affordance was not. An
   outline on every pickable day is the smallest thing that says "these". */
/* EXCLUDES the selected day and the span, rather than competing with them.
   Written first as `:not([aria-disabled]):not(--empty)` it scored (0,4,0)
   and beat `.agentic .cal__day[aria-pressed="true"]` at (0,3,0), so the
   selected day kept the plain pickable fill and only its colour changed —
   rule 2.7 again, this time inside one file and of my own making. A :not()
   that removes the other states from the match cannot fight them. */
.agentic .cal__day:not([aria-disabled="true"]):not(.cal__day--empty):not([aria-pressed="true"]):not(.cal__day--span) {
  border-color: var(--line); background: var(--sunken);
}
.agentic .cal__day:hover { background: var(--paper); color: var(--black); }
.agentic .cal__day[aria-disabled="true"] { color: var(--g600); opacity: 1; cursor: not-allowed; pointer-events: none; }
/* THE SELECTED DAY IS RIZZZ. Jack, 2026-10-26: "selected date should stand
   out, rizz maybe not darken and go black." It was `--paper` on `--black`:
   technically the strongest contrast on the grid and visually a hole punched
   in it, reading as removed rather than chosen. Fresh Rizzz is the action
   colour (ADR-038) and selecting a date is the action. Dark text on it,
   because the gradient is bright — the same reason the status system puts
   dark text on bright teal. */
.agentic .cal__day[aria-pressed="true"] {
  background: var(--rizzz); border-color: transparent;
  color: var(--black); font-weight: 600;
}
/* The in-between days of a multi-day span: the same hue, quietened, so the
   run reads as one selection rather than two ends and a gap. */
.agentic .cal__day--span { background: rgba(25,255,217,.14); border-color: rgba(25,255,217,.28); color: var(--paper); }

.agentic .cal__day--empty { pointer-events: none; }
.agentic .cal__day:focus-visible, .agentic .cal__nav:focus-visible { outline: 3px solid var(--paper); outline-offset: 2px; }
@media (hover: none) { .agentic .cal__day:hover, .agentic .cal__nav:hover { background: transparent; } }
.agentic .days { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; }
.agentic .days__n { font-size: .9375rem; font-weight: 600; font-variant-numeric: tabular-nums; min-width: 6.5ch; }

/* ---- crew: ONE CAROUSEL PER ROLE ----
   Jack: "each role should have several options that can be scrolled (swiped
   on mobile) on a carousel - the more talent who get invited to a job, the
   better for thrilla as its real user engagement and interaction with a
   client."

   So this is a native scroll-snap rail, not a JS slider. Swipe, trackpad,
   shift-wheel and the arrow buttons all drive the same scrollLeft, and the
   rail keeps working with JS broken. It bleeds to the frame edge with a
   negative margin so a half-visible next card signals "there are more" —
   the usual affordance, and it survives at 390px where arrows would not.

   scroll-padding-inline matches the gutter, so a card focused by keyboard
   lands inside the frame rather than under the bleed. */
.agentic .role { margin-top: clamp(2rem,5cqi,3rem); }
.agentic .role__h { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap;
  justify-content: space-between; }
.agentic .role__n { font-size: 1.0625rem; font-weight: 600; }
.agentic .role__c { font-size: .75rem; color: var(--g400); }
.agentic .role__nav { display: flex; gap: .4rem; }
/* The role's rate, stated once in the header instead of on every card in
   the rail — it is the same number on all of them. */
.agentic .role__rate { display: inline-block; margin-left: .75rem; font-weight: 600;
  font-variant-numeric: tabular-nums; color: var(--text); }
.agentic .role__rate small { font-weight: 400; color: var(--g400); margin-left: .3rem; }
@container ag (max-width: 520px) {
  .agentic .role__rate { display: block; margin-left: 0; margin-top: .2rem; }
}
/* THE RAIL IS THE CONTENT COLUMN on desktop. It used to bleed to the viewport
   edge and pad back, so a scrolled card hung OUTSIDE the column and sat left
   of the heading above it (Jack, 2026-10-21: "these profiles sliders don't
   stick to the frame on the left"). Edge-to-edge is a phone pattern, where
   the gutter is 16px and clipping a card at it wastes the screen; at desktop
   width it just breaks the alignment everything else keeps. */
.agentic .rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78cqi, 264px);
  gap: .85rem; margin-top: .85rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-block: 2px 4px; }
@container ag (max-width: 640px) {
  .agentic .rail { margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut);
    scroll-padding-inline: var(--gut); }
}
.agentic .rail::-webkit-scrollbar { display: none; }
.agentic .rail > * { scroll-snap-align: start; }
/* Invited reads as a STATE, so it gets the status mint, never the gradient. */
.agentic .card--in { border-color: var(--mint); box-shadow: 0 0 0 1px var(--mint) inset; }
.agentic .card--held { border-style: dashed; }
/* The "see more" tile: a card-shaped button, dashed like a placeholder, so
   the rail ends on an action rather than running out. */
.agentic .card--more { display: grid; place-content: center; gap: .5rem; text-align: center; cursor: pointer;
  border-style: dashed; color: var(--paper); font: inherit; font-size: .8125rem; font-weight: 500; background: transparent; }
.agentic .card--more:hover { border-color: var(--mint); }
.agentic .card--more__n { font-size: 1.75rem; font-weight: 600; letter-spacing: -.02em; }
.agentic .held { font-size: .75rem; line-height: 1.5; color: var(--warn); margin-top: .75rem; }
/* INVITE is the one thing to press on a card, so it is the action gradient
   (role 1, Fresh Rizzz); INVITED is a state, so it drops to a quiet mint
   outline with the tick. Jack asked outline or fill, 2026-10-19. */
.agentic .ivt { flex: 1; min-width: 0; background: var(--rizzz); border-color: transparent; color: var(--black); font-weight: 700; }
.agentic .ivt:hover { background: var(--rizzz); color: var(--black); filter: brightness(1.08); }
.agentic .ivt--in { background: transparent; border-color: var(--mint); color: var(--mint); font-weight: 600; filter: none; }
.agentic .ivt--in:hover { background: var(--mint-wash); color: var(--mint); }
/* The crew page head: one line, and a lead that reads at the column's width. */
.agentic #crewHead { max-width: none; }
.agentic #crewIntro { max-width: 76ch; }
.agentic .folio { display: grid; grid-template-columns: repeat(4,1fr); gap: 3px; margin-bottom: .85rem; }
/* A real portfolio photo takes the whole strip rather than four blocks. The
   4:3 box keeps every card the same height whatever the image is. */
.agentic .folio--photo { grid-template-columns: 1fr; gap: 0; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--sunken); }
/* image-orientation: NONE, and the reasoning is the opposite of the obvious.
   A photo rendered a quarter turn out while the SAME file renders upright on
   the platform. We were applying the EXIF tag — `from-image` is the browser
   default — and the platform plainly is not. Measured on the box: that file
   carries `orientation=6`, a quarter turn, on pixels that are already
   upright. The upload rotated the image and left the tag behind, so honouring
   it rotates a second time.

   So we match the platform and ignore the tag. The same stale tag is also
   why the derived thumbnail was wrong: the thumbnailer applies it again.

   object-position favours the upper middle: profile photos put faces there,
   and dead centre was cutting them (Jack, 2026-10-21: "zamani looks
   cropped"). */
.agentic .folio--photo img { width: 100%; height: 100%; object-fit: cover; display: block;
  image-orientation: none; object-position: 50% 35%; }
.agentic .folio i { aspect-ratio: 1; border-radius: 5px; background: var(--caviar); background-size: 220% 220%; }
.agentic .folio i:nth-child(2) { background-image: linear-gradient(-120deg,#663366 0%,#852837 30%,#ff9500 85%); background-position: 60% 20%; }
.agentic .folio i:nth-child(3) { background-image: linear-gradient(20deg,#852837 0%,#e95400 55%,#ffcb6b 100%); background-position: 20% 80%; }
.agentic .folio i:nth-child(4) { background-image: linear-gradient(-55deg,#272729 10%,#5c5c66 50%,#c2bab3 100%); }
.agentic .who { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.agentic .who__n { font-size: 1.0625rem; font-weight: 600; }
.agentic .who__p { font-size: .75rem; color: var(--g400); }
.agentic .why { font-size: .8125rem; color: var(--g300); line-height: 1.45; margin-top: .5rem; }
.agentic .rate { font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: .75rem; }
.agentic .rate small { font-weight: 400; color: var(--g400); font-size: .75rem; white-space: nowrap; }

/* ---- dock ---- */
.agentic .dock { margin-top: clamp(2.5rem,6cqi,3.5rem); }
/* THE DOCK IS ALREADY A CARD. The total inside it read as a second box
   (Jack, 2026-10-21: "does not need the extra container inside the
   container"). Flattened explicitly — no border, no fill, no radius, no
   padding of its own — and separated from the fields by space rather than a
   rule, which is the fewer-containers direction. */
.agentic .total { display: flex; flex-wrap: wrap; gap: 1rem; align-items: baseline; justify-content: space-between;
  background: none; border: 0; border-radius: 0; padding: 0; margin-bottom: var(--s6); }
.agentic .dock .total { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.agentic .total__n { font-size: clamp(1.5rem,3.4cqi,2.25rem); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.agentic .fields { display: grid; gap: 1rem; margin-top: 1.1rem; }
@container ag (min-width: 620px) { .agentic .fields { grid-template-columns: 1fr 1fr; } }
.agentic .lab { display: block; font-size: .75rem; font-weight: 500; margin-bottom: .4rem; }
.agentic .inp { width: 100%; min-height: 46px; padding: .6rem .9rem; background: rgba(11,11,12,.5);
  border: 1px solid var(--line-2); border-radius: 12px; color: var(--paper); outline: none; font-size: .9375rem; }
.agentic .inp:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(25,255,217,.18); }
.agentic .otp { font-size: 1.5rem; letter-spacing: .45em; text-align: center; max-width: 12ch; font-variant-numeric: tabular-nums; }
.agentic .consent { font-size: .75rem; color: var(--g400); line-height: 1.5; margin-top: .9rem; max-width: 46ch; }

.agentic .sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.agentic .hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .agentic .glow { animation: none; }
  .agentic .enter, .agentic .fun__r, .agentic .log__i { animation: none; }
  .agentic .caret, .agentic .spin { animation: none; }
  .agentic .btn, .agentic .chip, .agentic .linewrap::after { transition: none; }
}

/* ---- the three steps, and the footer ----
   Carried over from the retired landing screen. The numerals are NEUTRAL, not
   the action colour: they were six uses of a colour on something nobody can
   press, which is the clearest way to teach that the colour means nothing. */
/* The .steps and .foot rules were here until 2026-10-28. They styled the
   three-up and the footer on the OLD landing, which screen 12 carried a
   copy of until the duplicate entry page was removed, and which
   agentic.html carried until that file was deleted. Nothing emits
   `steps__h`, `steps__list` or `foot__p` any more — measured at zero in
   every .js and .html. `.fsteps`, the flow's 3-step header, is a
   different class and is untouched (see the note further down: the two
   names collided on purpose-built separate scopes, rule 2.7b). */

/* ONE HEADLINE FOR EVERY INNER PAGE. Jack, 2026-10-19: "make all the
   headlines on each page consistent and improve the spacing a bit." The
   brief's quote, the crew page, the code step and the project pages all sit
   on the shared .h1 scale (--t-h1) with one rhythm: eyebrow, half a rem,
   headline, three-quarters, lead at 62ch, then a clear 2.5rem before the
   content. The landing keeps its hero — it is the one display moment. */
.agentic .h-mid { font-size: var(--t-h1); line-height: var(--lh-snug); font-weight: var(--fw-med);
  letter-spacing: var(--ls-display); text-wrap: balance; max-width: 18ch; }

/* ---- the type-ahead ----
   Anchored to .ask, which is position:relative, so it hangs under the field
   wherever the field is. It is a panel over content on an unfilled ground, so
   it needs a real surface and a shadow — a translucent one would let the
   hero's gradient read straight through the suggestions. */
.agentic .ask { position: relative; }
.suggest {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
  margin-top: .5rem; padding: .4rem;
  background: #15151a; border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
  max-height: 22rem; overflow-y: auto;
}
.suggest[hidden] { display: none; }
.sugg__h { font-size: .6875rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--g400); padding: .7rem .8rem .35rem; }
.sugg {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center;
  gap: .75rem; width: 100%; text-align: left; min-height: 48px;
  padding: .55rem .8rem; border: 0; border-radius: 10px;
  background: transparent; color: var(--paper); cursor: pointer;
}
.sugg__tx { min-width: 0; }

/* ---- the two kinds, told apart by SHAPE and not only by a header ----
   A project is several people planned for you; a booking is one person you
   pick. The mark says it, the meta repeats it, and the project's length is
   information the single row has no equivalent of.

   The stack carries Fresh Rizzz because planning the crew is the machine
   working — the same allocation the rest of the screen uses. The single
   booking is neutral: nothing is being worked out. */
.sugg__ic { flex: none; display: block; }
.sugg__ic--many {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; width: 26px;
}
.sugg__ic--many i { display: block; aspect-ratio: 1; border-radius: 2px; background: var(--rizzz); }
.sugg__ic--many i:nth-child(2) { opacity: .72; }
.sugg__ic--many i:nth-child(3) { opacity: .46; }
.sugg__ic--one {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--line-2); background: var(--sunken);
}
.sugg__ic--ai {
  width: 26px; height: 26px; border-radius: 50%; background: var(--rizzz);
}
.sugg__meta {
  font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 600; color: var(--g400); white-space: nowrap;
}
/* The meta is the first thing to go when the panel is narrow — the mark and
   the subtitle already carry the distinction. */
@container ag (max-width: 560px) { .sugg__meta { display: none; } }
.sugg:hover { background: var(--sunken); }
.sugg:focus-visible { outline: 3px solid var(--paper); outline-offset: -3px; }
.sugg__t { display: block; font-size: .9375rem; font-weight: 600; }
.sugg__s { display: block; font-size: .8125rem; color: var(--g400); margin-top: .1rem; }

/* ==========================================================================
   THE ROLLER (adopted 2026-10-19 from brief-options.html)
   The conversation floats on the background: no card. The current question
   sits in a window; answered ones roll up and fade behind a mask; the right
   card is the summary, filling as facts land. At the end the rows move to
   the left in full and the window closes.
   ========================================================================== */
.agentic .prog { height: 3px; border-radius: 3px; background: rgba(242,238,231,.14); margin: 1.5rem 0 2.5rem; max-width: 34rem; overflow: hidden; }
.agentic .prog i { display: block; height: 100%; border-radius: 3px; background: var(--grad-rizzz); transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.2,0,0,1); }
.agentic .roller { position: relative; overflow: hidden; min-height: 10rem; transition: height .5s cubic-bezier(.2,0,0,1);
  mask-image: linear-gradient(180deg, transparent 0, #000 72px, #000 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 72px, #000 100%); }
.agentic .roller .track { position: absolute; left: 0; right: 0; top: 0; transition: transform .7s cubic-bezier(.2,0,0,1); }
.agentic .roller .q { border: 0; background: transparent; padding: 1.25rem 0; margin: 0; max-width: 40rem; transition: opacity .5s; }
.agentic .roller .q .eyebrow { margin-bottom: .35rem; }
.agentic .roller .q > p[style*="1.0625rem"] { font-size: clamp(1.375rem,2.6cqi,1.75rem) !important; font-weight: 600 !important; letter-spacing: -.015em; line-height: 1.2; text-wrap: balance; }
.agentic .roller .q.past { opacity: .38; pointer-events: none; }
.agentic .roller .q.past .q__why, .agentic .roller .q.past .cal, .agentic .roller .q.past [data-free], .agentic .roller .q.past [data-free-go] { display: none; }
.agentic .q__ans { font-size: 1rem; color: var(--paper); margin-top: .6rem; }
.agentic .q__ans::before { content: "\2713  "; color: var(--mint); }
/* the summary card: compact rows, notes and Change hidden until the end */
.agentic .rows--compact .row { grid-template-columns: 5.5rem 1fr; gap: .25rem .75rem; padding: .55rem var(--s4); }
.agentic .rows--compact .row__label { grid-column: 1; }
.agentic .rows--compact .row__val { grid-column: 2; font-size: .9375rem; }
.agentic .rows--compact .row__val::after { content: " \2713"; color: var(--mint); font-size: .75rem; }
.agentic .rows--compact .row__note, .agentic .rows--compact .row__meta { display: none; }
.agentic .sum { position: sticky; top: var(--s5);
  border-inline-start: 1px solid var(--line); padding-inline-start: var(--s6); }
.agentic .cols--talk .talk { padding-top: .5rem; }
/* the signals */
.agentic .toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 20px); z-index: 30; max-width: min(90vw, 36rem); display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border-radius: 14px;
  background: rgba(22,22,26,.92); border: 1px solid var(--line); color: var(--paper); font-size: .875rem; box-shadow: 0 10px 30px rgba(0,0,0,.4);
  opacity: 0; transition: transform .35s cubic-bezier(.2,0,0,1), opacity .35s; pointer-events: none; }
.agentic .toast.on { transform: translate(-50%, 0); opacity: 1; }
.agentic .toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-rizzz); box-shadow: 0 0 0 4px rgba(25,255,217,.15); }
.agentic .spark { position: fixed; z-index: 29; pointer-events: none; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); animation: ag-pop .6s ease-out forwards; }
@keyframes ag-pop { from { transform: scale(.4); opacity: 1 } to { transform: scale(3); opacity: 0 } }
/* The quote takes focus on a screen change for screen readers; a mint ring
   round it is not a control and read as "a blue box" (Jack). Keyboard focus
   still shows. */
.agentic .said:focus, .agentic .h-mid:focus, .agentic #codeHead:focus, .agentic #crewHead:focus { outline: none; }
/* The summary card: brief rows, then who will see it, then the log — no
   empty blocks leaving gaps. */
.agentic .sum .rows--compact { margin-bottom: .25rem; }
.agentic .sum .fun__h { margin: 1.1rem 0 .6rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.agentic .sum .fun__h:has(+ .fun:empty) { display: none; }
.agentic .reach:empty { display: none; }
.agentic .sum .log { font-size: .75rem; }
.agentic .sum .log:empty { display: none; }
/* The typed answer: the hero's line, smaller. No box, no ring; the rule under
   it thickens on focus. Send is the small filled pill.
   UNSCOPED since 2026-10-20 (Jack: "blue square box again, all type boxes
   should have the same fresh rizz underline and send button"). One
   definition serves the brief and every field after the post — the call
   sheet's two blanks, the overtime and issue notes, the review line — on
   root tokens that resolve to the same values inside .agentic. */
.freeline { position: relative; display: flex; align-items: center; gap: .75rem; margin-top: 1rem; padding-bottom: .6rem; max-width: 34rem; }
.freeline::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 999px; background: var(--grad-rizzz); opacity: .55; transition: height 180ms var(--ease), opacity 180ms var(--ease); }
.freeline:focus-within::after { height: 4px; opacity: 1; }
.freeline [data-free] { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: .3rem 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 1.0625rem; border-radius: 0; box-shadow: none; }
.freeline [data-free]:focus, .freeline [data-free]:focus-visible { outline: 0; box-shadow: none; }
.freeline [data-free]::placeholder { color: var(--text-3); opacity: 1; }
/* A line that can wrap: the notes and the review. No handle, no box. */
.freeline textarea[data-free] { resize: none; line-height: var(--lh-normal); padding: .55rem 0; min-height: 44px; overflow: hidden; }
.freeline--wide { max-width: none; }
.agentic .btn--sm { min-height: 40px; padding: .45rem 1.1rem; font-size: .75rem; }
.btn--sm { min-height: 40px; padding: .45rem 1.1rem; font-size: var(--t-xs); }
.agentic .freeline--site { margin-top: .25rem; max-width: none; }
.agentic .freeline--site [data-free] { font-size: .9375rem; min-height: 40px; }
.agentic .q { position: relative; }
.agentic .q__x { position: absolute; right: 0; top: 1.1rem; font-size: .6875rem; }
/* The final view: the sentence stays the page's headline; the brief's own
   heading is one size down and sits clear of the bar. */
.agentic #briefFull .h-mid { font-size: clamp(1.375rem,2.6cqi,1.75rem); max-width: none; }
.agentic #briefFull > .eyebrow { margin-top: .25rem; }

/* ==========================================================================
   PHONE. From the mobile audit of 2026-10-19 (lite/plan/AUDIT.md, Pass 6).
   Every rule is a container query on .agentic, so the review chrome's Phone
   mode and a real phone get the same layout, and desktop is untouched.
   ========================================================================== */
@container ag (max-width: 879px) {
  .agentic .sum { position: static; padding: .75rem 1rem; margin: 0 0 1rem; border-inline-start: 0; padding-inline-start: 1rem; }
  .agentic .sum .panel__h { margin: 0; cursor: pointer; min-height: 44px; align-items: center; }
  .agentic .sum .panel__h::after { content: "\25BE"; color: var(--g400); font-size: .875rem; margin-left: .5rem; transition: transform .25s; }
  .agentic .sum[data-open] .panel__h::after { transform: rotate(180deg); }
  /* Closed, the strip is one line — the heading, the status and a caret —
     so the question stays on screen; open, it is the whole card. */
  .agentic .sum .rows--compact { margin-top: .5rem; }
  .agentic .sum .rows--compact, .agentic .sum .fun__h, .agentic .sum .fun, .agentic .sum .reach, .agentic .sum .log, .agentic .sum #about { display: none; }
  .agentic .sum[data-open] .rows--compact, .agentic .sum[data-open] .fun__h, .agentic .sum[data-open] .reach, .agentic .sum[data-open] #about { display: block; }
  .agentic .sum[data-open] .fun, .agentic .sum[data-open] .log { display: flex; }
  .agentic #toCrewWrap { position: sticky; bottom: 0; z-index: 5; margin: 1rem calc(var(--gut) * -1) 0; padding: .75rem var(--gut) calc(.75rem + env(safe-area-inset-bottom, 0px));
    background: rgba(11,11,12,.94); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .agentic .sum #toCrewWrap { margin-top: .75rem; border-top: 0; }
}
@container ag (max-width: 520px) {
  .agentic .said { font-size: 1.375rem; margin-top: .25rem; max-width: none; }
  .agentic .prog { margin: 1rem 0 1.25rem; }
  .agentic .cols--talk .roller { margin-top: .5rem; }
  .agentic .roller .q { padding: .75rem 0; }
  .agentic .roller .q > p[style*="1.0625rem"] { font-size: 1.25rem !important; }
  .agentic .cal__day { min-height: 34px; }
  .agentic .cal__head { margin-bottom: .4rem; }
  .agentic .q__why { font-size: .75rem; }
  .agentic .days { margin-top: .5rem; }
  /* The ask input keeps .875rem on a phone (one ask bar, one treatment); the
     other fields still go up to 1rem to stay comfortable on touch. */
  .agentic .inp, .agentic .freeline [data-free], .agentic .freeline--site [data-free] { font-size: 1rem; }
  .agentic .linewrap > .btn { flex: 1 1 100%; }
  .agentic .src { font-size: .6875rem; }
  .agentic .mini { font-size: .6875rem; min-height: 36px; }
  .agentic .btn, .agentic .chip { font-size: .75rem; }
  .agentic .consent, .agentic #sendWhy { font-size: .8125rem; }
  .agentic .cal__nav, .agentic .days .mini { width: 44px; min-height: 44px; }
  .agentic .ivt { min-height: 44px; font-size: .75rem; }
  .agentic .role__nav { display: none; }
  .agentic .q__opts .chip { flex: 1 1 calc(50% - .25rem); justify-content: center; }
  /* ONE PER ROW WHEN THE LABELS ARE LONG. The 50% rule above is right for
     "A woman / A man / Either"; it put "House (Deep / Tech / Afro /
     Progressive)" on three lines in a 174px pill, which check 16 reads as a
     wrapping action button and which is simply unreadable. The planner marks
     the set (`stack`, any label over 20 characters) because only the DATA
     knows the labels; this rule owns when that matters. Measured at 390px:
     every one of the taxonomy's 143 expertise names fits on one line at the
     full row width, the longest being 41 characters. */
  .agentic .q__opts--stack .chip { flex: 1 1 100%; white-space: nowrap; }
  .agentic .q:has(.q__x) > p[style*="1.0625rem"] { padding-right: 6rem; }
  .agentic .dock { position: static; margin-inline: 0; }
  .agentic .dock > div:last-child { position: sticky; bottom: 0; z-index: 5; padding-block: .75rem; margin-inline: -1.25rem; padding-inline: 1.25rem; background: rgba(11,11,12,.94); backdrop-filter: blur(8px); }
  .agentic #send { width: 100%; justify-content: center; }
  .agentic #briefFull .h-mid { font-size: 1.25rem; }
}
@media (hover: none) {
  .agentic .btn:hover { filter: none; }
  .agentic .mini:hover, .agentic .chip:hover, .agentic .card--more:hover { border-color: var(--line); background: transparent; color: inherit; }
  .agentic .ivt:hover { background: var(--rizzz); color: var(--black); filter: none; }
  .agentic .ivt--in:hover { background: transparent; color: var(--mint); }
}
.agentic .cal--native { max-width: none; display: grid; gap: .4rem; margin-top: .75rem; }
.agentic .cal--native input { min-height: 48px; font-size: 1rem; color-scheme: dark; }
/* THE LANDING, redesigned 2026-10-20 (Claude Design, screen 02). The hero
   takes columns 1–7 and the talent wall moves up into 8–12, top-aligned
   with the headline and bleeding past the right edge — it was a full-width
   band 560px BELOW the fold, which is a long way to scroll for the thing
   that says what Thrilla is. The field is capped at the same 7 columns
   (755px at 1440); at 1128 its placeholder ran as one 600px line.
   Below 880 the old stack returns, because beside-the-hero needs width. */
.agentic .showcase { position: relative; height: clamp(300px, 44cqi, 560px); margin: clamp(2rem,5cqi,3.5rem) 0 0; }
@container ag (min-width: 880px) {
  .agentic #intro { display: grid; grid-template-columns: repeat(12, minmax(0,1fr));
    column-gap: var(--col-gap); align-items: start; }
  .agentic #intro > .hero     { grid-column: 1 / span 7; grid-row: 1; }
  .agentic #intro > .ask      { grid-column: 1 / span 7; grid-row: 2; }
  .agentic #intro > .eyebrow  { grid-column: 1 / span 7; grid-row: 3; }
  .agentic #intro > #chips    { grid-column: 1 / span 7; grid-row: 4; }
  .agentic #intro > #hint     { grid-column: 1 / span 7; grid-row: 5; }
  /* rows 1–5 is the hero block; the wall is as tall as all of it */
  .agentic #intro > .showcase { grid-column: 8 / -1; grid-row: 1 / 6; align-self: stretch;
    height: auto; min-height: clamp(380px, 34cqi, 560px); margin: 0 calc(var(--gut) * -1) 0 0; }
  /* The three steps: the heading holds columns 1–4, the steps 5–12. */
}
/* Phone: five chips on one line that scrolls and bleeds to the edge, which
   saves two wrapped rows (~88px) and lifts the wall into view. */
@container ag (max-width: 640px) {
  .agentic #chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .agentic #chips::-webkit-scrollbar { display: none; }
  .agentic #chips > * { flex: none; }
}
.agentic .showcase .tl { min-height: 0; }
/* The loader as a step in the roller: a fixed-height box the window follows. */
.agentic .roller .tl-box { height: clamp(360px, 40cqi, 540px); padding: 0; max-width: none; border-radius: 20px; overflow: hidden; }
.agentic .roller .tl-box.tl { min-height: 0; }
@container ag (max-width: 520px) {
  .agentic .roller .tl-box { height: 480px; }
  .agentic .showcase { height: 300px; margin-top: 2rem; }   /* two columns of tiles and a sliver of the third */
}

/* FEWER CONTAINERS. Jack, 2026-10-20: "remove the individual talent
   container ... so that each talent floats on the background but wrap all
   talent for each role in a single outline, separating each one with a
   horizontal line. In general I'm trying to get away from loads of
   containers / cards, cards within cards." So: one outline per group, rows
   inside it divided by a hairline, no card per item, nothing nested in a
   card. Apply this to any list of people or items from here. */
/* Jack, same day, seeing it: "maybe the horizontal hairline is enough
   without the outlined block?" It is — the role heading groups the rows.
   Rules only: one under the heading, one between rows, none at the end. */
.cand-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.cand-row { padding: var(--s4) 0; }
.cand-row + .cand-row { border-top: 1px solid var(--line-soft); }

/* The applicant row's actions: right of the person on a wide row, beneath
   on a phone. Jack, 2026-10-20. */
.cand { flex-wrap: wrap; }
/* Rules 5 and 7. The actions sit in the row's auto column, on ONE line,
   right-aligned and TOP-aligned to the name — they never wrap under the text
   on desktop, which is what put Decline on the next row's hairline. Ghost
   buttons keep the 44px floor but drop to --s3 of inline padding (was 24),
   which is the room that wrapping was asking for. */
.cand__acts { display: flex; gap: var(--s3); flex-wrap: nowrap; margin-left: auto; align-self: start; }
/* Pass is quiet: no outline BESIDE THE GRADIENT (Jack, 2026-10-20).
   `:has()` is load-bearing, not decoration. Unscoped, this rule stripped the
   border from every .btn--secondary in a .cand__acts — including "Copy link"
   on the project screen, which sits in one ALONE with no gradient next to it,
   and so rendered as bare text with nothing to be quiet against. The decision
   is about a pair; the selector now says so. Found by the screen audit,
   2026-10-22 (.claude/skills/design-audit/SKILL.md §3.1). */
.cand__acts:has(.btn--primary) .btn--secondary { border-color: transparent; color: var(--text-2); }
.cand__acts .btn--secondary { padding-inline: var(--s3); white-space: nowrap; }
.cand__acts:has(.btn--primary) .btn--secondary:hover { border-color: transparent; }
.cand__acts .btn--secondary:hover { color: var(--text); background: rgba(242, 238, 231, 0.06); }
/* @container, not @media: .cand__acts renders inside .app, and a width media
   query reads the reviewer's window rather than the 390px phone column — so
   this never fired in phone view. Found by the check.sh container-law gate,
   2026-10-22. See .claude/skills/design-audit/SKILL.md §2.1. */
@container (max-width: 520px) {
  .cand__acts { margin-left: 0; flex-basis: 100%; }
}

/* ==========================================================================
   AFTER THE POST — folded in from design/lite-after on 2026-10-20. The
   prototype's own tokens and components throughout; what is new here is
   only what the after-post steps needed and nothing had: the applicant's
   standing (the loader card's rating pill and where line), the eight-step
   spine, the profile slider, the call sheet's rows and the stars. Rules and
   rows, no containers (the FEWER CONTAINERS note above).
   ========================================================================== */
/* The name opens the profile. It is the h4 itself, pressable. */
.cand__name { background: none; border: 0; padding: 0; margin: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; text-decoration: underline transparent; text-underline-offset: .15em; transition: text-decoration-color var(--dur) var(--ease); }
.cand__name:hover { text-decoration-color: currentColor; }
/* The standing: rating pill and where, from talent-loader.css's card foot. */
.cand__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin-top: var(--s2); }
.cand__rating { display: inline-flex; align-items: center; gap: .35em; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(11, 11, 12, 0.6); border: 1px solid rgba(242, 238, 231, 0.18); font-size: var(--t-xs); font-weight: var(--fw-med); color: var(--text); white-space: nowrap; }
.cand__rating span { color: var(--text-3); font-weight: var(--fw-reg); }
.cand__where { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-sm); color: var(--text-3); }
.cand__where::before { content: ""; width: 11px; height: 13px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center/contain no-repeat; }
/* The group's rate tag is a sentence ("AED 1,800 per day · 3 days · AED
   5,400 each · any specialism"), so unlike a status tag it may wrap — at
   375px it was 18px wider than the column and scrolled the page sideways. */
.tag--rate { white-space: normal; text-align: left; line-height: 1.5; }
/* A closed row (declined, passed) recedes by colour, not opacity. */
.cand-row--closed .cand__name, .cand-row--closed .h4, .cand-row--closed .cand__rating { color: var(--text-3); }
/* The eight-step spine: one fill, the machine's gradient (agentic .prog, unscoped). */
.spine { height: 3px; border-radius: 3px; background: rgba(242, 238, 231, 0.14); max-width: 34rem; overflow: hidden; }
.spine i { display: block; height: 100%; border-radius: 3px; background: var(--machine); transform-origin: left; transition: transform .7s var(--ease); }
/* The talent profile: CLAUDE.md's 50% right-side slider, so the applicant
   list stays visible on the left and triage is not lost. On desktop app.js
   moves it out of #app to <body> after each paint (the app's container-type
   would otherwise trap position:fixed), so its width rule is a MEDIA query,
   the one place in this prototype where the viewport is the right measure.
   In the chrome's phone frame it stays inside .app, absolute, clipped to the
   device. */
.slider-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(11, 11, 12, 0.55); border: 0; padding: 0; cursor: pointer; }
.slider { position: fixed; top: 0; right: 0; bottom: 0; width: 50%; z-index: 41; overflow-y: auto; background: var(--card); border-left: 1px solid var(--line-soft); padding: var(--s6) 56px; box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5); animation: slide var(--dur-slow) var(--ease-out) both; }
@keyframes slide { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
/* container-law-exempt: app.js moves the slider to <body> on desktop, so it
   has no container to query and the viewport genuinely is the right measure.
   This is the one documented exception; see the note above and §2.1. */
@media (max-width: 820px) { .slider { width: 100%; padding-inline: 24px; } }
@media (max-width: 520px) { .slider { padding-inline: 16px; } }
.stage[data-view="phone"] .slider, .stage[data-view="phone"] .slider-scrim { position: absolute; }
.stage[data-view="phone"] .slider { bottom: auto; min-height: 100%; }
/* The call sheet: rows on hairlines, the two blanks as free lines (fix 4). */
.cs { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 var(--s5); margin: 0; border-top: 1px solid var(--line-soft); }
.cs dt, .cs dd { margin: 0; padding: var(--s3) 0; border-bottom: 1px solid var(--line-soft); }
.cs dt { font-size: var(--t-xs); font-weight: var(--fw-semi); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--text-3); line-height: 1.7; }
.cs .freeline { margin-top: 0; padding-bottom: .35rem; max-width: none; }
.cs .freeline [data-free] { min-height: 32px; padding: .1rem 0; font-size: var(--t-body); }
@container (max-width: 520px) { .cs { grid-template-columns: 1fr; } .cs dt { border-bottom: 0; padding-bottom: 0; } }
.chip[aria-pressed="true"] { background: var(--text); color: var(--page); border-color: var(--text); }
/* QUIET CONTROLS (Jack, 2026-10-20: "too many buttons / pills"). Text that
   is pressable: the payment methods once a row is open, "Add a receipt",
   "Later", the prototype's talent-side shortcuts. No outline, no fill. */
.qbtn { display: inline-flex; align-items: center; gap: .35em; background: none; border: 0; padding: .3rem .35rem; margin: 0 -.35rem 0 0; min-height: 36px;
  font: inherit; font-size: var(--t-sm); color: var(--text-2); cursor: pointer; text-decoration: underline transparent; text-underline-offset: .18em;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease); }
.qbtn:hover { color: var(--text); text-decoration-color: currentColor; }
.qbtn--act { color: var(--action-flat); font-weight: var(--fw-med); }
.qbtn--act:hover { color: var(--action-flat); }
.qbtn--xs { font-size: var(--t-xs); color: var(--text-3); }
.qrow { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s3); }
.qrow .sep { color: var(--text-3); }

/* THE PROJECT ASIDE (fixes 1 and 3). The brief's summary card, carried on
   to every screen after the post: the project's status and next move, when
   and where, the crew with amounts as they are booked, the total. ONE card,
   nothing nested in it — the total is a rule and a figure, not the boxed
   .total of the plan; the crew is rows on hairlines. Sticky beside the main
   column on desktop, below it on a phone, as the brief's aside is. */
/* Rule 2: the rail is the hairline from .two, so the aside carries no box
   and no padding of its own — one more container gone. */
.pj-sum { padding: 0; }
.pj-sum .panel__h { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); }
.pj-sum .sum__h { margin: var(--s5) 0 var(--s3); }   /* rule 3: --s5 between rail blocks, --s3 from an eyebrow to its content */
.pj-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s2) var(--s4); margin: var(--s5) 0 0; font-size: var(--t-sm); }
.pj-facts dt { color: var(--text-3); }
.pj-facts dd { margin: 0; }
.pj-crew { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.pj-crew li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: var(--s2) 0; border-bottom: 1px solid var(--line-soft); font-size: var(--t-sm); }
.pj-crew li .money { font-size: var(--t-sm); }
.pj-sum .total { background: none; border: 0; border-top: 1px solid var(--line-soft); border-radius: 0; padding: var(--s4) 0 0; margin-top: var(--s5); gap: var(--s3); }
.pj-sum .money--total { font-size: var(--t-h3); }
/* Stars: a rating is a selection, so it is paper, not a hue. */
.stars { display: flex; align-items: center; gap: 0; }
.star { background: none; border: 0; padding: 0; min-width: 44px; min-height: 44px; font-size: 1.75rem; line-height: 1; cursor: pointer; color: var(--line); transition: color var(--dur-fast) var(--ease); }
.star[aria-pressed="true"] { color: var(--text); }
.star--set { color: var(--text); font-size: var(--t-body); }

/* A text link that is a button: the aside's "still to book" names. */
.linkish { all: unset; cursor: pointer; color: var(--mint, #19ffd9); text-decoration: underline; text-underline-offset: 2px; }
.linkish:hover { color: var(--text); }

/* ---- THE FLOW'S SHARED HEADER (register D2, handoff/03). The same
       component screen 9 uses, so Brief, Choose talent and Invite read as
       one flow. `.fsteps` rather than `.steps`: that class already means
       the marketing three-up further down this same file, and both live
       inside `.agentic` — rule 2.7b, caught before it shipped this time. ---- */
.agentic .briefsteps { display: flex; align-items: center; gap: var(--s4); padding: var(--s5) 0 0; }
/* THE STEPPER OWNS ITS OWN LAYOUT NOW, and this is rule 2.7b caught a second
   time in the same place. The element was written `class="steps fsteps"`,
   with a comment above it explaining that `fsteps` existed precisely BECAUSE
   `.steps` already means the marketing three-up in this same file. The
   precaution was taken and then undone by the markup: the stepper inherited
   `.agentic .steps { display: grid; grid-template-columns: repeat(12,1fr) }`
   from line 777, dropped three `white-space: nowrap` items into three narrow
   grid columns, and they overlapped — "Choose talentInvite" with the 3 drawn
   over the text (Jack, 2026-10-26). `steps` is off the element; these rules
   replace what it was accidentally borrowing. */
.agentic .fsteps {
  margin: 0; padding: 0; list-style: none;
  display: flex; align-items: center; flex-wrap: wrap;
  row-gap: var(--s2);
}
.agentic .briefsteps__d { font-size: var(--t-sm); color: var(--g300); }
/* "Saved as a draft" used to sit between the steps and Close and was doing
   the spacing by accident. It was removed on 2026-10-26 — it is not a
   control and it was not true, drafts are not built (Jack: "save as draft
   and close both visible top right which does what?") — so Close is pushed
   right explicitly instead of by whatever happened to be next to it. */
.agentic .briefsteps > .link:last-child { margin-left: auto; }
@container ag (max-width: 640px) {
  /* The phone board keeps the indicator and drops the draft note, which is
     the first thing with nothing to do at 390. */
  .agentic .briefsteps__d { display: none; }
  .agentic .fsteps { column-gap: var(--s3); }
  .agentic .fsteps .step { font-size: .8125rem; }
  /* NO CONNECTOR ON THE PHONE. With the draft note removed the three steps
     no longer fit on one line with their rules, and a wrapped line that
     OPENS with a connector is a dash joining nothing. The connector is the
     thing that gives way (the note at dashboard.css:1245 says so); here it
     gives way entirely and the gap carries the separation. */
  .agentic .fsteps .step + .step::before { display: none; }
}

/* ---- 3c · THE PHONE SUMMARY. Measured off LITE 03's 3c board: a 48px job
       strip on `minmax(0,1fr) auto` with gap 8 and padding 4px 0, then one
       card per role at padding 2px 0 8px, each with a hairline under it.

       BOTH COMPOSITIONS ARE IN THE DOM and the container query picks, so
       the desktop rows and their Change buttons are untouched and nothing
       re-renders on a view switch. The phone board shows no label/value
       rows at all, which is why this is a swap and not a reflow. ---- */
.agentic .bsum { display: none; }
@container ag (max-width: 640px) {
  .agentic #rowsHome { display: none; }
  .agentic .bsum { display: block; }
}
.agentic .bsum__job {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .5rem;
  /* 48px TOTAL, which is the board's box — `min-height: 48px` PLUS the
     padding made it 56, because the board's 4px is inside the 48. */
  align-items: center; padding: .25rem 0; row-gap: 4px;
  border-bottom: 1px solid var(--line);
}
.agentic .bsum__jt { font-size: .875rem; font-weight: var(--fw-semi); min-width: 0; line-height: 1.3; }
.agentic .bsum__jm { grid-column: 1; font-size: .75rem; color: var(--g300); min-width: 0; line-height: 1.3; }
/* Edit spans both rows of the strip, as the board draws it. */
.agentic .bsum__e { grid-column: 2; grid-row: 1 / span 2; align-self: center;
  min-height: 0; padding: 0 .25rem; position: relative;
  border: 0; background: none; font-size: .8125rem; font-weight: 400; color: var(--g300);
  /* `.mini` uppercases and tracks its label; the board writes "Edit brief"
     and "Edit" in sentence case at 13px. */
  text-transform: none; letter-spacing: normal; }
.agentic .bsum__e::after { content: ''; position: absolute; inset: -14px -10px; }

.agentic .bsum__role { display: flex; flex-direction: column; gap: 2px;
  padding: .125rem 0 .5rem; border-bottom: 1px solid var(--line); }
.agentic .bsum__rl { display: grid; grid-template-columns: minmax(0,1fr) auto auto;
  gap: .5rem; align-items: baseline; }
.agentic .bsum__rn { font-size: .9375rem; font-weight: var(--fw-semi); min-width: 0; }
.agentic .bsum__rr { font-size: .8125rem; color: var(--g300); white-space: nowrap; }
.agentic .bsum__role .bsum__e { grid-row: auto; }
.agentic .bsum__rd { margin: 0; font-size: .8125rem; color: var(--g300); line-height: 1.45; }
