@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#17332e;--muted:#74817b;--line:#e3e9e4;--green:#21664d;--bg:#f5f7f3;--lime:#d9edb5}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans',sans-serif}button,input,select,textarea{font:inherit}button,a,select{cursor:pointer}button{border:1px solid var(--line);border-radius:7px;padding:10px 15px;background:white;color:var(--ink);font-weight:600}button:hover{background:#edf3e9}button:focus-visible,a:focus-visible{outline:3px solid #86b9a5;outline-offset:2px}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#144b38}aside{width:228px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font:800 23px Manrope,sans-serif;letter-spacing:-1px}.logo{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:var(--green);color:var(--lime);font-size:29px}.side-label{font-size:10px;letter-spacing:1.5px;color:#96a099;margin:48px 12px 16px;font-weight:700}nav button{width:100%;border:0;text-align:left;margin-bottom:7px;font-weight:500;padding:13px 16px;color:#63776d}nav button.active{background:#eaf2e4;color:#225039;font-weight:700}nav span{display:inline-block;width:26px;font-size:17px}.side-bottom{margin-top:auto;border-top:1px solid var(--line);padding:22px 8px 0;font-size:12px}.side-bottom p{font-size:11px;line-height:1.7;color:var(--muted)}.side-bottom button{display:block;width:100%;margin-top:9px;font-size:12px}.dot{display:inline-block;width:7px;height:7px;background:#6b9a63;border-radius:50%;margin-right:5px}main{margin-left:228px;padding:0 42px;max-width:1800px}header{height:77px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.slash{margin:0 12px;color:#b2bcb4}.save{font-size:11px;color:#69846c}.coursebar{display:flex;justify-content:space-between;align-items:center;margin:32px 0}.eyebrow{font-size:10px;letter-spacing:1.7px;color:#7a8c7f;font-weight:700}.course-select select{margin:7px 0 0 -5px;background:transparent;border:0;font:800 25px Manrope,sans-serif;color:var(--ink);max-width:100%}.heading{display:flex;align-items:center;justify-content:space-between;margin:28px 0 24px;gap:20px}h1{font:800 29px Manrope,sans-serif;letter-spacing:-1px;margin:0 0 8px}h2{font:700 18px Manrope,sans-serif;margin:0 0 7px}h3{font:700 15px Manrope,sans-serif;margin:0 0 7px}p{color:var(--muted);line-height:1.6;margin:0}.hero{display:flex;justify-content:space-between;gap:20px;padding:28px 32px;border:1px solid #cddfc5;border-radius:12px;background:#eaf1df}.hero h2{font-size:22px}.hero p{max-width:620px;color:#5e7460}.hero .motif{font-size:64px;line-height:1;color:#71905f}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0}.metric{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px}.metric small{font-size:12px;color:var(--muted)}.metric strong{display:block;font:700 31px Manrope,sans-serif;letter-spacing:-1px;margin:12px 0 8px}.metric p{font-size:11px}.grid{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.panel{border:1px solid var(--line);background:#fff;border-radius:11px;padding:24px;margin-bottom:22px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:10px}.panel-head p{font-size:12px}.link{border:0;color:var(--green);padding:5px;background:transparent;font-size:12px}.row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px 0;border-top:1px solid #eff2ed}.row:first-child{border:0}.row .title{flex:1}.row p{font-size:11px}.icon{background:#eef3e9;border-radius:8px;width:38px;height:38px;display:grid;place-items:center;font-size:18px;color:#658057}.pill{display:inline-block;border-radius:5px;padding:5px 9px;font-size:11px;background:#edf2e9;color:#617653;white-space:nowrap}.pill.warn{background:#fff3dd;color:#a57727}.pill.bad{background:#faeae6;color:#b45d49}.grade{display:inline-block;background:#edf3e9;color:#407346;font-weight:700;min-width:26px;text-align:center;border-radius:5px;padding:5px}.grade.fail{background:#f9e8e3;color:#ad5845}.muted{color:var(--muted)}.progress{height:5px;background:#edf0e9;border-radius:4px;margin-top:8px;overflow:hidden}.progress i{display:block;background:#86aa76;height:100%}.bars{display:flex;align-items:flex-end;gap:14px;height:170px;margin:30px 0 10px}.bar{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;font-size:11px;color:var(--muted)}.bar i{background:#84a87a;width:80%;min-height:2px;border-radius:4px 4px 0 0;margin:8px 0}.bar:nth-child(6) i{background:#d8ab95}.note{padding:13px 17px;border-radius:7px;background:#f0f3eb;color:#687a60;font-size:12px;line-height:1.6;margin:16px 0}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:18px}input,textarea,select{border:1px solid #dbe2d9;border-radius:6px;padding:10px 12px;background:#fff;color:var(--ink)}input:focus,textarea:focus,select:focus{outline:2px solid #90b797;outline-offset:1px}input[type=search]{width:260px}.tablewrap{overflow:auto;max-height:65vh;border:1px solid var(--line);border-radius:9px;background:white}table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px}th{text-align:left;color:#6e7e70;background:#f4f7f0;font-size:10px;text-transform:uppercase;letter-spacing:.5px;position:sticky;top:0;z-index:2;white-space:nowrap}th,td{padding:15px;border-bottom:1px solid var(--line)}tbody tr:last-child td{border:0}th:first-child,td:first-child{position:sticky;left:0;z-index:1;background:#fff;min-width:185px}th:first-child{z-index:3;background:#f4f7f0}td.cell{cursor:pointer;min-width:115px}td.cell:hover{background:#f0f5eb}.cell small{display:block;color:var(--muted);margin-top:5px;font-size:10px}.avatar{background:#edf1e8;color:#748966;border-radius:50%;width:30px;height:30px;display:inline-grid;place-items:center;margin-right:9px;font-size:10px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cards .panel{margin:0}.cardtop{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.card-actions{display:flex;gap:8px;margin-top:18px}.card-actions button{font-size:12px;flex:1}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin:35px 0 22px;padding-top:18px;font-size:11px;color:#95a08e}dialog{width:560px;max-width:calc(100vw - 30px);border:1px solid var(--line);border-radius:13px;padding:26px;max-height:90vh;color:var(--ink)}dialog::backdrop{background:#18332e60;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.dialog-head button{border:0;font-size:22px;padding:0 8px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}label{display:block;font-size:12px;font-weight:600;margin:15px 0 6px}label input,label select,label textarea{display:block;width:100%;margin-top:7px}textarea{min-height:85px;resize:vertical}label.check{display:flex;align-items:center;gap:8px}label.check input{width:auto;margin:0}.fieldgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.error{color:#b45742;font-size:12px;margin-top:12px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#214e3b;color:white;border-radius:8px;padding:13px 22px;display:none;z-index:10}.empty{text-align:center;padding:60px 15px}.danger{color:#ad5845}details{margin:12px 0}summary{cursor:pointer}pre{overflow:auto;font-size:11px;max-height:400px}.mobile-label{display:none}@media(min-width:1500px){main{padding:0 65px}.cards{grid-template-columns:repeat(4,1fr)}}@media(max-width:1100px){aside{width:190px;padding:25px 12px}main{margin-left:190px;padding:0 24px}.cards{grid-template-columns:1fr 1fr}.metrics{gap:10px}.metric{padding:16px}.grid{grid-template-columns:1fr}.hero .motif{display:none}}@media(max-width:720px){aside{position:static;width:auto;border:0;padding:16px;display:block}.brand{font-size:20px}.side-label,.side-bottom{display:none}nav{display:flex;overflow:auto;margin-top:16px}nav button{width:auto;white-space:nowrap;padding:10px}nav span{display:none}main{margin:0;padding:0 16px}header{height:45px}.save{font-size:9px}.coursebar{margin:22px 0;gap:10px}.course-select select{font-size:21px;max-width:230px}.metrics{grid-template-columns:1fr 1fr}.cards{grid-template-columns:1fr}.heading{align-items:flex-start}h1{font-size:25px}.hero{padding:22px}.panel{padding:18px}.heading p{font-size:12px}.coursebar button{font-size:11px;padding:8px}.fieldgrid{grid-template-columns:1fr}}

.header-controls{display:flex;gap:18px;align-items:center}.header-controls select{padding:6px 9px;font-size:12px}.role-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.role-grid p{font-size:12px}.collaboration{margin-top:25px}button:disabled{cursor:wait;opacity:.6}@media(max-width:720px){header{height:auto;min-height:60px;gap:8px}.header-controls{align-items:flex-end;flex-direction:column;gap:5px;padding:8px 0}.role-grid{grid-template-columns:1fr;gap:15px}.save{max-width:180px;text-align:right}}
nav button{display:flex;align-items:center;gap:8px;padding-left:10px;padding-right:10px;font-size:13px}nav span{width:18px;flex-shrink:0}

body:has(#boot) > aside, body:has(#boot) > main { display:none; }
#boot {overflow:auto;}
#account-controls {font-size:12px;}
