.history-page .history-muscle-map {
  --muscle-ink: #f7fbff;
  --muscle-muted: #9fb0c3;
  --muscle-line: rgba(148, 163, 184, 0.22);
  --muscle-panel: #07111f;
  --muscle-panel-soft: #0c1b2d;
  --muscle-accent: #ff6b18;
  --muscle-focus: #45d8ff;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 28px;
  padding: clamp(18px, 2.5vw, 30px);
  overflow: hidden;
  color: var(--muscle-ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(30, 116, 174, 0.18), transparent 34%),
    linear-gradient(145deg, #0a1727 0%, #07111f 58%, #09131f 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(2, 8, 23, 0.24);
  box-sizing: border-box;
  isolation: isolate;
}

.history-page .history-muscle-map *,
.history-page .history-muscle-map *::before,
.history-page .history-muscle-map *::after {
  box-sizing: border-box;
}

.history-page .history-muscle-map__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.history-page .history-muscle-map__heading {
  min-width: 0;
}

.history-page .history-muscle-map__eyebrow,
.history-page .history-muscle-map__summary-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #74dfff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.history-page .history-muscle-map__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.history-page .history-muscle-map__subtitle {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muscle-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.history-page .history-muscle-map__periods,
.history-page .history-muscle-map__views {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  flex: 0 0 auto;
  border: 1px solid var(--muscle-line);
  border-radius: 12px;
  background: rgba(2, 8, 23, 0.56);
}

.history-page .history-muscle-map__period-button,
.history-page .history-muscle-map__view-button,
.history-page .history-muscle-map__retry {
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 12px;
  color: #b8c7d8;
  background: transparent;
  border: 0;
  border-radius: 9px;
  box-shadow: none;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  touch-action: manipulation;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.history-page .history-muscle-map__period-button:hover,
.history-page .history-muscle-map__view-button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.history-page .history-muscle-map__period-button[aria-pressed="true"],
.history-page .history-muscle-map__view-button[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(135deg, #f35b11, #ff7b2f);
  box-shadow: 0 7px 18px rgba(255, 107, 24, 0.22);
}

.history-page .history-muscle-map__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  margin-bottom: 14px;
  padding: 8px 12px;
  color: #b7c5d4;
  background: rgba(8, 26, 44, 0.72);
  border: 1px solid rgba(104, 165, 202, 0.15);
  border-radius: 11px;
  font-size: 0.8rem;
}

.history-page .history-muscle-map[data-status="error"] .history-muscle-map__status {
  color: #ffd3bf;
  border-color: rgba(255, 107, 24, 0.34);
  background: rgba(89, 32, 13, 0.28);
}

.history-page .history-muscle-map__retry {
  min-height: 32px;
  padding-inline: 10px;
  color: #fff;
  background: rgba(255, 107, 24, 0.2);
}

.history-page .history-muscle-map__content {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.82fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: stretch;
}

.history-page .history-muscle-map__visual-card,
.history-page .history-muscle-map__side {
  min-width: 0;
  border: 1px solid var(--muscle-line);
  border-radius: 18px;
  background: rgba(5, 15, 27, 0.72);
}

.history-page .history-muscle-map__visual-card {
  padding: 12px;
  overflow: hidden;
}

.history-page .history-muscle-map__visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.history-page .history-muscle-map__visual-label {
  margin: 0;
  color: #b8c7d8;
  font-size: 0.8rem;
  font-weight: 700;
}

.history-page .history-muscle-map__figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  justify-content: center;
}

.history-page .history-muscle-map[data-view="front"] .history-muscle-map__figures,
.history-page .history-muscle-map[data-view="back"] .history-muscle-map__figures {
  grid-template-columns: minmax(240px, 380px);
}

.history-page .history-muscle-map[data-view="front"] .history-muscle-map__figure--back,
.history-page .history-muscle-map[data-view="back"] .history-muscle-map__figure--front {
  display: none;
}

.history-page .history-muscle-map__figure {
  width: 100%;
  min-width: 0;
}

.history-page .history-muscle-map__figure-window {
  position: relative;
  width: 100%;
  aspect-ratio: 650 / 1024;
  overflow: hidden;
  background: #06111f;
  border: 1px solid rgba(122, 181, 219, 0.12);
  border-radius: 14px;
}

.history-page .history-muscle-map__body-image {
  position: absolute;
  top: 0;
  width: auto;
  max-width: none;
  height: 100%;
  margin: 0;
  user-select: none;
  pointer-events: none;
}

.history-page .history-muscle-map__body-image--front {
  left: -27%;
}

.history-page .history-muscle-map__body-image--back {
  left: -112.4%;
}

.history-page .history-muscle-map__view-badge {
  position: absolute;
  z-index: 4;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  color: #cae7f7;
  background: rgba(2, 8, 23, 0.68);
  border: 1px solid rgba(148, 195, 222, 0.24);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  pointer-events: none;
}

.history-page .history-muscle-map__region {
  position: absolute;
  z-index: 2;
  left: var(--region-x);
  top: var(--region-y);
  width: var(--region-w);
  height: var(--region-h);
  pointer-events: none;
}

.history-page .history-muscle-map__region-visual {
  position: absolute;
  inset: 2px;
  display: block;
  opacity: 0;
  background: rgba(255, 107, 24, 0.08);
  border: 1px solid rgba(255, 138, 75, 0.26);
  border-radius: 48%;
  mix-blend-mode: screen;
  transition: opacity 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.history-page .history-muscle-map__label-control {
  position: absolute;
  z-index: 4;
  left: var(--label-x);
  top: var(--label-y);
  display: flex;
  width: var(--label-w);
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 7px 0;
  align-items: center;
  justify-content: center;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.history-page .history-muscle-map .history-muscle-map__label-control,
.history-page .history-muscle-map .history-muscle-map__label-control:hover,
.history-page .history-muscle-map .history-muscle-map__label-control:focus,
.history-page .history-muscle-map .history-muscle-map__label-control:active {
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: none;
  transition: none;
}

.history-page .history-muscle-map .history-muscle-map__label-control::after,
.history-page .history-muscle-map .history-muscle-map__label-control:hover::after {
  display: none;
  content: none;
}

.history-page .history-muscle-map__region-label {
  display: inline-flex;
  width: 100%;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  padding: 4px 5px;
  color: #f8fcff;
  background: linear-gradient(180deg, rgba(8, 22, 36, 0.94), rgba(3, 12, 22, 0.9));
  border: 1px solid rgba(158, 220, 244, 0.56);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(1, 7, 14, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: clamp(0.625rem, 0.72vw, 0.7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px #020810;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.history-page .history-muscle-map__region-label::before {
  width: 5px;
  height: 5px;
  margin-right: 4px;
  flex: 0 0 auto;
  background: #607589;
  border-radius: 50%;
  content: '';
}

.history-page .history-muscle-map[data-status="ready"] .history-muscle-map__label-control[data-level="1"] .history-muscle-map__region-label,
.history-page .history-muscle-map[data-status="ready"] .history-muscle-map__label-control[data-level="2"] .history-muscle-map__region-label,
.history-page .history-muscle-map[data-status="ready"] .history-muscle-map__label-control[data-level="3"] .history-muscle-map__region-label,
.history-page .history-muscle-map[data-status="ready"] .history-muscle-map__label-control[data-level="4"] .history-muscle-map__region-label {
  border-color: rgba(255, 148, 85, 0.92);
  box-shadow: 0 2px 9px rgba(1, 7, 14, 0.8), 0 0 0 1px rgba(255, 107, 24, 0.16);
}

.history-page .history-muscle-map[data-status="ready"] .history-muscle-map__label-control[data-level="1"] .history-muscle-map__region-label::before,
.history-page .history-muscle-map[data-status="ready"] .history-muscle-map__label-control[data-level="2"] .history-muscle-map__region-label::before,
.history-page .history-muscle-map[data-status="ready"] .history-muscle-map__label-control[data-level="3"] .history-muscle-map__region-label::before,
.history-page .history-muscle-map[data-status="ready"] .history-muscle-map__label-control[data-level="4"] .history-muscle-map__region-label::before {
  background: #ff7a2d;
  box-shadow: 0 0 6px rgba(255, 107, 24, 0.68);
}

.history-page .history-muscle-map[data-status="ready"] .history-muscle-map__label-control[aria-pressed="true"] .history-muscle-map__region-label,
.history-page .history-muscle-map[data-status="ready"] .history-muscle-map__label-control[data-preview="true"] .history-muscle-map__region-label,
.history-page .history-muscle-map__label-control:focus-visible .history-muscle-map__region-label {
  color: #04111e;
  background: #8cecff;
  border-color: #d9faff;
  box-shadow: 0 3px 9px rgba(1, 7, 14, 0.82), 0 0 0 2px rgba(69, 216, 255, 0.2);
  text-shadow: none;
}

.history-page .history-muscle-map[data-status="ready"] .history-muscle-map__label-control[aria-pressed="true"] .history-muscle-map__region-label::before,
.history-page .history-muscle-map[data-status="ready"] .history-muscle-map__label-control[data-preview="true"] .history-muscle-map__region-label::before,
.history-page .history-muscle-map__label-control:focus-visible .history-muscle-map__region-label::before {
  background: #0a5166;
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .history-page .history-muscle-map[data-status="ready"] .history-muscle-map__label-control:not(:disabled):hover .history-muscle-map__region-label {
    color: #04111e;
    background: #8cecff;
    border-color: #d9faff;
    box-shadow: 0 3px 9px rgba(1, 7, 14, 0.82), 0 0 0 2px rgba(69, 216, 255, 0.2);
    text-shadow: none;
  }
}

.history-page .history-muscle-map[data-status="ready"] .history-muscle-map__region-visual {
  opacity: 0.28;
}

.history-page .history-muscle-map__region[data-level="1"] .history-muscle-map__region-visual {
  opacity: 0.5;
  background: rgba(255, 107, 24, 0.18);
}

.history-page .history-muscle-map__region[data-level="2"] .history-muscle-map__region-visual {
  opacity: 0.66;
  background: rgba(255, 107, 24, 0.27);
}

.history-page .history-muscle-map__region[data-level="3"] .history-muscle-map__region-visual {
  opacity: 0.82;
  background: rgba(255, 100, 18, 0.4);
}

.history-page .history-muscle-map__region[data-level="4"] .history-muscle-map__region-visual {
  opacity: 0.96;
  background: rgba(255, 91, 12, 0.54);
  border-color: rgba(255, 199, 157, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 199, 157, 0.26), inset 0 0 14px rgba(255, 94, 13, 0.3);
}

.history-page .history-muscle-map[data-status="ready"] .history-muscle-map__region[data-preview="true"] .history-muscle-map__region-visual,
.history-page .history-muscle-map[data-status="ready"] .history-muscle-map__region[data-selected="true"] .history-muscle-map__region-visual {
  opacity: 1;
  background: rgba(255, 107, 24, 0.58);
  border: 2px solid #7ee7ff;
  box-shadow: inset 0 0 0 2px rgba(69, 216, 255, 0.14), inset 0 0 12px rgba(255, 107, 24, 0.4);
}

.history-page .history-muscle-map[data-status="ready"] .history-muscle-map__region[data-level="0"][data-selected="true"] .history-muscle-map__region-visual {
  background: rgba(69, 216, 255, 0.08);
  border-style: dashed;
  border-color: #7ee7ff;
  box-shadow: inset 0 0 0 2px rgba(69, 216, 255, 0.12);
}

.history-page .history-muscle-map__region--torso .history-muscle-map__region-visual {
  clip-path: polygon(6% 12%, 34% 0, 50% 10%, 66% 0, 94% 12%, 88% 78%, 50% 100%, 12% 78%);
}

.history-page .history-muscle-map__region--back .history-muscle-map__region-visual {
  clip-path: polygon(12% 0, 42% 5%, 50% 14%, 58% 5%, 88% 0, 96% 28%, 78% 74%, 62% 100%, 38% 100%, 22% 74%, 4% 28%);
}

.history-page .history-muscle-map__region--core .history-muscle-map__region-visual {
  clip-path: polygon(20% 0, 80% 0, 93% 30%, 76% 100%, 24% 100%, 7% 30%);
}

.history-page .history-muscle-map__region--shoulder-left .history-muscle-map__region-visual,
.history-page .history-muscle-map__region--arm-left .history-muscle-map__region-visual,
.history-page .history-muscle-map__region--leg-left .history-muscle-map__region-visual,
.history-page .history-muscle-map__region--calf-left .history-muscle-map__region-visual {
  transform: rotate(8deg);
}

.history-page .history-muscle-map__region--shoulder-right .history-muscle-map__region-visual,
.history-page .history-muscle-map__region--arm-right .history-muscle-map__region-visual,
.history-page .history-muscle-map__region--leg-right .history-muscle-map__region-visual,
.history-page .history-muscle-map__region--calf-right .history-muscle-map__region-visual {
  transform: rotate(-8deg);
}

.history-page .history-muscle-map__region--glute-left .history-muscle-map__region-visual {
  border-radius: 58% 42% 58% 48%;
}

.history-page .history-muscle-map__region--glute-right .history-muscle-map__region-visual {
  border-radius: 42% 58% 48% 58%;
}

.history-page .history-muscle-map__side {
  display: flex;
  flex-direction: column;
  padding: 14px;
}

.history-page .history-muscle-map__summary {
  padding: 17px;
  background:
    linear-gradient(135deg, rgba(17, 50, 75, 0.88), rgba(9, 26, 44, 0.9));
  border: 1px solid rgba(89, 194, 235, 0.2);
  border-radius: 14px;
}

.history-page .history-muscle-map__summary-title {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.history-page .history-muscle-map__summary-anatomy,
.history-page .history-muscle-map__summary-last {
  margin: 5px 0 0;
  color: #a9bbcd;
  font-size: 0.8rem;
  line-height: 1.4;
}

.history-page .history-muscle-map__summary-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 11px;
}

.history-page .history-muscle-map__summary-metric {
  min-width: 0;
  padding: 10px;
  color: #9fb0c3;
  background: rgba(2, 8, 23, 0.36);
  border-radius: 10px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.history-page .history-muscle-map__summary-value {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
}

.history-page .history-muscle-map__list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 17px 3px 8px;
}

.history-page .history-muscle-map__list-heading h3,
.history-page .history-muscle-map__list-heading span {
  margin: 0;
  color: #e8f1fa;
  font-size: 0.82rem;
}

.history-page .history-muscle-map__list-heading span {
  color: #71869b;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.history-page .history-muscle-map__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.history-page .history-muscle-map__muscle-button {
  min-width: 0;
  min-height: 58px;
  margin: 0;
  padding: 9px 10px;
  color: #dce8f3;
  text-align: left;
  background: rgba(10, 30, 49, 0.72);
  border: 1px solid rgba(124, 157, 183, 0.13);
  border-radius: 10px;
  box-shadow: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.history-page .history-muscle-map__muscle-button:not(:disabled):hover {
  background: rgba(16, 43, 67, 0.9);
  border-color: rgba(96, 195, 231, 0.28);
}

.history-page .history-muscle-map[data-status="ready"] .history-muscle-map__muscle-button[aria-pressed="true"] {
  background: rgba(19, 61, 87, 0.94);
  border-color: rgba(87, 220, 255, 0.52);
  box-shadow: inset 3px 0 0 var(--muscle-accent);
}

.history-page .history-muscle-map__label-control:disabled {
  cursor: default;
  opacity: 0.72;
}

.history-page .history-muscle-map__muscle-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.history-page .history-muscle-map__muscle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.history-page .history-muscle-map__muscle-name {
  overflow: hidden;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-page .history-muscle-map__muscle-count {
  flex: 0 0 auto;
  color: #95adc2;
  font-size: 0.65rem;
  font-variant-numeric: tabular-nums;
}

.history-page .history-muscle-map__bar {
  display: block;
  height: 3px;
  margin-top: 8px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.14);
  border-radius: 999px;
}

.history-page .history-muscle-map__bar-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #ff6b18, #ffad65);
  border-radius: inherit;
  transition: width 260ms ease;
}

.history-page .history-muscle-map__unmapped {
  margin: 11px 2px 0;
  color: #90a5b8;
  font-size: 0.7rem;
  line-height: 1.45;
}

.history-page .history-muscle-map button:focus-visible {
  outline: 3px solid var(--muscle-focus);
  outline-offset: 3px;
}

.history-page .history-muscle-map button.history-muscle-map__label-control:focus-visible {
  outline-width: 2px;
  outline-offset: -2px;
}

@media (max-width: 1040px) {
  .history-page .history-muscle-map__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .history-page .history-muscle-map__side {
    display: grid;
    grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
    gap: 14px;
  }

  .history-page .history-muscle-map__list-heading,
  .history-page .history-muscle-map__list,
  .history-page .history-muscle-map__unmapped {
    grid-column: 2;
  }

  .history-page .history-muscle-map__list-heading {
    margin-top: 2px;
  }

  .history-page .history-muscle-map__summary {
    grid-row: 1 / span 3;
  }
}

@media (max-width: 760px) {
  .history-page .history-muscle-map {
    margin-bottom: 20px;
    padding: 16px;
    border-radius: 20px;
  }

  .history-page .history-muscle-map__header {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .history-page .history-muscle-map__periods {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
  }

  .history-page .history-muscle-map__period-button {
    width: 100%;
    padding-inline: 5px;
  }

  .history-page .history-muscle-map__side {
    display: flex;
  }

  .history-page .history-muscle-map__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .history-page .history-muscle-map__view-button--both {
    display: none;
  }

  .history-page .history-muscle-map__figures,
  .history-page .history-muscle-map[data-view="front"] .history-muscle-map__figures,
  .history-page .history-muscle-map[data-view="back"] .history-muscle-map__figures,
  .history-page .history-muscle-map[data-view="both"] .history-muscle-map__figures {
    grid-template-columns: minmax(0, 360px);
  }

  .history-page .history-muscle-map[data-view="both"] .history-muscle-map__figure--back,
  .history-page .history-muscle-map[data-view="front"] .history-muscle-map__figure--back,
  .history-page .history-muscle-map[data-view="back"] .history-muscle-map__figure--front {
    display: none;
  }

  .history-page .history-muscle-map[data-view="back"] .history-muscle-map__figure--back,
  .history-page .history-muscle-map[data-view="front"] .history-muscle-map__figure--front,
  .history-page .history-muscle-map[data-view="both"] .history-muscle-map__figure--front {
    display: block;
  }

  .history-page .history-muscle-map__visual-top {
    align-items: stretch;
    flex-direction: column;
  }

  .history-page .history-muscle-map__views {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .history-page .history-muscle-map__view-button {
    width: 100%;
  }

  .history-page .history-muscle-map__region-label {
    padding: 3px 4px;
    font-size: clamp(0.625rem, 2.6vw, 0.68rem);
    letter-spacing: 0;
  }
}

@media (max-width: 420px) {
  .history-page .history-muscle-map {
    width: 100%;
    padding: 12px;
    border-radius: 16px;
  }

  .history-page .history-muscle-map__status {
    align-items: flex-start;
    flex-direction: column;
  }

  .history-page .history-muscle-map__retry {
    width: 100%;
  }

  .history-page .history-muscle-map__visual-card,
  .history-page .history-muscle-map__side {
    border-radius: 14px;
  }

  .history-page .history-muscle-map__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .history-page .history-muscle-map__summary-metrics {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .history-page .history-muscle-map *,
  .history-page .history-muscle-map *::before,
  .history-page .history-muscle-map *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  .history-page .history-muscle-map__region-visual,
  .history-page .history-muscle-map__region[data-selected="true"] .history-muscle-map__region-visual {
    opacity: 1;
    background: transparent;
    border: 3px solid ButtonText;
    forced-color-adjust: auto;
  }

  .history-page .history-muscle-map__region-label {
    color: ButtonText;
    background: Canvas;
    border: 1px solid ButtonText;
    box-shadow: none;
    text-shadow: none;
    forced-color-adjust: auto;
  }

  .history-page .history-muscle-map__label-control[aria-pressed="true"] .history-muscle-map__region-label {
    color: HighlightText;
    background: Highlight;
    border-color: Highlight;
  }

  .history-page .history-muscle-map__muscle-button[aria-pressed="true"] {
    outline: 3px solid Highlight;
  }
}
