/* SAT Practice — Tolv workspace rules with the supplied palette.
   #00000F ink · #FBFFFF surface · #002A54 navy · #8AA8FF periwinkle · #FF9800 orange */

/* Pinned Tolv webfonts. The system stack remains the fallback when the browser
   is offline, so typography never blocks the study surface. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/manrope/v15/xn7gYHE41ni1AdIRggexSg.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/jetbrainsmono/v18/tDbY2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKxTOlOV.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #FBFFFF;
  --panel: #FBFFFF;
  --sunken: #F2F6FC;
  --ink: #00000F;
  --body: #243F5C;
  --muted: #526B86;
  --faint: #7890AA;
  --line: #D6E1F0;
  --line-strong: #AFC1D8;
  --accent: #002A54;
  --accent-hover: #001F3F;
  --accent-active: #00000F;
  --accent-soft: #E8EEFF;
  --periwinkle: #8AA8FF;
  --periwinkle-soft: #EEF2FF;
  --orange: #FF9800;
  --orange-deep: #8A4B00;
  --orange-soft: #FFF2DE;
  --wrong: #8A4B00;
  --right: #002A54;
  --right-soft: #E8EEFF;
  --radius-control: 8px;
  --radius-card: 12px;
  --radius-panel: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 1px rgba(0, 0, 15, .04), 0 2px 4px -1px rgba(0, 42, 84, .08);
  --shadow-md: 0 1px 2px rgba(0, 0, 15, .05), 0 8px 18px -6px rgba(0, 42, 84, .14);
  --shadow-focus: 0 0 0 3px rgba(138, 168, 255, .7);
  --ease-out: cubic-bezier(.22, .75, .28, 1);
  --dur-fast: 140ms;
  --dur-base: 200ms;
  --font-display: Manrope, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: Manrope, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #00000F;
    --panel: #002A54;
    --sunken: #001F3F;
    --ink: #FBFFFF;
    --body: #E7F0FA;
    --muted: #C4D2E3;
    --faint: #94A9C1;
    --line: rgba(251, 255, 255, .18);
    --line-strong: rgba(251, 255, 255, .35);
    --accent: #8AA8FF;
    --accent-hover: #A7BCFF;
    --accent-active: #C3D0FF;
    --accent-soft: rgba(138, 168, 255, .18);
    --periwinkle-soft: rgba(138, 168, 255, .16);
    --orange-deep: #FFB84D;
    --orange-soft: rgba(255, 152, 0, .16);
    --wrong: #FFB84D;
    --right: #8AA8FF;
    --right-soft: rgba(138, 168, 255, .16);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--body);
  font: 400 15px/1.62 var(--font-body);
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); font-family: var(--font-display); letter-spacing: -.018em; }
h1 { font-size: 40px; line-height: 1.16; font-weight: 700; letter-spacing: -.028em; }
h2 { font-size: 32px; line-height: 1.2; font-weight: 700; }
h3 { font-size: 21px; line-height: 1.24; font-weight: 700; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-control);
}

::selection { background: var(--periwinkle); color: var(--ink); }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 90;
  transform: translateY(-160%);
  padding: 9px 14px;
  border-radius: var(--radius-control);
  background: var(--panel);
  color: var(--accent);
  box-shadow: var(--shadow-md);
  font-weight: 700;
  transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sub { max-width: 720px; margin: 8px 0 24px; color: var(--muted); font-size: 16px; }
.muted { color: var(--muted); }

/* Chrome: fixed-feeling without overwhelming the study surface. */
#chrome {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--accent);
  color: var(--panel);
  box-shadow: 0 1px 0 rgba(0, 0, 15, .14), 0 8px 20px -16px rgba(0, 0, 15, .4);
}
.chrome-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1760px;
  min-height: 64px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
}
.product-name {
  flex: none;
  color: var(--panel);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.tablist { display: flex; align-items: center; gap: 4px; }
.tab {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: rgba(251, 255, 255, .76);
  font-size: 13px;
  font-weight: 600;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.tab:hover { background: rgba(251, 255, 255, .12); color: var(--panel); }
.tab.on { background: var(--periwinkle); color: var(--ink); font-weight: 700; }
.tab:active { transform: translateY(1px); }
#countdown {
  margin-left: auto;
  color: var(--periwinkle);
  font: 600 12px/1.4 var(--font-mono);
  letter-spacing: 0;
  white-space: nowrap;
}

.app-error {
  width: min(100% - 48px, 1180px);
  margin: 16px auto -4px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 152, 0, .5);
  border-radius: var(--radius-control);
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-size: 14px;
  font-weight: 600;
}

/* Views use Tolv's standard page width and spacing scale. */
.view { 
  display: none;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.view.on { display: block; }
#session { max-width: 1280px; }
.workspace-header { max-width: 760px; }
.view > h1:focus, .view > h2:focus { outline: none; box-shadow: none; }

/* Today is a focused command surface: actions stay left, existing coverage
   stays visible at the first decision point on the right. */
.home-layout { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(320px, .84fr); gap: 32px; align-items: start; }
.home-primary { min-width: 0; }
.home-primary .workspace-header { max-width: none; }
.home-primary .cta-row { margin-bottom: 40px; }
.home-support { min-width: 0; margin-top: 0; align-items: stretch; flex-direction: column; gap: 24px; background: var(--sunken); }
.home-support .cov-bar { width: 100%; }

/* Controls follow the Tolv 8px radius, 44px touch floor, and quiet states. */
.primary, .ghost {
  min-height: 44px;
  border-radius: var(--radius-control);
  font-weight: 700;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.primary {
  padding: 0 20px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--panel);
}
.primary:hover { border-color: var(--accent-hover); background: var(--accent-hover); }
.primary:active { border-color: var(--accent-active); background: var(--accent-active); transform: translateY(1px); }
.primary:disabled { border-color: var(--line); background: var(--line); color: var(--faint); }
.ghost {
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--accent);
}
.ghost:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.ghost:active { background: var(--periwinkle-soft); transform: translateY(1px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.open-session-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: -16px 0 40px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--sunken);
}
.open-session-copy { min-width: 0; }
.open-session-head { display: flex; align-items: center; gap: 12px; }
.session-status {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.session-status::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 6px 1px 0; border-radius: 50%; background: var(--orange); }
.open-session-panel h2 { margin-top: 4px; font-size: 20px; }
.open-session-meta { margin-top: 4px; color: var(--muted); font-size: 13px; }
.quiet-button {
  flex: none;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.quiet-button:hover { background: var(--panel); color: var(--accent); }
.quiet-button:active { transform: translateY(1px); }
.session-notice { margin: -24px 0 32px; color: var(--accent); font-size: 13px; font-weight: 700; }

/* Home */
.section-practice { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.section-practice h2 { margin-top: 6px; }
.section-note { margin: 6px 0 16px; color: var(--muted); font-size: 14px; }
.section-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.section-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 82px;
  padding: 16px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.section-choice:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.section-choice b { display: block; color: var(--ink); font-size: 15px; }
.section-choice small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.section-choice-action { flex: none; color: var(--accent); font-size: 12px; font-weight: 700; }
.more-tools { margin-top: 20px; }
.more-tools summary {
  width: max-content;
  padding: 8px 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.more-tools summary:hover { color: var(--accent); }
.alt-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.alt-row .ghost { min-height: 40px; font-size: 13px; }

.coverage-strip {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 64px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}
.cov-head { flex: none; }
.coverage-label { margin-top: 6px; }
#cov-count { color: var(--ink); font: 700 26px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.cov-bar { display: grid; grid-template-columns: repeat(29, minmax(4px, 1fr)); align-items: end; gap: 4px; width: min(100%, 620px); }
.cov-bar i { display: block; height: 10px; border-radius: 3px; background: var(--line); }
.cov-bar i.f3 { background: var(--accent); }
.cov-bar i.f2 { background: var(--periwinkle); }
.cov-bar i.f1 { background: var(--orange); }
.cov-bar i.cap { background: repeating-linear-gradient(135deg, var(--line-strong), var(--line-strong) 3px, transparent 3px, transparent 6px); }

/* Session */
.session-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 14px; }
.session-pause { min-height: 38px; padding-inline: 13px; font-size: 13px; }
.dots { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.dots i { display: block; width: 26px; height: 5px; border-radius: 3px; background: var(--line); }
.dots i.done { background: var(--accent); }
.dots i.now { background: var(--orange); }
.qwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.qwrap.single { grid-template-columns: minmax(0, 720px); justify-content: center; }
.stimulus, .qcol {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}
.stimulus {
  padding: 24px;
  color: var(--body);
  font: 400 16px/1.68 var(--font-body);
}
.qcol { padding: 24px; }
.stimulus:empty { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.stimulus svg, .stem svg, .rationale svg { max-width: 100%; height: auto; }
.stimulus table, .stem table, .rationale table { width: 100%; margin: 20px 0; border-collapse: collapse; font-size: 13px; }
.stimulus th, .stimulus td, .stem th, .stem td, .rationale th, .rationale td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; }
.stem math, .stimulus math, .rationale math { font-size: 1.05em; }
.stem { overflow-x: auto; }
.qmeta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.timer { color: var(--accent); font: 600 12px/1.4 var(--font-mono); letter-spacing: 0; }
.timer.over { color: var(--orange-deep); }
.stem { margin-bottom: 20px; color: var(--ink); font-size: 17px; line-height: 1.6; }
.options { display: flex; flex-direction: column; gap: 8px; }
.opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--panel);
  color: var(--body);
  text-align: left;
  line-height: 1.5;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.opt:hover { border-color: var(--accent); background: var(--accent-soft); }
.opt:active { transform: translateY(1px); }
.opt .ltr {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: -1px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}
.opt.sel { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.opt.sel .ltr { border-color: var(--accent); background: var(--accent); color: var(--panel); }
.opt.key { border-color: var(--accent); background: var(--right-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.opt.miss { border-color: var(--orange); background: var(--orange-soft); }
.opt[disabled] { cursor: default; }

.spr label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.spr input {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--panel);
  color: var(--ink);
  font-size: 18px;
}
.spr input:focus { outline: none; box-shadow: var(--shadow-focus); border-color: var(--accent); }

.submit-row { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.submit-label, .chip-q { margin-bottom: 4px; color: var(--muted); font-size: 13px; font-weight: 700; }
.submit-help { margin-bottom: 10px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.conf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cbtn {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--panel);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.cbtn:hover:not(:disabled) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.cbtn.guess:hover:not(:disabled) { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-deep); }
.cbtn:active:not(:disabled) { transform: translateY(1px); }
.cbtn:disabled { border-color: var(--line); color: var(--faint); }

.reveal { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.verdict { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--ink); font-size: 17px; font-weight: 800; }
.verdict::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--right); }
.verdict.no::before { background: var(--orange); }
.verdict.ok { color: var(--right); }
.verdict.no { color: var(--wrong); }
.diagnosis-hint { margin: -4px 0 16px; color: var(--orange-deep); font-size: 13px; font-weight: 700; }
.rationale { margin-bottom: 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--sunken); color: var(--body); font-size: 15px; line-height: 1.68; }
.rationale p { margin-bottom: 12px; }
.rationale p:last-child { margin-bottom: 0; }
.chip-block { padding-top: 4px; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { min-height: 38px; padding: 7px 13px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--panel); color: var(--ink); font-size: 13px; font-weight: 600; }
.chip:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.chip.on { border-color: var(--accent); background: var(--accent); color: var(--panel); }
#next { margin-top: 4px; }

/* Summary */
.sum-list { max-width: 620px; margin: 0 0 28px; padding: 0; list-style: none; }
.sum-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }

/* Progress */
.priority-section { margin-top: 28px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--sunken); }
.priority-head h3 { margin-top: 6px; }
.priority-head .section-note { margin-bottom: 8px; }
.progress-section { margin-top: 32px; }
.progress-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.progress-section-head .section-note { margin: 6px 0 16px; }
.section-practice-btn { white-space: nowrap; font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cell { display: block; width: 100%; min-height: 134px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--panel); color: var(--body); text-align: left; box-shadow: var(--shadow-sm); transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.cell:not(:disabled):hover { border-color: var(--periwinkle); background: var(--periwinkle-soft); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.cell b { display: block; margin-bottom: 12px; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.35; }
.cell .meter { height: 7px; overflow: hidden; border-radius: 4px; background: var(--line); }
.cell .meter i { display: block; height: 100%; background: var(--accent); }
.cell small { display: block; margin-top: 12px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.cell-action { display: block; margin-top: 10px; color: var(--accent); font-size: 12px; font-weight: 700; }
.cell.exhausted { opacity: .68; }
.top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; max-width: none; margin: 0; padding-left: 22px; }
.top li { padding: 5px 0; line-height: 1.45; }
.top span { color: var(--muted); font-size: 13px; }

/* Cards */
.card-wrap { max-width: 620px; }
.card { min-height: 180px; margin-bottom: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--panel); box-shadow: var(--shadow-sm); }
.cue { color: var(--ink); font-size: 18px; line-height: 1.55; }
.answer { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--accent); font-size: 17px; line-height: 1.6; }
#card-empty { min-height: 180px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--sunken); box-shadow: var(--shadow-sm); }
.empty-state .sub { margin-bottom: 16px; }

/* Tolv breakpoints: 900 / 600. Content reflows; it is not merely shrunk. */
@media (max-width: 900px) {
  .view { padding-top: 40px; }
  .home-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home-support { margin-top: 32px; }
  .qwrap { grid-template-columns: minmax(0, 1fr); }
  .qwrap.single { max-width: none; }
  .coverage-strip { align-items: stretch; flex-direction: column; gap: 16px; }
  .cov-bar { width: 100%; }
  .top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .chrome-inner { min-height: 58px; gap: 12px; padding-inline: 16px; }
  .product-name { font-size: 14px; }
  .tablist { gap: 0; }
  .tab { min-height: 38px; padding-inline: 10px; font-size: 12px; }
  #countdown { display: none; }
  .app-error { width: calc(100% - 32px); }
  .view { padding: 32px 16px 64px; }
  .cta-row { margin-bottom: 36px; }
  .cta-row .primary, .cta-row .ghost { width: 100%; }
  .open-session-panel { align-items: stretch; flex-direction: column; gap: 8px; margin-top: -12px; padding: 16px; }
  .quiet-button { width: 100%; border: 1px solid var(--line-strong); background: var(--panel); }
  .section-actions, .conf { grid-template-columns: 1fr; }
  .section-choice { min-height: 76px; }
  .alt-row { flex-direction: column; align-items: stretch; }
  .alt-row .ghost { width: 100%; }
  .home-support { margin-top: 24px; }
  .stimulus, .qcol { padding: 20px; border-radius: var(--radius-card); }
  .session-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .session-pause { width: 100%; }
  .qmeta { align-items: flex-start; flex-direction: column; gap: 4px; }
  .progress-section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .section-practice-btn { width: 100%; }
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .section-choice:hover, .cell:not(:disabled):hover { transform: none; }
}
