/* The first run (#start…): one screen, one heading, big buttons; no bars until Today. Tokens, rem text. */
body.in-onboarding #bottom-nav, body.in-onboarding #sidebar, body.in-onboarding .topbar, body.in-onboarding #sidebar-backdrop { display: none; }
body.in-onboarding #app { display: block; }
body.in-onboarding #content { margin: 0 auto; max-width: 34rem; }
.onb { display: flex; flex-direction: column; gap: var(--sp-3); }
.onb > * { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.onb h1 { font-size: var(--fs-xl); line-height: 1.2; }
.onb h1:focus { outline: none; }
.onb-bar { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.onb-back { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; font-size: 2rem; color: var(--text); border-radius: var(--r-pill); }
.onb-step, .onb-small, .onb-gloss { color: var(--muted); }
.onb-step { margin: 0; }
.onb-mark { font-weight: 700; }
.onb-demo { border: 1px solid var(--border-strong); border-radius: var(--r-lg); padding: var(--sp-4); background: var(--surface); }
.onb-demo p { margin: 0 0 var(--sp-2); }
.onb-demo del { color: var(--incorrect); }
.onb-demo strong { color: var(--correct); text-decoration: underline; }
.onb-demo .onb-demo-rule { color: var(--muted); margin: 0; }
.onb .onb-cta { width: 100%; min-height: 56px; }
.onb .onb-choice {
  display: block; width: 100%; min-height: 56px; text-align: left; padding: var(--sp-3) var(--sp-4);
  background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); border-radius: var(--r-lg);
}
.onb .onb-choice:hover { background: var(--surface-2); }
.onb-choice-name { display: block; font-weight: 700; }
.onb-choice-eg { display: block; color: var(--muted); font-weight: 400; }
.onb .onb-quiet { display: inline-flex; align-items: center; justify-content: center; align-self: center; min-height: 48px; padding: 0 var(--sp-3); background: none; border: 0; color: var(--accent); text-decoration: underline; }
.onb-date:not([hidden]) { display: grid; gap: var(--sp-2); }
.onb-date input { min-height: 48px; font-size: 1rem; }
.onb-date button { min-height: 48px; }
.onb-sentences { list-style: none; padding: var(--sp-4); border: 1px solid var(--border-strong); border-radius: var(--r-lg); background: var(--surface); }
.onb-stages { padding-left: 1.5rem; }
.onb-stages li { padding: var(--sp-2) 0; }
.onb-stages li.is-here { font-weight: 700; }
.onb-stages li p { margin: var(--sp-2) 0 0; font-weight: 400; }
.onb-strip { margin: 0; padding: var(--sp-2) var(--sp-4); background: var(--surface-2); border-bottom: 2px solid var(--accent); font-weight: 700; text-align: center; }
/* little height in text units (large text, short screens): the button comes before the example */
@media (max-height: 36em) { .onb-welcome .onb-demo { order: 9; } }
/* first-lesson and Quick 10 items in the player */
.item.first-item { display: block; }
.first-item p { margin: 0 0 var(--sp-3); }
.first-situation { color: var(--muted); }
.first-prompt { font-size: var(--fs-xl); font-weight: 700; }
.first-item .full-sentence-input { width: 100%; box-sizing: border-box; }
.first-item .mc-options { display: grid; gap: var(--sp-2); }
