:root, html[data-theme="pine"] {
  color-scheme: dark;
  --bg: #101612;
  --bg-2: #18211b;
  --card: #223028;
  --ink: #e7f0e6;
  --muted: #a3b5a6;
  --line: rgba(168, 196, 154, 0.28);
  --brass: #d6c07a;
  --ember: #e08a4f;
  --green: #b7d39a;
  --amber: #e3c56a;
  --fail: #e07a72;
  --accent-ink: #142016;
  --control: #1a2420;
  --sidebar: #0e1511;
  --bar-bg: rgba(16, 22, 18, 0.92);
  --glow: rgba(183, 211, 154, 0.14);
  --glow-2: rgba(214, 192, 122, 0.1);
  --grid: rgba(183, 211, 154, 0.05);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --bar: 48px;
}

html[data-theme="hearth"] {
  color-scheme: dark;
  --bg: #161310;
  --bg-2: #221c16;
  --card: #2c241c;
  --ink: #f6f0e6;
  --muted: #b7a898;
  --line: rgba(214, 176, 122, 0.28);
  --brass: #e7c07a;
  --ember: #e07040;
  --green: #c5d37a;
  --amber: #e6b15a;
  --fail: #e36b62;
  --accent-ink: #1c140e;
  --control: #241e18;
  --sidebar: #1c1713;
  --bar-bg: rgba(22, 19, 16, 0.92);
  --glow: rgba(224, 112, 64, 0.16);
  --glow-2: rgba(231, 192, 122, 0.1);
  --grid: rgba(231, 192, 122, 0.045);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --bar: 48px;
}

html[data-theme="daylight"] {
  color-scheme: light;
  --bg: #f6f1e8;
  --bg-2: #efe6d8;
  --card: #fffaf3;
  --ink: #241c16;
  --muted: #6f6256;
  --line: rgba(70, 48, 28, 0.16);
  --brass: #9a6b2f;
  --ember: #c65a32;
  --green: #3f7d4e;
  --amber: #a97812;
  --fail: #b42318;
  --accent-ink: #fffaf3;
  --control: #fffaf3;
  --sidebar: #efe6d8;
  --bar-bg: rgba(246, 241, 232, 0.94);
  --glow: rgba(198, 90, 50, 0.12);
  --glow-2: rgba(154, 107, 47, 0.1);
  --grid: rgba(70, 48, 28, 0.05);
  --shadow: 0 12px 28px rgba(70, 48, 28, 0.12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100%;
  color: var(--ink);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  background:
    radial-gradient(820px 380px at 0% -12%, var(--glow), transparent 58%),
    radial-gradient(640px 320px at 100% 0%, var(--glow-2), transparent 52%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 28%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 80%);
}

button, input, textarea, a { font: inherit; }

h1, h2, h3, p { margin: 0; }

#app { min-height: 100dvh; }

.kicker, .mono, .tag, .pill, .section h3, .nav-label, .count {
  font-family: "Cascadia Code", "Cascadia Mono", "Segoe UI Mono", ui-monospace, monospace;
}

.app-shell { min-height: 100dvh; }

.bar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: calc(var(--bar) + var(--safe-top));
  padding: calc(6px + var(--safe-top)) 10px 6px;
  background: var(--bar-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.bar h1 {
  font-size: 1rem;
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.close-menu { font-size: 1.35rem; line-height: 1; }

.icon-btn {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--control);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.bars, .bars::before, .bars::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  position: relative;
}

.bars::before, .bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.bars::before { top: -5px; }
.bars::after { top: 5px; }

.scrim {
  position: fixed;
  inset: 0;
  z-index: 20;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.sidebar-open .scrim {
  opacity: 1;
  pointer-events: auto;
}

.sidebar {
  position: fixed;
  z-index: 30;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(280px, 86vw);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: calc(14px + var(--safe-top)) 12px calc(14px + var(--safe-bottom));
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(-105%);
  transition: transform 0.22s ease;
}

.sidebar-open .sidebar { transform: none; }

.side-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mark {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex: none;
}

.gate-mark {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  border-radius: 12px;
}

.kicker {
  color: var(--brass);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sidebar nav { display: flex; flex-direction: column; gap: 4px; }

.nav-label {
  margin: 12px 10px 2px;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.nav-link.sub { padding-left: 22px; color: var(--muted); }

.nav-link.active {
  color: var(--accent-ink);
  background: var(--brass);
  font-weight: 700;
}

.nav-link.discover {
  margin: 4px 0 8px;
  justify-content: center;
  color: var(--accent-ink);
  background: var(--ember);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-link.discover.active {
  color: var(--accent-ink);
  background: var(--ember);
  outline: 2px solid var(--brass);
}

.nav-link:disabled { opacity: 0.6; }

.side-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}

.signout {
  border: 0;
  background: transparent;
  color: var(--muted);
  min-height: 42px;
  padding: 0 12px;
  text-align: left;
  cursor: pointer;
}

.profile-name {
  margin: 4px 0 16px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.themes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 100%;
  margin-bottom: 14px;
}

.theme-pick {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--control);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.theme-pick.selected {
  border-color: var(--brass);
  box-shadow: inset 0 0 0 1px var(--brass);
}

.dots { display: inline-flex; gap: 4px; }

.dots i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.swatch.hearth-0 { background: #161310; }
.swatch.hearth-1 { background: #e7c07a; }
.swatch.hearth-2 { background: #e07040; }
.swatch.daylight-0 { background: #f6f1e8; }
.swatch.daylight-1 { background: #9a6b2f; }
.swatch.daylight-2 { background: #c65a32; }
.swatch.pine-0 { background: #101612; }
.swatch.pine-1 { background: #d6c07a; }
.swatch.pine-2 { background: #b7d39a; }

.screen { max-width: 100%; padding: 12px 12px calc(18px + var(--safe-bottom)); }

.screen.with-composer { padding-bottom: calc(108px + var(--safe-bottom)); }

.frame { width: min(720px, 100%); max-width: 100%; margin: 0 auto; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
  margin-bottom: 8px;
}

.search {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 100%;
  margin-bottom: 10px;
}

.search input, .search select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--control);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.search input { min-height: 42px; padding: 0 12px; }

.search-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
}

.pick {
  flex: 1 1 9.5rem;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search select {
  min-height: 42px;
  padding: 0 8px;
  letter-spacing: 0;
  text-transform: none;
}

.chip, .action {
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 34px;
  padding: 0 12px;
  background: var(--control);
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chip.active, .action.primary {
  color: var(--accent-ink);
  border-color: transparent;
  background: var(--ember);
  font-weight: 700;
}

.card, .section, .player, .book, .bubble {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.card, .book {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  text-align: left;
  color: inherit;
  text-decoration: none;
  padding: 12px;
  margin-bottom: 8px;
}

.card-top, .meta, .row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.card-top { justify-content: space-between; margin-bottom: 6px; }

.tag, .pill {
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag.year {
  color: var(--accent-ink);
  background: var(--brass);
  border-color: transparent;
  font-weight: 800;
}

.tag {
  color: var(--ember);
  border: 1px solid color-mix(in srgb, var(--ember) 55%, transparent);
  background: color-mix(in srgb, var(--ember) 12%, transparent);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag.sub {
  color: var(--brass);
  border-color: color-mix(in srgb, var(--brass) 55%, transparent);
  background: color-mix(in srgb, var(--brass) 12%, transparent);
}

.tag.revisit {
  color: var(--accent-ink);
  background: var(--ember);
  border-color: transparent;
}

.topics { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }

.card .retry { margin-top: 8px; }

.card h2, .book h2, .title {
  font-size: 0.98rem;
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.book a { color: inherit; text-decoration: none; }

.book h2 { color: inherit; }

.summary, .muted { color: var(--muted); }

.summary {
  margin-top: 4px;
  font-size: 0.86rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.player .summary, .section .summary, .bubble p { display: block; -webkit-line-clamp: unset; overflow: visible; }

.meta, .count {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.75rem;
}

.pill.listened { color: var(--accent-ink); background: var(--green); font-weight: 700; }
.pill.pending { color: var(--accent-ink); background: var(--amber); font-weight: 700; }
.pill.failed, .banner { color: var(--fail); }
.pill.failed { border: 1px solid color-mix(in srgb, var(--fail) 55%, transparent); background: color-mix(in srgb, var(--fail) 12%, transparent); }
.pill.muted { color: var(--muted); border: 1px solid var(--line); }

.player {
  padding: 12px;
  margin-bottom: 10px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--ember) 16%, transparent), transparent 46%),
    var(--card);
}

audio, img, video { max-width: 100%; }

audio { width: 100%; margin-top: 8px; height: 36px; }

.section { padding: 12px; margin-bottom: 8px; }

.section h3 {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 6px;
}

.section p, .section li { font-size: 0.9rem; line-height: 1.45; }

.section ul { margin: 0; padding-left: 1.05rem; }

.concept { margin-bottom: 8px; }

.concept strong { display: block; font-size: 0.9rem; }

.row { margin-top: 10px; }

.action { font-weight: 650; font-size: 0.86rem; }

.empty, .banner { padding: 4px 0 10px; font-size: 0.88rem; line-height: 1.4; }

.empty { color: var(--muted); }

.gate {
  width: min(400px, calc(100% - 24px));
  margin: 12vh auto 0;
  padding: 18px 14px 16px;
}

.gate h1 {
  margin: 4px 0 6px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input, .composer textarea {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--control);
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
  font-size: 16px;
}

.field input { min-height: 44px; padding: 0 12px; }

.gate .action { width: 100%; margin-top: 14px; min-height: 44px; }

.eyebrow {
  color: var(--ember);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.thread { display: flex; flex-direction: column; gap: 8px; }

.bubble { margin: 0; padding: 10px 12px; }

.bubble p { white-space: pre-wrap; line-height: 1.45; font-size: 0.92rem; }

.bubble.user { margin-left: 14%; border-color: color-mix(in srgb, var(--brass) 55%, transparent); }

.bubble.assistant { margin-right: 6%; }

.cite {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  color: var(--brass);
  text-decoration: none;
  font-size: 0.78rem;
  line-height: 1.35;
}

.source {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  max-width: 100%;
  min-width: 0;
  margin: 8px 0;
}

.source-copy { min-width: 0; }

.source-copy strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.3;
}

.source-copy a, .card h2 a, .book a { color: inherit; text-decoration: none; }

.source-kicker {
  display: block;
  color: var(--brass);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.file {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evidence {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.evidence p { color: var(--muted); font-size: 0.8rem; margin: 4px 0 8px; }

.practice {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
  margin-top: 18px;
}

.level-btn {
  width: 100%;
  max-width: 100%;
  min-height: 78px;
  border-radius: 18px;
  border: 0;
  box-shadow: var(--shadow);
  color: var(--accent-ink);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  cursor: pointer;
}

.level-btn:active { transform: scale(0.99); }

.level-btn:disabled { opacity: 0.55; }

.level-btn.easy { background: var(--green); }

.level-btn.medium { background: var(--brass); }

.level-btn.hard { background: var(--ember); }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: 100%;
  margin-bottom: 16px;
}

.stat {
  min-width: 0;
  padding: 14px 10px 12px;
  border-radius: 16px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.block { margin: 0 0 18px; max-width: 100%; }

.block h2 { font-size: 1.05rem; margin: 0 0 8px; }

.cat, .revisit-paper {
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  max-width: 100%;
}

.cat-top {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  justify-content: space-between;
  align-items: baseline;
}

.cat-top strong { min-width: 0; }

.meter {
  height: 8px;
  margin: 8px 0 10px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.meter i {
  display: block;
  height: 100%;
  background: var(--green);
}

.subs, .gaps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.subs li, .gaps li {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  border-top: 1px solid var(--line);
}

.topic {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  min-width: 0;
}

.revisit-paper a { font-weight: 650; }

.revisit-paper p { margin: 4px 0 0; color: var(--muted); }

.scoreboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 100%;
  margin: 18px 0 16px;
}

.score {
  min-width: 0;
  padding: 20px 10px 16px;
  border-radius: 18px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
}

.score strong {
  display: block;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.reread { margin: 4px 0 16px; }

.reread h2 { font-size: 1.05rem; margin: 0 0 8px; }

.reread article {
  margin-bottom: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.reread .prompt { margin: 0 0 6px; line-height: 1.35; }

.reread a { color: var(--brass); font-weight: 650; }

.score span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.score.ok strong { color: var(--green); }

.score.bad strong { color: var(--fail); }

.action.wide { width: 100%; min-height: 48px; }

.verdict {
  margin: 14px 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
}

.verdict.ok { color: var(--green); }

.verdict.bad { color: var(--fail); }

.explain { color: var(--muted); line-height: 1.4; }

.choice {
  display: flex;
  width: 100%;
  text-align: left;
  justify-content: flex-start;
  white-space: normal;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 42px;
  margin-top: 8px;
  padding: 8px 12px;
  background: var(--control);
  color: var(--ink);
  cursor: pointer;
}

.choice.right { border-color: var(--green); color: var(--green); }
.choice.wrong { border-color: var(--fail); color: var(--fail); }
.banner.ok { color: var(--green); }

.quiz .card-top { flex-wrap: wrap; gap: 6px 10px; }
.quiz h2 { font-size: 1rem; margin: 8px 0; }
.concept-label { color: var(--brass); font-size: 0.82rem; letter-spacing: 0.04em; }

.cite span:last-child { color: var(--muted); }

.composer {
  position: fixed;
  z-index: 12;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 8px;
  align-items: flex-end;
  padding: 8px 10px calc(8px + var(--safe-bottom));
  background: var(--bar-bg);
  border-top: 1px solid var(--line);
}

.composer textarea {
  flex: 1;
  min-height: 42px;
  max-height: 120px;
  resize: none;
  padding: 10px 12px;
}

.composer .action { min-height: 42px; margin: 0; padding: 0 14px; }

dialog.notice {
  width: min(340px, calc(100vw - 32px));
  max-width: 100%;
  margin: auto;
  padding: 18px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}

dialog.notice::backdrop { background: rgba(12, 9, 7, 0.72); }

dialog.notice h2 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 14px;
}

dialog.notice .names {
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

dialog.notice .action { width: 100%; }
dialog.notice .action + .action { margin-top: 8px; }

.remind { margin: 8px 0 14px; }
.remind .hint { margin-top: 8px; }
.remind .action { width: 100%; margin-top: 8px; }

.hint { margin: 0 0 8px; color: var(--muted); font-size: 0.82rem; }

.hint a { color: var(--brass); }

.byline { margin: 0 0 8px; color: var(--brass); font-weight: 700; }

.interest-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }

.discover-form, .discover-picks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }

.pick.block { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }

.pick.block textarea {
  min-height: 88px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--control);
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.focus {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.focus legend { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }

.focus label { display: flex; gap: 8px; align-items: center; text-transform: none; letter-spacing: 0; color: var(--ink); }

.discover-go {
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: var(--ember);
  color: var(--accent-ink);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.discover-go:disabled { opacity: 0.6; }

.choice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.choice-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.choice p { margin: 6px 0 0; color: var(--muted); }
