@keyframes mpOpeningSpin{to{transform:rotate(1turn)}}@keyframes mpOpeningBar{0%{transform:translateX(-72%)}100%{transform:translateX(172%)}}@keyframes mpOpeningProgressSheen{0%{transform:translateX(-120%)}100%{transform:translateX(180%)}}@keyframes mpOpeningProgressPulse{0%,100%{filter:saturate(1);opacity:.92}50%{filter:saturate(1.18);opacity:1}}.mp-public-static{--mp-static-accent: #5d7ff4;min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.58fr);gap:clamp(24px,5vw,72px);align-items:center;padding:clamp(24px,5vw,72px);background:linear-gradient(115deg,rgba(255,253,249,.96),rgba(247,241,232,.94)),radial-gradient(circle at 82% 16%,rgba(93,127,244,.12),transparent 30%);color:#223047;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}.mp-public-static::before{content:"";position:absolute;top:clamp(18px,3vw,34px);left:clamp(22px,4vw,52px);width:min(190px,42vw);height:42px;background:url(/assets/brand/mathspilot-logo-lockup.svg?v=20260905-19-9-6-r1) left center / contain no-repeat}.mp-public-static section{min-width:0}.mp-public-static section:first-of-type{display:grid;gap:20px;align-content:center;max-width:760px}.mp-public-static section:first-of-type>p:first-child{margin:0;color:#51617c;font-size:.9rem;font-weight:800;letter-spacing:0}.mp-public-static h1{margin:0;max-width:11ch;color:#223047;font-family:Georgia,"Times New Roman",serif;font-size:clamp(3rem,7vw,5.4rem);line-height:.98;letter-spacing:0}.mp-public-static section:first-of-type>p:nth-of-type(2){margin:0;max-width:42rem;color:#48566d;font-size:clamp(1.05rem,1.5vw,1.28rem)}.mp-public-static section:first-of-type>p:nth-of-type(3){display:flex;flex-wrap:wrap;gap:10px;margin:6px 0 0}.mp-public-static section:first-of-type>p:nth-of-type(3) span{display:inline-flex;align-items:center;min-height:38px;padding:8px 14px;border:1px solid rgba(55,66,99,.15);border-radius:999px;background:rgba(255,253,249,.72);color:#223047;font-size:.9rem;font-weight:800;box-shadow:0 8px 20px rgba(15,18,34,.05)}.mp-public-static section:first-of-type>p:last-child{display:flex;flex-wrap:wrap;gap:12px;margin:4px 0 0}.mp-public-static section:first-of-type>p:last-child a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid rgba(55,66,99,.18);border-radius:14px;background:rgba(255,253,249,.88);color:#223047;font-weight:850;text-decoration:none;box-shadow:0 10px 24px rgba(15,18,34,.06)}.mp-public-static section:first-of-type>p:last-child a:first-child{border-color:rgba(93,127,244,.28);background:linear-gradient(180deg,#7f98ef,#6d86df);color:#fff;box-shadow:0 16px 32px rgba(93,127,244,.2)}.mp-public-static section:nth-of-type(2){display:grid;gap:14px;padding:clamp(22px,3vw,34px);border:1px solid rgba(55,66,99,.16);border-radius:24px;background:rgba(255,253,249,.86);box-shadow:0 26px 70px rgba(15,18,34,.12),inset 0 1px rgba(255,255,255,.86)}.mp-public-static section:nth-of-type(2)::before{content:"";width:40px;height:40px;border:3px solid rgba(93,127,244,.2);border-top-color:#5d7ff4;border-radius:50%;animation:mpOpeningSpin .85s linear infinite}.mp-public-static section:nth-of-type(2) h2{margin:0;color:#223047;font-size:clamp(1.45rem,2vw,2rem)}.mp-public-static section:nth-of-type(2) p{margin:0;color:#5f6d84;font-weight:760}.mp-public-static section:nth-of-type(2)::after{content:"Preparing secure sign-in and the MathsPilot workspace.";color:#48566d;font-size:.95rem;line-height:1.45}.auth-submit-btn.is-loading{opacity:1;color:#fff}.auth-submit-btn.is-loading::before{content:"";display:inline-block;width:1em;height:1em;margin-right:9px;border:2px solid rgba(255,255,255,.44);border-top-color:#fff;border-radius:50%;vertical-align:-2px;animation:mpOpeningSpin .8s linear infinite}.mp-embedded-signin__status.is-loading{display:grid;gap:4px;padding:11px 12px;border:1px solid rgba(93,127,244,.22);border-radius:14px;background:color-mix(in srgb,var(--brand-100, #eef3ff) 42%,var(--bg-panel, #fffdf9) 58%);color:var(--text-body, #48566d);font-size:.9rem;font-weight:760}.mp-opening-state{position:relative;overflow:hidden;display:grid;gap:clamp(14px,2vw,22px);align-content:start;border:1px solid rgba(55,66,99,.14);background:linear-gradient(135deg,rgba(255,253,249,.96),rgba(247,241,232,.9)),linear-gradient(180deg,rgba(93,127,244,.08),transparent 62%);box-shadow:0 24px 58px rgba(15,18,34,.1),inset 0 1px rgba(255,255,255,.86)}.mp-opening-state__topline{display:flex;gap:12px;align-items:center;min-width:0}.mp-opening-state__mark{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border:1px solid rgba(93,127,244,.25);border-radius:16px;background:linear-gradient(180deg,#fff,#edf3ff);box-shadow:0 10px 24px rgba(93,127,244,.14)}.mp-opening-state__mark::before{content:"";width:20px;height:20px;border:3px solid rgba(93,127,244,.2);border-top-color:#5d7ff4;border-radius:50%;animation:mpOpeningSpin .85s linear infinite}.mp-opening-state__kicker{margin:0;color:color-mix(in srgb,var(--brand-700, #3f5ea3) 72%,var(--text-strong, #223047) 28%);font-size:.76rem;font-weight:850;letter-spacing:0;line-height:1.15;text-transform:uppercase}.mp-opening-state__title{margin:0;color:var(--text-strong, #223047);font-size:clamp(1.85rem,3vw,2.75rem);line-height:1.08;letter-spacing:0}.mp-opening-state__copy{margin:0;max-width:62ch;color:var(--text-body, #48566d);font-size:clamp(.98rem,1.2vw,1.08rem)}.mp-opening-state__steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mp-opening-state__step{min-width:0;padding:11px 12px;border:1px solid rgba(55,66,99,.12);border-radius:16px;background:rgba(255,255,255,.62);color:var(--text-body, #48566d);font-size:.84rem;font-weight:800;line-height:1.25}.mp-opening-state__step strong{display:block;margin-bottom:2px;color:var(--text-strong, #223047);font-size:.9rem}.mp-opening-state__bar{position:relative;overflow:hidden;height:8px;border-radius:999px;background:rgba(55,66,99,.1)}.mp-opening-state__bar span{position:absolute;inset-block:0;left:0;width:42%;overflow:hidden;border-radius:inherit;background:linear-gradient(90deg,rgba(93,127,244,.12),rgba(93,127,244,.8),rgba(37,104,72,.62));animation:mpOpeningBar 1.45s ease-in-out infinite}.mp-opening-state__bar span::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(90deg,transparent,rgba(255,255,255,.62),transparent);animation:mpOpeningProgressSheen 1.25s ease-in-out infinite}.student-opening-shell,.adult-opening-shell{min-height:100dvh;display:grid;place-items:center;padding:clamp(20px,5vw,52px)}.adult-opening-shell{background:radial-gradient(circle at top left,rgba(93,127,244,.08),transparent 34%),linear-gradient(180deg,rgba(255,253,249,.98),rgba(246,249,245,.95))}.adult-workspace-loading.mp-opening-state{padding:clamp(18px,2.5vw,30px);border-radius:26px}.adult-workspace-loading .mp-opening-state__layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.7fr);gap:clamp(18px,2.4vw,30px);align-items:stretch}.adult-workspace-loading .mp-opening-state__steps{align-self:stretch;grid-template-columns:1fr}.student-auth-panel.mp-opening-state{padding:clamp(20px,3vw,32px);border-radius:24px}.mp-opening-state .mp-opening-state__step.is-active{border-color:rgba(93,127,244,.26);background:rgba(238,243,255,.7);color:#3f5ea3}.mp-opening-state .mp-opening-state__step.is-done{border-color:rgba(37,104,72,.24);background:rgba(235,248,241,.68);color:#256848}.student-auth-split--opening{grid-template-columns:minmax(0,580px);justify-content:center;align-items:center;min-height:0;width:min(580px,100%)}.mp-opening-state--student{--mp-opening-progress: 0;width:min(580px,100%);justify-self:center;gap:18px;padding:clamp(28px,4vw,42px);border-radius:22px;background:linear-gradient(180deg,rgba(255,253,249,.98),rgba(255,253,249,.94)),linear-gradient(180deg,rgba(93,127,244,.05),transparent 68%);box-shadow:0 28px 70px rgba(15,18,34,.12),inset 0 1px rgba(255,255,255,.9);text-align:center}.mp-opening-state--student .mp-opening-state__topline{flex-direction:column;justify-content:center;gap:14px}.mp-opening-state--student .mp-opening-state__mark::before{width:24px;height:24px;border:0;border-radius:0;background:url(/assets/brand/brand-logo-mark.svg?v=20260905-19-9-6-r1) center / contain no-repeat;animation:none}.mp-opening-state--student .mp-opening-state__slow,.mp-opening-state--adult .mp-opening-state__slow{margin:-2px auto 0;max-width:420px;padding:9px 11px;border:1px solid rgba(93,127,244,.18);border-radius:12px;background:rgba(238,243,255,.56);color:#3f5ea3;font-size:.88rem;font-weight:780}.mp-opening-state--student .mp-opening-state__route,.mp-opening-state--adult .mp-opening-state__route{position:relative;height:28px;margin:2px auto 0;width:min(420px,100%)}.mp-opening-state--student .mp-opening-state__route-line,.mp-opening-state--adult .mp-opening-state__route-line{position:absolute;inset:13px 0 auto;height:3px;border-radius:999px;background:rgba(55,66,99,.1)}.mp-opening-state--student .mp-opening-state__route-line::before,.mp-opening-state--adult .mp-opening-state__route-line::before{content:"";position:absolute;inset-block:0;left:0;width:calc(var(--mp-opening-progress, 0) * 1%);border-radius:inherit;background:linear-gradient(90deg,#5d7ff4,#256848);transition:width .32s ease;animation:mpOpeningProgressPulse 1.35s ease-in-out infinite}.mp-opening-state--student .mp-opening-state__route-dot,.mp-opening-state--adult .mp-opening-state__route-dot{position:absolute;top:8px;left:calc(var(--mp-opening-progress, 0) * 1%);width:12px;height:12px;border:2px solid #fffdf9;border-radius:50%;background:#5d7ff4;box-shadow:0 0 0 4px rgba(93,127,244,.12);transform:translateX(-50%);transition:left .32s ease,background .22s ease,box-shadow .22s ease;animation:mpOpeningProgressPulse 1.35s ease-in-out infinite}.mp-opening-state--student.is-landing .mp-opening-state__route-dot,.mp-opening-state--adult.is-landing .mp-opening-state__route-dot{background:#256848}.mp-opening-state--student .mp-opening-state__route-check,.mp-opening-state--adult .mp-opening-state__route-check{position:absolute;right:-1px;top:3px;width:22px;height:22px;border-radius:50%;background:#256848;color:#fff;opacity:0;transform:scale(.9);transition:opacity .22s ease,transform .22s ease}.mp-opening-state--student .mp-opening-state__route-check::before,.mp-opening-state--adult .mp-opening-state__route-check::before{content:"";position:absolute;left:7px;top:6px;width:8px;height:5px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg)}.mp-opening-state--student.is-landing .mp-opening-state__route-check,.mp-opening-state--adult.is-landing .mp-opening-state__route-check{opacity:1;transform:scale(1)}.mp-opening-state--student .mp-opening-state__bar span,.mp-opening-state--adult .mp-opening-state__bar span{width:calc(var(--mp-opening-progress, 0) * 1%);min-width:0;transform:none;transform-origin:left center;transition:width .32s ease;animation:mpOpeningProgressPulse 1.35s ease-in-out infinite}.mp-opening-state--student.is-failed .mp-opening-state__bar span,.mp-opening-state--adult.is-failed .mp-opening-state__bar span{background:linear-gradient(90deg,rgba(93,127,244,.32),rgba(37,104,72,.76))}.adult-workspace-loading--minimal.mp-opening-state{--mp-opening-progress: 0;width:min(580px,100%);min-width:0;margin:0 auto;gap:18px;padding:clamp(28px,4vw,42px);border-radius:22px;background:linear-gradient(180deg,rgba(255,253,249,.98),rgba(255,253,249,.94)),linear-gradient(180deg,rgba(93,127,244,.05),transparent 68%);box-shadow:0 28px 70px rgba(15,18,34,.12),inset 0 1px rgba(255,255,255,.9);text-align:center}.adult-workspace-loading--minimal .mp-opening-state__topline{flex-direction:column;justify-content:center;gap:14px}.adult-workspace-loading--minimal .mp-opening-state__mark::before{width:24px;height:24px;border:0;border-radius:0;background:url(/assets/brand/brand-logo-mark.svg?v=20260905-19-9-6-r1) center / contain no-repeat;animation:none}.adult-workspace-loading--minimal .mp-opening-state__steps{margin-top:2px}.mp-data-loading{position:fixed;inset:0;z-index:1300;display:grid;align-items:end;justify-items:center;padding:18px max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));pointer-events:none}.mp-data-loading[hidden]{display:none}.mp-data-loading__scrim{display:none}.mp-data-loading__surface{position:relative;z-index:1;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:11px 12px;width:min(380px,calc(100vw - 28px));min-height:58px;padding:12px 14px 13px;border:1px solid var(--mp-portal-line, var(--line-default));border-radius:14px;background:var(--mp-portal-surface, var(--bg-panel));box-shadow:0 16px 38px rgba(15,18,34,.2);color:var(--mp-portal-ink, var(--text-strong))}.mp-data-loading.is-blocking{align-items:center;pointer-events:auto}.mp-data-loading.is-blocking .mp-data-loading__scrim{position:absolute;inset:0;display:block;background:rgba(34,48,71,.18);backdrop-filter:blur(3px)}.mp-data-loading.is-blocking .mp-data-loading__surface{width:min(390px,calc(100vw - 32px));min-height:76px;padding:16px}.mp-data-loading__mark{display:block;width:32px;height:32px;border:1px solid var(--mp-portal-line, var(--line-default));border-radius:11px;background:url(/assets/brand/brand-logo-mark.svg?v=20260905-19-9-6-r1) center / 18px 18px no-repeat var(--mp-portal-hero, var(--bg-panel-2));box-shadow:none}.mp-data-loading__text{display:grid;gap:2px;min-width:0}.mp-data-loading__text strong{color:var(--mp-portal-ink, var(--text-strong));font-size:.95rem;line-height:1.2}.mp-data-loading__text span,.mp-data-loading__text em{color:var(--mp-portal-ink, var(--text-body));font-size:.82rem;font-style:normal;font-weight:700;line-height:1.25}.mp-data-loading__text em{color:var(--mp-selection-line, var(--text-strong))}.mp-data-loading__bar{grid-column:1 / -1;position:relative;overflow:hidden;height:3px;border-radius:999px;background:var(--mp-portal-line, var(--line-default))}.mp-data-loading__bar::before{content:"";position:absolute;inset-block:0;left:0;width:42%;border-radius:inherit;background:var(--mp-selection-line, var(--primary));animation:mpOpeningBar 1.5s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.mp-public-static section:nth-of-type(2)::before,.auth-submit-btn.is-loading::before,.mp-opening-state__mark::before,.mp-opening-state__bar span,.mp-opening-state__bar span::after,.mp-opening-state--student .mp-opening-state__route-dot,.mp-opening-state--adult .mp-opening-state__route-dot,.mp-opening-state--student .mp-opening-state__route-check,.mp-opening-state--adult .mp-opening-state__route-check,.mp-opening-state--student .mp-opening-state__route-line::before,.mp-opening-state--adult .mp-opening-state__route-line::before,.mp-data-loading__bar::before{animation:none;transition:none}}@media(max-width:900px){.mp-public-static,.adult-workspace-loading .mp-opening-state__layout{grid-template-columns:1fr}.mp-public-static{align-items:start;padding-top:92px}.mp-opening-state__steps{grid-template-columns:1fr}.student-auth-split--opening{min-height:0}}@media(max-width:560px){.mp-public-static{gap:18px;padding-inline:18px;padding-bottom:28px}.mp-public-static h1{font-size:clamp(2.35rem,13vw,3.5rem)}.mp-public-static section:nth-of-type(2){padding:18px;border-radius:20px}.mp-opening-state__title{font-size:clamp(1.55rem,8vw,2rem)}.student-auth-split--opening{min-height:calc(100dvh - 92px);align-items:start}.mp-opening-state--student{padding:24px 18px;border-radius:18px}.mp-opening-state--student .mp-opening-state__route{width:100%}.mp-data-loading__surface{width:min(360px,calc(100vw - 24px));align-items:flex-start}}.mp-opening-state--student .mp-opening-state__bar span,.mp-opening-state--adult .mp-opening-state__bar span{animation:none;background:#6b86ed}.mp-opening-state--student .mp-opening-state__bar span::after,.mp-opening-state--adult .mp-opening-state__bar span::after{content:none}.mp-opening-state--student .mp-opening-state__steps{display:block}.mp-opening-state--student .mp-opening-state__step{display:none;padding:0;border:0;background:none}.mp-opening-state--student .mp-opening-state__step.is-active{display:block}.mp-opening-state--student .mp-opening-state__step span{display:none}.mp-opening-state--student,.mp-opening-state--adult{min-height:0!important;height:auto!important}.mp-opening-brand{display:block;width:220px;max-width:100%;flex:none;background:transparent}.mp-opening-brand img{display:block;width:100%;height:auto}.mp-opening-brand .mp-opening-brand__dark{display:none}.mp-opening-state--adult .mp-opening-state__topline{flex-direction:column;text-align:center}.mp-opening-state--student .mp-opening-state__step.is-active{background:none!important;box-shadow:none!important}html[data-theme=dark] .mp-opening-state--student,html[data-theme=dark] .mp-opening-state--adult{background:#18243a!important;color:#f0f5ff;border-color:#43516c;box-shadow:0 20px 50px #0003}html[data-theme=dark] .mp-opening-brand{background:transparent}html[data-theme=dark] .mp-opening-brand__light{display:none}html[data-theme=dark] .mp-opening-brand .mp-opening-brand__dark{display:block}html[data-theme=dark] .mp-opening-state :is(.mp-opening-state__title,.mp-opening-state__step strong){color:#f0f5ff!important}html[data-theme=dark] .mp-opening-state :is(.mp-opening-state__kicker,.mp-opening-state__copy){color:#c3cee1!important}html[data-theme=dark] .mp-opening-state__step{background:#243249;color:#d5dfed;border-color:#43516c}html[data-theme=dark] .mp-opening-state__step.is-active{background:#30466c;color:#e1ebff}html[data-theme=dark] .mp-opening-state__step.is-done{background:#254738;color:#d6f3e1}html[data-theme=dark] :is(.student-opening-shell,.adult-opening-shell){background:#101a2c}.mp-learner-loading{max-width:1480px;margin:0 auto;padding:0 20px;color:var(--text,#1b2a44)}.mp-learner-loading__header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:112px;padding:20px;background:var(--bg-panel,#fffdf9);border-radius:0 0 22px 22px}.mp-learner-loading__header img{width:190px;max-width:42%;height:auto}.mp-learner-loading__header span{font-size:1rem}.mp-learner-loading__layout{display:grid;grid-template-columns:200px 1fr;gap:24px;margin-top:24px}.mp-learner-loading__nav,.mp-learner-loading__cards>div{background:color-mix(in srgb,var(--brand-100,#dce8ff) 60%,var(--bg-panel,#fffdf9));border-radius:20px;min-height:200px}.mp-learner-loading__cards{display:grid;grid-template-columns:1fr 1fr;gap:20px}@media(max-width:700px){.mp-learner-loading{padding:0 12px}.mp-learner-loading__layout{grid-template-columns:1fr}.mp-learner-loading__nav{display:none}.mp-learner-loading__cards{grid-template-columns:1fr}.mp-learner-loading__header{min-height:100px;padding:16px;gap:12px}}.mp-command-palette__head{display:flex;align-items:center;gap:12px}.mp-command-palette__head .mp-command-palette__input{flex:1 1 auto;min-width:0;width:auto}.mp-command-palette__head [data-command-close]{flex:0 0 44px;min-width:44px;min-height:44px}
