/* The reference uses a single composed PNG in the hero, never clipped image parts. */
.uc-hero .imedia-scene.imedia-complete-scene{display:block;min-width:0;min-height:0;height:100%;max-height:100%;padding:20px 3%;overflow:hidden}
.imedia-complete-hero{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
.lesson-keywords{border:1px solid #d3e1ed;border-radius:8px;margin:12px 0 20px;padding:12px 18px;background:white}.lesson-keywords summary{font-size:14px;font-weight:600;color:#102a43;cursor:pointer}.lesson-keywords summary>span{color:#009ff2;margin-right:12px}.lesson-keywords dl>div{display:grid;grid-template-columns:130px 1fr;gap:12px;padding:9px;border-top:1px solid #e0eaf2}.lesson-keywords dt{font-weight:700}.lesson-keywords dd{margin:0;color:#415b72;font-size:13px}
#flashcardBody{width:100%;min-width:0}#flashcardBody .reference-flashcard-heading{gap:12px;min-height:75px;margin-bottom:11px;padding-bottom:10px;flex-wrap:wrap}#flashcardBody .reference-flashcard-heading h2{font:700 32px/1.2 Outfit,Arial,sans-serif;margin:0;letter-spacing:-.5px}.reference-card-topic,.reference-card-order,.reference-card-pagination{color:#102a43}.reference-card-topic{margin-left:auto}.reference-flashcard-face{border-left-color:#102a43;color:#102a43}.reference-card-number,.native-flashcard .native-card-question{color:#102a43}.reference-card-number{font:800 32px/1 Outfit,Arial,sans-serif}.native-flashcard .native-card-question{font:800 20px/1.15 Outfit,Arial,sans-serif}.reference-flashcard-front{padding:12px 14px}.reference-native-toggle{margin:0;padding:0;border:0;background:none}.reference-flashcard-back{background:#fff}.reference-card-action{color:#009ff2}
.ko-vector-viewport{height:calc(100dvh - 180px)}.ko-vector-heading>h2{font:700 32px/1.2 Outfit,Arial,sans-serif}.ko-vector-controls{margin-left:auto}.ko-vector-controls select{font:600 12px Outfit,Arial,sans-serif;height:38px;border:1px solid #b9dce7;border-radius:6px;color:#007eae}.ko-vector-canvas,.ko-vector-sheet{width:1190px;height:842px}
@media(max-width:1100px){.uc-hero .imedia-scene.imedia-complete-scene{height:100%;padding:10px 0}.reference-flashcards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.uc-hero .imedia-scene.imedia-complete-scene{height:280px;max-height:280px;padding:5px 0}.lesson-keywords dl>div{grid-template-columns:1fr;gap:4px}.ko-vector-viewport{height:65vh;min-height:360px}}
@media(max-width:650px){.reference-flashcards-grid{grid-template-columns:1fr}.reference-card-topic{margin-left:0;flex-basis:100%}.reference-card-pagination{width:100%;justify-content:space-between}}
@media(max-width:420px){.uc-hero .imedia-scene.imedia-complete-scene{height:230px;max-height:230px}}
@media(prefers-reduced-motion:reduce){.native-flashcard[open]>.reference-flashcard-back,.native-flashcard:not([open]) .reference-flashcard-front{animation:none}}

/* Keep the common header stationary, including when a route gains a scrollbar. */
html{overflow-y:scroll;scrollbar-gutter:stable;scroll-padding-top:calc(var(--site-header-height,74px) + 16px)}
.app-header{position:sticky;top:0;z-index:1000;width:100%;background:#fff}
.app-header-inner{box-sizing:border-box;width:100%;margin:0 auto}
.lesson-sidebar{top:calc(var(--site-header-height,74px) + 14px)}
@media(max-width:760px){.lesson-sidebar{top:auto}}

/* Fit screen recordings without cropping their interface or text. */
.video-player-wrap.native-video-wrap{max-width:1280px;margin:14px auto 22px}.video-titlebar{margin-bottom:10px}.video-titlebar h3{margin:0}.native-lesson-video{display:block;width:100%;height:auto;aspect-ratio:16/9;max-height:calc(100dvh - var(--site-header-height,74px) - 190px);min-height:160px;object-fit:contain;background:#071521;border-radius:6px}.video-actions{margin-top:10px}.native-video-wrap>#nativeVideoStatus{margin:8px 0 0}.video-actions .sub{margin-left:auto}#nativeVideoParking{display:none}
@media(max-width:650px){.native-lesson-video{max-height:55dvh;min-height:0}.video-actions{gap:10px}.video-actions .sub{margin-left:0;width:100%}.video-titlebar h3{font-size:20px}}

/* Python rollover behaviour with the requested original dark-blue navigation. */
.app-header .school-brand{color:#102a43!important;border-right-color:#8395a7!important}
.app-header .app-nav button{position:relative;border:0;border-bottom:3px solid transparent;border-radius:5px 5px 0 0;background:transparent;color:#102a43!important;box-shadow:none;transition:background-color .15s,color .15s,border-color .15s;transform:none}
.app-header .app-nav button.active{background:transparent;color:#102a43!important;border-bottom-color:#009ff2}
.app-header .app-nav button:hover,.app-header .app-nav button:focus-visible{background:#def3ff;color:#0079ba!important;border-bottom-color:#009ff2;box-shadow:0 0 0 6px #def3ff}
.app-header .app-nav button.active:hover{background:#d4efff;box-shadow:0 0 0 6px #d4efff}
.app-header .app-nav button:active{transform:none;border-bottom-width:3px}
.app-header .app-nav .nav-icon{background:transparent;filter:none;opacity:1;mix-blend-mode:normal}
@media(max-width:650px){.app-header .app-nav button:hover,.app-header .app-nav button:focus-visible{box-shadow:0 0 0 3px #def3ff}}

/* Size the whole player from the available height, retaining an exact 16:9 frame. */
.video-player-wrap.native-video-wrap{width:min(100%,calc((100dvh - var(--site-header-height,74px) - 190px) * 1.77777778));max-width:1280px;margin-inline:auto}
.native-lesson-video{width:100%;height:auto;aspect-ratio:16/9;max-height:none;min-height:0;object-fit:contain;background:#071521}
@media(max-width:650px){.video-player-wrap.native-video-wrap{width:100%}.native-lesson-video{height:auto;max-height:none;aspect-ratio:16/9}}
