Files
roast-room/app/public/styles.css
T
Nate HerkandClaude Opus 5.5 8891669056 Rebrand to Roast Room; add waiting card, guide, and verdict PDF
- /founder-council is now /roast-room (skill folder, README, CLAUDE.md, package name)
- Room shows a waiting card between rounds: round, elapsed time, what each
  advisor is weighing, and a nudge to check Claude Code after 4 minutes
- Idle side panel is a getting-started guide: steps, what to put in your
  question, and a copyable example
- Download PDF on the verdict and in Past sessions: a two-page branded report
  built in the browser (vendored jsPDF, Montserrat subset), nothing to install
- .claude/settings.json pre-allows writes to sessions/ and the quote check,
  so a council runs without a stream of permission prompts
- Quote check falls back to searching the brains when Python is missing

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 19:56:37 -05:00

497 lines
34 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* AI Automation Society. Brand guidelines v1 (Oct 2026): Montserrat only, dark blue grounds,
black and white lead, AIS Blue #37bdf8 as the accent only, no blue fills or gradients. */
:root {
--canvas: #07121c;
--surface: #0a1824;
--surface-2: #0d2031;
--surface-3: #16293a;
--hairline: rgba(255, 255, 255, 0.08);
--hairline-strong: rgba(255, 255, 255, 0.16);
--ink: #ffffff;
--ink-soft: #c9d1dc;
--ink-mute: #96a2b5;
--accent: #37bdf8;
--accent-deep: #37bdf8;
--accent-soft: rgba(55, 189, 248, 0.12);
--go: #3fcf8e;
--amend: #ff9025;
--dissent: #ff5a4f;
--font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
--font-text: "Montserrat", "Helvetica Neue", Arial, sans-serif;
--track-head: -0.04em;
--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
--r: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
background: var(--canvas);
color: var(--ink-soft);
font: 400 14.5px/1.55 var(--font-text);
min-height: 100vh;
-webkit-font-smoothing: antialiased;
font-variant-numeric: tabular-nums;
}
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.muted { color: var(--ink-mute); }
::selection { background: rgba(55, 189, 248, 0.3); color: var(--ink); }
* { caret-color: var(--accent); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #21252b; border-radius: 999px; border: 3px solid transparent; background-clip: content-box; }
/* ---------------- top bar ---------------- */
.topbar {
display: flex; align-items: center; gap: 24px; padding: 12px 24px;
border-bottom: 1px solid var(--hairline); background: rgba(7, 18, 28, 0.86); backdrop-filter: blur(10px);
position: sticky; top: 0; z-index: 40;
}
.brand { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.brand-logo { height: 26px; width: auto; display: block; }
.brand-rule { width: 1px; height: 22px; background: var(--hairline-strong); }
.brand-name { font: 500 15px/1 var(--font-display); color: var(--ink); letter-spacing: -0.02em; }
.stepper { display: flex; gap: 2px; list-style: none; margin: 0 auto; padding: 0; }
.stepper li {
font-size: 12.5px; font-weight: 500; color: var(--ink-mute);
padding: 6px 12px; border-radius: 999px; display: flex; align-items: center; gap: 7px; white-space: nowrap;
transition: color .3s, background .3s;
}
.stepper li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--surface-3); transition: background .3s; }
.stepper li.done { color: var(--ink-soft); }
.stepper li.done::before { background: var(--accent); }
.stepper li.active { color: var(--ink); }
.stepper li.active::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(56, 189, 248, .25); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.usage { font-size: 12px; color: var(--ink-mute); }
.ghost {
background: transparent; border: 1px solid var(--hairline-strong); color: var(--ink-soft);
padding: 7px 14px; border-radius: 999px; font-weight: 500; font-size: 13px; transition: border-color .2s, color .2s;
}
.ghost:hover { border-color: var(--accent); color: var(--ink); }
/* ---------------- topic banner ---------------- */
.topic {
display: flex; gap: 28px; align-items: center; justify-content: space-between;
margin: 16px 24px 0; padding: 16px 22px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r);
}
.label { font-size: 11px; color: var(--ink-mute); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.topic h1 { font: 500 26px/1.15 var(--font-display); color: var(--ink); margin: 6px 0 6px; letter-spacing: var(--track-head); }
.topic p { margin: 0; color: var(--ink-soft); max-width: 72ch; font-size: 14px; }
.options { display: grid; gap: 8px; min-width: 300px; max-width: 440px; flex: 0 1 440px; }
.opt { display: grid; grid-template-columns: 26px 1fr 38px; gap: 10px; align-items: center; font-size: 13px; }
.opt .id { font: 700 13px/1 var(--font-display); width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-3); color: var(--ink-soft); }
.opt.lead .id { background: #ffffff; color: #07121c; }
.opt .label { color: var(--ink-soft); line-height: 1.3; font-weight: 400; font-size: 13px; text-transform: none; letter-spacing: 0; }
.opt .bar { grid-column: 2; height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; margin-top: -4px; }
.opt .bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 4px; transition: width .9s var(--ease-out); }
.opt .val { grid-row: 1 / span 2; grid-column: 3; font: 600 18px/1 var(--font-display); text-align: right; color: var(--ink); }
/* ---------------- layout ---------------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; padding: 16px 24px 28px; align-items: start; }
.stage-wrap { min-width: 0; }
/* ---------------- the stage ---------------- */
.stage {
position: relative; width: 100%; aspect-ratio: 16 / 9.4; max-height: calc(100vh - 120px); min-height: 520px;
border-radius: 20px; overflow: hidden; border: 1px solid var(--hairline);
background:
radial-gradient(70% 40% at 50% 52%, rgba(55, 189, 248, 0.07), transparent 70%),
linear-gradient(180deg, #0a1a28 0%, #07121c 60%, #050d15 100%);
}
.wall {
position: absolute; inset: 0; pointer-events: none;
background:
repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 120px),
linear-gradient(180deg, transparent 0 46%, rgba(56, 189, 248, 0.05) 46.2%, transparent 47%);
}
.spot {
position: absolute; width: 380px; height: 380px; border-radius: 50%; pointer-events: none; z-index: 2;
background: radial-gradient(circle, rgba(255, 255, 255, 0.10), rgba(55, 189, 248, 0.05) 45%, transparent 70%);
opacity: 0; transform: translate(-50%, -50%); transition: left .55s var(--ease-out), top .55s var(--ease-out), opacity .4s;
}
.spot.on { opacity: 1; }
/* seats: a cartoon bust per seat, behind the table edge */
.seat {
position: absolute; z-index: 10; transform-origin: 50% 100%;
transition: filter .45s, opacity .45s, transform .55s var(--ease-out);
cursor: pointer;
}
.seat .bust { position: relative; width: 100%; height: 100%; transform-origin: 50% 90%; animation: breathe 5.5s ease-in-out infinite; }
.seat .bust img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; user-select: none; }
.seat .bust[data-shape="base"] img.base,
.seat .bust[data-shape="open"] img.open,
.seat .bust[data-shape="mid"] img.mid,
.seat .bust[data-shape="blink"] img.blink { opacity: 1; }
@keyframes breathe { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-1px) scale(1.006); } }
.stage.live .seat { filter: brightness(.62) saturate(.8); }
.stage.live .seat.speaking { filter: none; z-index: 25 !important; }
.stage.live .seat.addressed { filter: brightness(.9); }
.seat.speaking .bust { animation: talk 1.6s ease-in-out infinite; }
@keyframes talk {
0%, 100% { transform: translateY(0) rotate(0); }
25% { transform: translateY(-3px) rotate(-1.2deg); }
50% { transform: translateY(-1px) rotate(.6deg); }
75% { transform: translateY(-4px) rotate(1.1deg); }
}
.seat.absent { opacity: .2; filter: grayscale(1) brightness(.5) !important; }
.seat:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
/* thinking dots over a head */
.think {
position: absolute; left: 50%; top: 2%; translate: -50% -100%; display: none; gap: 4px; padding: 7px 10px;
background: var(--surface-2); border: 1px solid var(--hairline-strong); border-radius: 999px; z-index: 3;
}
.seat.thinking .think { display: flex; }
.think i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: bob 1.1s infinite ease-in-out; }
.think i:nth-child(2) { animation-delay: .15s; }
.think i:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); opacity: .45; } 50% { transform: translateY(-4px); opacity: 1; } }
/* vote stamp on the chest */
.vote {
position: absolute; left: 50%; bottom: 30%; translate: -50% 0; rotate: -8deg; z-index: 4;
font: 800 12px/1 var(--font-display); letter-spacing: .08em; padding: 6px 9px; border-radius: 7px; border: 2px solid currentColor;
background: rgba(7, 18, 28, .9); animation: stamp .45s cubic-bezier(.2, 1.6, .4, 1) both;
}
.vote.endorse { color: var(--go); }
.vote.amend { color: var(--amend); }
.vote.dissent { color: var(--dissent); }
@keyframes stamp { from { opacity: 0; scale: 2.2; } }
/* the table */
.table {
position: absolute; z-index: 30; border-radius: 50%; pointer-events: none;
background:
radial-gradient(70% 60% at 50% 30%, #11263a 0%, #0b1a29 55%, #07121c 100%);
box-shadow:
inset 0 1.5px 0 rgba(255, 255, 255, 0.22),
inset 0 18px 40px rgba(255, 255, 255, 0.03),
0 -18px 70px rgba(55, 189, 248, 0.07);
}
.table .etch { position: absolute; left: 50%; top: 30%; width: 11%; translate: -50% -50%; opacity: .06; }
/* nameplates on the table edge */
.nameplate {
position: absolute; z-index: 32; translate: -50% -50%; text-align: center; cursor: pointer;
background: rgba(7, 18, 28, .86); border: 1px solid var(--hairline-strong); border-radius: 10px; padding: 5px 10px 6px;
min-width: 96px; backdrop-filter: blur(6px); transition: border-color .3s, opacity .4s, box-shadow .3s;
}
.nameplate b { display: block; font: 600 13px/1.15 var(--font-display); color: var(--ink); white-space: nowrap; }
.nameplate small { display: block; font-size: 10.5px; color: var(--ink-mute); white-space: nowrap; }
.nameplate .meta { display: flex; gap: 5px; justify-content: center; align-items: center; margin-top: 4px; }
.nameplate .meta:not(:has(.chip:not([hidden]), .score:not([hidden]), .pips i)) { display: none; }
.stage.live .nameplate small, .stage:has(.chip:not([hidden])) .nameplate small { display: none; }
.nameplate.speaking { border-color: #ffffff; }
.nameplate.absent { opacity: .3; }
.pips { display: inline-flex; gap: 3px; }
.pips i { width: 5px; height: 5px; border-radius: 50%; background: var(--surface-3); }
.pips i.on { background: var(--accent); }
.chip { max-width: 84px; overflow: hidden; text-overflow: ellipsis; font-size: 10.5px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--surface-3); color: var(--ink-soft); white-space: nowrap; }
.chip.endorse { color: var(--go); } .chip.amend { color: var(--amend); } .chip.dissent { color: var(--dissent); }
.score { white-space: nowrap; font: 600 11px/1 var(--font-display); padding: 3px 6px; border-radius: 6px; background: var(--surface-3); color: var(--ink); }
/* rebuttal arcs */
.links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 34; }
.links path { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 7 7; animation: dash 1.1s linear infinite; }
.links path.old { opacity: .28; }
@keyframes dash { to { stroke-dashoffset: -28; } }
/* the middle of the table: composer, captions, fault lines, verdict plate */
.center { position: absolute; z-index: 36; display: grid; place-items: start center; }
.composer { width: min(620px, 100%); display: grid; gap: 10px; text-align: center; }
.composer h2 { font: 500 clamp(20px, 2vw, 28px)/1.15 var(--font-display); margin: 0; color: var(--ink); letter-spacing: var(--track-head); }
.composer textarea {
width: 100%; resize: vertical; min-height: 72px; max-height: 200px; border-radius: 12px; border: 1px solid var(--hairline-strong);
background: rgba(8, 10, 14, .78); color: var(--ink); padding: 11px 14px; font: 14px/1.45 var(--font-text); outline: none;
}
.composer textarea::placeholder { color: var(--ink-mute); }
.composer textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(56, 189, 248, .18); }
.samples { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.samples button {
background: rgba(255, 255, 255, .04); color: var(--ink-soft); border: 1px solid var(--hairline-strong);
border-radius: 999px; padding: 4px 11px; font-size: 12px; transition: border-color .2s, color .2s;
}
.samples button:hover { border-color: var(--accent); color: var(--ink); }
.composer-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mode { display: flex; gap: 6px; }
.mode label { cursor: pointer; }
.mode input { position: absolute; opacity: 0; }
.mode span { display: block; text-align: left; padding: 6px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; border: 1px solid var(--hairline-strong); color: var(--ink-soft); background: rgba(8, 10, 14, .6); }
.mode small { display: block; font-weight: 400; font-size: 11px; color: var(--ink-mute); }
.mode input:checked + span { border-color: #ffffff; color: var(--ink); background: rgba(255, 255, 255, .06); }
.mode input:focus-visible + span { outline: 2px solid var(--accent); }
.convene {
background: #ffffff; color: #07121c; border: 0; border-radius: 999px; padding: 11px 22px; font-weight: 600; font-size: 14px;
transition: background .2s;
}
.convene:hover { background: #e6edf5; }
.convene:disabled { opacity: .6; cursor: progress; }
.caption { width: 100%; text-align: left; animation: rise .35s var(--ease-out) both; }
.cap-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cap-av { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--surface-3); flex: none; display: grid; place-items: center; border: 1px solid var(--hairline-strong); }
.cap-av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.cap-av.chair img { width: 70%; height: 70%; object-fit: contain; }
.cap-who { font: 600 15px/1.1 var(--font-display); color: var(--ink); }
.cap-tag { margin-left: auto; font-size: 10.5px; color: var(--ink-mute); font-weight: 600; text-align: right; text-transform: uppercase; letter-spacing: .1em; }
.cap-text { margin: 0; font: 500 clamp(16px, 1.5vw, 20px)/1.45 var(--font-display); color: var(--ink); letter-spacing: -0.02em; min-height: 3em; }
.cap-text .w { opacity: .14; transition: opacity .12s; }
.cap-text .w.on { opacity: 1; }
.cap-text.chair { color: var(--ink-soft); font-weight: 400; }
.cap-sub { margin-top: 8px; font-size: 12.5px; color: var(--ink-mute); min-height: 1em; }
.dots { display: inline-flex; gap: 4px; margin-left: 6px; vertical-align: middle; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: bob 1.1s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
.cruxes { display: grid; gap: 8px; width: 100%; text-align: left; }
.cruxes .head { font: 600 15px/1.25 var(--font-display); color: var(--ink); }
.cruxes .note { font-size: 13px; color: var(--ink-soft); margin-top: -2px; }
.crux { background: rgba(8, 10, 14, .7); border: 1px solid var(--hairline-strong); border-radius: 12px; padding: 9px 12px; animation: rise .5s var(--ease-out) both; }
.crux b { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 5px; font-weight: 600; }
.crux .sides { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.crux .side { font-size: 12px; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.crux .faces { display: inline-flex; }
.crux .faces img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; margin-right: -6px; border: 1.5px solid var(--surface); background: var(--surface-3); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.plate { display: grid; gap: 10px; justify-items: center; width: 100%; text-align: center; animation: rise .6s var(--ease-out) both; }
.plate p { margin: 0; font: 500 clamp(15px, 1.4vw, 18px)/1.38 var(--font-display); color: var(--ink); }
.plate .row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.plate .row button { background: #ffffff; color: #07121c; border: 0; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 13px; }
.plate .row button.alt { background: transparent; color: var(--ink); border: 1px solid var(--hairline-strong); }
/* playback controls */
.playbar {
position: absolute; z-index: 38; right: 14px; bottom: 12px; display: flex; gap: 8px; align-items: center;
background: rgba(7, 18, 28, .82); border: 1px solid var(--hairline); border-radius: 999px; padding: 4px 4px 4px 12px; backdrop-filter: blur(6px);
}
.playbar .queue { font-size: 11.5px; color: var(--ink-mute); white-space: nowrap; }
.speed { display: flex; gap: 2px; }
.speed button, .skip { background: transparent; border: 0; color: var(--ink-mute); font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 999px; }
.speed button[aria-pressed="true"] { background: #ffffff; color: #07121c; }
.skip { color: var(--ink-soft); border: 1px solid var(--hairline-strong); }
.skip:hover, .speed button:hover { color: var(--ink); }
/* ---------------- side panel ---------------- */
.panel { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r); position: sticky; top: 72px; max-height: calc(100vh - 92px); display: flex; flex-direction: column; overflow: hidden; }
.tabs { display: flex; border-bottom: 1px solid var(--hairline); }
.tabs button { flex: 1; background: none; border: 0; padding: 12px 8px; font-weight: 600; font-size: 13px; color: var(--ink-mute); border-bottom: 2px solid transparent; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tabs button:disabled { opacity: .4; cursor: default; }
.tabpanel { overflow-y: auto; padding: 14px 14px 20px; display: grid; gap: 10px; align-content: start; }
.empty { color: var(--ink-mute); font-size: 13.5px; padding: 18px 4px; }
.feed-phase { font: 600 10.5px/1 var(--font-text); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-mute); padding: 10px 0 2px; display: flex; align-items: center; gap: 8px; }
.feed-phase::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.feed-card { border: 1px solid var(--hairline); border-radius: 12px; padding: 10px 12px; background: var(--surface-2); cursor: pointer; animation: rise .35s var(--ease-out) both; transition: border-color .2s; }
.feed-card:hover { border-color: var(--accent); }
.feed-card .h { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13.5px; color: var(--ink); }
.av { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: var(--surface-3); flex: none; border: 1px solid var(--hairline-strong); }
.feed-card .h .r { margin-left: auto; font-size: 11px; color: var(--ink-mute); font-weight: 500; }
.feed-card p { margin: 7px 0 0; font-size: 13px; color: var(--ink-soft); }
.feed-card .q { font-size: 11.5px; color: var(--ink-mute); margin-top: 6px; }
.feed-note { font-size: 13px; background: var(--surface-2); border: 1px solid var(--hairline); border-radius: 12px; padding: 10px 12px; color: var(--ink-soft); }
.feed-note b { color: var(--ink); font-weight: 600; }
.feed-note ul { margin: 6px 0 0; padding-left: 18px; }
.brief-block h4 { margin: 12px 0 4px; font: 600 14px/1.2 var(--font-display); color: var(--ink); }
.brief-block p, .brief-block li { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 4px; }
.brief-block ul { padding-left: 18px; margin: 0; }
.wtable { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.wtable td { padding: 6px 4px; border-top: 1px solid var(--hairline); vertical-align: top; color: var(--ink-soft); }
.wtable td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
/* ---------------- dialogs ---------------- */
.card-dialog { border: 1px solid var(--hairline-strong); border-radius: 18px; padding: 22px 24px; width: min(660px, 92vw); max-height: 86vh; background: var(--surface); color: var(--ink-soft); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }
.card-dialog::backdrop { background: rgba(4, 6, 9, .66); backdrop-filter: blur(3px); }
.card-dialog pre { white-space: pre-wrap; font: 14px/1.6 var(--font-text); color: var(--ink-soft); margin: 10px 0 14px; }
.card-dialog h3 { font: 600 22px/1.2 var(--font-display); margin: 0 0 4px; color: var(--ink); }
.card-head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.card-head img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: var(--surface-3); border: 1px solid var(--hairline-strong); }
.qcheck { font-size: 12px; margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 4px; }
.qcheck li::before { content: "✓ "; color: var(--go); font-weight: 800; }
.qcheck li.bad::before { content: "? "; color: var(--dissent); }
.history { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.history button { width: 100%; text-align: left; background: var(--surface-2); color: var(--ink); border: 1px solid var(--hairline); border-radius: 10px; padding: 10px 12px; }
.history button:hover { border-color: var(--accent); }
.history small { display: block; color: var(--ink-mute); }
/* ---------------- verdict sheet ---------------- */
.sheet { position: fixed; inset: 0; z-index: 50; background: rgba(4, 6, 9, .7); display: grid; place-items: end center; overflow-y: auto; padding: 40px 16px 0; animation: fadein .3s both; }
@keyframes fadein { from { opacity: 0; } }
.sheet-inner { width: min(980px, 100%); background: var(--surface); border: 1px solid var(--hairline-strong); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 30px 36px 50px; animation: slideup .55s var(--ease-out) both; }
@keyframes slideup { from { transform: translateY(80px); opacity: 0; } }
.v-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.v-label { display: inline-block; font: 700 clamp(24px, 3.4vw, 38px)/1 var(--font-display); letter-spacing: -0.03em; padding: 10px 18px; border-radius: 14px; color: #04140b; background: var(--go); animation: stampbig .6s .2s cubic-bezier(.2, 1.5, .4, 1) both; margin-top: 6px; }
.v-label.reshape, .v-label.wait { background: var(--amend); color: #1c1203; }
.v-label.dont { background: var(--dissent); color: #1e0505; }
@keyframes stampbig { from { transform: scale(1.6) rotate(-6deg); opacity: 0; } }
.v-call { font: 500 clamp(18px, 1.9vw, 22px)/1.4 var(--font-display); margin: 18px 0 8px; color: var(--ink); letter-spacing: -0.03em; }
.v-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 22px; }
.v-stats span { background: var(--surface-2); border: 1px solid var(--hairline); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 500; color: var(--ink-soft); }
.v-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; }
.v-sec h3 { font: 600 16px/1.2 var(--font-display); margin: 0 0 10px; color: var(--ink); }
.v-sec ul, .v-sec ol { margin: 0; padding-left: 18px; }
.v-sec li { margin-bottom: 7px; font-size: 14px; color: var(--ink-soft); }
.v-sec li b { color: var(--ink); font-weight: 600; }
.v-sec .tag { font-size: 11.5px; color: var(--ink-mute); }
.v-wide { grid-column: 1 / -1; }
.v-opts { display: grid; gap: 10px; }
.scorecard { width: 100%; border-collapse: collapse; font-size: 13px; }
.scorecard th { text-align: left; font-size: 11.5px; font-weight: 600; color: var(--ink-mute); padding: 6px; border-bottom: 1px solid var(--hairline); }
.scorecard td { padding: 8px 6px; border-bottom: 1px solid var(--hairline); vertical-align: middle; color: var(--ink-soft); }
.scorecard td.n { font: 600 15px/1 var(--font-display); text-align: center; color: var(--ink); }
.scorecard .who { display: flex; gap: 8px; align-items: center; font-weight: 600; white-space: nowrap; color: var(--ink); }
.scorecard .line { font-size: 12.5px; }
.minority { background: var(--surface-2); border: 1px solid var(--hairline); border-radius: 14px; padding: 14px 16px; }
.minority .who { display: flex; gap: 8px; align-items: center; color: var(--ink); font-weight: 600; font-size: 13.5px; }
.minority q { font: 500 15px/1.45 var(--font-display); display: block; margin: 8px 0; color: var(--ink); }
.boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.box { border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 14px; background: var(--surface-2); font-size: 13.5px; color: var(--ink-soft); }
.box b { display: block; font: 600 14px/1.2 var(--font-display); color: var(--ink); margin-bottom: 4px; }
.v-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; gap: 12px; flex-wrap: wrap; }
.v-foot .muted { font-size: 12px; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--surface-3); color: var(--ink); border: 1px solid var(--hairline-strong); padding: 10px 16px; border-radius: 10px; z-index: 60; font-size: 13.5px; max-width: 90vw; }
.disclaimer { text-align: center; font-size: 11.5px; color: var(--ink-mute); margin: 0 0 18px; padding: 0 16px; }
/* ---------------- responsive ---------------- */
@media (max-width: 1220px) {
.layout { grid-template-columns: minmax(0, 1fr); }
.panel { position: static; max-height: 70vh; }
.stepper li { padding: 6px 8px; }
}
@media (max-width: 820px) {
.topbar { flex-wrap: wrap; gap: 10px; padding: 10px 16px; }
.stepper { order: 3; width: 100%; overflow-x: auto; margin: 0; }
.usage { display: none; }
.topic { flex-direction: column; align-items: stretch; margin: 12px 16px 0; padding: 14px 16px; }
.options { min-width: 0; max-width: none; flex: none; }
.layout { padding: 12px 16px 24px; }
body { overflow-x: hidden; }
.stage { aspect-ratio: auto; min-height: 0; max-height: none; overflow: visible; display: flex; flex-direction: column; }
.stage .scene { position: relative; }
.nameplate { min-width: 0; padding: 3px 6px 4px; border-radius: 8px; }
.nameplate small, .nameplate .meta .pips { display: none; }
.nameplate b { font-size: 11px; }
.center { position: relative !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; padding: 16px; border-top: 1px solid var(--hairline); background: var(--canvas); border-radius: 0 0 20px 20px; }
.composer-row { justify-content: center; }
.mode { flex-wrap: wrap; justify-content: center; }
.playbar { position: static; margin: 0 16px 14px; justify-content: space-between; align-self: stretch; }
.think { padding: 4px 6px; }
.think i { width: 4px; height: 4px; }
.v-grid, .boxes { grid-template-columns: 1fr; }
.sheet-inner { padding: 22px 18px 40px; }
.scorecard .line { display: none; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* AIS arrival: blocks fade and rise, headings type in per character */
.arrive { animation: rise 1s var(--ease-out) both; }
.typein .ch { display: inline-block; opacity: 0; filter: blur(6px); animation: chin .5s var(--ease-out) forwards; white-space: pre; }
@keyframes chin { to { opacity: 1; filter: blur(0); } }
/* viewer mode: waiting for a council started in Claude Code */
.waiting { display: grid; gap: 12px; justify-items: center; text-align: center; width: min(560px, 100%); }
.waiting h2 { font: 500 clamp(20px, 2vw, 28px)/1.15 var(--font-display); margin: 0; color: var(--ink); letter-spacing: var(--track-head); }
.waiting p { margin: 0; color: var(--ink-soft); font-size: 14px; max-width: 48ch; }
.waiting code { font: 600 13px/1 var(--font-text); color: var(--ink); background: var(--surface-2); border: 1px solid var(--hairline-strong); border-radius: 8px; padding: 7px 10px; }
.waiting .pulse { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.waiting .pulse i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: bob 1.6s infinite ease-in-out; }
.waiting .row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
/* simplified record and verdict */
.panel-head { padding: 14px 16px 12px; border-bottom: 1px solid var(--hairline); font: 600 11px/1 var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.feed-card { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; padding: 10px 12px; }
.feed-card .h { font-size: 13px; }
.feed-card p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.45; }
.feed-note b { font-weight: 600; }
.v-meta { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-mute); }
.v-meta b { color: var(--ink-soft); font-weight: 600; }
.v-why, .v-steps { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 10px; }
.v-why li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; margin: 0 !important; }
.v-steps li { margin: 0 !important; }
.v-steps li b { display: inline-block; min-width: 64px; color: var(--ink); font-weight: 600; }
.v-more { margin-top: 28px; border-top: 1px solid var(--hairline); padding-top: 16px; }
.v-more summary { cursor: pointer; font-weight: 600; font-size: 13px; color: var(--ink-soft); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.v-more summary::-webkit-details-marker { display: none; }
.v-more summary::before { content: "+"; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--hairline-strong); display: grid; place-items: center; font-size: 13px; }
.v-more[open] summary::before { content: "−"; }
.v-more[open] summary { margin-bottom: 20px; }
.v-sec p { font-size: 14px; color: var(--ink-soft); margin: 0 0 10px; }
.nameplate small, .nameplate .pips { display: none !important; }
/* ---------------- waiting between steps (live councils) ---------------- */
.waitcard { width: 100%; text-align: left; animation: rise .35s var(--ease-out) both; display: grid; gap: 8px; }
.wc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wc-step { display: inline-flex; align-items: center; gap: 8px; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.wc-step::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: bob 1.6s infinite ease-in-out; }
.wc-time { font: 600 13px/1 var(--font-display); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.wc-head { margin: 0; font: 500 clamp(16px, 1.5vw, 20px)/1.4 var(--font-display); color: var(--ink); letter-spacing: -0.02em; }
.wc-sub { margin: 0; font-size: 13px; color: var(--ink-soft); max-width: 62ch; }
.wc-muse { margin: 2px 0 0; font-size: 13px; color: var(--ink-mute); min-height: 1.5em; transition: opacity .35s; }
.wc-muse b { color: var(--ink); font-weight: 600; }
.wc-muse.fade { opacity: 0; }
.wc-bar { height: 3px; border-radius: 3px; background: var(--surface-3); overflow: hidden; position: relative; }
.wc-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); border-radius: 3px; transition: width .6s var(--ease-out); }
.wc-bar.indeterminate i { width: 28%; animation: sweep 2.2s ease-in-out infinite; }
@keyframes sweep { 0% { left: -28%; } 100% { left: 100%; } }
.wc-nudge { margin: 2px 0 0; font-size: 12.5px; color: var(--amend); }
/* seats mull it over while a round is out: slow head tilts, staggered */
.stage.live .seat.thinking .bust { animation: ponder 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes ponder {
0%, 100% { transform: rotate(0) translateY(0); }
22% { transform: rotate(-2.2deg) translateY(-1px); }
48% { transform: rotate(0) translateY(0); }
72% { transform: rotate(1.8deg) translateY(-2px); }
}
.stage.live .seat.thinking.musing { filter: brightness(.95) saturate(.95); }
.seat.musing .think { border-color: var(--accent); }
/* ---------------- how-to guide (side panel when idle, and a dialog) ---------------- */
.guide { display: grid; gap: 14px; font-size: 13.5px; color: var(--ink-soft); }
.guide h4 { margin: 0 0 6px; font: 600 14px/1.25 var(--font-display); color: var(--ink); }
.guide ol, .guide ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 7px; }
.guide ol { counter-reset: step; }
.guide ol li { counter-increment: step; display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.guide ol li::before { content: counter(step); width: 22px; height: 22px; border-radius: 50%; background: #ffffff; color: #07121c; font: 700 11.5px/22px var(--font-display); text-align: center; }
.guide ul li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; }
.guide ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 7px; }
.guide li b { color: var(--ink); font-weight: 600; }
.guide code { font: 600 12.5px/1 var(--font-text); color: var(--ink); background: var(--surface-3); border-radius: 6px; padding: 3px 6px; }
.guide .note { font-size: 12.5px; color: var(--ink-mute); margin: 0; }
.guide .example { background: var(--surface-2); border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 14px; display: grid; gap: 10px; }
.guide .example p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.guide .example p code { white-space: nowrap; }
.guide .example button { justify-self: start; }
.guide-sec { border-top: 1px solid var(--hairline); padding-top: 12px; }
.guide-sec:first-child { border-top: 0; padding-top: 0; }
#guideDialog .guide { margin-bottom: 14px; }
#guideDialog h3 { margin-bottom: 14px; }
/* primary pill (white on dark, per the AIS guidelines) */
.pill { background: #ffffff; color: #07121c; border: 0; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 13px; transition: background .2s; }
.pill:hover { background: #e6edf5; }
.pill:disabled { opacity: .6; cursor: progress; }
.v-top .actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.history li { display: flex; gap: 8px; align-items: stretch; }
.history li > button:first-child { flex: 1; }
.history .pdf { flex: none; width: auto; padding: 0 14px; font-size: 12px; font-weight: 600; color: var(--ink-soft); text-align: center; }
.top-actions .ghost { white-space: nowrap; }
@media (max-width: 820px) {
.top-actions { margin-left: auto; }
.top-actions .ghost { padding: 6px 11px; font-size: 12.5px; }
}
.typein .wd { display: inline-block; white-space: nowrap; }
@media (max-width: 1220px) {
.topbar { flex-wrap: wrap; row-gap: 8px; }
.top-actions { margin-left: auto; }
.stepper { order: 3; width: 100%; margin: 0; justify-content: center; overflow-x: auto; }
}
@media (max-width: 820px) { .stepper { justify-content: flex-start; } }