@layer reset, base, layout, components, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p { margin: 0; }
  button, input, select, textarea { font: inherit; }
  button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
  button { cursor: pointer; }
  a { color: inherit; text-decoration: none; }
  svg { display: block; max-width: 100%; }
  button { color: inherit; }
}
@layer base {
  :root { --paper: #f6f4eb; --ink: #203c33; --green: #244e3d; --muted: #617268; --line: #d6dbcf; --surface: #e6eadd; --orange: #c96431; --button-ink: #fbfaf3; --radius: 12px; color-scheme: light; }
  html { scroll-behavior: smooth; scroll-padding-top: 32px; }
  body { background: var(--paper); color: var(--ink); font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
  ::selection { background: #d8e1c9; color: var(--ink); }
  :focus-visible { outline: 3px solid #bb602c; outline-offset: 5px; }
  button:disabled { cursor: default; opacity: .55; }
  h1, h2, h3 { line-height: 1.35; font-weight: 600; letter-spacing: -.035em; }
  h1 { font-size: clamp(30px, 3.2vw, 46px); }
  h2 { font-size: clamp(23px, 2vw, 30px); }
  h3 { font-size: 21px; }
  p { text-wrap: pretty; }
  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .skip-link { position: absolute; z-index: 10; left: 20px; top: -80px; padding: 12px; background: var(--green); color: var(--paper); }
  .skip-link:focus { top: 8px; }
  .boot-message { max-width: 600px; margin: 15vh auto; padding: 24px; }
  .small-label, .eyebrow { color: var(--muted); font-size: 13px; font-weight: 500; }
  .eyebrow { letter-spacing: .12em; margin-bottom: 18px; }
  .quiet-note { color: var(--muted); font-size: 14px; margin-top: 22px; }
}
@layer layout {
  .site-header, .page, .site-footer { width: min(1328px, calc(100% - 96px)); margin: 0 auto; }
  .site-header { min-height: 100px; display: flex; align-items: center; gap: 32px; border-bottom: 1px solid var(--line); }
  .brand { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 650; letter-spacing: -.03em; white-space: nowrap; }
  .brand-mark { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 14px; background: var(--green); }
  .brand-mark svg { width: 33px; stroke: var(--paper); stroke-width: 1.5; }
  .brand-sub { font-size: 13px; font-weight: 400; margin-left: 12px; letter-spacing: .02em; }
  .site-header nav { display: flex; margin-left: auto; gap: 30px; height: 100px; align-items: center; }
  .site-header nav a { min-height: 48px; display: flex; align-items: center; position: relative; color: var(--muted); font-size: 15px; }
  .site-header nav a[aria-current='page'] { color: var(--ink); font-weight: 600; }
  .site-header nav a[aria-current='page']::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green); }
  .license-tag { font-size: 12px; border-left: 1px solid var(--line); padding-left: 24px; color: var(--muted); }
  .page { min-height: 65vh; padding-bottom: 52px; outline: none; }
  .site-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 28px 0 36px; color: var(--muted); font-size: 12px; }
  .hero { display: grid; grid-template-columns: .97fr 1.03fr; min-height: 548px; align-items: center; gap: 36px; padding: 66px 0 52px; }
  .hero h1 { font-size: clamp(38px, 3.8vw, 57px); line-height: 1.38; letter-spacing: -.055em; }
  .hero .eyebrow { margin-bottom: 24px; }
  .hero-description { color: var(--muted); font-size: 17px; line-height: 1.9; margin-top: 26px; }
  .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin-top: 34px; }
  .hero-footnote { font-size: 12px; color: var(--muted); margin-top: 20px; }
  .hero-scene { position: relative; align-self: stretch; min-width: 0; display: flex; align-items: center; }
  .hero-scene .overview-svg { width: 100%; overflow: visible; }
  .scene-stamp { position: absolute; left: 5%; bottom: 17px; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
  .stamp-line { margin-top: 10px; width: 32px; height: 2px; background: var(--orange); }
  .scene-stamp small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
  .scene-corner { position: absolute; right: 1%; top: 5%; color: var(--muted); font-size: 10px; letter-spacing: .12em; }
  .learning-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 27px 30px; border-block: 1px solid var(--line); }
  .learning-strip p { display: grid; grid-template-columns: auto auto; column-gap: 16px; }
  .learning-strip p > span { grid-row: span 2; align-self: center; color: #788b70; font-size: 26px; font-family: Georgia, serif; font-style: italic; }
  .learning-strip strong { font-size: 16px; font-weight: 550; }
  .learning-strip small { font-size: 12px; color: var(--muted); margin-top: 3px; }
  .learning-strip i { font-style: normal; color: #9bab92; }
  .course-section { margin-top: 68px; }
  .section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 18px; margin-bottom: 26px; }
  .section-heading .eyebrow { margin-bottom: 10px; font-size: 10px; }
  .section-heading > p, .section-heading > span { color: var(--muted); font-size: 13px; }
  .course-list { border-top: 1px solid var(--line); }
  .course-row { display: flex; align-items: center; gap: 28px; padding: 25px 12px 25px 0; border-bottom: 1px solid var(--line); transition: background 180ms ease, padding 180ms ease; }
  .course-row:hover { background: #ebeee1; padding-left: 16px; }
  .course-number { width: 40px; font-size: 21px; color: #8c9a84; font-family: Georgia, serif; font-style: italic; }
  .course-name { font-size: 21px; font-weight: 550; }
  .course-name small { display: block; margin-top: 5px; font-size: 13px; font-weight: 400; color: var(--muted); }
  .course-state { margin-left: auto; color: var(--muted); font-size: 13px; white-space: nowrap; }
  .course-arrow { margin-left: 30px; font-size: 25px; font-weight: 300; }
  .home-bottom, .inline-callout { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 34px; margin-top: 40px; background: var(--surface); border-radius: 3px; }
  .home-bottom h3 { margin: 8px 0; }
  .home-bottom p, .inline-callout p { color: var(--muted); font-size: 14px; }
  .breadcrumb { display: flex; align-items: center; gap: 16px; padding-top: 30px; color: var(--muted); font-size: 13px; }
  .course-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); }
  .intro-description { color: var(--muted); margin-top: 20px; font-size: 18px; }
  .mnemonic { font-size: 15px; margin: 20px 0 28px; }
  .course-illustration { min-width: 0; }
  .course-illustration svg { width: 100%; }
  .lesson-section { margin-top: 42px; }
  .lesson-group { display: grid; grid-template-columns: 160px 1fr; gap: 35px; margin-top: 30px; }
  .lesson-group > h3 { font-size: 16px; padding-top: 20px; color: var(--muted); }
  .lesson-row { width: 100%; border: none; border-bottom: 1px solid var(--line); background: transparent; text-align: left; display: flex; align-items: center; gap: 22px; padding: 20px 5px; }
  .lesson-row:hover { background: #ebeee1; }
  .lesson-row strong { display: block; font-size: 16px; font-weight: 500; }
  .lesson-row small { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }
  .lesson-index { color: var(--muted); font-family: Georgia, serif; font-style: italic; }
  .lesson-state { margin-left: auto; color: var(--muted); font-size: 12px; }
}
@layer components {
  .button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; border-radius: var(--radius); padding: 13px 24px; line-height: 1.45; font-size: 15px; font-weight: 550; transition: background 160ms, transform 160ms; text-align: center; }
  .button:active { transform: translateY(1px); }
  .button.primary { background: var(--green); color: var(--button-ink); }
  .button.primary:hover { background: #173b2c; }
  .button.outline { border-color: #aab8a1; background: transparent; }
  .button.outline:hover { background: #e7ebdd; }
  .button.large { font-size: 17px; min-height: 58px; padding-inline: 27px; }
  .text-button, .text-link { background: none; border: 0; min-height: 48px; display: inline-flex; align-items: center; gap: 12px; font-size: 14px; padding: 10px 0; }
  .text-button:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
  .button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
  .orange-dot { color: var(--orange); }
  .status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #6d8b57; vertical-align: middle; margin-right: 8px; }
  .training-top { display: flex; gap: 28px; align-items: center; color: var(--muted); font-size: 13px; padding-top: 30px; }
  .back-link { display: inline-flex; min-height: 44px; align-items: center; }
  .step-counter { margin-left: auto; font-size: 17px; color: var(--ink); }
  .step-counter span { color: var(--muted); font-size: 13px; }
  .training-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0 24px; }
  .training-heading h1 { font-size: clamp(26px, 3vw, 39px); }
  .training-heading .eyebrow { margin-bottom: 9px; }
  .mode-bar { display: flex; background: #e7eade; border-radius: 10px; padding: 5px; flex-shrink: 0; }
  .mode-button { border: none; background: transparent; border-radius: 7px; padding: 10px 15px; min-height: 44px; color: var(--muted); font-size: 13px; }
  .mode-button.selected { background: var(--paper); color: var(--green); box-shadow: 0 1px 3px #203c3312; }
  .step-dots { display: flex; gap: 6px; }
  .step-dots span { height: 3px; background: #dce2d2; flex: 1; }
  .step-dots .visited { background: #889e76; }
  .step-dots .current { background: var(--orange); }
  .observation { display: flex; align-items: baseline; gap: 20px; padding: 24px 0; }
  .observation-label { font-size: 12px; color: var(--muted); flex-shrink: 0; }
  .observation p { font-size: 16px; }
  .view-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
  .view-toolbar > div { display: flex; gap: 8px; }
  .view-button { border: 0; background: transparent; min-height: 44px; padding: 8px 14px; border-radius: 25px; color: var(--muted); font-size: 13px; }
  .view-button.selected { background: var(--green); color: var(--paper); }
  .paused-label { font-size: 12px; color: var(--muted); }
  .view-controls { display: flex; align-items: center; gap: 12px; }
  .map-toggle { display: none; }
  .scene-layout { display: grid; grid-template-columns: 1.65fr 1fr; gap: 28px; align-items: start; }
  .mirror-panel, .map-panel { min-width: 0; }
  .scene-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 13px; margin-bottom: 10px; }
  .scene-heading h2, .scene-heading h3 { font-size: 15px; }
  .scene-badge { font-size: 11px; color: var(--muted); }
  .mirror-svg, .map-svg { width: 100%; height: auto; }
  .scene-caption { color: var(--muted); font-size: 12px; margin-top: 10px; }
  .car-legend { color: var(--muted); font-size: 11px; display: flex; gap: 12px; margin-top: 8px; }
  .training-bottom { margin-top: 26px; padding-top: 25px; border-top: 1px solid var(--line); }
  .answer-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
  .answer-heading h2 { font-size: 21px; }
  .coach-hint { margin: 12px 0; color: var(--muted); font-size: 15px; }
  .coach-hint span { color: var(--orange); margin-right: 7px; }
  .answer-options { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
  .answer-button { min-width: 170px; }
  .action-note { font-size: 12px; color: var(--muted); margin-top: 15px; }
  .training-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 24px; color: var(--muted); font-size: 12px; }
  .demo-action { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
  .demo-action > div { flex: 1; min-width: 260px; }
  .demo-action p { margin-top: 8px; font-size: 17px; }
  .feedback-copy { display: flex; gap: 18px; }
  .feedback-sign { background: var(--surface); flex: 0 0 45px; height: 45px; border-radius: 50%; display: grid; place-items: center; font-size: 25px; }
  .needs-practice .feedback-sign { background: #f1e3d4; color: #96502a; }
  .feedback h2 { font-size: 25px; margin: 5px 0 12px; }
  .feedback p { max-width: 850px; }
  .feedback-copy p:not(.small-label) { font-size: 15px; color: var(--muted); }
  .feedback-copy .feedback-answer { color: var(--ink); margin-top: 10px; }
  .feedback-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
  .result-explanation { margin: 10px 0 0 63px; color: var(--muted); font-size: 14px; }
  .scene-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 800px; margin: 25px 0; }
  .comparison-frame { margin: 0; min-width: 0; }
  .comparison-frame h3, .comparison-frame h4, .comparison-frame figcaption { font-size: 13px; margin: 8px 0; }
  .comparison-frame svg { width: 100%; }
  .comparison-frame p { font-size: 12px; color: var(--muted); }
  .recall-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 260px; border-block: 1px solid var(--line); background: var(--surface); gap: 20px; }
  .recall-stage svg { width: 60px; stroke: var(--green); stroke-width: 1; }
  .recall-stage p { font-size: 23px; }
  .recall-stage > span { color: var(--muted); font-size: 13px; }
  .page-heading { padding: 62px 0 40px; }
  .page-heading > p:last-child { color: var(--muted); margin-top: 18px; }
  .record-totals { display: grid; grid-template-columns: repeat(4, 1fr); padding: 35px 0; border-block: 1px solid var(--line); }
  .record-totals > div { border-right: 1px solid var(--line); padding-left: 30px; }
  .record-totals > div:first-child { padding-left: 0; }
  .record-totals > div:last-child { border-right: none; }
  .record-totals strong { font-size: 43px; line-height: 1.3; font-weight: 500; display: block; }
  .record-totals strong small { font-size: 18px; color: var(--muted); font-weight: 400; }
  .record-totals span { display: block; font-size: 13px; color: var(--muted); margin-top: 10px; }
  .recent-section { margin-top: 55px; }
  .recent-list { padding: 0; margin-top: 25px; list-style: none; }
  .recent-list li { display: flex; align-items: center; gap: 25px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .recent-list strong { font-weight: 500; font-size: 15px; }
  .recent-list small { display: block; color: var(--muted); margin-top: 4px; }
  .recent-list li > span:nth-child(2) { margin-left: auto; }
  .recent-list time { color: var(--muted); }
  .empty-inline { color: var(--muted); padding: 28px 0; }
  .review-start { display: flex; align-items: center; justify-content: space-between; padding: 30px 0; border-block: 1px solid var(--line); }
  .review-start strong { font-size: 40px; font-weight: 500; margin-right: 12px; }
  .review-row { display: flex; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
  .review-dot { height: 7px; width: 7px; border-radius: 50%; background: var(--orange); }
  .review-row strong { font-weight: 500; }
  .review-row small { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; }
  .review-row > span:not(.review-dot) { margin-left: auto; font-size: 13px; color: var(--muted); }
  .empty-state { text-align: center; max-width: 640px; margin: 60px auto 90px; }
  .empty-state svg { width: 65px; stroke: #759265; stroke-width: 1; margin: 0 auto 24px; }
  .empty-state p { color: var(--muted); margin: 18px 0 28px; }
  .notes-layout { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: start; }
  .field-label { display: block; font-size: 14px; margin: 22px 0 9px; font-weight: 500; }
  .note-editor > .field-label { margin-top: 0; }
  textarea, select { width: 100%; border: 1px solid #acb7a4; border-radius: 9px; padding: 13px 15px; background: #faf9f1; color: var(--ink); }
  select { min-height: 52px; text-overflow: ellipsis; }
  textarea { resize: vertical; font-size: 15px; line-height: 1.7; }
  textarea::placeholder { color: #768273; }
  .checkbox-label { display: grid; grid-template-columns: 22px 1fr; align-items: center; column-gap: 8px; margin: 24px 0 15px; font-size: 14px; cursor: pointer; min-height: 48px; }
  .checkbox-label input { width: 18px; height: 18px; accent-color: var(--green); }
  .checkbox-label span { grid-column: 2; font-size: 12px; color: var(--muted); }
  .form-status { font-size: 14px; margin-bottom: 14px; }
  .form-status.error { color: #9a3825; }
  .note-library { padding-top: 2px; }
  .note-card { border-top: 1px solid var(--line); padding: 24px 0; }
  .note-card h3 { margin: 8px 0; }
  .note-confirmation { font-size: 12px; color: var(--muted); }
  .note-card details { margin-top: 14px; }
  summary { cursor: pointer; min-height: 48px; padding: 12px 0; font-size: 14px; }
  .note-card dl { font-size: 14px; margin: 8px 0 16px; padding: 15px; background: var(--surface); border-radius: 8px; }
  .note-card dt { color: var(--muted); font-size: 12px; margin-top: 12px; }
  .note-card dt:first-child { margin-top: 0; }
  .note-card dd { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
  .note-empty { padding: 25px 0 45px; }
  .note-empty > span { display: block; font-size: 45px; color: #879a72; }
  .note-empty h3 { max-width: 320px; margin: 20px 0 14px; }
  .note-empty p { color: var(--muted); font-size: 14px; }
  .completion { max-width: 780px; margin: 65px auto 30px; text-align: center; }
  .completion-symbol { width: 72px; margin: 0 auto 20px; }
  .completion-symbol svg { width: 72px; stroke: var(--green); stroke-width: 1; }
  .completion-lead { color: var(--muted); margin-top: 20px; }
  .session-facts { display: flex; justify-content: center; gap: 60px; padding: 36px 0; margin: 25px 0; border-block: 1px solid var(--line); }
  .session-facts strong { display: block; font-size: 37px; font-weight: 500; }
  .session-facts span { color: var(--muted); font-size: 13px; }
  .practice-reminder { text-align: left; background: var(--surface); padding: 28px; margin-bottom: 28px; }
  .practice-reminder h2 { font-size: 23px; margin: 10px 0; }
  .practice-reminder p { font-size: 14px; color: var(--muted); }
  .completion .button-row { justify-content: center; }
  .storage-notice { width: min(1328px, calc(100% - 96px)); margin: 20px auto 0; padding: 15px 20px; background: #f0dfcf; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; }
}
@layer responsive {
  @media (min-width: 1550px) { .hero { min-height: 610px; } .hero h1 { font-size: 59px; } }
  @media (max-width: 1100px) {
    .site-header, .page, .site-footer, .storage-notice { width: calc(100% - 56px); }
    .site-header { gap: 20px; }
    .site-header nav { gap: 23px; }
    .brand-sub, .license-tag { display: none; }
    .hero { gap: 12px; padding-top: 52px; min-height: 480px; }
    .hero h1 { font-size: 42px; }
    .hero-actions { gap: 12px; }
    .learning-strip { padding-inline: 10px; }
    .learning-strip p { column-gap: 10px; }
    .scene-layout { grid-template-columns: 1.55fr 1fr; gap: 18px; }
    .notes-layout { gap: 40px; }
    .course-intro { gap: 30px; }
    .mode-button { padding-inline: 11px; }
  }
  @media (max-width: 720px) {
    .site-header, .page, .site-footer, .storage-notice { width: calc(100% - 40px); }
    .site-header { min-height: 118px; flex-wrap: wrap; padding-top: 19px; gap: 10px; }
    .brand { font-size: 21px; }
    .brand-mark { height: 36px; width: 36px; border-radius: 11px; }
    .brand-mark svg { width: 28px; }
    .brand-sub { display: inline; font-size: 11px; margin-left: 9px; }
    .site-header nav { width: 100%; order: 3; margin: 0; justify-content: space-between; gap: 16px; height: 53px; }
    .site-header nav a { font-size: 13px; min-height: 48px; }
    .license-tag { display: inline; margin-left: auto; padding: 0; border: 0; font-size: 10px; }
    .hero { display: flex; flex-direction: column; align-items: stretch; padding: 36px 0 30px; gap: 14px; }
    .hero h1 { font-size: clamp(34px, 8.7vw, 49px); line-height: 1.4; }
    .hero .eyebrow { font-size: 10px; margin-bottom: 18px; }
    .hero-description { font-size: 15px; margin-top: 19px; }
    .hero-actions { gap: 20px; margin-top: 23px; }
    .hero-actions .button { font-size: 15px; min-height: 53px; padding-inline: 23px; }
    .hero-footnote { font-size: 11px; margin-top: 14px; }
    .hero-scene { min-height: 260px; margin-top: 7px; padding-bottom: 30px; }
    .hero-scene .overview-svg { max-height: 320px; }
    .scene-stamp { bottom: 3px; font-size: 12px; }
    .scene-corner { font-size: 9px; }
    .learning-strip { padding: 22px 0; gap: 10px; align-items: start; }
    .learning-strip p { display: flex; flex-direction: column; gap: 4px; }
    .learning-strip p > span { align-self: start; font-size: 22px; }
    .learning-strip strong { font-size: 14px; }
    .learning-strip small { font-size: 11px; max-width: 90px; line-height: 1.6; }
    .learning-strip i { margin-top: 40px; }
    .course-section { margin-top: 44px; }
    .section-heading { gap: 12px; margin-bottom: 21px; }
    .section-heading > p { font-size: 12px; }
    .section-heading h2 { font-size: 24px; }
    .course-row { gap: 14px; padding: 22px 0; position: relative; }
    .course-number { width: 25px; font-size: 17px; }
    .course-name { font-size: 18px; padding-right: 10px; }
    .course-name small { font-size: 12px; max-width: 235px; }
    .course-state { position: absolute; left: 39px; bottom: 15px; font-size: 10px; }
    .course-row { padding-bottom: 36px; }
    .course-arrow { margin-left: auto; font-size: 21px; }
    .home-bottom, .inline-callout { align-items: start; flex-direction: column; padding: 24px; gap: 18px; }
    .home-bottom h3 { font-size: 19px; }
    .home-bottom p { font-size: 13px; }
    .site-footer { flex-direction: column; gap: 12px; font-size: 11px; }
    .course-intro { display: flex; flex-direction: column; gap: 24px; padding-top: 30px; align-items: stretch; }
    .course-intro h1 { font-size: 36px; }
    .course-illustration { max-width: 480px; width: 100%; margin-inline: auto; }
    .intro-description { font-size: 16px; margin-top: 17px; }
    .button-row .button { font-size: 14px; padding-inline: 16px; }
    .lesson-group { grid-template-columns: 1fr; gap: 8px; }
    .lesson-group > h3 { padding-top: 3px; }
    .lesson-row { gap: 13px; padding: 19px 0; }
    .lesson-row strong { font-size: 15px; }
    .lesson-row small { font-size: 11px; max-width: 205px; }
    .lesson-state { font-size: 10px; white-space: nowrap; }
    .training-top { padding-top: 16px; gap: 12px; flex-wrap: wrap; font-size: 11px; }
    .training-top > span:nth-child(2) { max-width: 55%; }
    .training-heading { display: block; padding-top: 19px; }
    .training-heading h1 { font-size: 28px; }
    .mode-bar { margin-top: 20px; display: flex; width: 100%; }
    .mode-button { flex: 1; font-size: 13px; }
    .observation { flex-direction: column; gap: 7px; padding: 20px 0 16px; }
    .observation p { font-size: 15px; }
    .view-toolbar > div { gap: 1px; }
    .view-button { font-size: 12px; padding-inline: 11px; }
    .paused-label { font-size: 10px; }
    .scene-layout { display: flex; flex-direction: column; gap: 20px; }
    .mirror-panel { width: 100%; }
    .map-panel { width: 100%; display: none; }
    .map-visible .map-panel { display: block; }
    .map-toggle { display: inline-flex; font-size: 11px; min-height: 44px; }
    .view-controls { gap: 6px; }
    .view-controls .paused-label { display: none; }
    .map-panel .map-svg { max-height: 235px; }
    .scene-caption { font-size: 11px; }
    .training-bottom { margin-top: 21px; padding-top: 20px; }
    .answer-heading { align-items: start; }
    .answer-heading h2 { font-size: 19px; }
    .answer-heading .small-label { display: none; }
    .answer-heading .text-button { padding-top: 0; font-size: 12px; white-space: nowrap; }
    .answer-options { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
    .answer-button { width: 100%; min-height: 56px; }
    .coach-hint { font-size: 14px; }
    .training-footer { align-items: start; flex-direction: column; gap: 3px; font-size: 11px; }
    .demo-action { gap: 12px; }
    .demo-action > div { flex-basis: 100%; margin-bottom: 8px; }
    .demo-action .button { flex: 1; font-size: 13px; padding-inline: 10px; }
    .demo-action p { font-size: 16px; }
    .feedback-copy { gap: 12px; }
    .feedback-sign { flex-basis: 34px; height: 34px; font-size: 20px; }
    .feedback h2 { font-size: 23px; }
    .feedback-copy p:not(.small-label) { font-size: 14px; }
    .feedback-actions .button { width: 100%; }
    .result-explanation { margin-left: 0; }
    .scene-comparison { gap: 10px; }
    .page-heading { padding: 35px 0 29px; }
    .page-heading h1 { font-size: 29px; }
    .page-heading > p:last-child { font-size: 14px; }
    .record-totals { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding: 26px 0; }
    .record-totals > div { padding: 0; border: 0; }
    .record-totals strong { font-size: 34px; }
    .record-totals span { font-size: 12px; }
    .recent-list li { flex-wrap: wrap; gap: 8px; }
    .recent-list time { flex-basis: 100%; font-size: 11px; }
    .review-start { gap: 12px; }
    .review-start .button { font-size: 13px; padding-inline: 14px; }
    .review-start strong { font-size: 31px; }
    .review-start p { font-size: 12px; }
    .review-row { flex-wrap: wrap; gap: 10px; }
    .review-row > span:not(.review-dot) { font-size: 11px; margin-left: 18px; }
    .review-row .text-button { margin-left: auto; font-size: 12px; }
    .empty-state { margin: 35px auto 55px; }
    .empty-state p { font-size: 14px; }
    .notes-layout { grid-template-columns: 1fr; gap: 38px; }
    .note-library { border-top: 1px solid var(--line); padding-top: 30px; }
    .completion { margin-top: 40px; }
    .completion h1 { font-size: 30px; }
    .completion-lead { font-size: 14px; }
    .session-facts { gap: 27px; padding: 25px 0; }
    .session-facts strong { font-size: 30px; }
    .session-facts span { font-size: 11px; }
    .practice-reminder { padding: 22px; }
    .practice-reminder h2 { font-size: 22px; }
    .completion .button { width: 100%; }
    .storage-notice { flex-direction: column; align-items: start; gap: 2px; font-size: 13px; }
    .recall-stage p { font-size: 18px; text-align: center; padding: 0 12px; }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
}
