/* Sitewide Midnight List + charcoal, presentation only. Font in school-typography.css. */
@media screen{
:root,body,body.light-theme{--platform-bg:#101319;--platform-panel:#1b1f27;--platform-raised:#242a34;--platform-line:#363d4b;--platform-ink:#ececf6;--platform-sub:#b8bdd0;--platform-heading-gold:#b2a4f1;--nav-accent:#c5baf7;--platform-font:'School Space Grotesk',Arial,sans-serif;--navy:#101319;--text:#ececf6;--muted:#b8bdd0;--gold:#b2a4f1;--violet:#b2a4f1;--cyan:#c5baf7;--coral:#c5baf7;color-scheme:dark}
html:root,html:root body,html:root #root,html:root body .sm-wrap,html:root body .sm-main{background:#101319!important;color:#ececf6}
html:root body .sm-side{background:#141820!important;border-color:#363d4b!important}
html:root body .sm-side button{background:transparent!important;color:#c8c5da!important}
html:root body .sm-side button:hover{background:#242a34!important;color:#ececf6!important}
html:root body .sm-side button[aria-current=page]{background:#302a46!important;border-left-color:#b2a4f1!important;color:#d5ccfa!important}
html:root body .sm-side :is(svg[data-nav-icon],span:has(>svg[data-nav-icon])){color:#c5baf7!important;border-color:#77718f!important;background:transparent!important;box-shadow:none!important}
html:root body :is(h1,h2,h3,h4,h5,h6,[role=heading],th,[role=columnheader]){color:#ececf6!important;-webkit-text-fill-color:currentColor!important}
html:root body :is(a,summary){color:#c5baf7!important}
html:root body :is(button,[role=button]){background-color:#242a34;color:#ececf6;border-color:#77718f;box-shadow:none!important;text-shadow:none!important}
html:root body :is(button,[role=button]):hover{border-color:#b2a4f1;filter:brightness(1.08)}
html:root body :is(button,input,select,textarea,a,summary):focus-visible{outline:3px solid #b2a4f1!important;outline-offset:3px}
html:root body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){background:#171c25!important;color:#ececf6!important;border-color:#65708b!important;accent-color:#b2a4f1}
html:root body input::file-selector-button{background:#302a46;color:#ececf6;border:1px solid #77718f;padding:8px 12px;border-radius:6px}
html:root body :is(input,textarea)::placeholder{color:#b8bdd0!important;opacity:1}
html:root body :is(input[type=checkbox],input[type=radio],progress){accent-color:#b2a4f1}
html:root body :is([role=tab],.student-tabs button,.student-extra-nav button,.platform-tabs>button,.sd-more-button){color:#c5baf7!important;background:#1b1f27!important;border-color:#363d4b!important}
html:root body :is([role=tab][aria-selected=true],button[aria-pressed=true]):not(.sap-pill){background:#302a46!important;color:#e5ddff!important;border-color:#b2a4f1!important}
html:root body :is([type=submit],[class*=primary],.sap-primary,.ag-primary,.at-periods button[aria-pressed=true],.sap-periods button[aria-pressed=true]){background:#b2a4f1!important;color:#101326!important;border-color:#b2a4f1!important}
html:root body :is(.student-workspace){--student-surface:#101319!important;--student-panel:#1b1f27!important;--student-panel2:#242a34!important;--student-line:#363d4b!important;--student-ink:#ececf6!important;--student-sub:#b8bdd0!important;--student-accent:#b2a4f1!important}
html:root body .mentor-workspace{--m-shell:#101319!important;--m-card:#1b1f27!important;--m-soft:#242a34!important;--m-line:#363d4b!important;--m-ink:#ececf6!important;--m-strong:#ececf6!important;--m-copy:#b8bdd0!important;--m-muted:#b8bdd0!important;--m-accent:#b2a4f1!important;--m-accent-ink:#101326!important;--m-hover:#302a46!important;--m-avatar:#302a46!important}
html:root body :is(.ag-person,.ag-workspace,.ag-combined,.student-dashboard,.directory-preview,.sap-student,.sap-roster,.practice-panel,.practice-panel .practice-actions,.protected-grading,.student-document-preview){color:#ececf6;border-color:#363d4b}
html:root body :is(.card,.contact-panel,main.panel,.journey-slide,.sd-identity,.sd-shortcut,.sd-secondary,.ag-person,.sap-summary-controls,.sap-form-panel){background-color:#1b1f27!important;border-color:#363d4b!important;box-shadow:none!important}
html:root body :is(.protected-grading button,.practice-panel button){background:#302a46!important;color:#ececf6!important;border-color:#77718f!important}
html:root body :is(.hero,.departments,.contact-section,footer){background-color:#101319!important}
html:root body :is(.mobile-action,.back){background:#302a46!important;color:#ececf6!important;border-color:#77718f!important}
html:root body :is(.sm-main,.student-dashboard,.sm-side) [style*="text-transform: uppercase"]{color:#c5baf7!important}
/* Keep warning, error, success and required/missing indicators meaningful. */
html:root body :is(.under,.s60,.slo){color:#ffb9c0!important}html:root body :is(.above,.s90){color:#8df2c1!important}html:root body :is(.sap-recorded-score,.s70,.s80){color:#f2d9a1!important}
}

@media screen{
html:root body [style*="gradient"]{background-image:none!important;background-color:#1b1f27!important;text-shadow:none!important;box-shadow:none!important}
html:root body :is(.sm-main,.student-dashboard,.sm-side) [style*="text-transform: uppercase"]{border-color:#b2a4f1!important}
html:root body button[style*="gradient"],html:root body a[style*="gradient"]{background:#b2a4f1!important;color:#101326!important}
}
@media screen{
html:root body :is([aria-label="School student sign-in"],[aria-label="Current feature availability"]){background:#191d25!important;border-color:#363d4b!important;color:#ececf6!important}
html:root body [aria-label="School student sign-in"] strong{color:#c5baf7!important}
html:root body.light-theme,html:root body.light-theme #root,html:root body.light-theme .sm-wrap,html:root body.light-theme .sm-main{background:#191d25!important}
}
@media screen{:root,body,body.light-theme{--panel:#1b1f27;--panel2:#242a34;--line:#363d4b;--ink:#ececf6;--sub:#b8bdd0;--accent:#b2a4f1;--blue:#c5baf7}}

/* Fill laptop and desktop space beside navigation; retain mobile and print layouts. */
@media screen and (min-width:861px){
  [aria-label="Page content"]{max-width:none!important;min-width:0;box-sizing:border-box}
}
