/* One smooth anatomy surface, shared by picker, exercise editor and analytics. */
.muscle-map-svg.smooth-anatomy{
  --anatomy-body:color-mix(in srgb,var(--panel2) 85%,var(--text) 15%);
  --anatomy-neutral:color-mix(in srgb,var(--panel2) 72%,var(--text) 28%);
  --anatomy-edge:color-mix(in srgb,var(--panel2) 78%,var(--muted) 22%);
  --anatomy-line:color-mix(in srgb,var(--muted) 45%,var(--panel2));
  display:block;width:100%;height:auto;max-height:360px;margin:8px auto 10px;
  overflow:visible;shape-rendering:geometricPrecision;isolation:isolate;
}
.smooth-anatomy .anatomy-body,.smooth-anatomy .anatomy-head{
  fill:var(--anatomy-body);stroke:var(--anatomy-edge);stroke-width:1.4;stroke-linejoin:round;
}
.smooth-anatomy .muscle-zone{
  opacity:1!important;stroke:var(--anatomy-body)!important;stroke-width:1.35!important;
  stroke-linecap:round;stroke-linejoin:round;transition:fill .15s ease,stroke .15s ease;
}
.smooth-anatomy .muscle-zone.off{fill:var(--anatomy-neutral)!important}
.smooth-anatomy .muscle-zone.low{fill:#89bda1!important}
.smooth-anatomy .muscle-zone.medium{fill:#e1ba68!important}
.smooth-anatomy .muscle-zone.high{fill:#eaa073!important}
.smooth-anatomy .muscle-zone.peak{fill:#e77c70!important}
.smooth-anatomy .anatomy-line{
  fill:none;stroke:var(--anatomy-line);stroke-width:1.15;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;
}
.smooth-anatomy .anatomy-tendon{fill:var(--anatomy-neutral);opacity:.55;pointer-events:none}
.smooth-anatomy .anatomy-divider{fill:none;stroke:var(--line);stroke-width:1;opacity:.5;pointer-events:none}
.smooth-anatomy .anatomy-view-label{
  fill:var(--muted);font:600 14px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:.01em;pointer-events:none;
}
.smooth-anatomy .anatomy-region[role=button]{cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent}
.smooth-anatomy .anatomy-region[role=button]:hover .muscle-zone,
.smooth-anatomy .anatomy-region[role=button]:focus-visible .muscle-zone{
  stroke:var(--accent)!important;stroke-width:2.4!important;filter:brightness(1.12);
}
.picker-muscle-map .muscle-map-svg.smooth-anatomy{max-height:350px;min-height:250px;margin:8px auto 3px}
.editor-muscle-figure .muscle-map-svg.smooth-anatomy{max-height:370px;min-height:270px}
.workout-technique-muscles .muscle-map-svg.smooth-anatomy{height:160px;max-height:160px;margin:0}
.history-exercise-muscles .muscle-map-svg.smooth-anatomy{height:94px;max-height:94px}
.exercise-muscle-mini .muscle-map-svg.smooth-anatomy{max-height:270px}
.workout-plan-muscles-body .muscle-map-svg.smooth-anatomy{max-height:360px}
body[data-theme=light] .muscle-map-svg.smooth-anatomy{
  --anatomy-body:#ecece6;--anatomy-neutral:#d2d6d0;--anatomy-edge:#c8cec7;--anatomy-line:#a9b4aa;
}
@media(max-width:360px){
  .picker-muscle-map .muscle-map-svg.smooth-anatomy{max-height:320px;min-height:240px}
}
@media(prefers-reduced-motion:reduce){.smooth-anatomy .muscle-zone{transition:none}}
