:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#14314b;background:#f2f5f8;font-size:16px}*{box-sizing:border-box}body{margin:0}header{background:#0b3b68;color:white;display:flex;justify-content:space-between;gap:16px;padding:20px max(20px,calc((100vw - 940px)/2));align-items:center}header a{color:white;text-decoration:none}main{max-width:940px;margin:32px auto;padding:0 20px 50px}h1{font-size:clamp(1.8rem,4vw,2.5rem);line-height:1.15;margin:8px 0 12px}h2{font-size:1.25rem;margin:0 0 16px}p{line-height:1.55;margin:10px 0}.eyebrow{letter-spacing:.11em;font-size:.72rem;font-weight:750;color:#396a85}.intro,.muted{color:#556b7c}.intro{margin-bottom:24px}section{background:white;border:1px solid #dce4eb;border-radius:16px;padding:24px;margin:20px 0;box-shadow:0 3px 12px #12304705}.heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.heading h2{margin:0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0}.stats div{padding:16px;border-radius:12px;background:#eff6fa}.stats span{display:block;color:#4f6677;font-size:.84rem}.stats strong{display:block;font-size:2rem;margin-top:6px}.stats div:first-child{background:#e6f4ee}.stats div:first-child strong{color:#176347}button,input,select{font:inherit}button{background:#0b4f7a;color:white;border:0;border-radius:9px;padding:12px 18px;font-weight:650;cursor:pointer;min-height:44px}button.secondary{background:#edf3f7;color:#16405e}button:disabled{opacity:.5;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #e6a11b;outline-offset:3px}label{display:block;font-size:.9rem;font-weight:600;margin:14px 0 7px}input:not([type=checkbox]),select{width:100%;min-height:46px;border:1px solid #b9c9d5;border-radius:8px;padding:10px;color:#14314b;background:white}input[type=checkbox]{width:20px;height:20px;margin:0;flex:0 0 auto;accent-color:#0b4f7a}.preferences label,.student-choices label{display:flex;gap:12px;align-items:center;min-height:40px}.preferences button,form>button{margin-top:16px}.columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}details{border-top:1px solid #e1e8ed;padding-top:14px;margin-top:16px}summary{cursor:pointer;font-weight:650;padding:5px 0;min-height:40px}.list>div{padding:13px 0;border-bottom:1px solid #e7edf1;overflow-wrap:anywhere}.list small{display:block;color:#596f80;margin-top:5px;line-height:1.5}.list button{margin-top:9px}.student-choices{max-height:220px;overflow-y:auto}.callout{padding:14px;background:#eff6fa;border-radius:10px}.error{color:#a32620}.success{color:#176347}[hidden]{display:none!important}#confirm{margin-top:16px}@media(max-width:560px){header{font-size:.85rem;padding:16px}main{padding:0 14px 30px;margin-top:24px}section{padding:18px}.stats{gap:8px}.stats div{padding:12px 9px}.stats strong{font-size:1.6rem}.stats span{font-size:.72rem}.columns{grid-template-columns:1fr;gap:0}form>button,#confirm{width:100%}}
dialog{width:min(620px,calc(100% - 24px));max-height:90dvh;overflow:auto;border:1px solid #cfdce6;border-radius:16px;padding:22px;color:#14314b}dialog::backdrop{background:#102c45aa}dialog .heading{margin-bottom:16px;position:sticky;top:-22px;background:white;z-index:2;padding:12px 0}fieldset{border:1px solid #dce4eb;border-radius:10px;margin:18px 0;padding:12px}legend{font-weight:650;padding:0 6px}textarea{width:100%;font:inherit;padding:10px;border:1px solid #b9c9d5;border-radius:8px;resize:vertical}.check{display:flex;align-items:center;gap:10px}.filter-action{display:flex;align-items:flex-end}.filter-action button{width:100%}.badge{display:inline-block;padding:3px 8px;background:#edf3f7;border-radius:6px;font-size:.78rem;margin-left:8px}.record-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.receipt-link{display:inline-block;padding:10px 0;min-height:44px}dialog[aria-busy=true] [data-close]{opacity:.5;pointer-events:none}@media(max-width:560px){.filter-action{margin-top:14px}dialog{padding:16px}dialog .heading{top:-16px}.heading h2{font-size:1.05rem}}
