/* Only the dossier-context bar; native forms and Planning themes are untouched. */
.ln-unified-original-form>#ln-context{display:none!important}
.ln-unified-original-form #ln-if-planning{display:none!important}
#dd-gallery .ln-card-actions{display:none}
#ln-unified-context{max-width:1360px;margin:12px auto;padding:16px}
#ln-unified-context h2{margin:0 0 8px}
#ln-unified-context p{margin:8px 0}
#ln-unified-context button{min-height:44px}
@media(max-width:600px){#ln-unified-context{margin:8px;padding:12px}}

/* Context-only video panel and compact dossier commands. */
.ln-dossier-command-menu{margin-top:8px}.ln-dossier-command-menu>summary{cursor:pointer;min-height:44px;padding:12px;border:1px solid currentColor;border-radius:8px;font-weight:700}.ln-dossier-command-menu nav{margin-top:8px}
.ln-scoped-videos{width:min(94vw,960px);max-height:90dvh;padding:20px;border:1px solid #8295a6;border-radius:10px;background:var(--dd-paper,#fff);color:var(--dd-ink,#172e44);overflow:auto}.ln-scoped-videos::backdrop{background:#101f30aa}.ln-scoped-videos>div:first-child{display:flex;justify-content:space-between;gap:16px;align-items:center}.ln-scoped-videos button{min-height:44px;padding:10px 14px;cursor:pointer}.ln-scoped-video-list article{padding:12px 0;border-bottom:1px solid #8295a6}.ln-scoped-video-list button{width:100%;text-align:left;white-space:normal}.ln-scoped-video-list p{overflow-wrap:anywhere}.ln-scoped-video-player video{width:100%;max-height:60dvh;background:#101010}.ln-scoped-video-player h3{overflow-wrap:anywhere}
@media(max-width:600px){body.ln-selected-dossier .dd-intro,body.ln-selected-dossier .dd-finder{display:none}body.ln-selected-dossier #ln-context .ln-edition,body.ln-selected-dossier #ln-context .ln-identity img{display:none}body.ln-selected-dossier #ln-context .ln-identity h2{font-size:20px;margin:0}body.ln-selected-dossier #ln-context .ln-identity p{margin:4px 0;font-size:14px}body.ln-selected-dossier #ln-context{padding:10px;margin:0 0 14px}body.ln-selected-dossier #ln-context .ln-context-line{margin:0}body.ln-selected-dossier #ln-quick-toggle{display:none}body.ln-selected-dossier .dd-main{padding-top:12px}.ln-scoped-videos{padding:12px;width:96vw;max-height:92dvh}.ln-scoped-videos>div:first-child{align-items:start;gap:10px}.ln-scoped-videos h2{font-size:22px;margin:4px 0}.ln-scoped-videos button{font-size:15px}}

.ln-scoped-video-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px}.ln-scoped-videos.venue-window-v23 .ln-scoped-video-heading h2{display:none}.ln-scoped-videos .venue-window-content{padding:12px}

/* Player-first presentation only; exact selection and access ports stay unchanged. */
.ln-scoped-video-chooser{margin:16px 0;border-top:1px solid #8295a6;padding-top:8px}.ln-scoped-video-chooser[hidden]{display:none}.ln-scoped-video-chooser>summary,.ln-scoped-video-audit>summary{min-height:44px;cursor:pointer;padding:10px 4px;font-weight:600}.ln-scoped-video-audit{margin:8px 0}.ln-scoped-video-audit p{font-size:14px;overflow-wrap:anywhere}.ln-scoped-video-player>h3{margin:12px 0 6px}.ln-scoped-video-player>p{margin:4px 0 10px}
