:root{font:15px ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:#1d2448;background:#f3f5fb}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#f3f5fb}button,input,textarea,select{font:inherit}a{color:inherit;text-decoration:none}.top{background:#232466;color:white}.top-inner{max-width:1100px;margin:auto;padding:13px 20px;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:10px}.brand{display:flex;align-items:center;gap:11px;font-weight:850;font-size:17px}.brand-icon{width:42px;height:42px;display:grid;place-items:center;background:#ffffff20;border-radius:11px;font-size:13px}.brand small{display:block;color:#c9c9ef;font-size:11px;font-weight:500;margin-top:3px}.top-label{font-size:11px;letter-spacing:.1em;font-weight:800;color:#dedffa}.wrap{max-width:1100px;margin:auto;padding:24px 20px 70px}.intro{border-radius:23px;background:linear-gradient(120deg,#232466,#4946af);color:white;padding:42px;margin:20px 0;box-shadow:0 18px 35px #2324661f}.pill,.eyebrow{font-size:11px;letter-spacing:.14em;font-weight:850;color:#aca8e7}.pill{display:inline-block;background:#ffffff24;color:#f3f0ff;border-radius:20px;padding:7px 11px}.intro h1{font-size:clamp(30px,5vw,48px);line-height:1.08;letter-spacing:-.05em;max-width:680px;margin:15px 0}.intro p{max-width:700px;color:#e2e1fa;line-height:1.6}.intro-stats{display:flex;gap:25px;margin-top:25px}.intro-stats span{display:flex;align-items:baseline;gap:5px;color:#d5d3f3}.intro-stats b{font-size:25px;color:white}.card{background:white;border:1px solid #e1e5f0;border-radius:17px;padding:23px;box-shadow:0 8px 25px #2029630a}.card h2{margin:0 0 10px;font-size:24px;letter-spacing:-.03em}.card p{color:#64708b;line-height:1.55}.login{max-width:520px;margin:22px auto}.login form{margin:22px 0 12px}.login .button{width:100%;margin-top:17px}.small{font-size:12px;color:#8590a6!important}.button{border:0;border-radius:10px;min-height:45px;padding:11px 17px;font-weight:800;cursor:pointer}.button.primary{background:#35369c;color:white}.button.primary:hover{background:#29297b}.button.secondary{background:#eaeafa;color:#35369c}.button.secondary:hover{background:#dfe0f8}.subtle{background:transparent;border:0;color:#525ca0;font-size:12px;cursor:pointer;padding:8px}label{display:block;font-weight:750;font-size:13px;margin:14px 0 7px}input:not([type=radio]),textarea,select{width:100%;border:1px solid #cdd5e5;background:white;border-radius:9px;padding:12px 13px;outline:none;color:#1d2448}input:focus,textarea:focus,select:focus{border-color:#625cc6;box-shadow:0 0 0 4px #625cc61a}textarea{resize:vertical;line-height:1.55}.alert{padding:12px 15px;border-radius:10px;margin:0 0 15px}.alert.error{background:#fff0f2;color:#9e334b}.alert.success{background:#eaf8ed;color:#247046}.exam-head{display:flex;justify-content:space-between;align-items:center;gap:15px;background:linear-gradient(120deg,#232466,#4946af);color:white;border-radius:20px;padding:28px 30px}.exam-head h1{font-size:clamp(29px,4vw,42px);letter-spacing:-.05em;margin:7px 0}.exam-head p{color:#dbdcf6;margin:0}.clock{background:#ffffff22;border:1px solid #ffffff55;border-radius:16px;padding:14px 17px;text-align:center;min-width:120px}.clock span{display:block;font-size:10px;letter-spacing:.14em}.clock strong{font-size:27px}.clock.urgent{background:#9f364b}.student-line{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:17px 0;background:white;border:1px solid #e1e5f0;border-radius:13px;padding:11px 15px}.student-line div{display:flex;flex-direction:column;gap:3px}.student-line b{font-size:13px}.student-line span{color:#7f8ba3;font-size:12px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:31px 0 13px}.section-heading>div{display:flex;align-items:center;gap:10px}.section-heading h2{font-size:23px;letter-spacing:-.03em;margin:0}.section-heading p{color:#7b879e;margin:3px 0 0;font-size:12px}.section-heading>b{color:#393ba0;background:#e8eafb;border-radius:20px;padding:7px 11px;font-size:12px;white-space:nowrap}.section-index{display:grid;place-items:center;width:39px;height:39px;background:#e9eafd;border-radius:11px;color:#393ba0;font-weight:900}.questions{display:grid;gap:12px}.mcq{margin:0;min-width:0}.mcq legend{font-weight:800;line-height:1.4;padding:0 2px;margin-bottom:12px;font-size:15px}.mcq legend span,.question-top span{color:#4143ac}.choices{display:grid;grid-template-columns:1fr 1fr;gap:9px}.choice{display:flex;align-items:center;gap:10px;border:1px solid #dde2ef;border-radius:10px;padding:10px;margin:0;cursor:pointer;font-size:13px;font-weight:600;min-height:45px}.choice:has(input:checked){background:#eeefff;border-color:#7776d2}.choice input{accent-color:#4546af}.choice-letter{display:grid;place-items:center;background:#f1f2f9;border-radius:7px;color:#636c95;width:24px;height:24px;font-size:11px;flex:none}.written h3{margin:8px 0;font-size:16px}.written textarea{margin-top:8px}.question-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:850}.question-top b{color:#4243a2}.rubric-hint{font-size:12px;background:#f7f8fd;padding:9px 11px;border-radius:8px;margin:10px 0}.long-intro h3{margin:0;font-size:17px}.long-intro p{margin-bottom:0}.long-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.save-bar{position:sticky;bottom:12px;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:15px;background:white;box-shadow:0 10px 40px #1f23592f;border:1px solid #dce0ed;border-radius:16px;padding:13px 16px;margin-top:25px}.save-bar strong{display:block;font-size:13px}.save-bar small{display:block;color:#8790a4;font-size:11px;margin-top:3px}.save-actions{display:flex;gap:8px}.done{text-align:center;max-width:600px;margin:50px auto}.done-icon{display:grid;place-items:center;margin:0 auto 12px;width:62px;height:62px;border-radius:18px;background:#e4f8ec;color:#21754c;font-size:29px;font-weight:900}footer{text-align:center;color:#9ca6b8;font-size:11px;padding:0 15px 27px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.admin-grid{display:grid;grid-template-columns:340px minmax(0,1fr);gap:15px}.admin-list,.admin-detail{min-width:0}.admin-row{display:flex;justify-content:space-between;gap:10px;padding:11px 0;border-top:1px solid #ecedf4;font-size:12px}.admin-row span{display:block;color:#8390a5;margin-top:3px}.admin-row b{color:#4444a5}.admin-stats{display:flex;gap:8px;margin:18px 0}.admin-stats span{background:white;border:1px solid #e1e5f0;border-radius:11px;padding:11px 13px;font-size:12px}.admin-stats b{font-size:18px;color:#333599;margin-right:4px}.response{border-top:1px solid #edf0f5;padding:13px 0}.response h3{font-size:14px;margin:0 0 6px}.response p{white-space:pre-wrap;overflow-wrap:anywhere;color:#47516d;margin:0}.mark-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0}.mark-row select{width:88px}.mark-row label{margin:0}.admin-detail .button{margin-top:18px}@media(max-width:720px){.wrap{padding:15px 12px 60px}.top-inner{padding:10px 12px}.top-label{display:none}.intro{padding:28px 22px}.exam-head{padding:23px 17px}.clock{min-width:90px;padding:10px}.clock strong{font-size:21px}.choices,.long-grid,.admin-grid{grid-template-columns:1fr}.card{padding:18px}.save-bar{bottom:0;border-radius:13px 13px 0 0;margin-left:-12px;margin-right:-12px;padding:10px 12px}.save-actions{flex-direction:column}.save-actions .button{min-height:38px;padding:7px 10px;font-size:12px}.section-heading h2{font-size:20px}}
