.lsa-dep-correction-centre{color:#eaf2ff;padding:clamp(20px,2vw,32px);border-radius:18px}
.lsa-dep-correction-centre .lsa-dep-chip{color:#eaf2ff;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2)}
.lsa-dep-correction-attempts{display:grid;gap:12px;margin-top:20px}
.lsa-dep-correction-attempt{border:1px solid rgba(130,157,190,.3);border-radius:13px;background:rgba(4,15,28,.38);overflow:hidden}
.lsa-dep-correction-attempt>summary{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:16px 18px;cursor:pointer;list-style:none}
.lsa-dep-correction-attempt>summary::-webkit-details-marker{display:none}
.lsa-dep-correction-attempt>summary span{display:grid;gap:4px}
.lsa-dep-correction-attempt>summary small,.lsa-dep-correction-attempt>summary>b{color:#b7c6d8;font-size:12px}
.lsa-dep-correction-attempt>.lsa-dep-correction-grid{padding:0 16px 16px}
.lsa-dep-existing-request{display:grid;gap:5px;padding:14px;border:1px solid rgba(54,201,143,.35);border-radius:10px;background:rgba(54,201,143,.1)}
.lsa-dep-existing-request span,.lsa-dep-existing-request small{color:#c5d2e1;font-size:12px}
.lsa-dep-suggested-response>div{padding:15px;border:1px solid rgba(130,157,190,.28);border-radius:10px;background:#07111f;white-space:pre-wrap}
.lsa-dep-simulation-note{padding:10px;border-left:3px solid #f0b94a;background:rgba(240,185,74,.1);font-size:12px}
.lsa-dep-performance-office>p{max-width:900px;color:#526173}
.lsa-dep-selected-result{margin:22px 0;padding:clamp(18px,2vw,30px);border:1px solid #c9d5e4;border-radius:18px;background:#edf3f9;color:#152238;color-scheme:light;scroll-margin-top:24px}
.lsa-dep-selected-result>header{display:flex;justify-content:space-between;gap:22px;align-items:flex-start;margin-bottom:18px}
.lsa-dep-selected-result>header h3{margin:5px 0;font-size:clamp(24px,2vw,36px)}
.lsa-dep-selected-result>header p{margin:0;color:#526173}
.lsa-dep-selected-result>header>div:last-child{display:grid;gap:10px;justify-items:end;text-align:right}
.lsa-dep-selected-result>header a{color:#152238;font-weight:750}
.lsa-dep-selected-result>.lsa-dep-result-modules{grid-template-columns:repeat(2,minmax(0,1fr))}
.lsa-dep-objective-correction,.lsa-dep-human-assessment{margin-top:14px;padding-top:12px;border-top:1px solid #dbe3ee}
.lsa-dep-objective-correction>summary,.lsa-dep-human-assessment>summary{cursor:pointer;color:#152238;font-weight:800}
.lsa-dep-objective-correction>div{display:grid;gap:10px;margin-top:12px}
.lsa-dep-objective-correction article{padding:13px;border:1px solid #dbe3ee;border-radius:10px;background:#f8fafc}
.lsa-dep-objective-correction article>header{display:flex;justify-content:space-between;gap:10px;align-items:center}
.lsa-dep-objective-correction article>header span{padding:4px 7px;border-radius:999px;font-size:10px;font-weight:800;text-transform:uppercase}
.lsa-dep-objective-correction article>header span.is-correct{background:#d7f1e2;color:#135e33}
.lsa-dep-objective-correction article>header span.is-incorrect{background:#f8d7da;color:#7b1823}
.lsa-dep-objective-correction article>header span.is-unanswered{background:#fce8c3;color:#704100}
.lsa-dep-objective-correction article>p{margin:8px 0}
.lsa-dep-objective-correction blockquote{margin:10px 0;padding:10px;border-left:3px solid #8fa4bc;background:#fff;color:#3f4f62}
.lsa-dep-objective-correction dl{display:grid;gap:7px;margin:12px 0 0}
.lsa-dep-objective-correction dl>div{display:grid;grid-template-columns:minmax(110px,.35fr) 1fr;gap:10px}
.lsa-dep-objective-correction dt{color:#637083;font-size:12px;font-weight:800}
.lsa-dep-objective-correction dd{margin:0;overflow-wrap:anywhere}
.lsa-dep-human-assessment>p{white-space:pre-wrap}
.lsa-dep-human-assessment ul{display:grid;gap:7px;margin:12px 0 0;padding:0;list-style:none}
.lsa-dep-human-assessment li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:8px 0;border-bottom:1px solid #e4eaf1}
.lsa-dep-human-assessment li>p{grid-column:1/-1;margin:0;color:#526278;white-space:pre-wrap}
.lsa-dep-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}
.lsa-dep-stat-grid article{display:grid;gap:5px;padding:20px;border:1px solid #dbe3ee;border-radius:14px;background:#fff}
.lsa-dep-stat-grid span{color:#637083;font-size:12px;font-weight:800;text-transform:uppercase}
.lsa-dep-stat-grid strong{font-size:clamp(28px,2.2vw,42px)}
.lsa-dep-stat-grid small{color:#637083}
.lsa-dep-analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.lsa-dep-analytics-card{padding:22px;border:1px solid #dbe3ee;border-radius:16px;background:#fff}
.lsa-dep-analytics-card h3{margin:0 0 18px}
.lsa-dep-module-average-list{display:grid;gap:13px}
.lsa-dep-module-average-list>div{display:grid;grid-template-columns:1fr auto;gap:6px 12px}
.lsa-dep-module-average-list .lsa-dep-score-track{grid-column:1/-1}
.lsa-dep-insights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
.lsa-dep-insights>div{padding:14px;border-radius:10px;background:#f4f7fb}
.lsa-dep-insights dt{color:#637083;font-size:12px}
.lsa-dep-insights dd{margin:5px 0 0;font-size:21px;font-weight:800}
.lsa-dep-trend-chart{display:flex;gap:8px;align-items:end;height:150px;padding-top:24px}
.lsa-dep-trend-chart>div{position:relative;display:flex;flex:1;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;min-width:24px}
.lsa-dep-trend-chart i{display:block;width:min(34px,78%);min-height:4px;border-radius:7px 7px 2px 2px;background:#9d1028}
.lsa-dep-trend-chart strong{position:absolute;top:-21px;font-size:11px}
.lsa-dep-trend-chart small{margin-top:5px;color:#637083;font-size:10px}
.lsa-dep-history-list{display:grid;gap:12px;padding:12px;background:transparent;border:0}
.lsa-dep-history-record{border:1px solid #dbe3ee;border-radius:14px;background:#fff;overflow:hidden}
.lsa-dep-history-record-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:16px 18px}
.lsa-dep-history-record-head>div{display:grid;gap:4px}
.lsa-dep-history-record-head span{color:#637083;font-size:12px}
.lsa-dep-release-badge{padding:6px 9px;border-radius:999px;font-size:11px;white-space:nowrap}
.lsa-dep-release-badge.is-held{background:#e1effa;color:#0a4b78}
.lsa-dep-release-badge.is-partial{background:#fce8c3;color:#704100}
.lsa-dep-release-badge.is-released{background:#d7f1e2;color:#135e33}
.lsa-dep-see-result{display:inline-flex;margin:0 18px 16px;padding:9px 13px;border-radius:8px;background:#152238;color:#fff!important;font-weight:800;text-decoration:none}
.lsa-dep-selected-result .lsa-dep-result-module{border-color:#c9d5e4;background:#fff;color:#152238}
.lsa-dep-selected-result .lsa-dep-result-module.held,.lsa-dep-selected-result .lsa-dep-result-module.pending_review{background:#f5f7fa;color:#152238}
.lsa-dep-selected-result .lsa-dep-result-module.held{border-style:dashed}
.lsa-dep-selected-result .lsa-dep-result-module>span,.lsa-dep-selected-result .lsa-dep-result-module>strong{color:#152238}
.lsa-dep-selected-result .lsa-dep-result-module small{color:#526173}
.lsa-dep-selected-result .lsa-dep-score-track{background:#d6e0eb}
.lsa-dep-selected-result .lsa-dep-score-track i{background:#294765}
.lsa-dep-result-module.held .lsa-dep-score-track i,.lsa-dep-result-module.pending_review .lsa-dep-score-track i{width:0!important}
.lsa-dep-module-release-note{margin:10px 0 0;padding-top:8px;border-top:1px solid #e1e7ee;color:#526173;font-size:12px}
.lsa-dep-result-held-notice{padding:14px;border-left:4px solid #2271b1;background:#e4f1fb;color:#183b5a}
.lsa-dep-selected-result .lsa-dep-result-disclaimer{border-top-color:#ced9e5;color:#526173}
.lsa-dep-history-overall{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding:15px 18px;border-radius:11px;background:#152238;color:#fff}
.lsa-dep-history-overall strong{font-size:26px}
@media(max-width:1024px){.lsa-dep-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lsa-dep-analytics-grid{grid-template-columns:1fr}}
@media(max-width:720px){.lsa-dep-stat-grid,.lsa-dep-selected-result>.lsa-dep-result-modules{grid-template-columns:1fr}.lsa-dep-selected-result>header,.lsa-dep-correction-attempt>summary,.lsa-dep-history-record-head{align-items:flex-start;flex-direction:column}.lsa-dep-selected-result>header>div:last-child{justify-items:start;text-align:left}.lsa-dep-insights{grid-template-columns:1fr}.lsa-dep-correction-history article{grid-template-columns:1fr}.lsa-dep-correction-history article>span,.lsa-dep-correction-history article>b{grid-column:1}.lsa-dep-objective-correction dl>div{grid-template-columns:1fr;gap:3px}}

/* v0.13.2 live correction state and compact candidate records */
.lsa-dep-existing-request{position:relative;overflow:hidden;transition:border-color .25s ease,background .25s ease,box-shadow .25s ease}
.lsa-dep-existing-request.is-pending{border-color:#4aa3ff;background:rgba(27,115,198,.2);box-shadow:inset 4px 0 #4aa3ff}
.lsa-dep-existing-request.is-processing{border-color:#f0b94a;background:rgba(240,185,74,.16);box-shadow:inset 4px 0 #f0b94a}
.lsa-dep-existing-request.is-complete{border-color:#36c98f;background:rgba(54,201,143,.17);box-shadow:inset 4px 0 #36c98f}
.lsa-dep-existing-request.is-error{border-color:#f07a83;background:rgba(201,54,70,.14);box-shadow:inset 4px 0 #d94a5a}
.lsa-dep-existing-request em{color:#d4deea;font-size:11px;font-style:normal}
.lsa-dep-correction-progress{height:8px;margin-top:7px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.14)}
.lsa-dep-correction-progress i{display:block;height:100%;border-radius:inherit;background:#4aa3ff;transition:width .7s ease,background .25s ease}
.lsa-dep-existing-request.is-processing .lsa-dep-correction-progress i{background:linear-gradient(90deg,#f0a52f,#ffd977);background-size:180% 100%;animation:lsa-dep-correction-flow 1.4s linear infinite}
.lsa-dep-existing-request.is-human-review .lsa-dep-correction-progress i{animation:none;background:#e8b354}
.lsa-dep-existing-request.is-human-review .lsa-dep-correction-progress{display:none}
.lsa-dep-module-decision{display:grid;gap:5px;margin:10px 0;padding:10px;border:1px solid var(--lsa-result-border,#6983a0);border-radius:9px;overflow-wrap:anywhere}
.lsa-dep-module-decision strong{font-size:12px;line-height:1.5}
.lsa-dep-result-decision{margin:18px 0;padding:16px;border:1px solid var(--lsa-result-border,#6983a0);border-radius:12px;overflow-wrap:anywhere}
.lsa-dep-result-decision h4{margin:0 0 12px}.lsa-dep-decision-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:10px 0;border-top:1px solid var(--lsa-result-border,#6983a0)}
.lsa-dep-decision-group span{flex:1 1 220px}.lsa-dep-decision-group small{flex-basis:100%}.lsa-dep-result-decision.is-failed{border-left:5px solid #c85665}.lsa-dep-result-decision.is-passed{border-left:5px solid #289566}
.lsa-dep-existing-request.is-complete .lsa-dep-correction-progress i{background:#36c98f}
.lsa-dep-existing-request.is-error .lsa-dep-correction-progress i{background:#d94a5a}
.lsa-dep-performance-command{margin:22px 0;padding:clamp(18px,2vw,28px);border:1px solid #263e60;border-radius:18px;background:linear-gradient(145deg,#14233a,#1e3452);color:#f6f9fe;box-shadow:0 18px 44px rgba(17,34,57,.15)}
.lsa-dep-performance-command .lsa-dep-stat-grid{margin:0 0 18px;gap:1px;overflow:hidden;border:1px solid rgba(255,255,255,.13);border-radius:13px;background:rgba(255,255,255,.13)}
.lsa-dep-performance-command .lsa-dep-stat-grid>div{display:grid;gap:5px;padding:18px;background:rgba(10,25,44,.72)}
.lsa-dep-performance-command .lsa-dep-stat-grid span,.lsa-dep-performance-command .lsa-dep-stat-grid small{color:#b9c9dc}
.lsa-dep-performance-command .lsa-dep-analytics-card{border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.055)}
.lsa-dep-performance-command .lsa-dep-analytics-card p,.lsa-dep-performance-command .lsa-dep-module-average-list span,.lsa-dep-performance-command .lsa-dep-insights dt{color:#c5d2e1}
.lsa-dep-performance-command .lsa-dep-score-track{background:rgba(255,255,255,.13)}
.lsa-dep-performance-command .lsa-dep-score-track i{background:linear-gradient(90deg,#5ca9ff,#61d9aa)}
.lsa-dep-performance-command .lsa-dep-insights>div{background:rgba(255,255,255,.08)}
.lsa-dep-records-office{margin-top:20px;overflow:hidden;border:1px solid #c9d5e4;border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(21,34,56,.07);scroll-margin-top:24px}
.lsa-dep-records-head{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px 22px;border-bottom:1px solid #dbe3ee;background:#eef4fa}
.lsa-dep-records-head h3{margin:5px 0 0;font-size:clamp(21px,1.5vw,29px)}
.lsa-dep-records-head nav{display:flex;gap:8px;flex-wrap:wrap}
.lsa-dep-records-head nav a{padding:9px 12px;border:1px solid #c3cfdd;border-radius:999px;color:#30445d;text-decoration:none;font-size:12px;font-weight:800}
.lsa-dep-records-head nav a.is-current{border-color:#152238;background:#152238;color:#fff}
.lsa-dep-records-head nav b{margin-left:5px}
.lsa-dep-record-notice{margin:16px 20px 0;padding:11px 13px;border-left:4px solid #d39a32;background:#fff6df}
.lsa-dep-record-notice.is-success{border-left-color:#26956a;background:#eaf8f1}
.lsa-dep-record-filters{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr)) auto;gap:12px;align-items:end;padding:16px 20px;border-bottom:1px solid #e1e7ee;background:#f9fbfd}
.lsa-dep-record-filters label{display:grid;min-width:0;gap:6px;color:#526173;font-size:11px;font-weight:800;text-transform:uppercase}
.lsa-dep-record-filters select{width:100%;max-width:100%;min-width:0;box-sizing:border-box;min-height:42px;padding:8px 10px;border:1px solid #bcc9d8;border-radius:9px;background:#fff;color:#152238;font:inherit;text-transform:none}
.lsa-dep-language-rooms>.lsa-dep-record-filters{grid-template-columns:minmax(0,1fr) auto}
@media(max-width:680px){.lsa-dep-language-rooms>.lsa-dep-record-filters{grid-template-columns:minmax(0,1fr)}}
.lsa-dep-record-filters button,.lsa-dep-record-actions button,.lsa-dep-record-delete button{min-height:42px;padding:9px 13px;border:1px solid #152238;border-radius:9px;background:#152238;color:#fff;font-weight:800;cursor:pointer}
.lsa-dep-records-office .lsa-dep-history-list{display:block;padding:0}
.lsa-dep-records-office .lsa-dep-history-record{display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(64px,auto) auto;gap:16px;align-items:center;padding:15px 20px;border:0;border-bottom:1px solid #e1e7ee;border-radius:0;background:#fff}
.lsa-dep-records-office .lsa-dep-history-record:nth-child(even){background:#f7f9fc}
.lsa-dep-records-office .lsa-dep-history-record:last-child{border-bottom:0}
.lsa-dep-record-identity{display:grid;gap:4px;min-width:0}
.lsa-dep-record-identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lsa-dep-record-identity span{color:#637083;font-size:12px}
.lsa-dep-record-score{font-size:20px;text-align:right}
.lsa-dep-record-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end}
.lsa-dep-record-actions form{margin:0}
.lsa-dep-record-actions .lsa-dep-see-result{margin:0;min-height:42px;box-sizing:border-box;align-items:center;white-space:nowrap}
.lsa-dep-record-actions button.is-secondary{background:#fff;color:#152238}
.lsa-dep-record-locked{max-width:150px;color:#7b5a12;font-size:11px;font-weight:750;text-align:right}
.lsa-dep-record-delete{grid-column:1/-1;padding:10px 0 2px;border-top:1px dashed #d3dce7}
.lsa-dep-record-delete summary{width:max-content;color:#982133;font-size:12px;font-weight:800;cursor:pointer}
.lsa-dep-record-delete form{display:grid;grid-template-columns:1fr auto;gap:10px 16px;align-items:center;margin-top:10px;padding:14px;border:1px solid #efc2c8;border-radius:10px;background:#fff2f3}
.lsa-dep-record-delete p{grid-column:1/-1;margin:0;color:#75202c}
.lsa-dep-record-delete label{font-size:12px;font-weight:700}
.lsa-dep-record-delete button{border-color:#9d1028;background:#9d1028}
.lsa-dep-records-office .lsa-dep-results-empty{margin:18px;border:1px dashed #b9c5d2;background:#f8fafc}

/* v0.13.2 candidate analytics and records contrast, disabled-state clarity and keyboard focus */
.lsa-dep-selected-result>header h3,
.lsa-dep-selected-result .lsa-dep-eyebrow,
.lsa-dep-selected-result .lsa-dep-objective-correction,
.lsa-dep-selected-result .lsa-dep-human-assessment,
.lsa-dep-selected-result .lsa-dep-human-assessment>p,
.lsa-dep-selected-result .lsa-dep-human-assessment li,
.lsa-dep-selected-result .lsa-dep-objective-correction article,
.lsa-dep-selected-result .lsa-dep-objective-correction dd{color:#152238}
.lsa-dep-selected-result a:focus-visible,
.lsa-dep-selected-result summary:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.lsa-dep-records-office{color:#152238}
.lsa-dep-records-head h3,
.lsa-dep-record-identity strong,
.lsa-dep-record-score{color:#152238}
.lsa-dep-records-head nav a:hover{border-color:#7d91a9;background:#f7f9fc}
.lsa-dep-records-head nav a.is-current:hover{border-color:#152238;background:#152238;color:#fff}
.lsa-dep-records-head nav a:focus-visible,
.lsa-dep-record-filters select:focus-visible,
.lsa-dep-record-filters button:focus-visible,
.lsa-dep-record-actions a:focus-visible,
.lsa-dep-record-actions button:focus-visible,
.lsa-dep-record-delete summary:focus-visible,
.lsa-dep-record-delete button:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.lsa-dep-record-locked{max-width:175px;line-height:1.4}
.lsa-dep-records-office .lsa-dep-results-empty,
.lsa-dep-records-office .lsa-dep-results-empty h3,
.lsa-dep-records-office .lsa-dep-results-empty p{color:#152238}

[data-theme=dark] .lsa-dep-performance-office>p{color:#b7c6d9}
[data-theme=dark] .lsa-dep-selected-result{
    border-color:#3a526d;
    background:#102039;
    color:#eef5ff;
    color-scheme:dark;
}
[data-theme=dark] .lsa-dep-selected-result>header h3,
[data-theme=dark] .lsa-dep-selected-result .lsa-dep-eyebrow,
[data-theme=dark] .lsa-dep-selected-result .lsa-dep-objective-correction,
[data-theme=dark] .lsa-dep-selected-result .lsa-dep-human-assessment,
[data-theme=dark] .lsa-dep-selected-result .lsa-dep-human-assessment>p,
[data-theme=dark] .lsa-dep-selected-result .lsa-dep-human-assessment li,
[data-theme=dark] .lsa-dep-selected-result .lsa-dep-human-assessment li>p,
[data-theme=dark] .lsa-dep-selected-result .lsa-dep-objective-correction article,
[data-theme=dark] .lsa-dep-selected-result .lsa-dep-objective-correction dd{color:#eef5ff}
[data-theme=dark] .lsa-dep-selected-result>header p,
[data-theme=dark] .lsa-dep-selected-result>header a,
[data-theme=dark] .lsa-dep-module-release-note,
[data-theme=dark] .lsa-dep-objective-correction dt{color:#bdcadb}
[data-theme=dark] .lsa-dep-selected-result>header a{color:#8bc1ff}
[data-theme=dark] .lsa-dep-objective-correction,
[data-theme=dark] .lsa-dep-human-assessment,
[data-theme=dark] .lsa-dep-human-assessment li{border-color:#3a526d}
[data-theme=dark] .lsa-dep-objective-correction>summary,
[data-theme=dark] .lsa-dep-human-assessment>summary{color:#eef5ff}
[data-theme=dark] .lsa-dep-objective-correction article{
    border-color:#3a526d;
    background:#16283f;
    color:#eef5ff;
}
[data-theme=dark] .lsa-dep-objective-correction blockquote{
    border-left-color:#7293b8;
    background:#0c192b;
    color:#d7e2ef;
}
[data-theme=dark] .lsa-dep-result-held-notice{
    border-left-color:#64b5ef;
    background:#102c45;
    color:#dcecff;
}
[data-theme=dark] .lsa-dep-selected-result .lsa-dep-result-module,
[data-theme=dark] .lsa-dep-selected-result .lsa-dep-result-module.held,
[data-theme=dark] .lsa-dep-selected-result .lsa-dep-result-module.pending_review{
    border-color:#3a526d;
    background:#16283f;
    color:#eef5ff;
}
[data-theme=dark] .lsa-dep-selected-result .lsa-dep-result-module>span,
[data-theme=dark] .lsa-dep-selected-result .lsa-dep-result-module>strong{color:#eef5ff}
[data-theme=dark] .lsa-dep-selected-result .lsa-dep-result-module small,
[data-theme=dark] .lsa-dep-selected-result .lsa-dep-result-disclaimer{color:#bdcadb}
[data-theme=dark] .lsa-dep-selected-result .lsa-dep-score-track{background:#2b4059}
[data-theme=dark] .lsa-dep-selected-result .lsa-dep-score-track i{background:#72b7ef}
[data-theme=dark] .lsa-dep-selected-result .lsa-dep-result-disclaimer{border-top-color:#3a526d}
[data-theme=dark] .lsa-dep-stat-grid article,
[data-theme=dark] .lsa-dep-analytics-card,
[data-theme=dark] .lsa-dep-history-record{
    border-color:#3a526d;
    background:#102039;
    color:#eef5ff;
}
[data-theme=dark] .lsa-dep-stat-grid span,
[data-theme=dark] .lsa-dep-stat-grid small,
[data-theme=dark] .lsa-dep-insights dt,
[data-theme=dark] .lsa-dep-trend-chart small,
[data-theme=dark] .lsa-dep-history-record-head span{color:#b7c6d9}
[data-theme=dark] .lsa-dep-insights>div{background:#172b44}

[data-theme=dark] .lsa-dep-records-office{
    border-color:#3a526d;
    background:#101d31;
    color:#eef5ff;
    box-shadow:0 14px 36px rgba(0,0,0,.24);
    color-scheme:dark;
}
[data-theme=dark] .lsa-dep-records-head{
    border-bottom-color:#3a526d;
    background:#16283f;
}
[data-theme=dark] .lsa-dep-records-head h3,
[data-theme=dark] .lsa-dep-record-identity strong,
[data-theme=dark] .lsa-dep-record-score{color:#eef5ff}
[data-theme=dark] .lsa-dep-records-head nav a{
    border-color:#536b87;
    color:#dce7f5;
}
[data-theme=dark] .lsa-dep-records-head nav a:hover{border-color:#7ba0c8;background:#203650}
[data-theme=dark] .lsa-dep-records-head nav a.is-current{
    border-color:#8bc1ff;
    background:#2e69ad;
    color:#fff;
}
[data-theme=dark] .lsa-dep-record-notice{background:#3a301b;color:#ffe2a6}
[data-theme=dark] .lsa-dep-record-notice.is-success{background:#12372a;color:#b8efd4}
[data-theme=dark] .lsa-dep-record-filters{
    border-bottom-color:#3a526d;
    background:#0d1a2c;
}
[data-theme=dark] .lsa-dep-record-filters label{color:#c2d0e1}
[data-theme=dark] .lsa-dep-record-filters select{
    border-color:#506884;
    background:#16283f;
    color:#f0f6ff;
}
[data-theme=dark] .lsa-dep-records-office .lsa-dep-history-record{
    border-bottom-color:#334a64;
    background:#101d31;
    color:#eef5ff;
}
[data-theme=dark] .lsa-dep-records-office .lsa-dep-history-record:nth-child(even){background:#14243a}
[data-theme=dark] .lsa-dep-record-identity span{color:#b7c6d9}
[data-theme=dark] .lsa-dep-release-badge.is-held{background:#183c58;color:#b9e3ff}
[data-theme=dark] .lsa-dep-release-badge.is-partial{background:#4a3817;color:#ffe1a0}
[data-theme=dark] .lsa-dep-release-badge.is-released{background:#153a2d;color:#b5ebd0}
[data-theme=dark] .lsa-dep-record-actions button.is-secondary{
    border-color:#66809e;
    background:#16283f;
    color:#eef5ff;
}
[data-theme=dark] .lsa-dep-record-locked{color:#f0cf86}
[data-theme=dark] .lsa-dep-record-delete{border-top-color:#4b6079}
[data-theme=dark] .lsa-dep-record-delete summary{color:#ff9aaa}
[data-theme=dark] .lsa-dep-record-delete form{
    border-color:#7a4650;
    background:#351d24;
    color:#ffe7eb;
}
[data-theme=dark] .lsa-dep-record-delete p{color:#ffc6cf}
[data-theme=dark] .lsa-dep-records-office .lsa-dep-results-empty{
    border-color:#536b87;
    background:#14243a;
}
[data-theme=dark] .lsa-dep-records-office .lsa-dep-results-empty,
[data-theme=dark] .lsa-dep-records-office .lsa-dep-results-empty h3,
[data-theme=dark] .lsa-dep-records-office .lsa-dep-results-empty p{color:#eef5ff}
@keyframes lsa-dep-correction-flow{to{background-position:-180% 0}}
@media(max-width:980px){.lsa-dep-record-filters{grid-template-columns:repeat(2,minmax(150px,1fr))}.lsa-dep-records-office .lsa-dep-history-record{grid-template-columns:minmax(180px,1fr) auto auto}.lsa-dep-record-actions{grid-column:1/-1;justify-content:flex-start}.lsa-dep-record-locked{text-align:left}}
@media(max-width:680px){.lsa-dep-records-head{align-items:flex-start;flex-direction:column}.lsa-dep-record-filters{grid-template-columns:1fr}.lsa-dep-records-office .lsa-dep-history-record{grid-template-columns:1fr auto}.lsa-dep-record-score{grid-column:2;grid-row:1}.lsa-dep-release-badge{grid-column:1}.lsa-dep-record-actions{flex-wrap:wrap}.lsa-dep-record-actions>*{flex:1 1 150px}.lsa-dep-record-actions .lsa-dep-see-result,.lsa-dep-record-actions button{width:100%;justify-content:center}.lsa-dep-record-delete form{grid-template-columns:1fr}.lsa-dep-record-delete p{grid-column:1}.lsa-dep-record-delete button{width:100%}}
@media(prefers-reduced-motion:reduce){.lsa-dep-existing-request,.lsa-dep-correction-progress i{transition:none}.lsa-dep-existing-request.is-processing .lsa-dep-correction-progress i{animation:none}}

/* v0.14.0 human-review clock, safe teacher contact and link renewal */
.lsa-dep-human-review-state{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin-top:10px;padding:12px 13px;border:1px solid rgba(92,169,255,.45);border-radius:10px;background:rgba(44,116,194,.16);color:#eaf2ff}
.lsa-dep-human-review-state strong{font-size:13px}.lsa-dep-human-review-state span{margin-left:auto;color:#c8d6e6;font-size:12px}.lsa-dep-human-review-state.is-overdue{border-color:#e2ad52;background:rgba(210,145,36,.18);box-shadow:inset 4px 0 #e2ad52}.lsa-dep-human-review-state.is-overdue strong,.lsa-dep-human-review-state.is-overdue span{color:#ffe4ae}
.lsa-dep-teacher-contact{display:grid;gap:8px;margin-top:10px;padding:13px;border:1px solid rgba(130,157,190,.30);border-radius:10px;background:rgba(255,255,255,.055)}
.lsa-dep-teacher-contact>div{display:flex;flex-wrap:wrap;gap:8px}.lsa-dep-teacher-contact a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border:1px solid #6b8db5;border-radius:8px;background:#142b46;color:#fff!important;font-size:12px;font-weight:800;text-decoration:none}.lsa-dep-teacher-contact a:hover,.lsa-dep-teacher-contact a:focus{border-color:#9ac9ff;background:#244d78}.lsa-dep-teacher-contact a:focus-visible{outline:3px solid #85bfff;outline-offset:2px}.lsa-dep-teacher-contact small{color:#bdcad9;line-height:1.45}
.lsa-dep-review-reissue{display:grid;gap:9px;margin-top:10px;padding:12px;border:1px solid rgba(226,173,82,.45);border-radius:10px;background:rgba(210,145,36,.10)}.lsa-dep-review-reissue label{display:grid;gap:6px;color:#dce7f4;font-size:12px}.lsa-dep-review-reissue input{width:100%;min-height:42px;padding:9px 11px;border:1px solid #5e7898;border-radius:8px;background:#081526;color:#fff}.lsa-dep-review-reissue button{justify-self:start;min-height:40px;padding:9px 13px;border:0;border-radius:8px;background:#b5122b;color:#fff;font-weight:800;cursor:pointer}.lsa-dep-review-reissue button:hover,.lsa-dep-review-reissue button:focus{background:#d01b38}.lsa-dep-review-reissue button:focus-visible{outline:3px solid #ff9bad;outline-offset:2px}
@media(max-width:560px){.lsa-dep-human-review-state{align-items:flex-start;flex-direction:column}.lsa-dep-human-review-state span{margin-left:0}.lsa-dep-teacher-contact a,.lsa-dep-review-reissue button{width:100%}}

/* v0.14.1 always-open assessment status and candidate-safe teacher feedback */
.lsa-dep-record-badges{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:flex-end}
.lsa-dep-candidate-review-badge{display:inline-flex;align-items:center;min-height:27px;padding:5px 9px;border:1px solid transparent;border-radius:999px;font-size:10px;font-weight:850;line-height:1.2;white-space:nowrap}
.lsa-dep-candidate-review-badge.is-pending,.lsa-dep-candidate-review-badge.is-held{border-color:#93bce5;background:#e8f3ff;color:#174f86}
.lsa-dep-candidate-review-badge.is-held{max-width:100%;white-space:normal}
.lsa-dep-candidate-review-badge.is-complete{border-color:#8fc7aa;background:#e9f8f0;color:#17613f}
.lsa-dep-candidate-review-badge.is-attention{border-color:#dfb56d;background:#fff4dc;color:#76500d}
.lsa-dep-candidate-review-badge.is-not_assessed{border-color:#c7d2df;background:#eef2f6;color:#526173}
.lsa-dep-record-score{display:grid;gap:2px}.lsa-dep-record-score small{color:#637083;font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.lsa-dep-see-result{border:1px solid #152238;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease,transform .18s ease}
.lsa-dep-see-result:hover{border-color:#155eef;background:#155eef;box-shadow:0 8px 20px rgba(21,94,239,.18);transform:translateY(-1px)}
.lsa-dep-see-result:focus-visible{outline:3px solid rgba(21,94,239,.28);outline-offset:3px}
.lsa-dep-result-held-notice.is-complete{border-left-color:#2a9167;background:#edf8f2;color:#164f38}
.lsa-dep-result-held-notice.is-attention{border-left-color:#c48727;background:#fff6e5;color:#6e4a0b}
.lsa-dep-candidate-assessment{margin-top:15px;padding:14px;border:1px solid #c8d5e4;border-radius:12px;background:#fff;color:#152238}
.lsa-dep-candidate-assessment>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.lsa-dep-candidate-assessment>header>div{display:grid;gap:3px}.lsa-dep-candidate-assessment>header span{color:#637083;font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.lsa-dep-candidate-assessment>header strong{font-size:15px}.lsa-dep-candidate-assessment>header>b{display:inline-flex;align-items:baseline;gap:2px;padding:8px 10px;border-radius:9px;background:#152238;color:#fff;font-size:22px;line-height:1}.lsa-dep-candidate-assessment>header>b small{color:#d7e2ef;font-size:11px}
.lsa-dep-candidate-assessment>p{margin:12px 0 0;color:#526173;line-height:1.55}
.lsa-dep-candidate-assessment.is-pending,.lsa-dep-candidate-assessment.is-held{border-left:4px solid #2d7cc5;background:#f4f9ff}.lsa-dep-candidate-assessment.is-complete{border-left:4px solid #2a9167;background:#f6fbf8}.lsa-dep-candidate-assessment.is-attention{border-left:4px solid #c48727;background:#fffaf0}.lsa-dep-candidate-assessment.is-not_assessed{border-left:4px solid #7c8da1;background:#f7f9fc}
.lsa-dep-candidate-assessment-score{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;align-items:end;margin-top:14px;padding:13px;border:1px solid #d7e1eb;border-radius:10px;background:#fff}.lsa-dep-candidate-assessment-score span{grid-column:1/-1;color:#526173;font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.lsa-dep-candidate-assessment-score strong{font-size:28px;line-height:1}.lsa-dep-candidate-assessment-score small{font-size:13px;font-weight:800;text-align:right}
.lsa-dep-candidate-assessment-feedback{margin-top:12px;padding:13px;border-radius:10px;background:#fff}.lsa-dep-candidate-assessment-feedback>strong{font-size:12px}.lsa-dep-candidate-assessment-feedback p{margin:7px 0 0;line-height:1.6;white-space:pre-wrap}
.lsa-dep-candidate-assessment .lsa-dep-human-assessment,.lsa-dep-candidate-assessment-transcript{margin-top:12px;padding-top:11px;border-top:1px solid #dbe3ee}.lsa-dep-candidate-assessment-transcript>summary{cursor:pointer;font-weight:800}.lsa-dep-candidate-assessment-transcript p{white-space:pre-wrap}.lsa-dep-candidate-assessment-date{margin-top:12px!important;color:#637083!important}
[data-theme=dark] .lsa-dep-candidate-review-badge.is-pending,[data-theme=dark] .lsa-dep-candidate-review-badge.is-held{border-color:#447fb7;background:#153653;color:#c7e6ff}[data-theme=dark] .lsa-dep-candidate-review-badge.is-complete{border-color:#3e8d68;background:#163829;color:#b9efd3}[data-theme=dark] .lsa-dep-candidate-review-badge.is-attention{border-color:#98722e;background:#463719;color:#ffe0a1}[data-theme=dark] .lsa-dep-candidate-review-badge.is-not_assessed{border-color:#4a6079;background:#26384e;color:#d0dbe8}
[data-theme=dark] .lsa-dep-record-score small{color:#b7c6d9}[data-theme=dark] .lsa-dep-see-result{border-color:#6fa9ea;background:#2e69ad}[data-theme=dark] .lsa-dep-see-result:hover{border-color:#8bc1ff;background:#3b7fc9}
[data-theme=dark] .lsa-dep-result-held-notice.is-complete{border-left-color:#65c99a;background:#14382b;color:#c9f5df}[data-theme=dark] .lsa-dep-result-held-notice.is-attention{border-left-color:#e2ad52;background:#3c2d15;color:#ffe4ae}
[data-theme=dark] .lsa-dep-candidate-assessment{border-color:#435a74;background:#102039;color:#eef5ff}[data-theme=dark] .lsa-dep-candidate-assessment.is-pending,[data-theme=dark] .lsa-dep-candidate-assessment.is-held{border-left-color:#69aef0;background:#132a43}[data-theme=dark] .lsa-dep-candidate-assessment.is-complete{border-left-color:#65c99a;background:#143329}[data-theme=dark] .lsa-dep-candidate-assessment.is-attention{border-left-color:#e2ad52;background:#382b16}[data-theme=dark] .lsa-dep-candidate-assessment.is-not_assessed{border-left-color:#8095ad;background:#18283e}
[data-theme=dark] .lsa-dep-candidate-assessment>header span,[data-theme=dark] .lsa-dep-candidate-assessment>p,[data-theme=dark] .lsa-dep-candidate-assessment-date{color:#bdcadb!important}[data-theme=dark] .lsa-dep-candidate-assessment>header>b{background:#07182c}[data-theme=dark] .lsa-dep-candidate-assessment-score,[data-theme=dark] .lsa-dep-candidate-assessment-feedback{border-color:#435a74;background:#0e1c2f;color:#eef5ff}[data-theme=dark] .lsa-dep-candidate-assessment .lsa-dep-human-assessment,[data-theme=dark] .lsa-dep-candidate-assessment-transcript{border-top-color:#435a74}
@media(max-width:980px){.lsa-dep-record-badges{justify-content:flex-start}}
@media(max-width:680px){.lsa-dep-record-badges{grid-column:1/-1;grid-row:auto}.lsa-dep-record-score{grid-column:2;grid-row:1}.lsa-dep-candidate-assessment>header{flex-direction:column}.lsa-dep-candidate-assessment>header>b{align-self:flex-start}}
.lsa-dep-review-reissue button{border-color:#6fa9ea;background:#174f86}.lsa-dep-review-reissue button:hover,.lsa-dep-review-reissue button:focus{border-color:#9ac9ff;background:#246eaf}

/* Review availability and publication are neutral; only evaluated performance uses success green. */
.lsa-dep-candidate-review-badge.is-complete{border-color:#8cb4df;background:#e8f3ff;color:#174f86}
.lsa-dep-release-badge.is-released{background:#e8f3ff;color:#174f86}
.lsa-dep-result-held-notice.is-complete{border-left-color:#2d7cc5;background:#edf6ff;color:#174f86}
.lsa-dep-candidate-assessment.is-complete{border-left-color:#2d7cc5;background:#f4f9ff}
.lsa-dep-existing-request.is-complete{border-color:#74aae2;background:rgba(44,116,194,.16);box-shadow:inset 4px 0 #74aae2}
.lsa-dep-existing-request.is-complete .lsa-dep-correction-progress i{background:#74aae2}
.lsa-dep-performance-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:5px 9px;border:1px solid #afbdcf;border-radius:999px;background:#eff3f8;color:#30445d;font-size:11px;font-weight:800;line-height:1.3;white-space:normal}
.lsa-dep-performance-badge.is-low{border-color:#d7949b;background:#fff0f1;color:#912032}
.lsa-dep-performance-badge.is-developing{border-color:#d4ad69;background:#fff4dc;color:#755011}
.lsa-dep-performance-badge.is-met{border-color:#8bbda2;background:#e7f6ec;color:#125b36}
.lsa-dep-correction-history article>.lsa-dep-performance-badge{grid-column:1/-1}
.lsa-dep-candidate-assessment.is-complete.band-low{border-left-color:#b33b4b;background:#fff8f8}
.lsa-dep-candidate-assessment.is-complete.band-developing{border-left-color:#be852e;background:#fffcf5}
.lsa-dep-candidate-assessment.is-complete.band-met{border-left-color:#298758;background:#f3fcf6}
.lsa-dep-candidate-assessment-score>.lsa-dep-performance-badge{grid-column:1/-1;margin-top:5px}
.lsa-dep-selected-result .lsa-dep-result-module>.lsa-dep-performance-badge{margin-bottom:9px}
[data-theme=dark] .lsa-dep-candidate-review-badge.is-complete,[data-theme=dark] .lsa-dep-release-badge.is-released{border-color:#538bc0;background:#153653;color:#d1e9ff}
[data-theme=dark] .lsa-dep-result-held-notice.is-complete{border-left-color:#69aef0;background:#163650;color:#d1e9ff}
[data-theme=dark] .lsa-dep-candidate-assessment.is-complete{border-left-color:#69aef0;background:#132a43}
[data-theme=dark] .lsa-dep-candidate-assessment.is-complete.band-low{border-left-color:#f18e9a;background:#3c1e2c}
[data-theme=dark] .lsa-dep-candidate-assessment.is-complete.band-developing{border-left-color:#e6b95c;background:#392d1b}
[data-theme=dark] .lsa-dep-candidate-assessment.is-complete.band-met{border-left-color:#71cfa0;background:#183529}
[data-theme=dark] .lsa-dep-performance-badge{border-color:#647f9e;background:#26384e;color:#e2ebf6}
[data-theme=dark] .lsa-dep-performance-badge.is-low{border-color:#af6471;background:#4a2330;color:#ffe0e4}
[data-theme=dark] .lsa-dep-performance-badge.is-developing{border-color:#ae8748;background:#47371d;color:#ffe7b4}
[data-theme=dark] .lsa-dep-performance-badge.is-met{border-color:#559873;background:#193e2d;color:#d1f6de}
.lsa-dep-practice-benchmark-note{margin:10px 0;padding:9px 12px;border-left:3px solid #5290c8;border-radius:4px;background:#ebf4ff;color:#17446e;font-size:12px;line-height:1.5}
.lsa-dep-correction-centre .lsa-dep-practice-benchmark-note{border-left-color:#7ebaff;background:rgba(92,169,255,.14);color:#dceaff}
.lsa-dep-correction-mark{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:8px 0 2px;color:#f6f9fe;font-size:14px}
[data-theme=dark] .lsa-dep-practice-benchmark-note{border-left-color:#74aae2;background:#163653;color:#dceaff}

/* Performance and correction panels follow light/dark mode, including nested cards. */
.lsa-dep-application-page{--lsa-result-surface:#fff;--lsa-result-soft:#edf3f9;--lsa-result-ink:#17283e;--lsa-result-muted:#455c75;--lsa-result-line:#9aacc0;--lsa-result-track:#d2dfed}
[data-theme=dark] .lsa-dep-application-page{--lsa-result-surface:#14253a;--lsa-result-soft:#1b324c;--lsa-result-ink:#edf5ff;--lsa-result-muted:#c0d0e2;--lsa-result-line:#68839f;--lsa-result-track:#365775}
.lsa-dep-application-page .lsa-dep-performance-command,.lsa-dep-application-page .lsa-dep-performance-command .lsa-dep-analytics-card,.lsa-dep-application-page .lsa-dep-correction-centre{background:var(--lsa-result-surface);color:var(--lsa-result-ink);border-color:var(--lsa-result-line)}
.lsa-dep-application-page .lsa-dep-performance-command :is(.lsa-dep-stat-grid,.lsa-dep-stat-grid>div,.lsa-dep-stat-grid>article,.lsa-dep-insights>div),.lsa-dep-application-page .lsa-dep-correction-attempt,.lsa-dep-application-page .lsa-dep-suggested-response>div{background:var(--lsa-result-soft);color:var(--lsa-result-ink);border-color:var(--lsa-result-line)}
.lsa-dep-application-page .lsa-dep-performance-command :is(h2,h3,strong,dd),.lsa-dep-application-page .lsa-dep-correction-centre :is(h2,h3,strong,summary){color:var(--lsa-result-ink)}
.lsa-dep-application-page .lsa-dep-performance-command :is(p,span,small,dt),.lsa-dep-application-page .lsa-dep-correction-centre :is(p,small,em),.lsa-dep-application-page .lsa-dep-existing-request :is(span,small){color:var(--lsa-result-muted)}
.lsa-dep-application-page .lsa-dep-performance-command .lsa-dep-score-track{background:var(--lsa-result-track)}
.lsa-dep-application-page .lsa-dep-correction-centre .lsa-dep-chip{background:var(--lsa-result-soft);border-color:var(--lsa-result-line);color:var(--lsa-result-ink)}
@media(prefers-color-scheme:dark){html:not([data-theme=light]) .lsa-dep-application-page{--lsa-result-surface:#14253a;--lsa-result-soft:#1b324c;--lsa-result-ink:#edf5ff;--lsa-result-muted:#c0d0e2;--lsa-result-line:#68839f;--lsa-result-track:#365775}}

.lsa-dep-application-page .lsa-dep-correction-centre :is(.lsa-dep-correction-mark,.lsa-dep-human-review-state,.lsa-dep-human-review-state span,.lsa-dep-review-reissue label,.lsa-dep-correction-attempt>summary>b){color:var(--lsa-result-ink)}
.lsa-dep-application-page .lsa-dep-correction-centre .lsa-dep-practice-benchmark-note{background:var(--lsa-result-soft);color:var(--lsa-result-ink)}
.lsa-dep-application-page .lsa-dep-correction-centre .lsa-dep-review-reissue input{background:var(--lsa-result-surface);color:var(--lsa-result-ink);border-color:var(--lsa-result-line)}
.lsa-dep-application-page .lsa-dep-correction-centre .lsa-dep-correction-progress{background:var(--lsa-result-track)}
.lsa-dep-application-page .lsa-dep-correction-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
.lsa-dep-application-page .lsa-dep-correction-grid>*{min-width:0;overflow-wrap:anywhere}
.lsa-dep-application-page :is(.lsa-dep-correction-card,.lsa-dep-correction-history article,.lsa-dep-correction-choice input){background:var(--lsa-result-soft);color:var(--lsa-result-ink);border-color:var(--lsa-result-line)}
.lsa-dep-application-page .lsa-dep-correction-centre :is(input,textarea,select){max-width:100%;min-width:0}
