/* Maths uses the existing student dashboard and topic-entry components. */
.math-preview-note{font-size:13px;color:#64748B;line-height:1.7}.math-topic-link{text-decoration:none;color:inherit}.math-topic-link .topic-name{font-family:'Fraunces',serif;font-size:21px}.math-page-head{margin-bottom:6px}.math-preview-stats .stat-card{min-height:85px}.math-preview-stats .stat-value{font-family:'Fraunces',serif}.math-continue{text-decoration:none}.math-continue .continue-topic-name{font-family:'Fraunces',serif;font-size:22px}.math-availability{color:#64748b;font-size:13px;line-height:1.6}.math-preview-banner{display:inline-block;font-size:11px;color:#514ba3;background:#eef0ff;border-radius:99px;padding:4px 10px;margin-bottom:12px}.math-dashboard .welcome-title{font-family:'Fraunces',serif;font-size:32px}.math-dashboard a:focus-visible{outline:3px solid #b7b4f8;outline-offset:4px}.math-dashboard .te-sub:target{border-color:#8b7bd8;background:#f9f8ff}.math-dashboard .te-sub-pending{opacity:.8}.math-dashboard .te-meta-txt{line-height:1.7}.math-dashboard .te-sub-n{width:46px}.math-dashboard .topbar-logo{white-space:nowrap}.math-dashboard .topbar-logo img{width:30px;height:32px}.math-dashboard .te-practice{cursor:default}.math-dashboard .continue-subtopic{color:#a0abc0}.math-dashboard .dash-container{gap:24px}.math-skill-complete{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:56px 28px;max-width:820px;margin:30px auto}.math-skill-complete[hidden]{display:none}.math-complete-check{margin:0 auto 22px;display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:#dcfce7;color:#16a34a;font-size:36px}.math-skill-complete h2{font:500 31px 'Fraunces',serif;color:#182039;margin:15px 0}.math-skill-complete>p{max-width:570px;margin:18px auto;color:#64748b}.math-skill-complete a.btn{display:inline-block;text-decoration:none;margin-top:12px}.math-skill-complete .actions{justify-content:center}.math-next-pending{background:#f8fafc;border-radius:10px;padding:15px;font-size:13px}.skill-finish{background:#16a34a!important;border-color:#16a34a!important;color:white!important}.math-dashboard .te-sub-cta{font-size:12px}@media(max-width:560px){.math-dashboard .topbar-student{gap:7px}.math-dashboard .btn-signout{font-size:11px;padding:7px 9px}.math-dashboard .topbar-logo{font-size:13px}.math-dashboard .te-sub{padding:14px 12px;gap:10px}.math-dashboard .te-sub-nm{font-size:14px}.math-dashboard .te-sub-cta{font-size:11px;max-width:75px;white-space:normal}.math-dashboard .te-name{font-size:29px}.math-skill-complete{padding:36px 20px}.math-skill-complete h2{font-size:26px}}
/* Hide completed learning surfaces even when their layout sets display:grid/flex. */
.workspace[hidden],.stages[hidden],.progress-box[hidden],.status-line[hidden],.application[hidden],.bottom-note[hidden],.skill-links[hidden],#clear-progress[hidden],#topic-resume[hidden]{display:none!important}

.math-dashboard .topic-num{width:auto;white-space:nowrap}
