@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700;800&display=swap');
:root{--navy:#0b1f3a;--navy-2:#102d52;--gold:#e5b94b;--gold-2:#f4d477;--bg:#f4f7fb;--card:#fff;--text:#172033;--muted:#6f7b8f;--line:#e4eaf2;--green:#15966d;--red:#d94b5b;--orange:#d98b20;--shadow:0 14px 40px rgba(12,31,58,.09);--radius:20px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Roboto,Arial,sans-serif;background:var(--bg);color:var(--text)}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.muted{color:var(--muted)}
.topbar{height:74px;background:linear-gradient(120deg,var(--navy),var(--navy-2));color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1240px)/2));position:sticky;top:0;z-index:50;box-shadow:0 8px 24px rgba(4,17,34,.18)}.brand{display:flex;align-items:center;gap:12px}.brand img{width:46px;height:46px}.brand span{display:grid;gap:2px}.brand strong{font-size:15px;letter-spacing:.9px}.brand small{font-size:12px;color:#d7e3f4}.topbar-actions{display:flex;align-items:center;gap:18px}.user-chip{display:flex;align-items:center;gap:9px}.user-chip .avatar{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.14);font-weight:800}.user-chip>span:last-child{display:grid;gap:2px}.user-chip strong{font-size:13px}.user-chip small{font-size:11px;color:#cfdaea}
.page-wrap{max-width:1240px;margin:0 auto;padding:32px 24px 60px}.narrow-wrap{max-width:900px}.card{background:var(--card);border:1px solid rgba(219,227,239,.9);border-radius:var(--radius);box-shadow:var(--shadow)}.welcome-banner{background:linear-gradient(120deg,var(--navy),#183f70);color:#fff;border-radius:26px;padding:32px 34px;display:flex;align-items:center;justify-content:space-between;gap:24px;overflow:hidden;position:relative}.welcome-banner:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.06);right:-80px;top:-120px}.welcome-banner h1{font-size:30px;margin:8px 0}.welcome-banner p{margin:0;color:#d8e6f6}.eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:800;color:var(--gold-2)}.student-id-card{z-index:1;min-width:220px;padding:18px 20px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.16);border-radius:18px;display:grid;gap:4px}.student-id-card small{font-size:10px;letter-spacing:1px;color:#c9d9ed}.student-id-card strong{font-size:20px}.student-id-card span{font-size:13px;color:var(--gold-2)}.banner-mark{font-weight:900;font-size:54px;color:rgba(255,255,255,.10);letter-spacing:4px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:30px 0 16px}.section-head h2{margin:0 0 5px;font-size:23px}.section-head p{margin:0;color:var(--muted)}.head-actions{display:flex;gap:10px;flex-wrap:wrap}
.btn{border:0;border-radius:12px;padding:12px 17px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s}.btn:hover{transform:translateY(-1px)}.btn-primary{color:#fff;background:linear-gradient(135deg,#c7982f,#e9bd55);box-shadow:0 9px 20px rgba(199,152,47,.22)}.btn-success{background:var(--green);color:#fff}.btn-outline{background:#fff;border:1px solid #cad5e4;color:var(--navy)}.btn-light{background:#f0f4f9;color:var(--navy)}.btn-danger-soft{background:#fff0f2;color:#b73748}.btn-success-soft{background:#eaf8f3;color:#0d7f5b}.btn-disabled{background:#edf1f6;color:#9aa6b7;cursor:not-allowed}.btn-block{width:100%}.btn-sm{padding:9px 13px;font-size:13px}.btn-xs{padding:7px 10px;font-size:12px;border-radius:9px}.inline-form{display:inline}.badge{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.badge-success{background:#e7f7f1;color:#118360}.badge-warning{background:#fff4dd;color:#ad6e14}.badge-danger{background:#ffe9ed;color:#b7384a}.badge-muted{background:#edf1f5;color:#788597}.badge-info{background:#e8f1ff;color:#2d62a4}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:22px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;display:flex;align-items:center;gap:16px}.stat-card>span{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#f1f5fa;font-size:22px}.stat-card div{display:grid}.stat-card b{font-size:25px}.stat-card small{color:var(--muted)}
.exam-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.exam-card{padding:22px}.exam-card-top{display:flex;align-items:center;justify-content:space-between}.subject-icon{width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,var(--navy),#2d5f94);color:var(--gold-2);display:grid;place-items:center;font-size:25px;font-weight:800}.exam-card h3{margin:20px 0 6px;font-size:19px}.exam-card>p{margin:0;color:var(--muted)}.exam-meta{display:flex;gap:17px;margin:20px 0;font-size:13px;color:#4f5c70}.schedule-box{background:#f7f9fc;border:1px solid #e8edf4;border-radius:13px;padding:12px;margin-bottom:16px;display:grid;gap:3px}.schedule-box small{font-size:10px;text-transform:uppercase;color:var(--muted);font-weight:800}.schedule-box strong{font-size:11px;line-height:1.45}.instruction-card{margin-top:22px;padding:24px}.instruction-card h3{margin-top:0}.instruction-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.instruction-grid div{display:flex;gap:11px;align-items:flex-start}.instruction-grid b{min-width:28px;height:28px;border-radius:9px;background:#eef3f9;color:var(--navy);display:grid;place-items:center}.instruction-grid span{font-size:13px;color:#536176;line-height:1.5}
.table-card{overflow:hidden}.table-responsive{overflow:auto}table{width:100%;border-collapse:collapse;min-width:760px}th,td{padding:15px 16px;border-bottom:1px solid var(--line);text-align:left;font-size:13px}th{background:#f7f9fc;color:#657287;font-size:11px;text-transform:uppercase;letter-spacing:.6px}td strong{display:block}td small{display:block;color:var(--muted);margin-top:4px}.actions-cell{white-space:nowrap}.empty-inline{text-align:center;padding:30px;color:var(--muted)}
.footer{max-width:1240px;margin:0 auto;padding:18px 24px 28px;color:#8290a3;font-size:11px;display:flex;justify-content:space-between;gap:12px}.toast{position:fixed;top:88px;right:24px;z-index:99;padding:13px 16px;border-radius:12px;color:#fff;box-shadow:0 12px 30px rgba(0,0,0,.18);animation:slideIn .25s ease}.toast-success{background:var(--green)}.toast-danger{background:var(--red)}@keyframes slideIn{from{transform:translateX(20px);opacity:0}}
.login-page{min-height:100vh;background:linear-gradient(120deg,#071628 0%,#102f55 52%,#edf3f9 52%,#f8fafc 100%)}.login-shell{min-height:calc(100vh - 55px);max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1.2fr .8fr;gap:70px;align-items:center;padding:48px 28px}.login-hero{color:#fff}.school-badge{width:88px;height:88px;border-radius:24px;background:#fff;padding:10px;display:grid;place-items:center;box-shadow:0 16px 35px rgba(0,0,0,.18);margin-bottom:28px}.school-badge img{width:100%;height:100%}.login-hero h1{font-size:48px;line-height:1.08;margin:12px 0 18px}.login-hero h1 span{color:var(--gold-2)}.login-hero>p{max-width:600px;color:#d7e4f4;line-height:1.7}.feature-row{display:flex;gap:22px;margin-top:30px;flex-wrap:wrap}.feature-row div{display:flex;align-items:center;gap:8px;font-size:13px}.feature-row b{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.12);color:var(--gold-2)}.login-card{background:#fff;border-radius:26px;padding:32px;box-shadow:0 22px 60px rgba(7,22,40,.18)}.login-card-head{display:flex;align-items:center;gap:13px;padding-bottom:19px;border-bottom:1px solid var(--line)}.login-card-head img{width:48px;height:48px}.login-card-head small{font-size:9px;color:var(--muted);letter-spacing:1px}.login-card-head h2{font-size:15px;margin:4px 0 0}.login-card h3{font-size:23px;margin:24px 0 7px}.stack-form{display:grid;gap:16px}.stack-form label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#445168}.stack-form input,.stack-form select,.stack-form textarea{width:100%;border:1px solid #d7dfeb;background:#fbfcfe;border-radius:12px;padding:12px 13px;outline:none;color:var(--text)}.stack-form input:focus,.stack-form select:focus,.stack-form textarea:focus{border-color:#d0a23e;box-shadow:0 0 0 3px rgba(208,162,62,.12)}.password-field{position:relative}.password-field input{padding-right:44px}.icon-btn{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:transparent;cursor:pointer;color:#7d8a9c}.demo-box{margin-top:18px;padding:13px;background:#f6f8fb;border-radius:12px;display:grid;gap:5px;font-size:11px;color:#687589}.demo-box strong{color:var(--navy)}code{background:#e8edf4;padding:2px 5px;border-radius:5px}.developer-credit{display:block;text-align:center;margin-top:18px;color:#9aa6b5}
.form-card{padding:24px}.form-card h3{margin-top:0}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.form-grid.three{grid-template-columns:1fr 1fr 1.4fr}.check-label{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:10px!important;padding-top:26px}.check-label input{width:auto!important}.option-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.option-form-grid label{grid-template-columns:28px 1fr;align-items:center}.two-column-admin{display:grid;grid-template-columns:.85fr 1.15fr;gap:20px}.student-admin{grid-template-columns:380px 1fr}.question-list-card{padding:22px}.list-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:14px}.list-head h3{margin:0}.admin-question-item{display:grid;grid-template-columns:36px 1fr 32px;gap:12px;align-items:start;padding:15px 0;border-bottom:1px solid var(--line)}.admin-question-item>b{width:30px;height:30px;border-radius:9px;background:#eef3f9;display:grid;place-items:center}.admin-question-item h4{margin:2px 0 6px;font-size:13px;line-height:1.45}.admin-question-item small{color:var(--green);font-weight:700}.icon-danger{border:0;background:#fff0f2;color:#b73748;border-radius:8px;width:30px;height:30px;cursor:pointer;font-size:20px}
.exam-shell{max-width:1280px;margin:0 auto;padding:24px}.exam-toolbar{padding:18px 22px;display:flex;align-items:center;justify-content:space-between}.exam-toolbar small{color:var(--muted)}.exam-toolbar h1{font-size:20px;margin:4px 0 0}.timer-box{background:var(--navy);color:#fff;border-radius:14px;padding:11px 16px;display:grid;text-align:center;min-width:150px}.timer-box small{color:#aebfd4;font-size:9px;letter-spacing:1.2px}.timer-box strong{font-size:22px;letter-spacing:1px;color:var(--gold-2)}.timer-box.danger{background:#a72d3d}.exam-layout{display:grid;grid-template-columns:1fr 300px;gap:20px;margin-top:20px}.question-panel{padding:24px}.progress-head{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.progress{height:7px;background:#edf1f6;border-radius:999px;margin:10px 0 25px;overflow:hidden}.progress span{display:block;height:100%;background:linear-gradient(90deg,#c5952d,#edc65f);border-radius:inherit;transition:.2s}.question-slide{display:none;min-height:350px}.question-slide.active{display:block}.question-number{font-size:11px;font-weight:800;letter-spacing:1px;color:#9d7423}.question-slide h2{font-size:21px;line-height:1.55;margin:12px 0 22px}.option-list{display:grid;gap:11px}.option-item{display:grid;grid-template-columns:36px 1fr 24px;align-items:center;gap:12px;border:1px solid #dbe3ee;border-radius:14px;padding:13px 14px;cursor:pointer;transition:.2s}.option-item:hover{border-color:#cda143;background:#fffaf0}.option-item input{display:none}.option-item>b{width:32px;height:32px;border-radius:10px;background:#eef2f7;display:grid;place-items:center;color:#536176}.option-item>span{font-size:14px}.option-item>i{font-style:normal;color:transparent}.option-item.selected{border-color:#cda143;background:#fff9eb}.option-item.selected>b{background:#d5a641;color:#fff}.option-item.selected>i{color:var(--green)}.question-actions{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.save-status{text-align:center;font-size:11px;color:#8490a2}.question-nav{padding:21px;height:max-content;position:sticky;top:98px}.question-nav h3{margin:0 0 5px}.question-nav>p{font-size:12px;color:var(--muted);margin:0 0 16px}.number-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.number-grid button{aspect-ratio:1;border:1px solid #d6deea;background:#fff;border-radius:10px;cursor:pointer;font-weight:700;color:#657287}.number-grid button.answered{background:#e8f7f1;border-color:#91d2bb;color:#117b5a}.number-grid button.active{background:var(--navy)!important;border-color:var(--navy)!important;color:#fff!important}.legend{display:flex;flex-wrap:wrap;gap:9px 13px;margin:16px 0;font-size:10px;color:#697689}.legend span{display:flex;align-items:center;gap:5px}.dot{width:10px;height:10px;border-radius:3px;border:1px solid #cfd8e4;background:#fff}.active-dot{background:var(--navy);border-color:var(--navy)}.answered-dot{background:#e8f7f1;border-color:#91d2bb}.warning-text{display:block;text-align:center;color:#8b97a7;font-size:10px;line-height:1.4;margin-top:10px}
.result-card{text-align:center;padding:42px}.result-icon{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:#e7f7f1;color:var(--green);font-size:35px;font-weight:800;margin:0 auto 18px}.result-card h1{margin:9px 0 8px}.result-card>p{color:var(--muted)}.score-circle{width:170px;height:170px;border:12px solid #f3e1b6;border-top-color:#d4a83e;border-radius:50%;margin:28px auto;display:grid;place-items:center;align-content:center}.score-circle span,.score-circle small{color:var(--muted);font-size:11px}.score-circle strong{font-size:49px;color:var(--navy)}.score-hidden{margin:25px auto;padding:18px;background:#f5f7fa;border-radius:14px;color:var(--muted)}.result-details{display:grid;grid-template-columns:repeat(2,1fr);text-align:left;border:1px solid var(--line);border-radius:16px;overflow:hidden;margin:0 0 25px}.result-details div{padding:14px 16px;border-bottom:1px solid var(--line)}.result-details div:nth-child(odd){border-right:1px solid var(--line)}.result-details small{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}.result-details strong{font-size:13px}.empty-state{text-align:center;padding:38px;grid-column:1/-1}.empty-state>span{font-size:34px}.empty-state h3{margin:10px 0 6px}.empty-state p{color:var(--muted)}
@media(max-width:980px){.exam-grid{grid-template-columns:repeat(2,1fr)}.stats-grid{grid-template-columns:repeat(2,1fr)}.two-column-admin,.student-admin{grid-template-columns:1fr}.exam-layout{grid-template-columns:1fr}.question-nav{position:static}.login-shell{grid-template-columns:1fr;gap:30px;max-width:700px}.login-page{background:linear-gradient(180deg,#071628 0,#102f55 43%,#eef3f9 43%,#f8fafc 100%)}.login-hero h1{font-size:38px}.login-hero{padding-top:20px}.school-badge{width:70px;height:70px;margin-bottom:18px}}
@media(max-width:680px){.topbar{height:auto;min-height:68px;padding:10px 15px}.brand small{display:none}.brand img{width:40px;height:40px}.user-chip>span:last-child{display:none}.page-wrap{padding:20px 14px 45px}.welcome-banner{padding:24px 20px;align-items:flex-start;flex-direction:column}.welcome-banner h1{font-size:25px}.student-id-card{width:100%}.banner-mark{display:none}.exam-grid,.instruction-grid,.form-grid,.form-grid.three,.option-form-grid,.result-details{grid-template-columns:1fr}.result-details div:nth-child(odd){border-right:0}.stats-grid{grid-template-columns:1fr 1fr}.stat-card{padding:15px}.section-head{align-items:flex-start;flex-direction:column}.head-actions{width:100%}.head-actions .btn{flex:1}.footer{flex-direction:column;text-align:center}.exam-shell{padding:12px}.exam-toolbar{align-items:flex-start;gap:12px}.exam-toolbar h1{font-size:16px}.timer-box{min-width:115px;padding:9px}.timer-box strong{font-size:18px}.question-panel{padding:17px}.question-slide h2{font-size:18px}.question-actions{grid-template-columns:1fr 1fr}.save-status{grid-column:1/-1;grid-row:1}.question-actions .btn{padding:10px}.number-grid{grid-template-columns:repeat(5,1fr)}.login-shell{padding:22px 14px 35px}.login-hero h1{font-size:32px}.login-hero>p{font-size:14px}.login-card{padding:23px}.feature-row{gap:10px}.feature-row div{font-size:11px}.result-card{padding:28px 18px}}
/* V1.1.0 — School Operations Edition */
.desktop-nav{display:flex;align-items:center;gap:4px;margin-left:auto;margin-right:18px}.desktop-nav a{color:#dce8f5;text-decoration:none;font-size:12px;font-weight:700;padding:9px 11px;border-radius:9px}.desktop-nav a:hover{background:rgba(255,255,255,.1);color:#fff}.exam-actions.wrap,.row-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.btn-danger-soft{background:#fff0f1;border:1px solid #f3c3c8;color:#b52e3c}.btn-danger-soft:hover{background:#ffe4e7}.exam-code{color:var(--muted);font-size:11px;margin-top:-5px}.instruction-small{font-size:11px;color:var(--muted);line-height:1.55;margin:0 0 13px}.result-predicate{display:inline-flex;margin:-10px auto 24px}.import-card{margin-top:18px}.import-card p{color:var(--muted);font-size:12px;margin-top:-5px}.item-actions{display:flex;gap:6px;align-items:center}.icon-edit,.icon-danger{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;text-decoration:none;border:0;cursor:pointer;font-weight:800}.icon-edit{background:#edf4fb;color:#245485}.icon-danger{background:#fff0f1;color:#bd3140}.filter-bar{display:grid;grid-template-columns:minmax(180px,1fr) 150px auto;gap:9px;padding:14px;border-bottom:1px solid var(--line)}.filter-bar input,.filter-bar select{margin:0}.action-details{position:relative}.action-details summary{list-style:none;cursor:pointer;color:#245485;font-size:11px;font-weight:800}.action-details summary::-webkit-details-marker{display:none}.action-popover{position:absolute;z-index:20;right:0;top:26px;width:300px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 35px rgba(12,35,62,.18)}.mini-form{display:grid;gap:7px}.mini-form input,.mini-form select,.mini-inline input{padding:9px 10px;font-size:11px}.mini-inline{display:grid;grid-template-columns:1fr auto;gap:7px;margin:10px 0}.check-label.compact{min-height:auto;padding:7px 10px}.settings-logo{display:flex;gap:18px;align-items:center;padding:15px;border:1px solid var(--line);border-radius:14px}.settings-logo img{width:76px;height:76px;object-fit:contain;border-radius:15px;background:#f4f7fa;padding:7px}.settings-logo label{flex:1}.settings-logo small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.result-stats{margin-top:0}.print-body{background:#eef2f6;color:#172033;font-family:Arial,sans-serif;margin:0}.print-toolbar{position:sticky;top:0;z-index:50;display:flex;justify-content:center;gap:10px;padding:12px;background:#102b4a}.print-toolbar button{border:0;border-radius:9px;padding:10px 20px;font-weight:700;cursor:pointer}.card-sheet{max-width:980px;margin:20px auto;display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:0 15px 30px}.participant-card{background:#fff;border:1px solid #8090a2;border-radius:8px;overflow:hidden;break-inside:avoid}.participant-card header{display:flex;gap:12px;align-items:center;background:#102b4a;color:#fff;padding:12px 15px;border-bottom:4px solid #d7aa42}.participant-card header img{width:48px;height:48px;object-fit:contain}.participant-card header strong,.participant-card header span{display:block}.participant-card header strong{font-size:14px;letter-spacing:.5px}.participant-card header span{font-size:11px;margin-top:4px}.participant-data{padding:13px 15px;display:grid;grid-template-columns:1.5fr 1fr;gap:9px 15px}.participant-data div{border-bottom:1px dashed #bac4cf;padding-bottom:6px}.participant-data .full{grid-column:1/-1}.participant-data small,.participant-data b{display:block}.participant-data small{font-size:9px;text-transform:uppercase;color:#667384;margin-bottom:3px}.participant-data b{font-size:12px}.participant-card footer{display:flex;justify-content:space-between;gap:10px;padding:9px 15px;background:#f3f5f8;font-size:8px}.print-report{max-width:900px;margin:20px auto;background:#fff;padding:28px 35px;min-height:1100px}.report-head{display:flex;align-items:center;justify-content:center;gap:17px;text-align:center;border-bottom:3px double #172033;padding-bottom:13px}.report-head img{width:72px;height:72px;object-fit:contain}.report-head h1{font-size:21px;text-transform:uppercase;margin:0 0 5px}.report-head p{font-size:10px;margin:0}.print-report>h2{text-align:center;font-size:17px;text-decoration:underline;margin:22px 0 16px}.report-meta{display:grid;grid-template-columns:1fr 1fr;gap:7px;font-size:11px;margin-bottom:15px}.print-report table{width:100%;border-collapse:collapse;font-size:11px}.print-report th,.print-report td{border:1px solid #333;padding:7px}.print-report th{background:#eef1f4}.signature-block{display:grid;grid-template-columns:1fr 280px;margin-top:30px;font-size:11px}.signature-block>div:last-child{text-align:center}.signature-block strong{font-size:12px}.school-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:25px}.school-meta span{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:7px 11px;font-size:10px}.exam-actions form,.row-actions form{margin:0}
@media(max-width:980px){.desktop-nav{display:none}.action-popover{right:auto;left:-190px}.filter-bar{grid-template-columns:1fr 120px auto}}
@media(max-width:680px){.filter-bar{grid-template-columns:1fr}.action-popover{position:fixed;left:14px;right:14px;top:auto;bottom:14px;width:auto;max-height:75vh;overflow:auto}.settings-logo{align-items:flex-start}.card-sheet{grid-template-columns:1fr}.report-meta{grid-template-columns:1fr}.print-report{margin:0;padding:18px}.report-head h1{font-size:17px}}
@media print{.print-toolbar{display:none!important}.print-body{background:#fff}.card-sheet{margin:0;max-width:none;padding:0;gap:8mm;grid-template-columns:repeat(2,1fr)}.participant-card{border:1px solid #333;border-radius:0}.print-report{margin:0;max-width:none;padding:0;min-height:auto}@page{size:A4;margin:12mm}.participant-card header{-webkit-print-color-adjust:exact;print-color-adjust:exact}.print-report th{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* V1.2.0 — CBT Secure Edition */
.btn-secure{background:#3a245f;color:#fff;border:1px solid #3a245f}.btn-secure:hover{background:#2d194c}.security-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-2px 0 8px}.mini-token{font-size:10px;font-weight:800;color:#725922;background:#fff8df;border:1px dashed #dabd6b;border-radius:8px;padding:5px 8px}.token-field{display:block;margin:4px 0 10px;color:#47566b;font-size:11px;font-weight:800}.token-field input{text-transform:uppercase;letter-spacing:1px;margin-top:6px}.security-config{border:1px solid #d7c9e9;background:linear-gradient(145deg,#fbf9ff,#f5f0fb);border-radius:18px;padding:20px;margin-top:8px}.security-config-head{display:flex;align-items:center;gap:13px;border-bottom:1px solid #e4dced;padding-bottom:15px;margin-bottom:16px}.security-config-head h3{margin:0;color:#342052}.security-config-head p{margin:4px 0 0;color:var(--muted);font-size:11px}.secure-shield{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(145deg,#432867,#271640);box-shadow:0 12px 28px rgba(58,36,95,.25);font-size:31px}.secure-shield.small{width:46px;height:46px;border-radius:14px;font-size:22px;box-shadow:none}.security-check-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin:12px 0}.security-note{background:#fff8df;border:1px solid #ead38d;border-radius:11px;padding:11px 13px;color:#6f5924;font-size:10px;line-height:1.55}.secure-exam{user-select:none;-webkit-user-select:none}.secure-gate{position:fixed;z-index:1000;inset:0;background:rgba(4,13,26,.92);backdrop-filter:blur(13px);display:grid;place-items:center;padding:20px;transition:.2s ease}.secure-gate.closing{opacity:0;transform:scale(1.02)}.secure-gate-card{width:min(470px,100%);background:#fff;border-radius:25px;padding:34px;text-align:center;box-shadow:0 28px 80px rgba(0,0,0,.35)}.secure-gate-card .secure-shield{margin:0 auto 18px}.secure-gate-card h1{font-size:27px;color:var(--navy);margin:8px 0}.secure-gate-card p{color:var(--muted);font-size:13px;line-height:1.65}.secure-gate-card small{display:block;color:#8b97a6;font-size:10px;margin-top:11px}.secure-rules{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:20px 0}.secure-rules span{background:#f2eef8;color:#4a2e71;border-radius:10px;padding:9px 5px;font-size:9px;font-weight:800}.security-counter{background:#f5effc;border:1px solid #d8c8eb;border-radius:12px;padding:9px 14px;text-align:center;min-width:95px}.security-counter small{display:block;color:#745991;font-size:9px;text-transform:uppercase;font-weight:800}.security-counter strong{display:block;color:#3a245f;font-size:19px;margin-top:2px}.violation-modal{position:fixed;z-index:1100;inset:0;background:rgba(10,20,35,.72);display:grid;place-items:center;padding:20px}.violation-modal[hidden]{display:none}.violation-modal>div{width:min(390px,100%);background:#fff;border-radius:22px;padding:27px;text-align:center;box-shadow:0 25px 70px rgba(0,0,0,.3)}.violation-modal>div>span{width:64px;height:64px;display:grid;place-items:center;border-radius:50%;margin:0 auto;background:#fff0d8;color:#b26d00;font-size:33px}.violation-modal h2{margin:15px 0 7px;color:#9b341f}.violation-modal p{font-size:12px;color:var(--muted);line-height:1.6;margin-bottom:18px}.monitor-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:17px}.monitor-summary article{background:#fff;border:1px solid var(--line);border-radius:15px;padding:16px;display:flex;gap:11px;align-items:center}.monitor-summary small,.monitor-summary strong{display:block}.monitor-summary small{color:var(--muted);font-size:9px;text-transform:uppercase;font-weight:800}.monitor-summary strong{font-size:13px;color:var(--navy);margin-top:4px}.pulse-dot,.online-dot,.offline-dot{width:11px;height:11px;border-radius:50%;display:inline-block;background:#20a875}.pulse-dot{box-shadow:0 0 0 0 rgba(32,168,117,.5);animation:pulseSecure 1.7s infinite}.offline-dot{background:#9ba6b4}.connection{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800}.connection i{width:8px;height:8px;border-radius:50%}.connection.online{color:#147a58}.connection.online i{background:#20a875}.connection.offline{color:#8d5b21}.connection.offline i{background:#e0a240}.connection.muted{color:#8490a0}.connection.muted i{background:#9ba6b4}.table-sub{display:block;color:var(--muted);font-size:9px;margin-top:4px}.violation-pill{display:inline-grid;place-items:center;min-width:29px;height:29px;border-radius:9px;background:#edf1f5;color:#607083;font-weight:800}.violation-pill.has-value{background:#fff0df;color:#aa5d00}.danger-text{color:#b52f3e!important}.monitor-help{padding:18px;margin-top:16px}.monitor-help h3{margin:0 0 11px}.monitor-help>div{display:flex;flex-wrap:wrap;gap:13px;color:var(--muted);font-size:10px}.monitor-help span{display:flex;align-items:center;gap:6px}.monitor-table .row-actions{min-width:180px}@keyframes pulseSecure{0%{box-shadow:0 0 0 0 rgba(32,168,117,.5)}70%{box-shadow:0 0 0 9px rgba(32,168,117,0)}100%{box-shadow:0 0 0 0 rgba(32,168,117,0)}}
@media(max-width:760px){.security-check-grid,.monitor-summary{grid-template-columns:1fr}.secure-rules{grid-template-columns:1fr}.security-counter{order:3}.exam-toolbar{flex-wrap:wrap}.secure-gate-card{padding:26px 20px}.secure-gate-card h1{font-size:23px}}
.violation-profile{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-bottom:16px;overflow:hidden}.violation-profile>div{padding:18px;border-right:1px solid var(--line)}.violation-profile>div:last-child{border-right:0}.violation-profile small,.violation-profile strong{display:block}.violation-profile small{color:var(--muted);font-size:9px;text-transform:uppercase;font-weight:800}.violation-profile strong{margin-top:6px;color:var(--navy);font-size:13px}.timeline-card{overflow:hidden}.violation-event{display:flex;gap:13px;padding:16px 19px;border-top:1px solid var(--line)}.violation-event>span{width:35px;height:35px;flex:0 0 35px;border-radius:11px;display:grid;place-items:center;background:#fff0df;color:#a75b00}.violation-event strong{text-transform:capitalize;color:#8a3b24}.violation-event p{margin:5px 0;color:#526175;font-size:11px;line-height:1.5}.violation-event small{color:var(--muted);font-size:9px}@media(max-width:680px){.violation-profile{grid-template-columns:1fr 1fr}.violation-profile>div:nth-child(2){border-right:0}.violation-profile>div{border-bottom:1px solid var(--line)}}

/* V1.3.0 — Camera & Multi-Type Questions */
.camera-check{background:#eef8ff;border:1px solid #b9dff5;border-radius:10px;padding:9px}.camera-gate-card{width:min(560px,100%)}.camera-preflight{position:relative;width:min(300px,100%);aspect-ratio:4/3;margin:16px auto;border-radius:18px;overflow:hidden;background:#0c1827;border:3px solid #d7e3ef}.camera-preflight video{width:100%;height:100%;object-fit:cover;transform:scaleX(-1);background:#0c1827}.camera-preflight>div{position:absolute;inset:0;display:grid;place-items:center;align-content:center;gap:7px;background:linear-gradient(145deg,#132944,#081522);color:#fff}.camera-preflight>div[hidden]{display:none}.camera-preflight span{font-size:34px}.camera-preflight b{font-size:13px}.camera-preflight small{color:#b8c6d6;margin:0}.camera-error{background:#fff0f0;border:1px solid #efb6bd;color:#a52a3a;border-radius:10px;padding:10px;font-size:11px!important;font-weight:700}.camera-live-box{display:flex;align-items:center;gap:9px;background:#f3f6f9;border:1px solid var(--line);border-radius:12px;padding:6px 10px;min-width:155px}.camera-live-box video{width:52px;height:42px;object-fit:cover;transform:scaleX(-1);border-radius:8px;background:#17283b}.camera-live-box small,.camera-live-box strong{display:block}.camera-live-box small{font-size:8px;text-transform:uppercase;color:var(--muted);font-weight:800}.camera-live-box strong{font-size:11px;color:#9a3542;margin-top:2px}.camera-live-box.active{background:#edf9f4;border-color:#9fd7c2}.camera-live-box.active strong{color:#147a58}.camera-monitor{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:8px;font-size:10px;font-weight:800}.camera-monitor.active{background:#e7f7f0;color:#147a58}.camera-monitor.inactive{background:#fff0f0;color:#a52a3a}.camera-monitor.muted{background:#eef1f5;color:#7d8998}.question-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.question-heading .question-number{margin-bottom:0}.question-type-line{margin-bottom:7px}.matching-list{display:grid;gap:11px;margin-top:20px}.matching-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.8fr);align-items:center;gap:14px;background:#f8fafc;border:1px solid #dde5ed;border-radius:13px;padding:13px}.matching-row>span{font-size:13px;line-height:1.5;color:#23364c}.matching-row select{margin:0;background:#fff}.essay-answer{margin-top:18px}.essay-answer textarea{min-height:230px;font-size:14px;line-height:1.7;background:#fffdf8}.essay-answer small{display:block;margin-top:7px;color:var(--muted)}.pending-grade{background:#fff8df;border-color:#ecd58b;color:#73591d}.essay-grading-form{display:grid;gap:16px}.essay-grade-card{padding:22px}.essay-grade-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:15px}.essay-grade-head span{font-weight:900;color:#3a245f}.essay-grade-head strong{font-size:11px;color:#725922;background:#fff8df;padding:6px 10px;border-radius:8px}.essay-grade-card h3{font-size:15px;line-height:1.65;color:var(--navy)}.grading-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}.grading-columns small{display:block;text-transform:uppercase;font-size:9px;font-weight:900;color:var(--muted);margin-bottom:6px}.student-essay-answer,.answer-key-box{min-height:130px;border-radius:12px;padding:14px;font-size:12px;line-height:1.65}.student-essay-answer{background:#f5f8fb;border:1px solid #dce5ed;color:#24384e}.answer-key-box{background:#fff9e8;border:1px solid #ead798;color:#65501d}.sticky-grade-submit{position:sticky;bottom:12px;z-index:5;background:#fff;border:1px solid var(--line);box-shadow:0 12px 35px rgba(11,31,58,.14);border-radius:15px;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:15px}.sticky-grade-submit span{font-size:10px;color:var(--muted)}
@media(max-width:850px){.camera-live-box{order:2}.matching-row,.grading-columns{grid-template-columns:1fr}.sticky-grade-submit{align-items:stretch;flex-direction:column}.camera-live-box{min-width:130px}}
@media(max-width:560px){.camera-live-box video{width:44px;height:36px}.matching-row{padding:11px}.essay-grade-card{padding:16px}.question-heading{align-items:flex-start;flex-direction:column}}

/* V1.4.0 — Guru, Kurikulum Merdeka & Asisten AI */
.btn-ai{background:linear-gradient(135deg,#6338a4,#2e6fba);border:1px solid transparent;color:#fff;box-shadow:0 8px 20px rgba(76,54,146,.2)}.btn-ai:hover{filter:brightness(1.06);color:#fff}.deep-learning-config{border:1px solid #bdd7ef;background:linear-gradient(145deg,#f5fbff,#eef6ff);border-radius:16px;padding:18px;margin:5px 0 18px}.deep-learning-config .security-config-head{border-color:#d4e5f4}.deep-learning-config h3{color:#174b78}.deep-learning-config>small{display:block;color:#53728d;line-height:1.55;margin-top:11px}.deep-focus-grid,.teacher-class-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:10px}.question-pedagogy{background:#f6f9fc;border:1px solid #dbe5ee;border-radius:14px;padding:14px}.question-pedagogy h4{margin:0 0 12px;color:#244969}.ai-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.ai-meta span{display:inline-flex;padding:4px 8px;border-radius:999px;background:#edf3fb;border:1px solid #d6e2ef;color:#315b82;font-size:9px;font-weight:800}.teacher-admin{grid-template-columns:minmax(280px,.75fr) minmax(0,1.6fr)}fieldset{border:1px solid var(--line);border-radius:13px;padding:12px}fieldset legend{padding:0 7px;font-size:11px;font-weight:800;color:#445168}.teacher-list{display:grid;gap:10px;padding:16px}.teacher-card{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.teacher-card>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center;padding:15px}.teacher-card>summary::-webkit-details-marker{display:none}.teacher-card>summary strong,.teacher-card>summary small{display:block}.teacher-card>summary small{color:var(--muted);font-size:10px;margin-top:5px}.teacher-card-body{border-top:1px solid var(--line);padding:16px;background:#fbfcfe}.teacher-danger-zone{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px dashed var(--line);margin-top:14px;padding-top:12px}.teacher-danger-zone .mini-inline{margin:0;flex:1}.ai-hero{margin-bottom:18px;padding:25px 28px;border-radius:20px;background:linear-gradient(125deg,#102b4a,#3e2a66 65%,#7046a7);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 16px 38px rgba(25,42,73,.18)}.ai-hero h1{font-size:29px;margin:7px 0}.ai-hero p{margin:0;color:#dce7f5;max-width:720px;line-height:1.6}.ai-orb{width:50px;height:50px;display:grid;place-items:center;border-radius:17px;background:linear-gradient(145deg,#7046a7,#2e70ba);color:#fff;font-weight:900;box-shadow:0 10px 25px rgba(56,44,122,.28)}.ai-orb.large{width:85px;height:85px;border-radius:27px;font-size:24px;background:linear-gradient(145deg,#d5a745,#8152c6);box-shadow:0 15px 35px rgba(0,0,0,.2)}.ai-shell{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.35fr);gap:18px;align-items:start}.ai-draft-section{padding:18px}.ai-draft-grid{display:grid;gap:12px;max-height:820px;overflow:auto;padding-right:4px}.ai-draft-card{position:relative;border:1px solid #dce4ee;border-radius:15px;padding:16px;background:#fbfcfe}.ai-draft-card h4{font-size:13px;line-height:1.65;margin:10px 0;color:var(--navy)}.ai-draft-card p,.ai-draft-card small{font-size:10px;line-height:1.55;color:#58687b}.draft-selector{display:flex!important;align-items:center;gap:7px!important;font-size:10px!important;margin-bottom:10px}.draft-selector input{width:auto!important}.ai-options{margin:8px 0;padding-left:28px;color:#3f4f62;font-size:11px;line-height:1.8}.ai-pairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0}.ai-pairs span{padding:7px 9px;background:#eef4fa;border-radius:8px;font-size:10px}.ai-warning{background:#fff8df;border:1px solid #ead38d;border-radius:12px;padding:12px 14px;color:#69541e}.ai-warning strong{display:block;margin-bottom:4px}.ai-warning p{margin:0;font-size:10px;line-height:1.55}.ai-provider-card{padding:18px;margin-bottom:16px}.ai-status{display:flex;align-items:center;gap:13px}.ai-status>div:nth-child(2){flex:1}.ai-status strong{color:var(--navy)}.ai-status p{margin:4px 0 0;color:var(--muted);font-size:11px}.badge-muted{background:#edf1f5;color:#657487}.form-card code{font-size:10px}.deep-learning-config input[readonly]{background:#eaf2f9;color:#335673;font-weight:800}
@media(max-width:980px){.ai-shell,.teacher-admin{grid-template-columns:1fr}.ai-draft-grid{max-height:none}.ai-hero h1{font-size:24px}}
@media(max-width:650px){.deep-focus-grid,.teacher-class-grid,.ai-pairs{grid-template-columns:1fr}.ai-hero{padding:20px;align-items:flex-start}.ai-orb.large{width:58px;height:58px;border-radius:18px;font-size:17px}.teacher-danger-zone,.ai-status{align-items:stretch;flex-direction:column}.teacher-card>summary{align-items:flex-start}}


/* V1.4.1 — Referensi AI Tujuan Pembelajaran yang dapat diedit */
.objective-ai-field{display:grid;gap:7px;font-size:12px;font-weight:700;color:#445168}.objective-ai-field>textarea{width:100%;border:1px solid #d7dfeb;background:#fbfcfe;border-radius:12px;padding:12px 13px;outline:none;color:var(--text)}.objective-ai-field>textarea:focus{border-color:#d0a23e;box-shadow:0 0 0 3px rgba(208,162,62,.12)}.field-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}.field-label-row .btn{flex:0 0 auto}.objective-ai-field>small{display:block;margin-top:7px;color:#5b7187;line-height:1.45}.objective-ai-panel{margin:-2px 0 16px;border:1px solid #c8b8eb;background:linear-gradient(145deg,#fbf9ff,#f1f6ff);border-radius:16px;padding:16px;box-shadow:0 12px 30px rgba(65,45,116,.08)}.objective-ai-panel[hidden]{display:none}.objective-ai-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:12px;border-bottom:1px solid #ddd5ee}.objective-ai-head strong{display:block;color:#3f256b;font-size:14px}.objective-ai-head p{margin:4px 0 0;color:#65758a;font-size:10px;line-height:1.55}.objective-ai-close{width:30px;height:30px;border:0;border-radius:9px;background:#ebe5f6;color:#593a82;font-size:20px;cursor:pointer}.objective-ai-controls{display:grid;grid-template-columns:minmax(170px,.55fr) minmax(220px,1.2fr) auto;gap:10px;align-items:end;margin-top:14px}.objective-ai-controls label{margin:0}.objective-ai-controls .btn{min-height:41px;white-space:nowrap}.objective-ai-status{margin:12px 0 0;padding:9px 11px;border-radius:10px;background:#edf3f9;color:#53687e;font-size:10px;line-height:1.5}.objective-ai-status.loading{background:#f5f0ff;color:#633c94}.objective-ai-status.success{background:#eaf8f1;color:#177453}.objective-ai-status.error{background:#fff0f1;color:#a32f42}.objective-ai-results{display:grid;gap:10px;margin-top:12px}.objective-reference-card{border:1px solid #d9d3e8;background:#fff;border-radius:13px;padding:13px}.objective-reference-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.objective-reference-head strong{color:#284968;font-size:12px}.objective-reference-head span{padding:4px 8px;border-radius:999px;background:#eee8f8;color:#674291;font-size:9px;font-weight:900}.objective-reference-card textarea{min-height:115px;line-height:1.6;background:#fcfdff}.objective-reference-card small{display:block;margin-top:7px;color:#65758a;line-height:1.45}.objective-reference-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:10px}.deep-learning-main-grid{align-items:start}
@media(max-width:760px){.field-label-row{align-items:flex-start;flex-direction:column}.objective-ai-controls{grid-template-columns:1fr}.objective-reference-actions{justify-content:stretch;flex-direction:column}.objective-reference-actions .btn{width:100%}}

/* V1.4.2 — Pusat Cetak Naskah, Kisi-Kisi, Kunci dan Lembar Jawaban */
.print-center-hero{margin-bottom:18px;padding:27px 30px;border-radius:22px;background:linear-gradient(125deg,#0e2948,#173f6d 62%,#a77a22);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 16px 38px rgba(14,41,72,.16)}.print-center-hero h1{font-size:28px;margin:7px 0}.print-center-hero p{margin:0;color:#deebf8;line-height:1.6;max-width:760px}.print-center-mark{font-size:62px;filter:drop-shadow(0 9px 18px rgba(0,0,0,.18))}.package-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:18px}.package-card{padding:14px;display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center}.package-card form{grid-column:1/-1}.package-card .btn{width:100%}.package-card>div:nth-child(2){min-width:0}.package-card strong,.package-card small{display:block}.package-card small{font-size:9px;color:var(--muted);margin-top:4px}.package-badge{width:40px;height:40px;border-radius:13px;background:linear-gradient(145deg,var(--navy),#2e659b);color:var(--gold-2);display:grid;place-items:center;font-weight:900}.print-builder{display:grid;gap:16px}.print-options-card,.print-question-picker,.print-document-actions{padding:20px}.print-section-title{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:15px}.print-section-title>span{width:34px;height:34px;border-radius:11px;background:var(--navy);color:var(--gold-2);display:grid;place-items:center;font-weight:900}.print-section-title h3{margin:0 0 3px}.print-section-title p{margin:0;color:var(--muted);font-size:10px}.select-all-row{display:flex;align-items:center;gap:9px;padding:10px 12px;background:#f3f7fb;border-radius:11px;margin-bottom:9px;font-size:12px}.print-question-list{display:grid;gap:7px;max-height:430px;overflow:auto}.print-question-list>label{display:grid;grid-template-columns:auto 34px minmax(0,1fr) auto;align-items:center;gap:9px;border:1px solid var(--line);border-radius:11px;padding:10px 12px;background:#fff;cursor:pointer}.print-question-list>label:hover{border-color:#bdcde0;background:#fbfdff}.print-question-list input{width:auto}.print-question-list strong,.print-question-list small{display:block}.print-question-list strong{font-size:10px;color:#37516c}.print-question-list small{font-size:10px;color:#66768a;margin-top:3px}.print-question-list>label>b{font-size:9px;color:#725922;background:#fff7de;border-radius:7px;padding:5px 7px}.print-q-number{width:28px;height:28px;border-radius:8px;background:#edf2f7;display:grid;place-items:center;font-size:10px;font-weight:900}.document-button-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.document-button{border:1px solid #dce4ee;background:#fff;border-radius:14px;padding:15px 12px;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer;color:var(--text)}.document-button:hover{border-color:#d1a644;box-shadow:0 9px 22px rgba(15,41,72,.09);transform:translateY(-1px)}.document-button i{width:38px;height:38px;border-radius:11px;background:#f0f4f8;display:grid;place-items:center;font-style:normal;font-size:19px}.document-button strong,.document-button small{display:block}.document-button strong{font-size:11px;color:var(--navy)}.document-button small{font-size:9px;color:var(--muted);margin-top:3px}

.exam-print-body{background:#dce2e8;color:#111}.exam-print-sheet{width:210mm;min-height:297mm;margin:16px auto;background:#fff;padding:15mm 16mm;box-shadow:0 6px 30px rgba(0,0,0,.16);font-family:Arial,Helvetica,sans-serif;font-size:11pt}.exam-paper-head{display:grid;grid-template-columns:24mm 1fr;align-items:center;gap:5mm;border-bottom:3px double #111;padding-bottom:3mm}.exam-paper-head img{width:21mm;height:21mm;object-fit:contain}.exam-paper-head h1{margin:0 0 1mm;text-align:center;font-size:16pt;text-transform:uppercase}.exam-paper-head p{margin:.7mm 0;text-align:center;font-size:9pt}.paper-title{display:flex;align-items:center;justify-content:center;gap:5mm;margin:5mm 0 3mm;position:relative}.paper-title h2{margin:0;text-align:center;font-size:14pt;text-decoration:underline}.paper-title span{position:absolute;right:0;border:1px solid #111;padding:1.5mm 3mm;font-weight:700;font-size:9pt}.paper-meta-table{width:100%;min-width:0;border-collapse:collapse;margin:0 0 4mm}.paper-meta-table th,.paper-meta-table td{border:1px solid #222;padding:2mm 2.5mm;font-size:9pt;text-transform:none;letter-spacing:0;background:#fff}.paper-meta-table th{width:18%;font-weight:700}.paper-identity{display:grid;grid-template-columns:1.3fr 1fr;gap:3mm 8mm;border:1px solid #222;padding:3mm;margin-bottom:4mm}.paper-identity div{display:flex;align-items:flex-end;gap:2mm}.paper-identity span{display:block;flex:1;border-bottom:1px dotted #111;height:5mm}.paper-instructions{border:1px solid #444;padding:3mm;margin-bottom:5mm;font-size:9.5pt;line-height:1.45}.printed-questions{display:grid;gap:5mm}.printed-question{break-inside:avoid;border-bottom:1px dashed #999;padding-bottom:4mm}.printed-question-head{display:grid;grid-template-columns:8mm 1fr;gap:1mm}.printed-question-head>b{font-size:11pt}.printed-question-head p{margin:1mm 0 2mm;line-height:1.5}.paper-type{font-size:7.5pt;text-transform:uppercase;color:#555;font-weight:700}.paper-options{margin:2mm 0 0 9mm;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5mm 8mm}.paper-option{display:grid;grid-template-columns:7mm minmax(0,1fr);gap:1mm;align-items:start;line-height:1.4;break-inside:avoid;padding:.8mm 0}.paper-option b{font-weight:400}.paper-option span{min-width:0;overflow-wrap:anywhere}.matching-instruction{margin:1mm 0 2mm 9mm;font-size:9pt;font-style:italic}.paper-matching{margin-left:9mm;display:grid;grid-template-columns:1fr 1fr;gap:5mm;border:1px solid #777;padding:3mm}.paper-matching>div>strong{display:block;text-align:center;border-bottom:1px solid #777;padding-bottom:1.5mm}.paper-matching p{display:grid;grid-template-columns:7mm 1fr;gap:1mm;margin:2mm 0;line-height:1.35}.paper-essay-lines{margin:2mm 0 0 9mm;display:grid;gap:5mm}.paper-essay-lines span,.essay-answer-box>span{display:block;border-bottom:1px dotted #555;height:4mm}.teacher-key-box{margin:3mm 0 0 9mm;border:1px solid #555;background:#f2f2f2;padding:2.5mm;font-size:8.5pt;line-height:1.45}.teacher-metadata{display:grid;gap:1mm;margin-top:2mm;padding-top:2mm;border-top:1px dashed #888}.teacher-explanation,.key-explanation{margin-top:2mm;padding-top:2mm;border-top:1px dashed #999}.answer-sheet-section h3{font-size:11pt;margin:5mm 0 2mm;border-bottom:1px solid #222;padding-bottom:1mm}.answer-bubble-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2mm 4mm}.answer-bubble-grid>div{display:grid;grid-template-columns:8mm repeat(4,1fr);align-items:center;border:1px solid #777;padding:1.5mm}.answer-bubble-grid b{font-size:9pt}.answer-bubble-grid span{display:grid;place-items:center;border:1px solid #444;border-radius:50%;width:6mm;height:6mm;font-size:7.5pt;margin:auto}.matching-answer-box{border:1px solid #777;padding:2.5mm;margin-bottom:2.5mm;display:flex;gap:5mm;flex-wrap:wrap}.matching-answer-box strong{width:100%}.matching-answer-box span{min-width:25mm}.essay-answer-box{border:1px solid #777;padding:3mm;margin-bottom:4mm;display:grid;gap:4mm}.essay-answer-box strong{margin-bottom:1mm}.blueprint-table,.answer-key-table{width:100%;min-width:0;border-collapse:collapse;font-size:8pt}.blueprint-table th,.blueprint-table td,.answer-key-table th,.answer-key-table td{border:1px solid #222;padding:1.7mm;vertical-align:top;text-transform:none;letter-spacing:0;background:#fff;line-height:1.35}.blueprint-table th,.answer-key-table th{font-weight:700;text-align:center}.paper-footer-sign{display:grid;grid-template-columns:1fr 1fr;gap:25mm;margin-top:12mm;text-align:center;font-size:9pt;break-inside:avoid}.paper-footer-sign p{line-height:1.5}.paper-version{margin-top:8mm;border-top:1px solid #bbb;padding-top:2mm;text-align:center;font-size:7pt;color:#777}.paper-empty{padding:20mm;text-align:center;border:1px dashed #777}.print-toolbar{position:sticky;top:0;z-index:20;display:flex;justify-content:center;gap:8px;background:#182b43;padding:10px}.print-toolbar button{border:0;border-radius:8px;padding:9px 14px;background:#fff;color:#132942;font-weight:700;cursor:pointer}
@media(max-width:1000px){.package-grid{grid-template-columns:repeat(3,1fr)}.document-button-grid{grid-template-columns:repeat(2,1fr)}.exam-print-sheet{width:100%;min-height:0;margin:0;padding:20px;box-shadow:none}}@media(max-width:650px){.package-grid{grid-template-columns:1fr 1fr}.print-center-hero{align-items:flex-start}.print-center-mark{font-size:38px}.document-button-grid{grid-template-columns:1fr}.print-question-list>label{grid-template-columns:auto 30px minmax(0,1fr)}.print-question-list>label>b{grid-column:3}.answer-bubble-grid{grid-template-columns:1fr}}
@media print{.print-toolbar{display:none!important}.exam-print-body{background:#fff}.exam-print-sheet{width:auto;min-height:0;margin:0;padding:0;box-shadow:none}.printed-question,.paper-footer-sign{break-inside:avoid}.paper-options{orphans:3;widows:3}.blueprint-table thead,.answer-key-table thead{display:table-header-group}@page{size:A4;margin:14mm 15mm}}

/* V1.4.3 — Fix Dashboard Login */
.login-card .login-help{border-top:1px solid #e5ebf2;padding-top:13px}
@media(max-width:650px){.paper-options{grid-template-columns:1fr}}
@media print{.paper-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V1.4.4 - stabilisasi dashboard dan diagnostik */
.dashboard-quick-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0 24px}.dashboard-quick-grid>a{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--text);text-decoration:none;box-shadow:0 8px 22px rgba(15,41,72,.05);transition:.18s ease}.dashboard-quick-grid>a:hover{transform:translateY(-2px);border-color:#d2ae55;box-shadow:0 12px 28px rgba(15,41,72,.1)}.dashboard-quick-grid>a>span{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#edf4fb;font-size:22px}.dashboard-quick-grid strong,.dashboard-quick-grid small{display:block}.dashboard-quick-grid strong{color:var(--navy);font-size:12px}.dashboard-quick-grid small{margin-top:4px;color:var(--muted);font-size:9px;line-height:1.45}.dashboard-exam-head{margin-bottom:10px}.dashboard-filter-bar{display:grid;grid-template-columns:minmax(0,1fr) 210px auto;gap:12px;align-items:end;padding:14px 16px;margin-bottom:16px}.dashboard-filter-bar label{font-size:10px;font-weight:700;color:var(--navy)}.dashboard-filter-bar input,.dashboard-filter-bar select{margin-top:6px}.dashboard-filter-bar>span{align-self:center;padding:9px 12px;border-radius:999px;background:#eef4fa;color:#35516f;font-size:10px;font-weight:800;white-space:nowrap}.exam-card[hidden]{display:none!important}.system-health-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 28px;margin-bottom:18px;border-radius:22px;color:#fff;background:linear-gradient(125deg,#174f3b,#1f7253 62%,#b08a32);box-shadow:0 16px 38px rgba(15,41,72,.14)}.system-health-hero.warning{background:linear-gradient(125deg,#7a3d19,#b35b23 62%,#b08a32)}.system-health-hero h1{margin:6px 0 4px;font-size:28px}.system-health-hero p{margin:0;color:#eef8f3}.health-score{min-width:125px;text-align:center;padding:14px;border-radius:18px;background:rgba(255,255,255,.14);backdrop-filter:blur(6px)}.health-score strong,.health-score span{display:block}.health-score strong{font-size:31px}.health-score span{font-size:9px;margin-top:3px}.health-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.health-check{display:flex;align-items:flex-start;gap:11px;padding:15px}.health-check>span{flex:0 0 31px;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;font-weight:900;color:#fff;background:#bd3b4b}.health-check.ok>span{background:#16845c}.health-check strong,.health-check small,.health-check em{display:block}.health-check strong{color:var(--navy);font-size:11px}.health-check small{margin-top:4px;color:var(--muted);font-size:9px;line-height:1.45;overflow-wrap:anywhere}.health-check em{margin-top:6px;color:#8a6315;font-size:8px;font-style:normal;font-weight:800;text-transform:uppercase}.system-tools-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}.system-tools-grid .form-card{margin:0}.system-tools-grid p{color:var(--muted);line-height:1.6;font-size:10px}.table-card code{font-size:9px;background:#eef3f8;padding:4px 7px;border-radius:6px;color:#244665}
@media(max-width:1050px){.dashboard-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.health-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.dashboard-quick-grid{grid-template-columns:1fr 1fr}.dashboard-filter-bar{grid-template-columns:1fr}.dashboard-filter-bar>span{justify-self:start}.system-health-hero{align-items:flex-start;flex-direction:column}.health-check-grid,.system-tools-grid{grid-template-columns:1fr}.health-score{min-width:110px}.system-health-hero h1{font-size:23px}}
@media(max-width:480px){.dashboard-quick-grid{grid-template-columns:1fr}}

/* V1.4.5 — stabilitas daftar guru, identitas NIP, dan tanda tangan cetak */
.teacher-admin .filter-bar{grid-template-columns:minmax(180px,1fr) auto}
.teacher-card summary small{line-height:1.55;overflow-wrap:anywhere}
.signature-block>div{text-align:center}
.signature-block small,.paper-footer-sign small{display:block;margin-top:4px;font-size:10px;font-weight:400}
.paper-footer-sign strong{display:block}
@media(max-width:760px){.teacher-admin .filter-bar{grid-template-columns:1fr}.teacher-admin .filter-bar .btn{width:100%}}

/* V1.4.7 — Premium Login UI */
.login-page{
  min-height:100vh;
  overflow-x:hidden;
  background:#f6f9fc;
}
.login-page::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-3;
  background:
    radial-gradient(circle at 92% 7%,rgba(19,62,103,.08) 0 1px,transparent 1.5px) 0 0/18px 18px,
    linear-gradient(122deg,#061a31 0%,#0b2c51 52.5%,#f5f8fc 52.6%,#fbfdff 100%);
}
.login-page::after{
  content:"";
  position:fixed;
  z-index:-2;
  width:42vw;
  height:125vh;
  left:48.5%;
  top:-12vh;
  transform:rotate(29deg);
  border-radius:48%;
  background:linear-gradient(90deg,rgba(255,255,255,.11),rgba(255,255,255,.88) 56%,rgba(231,239,248,.92));
  box-shadow:-20px 0 55px rgba(2,18,36,.10);
  pointer-events:none;
}
.login-shell{
  position:relative;
  isolation:isolate;
  width:min(100%,1600px);
  max-width:none;
  min-height:calc(100vh - 48px);
  margin:0 auto;
  padding:clamp(38px,6vh,82px) clamp(28px,5.4vw,92px);
  display:grid;
  grid-template-columns:minmax(0,1.16fr) minmax(390px,.84fr);
  align-items:center;
  gap:clamp(52px,7vw,120px);
}
.login-shell::before{
  content:"";
  position:absolute;
  z-index:-1;
  left:27%;
  top:13%;
  width:310px;
  height:350px;
  opacity:.045;
  background:url('logo-sdn-tanjung-2.png') center/contain no-repeat;
  filter:grayscale(1) brightness(2.5);
}
.login-hero{color:#fff;min-width:0}
.login-hero-inner{max-width:720px}
.school-badge{
  width:128px;
  height:128px;
  margin:0 0 38px;
  padding:15px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:30px;
  background:linear-gradient(145deg,#fff,#f1f5fa);
  box-shadow:0 22px 48px rgba(0,0,0,.22),inset 0 0 0 1px rgba(255,255,255,.76);
}
.school-badge img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 7px rgba(8,31,56,.15))}
.login-hero .eyebrow{
  display:block;
  color:#f6c747;
  font-size:clamp(11px,.82vw,14px);
  line-height:1.4;
  letter-spacing:3px;
  font-weight:900;
  margin-bottom:24px;
}
.login-hero h1{
  max-width:720px;
  margin:0;
  font-size:clamp(45px,4.25vw,72px);
  line-height:1.075;
  letter-spacing:-2.4px;
  font-weight:800;
  text-wrap:balance;
}
.login-hero h1 span{
  display:inline-block;
  margin-top:8px;
  color:#f4c44e;
  text-shadow:0 8px 25px rgba(244,196,78,.08);
}
.headline-accent{display:block;width:62px;height:5px;margin:25px 0 20px;border-radius:99px;background:linear-gradient(90deg,#f0b927,#f7d46e);box-shadow:0 4px 12px rgba(240,185,39,.23)}
.login-hero>p,.login-hero-inner>p{
  max-width:640px;
  margin:0;
  color:#dce9f7;
  font-size:clamp(15px,1.18vw,20px);
  line-height:1.68;
  letter-spacing:.05px;
}
.feature-row{
  display:grid;
  grid-template-columns:repeat(4,minmax(120px,1fr));
  gap:15px;
  margin-top:34px;
  max-width:690px;
}
.feature-row .feature-card{
  min-height:84px;
  padding:14px 15px;
  display:flex;
  align-items:center;
  gap:12px;
  color:#f8fbff;
  font-size:13px;
  line-height:1.35;
  font-weight:600;
  border:1px solid rgba(197,220,246,.18);
  border-radius:15px;
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 14px 32px rgba(0,10,26,.12);
  backdrop-filter:blur(8px);
}
.feature-row .feature-card b{
  flex:0 0 42px;
  width:42px;
  height:42px;
  border-radius:12px;
  background:rgba(250,196,63,.08);
  color:#f6c548;
}
.feature-row svg,.school-meta svg,.login-card svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.feature-row svg{width:29px;height:29px}
.school-meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:34px;
}
.school-meta span{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:42px;
  padding:10px 17px;
  color:#eef6ff;
  font-size:12px;
  font-weight:600;
  border:1px solid rgba(207,227,249,.17);
  border-radius:14px;
  background:rgba(255,255,255,.055);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.school-meta svg{width:19px;height:19px;color:#f3c34a;stroke-width:2}
.login-panel-wrap{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
}
.login-panel-wrap::before{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  border:1px solid rgba(225,174,49,.32);
  border-left-color:transparent;
  border-top-color:transparent;
  border-radius:50%;
  right:-180px;
  bottom:-215px;
  pointer-events:none;
}
.login-card{
  width:min(100%,535px);
  padding:40px 42px 30px;
  border:1px solid rgba(226,232,240,.88);
  border-radius:32px;
  background:rgba(255,255,255,.965);
  box-shadow:0 30px 75px rgba(8,28,51,.16),0 3px 10px rgba(8,28,51,.04),inset 0 1px 0 #fff;
  backdrop-filter:blur(18px);
}
.login-lock{
  width:68px;
  height:68px;
  margin:-8px auto 18px;
  display:grid;
  place-items:center;
  color:#fff;
  border-radius:22px;
  background:linear-gradient(145deg,#0b315a,#082443);
  box-shadow:0 13px 28px rgba(8,41,75,.23),inset 0 1px 0 rgba(255,255,255,.14);
}
.login-lock svg{width:29px;height:29px;stroke-width:1.8}
.login-card-head{
  display:block;
  padding:0 0 25px;
  text-align:center;
  border:0;
}
.login-card-head h2{
  margin:0;
  color:#0a2442;
  font-size:30px;
  line-height:1.25;
  letter-spacing:-.7px;
}
.login-card-head p{
  margin:8px 0 14px;
  color:#5f6f82;
  font-size:13.5px;
  line-height:1.55;
}
.login-card-head>span{
  display:block;
  width:28px;
  height:4px;
  margin:0 auto;
  border-radius:999px;
  background:#e8b73b;
}
.login-form{gap:20px}
.login-form label{
  gap:9px;
  color:#122c49;
  font-size:12px;
  font-weight:800;
}
.login-input-wrap{
  position:relative;
  display:block;
}
.login-input-wrap>svg{
  position:absolute;
  z-index:2;
  left:17px;
  top:50%;
  width:21px;
  height:21px;
  transform:translateY(-50%);
  color:#7b8999;
  pointer-events:none;
}
.login-form .login-input-wrap input{
  height:58px;
  margin:0;
  padding:0 50px 0 51px;
  color:#102945;
  font-size:13.5px;
  font-weight:500;
  border:1px solid #ccd7e4;
  border-radius:14px;
  background:#fbfcfe;
  box-shadow:inset 0 1px 2px rgba(15,42,69,.025);
}
.login-form .login-input-wrap input::placeholder{color:#8a96a5;font-weight:500}
.login-form .login-input-wrap input:focus{
  border-color:#d7a82f;
  background:#fff;
  box-shadow:0 0 0 4px rgba(229,185,75,.14),0 8px 20px rgba(16,45,78,.05);
}
.login-form .password-field input{padding-right:62px}
.password-toggle{
  position:absolute;
  z-index:3;
  right:1px;
  top:1px;
  bottom:1px;
  width:58px;
  display:grid;
  place-items:center;
  color:#173a61;
  border:0;
  border-left:1px solid #d6dfe9;
  border-radius:0 13px 13px 0;
  background:transparent;
  cursor:pointer;
  transition:.18s ease;
}
.password-toggle:hover,.password-toggle:focus-visible{background:#edf4fb;color:#0a2748;outline:none}
.password-toggle svg{width:23px;height:23px}
.password-toggle .eye-closed{display:none}
.password-toggle.is-visible .eye-open{display:none}
.password-toggle.is-visible .eye-closed{display:block}
.login-submit{
  min-height:60px;
  margin-top:1px;
  padding:15px 22px;
  color:#0a2443;
  font-size:16px;
  font-weight:900;
  letter-spacing:.1px;
  border-radius:14px;
  background:linear-gradient(105deg,#dfaa2d,#f1c653 58%,#eaae2a);
  box-shadow:0 13px 26px rgba(211,157,36,.25),inset 0 1px 0 rgba(255,255,255,.35);
}
.login-submit:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(211,157,36,.31)}
.login-submit svg{width:20px;height:20px;transition:transform .18s ease}
.login-submit:hover svg{transform:translateX(3px)}
.login-divider{
  display:flex;
  align-items:center;
  gap:14px;
  margin:25px 0 19px;
  color:#929eac;
  font-size:8.5px;
  font-weight:800;
  letter-spacing:1.35px;
}
.login-divider::before,.login-divider::after{content:"";flex:1;height:1px;background:#dfe5ec}
.login-help{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  padding:0!important;
  color:#4c5f73;
  font-size:11.5px;
  line-height:1.45;
  border:0!important;
}
.login-help strong{color:#102b49}
.help-icon{
  flex:0 0 39px;
  width:39px;
  height:39px;
  display:grid;
  place-items:center;
  color:#0c3157;
  border-radius:50%;
  background:#fff2cb;
}
.help-icon svg{width:21px;height:21px;stroke-width:1.9}
.login-security-note{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin:20px 0 0;
  color:#8995a4;
  font-size:9px;
  text-align:center;
}
.login-security-note svg{width:14px;height:14px;color:#639177;stroke-width:2}
.login-page .toast{top:22px;right:22px;max-width:min(440px,calc(100vw - 44px))}
.login-page .footer{
  position:relative;
  z-index:2;
  width:100%;
  max-width:none;
  min-height:48px;
  margin:0;
  padding:12px 5vw;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:24px;
  color:#aebdd0;
  font-size:9px;
  background:#061a31;
  border-top:1px solid rgba(255,255,255,.06);
}

@media(max-width:1180px){
  .login-shell{grid-template-columns:minmax(0,1fr) minmax(370px,.75fr);gap:50px;padding-left:42px;padding-right:42px}
  .feature-row{grid-template-columns:repeat(2,minmax(155px,1fr));max-width:490px}
  .login-hero h1{font-size:49px}
}
@media(max-width:900px){
  .login-page::before{background:linear-gradient(180deg,#061a31 0,#0b2d52 48%,#f4f8fc 48.1%,#fbfdff 100%)}
  .login-page::after{display:none}
  .login-shell{min-height:auto;grid-template-columns:1fr;gap:42px;max-width:720px;padding:38px 24px 50px}
  .login-shell::before{left:auto;right:7%;top:3%;width:230px;height:260px}
  .login-hero-inner{max-width:100%}
  .school-badge{width:92px;height:92px;border-radius:23px;margin-bottom:24px}
  .login-hero .eyebrow{margin-bottom:15px}
  .login-hero h1{font-size:42px;letter-spacing:-1.5px}
  .login-hero-inner>p{max-width:600px;font-size:15px}
  .feature-row{grid-template-columns:repeat(4,minmax(0,1fr));max-width:none;margin-top:26px}
  .feature-row .feature-card{min-height:74px;padding:11px;font-size:11px}
  .feature-row .feature-card b{width:35px;height:35px;flex-basis:35px}
  .feature-row svg{width:24px;height:24px}
  .school-meta{margin-top:22px}
  .login-card{width:min(100%,570px)}
}
@media(max-width:620px){
  .login-page::before{background:linear-gradient(180deg,#06192f 0,#0c3159 42%,#f5f8fb 42.1%,#fbfdff 100%)}
  .login-shell{padding:25px 14px 38px;gap:31px}
  .login-shell::before{display:none}
  .school-badge{width:78px;height:78px;padding:9px;margin-bottom:20px;border-radius:20px}
  .login-hero .eyebrow{font-size:9px;letter-spacing:2px;margin-bottom:13px}
  .login-hero h1{font-size:34px;letter-spacing:-1px;line-height:1.1}
  .headline-accent{width:46px;height:4px;margin:18px 0 14px}
  .login-hero-inner>p{font-size:13px;line-height:1.6}
  .feature-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:20px}
  .feature-row .feature-card{min-height:64px;padding:10px 11px;border-radius:13px}
  .school-meta{gap:7px;margin-top:17px}
  .school-meta span{min-height:36px;padding:8px 11px;font-size:9.5px;border-radius:11px}
  .school-meta svg{width:16px;height:16px}
  .login-card{padding:31px 20px 23px;border-radius:25px}
  .login-lock{width:57px;height:57px;border-radius:18px;margin-bottom:14px}
  .login-lock svg{width:25px;height:25px}
  .login-card-head h2{font-size:25px}
  .login-card-head p{font-size:11.5px}
  .login-form{gap:16px}
  .login-form .login-input-wrap input{height:54px;font-size:12.5px}
  .login-submit{min-height:56px;font-size:15px}
  .login-divider{margin:21px 0 17px}
  .login-help{justify-content:flex-start;font-size:10.5px}
  .login-security-note{font-size:8.5px}
  .login-page .footer{flex-direction:column;gap:3px;padding:11px 12px;text-align:center}
}
@media(max-width:380px){
  .login-hero h1{font-size:30px}
  .feature-row .feature-card{font-size:10px}
  .feature-row .feature-card b{width:31px;height:31px;flex-basis:31px}
  .login-card{padding-left:16px;padding-right:16px}
}
@media(prefers-reduced-motion:reduce){
  .login-submit,.password-toggle{transition:none}
}
/* Ensure decorative login layers stay above the document canvas. */
.login-page{position:relative;isolation:isolate}

/* V1.4.8 — Logo resmi SD Negeri Tanjung 2 pada seluruh halaman */
.brand-logo{
  width:52px;
  height:52px;
  flex:0 0 52px;
  display:grid;
  place-items:center;
  padding:4px;
  border-radius:15px;
  background:linear-gradient(145deg,#fff,#eef4fa);
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 7px 18px rgba(0,0,0,.20);
}
.brand-logo img,.brand img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.topbar{min-height:78px;height:auto;padding-top:8px;padding-bottom:8px}
.footer-school{display:inline-flex;align-items:center;gap:9px;min-width:0}
.footer-school img{width:30px;height:30px;object-fit:contain;flex:0 0 30px;filter:drop-shadow(0 3px 5px rgba(9,35,64,.12))}
.welcome-banner::before{
  content:"";
  position:absolute;
  right:110px;
  top:50%;
  width:190px;
  height:190px;
  transform:translateY(-50%);
  opacity:.055;
  background:url('logo-sdn-tanjung-2.png') center/contain no-repeat;
  pointer-events:none;
}
.banner-logo-mark{
  width:104px;
  height:104px;
  flex:0 0 104px;
  padding:10px;
  border-radius:24px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.17);
  display:grid;
  place-items:center;
  position:relative;
  z-index:2;
  backdrop-filter:blur(4px);
}
.banner-logo-mark img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 15px rgba(0,0,0,.18))}
.exam-title-brand{display:flex;align-items:center;gap:14px;min-width:0}
.exam-school-logo{
  width:58px;
  height:58px;
  flex:0 0 58px;
  display:grid;
  place-items:center;
  padding:5px;
  border-radius:15px;
  background:#fff;
  border:1px solid #dce5ef;
  box-shadow:0 7px 18px rgba(12,37,66,.09);
}
.exam-school-logo img{width:100%;height:100%;object-fit:contain;display:block}
.exam-toolbar{gap:16px}
.exam-toolbar>div:first-child{margin-right:auto}
.settings-logo img,.participant-card header img,.report-head img,.exam-paper-head img{object-fit:contain}
.login-shell::before{background-image:url('logo-sdn-tanjung-2.png')}
.school-badge img{object-fit:contain}
@media(max-width:760px){
  .brand-logo{width:44px;height:44px;flex-basis:44px;border-radius:13px}
  .footer-school{justify-content:center}
  .welcome-banner::before{right:-22px;width:150px;height:150px}
  .banner-logo-mark{display:none}
  .exam-title-brand{width:100%;align-items:flex-start}
  .exam-school-logo{width:48px;height:48px;flex-basis:48px;border-radius:13px}
}
@media print{
  .exam-paper-head img,.report-head img,.participant-card header img{filter:none!important}
}
