:root{--ink:#17313d;--muted:#546972;--navy:#132b36;--teal:#146958;--teal-light:#e7f2ed;--cream:#f6f5ef;--paper:#fffefa;--line:#d8dfda;--gold:#e3b66b;--red:#973d36;--red-light:#fcecea;--blue-light:#eaf0f8;--shadow:0 16px 50px #17313d0c;--radius:16px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:15px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,a,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}button,.button{min-height:44px;border:1px solid transparent;border-radius:9px;padding:10px 16px;font-weight:650;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.35;background:var(--teal);color:#fff}button:hover,.button:hover{filter:brightness(.96)}button.secondary,.button.secondary{background:#fff;color:var(--ink);border-color:var(--line)}button.ghost,.button.ghost{background:transparent;color:var(--ink);border-color:var(--line)}button.danger{background:var(--red)}button.small,.button.small{font-size:13px;padding:9px 13px}a{color:var(--teal);text-underline-offset:3px}input,select,textarea{min-height:46px;width:100%;background:#fff;border:1px solid #adbbb9;border-radius:8px;padding:10px 12px;color:var(--ink)}input[readonly]{background:#f2f3f0}input[aria-invalid=true]{border:2px solid var(--red)}textarea{resize:vertical;min-height:110px}input[type=checkbox]{width:20px;min-height:20px;height:20px;accent-color:var(--teal)}:focus-visible{outline:3px solid #2a83bc;outline-offset:3px}h1,h2,h3,h4,p{margin-top:0}h1{font-size:clamp(28px,3vw,42px);line-height:1.15;letter-spacing:-1.3px;font-weight:680;margin-bottom:14px}h2{font-size:23px;line-height:1.25;letter-spacing:-.5px;margin-bottom:12px}h3{font-size:17px;line-height:1.4;margin-bottom:10px}h4{font-size:15px;margin-bottom:8px}p{margin-bottom:14px}small,.muted{color:var(--muted)}small{font-size:12px}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:1.8px;font-weight:750;color:var(--teal);margin-bottom:12px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.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}.skip-link{position:fixed;top:-100px;left:12px;z-index:50;background:white;padding:14px}.skip-link:focus{top:12px}.boot{margin:15vh auto;text-align:center}.boot .brand-mark{margin:0 auto 20px}.brand-mark{background:var(--teal);width:43px;height:43px;border-radius:12px;font-family:Georgia,serif;color:white;font-weight:bold;font-size:35px;line-height:39px;text-align:center;position:relative}.brand-mark span{font-family:Arial,sans-serif;position:absolute;right:5px;top:-7px;font-size:19px;color:#dbe5a7}.brand{display:flex;gap:12px;align-items:center}.brand strong{font-size:16px;letter-spacing:-.3px;display:block}.brand small{display:block;font-size:11px;letter-spacing:.2px}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:var(--paper);border-bottom:1px solid var(--line)}.topbar-right{display:flex;align-items:center;gap:15px}.role-label{font-size:12px;color:var(--muted)}.shell{max-width:1440px;margin:auto;padding:32px 40px 60px}.footer{border-top:1px solid var(--line);color:var(--muted);font-size:11px;margin-top:32px;padding-top:18px;display:flex;justify-content:space-between;gap:20px}.login-layout{max-width:1160px;margin:56px auto;padding:0 30px;display:grid;grid-template-columns:1.1fr 1fr;gap:70px;align-items:start}.welcome{padding:22px 0}.welcome h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(40px,4.7vw,64px);font-weight:400;line-height:1.06;letter-spacing:-2px;max-width:560px}.welcome h1 em{font-style:normal;color:var(--teal)}.welcome .lede{font-size:17px;max-width:460px;color:var(--muted);line-height:1.65}.paper-illustration{margin-top:35px;position:relative;max-width:410px;border:1px solid var(--line);background:var(--teal-light);border-radius:18px;padding:28px;display:flex;gap:24px;align-items:center;overflow:hidden}.paper-illustration svg{width:104px;height:120px;flex:none;transform:rotate(-5deg)}.paper-illustration p{font-size:13px;margin-bottom:4px}.paper-illustration strong{display:block;font-size:15px;margin-bottom:6px}.login-card{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:32px;box-shadow:var(--shadow)}.segmented{display:flex;background:#edf0eb;padding:4px;border-radius:10px;gap:4px;margin-bottom:28px}.segmented button{flex:1;color:var(--muted);background:none}.segmented button.active{background:#fff;color:var(--ink);box-shadow:0 1px 4px #132b3615}.field{display:block;margin-bottom:16px}.field>span,.field-label{display:block;font-size:13px;font-weight:650;margin-bottom:6px}.field small{display:block;margin-top:6px}.login-card .primary{width:100%;margin-top:8px}.login-help{font-size:12px;margin-top:20px;color:var(--muted);border-top:1px solid var(--line);padding-top:18px}.notice{padding:14px 17px;border-radius:10px;background:var(--blue-light);font-size:13px;border:1px solid #ccd9e6;margin-bottom:18px}.notice p:last-child{margin-bottom:0}.notice.error{background:var(--red-light);border-color:#ecc5bf;color:#843129}.notice.success{background:var(--teal-light);border-color:#bed7c8;color:#205b45}.notice.warning{background:#fff5df;border-color:#e9d19e;color:#6e5423}.notice .actions{margin-top:10px}.page-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:26px}.page-head h1{font-size:34px}.page-head p{margin:0;color:var(--muted);font-size:14px}.head-actions,.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.session-switch{min-width:240px;max-width:330px}.session-strip{background:var(--navy);color:#fff;border-radius:15px;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.session-strip p{margin:3px 0 0;color:#bccfd2;font-size:12px}.session-strip .mono{color:#d3e3e1}.session-strip .button,.session-strip button{background:#fff;color:var(--ink)}.session-strip .state{border:1px solid #9ac8b5;background:#255247;color:#e4fff1}.session-strip strong{font-size:16px}.pill,.state{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;line-height:1.3;font-size:11px;font-weight:700;border-radius:6px;background:#edf0ed;white-space:nowrap}.state.open,.pill.correct{background:var(--teal-light);color:#155b47}.state.closed,.pill.incorrect{background:var(--red-light);color:#923b35}.state.released{background:var(--blue-light);color:#2c557e}.pill.blank{background:#f0f0e9;color:#59665e}.pill.needs-review{background:#fff1ce;color:#775824}.pill.demo{color:#785317;background:#ffedc7}.tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin:0 0 26px;overflow-x:auto}.tabs button{color:var(--muted);background:none;border-radius:0;border-bottom:3px solid transparent;padding:12px 2px;white-space:nowrap}.tabs button.active{color:var(--teal);border-bottom-color:var(--teal)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.toolbar .field{margin:0;min-width:180px}.toolbar select{min-height:44px}.refresh-meta{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.stat{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:20px}.stat .number{font-size:35px;letter-spacing:-1px;font-weight:650;line-height:1.1;display:block;margin:8px 0}.stat p{margin:0;font-size:12px;color:var(--muted)}.stat .label{font-size:12px;font-weight:650}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin-bottom:24px;box-shadow:var(--shadow)}.card h2{font-size:21px}.card-head{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:18px}.card-head h2,.card-head h3{margin-bottom:5px}.card-head p{font-size:12px;color:var(--muted);margin:0}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:24px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.empty{padding:44px 24px;text-align:center;color:var(--muted)}.empty h2{color:var(--ink)}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:10px}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:nowrap}th{background:#f2f4ef;font-size:10px;letter-spacing:.55px;text-transform:uppercase;color:#52666b;font-weight:750}th,td{padding:13px 14px;border-bottom:1px solid #e5e9e3}tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8faf6}td.wrap{white-space:normal;min-width:150px;max-width:270px}td strong{font-size:13px}.table-wrap .button{min-height:44px}.cell-detail{display:block;color:var(--muted);font-size:11px}.section-note{font-size:12px;color:var(--muted);margin:16px 0 0}.item-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.item-card{padding:16px;border:1px solid var(--line);border-radius:11px;background:#fff}.item-card h4{display:flex;justify-content:space-between;align-items:center}.item-card .ratio{font-size:24px;font-weight:680;letter-spacing:-.7px}.item-card p{font-size:11px;color:var(--muted);margin-bottom:5px}.bar{height:7px;background:#e9ece5;border-radius:10px;overflow:hidden;margin:12px 0}.bar span{display:block;height:100%;background:var(--teal)}.band-label{color:var(--muted);font-size:11px;letter-spacing:.7px;text-transform:uppercase;margin:24px 0 12px}.mini-status{font-size:10px;font-weight:650;padding:4px 5px;display:inline-block;min-width:33px;text-align:center;border-radius:4px}.matrix th,.matrix td{padding:12px 9px}.code-card{border:2px dashed #8eafa1;border-radius:12px;padding:20px;background:var(--teal-light);margin:20px 0}.code-card code{font-size:24px;letter-spacing:2px;display:block;margin:8px 0;color:#124a3d}.code-card p{font-size:12px;margin-bottom:6px}.checkbox{display:flex;align-items:center;gap:10px;min-height:44px;font-size:13px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-row .field{min-width:0}.import-text{font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px;min-height:180px}.preview-grid{margin-top:20px}.error-text{display:block;color:var(--red);font-size:12px;margin:6px 0 0}.status-line{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:8px;min-height:22px}.status-dot{width:7px;height:7px;border-radius:50%;background:currentColor}.status-line.saved{color:var(--teal)}.status-line.unsynced{color:var(--red)}.student-shell{max-width:960px;margin:auto;padding:36px 30px 70px}.student-head{margin-bottom:24px;display:flex;align-items:start;justify-content:space-between;gap:24px}.student-head h1{font-size:32px}.student-head p{color:var(--muted);font-size:13px;margin-bottom:8px}.student-info{font-size:12px;text-align:right;min-width:115px}.student-info strong{font-size:16px;display:block;color:var(--ink)}.paper-note{display:flex;gap:14px;border-left:4px solid var(--teal);padding:17px 20px;background:var(--teal-light);margin-bottom:24px;border-radius:0 10px 10px 0}.paper-note p{font-size:13px;margin:0}.paper-note strong{display:block;font-size:14px;margin-bottom:3px}.entry-header{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:26px 0 16px}.entry-header h2{margin:0;font-size:20px}.answer-list{display:grid;grid-template-columns:1fr 1fr;gap:16px}.answer-card{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:20px}.answer-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.question-tag{display:flex;align-items:center;justify-content:center;border-radius:7px;background:#e7eeea;min-width:37px;height:34px;color:var(--teal);font-size:13px;font-weight:750}.answer-heading label{font-size:13px;font-weight:650}.answer-input{display:flex;align-items:center;gap:10px}.answer-input input{font-size:19px;letter-spacing:.5px;max-width:190px}.answer-input span{font-size:12px;color:var(--muted)}details{margin-top:14px}summary{cursor:pointer;color:var(--teal);font-size:12px;font-weight:650;min-height:44px;padding-top:12px}details p{font-size:13px;line-height:1.6;margin-top:5px}.diagram{display:block;width:220px;max-width:100%;height:auto;margin:16px auto}.diagram-caption{text-align:center;color:var(--muted);font-size:11px}.entry-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:24px;padding:22px;background:var(--paper);border:1px solid var(--line);border-radius:12px}.entry-footer p{font-size:12px;margin:0;color:var(--muted)}.review-list{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin:20px 0}.review-row{display:flex;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid var(--line);font-size:14px}.review-row strong{font-family:ui-monospace,monospace}.receipt{max-width:640px;margin:30px auto;text-align:center;padding:38px}.receipt-icon{width:64px;height:64px;border-radius:50%;background:var(--teal-light);color:var(--teal);font-size:31px;line-height:64px;margin:0 auto 20px}.receipt-meta{text-align:left;background:#f2f5ef;padding:18px;border-radius:10px;margin:24px 0;font-size:13px}.receipt-meta p{margin:4px 0}.detail-top{display:flex;gap:12px;align-items:center;margin-bottom:22px}.detail-top h1{font-size:28px;margin:0}.detail-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:24px}.paper-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px}.paper-entry-grid .field{margin-bottom:5px}.review-item{border-top:1px solid var(--line);padding:18px 0}.review-item:first-of-type{border-top:0}.review-item-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.review-item p{font-size:12px;margin-bottom:8px}.review-item .form-row{gap:12px}.review-item .field{margin-bottom:10px}.review-item textarea{min-height:70px}.audit{font-size:12px;padding-left:18px;max-height:400px;overflow:auto}.audit li{padding:9px 0;border-bottom:1px solid var(--line)}.rule-row{display:grid;grid-template-columns:45px 1fr;gap:10px;align-items:center;margin-bottom:12px}.rule-row label{font-size:13px;font-weight:650}.text-wrap{white-space:pre-wrap;overflow-wrap:anywhere}.error-boundary{max-width:700px;margin:8vh auto}.badge-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.cohort-pills{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}.cohort-pills span{font-size:11px;background:#f1f4ee;border:1px solid var(--line);padding:7px 11px;border-radius:7px}.metric-row{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;margin:16px 0}.metric-row strong{font-size:20px}.download-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.score-large{font-size:38px;font-weight:650}.nowrap{white-space:nowrap}[hidden]{display:none!important}@media(max-width:1100px){.shell{padding:28px 24px}.topbar{padding:0 24px}.item-cards{grid-template-columns:repeat(3,1fr)}.detail-grid{grid-template-columns:1fr}.login-layout{gap:35px}.stats{gap:12px}.stat{padding:16px}.grid-2{gap:16px}}@media(max-width:760px){.topbar{height:76px;padding:0 18px}.role-label{display:none}.topbar-right{gap:8px}.brand strong{font-size:14px}.brand small{font-size:10px}.brand-mark{width:37px;height:37px;font-size:31px;line-height:35px}.shell,.student-shell{padding:24px 16px 45px}.login-layout{grid-template-columns:1fr;margin:24px auto;padding:0 18px;gap:20px}.welcome{padding:6px 0}.welcome h1{font-size:41px;max-width:400px}.welcome .lede{font-size:15px}.paper-illustration{display:none}.login-card{padding:24px}.page-head,.student-head{flex-direction:column;gap:16px}.page-head h1{font-size:29px}.page-head .head-actions{width:100%}.session-switch{flex:1;min-width:180px}.session-strip{align-items:flex-start;flex-direction:column;padding:20px}.session-strip .actions{width:100%}.tabs{gap:20px}.stats{grid-template-columns:1fr 1fr}.stat .number{font-size:31px}.grid-2,.grid-3{grid-template-columns:1fr}.card{padding:18px}.item-cards{grid-template-columns:1fr 1fr}.toolbar{align-items:flex-start;flex-direction:column}.toolbar .field{width:100%}.refresh-meta{justify-content:space-between;width:100%;gap:8px}.answer-list{grid-template-columns:1fr}.answer-card{padding:18px}.student-info{text-align:left;display:flex;gap:10px;align-items:center}.student-info strong{font-size:14px}.entry-footer{align-items:flex-start;flex-direction:column}.entry-footer button{width:100%}.entry-header{align-items:flex-start;flex-direction:column}.footer{flex-direction:column;gap:7px}.form-row{grid-template-columns:1fr}.review-list{grid-template-columns:1fr}.detail-top{align-items:flex-start;flex-wrap:wrap}.detail-top h1{font-size:25px}.receipt{padding:25px 20px}.paper-entry-grid{grid-template-columns:1fr 1fr}.student-head h1{font-size:28px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media print{.topbar,.tabs,.toolbar,button,.head-actions,.skip-link,.footer{display:none!important}body{background:#fff}.shell{padding:0}.card{box-shadow:none;break-inside:avoid}.table-wrap{overflow:visible}table{white-space:normal}}
progress.bar{width:100%;display:block;border:0;appearance:none;-webkit-appearance:none}progress.bar::-webkit-progress-bar{background:#e9ece5;border-radius:10px}progress.bar::-webkit-progress-value{background:var(--teal);border-radius:10px}progress.bar::-moz-progress-bar{background:var(--teal);border-radius:10px}
.school-logo{display:block;width:64px;height:64px;object-fit:contain;flex:none}.boot .school-logo{margin:0 auto 20px;width:80px;height:80px}@media(max-width:760px){.school-logo{width:50px;height:50px}.brand{gap:9px}.brand small{letter-spacing:0}}
.classlink-steps{list-style:none;margin:20px 0 24px;padding:0}.classlink-steps li{display:flex;gap:13px;margin:18px 0;align-items:flex-start}.step-number{width:32px;height:32px;line-height:32px;text-align:center;flex:none;border-radius:50%;font-weight:700;background:var(--teal-light);color:var(--teal)}.classlink-steps strong{font-size:14px}.classlink-steps p{font-size:12px;color:var(--muted);margin:3px 0 0}.classlink-join{max-width:560px;margin:28px auto}.classlink-join h1{font-size:31px}.shared-code{margin-right:12px}.shared-code small{display:block;color:#c4d9d6;font-size:11px}.shared-code strong{display:block;color:white;font-size:15px}.identity-link{padding:4px 0 16px;margin:0 0 20px;border-bottom:1px solid var(--line)}.identity-link summary{font-size:13px}.identity-link .notice{margin:12px 0 0}
