/* Local navy platform: presentation only; no authorization or feature flags. */
:root{--platform-font:Arial,Helvetica,sans-serif;--nav-accent:#b8bdd0;--nav-icon-fill:transparent}
html,body,#root{background:#101319!important;color:#ececf6}body,body *,button,input,select,textarea,.sm-wrap,.sm-wrap *{font-family:var(--platform-font)!important}pre,code,pre *,code *{font-family:ui-monospace,monospace!important}body.light-theme,body.light-theme #root{background:#191d25!important;color:#ececf6}.sm-wrap{background:#101319!important}body.light-theme .sm-wrap{background:#191d25!important}.sm-side{background:#141820!important}body.light-theme .sm-side{background:#20252f!important}.sm-side button{box-shadow:none!important;text-shadow:none!important}.sm-side button[aria-current=page]{background:#302a46!important;border-left-color:#b2a4f1!important}.sm-side button:hover{background:#302b45!important}.sm-side span:has(>svg[data-nav-icon]){background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;color:var(--nav-accent)!important;width:26px!important;height:26px!important;display:inline-grid!important;place-items:center!important;flex-shrink:0}.sm-side svg[data-nav-icon]{width:21px;height:21px;color:var(--nav-accent)}body.light-theme{--nav-accent:#65708b}.sm-side svg[data-nav-icon]{fill:var(--nav-icon-fill)}
html[data-nav-icons=square] .sm-side span:has(>svg[data-nav-icon]){background:#242a34!important;border:1px solid #668099!important;border-radius:5px!important;width:29px!important;height:29px!important}html[data-nav-icons=round] .sm-side span:has(>svg[data-nav-icon]){background:#242a34!important;border:1px solid #9a835d!important;border-radius:50%!important;color:#b2a4f1!important;width:29px!important;height:29px!important}html[data-nav-icons=round] .sm-side svg[data-nav-icon]{color:#b2a4f1}html[data-nav-icons=duotone]{--nav-icon-fill:#65708b;--nav-accent:#c5baf7}html[data-nav-icons=bold] .sm-side svg[data-nav-icon]{stroke-width:2.5;color:#ececf6}body.light-theme .sm-side button[aria-current=page]{color:#ececf6!important}body.light-theme .sm-side button:hover{color:#ececf6!important}
@media print{html,body,#root{background:white!important;color:#1b1f27!important}}



body:not(.light-theme) .student-workspace{--student-surface:#101319!important;--student-panel:#1b1f27!important;--student-panel2:#242a34!important;--student-line:#363d4b!important}body:not(.light-theme) .sm-main{background:#101319!important}

html body #root *,html body .sm-wrap *{font-family:Arial,Helvetica,sans-serif!important}html body #root pre,html body #root code,html body #root pre *,html body #root code *{font-family:ui-monospace,monospace!important}

html body.light-theme .sm-side{background:#20252f!important}html body.light-theme .sm-main{background:#191d25!important}html[data-nav-icons=bold] body.light-theme .sm-side svg[data-nav-icon]{color:#ececf6}html[data-nav-icons=square] .sm-side svg[data-nav-icon]{color:#c5baf7}

/* Navy-only presentation contract. Semantic warnings and original document pixels are retained. */
:root{--platform-bg:#101319;--platform-panel:#1b1f27;--platform-raised:#242a34;--platform-line:#363d4b;--platform-ink:#ececf6;--platform-sub:#b8bdd0;--navy:#101319;--text:#ececf6;--muted:#b8bdd0;--cyan:#c5baf7;--violet:#a8bdcf;--coral:#b2a4f1;--gold:#b2a4f1}
body.light-theme{color-scheme:dark;--platform-bg:#191d25;--platform-panel:#242a34;--platform-raised:#2c3340;--platform-line:#525c71;--platform-ink:#ececf6;--platform-sub:#c7cbd8;--nav-accent:#c5baf7}
html,body,#root{color-scheme:dark}html body .sm-main,html body .sm-wrap{background:var(--platform-bg)!important;color:var(--platform-ink)}html body .student-workspace{--student-surface:var(--platform-bg)!important;--student-panel:var(--platform-panel)!important;--student-panel2:var(--platform-raised)!important;--student-line:var(--platform-line)!important;--student-ink:var(--platform-ink)!important;--student-sub:var(--platform-sub)!important;--student-accent:#b2a4f1!important}
html body .mentor-workspace{color-scheme:dark!important;--m-shell:var(--platform-bg)!important;--m-card:var(--platform-panel)!important;--m-soft:var(--platform-raised)!important;--m-line:var(--platform-line)!important;--m-line-soft:var(--platform-line)!important;--m-ink:var(--platform-ink)!important;--m-strong:var(--platform-ink)!important;--m-copy:var(--platform-sub)!important;--m-muted:var(--platform-sub)!important;--m-accent:#b2a4f1!important;--m-accent-ink:#101319!important;--m-hover:#352e50!important;--m-avatar:#352e50!important;--m-avatar-ink:#ececf6!important}
html body .practice-panel,html body .practice-panel .practice-actions{background:var(--platform-panel)!important;color:var(--platform-ink)!important}html body .practice-panel :is(h1,h2,legend){color:var(--platform-ink)!important}html body .practice-panel label,html body .practice-panel .practice-status{background:var(--platform-raised)!important;color:var(--platform-ink)!important}html body .practice-panel button,html body .protected-grading button{background:#352e50!important;color:#ececf6!important;border-color:#77718f!important}html body .protected-grading :is(input,select,textarea){background:var(--platform-raised)!important;color:var(--platform-ink)!important;border-color:#77718f!important}
html body .student-document-preview button{background:var(--platform-raised)!important;color:var(--platform-ink)!important;border-color:#77718f!important}
/* Public-site presentation: real HTML copy replaces baked typography in the hero; original art files stay untouched. */
body:not(:has(.sm-wrap)) .hero{display:flex!important;flex-direction:column!important;align-items:center!important;padding:42px 24px 48px!important;background:#101319!important;border-bottom:1px solid #363d4b}
body:not(:has(.sm-wrap)) .hero-art,body:not(:has(.sm-wrap)) .hero-brand-overlay{display:none!important}
body:not(:has(.sm-wrap)) .mobile-brand{display:block!important;position:relative!important;width:min(280px,75vw)!important;margin:0 auto 26px!important;order:0!important}
body:not(:has(.sm-wrap)) .hero-title{position:static!important;display:block!important;width:auto!important;height:auto!important;max-width:880px!important;padding:0!important;margin:0!important;clip:auto!important;overflow:visible!important;white-space:normal!important;text-align:center!important;font-size:clamp(32px,4.5vw,58px)!important;line-height:1.12!important;order:1!important;color:#ececf6!important}
body:not(:has(.sm-wrap)) .hero-title strong{color:#ececf6!important;background:none!important;-webkit-text-fill-color:currentColor!important}
body:not(:has(.sm-wrap)) .mobile-hero-content{display:block!important;max-width:710px!important;text-align:center!important;order:2!important;padding:0!important}
body:not(:has(.sm-wrap)) .mobile-hero-content p{max-width:710px!important;margin:22px auto!important;color:#b8bdd0!important;font-size:18px!important;line-height:1.65!important}
body:not(:has(.sm-wrap)) .mobile-actions{display:flex!important;justify-content:center!important;gap:14px!important;flex-wrap:wrap!important}
body:not(:has(.sm-wrap)) .mobile-action{background:#242a34!important;color:#ececf6!important;border:1px solid #77718f!important;box-shadow:none!important;padding:12px 24px!important;min-height:48px!important}
body:not(:has(.sm-wrap)) .departments,body:not(:has(.sm-wrap)) .contact-section,body:not(:has(.sm-wrap)) footer{background:#101319!important}
body:not(:has(.sm-wrap)) .card,body:not(:has(.sm-wrap)) .contact-panel,body:not(:has(.sm-wrap)) main.panel{--accent:#c5baf7!important;background:#1b1f27!important;color:#ececf6!important;border-color:#363d4b!important;box-shadow:none!important}
body:not(:has(.sm-wrap)) .card:before{display:none!important}body:not(:has(.sm-wrap)) .card:after{background:#77718f!important;box-shadow:none!important}body:not(:has(.sm-wrap)) .card:is(:hover,:focus-visible){box-shadow:0 12px 25px #0005!important;border-color:#c5baf7!important;animation:none!important}
body:not(:has(.sm-wrap)) :is(.contact-panel input,.contact-panel select,.contact-panel textarea){background:#242a34!important;color:#ececf6!important;border-color:#77718f!important}body:not(:has(.sm-wrap)) :is(.contact-panel button,.back){background:#352e50!important;color:#ececf6!important;box-shadow:none!important}
@media print{html,body,#root{background:white!important;color:#1b1f27!important;color-scheme:light!important}}

body:not(:has(.sm-wrap)) .mobile-journey{display:flex!important;order:3!important;flex-wrap:wrap!important;gap:12px!important;width:min(100%,1000px)!important;padding:28px 0 0!important;overflow:visible!important}body:not(:has(.sm-wrap)) .journey-slide{display:flex!important;flex:1 1 150px!important;min-width:140px!important;height:auto!important;min-height:78px!important;flex-direction:column!important;justify-content:center!important;padding:12px 16px!important;background-image:none!important;background:#1b1f27!important;border:1px solid #525c71!important;border-radius:8px!important;box-shadow:none!important;color:#ececf6!important;transform:none!important;text-decoration:none!important}body:not(:has(.sm-wrap)) .journey-slide::before,body:not(:has(.sm-wrap)) .journey-slide::after{display:none!important}body:not(:has(.sm-wrap)) .journey-slide .step-number{color:#b8bdd0;font-size:12px;margin-bottom:5px}body:not(:has(.sm-wrap)) .journey-slide:hover{background:#242a34!important;border-color:#c5baf7!important}body:not(:has(.sm-wrap)) .mobile-action{border-radius:7px!important;text-decoration:none!important;font-weight:600!important}

/* Presentation-only release: legibility in the existing alternate theme. */
body.light-theme :is(input,select,textarea),body.light-theme select option{background:#2c3340!important;color:#ececf6!important;border-color:#77718f!important}body.light-theme :is(input,textarea)::placeholder{color:#c7cbd8!important}body.light-theme .gb-table th,body.light-theme .gb-table td:first-child,body.light-theme .gb-table th:first-child{background:#242a34!important;color:#ececf6!important}body.light-theme .gb-table :is(th,td){border-color:#525c71!important}body.light-theme .gb-table tr:hover td{background:#2c3340!important}body.light-theme .sm-main a{color:#c7cbd8!important}body.light-theme :is(.s90){color:#83d0af!important}body.light-theme :is(.s80,.s70){color:#d5ccfa!important}body.light-theme :is(.s60,.slo){color:#f3a7a8!important}

/* Dorel's site-wide gold headings and tabs. Presentation only. */
:root{--platform-heading-gold:#b2a4f1}
@media screen{
html body :is(h1,h2,h3,h4,h5,h6,[role="heading"],.platform-section-heading,.hero-title,.hero-title strong,.sd-shortcut strong){color:var(--platform-heading-gold)!important;-webkit-text-fill-color:currentColor!important}
html body :is([role="tab"],.platform-tabs>button,.student-tabs button,.student-extra-nav button,.sw-periods button,.sd-more-button){color:var(--platform-heading-gold)!important}
html body :is([role="tab"][aria-selected="true"],.platform-tabs>button[aria-selected="true"]){border-bottom-color:var(--platform-heading-gold)!important}
html body .sm-side button{color:var(--platform-heading-gold)!important}
html body .sm-side div[style*="text-transform: uppercase"]{color:var(--platform-heading-gold)!important}
html body :is(.sm-main,.student-dashboard) [style*="text-transform: uppercase"]{color:var(--platform-heading-gold)!important}
html body :is(th,[role="columnheader"]){color:var(--platform-heading-gold)!important}
}

@media screen{html body.light-theme .sm-side button[aria-current=page],html body.light-theme .sm-side button:hover,html body.light-theme .gb-table th{color:var(--platform-heading-gold)!important}html body:not(:has(.sm-wrap)) .hero-title,html body:not(:has(.sm-wrap)) .hero-title strong{color:var(--platform-heading-gold)!important;-webkit-text-fill-color:currentColor!important}}
