/* ============================================================================
   WIDESHOT v2 — the Desk anatomy wearing the Instrument skin
   Sana · 31 Jul 2026

   Tokens are the LOCKED Instrument set, copied verbatim from
   mocks/wideshot-instrument/home-instrument.html. Nothing re-picked: the brief
   is explicit that the Instrument aesthetic survives the merge, and this is the
   Desk's three-pane anatomy underneath it, not a new look.

   HARD PRODUCT RULES BUILT INTO THIS FILE:
   · no film titles and no director names on any user-facing surface
   · provenance is a SWAPPABLE SLOT, descriptor-variant by default
   · every fan wears measured-vs-verified and its coverage, openly
   ============================================================================ */
:root{
  --bg:#07090d; --bg2:#0a0d12; --panel:#0f141b; --panel2:#131a22; --raise:#161e27;
  --line:#232c37; --line2:#19212b; --grid:#111a22;
  --text:#eef3f8; --soft:#c4ccd7; --muted:#8795a4; --dim:#5a6675;
  --cyan:#66d9ef; --cyan-dim:#0f2b37; --green:#63d68b; --amber:#f0b45b; --purple:#a98cff;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{background:var(--bg);color:var(--text);font-family:var(--sans);
  -webkit-font-smoothing:antialiased}
button{font:inherit;color:inherit;cursor:pointer;border:0;background:none}
a{color:var(--cyan);text-decoration:none}

/* ── the shell: 246 funnel · fluid stage · 400 drawer ─────────────────────── */
.ws{display:grid;grid-template-columns:246px minmax(0,1fr) 400px;height:100vh;overflow:hidden}
.ws.drawer-closed{grid-template-columns:246px minmax(0,1fr) 0}
.ws.no-drawer{grid-template-columns:246px minmax(0,1fr)}
@media(prefers-reduced-motion:no-preference){.ws{transition:grid-template-columns .2s ease}}
/* responsive states live at the BOTTOM of this file — see the block after the
   session styles. Declaring them here put them ABOVE the .funnel2/.drawer3 base
   rules, so on source order the base rules won and the tablet breakpoint silently
   never fired. Caught by testing the contract, not by looking. */

/* ONE funnel, not a rail plus a spine. Mode switch on top, stages below —
   the 254px that used to say two things now says one thing better. */
.funnel2{background:var(--bg2);border-right:1px solid var(--line);display:flex;
  flex-direction:column;overflow-y:auto}
.wmark{display:flex;align-items:center;gap:9px;padding:14px 16px 12px}
.wmark b{font-size:13.5px;letter-spacing:-.01em}
.wmark span{font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:var(--dim);
  font-family:var(--mono)}
/* MODE PURITY: Create and My Work never bleed. The switch is the only crossing. */
.modesw{display:flex;gap:2px;margin:0 12px 14px;background:var(--panel);border:1px solid var(--line);
  border-radius:8px;padding:2px}
.modesw a{flex:1;text-align:center;padding:5px 0;font-size:11.5px;border-radius:6px;
  color:var(--muted);font-weight:500}
.modesw a.on{background:var(--raise);color:var(--text)}
.fgrp{font-size:9px;letter-spacing:.15em;text-transform:uppercase;color:var(--dim);
  font-family:var(--mono);padding:12px 16px 6px}
.fstage{display:grid;grid-template-columns:20px minmax(0,1fr);gap:9px;align-items:baseline;
  padding:8px 16px;border-left:2px solid transparent;color:var(--soft)}
.fstage:hover{background:var(--panel)}
.fstage.on{border-left-color:var(--cyan);background:var(--panel);color:var(--text)}
.fstage.done .n2{color:var(--green)}
.fstage .n2{font-family:var(--mono);font-size:10px;color:var(--dim)}
.fstage b{font-size:12.5px;font-weight:500;display:block}
.fstage i{font-style:normal;font-size:10.5px;color:var(--dim);display:block;margin-top:2px}
/* the URL is the state — nested routes per stage, never tabs-in-component */
.urlbar{margin-top:auto;padding:10px 14px;border-top:1px solid var(--line2);
  font-family:var(--mono);font-size:9.5px;color:var(--dim);word-break:break-all;line-height:1.5}
.urlbar b{color:var(--muted);font-weight:400}

/* ── stage ────────────────────────────────────────────────────────────────── */
.stage2{min-width:0;overflow-y:auto;background:var(--bg)}
.stop{display:flex;align-items:center;gap:12px;padding:13px 22px;border-bottom:1px solid var(--line);
  background:var(--bg2);position:sticky;top:0;z-index:5;flex-wrap:wrap}
.stop h1{margin:0;font-size:15px;font-weight:600;letter-spacing:-.015em}
.stop .sp{flex:1}
.btn2{border:1px solid var(--line);background:var(--panel);border-radius:7px;padding:5px 11px;
  font-size:11.5px;color:var(--soft)}
.btn2:hover{border-color:var(--dim);color:var(--text)}
.btn2.pri{background:var(--cyan-dim);border-color:#1d4d5e;color:var(--cyan)}

/* ── the measured vocabulary — mono for anything measured ─────────────────── */
.mono{font-family:var(--mono);font-variant-numeric:tabular-nums}
.trust{display:inline-flex;align-items:center;gap:5px;font-family:var(--mono);font-size:9.5px;
  letter-spacing:.05em;text-transform:uppercase;border-radius:99px;padding:2px 8px;
  border:1px solid var(--line)}
.trust.meas{color:var(--green);border-color:#1f4a31;background:#0e2318}
.trust.ver{color:var(--dim)}
.trust.ver.on{color:var(--cyan);border-color:#1d4d5e;background:var(--cyan-dim)}
.ev{display:inline-flex;align-items:center;gap:4px;font-family:var(--mono);font-size:9.5px;
  color:var(--muted);border:1px solid var(--line);border-radius:5px;padding:1px 6px}
.ev:hover{border-color:var(--dim);color:var(--soft)}

/* ── the warroom: the bench as a room ─────────────────────────────────────── */
.room{padding:0 0 60px;background:
  radial-gradient(120% 70% at 50% -10%, #0e1620 0%, transparent 60%), var(--bg)}
.roomhead{padding:36px 26px 20px;text-align:center}
.roomhead h2{margin:0 0 7px;font-size:24px;font-weight:600;letter-spacing:-.025em}
.roomhead p{margin:0 auto;font-size:13px;color:var(--muted);max-width:56ch;line-height:1.6}
/* typeahead: a PRIVATE SEARCH KEY. What you type never lands on a card. */
.seek{width:min(520px,88%);margin:20px auto 0;position:relative}
.seek input{width:100%;background:var(--panel);border:1px solid var(--line);border-radius:10px;
  padding:11px 14px;color:var(--text);font:inherit;font-size:13px}
.seek input:focus{outline:none;border-color:var(--cyan);box-shadow:0 0 0 3px var(--cyan-dim)}
.seek .hint2{font-size:10.5px;color:var(--dim);margin-top:7px;line-height:1.5}
.seekres{position:absolute;left:0;right:0;top:calc(100% + 6px);background:var(--panel2);
  border:1px solid var(--line);border-radius:10px;overflow:hidden;z-index:20;display:none;
  box-shadow:0 20px 50px #000a}
.seekres.open{display:block}
.seekres button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 12px;text-align:left}
.seekres button:hover{background:var(--raise)}
.seekres .rf{width:30px;height:30px;border-radius:6px;flex:none;background-size:500% 100%}
.seekres .rn{font-size:12.5px}
.seekres .rn i{font-style:normal;display:block;font-size:10px;color:var(--dim);margin-top:1px}
.seekres .none{padding:11px 12px;font-size:11.5px;color:var(--dim)}

.bench{display:grid;grid-template-columns:repeat(auto-fit,minmax(232px,1fr));gap:16px;
  width:min(1180px,92%);margin:26px auto 0}
.dossier{background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden;
  display:flex;flex-direction:column;text-align:left}
.dossier:hover{border-color:var(--dim)}
.dossier.pilot{border-color:var(--cyan);box-shadow:0 0 0 1px var(--cyan-dim)}
/* the avatar IS a frame from that grammar's world, so it gets film proportions */
.dface{aspect-ratio:4/5;background-size:500% 100%;background-repeat:no-repeat;position:relative}
.dface .reel{position:absolute;left:8px;bottom:8px;display:inline-flex;align-items:center;gap:5px;
  background:#000000a8;border:1px solid #ffffff1f;border-radius:99px;padding:3px 8px;
  font-family:var(--mono);font-size:9px;color:var(--soft)}
.dface .pilotchip{position:absolute;right:8px;top:8px;font-family:var(--mono);font-size:9px;
  letter-spacing:.06em;text-transform:uppercase;background:var(--cyan-dim);color:var(--cyan);
  border:1px solid #1d4d5e;border-radius:99px;padding:2px 8px}
.dbody{padding:12px 13px 13px;display:flex;flex-direction:column;gap:8px;flex:1}
.dbody h3{margin:0;font-size:14px;font-weight:600;letter-spacing:-.01em}
/* PROVENANCE SLOT — descriptor variant is the default and the only one built.
   The title-forward variant is a content decision at the Bindi gate, so this is
   a slot, not a hardcoded line. */
.prov{font-size:11px;color:var(--muted);line-height:1.5}
.cov{font-family:var(--mono);font-size:10.5px;color:var(--soft);line-height:1.6}
.cov b{color:var(--text);font-weight:400}
.temper3{font-size:11px;color:var(--muted);line-height:1.55;border-top:1px solid var(--line2);
  padding-top:8px}
.dstrip{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:auto;padding-top:4px}
.dact{display:flex;gap:6px;padding:0 13px 13px}
.dact .btn2{flex:1;text-align:center}

/* ── the drawer: Ownermind Review Lane, Instrument-skinned ────────────────── */
.drawer3{background:var(--bg2);border-left:1px solid var(--line);display:flex;flex-direction:column;
  overflow:hidden}
.dhead2{display:flex;align-items:center;gap:8px;padding:10px 13px;border-bottom:1px solid var(--line)}
.dhead2 b{font-size:12px;font-weight:600}
.dhead2 .sp{flex:1}
/* roster at the top: pilot plus active guests, Desk-style */
.roster2{padding:11px 13px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:9px}
.rlabel2{font-family:var(--mono);font-size:9px;letter-spacing:.15em;text-transform:uppercase;
  color:var(--dim)}
.rfaces{display:flex;gap:7px;flex-wrap:wrap}
.rface{position:relative;width:38px;height:38px;border-radius:7px;background-size:500% 100%;
  border:1px solid var(--line)}
.rface.on{border-color:var(--cyan);box-shadow:0 0 0 2px var(--cyan-dim)}
.rface .gt{position:absolute;right:-3px;bottom:-3px;font-family:var(--mono);font-size:7.5px;
  background:var(--raise);border:1px solid var(--line);border-radius:99px;padding:0 4px;color:var(--muted)}
/* the selected fan's "what I'm bringing" card — this IS the old readout panel,
   personified rather than replaced. Nothing was thrown away. */
.bringing{padding:12px 13px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:9px}
.bringing .bn{display:flex;align-items:center;gap:9px}
.bringing .bn .rface{width:44px;height:44px}
.bringing .bn b{font-size:13px;display:block}
.bringing .bn i{font-style:normal;font-size:10.5px;color:var(--dim);display:block;margin-top:2px}
.metrow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line2);
  border:1px solid var(--line2);border-radius:8px;overflow:hidden}
.metrow div{background:var(--panel);padding:7px 9px}
.metrow .k3{font-family:var(--mono);font-size:8.5px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--dim);display:block}
.metrow .v3{font-family:var(--mono);font-size:12.5px;color:var(--text);margin-top:2px;display:block}
.wave{height:26px;display:flex;align-items:flex-end;gap:2px}
.wave i{flex:1;background:var(--cyan);opacity:.5;border-radius:1px}

/* proposals as DISPOSITIONS — accept / edit / ignore, never a chatbox */
.props{flex:1;min-height:0;overflow-y:auto;padding:11px 13px;display:flex;flex-direction:column;gap:9px}
.prop{background:var(--panel);border:1px solid var(--line);border-radius:10px;overflow:hidden}
.prop .ph2{display:flex;align-items:center;gap:8px;padding:9px 11px;border-bottom:1px solid var(--line2)}
.prop .ph2 .rface{width:24px;height:24px;border-radius:5px}
.prop .ph2 b{font-size:11.5px;font-weight:600}
.prop .ph2 .kind{margin-left:auto;font-family:var(--mono);font-size:8.5px;letter-spacing:.08em;
  text-transform:uppercase;color:var(--dim);border:1px solid var(--line);border-radius:99px;padding:1px 7px}
.prop .pb2{padding:10px 11px;font-size:11.5px;line-height:1.6;color:var(--soft)}
.prop .pb2 .delta{font-family:var(--mono);color:var(--text)}
.prop .evrow{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}
.prop .disp{display:flex;gap:6px;padding:0 11px 11px}
.prop .disp button{flex:1;border:1px solid var(--line);border-radius:6px;padding:5px 0;
  font-size:11px;color:var(--muted)}
.prop .disp .acc:hover{border-color:#1f4a31;color:var(--green);background:#0e2318}
.prop .disp .edt:hover{border-color:#5a4a1c;color:var(--amber)}
.prop .disp .ign:hover{border-color:var(--dim);color:var(--soft)}
.prop.decided{opacity:.55}
.prop .done2{padding:0 11px 11px;font-family:var(--mono);font-size:10px;color:var(--green)}
.prop .done2.ign2{color:var(--dim)}
/* spend is never an agent's to approve — stated on the card that would cost */
.costnote{display:flex;gap:7px;align-items:flex-start;margin:0 11px 11px;padding:7px 9px;
  border:1px solid #5a4a1c;background:#211a08;border-radius:7px;font-size:10.5px;color:var(--amber);
  line-height:1.5}

.comp2{border-top:1px solid var(--line);padding:10px 13px;display:flex;gap:7px;align-items:flex-end}
.comp2 textarea{flex:1;background:var(--panel);border:1px solid var(--line);border-radius:8px;
  padding:8px 10px;color:var(--text);font:inherit;font-size:12px;resize:none;min-height:38px}
.comp2 textarea:focus{outline:none;border-color:var(--cyan)}
.comp2 .snd{width:34px;height:34px;border-radius:8px;background:var(--cyan-dim);color:var(--cyan);
  border:1px solid #1d4d5e}

/* ── doc pages ────────────────────────────────────────────────────────────── */
.doc2{background:var(--bg);min-height:100vh;padding:0 0 70px}
.doc2 .wrap2{width:min(1000px,92%);margin:0 auto}
.doc2 h1{font-size:clamp(26px,4vw,36px);font-weight:600;letter-spacing:-.03em;margin:34px 0 10px}
.doc2 h2{font-size:19px;font-weight:600;letter-spacing:-.02em;margin:36px 0 10px}
.doc2 p{font-size:13.5px;line-height:1.7;color:var(--soft);max-width:74ch}
.doc2 p b{color:var(--text)}
.doc2 ul{font-size:13.5px;line-height:1.7;color:var(--soft);max-width:74ch;padding-left:20px}
.doc2 li b{color:var(--text)}
.eyebrow2{font-family:var(--mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--dim);margin-top:30px}
.card4{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px 18px}
.grid4{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:13px;margin-top:12px}
.rule2{border-left:2px solid var(--amber);background:#1a1408;border-radius:0 10px 10px 0;
  padding:12px 16px;margin:14px 0;font-size:12.5px;line-height:1.65;color:#e8d3a8;max-width:76ch}
.rule2 b{color:var(--amber)}
.nav2{position:sticky;top:0;z-index:30;background:#07090de8;backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);padding:10px 0;margin-bottom:8px}
.nav2 .wrap2{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.nav2 b{font-size:12.5px}
.nav2 a{font-size:12px;color:var(--muted);padding:3px 8px;border-radius:6px}
.nav2 a:hover{background:var(--panel);color:var(--text)}
.nav2 a.on{background:var(--panel);color:var(--text);border:1px solid var(--line)}

/* ── AMENDMENT 9 · the drawer is a VIEW of a server-resident session ───────
   Khoa-directed: the same fan conversation continues from a terminal over MCP,
   so this must not read as an ephemeral chat that begins when the panel opens.
   The session header states the run and the fan; history above the fold clearly
   predates this visit. */
.sesshead{padding:9px 13px;border-bottom:1px solid var(--line);background:var(--panel);
  display:flex;flex-direction:column;gap:3px}
.sesshead .sl2{display:flex;align-items:center;gap:7px;font-family:var(--mono);font-size:9px;
  letter-spacing:.1em;text-transform:uppercase;color:var(--dim)}
.sesshead .sl2 .live2{width:6px;height:6px;border-radius:50%;background:var(--green)}
.sesshead .sr3{font-size:11px;color:var(--soft);line-height:1.5}
.sesshead .sr3 b{color:var(--text);font-weight:500}
.priorbar{display:flex;align-items:center;gap:9px;padding:7px 13px;background:var(--bg2);
  border-bottom:1px solid var(--line);font-size:10.5px;color:var(--dim)}
.priorbar .ln3{flex:1;height:1px;background:var(--line)}
.prop.prior{opacity:.72}
.prop.prior .ph2 .kind{color:var(--muted);border-color:var(--line2)}
.viawhere{font-family:var(--mono);font-size:8.5px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--dim);border:1px solid var(--line);border-radius:99px;padding:1px 6px;margin-left:auto}

/* ═══ KHOA SCALE RULING · the crew room at 100+ ═════════════════════════════
   The five-card room was a first cohort, not the layout. Three structural
   moves: search becomes the primary interface, the roster becomes a dense
   virtualized list you filter, and the five cards become a CURATED front row
   that can be emptied without breaking the room — which is the proof that it
   is curation and not architecture. */

/* the room header — search sits at the top of the page, not under a paragraph */
.rhead5{padding:26px 26px 0;text-align:center}
.rhead5 h2{margin:0 0 6px;font-size:23px;font-weight:600;letter-spacing:-.025em}
.rhead5 .sub5{margin:0 auto;font-size:12.5px;color:var(--muted);max-width:62ch;line-height:1.6}
.seek.bigseek{width:min(720px,94%);margin:18px auto 0}
.bigseek input{padding:15px 18px 15px 44px;font-size:15px;border-radius:12px;background:var(--panel2)}
.bigseek .mg{position:absolute;left:16px;top:15px;color:var(--dim);font-size:15px;pointer-events:none}
.bigseek .hint2{max-width:none;text-align:left}
.bigseek .seekres{top:calc(100% + 8px)}

/* filters. Pace and lifecycle are shown IN FULL as chips because they are
   four-value scales the ruling turns on; school, era and temperament are long
   lists and collapse to selects. Mixing the two controls is deliberate: the
   axes you are meant to reason about stay visible. */
.fbar{width:min(1180px,94%);margin:16px auto 0;display:flex;flex-wrap:wrap;align-items:center;
  gap:8px 14px;padding:11px 13px;background:var(--panel);border:1px solid var(--line);border-radius:11px}
.fgroup5{display:flex;align-items:center;gap:6px;min-width:0}
.flab{font-family:var(--mono);font-size:8.5px;letter-spacing:.13em;text-transform:uppercase;
  color:var(--dim);white-space:nowrap}
.fchip{border:1px solid var(--line);background:var(--bg2);border-radius:99px;padding:3px 10px;
  font-size:11px;color:var(--muted);white-space:nowrap}
.fchip:hover{border-color:var(--dim);color:var(--soft)}
.fchip[aria-pressed="true"]{background:var(--cyan-dim);border-color:#1d4d5e;color:var(--cyan)}
.fchip .ct5{font-family:var(--mono);font-size:9px;opacity:.75;margin-left:4px}
.fsel{background:var(--bg2);border:1px solid var(--line);border-radius:8px;color:var(--soft);
  font:inherit;font-size:11.5px;padding:4px 8px;max-width:170px}
.fsel:focus{outline:none;border-color:var(--cyan)}
.fclear{margin-left:auto;font-size:11px;color:var(--dim);border:1px solid transparent;
  border-radius:7px;padding:3px 9px}
.fclear:hover{border-color:var(--line);color:var(--soft)}

/* the front row — CURATION. It has an edit mode and it can be emptied. */
.frow5{width:min(1180px,94%);margin:22px auto 0}
.curatebar{display:flex;align-items:center;gap:9px;margin-bottom:10px;flex-wrap:wrap}
.curatebar .cl5{font-family:var(--mono);font-size:9px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--dim)}
.curatebar .cnote{font-size:11px;color:var(--dim);flex:1;min-width:180px}
.frow5 .bench{width:100%;margin:0;grid-template-columns:repeat(auto-fit,minmax(206px,1fr))}
.dossier .rmx{position:absolute;left:8px;top:8px;width:24px;height:24px;border-radius:50%;
  background:#000000b8;border:1px solid #ffffff26;color:#fff;font-size:13px;line-height:1;
  display:none;place-items:center;z-index:2}
.editing .dossier .rmx{display:grid}
.editing .dossier{border-style:dashed}
.rmx:focus-visible,.fchip:focus-visible,.vrow5:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.addslot{border:1px dashed var(--line);border-radius:12px;display:none;place-items:center;
  min-height:150px;color:var(--dim);font-size:11.5px;text-align:center;padding:14px;line-height:1.5}
.editing .addslot{display:grid}
.frowempty{border:1px dashed var(--line);border-radius:12px;padding:18px 20px;font-size:12px;
  color:var(--muted);line-height:1.6}
.frowempty b{color:var(--text)}

/* the roster — dense rows, virtualized. At 100+ the card is the wrong unit:
   a card is for a thing you are choosing between, a row is for a thing you are
   finding. The front row keeps the cards for exactly that reason. */
.rost5{width:min(1180px,94%);margin:26px auto 0}
.rtop5{display:flex;align-items:baseline;gap:10px;margin-bottom:9px;flex-wrap:wrap}
.rtop5 h3{margin:0;font-size:14px;font-weight:600}
.rcount{font-family:var(--mono);font-size:10.5px;color:var(--dim)}
.rcount b{color:var(--cyan);font-weight:400}
.vwrap5{border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow:hidden}
.rcols{display:grid;grid-template-columns:38px minmax(0,1.5fr) 132px minmax(0,1fr) 84px 92px 128px 74px;
  gap:10px;align-items:center;padding:8px 13px;border-bottom:1px solid var(--line);background:var(--bg2)}
.rcols span{font-family:var(--mono);font-size:8.5px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--dim);white-space:nowrap;overflow:hidden}
.vport5{height:min(56vh,470px);overflow-y:auto;position:relative}
.vspace{position:relative;width:100%}
.vlist{position:absolute;top:0;left:0;right:0;will-change:transform}
.vrow5{display:grid;grid-template-columns:38px minmax(0,1.5fr) 132px minmax(0,1fr) 84px 92px 128px 74px;
  gap:10px;align-items:center;height:56px;padding:0 13px;border-bottom:1px solid var(--line2);
  cursor:pointer;text-align:left;width:100%}
.vrow5:hover{background:var(--panel2)}
.vrow5 .vf{width:34px;height:34px;border-radius:7px;background-size:500% 100%;border:1px solid var(--line2)}
.vrow5 .vf.gen{background:var(--raise)}
.vrow5 .vn{min-width:0}
.vrow5 .vn b{display:block;font-size:12.5px;font-weight:500;white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis}
.vrow5 .vn i{font-style:normal;display:block;font-size:10px;color:var(--dim);white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis}
.vcell{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vcell.m5{font-family:var(--mono);font-size:10.5px;color:var(--soft);font-variant-numeric:tabular-nums}
.vpin{border:1px solid var(--line);border-radius:6px;padding:3px 0;font-size:10.5px;color:var(--muted);
  width:100%;text-align:center}
.vpin:hover{border-color:var(--cyan);color:var(--cyan)}
.vpin.on{background:var(--cyan-dim);border-color:#1d4d5e;color:var(--cyan)}
.vnone{padding:30px 16px;text-align:center;color:var(--dim);font-size:12.5px;line-height:1.6}
.vnone b{color:var(--soft);display:block;margin-bottom:4px;font-size:13px}

/* ── the member lifecycle, as a first-class visual system ─────────────────
   Four stages, four treatments, and text on every one so colour is never the
   only signal. The escalation is deliberate: dashed and dim while nothing is
   claimed, green when the measurement stands up, purple when the bio is
   generated, cyan when a human has verified it. */
.lchip{display:inline-flex;align-items:center;gap:5px;font-family:var(--mono);font-size:9px;
  letter-spacing:.05em;text-transform:uppercase;border-radius:99px;padding:2px 8px;
  border:1px solid var(--line);white-space:nowrap}
.lchip.s1{color:var(--dim);border-style:dashed}
.lchip.s2{color:var(--green);border-color:#1f4a31;background:#0e2318}
.lchip.s3{color:var(--purple);border-color:#3a2f5e;background:#161230}
.lchip.s4{color:var(--cyan);border-color:#1d4d5e;background:var(--cyan-dim)}
.lchip .dot5{width:5px;height:5px;border-radius:50%;background:currentColor;flex:none}
.lchip.s1 .dot5{background:none;border:1px solid currentColor}

.ladder{display:grid;gap:1px;background:var(--line2);border:1px solid var(--line2);border-radius:9px;
  overflow:hidden;margin-top:10px}
.lstep{background:var(--panel);padding:8px 11px;display:grid;grid-template-columns:16px minmax(0,1fr);
  gap:9px;align-items:start}
.lstep .ln5{font-family:var(--mono);font-size:9.5px;color:var(--dim);line-height:1.6}
.lstep b{font-size:11.5px;font-weight:500;color:var(--muted);display:block}
.lstep i{font-style:normal;font-size:10.5px;color:var(--dim);line-height:1.5;display:block;margin-top:2px}
.lstep.on{background:var(--raise)}
.lstep.on b{color:var(--text)}
.lstep.on .ln5{color:var(--cyan)}
.lstep.past b{color:var(--soft)}
.lstep.past .ln5{color:var(--green)}

/* the developing portrait — an incomplete fingerprint rendered honestly.
   Not an empty state: the recipe simply has not been given enough to read. */
.devwrap{position:relative}
.devcap{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(#0007,#000c);
  padding:7px 9px;font-family:var(--mono);font-size:8.5px;color:var(--soft);line-height:1.6}
.devcap .bar5{height:3px;background:#ffffff1f;border-radius:2px;overflow:hidden;margin-top:4px}
.devcap .bar5 i{display:block;height:100%;background:var(--cyan)}
.pcanvas{display:block;width:100%;aspect-ratio:4/5;background:#0b0f14}

/* ── the member sheet — the dossier, reached from a row ───────────────────
   An overlay rather than a third column, per the pane rule in the contract:
   a pane is never narrowed below the width its content needs. */
.scrim5{position:fixed;inset:0;background:#04060a\9;background:rgba(4,6,10,.72);z-index:70;display:none}
.scrim5.open{display:block}
.sheet5{position:fixed;top:0;right:0;bottom:0;width:min(430px,100%);background:var(--bg2);
  border-left:1px solid var(--line);z-index:71;display:none;flex-direction:column;overflow-y:auto;
  box-shadow:-30px 0 70px #000a}
.sheet5.open{display:flex}
.shead5{display:flex;align-items:center;gap:9px;padding:11px 14px;border-bottom:1px solid var(--line);
  position:sticky;top:0;background:var(--bg2);z-index:2}
.shead5 b{font-size:12.5px}
.shead5 .sp{flex:1}
.shead5 .x5{width:28px;height:28px;border-radius:8px;color:var(--dim);font-size:16px;line-height:1;
  display:grid;place-items:center}
.shead5 .x5:hover{background:var(--raise);color:var(--text)}
.sbody5{padding:14px;display:flex;flex-direction:column;gap:12px}
.sbody5 .sface{width:100%;max-width:210px;aspect-ratio:4/5;background-size:500% 100%;border-radius:10px;
  border:1px solid var(--line);align-self:center;position:relative}
.sbody5 h3{margin:0;font-size:17px;font-weight:600;letter-spacing:-.015em}
.sbody5 h3 .spec2{margin-left:7px}
.sroute{font-family:var(--mono);font-size:9.5px;color:var(--dim);word-break:break-all}
.sfacts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line2);
  border:1px solid var(--line2);border-radius:9px;overflow:hidden}
.sfacts div{background:var(--panel);padding:7px 9px}
.sfacts .k5{font-family:var(--mono);font-size:8.5px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--dim);display:block}
.sfacts .v5{font-family:var(--mono);font-size:12px;color:var(--text);margin-top:2px;display:block}
.sacts{display:flex;gap:7px;padding:0 14px 16px}
.sacts .btn2{flex:1;text-align:center}

/* ── the recipe page ──────────────────────────────────────────────────────
   Two-up: the hand-directed reference on the left, the recipe's own render on
   the right, from the same parameter block. */
.rgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;margin-top:14px}
.pcard{background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.pcard .ph5{display:flex;align-items:center;gap:8px;padding:9px 12px;border-bottom:1px solid var(--line2)}
.pcard .ph5 b{font-size:13px}
.pcard .ph5 .sp{flex:1}
.twoup{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line2)}
.twoup > div{background:var(--panel);position:relative}
.twoup .cap5{position:absolute;left:7px;top:7px;font-family:var(--mono);font-size:8px;
  letter-spacing:.1em;text-transform:uppercase;background:#000000b0;border:1px solid #ffffff1f;
  border-radius:99px;padding:1px 7px;color:var(--soft)}
.twoup .refimg{width:100%;aspect-ratio:4/5;background-size:500% 100%;display:block}
.pmap{padding:10px 12px 12px;display:grid;gap:6px}
.pmap .prow5{display:grid;grid-template-columns:78px minmax(0,1fr);gap:9px;align-items:baseline;
  font-size:11px;line-height:1.5}
.pmap .pk5{font-family:var(--mono);font-size:8.5px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--dim)}
.pmap .pv5{color:var(--soft);font-family:var(--mono);font-size:10.5px;font-variant-numeric:tabular-nums}
.pmap .pv5 em{font-style:normal;color:var(--dim)}
.mixer{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px 16px;
  display:grid;gap:11px}
.mixer .srow{display:grid;grid-template-columns:120px minmax(0,1fr) 62px;gap:11px;align-items:center}
.mixer label{font-size:11.5px;color:var(--soft)}
.mixer input[type=range]{width:100%;accent-color:var(--cyan)}
.mixer .sv{font-family:var(--mono);font-size:11px;color:var(--cyan);text-align:right;
  font-variant-numeric:tabular-nums}
.held{display:inline-flex;align-items:center;gap:4px;font-family:var(--mono);font-size:8.5px;
  letter-spacing:.06em;text-transform:uppercase;border-radius:99px;padding:1px 7px;border:1px solid var(--line)}
.held.yes{color:var(--green);border-color:#1f4a31;background:#0e2318}
.held.no{color:var(--amber);border-color:#5a4a1c;background:#211a08}

/* ── responsive states, stated so they are contract not accident ───────────
   ORDER MATTERS: these sit after every rule they override. */
@media(max-width:1200px){
  .ws,.ws.drawer-closed,.ws.no-drawer{grid-template-columns:minmax(0,1fr)}
  .funnel2,.drawer3{display:none}
}
@media(max-width:900px){
  .ws,.ws.drawer-closed,.ws.no-drawer{grid-template-columns:minmax(0,1fr)}
  .funnel2{display:none}
  /* phone: the drawer is an OVERLAY, never a squeezed third column */
  .drawer3{display:flex;position:fixed;inset:0;z-index:60;border-left:0}
  .ws.drawer-closed .drawer3{display:none}
  .drawer3 .dhead2{position:sticky;top:0;z-index:2}
}

/* v3 naming · human first name + specialty tag, and an honest empty bio */
.dbody h3 .spec2{font-weight:400;font-size:11.5px;color:var(--muted);margin-left:6px}
.prov.nobio{color:var(--dim);font-style:italic;border-left:2px solid var(--line);padding-left:8px}
.prov.nobio b{color:var(--amber);font-style:normal}

/* ═══ KHOA REVISION 2 · the drawer roster becomes the coaches pattern ═══════
   Copied from my own ownermind-coaches /inapp top section and reskinned:
   the ACTIVE member sits LARGE with portrait, name, specialty, status and a
   change-menu; the others are a smaller LABELLED badge row beneath for one-tap
   switching. Proportions carried over (60px face, 15px name, 11px sub). */
.active2{position:relative;display:flex;flex-direction:column;align-items:center;gap:9px;
  padding:15px 16px 13px;border-bottom:1px solid var(--line);background:var(--panel)}
.active2 .pf3{width:60px;height:60px;border-radius:12px;background-size:500% 100%;
  border:1px solid var(--line2);position:relative}
.active2 .pf3 .live4{position:absolute;left:50%;transform:translateX(-50%);bottom:-6px;
  font-family:var(--mono);font-size:7.5px;letter-spacing:.1em;background:var(--cyan-dim);
  color:var(--cyan);border:1px solid #1d4d5e;border-radius:99px;padding:1px 6px}
.active2 b{font-size:15px;font-weight:600;letter-spacing:-.01em}
.active2 .spec3{font-size:11px;color:var(--dim);text-align:center}
.active2 .stat3{font-family:var(--mono);font-size:9.5px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--muted);border:1px solid var(--line);border-radius:99px;padding:2px 9px}
.active2 .chg{position:absolute;top:11px;right:11px;width:26px;height:26px;border-radius:8px;
  color:var(--dim);font-size:15px;line-height:1;display:grid;place-items:center;background:none;border:0}
.active2 .chg:hover{background:var(--raise);color:var(--text)}
.active2 .chg:focus-visible{outline:2px solid var(--cyan);outline-offset:1px}
/* the OTHERS — a smaller LABELLED badge row, one tap to switch */
.badgerow{display:flex;gap:7px;flex-wrap:wrap;padding:11px 13px;border-bottom:1px solid var(--line);
  background:var(--bg2)}
.mbadge{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:99px;
  padding:3px 10px 3px 3px;background:var(--panel);cursor:pointer;min-width:0}
.mbadge:hover{border-color:var(--dim)}
.mbadge:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.mbadge .bf{width:24px;height:24px;border-radius:50%;background-size:500% 100%;flex:none}
.mbadge .bn{font-size:11.5px;font-weight:500;white-space:nowrap}
.mbadge .bs{font-size:9px;color:var(--dim);white-space:nowrap}
.mbadge .bp{width:6px;height:6px;border-radius:50%;background:var(--cyan);flex:none}

/* ═══ KHOA REVISION 3 · annotated TURNS, not a proposal stack ═══════════════
   Real output is prose WITH an attached actionable change. A turn is
   WHY (a note in the member's voice) → WHAT (proposal cards carrying their own
   accept/edit/ignore) → BASIS (evidence chips). A proposal is never orphaned;
   a note may stand alone. This is a rendering group, not a schema change. */
.turn2{border-bottom:1px solid var(--line2);padding:12px 13px}
.turn2:last-child{border-bottom:0}
.turn2 .th{display:flex;align-items:center;gap:8px;margin-bottom:7px}
.turn2 .th .bf{width:24px;height:24px;border-radius:50%;background-size:500% 100%;flex:none}
.turn2 .th b{font-size:11.5px;font-weight:600}
.turn2 .th .ts{margin-left:auto;font-family:var(--mono);font-size:9px;color:var(--dim)}
.turn2 .why{font-size:12px;line-height:1.6;color:var(--soft)}
.turn2 .why .delta{font-family:var(--mono);color:var(--text)}
.turn2 .basis{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}
/* the attached change — accept/edit/ignore live ON the card */
.attached{margin-top:9px;border:1px solid var(--line);border-left:2px solid var(--cyan);
  border-radius:0 9px 9px 0;background:var(--panel);overflow:hidden}
.attached .ah{display:flex;align-items:baseline;gap:8px;padding:8px 10px 0}
.attached .ah .verb{font-family:var(--mono);font-size:8.5px;letter-spacing:.08em;
  text-transform:uppercase;color:var(--cyan)}
.attached .ah .what2{font-size:11.5px;font-weight:500;color:var(--text)}
.attached .changes{padding:5px 10px 0;font-size:10.5px;color:var(--dim);line-height:1.55;
  font-family:var(--mono)}
.attached .disp2{display:flex;gap:6px;padding:9px 10px}
.attached .disp2 button{flex:1;border:1px solid var(--line);border-radius:6px;padding:4px 0;
  font-size:10.5px;color:var(--muted);background:none}
.attached .disp2 .a2:hover{border-color:#1f4a31;color:var(--green);background:#0e2318}
.attached .disp2 .e2:hover{border-color:#5a4a1c;color:var(--amber)}
.attached .disp2 .i2:hover{border-color:var(--dim);color:var(--soft)}
.attached.done3{border-left-color:var(--green);opacity:.7}
.attached .settled{padding:0 10px 9px;font-family:var(--mono);font-size:9.5px;color:var(--green)}
.attached .settled.ign3{color:var(--dim)}
.turn2 .standalone{font-family:var(--mono);font-size:9px;color:var(--dim);margin-top:7px}

/* ── the roster's responsive contract ─────────────────────────────────────
   Columns drop in a stated priority order as width falls: era, then pace,
   then school, then coverage, then the pin button. The LIFECYCLE CHIP never
   drops — it is the one column that changes what you would do next, and the
   sheet carries every action anyway. Declared here, at the bottom, after
   every rule they override: the ordering bug that hid the tablet breakpoint
   in this same file is not one worth having twice. */
@media(max-width:1100px){
  .rcols,.vrow5{grid-template-columns:38px minmax(0,1.5fr) 132px minmax(0,1fr) 84px 128px 74px}
  .rcols .c-era,.vrow5 .c-era{display:none}
}
@media(max-width:940px){
  .rcols,.vrow5{grid-template-columns:38px minmax(0,1.5fr) 132px minmax(0,1fr) 128px 74px}
  .rcols .c-pace,.vrow5 .c-pace{display:none}
}
@media(max-width:780px){
  .rcols,.vrow5{grid-template-columns:38px minmax(0,1.5fr) 132px 128px 74px}
  .rcols .c-school,.vrow5 .c-school{display:none}
}
@media(max-width:620px){
  .rcols,.vrow5{grid-template-columns:38px minmax(0,1.5fr) 132px 74px}
  .rcols .c-cov,.vrow5 .c-cov{display:none}
}
@media(max-width:480px){
  .rcols,.vrow5{grid-template-columns:34px minmax(0,1fr) 116px}
  .rcols .c-pin,.vrow5 .c-pin{display:none}
  .bigseek input{font-size:14px;padding:13px 14px 13px 40px}
  .rhead5{padding:20px 16px 0}
  .twoup{grid-template-columns:1fr}
  .mixer .srow{grid-template-columns:96px minmax(0,1fr) 54px}
}

/* ── shared doc-page tables and callouts ──────────────────────────────────
   These lived in contract.html's inline <style>. index.html has been using
   .tw4/.rt since it was written and therefore rendering its ten-surface table
   completely unstyled — a defect nobody would spot by reading either file,
   only by opening the page after the class moved. Now shared, so a third page
   using them is not a fourth copy. */
.rt{width:100%;border-collapse:collapse;font-size:12.5px;margin-top:10px}
.rt th{text-align:left;padding:8px 11px;font-family:var(--mono);font-size:9px;letter-spacing:.1em;
  text-transform:uppercase;color:var(--dim);border-bottom:1px solid var(--line);white-space:nowrap}
.rt td{padding:9px 11px;border-bottom:1px solid var(--line);color:var(--soft);vertical-align:top;
  line-height:1.55}
.rt tr:last-child td{border-bottom:0}
.rt td b{color:var(--text)}
.rt code{font-family:var(--mono);font-size:11.5px;color:var(--cyan);background:var(--panel);
  border:1px solid var(--line);border-radius:4px;padding:1px 5px;white-space:nowrap}
.tw4{border:1px solid var(--line);border-radius:12px;overflow-x:auto;background:var(--panel);margin-top:12px}
.two2{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:13px;margin-top:12px}
.sig{border-left:2px solid var(--cyan);background:#0d1a20;border-radius:0 10px 10px 0;
  padding:14px 18px;margin:16px 0;font-size:12.5px;line-height:1.65;color:#bfe4f0;max-width:78ch}
.sig b{color:var(--cyan)}

/* ── coverage board + the honest placeholder ──────────────────────────────
   href="#" made in-progress read as broken. Status is now a rendered thing,
   so a reader can tell "not built yet" from "built and failing" at a glance —
   the distinction the dead link destroyed. */
.stpill{display:inline-flex;align-items:center;gap:5px;font-family:var(--mono);font-size:9px;
  letter-spacing:.05em;text-transform:uppercase;border-radius:99px;padding:2px 8px;
  border:1px solid var(--line);white-space:nowrap}
.stpill::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;flex:none}
.st-live{color:var(--green);border-color:#1f4a31;background:#0e2318}
.st-next{color:var(--cyan);border-color:#1d4d5e;background:var(--cyan-dim)}
.st-pending{color:var(--dim);border-style:dashed}
.st-pending::before{background:none;border:1px solid currentColor}
.st-threaded{color:var(--purple);border-color:#3a2f5e;background:#161230}
.rt tr.here td{background:#101922}
.youare{font-family:var(--mono);font-size:8.5px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--cyan);border:1px solid #1d4d5e;border-radius:99px;padding:1px 6px;margin-left:6px}
/* a stub link must not look like a live one — it is going somewhere real, but
   somewhere that will tell you it is unfinished */
.fstage.stub,.modesw a.stub{opacity:.62}
.fstage.stub .n2{color:var(--dim)}
.fstage.stub:hover,.modesw a.stub:hover{opacity:1}
.stubdot{display:inline-block;width:4px;height:4px;border-radius:50%;border:1px solid var(--dim);
  margin-left:5px;vertical-align:middle}

/* The board's surface names are links, but `.rt td b` was repainting them as
   plain text — so the one page whose job is "here is what you can click" gave
   no affordance that anything was clickable. What is interactive must look
   interactive, and the treatment doubles as a second status signal. */
.rt td a.nm-live,.rt td a.nm-stub{text-decoration:none;border-bottom:1px solid transparent}
.rt td a.nm-live b{color:var(--cyan)}
.rt td a.nm-stub b{color:var(--soft);font-weight:500}
.rt td a.nm-stub{border-bottom:1px dotted var(--dim)}
.rt td a.nm-live:hover{border-bottom-color:var(--cyan)}
.rt td a.nm-stub:hover b{color:var(--text)}
.rt td a.nm-stub:hover{border-bottom-color:var(--soft)}
.rt td a:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
