*{box-sizing:border-box}body{margin:0;background:#f5f8fa;color:#183b50;font:15px/1.45 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select{font:inherit;color:inherit}button,select{cursor:pointer}button{min-height:44px;padding:10px 15px;background:white;border:1px solid #cedce4;border-radius:9px;font-weight:600}button:hover{background:#eaf4fb}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #218fcc;outline-offset:3px}button:disabled{opacity:.45;cursor:default}input,select{width:100%;min-height:44px;border:1px solid #c9d9e3;border-radius:8px;padding:9px 11px;background:white}label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:700;color:#577184;letter-spacing:.015em}label input,label select{font-size:14px;font-weight:500;color:#193f57}header{background:white;display:flex;justify-content:space-between;align-items:center;padding:12px max(24px,calc((100vw - 1220px)/2));border-bottom:1px solid #e0e9ee}.brand{display:flex;align-items:center;gap:20px}.brand img{width:112px;height:54px;object-fit:contain}.brand strong{font-size:20px}.divider{height:32px;width:1px;background:#d6e4ec}.manager{border:1px solid #dce7ee;border-radius:20px;padding:7px 13px;font-size:12px;color:#557084}.prototype{padding:8px 20px;text-align:center;background:#e7f1f7;color:#466a81;font-size:10px;font-weight:800;letter-spacing:.1em}.prototype span{font-weight:500;letter-spacing:0;margin-left:12px}main{max-width:1268px;margin:auto;padding:30px 24px}.heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:23px}.eyebrow{font-size:10px;letter-spacing:.14em;font-weight:800;color:#1780b5}h1{font-size:31px;letter-spacing:-1px;margin:5px 0 7px}p{margin:0;color:#61798a}.heading p{font-size:14px}.primary{background:#1475b5;color:white;border-color:#1475b5;white-space:nowrap}.primary:hover{background:#0e629a}.workspace{border:1px solid #d9e5ed;background:white;border-radius:13px;padding:18px}.main-filters{display:flex;align-items:flex-end;gap:12px}.main-filters label:first-child{width:215px}.search{flex:1}.main-filters button{height:44px;white-space:nowrap}#extra{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;border-top:1px solid #e4edf2;margin-top:18px;padding-top:15px}#extra[hidden],#custom-dates[hidden],[hidden]{display:none!important}#custom-dates{display:flex;gap:12px;margin-top:14px}.scope{display:flex;justify-content:space-between;gap:12px;margin-top:16px;font-size:12px}.scope strong{font-weight:600}.scope span{color:#6a8291;font-size:11px}#chips{display:flex;flex-wrap:wrap;gap:7px}#chips:empty{display:none}#chips button{font-size:11px;min-height:32px;background:#edf5fa;color:#206789;border-color:#dbeaf3;margin-top:12px}.quick{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:16px 0}.quick span{font-size:9px;letter-spacing:.1em;font-weight:800;color:#6a8394;margin-right:5px}.quick button{border:0;background:transparent;padding:7px 10px;font-size:12px;min-height:44px}.quick button:hover{background:#e2edf5}#reset{margin-left:auto;color:#668398}.metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:18px 0 26px}.metric{display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid #d7e4eb;padding:14px 15px;background:white;border-radius:11px}.metric b{font-size:27px;line-height:1.2;letter-spacing:-.8px;margin-bottom:5px}.metric span{font-size:12px;font-weight:600}.metric[aria-pressed=true]{border:2px solid #237fb5;box-shadow:0 0 0 3px #e6f0f8;padding:13px 14px}.metric.present b{color:#15805e}.metric.no_show b{color:#bd3e50}.metric.notified b{color:#ac5a34}.metric.pending b{color:#70818e}.metric.review b{color:#92620d}.results-head{display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid #d7e3eb}.tabs{display:flex;gap:15px}.tabs button{border:0;border-radius:0;background:none;color:#6b8292;border-bottom:3px solid transparent;padding:11px 4px}.tabs button[aria-pressed=true]{color:#1475b5;border-bottom-color:#1475b5}.table-tools{display:flex;gap:10px;align-items:center}.table-tools button{font-size:12px;background:none;border:0}.sort-label{flex-direction:row;align-items:center}.sort-label select{min-height:38px;font-size:12px;padding:6px}.result-meta{display:flex;justify-content:space-between;gap:14px;padding:17px 1px 13px;font-size:12px}.result-meta span{color:#6b8192;font-size:11px}.table-wrap{overflow:auto;background:white;border:1px solid #d9e4eb;border-radius:11px}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{padding:12px;font-size:10px;letter-spacing:.06em;color:#627c8f;background:#edf4f8;white-space:nowrap}td{padding:12px;border-top:1px solid #e6eef3;vertical-align:middle}td small{display:block;font-size:11px;color:#718795;margin-top:4px}.student{background:none;border:0;padding:0;text-align:left;min-height:44px;color:#176699;font-weight:650;font-size:13px}.student:hover{text-decoration:underline;background:none}.avatar{display:inline-flex;width:29px;height:29px;align-items:center;justify-content:center;background:#eaf3f8;border-radius:9px;color:#587b91;font-size:10px;margin-right:9px;font-weight:650}.badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;border-radius:6px;padding:5px 7px;background:#eef3f7;white-space:nowrap;font-weight:650}.badge.present{background:#e4f4eb;color:#207452}.badge.no_show{background:#fbe8ec;color:#b13a50}.badge.notified{background:#fff0e6;color:#965321}.badge.pending{background:#eef1f4;color:#627786}.badge.review{background:#fff0c9;color:#8b660a}.badge.makeup{background:#eeebfc;color:#6950ac}.badge.trial{background:#e4f5fb;color:#247b9b}.pool{color:#976923!important;font-weight:600}.countlink{border:0;background:none;min-width:44px;color:#1776ac}.empty{padding:45px;text-align:center;background:white;border:1px solid #dce7ee;border-radius:10px}.empty h3{margin:0 0 6px}.empty p{font-size:13px}#notice:empty{display:none}#notice{font-size:12px;background:#fff4db;color:#795b23;padding:12px 15px;border-radius:9px;margin-bottom:12px}#pages{display:flex;justify-content:space-between;align-items:center;margin:14px 0;color:#758895;font-size:11px}#pages button{font-size:12px;margin-left:7px}.definitions{display:flex;gap:12px;border-top:1px solid #dbe6ed;padding:18px 0 12px;font-size:11px;color:#758997}.definitions strong{color:#4c6a7d;white-space:nowrap}footer{display:flex;justify-content:space-between;font-size:10px;color:#8195a3;margin-top:12px}dialog{border:0;border-radius:18px;max-height:90dvh;width:min(590px,calc(100vw - 32px));padding:26px;color:inherit;box-shadow:0 20px 100px #14394a55}dialog::backdrop{background:#14334566}.drawer-head{display:flex;justify-content:space-between;align-items:start}.drawer-head h2{font-size:26px;margin:7px 0}.drawer-head button{border:0}#student-subtitle{font-size:12px;margin:0 0 20px}.history{border-left:2px solid #dce9f0;margin:14px 0;padding:4px 0 12px 18px}.history h3{font-size:14px;margin:0 0 7px}.history p{font-size:12px;margin:7px 0}.history time{font-size:11px;font-weight:700;color:#678091}.history-summary{background:#edf6fa;padding:13px;border-radius:8px;font-size:13px}.history .audit{font-size:10px;color:#7b8f9d}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#163b52;color:white;border-radius:10px;padding:12px 22px;font-size:13px;z-index:5;display:none}#date-error{color:#b33144;font-size:12px;margin-top:12px}#print-report{display:none}@media(max-width:900px){main{padding:22px 18px}header{padding:10px 18px}h1{font-size:26px}.heading p{max-width:400px}.metrics{gap:6px}.metric{padding:12px 9px}.metric[aria-pressed=true]{padding:11px 8px}.metric span{font-size:11px}.metric b{font-size:24px}td,th{padding:10px 8px}td{font-size:12px}.avatar{display:none}#extra{grid-template-columns:repeat(3,1fr)}.result-meta{flex-wrap:wrap}.result-meta span{max-width:420px}}@media(max-width:650px){.heading{align-items:flex-start;flex-direction:column;gap:14px}.main-filters{flex-wrap:wrap}.main-filters label:first-child{width:40%}.search{min-width:150px}.scope{flex-direction:column;gap:4px}.metrics{grid-template-columns:repeat(3,1fr)}#extra{grid-template-columns:repeat(2,1fr)}.prototype span{display:block}.results-head{flex-wrap:wrap}.table-tools{width:100%;justify-content:space-between}.definitions{flex-direction:column;gap:5px}.table-wrap{overflow-x:auto}table{min-width:600px}.quick span{width:100%}footer{gap:8px}.sort-label{display:none}}@media print{body>*{display:none!important}body>#print-report{display:block!important;font-size:11px;padding:10px}#print-report h1{font-size:23px}#print-report table{font-size:10px}#print-report button{border:0;background:none;color:#183b50;min-height:0}#print-report th,#print-report td{padding:8px 6px}#print-report tr{break-inside:avoid}#print-report thead{display:table-header-group}@page{size:landscape;margin:12mm}}

/* Keep the first answers within easy reach on a tablet. */
header{padding-top:8px;padding-bottom:8px}.brand img{height:44px}main{padding-top:21px}.heading{margin-bottom:17px}h1{font-size:27px;margin:3px 0 4px}.heading p{font-size:13px}.workspace{padding:15px}.scope{margin-top:12px}.quick{margin:9px 0}.metrics{margin:10px 0 17px}.metric{padding-top:11px;padding-bottom:11px}.metric[aria-pressed=true]{padding-top:10px;padding-bottom:10px}.results-head{min-height:48px}.result-meta{padding-top:12px;padding-bottom:10px}

#review-filter{color:#916614}#review-filter[aria-pressed=true]{background:#fff0ca}.table-tools{gap:4px}@media(max-width:900px){.sort-label{display:none}}

#print-preview{width:min(1100px,96vw)}#print-content{overflow:auto;margin-top:20px}#print-content h1{font-size:21px}#print-content>p{font-size:12px;margin:8px 0}#print-content table{margin:18px 0}

.heading-actions{display:flex;flex-wrap:wrap;gap:8px}.heading-actions button{font-size:12px}nav a{color:#176699;font-size:13px}#access{padding:24px}#load-status{padding:0 0 12px;color:#8a5e12;font-size:13px}#load-status:empty{display:none}.badge{white-space:normal}td{overflow-wrap:anywhere}#incident-list label,.confirm{display:flex;flex-direction:row;align-items:center;gap:10px;padding:12px;border-bottom:1px solid #dce7ee}input[type=checkbox]{min-width:24px;width:24px;height:24px}#incident-error{color:#b33144;margin:12px 0}#incident-dialog select{margin:16px 0}button:disabled{opacity:.5;cursor:not-allowed}#history-scope{margin-bottom:12px}.history .audit{font-size:12px}#toast[hidden]{display:none!important}#toast:not([hidden]){display:block}#toast:empty{display:none}#print-content .student,#print-report .student{min-height:0}.heading-actions{max-width:470px}@media(max-width:900px){.heading{align-items:flex-start;gap:10px}.heading-actions{justify-content:flex-end;max-width:260px}.table-tools{flex-wrap:wrap}.results-head{flex-wrap:wrap}.table-wrap table{table-layout:fixed}td,th{white-space:normal}}

@media(min-width:651px) and (max-width:900px){.heading{display:block}.heading-actions{max-width:none;justify-content:flex-start;margin-top:14px}.scope{flex-wrap:wrap}.scope strong{white-space:nowrap}.scope span{flex:1;min-width:340px}.heading-actions button{min-height:44px}}
/* Keep every filter reachable by touch, including sort and removable chips. */
#chips button{min-height:44px}.sort-label select{min-height:44px}@media(max-width:900px){.sort-label{display:flex}.table-tools{flex-wrap:wrap}}
