
:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#222c3b;background:#f1f4f7;font-synthesis:none;--primary:#21344e;--muted:#5f799e;--line:#dde2ea;--accent:#9bbef0}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}a{color:inherit}button{border:0}button:disabled{opacity:.5;cursor:wait}.layout{display:grid;grid-template-columns:242px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:32px 22px;position:fixed;width:242px;height:100vh;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;font-size:28px;font-weight:750;letter-spacing:-1px}.brand-mark{background:var(--primary);color:var(--accent);width:41px;height:41px;display:grid;place-items:center;border-radius:12px;font-size:24px}.brand small{font-weight:400}.workspace{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;color:#768dad;margin:40px 12px 16px}.nav{display:flex;flex-direction:column;gap:6px}.nav button{display:flex;align-items:center;gap:13px;padding:13px 15px;background:none;border-radius:9px;text-align:left;color:#556d8e;font-size:14px;font-weight:550}.nav button:hover{background:#f1f3f7}.nav button.active{background:#dfe7f3;color:var(--primary)}.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;flex-shrink:0}.sidebar-bottom{margin-top:auto}.help-card{padding:18px;border:1px solid var(--line);border-radius:12px;font-size:12px;line-height:1.65;color:#576f91}.help-card strong{display:block;color:#334256;margin-bottom:4px}.profile{display:flex;align-items:center;gap:10px;margin-top:22px;padding-top:22px;border-top:1px solid var(--line)}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#efe3d9;color:#73533a;font-size:12px;font-weight:700;flex-shrink:0}.profile strong{font-size:12px}.profile small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.profile button{margin-left:auto;background:none;color:#576f91;padding:6px}.main{grid-column:2;min-width:0}.topbar{height:84px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 44px;background:#fafbf8}.breadcrumbs{font-size:13px;color:#748bac;display:flex;gap:12px;align-items:center}.breadcrumbs strong{font-weight:500;color:#334256}.date{font-size:12px;color:#5a7397;display:flex;gap:9px;align-items:center}.content{padding:36px 44px;max-width:1600px;margin:auto}.eyebrow{font-size:11px;color:#607ba0;font-weight:700;letter-spacing:1.7px;text-transform:uppercase}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 0 28px}.heading h1{font-size:30px;letter-spacing:-1px;font-weight:600;margin:0 0 9px}.heading p{color:#6b84a6;font-size:13px;margin:0;line-height:1.7}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;padding:12px 17px;font-size:12px;font-weight:600;background:var(--primary);color:white;text-decoration:none;white-space:nowrap}.btn.secondary{background:#fff;border:1px solid var(--line);color:#445772}.btn.subtle{background:#e8edf3;color:#3c4c63}.btn.danger{background:#fdf5ef;color:#a86430}.btn .icon{width:15px;height:15px}.hero{display:grid;grid-template-columns:1fr 225px;background:#24354c;border-radius:14px;color:#fff;padding:29px 32px;min-height:181px;position:relative;overflow:hidden}.hero .eyebrow{color:#a1b8d7}.hero h2{font-size:24px;font-weight:500;letter-spacing:-.5px;margin:13px 0 9px}.hero p{font-size:12px;color:#bbc6d6;line-height:1.8;max-width:460px;margin:0}.hero-art{position:relative;display:grid;place-items:center}.orbit{position:absolute;width:150px;height:150px;border:1px solid #495d79;border-radius:50%}.orbit.two{width:205px;height:205px}.cube{width:75px;height:85px;background:#a5c3ec;transform:rotate(-15deg);border-radius:14px;display:grid;place-items:center;color:#324053;box-shadow:20px 13px 0 #5f799e}.cube .icon{width:40px;height:40px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:23px 0 31px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:20px}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#637da2}.stat-icon{width:32px;height:32px;background:#ebeff5;border-radius:9px;display:grid;place-items:center;color:#5e789d}.stat-number{font-size:31px;letter-spacing:-1px;margin:11px 0 6px;font-weight:600}.stat-foot{font-size:10px;color:#778dad}.stat-foot span{color:#4c617f}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 19px}.section-title h2{font-size:17px;font-weight:600;margin:0;letter-spacing:-.3px}.text-button{background:none;color:#516786;font-size:11px;display:flex;gap:8px;align-items:center}.panel{border:1px solid var(--line);background:#fff;border-radius:12px;overflow:hidden}.panel-head{padding:20px 23px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;align-items:center}.panel-head h2{font-size:15px;font-weight:600;margin:0}.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:20px}.search{position:relative;width:290px}.search input{padding:11px 14px 11px 38px;background:white;border:1px solid var(--line);border-radius:8px;width:100%;font-size:12px}.search .icon{position:absolute;left:12px;top:11px;width:16px;color:#7e93b1}.muted{color:var(--muted);font-size:12px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{font-size:10px;font-weight:500;letter-spacing:.4px;color:#8196b3;background:#f7f9fb;padding:14px 22px;text-transform:uppercase;white-space:nowrap}td{padding:18px 22px;border-top:1px solid #eaeef3;color:#5b7497}td strong{font-weight:550;color:#2f3b4e}td .sub{display:block;margin-top:5px;color:#7e94b2;font-size:10px}.badge{display:inline-flex;gap:5px;align-items:center;background:#e7edf5;color:#4a6387;padding:5px 9px;border-radius:5px;font-size:10px;white-space:nowrap}.badge.gray{background:#eef0f5;color:#6b84a6}.badge.red{background:#fbf0e8;color:#ac7b56}.badge.amber{background:#faebe0;color:#a36739}.row-title{display:flex;gap:12px;align-items:center}.row-icon{width:34px;height:36px;background:#e7ecf3;color:#6780a4;border-radius:8px;display:grid;place-items:center}.row-icon .icon{width:17px}.row-actions{display:flex;gap:7px;flex-wrap:wrap}.row-actions button{padding:7px 9px;font-size:10px}.dashboard-bottom{display:grid;grid-template-columns:1.45fr 1fr;gap:23px;margin-top:27px}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:20px}.quick{border:1px solid var(--line);border-radius:9px;padding:17px 14px;text-align:left;background:white;display:flex;align-items:center;gap:12px;color:#41536d}.quick:hover{background:#faf4ef}.quick strong{font-size:11px;font-weight:550;display:block}.quick small{display:block;font-size:10px;color:#7e93b1;margin-top:5px}.note{padding:22px;font-size:12px;color:#7088a9;line-height:1.9}.note strong{color:#43556f}.foot{display:flex;justify-content:space-between;margin-top:28px;border-top:1px solid var(--line);padding-top:18px;font-size:10px;color:#8da0ba}.empty{padding:42px 24px;text-align:center;color:#6881a4;font-size:13px}.empty .icon{width:28px;height:28px;display:block;margin:0 auto 12px;color:#869ab7}.empty strong{display:block;font-size:14px;color:#42546e;margin:12px}.empty p{font-size:12px;line-height:1.7}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{padding:24px;border:1px solid var(--line);border-radius:12px;background:#fff}.card h3{font-size:17px;font-weight:550;margin:15px 0 10px}.card p{font-size:12px;color:#617ba0;line-height:1.8}.card .btn{margin-top:12px}.code{font-family:Consolas,monospace;letter-spacing:2px;font-size:15px;padding:10px 13px;border:1px dashed #97acc9;border-radius:7px;display:inline-block;background:#edf2f9}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-brand{background:#23344b;color:white;padding:60px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-brand .brand-mark{background:#a5c3ec;color:#23344b}.auth-brand h1{font-size:46px;line-height:1.16;font-weight:450;letter-spacing:-2px;max-width:480px}.auth-brand p{color:#b3c0d2;font-size:14px;line-height:1.9;max-width:380px}.auth-brand small{color:#8fa2bc;font-size:12px}.auth-form{padding:45px;display:flex;align-items:center;justify-content:center}.auth-inner{width:100%;max-width:385px}.auth-inner h2{font-size:28px;font-weight:550;letter-spacing:-.7px}.auth-tabs{display:flex;border:1px solid var(--line);border-radius:8px;padding:4px;gap:4px;margin:24px 0}.auth-tabs button{flex:1;background:white;color:#6a83a5;padding:10px;font-size:12px;border-radius:5px}.auth-tabs button.active{background:#e4eaf3;color:#354458}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.field span,.field>label{font-size:12px;font-weight:550;color:#41536d}.field input,.field select,.field textarea{width:100%;padding:12px 13px;border:1px solid #d6dde6;border-radius:7px;font-size:13px;background:white;color:#2e3b4d}.field textarea{min-height:95px;resize:vertical}.field small{font-size:11px;color:#6f87a8;line-height:1.6}.check{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:#4e6483;line-height:1.6;margin-bottom:12px}.check input{accent-color:var(--primary);margin-top:3px}.full{width:100%}.error{color:#b06a34;background:#fdf2e9;border-radius:7px;padding:11px 13px;font-size:12px;margin:12px 0;line-height:1.6}.success{background:#dfe8f5;color:#3c5272;border-radius:9px;padding:22px;line-height:1.8}dialog{border:1px solid var(--line);border-radius:16px;padding:0;width:600px;max-width:calc(100% - 30px);max-height:90vh;color:#2d3a4c;box-shadow:0 25px 100px #163b3226}dialog::backdrop{background:#193d3366;backdrop-filter:blur(3px)}.modal-head{padding:23px 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.modal-head h2{font-size:20px;font-weight:550;margin:0}.close{font-size:24px;background:none;color:#5e789c}.modal-body{padding:25px 26px}.modal-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}#toast{position:fixed;right:25px;bottom:25px;background:#23344b;color:#fff;box-shadow:0 6px 30px #0002;padding:15px 22px;border-radius:9px;font-size:13px;z-index:10;display:none}.quiz-page{max-width:760px;margin:35px auto;padding:0 20px}.quiz-top{display:flex;justify-content:space-between;align-items:center;margin:30px 0}.question{padding:25px;background:white;border:1px solid var(--line);border-radius:12px;margin:18px 0}.question h3{font-weight:550;font-size:16px;line-height:1.6}.question-num{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#6b84a6}.option{display:flex;gap:11px;padding:13px;border:1px solid var(--line);border-radius:7px;margin:9px 0;font-size:13px;color:#4e6482}.option input{accent-color:var(--primary)}.question textarea{width:100%;min-height:100px;border:1px solid var(--line);border-radius:8px;padding:13px;font:inherit}.question input[type=file]{width:100%;font-size:12px;border:1px dashed #8fa2bc;padding:22px;border-radius:8px}.selection{max-height:220px;overflow:auto;background:#f3f6fa;border:1px solid var(--line);padding:15px;border-radius:8px;margin-bottom:20px}.selection .check:last-child{margin:0}.progress{height:4px;background:#dde4ed;border-radius:5px;margin-top:15px}.progress>div{height:4px;background:#6889b8;width:100%;border-radius:5px}.result{padding:15px 0;border-bottom:1px solid var(--line);line-height:1.8;font-size:13px}.result strong{display:block}.break{overflow-wrap:anywhere}@media(min-width:1450px){.content{padding-top:45px}.hero{min-height:210px}.stats{margin-top:28px;margin-bottom:36px}.stat{padding:25px}}@media(max-width:1100px){.sidebar{width:205px;padding:25px 15px}.layout{grid-template-columns:205px 1fr}.topbar{padding:0 25px}.content{padding:28px 25px}.stats{gap:10px}.stat{padding:15px}.dashboard-bottom{grid-template-columns:1fr}.cards{grid-template-columns:1fr 1fr}.date{display:none}.auth-brand{padding:40px}.auth-brand h1{font-size:38px}}@media(max-width:760px){.layout{display:block}.sidebar{position:relative;width:100%;height:auto;padding:18px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:24px}.workspace,.sidebar-bottom,.sidebar .profile{display:none}.nav{flex-direction:row;overflow:auto;margin-top:16px;gap:4px}.nav button{padding:10px;font-size:11px;white-space:nowrap;gap:6px}.nav button .icon{width:15px}.topbar{height:55px;padding:0 20px}.content{padding:25px 18px}.heading{align-items:flex-start}.heading h1{font-size:25px}.heading p{font-size:12px}.heading>.btn{font-size:0;padding:12px}.heading>.btn .icon{width:18px;height:18px}.stats{grid-template-columns:1fr 1fr}.hero{grid-template-columns:1fr;padding:25px}.hero-art{display:none}.hero h2{font-size:21px}.cards{grid-template-columns:1fr}.toolbar{align-items:flex-start}.search{width:65%}.auth-page{display:block}.auth-brand{padding:25px}.auth-brand h1{font-size:28px;letter-spacing:-.8px;margin:30px 0 14px}.auth-brand>small,.auth-brand p{display:none}.auth-form{padding:30px 25px}.form-grid{grid-template-columns:1fr;gap:0}.foot{font-size:9px}.quick-actions{gap:8px;padding:15px}.quick{padding:13px 10px}td,th{padding:15px}.btn{padding:11px 13px}.quiz-page{margin-top:20px}}

.category-strip{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.category-strip button{cursor:pointer}.mobile-exit{display:none}[hidden]{display:none!important}@media(max-width:760px){.mobile-exit{display:flex}}.password-control{position:relative;display:block;width:100%}.field .password-control input{padding-right:100px}.password-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);min-width:78px;min-height:34px;padding:7px 9px;border-radius:5px;background:#e8edf3;color:#354458;font-size:11px;font-weight:600}.password-toggle:hover{background:#d7dfeb}.password-toggle:focus-visible{outline:2px solid #21344e;outline-offset:2px}

:root{color:#183456;background:#f4f7fd;--primary:#2057a5;--accent:#ffbd7a;--muted:#637792;--line:#dce5f2}body{background:linear-gradient(135deg,#f6f9ff,#fff8f1)}.brand-mark{background:linear-gradient(145deg,#12376d,#3275ce);color:#ffc68d}.nav button.active{background:linear-gradient(110deg,#e7f0ff,#fff0df);color:#164783;box-shadow:inset 3px 0 #ee984c}.hero{background:linear-gradient(115deg,#12345f,#245cab 75%,#3476c7)}.hero .eyebrow{color:#ffd0a0}.hero p{color:#d4e5ff}.hero .cube{background:linear-gradient(145deg,#ffe0b8,#f4a45f);color:#87481d;box-shadow:20px 13px 0 #dc8249}.orbit{border-color:#6997d4}.auth-brand{background:linear-gradient(145deg,#102f59,#245ba6 70%,#3478c4)}.auth-brand .brand-mark{background:linear-gradient(145deg,#ffe2bc,#f4ab6b);color:#173b6f}.auth-brand p{color:#d1e2f9}.auth-brand small{color:#b8d2f3}.eyebrow{color:#5b78a0}.auth-brand .eyebrow{color:#ffd1a2}.btn:not(.secondary):not(.subtle):not(.danger){background:linear-gradient(110deg,#1d4e94,#3373c9)}.btn:hover{filter:brightness(1.04)}.btn.subtle{background:linear-gradient(110deg,#edf4ff,#fff1df);color:#254d80}.btn.danger{background:#fff0e1;color:#934914}.badge{background:#e9f2ff;color:#2b5893}.badge.amber{background:#fff0dd;color:#925019}.badge.red{background:#fff0e4;color:#a24f20}.code{background:#fff5e8;border-color:#e1ab77;color:#75461f}.stat-icon,.row-icon{background:linear-gradient(135deg,#eaf2ff,#fff2e2);color:#3c6aab}.avatar{background:linear-gradient(140deg,#ffe8c9,#ffd4a4);color:#895426}.stat-foot span{color:#c27835}.quick:hover{background:#f1f6ff}.field input:focus,.field select:focus,.field textarea:focus{border-color:#4280d5;outline:2px solid #bed8fc;outline-offset:1px}.password-toggle{background:#eaf2ff;color:#27538c}.password-toggle:hover{background:#dceaff}.password-toggle:focus-visible{outline-color:#2057a5}.success{background:linear-gradient(110deg,#edf4ff,#fff3e2);color:#254b7c}.progress>div{background:linear-gradient(90deg,#3472c5,#f4a05a)}.category-strip{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 24px}.category-chip{border:1px solid #d7e4f6;background:linear-gradient(120deg,#f0f6ff,#fff7ed);border-radius:10px;padding:11px 13px;min-width:170px;flex:0 1 auto}.category-filter{display:flex;gap:12px;align-items:center;justify-content:space-between;background:none;color:#24518b;padding:0;font-size:12px;font-weight:650;width:100%;text-align:left}.category-filter span{background:#fff0dd;border-radius:5px;padding:2px 7px;color:#99551f}.category-controls{display:flex;gap:12px;margin-top:10px;padding-top:8px;border-top:1px solid #dde7f3}.category-controls button{background:none;padding:3px 0;font-size:10px;color:#3763a1}.category-controls button:last-child{color:#a15c27}.category-controls button:hover{text-decoration:underline}.error{background:#fff0e7;color:#99491f}dialog::backdrop{background:#102f5966}
.quiz-library{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}.category-browser{background:#fff;border:1px solid #c9daf2;border-radius:14px;overflow:hidden;box-shadow:0 8px 28px #1749810a;position:sticky;top:20px}.category-browser-heading{background:linear-gradient(125deg,#133c75,#2c65af);color:white;padding:22px 18px;display:flex;gap:12px;align-items:flex-start}.category-browser-heading>.icon{width:24px;height:24px;color:#ffc591}.category-browser-heading h2{font-size:20px;margin:0 0 7px;font-weight:650}.category-browser-heading p{font-size:11px;line-height:1.7;margin:0;color:#d4e5ff}.category-list{padding:12px;max-height:62vh;overflow:auto}.category-select{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 12px;text-align:left;background:#f5f8fe;border:1px solid transparent;border-radius:9px;color:#35587e;font-size:14px;font-weight:600;overflow-wrap:anywhere}.category-select b{min-width:25px;border-radius:5px;padding:4px 6px;background:white;color:#51749c;font-size:11px;text-align:center}.category-select:hover{background:#eaf2ff}.category-select.selected{background:linear-gradient(110deg,#e1edff,#fff0de);border-color:#efbb89;box-shadow:inset 4px 0 #ea924a;color:#183f73}.category-select.selected b{background:#f6a65e;color:#4a2b11}.category-list-item{margin-top:10px}.category-tools{display:flex;justify-content:flex-end;gap:14px;padding:6px 10px 9px}.category-tools button{background:none;font-size:10px;color:#466c9f;padding:3px}.category-tools button:last-child{color:#a05d29}.category-tools button:hover{text-decoration:underline}.category-browser-footer{border-top:1px solid #dce5f2;padding:14px}.category-browser-footer .btn{width:100%}.category-empty{padding:12px}.selected-category-header{background:linear-gradient(105deg,#eaf2ff,#fff4e7);border:1px solid #d7e3f4;border-radius:12px;padding:23px;display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px}.selected-category-header h2{font-size:25px;color:#1b457e;letter-spacing:-.5px;margin:8px 0 9px;overflow-wrap:anywhere}.selected-category-header p{margin:0;color:#6c809b;font-size:12px}.selected-category-header>.icon{width:34px;height:34px;color:#d38b49;flex-shrink:0}.category-questions{min-width:0}.category-questions .toolbar{gap:8px}.category-questions .search{width:min(340px,75%)}.category-questions table{table-layout:auto}.question-name{font-size:14px;line-height:1.6;display:block;min-width:150px;overflow-wrap:anywhere}.question-category-tag{display:inline-block;background:#eef4ff;color:#4c71a3;padding:4px 7px;border-radius:4px;margin-top:9px;font-size:10px}.question-actions{display:flex;flex-wrap:wrap;gap:6px;min-width:180px;max-width:230px}.question-actions .btn{font-size:10px;padding:8px 9px}.question-actions .icon{width:12px;height:12px}.question-inactive td{background:#fcfcfd}.protected-account{display:inline-flex;align-items:center;gap:7px;color:#315d94;background:#edf4ff;border:1px solid #d5e4f8;border-radius:7px;padding:10px 12px;font-size:11px;white-space:nowrap}.protected-account .icon{width:15px;height:15px}@media(min-width:1600px){.quiz-library{grid-template-columns:290px minmax(0,1fr)}}@media(max-width:1100px){.quiz-library{grid-template-columns:215px minmax(0,1fr);gap:16px}.category-browser-heading{padding:18px 14px}.category-select{font-size:12px}.category-questions .toolbar>.muted{display:none}.category-questions .search{width:100%}}@media(max-width:760px){.quiz-library{grid-template-columns:1fr;gap:20px}.category-browser{position:static}.category-browser-heading{padding:16px 18px}.category-browser-heading h2{font-size:18px}.category-list{max-height:280px}.category-select{font-size:14px}.selected-category-header{padding:20px}.selected-category-header h2{font-size:23px}.question-actions{min-width:160px}.category-browser-footer{padding:12px}}
.scope-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;background:#fff;border:1px solid #dce5f2;border-radius:12px;padding:20px;margin-bottom:20px}.scope-filters .field{margin:0}.results-count{margin:15px 0}.result-session{background:#fff;border:1px solid #d5e2f4;border-radius:13px;margin-bottom:20px;overflow:hidden}.result-session>summary{display:flex;align-items:center;gap:12px;padding:20px 23px;background:linear-gradient(110deg,#e9f2ff,#fff2e2);cursor:pointer;color:#234e87}.result-session>summary::before{content:'▸';color:#c67c39}.result-session[open]>summary::before{content:'▾'}.result-room{padding:8px 23px 20px}.result-room h3,.result-trainer h4{display:flex;gap:9px;align-items:center;color:#345a8e}.result-room h3{font-size:17px}.result-trainer h4{font-size:13px;color:#8a592b}.result-trainer .panel{box-shadow:none}.grading-question{padding:22px 0;border-bottom:1px solid #dce5f2}.grading-question h3{font-size:16px;color:#234d86;line-height:1.7}.answer-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8;background:#f6f9ff;border:1px solid #e2eafa;border-radius:8px;padding:15px;margin:12px 0}.grading-fields{margin-top:18px}.grading-fields .field textarea{min-height:50px}.monitor-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0}.monitor-summary>div{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid #dce5f2;border-radius:12px;padding:22px}.monitor-summary strong{font-size:30px;color:#2359a2}.monitor-summary span{font-size:12px;color:#6a7e98}.monitor-toolbar{display:flex;align-items:center;gap:20px;justify-content:space-between}.monitor-toolbar>.field{width:min(450px,55%)}.matrix-legend{display:flex;gap:10px;flex-wrap:wrap;font-size:11px}.matrix-legend>span{padding:6px 9px;border-radius:5px}.matrix-legend .answered,.matrix-status.answered{background:#e4efff;color:#285fa8}.matrix-legend .partial,.matrix-status.partial{background:#ffebd4;color:#a75f24}.matrix-legend .pending,.matrix-status.pending{background:#eff2f7;color:#8090a4}.monitor-pagination{display:flex;align-items:center;justify-content:flex-end;gap:13px;margin:12px 0}.monitor-pagination .btn{font-size:10px;padding:9px}.matrix-cell{text-align:center}.matrix-status{display:inline-grid;place-items:center;min-width:30px;height:30px;border-radius:7px;font-weight:bold}.small-progress{display:block;width:100px;height:6px;border:0;border-radius:5px;margin-top:9px;background:#e7edf6;accent-color:#3774c4}.small-progress::-webkit-progress-bar{background:#e7edf6;border-radius:5px}.small-progress::-webkit-progress-value{background:#3774c4;border-radius:5px}.monitor-pagination+.panel table th{max-width:130px;min-width:95px;white-space:normal;line-height:1.6}.monitor-pagination+.panel table th:first-child,.monitor-pagination+.panel table td:first-child{position:sticky;left:0;background:#fff;min-width:200px;z-index:1}.learner-welcome{max-width:650px;margin:40px auto;padding:20px}.learner-welcome>.brand{margin-bottom:45px}.learner-welcome>h1{font-size:32px;letter-spacing:-1px;line-height:1.4}.learner-welcome>p{font-size:14px;color:#6a7f9b}.learner-welcome .question{padding:28px}.learner-welcome h2{font-size:20px}.resume-card{border:1px solid #e3b383;background:linear-gradient(110deg,#eef4ff,#fff1df);border-radius:12px;padding:22px;margin-top:25px}.resume-card strong{color:#24518e}.resume-card p{font-size:13px;color:#7a6a56}.learner-shell{min-height:100vh;background:linear-gradient(120deg,#f5f8ff,#fffaf3)}.learner-header{height:95px;padding:20px 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dce5f2;background:#fff;position:sticky;top:0;z-index:4}.learner-header .brand{font-size:24px}.learner-header .brand-mark{width:36px;height:36px;font-size:21px}.learner-header>div:first-child{display:flex;gap:25px;align-items:center}.learner-header>div:last-child{text-align:right;font-size:13px;color:#2c4f7f}.learner-header #learner-save-status{display:block;font-size:11px;font-weight:400;color:#7589a6;margin-top:7px;max-width:350px}.learner-layout{max-width:1440px;margin:auto;display:grid;grid-template-columns:310px minmax(0,1fr);gap:40px;padding:32px 40px}.learner-sidebar{position:sticky;top:125px;align-self:start;background:white;border:1px solid #d9e5f4;border-radius:13px;padding:23px 18px;max-height:calc(100vh - 150px);display:flex;flex-direction:column}.learner-sidebar h2{font-size:20px;color:#224f8c;margin:0 0 12px}.learner-sidebar>strong{font-size:12px;font-weight:550;color:#7086a1}.learner-progress{height:7px;background:#e8eff9;border-radius:5px;margin:15px 0 20px}.learner-progress>span{display:block;height:100%;background:linear-gradient(90deg,#3476c8,#f4a05a);border-radius:5px;transition:width .25s}.learner-nav-filter{display:flex;gap:4px;border:1px solid #e0e8f3;border-radius:7px;padding:4px;margin-bottom:15px}.learner-nav-filter button{background:white;color:#7486a0;font-size:10px;padding:8px 6px;border-radius:5px;flex:1;white-space:nowrap}.learner-nav-filter button[aria-pressed=true]{background:#e9f1ff;color:#2e5e9e}.question-index{overflow:auto;display:flex;flex-direction:column;gap:8px;padding-right:3px}.question-index button{display:flex;align-items:center;gap:12px;padding:12px 10px;text-align:left;background:#f7f9fd;border:1px solid #edf1f7;border-radius:9px;color:#456283;flex-shrink:0}.question-index button>b{display:grid;place-items:center;min-width:27px;height:27px;background:#e6edf7;border-radius:6px;font-size:11px;color:#7086a2}.question-index button strong{display:block;font-size:11px;line-height:1.5;font-weight:550}.question-index button small{font-size:10px;display:block;color:#8a9bb2;margin-top:4px}.question-index button.answered>b{background:#dceaff;color:#2459a0}.question-index button.answered .question-state{color:#3873be}.question-index button.partial>b{background:#ffe4c7;color:#9f5f2c}.question-index button.partial .question-state{color:#b17842}.question-index button.current{border-color:#92b6e9;background:linear-gradient(115deg,#e9f2ff,#fff5e9);box-shadow:inset 3px 0 #e8a05d}.learner-question{padding:26px 30px 35px;background:white;border:1px solid #dce5f2;border-radius:14px;min-width:0}.learner-question-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.learner-question h1{font-size:28px;letter-spacing:-.6px;line-height:1.35;color:#234c84;margin:22px 0 15px}.learner-prompt{font-size:15px;line-height:1.9;color:#56708f;white-space:pre-wrap;margin:15px 0 26px;overflow-wrap:anywhere}.learner-question .field textarea{min-height:235px;font-size:14px;line-height:1.8}.learner-question .option{font-size:14px;padding:17px}.response-tabs{display:flex;gap:5px;border:1px solid #dce6f5;background:#f6f9fe;border-radius:9px;padding:5px;margin-bottom:24px}.response-tabs button{flex:1;padding:14px 12px;border-radius:6px;background:transparent;color:#7388a4;font-size:13px;font-weight:550}.response-tabs button[aria-selected=true]{background:linear-gradient(110deg,#245b9f,#3c7ac7);color:white;box-shadow:0 2px 6px #1d4f8420}.file-drop{display:flex;flex-direction:column;gap:18px;border:2px dashed #b4cae6;background:#f6f9ff;border-radius:10px;padding:35px 25px;color:#38639d}.file-drop>span{font-size:15px;font-weight:550}.file-drop input{font-size:12px;width:100%}.file-drop small{font-size:11px;color:#7e93b0;line-height:1.7}.uploaded-document{display:flex;align-items:center;gap:12px;padding:18px;background:#edf4ff;border:1px solid #cfe0f6;border-radius:9px;margin-bottom:18px;font-size:12px;color:#3b6297;overflow-wrap:anywhere}.uploaded-document strong{margin-left:auto;color:#8b643b;font-size:11px}.learner-pagination{display:flex;justify-content:space-between;gap:15px;padding:25px 0 20px;margin-top:25px;border-top:1px solid #e4eaf4}.learner-submit-bar{margin-top:15px;border:1px solid #edceaa;border-radius:9px;padding:18px;background:#fff9f0}.learner-submit-bar p{font-size:11px;color:#8f775a;line-height:1.8;margin:0 0 12px}.learner-submit-bar .btn{width:100%}.success.compact{padding:15px;font-size:12px;margin-bottom:20px}.review-questions{display:flex;flex-direction:column;gap:8px;margin-top:20px}.review-questions .btn{white-space:normal;justify-content:flex-start;text-align:left}.learner-question #learner-inline-error{font-size:12px;color:#a65f2d;margin-top:15px}.learner-question input:disabled,.learner-question textarea:disabled{cursor:default;color:#7388a4;background:#f6f8fc}@media(max-width:1100px){.learner-layout{padding:25px;gap:23px;grid-template-columns:255px minmax(0,1fr)}.learner-header{padding:18px 25px}.learner-header>div:first-child{gap:15px}.learner-header>div:first-child>.muted{max-width:250px;font-size:11px;line-height:1.7}.learner-question{padding:23px}.learner-question h1{font-size:24px}.monitor-toolbar{flex-direction:column;align-items:stretch;gap:5px}.monitor-toolbar>.field{width:100%}}@media(max-width:760px){.scope-filters{grid-template-columns:1fr;gap:12px;padding:16px}.result-room{padding:6px 12px 15px}.result-session>summary{padding:17px 16px}.monitor-summary{gap:8px}.monitor-summary>div{display:block;padding:15px}.monitor-summary strong{font-size:25px;display:block}.monitor-summary span{display:block;font-size:10px;line-height:1.7;margin-top:5px}.learner-header{height:auto;min-height:90px;position:relative;padding:18px;align-items:flex-start;gap:15px}.learner-header>div:first-child{display:block}.learner-header>div:first-child>.muted{display:block;margin-top:10px;max-width:190px}.learner-header>div:last-child{font-size:11px;max-width:145px}.learner-header #learner-save-status{font-size:10px;line-height:1.7}.learner-layout{display:flex;flex-direction:column;padding:16px;gap:16px}.learner-sidebar{position:static;max-height:none;width:100%;padding:18px 15px}.learner-sidebar h2{font-size:17px;margin-bottom:10px}.question-index{max-height:215px;display:grid;grid-template-columns:1fr 1fr;gap:7px}.question-index button{padding:10px 7px;gap:8px}.question-index button strong{font-size:10px}.question-index button small{font-size:9px}.learner-nav-filter button{font-size:11px}.learner-question{padding:22px 18px}.learner-question h1{font-size:23px}.learner-prompt{font-size:14px}.response-tabs button{padding:12px 8px;font-size:11px}.file-drop{padding:25px 18px}.learner-welcome{margin:20px auto;padding:18px}.learner-welcome>.brand{margin-bottom:30px}.learner-welcome>h1{font-size:27px}.uploaded-document{flex-wrap:wrap}.uploaded-document strong{margin-left:0}.learner-pagination .btn{font-size:11px}.learner-question-top .eyebrow{font-size:10px}.matrix-legend{margin-bottom:10px}}
.completion-dot{display:inline-block;width:11px;height:11px;flex:none;border-radius:50%;background:#168442;box-shadow:0 0 0 3px #e3f5e9}.monitored-learner-name{display:flex;align-items:center;gap:9px}.completion-caption{display:block;color:#166b39;font-size:11px;margin-top:5px}.comparison-matrix table{min-width:1050px}.comparison-matrix th{min-width:200px;max-width:270px;white-space:normal}.comparison-matrix th:first-child,.comparison-matrix td:first-child{position:sticky;left:0;background:#f5f9ff;z-index:1;min-width:220px}.comparison-matrix th:first-child{z-index:2}.answer-cell{display:flex;flex-direction:column;gap:14px;width:100%;min-width:180px;max-width:280px;min-height:110px;text-align:left;background:#f2f7ff;border:1px solid #d4e3fa;border-radius:10px;padding:14px;color:#163d70;cursor:pointer}.answer-cell:hover,.answer-cell:focus-visible{border-color:#e88b35;background:#fff5e9}.answer-cell>span{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:pre-wrap}.answer-cell small{color:#55749a}.response-browser{display:grid;grid-template-columns:270px minmax(0,1fr);gap:22px;align-items:start}.response-browser>section{min-width:0}.response-list{display:flex;flex-direction:column;gap:8px;max-height:72vh;overflow:auto;position:sticky;top:15px}.response-list>button{background:#fff;border:1px solid #d9e5f6;border-radius:10px;padding:15px;text-align:left;color:#1b426f;cursor:pointer}.response-list>button.selected{border-color:#2c6abc;background:#eaf2ff;box-shadow:inset 4px 0 #f49a43}.response-list small{display:block;margin-top:7px;color:#597494}.response-intro{margin-bottom:20px;padding:22px;background:#eaf2ff;border-radius:12px}.response-intro h2{margin-top:0}.response-card{background:#fff;border:1px solid #dce6f5;border-radius:12px;padding:22px;margin-bottom:16px;overflow-wrap:anywhere}.response-card-heading{display:flex;gap:15px;justify-content:space-between;align-items:start}.response-card h3{margin:0}.response-card>.btn{margin-top:18px}.answer-review-nav{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.response-browser .answer-text{max-width:700px;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:850px){.response-browser{grid-template-columns:1fr}.response-list{position:static;max-height:240px}.response-card-heading{flex-direction:column}.answer-review-nav .btn{font-size:11px;padding:9px}}

/* Area personale dei discenti */
.learner-account{max-width:960px}.learner-account-head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:36px}.learner-account-head>div:last-child{display:flex;flex-wrap:wrap;gap:8px}.learner-account h1{margin-bottom:16px}.learner-account>form{max-width:760px}.learner-account input[readonly]{background:#f2f5f9;color:#57687c;cursor:default}.learner-account .question{margin-top:24px}.learner-header>div:last-child{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.learner-header #learner-save-status{flex-basis:100%}#learner-directory .question[hidden]{display:none}.content>button[data-action="staff-learners"]{margin-bottom:20px}
@media(max-width:600px){.learner-account-head{align-items:flex-start;margin-bottom:24px}.learner-account-head>div:last-child{width:100%}.learner-account-head .btn{flex:1;padding:10px}.learner-header>div:last-child{justify-content:flex-start}.learner-account .form-grid{grid-template-columns:1fr}}
.learner-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}.learner-data-grid>div{min-width:0}.learner-data-grid dt{font-size:12px;color:#64748b;margin-bottom:6px}.learner-data-grid dd{margin:0;font-weight:600;overflow-wrap:anywhere}.learner-course-code{display:flex;align-items:center;gap:12px;margin-bottom:14px}.learner-course-code span{color:#64748b;font-size:12px}.learner-course-code strong{background:#edf4ff;border-radius:8px;padding:8px 14px;color:#163e78;font-family:monospace;font-size:18px;letter-spacing:2px}.learner-account>section[aria-labelledby="learner-tests-title"]{margin-top:36px}.learner-account .auth-tabs{max-width:520px}.learner-profile-summary .heading{margin-bottom:0;flex-wrap:wrap;gap:12px}
@media(max-width:600px){.learner-data-grid{grid-template-columns:1fr}.learner-profile-summary .heading h2{margin-top:0}}
.roster-group{margin:28px 0}.roster-group>.question{margin:12px 0}.roster-group>h2{display:flex;gap:12px;align-items:center}.mail-recipients{max-height:260px;overflow:auto;border:1px solid #e1e7ef;border-radius:12px;padding:12px 16px;margin:16px 0}.mail-recipients p{overflow-wrap:anywhere}.roster-group .question[hidden]{display:none}
.correct-answer-editor{margin:20px 0;padding:20px;border:1px solid #b9d2f3;border-radius:12px;background:#f0f6ff}.correct-answer-editor[hidden]{display:none}.correct-answer-editor h3{margin:0 0 10px}.automatic-result{margin:20px 0;padding:22px;border:1px solid #b8d2f4;border-radius:14px;background:linear-gradient(120deg,#eaf3ff,#f7faff 72%,#fff0df);color:#173e70}.automatic-result h3{margin:0 0 7px}.automatic-result p{margin:0;color:#547195}.automatic-result-numbers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.automatic-result-numbers strong{font-size:23px;line-height:1.2}.automatic-result-numbers small{display:block;font-size:12px;font-weight:400;margin-top:7px;color:#546e8f}.automatic-answer{margin-top:16px;padding:16px;border-left:4px solid #e9923b;background:#f0f6ff;overflow-wrap:anywhere}.automatic-answer p{font-size:13px;margin:8px 0 0}@media(max-width:600px){.automatic-result-numbers{grid-template-columns:repeat(2,minmax(0,1fr))}}
.enrollment-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px;border:1px solid #d8e5f6;border-radius:10px;margin:10px 0;background:#f5f9ff}.enrollment-row>div{display:flex;flex-direction:column;gap:7px}.enrollment-row small{color:#647e9e}.learner-category{border:1px solid #d9e6f7;border-radius:10px;padding:8px;background:#fff}.learner-category>summary{display:flex;align-items:center;gap:10px;justify-content:space-between;cursor:pointer;padding:9px 4px;color:#204d87;font-size:12px}.learner-category>summary::before{content:'▸';color:#d58230}.learner-category[open]>summary::before{content:'▾'}.learner-category>summary strong{flex:1;overflow-wrap:anywhere}.learner-category>summary span{font-size:10px;background:#e9f1ff;border-radius:6px;padding:5px;white-space:nowrap}.learner-category>button{width:100%;margin-top:7px}.learner-current-category{font-size:13px;font-weight:650;color:#3668a7;background:#edf4ff;display:inline-block;padding:8px 13px;border-radius:8px;margin-bottom:0}.final-save-notice{padding:17px 20px;margin:20px 0;border-left:5px solid #ed973e;border-radius:9px;background:#fff2df;color:#66421d;font-size:14px}.final-save-notice p{font-size:12px;line-height:1.7;margin:9px 0 0;color:#785c3c}.test-timer{position:sticky;top:95px;z-index:3;background:linear-gradient(120deg,#174e91,#3374bd);color:#fff;border:2px solid #c8ddf9;border-radius:13px;padding:16px 20px;display:grid;grid-template-columns:1fr 1fr;gap:10px;box-shadow:0 7px 20px #16437420}.test-timer>div{display:flex;flex-direction:column;gap:5px}.test-timer span{font-size:12px}.test-timer strong{font-size:30px;font-variant-numeric:tabular-nums;letter-spacing:1px}.test-timer p{grid-column:1/-1;font-size:11px;margin:0;color:#e9f3ff}.test-timer.timer-urgent{border-color:#ee9b47;background:linear-gradient(110deg,#214d83,#a75f24)}.timed-introduction{max-width:780px}.timed-introduction>.btn{margin-right:10px}@media(max-width:650px){.enrollment-row{align-items:start;flex-direction:column}.test-timer{top:90px;padding:12px}.test-timer strong{font-size:25px}}
.quiz-assignment-help{padding:15px 18px;border-radius:10px;background:#edf4ff;color:#254f88;line-height:1.7}.quiz-attachment-list{display:grid;gap:12px}.quiz-setting-row{border:1px solid #d9e5f5;border-radius:10px;padding:15px;background:#f9fbff}.quiz-setting-row>.check{margin:0}.quiz-setting-row>.check small{margin-left:auto;color:#6680a1;white-space:nowrap}.quiz-mode-controls{margin-top:16px}.quiz-mode-controls .field{margin-bottom:0}.quiz-setting-row[hidden],.quiz-mode-controls[hidden]{display:none!important}.quiz-name-tag{display:block;font-size:11px;font-weight:600;color:#2c5d99;padding:5px 9px;margin:7px 0;background:#e8f1ff;border-radius:6px;width:fit-content}.learner-course-group{margin-top:24px;border-top:4px solid #3b76bd}.learner-course-group>h2{font-size:22px}.learner-quiz-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px;margin-top:20px}.learner-quiz-card{border:1px solid #d2e1f4;border-radius:12px;padding:21px;background:linear-gradient(120deg,#f2f7ff,#fffaf3);min-width:0}.learner-quiz-heading{display:flex;flex-direction:column;align-items:start;gap:12px}.learner-quiz-heading h3{margin:0;font-size:20px;color:#244f87}.learner-quiz-card>p{font-size:13px;line-height:1.7}.learner-quiz-card>.btn{margin-top:10px}.learner-quiz-card .quiz-start-hint{border-left:3px solid #eea052;padding-left:12px;color:#6a4a2b}.quiz-home-clock{background:#e3edff;border-radius:8px;padding:13px;color:#1e518d;font-variant-numeric:tabular-nums}.quiz-home-clock span{display:block;font-size:25px;margin-top:6px}@media(max-width:600px){.learner-quiz-list{grid-template-columns:1fr}.quiz-setting-row>.check{flex-wrap:wrap}}

/* Keep wide matrices inside the viewport; preserve scroll on live updates. */
.main,.content{min-width:0;max-width:100%}.layout{grid-template-columns:245px minmax(0,1fr)}.table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:#3974bd #e5edf8}.table-wrap:has(.matrix-cell){max-height:70vh;overflow:auto}.table-wrap:has(.matrix-cell) table{min-width:1100px}.table-wrap:has(.matrix-cell) th{position:sticky;top:0;z-index:2}.table-wrap:has(.matrix-cell) th:first-child,.table-wrap:has(.matrix-cell) td:first-child{position:sticky;left:0;min-width:210px;max-width:260px;background:#f5f9ff;z-index:1}.table-wrap:has(.matrix-cell) th:first-child{z-index:3}.table-wrap:has(.matrix-cell) td:not(:first-child){min-width:125px}.category-list-item.subcategory{margin-left:22px;border-left:2px solid #edac6d;padding-left:8px}.subcategory .category-select{font-size:12px}.trainer-checks{border:1px solid #d9e4f4;border-radius:9px;padding:14px;margin:0 0 20px;max-height:240px;overflow:auto}.trainer-checks legend{font-size:12px;color:#28548d;padding:0 8px}.trainer-checks .check:last-child{margin-bottom:0}
#busy-indicator{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:10000;background:#153e73;color:white;border:1px solid #eab17c;border-radius:12px;padding:16px 22px;box-shadow:0 8px 30px #123c7040;display:flex;gap:13px;align-items:center;pointer-events:none;font-size:13px}.busy-spinner{display:inline-block;width:20px;height:20px;border:3px solid #ffffff55;border-top-color:#ffb363;border-radius:50%;animation:busy-spin .8s linear infinite}@keyframes busy-spin{to{transform:rotate(360deg)}}#notice-dialog{width:460px}#notice-dialog p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}#notice-dialog .modal-head{background:linear-gradient(110deg,#eaf2ff,#fff1de)}@media(max-width:1100px){.layout{grid-template-columns:205px minmax(0,1fr)}}@media(max-width:760px){.layout{display:block}}

.table-wrap:has(.matrix-cell) table th:first-child{z-index:5;background:#f5f9ff;left:0;min-width:210px}.table-wrap:has(.matrix-cell) table td:first-child{z-index:4;background:#f5f9ff;left:0;min-width:210px}.table-wrap:focus-visible{outline:2px solid #ed9c4b;outline-offset:3px}
.category-select-row{display:flex;align-items:stretch;gap:5px}
.category-select-row .category-select{min-width:0}
.category-toggle{flex:0 0 32px;border:1px solid #d7e4f6;border-radius:8px;background:#eaf2ff;color:#1f518c;font-size:17px}
.category-toggle[aria-expanded="true"]{background:#fff0df;color:#925019}
.category-toggle:focus-visible{outline:2px solid #245cab;outline-offset:2px}
.legacy-category-attachments{margin:14px 0 22px;padding:12px;border:1px solid var(--line);border-radius:9px}
.legacy-category-attachments>summary{cursor:pointer;font-weight:600;color:#305789}
.report-picker{max-width:850px;padding:24px;margin:20px 0}
.report-picker .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.report-picker .field{min-width:0}
.report-picker button:disabled{opacity:.55;cursor:default}
.report-empty{padding:20px;color:#526982}
.quiz-page.learner-account-wide{max-width:1210px}
.learner-home-intro{margin:0 0 26px;padding:24px 28px;background:linear-gradient(110deg,#e7f0ff,#fff1df);border:1px solid var(--line);border-radius:14px}
.learner-home-intro h1{margin:0 0 8px;color:#163f76;font-size:clamp(24px,4vw,36px)}
.learner-home-intro p{margin:0;color:#405c7e;overflow-wrap:anywhere}
.learner-home-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,300px);gap:22px;align-items:start}
.learner-home-grid h2{margin:0 0 13px;color:#1b457e;font-size:17px}
.learner-home-grid .learner-course-group{margin:0 0 16px;padding:20px}
.learner-home-grid .learner-course-code{float:none;margin:0 0 10px}
.learner-home-grid .learner-quiz-list{grid-template-columns:repeat(auto-fit,minmax(min(235px,100%),1fr))}
.learner-closed-courses{margin-top:24px;border:1px solid #d3e0f0;border-radius:12px;background:#f4f7fb}
.learner-closed-courses>summary{padding:13px 16px;color:#334e71;font-weight:700;cursor:pointer}
.learner-closed-courses>summary span{margin-inline-start:6px;font-size:.8rem;font-weight:600}
.learner-closed-courses>div{padding:0 12px 12px}
.learner-home-grid .learner-course-closed{border-top-color:#91a5be;margin-bottom:10px}
.learner-course-closed .learner-quiz-card{background:#f4f7fb}
.learner-home-tools{display:grid;gap:15px}
.learner-tool{padding:18px;overflow-wrap:anywhere}
.learner-tool p{color:#526982;font-size:13px;line-height:1.7}
.learner-account-wide>form#portal-profile,.learner-account-wide>form#portal-profile+.question{max-width:830px}
@media(max-width:800px){.learner-home-grid{grid-template-columns:minmax(0,1fr)}.learner-home-tools{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:530px){.learner-home-tools,.report-picker .form-grid{grid-template-columns:1fr}.report-picker{padding:17px}.learner-account-head>div:last-child{display:flex;flex-wrap:wrap;gap:6px}}
.learner-profile-details{margin:0 0 12px;font-size:13px;color:#385c8a}
.learner-profile-details summary{cursor:pointer}
.learner-profile-details dl{margin:8px 0}
.learner-profile-details dl div{display:grid;grid-template-columns:1fr 1.2fr;gap:8px;padding:6px 0;border-top:1px solid var(--line)}
.learner-profile-details dd{margin:0;color:#253c57}
.learner-account-head,.learner-test-intro-head{position:sticky;top:0;z-index:6;background:#f7faff;padding-block:12px}
.learner-header>div:last-child,.learner-test-intro-head>div:last-child{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px}
.learner-header #learner-save-status{margin-top:0}
@media(max-width:760px){.learner-header{position:sticky;top:0;height:auto;min-height:0;flex-wrap:wrap;padding:9px 12px;gap:7px}.learner-header>div:last-child{max-width:none;justify-content:flex-start}.learner-header>div:last-child .btn,.learner-account-head .btn{padding:7px 8px;font-size:10px}.learner-header #learner-save-status{display:none}.learner-header>div:first-child>.muted{display:none}}
.verdict-correct,.matrix-legend .verdict-correct,.matrix-cell.verdict-correct{background:#e4f6e9;color:#17643b}
.verdict-incorrect,.matrix-legend .verdict-incorrect,.matrix-cell.verdict-incorrect{background:#fde7e8;color:#982e35}
.matrix-cell.verdict-correct .matrix-status{background:#ccefd7}
.matrix-cell.verdict-incorrect .matrix-status{background:#f9cfd2}
.badge.verdict-correct,.badge.verdict-incorrect{font-weight:650}
.automatic-result .automatic-outcome{margin-top:10px;color:#1a477f}
.login-footer{display:grid;gap:6px;margin-top:22px;padding-top:14px;border-top:1px solid var(--line);color:#526982;font-size:12px;line-height:1.5}
.login-footer span{font-weight:650}
.login-footer em{font-style:italic}
.auth-brand .login-footer{border-top-color:#ffffff59;color:#fff;max-width:440px}
.auth-brand .login-footer span,.auth-brand .login-footer em{color:#fff}
.learner-auth-page .auth-form .learner-account{margin:0;width:100%;max-width:550px;padding:0}
.learner-auth-page .auth-form{align-items:flex-start}
html:has(.learner-auth-page){scrollbar-gutter:stable}
@media(min-width:761px){
 .learner-auth-page>.auth-brand{position:sticky;top:0;align-self:start;height:max(100vh,540px)}
}
.learner-auth-page .learner-account-head{position:static;background:transparent;justify-content:flex-end}
.auth-tabs{background:#edf6ff;border-color:#c4daf2}
.auth-tabs button{background:#def0ff;color:#214b82;border:1px solid #c4daf2;font-weight:700;min-height:44px}
.auth-tabs button[aria-pressed=true]{background:linear-gradient(120deg,#ffe3c5,#ffc58b);color:#633610;border-color:#e5a667}
.learner-auth-page .auth-tabs+.auth-tabs{margin-top:-12px}
.brand .brand-mark,.auth-brand .brand-mark{background:transparent url('./formai-logo.png?v=discenti-4c73bd9f4f11') center/cover no-repeat;color:transparent;font-size:0;box-shadow:none}
/* Follow the two book pages inside the 104px home logo, including the fold. */
.auth-brand .brand-mark{
 width:104px;height:104px;flex:none;
 clip-path:path("M 14 34 C 14 28 21 25.3 28 25.5 C 38 25.5 49.8 34.3 50 42 L 50.1 78 C 41.5 69.9 28 68.1 17.5 71.7 Q 14 72.7 14 68.2 Z M 52.5 42 C 52.5 34.8 65 25.4 75.6 25.4 Q 76.4 25.4 77.2 26.5 L 89.7 39.9 Q 90.1 40.5 90.1 42 L 90.1 68.2 Q 90.1 72.6 86.6 71.6 C 74.5 68.1 61.1 69.9 52.5 78 Z");
}
.brand-name{white-space:nowrap}
.sidebar .brand .brand-mark,.learner-account-wide .brand .brand-mark,.learner-header .brand .brand-mark,.learner-test-intro-head .brand .brand-mark{background:transparent url('./formai-favicon.png?v=discenti-4c73bd9f4f11') center/contain no-repeat;filter:drop-shadow(0 1px 1px #31558080)}
.brand-ai{color:#a94b0b}
.auth-brand .brand-ai,.initial-login .brand-ai{color:#ff9f43}
.registration-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
@media(min-width:761px){.sidebar{overflow-y:auto}}
.initial-login{min-height:100vh;display:grid;align-content:center;justify-items:center;gap:14px;background:linear-gradient(135deg,#102f59,#245ba6);color:#fff;text-align:center;padding:24px}
.initial-login strong{font-size:34px}.initial-login>span{font-size:14px}
.registration-extra{min-width:0;margin:0 0 18px;padding:10px 14px 4px;color:#29476c;background:#eaf4ff;border:1px solid #bcd7f5;border-radius:10px}
.registration-extra legend{padding:0 6px;font-weight:700}
.category-author{margin:16px 6px 4px;color:#526982;font-size:12px}
.category-owner{display:block;padding:4px 8px;color:#526982}
.release-text{white-space:pre-wrap;overflow-wrap:anywhere}
.sidebar,.learner-account-wide .learner-account-head,.learner-shell .learner-header,.learner-test-intro-head{background:#eaf4ff}
.grouped-nav .menu-group{min-width:0}
.grouped-nav{padding-block:4px;gap:8px}
.menu-group summary{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border-radius:9px;color:#214b82;font-size:.875rem;font-weight:700;cursor:pointer;list-style:none}
.menu-group summary::-webkit-details-marker{display:none}
.menu-group summary::after{content:"+";font-size:1.1rem;color:#245b98}
.menu-group[open]>summary::after{content:"−"}
.menu-group:not([open])>summary{background:#d9ebff;box-shadow:inset 3px 0 #82acd8}
.menu-group[open]>summary,.menu-group summary:hover,.menu-group summary.active{background:#f6faff}
.menu-links{display:flex;flex-direction:column;padding:2px 0 4px 7px}
.grouped-nav .menu-links button{padding:9px 10px;gap:9px}
.topbar-actions,.dialog-actions{display:flex;align-items:center;gap:14px}
.staff-topbar,.learner-header{position:sticky;top:0;z-index:10}
.learner-menu{position:relative;display:inline-block}
.learner-menu summary{white-space:nowrap}
.learner-menu[open]>.menu-links{position:absolute;top:100%;right:0;z-index:11;width:max-content;padding:8px;background:#eaf4ff;border:1px solid var(--line);border-radius:9px;box-shadow:0 6px 18px #1c47782a}
.learner-menu .menu-links button{justify-content:flex-start;white-space:nowrap}
.btn.logout-action{flex:none;min-height:40px;padding:8px 14px;background:#173f75;border:1px solid #173f75;color:#fff;font-weight:700;white-space:nowrap}
.btn.logout-action:hover{background:#102f59}
.quiz-outcome{display:grid;gap:4px;margin:10px 0;padding:10px 12px;border-radius:8px;background:#eaf4ff;color:#173f75;line-height:1.45}
.quiz-outcome-passed{background:#e5f5eb;color:#165a38}
.quiz-outcome-failed{background:#fcebec;color:#8c2d34}
.quiz-outcome span{font-size:.875rem}
.mail-picker{min-width:0;padding:12px;border:1px solid #bfd6ef;border-radius:10px}
.mail-picker legend{padding:0 6px;font-weight:700}
.mail-picker .mail-recipients{margin-block:10px}
.mail-recipient{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px;background:#f4f9ff;border-bottom:1px solid #dce8f5;cursor:pointer}
.mail-recipient small{display:block;overflow-wrap:anywhere}
.mail-recipient-date{font-size:.8rem;color:#34577b}
@media(max-width:760px){
 .learner-menu[open]>.menu-links{right:auto;left:0}
 .staff-topbar .breadcrumbs{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .staff-topbar .topbar-actions{flex:none}
}
@media(max-width:520px){.mail-recipient-date{grid-column:2}}
.help-button{flex:none;white-space:nowrap}
.auth-links{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0;color:#28558a;font-size:.875rem;line-height:1.4}
.auth-links .privacy-link{font:inherit;color:inherit;text-decoration:underline}
.auth-links button{background:none;padding:0;text-align:left}
.auth-links a{margin-inline-start:auto;text-align:right}
.privacy-link{text-underline-offset:3px}
.signature-preview{margin:12px 0;padding:12px;border:1px solid #c9dcef;background:#f3f8ff;border-radius:8px}
.signature-preview figcaption{margin-bottom:8px;font-size:.875rem;font-weight:700;color:#214b82}
.signature-preview img{display:block;max-width:100%;max-height:130px;object-fit:contain;border-radius:4px}
.privacy-check{align-items:flex-start}
.privacy-doc{width:min(850px,100%);margin:0 auto;padding:28px clamp(16px,4vw,40px);font-size:1rem;line-height:1.6}
.privacy-heading{margin:24px 0}
.privacy-heading h1{font-size:clamp(1.7rem,4vw,2.55rem);line-height:1.2}
.privacy-doc address{font-style:normal}
.privacy-doc li+li{margin-top:.65em}
.privacy-doc .question{overflow-wrap:anywhere}
.warning-icon{display:inline-grid;place-items:center;min-width:30px;height:30px;margin-right:8px;color:#8c4b03;background:#fff0d2;border-radius:50%;font-size:19px}
#removal-dialog .modal-head{justify-content:flex-start;gap:6px}
#removal-details{line-height:1.55}
.help-button span{display:inline-grid;place-items:center;width:19px;height:19px;border:1px solid currentColor;border-radius:50%;font-weight:700}
.auth-help{display:flex;justify-content:flex-end}
#help-dialog{width:min(720px,calc(100% - 24px))}
#help-dialog [hidden]{display:none}
.help-content ol{padding-left:1.35rem;margin:0 0 22px;line-height:1.55}
.help-content li+li{margin-top:12px}
.help-search{margin-top:18px}
.help-topics{display:flex;flex-wrap:wrap;gap:7px}
.help-topics button{padding:7px 10px;border-radius:7px;background:#edf4ff;color:#174783;text-align:left}
.help-topics button:hover{background:#e0ecff}
@media(max-width:760px){
 .grouped-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;overflow:visible}
 .grouped-nav>button{grid-column:1/-1;justify-self:start}
 .grouped-nav .menu-links button{white-space:normal}
 .topbar-actions,.dialog-actions{gap:8px}
}
#anonymous-comparison-filter .btn{align-self:end;justify-self:start}
.anonymous-question h2{margin:0 0 12px}
.anonymous-responses{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.anonymous-responses li{display:flex;justify-content:space-between;align-items:baseline;gap:8px 20px;flex-wrap:wrap;border:1px solid var(--line);border-radius:8px;padding:10px 12px;overflow-wrap:anywhere}
.anonymous-count{font-size:.875rem;font-weight:650}
#activity-filter .btn{align-self:end;justify-self:start}
.table-wrap .author-group th {
 background: #edf4ff;
 color: #163c70;
 border-top: 1px solid #d0e0f9;
 font-size: .88rem;
}

.quiz-order-panel{margin:16px 0;padding:14px;background:#eef6ff;border:1px solid #c9dcf0;border-radius:12px}
.quiz-order-panel h4{margin:0 0 4px}
.quiz-order-list{margin:10px 0 0;padding-left:25px}
.quiz-order-list li{padding:6px 0;border-bottom:1px solid #cfdfef}
.quiz-order-list li:last-child{border-bottom:0}
.quiz-order-list li>span{display:inline-block;margin-right:10px;max-width:100%;overflow-wrap:anywhere}
.quiz-order-list .row-actions{display:inline-flex;gap:5px}
.quiz-order-list .btn{min-height:32px;padding:4px 9px}

.question-reference-field,.question-reference{margin-block:14px;padding:12px 14px;border:1px solid #c4d9f2;border-radius:12px;background:#eff6ff}
.question-reference{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.question-reference>div{min-width:0}
.question-reference span,.question-reference-field strong{overflow-wrap:anywhere}
.question-reference span{display:block}

.question-reorder-note{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 16px;margin:0 0 10px;color:#405c7b;font-size:.87rem}
.question-reorder-note [role=status]{color:#20588b;font-weight:650}
#quiz-question-grid tr[data-reorder-id] td:first-child{position:relative;padding-inline-start:57px}
.question-order-grip{position:absolute;inset-block-start:17px;inset-inline-start:14px;display:grid;place-items:center;width:32px;min-height:34px;padding:0;border:1px solid #c4d9f2;border-radius:8px;background:#e5effc;color:#214c80;font-size:1.35rem;line-height:1;cursor:grab;user-select:none;touch-action:none}
.question-order-grip:focus-visible{outline:2px solid #20588b;outline-offset:2px}
#quiz-question-grid tr.dragging{opacity:.5}
#quiz-question-grid tr.drop-before>td{box-shadow:inset 0 3px #d67519}
#quiz-question-grid tr.drop-after>td{box-shadow:inset 0 -3px #d67519}
.media-filter{max-width:390px;margin:16px 0}
.media-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:16px}
.media-card,.media-course-detail{padding:18px;min-width:0}
.media-card h2,.media-course-detail h2{margin:5px 0 10px;font-size:1.2rem}
.media-card .row-actions{margin-top:12px;flex-wrap:wrap}
.media-selected{outline:2px solid #92bbeb}
.media-course-detail{margin-top:20px}
.media-course-detail header{flex-wrap:wrap;align-items:center}
.media-description{white-space:pre-line;overflow-wrap:anywhere}
.media-list{margin:12px 0;padding:0;list-style:none}
.media-list li{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:12px 8px;border-top:1px solid #d7e5f5;overflow-wrap:anywhere}
.media-list li>div:first-of-type{flex:1;min-width:0}
.media-list li .row-actions,.learner-media-shortcuts{flex-wrap:wrap}
.media-grip{border:1px solid #c4d9f2;border-radius:8px;background:#e5effc;color:#214c80;font-size:1.35rem;cursor:grab;touch-action:none;width:36px;height:38px;flex:none}
.media-drop-before{box-shadow:inset 0 3px #d67519}
.media-drop-after{box-shadow:inset 0 -3px #d67519}
.media-player{display:block;width:100%;max-height:55vh;background:#10243d;border-radius:10px;margin-bottom:10px}
.media-question-editor{border:1px solid #c4d9f2;border-radius:10px;padding:12px;margin:12px 0;min-width:0}
.media-question-editor legend{padding:0 5px;font-weight:700}
.media-learner-card{padding:12px 0;border-bottom:1px solid #d7e5f5}
.media-learner-card:last-child{border-bottom:0}
.media-learner-card h3{margin:0 0 5px}
.media-result{margin:8px 0;color:#184775}
.media-result p{margin:4px 0}
.learner-media-shortcuts{margin:12px 0 20px}
@media(max-width:560px){.media-list li{align-items:flex-start;flex-wrap:wrap}.media-list li .row-actions{flex-basis:100%}}
.video-gallery-course{margin-block:24px 34px}
.video-gallery-course>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.video-gallery-course>header h2{margin:4px 0}
.video-gallery-course>.media-description{margin:8px 0 16px}
.video-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(230px,100%),1fr));gap:20px;margin-top:14px}
.video-card{min-width:0;border:1px solid #d7e5f5;border-radius:14px;background:white;overflow:hidden}
.video-card-cover{display:grid;place-items:center;aspect-ratio:16/9;width:100%;padding:0;position:relative;background:radial-gradient(ellipse at top right,#3372b1,#173454 72%);border:0;border-radius:0;color:white;overflow:hidden}
button.video-card-cover:focus-visible{outline:3px solid #ff9e43;outline-offset:-4px}
.video-card-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.video-card-play{position:relative;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#142c4de6;color:white;font-size:1.1rem}
button.video-card-cover:hover .video-card-play{background:#9d430b}
.video-card-duration{position:absolute;right:8px;bottom:8px;padding:2px 6px;border-radius:4px;background:#14253ee6;color:white;font-size:.8rem}
.video-card-info{padding:12px 14px;overflow-wrap:anywhere}
.video-card-info h3{margin:0 0 8px;font-size:1.05rem}
.video-card-info .media-description{margin:9px 0;font-size:.9rem}
.video-card-info .btn{margin-top:10px}

.video-upload-popup{width:min(440px,calc(100% - 32px))}
.video-upload-popup .modal-head{background:linear-gradient(110deg,#eaf2ff,#fff1de)}
.video-upload-popup .modal-body{text-align:center}
.video-upload-name{overflow-wrap:anywhere;margin:0}
.video-upload-percent{display:block;color:#2057a5;font-size:clamp(2.4rem,10vw,3.8rem);font-variant-numeric:tabular-nums;line-height:1.2;margin:14px 0}
.video-upload-popup progress{display:block;width:100%;height:14px;border:0;border-radius:999px;overflow:hidden;accent-color:#3373c9;background:#e6effc}
.video-upload-popup progress::-webkit-progress-bar{background:#e6effc}
.video-upload-popup progress::-webkit-progress-value{background:linear-gradient(90deg,#3373c9,#e98231)}
.video-upload-popup progress::-moz-progress-bar{background:linear-gradient(90deg,#3373c9,#e98231)}

.media-viewing-status{display:flex;align-items:center;gap:7px;margin-top:5px;color:var(--muted);font-size:.8rem}
.media-viewing-dot{width:10px;height:10px;flex:none;border-radius:50%;background:#7b8492}
.media-viewing-dot.is-complete{background:#19824c}
.video-viewing-note{margin-top:10px;padding:12px 15px;border-left:3px solid #3373c9;border-radius:6px;background:#eaf2ff;color:#254d80}

.course-category-title,.registration-course-group header{display:flex;gap:12px;align-items:center}
.course-category-title img,.registration-course-group img,.course-category-preview{width:74px;height:55px;object-fit:cover;border-radius:7px}
.registration-courses{margin:16px 0;border:1px solid #ccdff7;border-radius:12px;padding:12px;max-height:370px;overflow:auto}
.registration-courses legend{color:#183c6a;font-weight:700}
.registration-course-group{margin-bottom:10px}
.registration-course-group h3{margin:0;color:#183c6a;font-size:1rem}
.registration-course-group header p{font-size:.8rem;margin:3px 0;color:#516884}
.registration-course-choice{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:9px;border:1px solid #d8e7f9;background:#f3f8ff;border-radius:8px;padding:8px 10px;margin-top:6px;color:#183c6a;cursor:pointer}
.registration-course-choice:has(input:checked){border-color:#c5732f;background:linear-gradient(110deg,#e4f0ff,#fff0de)}
.registration-course-choice:focus-within{outline:2px solid #3373c9;outline-offset:2px}
.registration-course-choice input{margin-top:3px}
.registration-course-description{display:block;white-space:pre-wrap;font-size:.8rem;color:#334f70}
[data-delivery-rooms]{max-height:330px;overflow:auto;display:grid;gap:3px}

.course-catalog-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px;align-items:start;margin-top:20px}
.course-catalog-list .learner-tool{margin:0}
.course-catalog-list details{margin:12px 0}
.course-catalog-list details li{margin:8px 0}
.course-catalog-list details p{margin:4px 0;white-space:pre-wrap}

.course-detail-description{white-space:pre-wrap;overflow-wrap:anywhere}
.program-session-list{padding-left:22px}
.program-session-list>li{padding-block:7px;overflow-wrap:anywhere}
.program-session-list p{margin:3px 0}
.program-session-summary{margin:0;padding-left:17px}
.session-question-editor{padding:clamp(14px,3vw,28px)}
.session-question-editor form{display:grid;gap:12px}
.quiz-source-switch{display:flex;gap:8px;flex-wrap:wrap}
.quiz-source-switch [aria-pressed="true"]{background:linear-gradient(110deg,#e6f1ff,#ffecd9);border-color:#d08541;color:#163b6b}
.session-question-editor .quiz-attachment-list{max-height:min(540px,65vh);overflow:auto}
.course-overview-card{overflow:hidden}
.course-cover{display:block;width:100%;height:clamp(140px,21vw,210px);object-fit:cover;background:#163e73}
.course-cover-default{object-fit:contain;padding:22px;background:linear-gradient(130deg,#e6f1ff,#173c73)}
.course-overview-content{padding:17px 19px;display:grid;gap:9px}
.course-overview-content p,.course-overview-content h2{margin:0}
.course-overview-heading{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;column-gap:12px;color:#173c73}
.course-overview-heading strong{background:#fff0df;color:#8c4e20;border-radius:6px;padding:4px 8px}
.course-overview-meta{color:#516884;font-size:.85rem}
.course-overview-content details{border-top:1px solid #dce8f7;padding-top:8px}
.course-overview-content .badge,.course-overview-content .btn{justify-self:start}
.roster-column-labels,.roster-person>summary{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;padding:10px 28px 10px 13px;overflow-wrap:anywhere}
.roster-column-labels{color:#506c93;font-size:.78rem;font-weight:700}
.roster-person{margin-bottom:8px}
.roster-person>summary{position:relative;cursor:pointer;font-weight:600;color:#163c70}
.roster-person>summary::after{content:'›';position:absolute;right:12px}
.roster-person[open]>summary::after{transform:rotate(90deg)}
.roster-person[open]>summary{background:#eef5ff}
.roster-person-details{padding:12px 15px}
.roster-person-details .row-actions{margin-top:10px;flex-wrap:wrap}

.program-detail-summary{padding:22px 25px;margin-bottom:26px;background:linear-gradient(125deg,#edf5ff,#fff8f0)}
.program-detail-summary h2{margin-top:0;color:#173b70}
.training-session-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr));gap:14px;align-items:start;margin-top:12px}
.training-session-card{padding:18px 20px;border-top:3px solid #5591d8}
.training-session-card>header,.session-quiz-heading,.learner-course-session>header{display:flex;align-items:start;justify-content:space-between;gap:10px;flex-wrap:wrap}
.training-session-card h3,.session-quiz-heading h4,.learner-course-session h3{margin:0;color:#173b70}
.training-session-card .session-teachers{color:#4e698a;font-size:.88rem}
.training-session-card>.btn{margin-top:10px}
.session-quiz-heading{margin:15px 0 6px;align-items:center}
.quiz-outline-details{border:1px solid #dbe7f7;border-radius:8px;padding:8px 11px;margin:6px 0;background:#f7faff;min-width:0}
.quiz-outline-details>summary{cursor:pointer;color:#254d80;overflow-wrap:anywhere}
.quiz-outline-details>summary span{display:block;color:#526e90;margin-left:13px;font-size:.8rem}
.quiz-outline-details>.btn{margin-top:4px}
.question-outline{margin:8px 0 5px;padding-left:24px}
.question-outline>li{padding:5px 0;overflow-wrap:anywhere}
.question-outline>li+li{border-top:1px solid #e2ebf8}
.question-outline p{margin:2px 0}
.staff-course-quizzes{margin-bottom:12px}
.staff-course-quizzes h4{margin:6px 0;color:#294f7d}
.learner-active-courses{min-width:0;display:grid;align-content:start;gap:14px}
.learner-active-courses>h2{margin:0;color:#173b70}
.learner-course-session{border-top:1px solid #dbe7f7;padding-top:10px;margin-top:5px}
.learner-course-session .learner-quiz-list{margin-top:8px}

.learner-home-intro{padding-block:16px;margin-bottom:18px}
.learner-home-intro h1{margin:0}
.learner-active-courses .learner-quiz-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}
.learner-active-courses .learner-quiz-heading h4{margin:0;color:#173b70}
.learner-active-courses .learner-quiz-card .question-outline{max-height:190px;overflow:auto}
.staff-topbar .breadcrumbs{flex-wrap:wrap;gap:3px 8px;white-space:normal;overflow:visible;overflow-wrap:anywhere}
.staff-topbar .topbar-actions{flex-shrink:0}
.programme-session{align-self:start}
.programme-session>summary{cursor:pointer;color:var(--primary)}
.programme-session>summary .badge{margin-left:8px}
.programme-session[open]>summary{margin-bottom:14px}
[data-program-order] ol{padding-left:24px}
[data-program-order] li{padding:5px 0}
[data-program-order] .row-actions{display:inline-flex;margin-left:10px}
