:root{--mj-ink:#14213d;--mj-blue:#2f5bff;--mj-emerald:#158b72;--mj-muted:#667085;--mj-line:#dfe4ee;--mj-soft:#f5f7fb}*{box-sizing:border-box}body{margin:0;color:var(--mj-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1.02fr) minmax(560px,.98fr)}.brand-panel{position:relative;overflow:hidden;padding:44px 54px;background:linear-gradient(145deg,#111d3b,#18346f 58%,#2f5bff);color:#fff;display:flex;flex-direction:column;justify-content:space-between;isolation:isolate}.brand-panel:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 20%,rgba(58,175,232,.28),transparent 28%),radial-gradient(circle at 80% 70%,rgba(124,92,231,.36),transparent 31%);z-index:-1}.brand-panel:after{content:"";position:absolute;inset:auto -17% -34% 8%;height:55%;border:1px solid rgba(255,255,255,.15);border-radius:50%;box-shadow:0 0 0 70px rgba(255,255,255,.035),0 0 0 140px rgba(255,255,255,.025);z-index:-1}.brand-lockup,.mobile-brand{display:flex;align-items:center;gap:12px}.brand-symbol{width:43px;height:43px;border-radius:13px;background:#fff;color:var(--mj-blue);display:grid;place-items:center;font-family:Georgia,serif;font-size:24px;font-weight:700;box-shadow:0 8px 30px rgba(0,0,0,.16)}.brand-lockup>span:last-child{display:flex;flex-direction:column}.brand-lockup strong{font-family:Georgia,serif;font-size:22px}.brand-lockup small{font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:#b9c9ed}.brand-story{max-width:610px;margin:65px 0}.eyebrow,.form-kicker{display:flex;align-items:center;color:#bcd3ff;text-transform:uppercase;letter-spacing:.13em;font-size:11px;font-weight:700}.brand-story h1,.auth-card h2{font-family:Georgia,serif;letter-spacing:-.03em}.brand-story h1{font-size:clamp(46px,5vw,72px);font-weight:500;line-height:1.04;margin:22px 0}.brand-story p{max-width:560px;color:#ccdaf4;font-size:16px;line-height:1.75}.role-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}.role-list span{border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);padding:7px 11px;border-radius:999px;font-size:11px}.group-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.group-facts div{border-left:2px solid rgba(255,255,255,.25);padding-left:14px;display:flex;flex-direction:column}.group-facts strong{font-size:21px}.group-facts span{font-size:10px;color:#b9c9ed}.auth-panel{min-height:100vh;padding:28px 52px 20px;display:flex;flex-direction:column;background:radial-gradient(circle at 100% 0,#eef3ff,transparent 29%),#fff}.auth-top{display:flex;justify-content:space-between;align-items:center;color:var(--mj-muted);font-size:11px}.partial-host{width:min(520px,100%);margin:auto}.auth-card{animation:arrive .4s ease both}.mobile-brand{display:none}.form-kicker{color:var(--mj-blue);margin-bottom:10px}.auth-card h2{font-size:35px;margin:0 0 10px}.form-intro{color:var(--mj-muted);font-size:13px;line-height:1.6}.form-label{font-size:11px;font-weight:700}.form-control,.form-select,.input-group-text{min-height:48px;border-color:var(--mj-line);font-size:12px}.form-control:focus,.form-select:focus{border-color:var(--mj-blue);box-shadow:0 0 0 .2rem rgba(47,91,255,.12)}.input-group-text{background:#fff;color:#8390a7}.form-check-label{font-size:11px;color:var(--mj-muted)}.btn-primary{--bs-btn-bg:var(--mj-blue);--bs-btn-border-color:var(--mj-blue);--bs-btn-hover-bg:#1c43d8;--bs-btn-hover-border-color:#1c43d8;box-shadow:0 12px 28px rgba(47,91,255,.2)}.btn-lg{font-size:12px;font-weight:700;min-height:49px}.or-divider{display:flex;align-items:center;gap:10px;margin:17px 0;color:#98a2b3;font-size:10px}.or-divider:before,.or-divider:after{content:"";height:1px;background:var(--mj-line);flex:1}.security-note{text-align:center;color:#7b879d;font-size:10px;margin:16px 0 0}.auth-panel footer{text-align:center;color:#98a2b3;font-size:9px}.loading-state{display:grid;place-items:center;min-height:300px}.success-icon{width:68px;height:68px;border-radius:22px;background:#e5f7f1;color:var(--mj-emerald);display:grid;place-items:center;margin:0 auto 24px;font-size:30px}.access-tile{height:86px;border:1px solid var(--mj-line);border-radius:12px;background:var(--mj-soft);display:flex;flex-direction:column;justify-content:center;gap:5px;color:var(--mj-blue);font-weight:700}.access-tile span{font-size:10px;color:var(--mj-ink)}@keyframes arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(max-width:980px){.login-shell{grid-template-columns:340px 1fr}.brand-panel{padding:34px}.brand-story h1{font-size:45px}.group-facts{grid-template-columns:1fr}.group-facts div:nth-child(n+2){display:none}}@media(max-width:760px){.login-shell{display:block}.brand-panel{display:none}.auth-panel{min-height:100svh;padding:24px 20px}.auth-top{justify-content:flex-end}.auth-top>span{display:none}.partial-host{margin:38px auto}.mobile-brand{display:flex;margin-bottom:34px}.auth-card h2{font-size:30px}.auth-panel footer{margin-top:auto}.access-tile{height:60px}.form-control,.form-select,.input-group-text{min-height:52px}}

/* Refined login: concise, role-neutral and aligned with the management portal. */
.login-shell{grid-template-columns:minmax(400px,.9fr) minmax(520px,1.1fr)}.brand-panel{padding:32px 52px}.brand-story{max-width:570px;margin:25px 0}.brand-story h1{font-size:clamp(40px,4vw,56px);line-height:1.07;margin:15px 0}.brand-story p{font-size:14px;line-height:1.6;max-width:520px}.eyebrow{gap:8px}.login-benefits{display:grid;gap:8px;margin-top:20px;max-width:470px}.login-benefits>div{display:grid;grid-template-columns:36px 1fr;align-items:center;gap:10px;padding:8px 11px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.055);border-radius:12px}.login-benefits>div>i{width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.12);display:grid;place-items:center;color:#d9e4ff}.login-benefits span{display:flex;flex-direction:column}.login-benefits strong{font-size:11px}.login-benefits small{font-size:9px;color:#b9c9ed;margin-top:2px}.brand-footnote{font-size:10px;color:#b9c9ed;display:flex;align-items:center;gap:7px}.auth-panel{padding:22px 48px 16px}.partial-host{width:min(470px,100%)}.auth-card h2{font-size:34px}.form-intro{margin-bottom:25px;max-width:430px}.login-button{display:flex;align-items:center;justify-content:center;gap:9px}.sso-button{min-height:48px;font-size:11px}.auth-panel footer{padding-top:10px}.mobile-brand strong{font-family:Georgia,serif;font-size:22px}@media(min-width:761px) and (min-height:650px){body{overflow:hidden}.login-shell,.auth-panel,.brand-panel{height:100vh;min-height:0}}@media(max-width:980px){.login-shell{grid-template-columns:330px 1fr}.brand-panel{padding:32px}.login-benefits>div:nth-child(3){display:none}}@media(max-width:760px){.partial-host{margin:auto}.auth-top{margin-bottom:24px}.mobile-brand{margin-bottom:28px}.form-intro{margin-bottom:22px}}

/* Shared document-scrolling contract: only the login shell owns a locked viewport. */
html{min-height:100%}
body:not(:has(.login-shell)):not(.modal-open){height:auto!important;min-height:100vh!important;overflow-x:hidden!important;overflow-y:auto!important}
body:not(:has(.login-shell)) main{min-height:0}
.login-product-mark{display:flex;align-items:center;gap:9px;color:var(--mj-ink)}.login-product-mark img{width:46px;height:38px;object-fit:contain}.login-product-mark>span{display:flex;flex-direction:column;line-height:1}.login-product-mark strong{font-size:15px;letter-spacing:-.02em}.login-product-mark small{margin-top:3px;color:#76839b;font-size:7px;font-weight:800;letter-spacing:.22em;text-transform:uppercase}.auth-top-actions{display:flex;align-items:center;gap:16px}.auth-top-actions>span{display:flex;align-items:center;gap:6px}@media(max-width:760px){.auth-top{justify-content:space-between}.auth-top-actions>span{display:none}.login-product-mark img{width:50px;height:41px}.login-product-mark strong{font-size:16px}}
.platform-login-brand{gap:10px}.platform-login-brand>img{width:56px;height:46px;object-fit:contain}.platform-login-brand>span{display:flex;flex-direction:column;line-height:1}.platform-login-brand strong{color:var(--mj-ink);font-size:20px;letter-spacing:-.04em}.platform-login-brand small{margin-top:4px;color:#69758c;font-size:8px;font-weight:800;letter-spacing:.24em;text-transform:uppercase}@media(max-width:760px){.platform-login-brand>img{width:52px;height:43px}.platform-login-brand strong{font-size:18px}}
.login-mode{background:#f4f6fb;border-radius:12px;padding:4px}.login-mode .nav-link{font-size:10px;font-weight:700;color:#667085;border-radius:9px}.login-mode .nav-link.active{background:#fff;color:var(--mj-blue);box-shadow:0 3px 12px rgba(25,42,80,.1)}.tracking-wide{letter-spacing:.45em;font-weight:700}

/* Product identity on the public staff entrance. The school remains the tenant
   brand while EduOne Cloud is clearly presented as the operating platform. */
.login-brand-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 28px}.platform-login-brand{display:inline-flex;align-items:center;gap:9px;padding:0;border:0;background:transparent;box-shadow:none}.platform-login-brand>img{display:block;width:46px;height:38px;object-fit:contain}.platform-login-brand>span{display:flex;flex-direction:column;line-height:1}.platform-login-brand strong{color:var(--mj-ink);font-size:18px;letter-spacing:-.04em}.platform-login-brand small{margin-top:3px;color:#69758c;font-size:7px;font-weight:800;letter-spacing:.24em;text-transform:uppercase}.login-brand-row .mobile-brand{margin:0}@media(max-width:760px){.login-brand-row{align-items:center;margin-bottom:30px}.platform-login-brand>img{width:46px;height:38px}.platform-login-brand strong{font-size:18px}.login-brand-row .mobile-brand{justify-content:flex-end}.login-brand-row .mobile-brand img{width:138px}}@media(max-width:430px){.login-brand-row{display:grid;gap:16px}.login-brand-row .mobile-brand{justify-content:flex-start}}

/* Operational campus is fixed by the signed-in security scope. Only chairman pages may offer campus switching. */
.academic-body .school-filter,#admissionSchoolFilter,#fullScope,.register-filters>div:has(#registerCampus){display:none!important}

/* Shared platform signature is available on every operational page through this base stylesheet. */
body::after{content:"EduOne Cloud · v1.0";display:block;width:max-content;max-width:calc(100% - 32px);margin:20px auto 12px;padding:4px 0 4px 25px;color:#7a8295;background:url("../brand/eduone-cloud-mark.svg") left center/18px 18px no-repeat;font-size:10px;font-weight:650;letter-spacing:.08em;line-height:18px;opacity:.78}.platform-signature{display:none!important}
@media print{body::after{display:none!important}}

/* Shared role-aware navigation: every injected or native menu remains at the top-right. */
.global-menu-button{margin-left:auto!important;flex:0 0 auto;position:relative!important;inset:auto!important;min-width:42px;min-height:42px}.global-role-menu .offcanvas-body nav{display:grid;gap:7px}.global-role-menu .offcanvas-body a,.global-role-menu .offcanvas-body button{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:center;width:100%;padding:10px;border:0;border-radius:11px;background:transparent;color:var(--mj-ink);text-align:left;text-decoration:none;font-size:12px;font-weight:700}.global-role-menu .offcanvas-body a:hover,.global-role-menu .offcanvas-body button:hover{background:#edf1ff;color:var(--mj-blue)}.global-role-menu .offcanvas-body i{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--mj-line);border-radius:10px;background:#fff;color:var(--mj-blue)}

/* Shared operational-header contract: navigation controls always finish the top bar. */
header.navbar>.container-fluid{width:100%;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap}
header.navbar>.container-fluid>.navbar-brand,
header.navbar>.container-fluid>.official-brand{margin-right:auto;flex:0 1 auto}
header.navbar>.container-fluid>.menu-button,
header.navbar>.container-fluid>.sidebar-toggle,
header.navbar>.container-fluid>#accountsMenuToggle,
header.navbar>.container-fluid>div:last-child{margin-left:auto;flex:0 0 auto}
header.navbar .menu-button,
header.navbar .sidebar-toggle,
header.navbar #accountsMenuToggle{position:relative;inset:auto;align-self:center;order:999}

/* Shared report header: pages remain correctly branded even when they only load the base stylesheet. */
.report-topbar{height:72px;background:#fff;border-bottom:1px solid var(--mj-line);position:sticky;top:0;z-index:1020;padding:0}
.report-topbar .container-fluid{height:100%}
.report-topbar .official-brand{display:inline-flex;align-items:center;padding:3px 0}
.report-topbar .official-brand img{display:block;width:146px;height:45px;max-width:190px;object-fit:contain}
@media(max-width:576px){.report-topbar{height:64px}.report-topbar .official-brand img{width:128px;height:41px}.report-topbar .btn{padding-inline:10px}.report-topbar .badge{display:none}}
.success-card .success-icon i{font-size:30px;line-height:1}.success-card .form-kicker{align-items:center}.success-card .access-tile i{font-size:22px;line-height:1}.success-card [data-role-home]{gap:9px}.success-card [data-role-home] i{font-size:15px;line-height:1}.success-card #switch-account{display:inline-flex;align-items:center;justify-content:center}
@media(max-width:760px){.auth-top{position:relative;width:100%;justify-content:flex-end}.auth-top>.login-product-mark{display:flex!important;flex:0 0 124px;width:124px;margin-left:auto;align-items:center;justify-content:flex-start}.auth-top>.login-product-mark>span{display:flex!important;min-width:65px}.login-product-mark img{flex:0 0 46px;width:46px;height:38px}.mobile-brand{justify-content:flex-start}}
@media(max-width:760px){.auth-top>.login-product-mark{flex-basis:98px;width:98px;gap:7px}.auth-top>.login-product-mark>img{flex-basis:36px;width:36px;height:30px}.auth-top>.login-product-mark>span{min-width:54px}.auth-top>.login-product-mark strong{font-size:14px}.auth-top>.login-product-mark small{margin-top:2px;font-size:6px;letter-spacing:.2em}.mobile-brand.official-brand--mobile{width:100%;justify-content:center}.mobile-brand.official-brand--mobile img{width:168px;max-width:58vw}}
