:root{--navy:#182b35;--navy-deep:#12232c;--teal:#246558;--gold:#d5b77b;--ink:#21333d;--muted:#728087;--line:#e1e6e5;--paper:#f5f7f6;--white:#fff;--danger:#ad3c37;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,textarea,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #bd9d5b;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:34px;letter-spacing:-1.2px;line-height:1.2;font-weight:650;margin-bottom:13px}h2{font-size:20px;letter-spacing:-.4px;font-weight:600}h3{font-size:17px;font-weight:600;line-height:1.45}p{line-height:1.7}small,.fine{font-size:12px;color:var(--muted);line-height:1.6}.muted{color:var(--muted)}.shell{display:flex;min-height:100vh}.sidebar{width:236px;background:var(--navy);color:#d6dfdf;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:34px 22px}.brand{display:flex;align-items:center;gap:12px;color:inherit;font-size:22px;font-weight:650;letter-spacing:1px}.brand:hover{text-decoration:none}.brand-mark{display:flex;align-items:center;justify-content:center;width:43px;height:47px;border:1px solid #ae9870;color:var(--gold);font-family:Georgia,serif;font-size:30px;border-radius:3px 3px 13px 13px}.brand-sub{display:block;font-size:9px;letter-spacing:2.1px;font-weight:500;margin-top:3px;color:#afc0c5}.workspace-label{font-size:9px;letter-spacing:1.6px;color:#81959c;margin:59px 10px 18px}.sidebar nav a{display:flex;gap:14px;align-items:center;padding:14px 16px;border-radius:7px;margin-bottom:6px;color:#b8c7cc;font-size:13px}.sidebar nav a span{font-size:20px;width:21px;text-align:center}.sidebar nav a:hover,.sidebar nav a.active{background:#2b3e47;text-decoration:none;color:#fff}.sidebar nav a.active{box-shadow:inset 3px 0 var(--gold)}.sidebar-foot{margin-top:auto;padding:28px 10px 0;font-size:12px}.sidebar-foot p{margin:19px 0 3px;font-size:11px;color:#b1c0c5}.sidebar-foot small{font-size:10px;color:#80969e}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#89b99d;margin-right:7px}.workspace{margin-left:236px;flex:1;min-width:0}.topbar{height:80px;background:var(--white);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 44px;font-size:12px;color:var(--muted);gap:20px}.topbar-slash{padding:0 15px;color:#bec7cb}.user{display:flex;align-items:center;gap:11px;color:var(--ink)}.user form{margin-left:12px}.avatar{display:grid;place-items:center;width:32px;height:32px;background:#eeeae1;border-radius:50%;font-size:12px;color:#78694e}.text-button{background:none;border:0;color:var(--muted);padding:4px 0;font-size:12px}.text-button:hover{color:var(--teal)}main{padding:43px 44px 55px;max-width:1550px;margin:0 auto;min-height:calc(100vh - 145px)}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}.page-heading p{margin-bottom:0}.eyebrow{display:block;font-size:10px;letter-spacing:1.65px;color:#7a888b;font-weight:650;margin-bottom:12px}.button{background:var(--teal);color:#fff;border:1px solid var(--teal);border-radius:6px;padding:12px 17px;display:inline-flex;align-items:center;justify-content:center;gap:20px;font-size:12px;font-weight:600;white-space:nowrap;line-height:1.4}.button:hover{background:#1b5147;color:white;text-decoration:none}.button.secondary{background:white;border-color:#d5ddda;color:var(--ink)}.button.secondary:hover{background:#edf2ef}.full{width:100%;justify-content:space-between}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:19px;margin-bottom:37px}.stats>div{background:white;border:1px solid var(--line);border-radius:9px;padding:24px 26px;position:relative}.stats span{display:block;color:#69797e;font-size:12px}.stats strong{display:block;font-size:35px;line-height:1.4;font-weight:600;letter-spacing:-1px;margin:7px 0}.stats small{font-size:11px}.stat-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#90b79d;margin:0 0 6px 13px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 0 18px}.section-heading h2{margin:0;font-size:18px}.section-heading>a{font-size:12px}.exam-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px}.exam-card{background:white;border:1px solid var(--line);border-radius:9px;padding:23px 25px 0;overflow:hidden}.card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.card-top .eyebrow{margin-bottom:0}.course-code{font-size:10px;color:#697b80;letter-spacing:.8px;text-transform:uppercase;line-height:1.6}.badge{background:#f0f2f1;color:#75817e;font-size:10px;padding:5px 9px;border-radius:4px;white-space:nowrap;font-weight:550}.badge.green{background:#e8f2eb;color:#31724e}.exam-card h3{font-size:20px;margin:21px 0 16px;letter-spacing:-.45px}.exam-meta{display:flex;gap:22px;font-size:12px;color:#6d7c82}.exam-window{border-top:1px solid #edf0ee;margin:23px 0 20px;padding-top:18px}.exam-window small{font-size:9px;letter-spacing:1px}.exam-window p{font-size:12px;margin:7px 0 0;line-height:1.4}.card-link{display:flex;justify-content:space-between;padding:17px 0;border-top:1px solid #edf0ee;font-size:12px;font-weight:600}.card-link span{font-size:17px}.note-card{display:flex;align-items:flex-start;gap:17px;background:#eeefe9;border:1px solid #e1e3d9;border-radius:8px;padding:22px 25px;margin-top:29px}.note-icon{border:1px solid #9caa97;border-radius:50%;color:#6f836c;width:22px;height:22px;text-align:center;line-height:20px;font-family:Georgia,serif;flex-shrink:0}.note-card h3{font-size:13px;margin-bottom:4px}.note-card p{font-size:12px;color:#758073;margin:0}.panel{padding:27px;background:white;border:1px solid var(--line);border-radius:9px;margin-bottom:22px}.panel>h2{margin-bottom:22px}.panel p:last-child{margin-bottom:0}.narrow{max-width:610px}.form-panel{max-width:850px}.instructions h2{font-size:16px;margin-bottom:10px}.instructions p{font-size:13px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}label{display:block;font-size:12px;font-weight:550;margin-bottom:20px}input:not([type=checkbox]):not([type=radio]),select,textarea{display:block;width:100%;border:1px solid #d6dfdb;border-radius:5px;background:#fff;color:var(--ink);padding:11px 12px;margin-top:8px;line-height:1.5}textarea{resize:vertical}label small{display:block;margin-top:6px;font-weight:400}.checkbox{display:flex;align-items:center;gap:10px;font-weight:400}.checkbox input{accent-color:var(--teal);height:17px;width:17px;flex-shrink:0}.checkbox small{margin-top:1px}.student-picker{max-height:350px;overflow:auto;display:grid;grid-template-columns:repeat(2,1fr);gap:0 20px;margin-bottom:15px}.two-column{display:grid;grid-template-columns:1.4fr 1fr;gap:23px;align-items:start}.count{font-size:12px;background:#edf1ee;padding:4px 8px;border-radius:4px;margin-left:5px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{font-size:10px;font-weight:550;text-transform:uppercase;letter-spacing:.7px;color:var(--muted);padding:12px 12px;border-bottom:1px solid var(--line);background:#f8faf9}td{padding:16px 12px;border-bottom:1px solid #edf0ee}td small{display:block;margin-top:3px;font-size:11px}.notice{background:#edf2f4;border:1px solid #d8e2e6;padding:16px 20px;font-size:13px;border-radius:6px;margin-bottom:23px;line-height:1.6}.notice.success{background:#ecf4ee;border-color:#d6e7da;color:#39674b}.empty{background:white;border:1px dashed #cdd8d3;border-radius:9px;text-align:center;padding:55px 20px}.empty-icon{font-size:30px;color:#8b9c94}.empty h3{margin:15px 0 6px}.empty p{color:var(--muted);font-size:13px;margin:0}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.question-prompt{font-size:16px;margin:21px 0}.option-preview{padding-left:28px;color:#64767a;font-size:13px}.option-preview li{padding:7px 10px}.correct{color:#236349;background:#eef5ee;border-radius:5px}.danger{color:var(--danger)}.publish-panel{display:flex;align-items:center;justify-content:space-between;gap:30px;background:#edf2ee}.publish-panel h2{margin-bottom:9px}.publish-panel p{font-size:12px;color:#6b7d72;max-width:650px}.exam-toolbar{position:sticky;top:0;z-index:5;background:var(--navy);color:white;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 23px;border-radius:8px;margin-bottom:25px;box-shadow:0 4px 14px #12232c12}.exam-toolbar .eyebrow{color:#aec0c4;margin-bottom:2px;font-size:8px}.exam-toolbar strong{font-size:25px;font-variant-numeric:tabular-nums;font-weight:500}.exam-toolbar #save-status{font-size:12px;color:#c2dfd1}.exam-toolbar #save-status.save-error{color:#ffd28f}.time-low{color:#f4b589}.attempt-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:24px;align-items:start}.exam-question{scroll-margin-top:110px}.exam-question h2{font-size:18px;line-height:1.7;margin:22px 0}.answer-option{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:6px;padding:15px;margin-bottom:11px;font-weight:400;line-height:1.6}.answer-option:has(input:checked){background:#eff5f1;border-color:#559379}.answer-option input{accent-color:var(--teal)}.option-letter{font-size:12px;color:#829089}.essay{font-size:15px;line-height:1.9!important}.question-nav{position:sticky;top:117px;padding:21px}.question-nav h3{font-size:15px}.question-nav p{font-size:12px}.question-links{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.question-links a{display:grid;place-items:center;border:1px solid var(--line);border-radius:4px;aspect-ratio:1;font-size:12px;color:#81908c}.question-links a.answered{background:#e4eee7;color:#316d50;border-color:#c0d3c6}.question-nav .button{white-space:normal;justify-content:center;margin-top:9px}.student-answer{padding:22px;background:#f5f7f5;border:1px solid var(--line);border-radius:6px;margin-bottom:20px;line-height:1.9}.submission{text-align:center;padding:42px}.completion-mark{display:inline-grid;place-items:center;border-radius:50%;background:#e7f2e9;color:#47805d;font-size:30px;height:60px;width:60px;margin-bottom:22px}.result-score{font-size:45px;font-weight:600;color:var(--teal);margin:18px 0}.result-score span{font-size:18px;font-weight:400;color:var(--muted)}hr{border:0;border-top:1px solid var(--line);margin:22px 0}footer{border-top:1px solid var(--line);padding:20px 44px;color:#8a9699;font-size:10px;display:flex;justify-content:space-between}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:var(--navy);color:white;padding:50px 65px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.login-story h1{font-family:Georgia,serif;font-size:58px;font-weight:400;letter-spacing:-1.8px;line-height:1.15;margin:25px 0}.login-story .eyebrow{color:var(--gold);font-size:9px}.login-story p{color:#a8bdc4;max-width:360px;font-size:15px}.login-story small{font-size:10px;color:#8da5ae}.login-lines{display:flex;flex-direction:column;margin-top:36px;border-top:1px solid #354952;max-width:340px}.login-lines span{padding:15px 0;border-bottom:1px solid #354952;font-size:12px;color:#becbd0}.login-form{display:grid;place-items:center;padding:60px;background:#fff}.login-form>div{max-width:370px;width:100%}.login-form h2{font-size:28px;letter-spacing:-1px;margin-bottom:13px}.login-form form{margin-top:34px}.login-form .fine{margin-top:25px}.error-card{max-width:700px;padding-top:15vh}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}dialog{border:1px solid var(--line);border-radius:12px;max-width:500px;width:90%;padding:32px;color:var(--ink)}dialog::backdrop{background:#12232c88}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}summary{cursor:pointer;font-size:13px;font-weight:550}details p{margin-top:20px}[hidden]{display:none!important}@media(min-width:1450px){.exam-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1100px){.sidebar{width:205px;padding:28px 16px}.workspace{margin-left:205px}.topbar{padding:0 26px}main{padding:32px 26px}.page-heading{align-items:flex-start}.page-heading h1{font-size:28px}.stats>div{padding:20px}.attempt-layout{grid-template-columns:minmax(0,1fr)}.question-nav{position:static}.question-links{grid-template-columns:repeat(10,1fr)}.two-column{grid-template-columns:1fr}.login-story{padding:40px}.login-story h1{font-size:47px}.login-form{padding:40px}}@media(max-width:760px){.shell{display:block}.sidebar{position:static;width:100%;padding:18px 20px}.sidebar .brand{font-size:17px}.brand-mark{height:37px;width:34px;font-size:24px}.brand-sub{font-size:8px}.workspace-label,.sidebar-foot{display:none}.sidebar nav{display:flex;gap:6px;margin-top:18px;overflow:auto}.sidebar nav a{font-size:11px;padding:9px 12px;margin:0;white-space:nowrap}.sidebar nav a span{display:none}.sidebar nav a.active{box-shadow:inset 0 -2px var(--gold)}.workspace{margin:0}.topbar{height:65px;padding:0 20px}.topbar>span{display:none}.user{width:100%;font-size:12px}.user form{margin-left:auto}main{padding:30px 20px;min-height:60vh}.page-heading{display:block}.page-heading .button{margin-top:20px}.page-heading h1{font-size:29px}.stats{gap:10px;margin-bottom:26px}.stats>div{padding:16px 12px}.stats span{font-size:10px}.stats strong{font-size:28px}.stats small{display:none}.exam-grid,.field-grid,.student-picker{grid-template-columns:1fr}.field-grid{gap:0}.panel{padding:20px}.publish-panel{display:block}.publish-panel .button{margin-top:20px}.exam-toolbar{padding:13px;gap:10px}.exam-toolbar #save-status{font-size:10px;max-width:150px}.exam-toolbar .button{padding:9px;font-size:10px}.question-links{grid-template-columns:repeat(7,1fr)}footer{padding:20px;font-size:9px}footer span{display:none}.login{grid-template-columns:1fr}.login-story{min-height:auto;padding:25px}.login-story>div:not(.brand),.login-story>small{display:none}.login-form{padding:50px 25px}.dialog-actions{flex-direction:column}.exam-question h2{font-size:16px}}
/* Role-aware navigation and class lists */
.sidebar{overflow-y:auto}.sidebar>.brand{flex-shrink:0}.assigned-exams{margin:27px 0 15px;min-height:0}.assigned-exams h2{font-size:9px;letter-spacing:1.3px;color:#a5b9bf;padding:0 10px;margin:0 0 12px;display:flex;justify-content:space-between}.assigned-exams h2 span{color:#d5b77b}.sidebar .assigned-exams nav{display:block}.sidebar .assigned-exams nav a.assigned-exam{display:block;padding:12px 13px;margin-bottom:8px;background:#203640;border:1px solid #344a54;white-space:normal}.assigned-exam strong{display:block;font-size:12px;line-height:1.55;overflow-wrap:anywhere;font-weight:550}.assigned-exam small{display:block;color:#a1b6be;font-size:10px;line-height:1.5;margin:3px 0 6px}.sidebar .assigned-exam .sidebar-exam-state{display:inline-block;font-size:9px;color:#d4c39f;width:auto}.sidebar .assigned-exams nav a.active{background:#30464e;border-color:#a08e65}.sidebar-empty{font-size:11px;color:#94abb3;padding:0 10px}.class-grid{margin-bottom:24px}.class-create{margin-top:25px}.picker-tools{display:flex;gap:18px;flex-wrap:wrap;align-items:center;margin-bottom:18px}.picker-tools [data-roster-count]{margin-left:auto}.saved-recipients{margin-top:22px;border-top:1px solid var(--line);padding-top:18px}.saved-recipients ul{padding-left:20px;max-height:250px;overflow:auto}.saved-recipients li{line-height:1.9;font-size:12px}.saved-recipients small{margin-left:7px}.roster-picker .student-picker{border:1px solid var(--line);border-radius:6px;padding:15px}.roster-picker .checkbox{margin-bottom:13px}.class-grid .exam-card p{font-size:12px}
@media(max-width:760px){.assigned-exams{margin:21px 0 0}.assigned-exams h2{padding:0;margin-bottom:9px}.sidebar .assigned-exams nav{display:flex;overflow-x:auto;gap:10px;margin:0;padding-bottom:3px}.sidebar .assigned-exams nav a.assigned-exam{min-width:185px;max-width:240px;flex:0 0 65%;margin:0}.sidebar .assigned-exam .sidebar-exam-state{display:inline-block}.sidebar-empty{padding:0;margin:0}.picker-tools{gap:12px}.picker-tools [data-roster-count]{width:100%;margin-left:0}}
