.lesson-sync-layer { position: fixed; z-index: 32; right: 1rem; bottom: calc(var(--scene-strip-h, 124px) + 1rem); width: min(32rem, calc(100vw - 2rem)); pointer-events: none; }
.lesson-sync { pointer-events: auto; display: grid; gap: .65rem; max-height: calc(100vh - 2rem); overflow: auto; padding: 1rem; border: 1px solid var(--line, #cbd5e1); border-radius: 1rem; background: var(--surface, #fff); box-shadow: 0 .75rem 2rem rgb(15 23 42 / .16); }
.lesson-sync__warning, .lesson-sync__help, .lesson-sync__pending { margin: 0; color: #475569; font-size: .82rem; }
.lesson-sync__state { margin: 0; color: #1e3a8a; font-weight: 700; }
.lesson-sync__scenes { display: grid; gap: .4rem; }
.lesson-sync__scene { padding: .55rem .65rem; border: 1px solid #dbe4ef; border-radius: .55rem; background: #f8fafc; font-size: .82rem; }
.lesson-sync__actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.lesson-sync button { min-height: 2.25rem; padding: .4rem .7rem; border: 1px solid var(--line, #cbd5e1); border-radius: .55rem; background: transparent; cursor: pointer; }
.lesson-sync button.is-primary { color: #fff; background: #1d4ed8; border-color: #1d4ed8; }
.lesson-sync button:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 430px) { .lesson-sync-layer { right: .5rem; bottom: calc(var(--scene-strip-h, 96px) + .5rem); width: calc(100vw - 1rem); } }
@media (forced-colors: active) { .lesson-sync { border: 2px solid CanvasText; box-shadow: none; } .lesson-sync button.is-primary { background: Highlight; color: HighlightText; } }
@media print { .lesson-sync-layer, .lesson-sync-launcher { display: none !important; } }
