/* Trello 1640: put the lesson player before supporting information. */
body.library-layout.lesson-video-first .lesson-return { margin:0 0 10px; }
body.library-layout.lesson-video-first .lesson-return .back-link {
 min-height:32px;margin:0;gap:6px;font-size:13px;font-weight:400;line-height:1.5;
}
body.library-layout.lesson-video-first .lesson-return .icon { width:16px;height:16px;transform:none; }
body.library-layout.lesson-video-first .lesson-return .back-link:focus-visible {
 outline:none;background:var(--sage);text-decoration:underline;text-underline-offset:3px;
}
body.library-layout.lesson-video-first .ls-watch>.lesson-header {
 min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;
}
body.library-layout.lesson-video-first .ls-watch>.lesson-header>.container {
 grid-template-areas:"title" "context" "search";grid-template-columns:minmax(0,1fr);
}
body.library-layout.lesson-video-first .ls-watch>.lesson-header h1 { font-size:clamp(24px,2.4vw,32px); }
@media(min-width:1200px) {
 body.library-layout.lesson-video-first .ls-watch>.video-frame { grid-column:1;grid-row:1; }
 body.library-layout.lesson-video-first .ls-watch>.lesson-header { grid-column:1;grid-row:2; }
 body.library-layout.lesson-video-first .ls-watch>.ls-chapters { grid-column:2;grid-row:1 / span 2; }
}
@media(max-width:1000px) {
 body.library-layout.lesson-video-first .library-sidebar { display:none!important; }
}
@media(max-width:700px), (pointer:coarse) {
 body.library-layout.lesson-video-first .lesson-return .back-link { min-height:44px; }
}
html[dir=rtl] body.library-layout.lesson-video-first .lesson-return .icon { transform:scaleX(-1); }
