/* MASSIMOBILITY — v1.90 | refinement of existing navigation, learning settings
   and image presentation. No changes to study data or translation coverage. */
:root { --mm-v190-cyan:#8edcff; --mm-v190-line:rgba(145,207,236,.22); }
.site-header .mm-learning-trigger {
  width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;
  padding:0;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid rgba(151,211,239,.32);border-radius:13px;
  background:linear-gradient(155deg,rgba(40,89,117,.68),rgba(8,37,59,.92));
  color:#edfaff;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 4px 12px rgba(2,13,28,.13);
  transition:background .2s ease,box-shadow .2s ease,transform .2s ease,border-color .2s ease;
}
.site-header .mm-learning-trigger svg {width:21px;height:21px;opacity:.98}
.site-header .mm-learning-trigger:hover,
.site-header .mm-learning-trigger[aria-expanded="true"] {
  transform:translateY(-1px);border-color:#78d5fd;
  background:linear-gradient(160deg,#175b7c,#0c3454);
  box-shadow:0 0 0 3px rgba(72,180,233,.10),0 7px 18px rgba(0,22,38,.2)
}
.mm-learning-panel {
  background:linear-gradient(160deg,#0d2d43 0%,#071f31 100%);
  color:#ecf8ff;border:1px solid rgba(148,215,242,.38);border-radius:20px;
  width:min(390px,calc(100vw - 24px));padding:23px;
  box-shadow:0 28px 85px rgba(1,11,25,.55),inset 0 1px 0 rgba(255,255,255,.08);
  scrollbar-color:#276382 #092638;
}
.mm-learning-panel h2 {color:#f5fbff;font-size:25px}
.mm-learning-panel .mm-learning-kicker {color:#8bcde9;letter-spacing:.15em}
.mm-learning-panel .mm-learning-intro {color:#bbd0df;font-size:13px;margin:13px 0 18px}
.mm-learning-panel .mm-learning-dismiss {
  color:#d4eafa;background:rgba(139,201,228,.12);border:1px solid rgba(139,201,228,.22);
  border-radius:11px;font-size:23px;width:37px;height:37px;transition:background .18s ease;
}
.mm-learning-panel .mm-learning-dismiss:hover {background:rgba(139,201,228,.24)}
.mm-learning-panel .mm-learning-choices {gap:9px}
.mm-learning-panel .mm-learning-choices button {
  min-height:99px;border-radius:13px;padding:15px;
  color:#edfaff;background:rgba(7,34,53,.77);border:1px solid rgba(137,196,223,.3);
  box-shadow:none;transition:border-color .18s,background .18s,box-shadow .18s;
}
.mm-learning-panel .mm-learning-choices button:hover {background:#103950;border-color:#76c8ed}
.mm-learning-panel .mm-learning-choices button.is-selected {
  padding:14px;background:linear-gradient(135deg,rgba(23,99,137,.6),rgba(10,55,83,.76));
  border:2px solid #6bcbf5;box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.mm-learning-panel .mm-learning-choice-main {font-size:15px}
.mm-learning-panel .mm-learning-choice-main strong {color:#fff}
.mm-learning-panel .mm-learning-audience {color:#9fddf6}
.mm-learning-panel .mm-learning-choice-desc {color:#bfd4df}
.mm-learning-panel .mm-learning-check {background:#75d3f4;color:#082e49}
.mm-learning-panel .mm-learning-note {color:#acc2d0;border-color:rgba(136,191,221,.2);font-size:11px}
.mm-learning-panel .mm-language-section {border-top:1px solid rgba(136,191,221,.25);margin-top:16px;padding-top:12px}
.mm-learning-panel .mm-language-section :is(h3,p) {color:#cbe3f0}
.mm-learning-panel .mm-language-options button {border:1px solid #467c99;background:#082a42;color:#e8f8ff}

/* Images: preserve complete educational illustrations and accurate aspect ratios. */
body[data-page="index.html"] .hero-media .hero-slideshow {
  aspect-ratio:16 / 10;max-width:760px;
}
body[data-page="index.html"] .hero-media .hero-slide {object-fit:cover!important}
body[data-page="anatomical-mode.html"] .mm-3d-experience .mm-3d-detail-frame img,
body[data-page="anatomical-mode.html"] .mm-3d-gallery-view img,
body[data-page="anatomical-mode.html"] .mm-3d-related-card img {
  object-fit:contain!important;object-position:center!important;
}
body[data-page="anatomical-mode.html"] .mm-3d-gallery-view img,
body[data-page="anatomical-mode.html"] .mm-3d-related-card img {background:#081d2f}
body[data-page="anatomical-analogies.html"] .aa-original-image img,
body[data-page="anatomical-analogies.html"] .aa-coat__figure img {max-width:100%;height:auto;object-fit:contain}
body[data-page="body.html"] .condition-grid .region-expansion-overview-card .region-photo,
body[data-page="body.html"] .condition-grid .card-photo {overflow:hidden}
body[data-page="body.html"] .condition-grid .region-expansion-overview-card .region-photo img {display:block;width:100%;height:100%;object-fit:cover;object-position:50% 46%}
body[data-page="restore.html"] .rs-hero-art>img {object-position:50% 40%}
body[data-page="restore.html"] .rs-scene-art img {object-position:50% 44%}


@media(max-width:760px){body[data-page="index.html"] .hero-media .hero-slideshow{aspect-ratio:16/11;max-width:100%}.mm-learning-panel{max-height:calc(100dvh - 88px);padding:19px}}
@media(max-width:370px){.mm-learning-panel{padding:16px}}
