/* Keep the video and its title first; the next lesson is navigation, not competing content. */
.watch-page .watch-meta{padding-bottom:2px}
.watch-page .watch-lesson-nav{max-width:none}
.watch-page .watch-lesson-secondary{gap:12px;border-top:1px solid var(--w-line)}
.watch-page .watch-lesson-secondary #prev,.watch-page .watch-lesson-secondary #complete,
.watch-page .watch-lesson-secondary .watch-tools summary{padding-inline:5px}
.watch-page .watch-title-row #chapterIndex{background:transparent;padding-inline:0}
.watch-page .watch-main>#next.watch-up-next:not([hidden]){
 margin-top:8px;padding:8px 0;border:0;border-top:1px solid var(--w-line);
 border-radius:0;background:transparent;box-shadow:none;min-height:55px
}
.watch-page .watch-main>#next.watch-up-next:not([hidden]):hover{background:var(--w-soft)}
.watch-page .watch-main>#next .watch-up-arrow{padding:0 8px}
.watch-page .watch-lesson-utilities .watch-offline.wo{background:transparent;border:0;border-radius:0}
.watch-page .watch-lesson-utilities .wo-disclosure>summary{padding-inline:0}
.watch-page .watch-lesson-utilities .wo-icon{width:23px;height:23px}
.watch-page .watch-lesson-utilities .wo-chevron{padding-right:8px}
.watch-page .watch-training>div{min-width:0}
@media(max-width:850px){
 .watch-page .watch-meta{padding-top:10px}
 .watch-page .watch-curriculum{border-radius:0;background:transparent;border-top:1px solid var(--w-line);padding:9px 0 5px}
 .watch-page .watch-curriculum-toggle{background:transparent;box-shadow:none}
}
@media(max-width:850px) and (orientation:portrait){
 /* On illustrated covers, leave the title and board unobstructed. The rest use the central play control. */
 .watch-page #player.has-deck-poster .pgv:not(.fs):not(:fullscreen)[data-state=idle] .pgv-start,
 .watch-page #player.has-deck-poster #posterPlay svg{
  position:absolute;top:75%;left:50%;transform:translate(-50%,-50%)
 }
 .watch-page .pgv:not(.fs):not(:fullscreen)[data-state=idle] .pgv-start,
 .watch-page .watch-poster-play svg{
  width:48px;height:48px;border-radius:50%!important;box-shadow:0 0 0 1px #ffffff69
 }
 .watch-page .watch-poster-play svg{padding:13px}
}

/* Learn while watching: the discussion opens by default and never needs an accordion. */
html body.watch-page #watchStudy[data-study-mode=viewing]:not([hidden]){
 padding:9px 0 10px;border-top:1px solid var(--w-line)
}
.watch-page #watchStudy[data-study-mode=viewing] #studyLead{
 font-weight:750;color:var(--w-text);font-size:clamp(15px,2vw,18px);line-height:1.55
}
.watch-page #watchStudy[data-study-mode=viewing] #studyPoints{
 margin:8px 0 10px;padding-inline-start:1.25em;color:var(--w-muted);font-size:14px;line-height:1.62
}
.watch-page #watchStudy[data-study-mode=viewing] #studyPoints li::marker{color:var(--w-accent)}
.watch-page #watchStudy[data-study-mode=viewing] #studySource{
 color:var(--w-muted);border-top:0;padding:0;background:none;font-size:12px;line-height:1.5
}
html body.watch-page #toggleCurriculum{display:none}
@media(max-width:850px){
 html body.watch-page #watchCurriculum .watch-catalog-heading h2{display:block}
 html body.watch-page #watchCurriculum .watch-search:not([hidden]),
 html body.watch-page #watchCurriculum .watch-lessons:not([hidden]){display:block}
 html body.watch-page #watchCurriculum .watch-list-head{padding:0 0 5px}
}
.watch-page .watch-tools .watch-offline.wo{border:0;box-shadow:none;margin:0 0 2px}
.watch-page .watch-tools .watch-offline.wo summary{display:flex;text-align:left;justify-content:flex-start;gap:9px}
.watch-page .watch-tools .watch-offline.wo .wo-copy strong{font-size:13px}
.watch-page .watch-lesson-utilities:not(:has(>section:not([hidden]))){display:none}
