/* Learner portal: shared presentation over existing, account-scoped learning records. */
.student-portal{--portal-ink:#173e36;--portal-muted:#536b63;--portal-line:#dce6de;--portal-lilac:#eeeafa;gap:24px}
.student-portal .study-workspace-main{min-width:0}
.student-portal .learning-clear-grid{display:block}
.student-portal .learning-heading{margin:26px 0 18px;align-items:center;gap:14px}
.student-portal .learning-heading h1{font-size:clamp(26px,3vw,38px);line-height:1.13;letter-spacing:-.04em;margin:8px 0}
.student-portal .learning-heading p{margin:0;color:var(--portal-muted);font-size:14px}
.student-portal .learning-heading>.button{font-size:13px;min-height:40px;padding:9px 12px}
.student-portal .learning-profiles{margin:0 0 24px;gap:8px}
.student-portal .learning-profiles button{border-radius:12px;padding:10px 14px;font-size:13px;min-height:48px}
.student-portal .learning-profiles button.selected{background:#e6eddd;border-color:#9bb48b;color:#234b35}
.student-portal .learning-profiles button small{font-size:12px}
.student-portal .compact-plan-preview{border:1px solid #dcd8ec;background:#f1eef8;border-radius:12px;padding:12px 16px;margin:0;display:flex;align-items:center;flex-wrap:wrap;gap:5px 16px}
.student-portal .compact-plan-preview>strong{font-size:13px;color:#4f4377}
.student-portal .compact-plan-preview>p{font-size:12px;margin:0;flex:1;color:#554d68}
.student-portal .compact-plan-preview>details{margin:0;font-size:12px}
.student-portal .compact-plan-preview summary{min-height:30px;padding:4px 0}
.student-portal .compact-plan-preview details[open]{flex-basis:100%}
.student-portal .study-rail{border-radius:18px!important;padding:22px 16px!important;border-color:#dce6de!important;background:#fff!important;color:#294b40!important;top:24px}
.student-portal .study-rail .study-rail-brand{color:#173e36!important;font-size:20px}
.student-portal .study-rail .study-rail-brand span,.student-portal .study-rail .rail-context,.student-portal .study-rail .rail-context small{color:#5a7067!important}
.student-portal .study-rail .learning-section-tabs{gap:6px}
.student-portal .study-rail .learning-section-tabs button{display:flex;align-items:center;gap:10px;color:#405f52!important;border-radius:9px!important;font-weight:550;min-height:44px;padding:10px 12px!important;font-size:14px}
.student-portal .study-rail .learning-section-tabs button:before{content:'';width:7px;height:7px;border:1.5px solid currentColor;border-radius:2px;flex:none}
.student-portal .study-rail .learning-section-tabs button.selected{background:#e8efdf!important;border:1px solid #d1ddc5!important;color:#244b32!important;font-weight:750}
.student-portal .study-rail .rail-support a{color:#405f52!important;font-size:13px;padding:8px 10px}
.student-portal .study-rail .eyebrow{color:#627268!important;font-size:11px}
.portal-start-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(230px,1fr);gap:18px;align-items:stretch}
.portal-focus{background:#163f36;border:1px solid #163f36;border-radius:20px;display:grid;grid-template-columns:minmax(0,1fr) 138px;gap:20px;padding:30px 26px;color:#fff;position:relative;overflow:hidden}
.portal-focus:after{content:'';position:absolute;right:-80px;top:-125px;width:320px;height:320px;border:1px solid #ffffff12;border-radius:50%;pointer-events:none}
.portal-focus .eyebrow{font-size:10px;color:#c9dbbc;letter-spacing:.13em}
.portal-focus h2{color:#fff;font-size:clamp(25px,2.4vw,34px);margin:14px 0;line-height:1.12;letter-spacing:-.035em}
.portal-focus p{color:#d8e4df;font-size:14px;line-height:1.65;margin:0 0 22px;max-width:44ch}
.portal-subject-tag{font-size:12px;color:#e1eada;margin-top:18px;display:flex;gap:8px;align-items:center}
.portal-subject-tag:before{content:'∑';font-size:17px;background:#ffffff14;border-radius:7px;padding:2px 9px}
.portal-subject-tag span{color:#c4d7cb}
.portal-focus-copy>small{color:#c4d7cb;font-size:11px;display:block;margin-top:18px;line-height:1.6}
.portal-focus-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px}
.portal-focus .portal-focus-actions>a:first-child{background:#dfedc3!important;color:#193d30!important;text-decoration:none;border:1px solid #dfedc3;border-radius:9px;font-size:13px;font-weight:750;padding:12px 15px;min-height:44px;display:inline-flex;align-items:center}
.portal-focus .portal-focus-actions>a:first-child:hover{background:#f1f7e4!important}
.portal-focus .portal-focus-actions>a+a{color:#e1ecdf!important;font-size:12px;text-decoration:underline;text-underline-offset:4px}
.portal-focus-visual{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;z-index:1}
.portal-orbit{background:conic-gradient(#dbebae var(--portal-progress),#ffffff24 0);width:128px;height:128px;border-radius:50%;padding:8px;display:grid;place-items:center}
.portal-orbit>div{background:#163f36;width:100%;height:100%;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}
.portal-orbit strong{font-size:34px;color:#fff;line-height:1.15;font-weight:650}
.portal-orbit strong small{font-size:15px;font-weight:450;color:#bcd1c5}
.portal-orbit span,.portal-orbit-caption{font-size:10px;color:#d6e4d8}
.portal-today .weekly-learning{height:100%;margin:0!important;padding:22px!important;background:#fff;border:1px solid var(--portal-line);border-radius:20px}
.portal-today .weekly-learning h2{font-size:21px;margin:8px 0 10px;letter-spacing:-.03em}
.portal-today .weekly-learning>.eyebrow{font-size:10px}
.portal-today .weekly-learning p{font-size:12px;line-height:1.55;margin:8px 0;color:#60746b}
.portal-today .weekly-learning li{padding:12px 0;border-bottom:1px solid #edf0e9;gap:10px}
.portal-today .weekly-learning li strong{font-size:13px}
.portal-today .weekly-learning li p{margin:3px 0;font-size:11px}
.portal-today .weekly-learning li a{font-size:12px}
.portal-today .weekly-learning input{width:17px;height:17px;min-height:17px;accent-color:#17664f}
.student-portal .workspace-overview{margin:20px 0 0;gap:12px}
.student-portal .workspace-overview article{border:1px solid var(--portal-line);border-radius:13px;background:#fff;padding:16px 18px}
.student-portal .workspace-overview article>span{font-size:10px;letter-spacing:.08em;color:#5c7065}
.student-portal .workspace-overview article>strong{font-size:28px;line-height:1.4;color:#1c4637;font-weight:650}
.student-portal .workspace-overview article small{font-size:11px;color:#5c7065}
.student-portal .workspace-data-note{font-size:11px;margin:10px 0 26px;color:#5c7065}
.student-portal .course-command-centre{margin:30px 0}
.student-portal .section-head h2{font-size:25px;letter-spacing:-.035em;margin:8px 0}
.student-portal .section-head p{font-size:13px;color:#60746b;margin:8px 0}
.student-portal .section-head .eyebrow{font-size:10px}
.student-portal .course-card-grid{gap:16px}
.student-portal .subject-command-card{padding:23px;border-radius:16px;border:1px solid var(--portal-line);background:#fff;box-shadow:0 3px 10px #173e3603}
.student-portal .subject-command-card.selected{border-color:#b6cba8}
.student-portal .course-card-heading h3{font-size:23px;letter-spacing:-.025em}
.student-portal .course-card-heading .eyebrow{font-size:10px}
.student-portal .course-monogram{background:#e9efdf;color:#345838;border-radius:12px;width:44px;height:44px;font-size:14px}
.student-portal .subject-command-card:nth-child(even) .course-monogram{background:#eeeafa;color:#635085}
.student-portal .course-card-unit{border-top:1px solid #e8ede5;margin-top:18px;padding-top:16px}
.student-portal .course-card-unit>span{font-size:10px;color:#65786b}
.student-portal .course-card-unit>strong{font-size:15px;color:#244b3c;margin:7px 0;display:block}
.student-portal .course-card-unit p,.student-portal .course-progress-label{font-size:12px}
.student-portal progress{accent-color:#638a4d;height:7px;border:none;border-radius:8px;overflow:hidden;width:100%}
.student-portal progress::-webkit-progress-bar,.portal-skill-grid progress::-webkit-progress-bar{background:#e9eee5;border-radius:8px}
.student-portal progress::-webkit-progress-value,.portal-skill-grid progress::-webkit-progress-value{background:#638a4d;border-radius:8px}
.student-portal .course-card-actions{margin-top:18px;justify-content:space-between;gap:12px;flex-wrap:wrap}
.student-portal .course-card-actions .text-link{font-size:13px;font-weight:700}
.portal-topic-path{border:1px solid #dcd6ec;border-radius:18px;padding:25px;background:#f5f2fa;margin:28px 0}
.portal-topic-path .section-head{align-items:center;gap:14px}
.portal-status{background:#e7eddf;color:#345334;border:1px solid #d0ddc3;display:inline-flex;border-radius:20px;padding:5px 11px;font-size:11px;font-weight:650;text-transform:capitalize}
.portal-stage-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 16px}
.portal-stage-grid>a{border:1px solid #dfd8ed;border-radius:12px;background:#fff;padding:17px;text-decoration:none;transition:transform .15s,border-color .15s}
.portal-stage-grid>a:hover{transform:translateY(-3px);border-color:#8c79aa}
.portal-stage-number{display:grid;place-items:center;width:30px;height:30px;background:#f0eafa;color:#635082;border-radius:9px;font-size:12px;margin-bottom:18px}
.portal-stage-grid strong{display:flex;justify-content:space-between;font-size:17px;color:#293f36;gap:6px}
.portal-stage-grid strong span{font-weight:400;color:#79668e}
.portal-stage-grid p{font-size:12px;line-height:1.6;color:#667269;margin:7px 0 12px}
.portal-stage-grid small{font-size:10px;color:#635082;display:block}
.portal-evidence-note{font-size:11px;color:#675d75!important;margin:0;line-height:1.65}
.student-portal .learning-support{display:grid;grid-template-columns:1fr 2fr;gap:18px;margin-top:24px}
.student-portal .learning-support>.panel{margin:0;padding:22px}
.student-portal .learning-support h2{font-size:20px}
.student-portal .learning-support .learning-support-link{padding:12px 0}
.student-portal .learning-support .learning-support-link strong{font-size:14px}
.student-portal .learning-support .learning-support-link span,.student-portal .learning-support .muted{font-size:12px}
.student-portal .learning-support .learning-plan{display:block}
.student-portal .progress-hero{background:#163f36!important;color:#fff;border-radius:20px;padding:30px;gap:24px}
.student-portal .progress-hero h2{font-size:32px;color:#fff;max-width:17ch;letter-spacing:-.04em}
.student-portal .progress-hero p{color:#d4e4d8;font-size:14px}
.student-portal .progress-hero .eyebrow{color:#d3dfbe;font-size:11px}
.student-portal .progress-hero .text-link{color:#ecf4e1!important;text-decoration:underline}
.student-portal .progress-orbit{background:conic-gradient(#d7e8ae var(--progress),#ffffff24 0);width:150px;height:150px}
.student-portal .progress-orbit>div{background:#163f36;color:#fff}
.student-portal .progress-orbit strong,.student-portal .progress-orbit span{color:#fff}
.student-portal .progress-metrics article{border-radius:14px}
.student-portal .progress-metrics article>span{font-size:11px}
.student-portal .progress-detail-grid{gap:16px}
.student-portal .topic-evidence{margin-top:24px}
.portal-empty-result{padding:25px 0 12px;max-width:650px}
.portal-empty-icon{display:grid;place-items:center;background:#eae5f6;color:#635081;width:54px;height:54px;border-radius:16px;font-size:28px;margin-bottom:20px}
.portal-empty-result h3{font-size:29px;max-width:22ch;margin:10px 0}
.portal-empty-result p{max-width:62ch;margin-bottom:22px}
.portal-result-hero{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:30px;align-items:center;background:#edf3e6;border:1px solid #d9e3cc;border-radius:18px;padding:28px;margin:20px 0 32px}
.portal-result-hero h3{font-size:30px;letter-spacing:-.035em;max-width:24ch;margin:12px 0;color:#244a35}
.portal-result-hero p{font-size:14px}
.portal-result-hero>div>small{display:block;font-size:11px;margin-top:14px;color:#60725e}
.portal-result-hero .eyebrow{font-size:11px}
.portal-result-score{border:7px solid #c6d8ac;border-radius:50%;width:160px;height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f8fbf4}
.portal-result-score>strong{font-size:42px;color:#254d35;font-weight:650}
.portal-result-score strong small{font-size:18px;font-weight:450}
.portal-result-score>span{font-size:11px;color:#5b735a}
.portal-skill-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0 28px}
.portal-skill-grid article{padding:20px;border:1px solid #d9e4d1;border-radius:13px;background:#f8faf5}
.portal-skill-grid article.needs-review{background:#fff8ed;border-color:#ead7b5}
.portal-skill-grid article>div{display:flex;justify-content:space-between;gap:15px;align-items:start;font-size:14px;margin-bottom:16px}
.portal-skill-grid article>div>span{white-space:nowrap;font-weight:650}
.portal-skill-grid progress{display:block;width:100%;height:7px;accent-color:#638a4d;border-radius:8px;border:0}
.portal-skill-grid .needs-review progress{accent-color:#a66b23}
.portal-skill-grid .needs-review progress::-webkit-progress-value{background:#a66b23}
.portal-skill-grid article>small{display:block;font-size:12px;margin-top:12px;color:#5f735b}
.portal-skill-grid .needs-review>small{color:#875719}
@media(min-width:851px){.student-portal .learning-heading .certificate-shortcut{display:none}.student-portal .learning-heading>div{flex:1}.student-portal .portal-tools-grid{grid-template-columns:1.2fr 1fr}}
@media(max-width:1100px){.portal-start-grid{grid-template-columns:1fr}.portal-focus{grid-template-columns:minmax(0,1fr) 160px}.portal-today .weekly-learning>ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.portal-today .weekly-learning li{align-items:start;flex-wrap:wrap}.portal-today .weekly-learning li a{display:block}.portal-today .weekly-learning{height:auto}.portal-stage-grid{grid-template-columns:1fr 1fr}}
@media(max-width:850px){.student-portal{gap:16px}.student-portal .study-rail{padding:10px!important;position:static}.student-portal .study-rail .learning-section-tabs{display:flex;flex-wrap:nowrap;overflow:auto;gap:5px}.student-portal .study-rail .learning-section-tabs button{flex:0 0 auto;white-space:nowrap;min-height:40px;padding:9px 12px!important;font-size:12px}.student-portal .study-rail .learning-section-tabs button:before{display:none}.student-portal .learning-heading{margin-top:22px}.student-portal .learning-support{grid-template-columns:1fr}.portal-focus{grid-template-columns:minmax(0,1fr) 150px}}
@media(max-width:600px){.student-portal .compact-plan-preview{display:block;padding:11px 14px}.student-portal .compact-plan-preview>p{margin:5px 0}.student-portal .learning-heading{flex-wrap:wrap}.student-portal .learning-heading h1{font-size:29px}.student-portal .learning-heading>div{flex-basis:100%}.student-portal .learning-heading .certificate-shortcut{display:none}.portal-focus{padding:24px 20px;grid-template-columns:1fr;gap:24px;border-radius:16px}.portal-focus h2{font-size:30px;max-width:17ch}.portal-focus-visual{flex-direction:row;justify-content:start;gap:20px;padding-top:16px;border-top:1px solid #ffffff24}.portal-orbit{width:80px;height:80px;padding:5px}.portal-orbit strong{font-size:24px}.portal-orbit strong small{font-size:12px}.portal-orbit span{font-size:8px}.portal-orbit-caption{font-size:12px}.portal-today .weekly-learning>ol{display:block}.student-portal .workspace-overview{grid-template-columns:1fr 1fr;gap:10px}.student-portal .workspace-overview article{padding:14px}.student-portal .course-card-grid{grid-template-columns:1fr}.portal-topic-path{padding:20px 16px}.portal-topic-path .section-head{display:block}.portal-status{margin-top:8px}.portal-stage-grid{gap:8px}.portal-stage-grid>a{padding:14px 12px}.portal-stage-grid strong{font-size:16px}.portal-stage-grid p{font-size:11px}.portal-stage-grid small{font-size:10px}.portal-stage-number{margin-bottom:14px}.student-portal .progress-hero{padding:24px;display:flex;flex-wrap:wrap;justify-content:start}.student-portal .progress-hero h2{font-size:29px}.student-portal .progress-orbit{width:120px;height:120px}.portal-result-hero{grid-template-columns:1fr;padding:22px}.portal-result-score{width:130px;height:130px}.portal-result-hero h3{font-size:27px}.portal-skill-grid{grid-template-columns:1fr}.portal-empty-result .actions>a{width:100%}.student-portal .portal-tools-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.portal-stage-grid>a{transition:none}.portal-stage-grid>a:hover{transform:none}}
/* Explicit contrast for dark surfaces, above the site's global reading palette. */
#screen .portal-focus :is(h2,strong){color:#fff!important}
#screen .portal-focus :is(p,small,.eyebrow,.portal-subject-tag,.portal-subject-tag span,.portal-orbit span,.portal-orbit-caption){color:#d9e8d6!important}
#screen .portal-focus .portal-focus-actions>a:first-child{color:#193d30!important;background:#dfedc3!important}
#screen .portal-focus .portal-focus-actions>a+a{color:#ecf4e5!important}
#screen .student-portal .progress-hero :is(h2,p,.eyebrow){color:#eef5e8!important}
#screen .student-portal .progress-hero .text-link{color:#eef5e8!important}
#screen .student-portal .progress-orbit{background:conic-gradient(#d7e8ae var(--progress),#ffffff24 0)!important}
#screen .student-portal .progress-orbit>div{background:#163f36!important}
#screen .student-portal .progress-orbit :is(strong,span){color:#fff!important}
#screen .student-portal .portal-focus .eyebrow{font-size:11px!important}
#screen .student-portal .portal-focus-actions>a:first-child:focus-visible{outline-color:#f4bc6c!important}
#screen .portal-today .weekly-learning li{background:transparent;border:0;border-bottom:1px solid #e9eee5;border-radius:0;padding:12px 0;grid-template-columns:18px 1fr}
#screen .portal-today .weekly-learning .section-head{display:block}
#screen .portal-today .weekly-learning .section-head .chip{display:inline-flex;margin:8px 0 0;font-size:11px}
#screen .portal-today .weekly-learning ol{padding:0;margin:10px 0;list-style:none}
#screen .portal-today .weekly-learning li :is(p,small){font-size:12px!important}
#screen .portal-today .weekly-learning li strong{font-size:13px!important}
#screen .portal-today .weekly-learning .eyebrow{font-size:10px!important}
#screen .portal-today .weekly-learning>p{font-size:12px!important}
#screen .student-portal .progress-hero{background:#163f36!important;color:#fff!important}
#screen .student-portal .progress-hero .text-link{background:#dfedc3!important;color:#193d30!important;border:1px solid #dfedc3!important;border-radius:9px;padding:12px 16px;display:inline-flex;text-decoration:none}
@media(max-width:850px){#screen .student-portal .study-rail .learning-section-tabs{flex-direction:row}#screen .student-portal .study-rail .learning-section-tabs button{width:auto}}
/* Family overview, learner identity and programme recognition. */
.parent-workspace .learning-clear-grid{display:block}
.parent-workspace .learning-heading{margin:24px 0 18px;align-items:center;gap:14px}
.parent-workspace .learning-heading h1{font-size:36px;letter-spacing:-.04em;line-height:1.12;margin:8px 0}
.parent-workspace .learning-heading p{font-size:14px;margin:0;color:#5b7065}
.parent-workspace .learning-profiles{margin:0 0 24px}
.parent-workspace .learning-profiles button{border-radius:12px;padding:10px 14px;min-height:48px;font-size:13px}
.parent-portal-welcome{background:#e8eddf;border:1px solid #d7e1c9;border-radius:20px;display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:center;gap:30px;padding:30px}
.parent-portal-welcome h2{font-size:clamp(28px,3vw,39px);line-height:1.12;letter-spacing:-.04em;margin:14px 0;color:#234a37}
.parent-portal-welcome p{font-size:15px;line-height:1.7;max-width:52ch;margin-bottom:23px;color:#4f6856}
.parent-portal-welcome .eyebrow{font-size:11px;letter-spacing:.12em}
.parent-portal-welcome .actions{gap:16px;align-items:center}
.parent-hero-link{font-size:12px;font-weight:650;text-underline-offset:4px}
.parent-learner-card{background:#f9fbf4;border:1px solid #d7e1c9;border-radius:15px;padding:22px 18px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:8px;min-width:0}
.profile-avatar{display:grid;place-items:center;background:#e5ddf5;color:#60467d!important;font-size:30px;font-weight:650;width:64px;height:64px;border-radius:20px;flex:none}
.parent-learner-card .profile-avatar{margin:0 0 6px}
.parent-learner-card>strong{font-size:18px;overflow-wrap:anywhere}
.parent-learner-card>span:not(.profile-avatar){font-size:12px}
.parent-learner-card>small{font-size:11px;color:#65735e;line-height:1.65;margin-top:8px}
.parent-workspace .workspace-overview{margin-top:20px;gap:12px}
.parent-workspace .workspace-overview article{border-radius:13px;border:1px solid #dce6de;padding:18px;background:#fff}
.parent-workspace .workspace-overview article>span{font-size:10px;letter-spacing:.08em}
.parent-workspace .workspace-overview article>strong{font-size:29px;color:#234c36}
.parent-workspace .workspace-overview article small{font-size:11px}
.parent-workspace .workspace-data-note{font-size:11px;margin:10px 0 24px}
.parent-action-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:18px;margin:24px 0}
.parent-action-grid>.panel{padding:24px;margin:0;border-radius:16px}
.parent-action-grid .eyebrow{font-size:10px}
.parent-action-grid h2{font-size:25px;letter-spacing:-.035em;margin:12px 0 18px}
.parent-next-conversation h3{font-size:17px;margin:14px 0 10px}
.parent-next-conversation p{font-size:13px;line-height:1.7}
.parent-next-conversation blockquote{margin:18px 0;padding:14px 16px;background:#f0f4e9;border-left:3px solid #9bb184;font-size:14px;color:#415d41;border-radius:0 9px 9px 0;line-height:1.7}
.parent-next-conversation .text-link{font-size:13px;font-weight:650}
.parent-quick-actions>a{display:block;text-decoration:none;border-bottom:1px solid #e5ebe2;padding:13px 0}
.parent-quick-actions>a:last-child{border-bottom:0}
.parent-quick-actions>a>strong{display:flex;justify-content:space-between;gap:15px;font-size:14px}
.parent-quick-actions>a>span{display:block;font-size:12px;color:#627466;margin-top:4px}
.parent-workspace .parent-outcomes-strip{border:1px solid #dfd7ed;background:#f3eff9;border-radius:12px;padding:17px 20px}
.parent-workspace .parent-outcomes-strip span{font-size:12px}
.parent-workspace .topic-evidence{margin-top:24px}
.profile-overview-head{display:flex;align-items:center;gap:20px;padding-bottom:25px;margin-bottom:26px;border-bottom:1px solid #e5ebe1}
.profile-overview-head>div{flex:1;min-width:0}
.profile-overview-head h2{font-size:30px!important;letter-spacing:-.035em;margin:6px 0!important;overflow-wrap:anywhere}
.profile-overview-head p{font-size:14px;margin:4px 0}
.profile-overview-head .eyebrow{font-size:11px}
.profile-overview-head .portal-status{font-size:11px}
.profile-overview>h3{font-size:21px;margin:0 0 18px}
.profile-overview .parent-settings-list{gap:14px;margin:20px 0 26px}
.profile-overview .parent-settings-list>div{background:#f7f9f3;border-radius:13px;padding:20px}
.profile-overview .parent-settings-list dt{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#657765}
.profile-overview .parent-settings-list dd{font-size:16px;margin-top:10px}
.profile-subject-chips{display:flex;flex-wrap:wrap;gap:7px}
.profile-subject-chips>span{background:#e7eddd;border-radius:6px;padding:4px 9px;font-size:12px}
.profile-saved-note{background:#f1eef8;border:1px solid #e2daee;border-radius:12px;padding:18px 20px;margin-top:26px}
.profile-saved-note>strong{font-size:14px}
.profile-saved-note>p{font-size:13px;line-height:1.7;margin:7px 0 0}
.profile-overview .parent-account-explanation{border-top:0;padding-top:0;font-size:13px}
.profile-overview .parent-account-explanation summary{font-size:14px;font-weight:650;cursor:pointer;padding:8px 0}
.profile-studio{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,1.7fr);border:1px solid #dce6de;border-radius:20px;overflow:hidden;background:#fff;margin:24px 0}
.profile-studio-intro{background:#183f36;color:#fff;padding:32px;display:flex;flex-direction:column;align-items:start}
.profile-studio-symbol{display:grid;place-items:center;width:64px;height:64px;border:1px solid #ffffff30;border-radius:18px;font-size:36px;margin:30px 0 24px}
.profile-studio-intro h2{color:#fff;font-size:33px;letter-spacing:-.04em;line-height:1.13;margin:0 0 20px}
.profile-studio-intro p{font-size:14px;line-height:1.8;color:#d7e3d6}
.profile-studio-intro ul{padding:0;list-style:none;font-size:13px;line-height:1.7;margin:20px 0}
.profile-studio-intro li{padding:10px 0;border-bottom:1px solid #ffffff20}
.profile-studio-intro li:before{content:'✓';color:#dfecc5;margin-right:10px}
.profile-studio-intro .eyebrow{font-size:10px;color:#d5e0c3}
.profile-studio-intro .profile-studio-note{font-size:11px;margin-top:auto;padding-top:24px;color:#bbd1bf}
.profile-studio .learning-setup{border:0;border-radius:0;margin:0;padding:32px}
.profile-studio .learning-setup h2{font-size:30px;letter-spacing:-.035em;line-height:1.17}
.profile-studio .learning-setup>p{font-size:14px;color:#607365;line-height:1.7}
.profile-studio .onboarding-steps{display:flex;gap:14px;padding:0;margin:28px 0;list-style:none;border-bottom:1px solid #e4eadf;padding-bottom:24px}
.profile-studio .onboarding-steps li{flex:1;display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.5;color:#5c705f}
.profile-studio .onboarding-steps li>span{width:28px;height:28px;display:grid;place-items:center;border:1px solid #c9d7bf;border-radius:50%;flex:none;font-size:12px}
.profile-studio .onboarding-steps li.current>span{background:#1b634c;color:#fff!important;border-color:#1b634c}
.profile-studio .learning-form-grid{grid-template-columns:1fr;gap:20px;margin:28px 0}
.profile-studio .learning-form-grid label{font-size:13px;font-weight:650;display:grid;gap:8px}
.profile-studio :is(input:not([type=checkbox]),select){padding:12px 14px;border-radius:10px;width:100%;min-height:48px}
.profile-studio .onboarding-subjects{padding:0;border:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:24px 0}
.profile-studio .onboarding-subjects legend{font-size:13px;font-weight:650;margin-bottom:14px}
.profile-studio .onboarding-subjects label{display:flex;align-items:center;gap:10px;border:1px solid #dbe4d4;border-radius:10px;padding:13px;background:#fafbf7;font-size:13px}
.profile-studio .onboarding-subjects label:has(input:checked){background:#eaf0e0;border-color:#9eb48c}
.profile-studio .onboarding-subjects input{width:18px;height:18px;min-height:18px;accent-color:#17664f}
.profile-studio .learning-setup [hidden]{display:none!important}
.profile-studio .onboarding-review{display:grid;gap:12px;margin:24px 0}
.profile-studio .onboarding-review>div{padding:16px;border:1px solid #dce6d6;border-radius:10px;background:#f7f9f2}
.profile-studio .onboarding-review span{font-size:10px;display:block;letter-spacing:.09em;color:#63755e;margin-bottom:7px}
.profile-studio .onboarding-review strong{font-size:15px}
#screen .profile-studio-intro :is(h2,span,li){color:#f2f6e9!important}
#screen .profile-studio-intro p{color:#d7e3d6!important}
#screen .profile-studio-intro .eyebrow{font-size:11px!important}
#screen .profile-studio .onboarding-steps li.current>span{color:#fff!important;background:#1b634c!important}
.certificate-hub-heading{display:flex;align-items:center;gap:20px;padding-bottom:25px;border-bottom:1px solid #e4e8db;margin-bottom:24px}
.certificate-hub-heading>div{flex:1}
.certificate-hub-heading h2{font-size:32px!important;letter-spacing:-.04em;line-height:1.13;max-width:24ch;margin:10px 0 15px!important}
.certificate-hub-heading p{font-size:14px;max-width:60ch;line-height:1.7}
.certificate-heading-symbol{font-size:48px;display:grid;place-items:center;width:86px;height:86px;border-radius:26px;background:#f5edcf;color:#8c682d!important;flex:none}
.certificate-meaning{font-size:13px;line-height:1.8;background:#f7f9f3;border:1px solid #e1e8d9;border-radius:11px;padding:13px 17px;margin:0 0 24px}
.certificate-meaning summary{font-weight:650;cursor:pointer}
.certificate-meaning p{font-size:13px}
.certificate-award-types{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0 28px}
.certificate-award-types>article{padding:20px;border:1px solid #dce4d3;border-radius:14px;display:flex;gap:14px;background:#fbfcf8}
.certificate-award-types>article:nth-child(2){background:#f6f2fa;border-color:#e0d8ec}
.certificate-type-icon{width:36px;height:36px;display:grid;place-items:center;flex:none;border-radius:10px;background:#e9efdc;font-size:20px;color:#45613a}
.certificate-award-types h3{font-size:18px;margin:0 0 9px!important}
.certificate-award-types p{font-size:12px;line-height:1.7;margin:0 0 12px}
.certificate-award-types a{display:block;font-size:12px;margin-top:14px;font-weight:650}
.certificate-next-steps{border:1px solid #e1e5da;border-radius:15px;padding:24px;margin:24px 0 28px;background:#fff}
.certificate-next-steps h3{font-size:22px;letter-spacing:-.025em;margin:8px 0}
.certificate-next-steps .eyebrow{font-size:10px}
.certificate-next-steps ol{padding:0;margin:16px 0 0;list-style:none}
.certificate-next-steps li{display:flex;align-items:center;gap:15px;padding:17px 0;border-bottom:1px solid #e8ecdf}
.certificate-next-steps li:last-child{border-bottom:0}
.certificate-next-steps li>span{width:34px;height:34px;border:1px solid #ced9bf;display:grid;place-items:center;border-radius:50%;font-size:13px;flex:none;background:#f8faf3}
.certificate-next-steps li.is-complete>span{background:#e4edcf;color:#42632e}
.certificate-next-steps li>div{flex:1;min-width:0}
.certificate-next-steps strong{font-size:14px}
.certificate-next-steps li p{font-size:12px;margin:4px 0 0;line-height:1.6}
.certificate-next-steps li>small{font-size:11px;color:#607456}
.certificate-hub .certificate-preview{position:relative;background:linear-gradient(135deg,#fffdf6,#faf7ea);border:1px solid #d7caa1;border-radius:8px;padding:38px 32px;box-shadow:inset 0 0 0 8px #fffdf7,inset 0 0 0 9px #e4dac0;margin:30px 0 20px;overflow:hidden}
.certificate-hub .certificate-preview h2{font-family:Georgia,serif;font-size:clamp(27px,3.1vw,38px);font-weight:450;letter-spacing:-.035em;margin:12px 0 18px}
.certificate-hub .certificate-preview .certificate-learner{font-family:Georgia,serif;font-size:32px;font-weight:450;letter-spacing:-.025em}
.certificate-hub .certificate-preview h3{font-size:17px;font-weight:550;max-width:40ch;margin:20px auto}
.certificate-hub .certificate-preview>p{font-size:13px;line-height:1.7}
.certificate-hub .certificate-seal{width:58px;height:58px;font-size:30px;border:1px solid #d6c18b;border-radius:50%;display:grid;place-items:center;margin:18px auto;background:#f8edcb;color:#84632b}
.certificate-hub .certificate-preview .eyebrow{font-size:10px;letter-spacing:.15em}
.certificate-hub .certificate-preview .chip{font-size:11px;white-space:normal}
.certificate-hub .learning-subject-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}
.certificate-hub .learning-subject-tabs button{border-radius:20px;padding:8px 15px;min-height:40px;font-size:13px}
@media(max-width:1000px){.parent-portal-welcome{grid-template-columns:1fr 165px;padding:24px;gap:20px}.parent-action-grid{grid-template-columns:1fr}.certificate-award-types{grid-template-columns:1fr}.profile-studio{grid-template-columns:minmax(200px,.7fr) minmax(0,1.3fr)}.profile-studio-intro{padding:24px}.profile-studio .learning-setup{padding:26px}.profile-studio .onboarding-steps li{flex-direction:column;align-items:start}}
@media(max-width:720px){.parent-portal-welcome{grid-template-columns:1fr;padding:24px}.parent-portal-welcome h2{font-size:32px}.parent-learner-card{flex-direction:row;text-align:left;flex-wrap:wrap;gap:10px;padding:16px}.parent-learner-card .profile-avatar{margin:0;width:42px;height:42px;font-size:22px;border-radius:13px}.parent-learner-card>small{flex-basis:100%;margin:0}.parent-workspace .learning-heading h1{font-size:29px}.parent-workspace .workspace-overview{grid-template-columns:1fr 1fr;gap:10px}.parent-workspace .learning-profiles{margin-bottom:18px}.profile-overview-head{gap:14px;flex-wrap:wrap}.profile-overview-head h2{font-size:25px!important}.profile-overview-head .portal-status{margin-left:78px}.profile-overview .parent-settings-list{grid-template-columns:1fr}.profile-studio{grid-template-columns:1fr}.profile-studio-intro{padding:24px}.profile-studio-intro .profile-studio-symbol,.profile-studio-intro ul,.profile-studio-intro .profile-studio-note{display:none}.profile-studio-intro h2{font-size:28px;margin:14px 0 8px}.profile-studio-intro p{margin:0;font-size:13px}.profile-studio .learning-setup{padding:22px}.profile-studio .learning-setup h2{font-size:26px}.profile-studio .onboarding-subjects{grid-template-columns:1fr 1fr}.profile-studio .onboarding-steps{gap:8px}.profile-studio .onboarding-steps li{font-size:11px}.certificate-hub-heading{align-items:start;gap:12px}.certificate-hub-heading h2{font-size:27px!important}.certificate-heading-symbol{width:48px;height:48px;font-size:29px;border-radius:15px}.certificate-next-steps{padding:19px}.certificate-hub .certificate-preview{padding:28px 20px}.certificate-hub .certificate-preview .certificate-learner{font-size:27px}.certificate-next-steps li{gap:10px}.certificate-next-steps li>small{font-size:10px}}
@media(max-width:720px){.profile-overview-head>div{flex:1 1 calc(100% - 80px)}.profile-overview-head>.portal-status{flex:0 1 auto;max-width:calc(100% - 78px)}}
/* November learning refresh: presentation over the existing learner account. */
body.learning-view:has(.student-portal){--ink:#2b2b3e;--muted:#777488;--line:#e7e5ef;--purple:#6b55cc;--bg:#f7f8fb;background:var(--bg)}
body.learning-view:has(.student-portal) .pathbar{background:#fff;border-color:#e7e5ef}
.student-portal{--portal-ink:#2b2b3e;--portal-muted:#787489;--portal-line:#e7e5ef;--portal-lilac:#f0ecfb}
#screen .student-portal :is(h1,h2,h3){font-family:ui-sans-serif,system-ui,-apple-system,sans-serif;letter-spacing:-.035em;color:#2b2b3e}
#screen .student-portal .learning-heading h1{font-size:clamp(28px,2.7vw,38px);line-height:1.2;max-width:30ch}
#screen .student-portal .learning-heading>.button{border-radius:9px;background:#fff;color:#6b55cc;border-color:#e7e5ef}
.student-portal .study-rail{border-color:#e7e5ef!important;border-radius:16px!important;padding:23px 14px!important}
.student-portal .study-rail .study-rail-brand{color:#2b2b3e!important;font-size:20px;font-weight:700;letter-spacing:-.7px}
.student-portal .study-rail .study-rail-brand span{color:#8b859a!important;font-size:11px;font-weight:400;letter-spacing:0}
.student-portal .study-rail .learning-section-tabs button{color:#777185!important;gap:11px;border:1px solid transparent!important;font-size:13px;font-weight:500;min-height:46px;border-radius:8px!important}
.student-portal .study-rail .learning-section-tabs button:before{display:none}
.student-portal .study-rail .learning-section-tabs button.selected{background:#efebfa!important;color:#6b55cc!important;border-color:#efebfa!important;font-weight:650}
.portal-nav-icon{flex-shrink:0}
.student-portal .study-rail .rail-support a{color:#777185!important;font-size:12px}
.student-portal .study-rail .rail-context{background:#f7f5fc;border-color:#eee9f7;color:#6d6084!important;border-radius:9px}
.student-portal .study-rail .rail-context :is(span,small){color:#8d7e9e!important}
.student-nav-toggle{display:none}
.student-portal .learning-profiles button{background:#fff;border-color:#e2ddeb;border-radius:8px;color:#7c708b}
.student-portal .learning-profiles button.selected{background:#f0ebfa;color:#6b55cc;border-color:#d0c3eb}
.student-portal .learning-profiles button small{color:#8b7e9f}
#screen .student-portal .portal-focus{background:#7961d1!important;border-color:#7961d1;border-radius:18px;padding:30px;grid-template-columns:minmax(0,1fr) 152px;gap:22px;box-shadow:0 6px 18px #5944b409}
#screen .student-portal .portal-focus h2{font-size:clamp(27px,2.55vw,36px);line-height:1.18;color:#fff!important;margin:14px 0;max-width:23ch}
#screen .student-portal .portal-focus :is(p,small,.eyebrow,.portal-subject-tag,.portal-subject-tag span,.portal-orbit span,.portal-orbit-caption){color:#eee7ff!important}
#screen .student-portal .portal-focus p{font-size:14px;line-height:1.75}
#screen .student-portal .portal-focus .eyebrow{font-size:10px!important;letter-spacing:.1em;line-height:1.8}
#screen .student-portal .portal-subject-tag{font-size:11px}
#screen .student-portal .portal-subject-tag:before{background:#ffffff18;border-radius:6px}
#screen .student-portal .portal-focus-copy>small{font-size:11px;max-width:42ch;line-height:1.7}
#screen .student-portal .portal-focus .portal-focus-actions>a:first-child{background:#fff!important;border-color:#fff!important;color:#6950bb!important;border-radius:8px;padding:12px 16px;font-size:13px}
#screen .student-portal .portal-focus .portal-focus-actions>a+a{color:#eee7ff!important;font-size:11px}
.portal-focus-visual{position:relative;justify-content:flex-end;padding-top:98px;min-height:225px;gap:11px}
.portal-orbit{width:100px;height:100px;padding:6px;background:conic-gradient(#d5e9a9 var(--portal-progress),#ffffff26 0);z-index:1}
.portal-orbit>div{background:#7961d1}
.portal-orbit strong{font-size:28px}.portal-orbit strong small{font-size:12px}
.portal-orbit span,.portal-orbit-caption{font-size:9px}
.portal-maths-art{position:absolute;inset:0 0 auto 0;height:95px;pointer-events:none}
.portal-maths-art>span{display:grid;place-items:center;position:absolute;box-shadow:4px 5px 0 #5140943d}
.portal-maths-art>span:first-child{width:68px;height:69px;border:3px solid #fff5df;background:#f2ecd8;color:#7054ac;border-radius:13px;transform:rotate(-12deg);font:39px Georgia,serif;left:8px;top:5px}
.portal-maths-art>span:nth-child(2){width:46px;height:47px;border:3px solid #d8e9be;background:#c7dfa7;color:#607a4b;border-radius:11px;transform:rotate(14deg);font:35px Georgia,serif;right:1px;top:42px}
.portal-maths-art>i{position:absolute;right:5px;top:1px;font-size:19px;color:#d7edb1;font-style:normal}
.portal-focus-help{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;border-top:1px solid #ffffff26;padding-top:17px;position:relative;z-index:1}
#screen .portal-focus-help>span{font-size:10px;color:#dfd5fa}
#screen .portal-focus-help>a{color:#fff;font-size:11px;text-decoration:none;padding:5px 0;min-height:30px}
#screen .portal-focus-help>a:hover{text-decoration:underline;text-underline-offset:4px}
.portal-today .weekly-learning{border-radius:18px!important;border-color:#e7e5ef!important}
#screen .portal-today .weekly-learning h2{font-size:22px;color:#323044}
#screen .portal-today .weekly-learning li{border-color:#f0edf6}
.student-portal .workspace-overview article{border-color:#e7e5ef;border-radius:12px;box-shadow:0 2px 8px #32244002}
.student-portal .workspace-overview article:nth-child(2){border-top:3px solid #c4b5e5}
.student-portal .workspace-overview article:nth-child(3){border-top:3px solid #bcd7a3}
.student-portal .workspace-overview article:nth-child(4){border-top:3px solid #e2c4a0}
.student-portal .workspace-overview article>strong{color:#3b344b;font-size:28px}
.student-portal .workspace-overview article>span{font-size:10px;color:#877e95}
.student-portal .workspace-overview article small,.student-portal .workspace-data-note{color:#8b8298}
.portal-small-wins{border:1px solid #e8e2ef;background:#fff;border-radius:13px;padding:20px;display:flex;align-items:center;gap:20px;margin:20px 0 30px}
#screen .portal-small-wins h3{font-size:17px;letter-spacing:-.5px;margin:6px 0}
#screen .portal-small-wins .eyebrow{font-size:9px;color:#9b8cab}
#screen .portal-small-wins p{font-size:11px;margin:0;color:#8d7d9b;line-height:1.7;max-width:35ch}
.portal-win-list{display:flex;gap:15px;margin-left:auto}
.portal-win-list>span{display:flex;flex-direction:column;gap:7px;font-size:10px;color:#94869f;max-width:115px}
.portal-win-list b{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#f2eef9;color:#a18bbb;font-size:10px;font-weight:500}
.portal-win-list small{font-size:9px;color:#ac9bb8}
.portal-win-list .achieved b{background:#e9f2df;color:#71994f}
.portal-win-list .achieved small{color:#79985e}
.student-portal .subject-command-card{border-color:#e7e5ef;border-radius:14px;padding:22px;transition:border-color .15s,transform .15s}
.student-portal .subject-command-card:hover{transform:translateY(-2px);border-color:#cbbce5}
.student-portal .subject-command-card.selected{border-color:#c6b7e3}
.student-portal .course-monogram{background:#eee9f9;color:#8c71b7;font-weight:500;font-size:15px}
.student-portal .subject-command-card:nth-child(even) .course-monogram{background:#edf2e5;color:#7e9462}
.student-portal .course-card-unit{border-color:#eee9f4}
.student-portal .course-card-unit>strong{color:#655276}
.student-portal progress{accent-color:#a38cc7}
.student-portal progress::-webkit-progress-value{background:#a38cc7}
.student-portal .portal-topic-path{background:#f3effb;border-color:#e1d7f0;border-radius:17px}
.student-portal .portal-stage-grid>a{border-color:#e7dff1;border-radius:11px}
.student-portal .portal-stage-grid p{color:#8b7b99}
#screen .student-portal .portal-stage-grid strong{color:#69567e;font-size:17px;letter-spacing:-.2px}
.student-portal .learning-support>.panel{border-color:#e7e5ef;border-radius:14px}
/* One complete Mathematics journey, retaining all existing marking and save flows. */
.maths-pathway{--purple:#6b55cc;--ink:#302c42;--muted:#83778f;max-width:1120px;margin:0 auto}
#screen .maths-pathway :is(h1,h2,h3){font-family:ui-sans-serif,system-ui,-apple-system,sans-serif;letter-spacing:-.035em;color:#302c42}
#screen .maths-pathway .title-block{padding:10px 0 25px;margin:0;max-width:none}
#screen .maths-pathway .title-block .eyebrow{font-size:10px;color:#9c86b5}
#screen .maths-pathway .title-block h1{font-size:clamp(32px,4vw,46px);line-height:1.2;margin:12px 0}
#screen .maths-pathway .title-block>p{font-size:13px;color:#8c7c9c;max-width:75ch}
.maths-pathway .topic-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:8px;background:#fff;border:1px solid #e4ddee;border-radius:13px;gap:6px;margin:0 0 16px}
.maths-pathway .topic-tabs>a{display:flex;align-items:center;justify-content:start;gap:12px;border:0!important;background:transparent;border-radius:8px;padding:14px 12px;text-align:left;min-width:0;white-space:normal}
#screen .maths-pathway .topic-tabs>a{color:#887497!important}
#screen .maths-pathway .topic-tabs>a.selected{color:#6b55cc!important;background:#f0ebfa!important}
.topic-stage-num{height:28px;width:28px;border:1px solid #e2d8ee;border-radius:8px;display:grid;place-items:center;flex-shrink:0;font-size:10px;font-weight:500}
.topic-tabs>a>span:nth-child(2){font-size:13px;line-height:1.6}
.topic-tabs small{display:block;font-size:9px;font-weight:400;line-height:1.6;color:#9c8aaa;margin-top:3px}
.topic-tabs b{margin-left:auto;font-size:13px;font-weight:400}
#screen .maths-pathway>p{font-size:11px;margin:14px 0 25px;color:#9c8aa9;line-height:1.8}
#screen .maths-pathway>p>a{font-size:11px;color:#8f74aa}
.maths-pathway>.panel{border:1px solid #e6dfef;border-radius:16px;padding:32px;background:#fff;box-shadow:0 3px 10px #3d244e03;margin:23px 0}
#screen .maths-pathway>.panel>h2{font-size:25px;margin:0 0 18px}
#screen .maths-pathway>.panel>h3{font-size:21px;margin:30px 0 15px}
#screen .maths-pathway>.panel>p,.maths-pathway>.panel>ul{font-size:15px;line-height:1.9;color:#7d6d8c;max-width:84ch}
.maths-pathway>.panel>ul{padding-left:21px;display:grid;gap:8px;margin-bottom:28px}
.maths-pathway .topic-balance{background:#f3effb;border-color:#e2d7f0;border-radius:13px;color:#8c73a5;padding:25px;margin:25px 0}
#screen .maths-pathway .topic-balance :is(span,strong){color:#85639d}
.topic-worked-studio{border:1px solid #dfd4ed;border-radius:15px;padding:26px;background:#faf7ff;margin:32px 0}
.walk-heading{display:flex;justify-content:space-between;gap:20px;align-items:start}
#screen .walk-heading h3{font-size:24px;margin:9px 0}
#screen .walk-heading .eyebrow{font-size:9px;color:#a08ab7}
#screen .walk-heading p{font-size:12px;color:#96809f;margin:7px 0 0;line-height:1.8}
.walk-counter{font-size:10px;color:#a48ab7;white-space:nowrap;border:1px solid #e4d8f1;border-radius:20px;padding:5px 9px}
.walk-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:24px 0}
.walk-tabs>button{background:#fff;border:1px solid #e8def2;border-radius:6px;padding:9px 11px;font-size:10px;color:#9982aa;min-height:38px}
.walk-tabs>button[aria-pressed=true]{background:#ede5f9;color:#8665a3;border-color:#cdb7e2}
#screen .walk-equation{background:#fff;border:1px solid #e8e0f1;color:#8c6ba5;border-radius:11px;padding:25px;text-align:center;font-family:Georgia,serif;font-size:26px;line-height:1.6;overflow-wrap:anywhere}
.walk-steps{list-style:none;margin:22px 0;padding:0;display:grid;gap:12px}
.walk-steps>li{display:flex;align-items:start;gap:13px;background:#fff;border:1px solid #eae1f3;padding:17px;border-radius:9px}
.walk-steps>li>span{height:24px;width:24px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:#f0e8fa;color:#a184b8;font-size:10px}
#screen .walk-steps p{font-size:12px;color:#9a84aa;margin:0 0 6px;line-height:1.7}
#screen .walk-steps strong{font-size:17px;color:#7c5b98;font-weight:550;line-height:1.7}
#screen .walk-prompt{font-size:13px;color:#a18bb0;text-align:center;margin:24px 0;line-height:1.8}
.walk-actions{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:23px}
.maths-pathway .button{border-radius:8px;background:#6b55cc;min-height:44px;font-size:12px;padding:11px 17px;color:#fff}
.maths-pathway .button.secondary{background:#f0eaf9;color:#9677ad;border:1px solid #e4d9ef}
#screen .maths-pathway .walk-scope{font-size:10px;color:#a28db2;margin:17px 0 0;line-height:1.8}
.topic-fraction-note{background:#f3f6ed;border:1px solid #e0e8d5;border-radius:11px;padding:22px;margin:25px 0}
#screen .topic-fraction-note h3{font-size:18px;margin:0 0 10px;color:#829469}
#screen .topic-fraction-note p{font-size:13px;line-height:1.9;color:#8c9a78;margin:0}
.topic-practice-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;border:1px solid #e1d7ef;border-radius:11px;background:#f4effb;margin:24px 0}
#screen .topic-practice-summary>span{font-size:12px;color:#947ba6}
#screen .topic-practice-summary strong{color:#8967a4;font-size:17px;margin-right:8px}
#screen .topic-practice-summary p{font-size:10px;color:#a28cb0;margin:0;max-width:36ch}
.topic-practice-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:25px 0}
.maths-pathway .topic-practice-grid .topic-question{border:1px solid #e4dcec;border-radius:12px;padding:24px;margin:0;min-width:0;background:#fdfbff;display:flex;flex-direction:column;align-items:start}
#screen .topic-practice-grid .topic-question h3{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#ac8cbd;margin:0 0 15px}
#screen .topic-practice-grid .topic-question>p{font-size:17px;line-height:1.8;color:#806590;margin:0 0 18px}
.topic-practice-grid label{font-size:11px;color:#a28ab1;width:100%;margin-bottom:14px}
.topic-practice-grid input{width:100%;border:1px solid #dfd3e9;background:#fff;border-radius:7px;padding:11px 13px;font-size:15px;margin-top:7px;min-height:44px}
.topic-practice-grid details{margin-top:14px;font-size:12px;color:#9b80ac;width:100%}
.topic-practice-grid summary{cursor:pointer;padding:7px 0}
#screen .topic-practice-grid .topic-question>p[role=status]{font-size:12px;padding:15px;background:#f0f5e9;color:#829965;border-radius:9px;margin:17px 0}
.topic-practice-grid .topic-question>button.secondary{font-size:10px}
@media(max-width:1100px){.portal-small-wins{flex-direction:column;align-items:start}.portal-win-list{margin-left:0;gap:25px}.portal-focus-visual{min-height:200px}.maths-pathway .topic-tabs>a{gap:8px}.topic-tabs small{font-size:8px}.topic-tabs>a>span:nth-child(2){font-size:11px}}
@media(max-width:850px){#screen .student-portal .study-rail{padding:0!important;overflow:hidden}.student-portal .study-rail .study-rail-brand,.student-portal .study-rail .rail-support,.student-portal .study-rail .rail-context{display:none}.student-nav-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;background:#fff;color:#7c6597;border:0;padding:14px 17px;text-align:left;min-height:57px}.student-nav-toggle>span:first-child{display:flex;align-items:center;gap:14px;font-size:11px}.student-nav-toggle strong{font-size:13px;font-weight:600;color:#65517a}.student-nav-toggle>span:last-child{font-size:18px}#screen .student-portal .study-rail .learning-section-tabs{display:none;overflow:visible;margin:0;padding:4px 10px 12px;flex-direction:column;gap:3px}#screen .student-portal .study-rail.portal-nav-open .learning-section-tabs{display:grid;grid-template-columns:1fr 1fr}#screen .student-portal .study-rail .learning-section-tabs button{width:100%;white-space:normal;font-size:12px;min-height:43px;padding:9px 11px!important}.student-portal .study-rail .learning-section-tabs button>svg{width:16px;height:16px}.maths-pathway .topic-tabs{grid-template-columns:1fr 1fr}.topic-tabs small{font-size:9px}.topic-tabs>a>span:nth-child(2){font-size:12px}.topic-tabs b{display:none}.topic-practice-grid{grid-template-columns:1fr}}
@media(max-width:600px){#screen .student-portal .learning-heading h1{font-size:28px;line-height:1.25}#screen .student-portal .portal-focus{grid-template-columns:1fr;padding:25px 21px;gap:20px}#screen .student-portal .portal-focus h2{font-size:30px;max-width:22ch}.portal-focus-visual{display:none}.portal-focus-help{gap:7px 20px;padding-top:15px}.portal-focus-help>span{flex-basis:100%;font-size:10px}.portal-focus-help>a{font-size:11px}#screen .student-portal .portal-focus p{font-size:13px}.portal-focus-actions{gap:13px}.portal-small-wins{padding:21px}.portal-win-list{justify-content:space-between;gap:12px;width:100%}.portal-win-list>span{font-size:9px;flex:1}.portal-win-list small{font-size:8px}.student-portal .course-command-centre .section-head{align-items:start;flex-wrap:wrap}.maths-pathway>.panel{padding:24px 20px}.maths-pathway .topic-tabs{padding:6px;gap:5px}.maths-pathway .topic-tabs>a{padding:12px 9px;gap:9px}.topic-tabs small{font-size:8px}.topic-stage-num{width:25px;height:25px;font-size:9px}.topic-tabs>a>span:nth-child(2){font-size:11px}#screen .maths-pathway>.panel>p,.maths-pathway>.panel>ul{font-size:14px;line-height:1.9}.topic-worked-studio{padding:20px 16px;margin:26px -5px}.walk-heading{gap:10px;flex-wrap:wrap}#screen .walk-heading h3{font-size:23px}#screen .walk-heading p{font-size:11px}.walk-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:20px 0}.walk-tabs>button{font-size:9px;text-align:left;padding:9px}.walk-counter{font-size:9px}.walk-equation{font-size:23px!important;padding:20px!important}.walk-steps>li{padding:14px 12px;gap:10px}#screen .walk-steps p{font-size:11px}#screen .walk-steps strong{font-size:15px}.walk-actions{gap:9px}.maths-pathway .walk-actions .button{padding:10px 12px;font-size:10px}.topic-practice-summary{align-items:start;flex-direction:column;gap:8px;padding:17px 20px}.topic-practice-grid .topic-question{padding:22px 19px}.maths-pathway .topic-balance{padding:22px 14px}.maths-pathway .topic-balance strong{font-size:22px}.portal-win-list b{width:25px;height:25px}.maths-pathway .title-block>h1{font-size:34px!important}.maths-pathway .title-block>p{font-size:12px!important}}
@media(prefers-reduced-motion:reduce){.student-portal .subject-command-card{transition:none}.student-portal .subject-command-card:hover{transform:none}}
#screen .maths-pathway .topic-practice-grid .topic-practice-feedback.retry{background:#fcf2e5;color:#9b734a}
#screen .maths-pathway .topic-practice-grid .topic-practice-feedback.retry strong{color:#9b734a!important}
#screen .student-portal .study-rail .learning-section-tabs button{border:0!important;color:#777185!important;background:transparent!important}
#screen .student-portal .study-rail .learning-section-tabs button.selected{background:#eee8fa!important;color:#6b55cc!important}
#screen .student-portal .learning-profiles button.selected{background:#eee8fa!important;border-color:#cdbce8!important;color:#70569e!important}
#screen .maths-pathway .topic-tabs>a.selected{background:#eee8fa!important;color:#6b55cc!important}
#screen .maths-pathway .walk-tabs>button[aria-pressed=true]{background:#eee8fa!important;color:#80619f!important;border-color:#cdbce8!important}
#screen .maths-pathway .walk-actions .button:not(.secondary){background:#6b55cc!important;color:#fff!important}
#screen .maths-pathway .walk-actions .button.secondary{background:#fff!important;color:#9575ab!important;border-color:#e1d6ec!important}
