[hidden]{display:none!important}
[data-motion=reduced] *,[data-motion=reduced] *::before,[data-motion=reduced] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
.skip-link{position:fixed;left:16px;top:12px;z-index:100;background:var(--surface);color:var(--ink);border:2px solid var(--blue);padding:12px 18px;border-radius:12px;transform:translateY(-150%)}.skip-link:focus{transform:none}
.loading-state{min-height:60vh;display:grid;place-content:center;text-align:center;color:var(--muted);padding:30px}.loading-state h1{color:var(--ink);font-size:25px}.loading-state p{margin-top:12px}
.next-step{display:flex;gap:18px;align-items:flex-start;margin:0 0 24px;border-color:var(--green);background:var(--surface)}.next-step-icon{flex-shrink:0;width:48px;height:48px;border-radius:14px;background:var(--green-light);color:var(--green-dark);display:grid;place-items:center}.next-step-icon .icon{width:27px;height:27px}.next-step .page-eyebrow{display:block;margin:0 0 9px;font-size:9px}.next-step h2{font-size:22px;line-height:1.3}.next-step p{font-size:13px;color:var(--muted);margin:10px 0 15px}.next-step .btn{font-size:11px}.next-step .button-row{margin:0;gap:12px;flex-wrap:wrap}.next-step .text-button{font-size:10px}.welcome-setup{margin-bottom:20px}.welcome-setup .card-heading{margin-bottom:8px}.welcome-setup p,.goal-settings p{font-size:13px;color:var(--muted);line-height:1.6;margin:10px 0 16px}
.goal-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.goal-option{padding:12px 7px;border:2px solid var(--border);border-bottom-width:4px;border-radius:12px;color:var(--ink);background:var(--surface);min-width:0}.goal-option strong,.goal-option small{display:block}.goal-option strong{font-size:14px}.goal-option small{font-size:10px;margin-top:5px;color:var(--muted)}.goal-option.selected{border-color:var(--green);background:var(--green-light)}.goal-option.selected strong{color:var(--green-dark)}
.daily-card .text-button{display:inline-flex;margin-top:14px;font-size:10px}.tiny-note{font-size:11px;line-height:1.6;color:var(--muted);margin-top:10px}.quest-done b{color:var(--green-dark)}.habit-grid,.badge-grid,.practice-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.habit-grid>.card{margin:0}.activity-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.activity-day{text-align:center;min-width:0}.activity-day>span,.activity-day>small{display:block;color:var(--muted);font-size:10px;font-weight:800}.activity-day>div{display:grid;place-items:center;aspect-ratio:1;border:2px solid var(--border);border-radius:50%;margin:10px 0;background:var(--surface-alt);color:var(--muted)}.activity-day .icon{width:16px;height:16px}.activity-day.studied>div{background:var(--green-light);border-color:var(--green);color:var(--green-dark)}.activity-day.today>span{color:var(--green-dark)}.activity-day.today>div{outline:2px solid var(--blue);outline-offset:3px}.badge-card .icon{width:34px;height:34px;margin-bottom:16px;color:var(--muted)}.badge-card.earned .icon{color:var(--green-dark)}.badge-card h3{font-size:17px;margin:14px 0 8px}.badge-card p,.badge-card small{font-size:12px;line-height:1.5;color:var(--muted)}.badge-card small{display:block;margin-top:10px}.badge-card.locked{border-style:dashed}.goal-settings{margin:22px 0}
.review-nudge{display:flex;align-items:center;gap:15px;margin:0 0 22px;padding:16px;border-radius:14px;border:2px solid var(--border);background:var(--surface-alt)}.review-nudge>.icon{color:var(--blue);flex-shrink:0}.review-nudge>div{flex:1;min-width:0}.review-nudge strong{font-size:13px}.review-nudge p{font-size:11px;margin-top:5px;color:var(--muted)}.review-nudge .btn{font-size:10px;padding:12px}
.practice-recommendation{display:flex;align-items:center;gap:20px;margin:24px 0}.practice-recommendation>div{flex:1}.practice-recommendation .icon{color:var(--blue)}.practice-recommendation h2{font-size:20px;margin:10px 0}.practice-recommendation p,.practice-mode p,.gentle-note p{font-size:13px;color:var(--muted);line-height:1.6}.practice-mode{display:flex;align-items:flex-start;flex-direction:column;gap:14px;min-width:0}.practice-mode>.icon{width:31px;height:31px;color:var(--blue)}.practice-mode h2{font-size:19px}.practice-mode p{flex:1}.practice-mode .btn{font-size:10px}.gentle-note{display:flex;gap:16px;align-items:center}.gentle-note>.icon{color:var(--red);flex-shrink:0}.practice-mode .btn:disabled,.subject-card .btn:disabled{background:var(--surface-alt);border-color:var(--border);color:var(--muted);cursor:default;opacity:1}.mobile-habit{display:none}.weekly-card .card-heading h3{font-size:16px}.weekly-card .pill{font-size:9px;white-space:nowrap}
.lesson-support{margin:18px 0}.lesson-support .text-button{font-size:12px;min-height:44px}.concept-hint{border:2px solid var(--border);border-radius:14px;background:var(--surface-alt);padding:16px;margin-top:8px;line-height:1.6;font-size:13px;color:var(--ink)}.concept-hint>p{margin:8px 0}.concept-hint small{color:var(--muted)}.correct-solution{margin-top:8px!important;overflow-wrap:anywhere;font-size:13px!important}.correct-solution>b{display:block}.feedback-summary{color:var(--muted);font-size:11px;margin-top:10px}.earned-notice{display:flex;align-items:center;gap:14px;border:2px solid var(--gold);border-radius:14px;padding:15px;margin:20px auto;max-width:430px;text-align:left;background:var(--surface)}.earned-notice>.icon{color:var(--gold);flex-shrink:0}.earned-notice p{font-size:13px!important;margin:5px 0!important}.celebration .result-next{font-size:13px;color:var(--muted);margin-bottom:16px}.celebration .button-row{justify-content:center;flex-wrap:wrap;gap:12px}.celebration .button-row .btn{font-size:11px}.celebration .result-secondary{display:block;margin:15px auto;font-size:11px}
.keyboard-guide p{font-size:13px;color:var(--muted);line-height:1.8;margin-top:12px}kbd{font-family:inherit;font-size:11px;font-weight:900;border:1px solid var(--border);border-bottom-width:3px;background:var(--surface-alt);color:var(--ink);border-radius:5px;padding:2px 6px}.catalog-tools{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}.catalog-search{flex:1;min-width:200px}.catalog-search input{width:100%;min-height:46px;padding:12px 15px;border:2px solid var(--border);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;font-size:14px}.catalog-filters{display:flex;gap:8px}.catalog-filter{padding:10px 12px;border:2px solid var(--border);background:var(--surface);color:var(--muted);border-radius:12px;font-weight:900;font-size:11px}.catalog-filter.selected{border-color:var(--blue);color:var(--blue);background:var(--surface-alt)}.catalog-count{font-size:12px;color:var(--muted);margin:0 0 18px}.subject-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr))}.subject-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.subject-card h2{font-size:21px}.subject-card p{flex:1}.subject-card .btn{max-width:none}.subject-meta{flex-wrap:wrap;gap:9px}.no-subjects{text-align:center;color:var(--muted);padding:28px;line-height:1.6}
@media(max-width:1050px){.mobile-habit{display:block;margin-bottom:22px}.mobile-habit .daily-card{padding:17px}.mobile-habit .card-heading{margin-bottom:10px}.mobile-habit .goal-row{margin-bottom:12px}.habit-grid{grid-template-columns:1fr}}
@media(max-width:650px){.next-step{padding:18px;gap:12px}.next-step-icon{width:34px;height:38px}.next-step h2{font-size:19px}.next-step .button-row{display:flex;flex-direction:column;align-items:flex-start}.next-step .btn{padding:13px 14px}.goal-options{gap:6px}.goal-option{padding:11px 3px}.goal-option strong{font-size:12px}.goal-option small{font-size:8px}.badge-grid{gap:10px}.badge-card{padding:16px}.practice-modes{grid-template-columns:1fr}.practice-recommendation{flex-direction:column;align-items:flex-start}.practice-recommendation .btn{width:100%;font-size:12px}.review-nudge{flex-wrap:wrap}.catalog-filters{width:100%}.catalog-filter{flex:1}.catalog-search{min-width:100%;width:100%}.mobile-nav>a{width:auto;min-width:44px}.celebration .button-row .btn{width:100%}.answer-footer .feedback p{max-height:180px;overflow:auto}.lesson-top{flex-wrap:nowrap}.badge-card h3{font-size:15px}.badge-card p{font-size:11px}}

.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}

#main:focus{outline:none}
.progress-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.progress-subject-pill{display:flex;align-items:center;gap:6px;padding:9px 12px;border-radius:12px;background:var(--surface-alt);color:var(--green-dark);font-size:11px;font-weight:900;white-space:nowrap}.progress-subject-pill .icon{width:18px;height:18px}.progress-page-header h1{font-size:32px}.progress-overview{margin:24px 0;display:flex;align-items:center;gap:18px;border-color:var(--green);border-bottom-width:5px}.progress-overview-copy{flex:1;min-width:0}.progress-overview .page-eyebrow{font-size:9px;color:var(--green-dark);margin-bottom:12px}.progress-overview h2{font-size:23px}.progress-overview p{font-size:13px;color:var(--muted);margin:12px 0 20px}.progress-overview .button-row{margin:0;flex-wrap:wrap}.progress-overview .btn{font-size:11px}.progress-overview-art{display:grid;place-items:center;width:72px;height:80px;flex-shrink:0;background:var(--green-light);color:var(--green-dark);border-radius:22px;rotate:8deg}.progress-overview-art .icon{width:42px;height:42px}.progress-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.progress-stat{min-width:0;padding:16px;border-bottom-width:4px}.progress-stat>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--surface-alt);color:var(--green-dark);margin-bottom:14px}.progress-stat .icon{width:21px;height:21px}.progress-stat strong{display:block;font-size:25px}.progress-stat small{display:block;font-size:11px;color:var(--muted);margin-top:7px;line-height:1.5}.progress-section-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:32px 0 18px}.progress-section-heading h2{font-size:22px}.progress-section-heading p{font-size:12px;margin-top:7px;color:var(--muted)}.progress-section-heading .pill{font-size:10px;white-space:nowrap}.activity-chart .card-heading{align-items:flex-start;flex-wrap:wrap;gap:14px}.activity-chart .card-heading p{font-size:12px;color:var(--muted);margin-top:8px}.activity-chart .card-heading p strong{color:var(--green-dark)}.activity-chart .pill{font-size:9px}.xp-week-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;margin-top:28px}.xp-chart-day{text-align:center;min-width:0}.xp-chart-day>span{display:block;font-size:11px;font-weight:900;margin-bottom:8px;color:var(--muted)}.xp-chart-track{height:112px;border-radius:10px;background:var(--surface-alt);overflow:hidden;display:flex;align-items:flex-end;border-bottom:2px solid var(--border)}.xp-chart-track>div{width:100%;background:var(--green);border-radius:8px 8px 0 0}.xp-chart-day b{display:block;font-size:10px;color:var(--muted);margin-top:10px}.xp-chart-day.is-today b,.xp-chart-day.is-today>span{color:var(--green-dark)}.xp-chart-day.is-today .xp-chart-track{outline:2px solid var(--blue);outline-offset:3px}.progress-page .badge-card{position:relative;border-bottom-width:4px}.badge-medallion{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:var(--surface-alt);margin-bottom:18px}.badge-medallion>.icon{margin:0}.earned .badge-medallion{background:var(--green-light)}.badge-card.earned{border-color:var(--green)}.progress-page .badge-card.locked{border-style:solid}.progress-page .badge-card h3{font-size:17px}.progress-page .badge-card .tag{font-size:9px}
@media(max-width:760px){.progress-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-page-header{flex-wrap:wrap}.progress-page-header h1{font-size:28px}.progress-overview-art{display:none}.progress-overview{padding:20px}.progress-overview h2{font-size:21px}.progress-overview .button-row .btn{width:100%}.xp-week-chart{gap:8px}.xp-chart-track{height:96px}.progress-section-heading h2{font-size:20px}}
@media(max-width:360px){.progress-stat{padding:14px}.progress-stat strong{font-size:23px}.xp-week-chart{gap:6px}.xp-chart-day b{font-size:9px}.progress-page .badge-grid{grid-template-columns:1fr}}
