*{box-sizing:border-box}body{margin:0;background:#f5f5f2;color:#222326;font-family:Inter,Arial,sans-serif;font-size:15px;line-height:1.5}button,input,select,textarea{font:inherit}a{color:#a71926}button,.button{border:0;background:#b4212d;color:white;padding:11px 19px;border-radius:8px;cursor:pointer;font-weight:600;text-decoration:none;display:inline-block}button:hover{background:#921a24}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus,select:focus,textarea:focus{outline:3px solid #db9a49;outline-offset:2px}.secondary{background:#ececea;color:#242424}.secondary:hover{background:#dcdcd8}.linkbutton{background:transparent;color:inherit;padding:8px 0}.linkbutton:hover{background:transparent;text-decoration:underline}label{display:block;font-size:13px;font-weight:600;margin:13px 0}input,select,textarea{display:block;width:100%;padding:11px;border:1px solid #d8d9d4;border-radius:7px;background:white;color:#222;margin-top:5px}input[type=checkbox]{display:inline;width:auto;margin-right:8px}select[multiple]{min-height:130px}textarea{min-height:90px}.card{background:white;border:1px solid #e3e3de;border-radius:14px;padding:25px;margin-bottom:20px}.brand{font-size:23px;font-weight:900;letter-spacing:-1px;line-height:1.15}.brand span{display:block;font-size:10px;letter-spacing:3px;font-weight:500;margin-top:9px;color:#b4212d}.auth{max-width:450px;margin:8vh auto;padding:20px}.auth>.brand{margin-bottom:35px}.auth h1{font-size:28px}.muted{color:#73756f}.small{font-size:12px}.eyebrow{font-size:11px;color:#777;letter-spacing:1.8px;text-transform:uppercase}h1,h2,h3{line-height:1.2}h1{margin:8px 0;font-size:31px}h2{font-size:20px;margin-top:0}h3{font-size:15px}.alert{padding:13px;background:#fff0ee;border:1px solid #e4b1a9;border-radius:8px;color:#982426}.success{padding:13px;border-radius:8px;background:#e8f3eb;color:#265c37;margin-bottom:15px}#app{display:grid;grid-template-columns:230px 1fr;min-height:100vh}aside{background:white;border-right:1px solid #e2e2dc;padding:32px 24px;display:flex;flex-direction:column}nav{margin-top:40px;display:grid;gap:7px}#navigation>button,#navigation>a{display:block;text-align:left;background:none;color:#575853;font:inherit;font-weight:500;line-height:1.5;padding:12px 16px;border:0;border-radius:8px;text-decoration:none;cursor:pointer}#navigation>button.active{background:#f9eded;color:#ad2130}#navigation>button:hover,#navigation>a:hover{background:#f1f1ed}.sidebar-bottom{margin-top:auto;padding-top:45px;color:#686b66;font-size:13px}.sidebar-bottom a{color:inherit;text-decoration:none}.workspace{padding:35px 40px;max-width:1500px;min-width:0}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}#profile{font-size:12px;text-align:right}.demo{font-size:12px;background:#eaeae5;color:#64665f;padding:10px 15px;border-radius:8px;margin-bottom:24px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.stats .value{font-size:35px;font-weight:700;margin:12px 0}.stats .card{border-top:3px solid #b4212d}.grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.toolbar{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:20px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-size:11px;text-transform:uppercase;letter-spacing:.7px;color:#74766e;background:#f7f7f4}th,td{padding:14px 10px;border-bottom:1px solid #eaeae5}td button{padding:6px 10px;margin:3px;font-size:11px}.badge{background:#eef0eb;padding:4px 9px;border-radius:5px;font-size:11px;white-space:nowrap}.empty{padding:30px;color:#75766f;text-align:center}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.formgrid>.wide{grid-column:1/-1}.formgrid>button{align-self:end;margin:16px 0}dialog{border:1px solid #ddd;border-radius:14px;padding:28px;width:min(650px,94vw);max-height:90vh;overflow:auto}dialog::backdrop{background:#15181a88}.close{float:right;background:#f0f0ec;color:#222;padding:2px 10px;font-size:22px}code{overflow-wrap:anywhere}hr{border:0;border-top:1px solid #eee;margin:25px 0}.inline-actions{display:flex;gap:8px;flex-wrap:wrap}#message a{overflow-wrap:anywhere}@media(max-width:850px){#app{grid-template-columns:1fr}aside{padding:18px;display:block}aside .brand{font-size:20px}nav{display:flex;overflow:auto;margin:20px 0 0;gap:0}#navigation>button,#navigation>a{white-space:nowrap;flex-shrink:0}.sidebar-bottom{position:absolute;top:17px;right:20px;padding:0;display:flex;gap:15px;align-items:center}.workspace{padding:22px 16px}.grid{grid-template-columns:1fr}.stats{gap:9px}.stats .card{padding:14px}.stats .value{font-size:26px}h1{font-size:26px}.card{padding:18px}.formgrid{grid-template-columns:1fr}.formgrid>.wide{grid-column:auto}}
@media(max-width:850px){#app{grid-template-columns:minmax(0,1fr)}aside{min-width:0}nav{max-width:100%;min-width:0}.card,.table-wrap{min-width:0;max-width:100%}header{gap:12px}#profile{overflow-wrap:anywhere;max-width:45%}.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stats .muted{font-size:11px;overflow-wrap:anywhere}}

.learning-tabs,.learning-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.learning-tabs .active{background:#b4212d;color:white}.learning-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}.learning-grid .card{margin:0}.lesson-body{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0}.learning-assets img,.learning-assets video{display:block;max-width:100%;max-height:480px;margin:12px 0;border-radius:8px}.learning-asset{overflow-wrap:anywhere}.learning-search{display:flex;align-items:end;gap:12px;margin-bottom:20px}.learning-search label{flex:1;margin:0}.check-list{grid-column:1/-1;min-width:0;border:1px solid #ddd;border-radius:8px;padding:12px}.check-list label{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:8px}.check-list button{margin:4px;white-space:normal}.check-list legend{font-weight:600}.learning-grid button{margin:4px 4px 4px 0}.card>button{margin:4px 8px 4px 0}.learning-grid+.inline-actions{margin-top:16px}@media(max-width:600px){.learning-search{align-items:stretch;flex-direction:column}.learning-tabs button{flex:1 1 45%;padding:10px}.learning-toolbar button{padding:10px}.card{overflow-wrap:anywhere}.learning-assets video{width:100%}}

.exam-fields{border:0;padding:0;margin:0;min-width:0}.exam-fields:disabled{opacity:.8}.exam-form{display:grid;gap:12px}.exam-author-test,.exam-summary{border-top:1px solid #ddd;margin-top:22px;padding-top:18px}.exam-author-test>button,.exam-author-question>button{margin:4px}.exam-author-question,.exam-question{border:1px solid #e3e3de;border-radius:9px;padding:18px;margin:14px 0;overflow-wrap:anywhere}.exam-option-editor{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center}.exam-options-editor{border:1px solid #ddd;border-radius:8px;padding:12px}.exam-options-editor[hidden],.exam-form [hidden]{display:none}.exam-choices{border:0;margin:0;padding:0;min-width:0}.exam-choices label{display:flex;flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:10px;font-size:15px;padding:12px;border:1px solid #ddd;border-radius:8px;cursor:pointer}.exam-choices input{display:inline-block;width:auto;flex:none;margin:0}.exam-filters{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-bottom:20px}.exam-filters label{flex:1;min-width:160px;margin:0}.exam-result{font-size:20px;font-weight:700}.exam-question textarea{min-height:140px}.exam-form fieldset>label{font-size:14px}@media(max-width:600px){.exam-option-editor{grid-template-columns:minmax(0,1fr)}.exam-option-editor label{margin:4px 0}.exam-question{padding:13px}.exam-form button,.exam-filters button{width:100%}.exam-choices label{font-size:14px}}

.exam-history{margin-top:24px;min-width:0}.exam-review-change{border:1px solid #e3e3de;border-radius:10px;padding:18px;margin:14px 0;overflow-wrap:anywhere}.exam-review-change h4{margin:0 0 8px}.exam-history-sides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.exam-history-sides>section{background:#f7f7f4;border-radius:8px;padding:14px;min-width:0}.exam-history-sides h5{font-size:14px;margin:0 0 10px}.exam-history-sides p{margin:8px 0}.exam-history-sides ul{padding-left:22px;margin-bottom:0}@media(max-width:600px){.exam-history-sides{grid-template-columns:minmax(0,1fr)}.exam-review-change{padding:13px}}

/* E5 checklist forms and server-backed progress. */
.checklist-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.checklist-tabs .active{background:#b4212d;color:white}.checklist-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px;margin:20px 0}.checklist-grid .card{margin:0;min-width:0}.checklist-form{display:grid;gap:12px}.checklist-fields{border:0;min-width:0;margin:0;padding:0}.checklist-fields:disabled{opacity:.7}.checklist-editor-items{display:grid;gap:12px}.checklist-editor-item,.checklist-version{border:1px solid #e3e3de;padding:16px;border-radius:9px;margin:12px 0;min-width:0}.checklist-editor-item label:has(input[type=checkbox]){display:flex;align-items:center;gap:10px;flex-direction:row-reverse;justify-content:flex-end}.checklist-pages{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:20px 0}.checklist-pages button{border:1px solid #d8d9d4}.checklist-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:20px 0}.checklist-filters label{flex:1;min-width:180px;margin:0}.checklist-photo{padding:12px 0;border-bottom:1px solid #eee}.checklist-photo input[type=file]{max-width:100%;min-width:0}.checklist-version summary{cursor:pointer;padding:10px 0}.checklist-version summary:focus-visible{outline:3px solid #db9a49;outline-offset:2px}.checklist-form [hidden],.checklist-filters [hidden]{display:none}.checklist-form .inline-actions button,.checklist-tabs button,.checklist-grid button{min-height:44px}.checklist-form p,.checklist-grid p{overflow-wrap:anywhere}@media(max-width:600px){.checklist-tabs button{flex:1 1 45%}.checklist-filters{display:grid;grid-template-columns:minmax(0,1fr)}.checklist-filters label{min-width:0}.checklist-editor-item{padding:12px}.checklist-form>.inline-actions button,.checklist-photo>button{width:100%}.checklist-pages{gap:8px}.checklist-pages span{flex-basis:100%}}

/* Explicit checklist execution and immutable timing details. */
.checklist-timing{display:grid;grid-template-columns:minmax(100px,auto) minmax(0,1fr);gap:6px 16px;margin:16px 0}.checklist-timing dt{font-weight:600}.checklist-timing dd{margin:0;overflow-wrap:anywhere}.checklist-photo button{min-height:44px}.checklist-photo>button{margin:8px 0}.checklist-photo [role=status]{overflow-wrap:anywhere}.checklist-photo [hidden]{display:none}@media(max-width:600px){.checklist-timing{grid-template-columns:minmax(0,1fr);gap:2px}.checklist-timing dd{margin-bottom:9px}.checklist-photo>button{width:100%}}

/* Progressive employee flow: tasks, a compact list, then one item. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.checklist-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px}.checklist-toolbar:has(>.checklist-refresh:only-child){justify-content:flex-end}.checklist-back,.checklist-refresh{background:transparent;color:#766d69;padding:10px 0;font-weight:500;min-height:44px}.checklist-back:hover,.checklist-refresh:hover{background:transparent;color:#7b2f44;text-decoration:underline}.checklist-refresh{font-size:13px}.checklist-back{font-size:16px;text-align:left}
.checklist-filter-details{margin:0 0 20px;color:#766d69}.checklist-filter-details summary,.checklist-execution-details summary,.checklist-optional-photo summary{cursor:pointer;min-height:44px;padding:10px 0}.checklist-filter-details summary:focus-visible,.checklist-execution-details summary:focus-visible,.checklist-optional-photo summary:focus-visible{outline:3px solid #db9a49;outline-offset:2px}
.checklist-task-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px;align-items:start;margin:12px 0 24px}.checklist-task{position:relative;min-width:0;background:#f7f3ed;border:1px solid #e9e0d8;border-radius:18px;overflow:hidden}.checklist-task-open{position:relative;width:100%;min-height:158px;background:transparent;color:#302c2b;border-radius:17px;padding:25px 60px 25px 24px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:18px}.checklist-task-open:hover{background:#f0e8df}.checklist-task-title{font-size:24px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}.checklist-task-status{font-size:16px;line-height:1.4;font-weight:400;overflow-wrap:anywhere;color:#776f6b}.checklist-task-arrow{position:absolute;right:25px;bottom:25px;font-size:25px;line-height:1;color:inherit}.checklist-task.is-available{background:#7b2f44;border-color:#7b2f44}.checklist-task.is-available .checklist-task-open{color:#fff}.checklist-task.is-available .checklist-task-open:hover{background:#67273a}.checklist-task.is-available .checklist-task-status{color:#f4e8ed}.checklist-task.is-completed .checklist-task-title,.checklist-task.is-completed .checklist-task-arrow{color:#326954}.checklist-task.is-cancelled{background:#eeece8}.checklist-task-due{margin:0;padding:0 24px 18px;color:inherit;font-size:13px}.checklist-task.is-available .checklist-task-due{color:#fff1df}.checklist-task.is-blocked .checklist-task-arrow{width:18px;height:16px;border:2px solid #807670;border-radius:3px;font-size:0}.checklist-task.is-blocked .checklist-task-arrow::before{content:'';position:absolute;left:2px;right:2px;bottom:12px;height:12px;border:2px solid #807670;border-bottom:0;border-radius:10px 10px 0 0}
.checklist-flow{max-width:720px;margin:0 auto}.checklist-flow-header.card{padding:8px 0 20px;border:0;background:transparent;margin:0}.checklist-flow-header h2,.checklist-item-detail h2{font-size:27px;line-height:1.3;margin:0;overflow-wrap:anywhere}.checklist-progress{color:#807671;font-size:18px;margin:10px 0 0}.checklist-finished{color:#326954;font-weight:600;margin-bottom:0}.checklist-flow-header .checklist-form{margin-top:22px;background:#fff;padding:20px;border:1px solid #e9e0d8;border-radius:14px}.checklist-flow-header .checklist-form p{margin-top:0}.checklist-items{list-style:none;display:grid;gap:12px;margin:6px 0 24px;padding:0}.checklist-item-row{margin:0;min-width:0}.checklist-item-open{display:grid;grid-template-columns:26px minmax(0,1fr) 18px;align-items:center;gap:15px;width:100%;min-height:76px;padding:18px;background:#f7f3ed;border:1px solid transparent;border-radius:13px;color:#332e2c;text-align:left;font-weight:500;font-size:17px}.checklist-item-open:hover{background:#f0e1e4;border-color:#7b2f44}.checklist-item-title{overflow-wrap:anywhere}.checklist-check{width:26px;height:26px;border:2px solid #dcd0c5;border-radius:6px;background:#fff;display:flex;align-items:center;justify-content:center;line-height:1;font-size:21px;font-weight:700}.checklist-chevron{font-size:25px;color:#7b2f44;text-align:right}.checklist-item-row.is-completed .checklist-check{background:#326954;border-color:#326954;color:white}.checklist-item-row.is-completed .checklist-item-title{color:#326954;font-weight:600}.checklist-execution-details{border-top:1px solid #e5ddd5;padding-top:8px;margin-top:25px;color:#786f6a}.checklist-execution-details .checklist-timing{font-size:14px}
.checklist-item-detail.card{padding:28px;border-color:#e5dcd2;border-radius:18px}.checklist-instruction{white-space:pre-wrap;overflow-wrap:anywhere;font-size:17px;line-height:1.6;margin:22px 0 26px}.checklist-item-detail .checklist-photo{border-bottom:0;padding:14px 0 0}.checklist-item-detail .checklist-camera{padding:16px 0}.checklist-item-detail .checklist-camera>p:first-child{color:#766d69;font-size:13px;margin-top:0}.checklist-item-detail .checklist-camera video,.checklist-item-detail .checklist-camera img{display:block;margin:12px auto;width:100%;object-fit:contain;background:#f7f3ed}.checklist-item-detail .checklist-camera [hidden]{display:none}.checklist-item-detail .checklist-camera .inline-actions>button{min-height:48px;flex:1 1 auto}.checklist-item-detail .checklist-camera .inline-actions>button:first-child{background:white;color:#7b2f44;border:1px solid #7b2f44}.checklist-item-detail .checklist-camera .inline-actions>button:first-child:hover{background:#f7ecef}.checklist-item-detail .checklist-form{margin-top:22px}.checklist-item-detail .checklist-form>.inline-actions button{width:100%;min-height:54px;background:#7b2f44;font-size:18px}.checklist-item-detail .checklist-form>.inline-actions button:hover{background:#67273a}.checklist-item-detail p:empty{display:none}.checklist-optional-photo{margin-top:22px;color:#766d69}.checklist-optional-photo>summary{font-size:14px}.checklist-blocked{margin:18px 0;padding:14px 18px;background:#f7f3ed;border-radius:12px;color:#766d69}.checklist-blocked p{margin:0}.checklist-blocked ul{padding:0;list-style:none;margin:8px 0 0}.checklist-blocked button{padding:8px 0;text-align:left;background:none;color:#7b2f44;text-decoration:underline;font-weight:500}
.checklist-dependencies{border:1px solid #e3e3de;padding:12px 16px;border-radius:9px;margin-top:16px}.checklist-prerequisite-options{max-height:320px;overflow:auto}.checklist-prerequisite-choice{display:flex;align-items:flex-start;flex-direction:row-reverse;justify-content:flex-end;gap:10px;font-weight:400}.checklist-prerequisite-choice input{flex:none;margin-top:3px}.checklist-dependencies>label{display:flex;align-items:center;flex-direction:row-reverse;justify-content:flex-end;gap:10px}.checklist-dependencies p{font-size:13px}.checklist-dependencies [hidden]{display:none}
@media(max-width:600px){.checklist-task-grid{grid-template-columns:minmax(0,1fr);gap:16px}.checklist-task-open{min-height:150px;padding:23px 54px 23px 22px}.checklist-task-title{font-size:23px}.checklist-task-status{font-size:16px}.checklist-toolbar{margin-bottom:16px}.checklist-flow-header h2,.checklist-item-detail h2{font-size:25px}.checklist-item-detail.card{padding:22px 18px}.checklist-item-open{min-height:74px;gap:13px;padding:17px 15px;font-size:17px}.checklist-item-detail .checklist-camera .inline-actions{display:grid;grid-template-columns:minmax(0,1fr)}.checklist-flow-header .checklist-form{padding:17px}.checklist-item-detail .checklist-photo>button{width:100%}}

.checklist-task-open:disabled{opacity:1;cursor:not-allowed}.checklist-task-open:disabled:hover{background:transparent}

/* State is expressed by the whole card, text and an icon, never colour alone. */
.checklist-task-open{min-height:126px;padding-bottom:24px;justify-content:center;gap:8px}
.checklist-task-arrow{bottom:22px}
.checklist-task-due{margin-top:-6px;padding-bottom:16px}
.checklist-task-due.is-overdue{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}
.checklist-task.is-available{background:#fff;border-color:#d6d0c9}
.checklist-task.is-available .checklist-task-open{color:#302c2b}
.checklist-task.is-available .checklist-task-open:hover{background:#f6f3ef}
.checklist-task.is-available .checklist-task-status,.checklist-task.is-available .checklist-task-due{color:#625951}
.checklist-task.is-in-progress{background:#fff3cc;border-color:#d9b85c}
.checklist-task.is-in-progress .checklist-task-open,.checklist-task.is-in-progress .checklist-task-status,.checklist-task.is-in-progress .checklist-task-due{color:#654b12}
.checklist-task.is-in-progress .checklist-task-open:hover{background:#ffeab0}
.checklist-task.is-completed{background:#e4f3e9;border-color:#9dc5ad}
.checklist-task.is-completed .checklist-task-open,.checklist-task.is-completed .checklist-task-title,.checklist-task.is-completed .checklist-task-status,.checklist-task.is-completed .checklist-task-arrow,.checklist-task.is-completed .checklist-task-due{color:#20523c}
.checklist-task.is-completed .checklist-task-open:hover{background:#d5ebde}
.checklist-task.is-blocked,.checklist-task.is-cancelled{background:#e9e9e7;border-color:#cececa}
.checklist-task.is-blocked .checklist-task-open,.checklist-task.is-blocked .checklist-task-status,.checklist-task.is-cancelled .checklist-task-open,.checklist-task.is-cancelled .checklist-task-status{color:#585a55}
.checklist-task.is-blocked .checklist-task-arrow,.checklist-task.is-blocked .checklist-task-arrow::before{border-color:#585a55}
.checklist-completed{margin:24px 0;color:#585a55}
.checklist-completed>summary{display:flex;align-items:center;gap:12px;width:max-content;max-width:100%;min-height:44px;padding:8px 0;cursor:pointer;list-style:none;font-size:15px}
.checklist-completed>summary::-webkit-details-marker{display:none}
.checklist-completed>summary:focus-visible{outline:3px solid #db9a49;outline-offset:3px;border-radius:4px}
.checklist-completed-arrow{font-size:24px;line-height:1}
.checklist-completed[open]>.checklist-completed-arrow,.checklist-completed[open]>summary .checklist-completed-arrow{transform:rotate(90deg)}

.checklist-task-branch{font-size:13px;font-weight:400;line-height:1.4;overflow-wrap:anywhere}
