/* Shared transparent, theme-matched illustrations. No image/body recoloring. */
/* A single missing CJK glyph is supplied without replacing either main font. */
@font-face { font-family: "Lumina Humanist Serif"; src: url("assets/fonts/NotoSerifSC-Humanist-Supplement.woff") format("woff"); font-style: normal; font-weight: 200 900; font-display: swap; unicode-range: U+66FE; }
@font-face { font-family: "Lumina Sans SC"; src: url("assets/fonts/NotoSansSC-Lumina-Supplement.woff") format("woff"); font-style: normal; font-weight: 100 900; font-display: swap; unicode-range: U+66FE; }
.anatomy-bench { min-width: 0; }
.anatomy-bench img { display: block; width: 100%; height: auto; aspect-ratio: 720 / 440; object-fit: contain; }
.anatomy-bench .anatomy-dark { display: none; }
:root[data-theme="dark"] .anatomy-bench .anatomy-light { display: none; }
:root[data-theme="dark"] .anatomy-bench .anatomy-dark { display: block; }
.humanist-home .system-drawing.anatomy-bench { width: 100%; height: auto; opacity: 1; padding: 0; }
.humanist-home .system-drawing.anatomy-bench img { max-width: none; }
.humanist-home button.system-drawing.anatomy-bench {
  display: block; appearance: none; margin: 0; border: 0; border-radius: 0;
  background: transparent; text-align: inherit; cursor: pointer; touch-action: pan-y;
}
.humanist-home button.system-drawing.anatomy-bench:disabled { cursor: default; }
.humanist-home button.system-drawing.anatomy-bench:focus-visible { outline: 1px solid var(--site-ink); outline-offset: 5px; }
.humanist-home .system-figure { min-width: 0; width: 100%; }
.humanist-home .system-drawing.anatomy-bench svg.system-scene-svg,
.motion-study .module-art.anatomy-bench svg.system-scene-svg {
  display: block; width: 100%; height: auto; max-width: none;
  aspect-ratio: 720 / 440; overflow: visible; fill: none; stroke: none;
}
.system-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; }
.system-controls[hidden] { display: none; }
.system-controls button { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 4px 8px; border: 0; border-radius: 3px; background: transparent; color: #575757; font-family: var(--humanist-serif); font-size: 14px; line-height: 1.45; cursor: pointer; }
.system-controls button:disabled { cursor: default; opacity: .65; }
.system-controls button:not(:disabled):hover { color: #222222; background: #e6e6e6; }
.system-controls button:focus-visible, .system-controls input:focus-visible { outline: 1px solid #555555; outline-offset: 4px; }
.system-controls button svg { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.system-controls .motion-play { display: none; }
.system-controls [data-state="paused"] .motion-play { display: block; }
.system-controls [data-state="paused"] .motion-pause { display: none; }
.system-scrub { display: flex; align-items: center; flex: 1 1 130px; gap: 10px; min-height: 44px; margin-left: auto; color: #666666; font-family: var(--humanist-serif); font-size: 13px; }
.system-scrub input { min-width: 60px; width: 100%; height: 28px; accent-color: #5a5a5a; cursor: ew-resize; }
.system-scrub span { flex-shrink: 0; white-space: nowrap; }
:root[data-theme="dark"] .system-controls button { color: #b4b4b4; }
:root[data-theme="dark"] .system-controls button:not(:disabled):hover { color: #eeeeee; background: #2d2d2d; }
:root[data-theme="dark"] .system-controls button:focus-visible, :root[data-theme="dark"] .system-controls input:focus-visible { outline-color: #c7c7c7; }
:root[data-theme="dark"] .system-scrub { color: #aaaaaa; }
:root[data-theme="dark"] .system-scrub input { accent-color: #bdbdbd; }
.motion-study .module-art.anatomy-bench { background: transparent; }
.motion-study .modules-section .system-controls { margin: -14px 0 30px; }
@media (max-width: 560px) {
  .system-controls { gap: 4px 8px; }
  .system-scrub { flex-basis: 100%; margin-left: 8px; }
}
@media print {
  .system-controls { display: none !important; }
  .anatomy-bench .anatomy-dark { display: none !important; }
  .anatomy-bench .anatomy-light { display: block !important; }
}
