.module-map {
  --map-ground: #202526;
  --map-light: #f6f6f1;
  --map-soft: #bfc6c4;
  margin-top: var(--section-space);
  color: var(--map-light);
}
.module-map-surface {
  background: var(--map-ground);
  clip-path: inset(0 var(--map-inset, 0px) var(--map-bottom, 0px));
}
.module-map-layout {
  margin-inline: auto;
  max-width: calc(1248px + 2 * var(--content-edge));
  padding: clamp(36px, 4vw, 58px) var(--content-edge) clamp(24px, 3.2vw, 44px);
}
.module-map-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(44px, 1fr) minmax(0, max-content) minmax(44px, 1fr);
  align-items: center;
  min-height: 44px;
}
.module-map-heading .product-heading {
  grid-column: 2;
  grid-row: 1;
  color: inherit;
  text-align: center;
}
.map-anchor { position: absolute; top: 0; pointer-events: none; }
.module-map [hidden] { display: none; }
.module-map button {
  appearance: none;
  border: 0;
  min-height: 44px;
  background: transparent;
  color: var(--map-soft);
  font: 400 14px/1.3 var(--sans);
  white-space: nowrap;
  cursor: pointer;
}
.module-map :is(button, [data-module-viewer]):focus-visible {
  outline: 2px solid var(--map-light);
  outline-offset: 2px;
}
.module-map .map-reset {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 3px;
  font-size: 13px;
}
.module-map .map-reset[hidden] { display: none; }
.map-reset:is(:hover, :focus-visible) { color: var(--map-light); }
.map-reset [aria-hidden] { font-size: 18px; }
.map-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: clamp(270px, min(44vw, 64svh), 610px);
  margin: clamp(10px, 1.2vw, 18px) auto 10px;
}
.module-viewer, .map-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}
.map-poster { display: block; object-fit: contain; }
.module-viewer { opacity: 0; pointer-events: none; }
.module-viewer.is-ready { opacity: 1; pointer-events: auto; cursor: grab; }
.module-viewer.is-ready:active { cursor: grabbing; }
.module-viewer canvas { display: block; width: 100%; height: 100%; }
.map-stage:has(.is-ready) .map-poster { visibility: hidden; }
.map-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 13px;
  margin: 14px auto 0;
}
.map-systems {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 6px;
  max-width: 100%;
}
.map-systems button {
  min-width: 44px;
  padding-inline: clamp(14px, 1.35vw, 22px);
  border: 1px solid color-mix(in srgb, var(--map-soft) 42%, var(--map-ground));
  border-radius: 2px;
  color: var(--map-light);
  font-weight: 500;
}
@media (hover: hover) {
  .map-systems button:hover {
    border-color: var(--map-soft);
    background: color-mix(in srgb, var(--map-light) 8%, var(--map-ground));
  }
}
.map-systems button[aria-pressed="true"] {
  border-color: var(--map-light);
  background: var(--map-light);
  color: var(--map-ground);
}
.map-readout {
  color: var(--map-soft);
  font: 400 14px/1.5 var(--sans);
  text-align: center;
  text-wrap: pretty;
}
.map-readout :is(p, dl, dd) { margin: 0; }
.map-facts > div { margin: 0 0 .5em; }
.map-facts dt { color: var(--map-light); font-weight: 500; }
.map-systems:not([hidden]) + .map-readout { min-height: 3em; }
.map-systems:not([hidden]) + .map-readout .map-facts > div { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="off"]) .map-systems button { transition: color 160ms ease, background-color 160ms ease; }
}
.module-map .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 650px) {
  .module-map-layout { padding-block: 28px 18px; }
  .map-stage { height: auto; aspect-ratio: 1.48; margin: 6px auto 5px; }
  .map-systems { gap: 4px; }
  .map-systems button { padding-inline: clamp(7px, 1.8vw, 12px); font-size: 13px; }
  .map-readout { font-size: 13px; }
  .map-toolbar { gap: 11px; }
}
@media (max-width: 540px) {
  .module-map-heading { margin-inline: -8px; }
  .module-map .map-reset { width: 44px; justify-content: center; }
  .map-reset-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}
@media (max-width: 430px) {
  .module-map-heading { grid-template-columns: 1fr; margin-inline: -12px; z-index: 1; }
  .module-map-heading .product-heading { grid-column: 1; }
  .module-map .map-reset {
    position: absolute;
    grid-area: auto;
    inset-block-start: calc(100% + 6px);
    inset-inline-end: 0;
  }
}
@media (min-width: 371px) and (max-width: 420px) {
  .map-systems button { padding-inline: 4px; }
}
@media (max-width: 370px) {
  .map-systems {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: 100%;
  }
  .map-systems button { grid-column: span 2; }
  .map-systems button:nth-last-child(2) { grid-column: 2 / span 2; }
}
@media (prefers-reduced-motion: reduce) { .module-map-surface { clip-path: none; } }
html[data-motion="off"] .module-map-surface { clip-path: none; }

/* Keep the Compute Modules stage flush with the full-width slate section. */
[data-product="Compute Modules"] .module-map-surface { clip-path: none; }
[data-product="Compute Modules"] .map-systems button { border-color: transparent; }

@media (max-width: 540px) {
  [data-product="Compute Modules"] .module-map-heading { grid-template-columns: 1fr; }
  [data-product="Compute Modules"] .module-map-heading .product-heading { grid-column: 1; }
  [data-product="Compute Modules"] .map-reset {
    position: static;
    grid-column: 1;
    grid-row: 2;
    width: auto;
    justify-self: center;
  }
  [data-product="Compute Modules"] .map-reset-label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }
}
