/* Public school identity: same blue, navy and peach palette as medicalkoding.ai.
   This layer changes presentation; authenticated roles and course access stay authoritative. */
:root{--green:#214edb;--accent:#e3edff;--ink:#101d3a;--muted:#53617a;--line:#d8e2f1;--bg:#f5f7fc;--school-blue:#214edb;--school-peach:#ffe0ca;color-scheme:light}
body{color:var(--ink);background:var(--bg);font-family:'DM Sans',Arial,sans-serif}
::selection{background:#ffd6b7;color:#101d3a}
a,button,input,select,textarea{outline-offset:4px}
:focus-visible{outline:3px solid #8caeff}
.logo{background:#214edb;color:#fff;border-radius:12px 12px 12px 3px}.logo>span{color:#fff}
.brand{color:#101d3a}.brand small{color:#53617a}
.button,.onboard-primary{border-radius:12px;min-height:48px;box-shadow:none}.button:not(.secondary):not(.light):not(.glass),.onboard-primary{background:#214edb;color:#fff;border-color:#214edb}.button:not(.secondary):not(.light):not(.glass):hover,.onboard-primary:hover{background:#173db8}.button.secondary{color:#101d3a;background:#fff;border-color:#ccd6e8}
.modern-account{background:#fff}.account-header{border-bottom:1px solid #e5ebf6}.account-header .brand{color:#101d3a}.account-back{color:#53617a}.modern-account .modern-account-layout{max-width:1440px;margin:auto;padding-top:35px;padding-bottom:35px;gap:6vw}
.modern-account .account-story{background:#edf3fc url('/images/school-contour.svg') center/cover!important;border:1px solid #e0e9fa;border-radius:22px;color:#101d3a;box-shadow:none}
.modern-account .account-story h1{font-family:'DM Sans',Arial,sans-serif;font-size:clamp(42px,4.4vw,66px);font-weight:550;letter-spacing:-.055em;line-height:1.08;color:#101d3a}.modern-account .account-story h1 em{font-family:inherit;font-style:normal;color:#214edb}.modern-account .auth-story-description{color:#53617a}.auth-school-label,.auth-story-bottom{color:#53617a}.auth-art-label{background:#ffe0ca;color:#101d3a;box-shadow:0 12px 30px #101d3a0d}.auth-orbit{border-color:#c8d8fa}.modern-account .account-card{background:#fff;border:0;box-shadow:none}.modern-account .account-card h2{color:#101d3a;letter-spacing:-.04em}.modern-account .account-card>.tag{color:#214edb}.modern-account .account-card>p.muted{color:#53617a}.modern-account #auth-form input{background:#fff;border:1px solid #ccd6e8;color:#101d3a;border-radius:10px;box-shadow:none}.modern-account #auth-form input:focus{outline:3px solid #dce8ff;border-color:#214edb}.modern-account #auth-form>.button{background:#214edb;border-color:#214edb;box-shadow:0 6px 16px #214edb16}.modern-account #auth-form>.button:hover{background:#173db8!important}.modern-account #auth-form .field{color:#24385a}.modern-account .account-links a,.auth-other-entrance a,.auth-password-toggle{color:#214edb}.modern-account .small-print,.auth-other-entrance,.auth-help-note{color:#53617a}.modern-account #auth-feedback{background:#edf3fc;color:#24385a}.modern-account #auth-feedback[data-state=error]{background:#fff0e9;color:#963d24}
.onboard-header{border-color:#d8e2f1}.onboard-card{border-color:#d8e2f1;box-shadow:0 16px 50px #101d3a09}.onboard-visual{background:#edf3fc;color:#101d3a}.onboard-visual h2,.onboard-main h1{font-family:'DM Sans',Arial,sans-serif;letter-spacing:-.05em;font-weight:550}.onboard-main h1 em{font-family:inherit;color:#214edb;font-style:normal}.onboard-step{color:#214edb}.onboard-header .logo{background:#214edb}.onboard-visual .visual-label{color:#53617a}
.student-site,.staff-site{--ink:#101d3a;--muted:#53617a;--line:#d8e2f1;--bg:#f5f7fc;background:#f5f7fc;color:#101d3a}.student-site #sidebar,.staff-site #sidebar{background:#fff;border-color:#e3eaf6}.student-site #sidebar .logo,.staff-site #sidebar .logo{background:#214edb;color:#fff}.student-site #sidebar .logo span,.staff-site #sidebar .logo span{color:#fff}.student-site #sidebar .brand,.staff-site #sidebar .brand{color:#101d3a}.student-site #navigation a,.staff-site #navigation a{color:#53617a;border-radius:9px;margin-block:3px}.student-site #navigation a.active,.staff-site #navigation a.active{background:#edf3fc;color:#214edb;border-color:#dbe6ff}.student-site .workspace>header,.staff-site .workspace>header{background:#ffffffef;border-color:#d8e2f1}.student-site .course-context,.staff-site .course-context{border-color:#e3eaf6;box-shadow:0 3px 10px #101d3a03}.student-site .student-welcome,.staff-site .staff-welcome{border:1px solid #d8e2f1;border-radius:18px;background:#edf3fc}.student-welcome h2,.staff-welcome h2{font-family:'DM Sans',Arial,sans-serif;font-weight:550;color:#101d3a;letter-spacing:-.045em}.student-welcome h2 em{font-style:normal;color:#214edb}.student-welcome .eyebrow,.staff-welcome .eyebrow{color:#214edb}.student-welcome .button.light,.staff-welcome .button.light{background:#214edb;color:#fff;border-color:#214edb}.student-site .card,.staff-site .card,.student-metrics article,.staff-stats .stat{border-color:#e0e7f4;box-shadow:0 4px 16px #101d3a03;border-radius:14px}.student-metrics strong,.staff-stats .stat strong{color:#101d3a}.student-site .tag,.staff-site .tag{background:#edf3fc;color:#214edb;border-radius:6px}.student-site .practice-invite,.staff-site .staff-tip{background:#fff0e5;border:1px solid #ffe0ca}.student-site .next-art,.agenda-symbol,.tool-card-top>span{background:#e3edff;color:#214edb}.student-site .learning-resource{background:#f5f8ff;border-color:#dce6f7}.student-site input,.staff-site input,.student-site select,.staff-site select,.student-site textarea,.staff-site textarea{color:#101d3a;border-color:#ccd6e8;border-radius:9px}.student-site .completion-button,.staff-site .completion-button{color:#214edb}.student-site th,.staff-site th{background:#edf3fc;color:#53617a}.student-site .notice,.staff-site .notice{background:#edf3fc;color:#24385a}
@media(max-width:760px){.modern-account .modern-account-layout{gap:24px;padding-top:14px}.modern-account .account-story h1{font-size:40px}.student-site main,.staff-site main{padding:24px 18px}.student-welcome h2,.staff-welcome h2{font-size:32px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}

.modern-account .account-header{background:#fff}.modern-account .modern-account-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5vw}.modern-account .account-card{width:100%;max-width:500px;min-width:0;margin-inline:auto}.modern-account .account-story{min-width:0}.modern-account .auth-school-label{color:#53617a}.modern-account .account-story::before{display:none}
.student-site .student-metrics a,.student-site .text-link,.staff-site .text-link,.student-site .course-context label,.staff-site .course-context label{color:#214edb}
.student-site .student-metrics article>span,.student-site .student-metrics small,.staff-site .staff-stats .stat small{color:#53617a}.student-site .programme,.staff-site .programme,.student-site .programme span,.staff-site .programme span{color:#53617a}.student-site .programme strong,.staff-site .programme strong{color:#101d3a}.student-site .brand small,.staff-site .brand small{color:#53617a!important}
.welcome-checklist{background:#101d3a;color:#fff;border-radius:18px}.welcome-checklist-head h2,.welcome-checklist-head p,.welcome-checklist-head>span{color:#fff}.welcome-step{color:#101d3a}.welcome-step p,.welcome-step h3{color:#24385a}.welcome-step-button{background:#214edb;color:#fff}.welcome-step-button.is-done{background:#edf3fc;color:#214edb}.student-site .workspace footer,.staff-site .workspace footer{color:#53617a}
.onboard-button{background:#214edb;color:#fff;border:1px solid #214edb;border-radius:12px;min-height:48px}.onboard-button:hover{background:#173db8}.onboard-back,.onboard-staff-link{color:#214edb}.onboard-form h1{font-family:'DM Sans',Arial,sans-serif;font-weight:550;letter-spacing:-.05em;color:#101d3a}.onboard-kicker,.onboard-intro,.onboard-fine{color:#53617a}.step-progress .done{background:#214edb}.choice-card:has(input:checked),.simple-choice:has(input:checked){background:#edf3fc;border-color:#214edb}.onboard-art .art-disc{background:#c8dcff}.onboard-art .art-tile{color:#101d3a}.onboard-art .art-tile.one{background:#ffe0ca}.onboard-art .art-tile.two{background:#fff}.onboard-art .art-tile.three{background:#c8dcff}
