:root {
  --forest: #173f35;
  --forest-2: #24584a;
  --ink: #17211d;
  --paper: #f5f1e8;
  --white: #fffdf8;
  --clay: #e86f4b;
  --clay-light: #f6b19a;
  --lime: #c9e85b;
  --sky: #9dd7db;
  --line: rgba(23, 33, 29, .13);
  --muted: #68746d;
  --shadow: 0 16px 45px rgba(24, 47, 39, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.topbar { position: sticky; top: 0; z-index: 20; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1180px) / 2)); background: rgba(245, 241, 232, .9); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--forest); font-weight: 850; letter-spacing: -.03em; font-size: 20px; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50% 50% 45% 55%; background: var(--forest); color: var(--lime); font-size: 10px; box-shadow: inset 7px -5px rgba(255,255,255,.08); }
.profile-chip { display: flex; align-items: center; gap: 9px; border: 0; background: transparent; color: var(--ink); text-align: left; }
.profile-chip strong, .profile-chip small { display: block; }
.profile-chip strong { font-size: 13px; }
.profile-chip small { color: var(--muted); margin-top: 2px; }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; background: var(--clay); color: white; border-radius: 14px; font-weight: 900; }
.family-dialog-card { gap: 13px; }
.profile-list { display: grid; gap: 9px; margin: 5px 0; }
.profile-choice { width: 100%; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: white; text-align: left; }
.profile-choice.active { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); background: #f4f9e7; }
.profile-choice-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: white; background: var(--forest); font-weight: 950; }
.profile-choice strong, .profile-choice small { display: block; }
.profile-choice small { margin-top: 3px; color: var(--muted); }
.profile-choice-status { color: var(--forest); font-size: 12px; font-weight: 900; }
main { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 48px 0 120px; }
.view { display: none; animation: reveal .35s ease; }
.view.active { display: block; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } }
.hero { min-height: 285px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 54px; background: var(--forest); color: white; border-radius: 32px; overflow: hidden; position: relative; box-shadow: var(--shadow); }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -100px; top: -180px; border: 58px solid rgba(201,232,91,.12); border-radius: 50%; }
.eyebrow { margin: 0 0 9px; color: var(--clay); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .15em; }
.hero .eyebrow { color: var(--lime); }
.week-button { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 12px; margin: 0 0 10px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; color: white; background: rgba(255,255,255,.08); text-align: left; }
.week-button .eyebrow { margin: 0; }
.week-button > span:last-child { font-size: 11px; font-weight: 850; }
.week-button:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
h1, h2, h3, p { text-wrap: balance; }
h1 { font-family: Georgia, Cambria, serif; font-size: clamp(42px, 6vw, 68px); line-height: .98; letter-spacing: -.045em; margin: 0; font-weight: 500; }
h1 em { color: var(--lime); font-weight: 400; }
h2 { margin: 0; font-family: Georgia, Cambria, serif; font-size: 27px; letter-spacing: -.025em; font-weight: 500; }
h3 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.hero-copy { max-width: 530px; color: rgba(255,255,255,.68); font-size: 17px; margin: 20px 0 0; }
.hero-score { position: relative; z-index: 1; min-width: 150px; min-height: 150px; display: grid; place-content: center; text-align: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(255,255,255,.06); }
.hero-score span { font: 500 40px Georgia, serif; color: var(--lime); }
.hero-score small { color: rgba(255,255,255,.7); }
.section-heading, .panel-title, .form-heading, .split-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-heading { margin: 46px 0 18px; }
.soft-badge { padding: 8px 13px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 13px; font-weight: 800; }
.session-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.session-card { min-height: 300px; border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.session-card::after { content: ""; width: 150px; height: 150px; position: absolute; right: -50px; bottom: -65px; border: 32px solid rgba(23,63,53,.1); border-radius: 50%; }
.session-card.clay { background: var(--clay-light); }
.session-card.lime { background: var(--lime); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 38px; }
.day-pill { padding: 7px 10px; color: white; background: var(--forest); border-radius: 8px; font-weight: 900; font-size: 11px; letter-spacing: .08em; }
.duration { font-size: 12px; font-weight: 800; }
.session-card p { color: rgba(23,33,29,.7); max-width: 370px; }
.mini-track { height: 4px; border-radius: 9px; background: rgba(23,63,53,.16); margin: auto 0 18px; overflow: hidden; }
.mini-track span { display: block; height: 100%; background: var(--forest); }
.primary, .secondary { border: 0; border-radius: 13px; min-height: 47px; padding: 0 17px; font-weight: 850; }
.primary { background: var(--clay); color: white; }
.primary.dark { background: var(--forest); display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.secondary { background: var(--white); color: var(--forest); border: 1px solid var(--line); }
.text-button { border: 0; background: none; color: var(--forest); font-weight: 850; text-decoration: underline; text-underline-offset: 4px; }
.dashboard-grid { display: grid; grid-template-columns: 1.55fr .8fr; gap: 20px; margin-top: 20px; }
.panel { padding: 27px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(23,33,29,.035); }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.metric { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 15px; background: var(--paper); }
.metric-icon { width: 33px; height: 33px; border-radius: 11px; display: grid; place-items: center; color: var(--forest); background: var(--lime); font-weight: 900; }
.metric small, .metric strong { display: block; }
.metric small { color: var(--muted); font-size: 11px; }
.metric strong { margin-top: 3px; font-size: 18px; }
.next-panel { background: var(--sky); }
.flag-row { display: flex; gap: 14px; align-items: center; margin: 25px 0; }
.flag-icon { font-size: 34px; color: var(--forest); }
.flag-row p { margin: 5px 0 0; color: rgba(23,33,29,.65); font-size: 13px; }
.next-panel .secondary { width: 100%; }
.coach-note { margin-top: 20px; display: flex; align-items: center; gap: 15px; padding: 21px 25px; border-radius: 18px; color: white; background: var(--forest-2); }
.coach-note p { margin: 0; }
.coach-note .eyebrow { color: var(--lime); margin-bottom: 5px; }
.coach-avatar { flex: 0 0 43px; width: 43px; height: 43px; display: grid; place-items: center; background: var(--lime); color: var(--forest); border-radius: 50%; font-weight: 950; }
.page-intro { margin: 25px 0 38px; }
.page-intro h1 { color: var(--forest); }
.page-intro > p:last-child, .split-intro > div > p:last-child { color: var(--muted); font-size: 17px; }
.guided-list, .history-list, .competition-list, .test-history { display: grid; gap: 14px; }
.library-heading { margin-top: 55px; }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 17px; }
.filter-button { border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; color: var(--forest); background: var(--white); font-size: 12px; font-weight: 850; }
.filter-button.active { color: white; background: var(--forest); }
.exercise-library { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.exercise-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.exercise-card summary { list-style: none; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; padding: 18px; cursor: pointer; }
.exercise-card summary::-webkit-details-marker, .coach-module summary::-webkit-details-marker, .session-step summary::-webkit-details-marker { display: none; }
.exercise-number { width: 43px; height: 43px; display: grid; place-items: center; color: var(--forest); background: var(--lime); border-radius: 13px; font-weight: 950; }
.exercise-card summary small { display: block; color: var(--muted); margin-top: 3px; }
.exercise-card summary::after, .coach-module summary::after, .session-step summary::after { content: "+"; font-size: 22px; color: var(--clay); }
.exercise-card[open] summary::after, .coach-module[open] summary::after, .session-step[open] summary::after { content: "−"; }
.exercise-body { padding: 0 18px 20px; border-top: 1px solid var(--line); }
.exercise-goal { margin: 16px 0; padding: 13px; color: var(--forest); background: rgba(201,232,91,.3); border-radius: 12px; font-weight: 750; }
.instruction-block { margin-top: 15px; }
.instruction-block h4 { margin: 0 0 6px; color: var(--forest); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.instruction-block ol, .instruction-block ul { margin: 0; padding-left: 19px; color: var(--muted); line-height: 1.65; font-size: 13px; }
.child-cue { margin: 16px 0 0; padding: 13px 15px; color: white; background: var(--forest); border-radius: 13px; }
.child-cue small { display: block; color: var(--lime); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.guided-card { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 20px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.guided-time { width: 68px; height: 68px; display: grid; place-content: center; text-align: center; border-radius: 18px; background: var(--lime); color: var(--forest); font-weight: 900; }
.guided-time small { font-size: 10px; }
.guided-card p { color: var(--muted); margin: 6px 0 0; }
.history-item, .competition-item, .test-card { background: var(--white); border: 1px solid var(--line); border-radius: 17px; padding: 18px 20px; }
.history-item { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.history-item p, .competition-item p { color: var(--muted); margin: 5px 0 0; }
.empty { padding: 28px; text-align: center; color: var(--muted); border: 1px dashed rgba(23,33,29,.25); border-radius: 17px; }
.form-panel { margin-bottom: 35px; }
.form-heading input { max-width: 160px; }
label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 800; }
input, select, textarea { width: 100%; color: var(--ink); background: white; border: 1px solid rgba(23,33,29,.2); border-radius: 11px; padding: 11px 12px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(36,88,74,.1); }
.test-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px 18px; margin: 24px 0; }
.test-grid label { display: flex; justify-content: space-between; align-items: center; padding: 12px; border-bottom: 1px solid var(--line); }
.test-grid label span { display: flex; align-items: center; gap: 5px; color: var(--muted); }
.test-grid input { width: 68px; }
.test-card-header, .competition-item { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.test-score { display: flex; align-items: baseline; gap: 4px; color: var(--forest); }
.test-score strong { font: 500 35px Georgia, serif; }
.test-bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; margin-top: 16px; align-items: end; height: 70px; }
.bar { height: calc(var(--value) * 10%); min-height: 5px; border-radius: 6px 6px 2px 2px; background: var(--lime); position: relative; }
.bar span { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 9px; color: var(--muted); }
.competition-date { flex: 0 0 66px; height: 66px; display: grid; place-content: center; text-align: center; background: var(--clay-light); border-radius: 16px; font-weight: 900; }
.competition-date strong { font-size: 25px; line-height: 1; }
.competition-date small { font-size: 10px; text-transform: uppercase; }
.competition-copy { flex: 1; }
.delete-button { border: 0; background: transparent; color: #a04a36; font-weight: 900; }
.principle-card { margin-top: 25px; display: flex; gap: 18px; padding: 28px; border-radius: var(--radius); background: var(--forest); color: white; }
.principle-card > span { color: var(--lime); font-size: 38px; }
.principle-card p { color: rgba(255,255,255,.7); margin-bottom: 0; }
.timeline { position: relative; display: grid; gap: 15px; }
.philosophy-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: center; padding: 30px; margin-bottom: 18px; border-radius: var(--radius); color: white; background: var(--forest); }
.philosophy-card .eyebrow { color: var(--lime); }
.philosophy-card > p { color: rgba(255,255,255,.72); line-height: 1.65; }
.coach-progress { margin-bottom: 18px; }
.coach-progress > div:first-child { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.coach-level { padding: 8px 12px; color: var(--forest); background: var(--lime); border-radius: 999px; font-size: 12px; font-weight: 900; }
.progress-track { height: 8px; overflow: hidden; margin-top: 18px; background: var(--paper); border-radius: 99px; }
.progress-track span { display: block; width: 0; height: 100%; background: var(--clay); transition: width .35s ease; }
.coach-modules { display: grid; gap: 11px; }
.coach-module { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.coach-module summary { list-style: none; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 13px; padding: 18px 20px; cursor: pointer; }
.module-index { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--forest); font: 500 18px Georgia, serif; }
.coach-module.done .module-index { color: white; background: var(--forest); }
.coach-module summary p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.module-body { padding: 0 20px 22px 81px; border-top: 1px solid var(--line); }
.module-body h3 { margin: 20px 0 8px; font-size: 17px; }
.module-body p, .module-body li { color: var(--muted); line-height: 1.65; font-size: 14px; }
.module-body ul, .module-body ol { padding-left: 20px; }
.module-practice { padding: 14px; margin: 15px 0; border-left: 4px solid var(--clay); background: var(--paper); border-radius: 0 12px 12px 0; }
.module-complete { display: inline-flex; align-items: center; gap: 8px; color: white; background: var(--forest); border: 0; border-radius: 11px; padding: 11px 14px; font-weight: 850; }
.module-complete.done { color: var(--forest); background: var(--lime); }
.sources-list a { color: var(--forest); font-weight: 750; }
.qualification-note { margin: 20px 0 35px; padding: 23px; border: 1px solid rgba(232,111,75,.35); border-radius: 18px; background: #fff2ec; }
.qualification-note p { color: var(--muted); }
.qualification-note a { color: var(--forest); font-weight: 850; }
.phase { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.phase-number { font: 500 58px Georgia, serif; color: var(--clay); }
.phase ul, .rules-panel ul { padding-left: 18px; color: var(--muted); line-height: 1.75; }
.phase-meta { display: inline-block; margin-top: 8px; padding: 6px 9px; border-radius: 8px; background: var(--paper); font-size: 11px; font-weight: 850; }
.rules-panel { margin-top: 20px; background: var(--lime); }
.bottom-nav { position: fixed; z-index: 30; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; padding: 7px; background: rgba(23,63,53,.96); backdrop-filter: blur(16px); border-radius: 18px; box-shadow: var(--shadow); }
.bottom-nav button { min-width: 83px; padding: 9px 10px; display: grid; gap: 3px; place-items: center; border: 0; border-radius: 12px; background: transparent; color: rgba(255,255,255,.55); font-size: 10px; font-weight: 800; }
.bottom-nav button span { font-size: 18px; }
.bottom-nav button.active { color: var(--forest); background: var(--lime); }
dialog { width: min(570px, calc(100% - 28px)); border: 0; padding: 0; border-radius: 25px; color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.wide-dialog { width: min(820px, calc(100% - 28px)); }
dialog::backdrop { background: rgba(12,29,24,.67); backdrop-filter: blur(4px); }
.dialog-card { position: relative; padding: 30px; display: grid; gap: 18px; background: var(--paper); }
.dialog-close { position: absolute; right: 15px; top: 15px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(23,33,29,.08); font-size: 22px; }
.week-dialog-card { gap: 12px; }
.week-lead { margin: 0 42px 10px 0; color: var(--muted); line-height: 1.55; }
.kids-video-card { display: grid; grid-template-columns: 1.4fr .6fr; gap: 20px; align-items: center; padding: 22px; overflow: hidden; border-radius: 20px; color: white; background: var(--forest); }
.kids-video-card h3 { margin: 8px 0 5px; }
.kids-video-card p { margin: 0 0 16px; color: rgba(255,255,255,.72); }
.video-badge { color: var(--lime); font-size: 10px; font-weight: 950; letter-spacing: .12em; }
.video-poster { width: 120px; height: 120px; justify-self: end; display: grid; place-content: center; place-items: center; border-radius: 50%; color: var(--forest); background: var(--lime); box-shadow: 0 0 0 14px rgba(255,255,255,.08); }
.video-poster span { font-size: 36px; }
.video-poster b { font-size: 14px; }
.week-plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; }
.week-plan-grid article { padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.week-plan-grid h3 { margin: 13px 0 8px; font-size: 20px; }
.week-plan-grid ol { min-height: 145px; margin: 0 0 15px; padding-left: 20px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.week-plan-grid .primary { width: 100%; }
.coach-reminder { margin: 4px 0 0; padding: 13px 15px; border-radius: 12px; background: #fff2ec; color: var(--muted); font-size: 13px; }
.video-dialog { width: min(430px, calc(100% - 20px)); background: transparent; box-shadow: none; }
.video-shell { position: relative; overflow: hidden; border-radius: 28px; background: var(--paper); box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.video-close { z-index: 5; color: white; background: rgba(0,0,0,.25); }
.story-stage { position: relative; min-height: 560px; overflow: hidden; color: white; background: linear-gradient(#69c9d0 0 58%, #9bce55 58% 100%); }
.story-stage::after { content: ""; position: absolute; left: -15%; right: -15%; bottom: 16%; height: 22%; border-radius: 50% 50% 0 0; background: #61a942; }
.story-sky { position: absolute; inset: 0; }
.cloud { position: absolute; color: rgba(255,255,255,.85); font-size: 62px; animation: cloudFloat 6s ease-in-out infinite alternate; }
.cloud-one { left: 8%; top: 8%; }
.cloud-two { right: 5%; top: 19%; font-size: 44px; animation-delay: -2s; }
.story-character { position: absolute; z-index: 2; left: 50%; top: 31%; width: 116px; height: 175px; transform: translateX(-50%); transition: .5s ease; }
.birdie-head { position: absolute; left: 34px; top: 0; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #f1c39b; background: #f1c39b; box-shadow: inset 0 13px #563c2f; }
.birdie-body { position: absolute; left: 18px; top: 45px; width: 84px; height: 100px; display: grid; place-items: center; border-radius: 34px 34px 22px 22px; color: var(--forest); background: var(--lime); font-weight: 950; }
.story-club { position: absolute; left: 100px; top: 68px; width: 5px; height: 112px; border-radius: 9px; background: #f7f4e9; transform: rotate(-18deg); transform-origin: top; transition: .5s ease; }
.story-club::after { content: ""; position: absolute; left: -8px; bottom: -5px; width: 22px; height: 10px; border-radius: 4px; background: #173f35; }
.story-prop { position: absolute; z-index: 3; right: 11%; bottom: 25%; font-size: 58px; transition: .4s ease; }
.story-caption { position: absolute; z-index: 4; left: 22px; right: 22px; bottom: 20px; padding: 19px; border-radius: 18px; color: white; background: rgba(23,63,53,.94); text-align: center; }
.story-caption small { color: var(--lime); font-weight: 950; letter-spacing: .12em; }
.story-caption h2 { margin: 5px 0; color: white; font-size: 27px; }
.story-caption p { min-height: 42px; margin: 0; color: rgba(255,255,255,.82); line-height: 1.4; }
.story-stage[data-scene="1"] .story-character { transform: translateX(-50%) scale(1.08); }
.story-stage[data-scene="2"] .story-club { transform: rotate(-5deg); }
.story-stage[data-scene="3"] .story-character { transform: translateX(-50%) rotate(-4deg); }
.story-stage[data-scene="4"] .story-prop { transform: scale(1.35) rotate(12deg); }
.story-stage[data-scene="5"] .story-character { transform: translateX(-50%) rotate(3deg); }
.story-stage[data-scene="6"] .story-prop { transform: translate(-160px,-115px) rotate(360deg); }
.video-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 14px; }
.story-voice { grid-column: 1 / -1; }
.story-progress { grid-column: 1 / -1; height: 7px; overflow: hidden; border-radius: 8px; background: rgba(23,63,53,.12); }
.story-progress span { display: block; width: 0; height: 100%; background: var(--clay); transition: width .35s linear; }
@keyframes cloudFloat { to { transform: translateX(18px); } }
.timer { display: flex; justify-content: space-between; align-items: center; padding: 18px; background: var(--forest); color: white; border-radius: 16px; }
.timer strong { font: 500 34px Georgia, serif; color: var(--lime); }
.timer button { border: 0; background: white; color: var(--forest); border-radius: 9px; padding: 9px 12px; font-weight: 850; }
.check-list { display: grid; gap: 8px; }
.session-help { margin: -5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.session-step { background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.session-step summary { list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 13px; cursor: pointer; font-weight: 850; }
.session-step-content { padding: 0 13px 14px; color: var(--muted); font-size: 13px; }
.session-step-content p { margin: 5px 0; }
.step-check { display: flex; align-items: center; gap: 9px; margin-top: 11px; color: var(--forest); font-weight: 850; }
.step-check input { width: 18px; accent-color: var(--forest); }
.range-label output { float: right; color: var(--forest); }
input[type="range"] { padding: 0; accent-color: var(--clay); }
.data-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.file-button { display: grid; place-items: center; }
.file-button input { display: none; }
.privacy-note { font-size: 11px; color: var(--muted); text-align: center; margin: 0; }
.toast { position: fixed; z-index: 60; right: 22px; bottom: 105px; max-width: 340px; padding: 13px 17px; border-radius: 12px; color: white; background: var(--forest); opacity: 0; transform: translateY(10px); pointer-events: none; transition: .25s; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .topbar { height: 65px; padding: 0 16px; }
  .brand { font-size: 17px; }
  .profile-chip strong { max-width: 92px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  main { width: min(100% - 28px, 1180px); padding-top: 20px; }
  .hero { min-height: 340px; align-items: flex-start; padding: 35px 25px; }
  .week-button { align-items: flex-start; flex-direction: column; gap: 3px; }
  .hero-score { position: absolute; right: 20px; bottom: 20px; min-width: 105px; min-height: 105px; }
  .hero-score span { font-size: 30px; }
  .hero-copy { max-width: 250px; }
  .session-grid, .dashboard-grid, .metric-row, .test-grid { grid-template-columns: 1fr; }
  .exercise-library { grid-template-columns: 1fr; }
  .session-card { min-height: 280px; }
  .panel-title { align-items: flex-start; }
  .metric-row { gap: 8px; }
  .metric { padding: 11px; }
  .guided-card { grid-template-columns: 62px 1fr; }
  .guided-card .primary { grid-column: 1 / -1; }
  .phase { grid-template-columns: 60px 1fr; gap: 10px; padding: 20px; }
  .philosophy-card { grid-template-columns: 1fr; gap: 5px; padding: 24px; }
  .module-body { padding: 0 17px 20px; }
  .phase-number { font-size: 44px; }
  .bottom-nav { width: calc(100% - 20px); bottom: 10px; justify-content: space-around; }
  .bottom-nav button { min-width: 0; flex: 1; padding: 8px 3px; }
  .split-intro { align-items: flex-end; }
  .competition-item { align-items: flex-start; }
  .test-grid label { padding-inline: 4px; }
  .kids-video-card { grid-template-columns: 1fr; }
  .video-poster { display: none; }
  .week-plan-grid { grid-template-columns: 1fr; }
  .week-plan-grid ol { min-height: 0; }
  .story-stage { min-height: min(560px, 68vh); }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
