/* Shared PC lesson explorer. Native lessons, inspector and progress use one shell. */
.desktop-route-ui{display:none}
@media(min-width:900px){
 body.desktop-route-active{display:block!important;height:auto!important;min-height:100dvh;overflow:visible!important;background:var(--ecg-ui-bg,#0c121c)!important;color:var(--ecg-ui-text,#e6edf7)}
 body.desktop-route-active .learning-page{display:block!important;width:100%!important;max-width:none!important;min-height:calc(100dvh - 80px)!important;height:auto!important;margin:0!important;padding:26px 36px 48px!important;box-sizing:border-box;overflow:visible!important}
 body.desktop-route-active #academy-map{position:relative!important;inset:auto!important;width:100%!important;max-width:1180px!important;height:auto!important;min-height:0!important;margin:0 auto!important;padding:0!important;overflow:visible!important;background:none!important;border:0!important;box-shadow:none!important}
 body.desktop-route-active #academy-map .view-unit{position:relative!important;inset:auto!important;display:flex!important;flex-direction:column;min-height:0!important;height:auto!important;width:100%!important;max-width:none!important;background:none!important;overflow:visible!important;transform:none!important;padding:0!important}
 body.desktop-route-active::before,body.desktop-route-active::after,body.desktop-route-active #academy-map::before,body.desktop-route-active #academy-map::after,body.desktop-route-active .view-unit::before,body.desktop-route-active .view-unit::after{display:none!important}
 body.desktop-route-active :is(.view-breadcrumb,.viewer-empty,.skill-tree-guide,.tree-explorer-tools,.cabin-locate-next,.cabin-unit-progress,.cabin-unit-success,.cabin-review-menu,.cabin-save-warning,.lesson-map-relief){display:none!important}
 body.desktop-route-active .view-back{position:static!important;inset:auto!important;align-self:flex-start;order:0;min-height:40px;padding:9px 14px!important;border:1px solid rgb(var(--ecg-ui-silver-rgb,203 213 226) / 0.282)!important;border-top-color:rgb(var(--ecg-ui-silver-rgb,203 213 226) / 0.349)!important;border-bottom:3px solid #070e18!important;border-radius:10px!important;background:var(--ecg-ui-action-bg,linear-gradient(135deg,#2c384a,#192634))!important;box-shadow:inset 0 1px #eef4ff13,0 2px #050b13!important;color:var(--ecg-ui-silver,#cbd5e2)!important;font:600 13px/1.4 'Segoe UI',sans-serif!important;cursor:pointer}
 body.desktop-route-active .unit-heading{position:static!important;inset:auto!important;order:1;width:100%!important;max-width:none!important;margin:18px 0 25px!important;padding:0!important;transform:none!important;text-align:center;background:none!important}
 body.desktop-route-active .unit-heading h2{font:650 25px/1.35 'Segoe UI',sans-serif!important;color:var(--ecg-ui-text,#e6edf7)!important;margin:6px 0 0!important;text-shadow:none!important;letter-spacing:-.02em}
 body.desktop-route-active .unit-heading small{font:650 11px/1.4 'Segoe UI',sans-serif!important;color:var(--ecg-ui-silver,#cbd5e2)!important;letter-spacing:.1em}
 body.desktop-route-active .desktop-route-ui{display:block;order:2;font-family:'Segoe UI',sans-serif;min-width:0;overflow-anchor:none}
 body.desktop-route-active #academy-map .desktop-route-hidden{display:none!important}
 body.desktop-route-active #academy-map .view-unit>.mission-map:empty{display:none!important}
 .desktop-route-intro{border:1px solid rgb(var(--ecg-ui-silver-rgb,203 213 226) / 0.302);border-top-color:rgb(var(--ecg-ui-silver-rgb,203 213 226) / 0.439);border-bottom:3px solid #07101b;border-radius:14px;background:linear-gradient(135deg,#25384a,#172837);box-shadow:inset 0 1px #eff9ff13,0 3px #050b13,0 10px 24px #0002;overflow:hidden}
 body.desktop-route-active .desktop-route-intro-trigger{display:flex;align-items:center;gap:16px;width:100%;min-height:91px;padding:18px 21px;border:0;border-radius:12px;background:transparent;color:var(--ecg-ui-text,#e6edf7);box-shadow:none;text-align:left;cursor:pointer;transition:background .25s ease}
 .desktop-route-intro-icon{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;font-size:25px;color:#c4eaf0;border:1px solid #86bec364;border-top-color:#b8e6ea8c;border-bottom:3px solid #0d2630;border-radius:12px;background:linear-gradient(135deg,#345366,#203748);box-shadow:inset 0 1px #f1ffff14,0 2px #09111b}
 .desktop-route-intro-copy{display:block;flex:1;min-width:0}.desktop-route-eyebrow{display:block;color:#a9ccd7;font:650 10px/1.4 'Segoe UI',sans-serif;letter-spacing:.11em}.desktop-route-intro-copy>strong{display:block;margin-top:5px;color:var(--ecg-ui-text,#e6edf7);font:650 17px/1.4 'Segoe UI',sans-serif}.desktop-route-intro-status{font:600 12px/1.4 'Segoe UI',sans-serif;color:var(--ecg-ui-muted,#adbacd)}.desktop-route-intro-trigger.is-completed .desktop-route-intro-status{color:var(--ecg-ui-success,#8bdbb1)}
 .desktop-route-chevron{display:block;color:var(--ecg-ui-silver,#cbd5e2);font-size:23px;line-height:1;transition:transform .7s cubic-bezier(.4,0,.2,1)}[aria-expanded=true]>.desktop-route-chevron{transform:rotate(180deg)}
 .desktop-route-intro-body,.desktop-route-region{overflow:hidden;overflow-anchor:none;box-sizing:border-box}
 .desktop-route-heading{display:flex;align-items:baseline;justify-content:space-between;gap:22px;margin:30px 1px 17px}.desktop-route-heading h2{font:650 20px/1.35 'Segoe UI',sans-serif;color:var(--ecg-ui-text,#e6edf7);margin:0;letter-spacing:-.015em}.desktop-route-heading p{font:14px/1.55 'Segoe UI',sans-serif;color:var(--ecg-ui-muted,#adbacd);max-width:51ch;margin:0;text-align:right}
 .desktop-route-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;scroll-margin-top:100px}
 body.desktop-route-active .desktop-route-chip{position:relative;display:grid;grid-template-rows:30px auto 1fr auto;justify-items:center;gap:9px;min-height:190px;padding:19px 20px 21px;width:100%;box-sizing:border-box;border:1px solid rgb(var(--ecg-ui-silver-rgb,203 213 226) / 0.302);border-top-color:rgb(var(--ecg-ui-silver-rgb,203 213 226) / 0.388);border-bottom:4px solid #080d17;border-radius:15px;background:var(--ecg-ui-action-bg,linear-gradient(135deg,#2c384a,#192634));box-shadow:inset 0 1px #edf4ff13,0 3px #050a12,0 8px 19px #0003;color:var(--ecg-ui-text,#e6edf7);cursor:pointer;text-align:center;transition:transform .3s ease,border-color .35s ease,filter .35s ease,background .35s ease}
 .desktop-route-chip-mark{display:grid;place-items:center;width:34px;height:30px;border:1px solid rgb(var(--ecg-ui-silver-rgb,203 213 226) / 0.325);border-radius:8px;color:var(--ecg-ui-silver,#cbd5e2);background:#0d152744;box-shadow:inset 0 2px 5px #0005;font:650 11px/1.3 'Segoe UI',sans-serif}
 .desktop-route-chip>strong{display:block;color:var(--ecg-ui-text,#e6edf7);font:650 17px/1.4 'Segoe UI',sans-serif;text-wrap:balance}.desktop-route-description{color:var(--ecg-ui-muted,#adbacd);font:14px/1.5 'Segoe UI',sans-serif;max-width:30ch;text-wrap:pretty}.desktop-route-action{margin-top:4px;color:var(--ecg-ui-accent,#55b8ef);font:600 12px/1.4 'Segoe UI',sans-serif}.desktop-route-chip>.desktop-route-chevron{position:absolute;top:18px;right:19px;font-size:19px}
 body.desktop-route-active .desktop-route-chip.is-open{background:var(--ecg-ui-selected-surface);color:var(--ecg-ui-selected-text);border-color:var(--ecg-ui-selected-border);border-bottom-color:var(--ecg-ui-selected-base);box-shadow:inset 0 1px #e1e7ee20,inset 0 -3px var(--ecg-ui-selected-border),0 3px #050a12}.desktop-route-chip.is-open .desktop-route-action{color:var(--ecg-ui-selected-detail)}.desktop-route-chip.is-open .desktop-route-chip-mark{color:var(--ecg-ui-accent-soft,#9cd5f5);border-color:rgb(var(--ecg-ui-blue-rgb,85 184 239) / 0.533);background:var(--ecg-ui-selected-bg,#192e43)}
 body.desktop-route-active .desktop-route-chip:hover{transform:translateY(-3px);filter:brightness(1.12);border-color:rgb(var(--ecg-ui-blue-rgb,85 184 239) / 0.580)}body.desktop-route-active .desktop-route-chip:active{transform:translateY(1px)}body.desktop-route-active .desktop-route-intro-trigger:hover{background:#a0d9e20a}
 body.desktop-route-active :is(.desktop-route-chip,.desktop-route-intro-trigger,.view-back):focus-visible{outline:2px solid var(--ecg-ui-focus,#55b8ef)!important;outline-offset:4px}
 .desktop-route-empty{margin:27px 0 0;text-align:center;font:14px/1.5 'Segoe UI',sans-serif;color:var(--ecg-ui-muted,#adbacd)}.desktop-route-region{margin-top:20px;width:100%;min-width:0}
 .desktop-route-region-content{padding:22px;box-sizing:border-box;border:1px solid #8195b042;border-top-color:#060d18;border-radius:15px;background:linear-gradient(140deg,#0c1726,#101c2b);box-shadow:inset 0 4px 10px #0006,0 1px #d0e0f316;min-width:0}
 .desktop-route-region-heading{display:flex;align-items:baseline;justify-content:space-between;gap:22px;margin:0 0 19px}.desktop-route-region-heading h3{font:650 18px/1.35 'Segoe UI',sans-serif;color:var(--ecg-ui-text,#e6edf7);margin:0}.desktop-route-region-heading p{font:13px/1.5 'Segoe UI',sans-serif;color:var(--ecg-ui-muted,#adbacd);margin:0;max-width:48ch;text-align:right}.desktop-route-map-slot{min-width:0}
 html body.desktop-route-active #academy-map .desktop-route-map-slot>.mission-map{position:relative!important;inset:auto!important;width:100%!important;height:400px!important;overflow:hidden!important;border:0!important;border-radius:12px!important;background:none!important}
 html body.desktop-route-active #academy-map .desktop-route-region .sector-viewport{position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:400px!important;min-height:0!important;max-height:none!important;box-sizing:border-box!important;overflow:auto!important;background:#091321!important;border:1px solid #7990ae40!important;border-radius:12px!important;z-index:0!important;scrollbar-width:thin;scrollbar-color:var(--ecg-ui-line,#8292a6) #101b2a;box-shadow:inset 0 3px 9px #0007!important;transform:none!important;padding:0!important;margin:0!important}
 html body.desktop-route-active #academy-map .desktop-route-region .sector-study-dock{position:relative!important;inset:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:14px;width:100%!important;min-height:0!important;height:auto!important;margin:20px 0 0!important;padding:17px!important;border:1px solid #8197b339!important;border-top-color:#060d18!important;border-radius:12px;background:#0c1624!important;box-shadow:inset 0 3px 8px #0005;z-index:1!important;box-sizing:border-box!important}
 body.desktop-route-active .desktop-route-region :is(.tree-objectives,.sector-syllabus){grid-column:1/-1}
 html body.desktop-route-active #academy-map .desktop-route-region :is(.sector-syllabus,.sector-study-current,.sector-study-continue,.tree-mission,.tree-preview-rail){position:relative!important;inset:auto!important;width:auto!important;max-width:none!important;height:auto!important;max-height:none!important;transform:none!important;margin:0!important;z-index:auto!important;box-sizing:border-box!important}
 body.desktop-route-active .desktop-route-region .sector-study-current{display:none!important}.desktop-route-region .sector-study-continue{grid-column:2;min-height:42px;border:1px solid var(--ecg-ui-accent,#55b8ef);border-top-color:var(--ecg-ui-accent-soft,#9cd5f5);border-bottom:3px solid #081725;border-radius:9px;background:var(--ecg-ui-primary-bg,linear-gradient(135deg,#17649a,#104d76));box-shadow:inset 0 1px #e1e7ee20,0 2px #030b14;color:var(--ecg-ui-text,#e6edf7);font:650 13px/1.4 'Segoe UI',sans-serif;padding:10px 18px;cursor:pointer}
 body.desktop-route-active .desktop-route-region .sector-study-status{display:none!important}.desktop-route-region .sector-syllabus{color:var(--ecg-ui-muted,#adbacd);font:13px/1.5 'Segoe UI',sans-serif}.desktop-route-region .sector-syllabus summary{cursor:pointer}.desktop-route-region .sector-syllabus>ol{max-height:260px;overflow:auto}.desktop-route-region .tree-objectives-row{display:flex;gap:6px;overflow:auto}.desktop-route-region .tree-objectives-row button{white-space:nowrap;min-height:34px}
 body.desktop-route-active .desktop-route-region .tree-preview-rail{background:none!important;border:0!important;padding:0!important;display:none}.desktop-route-region .tree-preview-rail:has(.tree-next-choices,.tree-resume:not([hidden]),.tree-completion-receipt,.tree-course-complete){display:block!important;padding-top:18px!important}
 body.desktop-route-active .desktop-route-region .tree-mission{padding:15px 2px 0!important;border:0!important;background:none!important}.desktop-route-region .tree-mission small{font:650 10px/1.4 'Segoe UI',sans-serif;color:var(--ecg-ui-silver,#cbd5e2)}.desktop-route-region .tree-mission strong{font:600 14px/1.5 'Segoe UI',sans-serif}.desktop-route-region .tree-mission p{font:13px/1.6 'Segoe UI',sans-serif;color:var(--ecg-ui-muted,#adbacd)}
 html body.desktop-route-active #academy-map .desktop-route-preview-host>.map-popover.desktop-inline-lesson{position:relative!important;display:block!important;inset:auto!important;transform:none!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 18px 18px!important;padding:21px!important;overflow:visible!important;border:1px solid rgb(var(--ecg-ui-silver-rgb,203 213 226) / 0.251)!important;border-top-color:#050d17!important;border-radius:12px!important;background:#0b1523!important;box-shadow:inset 0 3px 9px #0006,0 1px #d2e1fa0e!important;z-index:1!important;box-sizing:border-box!important}
 html body.desktop-route-active #academy-map .desktop-route-lesson-host>.map-popover.desktop-inline-lesson{margin:20px 0 0!important}
 html body.desktop-route-active #academy-map .desktop-inline-lesson .map-preview-content{display:block!important;visibility:visible!important;max-height:none!important;min-height:0!important;overflow:visible!important;padding:0!important}
 body.desktop-route-active .desktop-inline-lesson header{padding:0 36px 12px 0!important;min-height:0!important}.desktop-inline-lesson header::before{display:none!important}body.desktop-route-active .desktop-inline-lesson header strong{display:block;font:650 18px/1.4 'Segoe UI',sans-serif!important}.desktop-inline-lesson header small{font:11px/1.5 'Segoe UI',sans-serif!important;color:var(--ecg-ui-silver,#cbd5e2)}
 body.desktop-route-active .desktop-inline-lesson .map-popover-close{position:absolute!important;top:13px!important;right:13px!important;width:34px!important;height:34px!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;font-size:14px!important;border-radius:8px!important}
 body.desktop-route-active .desktop-inline-lesson .lesson-popover-meta{display:flex;gap:12px;flex-wrap:wrap;margin:3px 0 12px!important;font-size:12px!important}.desktop-inline-lesson p,.desktop-inline-lesson li{font:14px/1.6 'Segoe UI',sans-serif!important;color:var(--ecg-ui-muted,#adbacd)}
 body.desktop-route-active .desktop-inline-lesson .lesson-preview-action,body.desktop-route-active .desktop-inline-lesson .sector-study-actions button{position:static!important;display:block;min-width:170px!important;width:auto!important;min-height:42px!important;box-sizing:border-box!important;margin:0!important;padding:10px 16px!important;font:600 13px/1.4 'Segoe UI',sans-serif!important;border-radius:9px!important;background:var(--ecg-ui-action-bg)!important;color:var(--ecg-ui-silver-bright)!important;border:1px solid var(--ecg-ui-border)!important;border-top-color:var(--ecg-ui-line-strong)!important;border-bottom:3px solid var(--ecg-ui-shadow)!important;box-shadow:inset 0 1px #fff2,0 2px #040b14!important}
 body.desktop-route-active .desktop-inline-lesson .sector-study-actions{display:flex!important;flex-wrap:wrap;align-items:center;position:static!important;gap:10px!important;padding:16px 0 0!important;margin-top:16px!important;border-top:1px solid rgb(var(--ecg-ui-silver-rgb,203 213 226) / 0.161)}.desktop-inline-lesson .sector-study-actions small{font:11px/1.5 'Segoe UI',sans-serif!important}.desktop-inline-lesson .sector-study-actions>small:first-child{flex:1}
 html body.desktop-route-active #academy-map .desktop-inline-lesson .lesson-preview-action{background:var(--ecg-ui-primary-bg,linear-gradient(135deg,#17649a,#104d76))!important;border:1px solid rgb(var(--ecg-ui-blue-rgb,85 184 239) / 0.600)!important;border-top-color:rgb(var(--ecg-ui-blue-rgb,85 184 239) / 0.729)!important;border-bottom:3px solid #081725!important;color:var(--ecg-ui-text,#e6edf7)!important;box-shadow:inset 0 1px #fff2,0 2px #040b14!important;text-decoration:none!important;text-align:center}
 html body.desktop-route-active #academy-map .desktop-inline-lesson [data-study-action=seen]{background:var(--ecg-ui-success-action-bg,linear-gradient(135deg,#286348,#1e4d39))!important;border:1px solid #91d1b08c!important;border-top-color:#bce6cbac!important;border-bottom:3px solid #0b2017!important;color:#dbf9e9!important;box-shadow:inset 0 1px #fff1,0 2px #040b14!important;cursor:pointer}
 html body.desktop-route-active #academy-map .desktop-inline-lesson :is(.lesson-preview-action,[data-study-action=seen]):hover:not(:disabled){filter:brightness(1.14)}html body.desktop-route-active #academy-map .desktop-inline-lesson :is(.lesson-preview-action,[data-study-action=seen]):disabled{background:#162231!important;border-color:#6a7d9640!important;color:var(--ecg-ui-muted,#adbacd)!important;box-shadow:inset 0 2px 4px #0005!important}
 body.desktop-route-active .desktop-inline-lesson :is(.tree-preview-guide,.tree-preview-coverage){display:none!important}body.desktop-route-active [hidden]{display:none!important}.desktop-route-region .activity-tile[aria-disabled=true] .text-node-title{color:var(--ecg-ui-muted,#adbacd)!important}.desktop-route-region .text-node-state{font:600 11px/1.35 'Segoe UI',sans-serif!important}
 body.desktop-route-active #academy-map .tree-objectives-row{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;overflow:auto!important;padding:7px 0!important}.desktop-route-region .tree-objectives-heading{font:600 12px/1.4 'Segoe UI',sans-serif}.desktop-route-region .tree-objectives-feedback,.desktop-route-region .tree-objective-info{margin:8px 0!important;font:12px/1.5 'Segoe UI',sans-serif!important}
 body.desktop-route-active #academy-map .tree-objectives-row button{padding:7px 10px;border:1px solid rgb(var(--ecg-ui-silver-rgb,203 213 226) / 0.286);border-top-color:rgb(var(--ecg-ui-silver-rgb,203 213 226) / 0.376);border-bottom:2px solid #07101b;border-radius:8px;background:linear-gradient(135deg,#253448,#162335);color:var(--ecg-ui-silver,#cbd5e2);font:600 11px/1.4 'Segoe UI',sans-serif;cursor:pointer;box-shadow:inset 0 1px #fff1,0 2px #050b13}
 .desktop-route-progress{display:grid;grid-template-columns:1fr 1fr;gap:9px 24px;margin-top:20px;padding:18px;border:1px solid rgb(var(--ecg-ui-silver-rgb,203 213 226) / 0.204);border-top-color:#060e18;border-radius:12px;background:#0b1523;box-shadow:inset 0 2px 7px #0005;color:var(--ecg-ui-muted,#adbacd);font:11px/1.5 'Segoe UI',sans-serif}.desktop-route-progress>span,.desktop-route-progress .cabin-xp-label{display:flex;align-items:center;justify-content:space-between}.desktop-route-progress>span{grid-column:1;grid-row:1}.desktop-route-progress>progress:not(.cabin-xp-track){grid-column:1;grid-row:2}.desktop-route-progress .cabin-xp-label{grid-column:2;grid-row:1}.desktop-route-progress .cabin-xp-track{grid-column:2;grid-row:2}.desktop-route-progress>small{grid-column:1/-1;color:var(--ecg-ui-muted,#adbacd)}.desktop-route-progress progress{width:100%;height:7px;appearance:none;border:0;border-radius:7px;background:#26344a;overflow:hidden;accent-color:var(--ecg-ui-accent,#55b8ef)}.desktop-route-progress progress::-webkit-progress-bar{background:#26344a}.desktop-route-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#267eb2,var(--ecg-ui-accent,#55b8ef));border-radius:7px}.desktop-route-progress .cabin-xp-track::-webkit-progress-value{background:linear-gradient(90deg,#7b8da3,var(--ecg-ui-silver,#cbd5e2))}
}
@media(min-width:900px) and (max-width:1099px){body.desktop-route-active .learning-page{padding:22px 26px 40px!important}.desktop-route-heading,.desktop-route-region-heading{align-items:flex-start;flex-direction:column;gap:6px}.desktop-route-heading p,.desktop-route-region-heading p{text-align:left;max-width:none}.desktop-route-chips{gap:13px}.desktop-route-chip>strong{font-size:16px}.desktop-route-chip{padding-inline:16px!important}.desktop-route-region-content{padding:18px}}
@media(prefers-reduced-motion:reduce){.desktop-route-ui *{transition:none!important;scroll-behavior:auto!important}}

/* The approved desktop map shares the screen; only the nodes scroll. */
@media(min-width:900px){
 html body.desktop-route-active .world-camera{pointer-events:none!important}
 html body.desktop-route-active :is(.desktop-flow-node,.sector-viewport){pointer-events:auto!important}
 html body.desktop-route-active .unit-heading h2{outline:none!important}
 html body.desktop-route-active{height:100dvh!important;overflow:hidden!important;background:var(--ecg-ui-bg,#0c121c)!important}
 html body.desktop-route-active .learning-page,html body.desktop-route-active #academy-map,html body.desktop-route-active #academy-map .view-unit{width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;padding:0!important;margin:0!important;overflow:visible!important}
 html body.desktop-route-active #academy-map .view-unit{--sector-scale:1!important;--tree-zoom:1!important}
 html body.desktop-route-active .view-back{position:fixed!important;left:24px!important;top:97px!important;z-index:30}
 html body.desktop-route-active .unit-heading{position:fixed!important;top:95px!important;left:225px!important;right:350px!important;width:auto!important;margin:0!important;z-index:25}
 html body.desktop-route-active .unit-heading h2{font-size:19px!important;margin-top:3px!important}
 html body.desktop-route-active .unit-heading small{font-size:10px!important}
 html body.desktop-route-active .desktop-route-ui,html body.desktop-route-active .desktop-route-region{display:contents!important}
 html body.desktop-route-active .desktop-route-region .mission-map{position:static!important;inset:auto!important;width:auto!important;height:auto!important;overflow:visible!important;background:none!important}
 html body.desktop-route-active #academy-map .desktop-route-region .sector-viewport{position:fixed!important;top:158px!important;left:0!important;right:354px!important;bottom:126px!important;width:auto!important;height:auto!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;overflow:auto!important;scrollbar-width:none;mask-image:linear-gradient(to right,transparent,#000 36px,#000 calc(100% - 42px),transparent),linear-gradient(to bottom,transparent,#000 24px,#000 calc(100% - 24px),transparent);mask-composite:intersect}
 html body.desktop-route-active .sector-viewport::-webkit-scrollbar{display:none}
 html body.desktop-route-active .mission-canvas,html body.desktop-route-active .world-layer,html body.desktop-route-active .hex-map{position:absolute!important;left:0!important;top:0!important;margin:0!important;padding:0!important;transform:none!important;background:none!important;overflow:visible!important;min-height:0!important}
 html body.desktop-route-active .sector-lesson-path{transform:none!important}
 html body.desktop-route-active .desktop-flow-links{z-index:1;overflow:visible}
 html body.desktop-route-active .desktop-flow-links path{fill:none;stroke:var(--ecg-ui-line,#8292a6);stroke-width:2;stroke-linejoin:round}
 html body.desktop-route-active .desktop-flow-node{position:absolute;width:190px;min-height:118px;z-index:12;transform:translateX(-50%);padding:16px 12px;border:1px solid var(--ecg-ui-border,#8292a6);border-top-color:var(--ecg-ui-border,#8292a6);border-bottom:4px solid #060c17;border-radius:13px;background:var(--ecg-ui-action-bg,linear-gradient(135deg,#2c384a,#192634));box-shadow:inset 0 1px #edf4ff14,0 3px #050a13,0 8px 16px #0004;color:var(--ecg-ui-text,#e6edf7);text-align:center;font-family:'Segoe UI',sans-serif;cursor:pointer;white-space:normal}
 html body.desktop-route-active .desktop-flow-node strong{display:block;font-size:15px;line-height:1.35;margin:7px 0;font-weight:650}
 html body.desktop-route-active .desktop-flow-node small{font-size:10px;letter-spacing:.08em;color:var(--ecg-ui-silver,#cbd5e2)}
 html body.desktop-route-active .desktop-flow-node .desktop-flow-status{display:block;font-size:11px;color:var(--ecg-ui-silver,#cbd5e2);line-height:1.4}
 html body.desktop-route-active .desktop-flow-node:hover{filter:brightness(1.13);box-shadow:inset 0 1px #fff2,0 3px #050a13,0 0 20px rgb(var(--ecg-ui-blue-rgb,85 184 239) / 0.200)}
 html body.desktop-route-active .desktop-flow-node[aria-expanded=true]{border-color:var(--ecg-ui-selected-border);border-bottom-color:var(--ecg-ui-selected-base);background:var(--ecg-ui-selected-surface);color:var(--ecg-ui-selected-text)}
 html body.desktop-route-active .desktop-flow-intro{background:linear-gradient(135deg,#2d4452,#182d3a)}
 html body.desktop-route-active .desktop-flow-intro.is-completed{background:var(--ecg-ui-success-surface,linear-gradient(135deg,#284a3e,#18342b));border-color:#80bb9c}
 html body.desktop-route-active .desktop-flow-node:focus-visible{outline:2px solid var(--ecg-ui-focus,#55b8ef);outline-offset:4px}
 html body.desktop-route-active #academy-map .desktop-route-preview-host{position:fixed!important;top:163px;right:20px;bottom:133px;width:314px;display:flex;flex-direction:column;border:1px solid #374356;border-top-color:#111b29;border-radius:14px;background:#111c2b;box-shadow:inset 0 3px 9px #0004,0 1px #b2c4dd15;z-index:40;overflow:hidden}
 html body.desktop-route-active .desktop-flow-empty{padding:26px 21px;font-family:'Segoe UI',sans-serif;color:var(--ecg-ui-muted,#adbacd)}
 html body.desktop-route-active .desktop-flow-empty small{color:var(--ecg-ui-silver,#cbd5e2);font-size:10px;letter-spacing:.1em}
 html body.desktop-route-active .desktop-flow-empty h3{font-size:18px;color:var(--ecg-ui-text,#e6edf7);margin:12px 0}
 html body.desktop-route-active .desktop-flow-empty p{font-size:14px;line-height:1.6}
 html body.desktop-route-active #academy-map .desktop-route-preview-host>.map-popover.desktop-inline-lesson{position:relative!important;flex:1;display:flex!important;flex-direction:column!important;inset:auto!important;margin:0!important;padding:18px!important;width:100%!important;height:100%!important;max-height:100%!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important}
 html body.desktop-route-active .desktop-inline-lesson .map-preview-content{flex:1;min-height:0!important;overflow:auto!important;scrollbar-width:thin}
 html body.desktop-route-active .desktop-inline-lesson .sector-study-actions{margin-top:auto!important;padding-top:12px!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:8px!important;flex-shrink:0}
 html body.desktop-route-active .desktop-inline-lesson .sector-study-actions :is(button,a){width:100%!important;min-width:0!important;font-size:12px!important}
 html body.desktop-route-active .desktop-inline-lesson .sector-study-actions>small{font-size:11px!important}
 html body.desktop-route-active .desktop-inline-lesson header strong{font-size:16px!important;line-height:1.45!important}
 html body.desktop-route-active .desktop-inline-lesson .lesson-popover-meta{font-size:11px!important;margin:4px 0 12px!important}
 html body.desktop-route-active .desktop-route-preview-host>.sector-study-dock{display:block!important;position:relative!important;inset:auto!important;padding:12px!important;margin:0!important;width:100%!important;border:0!important;background:transparent!important;box-shadow:none!important}
 html body.desktop-route-active .desktop-route-preview-host:has(.desktop-inline-lesson)>.sector-study-dock{display:none!important}
 html body.desktop-route-active .desktop-route-preview-host .sector-study-continue{width:100%!important;margin:0!important;padding:13px 12px;border:1px solid var(--ecg-ui-accent,#55b8ef);border-bottom:3px solid #081725;border-radius:9px;background:var(--ecg-ui-primary-bg,linear-gradient(135deg,#17649a,#104d76));box-shadow:inset 0 1px #ffffff20,0 2px #080d18;color:var(--ecg-ui-text,#e6edf7);font:600 12px/1.5 'Segoe UI',sans-serif;cursor:pointer;transition:filter .2s,box-shadow .2s}
 html body.desktop-route-active .desktop-route-preview-host .sector-study-continue:hover{filter:brightness(1.15);box-shadow:inset 0 1px #ffffff30,0 2px #080d18,0 0 18px rgb(var(--ecg-ui-blue-rgb,85 184 239) / 0.145)}
 html body.desktop-route-active :is(.sector-study-continue,.desktop-flow-goalrow button):focus-visible{outline:2px solid var(--ecg-ui-focus,#55b8ef);outline-offset:3px}
 html body.desktop-route-active .desktop-route-preview-host :is(.tree-objectives,.sector-syllabus,.sector-study-status,.sector-study-current,.tree-preview-rail,.tree-mission){display:none!important}
 html body.desktop-route-active .desktop-flow-bottom{position:fixed;z-index:45;bottom:0;left:0;right:0;width:100%!important;max-width:none!important;margin:0!important;height:113px;display:grid;grid-template-columns:minmax(420px,1.4fr) minmax(280px,1fr);gap:40px;align-items:center;padding:17px 28px;background:#111c2b;border-top:1px solid #455268;box-shadow:0 -12px 30px var(--ecg-ui-bg,#0c121c);font-family:'Segoe UI',sans-serif}
 html body.desktop-route-active .desktop-flow-goals>small{font-size:10px;letter-spacing:.07em;color:var(--ecg-ui-silver,#cbd5e2)}
 html body.desktop-route-active .desktop-flow-goalrow{display:flex;gap:8px;margin-top:9px}
 html body.desktop-route-active .desktop-flow-goalrow button{flex:1;min-width:0;padding:10px 4px;font:600 12px/1.4 'Segoe UI',sans-serif;border:1px solid #405168;border-top-color:#09131f;border-radius:7px;background:#0b1624;box-shadow:inset 0 2px 6px #0006;color:var(--ecg-ui-silver,#cbd5e2);cursor:pointer}
 html body.desktop-route-active .desktop-flow-goalrow button.is-covered{border-color:#578b77;color:var(--ecg-ui-success,#8bdbb1);background:var(--ecg-ui-success-bg,#1c392e)}
 html body.desktop-route-active .desktop-route-progress{margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:none;gap:8px 22px}
 html body.desktop-route-active .desktop-route-progress>small{font-size:10px;line-height:1.3}
 html body.desktop-route-active :is(footer:not(.desktop-flow-bottom),.map-feedback){display:none!important}
}
@media(min-width:900px) and (max-height:690px){html body.desktop-route-active .unit-heading{top:88px!important}html body.desktop-route-active .unit-heading h2{font-size:16px!important}html body.desktop-route-active .view-back{top:89px!important}html body.desktop-route-active #academy-map .desktop-route-region .sector-viewport{top:143px!important;bottom:106px!important}html body.desktop-route-active #academy-map .desktop-route-preview-host{top:144px;bottom:110px}html body.desktop-route-active .desktop-flow-bottom{height:96px;padding-block:10px}}

/* Horizontal presentation owns these locations from the first rendered frame. */
@media(min-width:900px){
 html body.desktop-route-active #academy-map :is(.tree-mission,.tree-preview-rail,.tree-explorer-tools,.sector-study-current,.sector-study-status,.sector-syllabus,.tree-objectives){display:none!important}
 html body.desktop-route-active #academy-map .activity-tile.is-route-destination .activity-tile-rest,
 html body.desktop-route-active #academy-map .desktop-flow-node.is-route-destination{outline:2px solid var(--ecg-ui-focus,#55b8ef)!important;outline-offset:4px;box-shadow:inset 0 1px #ffffff24,0 3px #050a13,0 0 26px rgb(var(--ecg-ui-blue-rgb,85 184 239) / 0.333)!important}
}

@media(min-width:900px){
 html body.desktop-route-active #academy-map .activity-tile:not([aria-disabled=true]) .tree-node-rule{display:none!important}
}


/* Units without a chip selector keep the same explorer and compact fixed telemetry. */
@media(min-width:900px){
 html body.desktop-route-active #academy-map .desktop-route-preview-host.has-open-lesson{border-color:var(--ecg-ui-border,#8292a6);border-top-color:var(--ecg-ui-accent-soft,#9cd5f5);background:linear-gradient(135deg,var(--ecg-ui-open),var(--ecg-ui-inset-bg));box-shadow:inset 0 1px #e1e7ee18,inset 3px 0 rgb(var(--ecg-ui-blue-rgb,85 184 239) / 0.361),0 1px #b2c4dd15}
 html body.desktop-route-active .desktop-flow-bottom{box-sizing:border-box}
 html body.desktop-route-active .desktop-flow-bottom:has(.desktop-flow-goals[hidden]){grid-template-columns:minmax(0,760px);justify-content:center;gap:0}
 html body.desktop-route-active .desktop-flow-bottom:has(.desktop-flow-goals[hidden]) .desktop-route-progress{width:100%;min-width:0}
 html body.desktop-route-active .desktop-flow-goals[hidden]{display:none!important}
 html body.desktop-route-active .desktop-route-preview-host{box-sizing:border-box}
 html body.desktop-route-active .desktop-inline-lesson .map-preview-content{overflow-wrap:break-word}
 html body.desktop-route-active .desktop-inline-lesson .sector-study-actions :is(button,a){white-space:normal;overflow-wrap:break-word}
 html body.desktop-route-active .unit-heading h2{text-wrap:balance;overflow-wrap:break-word}
}
@media(min-width:900px) and (max-width:1099px){
 html body.desktop-route-active .unit-heading{left:211px!important;right:318px!important}
 html body.desktop-route-active .unit-heading h2{font-size:17px!important;line-height:1.35!important}
 html body.desktop-route-active #academy-map .desktop-route-preview-host{right:16px;width:286px}
 html body.desktop-route-active #academy-map .desktop-route-region .sector-viewport{right:318px!important}
 html body.desktop-route-active .desktop-flow-bottom{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:24px;padding-inline:22px}
 html body.desktop-route-active .desktop-flow-goalrow{gap:5px}
 html body.desktop-route-active .desktop-flow-goalrow button{font-size:11px}
}

/* Unit workspace: title and progress, map and inspector, then objectives. */
@media(min-width:900px){
 html body.desktop-route-active .unit-heading{top:94px!important;left:225px!important;right:24px!important;text-align:left!important}
 html body.desktop-route-active .unit-heading h2{font-size:clamp(25px,2.1vw,34px)!important;line-height:1.18!important;margin:5px 0 0!important;text-wrap:pretty}
 html body.desktop-route-active .unit-heading>small{font-size:12px!important}
 html body.desktop-route-active .unit-heading .desktop-route-progress{display:grid;grid-template-columns:auto minmax(100px,1fr) auto;align-items:center;gap:10px;margin:14px 0 0;max-width:950px;font-size:14px}
 html body.desktop-route-active .unit-heading .desktop-route-progress>small{grid-column:1;grid-row:1;font-size:14px!important;white-space:nowrap;text-transform:none!important;letter-spacing:0!important}
 html body.desktop-route-active .unit-heading .desktop-route-progress>progress:not(.cabin-xp-track){grid-column:2;grid-row:1;height:8px}
 html body.desktop-route-active .unit-heading .desktop-route-progress>span{grid-column:3;grid-row:1;font-size:0;gap:0}
 html body.desktop-route-active .unit-heading .desktop-route-progress [data-progress-percent]{font-size:14px}
 html body.desktop-route-active .unit-heading .desktop-route-progress .cabin-xp-label:not([hidden]){display:flex!important;grid-column:1/4;grid-row:2;justify-content:flex-start;gap:8px;font-size:14px;color:var(--ecg-ui-silver);text-transform:none}
 html body.desktop-route-active .unit-heading .desktop-route-progress .cabin-xp-label b{display:none}
 html body.desktop-route-active .unit-heading .desktop-route-progress .cabin-xp-track{display:none!important}
 html body.desktop-route-active .desktop-flow-goalrow button[data-objective-node]{flex:1 1 280px;white-space:normal;text-align:left;line-height:1.45}
 html body.desktop-route-active .desktop-route-ui{position:fixed;inset:var(--desktop-content-top,210px) 20px 20px;display:grid!important;grid-template-columns:minmax(0,1fr) 314px;grid-template-rows:minmax(0,1fr) auto;gap:14px;min-height:0}
 html body.desktop-route-active .desktop-route-region{display:block!important;position:relative;grid-column:1;grid-row:1;min-height:0;min-width:0;margin:0!important;overflow:hidden;border:1px solid var(--ecg-ui-line,#455268);border-radius:14px;background:linear-gradient(145deg,#122333,#0d1723);box-shadow:inset 0 1px #ffffff0a}
 html body.desktop-route-active .desktop-flow-route-heading{position:absolute;inset:0 0 auto;padding:16px 20px;z-index:22;background:var(--ecg-ui-bg,#0c121c);border-bottom:1px solid #8292a633}
 html body.desktop-route-active .desktop-flow-route-heading h3,html body.desktop-route-active .desktop-flow-goals h3{margin:0;color:var(--ecg-ui-text);font:650 18px/1.4 'Segoe UI',sans-serif}
 html body.desktop-route-active .desktop-flow-route-heading p,html body.desktop-route-active .desktop-flow-goals p{margin:4px 0 0;color:var(--ecg-ui-muted);font:14px/1.4 'Segoe UI',sans-serif}
 html body.desktop-route-active #academy-map .desktop-route-region .sector-viewport{position:absolute!important;inset:88px 0 0!important;border:0!important;mask-image:none!important}
 html body.desktop-route-active #academy-map .desktop-route-preview-host{position:relative!important;inset:auto!important;width:auto!important;min-width:0;min-height:0;grid-column:2;grid-row:1/3;margin:0!important;border-color:var(--ecg-ui-line,#455268)}
 html body.desktop-route-active .desktop-flow-bottom{position:relative!important;inset:auto!important;grid-column:1;grid-row:2;width:auto!important;height:auto!important;display:block!important;max-height:166px;overflow:auto;padding:16px 20px!important;border:1px solid var(--ecg-ui-line,#455268);border-radius:14px;background:linear-gradient(145deg,#122333,#0d1723);box-shadow:inset 0 1px #ffffff0a}
 html body.desktop-route-active .desktop-flow-goalrow{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
 html body.desktop-route-active .desktop-flow-goalrow button{flex:1 0 auto;min-height:44px;padding:8px 14px;font-size:14px}
 html body.desktop-route-active #academy-map .desktop-choice-panel{position:absolute;z-index:0;box-sizing:border-box;pointer-events:none;border:1px solid #8292a655!important;border-radius:12px;background:#112332e6!important;color:var(--ecg-ui-silver);text-align:center;padding:12px}
 html body.desktop-route-active .desktop-flow-chip{min-height:100px;padding:10px 12px}
 html body.desktop-route-active .desktop-choice-panel h4{margin:0;font:650 14px/1.4 'Segoe UI',sans-serif;overflow-wrap:break-word}
 html body.desktop-route-active .desktop-choice-panel p{position:absolute;bottom:12px;left:12px;right:12px;margin:0;font:14px/1.4 'Segoe UI',sans-serif;color:var(--ecg-ui-muted)}
}
@media(min-width:900px) and (max-width:1099px){
 html body.desktop-route-active .desktop-route-ui{grid-template-columns:minmax(0,1fr) 286px;inset-inline:16px;gap:12px}
 html body.desktop-route-active .unit-heading{left:211px!important;right:16px!important}
 html body.desktop-route-active .desktop-flow-route-heading{padding:12px 14px}
 html body.desktop-route-active .desktop-flow-route-heading p{font-size:14px}
 html body.desktop-route-active #academy-map .desktop-route-region .sector-viewport{top:104px!important}
}

/* XP is cumulative across routes; lesson count describes the current route. */
@media(min-width:900px){
 html body.desktop-route-active .unit-heading .desktop-route-progress{grid-template-columns:auto minmax(100px,1fr) auto;gap:7px 12px;margin-top:10px}
 html body.desktop-route-active .unit-heading .desktop-route-progress>small{grid-column:1/-1;grid-row:1;white-space:normal;font-weight:500!important}
 html body.desktop-route-active .unit-heading .desktop-route-progress>progress:not(.cabin-xp-track){display:none!important}
 html body.desktop-route-active .unit-heading .desktop-route-progress .cabin-xp-label:not([hidden]){grid-column:1;grid-row:2;white-space:nowrap}
 html body.desktop-route-active .unit-heading .desktop-route-progress .cabin-xp-track:not([hidden]){display:block!important;grid-column:2;grid-row:2;height:9px}
 html body.desktop-route-active .unit-heading .desktop-route-progress>span{grid-column:3;grid-row:2}
 html body.desktop-route-active .unit-heading .desktop-xp-hint{grid-column:1/-1;grid-row:3;margin:0!important;font:14px/1.4 'Segoe UI',sans-serif!important;color:var(--ecg-ui-muted);text-transform:none!important;letter-spacing:0!important}
 html body.desktop-route-active .desktop-flow-goalrow button.is-covered::before{content:'✓ ';color:var(--ecg-ui-success)}
 html body.desktop-route-active #academy-map .desktop-route-region .sector-viewport{scrollbar-width:thin!important;scrollbar-color:#61788c #0d1723}
 html body.desktop-route-active .sector-viewport::-webkit-scrollbar{display:block!important;width:8px;height:8px}
 html body.desktop-route-active .sector-viewport::-webkit-scrollbar-thumb{background:#61788c;border-radius:8px}
 html body.desktop-route-active .desktop-choice-panel :is(h4,p){overflow-wrap:anywhere;white-space:normal;text-transform:none!important}
}

@media(min-width:900px){html body.desktop-route-active .desktop-flow-goalrow button:not([data-objective-node]){flex:1 1 0;min-width:0;padding-inline:6px}}

/* Give the learning map priority; readable cards at 1080p and larger workspaces. */
@media(min-width:900px){
 html body.desktop-route-active{--desktop-node-width:230px;--desktop-node-step:310px;--desktop-node-font:17px}
 html body.desktop-route-active .desktop-route-ui{grid-template-columns:minmax(0,1fr) clamp(300px,22vw,400px);gap:12px}
 html body.desktop-route-active .desktop-flow-node{width:var(--desktop-node-width);padding:16px;min-height:126px}
 html body.desktop-route-active .desktop-flow-node strong{font-size:var(--desktop-node-font);line-height:1.45}
 html body.desktop-route-active .desktop-flow-node small{font-size:12px}
 html body.desktop-route-active .desktop-flow-node .desktop-flow-status{font-size:14px}
 html body.desktop-route-active .desktop-flow-route-heading{padding:12px 18px}
 html body.desktop-route-active #academy-map .desktop-route-region .sector-viewport{top:78px!important}
 html body.desktop-route-active .desktop-flow-bottom{padding:12px 16px!important;max-height:192px}
 html body.desktop-route-active .desktop-flow-goals h3{display:inline;font-size:16px}
 html body.desktop-route-active .desktop-flow-goals>p{display:inline;margin-left:16px;font-size:14px}
 html body.desktop-route-active .desktop-flow-goalrow{margin-top:9px}
 html body.desktop-route-active .desktop-inline-lesson header strong{font-size:19px!important;line-height:1.4!important;text-transform:none!important}
 html body.desktop-route-active .desktop-inline-lesson :is(p,li){font-size:16px!important;line-height:1.6!important}
 html body.desktop-route-active .desktop-inline-lesson .lesson-popover-meta{font-size:14px!important}
 html body.desktop-route-active .desktop-choice-panel :is(h4,p){font-size:15px;line-height:1.45}
}
@media(min-width:1300px){
 html body.desktop-route-active .unit-heading{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(340px,38%);gap:4px 28px;align-items:center}
 html body.desktop-route-active .unit-heading>small{grid-column:1;grid-row:1}
 html body.desktop-route-active .unit-heading>h2{grid-column:1;grid-row:2;font-size:clamp(27px,1.8vw,38px)!important}
 html body.desktop-route-active .unit-heading .desktop-route-progress{grid-column:2;grid-row:1/3;margin:0;max-width:none;width:100%}
}
@media(min-width:900px) and (max-width:1299px){
 html body.desktop-route-active #academy-map .desktop-route-region .sector-viewport{top:102px!important}
 html body.desktop-route-active .desktop-flow-goals>p{display:none}
 html body.desktop-route-active .desktop-flow-goals h3{font-size:16px}
}
@media(min-width:2500px){html body.desktop-route-active{--desktop-node-width:270px;--desktop-node-step:360px;--desktop-node-font:19px}}
@media(min-width:3200px){html body.desktop-route-active{--desktop-node-width:300px;--desktop-node-step:400px;--desktop-node-font:20px}}

/* Supplied model artwork is stationary decoration, independent of map movement. */
@media(min-width:900px){
 html body.desktop-route-active .desktop-route-region .desktop-model-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:.08;filter:saturate(.65);pointer-events:none;user-select:none;z-index:0}
 html body.desktop-route-active #academy-map .desktop-route-region .sector-viewport{z-index:1;scrollbar-width:none!important}
 html body.desktop-route-active .sector-viewport::-webkit-scrollbar{display:none!important;width:0;height:0}
}


/* Neutral thumbnail and centered protected player; no legacy scene assets. */
@media(min-width:900px){
 html body.desktop-route-active .desktop-inline-lesson .desktop-video-replaced{display:none!important}
 .desktop-lesson-media{margin:16px 0;min-width:0;flex-shrink:0}
 .desktop-video-cover{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:16/9;padding:0;overflow:hidden;border:1px solid var(--ecg-ui-border,#8292a6);border-radius:12px;background:var(--ecg-ui-selected-surface,linear-gradient(135deg,#213f52,#102330));cursor:pointer;color:var(--ecg-ui-text,#e6edf7)}
 .desktop-video-cover:hover{border-color:var(--ecg-ui-focus,#55b8ef);filter:brightness(1.1)}
 .desktop-video-play{display:grid;place-items:center;width:52px;height:52px;border:1px solid #c6eaff;border-radius:50%;background:#164867;font-size:22px;padding-left:3px}
 .desktop-video-caption{position:absolute;bottom:10px;left:0;right:0;text-align:center;font:600 13px/1.4 'Segoe UI',sans-serif}
 .desktop-lesson-media button:focus-visible{outline:2px solid var(--ecg-ui-focus,#55b8ef);outline-offset:3px}
}
.desktop-video-dialog{position:fixed;inset:0;box-sizing:border-box;width:min(960px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 40px);margin:auto;padding:20px;border:1px solid var(--ecg-ui-border,#8292a6);border-radius:16px;background:var(--ecg-ui-bg,#0c121c);color:var(--ecg-ui-text,#e6edf7);box-shadow:0 24px 80px #0009;overflow:auto}
.desktop-video-dialog::backdrop{background:#030910d9}
.desktop-video-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}
.desktop-video-heading h2{margin:0;font:600 20px/1.4 'Segoe UI',sans-serif}
.desktop-video-close{flex-shrink:0;padding:10px 14px;border:1px solid #7c9aac;border-radius:8px;background:#21394b;color:#e6edf7;cursor:pointer;font:600 14px/1.4 'Segoe UI',sans-serif}
.desktop-video-close:focus-visible{outline:2px solid #55b8ef;outline-offset:3px}
.desktop-video-player:empty{display:none}
.desktop-video-player iframe{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:10px;background:#000}
.desktop-video-status{font:400 14px/1.5 'Segoe UI',sans-serif;color:#b8cadb;margin:12px 0 0}

@media(min-width:900px){
 html body.desktop-route-active .desktop-route-ui.is-inspector-closed{grid-template-columns:minmax(0,1fr)!important}
 html body.desktop-route-active #academy-map .desktop-route-ui.is-inspector-closed .desktop-route-preview-host{display:none!important}
}

.desktop-video-thumbnail{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.desktop-video-cover.has-thumbnail::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 40%,#000b)}
.desktop-video-cover .desktop-video-play,.desktop-video-cover .desktop-video-caption{z-index:1}
