/* The course context stays in view while the large site header scrolls away. */
.training-page .header{position:relative;top:auto}
html.course-navigation-enabled{scroll-padding-top:0;--course-nav-height:110px}
.course-location{position:sticky;top:0;z-index:15;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;margin-bottom:24px;border:1px solid #cadde8;border-radius:16px;background:#f2f8fc;box-shadow:0 8px 24px #17324d10}
.course-location-copy{min-width:0;flex:1}
.course-location-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:1.3px;color:#3e6b85;text-transform:uppercase}
.course-location-title{display:block;font-size:18px;line-height:1.6;color:#1d314d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.course-location-lesson{display:block;font-size:12px;color:#4b6179;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.course-location-controls{display:flex;align-items:center;gap:10px;flex-shrink:0}
.course-location select{font:600 13px/1.4 var(--sans);color:#1d314d;max-width:240px;min-height:44px;padding:9px 28px 9px 12px;border:1px solid #b9cfdc;border-radius:9px;background:white}
.course-overview-button,.lesson-navigation button{font:700 12px/1.4 var(--sans);color:#22577a;background:white;border:1px solid #bdd3df;border-radius:9px;min-height:44px;padding:10px 14px;cursor:pointer}
.course-overview-button:hover,.lesson-navigation button:hover{background:#e5f1fa;border-color:#779fb8}
.course-outline-heading{font-size:24px;letter-spacing:-.5px;margin:0 0 16px}
.training-page .chapter,.course-outline-heading,.chapter-topics>h3,.topic-list>li{scroll-margin-top:calc(var(--course-nav-height,110px) + 16px)}
.training-page .chapter[open]{border:2px solid #93b8cd}
.training-page .chapter[open]>summary{background:#edf5fa;border-bottom:1px solid #cfdee7;margin-bottom:22px}
.training-page .chapter[open] .chapter-kicker{font-weight:800;color:#3d6883}
.training-page .topic-list>li.is-current-lesson{border:2px solid #6495b5;box-shadow:0 4px 16px #22577a0c}
.training-page .is-current-lesson>.lesson-disclosure>summary{background:#eaf3fa}
.training-page .is-current-lesson.is-watched>.lesson-disclosure>summary{background:#edf7f0}
.lesson-navigation{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:24px;padding-top:18px;border-top:1px solid #dce7eb}
/* Clip header fills to the card, keeping keyboard focus inside its outline. */
.training-page .topic-list>li{overflow:hidden}
.training-page .lesson-disclosure>summary{border-radius:12px}
.training-page .lesson-disclosure[open]>summary{border-radius:12px 12px 0 0}
.training-page .chapter>summary{border-radius:14px}
.training-page .chapter[open]>summary{border-radius:14px 14px 0 0}
.training-page .chapter summary:focus-visible{outline-offset:-5px}
.training-page .video-slot{position:relative;isolation:isolate;clip-path:inset(0 round 12px)}
.training-page .video-slot::after{content:"";position:absolute;inset:0;z-index:1;border:1px solid #d0dfe8;border-radius:inherit;pointer-events:none}
.training-page .chapter-chevron,.training-page .lesson-chevron{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;border:1px solid #cfdee7;border-radius:50%;background:#ffffffb3;color:#365c78;transform:rotate(0deg);transition:transform .2s ease}
.training-page .chapter-chevron svg,.training-page .lesson-chevron svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.training-page .chapter[open]>summary>.chapter-chevron,.training-page .lesson-disclosure[open]>summary>.lesson-chevron{transform:rotate(180deg)}
.course-location select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23365c78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;background-size:16px;padding-right:34px}
@media(prefers-reduced-motion:reduce){.training-page .chapter-chevron,.training-page .lesson-chevron{transition:none}}
@media(max-width:760px){.course-location{gap:10px;flex-wrap:wrap;padding:12px 14px;border-radius:12px;margin-bottom:18px}.course-location-copy{flex-basis:100%}.course-location-title{font-size:15px}.course-location-kicker{font-size:9px}.course-location-lesson{font-size:11px}.course-location-controls{width:100%;gap:8px}.course-location select{width:100%;max-width:none;min-width:0;flex:1;font-size:12px}.course-overview-button{flex-shrink:0;padding-inline:10px}.course-outline-heading{font-size:21px}.lesson-navigation button{font-size:11px;padding-inline:10px}}

/* Topic artwork stays in the chapter header in both collapsed & expanded views. */
.chapter-art{display:none}
.training-page .chapter>summary{display:grid;grid-template-columns:43px fit-content(300px) minmax(0,1fr) auto 30px;grid-template-areas:"badge title art progress toggle";gap:16px}
.chapter>summary>.chapter-number,.chapter>summary>.chapter-complete-icon{grid-area:badge}
.chapter>summary>.chapter-summary{grid-area:title;min-width:0;flex-basis:auto}
.chapter>summary>.chapter-art{display:block;grid-area:art;width:min(100%,288px);height:90px;justify-self:center;object-fit:contain;object-position:center;pointer-events:none;user-select:none}
.training-page .chapter>summary>.chapter-status{grid-area:progress;margin-left:0;max-width:100%;order:initial}
.chapter>summary>.chapter-chevron{grid-area:toggle}
@media(max-width:1000px){.training-page .chapter>summary{grid-template-columns:43px minmax(0,1fr) auto 30px;grid-template-areas:"badge title progress toggle" ". art art .";row-gap:12px}.chapter>summary>.chapter-art{width:min(100%,336px);height:112px;justify-self:center}}
@media(max-width:600px){.training-page .chapter>summary{grid-template-columns:35px minmax(0,1fr) 30px;grid-template-areas:"badge title toggle" ". progress progress" "art art art";gap:12px 10px}.chapter>summary>.chapter-number,.chapter>summary>.chapter-complete-icon{width:35px;height:35px}.chapter>summary>.chapter-art{width:80%;height:auto;aspect-ratio:3/1;max-width:336px}.training-page .chapter>summary>.chapter-status{width:176px;justify-self:start}}
