:root{--campus-bg:#090d16;--campus-surface:#111827;--campus-raised:#192338;--campus-cyan:#22d3ee;--campus-magenta:#d946ef;--campus-text:#f8fafc;--campus-muted:#cbd5e1}
body{background:var(--campus-bg);color:var(--campus-text)}
.ambient-two{right:0}
.site-header{background:#090d16f5;backdrop-filter:none}
.site-header .header-inner{max-width:1440px;min-height:76px;gap:28px}
.site-header nav{margin-left:auto;gap:clamp(12px,1.6vw,27px)}
.site-header nav a{font-size:.89rem;white-space:nowrap}
.site-header nav a:hover{color:var(--campus-cyan)}
.account-menu{position:relative;margin-left:8px;flex:none}
.account-menu summary{list-style:none;cursor:pointer;border:1px solid #496074;border-radius:10px;padding:9px 12px;color:#eaf6fa;font-weight:700;font-size:.86rem;white-space:nowrap}
.account-menu summary::-webkit-details-marker{display:none}
.account-menu[open] summary{border-color:var(--campus-cyan)}
.account-menu>div{position:absolute;right:0;top:calc(100% + 8px);width:192px;background:#172234;border:1px solid #537087;border-radius:10px;padding:8px;box-shadow:0 18px 35px #0008;z-index:32}
.account-menu a,.account-logout{display:block;width:100%;padding:11px;border:0;background:none;color:#eff8fa;text-align:left;font:600 .85rem inherit;cursor:pointer;text-decoration:none}
.account-menu a:hover,.account-logout:hover{background:#244056;border-radius:7px;color:#fff}
.campus-login{display:grid;grid-template-columns:minmax(0,1fr) minmax(370px,.8fr);gap:clamp(30px,6vw,110px);align-items:center;min-height:calc(100vh - 180px);padding:45px 0 65px}
.campus-login-art{position:relative;min-height:540px;display:flex;flex-direction:column;justify-content:center;overflow:hidden}
.campus-login-art h1{font-size:clamp(2.35rem,3.7vw,3.5rem);line-height:1.08;letter-spacing:-.045em;max-width:660px;margin:0 0 20px}
.campus-login-art>p{font-size:1.06rem;line-height:1.65;color:#cbd5e1;max-width:500px}
.campus-orbit{margin-top:28px;width:100%;max-width:470px;height:210px;position:relative;display:flex;justify-content:space-between;align-items:center;background:radial-gradient(ellipse at center,#16445b 0%,#102437 40%,transparent 70%);border-top:1px solid #256478;border-radius:100% 100% 0 0}
.campus-orbit:before,.campus-orbit:after{content:'';position:absolute;border:1px solid #2b6578;border-radius:50%;inset:20px 60px}.campus-orbit:after{inset:55px 100px;border-color:#765384}
.campus-orbit strong{font-size:5.5rem;color:#f0fdff;text-shadow:0 0 30px #22d3ee80;z-index:1;letter-spacing:-.1em}
.campus-orbit span{position:relative;z-index:1;padding:9px;border:1px solid #54879a;border-radius:8px;background:#112a3e;font-weight:800;font-size:.7rem;letter-spacing:.12em;color:#bdeff4}
.campus-login-form{padding:clamp(26px,4vw,48px);background:#141e2c;border:1px solid #365069;border-radius:22px;box-shadow:0 24px 70px #0005}
.campus-login-form h2{font-size:clamp(1.75rem,2.5vw,2.2rem);line-height:1.2;margin:0 0 9px}
.campus-login-form>p{color:#cbd5e1;line-height:1.6;margin-bottom:24px}
.campus-login-form .field span{color:#dfe9f4}
.campus-login-form .field input{background:#0a1421;border-color:#45566b;padding:14px}
.campus-login-form form>.button{width:100%;margin-top:8px}
.auth-links{display:flex;justify-content:space-between;gap:16px;margin-top:24px;font-size:.9rem}
.auth-links a,.campus-login-form a{color:#9ee9f4}
.campus-invite-note{background:#183e49;border:1px solid #4b9bad;border-radius:10px;padding:14px;margin:0 0 20px;line-height:1.5}
.campus-welcome{display:flex;justify-content:space-between;gap:30px;align-items:center;padding:58px 0 36px;border-bottom:1px solid #314356}
.campus-welcome h1,.campus-page-head h1{font-size:clamp(2.25rem,3.1vw,2.75rem);line-height:1.12;letter-spacing:-.04em;margin:0 0 12px}
.campus-welcome p,.campus-page-head p{font-size:1.06rem;color:#cbd5e1;line-height:1.6;max-width:730px;margin:0}
.welcome-mark{font-size:5.5rem;font-weight:900;letter-spacing:-.1em;color:#d9f8fa;opacity:.8;line-height:1}
.welcome-mark span{color:#db83e7;font-size:3.5rem}
.campus-dashboard{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(270px,.65fr);gap:28px;align-items:stretch;margin-top:33px}
.continue-course{padding:clamp(26px,3.8vw,48px);background:linear-gradient(120deg,#143846,#18263a 65%,#322341);border:1px solid #437385;border-radius:20px;min-height:340px}
.continue-course h2{font-size:clamp(1.8rem,2.7vw,2.65rem);line-height:1.1;margin:0 0 14px}
.continue-course p{color:#d6e5ed;line-height:1.6;max-width:620px}
.campus-progress-line{display:flex;justify-content:space-between;gap:16px;color:#dbe9f0;margin:27px 0 9px;font-size:.9rem}
.continue-course .button{margin-top:14px}
.campus-next{padding:clamp(26px,3vw,36px);border-left:3px solid #dc8be8;background:#161d30;border-radius:0 16px 16px 0}
.campus-next h2{font-size:1.6rem;line-height:1.25;margin:25px 0 16px}
.campus-next p{color:#cbd5e1;line-height:1.65}.campus-next a{color:#8fe7f1;font-weight:700}
.campus-recent,.campus-more{margin:54px 0}.campus-recent .section-head{display:flex;justify-content:space-between;gap:18px;align-items:center}.campus-recent h2,.campus-more h2{font-size:1.55rem}.campus-recent a{color:#9cebf4}
.recent-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.recent-list a{display:flex;flex-direction:column;gap:8px;padding:21px;background:#162234;border:1px solid #344d62;border-radius:11px;color:#eff8fb}.recent-list small{color:#9fbdc9}.recent-list span{color:#cddae4;font-size:.9rem;line-height:1.5}
.campus-course-row{display:flex;justify-content:space-between;padding:14px;border-bottom:1px solid #324557;color:#e9f6fa}
.campus-empty,.campus-message{max-width:700px;margin:42px auto;padding:42px;background:#142235;border:1px solid #3d6279;border-radius:18px;text-align:center}.campus-empty h2,.campus-message h1{font-size:2rem}.campus-empty p,.campus-message p{color:#d0dce6;line-height:1.7}.campus-message .button{margin-top:15px}.campus-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px;justify-content:center}
.teacher-welcome{background:radial-gradient(circle at 88% 50%,#2d2450,transparent 32%);border-bottom-color:#42536c}.teacher-stats{display:flex;gap:20px;flex-wrap:wrap}.teacher-stats span{display:flex;flex-direction:column;min-width:110px;color:#b9cddb;font-size:.78rem}.teacher-stats strong{font-size:2rem;color:#a5edf3}
.teacher-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:33px 0 52px}.teacher-actions>a{min-height:230px;padding:31px;border:1px solid #355d72;border-radius:16px;background:#132333;color:#f5fbfd;display:flex;flex-direction:column;text-decoration:none}.teacher-actions>a:nth-child(2){background:#1c243a;border-color:#5b4a78}.teacher-actions>a:nth-child(3){background:#102d39}.teacher-actions>a:nth-child(4){background:#282036;border-color:#694e76}.teacher-actions>a:hover{border-color:#79dce9;transform:translateY(-2px)}.teacher-actions span{font-size:.72rem;letter-spacing:.14em;color:#93e8ef;font-weight:800}.teacher-actions h2{font-size:1.7rem;margin:23px 0 8px}.teacher-actions p{color:#cbd9e2;margin:0;line-height:1.5}.teacher-actions strong{margin-top:auto;padding-top:22px;color:#a1ecf2;font-size:.9rem}
.teacher-tools{padding:24px 0 65px;border-top:1px solid #374a5c}.teacher-tools h2{font-size:1.55rem}.teacher-tool-links{display:flex;gap:10px;flex-wrap:wrap}.teacher-tool-links a{padding:11px 15px;border:1px solid #426078;border-radius:9px;color:#d9f3f6;background:#162737;font-weight:700;font-size:.85rem}
.campus-page-head{padding:49px 0 28px}.campus-page-head .back{margin-bottom:20px}.progress-course{max-width:950px;margin:22px 0;padding:30px;background:#152437;border:1px solid #3d6072;border-radius:15px}.progress-course h2{font-size:1.65rem}.progress-facts{display:flex;gap:12px;flex-wrap:wrap;margin:23px 0}.progress-facts span{padding:9px 13px;background:#203749;border-radius:8px;color:#d7e7ed;font-size:.85rem}
.campus-split{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:20px}.invitation-created{border-color:#55b8bf;background:#16363f}.invitation-created input{color:#dffaff}.invitation-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 0;border-top:1px solid #3a4f62}.invitation-row small{display:block;color:#b8c8d5;margin-top:5px}
.academy3-main .lesson-heading{padding:27px 0 22px}.academy3-main .lesson-heading h1{font-size:clamp(2.05rem,3.2vw,2.75rem);line-height:1.11;letter-spacing:-.035em}.academy3-main .lesson-heading p{font-size:1.05rem;line-height:1.6}.lesson-time{display:inline-block;color:#b9d8e2;font-size:.84rem;margin-right:22px}.lesson-notebook-link{display:inline-block;color:#8de5ee;font-weight:700;font-size:.88rem}.academy3-main .study-tabs{overflow-x:visible;flex-wrap:wrap;gap:5px;padding:0 0 13px}.academy3-main .study-tab{flex:1;min-width:115px}.context-help{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.context-help details{flex:1;min-width:220px;padding:12px 15px;border:1px solid #76b6c3;border-radius:9px;background:#e9f5f7;color:#183844}.context-help summary{cursor:pointer;font-weight:800}.context-help p{margin:10px 0 0!important;color:#31515d!important;line-height:1.55}.academy3-main .study-next{display:flex;justify-content:flex-end;gap:10px}.academy3-main .lesson-finish{margin-top:28px;border-top:1px solid #a9c9d0;padding-top:20px}
.lesson-heading-visual{float:right;width:190px;height:127px;object-fit:contain;margin:0 0 10px 24px;padding:5px;background:#102635;border:1px solid #386476;border-radius:11px}
.campus-guest .site-footer{margin-top:0}.campus-authenticated .page-intro h1{font-size:clamp(2.15rem,3.2vw,2.75rem)}.campus-authenticated .course-hero h1{font-size:clamp(2.2rem,3.6vw,3.25rem)}
:focus-visible{outline:3px solid #a3f3f8!important;outline-offset:3px}
@media(max-width:1180px){.site-header .header-inner{gap:12px}.site-header .brand span{font-size:.78rem}.site-header nav{gap:12px}.site-header nav a{font-size:.78rem}.account-menu summary{font-size:.78rem}}
@media(min-width:1181px){.staff-header .menu-toggle{display:none}.staff-header nav{display:flex;position:static;width:auto;max-height:none;overflow:visible;flex-direction:row;align-items:center;padding:0;border:0;border-radius:0;box-shadow:none;background:none}}
@media(max-width:980px){.site-header .menu-toggle{display:block;margin-left:auto}.site-header nav{display:none;position:absolute;top:100%;right:15px;left:auto;width:min(340px,calc(100vw - 30px));background:#122030;border:1px solid #3f6075;border-radius:0 0 12px 12px;padding:12px;flex-direction:column;align-items:stretch;box-shadow:0 22px 35px #0008}.site-header nav.open{display:flex}.site-header nav a{padding:10px;font-size:.96rem}.site-header .account-menu{margin-left:0}.campus-login{grid-template-columns:1fr 1fr;gap:26px}.campus-orbit{height:160px}.campus-dashboard{grid-template-columns:1fr}.campus-next{border-left:0;border-top:3px solid #dc8be8;border-radius:0 0 16px 16px}.campus-split{grid-template-columns:1fr}}
@media(max-width:720px){.site-header .header-inner{flex-wrap:nowrap}.site-header .brand{margin:0;max-width:calc(100% - 155px)}.site-header .brand span{font-size:.7rem}.site-header .menu-toggle{margin-left:auto}.site-header .account-menu{order:3}.site-header .account-menu summary{font-size:.72rem;padding:8px}.site-header nav{order:4;max-height:70vh;overflow-y:auto}.campus-login{display:flex;flex-direction:column;align-items:stretch;padding:22px 0 48px;gap:8px}.campus-login-art{min-height:0}.campus-login-art h1{font-size:2.1rem;margin-bottom:8px}.campus-login-art>p{font-size:.95rem;margin:0}.campus-orbit{display:none}.campus-login-form{padding:24px;margin-top:18px}.campus-welcome{padding:33px 0 24px}.welcome-mark{display:none}.continue-course{min-height:0;padding:25px}.teacher-actions,.recent-list{grid-template-columns:1fr}.teacher-actions>a{min-height:180px}.teacher-stats{display:none}.campus-recent .section-head{display:block}.campus-page-head{padding-top:30px}.academy3-main .study-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}.academy3-main .study-tab{min-width:0;padding:9px 5px;font-size:.7rem}.academy3-main .lesson-heading h1{font-size:clamp(1.9rem,7.7vw,2.5rem)}.lesson-time,.lesson-notebook-link{display:block;margin:8px 0}.academy3-main .study-next{flex-direction:column-reverse}.academy3-main .study-next .button{width:100%}.campus-actions{align-items:stretch}.campus-actions .button{flex:1}}
@media(max-width:390px){.site-header .brand span{font-size:.62rem}.site-header .brand img{width:34px;height:34px}.site-header .account-menu summary{font-size:.67rem}.campus-login-art h1{font-size:1.9rem}}
@media(max-width:720px){.lesson-heading-visual{width:112px;height:82px;margin:0 0 7px 14px}.notebook-intro .course-facts{flex-wrap:wrap}.notebook-intro .hero-actions{display:none}}
@media(prefers-reduced-motion:reduce){.teacher-actions>a,.button{transition:none!important}}
