/* Lesson library: protected viewer + content editor */
.pv{display:flex;flex-direction:column;gap:10px;outline:none}
.pv-bar{position:sticky;top:calc(env(safe-area-inset-top,0px) + 64px);z-index:2;background:var(--bg);padding:6px 0}
.pv-stage{overflow:auto;border:1px solid var(--line);border-radius:var(--r);background:var(--surface);padding:12px;display:flex;justify-content:center;max-height:80vh}
.pv-stage canvas{display:block;background:#fff;box-shadow:0 1px 6px rgba(0,0,0,.12);max-width:none}
.pv,.protected-audio{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
@media print{.pv,.protected-audio{display:none!important}}
