:root{--navy:#172f4f;--orange:#fa9523;--paper:#f6f5f1;--ink:#4b535c;--green:#1e7a46;--red:#b42318;--line:#e3e0d8}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--navy);font:16px/1.6 Inter,system-ui,sans-serif}h1,h2,h3{font-family:'Space Grotesk',sans-serif;line-height:1.2}h1{font-size:clamp(28px,5vw,40px);margin:0 0 24px}h2{font-size:23px}a{color:var(--navy);text-underline-offset:4px}button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 20px;border:0;border-radius:10px;background:var(--orange);color:var(--navy);font:700 15px/1.4 Inter,system-ui,sans-serif;cursor:pointer;text-decoration:none;text-align:center}button:hover,.button:hover{filter:brightness(.96)}button:disabled{opacity:.5;cursor:not-allowed}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--navy);outline-offset:3px}.test-banner{background:#fff1e2;color:#703900;padding:8px 16px;text-align:center;font-size:13px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px max(20px,calc((100vw - 1120px)/2));background:white;border-bottom:1px solid var(--line)}.topbar img{display:block;width:180px;height:auto}.topbar nav{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.topbar form{margin:0}.text-button{background:transparent;padding:5px;color:var(--navy);font-weight:500}.page{max-width:1120px;margin:0 auto;padding:36px 24px 56px;min-height:55vh}.page.narrow{max-width:620px}.panel{background:white;border-radius:12px;padding:24px;margin:0 0 20px}.stack{display:flex;flex-direction:column;gap:18px}.stack p,.stack h2{margin:0}label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px}input,select,textarea{width:100%;min-height:46px;border:1px solid #9da3aa;border-radius:8px;padding:10px 12px;font:inherit;background:white;color:var(--navy)}input[type=checkbox]{width:20px;min-height:20px}.notice{padding:14px;border-radius:8px;background:#fff1e2}.notice.error{background:#fef3f2;color:var(--red)}.notice.success{background:#eaf5ee;color:var(--green)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat{font:700 32px 'Space Grotesk',sans-serif}.stats p{margin:0 0 8px;color:var(--ink)}footer{border-top:1px solid var(--line);padding:30px 24px;max-width:1120px;margin:auto;color:var(--ink);font-size:13px}footer p{max-width:80ch}dl{display:grid;grid-template-columns:1fr 1fr}dd{text-align:right;margin:0;font-weight:700}dt,dd{padding:8px 0;border-bottom:1px solid var(--line)}@media(max-width:600px){.topbar{padding:14px 18px;flex-wrap:wrap}.topbar nav{font-size:14px}.page{padding:28px 18px}.panel{padding:20px}.stats{grid-template-columns:repeat(2,1fr);gap:10px}.stats .panel{padding:16px}h1{font-size:30px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.choice{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:54px;padding:14px;background:white;border:1px solid var(--line);border-radius:10px;font-weight:500;margin-bottom:10px}.choice:has(input:checked){border:2px solid var(--navy);padding:13px}.choice input{width:20px;min-height:20px;flex-shrink:0;accent-color:var(--navy)}fieldset{border:0;padding:0;margin:0;min-width:0}legend{padding:0;width:100%}legend h1{font-size:25px;margin-top:24px}.eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:700;color:#9a4f00}.muted{color:var(--ink);font-size:14px}progress{width:100%;height:10px;border:0;border-radius:8px;overflow:hidden;background:var(--line);accent-color:var(--orange)}progress::-webkit-progress-bar{background:var(--line)}progress::-webkit-progress-value{background:var(--orange)}.lesson-list{list-style:none;padding:0;margin:0}.lesson-list li{padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.lesson-list li:last-child{border-bottom:0}.badge{font-size:12px;font-weight:600;color:var(--green)}.lesson-list .badge{display:block}.video-placeholder{aspect-ratio:16/9;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--navy);color:white;border-radius:12px;margin:24px 0}.play-symbol{font-size:36px;color:var(--orange)}.video-placeholder p{margin:0}.question-image{display:block;max-width:100%;max-height:420px;object-fit:contain;margin:0 auto 24px}.score{font:700 64px 'Space Grotesk',sans-serif;margin:20px 0}.protected{-webkit-user-select:none;user-select:none}

[hidden]{display:none!important}.compact-footer{display:flex;justify-content:space-between;gap:20px;padding:20px 5%;font-size:13px}.theory-notice{background:#fff3db;border-left:4px solid #FA9523}.theory-notice p{margin-bottom:0}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:28px 0}.stat-grid>div{padding:22px 12px;border:1px solid #dddcd7;border-radius:12px;text-align:center}.stat-grid strong{display:block;font:700 32px 'Space Grotesk',sans-serif}.stat-grid span{font-size:14px}.trailer-card{display:flex;min-height:240px;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#172F4F;color:#fff;border-radius:16px;text-decoration:none;margin:24px 0}.lesson-list li.lesson-locked{color:#85878b;background:#f1f1ef}.lesson-state{flex-shrink:0;width:24px;color:#50687d}.choice{font-size:16px;min-height:48px}.success{background:#edf8f0;border-color:#277b45;color:#164b2a}.error{background:#fff0ef;border-color:#b83c36;color:#792a26}.player{position:relative;background:#13263d;border-radius:12px;overflow:hidden}.player video{display:block;width:100%;height:auto;max-height:75vh;object-fit:contain}.watermark{position:absolute;top:8%;left:4%;pointer-events:none;color:white;background:#172f4f99;font-size:12px;padding:5px 8px;max-width:88%;overflow-wrap:anywhere}.watermark.corner-1{top:8%;left:auto;right:4%}.watermark.corner-2{top:auto;bottom:20%;left:4%}.watermark.corner-3{top:auto;bottom:20%;left:auto;right:4%}.checkpoint-overlay{position:absolute;inset:0;background:#f6f5fffa;overflow:auto;padding:20px}.checkpoint-overlay h2{font-size:20px}.player:has(.checkpoint-overlay:not([hidden])){min-height:390px}.player [data-player-error]{position:absolute;bottom:30%;margin:15px}@media(max-width:500px){.stat-grid strong{font-size:26px}.compact-footer{flex-wrap:wrap}.checkpoint-overlay{padding:12px}.player:has(.checkpoint-overlay:not([hidden])){min-height:470px}}

@media(max-width:650px){.topbar{flex-wrap:wrap}.topbar nav{gap:12px}}

.holder-photo{display:block;width:150px;height:188px;object-fit:cover;border-radius:4px}

/* Keep wide organisation reports scrollable inside the mobile page. */
.table-scroll{max-width:100%;overflow-x:auto;margin:20px 0}.table-scroll table{width:100%;border-collapse:collapse}.table-scroll th,.table-scroll td{text-align:left;padding:10px;vertical-align:top}.table-scroll th{white-space:nowrap}.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-grid strong{overflow-wrap:anywhere}

/* Keep mobile navigation clear of the screen edge and display safe areas. */
@media(max-width:650px){.topbar{padding-inline-end:max(30px,env(safe-area-inset-right));padding-inline-start:max(18px,env(safe-area-inset-left))}.topbar nav{min-width:0;max-width:100%}.topbar nav>a[href="/login"]{white-space:nowrap}}

/* Keep every moving watermark position above the native caption band. */
.watermark{top:1%;font-size:10px;padding:2px 4px;max-width:46%}.watermark.corner-1{top:1%}.watermark.corner-2{top:2%;bottom:auto;left:4%}.watermark.corner-3{top:2%;bottom:auto;left:auto;right:4%}

.inspection-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.inspection-pair figure{margin:0;min-width:0}.inspection-media{display:block;width:100%;height:auto;object-fit:contain}.inspection-pair figcaption{font-weight:700;margin-bottom:.4rem}#inspection-practice button{white-space:normal} @media(max-width:600px){.inspection-pair{grid-template-columns:1fr}}

.skip-link{position:fixed;top:-10rem;left:1rem;z-index:10000;background:#172f4f;color:#fff;padding:1rem}.skip-link:focus{top:1rem}
