:root {
  --bg: #0e1118;
  --panel: #161b26;
  --panel-2: #1d2432;
  --line: #263041;
  --text: #e6ebf2;
  --muted: #94a0b4;
  --accent: #5b9dff;
  --accent-2: #7c5cff;
  --good: #35c98a;
  --good-bg: #12312440;
  --bad: #ff6b7d;
  --bad-bg: #3a1a2340;
  --warn: #ffcf6b;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: radial-gradient(1200px 600px at 80% -10%, #1a2233 0%, var(--bg) 55%);
  color: var(--text);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; border-bottom: 1px solid var(--line);
  background: rgba(14,17,24,.7); backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 10;
}
.brand { font-size: 18px; cursor: pointer; user-select: none; letter-spacing: .2px; }
.brand b { color: var(--accent); }
.topbar-right { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13px; }

main { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 26px 20px 60px; }
.loading { color: var(--muted); text-align: center; padding: 60px; }

.foot { text-align: center; color: #59627a; font-size: 12px; padding: 16px; border-top: 1px solid var(--line); }

/* ---------- buttons ---------- */
button { font: inherit; cursor: pointer; border: none; border-radius: 10px; }
.btn {
  background: var(--panel-2); color: var(--text); border: 1px solid var(--line);
  padding: 9px 16px; transition: .15s; font-weight: 500;
}
.btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border: none; color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- home ---------- */
.hero h1 { font-size: 26px; margin: 4px 0 6px; }
.hero p { color: var(--muted); margin: 0 0 22px; max-width: 640px; }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px) { .cat-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.cat-card { display: flex; flex-direction: column; gap: 14px; }
.cat-card h2 { margin: 0; font-size: 19px; }
.cat-card .desc { color: var(--muted); font-size: 13.5px; margin: -4px 0 0; }
.cat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

.ring { --p: 0; width: 62px; height: 62px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--good) calc(var(--p) * 1%), var(--line) 0);
  display: grid; place-items: center; position: relative; }
.ring::before { content: ""; position: absolute; inset: 6px; background: var(--panel); border-radius: 50%; }
.ring span { position: relative; font-size: 13px; font-weight: 700; }

.statline { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; }
.statline b { color: var(--text); }
.pill { background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: 12px; }

.mode-row { display: flex; gap: 8px; flex-wrap: wrap; }
.resume-banner {
  background: linear-gradient(135deg, #1c2a1f, #17251d); border: 1px solid #2c5b3f;
  border-radius: 10px; padding: 10px 12px; font-size: 13px; display: flex;
  justify-content: space-between; align-items: center; gap: 10px;
}
.resume-banner .btn { padding: 6px 12px; }

.empty-note { color: var(--warn); font-size: 13px; background: #2a2413; border: 1px solid #574a1e;
  border-radius: 10px; padding: 10px 12px; }
.empty-note code { background: #00000040; padding: 1px 6px; border-radius: 5px; }

/* ---------- section picker ---------- */
.section-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.section-item { display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer; transition: .12s; }
.section-item:hover { border-color: var(--accent); }

/* ---------- quiz ---------- */
.quiz-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.progressbar { flex: 1; height: 8px; background: var(--panel-2); border-radius: 999px; overflow: hidden; }
.progressbar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .3s; }
.qcount { color: var(--muted); font-size: 13px; white-space: nowrap; }

.meta-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.tag { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--muted); }
.tag.diff-hard { color: var(--bad); border-color: #4a2630; }
.tag.diff-easy { color: var(--good); border-color: #24503b; }
.tag.multi { color: var(--warn); border-color: #574a1e; }

.scenario {
  background: linear-gradient(135deg, #141d2b, #17202f); border: 1px solid #24344d;
  border-left: 3px solid var(--accent); border-radius: 10px; padding: 14px 16px; margin-bottom: 14px;
}
.scenario .stitle { font-weight: 700; font-size: 13px; color: var(--accent); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.scenario p { margin: 0; color: #cdd6e4; font-size: 14px; }

/* résumé-bullet scenario: a real line from the user's CV the interviewer probes */
.scenario.resume {
  background: linear-gradient(135deg, #1f1c12, #241f14);
  border: 1px solid #5c4f24; border-left: 3px solid var(--warn);
}
.scenario.resume .stitle { color: var(--warn); }
.scenario.resume ul.rb { margin: 4px 0 0; padding-left: 22px; }
.scenario.resume ul.rb li { color: #f0e9d6; font-size: 14.5px; line-height: 1.5; }
.scenario.resume ul.rb li::marker { color: var(--warn); }
.scenario.resume .rb-hint { margin-top: 10px; font-size: 12.5px; color: #b7a97a; font-style: italic; }

.stem { font-size: 17px; font-weight: 600; margin: 6px 0 16px; line-height: 1.5; }

.options { display: flex; flex-direction: column; gap: 10px; }
.opt {
  display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px;
  background: var(--panel-2); border: 1.5px solid var(--line); border-radius: 11px;
  cursor: pointer; transition: .12s; position: relative;
}
.opt:hover { border-color: #3c5079; }
.opt.sel { border-color: var(--accent); background: #17233a; }
.opt .marker {
  width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line);
  flex: none; display: grid; place-items: center; font-size: 12px; color: var(--muted);
  margin-top: 1px;
}
.opt.single .marker { border-radius: 50%; }
.opt.sel .marker { border-color: var(--accent); background: var(--accent); color: #fff; }
.opt .otext { flex: 1; }
.opt .hot { position: absolute; right: 10px; top: 8px; font-size: 10px; color: #4a5568; }

.opt.correct { border-color: var(--good); background: var(--good-bg); }
.opt.wrong { border-color: var(--bad); background: var(--bad-bg); }
.opt.correct .marker { border-color: var(--good); background: var(--good); color: #052; }
.opt.wrong .marker { border-color: var(--bad); background: var(--bad); color: #400; }
.opt .verdict { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 700; }

.explain {
  margin-top: 16px; border-radius: 11px; padding: 14px 16px; font-size: 14px;
  border: 1px solid var(--line); background: var(--panel);
}
.explain.good { border-color: #24503b; background: var(--good-bg); }
.explain.bad { border-color: #4a2630; background: var(--bad-bg); }
.explain .verdict-line { font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.explain .good-t { color: var(--good); }
.explain .bad-t { color: var(--bad); }
.explain .exp-body { color: #cdd6e4; }

.quiz-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; gap: 10px; }
.kbd-hint { color: #59627a; font-size: 12px; }
kbd { background: var(--panel-2); border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 5px; padding: 1px 6px; font-size: 11px; font-family: ui-monospace, monospace; }

/* ---------- summary ---------- */
.summary { text-align: center; padding: 20px 0; }
.summary .big { font-size: 48px; font-weight: 800; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.summary-stats { display: flex; justify-content: center; gap: 26px; margin: 18px 0 24px; }
.summary-stats .s b { display: block; font-size: 24px; }
.summary-stats .s span { color: var(--muted); font-size: 12px; }

/* ---------- quiz layout: sidebar + main ---------- */
.quiz-layout { display: flex; gap: 20px; align-items: flex-start; }
.qmain { flex: 1; min-width: 0; }
.sidebar {
  width: 272px; flex: none; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px; position: sticky; top: 74px;
  max-height: calc(100vh - 96px); overflow-y: auto;
}
.quiz-layout.collapsed .sidebar { display: none; }

.sb-head { display: flex; justify-content: space-between; align-items: center;
  padding: 4px 6px 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.sb-title { font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.sb-count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sb-sec { font-size: 10.5px; text-transform: uppercase; letter-spacing: .4px; color: var(--accent);
  margin: 12px 6px 4px; font-weight: 700; }
.sb-list { display: flex; flex-direction: column; gap: 2px; }
.sb-row { position: relative; display: flex; gap: 8px; align-items: flex-start; text-align: left;
  width: 100%; background: transparent; border: 1px solid transparent; border-radius: 8px;
  padding: 6px 8px 6px 12px; color: var(--text); transition: background .1s; }
.sb-row:hover { background: var(--panel-2); }
.sb-row.cur { background: #17233a; border-color: var(--accent); }
.sb-n { flex: none; min-width: 22px; font-size: 11px; color: var(--muted);
  font-variant-numeric: tabular-nums; padding-top: 1px; }
.sb-body { display: flex; flex-direction: column; min-width: 0; }
.sb-t { font-size: 12.5px; line-height: 1.35; }
.sb-cat { font-size: 10.5px; color: #6b7690; margin-top: 1px; }
.sb-row::before { content: ""; position: absolute; left: 3px; top: 7px; bottom: 7px; width: 3px;
  border-radius: 2px; background: transparent; }
.sb-row.s-correct::before { background: var(--good); }
.sb-row.s-wrong::before   { background: var(--bad); }
.sb-row.s-answered::before{ background: var(--accent); }
.sb-row.s-seenC::before   { background: #2f6a4c; }
.sb-row.s-seenW::before   { background: #6a3444; }

.sb-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.sb-cell { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 8px;
  background: var(--panel-2); color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.sb-cell:hover { border-color: var(--accent); }
.sb-cell.cur { border-color: var(--accent); color: var(--text); box-shadow: 0 0 0 1px var(--accent) inset; }
.sb-cell.s-answered { background: #17233a; border-color: #3c5079; color: var(--text); }
.sb-cell.s-correct { background: var(--good-bg); border-color: var(--good); color: var(--good); }
.sb-cell.s-wrong { background: var(--bad-bg); border-color: var(--bad); color: var(--bad); }

.qmain-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.side-toggle { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px;
  color: var(--text); width: 34px; height: 30px; font-size: 14px; flex: none; }
.side-toggle:hover { border-color: var(--accent); }
.timer { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 15px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 5px 12px; }
.timer.warn { color: var(--bad); border-color: #5a2b39; animation: tpulse 1s infinite; }
@keyframes tpulse { 50% { opacity: .5; } }

.mode-chip { font-size: 12px; color: var(--muted); background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; }
.btn.mock-btn { background: linear-gradient(135deg, #e0a53c, #d2683c); color: #1a1205; border: none; font-weight: 600; }
.btn.mock-btn:hover { filter: brightness(1.08); }
.nav-btns { display: flex; gap: 10px; }

@media (max-width: 820px) { .sidebar { width: 230px; } }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 16px; box-shadow: var(--shadow); opacity: 0; transition: .2s; pointer-events: none; }
.toast.show { opacity: 1; }

/* ---------- live interview ---------- */
:root { --heat: #ff5a4f; --heat-2: #c8323a; }

.btn.iv-btn { background: linear-gradient(135deg, var(--heat), var(--heat-2)); border: none; color: #fff; font-weight: 600; }
.btn.iv-btn:hover { filter: brightness(1.08); }
.btn.iv-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; filter: none; }
.btn.iv-btn kbd { background: #0000002e; border-color: #0000002e; color: #fff; margin-left: 4px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.iv-leave { padding: 5px 12px; color: var(--bad); border-color: #4a2630; white-space: nowrap; }

.iv-card { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; border-color: #5a2a2d;
  background: linear-gradient(135deg, #21161b, var(--panel) 60%); }
.iv-card h2 { margin: 0 0 4px; font-size: 19px; }
.iv-card .desc { color: var(--muted); font-size: 13.5px; margin: 0; max-width: 640px; }
.iv-card-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.iv-card-head .btn { flex: none; }
.iv-resume { background: linear-gradient(135deg, #2a1a1c, #241719); border-color: #5a2a2d; }
.iv-history { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); padding-top: 10px; }
.iv-history-row { display: flex; align-items: center; gap: 10px; background: transparent; color: var(--text);
  text-align: left; padding: 6px 8px; font-size: 13px; }
.iv-history-row:hover { background: var(--panel-2); }
.iv-history-topics { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iv-history-meta { color: var(--muted); font-size: 12px; white-space: nowrap; }
.iv-chip { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; border: 1px solid var(--line); }
.iv-chip.no { color: var(--bad); border-color: #4a2630; }
.iv-chip.lean { color: var(--warn); border-color: #574a1e; }
.iv-chip.yes { color: var(--good); border-color: #24503b; }
.iv-chip.muted { color: var(--muted); }

.iv-setup { max-width: 760px; margin: 0 auto; }
.iv-setup h3, .iv-key h3 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.iv-key { margin-bottom: 16px; }
.iv-key .desc { color: var(--muted); font-size: 13.5px; margin: 0 0 12px; }
.iv-key-row { display: flex; gap: 10px; }
.iv-key-row input { flex: 1; min-width: 0; background: var(--panel-2); border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 9px 12px; font: inherit; }
.iv-form { display: flex; flex-direction: column; gap: 22px; }
.iv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.iv-topic { background: var(--panel-2); color: var(--muted); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 13.5px; }
.iv-topic span { color: #6d7890; font-size: 12px; margin-left: 3px; }
.iv-topic.on { color: var(--text); border-color: var(--heat); background: #2c1a1c; }
.iv-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.iv-seg-btn { background: var(--panel-2); color: var(--text); border: 1.5px solid var(--line); border-radius: 11px;
  padding: 10px 13px; text-align: left; display: flex; flex-direction: column; gap: 2px; }
.iv-seg-btn span { color: var(--muted); font-size: 12px; }
.iv-seg-btn.on { border-color: var(--heat); background: #2c1a1c; }
.iv-go { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.iv-model { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.iv-error { color: var(--bad); background: var(--bad-bg); border: 1px solid #4a2630; border-radius: 10px; padding: 10px 12px; font-size: 13.5px; margin-top: 10px; }
.iv-error[hidden] { display: none; }
.iv-retry { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.iv-retry .btn { flex: none; }

.iv-room { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; }
.iv-bar { position: sticky; top: 56px; z-index: 5; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding: 10px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.iv-where { display: flex; flex-direction: column; min-width: 0; }
.iv-where b { font-size: 14px; }
.iv-where span { color: var(--muted); font-size: 12.5px; }
b.sig-good, span.sig-good { color: var(--good); }
b.sig-mid, span.sig-mid { color: var(--warn); }
b.sig-weak, span.sig-weak { color: #ff9a5c; }
b.sig-bad, span.sig-bad { color: var(--bad); }

.iv-dots { display: inline-flex; gap: 4px; vertical-align: middle; }
.iv-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: iv-dot 1.1s infinite ease-in-out; }
.iv-dots i:nth-child(2) { animation-delay: .15s; }
.iv-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes iv-dot { 0%, 70%, 100% { opacity: .25; } 35% { opacity: 1; } }

.iv-clock { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .5px; flex: none; }
.iv-clock.danger { color: var(--heat); }

.iv-call { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 44px 20px 30px; margin-top: 14px;
  background: var(--panel); border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .2s; }
.iv-call.danger { border-color: var(--heat); animation: iv-pulse 1s infinite; }
@keyframes iv-pulse { 50% { box-shadow: 0 0 0 4px #ff5a4f33; } }
.iv-orb { position: relative; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #2d3648, var(--panel-2)); border: 1.5px solid var(--line); transition: border-color .2s; }
.iv-orb i { width: 44px; height: 44px; border-radius: 50%; background: var(--muted); transition: background-color .2s, transform .2s; }
.iv-call[data-state="speaking"] .iv-orb { border-color: var(--heat); }
.iv-call[data-state="speaking"] .iv-orb i { background: var(--heat); animation: iv-speak .7s infinite alternate ease-in-out; }
.iv-call[data-state="thinking"] .iv-orb i, .iv-call[data-state="processing"] .iv-orb i { animation: iv-wait 1.1s infinite ease-in-out; }
.iv-call[data-state="listening"] .iv-orb, .iv-call[data-state="talking"] .iv-orb { border-color: var(--good); }
.iv-call[data-state="listening"] .iv-orb i, .iv-call[data-state="talking"] .iv-orb i { background: var(--good); }
.iv-call[data-state="considering"] .iv-orb { border-color: var(--warn); }
.iv-call[data-state="considering"] .iv-orb i { background: var(--warn); }
@keyframes iv-speak { from { transform: scale(.8); } to { transform: scale(1.3); } }
@keyframes iv-wait { 50% { opacity: .35; } }
.iv-status { font-size: 19px; font-weight: 600; }
.iv-meter { width: 220px; max-width: 100%; height: 6px; border-radius: 999px; background: var(--panel-2); overflow: hidden; }
.iv-meter i { display: block; height: 100%; width: 0; background: var(--good); }
.iv-done:disabled { opacity: .45; cursor: not-allowed; }
.iv-prep { color: var(--muted); font-size: 13.5px; margin: 0; }
.iv-field[hidden] { display: none; }

.iv-exhibit { margin-top: 14px; }
.iv-exhibit[hidden] { display: none; }
.iv-exhibit h3 { margin: 8px 0 12px; font-size: 16px; }
.iv-exhibit-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.iv-exhibit-nav { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.iv-exhibit-nav .btn { padding: 3px 10px; }
.iv-exhibit-scroll { overflow-x: auto; }
.iv-exhibit table, .iv-rubric { width: 100%; border-collapse: collapse; font-size: 14px; }
.iv-exhibit th, .iv-exhibit td, .iv-rubric td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.iv-exhibit th { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.iv-footnotes { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 12.5px; }
.iv-subhead { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.iv-mark { font-weight: 700; white-space: nowrap; }
.iv-mark.sig-good { color: var(--good); } .iv-mark.sig-weak { color: #ff9a5c; } .iv-mark.sig-bad { color: var(--bad); }
.iv-closing { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.iv-closing b { color: var(--text); width: 100%; }

.iv-debrief { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.iv-verdict { text-align: center; padding: 26px 22px; }
.iv-verdict.no { border-color: #5a2a2d; background: linear-gradient(160deg, #2a171b, var(--panel) 70%); }
.iv-verdict.lean { border-color: #574a1e; background: linear-gradient(160deg, #272113, var(--panel) 70%); }
.iv-verdict.yes { border-color: #24503b; background: linear-gradient(160deg, #142a20, var(--panel) 70%); }
.iv-verdict-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .6px; }
.iv-verdict-word { font-size: 42px; font-weight: 800; margin: 2px 0 6px; }
.iv-verdict.no .iv-verdict-word { color: var(--bad); }
.iv-verdict.lean .iv-verdict-word { color: var(--warn); }
.iv-verdict.yes .iv-verdict-word { color: var(--good); }
.iv-headline { font-size: 16px; margin: 0 auto 12px; max-width: 600px; }
.iv-verdict-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 12.5px; }
.iv-body p { margin: 0; color: #cdd6e4; }
.iv-sec { margin-top: 16px; }
.iv-sec h3 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.iv-sec.bad h3 { color: var(--bad); }
.iv-sec.good h3 { color: var(--good); }
.iv-sec ul { margin: 0; padding-left: 20px; color: #cdd6e4; font-size: 14px; }
.iv-sec li { margin-bottom: 4px; }
.iv-h { font-size: 17px; margin: 10px 0 0; }
#ivQuestions { display: flex; flex-direction: column; gap: 12px; }
.iv-qhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.iv-score { font-size: 18px; font-variant-numeric: tabular-nums; }
.iv-qtext { font-weight: 600; margin-bottom: 10px; }
.iv-gaps b { font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.iv-gaps p { margin: 3px 0 10px; color: #cdd6e4; font-size: 14px; }
.iv-qcard details summary, .iv-transcript summary { cursor: pointer; color: var(--accent); font-size: 13.5px; }
.iv-qcard details p { margin: 8px 0 0; color: #cdd6e4; font-size: 14px; }
.iv-tline { display: flex; flex-direction: column; margin-top: 12px; font-size: 14px; }
.iv-tline b { font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.iv-tline.interviewer b { color: var(--heat); }
.iv-tline span { white-space: pre-wrap; overflow-wrap: anywhere; color: #cdd6e4; }
.iv-actions { justify-content: center; margin-top: 6px; display: flex; gap: 10px; }
.iv-debrief-fail { max-width: 600px; margin: 40px auto; }
.iv-debrief-fail .btn-row { display: flex; gap: 10px; }

@media (max-width: 640px) {
  .topbar-right .mode-chip { display: none; }
  .iv-card-head { flex-direction: column; align-items: stretch; }
  .iv-bar { position: static; flex-direction: column; align-items: stretch; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .iv-call.danger, .iv-call .iv-orb i { animation: none !important; }
  .iv-dots i { animation: none; opacity: .7; }
}

/* sign-in */
.signin { max-width: 520px; margin: 48px auto; text-align: center; }
.signin .mode-row { justify-content: center; }
a.btn { text-decoration: none; display: inline-block; }
.foot-link { color: var(--muted); }
