/* The Booth — the instrument panel. (2026-09-01 rework, Phill's call: variant "B / The Desk".)

   What changed and why: the phosphor-CRT treatment made everything on the page the same
   colour and the same size, so a paragraph you had to READ was printed in 11px glowing
   monospace next to a number you only had to GLANCE at. This file keeps the control-room
   character and moves the work to the right places.

   The rule: green stops being the colour Phill's words are printed in and becomes the
   system's own voice — the live dot, the section marks, money, good news. Body copy is warm
   paper white in Libre Franklin at 15–16px. Monospace is kept strictly for READINGS — times,
   item numbers, counts, dollars — and never for prose.

   Kinship: the same warm-neutral family as the Timeclock's neutral.css and the Film Club
   register, wearing the Booth's own frame — the telemetry strip, the marked section rules,
   the rail down each card. Committed single dark theme; the Booth is read at night and on a
   phone, and there is no light expression. DESIGN.md owns the rules.

   Class names and data- attributes are deliberately unchanged from the CRT version: booth.js
   and the test suite both bind to them. */

:root{
  --c:#14150f;                        /* canvas — warm near-black */
  --r:#1a1c14;                        /* raised surface: cards, panels, inputs */
  --r2:#21241a;                       /* raised-er: hover, table heads */
  --l:#333726;                        /* hairline */
  --l2:rgba(51,55,38,.55);            /* softer hairline, inside a panel */
  --i:#e9eade;                        /* primary ink — warm paper white */
  --m:#9ba189;                        /* muted ink — receipts, secondary */
  --f:#838b75;                        /* faint ink — meta, timestamps, labels */
  --a:#e0a95f;                        /* amber — the one thing worth doing */
  --a-soft:rgba(224,169,95,.10);
  --a-line:rgba(224,169,95,.42);
  --g:#a8cd7c;                        /* green — the system's voice, good, money */
  --g-soft:rgba(168,205,124,.09);
  --rust:#c97a4e;                     /* genuine breakage and undo, almost never seen */
  --sans:'Libre Franklin',-apple-system,system-ui,'Segoe UI',sans-serif;
  --mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --ease:cubic-bezier(.23,1,.32,1);
  color-scheme:dark;
}

*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
html,body{min-height:100%;background:var(--c)}
body{font-family:var(--sans);font-size:15.5px;line-height:1.55;color:var(--i);
  -webkit-font-smoothing:antialiased;
  padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}

/* Browser surfaces belong to the design too. */
::selection{background:var(--g);color:var(--c)}
:focus-visible{outline:2px solid var(--a);outline-offset:2px}
button,input{font:inherit;color:inherit}
button{background:none;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
a{color:var(--a);text-underline-offset:3px}
svg{display:block}
.icon{width:1em;height:1em;stroke:currentColor;fill:none;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round}
* {scrollbar-color:var(--l) transparent}
::-webkit-scrollbar{width:11px;height:11px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:var(--l);border:3px solid var(--c)}
::-webkit-scrollbar-thumb:hover{background:var(--f)}

/* The single column. Desktop mission control is its own layout and does not exist yet;
   until it does this is a comfortable measure rather than the old 460px ribbon. */
.wrap{max-width:520px;margin:0 auto;padding:16px 18px 40px;position:relative}
.wrap.reading{max-width:780px}

/* One authored entrance, on the page — not one per section. */
.boot{animation:rise .42s var(--ease) both}
@keyframes rise{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}

/* ── header ─────────────────────────────────────────────────────────────── */
.status{display:flex;align-items:center;gap:11px;padding-bottom:12px;
  border-bottom:1px solid var(--l)}
.status .dot{width:6px;height:6px;border-radius:50%;background:var(--g);flex:0 0 auto;
  animation:pulse 2.6s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.32}}
.status .mark{font-family:var(--mono);font-weight:700;font-size:13px;letter-spacing:.13em}
.status .spacer{flex:1}
.status .clock{font-family:var(--mono);font-size:13px;color:var(--m);
  font-variant-numeric:tabular-nums}
/* 44px square: the phone standard for anything a thumb taps (2026-10-04). */
.status a{color:var(--f);display:inline-flex;align-items:center;justify-content:center;
  min-width:44px;min-height:44px;margin:-10px 0;transition:color .14s}
.status a:last-child{margin-right:-10px}
.status a:hover,.status a:focus-visible{color:var(--i)}
.status a .icon{width:17px;height:17px}

/* The telemetry strip: what the machine knows about itself, in readings. */
.tele{display:flex;flex-wrap:wrap;align-items:center;border-bottom:1px solid var(--l);
  font-family:var(--mono);font-size:10.5px;letter-spacing:.06em;color:var(--f);
  font-variant-numeric:tabular-nums}
.tele span{padding:7px 12px 7px 0;margin-right:12px;border-right:1px solid var(--l2)}
.tele span:last-child{border-right:0;margin-right:0;padding-right:0}
.tele b{color:var(--m);font-weight:500}
.tele .telelink{color:var(--f);text-decoration:none;display:inline-flex;align-items:center;
  min-height:44px;padding:0 12px;margin-left:-12px;transition:color .14s}
.tele .telelink:hover,.tele .telelink:focus-visible{color:var(--i)}

/* ── the marquee is the product ─────────────────────────────────────────── */
.marquee{padding:21px 0 23px;border-bottom:1px solid var(--l)}
.marquee h1{font-size:19px;font-weight:500;line-height:1.45;letter-spacing:-.011em;
  text-wrap:pretty;transition:color .5s ease}
/* A clean board celebrates once and then shuts up. That is the whole gamification spine. */
.marquee.clean h1{animation:celebrate 1.5s var(--ease)}
@keyframes celebrate{0%{color:var(--i)}28%{color:var(--g)}100%{color:var(--i)}}

/* ── sections ───────────────────────────────────────────────────────────── */
section{padding:22px 0;border-bottom:1px solid var(--l)}
section:last-of-type{border-bottom:0}
.lab{display:flex;align-items:center;gap:10px;margin-bottom:14px;padding-bottom:9px;
  border-bottom:1px solid var(--l2);
  font-size:11.5px;font-weight:600;letter-spacing:.15em;text-transform:uppercase;color:var(--g)}
.lab .tick{width:5px;height:5px;background:var(--g);flex:0 0 auto;transform:rotate(45deg)}
.lab .count{margin-left:auto;font-family:var(--mono);font-size:10.5px;letter-spacing:.05em;
  color:var(--f);text-transform:none;font-weight:400;font-variant-numeric:tabular-nums}

/* ── needs-you cards ────────────────────────────────────────────────────── */
/* Checking one off collapses its own row; the list closes the gap itself. */
.slot{display:grid;grid-template-rows:1fr;margin-bottom:11px;
  transition:grid-template-rows .42s var(--ease),opacity .34s ease}
.slot.go{grid-template-rows:0fr;opacity:0}
.slot:last-of-type{margin-bottom:0}
.card{display:grid;grid-template-columns:38px 1fr;background:var(--r);
  border:1px solid var(--a-line);min-height:0;overflow:hidden;
  background-image:linear-gradient(180deg,rgba(224,169,95,.045),transparent 62%)}
.slot.go .card{border-color:transparent}
/* The rail: what the card is, and which item it is. Both are readings, not decoration. */
.card .gut{border-right:1px solid rgba(224,169,95,.30);padding:15px 0;display:flex;
  flex-direction:column;align-items:center;gap:8px;color:var(--a)}
.card .gut .icon{width:14px;height:14px}
.card .gut .id{font-family:var(--mono);font-size:10px;font-variant-numeric:tabular-nums}
.card .body{padding:15px 16px}
.card .headline{font-size:16px;font-weight:600;line-height:1.42;letter-spacing:-.008em;
  text-wrap:pretty}

/* Receipts and hedges are prose. They are read, so they are set to be read. */
.receipt{font-size:14px;color:var(--m);line-height:1.6;margin-top:9px;text-wrap:pretty}
.humble{font-size:13.5px;color:var(--f);line-height:1.58;margin-top:9px;
  padding-left:11px;border-left:1px solid var(--l);text-wrap:pretty}

/* The trail (2026-09-28): the evidence behind a short card, closed until he opens it. Quiet on
   purpose — a small mono label, not a chip, so it never competes with the one action. */
.trail{display:block;margin-top:2px;font-weight:400}
.trail>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--f);min-height:44px;padding:0 12px 0 0}
.trail>summary::-webkit-details-marker{display:none}
.trail>summary::before{content:"+";display:inline-block;width:9px}
.trail[open]>summary::before{content:"\2212"}
.trail>summary:hover{color:var(--m)}
.trail-body{font-size:13.5px;color:var(--m);line-height:1.6;margin-top:6px;padding-left:11px;
  border-left:1px solid var(--l);text-wrap:pretty;overflow-wrap:anywhere}
.trail-body p,.trail-body ul,.trail-body ol{margin:0 0 7px}
.trail-body ul,.trail-body ol{padding-left:18px}
.trail-body code{font-family:var(--mono);background:var(--c);border:1px solid var(--l);
  padding:.08em .34em;font-size:.9em;color:var(--i)}
.trail-body a{color:var(--a)}

/* ── chips ──────────────────────────────────────────────────────────────── */
.actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}
/* Every chip is at least 44px tall (2026-10-04): the old 30-35px chips were a near-miss away
   from the one beside them on a phone. */
.chip{border:1px solid var(--l);color:var(--m);padding:8px 12px;font-size:13px;
  font-weight:500;line-height:1.3;text-align:left;min-height:44px;
  display:inline-flex;align-items:center;
  transition:color .14s,border-color .14s,background .14s,transform .1s var(--ease)}
.chip:hover{color:var(--i);border-color:var(--f)}
.chip:active{transform:scale(.975)}
.chip.do{color:var(--a);border-color:var(--a-line)}
.chip.do:hover{background:var(--a-soft);border-color:var(--a)}
.chip.typein{color:var(--f);border-style:dashed}
.chip.typein:hover{color:var(--m)}
.chip[disabled]{cursor:default;color:var(--f);border-color:var(--l);transform:none}
/* The one-tap outs sit below a rule: they are the way out, not the thing to do. */
.outs{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px;padding-top:11px;
  border-top:1px solid var(--l2)}
.outs .chip{font-size:12px;padding:6px 10px;color:var(--f)}
.outs .chip:hover{color:var(--m)}

/* Honest about latency: a tap is queued, never done. */
.qtag{display:block;margin-top:12px;font-size:13.5px;color:var(--g);line-height:1.5;
  text-wrap:pretty}

.cleared{display:none;align-items:center;gap:11px;padding:15px;border:1px dashed var(--l);
  color:var(--m);font-size:14.5px}
.cleared.show{display:flex;animation:rise .42s var(--ease) both}
.cleared .icon{width:16px;height:16px;color:var(--g);flex:0 0 auto;stroke-width:2}

/* ── typed answers ──────────────────────────────────────────────────────── */
.answer-row{display:none;gap:8px;margin-top:10px}
.answer-row.open{display:flex}
.answer-row input{flex:1;min-width:0;font-family:var(--sans);font-size:16px;
  background:var(--c);border:1px solid var(--l);color:var(--i);padding:10px 12px;
  caret-color:var(--g)}
.answer-row input::placeholder{color:var(--f)}
.answer-row input:focus{outline:none;border-color:var(--f)}
.answer-row button{border:1px solid var(--l);color:var(--m);padding:0 15px;
  font-size:13px;font-weight:500;transition:color .14s,border-color .14s}
.answer-row button:hover{color:var(--i);border-color:var(--f)}
.answer-row button[disabled]{cursor:default;color:var(--f)}

/* ── to-dos ─────────────────────────────────────────────────────────────── */
.todo{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--l2);
  cursor:pointer;-webkit-tap-highlight-color:transparent}
.todo:last-of-type{border-bottom:0}
/* A question is not a checkbox: only the box checks it off, so a near-miss on a chip
   cannot silently mark it done. */
.todo.has-actions{cursor:default}
.todo.has-actions .box{cursor:pointer}
.box{flex:0 0 auto;margin-top:2px;width:17px;height:17px;border:1.4px solid var(--f);
  display:flex;align-items:center;justify-content:center;color:transparent;position:relative;
  transition:color .2s,border-color .2s}
/* The box stays 17px to the eye but answers a 45px thumb (2026-10-04). On a to-do that asks a
   question it is the ONLY way to check it off, so it was the worst target on the page. */
.box::after{content:"";position:absolute;inset:-14px}
.todo.mine-claude .box{border-style:dashed;border-color:var(--a-line)}
.todo:hover .box{border-color:var(--g)}
.box .icon{width:12px;height:12px;stroke-width:2}
.todo .txt{flex:1;min-width:0;font-size:15px;line-height:1.45;font-weight:500;
  text-wrap:pretty;transition:color .3s,opacity .3s}
.todo .receipt,.todo .humble,.todo .qtag{display:block;font-weight:400}
.todo .actions{display:flex}
.todo .answer-row{display:none}
.todo .answer-row.open{display:flex}
.todo.done .box{color:var(--g);border-color:var(--g)}
.todo.done .txt{color:var(--f);text-decoration:line-through;
  text-decoration-color:var(--f);opacity:.75}
.offer-tag{display:flex;width:fit-content;align-items:center;gap:5px;margin-top:7px;
  font-family:var(--mono);font-size:10px;letter-spacing:.09em;text-transform:uppercase;
  color:var(--a)}
.offer-tag .icon{width:9px;height:9px}
/* the bridge chip on a suggestion row — quiet, below the words */
.tolist-row{display:block;margin-top:9px}
/* a row that just went to his list, or was handled — same exit as a needs card */
.todo.go,.ready-item.go{opacity:0;transition:opacity .34s ease}

/* ── your list — his own Todoist, mirrored read-only ────────────────────── */
/* Deliberately NOT the board's card language: no amber border, no chips, no outs. These are
   his own jots; the Booth shows them and keeps its hands off. Rows open the task in Todoist —
   checking off happens there, never here. */
.yl{display:flex;gap:11px;padding:11px 0;border-bottom:1px solid var(--l2);
  align-items:baseline;text-decoration:none;color:var(--i);
  -webkit-tap-highlight-color:transparent}
.yl:last-of-type{border-bottom:0}
.yl:hover .yl-txt,.yl:focus-visible .yl-txt{color:var(--g)}
.yl-dot{width:5px;height:5px;border-radius:50%;background:var(--f);flex:0 0 auto;
  align-self:center}
.yl-dot.p3{background:var(--a)}
.yl-dot.p4{background:var(--rust)}
.yl-txt{flex:1;min-width:0;font-size:15px;line-height:1.45;font-weight:500;
  text-wrap:pretty;transition:color .14s}
.yl-proj{font-family:var(--mono);font-size:10px;color:var(--f);letter-spacing:.07em;
  text-transform:uppercase;border:1px solid var(--l);padding:1px 5px;margin-left:8px;
  vertical-align:1px}
.yl-due{flex:0 0 auto;font-family:var(--mono);font-size:11.5px;color:var(--f);
  font-variant-numeric:tabular-nums;text-align:right}
.yl-due.today{color:var(--g)}
.yl-due.overdue{color:var(--a)}
.yl-why{display:block;font-family:var(--mono);font-size:11px;font-weight:400;color:var(--f);
  line-height:1.4;margin-top:2px}
/* Ticked off for you (2026-10-03): quiet lines under his list, each with its own Undo. */
.tk-lab{font-family:var(--mono);font-size:10px;color:var(--f);letter-spacing:.07em;
  text-transform:uppercase;margin:14px 0 2px}
.tk{display:flex;gap:11px;align-items:baseline;padding:9px 0;border-bottom:1px solid var(--l2)}
.tk:last-child{border-bottom:0}
.tk-mark{color:var(--g);flex:0 0 auto;font-size:13px}
.tk-txt{flex:1;min-width:0;font-size:14px;line-height:1.45;color:var(--f)}
.tk-c{text-decoration:line-through;text-decoration-color:var(--l)}
.tk-ev{display:block;font-family:var(--mono);font-size:11px;margin-top:2px}
.tk-undo{flex:0 0 auto}
.offer-link{color:inherit;text-decoration:underline;text-underline-offset:2px}
.tk.undone .tk-c{text-decoration:none;color:var(--i)}

/* ── the numbers — the instrument block ─────────────────────────────────── */
/* The glance, not a report: no targets, no trend arrows, no counts of undone things. */
.biz{margin-bottom:16px}
.biz:last-child{margin-bottom:0}
.who{display:flex;align-items:baseline;gap:8px;font-family:var(--mono);font-size:10.5px;
  letter-spacing:.15em;text-transform:uppercase;color:var(--f);padding-bottom:7px;
  border-bottom:1px solid var(--l2);margin-bottom:4px}
.stale{color:var(--a);border:1px solid var(--a-line);padding:1px 5px;font-size:9px;
  letter-spacing:.1em}
.numbers .row{display:flex;align-items:baseline;padding:6px 0;font-size:14px}
.numbers .row .k{color:var(--m);flex:0 1 auto;max-width:52%}
.numbers .row .lead{flex:1 1 auto;margin:0 7px;border-bottom:1px dotted var(--l);
  transform:translateY(-3px);min-width:14px}
/* A value like "Gregg Allman — Thu 3 Sep, 44 sold" is longer than a phone is wide, so it
   wraps rather than running off the edge. Short readings still sit on one line and stay
   column-aligned, which is the whole point of the tabular figures. */
.numbers .row .v{flex:0 1 auto;min-width:0;font-family:var(--mono);font-size:13px;
  color:var(--i);font-variant-numeric:tabular-nums;text-align:right;line-height:1.45}

/* ── ready — history, folded ────────────────────────────────────────────── */
/* READY is what already happened. It gets one line each and stays out of the way of the
   thing that wants his hands; the first is open so the page is never a wall of shut doors. */
details.ready-item{border:1px solid var(--l);background:var(--r);margin-bottom:9px}
details.ready-item:last-of-type{margin-bottom:0}
details.ready-item>summary{list-style:none;cursor:pointer;padding:13px 15px;display:flex;
  gap:11px;align-items:flex-start;transition:background .14s}
details.ready-item>summary::-webkit-details-marker{display:none}
details.ready-item>summary:hover{background:var(--r2)}
.ready-item .done{flex:0 0 auto;margin-top:3px;color:var(--g)}
.ready-item .done .icon{width:13px;height:13px;stroke-width:2}
.ready-item .done-line{flex:1;font-size:14.5px;line-height:1.45;font-weight:500;
  text-wrap:pretty}
.ready-item .chev{flex:0 0 auto;margin-top:4px;color:var(--f);
  transition:transform .22s var(--ease)}
.ready-item .chev .icon{width:13px;height:13px}
details.ready-item[open] .chev{transform:rotate(180deg)}
.ready-item .inner{padding:0 15px 15px 41px}
.ready-item .inner>.receipt:first-child{margin-top:0}
.rate{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px;padding-top:11px;
  border-top:1px solid var(--l2);align-items:center}
.rate .rlab{font-size:12px;color:var(--f);margin-right:3px}
.rate .chip{font-size:12px;padding:6px 10px;color:var(--f);display:inline-flex;
  align-items:center;gap:6px}
.rate .chip .icon{width:12px;height:12px}

/* ── what I've learned ──────────────────────────────────────────────────── */
/* Reflection as reward, zero homework. No counts, no badges, no streaks. */
.learned .digest{background:var(--r);border:1px solid var(--l);padding:15px 16px;
  font-size:14px;line-height:1.65;color:var(--m);white-space:pre-line;text-wrap:pretty}

/* ── ledger — the undo surface ──────────────────────────────────────────── */
.ledger .row{display:flex;gap:13px;padding:10px 0;border-bottom:1px solid var(--l2);
  font-size:14px}
.ledger .row:last-child{border-bottom:0}
.ledger .t{flex:0 0 auto;font-family:var(--mono);font-size:12px;color:var(--f);
  font-variant-numeric:tabular-nums;padding-top:2px}
.ledger .d{flex:1;color:var(--m);line-height:1.5;text-wrap:pretty}
.ledger .undo{flex:0 0 auto;font-size:12px;color:var(--rust);padding:0 10px;min-height:44px;
  margin:-10px 0;border:1px solid transparent;transition:border-color .14s}
.ledger .undo[disabled]{cursor:default;color:var(--f)}
.ledger .undo-asked{flex:0 0 auto;white-space:nowrap;font-size:12px;color:var(--g);line-height:1.45;text-align:right}
.ledger .undo:hover,.ledger .undo:focus-visible{border-color:var(--rust)}

.empty{color:var(--f);font-size:14px}

footer{padding-top:16px;margin-top:22px;border-top:1px solid var(--l);
  font-family:var(--mono);font-size:10.5px;letter-spacing:.09em;text-transform:uppercase;
  color:var(--f);display:flex;flex-wrap:wrap;gap:5px 18px}
footer .k{color:var(--m)}

/* ── enter (device secret) ──────────────────────────────────────────────── */
.enter{max-width:400px;margin:0 auto;padding:70px 22px}
.enter .mark{font-family:var(--mono);font-weight:700;font-size:13px;letter-spacing:.13em;
  margin-bottom:34px}
.enter h1{font-size:21px;font-weight:600;line-height:1.35;margin-bottom:10px;
  letter-spacing:-.012em;text-wrap:balance}
.enter p{font-size:14.5px;color:var(--m);line-height:1.6;margin-bottom:22px}
.enter form{display:flex;flex-direction:column;gap:12px}
.enter input{font-family:var(--sans);font-size:16px;background:var(--r);
  border:1px solid var(--l);color:var(--i);padding:13px 14px;caret-color:var(--g)}
.enter input:focus{outline:none;border-color:var(--f)}
.enter button{font-size:14px;font-weight:600;color:var(--a);border:1px solid var(--a-line);
  padding:13px;transition:background .14s,transform .1s var(--ease)}
.enter button:hover{background:var(--a-soft);border-color:var(--a)}
.enter button:active{transform:scale(.99)}
.enter .err{color:var(--rust);font-size:13.5px;margin-top:2px}
.enter .hint{color:var(--f);font-size:13px;margin-top:6px;line-height:1.55}

/* ── settings ───────────────────────────────────────────────────────────── */
.tokenbox{margin:12px 0 4px;padding:12px 13px;background:var(--c);border:1px solid var(--l);
  font-family:var(--mono);font-size:12.5px;line-height:1.6;color:var(--a);word-break:break-all;
  user-select:all;-webkit-user-select:all}
.card code,.doc code,.humble code{font-family:var(--mono);background:var(--c);
  border:1px solid var(--l);padding:.08em .34em;font-size:.9em;color:var(--i)}
.pinglimits{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:12px 0 10px}
.pinglimits label{display:flex;flex-direction:column;gap:6px;font-size:10.5px;
  letter-spacing:.14em;text-transform:uppercase;color:var(--f)}
.pinglimits input{width:78px;background:var(--c);border:1px solid var(--l);color:var(--i);
  font-family:var(--mono);font-size:15px;padding:8px 9px;text-align:center;
  font-variant-numeric:tabular-nums}
.pinglimits input:focus{outline:none;border-color:var(--f)}
.ctxlist{list-style:none}
.ctxlist li{display:flex;justify-content:space-between;align-items:baseline;gap:12px;
  padding:8px 0;border-bottom:1px solid var(--l2);font-size:14px}
.ctxlist li:last-child{border-bottom:0}
.ctxname{color:var(--i)}
.ctxmeta{font-family:var(--mono);color:var(--f);font-size:11px;text-align:right;
  white-space:nowrap;font-variant-numeric:tabular-nums}
/* The settings page is a stack of plain panels, not needs-cards; it has no rail. */
.panel{background:var(--r);border:1px solid var(--l);padding:16px;margin-bottom:12px}
.panel h2{font-size:11.5px;font-weight:600;letter-spacing:.15em;text-transform:uppercase;
  color:var(--g);margin-bottom:11px}
.panel-note{font-size:14px;color:var(--m);line-height:1.6;text-wrap:pretty}
.panel-note strong{color:var(--i);font-weight:600}

/* ── the reading room — the context files ───────────────────────────────── */
.readnote{margin:0 0 22px;font-size:14px;color:var(--m);line-height:1.6;
  padding-left:0;border-left:0;text-wrap:pretty}
.readnote strong{color:var(--i);font-weight:600}
.ctxcards{list-style:none;display:grid;gap:10px;margin-bottom:26px}
.ctxcard{display:block;text-decoration:none;color:inherit;background:var(--r);
  border:1px solid var(--l);padding:14px 15px;transition:border-color .16s,background .16s}
.ctxcard:hover,.ctxcard:focus-visible{border-color:var(--f);background:var(--r2)}
.ctxcard-top{display:flex;align-items:baseline;gap:10px}
.ctxcard-name{font-family:var(--mono);color:var(--i);font-size:13.5px;letter-spacing:.02em}
.ctxcard-v{margin-left:auto;font-family:var(--mono);color:var(--f);font-size:11px;
  font-variant-numeric:tabular-nums}
.ctxcard-sum{color:var(--m);font-size:14px;line-height:1.55;margin-top:7px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ctxcard-meta{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:10px;font-family:var(--mono);
  font-size:10.5px;letter-spacing:.06em;color:var(--f);font-variant-numeric:tabular-nums}
.meter{display:block;height:2px;background:var(--l);margin-top:11px;overflow:hidden}
.meter-fill{display:block;height:100%;background:var(--f)}
.meter-fill.over{background:var(--a)}
.tag-always{color:var(--g)}
.tag-indexed,.tag-over{color:var(--a)}
.ctxbar{display:flex;flex-wrap:wrap;gap:5px 14px;font-family:var(--mono);font-size:10.5px;
  letter-spacing:.06em;text-transform:uppercase;color:var(--f);
  border-bottom:1px solid var(--l);padding-bottom:12px;margin-bottom:20px;
  font-variant-numeric:tabular-nums}
.oldbanner{background:var(--a-soft);border:1px solid var(--a-line);padding:12px 14px;
  margin-bottom:18px;font-size:14px;line-height:1.55;color:var(--a)}
.jump{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:24px}
.jump a{font-size:12.5px;color:var(--m);text-decoration:none;border:1px solid var(--l);
  padding:5px 10px;transition:color .14s,border-color .14s}
.jump a:hover,.jump a:focus-visible{color:var(--i);border-color:var(--f)}

/* the document itself */
.doc{color:var(--i);font-size:15.5px;line-height:1.7;background:var(--r);
  border:1px solid var(--l);padding:24px}
.doc>:first-child{margin-top:0}
.doc>:last-child{margin-bottom:0}
.doc h1,.doc h2,.doc h3,.doc h4{line-height:1.3;letter-spacing:-.01em;scroll-margin-top:16px}
.doc h1{font-size:20px;font-weight:600;margin:0 0 18px}
.doc h2{font-size:17px;font-weight:600;margin:34px 0 12px;padding-top:16px;
  border-top:1px solid var(--l)}
.doc h3{font-size:11.5px;font-weight:600;margin:24px 0 9px;color:var(--g);
  letter-spacing:.15em;text-transform:uppercase}
.doc h4{font-size:14.5px;font-weight:600;margin:19px 0 8px}
.doc p{margin:0 0 15px;color:var(--m);text-wrap:pretty}
.doc strong{color:var(--i);font-weight:600}
.doc em{font-style:italic}
.doc pre{background:var(--c);border:1px solid var(--l);padding:14px 15px;overflow-x:auto;
  margin:0 0 16px}
.doc pre code{background:none;border:0;padding:0;font-size:12.5px;line-height:1.6;
  color:var(--m)}
.doc hr{border:0;border-top:1px solid var(--l);margin:28px 0}
.doc ul,.doc ol{margin:0 0 16px;padding-left:20px;color:var(--m)}
.doc li{margin-bottom:7px;text-wrap:pretty}
.doc li::marker{color:var(--f)}
.doc ul ul{margin:7px 0 0}
.doc .tablewrap{overflow-x:auto;margin:0 0 18px;border:1px solid var(--l)}
.doc table{border-collapse:collapse;width:100%;min-width:440px;font-size:13.5px;
  line-height:1.55}
.doc th,.doc td{text-align:left;vertical-align:top;padding:10px 12px;
  border-bottom:1px solid var(--l);color:var(--m)}
.doc thead th{background:var(--r2);color:var(--f);font-weight:600;font-size:10.5px;
  font-family:var(--mono);letter-spacing:.1em;text-transform:uppercase;white-space:nowrap}
.doc tbody tr:last-child td{border-bottom:0}

.vlist{list-style:none;display:grid;gap:1px;background:var(--l);border:1px solid var(--l);
  margin:10px 0 18px;overflow:hidden}
.vlist li{display:flex;align-items:baseline;gap:12px;background:var(--r);padding:9px 13px}
.vlist a{font-family:var(--mono);color:var(--m);text-decoration:none;
  font-variant-numeric:tabular-nums;min-width:3.4em}
.vlist a:hover,.vlist a:focus-visible{color:var(--i)}
.vlist a.here{color:var(--a)}
.vmeta{font-family:var(--mono);color:var(--f);font-size:10.5px;letter-spacing:.06em}
a.ctxname{text-decoration:none}
a.ctxname:hover,a.ctxname:focus-visible{text-decoration:underline;color:var(--a)}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important}
  .slot{transition:opacity .2s ease}
}

/* ---- made for you (2026-09-02) ---- */
.made-item .made-ic{color:var(--a)}
.made-item .made-ic .icon{width:13px;height:13px}
.made-item .actions a.chip,.actions a.chip{text-decoration:none;display:inline-flex;align-items:center}
.pages{display:grid;gap:9px;margin-top:14px}
.pagecard{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid var(--l);
  background:var(--r);padding:13px 15px;color:var(--i);text-decoration:none;font-size:15px;font-weight:500}
.pagecard:hover{background:var(--r2);border-color:var(--f)}
.pagecard .meta{font-family:var(--mono);font-size:10.5px;letter-spacing:.05em;color:var(--f);white-space:nowrap}
.caption{white-space:pre-wrap;font-size:15px;line-height:1.6;color:var(--i);background:var(--r);
  border:1px solid var(--l);padding:14px 15px;margin-top:14px;text-wrap:pretty}
.hint{font-size:13.5px;color:var(--f);margin-top:12px;line-height:1.55}
.outs{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.lanes .lane{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:10px}
.lanes .lname{font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--m);min-width:74px}
.lanes .lused{font-family:var(--mono);font-size:10.5px;color:var(--f);margin-left:auto}

/* ---- the tabs (2026-10-04) ----
   Five panes, one showing at a time, the bar at the bottom where a thumb reaches. All of this
   only applies once booth.js adds .tabs-on: without JS the page is the old long scroll and the
   bar stays hidden. No badges, no dots, no counts on a tab — anti-nag rule 4. */
.tabs-on .pane:not(.on){display:none}
.tabs-on .wrap{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
.pane>section:last-of-type{border-bottom:0}
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:20;display:flex;
  justify-content:center;background:rgba(20,21,15,.94);border-top:1px solid var(--l);
  padding:4px max(6px,env(safe-area-inset-left)) calc(4px + env(safe-area-inset-bottom))
          max(6px,env(safe-area-inset-right));
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.tabbar[hidden]{display:none}
.tabbar button{flex:1;max-width:104px;min-height:54px;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:4px;color:var(--f);font-size:11px;
  font-weight:600;letter-spacing:.04em;transition:color .14s}
.tabbar button .icon{width:22px;height:22px}
.tabbar button[aria-selected="true"]{color:var(--i)}
.tabbar button[aria-selected="true"] .icon{color:var(--g)}
.tabbar button:active .icon{transform:scale(.92)}
/* A tap that never reached the Booth says so on the button itself (2026-10-04). */
.chip.failed,.undo.failed,.answer-row button.failed{color:var(--rust);border-color:var(--rust)}
.tapfail{display:block;margin-top:6px;font-size:13px;font-weight:400;color:var(--rust)}
.box.failed-box{border-color:var(--rust)}
