/* Healthcare Playbook Viewer · namespaced CSS · no external fonts or frameworks */
:where(.hcbook-body) {
  margin: 0; background: #1a1a1a; color: #f5f7fa;
  height: 100%; height: 100dvh; overflow: hidden; overscroll-behavior: none;
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
}
#hcbook-viewer, #hcbook-viewer * { box-sizing: border-box; }
#hcbook-viewer { --hcbook-muted: #9199aa; --hcbook-accent: #65a6f8; --hcbook-hairline: #2b2b2b; background: #1a1a1a; width: 100%; min-height: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; overscroll-behavior: none; color: #f5f7fa; font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif; line-height: 1.35; }
#hcbook-viewer button, #hcbook-viewer input { font: inherit; }
#hcbook-viewer button { -webkit-tap-highlight-color: transparent; }
#hcbook-viewer svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
#hcbook-viewer .hcbook-stage { position: relative; min-width: 0; min-height: 0; flex: 1; background: #1a1a1a; overflow: hidden; overscroll-behavior: none; touch-action: none; display: block; scrollbar-width: thin; scrollbar-color: #526079 transparent; }
#hcbook-viewer .hcbook-stage-inner { position: relative; width: 100%; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 24px 30px; }
#hcbook-viewer canvas { display: block; max-width: none; touch-action: none; user-select: none; -webkit-user-select: none; cursor: default; outline: none; }
#hcbook-viewer canvas.hcbook-can-drag { cursor: grab; }
#hcbook-viewer canvas.hcbook-dragging { cursor: grabbing; touch-action: none; }
#hcbook-viewer .hcbook-loader { position: absolute; inset: 0; z-index: 5; background: #1a1a1a; display: flex; align-items: center; justify-content: center; gap: 11px; color: #b8c3d2; font-size: 13px; pointer-events: none; transition: opacity .25s; }
#hcbook-viewer .hcbook-loader.hcbook-hidden { opacity: 0; visibility: hidden; }
#hcbook-viewer .hcbook-spinner { width: 18px; height: 18px; border: 2px solid #65748a; border-top-color: #d2e4fa; border-radius: 50%; animation: hcbook-spin .8s linear infinite; }
@keyframes hcbook-spin { to { transform: rotate(360deg); } }
#hcbook-viewer .hcbook-hint { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); color: #94a0b1; font-size: 9px; letter-spacing: .12em; font-weight: 650; pointer-events: none; white-space: nowrap; transition: opacity .4s; opacity: .85; }
#hcbook-viewer .hcbook-hint.hcbook-hint-off { opacity: 0; }
#hcbook-viewer .hcbook-footer { min-height: 70px; padding: 10px 30px; background: #1a1a1a; border-top: 1px solid #2b2b2b; display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
#hcbook-viewer .hcbook-nav-cluster, #hcbook-viewer .hcbook-tools-cluster { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
#hcbook-viewer .hcbook-track-cluster { display: flex; flex: 1 1 auto; min-width: 50px; align-items: center; padding: 0 10px; }

#hcbook-viewer .hcbook-icon-btn, #hcbook-viewer .hcbook-tool-btn { border: 1px solid transparent; background: transparent; color: #d5dae5; display: inline-flex; justify-content: center; align-items: center; border-radius: 6px; height: 39px; cursor: pointer; transition: background .15s, color .15s; }
#hcbook-viewer .hcbook-tool-btn { text-decoration: none; }
#hcbook-viewer .hcbook-download-footer { border: 1px solid #3a3a3a; }
#hcbook-viewer .hcbook-download-footer:hover { border-color: #5a5a5a; }
#hcbook-viewer .hcbook-icon-btn { width: 39px; padding: 8px; }
#hcbook-viewer .hcbook-tool-btn { gap: 9px; padding: 0 11px; font-size: 11.5px; font-weight: 550; white-space: nowrap; }
#hcbook-viewer .hcbook-icon-btn:hover:not(:disabled), #hcbook-viewer .hcbook-tool-btn:hover { background: #2a3443; color: white; }
#hcbook-viewer .hcbook-icon-btn:focus-visible, #hcbook-viewer .hcbook-tool-btn:focus-visible, #hcbook-viewer a:focus-visible, #hcbook-viewer input:focus-visible { outline: 2px solid #83b5ff; outline-offset: 2px; }
#hcbook-viewer .hcbook-icon-btn:disabled { opacity: .33; cursor: not-allowed; }
#hcbook-viewer .hcbook-tool-btn[aria-pressed="true"] { color: #c7e0ff; background: #223952; }
#hcbook-viewer .hcbook-page-status { display: flex; align-items: baseline; min-width: 108px; justify-content: center; gap: 7px; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
#hcbook-viewer .hcbook-page-range { color: #f2f6fc; font-weight: 680; }
#hcbook-viewer .hcbook-page-separator, #hcbook-viewer .hcbook-total { color: #949eaf; }
#hcbook-viewer .hcbook-slider { display: block; width: 100%; min-width: 40px; height: 5px; border-radius: 3px; appearance: none; -webkit-appearance: none; background: #445060; cursor: pointer; accent-color: #8abdf9; }
#hcbook-viewer .hcbook-slider::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #d5e9ff; border: 2px solid #6da5e5; box-shadow: 0 0 0 3px #1a1a1a; }
#hcbook-viewer .hcbook-slider::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: #d5e9ff; border: 2px solid #6da5e5; }
#hcbook-viewer .hcbook-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#hcbook-viewer:fullscreen, #hcbook-viewer:-webkit-full-screen { width: 100vw; height: 100dvh; }
@media (max-width: 720px) {
 #hcbook-viewer { min-height: 0; }
 #hcbook-viewer .hcbook-download-footer span, #hcbook-viewer .hcbook-tool-btn span { display: none; }
 #hcbook-viewer .hcbook-stage-inner { padding: 18px 12px; }
 #hcbook-viewer .hcbook-footer { min-height: 63px; padding: 8px 11px; gap: 8px; }
 #hcbook-viewer .hcbook-page-status { min-width: 65px; font-size: 11px; gap: 4px; }
 #hcbook-viewer .hcbook-icon-btn { width: 32px; height: 36px; }
 #hcbook-viewer .hcbook-tool-btn { width: 32px; height: 36px; padding: 6px; }
 #hcbook-viewer .hcbook-nav-cluster, #hcbook-viewer .hcbook-tools-cluster { gap: 1px; }
 #hcbook-viewer .hcbook-hint { font-size: 8px; bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
 #hcbook-viewer *, #hcbook-viewer *::before, #hcbook-viewer *::after { transition-duration: .01ms !important; }
 #hcbook-viewer .hcbook-spinner { animation-duration: 1.5s; }
}