*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Arial,Helvetica,sans-serif;color:#25364a;background:#eef2f6}body{min-height:100vh}.page{min-height:100vh;background:linear-gradient(180deg,#eef3f7 0,#f8fafc 55%,#e9eef3 100%)}.top{height:78px;background:#fff;border-bottom:1px solid #d9e0e7;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.06)}.top-inner{width:min(1080px,94%);display:flex;align-items:center;gap:15px}.school-logo{width:50px;height:50px;object-fit:contain;border-radius:5px}.school-logo.fallback{display:grid;place-items:center;background:#1265b0;color:#fff;font-weight:900;font-size:23px}.school-title{font-size:18px;font-weight:700;color:#1e2d3d}.school-sub{font-size:11px;color:#7b8794;margin-top:3px}.card{width:min(510px,92%);margin:42px auto;background:#fff;border:1px solid #dbe2e9;box-shadow:0 8px 28px rgba(30,45,61,.12);border-radius:5px;overflow:hidden}.card-head{background:linear-gradient(180deg,#1875c7,#0d5fa8);color:#fff;text-align:center;padding:20px 18px}.card-head h1{font-size:21px;margin:0 0 5px}.card-head p{font-size:12px;margin:0;opacity:.9}.card-body{padding:25px 28px}.welcome{text-align:center;margin-bottom:22px}.welcome h2{font-size:18px;margin:0 0 5px;color:#33485c}.welcome p{font-size:12px;color:#8491a0;margin:0}.field{margin:15px 0}.field label{display:block;font-size:11px;font-weight:700;color:#526273;margin-bottom:7px}.input{width:100%;height:44px;border:1px solid #cfd8e1;border-radius:3px;padding:0 12px;font-size:14px;outline:0;background:#fff}.input:focus{border-color:#1681d4;box-shadow:0 0 0 2px rgba(22,129,212,.12)}.btn{border:0;border-radius:3px;height:44px;padding:0 20px;font-weight:700;cursor:pointer}.primary{width:100%;background:#0875c1;color:#fff}.primary:hover{background:#0565aa}.secondary{background:#edf1f5;color:#415365}.danger{background:#d9534f;color:#fff}.error{padding:11px 12px;border-radius:3px;background:#fff0ef;border:1px solid #f2c2bf;color:#b52b27;font-size:12px;margin:12px 0}.hint{text-align:center;color:#8a96a3;font-size:11px;margin-top:16px}.confirm-card{width:min(720px,94%);margin:28px auto;background:#fff;border:1px solid #d8e0e8;border-radius:5px;box-shadow:0 8px 28px rgba(30,45,61,.12);overflow:hidden}.confirm-head{background:#1269b0;color:#fff;padding:17px 20px}.confirm-head h2{margin:0;font-size:18px}.confirm-head p{margin:4px 0 0;font-size:11px;opacity:.9}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table td{padding:11px 13px;border-bottom:1px solid #edf0f3}.data-table td:first-child{width:35%;font-weight:700;color:#617182;background:#fafbfd}.token-box{margin:18px;padding:18px;border:1px solid #dbe3eb;background:#f8fafc;border-radius:4px}.token-box h3{margin:0 0 8px;font-size:15px;color:#33485c}.token-box p{font-size:11px;color:#7d8996;margin:0 0 12px}.token-input{height:50px;text-align:center;font-size:24px;font-weight:800;letter-spacing:7px;text-transform:uppercase;border:1px solid #bfcbd7;border-radius:3px;width:100%}.actions{display:flex;justify-content:flex-end;gap:8px;padding:0 18px 20px}.actions .btn{min-width:130px}.footer{text-align:center;color:#8b96a1;font-size:10px;padding:0 10px 20px}.loading{text-align:center;padding:70px;color:#728091}@media(max-width:600px){.top{height:68px}.top-inner{width:94%}.school-title{font-size:14px}.card{margin:22px auto}.card-body{padding:20px}.confirm-card{margin:15px auto}.actions{flex-direction:column}.actions .btn{width:100%}.token-input{font-size:20px;letter-spacing:5px}}

/* STUDENT PORTAL REDESIGN — responsive, school identity driven */
.student-page{min-height:100vh;position:relative;overflow-x:clip;overflow-y:visible;background:linear-gradient(145deg,#f4f8fd 0%,#edf4fb 48%,#f9fbfe 100%);color:#18334f;padding:0 24px 18px}
.student-background-glow{position:absolute;right:-150px;top:170px;width:440px;height:440px;border-radius:50%;background:radial-gradient(circle,#cfe7ff88,transparent 70%);pointer-events:none}
.student-top{position:relative;z-index:2;max-width:1180px;margin:0 auto;height:88px;border-bottom:1px solid #dce7f2;display:flex;align-items:center}
.student-top-inner{display:flex;align-items:center;gap:14px;width:100%}.student-top .school-logo{width:50px;height:50px;border-radius:14px;background:#fff;border:1px solid #e0eaf5;padding:5px;box-shadow:0 5px 16px #153d6810}.student-top .school-logo.fallback{display:grid;place-items:center;background:#155d9d;color:white;font-size:22px;font-weight:900}.student-brand-copy{min-width:0}.student-brand-copy .school-title{font-size:14px;letter-spacing:.04em;color:#153b63}.student-brand-copy .school-sub{font-size:9px;font-weight:800;letter-spacing:.15em;color:#7d91a8;margin-top:6px}.student-top-status{margin-left:auto;display:flex;align-items:center;gap:8px;color:#39719e;font-size:10px;font-weight:800;letter-spacing:.12em;white-space:nowrap}.student-top-status i{width:7px;height:7px;background:#18b981;border-radius:50%;box-shadow:0 0 0 4px #18b98118}
.student-main{max-width:1180px;margin:26px auto 34px;position:relative;z-index:1}.student-hero{height:238px;position:relative;overflow:hidden;border-radius:24px;background:linear-gradient(115deg,#071d38,#0e4d82 62%,#217cb8);box-shadow:0 18px 48px #173d631a}.student-banner-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.35}.student-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#061b35f2 0%,#0a3d6bce 58%,#0d568e52 100%)}.student-hero-copy{position:relative;z-index:1;height:100%;display:flex;flex-direction:column;justify-content:center;padding:32px clamp(24px,5vw,60px);max-width:760px;color:#fff}.student-kicker{font-size:10px;font-weight:800;letter-spacing:.2em;color:#9fd8ff}.student-hero-copy h1{font-size:clamp(28px,4vw,43px);line-height:1.12;letter-spacing:-.04em;margin:13px 0 10px}.student-hero-copy h1 em{font-style:normal;color:#8dd4ff}.student-hero-copy p{font-size:12px;line-height:1.8;color:#d0e5f6;margin:0;max-width:540px}.student-hero-logo{position:absolute;right:clamp(22px,5vw,58px);top:50%;transform:translateY(-50%);width:104px;height:104px;border-radius:26px;border:1px solid #ffffff55;background:#ffffffed;box-shadow:0 16px 42px #031b352e;display:grid;place-items:center;padding:9px}.student-hero-logo .school-logo{width:100%;height:100%;object-fit:contain;border-radius:13px}.student-hero-logo .school-logo.fallback{display:grid;place-items:center;background:#155d9d;color:#fff;font-size:42px;font-weight:900}
.student-login-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,460px);align-items:center;gap:clamp(28px,7vw,88px);padding:25px clamp(8px,3vw,35px) 10px}.student-login-intro{padding:18px 0}.student-step{display:flex;align-items:center;gap:12px;color:#2b75ae;font-size:10px;font-weight:900;letter-spacing:.16em}.student-step i{height:1px;width:42px;background:#91bfdf}.student-login-intro h2{font-size:clamp(30px,4vw,46px);line-height:1.13;letter-spacing:-.045em;color:#163858;margin:20px 0 13px}.student-login-intro h2 em{font-style:normal;color:#2479b8}.student-login-intro>p{font-size:13px;line-height:1.9;color:#71859b;max-width:470px;margin:0}.student-info-points{display:grid;gap:14px;margin-top:30px}.student-info-points>div{display:flex;align-items:center;gap:13px;color:#47617d;font-size:12px;font-weight:650}.student-info-points b{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#e0effc;color:#1d70ad;font-size:10px}
.student-page .card{width:100%;margin:0;border:1px solid #e0e9f2;border-radius:22px;box-shadow:0 22px 60px #193e6417;overflow:hidden}.student-page .card-head{background:linear-gradient(145deg,#fff,#f6faff);color:#173d61;text-align:left;padding:26px 28px 21px;border-bottom:1px solid #edf2f7}.student-card-icon{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;background:#e1f0ff;color:#1c70b1;font-size:23px;margin-bottom:16px}.student-card-kicker{font-size:9px;font-weight:900;letter-spacing:.17em;color:#3884bc;margin-bottom:7px}.student-page .card-head h1{font-size:25px;letter-spacing:-.035em;margin:0 0 7px;color:#173957}.student-page .card-head p{font-size:12px;line-height:1.7;color:#8191a4;margin:0;opacity:1}.student-page .card-body{padding:22px 28px 27px}.student-page .field{margin:16px 0}.student-page .field label{font-size:10px;letter-spacing:.09em;color:#526c86;font-weight:900}.student-input-wrap{position:relative}.student-input-wrap>span{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:15px;color:#829ab1}.student-page .input{height:49px;border-radius:11px;border-color:#dce6ef;background:#fbfdff;padding:0 13px 0 42px;font-size:13px}.student-page .input:focus{border-color:#3887c5;box-shadow:0 0 0 4px #3887c51a;background:#fff}.student-page .btn.primary{height:50px;display:flex;align-items:center;justify-content:space-between;padding:0 17px;border-radius:11px;background:linear-gradient(105deg,#15588f,#247db9);box-shadow:0 9px 19px #145a9226;font-size:11px;letter-spacing:.1em;margin-top:20px}.student-page .btn.primary span{font-size:20px;font-weight:400}.student-page .btn.primary:disabled{opacity:.65}.student-page .hint{display:flex;align-items:center;justify-content:center;gap:7px;line-height:1.7;color:#8293a5;font-size:10px;margin-top:16px}.student-page .hint span{font-size:8px;color:#16b981}.student-page .error{border-radius:10px;padding:12px;font-size:12px;line-height:1.6}.student-footer{max-width:1180px;margin:0 auto;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid #dce7f2;padding:17px 0 0;color:#70849a;font-size:10px}.student-footer span:first-child{font-weight:800;color:#365674;letter-spacing:.04em}
/* Preserve a polished matching identity on the token confirmation screen */
.student-page .confirm-card{border:1px solid #e0e9f2;border-radius:20px;box-shadow:0 20px 55px #193e6415;margin:30px auto}.student-page .confirm-head{background:linear-gradient(115deg,#0b3158,#176fa8);padding:23px 25px}.student-page .confirm-head h2{font-size:17px;letter-spacing:.02em}.student-page .data-table td{padding:13px 16px}.student-page .token-box{border:1px solid #dce8f4;border-radius:14px;background:#f6faff;padding:20px}.student-page .token-input{border-radius:10px;border-color:#c9d9e8}.student-page .actions .btn{border-radius:10px}
@media(max-width:850px){.student-page{padding:0 16px 16px}.student-hero{height:220px}.student-hero-logo{width:78px;height:78px;right:24px;border-radius:20px}.student-hero-copy{padding-right:115px}.student-login-layout{grid-template-columns:1fr;gap:18px;padding:22px 0}.student-login-intro{padding:0 8px}.student-login-intro h2{font-size:32px;margin:12px 0 9px}.student-info-points{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px}.student-info-points>div{align-items:flex-start;font-size:10px;line-height:1.5;gap:8px}.student-info-points b{flex:none;width:27px;height:27px}.student-page .card{max-width:560px;margin:0 auto}.student-footer{font-size:9px}}
/* Jadwal ujian dan empty state peserta */
.student-top,.student-footer{position:relative;top:auto;bottom:auto;flex-shrink:0}
/* FIX: header dan footer portal siswa tetap di tempat; hanya area isi yang bergulir */
html,body{height:100%;min-height:0;overflow:hidden}
.student-page{height:100vh;height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column;padding-bottom:0}
.student-top{flex:0 0 88px;height:88px;min-height:88px}
.student-main{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;margin:0 auto;width:100%;padding-top:26px;padding-bottom:24px}
.student-footer{flex:0 0 auto;width:100%;padding-bottom:14px;background:transparent}
@media(max-width:850px){.student-top{flex-basis:72px;height:72px;min-height:72px}.student-main{padding-top:18px;padding-bottom:18px}}
@media(max-width:520px){.student-top{flex-basis:72px;height:72px;min-height:72px}.student-main{padding-top:15px;padding-bottom:14px}.student-footer{padding-top:10px;padding-bottom:10px}}
/* Hilangkan badge/branding platform yang tampil di atas antarmuka aplikasi */
/* Hapus badge promosi platform di semua ukuran layar */
a[href*="hatchable.com"][href*="utm_source=badge"],
a[href*="utm_content=e-ujian-smk-mibs-fm72"],
iframe[title*="Hatchable" i],
[id*="hatchable-badge" i],[class*="hatchable-badge" i],
[id*="built-on-hatchable" i],[class*="built-on-hatchable" i],
[data-hatchable-branding],[data-testid*="hatchable-badge" i]{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;overflow:hidden!important}

/* FULL-VIEWPORT LAYOUT: gunakan lebar layar, bukan membatasi seluruh portal ke 1180px */
html,body,#app{width:100%;max-width:none;margin:0;padding:0}
.student-page{width:100%;max-width:none;margin:0;padding:0;min-height:100vh;min-height:100dvh;height:100vh;height:100dvh;overflow:hidden}
.student-top{width:100%;max-width:none;margin:0;padding:0 clamp(18px,4vw,64px);flex:0 0 88px;height:88px;min-height:88px}
.student-top-inner{width:100%;max-width:1600px;margin:0 auto}
.student-main{width:100%;max-width:none;margin:0;padding:clamp(18px,2.5vh,30px) clamp(18px,4vw,64px) 28px;flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden}
.student-hero{width:100%;height:clamp(190px,27vh,270px);border-radius:clamp(14px,1.8vw,24px)}
.student-login-layout{width:100%;max-width:1600px;margin:0 auto;grid-template-columns:minmax(0,1fr) minmax(360px, min(42vw,520px));gap:clamp(28px,6vw,100px);padding:clamp(24px,4vh,46px) clamp(8px,2vw,28px) 26px}
.student-login-intro{max-width:760px}
.student-page .card{width:100%;max-width:620px;justify-self:end}
.student-footer{width:100%;max-width:none;margin:0;padding:13px clamp(18px,4vw,64px) 14px;flex:0 0 auto;}
.student-footer span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:850px){.student-top{flex-basis:72px;height:72px;min-height:72px;padding-inline:18px}.student-main{padding:18px 18px 20px}.student-hero{height:clamp(180px,25vh,230px)}.student-login-layout{grid-template-columns:1fr;max-width:700px;gap:20px;padding:24px 0}.student-page .card{max-width:620px;justify-self:stretch}.student-footer{padding:11px 18px 12px}}
@media(max-width:520px){.student-top{flex-basis:68px;height:68px;min-height:68px;padding-inline:14px}.student-main{padding:14px 14px 16px}.student-hero{height:180px}.student-login-layout{padding:18px 0;gap:18px}.student-login-intro h2{font-size:clamp(26px,7vw,32px)}.student-footer{padding:9px 14px 10px;font-size:9px;gap:6px}.student-footer span{white-space:normal}}
@media(min-width:851px) and (max-height:800px){.student-main{padding-top:12px;padding-bottom:12px}.student-hero{height:clamp(150px,23vh,210px)}.student-login-layout{padding-top:18px;padding-bottom:12px}.student-login-intro h2{font-size:clamp(28px,3.2vw,40px);margin:14px 0 9px}.student-info-points{gap:9px;margin-top:18px}.student-page .card-head{padding:18px 24px 15px}.student-page .card-body{padding:16px 24px 18px}.student-page .field{margin:11px 0}.student-page .input{height:44px}.student-page .btn.primary{height:46px;margin-top:13px}.student-footer{padding-top:8px;padding-bottom:8px}}
.student-page .confirm-card{overflow:visible}
.confirm-eyebrow{display:block;font-size:9px;font-weight:900;letter-spacing:.18em;color:#9bd7ff;margin-bottom:7px}
.exam-schedules{padding:22px 22px 4px}
.exam-section-title>span,.exam-empty-kicker{font-size:9px;font-weight:900;letter-spacing:.18em;color:#3b83b8}
.exam-section-title h3{font-size:21px;letter-spacing:-.03em;color:#173957;margin:7px 0}
.exam-section-title p{font-size:12px;line-height:1.7;color:#788da2;margin:0 0 16px}
.exam-schedule-list{display:grid;gap:12px}
.exam-schedule-card{border:1px solid #dfeaf4;border-radius:14px;padding:17px;background:linear-gradient(145deg,#fff,#f8fbff)}
.exam-schedule-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.exam-status{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.07em}
.exam-status.upcoming{background:#fff4d9;color:#94620a}
.exam-status.active{background:#dff8ec;color:#087849}
.exam-status.finished{background:#edf1f5;color:#627386}
.exam-code{font-size:10px;color:#8195a9;font-weight:800}
.exam-schedule-card h4{font-size:17px;line-height:1.35;color:#173957;margin:0 0 4px}
.exam-subject{font-size:11px;font-weight:700;color:#477ca5;margin:0 0 15px}
.exam-schedule-meta{display:grid;grid-template-columns:1.3fr 1fr .7fr;gap:9px}
.exam-schedule-meta>div{min-width:0;padding:10px;border-radius:9px;background:#eef5fc}
.exam-schedule-meta span{display:block;font-size:8px;font-weight:900;letter-spacing:.1em;color:#7a90a6;margin-bottom:6px}
.exam-schedule-meta b{display:block;font-size:11px;line-height:1.5;color:#294b6c;overflow-wrap:anywhere}
.exam-status-note{font-size:11px;line-height:1.65;color:#71869a;margin:12px 0 0}
.exam-empty{margin:22px;padding:28px 22px;text-align:center;border:1px dashed #c5d8e9;border-radius:16px;background:linear-gradient(145deg,#f9fcff,#eff7ff)}
.exam-empty-icon{width:48px;height:48px;display:grid;place-items:center;margin:0 auto 14px;border-radius:15px;background:#dceeff;color:#216fa8;font-size:25px}
.exam-empty h3{font-size:21px;color:#173957;margin:8px 0}
.exam-empty>p{max-width:430px;margin:0 auto 17px;font-size:12px;line-height:1.8;color:#71869a}
.exam-contact-note{padding:14px 16px;border:1px solid #d9e8f6;border-radius:11px;background:#edf6ff;color:#46647e;font-size:11px;line-height:1.8;text-align:left}
.exam-contact-note b{color:#214d72}
.exam-wait-note{margin:18px 22px 4px}
.student-page .token-box{margin:18px 22px 16px}
.student-page .actions{padding:0 22px 22px}
@media(max-width:600px){.exam-schedules{padding:18px 14px 2px}.exam-schedule-card{padding:14px}.exam-schedule-meta{grid-template-columns:1fr 1fr}.exam-schedule-meta>div:first-child{grid-column:1/-1}.exam-empty{margin:18px 14px;padding:23px 16px}.exam-wait-note{margin:16px 14px 4px}.student-page .token-box{margin:16px 14px}.student-page .actions{padding:0 14px 18px}.exam-schedule-card h4{font-size:15px}}
@media(max-width:520px){.student-top{height:72px}.student-top .school-logo{width:42px;height:42px;border-radius:12px}.student-brand-copy .school-title{font-size:11px;max-width:210px}.student-brand-copy .school-sub{font-size:8px;letter-spacing:.09em}.student-top-status{font-size:0}.student-top-status i{width:8px;height:8px}.student-main{margin-top:15px}.student-hero{height:190px;border-radius:18px}.student-hero-copy{padding:20px}.student-hero-copy h1{font-size:25px;margin:10px 0 7px}.student-hero-copy p{font-size:10px;max-width:260px}.student-kicker{font-size:8px}.student-hero-logo{display:none}.student-login-layout{padding-top:19px}.student-login-intro h2{font-size:29px}.student-login-intro>p{font-size:11px}.student-info-points{grid-template-columns:1fr;gap:8px;margin-top:14px}.student-info-points>div{align-items:center;font-size:11px}.student-page .card-head{padding:22px 21px 18px}.student-page .card-body{padding:18px 21px 23px}.student-page .card-head h1{font-size:23px}.student-footer{padding-top:13px}.student-page .confirm-card{margin:18px auto}.student-page .actions{padding:0 14px 16px}}