/* Four teaching-media grades: a sculptural navigation layer, abstract motion,
   precise reference illustrations, and the supplied posture plates.
   No filter, cropping or imagined anatomical detail is applied to source figures. */
[data-visual-style=sculpture]{--visual-paper:#f1e7dc;--visual-edge:#d9cdc2;--visual-accent:#806376}
[data-visual-style=schematic]{--visual-paper:#f0ecef;--visual-edge:#dcd2db;--visual-accent:#69536f}
[data-visual-style=reference]{--visual-paper:#f5f1e9;--visual-edge:#dcd5ca;--visual-accent:#776653}
[data-visual-style=pose]{--visual-paper:#f4eee7;--visual-edge:#dcd2c8;--visual-accent:#735d69}
.motion-card[data-visual-style]{border-color:var(--visual-edge);background:#fffdfa;transition:border-color .18s,box-shadow .18s}
.motion-card[data-visual-style] .motion-art{background:var(--visual-paper);border-bottom:1px solid var(--visual-edge)}
.motion-card[data-visual-style]:is(:hover,:focus-visible){border-color:var(--visual-accent);box-shadow:0 4px 16px #382c3110}
.motion-card[data-visual-style] .motion-triangle{color:var(--visual-accent)}
.motion-card:is([data-visual-style=reference],[data-visual-style=pose]) .motion-art :is(img,svg){object-fit:contain;mix-blend-mode:normal}
.motion-card[data-visual-style=sculpture] .motion-art svg{object-fit:contain;mix-blend-mode:normal}
.lesson-motion[data-visual-style] .motion-heading h3{font-weight:600;letter-spacing:.005em}
.lesson-motion[data-visual-style] .motion-enlarge{border-color:var(--visual-edge);border-radius:8px}
.lesson-motion[data-visual-style] .motion-slot{min-width:0}
.lesson-motion:is([data-visual-style=reference],[data-visual-style=pose]) :is(.folio-player,.label-player,.anatomy-player,.wb-guide,.sequence-player,.dmotion,.pose-demo,.pm-strip){background-color:#fffdfa;border-color:var(--visual-edge);box-shadow:0 3px 12px #352f2808}
.lesson-motion:is([data-visual-style=reference],[data-visual-style=pose]) :is(.folio-paper){background:linear-gradient(145deg,#f3eee6,#f9f6f0 65%,#eee9e3)}
.lesson-motion[data-visual-style=reference] .folio-views figure{border-color:#dcd5cb;border-radius:8px;background:white}
.lesson-motion[data-visual-style=reference] .folio-views figure :is(img,svg){object-fit:contain}
.lesson-motion[data-visual-style=pose] .folio-views figure :is(img,svg){object-fit:contain}
.lesson-motion[data-visual-style] .motion-pending{border:1px solid var(--visual-edge);border-radius:10px;background:var(--visual-paper);color:#514352}
:is(.reader-body,.task-prose) .book-figure{margin:1.4em auto 1.65em;max-width:100%;min-width:0}
:is(.reader-body,.task-prose) .book-figure>a:first-child{display:block;overflow:hidden;padding:clamp(8px,1.5vw,15px);background:#fdfbf7;border:1px solid #dfd8ce;border-radius:9px}
:is(.reader-body,.task-prose) .book-figure>a:first-child img{display:block;width:auto;max-width:100%;height:auto;object-fit:contain;margin:auto;filter:none;mix-blend-mode:normal}
:is(.reader-body,.task-prose) .book-figure>a:first-child:focus-visible{outline:2px solid #875f91;outline-offset:3px}
:is(.reader-body,.task-prose) .table-scroll{max-width:100%;overflow-x:auto;scrollbar-color:#c3b6c4 #f0ece7}
@media(max-width:760px){
  :is(.reader-body,.task-prose) .book-figure>a:first-child{padding:7px}
  .motion-card[data-visual-style] .motion-card-body{min-width:0}
  .motion-card[data-visual-style] .motion-card-body strong{overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){.motion-card[data-visual-style]{transition:none}}
