*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;background:#f5f7fb;color:#172033}.shell{max-width:980px;margin:auto;padding:28px 18px 60px}.admin-shell{max-width:1120px}.portal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.brand{font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#335caa}h1{margin:.3rem 0}h2{margin-top:0}.admin-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #cbd5e3;border-radius:11px;background:#fff;color:#294b85;text-decoration:none;font-weight:750}.card{background:#fff;border:1px solid #dfe5ef;border-radius:18px;padding:24px;box-shadow:0 8px 30px rgba(26,40,68,.06)}#studentSetup,#closedCard,#loginCard,#bootstrapCard{max-width:620px;margin:auto}.topgap{margin-top:18px}label{display:block;font-weight:700;margin:14px 0}input,textarea,select{width:100%;margin-top:7px;border:1px solid #c9d3e3;border-radius:10px;padding:12px;font:inherit;background:#fff;color:#172033}input[readonly]{background:#f1f4f8;color:#556274;cursor:default}button{border:0;border-radius:10px;padding:12px 18px;font-weight:750;background:#315fb5;color:#fff;cursor:pointer;min-height:44px}button:hover{filter:brightness(.98)}button:disabled{opacity:.5;cursor:not-allowed}.secondary{background:#e9eef7;color:#1f355b}.danger{background:#b33a3a}.msg{color:#a12d2d;min-height:1.3em}.muted{color:#667085;font-size:.92rem}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.meta,.audio-card,.actions{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}.meta{margin:12px 0 16px}.meta span{display:block;color:#667085}.ready-badge,.status-badge{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.ready-badge,.status-badge.open{background:#e8f6ee;color:#167146}.status-badge.closed{background:#eef1f5;color:#596576}.audio-card{background:#eef4ff;border:1px solid #cfe0ff;border-radius:14px;padding:14px 16px;margin-bottom:14px}#sectionNav{display:flex;gap:8px;margin:10px 0 14px;flex-wrap:wrap}.section-pill{background:#e9eef7;color:#344865}.section-pill.active{background:#315fb5;color:#fff}.qnum{font-weight:800;color:#315fb5;margin-bottom:8px}.prompt{white-space:pre-line;line-height:1.58;font-size:1.04rem}.question-image{width:100%;max-height:320px;object-fit:contain;margin:14px 0;border-radius:10px}.question-sprite{width:100%;aspect-ratio:5/3;background-repeat:no-repeat;background-size:100% 2000%;margin:14px 0;border-radius:10px;background-color:#fff;border:1px solid #e4e8ef}.choices{display:grid;gap:10px;margin-top:18px}.choice{display:flex;align-items:flex-start;gap:10px;border:1px solid #dfe5ef;border-radius:12px;padding:13px;cursor:pointer;font-weight:500}.choice:has(input:checked){border-color:#7394d2;background:#f2f6fd}.choice input{width:auto;margin:3px 0 0}.submitted-card{text-align:center;max-width:560px;margin:auto}.submitted-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:#e8f6ee;color:#167146;font-size:2rem;font-weight:800;margin:0 auto 14px}.control-card{border-top:4px solid #315fb5}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:10px;border-bottom:1px solid #e4e8ef;text-align:left;vertical-align:top}th{font-size:.82rem;text-transform:uppercase;letter-spacing:.03em;color:#596576}.table-status{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:.76rem;font-weight:750;background:#eef1f5}.table-status.submitted{background:#fff4dd;color:#8a5a00}.table-status.reviewed{background:#e8f6ee;color:#167146}.modal[hidden]{display:none}.modal{position:fixed;inset:0;background:rgba(15,24,40,.58);z-index:1000;padding:28px 16px;overflow:auto}.modal-card{position:relative;max-width:920px;margin:0 auto;background:#fff;border-radius:18px;padding:26px;box-shadow:0 24px 80px rgba(0,0,0,.22)}.modal-close{position:absolute;right:14px;top:12px;width:42px;height:42px;padding:0;border-radius:50%;background:#eef1f5;color:#263a5c;font-size:1.7rem}.modal-open{overflow:hidden}.writing-response{padding:16px;background:#f7f9fc;border:1px solid #e1e6ef;border-radius:12px;white-space:pre-wrap;line-height:1.55}.rubric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.rubric-grid label{padding:12px;background:#f8fafc;border:1px solid #e3e8f0;border-radius:12px}.rubric-grid label span{display:block;color:#667085;font-size:.8rem;font-weight:500}.report-head,.student-summary,.level-summary,.report-actions{display:flex;gap:14px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}.report-head{padding-bottom:14px;border-bottom:2px solid #dce4f1}.report-date{font-weight:700;color:#667085}.student-summary,.level-summary{display:grid;grid-template-columns:repeat(3,1fr);margin:18px 0}.student-summary>div,.level-summary>div{padding:14px;border:1px solid #e0e6ef;border-radius:12px}.student-summary span,.level-summary span{display:block;color:#667085;font-size:.8rem;margin-bottom:4px}.level-summary .recommended{background:#eef6ee;border-color:#cfe2cf}.report h3{margin-top:24px}.correct{color:#137547;font-weight:700}.incorrect{color:#b42318;font-weight:700}.override-note{padding:12px 14px;background:#fff8e8;border:1px solid #f2dfaa;border-radius:10px}.report-actions{margin-top:20px}@media(max-width:680px){.shell{padding:18px 12px 40px}.card{padding:17px}.grid.two,.rubric-grid,.student-summary,.level-summary{grid-template-columns:1fr}.portal-header{align-items:center}.modal{padding:10px}.modal-card{padding:20px 14px}.question-image{max-height:240px}}@media print{body{background:#fff}.shell{max-width:none;padding:0}.portal-header,#loginCard,#bootstrapCard,#adminPanel>.card,.modal-close,.report-actions{display:none!important}.modal{position:static;background:#fff;padding:0;overflow:visible}.modal-card{max-width:none;box-shadow:none;padding:0}.modal[hidden]{display:none!important}#printReport{display:block}.report{font-size:11pt}.report table{page-break-inside:auto}.report tr{page-break-inside:avoid}.report h3{page-break-after:avoid}}
