:root{font-family:'DM Sans',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:#1b2540;background:#f5f7fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}a{color:#405bb0}button,input{font:inherit}.sidebar{position:fixed;z-index:2;inset:0 auto 0 0;width:258px;padding:27px 16px 20px;background:linear-gradient(165deg,#1c284f 0%,#172342 56%,#1b2350 100%);color:#fff;display:flex;flex-direction:column;box-shadow:8px 0 28px #13274b0b}.brand{display:flex;gap:12px;align-items:center;margin:0 5px 43px;text-decoration:none;color:white}.brand img{height:48px;width:48px;object-fit:contain;background:white;border-radius:50%;padding:4px;box-shadow:0 6px 16px #080f29a1}.brand span{line-height:1.2}.brand b{display:block;letter-spacing:.045em;font-size:14px}.brand small{display:block;color:#aab8db;font-size:10px;letter-spacing:.14em;margin-top:6px;font-weight:700}.sidebar-label{font-size:10px;letter-spacing:.18em;color:#8d9dc5;font-weight:800;padding:0 17px 13px}.nav-list{display:grid;gap:5px}.nav-list a{border-radius:11px;padding:12px 14px;display:flex;align-items:center;gap:12px;color:#bac6e3;text-decoration:none;font-size:13px;font-weight:700;transition:background .15s,color .15s}.nav-list a:hover{background:#ffffff13;color:#fff}.nav-list a.active{background:#6273d4;color:white;box-shadow:0 9px 22px #040e3350}.nav-icon{font-size:20px;line-height:1;width:22px;text-align:center;font-weight:500}.sidebar-bottom{margin-top:auto}.sidebar-help{border:1px solid #ffffff20;border-radius:12px;background:#ffffff0b;padding:15px}.sidebar-help span{font-size:11px;font-weight:800;color:#9de7d5;letter-spacing:.12em}.sidebar-help small{display:block;font-size:11px;line-height:1.5;color:#afbddd;margin-top:8px}.logout{border:0;color:#b4c2df;background:transparent;text-align:left;font-weight:700;width:100%;padding:15px;cursor:pointer;margin:8px 0 0}.logout:hover{color:white}.admin-main{margin-left:258px;padding:0 38px 48px;max-width:1700px}.student-main{max-width:960px;padding:0 25px 40px;margin:auto}.topbar{height:83px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5e9f2;margin-bottom:33px}.topbar div:first-child{display:grid;gap:3px}.topbar-kicker{font-size:10px;color:#8b99b6;font-weight:800;letter-spacing:.16em}.topbar strong{font-size:14px}.topbar-user{display:flex;gap:10px;align-items:center;color:#62708d;font-size:12px;font-weight:700}.status-dot{height:8px;width:8px;background:#24bb8b;border-radius:50%;box-shadow:0 0 0 4px #d8f7e9}.avatar{height:34px;width:34px;border-radius:50%;background:#dfe6ff;color:#4056af;display:grid;place-items:center;font-size:12px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:27px}.eyebrow{display:block;color:#6479c4;font-size:10px;letter-spacing:.19em;font-weight:800;margin-bottom:10px}.page-heading h1{margin:0;font-size:30px;letter-spacing:-.04em;line-height:1.15}.page-heading p{margin:8px 0 0;color:#8090a8;font-size:13px}.heading-pill{white-space:nowrap;background:#e9f5f0;color:#188869;border:1px solid #d5ecdf;padding:10px 14px;border-radius:50px;font-size:11px;font-weight:800}.card{background:#fff;border:1px solid #e8edf5;border-radius:16px;padding:26px;box-shadow:0 9px 28px #20335d08;margin-bottom:20px}.card h2{font-size:17px;letter-spacing:-.025em;margin:0}.card p{color:#7d8aa3;line-height:1.6;font-size:13px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:17px}.stats .stat{position:relative;min-height:176px;margin:0;overflow:hidden}.stat:after{content:'';position:absolute;right:-20px;top:-30px;width:115px;height:115px;border-radius:50%;background:currentColor;opacity:.035}.stat-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:currentColor;font-size:22px;margin-bottom:18px}.stat-icon:first-letter{color:white}.stat strong{display:block;font-size:27px;letter-spacing:-.06em;line-height:1;color:#1c2949}.stat strong em{font-size:16px;font-style:normal;color:#a1acc0}.stat span{display:block;color:#495574;font-size:12px;font-weight:800;margin-top:8px}.stat small{color:#9aa7bc;font-size:11px}.stat.purple{color:#7766dd}.stat.blue{color:#5595e6}.stat.amber{color:#e6ac54}.stat.green{color:#42b994}.dashboard-columns{display:grid;grid-template-columns:1.45fr 1fr;gap:20px;margin-top:24px}.dashboard-columns .card{margin:0}.feature-card>p{margin:10px 0 21px}.steps{display:grid;gap:20px}.steps>div{display:flex;gap:13px;align-items:center}.steps b{display:grid;place-items:center;background:#edf0ff;color:#576cd0;width:33px;height:33px;flex:none;border-radius:9px;font-size:11px}.steps strong{display:block;font-size:12px}.steps small{display:block;color:#92a0b7;margin-top:4px;font-size:11px}.quick-card a{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid #eef1f6;text-decoration:none;font-size:12px;color:#475777;font-weight:800}.quick-card a b{font-size:16px;color:#6a78c9}.quick-card a:last-child{border:0}.section-head{display:flex;gap:14px;align-items:center;padding-bottom:20px;border-bottom:1px solid #edf0f5;margin-bottom:20px}.section-head p{margin:4px 0 0}.section-icon{height:43px;width:43px;flex:none;border-radius:12px;background:#eeeaff;color:#6750b5;display:grid;place-items:center;font-size:21px}.blue-icon{color:#4085c9;background:#e9f4ff}.config-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}.config-grid>.card{align-self:start}.info-box{background:#f3f5ff;color:#5b6990;border-left:3px solid #8293e3;padding:15px 16px;border-radius:8px;font-size:12px;line-height:1.65;margin-bottom:19px}.info-box b{color:#3a4e85}.url-box{background:#f5f7fb;border:1px solid #e9edf5;border-radius:11px;padding:13px 15px;margin:14px 0 17px;overflow-wrap:anywhere}.url-box span{display:block;font-size:10px;letter-spacing:.14em;font-weight:800;color:#91a0ba;margin-bottom:6px}.url-box code,.url-box a{font:600 12px/1.5 ui-monospace,monospace;color:#4763b5}.card label{display:block;font-size:12px;font-weight:800;color:#43516f;margin:17px 0}.card label small{display:block;font-weight:500;color:#9aa6bb;font-size:11px;line-height:1.5;margin-top:7px}.muted{font-weight:500;color:#a4afc1}.card input:not([type=hidden]){display:block;border:1px solid #dfe5ee;background:#fbfcff;border-radius:9px;outline:0;padding:11px 13px;margin-top:8px;width:100%;color:#27334e}.card input:not([type=hidden]):focus{border-color:#778ce5;box-shadow:0 0 0 3px #8396ef22}.card input[type=file]{padding:12px;background:#f7f9fd}.card button,.button{border:0;border-radius:9px;background:#596fc9;color:white;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:15px;padding:12px 18px;font-weight:800;font-size:12px;cursor:pointer;margin-top:4px}.card button:hover,.button:hover{background:#465eb8;color:#fff}.file-status{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #eef1f6;margin-top:15px;font-size:11px;color:#8491a9}.file-status b{color:#269f7c}.hint{color:#98a3b6;font-size:11px;line-height:1.6}.hash{overflow-wrap:anywhere}.links-card{padding:26px 28px}.exam-link-row{display:flex!important;gap:16px;align-items:center;padding:15px 0;border-bottom:1px solid #edf0f5;margin:0!important}.exam-number{width:44px;height:44px;border-radius:11px;background:#ecf0ff;color:#596aca;display:grid;place-items:center;flex:none}.exam-input{flex:1;min-width:0}.exam-input strong{display:block;font-size:13px}.exam-input small{margin:2px 0!important}.exam-input input{margin-top:8px!important}.row-status{background:#ebf6f0;color:#279b70;border-radius:50px;padding:6px 10px;font-size:10px;white-space:nowrap}.form-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:25px;color:#91a0b6;font-size:11px}.qr-layout{display:grid;grid-template-columns:315px 1fr;gap:35px;padding:9px 0;align-items:center}.qr-frame{background:#f7f9fe;border:1px solid #e9edf6;border-radius:16px;padding:25px 25px 17px;text-align:center}.qr-frame #qrcode{width:258px;min-height:258px;display:grid;place-items:center;background:white;border-radius:12px;padding:10px;margin:auto}.qr-frame #qrcode img{max-width:100%}.qr-frame>span{display:block;margin-top:15px;color:#8594ae;font-size:9px;letter-spacing:.12em;font-weight:800}.qr-instructions h2{margin-bottom:23px}.qr-instructions .url-box{margin-top:24px}.empty-state{text-align:center;padding:35px 10px}.empty-state>div{font-size:40px;color:#778bdc}.empty-state p{max-width:400px;margin:10px auto 18px}.alert{background:#fef4db;border-left:4px solid #e5af3f;padding:14px 16px;border-radius:8px;font-size:13px;margin-bottom:18px;color:#6e5629}.narrow{max-width:520px;margin:45px auto}.student-main .card label{margin:20px 0}.student-main h1{font-size:27px}.ghost{background:#e9edfa!important;color:#43588b!important}@media(max-width:1100px){.config-grid,.dashboard-columns{grid-template-columns:1fr}.qr-layout{gap:20px}}@media(max-width:720px){.sidebar{position:static;width:100%;padding:14px}.brand{margin:0 0 14px}.brand img{height:40px;width:40px}.sidebar-label,.sidebar-help,.logout{display:none}.nav-list{display:flex;overflow-x:auto;padding-bottom:2px}.nav-list a{font-size:11px;white-space:nowrap;padding:10px}.nav-icon{font-size:16px;width:auto}.admin-main{margin:0;padding:0 17px 32px}.student-main{padding:0 17px 32px}.topbar{height:70px;margin-bottom:24px}.topbar-user{font-size:0}.page-heading{align-items:flex-start}.page-heading h1{font-size:24px}.heading-pill{display:none}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.stats .stat{padding:17px;min-height:160px}.stat strong{font-size:23px}.card{padding:20px}.qr-layout{grid-template-columns:1fr}.qr-frame{max-width:320px}.form-actions{align-items:stretch;flex-direction:column}.row-status{display:none}.exam-link-row{gap:10px}}@media(max-width:380px){.grid{grid-template-columns:1fr}.topbar strong{font-size:12px}}

/* Student exam workspace */
.student-main.exam-mode{max-width:none;width:100%;padding:0 22px 22px}.exam-mode .topbar{margin-bottom:12px}.exam-toolbar{position:sticky;top:0;z-index:20;background:#fff;border:1px solid #e5e9f2;border-radius:15px;box-shadow:0 8px 24px rgba(18,34,66,.12);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;margin-bottom:10px}.exam-toolbar h1{font-size:20px;margin:2px 0 0}.exam-back{font-size:13px}.exam-exit-button{background:#aa2842;white-space:nowrap;margin:0}.exam-exit-panel{position:sticky;top:76px;z-index:21;max-width:500px;margin:0 0 10px auto;padding:20px;background:white;border:1px solid #dde4f1;border-radius:15px;box-shadow:0 12px 30px rgba(18,34,66,.18)}.exam-exit-panel[hidden]{display:none}.exam-exit-panel label{display:block}.exam-exit-panel input{width:100%}.exam-exit-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.exam-exit-actions button{margin:0}.exam-exit-panel small{display:block;margin-top:12px}.exam-exit-panel #exam-exit-message{color:#aa2842;font-weight:600}.exam-frame-wrap{border:1px solid #e5e9f2;border-radius:12px;overflow:hidden;background:#fff}.exam-frame{display:block;width:100%;height:calc(100dvh - 205px);min-height:480px;border:0}.exam-help{font-size:12px;line-height:1.5;margin:10px 0}.exam-fallback{max-width:650px;margin:20px auto}.exam-fallback .button{margin-top:12px}@media(max-width:600px){.student-main.exam-mode{padding:0 10px 14px}.exam-mode .topbar{margin-bottom:8px}.exam-toolbar{border-radius:10px;padding:9px 11px}.exam-toolbar h1{font-size:15px}.exam-back{font-size:11px}.exam-exit-button{font-size:12px;padding:10px}.exam-exit-panel{top:62px;padding:15px}.exam-frame{height:calc(100dvh - 175px);min-height:400px}}

/* Mobile student experience */
.student-main:has(.student-login),.student-main:has(.student-hub),.student-main:has(.orientation-screen){max-width:480px;min-height:100dvh;padding:0;background:#fff}.student-main:has(.student-login) .topbar,.student-main:has(.student-hub) .topbar,.student-main:has(.orientation-screen) .topbar{display:none}.student-login{min-height:100dvh;position:relative;overflow:hidden;background:#fff;display:flex;justify-content:center;align-items:center;padding:48px 25px}.login-wave{position:absolute;top:-42px;left:-65px;right:-22px;height:185px;background:linear-gradient(112deg,#f9d836,#e66998 63%,#804ce6);border-radius:0 0 58% 32%;transform:rotate(-5deg)}.login-wave-bottom{position:absolute;left:-85px;bottom:-65px;width:220px;height:235px;border-radius:46% 60% 0 0;background:linear-gradient(140deg,#cd50c6,#6739d7);transform:rotate(-18deg)}.login-content{width:100%;position:relative;z-index:1;margin-top:-20px;text-align:center}.school-logo{width:116px;height:116px;object-fit:contain;margin-bottom:22px}.login-kicker{font-size:10px;font-weight:800;letter-spacing:.16em;color:#8f85d6}.login-content h1{font-size:27px;line-height:1.22;color:#7772ea;margin:8px auto 13px;letter-spacing:-.04em}.login-content p{color:#797d92;font-size:13px;line-height:1.6;margin:0 auto 25px;max-width:300px}.login-content form{text-align:left}.login-content label{font-size:12px;font-weight:800;color:#66648a}.login-content input{width:100%;height:46px;border:2px solid #a09afd;border-radius:30px;margin:8px 0 15px;padding:0 18px;outline:none}.login-content button{display:block;margin:0 0 0 auto;border:0;border-radius:10px;background:#8278f8;color:white;padding:13px 22px;box-shadow:0 9px 16px #6e63d749;font-size:12px;font-weight:800;cursor:pointer}.login-admin-link{display:block;margin:26px auto;font-size:11px;color:#827aa4}.student-hub{min-height:100dvh;background:linear-gradient(#8275f9 0,#8175f4 340px,#fff 340px);padding:27px 18px 40px;border-radius:0 0 30px 30px}.hub-hero{color:white;position:relative;padding:20px 6px 28px}.hub-sun{font-size:30px;display:block;margin-bottom:16px}.hub-small{font-size:10px;letter-spacing:.13em;font-weight:800}.student-hub h1{font-size:25px;margin:5px 0}.hub-hero p{font-size:12px;line-height:1.5;max-width:320px;margin:0}.hub-banner{border-radius:18px;min-height:132px;background:linear-gradient(125deg,#70c4f3,#4c83d8 55%,#bbd28b);box-shadow:0 12px 20px #44418e29;display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center;color:white;margin:12px 0 31px;padding:16px}.hub-banner img{width:38px;height:38px;object-fit:contain;background:#fff;border-radius:50%;padding:2px}.hub-banner strong{font-size:22px;line-height:1.04;letter-spacing:.02em;text-shadow:0 2px 3px #15447b}.hub-banner span{font-size:10px;margin-top:7px}.hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 10px}.hub-tile{text-align:center;color:#3f405d;text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:10px}.hub-tile span{display:grid;place-items:center;width:74px;height:70px;border-radius:18px;background:#8379f5;box-shadow:0 8px 16px #8c7fef34;color:#fff;font-size:34px}.hub-tile strong{font-size:10px}.hub-tile small{font-size:9px;color:#81849b;line-height:1.3}.hub-unavailable{opacity:.52}.hub-exit{display:block;width:max-content;margin:42px auto 0;color:#6f65c8;font-size:12px}.orientation-screen{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px;background:#fff}.orientation-label{font-size:10px;font-weight:800;color:#8680c5;letter-spacing:.15em}.orientation-screen h1{font-size:17px;margin:8px 0}.orientation-screen p{color:#8a92a6;font-size:12px}.orientation-options{display:flex;gap:18px;margin:28px 0 40px}.orientation-options a{display:flex;flex-direction:column;align-items:center;gap:5px;color:#5c528e;text-decoration:none;font-size:11px}.orientation-options span{display:grid;place-items:center;width:72px;height:72px;border-radius:16px;background:#887af6;color:#fff;font-size:43px}.orientation-options small{color:#9692ae}.orientation-screen>a{font-size:11px}.student-main.exam-mode{background:#fff;padding:0;min-height:100dvh}.exam-mode .topbar{display:none}.exam-toolbar{height:55px;margin:0;padding:7px 14px;background:#14161b;border:0;border-radius:0;color:white;box-shadow:none}.exam-toolbar-title{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;min-width:0}.exam-toolbar-title img{width:28px;height:28px;object-fit:contain;background:white;border-radius:50%;padding:1px}.exam-toolbar-title span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.exam-toolbar-actions{display:flex;gap:7px;flex:none}.exam-toolbar-actions button{width:auto;min-width:38px;height:36px;border:1px solid #696b74;border-radius:20px;background:#252730;color:#fff;font-size:22px;cursor:pointer;margin:0;padding:0 9px}.exam-toolbar-actions .exam-exit-button{background:#aa344d;border-color:#aa344d;font-size:12px;font-weight:800}.exam-exit-panel{top:55px;margin:0;padding:15px;border-radius:0 0 14px 14px;background:#f9f9fc;max-width:none}.exam-exit-panel label{font-weight:800;font-size:12px;margin-bottom:5px}.exam-exit-panel input{border:1px solid #babdd0;border-radius:18px;padding:12px;background:#fff}.exam-exit-actions{margin-top:9px}.exam-exit-actions button{border:0;border-radius:9px;background:#aa344d;color:#fff;padding:10px;font-weight:800;cursor:pointer}.exam-frame-wrap{border:0;border-radius:0}.exam-frame{height:calc(100dvh - 55px);min-height:400px}.exam-help{padding:0 14px}.exam-fallback{margin:16px}@media(max-width:600px){.exam-toolbar{height:53px;padding:7px 10px}.exam-toolbar-title{font-size:11px}.exam-toolbar-actions .exam-exit-button span{display:none}.exam-exit-panel{top:53px}.exam-frame{height:calc(100dvh - 53px);min-height:400px}.student-hub{padding-left:15px;padding-right:15px}.hub-tile span{width:68px;height:65px}}

/* Configurable portal identity */
.branding-card{margin-top:22px;max-width:1020px}.branding-card form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;align-items:start}.branding-card button{justify-self:start}.branding-preview{display:block;object-fit:contain;max-width:100%;background:#f7f9fd;border:1px solid #e8edf5;border-radius:11px;padding:8px;align-self:center}.branding-slider{width:300px;aspect-ratio:1050/520;object-fit:cover}.branding-logo{width:96px;height:96px}.hub-banner-image{padding:0;overflow:hidden;background:#fff;display:block;min-height:0}.hub-banner-image .hub-banner-click{display:block}.hub-banner img.hub-slider{display:block;width:100%;height:auto;aspect-ratio:1050/520;object-fit:cover;padding:0;border-radius:0;background:none}.hub-developer{text-align:center;font-size:11px;color:#7a75ae;margin:34px 0 0}.hub-developer+.hub-exit{margin-top:16px}@media(max-width:720px){.branding-card form{grid-template-columns:1fr}.branding-slider{width:100%}}
