/* ============================================================
   TÖRTÉNELEM 9. — stílusrendszer
   Design koncepció: "régi térkép / pecsétviasz" hangulat — mélykék
   éjszakai térkép-alapszín, öreg bross/arany pecsét-akcentussal,
   halvány bronz-zöld patina másodlagos akcentusként. A cél a
   középiskolás korosztálynak szóló, komoly de nem unalmas hangulat,
   amely a történelmi tartalomra reflektál klisék (krém+terrakotta,
   kártya-rács) nélkül.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  --bg: #101d33;
  --bg-elevated: #172a49;
  --surface: #1f3459;
  --surface-hover: #294270;
  --border: #33507e;
  --border-soft: #223a61;

  --gold: #c9a24b;
  --gold-bright: #e6c374;
  --bronze-green: #82a184;
  --danger: #c1584a;
  --danger-bright: #e07767;
  --success: #7fa876;

  --text: #f1eee2;
  --text-muted: #a9b6cf;
  --text-faint: #7284a3;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-card: 0 4px 24px rgba(6, 12, 24, 0.35);
  --max-width: 920px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(201, 162, 75, 0.10), transparent),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(130, 161, 132, 0.08), transparent);
  background-attachment: fixed;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}

a { color: var(--gold-bright); }

button {
  font-family: var(--font-body);
  cursor: pointer;
}

::selection { background: var(--gold); color: #14213a; }

/* Accessible focus ring */
:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Layout shell ---------- */

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border-soft);
}

.topbar__brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  cursor: pointer;
}

.topbar__brand .mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gold-bright);
}

.topbar__brand .grade-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 999px;
}

.topbar__nav {
  display: flex;
  gap: 6px;
}

.topbar__nav button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.topbar__nav button:hover { background: var(--surface); color: var(--text); }
.topbar__nav button.active { color: var(--gold-bright); background: var(--surface); }
.topbar__nav.logged-out button[data-nav]:not([data-nav="home"]),
.topbar__nav.logged-out #btn-logout,
.topbar__nav.logged-out .topbar__user,
.topbar__nav.logged-out .subject-select { display: none; }

.subject-select {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  margin-right: 6px;
  max-width: 190px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform 0.15s, opacity 0.15s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.topbar__user {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-faint);
  padding: 0 4px;
  align-self: center;
}

#btn-logout {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
}
#btn-logout:hover { border-color: var(--danger); color: var(--danger-bright); }

/* ---------- Auth (login/register) ---------- */

.auth-box {
  max-width: 420px;
  margin: 40px auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-card);
}

.auth-box .form-row { margin-bottom: 16px; }
.auth-box .form-row label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.auth-box .form-row input {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.auth-box .form-row input:focus { border-color: var(--gold); }

.auth-error {
  background: rgba(193,88,74,0.12);
  border: 1px solid rgba(193,88,74,0.4);
  color: var(--danger-bright);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--text-faint);
}

.btn-link {
  background: none;
  border: none;
  color: var(--gold-bright);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0 0 0 4px;
  text-decoration: underline;
}

.view-root {
  flex: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px 90px;
}

.view { display: none; }
.view.active { display: block; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.1s ease, background 0.15s, border-color 0.15s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gold);
  color: #16213c;
}
.btn-primary:hover { background: var(--gold-bright); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--surface-hover); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--gold); }

.btn-block { width: 100%; }

/* ---------- Home ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 20px 0 50px;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  color: var(--bronze-green);
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.03;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-bright);
}

.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 46ch;
  margin: 14px 0 26px;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.timeline-graphic {
  position: relative;
  height: 320px;
  border-left: 2px solid var(--border);
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.timeline-graphic .era {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
}
.timeline-graphic .era::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}
.timeline-graphic .era strong {
  display: block;
  font-family: var(--font-body);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 2px;
}

.snapshot-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 10px 0 46px;
}

.stat-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}
.stat-card .label { font-size: 0.8rem; color: var(--text-faint); margin-bottom: 6px; }
.stat-card .value { font-family: var(--font-mono); font-size: 1.6rem; color: var(--gold-bright); font-weight: 600; }
.stat-card .sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

.suggestion-banner {
  background: linear-gradient(135deg, rgba(130,161,132,0.14), rgba(130,161,132,0.05));
  border: 1px solid rgba(130,161,132,0.35);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.suggestion-banner strong { color: var(--bronze-green); }

.section-title {
  font-size: 1.05rem;
  color: var(--text-faint);
  font-weight: 600;
  margin: 44px 0 16px;
  text-transform: none;
}

/* ---------- Setup / topic picker ---------- */

.setup-grid {
  display: grid;
  gap: 28px;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}

.card h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 4px;
}
.card .hint { color: var(--text-faint); font-size: 0.85rem; margin-bottom: 16px; }

.topic-list {
  display: grid;
  gap: 8px;
}

.topic-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.topic-row:hover { background: var(--surface); }
.topic-row.checked { border-color: var(--gold); background: rgba(201,162,75,0.08); }

.topic-row input { accent-color: var(--gold); width: 17px; height: 17px; }
.topic-row .topic-name { flex: 1; font-weight: 500; }
.topic-row .topic-count { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-faint); }

.subtopic-list {
  margin: 4px 0 8px 40px;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.subtopic-list.open { display: flex; }
.subtopic-list label {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.subtopic-list input { accent-color: var(--bronze-green); }

.topic-expand {
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 0.8rem;
  padding: 4px;
}

.pill-group { display: flex; gap: 10px; flex-wrap: wrap; }

.pill {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.12s;
}
.pill.selected {
  background: var(--gold);
  color: #16213c;
  border-color: var(--gold);
  font-weight: 700;
}
.pill:hover:not(.selected) { border-color: var(--gold); color: var(--text); }
.pill.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  text-decoration: line-through;
}
#setup-length-hint {
  margin-top: 10px;
}
#setup-length-hint.warn { color: var(--gold); }

.setup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.selection-summary { color: var(--text-faint); font-size: 0.88rem; }

/* ---------- Quiz ---------- */

.quiz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 10px;
}

.quiz-progress-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.quiz-badges { display: flex; gap: 8px; }
.badge {
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.badge.difficulty-konnyu { color: var(--success); border-color: rgba(127,168,118,0.4); }
.badge.difficulty-kozepes { color: var(--gold-bright); border-color: rgba(201,162,75,0.4); }
.badge.difficulty-nehez { color: var(--danger-bright); border-color: rgba(193,88,74,0.4); }

.progress-bar-track {
  height: 6px;
  background: var(--border-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 30px;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transition: width 0.25s ease;
}

.question-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.source-text {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.question-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 26px;
  color: var(--text);
}

.options-list { display: grid; gap: 10px; }

.option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.98rem;
  width: 100%;
  transition: border-color 0.12s, background 0.12s;
}
.option-btn:hover:not(:disabled) { border-color: var(--gold); background: var(--surface-hover); }
.option-btn .option-letter {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-faint);
  width: 20px;
}
.option-btn:disabled { cursor: default; }
.option-btn.correct { border-color: var(--success); background: rgba(127,168,118,0.14); }
.option-btn.incorrect { border-color: var(--danger); background: rgba(193,88,74,0.14); }
.option-btn.correct .option-letter, .option-btn.incorrect .option-letter { color: var(--text); }

.multi-check { accent-color: var(--gold); width: 18px; height: 18px; margin-right: 4px; }

.tf-row { display: flex; gap: 14px; }
.tf-row .option-btn { justify-content: center; font-weight: 600; }

.text-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font-body);
}
.text-input:focus { border-color: var(--gold); }

.order-list, .match-cols { display: grid; gap: 10px; }
.order-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.order-item .order-index {
  font-family: var(--font-mono);
  color: var(--gold-bright);
  font-weight: 700;
  width: 22px;
}
.order-item .order-controls { margin-left: auto; display: flex; gap: 4px; }
.order-item .order-controls button {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.order-item .order-controls button:hover { color: var(--gold-bright); border-color: var(--gold); }

.match-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: center;
}
.match-left {
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
}
.match-select {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
}

.feedback-panel {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.feedback-panel.is-correct { border-color: rgba(127,168,118,0.5); background: rgba(127,168,118,0.09); }
.feedback-panel.is-incorrect { border-color: rgba(193,88,74,0.5); background: rgba(193,88,74,0.09); }
.feedback-panel .verdict {
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feedback-panel.is-correct .verdict { color: var(--success); }
.feedback-panel.is-incorrect .verdict { color: var(--danger-bright); }
.feedback-panel .correct-answer-line { color: var(--text); margin-bottom: 6px; font-size: 0.92rem; }
.feedback-panel .explanation { color: var(--text-muted); font-size: 0.92rem; line-height: 1.5; }
.explanation-line { margin-top: 4px; }
.explanation-line:first-child { margin-top: 0; }
.explanation-lang {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold-bright);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0 5px;
  margin-right: 4px;
  vertical-align: 1px;
}

.quiz-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
}
.quiz-footer .spacer { flex: 1; }

/* ---------- Results ---------- */

.result-hero {
  text-align: center;
  padding: 30px 0 20px;
}
.result-hero .score-big {
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
}
.result-hero .score-frac { font-size: 1.3rem; color: var(--text-muted); margin-top: 6px; }
.result-hero .score-message { margin-top: 12px; font-size: 1.1rem; color: var(--text); }

.result-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px,1fr));
  gap: 12px;
  margin: 30px 0;
}
.metric-chip {
  text-align: center;
  padding: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
}
.metric-chip .n { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700; }
.metric-chip .l { font-size: 0.78rem; color: var(--text-faint); margin-top: 4px; }
.metric-chip.correct .n { color: var(--success); }
.metric-chip.wrong .n { color: var(--danger-bright); }
.metric-chip.skipped .n { color: var(--text-muted); }

.breakdown-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.88rem;
}
.breakdown-bar-row .name { width: 190px; flex-shrink: 0; color: var(--text-muted); }
.breakdown-bar-track {
  flex: 1;
  height: 8px;
  background: var(--border-soft);
  border-radius: 999px;
  overflow: hidden;
}
.breakdown-bar-fill { height: 100%; background: var(--gold); }
.breakdown-bar-fill.low { background: var(--danger); }
.breakdown-bar-fill.mid { background: var(--gold); }
.breakdown-bar-fill.high { background: var(--success); }
.breakdown-bar-pct { width: 42px; text-align: right; font-family: var(--font-mono); color: var(--text-faint); }

.review-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 10px;
  background: var(--bg-elevated);
}
.review-item .q { font-weight: 600; margin-bottom: 6px; }
.review-item .a-wrong { color: var(--danger-bright); font-size: 0.88rem; }
.review-item .a-correct { color: var(--success); font-size: 0.88rem; margin-top: 2px; }
.review-item .expl { color: var(--text-muted); font-size: 0.86rem; margin-top: 8px; }

.result-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* ---------- Stats page ---------- */

.chart-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.chart-card h3 { font-size: 1rem; color: var(--text); margin-bottom: 18px; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-faint);
}
.empty-state h3 { color: var(--text-muted); margin-bottom: 8px; }

/* ---------- Utility ---------- */

.flex-between { display: flex; align-items: center; justify-content: space-between; }
.mt-0 { margin-top: 0; }
.text-muted { color: var(--text-muted); }
.text-faint { color: var(--text-faint); }
.hidden { display: none !important; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-elevated);
  border: 1px solid var(--gold);
  color: var(--text);
  padding: 12px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  font-size: 0.9rem;
  z-index: 100;
}

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .timeline-graphic { height: auto; padding: 20px 0 0 22px; }
  .match-row { grid-template-columns: 1fr; }
  .topbar { padding: 14px 16px; position: relative; }
  .nav-toggle { display: flex; }

  .topbar__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg);
    border-bottom: 1px solid var(--border-soft);
    padding: 10px 16px 16px;
    box-shadow: var(--shadow-card);
    z-index: 200;
  }

  .topbar__nav.open { display: flex; }

  .topbar__nav button,
  .topbar__nav .subject-select,
  .topbar__nav .topbar__user,
  .topbar__nav #btn-logout {
    width: 100%;
    max-width: none;
    margin-right: 0;
    text-align: left;
  }

  .topbar__nav button { padding: 12px 10px; }

  .view-root { padding: 24px 16px 80px; }
  .question-card { padding: 22px; }
}
