:root{--exam-navy:#0b376b;--exam-blue:#175cd3;--exam-border:#e0e7f1;--exam-muted:#667085}
.exam-shell{max-width:1150px;margin:0 auto;padding:26px 16px 65px}.exam-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;margin-bottom:20px}.exam-top h1{margin:0 0 6px;font-size:clamp(1.35rem,2.6vw,2rem)}.exam-top p{color:var(--exam-muted);margin:0}.exam-panel{background:#fff;border:1px solid var(--exam-border);box-shadow:0 12px 40px rgba(11,55,107,.06);border-radius:22px;padding:22px;margin-bottom:18px}.exam-panel h2{margin:0 0 14px;font-size:1.15rem}.exam-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:15px}.exam-card{border:1px solid var(--exam-border);background:#fff;border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:13px}.exam-card h3{margin:0;font-size:1.12rem;line-height:1.8}.exam-meta{display:flex;flex-wrap:wrap;gap:9px;font-size:.84rem;color:#475467}.exam-meta span{padding:6px 10px;background:#f3f7fd;border-radius:10px}.exam-pill{display:inline-flex;width:max-content;padding:5px 11px;border-radius:30px;font-size:.78rem;font-weight:800;background:#eef4ff;color:#175cd3}.exam-pill.live,.exam-pill.passed{background:#e6f6ed;color:#147747}.exam-pill.ended{background:#f2f4f7;color:#475467}.exam-pill.failed{background:#fff1f3;color:#b42318}.exam-pill.upcoming{background:#fff6e6;color:#996000}.exam-btn{border:0;border-radius:13px;background:#175cd3;color:white;font:inherit;font-weight:800;display:inline-flex;align-items:center;justify-content:center;padding:11px 17px;text-decoration:none;cursor:pointer;min-height:44px}.exam-btn:hover{background:#0b376b;color:white}.exam-btn.secondary{background:#eef4ff;border:1px solid #cadaf6;color:#0b376b}.exam-btn.secondary:hover{background:#e1ebff}.exam-btn.danger{background:#fff1f3;border:1px solid #fac2cc;color:#ab1f32}.exam-btn:disabled{opacity:.45;cursor:not-allowed}.exam-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.exam-field{display:grid;gap:6px}.exam-field label{font-weight:750;font-size:.9rem;color:#1d2939}.exam-field input:not([type=checkbox]),.exam-field select,.exam-field textarea{font:inherit;min-width:0;width:100%;border:1px solid #cfd9e7;border-radius:12px;padding:11px 12px;background:#fff;color:#101828}.exam-field input:focus,.exam-field textarea:focus,.exam-field select:focus{outline:2px solid #a5c3fc}.exam-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.exam-check{display:flex;align-items:center;gap:9px;margin:10px 0;font-size:.9rem}.exam-check input{width:19px;height:19px}.exam-hint{font-size:.84rem;line-height:1.9;color:var(--exam-muted)}.exam-alert{padding:12px 15px;border-radius:12px;background:#fff4ec;color:#9b4810;margin:12px 0}.exam-alert.good{background:#eaf8ef;color:#146c42}.exam-table-wrap{overflow:auto}.exam-table{border-collapse:collapse;width:100%;min-width:690px}.exam-table th,.exam-table td{border-bottom:1px solid #e7ecf4;padding:12px;text-align:right;font-size:.88rem}.exam-table th{color:#667085}.exam-question{background:#f7fafe;border:1px solid #e0e9f8;border-radius:17px;padding:16px;margin:14px 0}.exam-choice{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #e4eaf3;border-radius:12px;margin:8px 0;cursor:pointer;background:white}.exam-choice:has(input:checked){background:#eef5ff;border-color:#85b0f4}.exam-choice input{width:18px;height:18px;accent-color:#175cd3}.exam-result{font-size:1.8rem;font-weight:900;color:var(--exam-navy)}.exam-progress{width:100%;height:7px;background:#e6ebf3;overflow:hidden;border-radius:10px}.exam-progress span{height:100%;display:block;background:#175cd3;transition:width .2s}.exam-login{max-width:540px;margin:auto}.exam-student-bg{background:#f6f8fc}.exam-muted{color:var(--exam-muted)}.exam-empty{padding:22px;border:1px dashed #ccd7e8;background:#f9fbfe;border-radius:16px;color:#667085}.exam-space{margin-top:22px}.exam-divider{height:1px;background:#edf0f4;border:0;margin:18px 0}.exam-stat-list{display:flex;flex-wrap:wrap;gap:13px}.exam-stat-list>div{flex:1;min-width:120px;background:#f4f7fd;border-radius:13px;padding:12px}.exam-stat-list strong{display:block;color:#0b376b;font-size:1.35rem}.exam-stat-list small{color:#667085}
@media(max-width:700px){.exam-shell{padding:17px 12px 45px}.exam-panel{padding:16px;border-radius:17px}.exam-fields{grid-template-columns:1fr}.exam-actions .exam-btn{flex-grow:1}.exam-grid{grid-template-columns:1fr}}
