/* Approved studio setup design. Scoped to the Maths entry screen. */
.maths-entry{--ms-ink:#0a2046;--ms-pink:#d90b56;--ms-muted:#5b6d8b;color:var(--ms-ink);background:#fff}
.maths-entry .ms-header{border-bottom:0}
.maths-entry .ms-header-inner{max-width:1480px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:48px;padding:14px 30px;min-height:82px}
.maths-entry .ms-brand{font-size:29px;gap:13px;letter-spacing:-1px;white-space:nowrap}
.maths-entry .ms-brand img{width:46px;height:46px}
.maths-entry .ms-brand .ms-domain{font-size:24px;letter-spacing:-.7px}
.maths-entry .ms-brand small{font-size:11px;color:#627695;letter-spacing:-.1px}
.maths-entry .ms-header nav{gap:clamp(14px,1.6vw,25px);justify-content:flex-start;min-width:0}
.maths-entry .ms-header nav a{font-size:14px;padding:15px 0}
.maths-entry .ms-account{display:flex;align-items:center;justify-content:center;gap:9px;border-color:#344567;font-weight:600;padding:10px 15px}
.maths-entry .ms-account svg{width:21px;height:21px}
.maths-entry .ms-main{width:calc(100% - 40px);max-width:1440px;padding:24px 30px 18px;margin:0 auto 24px;background:#f0f6fa;border-radius:24px}
.maths-entry .ms-breadcrumb{margin-bottom:11px;color:#5b6d8b}
.maths-entry .ms-intro{margin-bottom:24px;gap:24px;align-items:center}
.maths-entry .ms-intro h1{font-size:40px;letter-spacing:-.02em;line-height:1.2;margin-bottom:8px}
.maths-entry .ms-intro p{font-size:19px;color:#667792}
.maths-entry .vip-free-product{display:flex;align-items:center;gap:14px;padding:16px 19px;background:#e8faf6;border:1px solid #b9e9df;border-radius:12px;color:#087d6d;line-height:1.5;max-width:390px;font-size:13px}
.maths-entry .vip-free-product>svg{width:35px;height:35px;flex:none}
.maths-entry .vip-free-product strong{font-size:13px;letter-spacing:0;margin:0}
.maths-entry .ms-form{grid-template-columns:minmax(0,2fr) minmax(320px,1fr);gap:18px;align-items:start}
.maths-entry .ms-choices,.maths-entry .ms-summary{border:1px solid #dae3ee;border-radius:13px;padding:24px;background:white}
.maths-entry .ms-choices legend{font-size:21px;color:#0a2046;letter-spacing:-.3px;margin-bottom:18px}
.maths-entry .ms-step{width:34px;height:34px;font-size:20px;margin-right:13px;font-weight:500}
.maths-entry .ms-years{gap:12px}
.maths-entry .ms-year{padding:17px 4px 13px;min-height:108px;font-size:14px;background:#fff;border-radius:11px;color:#0a2046}
.maths-entry .ms-year b{font-size:40px;line-height:1.2;margin-top:7px}
.maths-entry .ms-year:has(:checked){padding:16px 3px 12px;background:#fff1f6;border-color:#d90b56;color:#0a2046}
.maths-entry .ms-year:has(:checked)::after{width:20px;height:20px;right:6px;top:6px;font-size:14px}
.maths-entry .ms-selected{margin:12px 0 22px;font-size:12px;color:#62728d}
.maths-entry .ms-rule{margin-bottom:23px}
.maths-entry .ms-mode{padding:21px 32px 20px 19px;min-height:148px;gap:15px;background:#fff}
.maths-entry .ms-mode:has(:checked){padding:20px 31px 19px 18px;background:#fff1f6}
.maths-entry .ms-mode b{font-size:18px;color:#0a2046}
.maths-entry .ms-mode small,.maths-entry .ms-mode p{color:#62728d;font-size:13px;line-height:1.5}
.maths-entry .ms-mode>span:first-of-type{margin-top:3px}
.maths-entry .ms-mode svg{width:32px;height:32px}
.maths-entry .ms-mode:has(:checked)::after{content:'✓';display:grid;place-items:center;width:20px;height:20px;background:#d90b56;border:0;color:white;font-size:14px;right:10px;top:10px}
.maths-entry .ms-topics{border:0;border-top:1px solid #e4eaf2;border-radius:0;margin-top:24px;padding:20px 0 0}
.maths-entry .ms-topics h2{color:#0a2046;font-size:18px}
.maths-entry .ms-topics li{font-size:14px;padding:11px 0;color:#233d60}
.maths-entry .ms-tip{background:transparent;color:#62728d;padding:12px 0 0;margin:4px 0 0}
.maths-entry .ms-side{display:grid;gap:16px;min-width:0}
.maths-entry .ms-summary{padding:23px;display:block}
.maths-entry .ms-overline{font-size:12px;letter-spacing:0;color:#788ba8}
.maths-entry .ms-summary h2{color:#0a2046;font-size:30px;line-height:1.25;letter-spacing:-.6px;margin:4px 0 12px}
.maths-entry .ms-summary>.ms-set-pill{display:inline-block;color:#c50a50;background:#ffe2ee;padding:5px 14px;border-radius:22px;font-size:13px;font-weight:600;margin:0 0 17px}
.maths-entry .ms-facts{border-top:1px solid #e1e7f0;margin:0;padding:11px 0 15px}
.maths-entry .ms-facts li{gap:13px;padding:10px 0;font-size:15px;font-weight:400;color:#0a2046}
.maths-entry .ms-facts i{width:28px;height:30px;border-radius:0;background:transparent!important;color:#0a2046}
.maths-entry .ms-facts i svg{width:27px;height:27px}
.maths-entry .ms-facts li:nth-child(2) i{color:#087d6d}
.maths-entry .ms-next-steps{padding:14px 16px;background:#f0f6fa;border-radius:10px;margin:0 0 15px}
.maths-entry .ms-next-steps h3{font-size:14px;margin:0 0 12px;color:#0a2046}
.maths-entry .ms-next-steps>div{display:flex;align-items:center;justify-content:space-between;gap:9px}
.maths-entry .ms-next-steps span{display:grid;justify-items:center;gap:6px;font-size:12px;color:#233d60}
.maths-entry .ms-next-steps i{display:grid;place-items:center;border-radius:50%;width:42px;height:42px;background:#ffe0ed;color:#c30a50;font-size:18px;font-style:normal}
.maths-entry .ms-next-steps b{font-size:20px;color:#7a8ca7;margin-bottom:23px;font-weight:400}
.maths-entry .ms-summary hr{display:none}
.maths-entry .ms-student-label{display:block;margin:16px 0 18px}
.maths-entry .ms-summary .ms-primary{border-radius:10px;font-size:18px;min-height:50px}
.maths-entry .ms-mode-note{font-size:12px!important;color:#627695!important;margin-top:12px!important}
.maths-entry .ms-resume-card{display:none;align-items:center;gap:16px;border:1px solid #dae3ee;background:white;border-radius:12px;padding:21px}
.maths-entry .ms-resume-card:has(a:not([hidden])){display:flex}
.maths-entry .ms-resume-card>svg{width:30px;height:30px;flex:none}
.maths-entry .ms-resume-card strong{font-size:14px;font-weight:650}
.maths-entry .ms-resume{display:block;text-align:left;margin:3px 0 0;font-size:13px;color:#1761bc!important;text-decoration:none}
.maths-entry .ms-support{display:flex;align-items:center;gap:25px;margin-top:17px;padding:21px 23px;border:1px solid #dae3ee;border-radius:12px;background:white}
.maths-entry .ms-support strong{font-size:16px;flex:1.4;color:#0a2046}
.maths-entry .ms-support a{flex:1;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;text-decoration:none;color:#1761bc;border-left:1px solid #e1e7f0;padding-left:24px}
.maths-entry .ms-support a:hover{text-decoration:underline}
.maths-entry .ms-footer{color:#7385a2;margin-top:17px}
@media(max-width:1250px){
 .maths-entry .ms-header-inner{grid-template-columns:1fr auto;gap:0 24px;padding:14px 28px 4px}
 .maths-entry .ms-header nav{grid-column:1/-1;grid-row:2;gap:24px;justify-content:space-between;overflow:auto;width:100%}
 .maths-entry .ms-account{grid-column:2;grid-row:1;margin:0}
 .maths-entry .ms-header nav a{padding:14px 0}
 .maths-entry .ms-intro h1{font-size:36px}
 .maths-entry .ms-intro p{font-size:17px}
 .maths-entry .ms-form{grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr)}
 .maths-entry .ms-choices,.maths-entry .ms-summary{padding:20px}
 .maths-entry .ms-mode{gap:10px;padding-left:15px}
 .maths-entry .ms-mode:has(:checked){padding-left:14px}
 .maths-entry .ms-mode svg{width:26px;height:26px}
}
@media(max-width:900px){
 .maths-entry .ms-main{padding:22px;width:calc(100% - 32px)}
 .maths-entry .ms-intro{display:block}
 .maths-entry .vip-free-product{margin-top:18px;max-width:none}
 .maths-entry .ms-form{grid-template-columns:1fr}
 .maths-entry .ms-summary{order:initial}
 .maths-entry .ms-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
 .maths-entry .ms-facts li{font-size:13px;gap:8px}
 .maths-entry .ms-next-steps>div{justify-content:space-around}
 .maths-entry .ms-support{flex-wrap:wrap;gap:15px}
 .maths-entry .ms-support strong{flex:0 0 100%}
 .maths-entry .ms-support a{padding-left:0;border:0;white-space:nowrap}
}
@media(max-width:540px){
 .maths-entry .ms-header-inner{padding:14px 16px 4px;column-gap:14px}
 .maths-entry .ms-brand{font-size:23px;gap:8px;letter-spacing:-.8px}
 .maths-entry .ms-brand img{width:36px;height:36px}
 .maths-entry .ms-brand .ms-domain{font-size:19px;letter-spacing:-.5px}
 .maths-entry .ms-brand small{font-size:11px;letter-spacing:-.15px}
 .maths-entry .ms-account{font-size:12px;padding:9px 10px;gap:0}
 .maths-entry .ms-account svg{display:none}
 .maths-entry .ms-header nav{gap:22px;justify-content:flex-start}
 .maths-entry .ms-header nav a{font-size:13px}
 .maths-entry .ms-main{width:calc(100% - 24px);padding:18px 14px;border-radius:18px}
 .maths-entry .ms-intro h1{font-size:31px}
 .maths-entry .ms-intro p{font-size:16px}
 .maths-entry .vip-free-product{padding:13px;gap:10px;font-size:12px}
 .maths-entry .vip-free-product strong{font-size:12px}
 .maths-entry .ms-choices,.maths-entry .ms-summary{padding:18px}
 .maths-entry .ms-choices legend{font-size:18px}
 .maths-entry .ms-step{width:29px;height:29px;font-size:17px;margin-right:10px}
 .maths-entry .ms-years{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 .maths-entry .ms-year{min-height:97px;padding:13px 4px 10px}
 .maths-entry .ms-year:has(:checked){padding:12px 3px 9px}
 .maths-entry .ms-year b{font-size:35px}
 .maths-entry .ms-modes{grid-template-columns:1fr}
 .maths-entry .ms-mode{min-height:119px;gap:15px}
 .maths-entry .ms-facts{grid-template-columns:1fr;gap:0}
 .maths-entry .ms-facts li{font-size:15px;padding:8px 0}
 .maths-entry .ms-support{padding:18px}
 .maths-entry .ms-support a{flex:0 0 100%;font-size:14px}
}

/* Footer follows the same left and right edges as the support panel. */
body.maths-entry .ms-main>footer.vip-site-footer{width:100%;max-width:none;margin-inline:0;padding-inline:0}
