:root{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#172033;background:#eef2f7}
*{box-sizing:border-box}body{margin:0;background:#eef2f7}.hidden{display:none!important}
.shell{max-width:760px;margin:0 auto;min-height:100vh;padding:18px}
.panel,.question-card{background:white;border:1px solid #dce3ed;border-radius:16px;padding:20px;box-shadow:0 8px 25px rgba(15,23,42,.06)}
.brand{font-weight:900;letter-spacing:.02em;font-size:1.1rem}.brand span{color:#2563eb}
h1{font-size:1.55rem;margin:8px 0 5px}.muted{color:#64748b}.small{font-size:.82rem}
.class-card,.notice{margin:14px 0;padding:13px;border-radius:11px;background:#eff6ff;border:1px solid #bfdbfe}
.form{display:grid;gap:13px;margin-top:14px}.form label{font-weight:650;font-size:.9rem}
input{width:100%;margin-top:6px;padding:13px;border:1px solid #cbd5e1;border-radius:10px;font-size:1rem;background:white}
button{border:0;border-radius:10px;padding:12px 15px;background:#2563eb;color:white;font-weight:750;font-size:.95rem}
button:disabled{opacity:.5}.secondary{background:white;color:#334155;border:1px solid #cbd5e1}.status{min-height:20px;color:#b91c1c;font-size:.86rem}
.exam-head{display:flex;justify-content:space-between;align-items:center;background:white;border:1px solid #dce3ed;border-radius:14px;padding:14px 16px;position:sticky;top:8px;z-index:3}
.timer{font-weight:900;font-variant-numeric:tabular-nums;font-size:1.2rem;color:#b91c1c}.progress-wrap{display:flex;justify-content:space-between;padding:10px 3px}
.question-card{margin-top:4px;min-height:360px}.stimulus{background:#f8fafc;border-left:4px solid #2563eb;padding:13px;border-radius:8px;margin-bottom:15px;white-space:pre-wrap}
.stem{font-weight:750;line-height:1.55;margin-bottom:14px}.option{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid #dbe3ee;border-radius:10px;margin:9px 0;background:#fff}
.option input{width:auto;margin:2px 0 0}.option.selected{border-color:#60a5fa;background:#eff6ff}
textarea{width:100%;min-height:120px;border:1px solid #cbd5e1;border-radius:10px;padding:12px;font:inherit}
.exam-nav{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-top:12px}.submit-btn{width:100%;margin-top:15px;background:#0f766e}
.number-panel{margin-top:10px;background:white;border:1px solid #dce3ed;border-radius:12px;padding:12px;display:grid;grid-template-columns:repeat(6,1fr);gap:7px}
.num{padding:9px 0;background:white;color:#334155;border:1px solid #cbd5e1}.num.answered{background:#dcfce7;border-color:#86efac}.num.current{outline:2px solid #2563eb}
@media(max-width:520px){.shell{padding:10px}.panel,.question-card{border-radius:12px;padding:15px}.number-panel{grid-template-columns:repeat(5,1fr)}}
