.exam-shell{max-width:960px;margin:30px auto 70px;padding:0 24px}.exam-shell>p{max-width:760px}.exam-shell h2{font-size:22px}.exam-shell h3{font-size:21px;line-height:1.65;font-weight:500;white-space:pre-wrap;overflow-wrap:anywhere}.exam-shell button,.exam-shell a,.exam-shell summary{min-height:44px}.exam-schedule{display:grid;grid-template-columns:max-content 1fr;gap:7px 22px;padding:20px 0}.exam-schedule dt{font-weight:600}.exam-schedule dd{margin:0}.exam-rules{margin:20px 0}.exam-rules li{margin-bottom:9px}.exam-rules summary,.exam-shell details>summary{cursor:pointer;padding:10px 0;color:var(--green)}#exam-error,.exam-warning{padding:14px;background:#fcf0e9;border-left:3px solid #a84343;color:#773d2e}#exam-refresh{margin-bottom:18px}.exam-card{padding:22px;background:white;border:1px solid var(--border);border-radius:12px;margin:16px 0}.exam-card h2{margin-top:0}.exam-card a{display:inline-flex;align-items:center;color:var(--green)}.exam-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:26px}#exam-clock{font-variant-numeric:tabular-nums;font-size:22px;white-space:nowrap}.exam-numbers{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0}.exam-numbers button{width:44px;min-height:44px;border:1px solid var(--border);border-radius:7px;background:white;color:var(--ink)}.exam-numbers button[data-answered=true]{background:var(--light);border-color:var(--green)}.exam-numbers button[aria-current=true]{outline:2px solid var(--green);outline-offset:1px}.exam-question{padding:25px;background:white;border:1px solid var(--border);border-radius:13px}.exam-question figure{margin:20px 0}.exam-question img,.exam-review-card img{width:100%;height:auto;display:block}#exam-choices{border:0;margin:20px 0;padding:0;display:grid;gap:10px}#exam-choices button{display:flex;align-items:flex-start;gap:15px;width:100%;text-align:left;padding:16px;background:white;border:1px solid var(--border);border-radius:9px;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere}#exam-choices button[aria-pressed=true]{background:var(--light);border-color:var(--green);box-shadow:0 0 0 1px var(--green)}#exam-choices .exam-choice-letter{flex-shrink:0;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--light)}.exam-question-actions,.exam-navigation,.exam-dialog-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}.exam-navigation{margin:20px 0}#exam-submit{margin-top:10px}#exam-save{min-height:24px;color:var(--green)}.exam-table-wrap{overflow:auto;margin:20px 0}.exam-shell table{width:100%;border-collapse:collapse;text-align:left;background:white}.exam-shell caption{text-align:left;font-weight:600;padding:10px 0}.exam-shell th,.exam-shell td{padding:12px;border-bottom:1px solid var(--border);white-space:nowrap}.exam-ranking{padding-left:0;list-style:none}.exam-ranking li{display:flex;justify-content:space-between;gap:14px;padding:10px;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.exam-review-card{border:1px solid var(--border);background:white;border-radius:10px;margin:16px 0;padding:20px}.exam-review-card p{white-space:pre-wrap;overflow-wrap:anywhere}.exam-review-answer{color:var(--green)}#exam-submit-dialog,#exam-report-dialog{width:calc(100% - 32px);max-width:560px;max-height:calc(100% - 40px);overflow:auto;padding:26px;border:1px solid var(--border);border-radius:14px;color:var(--ink);background:var(--bg)}#exam-report-dialog form{display:grid;gap:10px}#exam-report-dialog textarea,#exam-report-dialog select{width:100%;padding:10px;font:inherit;border:1px solid var(--border);border-radius:6px;background:white;color:var(--ink)}#exam-report-error{color:var(--red)}dialog::backdrop{background:#253c3366}.exam-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}@media(max-width:600px){.exam-shell{margin-top:15px;padding:0 16px}.exam-shell .section-title{font-size:36px}.exam-question{padding:18px}.exam-schedule{grid-template-columns:1fr;gap:3px}.exam-schedule dd{margin-bottom:9px}.exam-shell h3{font-size:19px}.exam-toolbar h2{font-size:19px}.exam-navigation button{flex:1}.exam-dialog-actions button{flex:1}#exam-submit{width:100%}.exam-shell th,.exam-shell td{padding:10px 8px}}
