:root{--ink:#101525;--primary:#075d12;--deep:#101525;--accent:#87e300;--paper:#f5f7f6;--muted:#50636b;--line:#dce5e2;--white:#fff;font:16px/1.5 "Segoe UI",system-ui,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0}
.top{height:80px;padding:0 clamp(20px,5vw,64px);background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:start;flex-direction:column;line-height:1.1}.brand strong{font-size:1.75rem;letter-spacing:-.065em}.brand strong span{color:var(--primary)}.brand small{font-size:.8rem;margin-top:6px;color:var(--muted)}
.layout{max-width:1500px;margin:auto;display:flex;min-height:calc(100vh - 80px)}
aside{width:225px;flex:0 0 225px;background:white;border-right:1px solid var(--line);padding:28px 16px}nav{display:grid;gap:7px}nav button{box-shadow:none;text-align:left;background:white;color:var(--ink);border:0;width:100%}nav button[aria-current=page]{background:#e4f3e3;color:var(--deep)}
main{min-width:0;flex:1;padding:clamp(20px,4vw,52px)}main.narrow{max-width:950px;margin:auto;width:100%;flex:initial}
h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.05em;line-height:1.08;margin-bottom:14px}h2{letter-spacing:-.025em;font-size:1.35rem}p,.muted{color:var(--muted)}.hero{background:var(--deep);color:white;border-radius:20px;padding:clamp(24px,4vw,48px);margin-bottom:26px}.hero p{color:#e3eeec;margin-bottom:0}.hero small{display:block;color:var(--accent);font-weight:650;margin-bottom:14px}
.card{background:white;border:1px solid var(--line);border-radius:16px;padding:22px;margin-bottom:20px}.login{max-width:490px;margin:30px auto}.row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.spread{justify-content:space-between}.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:14px}.metric strong{display:block;font-size:2rem}.metric span{color:var(--muted)}
button,input,textarea,select{font:inherit}button{border:1px solid transparent;border-radius:9px;padding:9px 14px;cursor:pointer;font-weight:650;background:var(--primary);color:white}button:hover{filter:brightness(.93)}button.secondary{color:var(--primary);background:white;border-color:var(--line)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #08761b;outline-offset:2px}button:disabled{cursor:wait;opacity:.6}
form{display:grid;gap:14px}label{font-weight:600}label:not(.choice){display:grid;gap:5px}input:not([type=radio]),textarea,select{width:100%;min-height:42px;padding:8px 10px;border:1px solid #aabdbb;border-radius:8px;background:white;color:var(--ink)}textarea{min-height:95px;resize:vertical}.choice{display:block;font-weight:400;padding:5px}.formpart{border:1px solid var(--line);border-radius:10px;padding:14px;margin:0;display:grid;gap:10px}.formpart legend{font-weight:650;padding:0 6px}
.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th,td{padding:12px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:.9rem;color:var(--muted);background:var(--paper)}td button{font-size:.875rem}.pill{display:inline-block;border-radius:30px;background:#e4f3e3;padding:3px 10px;font-weight:650;font-size:.85rem;white-space:nowrap}
.player{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,235px);gap:18px}video{display:block;width:100%;background:#12232a;border-radius:9px;aspect-ratio:16/9}#playlist{display:grid;gap:7px;align-content:start}#playlist button{text-align:left}progress{width:100%;accent-color:var(--primary)}.error{color:#9b2738}.invite{margin-bottom:20px}#notice{position:fixed;bottom:20px;right:20px;max-width:calc(100vw - 40px);border-radius:10px;background:var(--deep);color:white;padding:12px 20px;box-shadow:0 8px 30px #0002}
@media(max-width:760px){.layout{display:block}aside{width:auto;padding:9px;border-right:0;border-bottom:1px solid var(--line)}nav{display:flex;overflow:auto}nav button{width:auto;white-space:nowrap}.player{grid-template-columns:1fr}.card{padding:16px}}

.brand{flex-direction:row;align-items:center;gap:16px}.brand-copy{display:grid}.brand img{object-fit:contain;width:65px;height:55px;border-left:1px solid var(--line);padding-left:12px}.editor-list{display:grid;gap:12px}.invite p:last-child{margin:12px 0 0}.card h2{margin-bottom:12px}
.learner-name,.course-learners{display:inline-flex;gap:8px;align-items:center}
.learner-avatar{border-radius:50%;object-fit:cover;flex:none;width:40px;height:40px}
.learner-avatar.initials{display:grid;place-items:center;background:#e4f3e3;color:var(--primary);font-size:.8rem;font-weight:650}
.course-learners{white-space:nowrap;gap:6px}
.course-portrait{display:inline-flex}
.course-portrait .learner-avatar{width:28px;height:28px;font-size:.65rem}
.group-members{max-height:19rem;overflow:auto}.group-members input[type=checkbox]{width:auto;min-height:0;margin-right:8px}

.report-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}
.report-toolbar p{margin:0 0 8px;font-weight:600}
.report-toolbar label{width:min(100%,19rem)}
.report-content{--report-complete:#187047;--report-in-progress:#25649d;--report-overdue:#bc531e;--report-not-started:#a8b5c2;--report-revoked:#765981}
.report-metrics{margin-bottom:16px;gap:12px}
.report-metrics .card{margin:0;padding:17px 18px;border-top:3px solid #cce1d5}
.report-metrics .metric strong{line-height:1.15;margin-top:7px;color:var(--primary);font-variant-numeric:tabular-nums}
.report-metrics .metric span{font-size:.9rem;font-weight:600}
.report-charts{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:16px}
.report-distribution{display:grid;grid-template-columns:minmax(8.5rem,clamp(8.5rem,14vw,11rem)) minmax(0,1fr);align-items:center;gap:24px}
.report-donut{display:grid;place-items:center;aspect-ratio:1;border-radius:50%;background:var(--report-ring,#e5ece9)}
.report-donut-centre{display:grid;place-content:center;text-align:center;background:white;width:73%;height:73%;border-radius:50%;line-height:1.2}
.report-donut-centre strong{font-size:clamp(1.9rem,4vw,2.7rem);letter-spacing:-.07em}
.report-donut-centre span{font-size:.87rem;color:var(--muted)}
.report-legend{list-style:none;margin:0;padding:0;display:grid}
.report-legend li{display:grid;grid-template-columns:10px minmax(0,1fr) auto minmax(2.4rem,auto);gap:8px;align-items:center;padding:7px 0;border-bottom:1px solid var(--line);font-size:.88rem}
.report-legend li:last-child{border-bottom:0}
.report-legend li :last-child{text-align:right}
.report-dot{width:10px;height:10px;border-radius:50%;background:var(--report-tone)}
.report-content .complete{--report-tone:var(--report-complete);--report-tint:#e2f4e9;--report-text:#165c3b}
.report-content .in-progress{--report-tone:var(--report-in-progress);--report-tint:#e6f2fd;--report-text:#184e7c}
.report-content .overdue{--report-tone:var(--report-overdue);--report-tint:#ffede2;--report-text:#8e3510}
.report-content .not-started{--report-tone:var(--report-not-started);--report-tint:#edf1f5;--report-text:#405465}
.report-content .revoked{--report-tone:var(--report-revoked);--report-tint:#f3ebf5;--report-text:#644570}
.report-highlights{background:#eaf4ed;border-color:#d2e6d8}
.report-highlights dl{margin:0}
.report-highlights dl div{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #d2e6d8}
.report-highlights dl div:last-child{border:0}
.report-highlights dd{margin:0;font-size:1.4rem;font-weight:750;font-variant-numeric:tabular-nums;color:var(--primary)}
.report-matrix .table-wrap,.report-summary .table-wrap{border:1px solid var(--line);border-radius:11px}
.report-matrix th,.report-summary th{background:var(--deep);color:#fff}
.report-matrix th,.report-matrix td{min-width:8rem;vertical-align:middle}
.report-matrix th:first-child,.report-matrix td:first-child{position:sticky;left:0;min-width:11rem;box-shadow:3px 0 0 #12232a12;z-index:1}
.report-matrix th:first-child{background:var(--deep)}
.report-matrix td:first-child{background:white}
.report-matrix .learner-avatar{width:30px;height:30px}
.report-status{display:inline-grid;gap:2px;padding:5px 8px;border-radius:7px;background:var(--report-tint);color:var(--report-text);font-size:.82rem;font-weight:650;white-space:nowrap}
.report-status small{font-size:.77rem;font-weight:500}
.report-unassigned{color:var(--muted)}
.report-coverage{min-width:5rem;font-variant-numeric:tabular-nums;line-height:1.2}
.report-coverage progress{display:block;height:.65rem;margin-top:4px}
.report-summary td:not(:first-child){font-variant-numeric:tabular-nums}
.report-content details summary{cursor:pointer;font-weight:650}
.report-content details[open] summary{margin-bottom:14px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:1100px){.report-charts{grid-template-columns:1fr}.report-distribution{grid-template-columns:9rem minmax(0,1fr)}}
@media(max-width:460px){.report-toolbar{align-items:start;flex-direction:column;gap:8px}.report-distribution{grid-template-columns:1fr}.report-donut{width:9rem;margin:auto}}
.report-overdue td{vertical-align:middle}.report-overdue td:last-child{width:12rem}.report-overdue .learner-avatar{width:30px;height:30px}.report-overdue .report-status{min-width:2.25rem;text-align:center}
.record-detail{white-space:pre-wrap;min-width:min(16rem,65vw);max-width:42rem;margin:.6rem 0}td details summary{cursor:pointer}
.autopilot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr));gap:16px}.autopilot-grid .card{margin:0;display:flex;flex-direction:column}.autopilot-person{display:grid;gap:5px;margin-bottom:16px;font-weight:650}.autopilot-person .muted{font-size:.9rem;font-weight:400}.autopilot-actions{margin-top:auto;padding-top:8px}
.learner-history-link{background:transparent;color:var(--primary);border:0;padding:0;text-align:left;font-weight:650}.learner-history-link:hover{text-decoration:underline}
