/* Summit Studio — control-room skin.
   Brand: ink / bone / emerald / teal, Geist + Geist Mono (summit-labs.io).
   Idea: a broadcast control room. Tonal surfaces instead of boxes, hairlines only where sections meet,
   mono timecode + tally light as the one loud element, live VU meters wherever a person is. */
:root {
  --ink: #090d0c; --ink-2: #0d1311; --ink-3: #121916; --ink-4: #182019; --ink-5: #1f2a25;
  --bone: #EDEDF0; --bone-2: rgba(237,237,240,.70); --bone-3: rgba(237,237,240,.44); --bone-4: rgba(237,237,240,.26);
  --line: rgba(237,237,240,.07); --line-2: rgba(237,237,240,.13);
  --emerald: #34d399; --emerald-2: #6ee7b7; --teal: #0d9488; --tally: #ff4b4b; --amber: #fbbf24;
  --grad: linear-gradient(135deg, var(--emerald), var(--teal));
  --r: 10px; --r-lg: 16px;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--ink); color: var(--bone); font: 15px/1.45 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--emerald); }
.mono { font-family: var(--mono); }
.muted { color: var(--bone-3); }
.hidden { display: none !important; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; }
::selection { background: rgba(52,211,153,.35); }

/* labels in the control-room voice: small mono caps */
.eyebrow, .panel h3, .light .lbl, .recpill, .statusbar, .banner b, .verdict, .receipt-ov .hd, .ask-ov .kick, .tabs button { font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; }

.mark { width: 28px; height: 28px; border-radius: 8px; background: url(/mark.svg) center/cover; display: inline-block; flex: none; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; }
.brand small { font-family: var(--mono); font-weight: 500; color: var(--bone-3); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- buttons & fields ---------- */
.btn { appearance: none; border: 1px solid transparent; background: var(--ink-4); border-radius: var(--r); padding: 11px 16px; min-height: 46px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 500; transition: background .15s, border-color .15s, color .15s, transform .06s; }
.btn:hover { background: var(--ink-5); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.primary { background: var(--emerald); color: var(--ink); font-weight: 600; }
.btn.primary:hover { background: var(--emerald-2); }
.btn.danger { background: rgba(255,75,75,.12); color: #ffb4b4; }
.btn.danger:hover { background: rgba(255,75,75,.2); }
.btn.small { min-height: 34px; padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn.icon { width: 50px; height: 50px; padding: 0; border-radius: 12px; }
.btn.icon svg { width: 22px; height: 22px; }
.btn.off { background: rgba(255,75,75,.16); color: #ffb4b4; }
.btn.on { background: rgba(52,211,153,.14); color: var(--emerald-2); }
.btn svg { width: 18px; height: 18px; flex: none; }
/* two-state icon buttons: show the alternate glyph when .off / .alt */
.btn .alt-icon { display: none; } .btn.off .alt-icon, .btn.alt .alt-icon { display: block; } .btn.off .main-icon, .btn.alt .main-icon { display: none; }

label.field { display: grid; gap: 6px; font-size: 12px; color: var(--bone-3); font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
input[type=text], input[type=password], select, textarea { width: 100%; background: var(--ink-3); border: 1px solid transparent; border-bottom-color: var(--line-2); border-radius: var(--r) var(--r) 4px 4px; padding: 12px 14px; min-height: 46px; outline: none; font-family: var(--sans); letter-spacing: 0; text-transform: none; color: var(--bone); transition: border-color .15s, background .15s; }
input::placeholder { color: var(--bone-4); }
input:focus, select:focus, textarea:focus { border-bottom-color: var(--emerald); background: var(--ink-4); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--bone-3) 50%), linear-gradient(135deg, var(--bone-3) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
textarea { min-height: 260px; resize: vertical; font-family: var(--mono); font-size: 13px; line-height: 1.6; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--ink-3); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--emerald); margin: 1px 0 0; flex: none; }
.card { background: var(--ink-2); border-radius: var(--r-lg); padding: 24px; }
.meter { height: 6px; border-radius: 99px; background: var(--ink-4); overflow: hidden; }
.meter > i { display: block; height: 100%; width: 0; background: var(--emerald); border-radius: 99px; transition: width .08s linear; }

/* VU: a tiny level bar that lives next to every person */
.vu { display: inline-block; width: 34px; height: 4px; border-radius: 2px; background: rgba(237,237,240,.12); overflow: hidden; vertical-align: middle; flex: none; }
.vu::after { content: ''; display: block; height: 100%; width: 100%; background: var(--emerald); transform: scaleX(var(--l, 0)); transform-origin: left; transition: transform .12s linear; }

/* ---------- landing ---------- */
.landing { max-width: 720px; margin: 0 auto; padding: 44px 20px 80px; }
.landing .eyebrow { margin: 40px 0 14px; font-size: 11px; color: var(--emerald); }
.landing h1 { font-size: clamp(34px, 5.6vw, 54px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; margin: 0 0 14px; text-wrap: balance; }
.landing p.lead { color: var(--bone-2); margin: 0 0 32px; font-size: 17px; max-width: 54ch; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }
.links { display: grid; gap: 8px; margin-top: 8px; }
.linkrow { display: flex; gap: 10px; align-items: center; padding: 10px 12px; background: var(--ink-3); border-radius: var(--r); }
.linkrow .who { font-weight: 600; min-width: 70px; }
.linkrow code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 12px var(--mono); color: var(--bone-3); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 36px 0 0; padding: 0; list-style: none; }
.steps li { padding: 16px 0 0; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--bone-2); }
.steps li b { display: block; color: var(--bone); margin-bottom: 4px; font-weight: 600; }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- green room ---------- */
.green { max-width: 1120px; margin: 0 auto; padding: 22px 20px 48px; }
.green header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; }
.green-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .green-grid { grid-template-columns: 1fr; } }
.preview { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #000; aspect-ratio: 16/9; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.preview video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: block; }
.preview .res { position: absolute; left: 12px; bottom: 12px; font: 500 11px var(--mono); letter-spacing: .1em; background: rgba(9,13,12,.72); backdrop-filter: blur(8px); padding: 5px 9px; border-radius: 6px; }
.preview::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(237,237,240,.08); pointer-events: none; }
.light { margin-top: 16px; display: grid; gap: 10px; }
.light .row { display: flex; align-items: center; gap: 14px; }
.light .row span.lbl { width: 56px; font-size: 11px; color: var(--bone-3); }
.light .row .meter { flex: 1; height: 8px; }
.hint { font-size: 14px; color: var(--bone-2); padding: 10px 0 0; display: flex; gap: 10px; align-items: flex-start; }
.hint::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--bone-4); margin-top: 6px; flex: none; }
.hint.warn { color: #fde68a; } .hint.warn::before { background: var(--amber); }
.hint.good { color: var(--emerald-2); } .hint.good::before { background: var(--emerald); }
.side { display: grid; gap: 14px; }
.side h2 { margin: 0 0 4px; font-size: 30px; letter-spacing: -.03em; font-weight: 700; line-height: 1.05; }
.side .eyebrow { font-size: 11px; color: var(--emerald); }
.err { color: #ffb4b4; background: rgba(255,75,75,.1); padding: 12px 14px; border-radius: var(--r); }

/* ---------- call ---------- */
.call { display: grid; grid-template-rows: auto 1fr auto; height: 100vh; height: 100dvh; }
/* the tally rail */
.topbar { display: flex; align-items: center; gap: 14px; padding: 0 16px; min-height: 56px; background: var(--ink-2); border-bottom: 1px solid var(--line); position: relative; }
.topbar::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: transparent; transition: background .3s; }
.call.rec .topbar::before { background: var(--tally); }
.topbar .title { font-weight: 500; color: var(--bone-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .spacer { flex: 1; }
.recpill { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 500; padding: 7px 12px; border-radius: 8px; color: var(--bone-3); background: var(--ink-4); }
.recpill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bone-4); flex: none; }
#recPill { font-size: 15px; font-weight: 600; letter-spacing: .06em; padding: 7px 14px; min-width: 150px; justify-content: flex-start; font-variant-numeric: tabular-nums; }
.recpill.live { color: #fff; background: rgba(255,75,75,.14); }
.recpill.live .dot { background: var(--tally); box-shadow: 0 0 10px var(--tally); animation: pulse 1.2s infinite; }
.recpill.ok { color: var(--emerald-2); } .recpill.ok .dot { background: var(--emerald); }
.recpill.busy .dot { background: var(--amber); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.main { display: grid; grid-template-columns: 1fr auto; min-height: 0; }
.stage { position: relative; min-height: 0; padding: 12px; display: grid; gap: 10px; }
.tiles { display: grid; gap: 10px; height: 100%; min-height: 0; grid-template-columns: repeat(var(--cols, 2), 1fr); grid-auto-rows: 1fr; }
.tile { position: relative; background: #040605; border-radius: 12px; overflow: hidden; min-height: 0; min-width: 0; animation: tilein .35s var(--ease); }
@keyframes tilein { from { opacity: 0; transform: scale(.98); } }
.tile::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(237,237,240,.06); pointer-events: none; transition: box-shadow .2s; }
.tile.speaking::after { box-shadow: inset 0 0 0 2px var(--emerald); }
.tile video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.tile.self video { transform: scaleX(-1); }
.tile.screen video { object-fit: contain; }
/* name plate = a lower-third with a live level */
.tile .name { position: absolute; left: 10px; bottom: 10px; font-size: 13px; font-weight: 600; background: rgba(9,13,12,.78); backdrop-filter: blur(8px); padding: 6px 10px 6px 9px; border-radius: 7px; display: flex; gap: 9px; align-items: center; border-left: 3px solid var(--bone-4); transition: border-color .2s; }
.tile.speaking .name { border-left-color: var(--emerald); }
.tile .camoff { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; font-weight: 700; color: var(--bone-3); background: var(--ink-3); }
.stage.sharing .tiles { grid-template-columns: 1fr minmax(180px, 24%); grid-template-rows: repeat(var(--faces, 3), 1fr); }
.stage.sharing .tile.screen { grid-column: 1; grid-row: 1 / -1; }
.stage.sharing .tile:not(.screen) { grid-column: 2; }
.stage.speaker .tiles { grid-template-columns: repeat(var(--others, 3), 1fr); grid-template-rows: 3fr 1fr; }
.stage.speaker .tile.big { grid-column: 1 / -1; grid-row: 1; }
@media (max-width: 700px) {
  .stage.sharing .tiles { grid-template-columns: repeat(var(--faces, 3), 1fr); grid-template-rows: 3fr 1fr; }
  .stage.sharing .tile.screen { grid-column: 1 / -1; grid-row: 1; }
  .stage.sharing .tile:not(.screen) { grid-column: auto; grid-row: 2; }
}
/* NOW banner = lower third */
.banner { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: stretch; border-radius: 8px; overflow: hidden; background: rgba(9,13,12,.9); backdrop-filter: blur(12px); box-shadow: 0 16px 50px rgba(0,0,0,.55); max-width: calc(100% - 40px); z-index: 5; animation: rise .4s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 10px); } }
.banner b { display: flex; align-items: center; font-size: 11px; font-weight: 600; color: var(--ink); background: var(--emerald); padding: 0 12px; }
.banner span { font-size: 19px; font-weight: 600; letter-spacing: -.01em; padding: 11px 20px 11px 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* transport */
.controls { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--ink-2); flex-wrap: wrap; }
.controls .sep { width: 1px; height: 28px; background: var(--line-2); margin: 0 6px; }

/* host panel */
.panel { width: 360px; border-left: 1px solid var(--line); overflow-y: auto; overflow-x: hidden; padding: 14px 16px 24px; display: grid; gap: 18px; align-content: start; background: var(--ink-2); }
.panel > *, .tab > * { min-width: 0; }
.panel h3 { margin: 0 0 8px; font-size: 11px; font-weight: 500; color: var(--bone-3); display: flex; justify-content: space-between; align-items: center; min-height: 34px; }
.rec-btn { width: 100%; min-height: 56px; font-size: 16px; border-radius: 12px; }
.rec-btn.primary { background: var(--tally); color: #fff; }
.rec-btn.primary:hover { background: #ff6565; }
.rec-btn .dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.rec-btn.danger .dot { border-radius: 2px; }
/* run sheet: this IS a sequence, so it's numbered */
.topics { display: grid; }
.topic { text-align: left; justify-content: flex-start; min-height: 50px; padding: 10px 12px 10px 0; font-size: 15px; border-radius: 0; background: transparent; border-bottom: 1px solid var(--line); gap: 12px; position: relative; }
.topic:hover { background: rgba(237,237,240,.03); }
.topic .n { font: 500 11px var(--mono); color: var(--bone-4); width: 36px; flex: none; text-align: center; letter-spacing: .06em; }
.topic.current { color: var(--bone); }
.topic.current::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: var(--emerald); border-radius: 2px; }
.topic.current .n { color: var(--emerald); }
.topic.done { color: var(--bone-3); } .topic.done .n { color: var(--emerald); }
.topic.done .n::before { content: '✓'; }
.topic.done .n span { display: none; }
.markers { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.markers .btn { flex-direction: column; gap: 6px; min-height: 66px; font: 500 11px var(--mono); letter-spacing: .1em; padding: 8px 4px; background: var(--ink-3); }
.markers .btn:hover { background: var(--ink-4); }
.markers .btn svg { width: 22px; height: 22px; color: var(--emerald); }
.note { display: flex; gap: 8px; margin-top: 8px; }
.note input { min-height: 42px; }
@media (max-width: 1000px) { .panel { position: fixed; right: 0; top: 56px; bottom: 71px; z-index: 20; box-shadow: -20px 0 50px rgba(0,0,0,.5); width: min(360px, 100%); } .panel.collapsed { display: none; } }

/* channel strips (host): one per person */
.statusbar { display: flex; gap: 8px; overflow-x: auto; padding: 8px 16px; border-bottom: 1px solid var(--line); background: var(--ink); font-size: 11px; letter-spacing: .06em; scrollbar-width: none; }
.chip { display: inline-flex; gap: 10px; align-items: center; padding: 6px 10px 6px 8px; border-radius: 8px; background: var(--ink-3); white-space: nowrap; color: var(--bone-3); border-left: 3px solid var(--bone-4); }
.chip b { color: var(--bone); font-weight: 600; letter-spacing: 0; font-family: var(--sans); font-size: 13px; text-transform: none; }
.chip .ok { color: var(--emerald); }
.chip .bad { color: var(--tally); }
.chip .warn { color: var(--amber); }
.chip.rec { border-left-color: var(--tally); }

/* overlays */
.overlay { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; pointer-events: none; background: rgba(9,13,12,.35); }
.count { font: 600 clamp(140px, 28vw, 300px)/1 var(--mono); color: var(--bone); text-shadow: 0 10px 60px rgba(0,0,0,.6); letter-spacing: -.04em; }
.flash { position: fixed; inset: 0; background: #fff; z-index: 60; pointer-events: none; }
.uploadcard { position: fixed; left: 50%; top: 70px; transform: translateX(-50%); z-index: 40; padding: 12px 18px; border-radius: 10px; background: var(--ink-4); border-left: 3px solid var(--amber); font-weight: 500; box-shadow: 0 10px 40px rgba(0,0,0,.5); display: flex; gap: 12px; align-items: center; max-width: calc(100% - 32px); }
.uploadcard.done { border-left-color: var(--emerald); color: var(--emerald-2); }
.toast { position: fixed; right: 16px; bottom: 86px; z-index: 45; padding: 10px 14px; border-radius: 10px; background: var(--ink-5); font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.modal { position: fixed; inset: 0; z-index: 70; background: rgba(4,6,5,.7); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.modal .card { width: min(560px, 100%); display: grid; gap: 14px; max-height: 90vh; overflow: auto; background: var(--ink-3); }
.modal h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.row-end { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

/* ---------- tabs, receipts, transcript, notes, sounds ---------- */
.tabs { display: flex; justify-content: space-between; gap: 2px; border-bottom: 1px solid var(--line-2); flex-wrap: nowrap; }
.tabs button { flex: 0 1 auto; appearance: none; border: 0; background: transparent; padding: 10px 6px 9px; font-size: 10px; letter-spacing: .08em; font-weight: 500; cursor: pointer; color: var(--bone-3); min-height: 36px; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s; }
.tabs button:hover { color: var(--bone); }
.tabs button.active { color: var(--bone); border-bottom-color: var(--emerald); }
.tabs button.dim { opacity: .4; }
.tab { display: grid; gap: 14px; align-content: start; }
.copilot-off { padding: 12px 14px; border-radius: var(--r); background: var(--ink-3); font-size: 13px; line-height: 1.6; }
.copilot-off code { color: var(--emerald); word-break: break-all; }
.panel.copilot-on .copilot-off { display: none; }
.panel:not(.copilot-on) #checkBtn, .panel:not(.copilot-on) #notesNow { opacity: .4; }
.spin { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--bone-2); }
.spin i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--emerald); animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.cards { display: grid; gap: 10px; }
.rcard { border-radius: 12px; padding: 12px 14px; background: var(--ink-3); display: grid; gap: 8px; border-left: 3px solid var(--line-2); }
.rcard.v-ok { border-left-color: var(--emerald); } .rcard.v-ctx { border-left-color: var(--amber); } .rcard.v-no { border-left-color: var(--tally); }
.rcard .top { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.verdict { font-size: 10.5px; font-weight: 600; padding: 4px 8px; border-radius: 6px; }
.v-CHECKS_OUT { background: rgba(52,211,153,.16); color: var(--emerald-2); }
.v-CONTEXT { background: rgba(251,191,36,.14); color: #fcd34d; }
.v-WRONG { background: rgba(255,75,75,.16); color: #ffb4b4; }
.v-UNVERIFIED { background: rgba(237,237,240,.08); color: var(--bone-2); }
.rcard .eng { font: 10.5px var(--mono); color: var(--bone-4); letter-spacing: .08em; text-transform: uppercase; }
.rcard q { font-style: italic; color: var(--bone-3); font-size: 13px; quotes: none; }
.rcard .line { font-size: 14px; line-height: 1.4; }
.rcard .src { display: grid; gap: 2px; font-size: 12px; }
.rcard .src a { color: var(--emerald); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcard .btn.primary { justify-self: start; }
.transcript { display: grid; gap: 7px; font-size: 13px; max-height: 62vh; overflow-y: auto; line-height: 1.45; }
.transcript .l b { color: var(--emerald); font-weight: 600; margin-right: 6px; }
.transcript .l .t { font: 11px var(--mono); color: var(--bone-4); margin-right: 8px; font-variant-numeric: tabular-nums; }
.notes { font-size: 13px; line-height: 1.55; }
.notes h1 { font-size: 16px; margin: 6px 0; letter-spacing: -.01em; } .notes h2 { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--emerald); margin: 16px 0 6px; }
.notes ul { padding-left: 18px; margin: 4px 0; }
.sounds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sounds .btn { min-height: 52px; font-size: 13px; padding: 8px; background: var(--ink-3); }
.sounds .btn.playing { background: rgba(52,211,153,.14); color: var(--emerald-2); }
input[type=range] { accent-color: var(--emerald); min-height: 0; padding: 0; background: transparent; border: 0; }

/* on-screen cards everyone sees: receipts + ask answers share one anatomy, with a drain line for time left */
.receipt-ov, .ask-ov { position: fixed; z-index: 30; border-radius: 14px; background: rgba(12,17,15,.94); backdrop-filter: blur(16px); box-shadow: 0 24px 70px rgba(0,0,0,.6), inset 0 0 0 1px rgba(237,237,240,.08); display: grid; gap: 10px; overflow: hidden; animation: slidein .4s var(--ease); }
.receipt-ov { top: 70px; left: 24px; width: min(440px, calc(100% - 32px)); padding: 16px 18px 20px; }
.ask-ov { top: 76px; left: 50%; transform: translateX(-50%); width: min(620px, calc(100% - 32px)); padding: 18px 22px 22px; z-index: 32; }
.receipt-ov .hd, .ask-ov .kick { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; color: var(--bone-3); }
.receipt-ov .hd .mark, .ask-ov .kick .mark { width: 20px; height: 20px; border-radius: 6px; }
.receipt-ov q { font-size: 14px; color: var(--bone-3); font-style: italic; quotes: none; }
.receipt-ov .line { font-size: 19px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.receipt-ov .src, .ask-ov .foot { font: 11px var(--mono); color: var(--bone-4); letter-spacing: .08em; text-transform: uppercase; }
.ask-ov .kick .q { text-transform: none; letter-spacing: 0; font: 13px var(--sans); color: var(--bone-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.ask-ov h2 { margin: 0; font-size: 26px; letter-spacing: -.03em; line-height: 1.1; font-weight: 700; }
.ask-ov .ans { font-size: 18px; line-height: 1.45; color: var(--bone); }
.ask-ov ul { margin: 0; padding-left: 20px; color: var(--bone-2); font-size: 15px; }
.ask-ov .foot { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.ask-ov .x { appearance: none; border: 0; background: var(--ink-5); border-radius: 8px; width: 30px; height: 30px; cursor: pointer; color: var(--bone-2); }
.drain { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--emerald); transform-origin: left; animation: drain var(--ms, 10s) linear forwards; }
@keyframes drain { to { transform: scaleX(0); } }
@keyframes slidein { from { opacity: 0; transform: translateY(-10px); } }
.ask-ov { animation-name: slidein-c; } @keyframes slidein-c { from { opacity: 0; transform: translate(-50%, -10px); } }
.think-pill { position: fixed; left: 50%; top: 68px; transform: translateX(-50%); z-index: 31; display: flex; gap: 10px; align-items: center; padding: 7px 16px 7px 8px; border-radius: 99px; background: rgba(12,17,15,.9); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(52,211,153,.3); font-size: 14px; color: var(--bone-2); max-width: calc(100% - 32px); }
.think-pill .mark { width: 22px; height: 22px; border-radius: 7px; animation: pulse 1.2s infinite; }
.think-pill span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Ask Summit ---------- */
.askbox { display: flex; gap: 6px; align-items: center; }
.askbox input { min-height: 44px; flex: 1; min-width: 0; border-radius: 10px; }
.askbox .ptt { width: 44px; min-height: 44px; padding: 0; flex: none; user-select: none; -webkit-user-select: none; touch-action: none; }
.askbox .ptt.held { background: rgba(255,75,75,.22); color: #ffb4b4; }
.guestask { width: min(320px, 100%); }
.guestask input { min-height: 50px; border-radius: 12px; }
.guestask .ptt { width: 50px; height: 50px; border-radius: 12px; }
.acard .qq { font-size: 13px; color: var(--bone-3); }
.acard b { font-size: 14px; }
.acard .row-end { justify-content: flex-start; }
@media (max-width: 700px) { .guestask { order: -1; width: 100%; } .controls { gap: 6px; } .btn.icon { width: 46px; height: 46px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .drain { animation: none; display: none; }
}

/* host has the channel strips under the rail, so on-screen cards start lower there */
body:has(.call .statusbar:not(.hidden)) .receipt-ov { top: 112px; }
body:has(.call .statusbar:not(.hidden)) .ask-ov { top: 118px; }
body:has(.call .statusbar:not(.hidden)) .think-pill { top: 110px; }

@media (max-width: 600px) { .green header { flex-wrap: wrap; } .brand { white-space: nowrap; } .brand small { display: block; width: 100%; margin-top: 2px; } .green header .brand { flex-wrap: wrap; row-gap: 0; } }
