:root {
  color-scheme: light;
  --navy-950: #08163d;
  --navy-900: #0d1d4d;
  --navy-800: #17265a;
  --ink: #12204a;
  --muted: #667091;
  --line: #e2e7f2;
  --surface: #ffffff;
  --surface-soft: #f7f8fe;
  --violet: #5147f7;
  --violet-dark: #382bd7;
  --violet-soft: #eeecff;
  --blue: #397cf6;
  --mint: #2cc792;
  --mint-soft: #e5faf3;
  --amber: #ffb329;
  --amber-soft: #fff5df;
  --danger: #d7485f;
  --shadow: 0 18px 48px rgba(32, 44, 98, 0.09);
  --radius-lg: 24px;
  --radius-md: 17px;
  --radius-sm: 12px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--ink); background: #f4f6fb; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 99; transform: translateY(-140%); padding: 10px 14px; border-radius: 8px; background: white; color: var(--ink); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(57, 124, 246, 0.55); outline-offset: 3px; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 26px 18px 20px; color: #d8e0ff; background: linear-gradient(180deg, var(--navy-950), #07143a 70%, #0c1d4e); }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 10px 28px; font-size: 22px; font-weight: 750; color: white; }
.brand strong { color: #7d72ff; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 42px; color: #4d8aff; font-size: 40px; font-weight: 900; transform: skewX(-8deg); }
.version-mark { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 8px; color: white; background: var(--violet); font-size: 12px; }
.side-nav { display: grid; gap: 10px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 16px; border: 0; border-radius: 13px; color: #b8c4ed; background: transparent; cursor: pointer; font-weight: 650; text-align: left; }
.nav-item span:first-child { width: 24px; font-size: 23px; text-align: center; }
.nav-item:hover { color: white; background: rgba(255,255,255,0.07); }
.nav-item.active { color: white; background: linear-gradient(135deg, #5d4cff, #4431ea); box-shadow: 0 10px 28px rgba(69, 50, 235, 0.36); }
.streak-card { margin-top: auto; padding: 18px; border: 1px solid rgba(137,156,229,0.2); border-radius: 18px; background: rgba(31,54,119,0.35); }
.streak-card > div:nth-child(2) { display: grid; gap: 5px; }
.streak-card strong { color: white; }
.streak-card span { font-size: 12px; line-height: 1.45; color: #afbbe4; }
.streak-icon { color: var(--mint); font-size: 26px; margin-bottom: 8px; }
.streak-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px; }
.streak-track i { height: 5px; border-radius: 999px; background: #314373; }
.streak-track i:nth-child(-n+2) { background: var(--mint); }

.workspace { min-width: 0; background: #fbfcff; }
.topbar { min-height: 72px; display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 12px clamp(18px, 3vw, 42px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.9); backdrop-filter: blur(18px); }
.old-version-link { margin-right: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; color: #485476; font-size: 14px; font-weight: 650; background: white; }
.old-version-link:hover { border-color: #b8c3dd; color: var(--ink); }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.language-control select, .icon-button { min-height: 42px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.language-control select { padding: 0 34px 0 12px; color: #394566; cursor: pointer; }
.icon-button { min-width: 42px; padding: 0 11px; cursor: pointer; font-weight: 750; }
.icon-button:hover { background: var(--surface-soft); }
.learner-chip { display: flex; align-items: center; gap: 9px; padding-left: 12px; border-left: 1px solid var(--line); }
.learner-chip > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: white; background: linear-gradient(135deg, var(--violet), #2f3d98); font-weight: 800; }
.learner-chip div { display: grid; }
.learner-chip small { color: var(--muted); font-size: 11px; }

main { padding: clamp(18px, 2.4vw, 34px); }
.dashboard-grid { display: grid; grid-template-columns: minmax(260px, 0.82fr) minmax(440px, 1.6fr) minmax(245px, 0.8fr); gap: 18px; max-width: 1480px; margin: 0 auto; }
.mission-card, .setup-card, .focus-card, .weekly-card, .metric-card, .goal-strip, .insight-panel { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: 0 6px 22px rgba(35,48,101,0.04); }
.mission-card { grid-column: 1 / 3; min-height: 292px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(230px, 0.75fr); overflow: hidden; background: linear-gradient(135deg, #f7f8ff, #eef1ff); }
.mission-copy { padding: clamp(28px, 4vw, 50px); align-self: center; }
.mission-kicker, .eyebrow { display: block; margin-bottom: 8px; color: var(--violet); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mission-copy h1 { max-width: 650px; margin-bottom: 12px; font-size: clamp(34px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.045em; }
.mission-copy > p:not(.mission-kicker) { max-width: 620px; margin-bottom: 28px; color: #536080; font-size: 17px; line-height: 1.55; }
.mission-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.primary-button, .secondary-button, .danger-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 0 20px; border-radius: 12px; cursor: pointer; font-weight: 750; }
.primary-button { border: 0; color: white; background: linear-gradient(135deg, #5c4cff, #3e2ee4); box-shadow: 0 12px 24px rgba(70, 51, 229, .25); }
.primary-button:hover { transform: translateY(-1px); filter: brightness(1.04); }
.secondary-button { border: 1px solid #cfd5e6; color: #34415f; background: white; }
.secondary-button:hover { border-color: var(--violet); color: var(--violet-dark); }
.danger-button { border: 0; color: white; background: var(--danger); }
.text-button { border: 0; padding: 10px 5px; color: var(--violet-dark); background: transparent; cursor: pointer; font-weight: 750; }
.mission-visual { position: relative; min-height: 250px; overflow: hidden; }
.podium { position: absolute; right: 42px; bottom: 34px; display: flex; align-items: end; gap: 10px; }
.podium i { display: block; width: 44px; border-radius: 10px 10px 0 0; background: linear-gradient(180deg, #c9d4ff, #a8b8fa); box-shadow: inset 0 0 0 1px rgba(74,70,201,.1); }
.podium i:nth-child(1) { height: 45px; }.podium i:nth-child(2) { height: 78px; }.podium i:nth-child(3) { height: 118px; }.podium i:nth-child(4) { height: 168px; background: linear-gradient(180deg, #8e7bff, #6d58e9); }
.flag { position: absolute; right: 63px; bottom: 192px; color: var(--violet); font-size: 64px; }
.route { position: absolute; left: 10px; bottom: 80px; color: #887cf6; transform: rotate(-9deg); letter-spacing: 7px; font-weight: 800; }
.route span { color: #b8c4fd; }

.setup-card { grid-column: 3; grid-row: 1; padding: 22px; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-heading.compact { align-items: center; }
.section-heading h2 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }
.section-heading .eyebrow { margin-bottom: 4px; color: var(--muted); }
.recommendation-label { padding: 5px 8px; border-radius: 8px; color: #2f946f; background: var(--mint-soft); font-size: 10px; font-weight: 750; }
.skill-selector { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.skill-button { min-height: 74px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; color: #475273; background: white; cursor: pointer; text-align: left; font-size: 12px; font-weight: 700; }
.skill-button:first-child { grid-column: 1 / -1; min-height: 54px; }
.skill-button b { font-size: 28px; color: var(--violet); text-align: center; }
.skill-button:hover { border-color: #aaa6ff; background: #fafaff; }
.skill-button[aria-pressed="true"] { border: 2px solid var(--violet); color: var(--violet-dark); background: var(--violet-soft); box-shadow: 0 8px 20px rgba(78,65,238,.09); }
.skill-button.division b { color: #277cdb; }
.length-control { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.length-control > span { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 750; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.segmented button { min-height: 38px; border: 0; border-right: 1px solid var(--line); background: white; cursor: pointer; font-weight: 700; }
.segmented button:last-child { border-right: 0; }
.segmented button[aria-pressed="true"] { color: white; background: var(--violet); }

.focus-card { padding: 20px; }
.focus-card .section-heading span { color: var(--violet); font-size: 28px; }
.focus-symbol { width: 54px; height: 54px; display: grid; place-items: center; margin: 18px 0 14px; border-radius: 14px; color: var(--violet); background: linear-gradient(135deg, #dfdcff, #f3f1ff); font-size: 34px; font-weight: 800; }
.focus-card h3 { margin-bottom: 9px; font-size: 19px; }
.focus-card p { min-height: 66px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.focus-card .secondary-button { width: 100%; color: white; border: 0; background: var(--violet); }
.weekly-card { padding: 20px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 13px; color: var(--muted); font-size: 11px; }
.chart-legend span { display: flex; align-items: center; gap: 5px; }
.chart-legend i { width: 8px; height: 8px; border-radius: 50%; }
.chart-legend .violet { background: var(--violet); }.chart-legend .mint { background: var(--mint); }
.weekly-chart { min-height: 190px; display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 12px; padding: 18px 6px 0; border-bottom: 1px solid var(--line); background-image: linear-gradient(to top, transparent 24%, #eef1f7 25%, transparent 26%, transparent 49%, #eef1f7 50%, transparent 51%, transparent 74%, #eef1f7 75%, transparent 76%); }
.chart-day { min-width: 0; height: 165px; display: grid; grid-template-rows: 1fr auto; align-items: end; gap: 8px; text-align: center; }
.chart-bar-wrap { height: 100%; display: flex; justify-content: center; align-items: end; }
.chart-bar { width: min(38px, 75%); min-height: 5px; border-radius: 7px 7px 0 0; background: linear-gradient(180deg, #7569fb, #5c4aec); position: relative; }
.chart-bar::after { content: attr(data-accuracy); position: absolute; top: -20px; left: 50%; color: #596482; transform: translateX(-50%); font-size: 10px; }
.chart-day small { color: var(--muted); font-size: 11px; }
.chart-day.today small { color: var(--violet); font-weight: 800; }
.chart-day.empty .chart-bar { background: #ecedf3; }

.metrics-column { display: grid; gap: 10px; }
.metric-card { min-height: 86px; display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 10px; padding: 14px 16px; }
.metric-card > div { width: 74px; height: 62px; display: grid; place-items: center; align-content: center; border-radius: 50%; background: conic-gradient(var(--mint) var(--metric, 0%), #edf0f6 0); position: relative; }
.metric-card > div::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: white; }
.metric-card span, .metric-card strong { position: relative; z-index: 1; }
.metric-card span { color: var(--muted); font-size: 9px; }.metric-card strong { font-size: 17px; }
.metric-card:nth-child(2) > div { background: conic-gradient(var(--blue) var(--metric, 0%), #edf0f6 0); }
.metric-card:nth-child(3) > div { background: conic-gradient(var(--amber) var(--metric, 0%), #edf0f6 0); }
.metric-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }

.goal-strip { grid-column: 1 / -1; min-height: 110px; display: grid; grid-template-columns: 1fr 1.25fr 1fr 1fr; align-items: center; gap: 18px; padding: 20px; }
.goal-streak, .best-score { display: flex; align-items: center; gap: 12px; }
.goal-streak > span, .best-score > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: var(--mint); background: var(--mint-soft); font-size: 25px; }
.best-score > span { color: var(--amber); background: var(--amber-soft); }
.goal-streak div, .best-score div { display: grid; gap: 4px; }.goal-streak small, .best-score small { color: var(--muted); font-size: 11px; }
.goal-progress > div:first-child { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.goal-progress span { color: var(--mint); font-size: 20px; font-weight: 800; }
.goal-bar { height: 8px; overflow: hidden; border-radius: 999px; background: #e7ebf3; }
.goal-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #36c997, #2bbd8c); transition: width .35s ease; }
.insights-link { min-height: 72px; display: grid; grid-template-columns: 50px 1fr 20px; align-items: center; gap: 10px; padding: 10px; border: 0; border-radius: 14px; background: #f8f8ff; cursor: pointer; text-align: left; }
.insights-link > span:first-child { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--violet); background: #e8e5ff; font-size: 25px; }
.insights-link > span:nth-child(2) { display: grid; gap: 4px; }.insights-link small { color: var(--muted); font-size: 10px; }.insights-link b { font-size: 26px; }

.practice-shell { max-width: 1150px; margin: 0 auto; }
.practice-header { display: grid; grid-template-columns: 50px 1fr 105px; align-items: center; gap: 18px; margin-bottom: 24px; }
.practice-progress > div:first-child { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.score-chip { display: grid; justify-items: center; padding: 8px 12px; border-radius: 12px; color: white; background: var(--navy-900); }
.score-chip span { font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }.score-chip strong { font-size: 19px; }
.practice-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
.race-panel { align-self: start; padding: 24px; border-radius: var(--radius-lg); color: white; background: linear-gradient(160deg, var(--navy-900), #172f70); box-shadow: var(--shadow); }
.race-panel .eyebrow { color: #9aa8dc; }
.race-panel > strong { display: block; margin: 6px 0 8px; font-size: 38px; }.race-panel p { color: #b8c3e7; font-size: 13px; line-height: 1.5; }
.race-track { position: relative; height: 160px; margin: 22px 20px; border-left: 4px dashed rgba(255,255,255,.25); }
.race-track i { position: absolute; bottom: 0; left: -4px; width: 4px; height: 0; background: linear-gradient(var(--amber), var(--mint)); transition: height .35s ease; }
.race-track i::after { content: "●"; position: absolute; top: -13px; left: -7px; color: var(--amber); font-size: 17px; }
.race-track span { position: absolute; top: -20px; left: -6px; color: var(--amber); font-size: 30px; }
.session-streak { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.15); }.session-streak span { color: #b8c3e7; font-size: 12px; }.session-streak strong { font-size: 24px; }
.problem-stage { min-height: 640px; display: flex; flex-direction: column; align-items: center; padding: clamp(28px, 5vw, 54px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow); }
.confidence-line { min-height: 24px; color: var(--mint); font-weight: 750; }
.problem-expression { margin: 24px 0 28px; font-size: clamp(62px, 8vw, 112px); font-weight: 850; letter-spacing: -0.05em; }
.answer-form { width: min(500px, 100%); display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.answer-form label { grid-column: 1 / -1; color: var(--muted); font-size: 12px; font-weight: 700; }
.answer-form input { min-width: 0; height: 58px; padding: 0 18px; border: 2px solid #cfd6e8; border-radius: 13px; color: var(--ink); font-size: 30px; font-weight: 800; text-align: center; }
.answer-form input:focus { border-color: var(--violet); outline: 4px solid rgba(83,71,247,.12); }
.feedback-message { min-height: 30px; margin-top: 15px; font-weight: 750; }.feedback-message.success { color: #15966d; }.feedback-message.error { color: var(--danger); }
.hint-panel { width: min(580px, 100%); display: grid; grid-template-columns: 48px 1fr; gap: 14px; margin-top: 12px; padding: 16px; border-radius: 14px; color: #3a4261; background: var(--amber-soft); }
.hint-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #a86c00; background: #ffe1a4; font-size: 24px; }
.hint-panel p { margin: 4px 0 10px; font-size: 14px; }.hint-visual { display: flex; flex-wrap: wrap; gap: 5px; }.hint-visual i { width: 11px; height: 11px; border-radius: 50%; background: var(--violet); }
.number-pad { width: min(330px, 100%); display: none; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.number-pad button { min-height: 50px; border: 1px solid var(--line); border-radius: 11px; background: #fafbff; cursor: pointer; font-size: 18px; font-weight: 750; }

.summary-shell { max-width: 850px; margin: 30px auto; padding: clamp(28px, 5vw, 60px); border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: var(--shadow); text-align: center; }
.summary-celebration { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; color: #b06b00; background: var(--amber-soft); font-size: 40px; animation: celebrate .6s ease both; }
@keyframes celebrate { 0% { transform: scale(.6) rotate(-12deg); opacity: 0; } 70% { transform: scale(1.1) rotate(5deg); } 100% { transform: scale(1) rotate(0); opacity: 1; } }
.summary-shell h1 { margin-bottom: 10px; font-size: clamp(34px, 5vw, 54px); letter-spacing: -.04em; }.summary-shell > p { color: var(--muted); }
.summary-score { display: grid; justify-items: center; gap: 4px; margin: 28px auto; }.summary-score span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }.summary-score strong { color: var(--violet); font-size: 62px; }.summary-score small { min-height: 18px; color: #15966d; font-weight: 750; }
.summary-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }.summary-metrics article { display: grid; gap: 8px; padding: 18px 10px; border-radius: 14px; background: var(--surface-soft); }.summary-metrics span { color: var(--muted); font-size: 11px; }.summary-metrics strong { font-size: 25px; }
.summary-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.insights-header { max-width: 1200px; display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 0 auto 24px; }.insights-header h1 { margin-bottom: 8px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.04em; }.insights-header p { margin-bottom: 0; color: var(--muted); }
.insights-grid { max-width: 1200px; display: grid; grid-template-columns: 1.6fr .8fr; gap: 18px; margin: 0 auto; }.insight-panel { padding: 22px; }.insight-panel h2 { font-size: 20px; }.insight-panel > p { color: var(--muted); line-height: 1.5; }
.mastery-list { display: grid; gap: 14px; }.mastery-row { display: grid; grid-template-columns: 135px 1fr 54px; align-items: center; gap: 14px; }.mastery-row > span { font-weight: 700; }.mastery-track { height: 10px; overflow: hidden; border-radius: 999px; background: #e9edf5; }.mastery-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), #8279ff); }.mastery-row strong { text-align: right; }
.next-practice-card { padding: 18px; border-radius: 15px; background: var(--violet-soft); }.next-practice-card strong { display: block; margin-bottom: 8px; font-size: 20px; }.next-practice-card p { color: var(--muted); font-size: 13px; line-height: 1.5; }.next-practice-card button { width: 100%; }
.recent-sessions { display: grid; gap: 8px; }.session-row { display: grid; grid-template-columns: 90px 1fr repeat(3, 80px); align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }.session-row:last-child { border-bottom: 0; }.session-row span, .session-row small { color: var(--muted); font-size: 12px; }.session-row strong { font-size: 13px; }.empty-state { padding: 24px; border-radius: 14px; color: var(--muted); background: var(--surface-soft); text-align: center; }

.dialog-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(5,12,38,.62); }
.dialog-card { width: min(440px, 100%); padding: 26px; border-radius: 20px; background: white; box-shadow: var(--shadow); }.dialog-card p { color: var(--muted); line-height: 1.5; }.dialog-card > div { display: flex; justify-content: flex-end; gap: 10px; }

@media (max-width: 1180px) {
  .app-shell { grid-template-columns: 84px minmax(0, 1fr); }
  .sidebar { padding-inline: 12px; }.brand { justify-content: center; padding-inline: 0; }.brand > span:not(.brand-mark) { display: none; }.nav-item { justify-content: center; padding: 0; }.nav-item span:last-child, .streak-card { display: none; }
  .dashboard-grid { grid-template-columns: minmax(240px, .8fr) minmax(430px, 1.5fr); }
  .mission-card { grid-column: 1 / -1; }.setup-card { grid-column: 1 / -1; grid-row: auto; }.skill-selector { grid-template-columns: repeat(5, 1fr); }.skill-button:first-child { grid-column: auto; min-height: 74px; }
  .metrics-column { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }.goal-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .app-shell { display: block; }.sidebar { position: fixed; inset: auto 0 0 0; z-index: 30; width: auto; height: 68px; flex-direction: row; align-items: center; padding: 8px 14px; border-top: 1px solid rgba(255,255,255,.12); }.brand, .streak-card { display: none; }.side-nav { width: 100%; grid-template-columns: repeat(2, 1fr); }.nav-item { min-height: 50px; }.nav-item span:last-child { display: inline; }
  .topbar { min-height: 64px; padding: 10px 14px; }.old-version-link span:last-child, .learner-chip div { display: none; }.learner-chip { padding-left: 8px; }.language-control select { width: 112px; }
  main { padding: 14px 14px 88px; }.dashboard-grid { display: flex; flex-direction: column; }.mission-card { display: block; min-height: 0; }.mission-copy { padding: 26px 22px; }.mission-copy h1 { font-size: 36px; }.mission-visual { display: none; }
  .setup-card { order: 2; }.focus-card { order: 3; }.weekly-card { order: 4; }.metrics-column { order: 5; grid-template-columns: 1fr; }.goal-strip { order: 6; grid-template-columns: 1fr; }
  .skill-selector { grid-template-columns: repeat(2, 1fr); }.skill-button:first-child { grid-column: 1 / -1; min-height: 54px; }.weekly-chart { gap: 5px; }.chart-bar::after { display: none; }
  .learner-chip > span { width: 38px; height: 38px; }
  .practice-header { grid-template-columns: 44px 1fr; }.score-chip { display: none; }.practice-layout { display: block; }.race-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; margin-bottom: 14px; padding: 14px 18px; }.race-panel .eyebrow { display: block; margin: 0; color: #b8c3e7; }.race-panel > strong { margin: 0; font-size: 28px; }.race-panel p, .race-track { display: none; }.session-streak { grid-column: 1 / -1; border: 0; padding: 8px 0 0; gap: 10px; }.problem-stage { min-height: 0; padding: 28px 16px 20px; }.problem-expression { margin: 16px 0 20px; }.answer-form { grid-template-columns: 1fr; }.answer-form .primary-button { min-height: 52px; }.number-pad { display: grid; }
  .summary-metrics { grid-template-columns: repeat(2, 1fr); }.insights-header { display: block; }.insights-header .secondary-button { margin-top: 15px; }.insights-grid { grid-template-columns: 1fr; }.session-row { grid-template-columns: 75px 1fr 55px; }.session-row > *:nth-child(4), .session-row > *:nth-child(5) { display: none; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
