/* Uses the page theme for reading text; keeps the film's label strip pure black. */
.md-patient-guide{--pg-text:var(--wv-text,#18343b);--pg-line:var(--wv-line,#c8d7dc)}
.md-patient-guide .md-section-body{font-size:16px;line-height:1.6}
.md-patient-purpose{margin:0 0 14px;font-size:17px;line-height:1.55;max-width:65ch}
.md-patient-safety{padding:14px 16px;border-left:3px solid #d39b32;background:rgba(188,142,49,.08);border-radius:0 8px 8px 0;margin-bottom:14px}
.md-patient-safety strong{font-size:16px}.md-patient-safety p{font-size:16px;line-height:1.6;margin:5px 0 0;max-width:65ch}
.md-patient-topic{border-bottom:1px solid var(--pg-line)}
.md-patient-topic>summary{cursor:pointer;padding:13px 4px;min-height:48px;box-sizing:border-box;font-size:16px;line-height:1.5;font-weight:600}
.md-patient-topic>p{margin:0;padding:0 4px 16px;font-size:16px;line-height:1.65;max-width:65ch}
.md-patient-note{font-size:14px!important;line-height:1.6;margin:14px 0 4px!important}.md-patient-note a{display:inline-flex;align-items:center;min-height:44px}
.md-patient-review{font-size:12px!important;line-height:1.6;opacity:.8;margin:0!important}
.md-watch-scene-label{display:none}
.md-watch-resume{padding:12px 0;display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:14px;line-height:1.4}
.md-watch-resume[hidden]{display:none!important}.md-watch-resume button{min-height:44px;padding:9px 12px;font:inherit;border:1px solid var(--wv-line,#8fa4aa);border-radius:7px;background:var(--wv-card,#111);color:var(--wv-text,#fff);cursor:pointer}
.md-watch-resume p{flex-basis:100%;font-size:12px;margin:0}
.md-watch-chrome{transition:opacity .15s ease!important}
.md-watch-frame.md-watch-idle .md-watch-chrome{opacity:0!important;pointer-events:none!important}
.md-watch-frame.md-watch-idle:has(.md-watch-chrome :focus-visible) .md-watch-chrome{opacity:1!important;pointer-events:auto!important}
/* Controls keep their reserved space: hiding never moves the picture or captions. */
.md-watch-frame .md-watch-menu{scroll-margin:16px}
.md-watch .md-watch-setmenu button{min-height:44px}
.reading-catalog>li>a,#patient-questions>nav>a,.reading-nav>a,.breadcrumb>a{display:inline-flex;align-items:center;min-height:44px;padding:8px 4px;box-sizing:border-box}
.reading-catalog>li>a{display:flex;width:100%;font-size:17px;line-height:1.5}
#patient-questions details>summary,#reading-faq-fallback details>summary{min-height:48px;padding:12px 4px;box-sizing:border-box;font-size:16px;line-height:1.5}
.md-patient-reading #patient-questions>nav{display:none}
.md-jump-disclosure{width:100%;border:1px solid var(--wv-line,#a9bcc2);border-radius:8px;padding:0 12px}
.md-jump-disclosure>summary{font-size:15px;min-height:44px;padding:11px 0;box-sizing:border-box;cursor:pointer}
.md-jump-disclosure .md-jump-links{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:12px}
.md-jump-disclosure a{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:760px),(max-height:500px){
 .md-watch-scene-label:not([hidden]){display:flex;flex-direction:column;justify-content:center;box-sizing:border-box;gap:4px;min-height:88px;padding:12px 16px;background:#000;color:#fff;text-align:left}
 .md-watch-scene-label strong{font-size:18px;line-height:1.3;font-weight:650}
 .md-watch-scene-label span{font-size:16px;line-height:1.45;color:#8ee6df}
 .md-watch-frame:fullscreen .md-watch-scene-label{min-height:0;padding:8px 16px}
 .md-patient-guide .md-section-body{padding-inline:0}
 .md-patient-guide .md-patient-safety{padding:12px 14px}
 .md-patient-guide .md-patient-purpose{font-size:16px}
 .md-main-section[data-medicine-section="introduction"]{margin-top:16px}
}
@media(prefers-reduced-motion:reduce){.md-watch-chrome{transition:none!important}}
@media(max-height:500px) and (min-width:641px){
 .md-watch-frame:fullscreen .md-watch-scene-label{gap:0;min-height:0;padding:4px 12px;text-align:center}
 .md-watch-frame:fullscreen .md-watch-scene-label strong{display:none}
 .md-watch-frame:fullscreen .md-watch-scene-label span{font-size:14px;line-height:1.4}
 .md-watch-frame:fullscreen .md-watch-subtitles{min-height:0;padding:4px 12px;font-size:.875rem;line-height:1.4}
 .md-watch-frame:fullscreen .md-watch-chrome{padding:4px 8px}
 .md-watch-frame:fullscreen .md-watch-nowrow{display:flex}
 .md-watch-frame:fullscreen .md-watch-now{display:none}
 .md-watch-frame:fullscreen .md-watch-rail{height:22px}
}
