:root {
  --blue: #0f2cb0;
  --blue-dark: #1d3ed9;
  --blue-soft: #e7ebf8;
  --ink: #121828;
  --muted: #4e5872;
  --faint: #6a7590;
  --line: #dde2ec;
  --line-strong: #c7cedd;
  --surface: #f4f6fa;
  --card: #ffffff;
  --disabled: #ebeef5;
  --disabled-text: #9ba5bc;
  --danger: #b3261e;
  --danger-soft: #fbeae8;
  --info-soft: #f8f1e4;
  --radius: 12px;
  --radius-field: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 14px/20px Inter, system-ui, sans-serif;
}

h1, h2, h3, .brand { font-family: Archivo, Inter, sans-serif; font-weight: 600; letter-spacing: -0.022em; }

.topbar {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 20px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.brand { font-size: 20px; font-weight: 700; color: var(--blue); }
.topbar-title { color: var(--muted); font-size: 14px; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
  padding: 32px 20px 48px;
  transition: padding-right 0.2s ease;
}

.phone {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.screen { padding: 22px 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.screen h1 { font-size: 24px; margin: 0; }
.screen .sub { color: var(--muted); margin: -10px 0 0; font-size: 14px; }

.author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 14px;
}
.author strong { display: block; }
.author span { color: var(--muted); }


textarea, input[type=text] {
  width: 100%;
  font: inherit;
  color: inherit;
  font-size: 15px;
  line-height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-field);
  padding: 12px 14px;
  background: var(--card);
}
textarea::placeholder, input[type=text]::placeholder { color: var(--faint); }
textarea { min-height: 150px; resize: vertical; }
textarea:focus, input[type=text]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }

.button {
  border: 0;
  border-radius: var(--radius);
  padding: 13px 18px;
  font: 600 15px/20px Inter, sans-serif;
  letter-spacing: -0.012em;
  cursor: pointer;
  background: var(--blue);
  color: #fff;
}
.button:hover { background: var(--blue-dark); }
.button:disabled { background: var(--disabled); color: var(--disabled-text); cursor: default; }
.button.secondary { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.button.secondary:hover { background: var(--disabled); }
.button.link { background: none; color: var(--blue); padding: 0; font-size: 14px; }
.actions { display: flex; gap: 10px; }
.actions .button { flex: 1; }

.banner { border-radius: var(--radius); padding: 12px 14px; font-size: 14px; }
.banner.danger { background: var(--danger-soft); color: var(--danger); }
.banner.info { background: var(--info-soft); }
.banner.error { background: var(--danger-soft); color: var(--danger); }

.question { display: flex; flex-direction: column; gap: 8px; }
.question p { margin: 0; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line-strong);
  background: var(--card);
  border-radius: 999px;
  padding: 8px 14px;
  font: 600 14px/17px Inter, sans-serif;
  letter-spacing: -0.012em;
  color: var(--ink);
  cursor: pointer;
}
.chip:hover { border-color: var(--blue); }
.chip[aria-pressed=true] { background: var(--blue); border-color: var(--blue); color: #fff; }

.post {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  white-space: pre-wrap;
  min-height: 90px;
}
.post.streaming::after { content: '▍'; color: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.loading { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 80px 0; color: var(--muted); }
.spinner { width: 34px; height: 34px; border: 3px solid var(--blue-soft); border-top-color: var(--blue); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.note { color: var(--muted); font-size: 13px; }



.pickers { display: flex; flex-wrap: wrap; gap: 12px; }
.pickers fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.pickers legend { font-size: 13px; color: var(--muted); padding: 0 4px; }
select {
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 30px 6px 10px;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235d6475' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
  cursor: pointer;
}
select:hover { border-color: #c9cedb; }
select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }

.session-state { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.session-state b { color: var(--ink); font-weight: 600; }

.log { display: flex; flex-direction: column; gap: 12px; }
.pass-title { font: 600 13px Inter, sans-serif; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin: 8px 0 -4px; }
.pass-text { font-size: 13px; background: var(--surface); border-radius: 8px; padding: 8px 10px; white-space: pre-wrap; }
.entry { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.entry h3 { margin: 0; font-size: 15px; }
.entry .meta { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.entry dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 12px; margin: 0; font-size: 13px; }
.entry dt { color: var(--muted); }
.entry dd { margin: 0; overflow-wrap: anywhere; }
.empty { color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .layout { grid-template-columns: minmax(0, 1fr); padding: 12px 12px 32px; }
  .phone { min-height: 0; border-radius: 16px; }
  .topbar { padding: 12px 16px; }
  .topbar-title { font-size: 13px; }
}

.useless {
  display: inline-block;
  margin-left: 6px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 1px 9px;
  font: 500 12px Inter, sans-serif;
  color: var(--muted);
  cursor: pointer;
}
.useless[aria-pressed=true] { background: var(--danger-soft); border-color: var(--danger); color: var(--danger); }

.field-label { font-size: 13px; color: var(--muted); margin-bottom: -10px; }

a.brand { text-decoration: none; }
.history { max-width: 1280px; margin: 0 auto; padding: 24px 20px 48px; display: flex; flex-direction: column; gap: 14px; }
.history h1 { font-size: 24px; margin: 0; }
.history a { color: var(--blue); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.filters label { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.filters .button { padding: 8px 14px; font-size: 14px; }
.filters .button.link { padding: 0; text-decoration: none; }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.sessions { width: 100%; border-collapse: collapse; font-size: 14px; }
.sessions th, .sessions td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sessions th { font: 600 12px Inter, sans-serif; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }
.sessions td { white-space: nowrap; }
.sessions td.text { white-space: normal; min-width: 240px; }
.sessions td.num { text-align: right; }
.sessions tr.abandoned td { color: var(--muted); }
.tag { display: inline-block; border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 600; background: var(--surface); }
.tag.sent { background: var(--blue-soft); color: var(--blue-dark); }
.tag.review, .tag.distress { background: var(--info-soft); }
.tag.not_allowed { background: var(--danger-soft); color: var(--danger); }
.tag.abandoned { border: 1px dashed var(--muted); background: none; color: var(--muted); }

@media (max-width: 860px) {
  .history { padding: 16px 16px 32px; }
      }

.topbar { position: relative; flex-wrap: wrap; align-items: center; }
.tester-badge { margin-left: auto; font-size: 14px; color: var(--muted); display: flex; align-items: baseline; gap: 8px; }
.tester-badge b { color: var(--ink); font-weight: 600; }
.tester-badge:empty { display: none; }
.settings { position: relative; }

.settings summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font: 600 14px Inter, sans-serif;
  color: var(--ink);
  background: var(--card);
}
.settings summary::-webkit-details-marker { display: none; }
.settings summary::before { content: '⚙'; margin-right: 6px; color: var(--muted); }
.settings[open] summary { border-color: var(--blue); color: var(--blue); }
.settings-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 10;
  width: max-content;
  max-width: calc(100vw - 32px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(20, 22, 28, 0.12);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.settings-panel .note { margin: 0; }

.welcome { min-height: calc(100vh - 60px); display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.welcome[hidden], .layout[hidden] { display: none; }
.welcome-inner { width: 100%; max-width: 620px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.welcome-kicker { margin: 0; font: 600 13px Inter, sans-serif; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); }
.welcome h1 { margin: 0; font-size: clamp(40px, 8vw, 72px); line-height: 1.02; letter-spacing: -0.03em; }
.welcome-sub { margin: 0; color: var(--muted); font-size: 17px; max-width: 460px; }
.welcome input[type=text] { font-size: 24px; padding: 18px 22px; text-align: center; border-radius: 16px; max-width: 460px; margin-top: 10px; }
.welcome .button { width: 100%; max-width: 460px; padding: 17px 22px; font-size: 17px; border-radius: 16px; }

@media (max-width: 860px) {
  .tester-badge { font-size: 13px; }
  .settings-panel { right: -4px; }
}

.layout { row-gap: 16px; }
.tester-panel {
  --proto-ink: #e9ecf3;
  --proto-muted: #9aa1b2;
  --proto-line: #343947;
  --proto-accent: #d7f25c;
  background: #1b1e26;
  color: var(--proto-ink);
  border-radius: 16px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 10px, transparent 10px 20px);
}
.tester-panel[hidden] { display: none; }
.tester-panel-head { display: flex; align-items: center; gap: 10px; color: var(--proto-muted); font-size: 12px; margin-bottom: 4px; }
.tester-panel-tag { font: 600 11px ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: 0.08em; color: #1b1e26; background: var(--proto-accent); border-radius: 4px; padding: 2px 7px; }
.tester-panel label { font-weight: 600; }
.tester-panel textarea { background: #13151b; border-color: var(--proto-line); color: var(--proto-ink); min-height: 96px; border-radius: 10px; }
.tester-panel textarea::placeholder { color: #6c7385; }
.tester-panel textarea:focus { outline: 2px solid rgba(215, 242, 92, 0.25); border-color: var(--proto-accent); }
.tester-panel-actions { display: flex; gap: 10px; }
.proto-button { flex: 1; border: 1px solid var(--proto-accent); background: var(--proto-accent); color: #1b1e26; border-radius: 10px; padding: 11px 14px; font: 600 14px Inter, sans-serif; cursor: pointer; }
.proto-button:hover { filter: brightness(1.05); }
.proto-button.ghost { background: transparent; color: var(--proto-ink); border-color: var(--proto-line); }
.proto-button.ghost:hover { border-color: var(--proto-muted); }
.tester-panel-status { margin: 0; color: var(--proto-muted); font-size: 12px; min-height: 1em; }
.tester-panel-status:empty { display: none; }

.ratings { display: flex; flex-direction: column; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--proto-line); margin-bottom: 4px; }
.ratings-title { margin: 0; font-weight: 600; }
.ratings-title span { font-weight: 400; color: var(--proto-muted); font-size: 12px; margin-left: 6px; }
.rating { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rating-label { display: flex; flex-direction: column; }
.rating-label span { color: var(--proto-muted); font-size: 12px; }
.rating-scale { display: flex; gap: 6px; }
.rating-step { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--proto-line); background: #13151b; color: var(--proto-ink); font: 600 14px Inter, sans-serif; cursor: pointer; }
.rating-step:hover { border-color: var(--proto-muted); }
.rating-step[aria-pressed=true] { background: var(--proto-accent); border-color: var(--proto-accent); color: #1b1e26; }

.history { max-width: 980px; }
.history .back { font-size: 14px; font-weight: 600; text-decoration: none; }
.session-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.session-head h1 { font-size: 30px; margin: 2px 0 0; }
.kicker { margin: 0; font-size: 13px; color: var(--muted); }
.session-sub { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.tag.big { font-size: 14px; padding: 5px 14px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.stat span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.stat b { font: 600 17px Inter, sans-serif; display: flex; align-items: center; gap: 6px; }
.stars { display: inline-flex; gap: 3px; }
.stars i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.stars i.on { background: var(--blue); }
.muted { color: var(--muted); font-weight: 400; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.quote span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.quote p { margin: 6px 0 0; white-space: pre-wrap; }
.section-title { font-size: 18px; margin: 12px 0 0; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 61px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 34px; padding: 0 0 18px; position: relative; }
.tl-step::before { content: ''; position: absolute; left: 56px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 2px solid var(--muted); }
.tl-step.member::before { border-color: var(--blue); background: var(--blue); }
.tl-step.outcome::before { border-color: var(--ink); background: var(--ink); }
.tl-step.tester::before { border-color: #9c8a1c; background: #e8d65c; }
.tl-time { font-size: 12px; color: var(--muted); text-align: right; padding-top: 1px; font-variant-numeric: tabular-nums; }
.tl-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tl-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tl-head b { font: 600 15px Inter, sans-serif; }
.tl-head span { font-size: 12px; color: var(--muted); }
.tl-note { margin: 0; font-size: 14px; color: var(--muted); }
.tl-note.warn { color: var(--danger); }
.bubble { margin: 0; background: var(--blue-soft); border-radius: 4px 14px 14px 14px; padding: 10px 14px; white-space: pre-wrap; max-width: 620px; }
.bubble.draft-text { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 6px; }
.tl-step.tester .bubble { background: #fbf6d9; }
.qa { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.qa li { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.qa p, .q { margin: 0; font-weight: 500; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-pill { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 3px 11px; font-size: 13px; }
.chip-pill.picked { background: var(--blue); border-color: var(--blue); color: #fff; }
.typed { font-size: 12px; color: var(--muted); }
.hidden-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hidden-tag { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 3px 9px; font-size: 13px; color: var(--muted); }
.hidden-tag b { color: var(--ink); font-weight: 600; }
.call { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.call summary { cursor: pointer; padding: 10px 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.call summary b { font-size: 14px; }
.call summary span { font-size: 12px; color: var(--muted); }
.call summary em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--blue-dark); background: var(--blue-soft); border-radius: 999px; padding: 1px 9px; }
.call dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 14px; margin: 0; padding: 4px 14px 14px; font-size: 13px; }
.call dt { color: var(--muted); }
.call dd { margin: 0; overflow-wrap: anywhere; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.scores { display: flex; flex-wrap: wrap; gap: 5px; }
.score { font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; border-radius: 6px; padding: 2px 7px; background: var(--surface); color: var(--muted); }
.score b { font-weight: 600; }
.score.top { background: var(--blue-soft); color: var(--blue-dark); }
.score.warm { background: var(--info-soft); color: #7a5a00; }
.score.hot { background: var(--danger-soft); color: var(--danger); }

@media (max-width: 860px) {
  .session-head { flex-direction: column; }
  .timeline::before { left: 7px; }
  .tl-step { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-left: 26px; }
  .tl-step::before { left: 2px; }
  .tl-time { text-align: left; }
}

.welcome.wide { align-items: flex-start; padding-top: 56px; }
.picker { width: 100%; max-width: 1080px; display: flex; flex-direction: column; gap: 32px; }
.picker-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.picker-head h1 { margin: 0; font-size: clamp(32px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1180px) { .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.profile-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  font: inherit;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.profile-card:hover, .profile-card:focus-visible { border-color: var(--blue); box-shadow: 0 10px 28px rgba(15, 44, 176, 0.12); transform: translateY(-2px); outline: none; }
.profile-text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.profile-role { display: inline-block; background: var(--blue-soft); color: var(--blue); border-radius: 999px; padding: 4px 10px; font: 600 12px/16px Inter, sans-serif; }
.profile-name { margin-top: 6px; font: 600 19px/23px Archivo, Inter, sans-serif; letter-spacing: -0.022em; color: var(--ink); }
.profile-detail { margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--muted); }
@media (max-width: 860px) {
  .welcome.wide { padding-top: 28px; }
  .profile-grid { grid-template-columns: minmax(0, 1fr); }
}

.phone[hidden] { display: none; }
.thanks h2 { margin: 2px 0 0; font-size: 20px; color: #fff; }
.thanks p { margin: 6px 0 0; color: var(--proto-muted); }
.proto-backstage { border-top: 1px solid var(--proto-line); padding-top: 10px; }
.proto-backstage summary { cursor: pointer; font-weight: 600; color: var(--proto-ink); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.proto-backstage summary span { font-weight: 400; font-size: 12px; color: var(--proto-muted); }
.proto-backstage .backstage-body { margin-top: 12px; background: var(--surface); color: var(--ink); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.proto-backstage .entry { background: var(--card); }
.layout.ending { grid-template-columns: minmax(0, 640px); }

.chip.quiet { border-style: dashed; color: var(--muted); }
.chip.quiet[aria-pressed=true] { border-style: solid; color: #fff; }
.level-pill { display: inline-block; vertical-align: 1px; margin-left: 4px; font: 600 10px Inter, sans-serif; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 999px; padding: 2px 7px; }
.level-pill.required { background: var(--blue-soft); color: var(--blue-dark); }
.level-pill.important { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.chip-pill.skipped { border-style: dashed; color: var(--muted); }
.required-mark { color: var(--danger); font-weight: 700; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tag.not_available { background: var(--surface); border: 1px solid var(--line); }
.rating-line { display: flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; }
.rating-line > span { color: var(--muted); min-width: 92px; }
.history:has(.sessions) { max-width: 1280px; }
.bulk { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.button.danger { background: var(--danger); color: #fff; padding: 8px 14px; font-size: 14px; }
.button.danger:hover { background: #8f1c13; }
.button.danger:disabled { background: #e6b3ae; }
.sessions th.pick, .sessions td.pick { width: 1%; padding-right: 0; }
.sessions input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; }
.filters select { min-width: 180px; }
.topbar .settings { margin-left: auto; }
.tester-badge:not(:empty) + .settings { margin-left: 0; }
.avatar { flex: none; object-fit: cover; background: var(--surface); }
.avatar.xl { width: 72px; height: 72px; border-radius: 18px; }
.avatar.small { width: 40px; height: 40px; border-radius: 12px; }
.avatar.initials { display: grid; place-items: center; color: var(--blue); font: 600 28px Inter, sans-serif; letter-spacing: -0.02em; }
.avatar.initials.small { font-size: 14px; }
.author { flex-direction: column; align-items: stretch; gap: 10px; }
.author-id { display: flex; align-items: center; gap: 12px; }
.author-next { border-top: 1px solid var(--line); padding-top: 8px; }
.author-next p { margin: 0 0 4px; font-size: 12px; color: var(--faint); }
.author-next ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.author-next li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.author-next li b { font-weight: 600; white-space: nowrap; }
.button.link.start-over { align-self: center; color: var(--muted); font-weight: 500; }
.button.link.start-over:hover { color: var(--blue); background: none; }
.button.link:hover { background: none; text-decoration: underline; }

.progress { height: 4px; border-radius: 999px; background: var(--disabled); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--blue); border-radius: inherit; transition: width 0.25s ease; }
.step-count { margin: -6px 0 0; font-size: 13px; color: var(--muted); }
.question-title { font: 600 21px/25px Archivo, Inter, sans-serif !important; letter-spacing: -0.028em; }
.options { display: flex; flex-direction: column; }
.option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 12px 0;
  text-align: left;
  font: inherit;
  color: var(--ink);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
}
.option-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.option-text b { font: 600 14px/17px Inter, sans-serif; letter-spacing: -0.012em; }
.option-text span { font-size: 12.5px; line-height: 18px; color: var(--muted); }
.option-mark { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: background 0.12s ease, border-color 0.12s ease; }
.option:hover .option-mark { border-color: var(--blue); }
.option[aria-checked=true] .option-mark { background: var(--blue); border-color: var(--blue); }
.option[aria-checked=true] .option-mark::after { content: ''; width: 10px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.option.quiet .option-text b { font-weight: 500; color: var(--muted); }
.option.quiet[aria-checked=true] .option-text b { color: var(--ink); font-weight: 600; }
.question-nav { display: flex; gap: 10px; }
.question-nav .button { flex: 1; }
.author-profile { border-top: 1px solid var(--line); padding-top: 8px; }
.author-profile summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--blue); }
.author-profile dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; margin: 8px 0 0; font-size: 13px; }
.author-profile dt { color: var(--faint); }
.author-profile dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.option.multi .option-mark { border-radius: 7px; }
.step-hint { margin: -8px 0 0; font-size: 13px; color: var(--muted); }
