/*! Original layout (c) 2026 Richard E. Davis. */
.hc-video-shell { margin: 0 0 16px; padding: 0; color: #17263e; background: #fff; min-width: 0; }
.hc-video-shell .hc-video-label { margin: 0 0 10px; color: #49309d; font-size: 12px; letter-spacing: .06em; font-weight: 700; line-height: 1.305; }
.hc-video-frame { position: relative; aspect-ratio: 16 / 9; width: 100%; background: #0b1830; border-radius: 10px; overflow: hidden; }
.hc-video-shell .hc-component-video { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #0b1830; }
.hc-video-cover { position: absolute; inset: 0 0 40px; display: flex; flex-direction: column; justify-content: center; gap: 9px; padding: clamp(14px, 3vw, 28px); pointer-events: none; color: #fff; background: #0b1830; }
.hc-video-cover[hidden] { display: none !important; }
.hc-video-shell .hc-video-number { font-size: clamp(15px, 2vw, 23px); font-weight: 700; color: #c8beff; }
.hc-video-shell .hc-video-title { font-size: clamp(17px, 2.3vw, 28px); line-height: 1.2; font-weight: 700; color: #fff; }
.hc-video-shell .hc-video-cover-note { color: #dce5f5; font-size: 12px; line-height: 1.26; }
.hc-video-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.hc-video-shell .hc-video-play,.hc-video-shell .hc-video-read { min-height: 44px; padding: 10px 14px; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; line-height: 1.25; white-space: normal; }
.hc-video-shell .hc-video-play { color: #fff !important; background: #5030bf; border: 2px solid #5030bf; }
.hc-video-shell .hc-video-read { color: #3d2691 !important; background: #fff; border: 2px solid #b8abdd; }
.hc-video-shell button:focus-visible,.hc-video-shell a:focus-visible,.hc-written-explanation>summary:focus-visible { outline: 3px solid #246878; outline-offset: 3px; }
.hc-video-shell button:disabled { opacity: 1; cursor: progress; background: #39485e; border-color: #39485e; color: #fff !important; }
.hc-video-shell .hc-video-status { font-size: 14px; line-height: 1.395; color: #344762 !important; margin: 10px 0 6px; }
.hc-video-shell .hc-video-duration { color: #344762; font-variant-numeric: tabular-nums; font-size: 13px; }
.hc-video-shell .hc-video-download { font-size: 14px; color: #49309d !important; text-decoration: underline; }
.hc-written-explanation { padding: 0 !important; border: 0 !important; background: #fff !important; color: #17263e !important; margin: 0; }
.hc-written-explanation>summary { padding: 12px 0; font-weight: 700; color: #49309d !important; cursor: pointer; min-height: 44px; }
.hc-written-explanation[open]>summary { border-bottom: 1px solid #ddd6ec; margin-bottom: 10px; }
@media(max-width:480px){.hc-video-cover{gap:5px;inset:0 0 36px}.hc-video-shell .hc-video-cover-note{font-size:11px}.hc-video-actions{gap:8px}.hc-video-shell .hc-video-play,.hc-video-shell .hc-video-read{font-size:13px;padding:9px 11px}}
@media print{.hc-video-shell{display:none!important}.hc-written-explanation{display:block!important}.hc-written-explanation>*{display:block!important}}
/* The primary site header already provides persistent navigation. A second
   sticky lab header could cover the component player's controls on mobile. */
body[data-page="lab"] .lab-window-header { position: static !important; }
.eco-reading-pane { scroll-margin-top: 100px; }
body[data-page="lab"] .site-header.dg14-header { z-index: 160 !important; }
