/* Business use cases appear before platform details. The shared hero stays unchanged. */
.map-use-cases .immersive-studio-section-head,
.map-feature-carousel .immersive-studio-section-head {
  max-width: 64rem;
}
.map-use-cases .immersive-studio-section-head h2,
.map-feature-carousel .immersive-studio-section-head h2 {
  padding-inline: 0;
  text-wrap: balance;
}
/* Use the original shared rail dimensions, rounded media, and single caption. */
.map-use-cases .immersive-studio-creation-rail-card {
  scroll-margin-top: 6rem;
}
/* Crop the viewport in CSS; original screenshots remain available for authoring sections.
   The larger scale fills the card while keeping every edge inside the map viewport. */
.map-use-case-crop {
  --map-width-scale: 140.253cqw;
  --map-height-scale: 159.93cqh;
  --map-center-x: -40.45%;
  --map-center-y: -44.85%;
  position: relative;
  container-type: size;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.map-use-cases .map-use-case-crop img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(var(--map-width-scale), var(--map-height-scale));
  max-width: none;
  height: auto;
  transform: translate(var(--map-center-x), var(--map-center-y));
}
#le-havre-use-case .map-use-case-crop img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transform: none;
}
#la-plagne-use-case .map-use-case-crop {
  --map-width-scale: 312.5cqw;
  --map-height-scale: 240.241cqh;
  --map-center-x: -59.5%;
  --map-center-y: -61.5%;
}
.map-use-cases :is(a, [tabindex]):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Product chapters follow the editorial heading, gallery, and tabbed feature
   layouts in Apple's creative-app pages. Shared typography and rails stay owned
   by style.css; these rules are scoped to the new Map Composer chapters. */
.mc-chapter {
  padding-block: clamp(5rem, 9vw, 9rem);
  background: var(--background);
}
.mc-chapter:nth-of-type(even) {
  background: var(--surface-strong);
}
.mc-chapter .mc-editorial-head {
  text-align: left;
  max-width: none;
  margin: 0 0 clamp(2.75rem, 5vw, 4.5rem);
}
.mc-chapter .mc-editorial-head h2 {
  padding: 0;
  max-width: 18ch;
  margin-bottom: 1.5rem;
}
.mc-chapter .mc-editorial-head p {
  margin: 0;
  max-width: 42rem;
}
.mc-chapter .mc-rail-wrap {
  padding: 0;
  min-height: 0;
}
.mc-chapter .immersive-studio-creation-rail-shell {
  margin-top: 0;
}
.mc-chapter strong {
  color: var(--ink);
  font-weight: 600;
}
.mc-chapter .mc-feature-media {
  background: #e9edeb;
}
.mc-chapter .mc-feature-media > img[src$=".svg"] {
  object-fit: contain;
}
.mc-chapter :is(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--immersive-studio-accent-deep, #00857f);
  outline-offset: 5px;
}
.mc-chapter :is(.mc-development, .mc-art-note) {
  color: var(--immersive-studio-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}
.mc-chapter .mc-development {
  margin-top: 0.85rem;
}
.mc-development a {
  color: var(--ink);
  text-decoration: none;
}
.mc-development a:hover {
  text-decoration: underline;
}
.mc-art-note {
  text-align: center;
  margin-top: 1rem;
}
.mc-wide-photo {
  width: 100%;
  box-shadow: none !important;
  border: 0;
}
.mc-caption-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  max-width: 980px;
  margin: 2.5rem auto 0;
}
.mc-caption-pair p {
  color: var(--immersive-studio-muted);
  font-size: 1.125rem;
  line-height: 1.55;
}
.mc-art-stage {
  margin: 0;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #e9edeb;
}
.mc-art-stage img {
  display: block;
  width: 100%;
  height: auto;
}
.mc-content-art {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

/* Rounded segmented controls for the feature showcases. */
.mc-tablist {
  display: flex;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 2.5rem;
  padding: 5px;
  border-radius: 999px;
  background: #e8e8ed;
}
.mc-tablist button {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 999px;
  min-height: 46px;
  color: var(--immersive-studio-muted);
  padding: 0.7rem 1.4rem;
  white-space: nowrap;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.25;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}
.mc-tablist button:hover {
  color: var(--ink);
}
.mc-tablist button[aria-selected="true"] {
  color: #1d1d1f;
  background: #f5f5f7;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body:not([data-theme="light"]) .mc-tablist {
    background: #333336;
  }
}
:root[data-theme="dark"] body:not([data-theme="light"]) .mc-tablist,
body[data-theme="dark"] .mc-tablist {
  background: #333336;
}
.mc-tabs [role="tabpanel"][hidden] {
  display: none;
}
.mc-tab-caption {
  color: var(--immersive-studio-muted);
  max-width: 42rem;
  margin: 2rem auto 0;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.55;
}
.mc-device-stage {
  margin: 0;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mc-tab-caption + .mc-ai-feature-pair {
  margin-top: clamp(40px, 6vw, 80px);
}
.mc-device-stage img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}
@media (max-width: 760px) {
  .mc-device-stage img {
    border-radius: 20px;
  }
}
.mc-coming-inline {
  margin: 4rem auto 0;
  max-width: 42rem;
  text-align: center;
}
.mc-coming-inline h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.mc-coming-inline p {
  color: var(--immersive-studio-muted);
}

/* Static art is the baseline; motion is a one-shot progressive enhancement. */
.mc-geometry {
  position: relative;
  height: 100%;
}
.mc-geometry > svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mc-geometry.is-playing .mc-art-points {
  animation: mc-appear 1.2s 0.4s both;
  transform-box: fill-box;
  transform-origin: center;
}
.mc-geometry.is-playing path.mc-art-lines,
.mc-geometry.is-playing .mc-art-lines path {
  stroke-dasharray: 1;
  animation: mc-trace 2.8s 0.3s both;
}
.mc-geometry.is-playing .mc-art-areas {
  animation: mc-area 2.2s 0.25s both;
}
@keyframes mc-appear {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes mc-trace {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes mc-area {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Purpose-made feature art: files, models, sound, and connected tools. */
.mc-format-art,
.mc-relay-art,
.mc-model-art,
.mc-audio-art,
.mc-app-bridge,
.mc-mcp-art,
.mc-handoff-art {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mc-format-art {
  perspective: 900px;
}
.mc-format-file {
  position: absolute;
  width: 46%;
  height: 55%;
  border-radius: 14px 45px 14px 14px;
  background: linear-gradient(150deg, #fff, #d9e3df);
  color: #204a43;
  box-shadow: 0 15px 40px #213b3220;
  display: flex;
  align-items: flex-end;
  padding: 1.4rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  transform: rotate(-16deg) translateX(-36%);
}
.mc-format-file:nth-child(2) {
  transform: rotate(0deg);
  background: #bbd6c9;
}
.mc-format-file:nth-child(3) {
  transform: rotate(16deg) translateX(36%);
  background: #164f47;
  color: white;
}
.mc-format-link {
  position: absolute;
  bottom: 13%;
  right: 17%;
  border-radius: 50%;
  width: 62px;
  height: 62px;
  font-size: 2rem;
  background: white;
  color: #164f47;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px #164f4720;
}
.mc-relay-art {
  padding: 3rem;
}
.mc-relay-globe {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 5.7rem;
  color: #437f70;
  background: #d0e1d7;
  box-shadow:
    0 0 0 24px #dfe8e1,
    0 0 0 48px #e4eae5;
}
.mc-relay-line {
  flex: 1;
  height: 2px;
  background: #609887;
  z-index: 1;
}
.mc-relay-source {
  width: 18px;
  height: 18px;
  border: 5px solid #164f47;
  border-radius: 50%;
  background: #fff;
  z-index: 2;
}
.mc-model-art {
  perspective: 800px;
  transform-style: preserve-3d;
}
.mc-model-base {
  position: absolute;
  width: 62%;
  height: 60%;
  background: #b5ccc0;
  border-radius: 14px;
  transform: rotateX(58deg) rotateZ(-32deg) translateY(36px);
  box-shadow:
    -8px 18px 0 #8da69b,
    -12px 40px 36px #223f3320;
}
.mc-building {
  position: absolute;
  width: 19%;
  height: 30%;
  background: linear-gradient(90deg, #e6eee7 58%, #8ca89c 58%);
  transform: skewY(-18deg);
  box-shadow: 14px 18px 24px #28433325;
}
.mc-building::before {
  content: "";
  position: absolute;
  left: 0;
  top: -21px;
  width: 100%;
  height: 22px;
  background: #fff;
  transform: skewX(52deg);
  transform-origin: bottom;
}
.mc-building-one {
  top: 29%;
  left: 30%;
}
.mc-building-two {
  top: 40%;
  left: 52%;
  height: 23%;
  background: linear-gradient(90deg, #cce1d2 58%, #7b9c8c 58%);
}
.mc-building-three {
  top: 54%;
  left: 24%;
  width: 15%;
  height: 15%;
}
.mc-annotation-art {
  height: 100%;
  position: relative;
}
.mc-annotation-art > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.65);
}
.mc-note {
  position: absolute;
  top: 35%;
  left: 10%;
  width: 80%;
  padding: 1.5rem;
  background: #ffffffed;
  border-radius: 18px;
  box-shadow: 0 20px 40px #17231d30;
  color: #243834;
  display: grid;
  gap: 0.5rem;
}
.mc-note strong {
  color: #243834;
  font-size: 1.4rem;
}
.mc-note span:last-child {
  color: #525252;
}
.mc-note-dot {
  width: 16px;
  height: 16px;
  background: #00857f;
  border: 4px solid #c7e6d7;
  border-radius: 50%;
}
.mc-audio-art {
  gap: 5px;
  padding: 3.5rem;
}
.mc-audio-art span {
  width: 7px;
  height: var(--bar);
  max-height: 160px;
  background: linear-gradient(#8ebda5, #146257);
  border-radius: 10px;
}
.mc-app-bridge {
  gap: 2rem;
}
.mc-app-bridge img {
  width: 25%;
  height: auto;
  filter: drop-shadow(0 14px 20px #17231d26);
}
.mc-app-bridge span {
  color: #44655b;
  font-size: 2rem;
}
.mc-video-art {
  position: relative;
  height: 100%;
}
.mc-video-art img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.mc-video-art span {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 70px;
  height: 70px;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  background: #ffffffdf;
  display: grid;
  place-items: center;
  color: #243834;
  font-size: 1.6rem;
  padding-left: 5px;
}
.mc-mcp-art {
  padding: 2rem;
}
.mc-mcp-art > span:not(.mc-mcp-line) {
  width: 22%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #fff;
  color: #164f47;
  font-weight: 600;
  font-size: 1.4rem;
  box-shadow: 0 10px 25px #164f4710;
}
.mc-mcp-art .mc-mcp-center {
  background: #164f47 !important;
  color: white !important;
}
.mc-mcp-line {
  height: 1px;
  flex: 1;
  background: #81a395;
}
.mc-mcp-art img {
  width: 22%;
  height: auto;
}
.mc-handoff-art {
  gap: 2rem;
}
.mc-person {
  display: grid;
  place-items: center;
  width: 27%;
  aspect-ratio: 1;
  border: 1px solid #aecabc;
  background: #d4e4da;
  color: #417562;
  border-radius: 50%;
  font-size: 2.5rem;
}
.mc-person:last-child {
  background: #164f47;
  color: #d4e4da;
}
.mc-handoff-arrow {
  font-size: 2.5rem;
  color: #648778;
}

.mc-story-scene {
  position: relative;
  overflow: hidden;
  background: #e9edeb;
  border-radius: 28px;
  aspect-ratio: 12 / 7;
}
.mc-story-scene > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 55% 55%;
}
.mc-story-network > img {
  transform: scale(1.5);
}
.mc-story-site > img {
  transform: scale(2.3);
}
.mc-story-focus {
  position: absolute;
  top: 28%;
  left: 37%;
  width: 24%;
  height: 38%;
  border: 2px solid #27765c;
  border-radius: 50%;
  box-shadow: 0 0 0 10px #8cb69a33;
  transform: rotate(-20deg);
}
.mc-story-territory .mc-story-focus {
  display: none;
}
.mc-story-network .mc-story-focus {
  border-radius: 0;
  height: 6px;
  top: 52%;
  width: 48%;
  left: 24%;
  background: #2a8c69;
  box-shadow: 0 0 0 7px #a0c8ac77;
  transform: rotate(-24deg);
  border: 0;
}
.mc-scene-title {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  background: #fffffff0;
  color: #244e40;
}

.mc-intelligence-demo {
  position: relative;
  background: #e9edeb;
  border-radius: 28px;
  overflow: hidden;
}
.mc-ai-visual {
  position: relative;
  min-height: 540px;
}
.mc-ai-map {
  position: absolute;
  inset: 0;
}
.mc-ai-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}
.mc-ai-prompt {
  position: absolute;
  top: 15%;
  left: 10%;
  width: 68%;
  max-width: 600px;
  display: flex;
  gap: 1.25rem;
  padding: 1.7rem 2rem;
  border-radius: 24px;
  background: #fffffff0;
  box-shadow: 0 16px 60px #16372b18;
  backdrop-filter: blur(12px);
}
.mc-ai-prompt p {
  color: #1d342d;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.mc-ai-spark {
  color: #00857f;
  font-size: 2rem;
  line-height: 1;
}
.mc-ai-review {
  position: absolute;
  bottom: 15%;
  right: 10%;
  width: 57%;
  max-width: 470px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #fffffff2;
  border: 1px solid #d9e6dd;
  border-radius: 20px;
  box-shadow: 0 14px 50px #16372b20;
}
.mc-ai-review strong {
  color: #1d342d;
  display: block;
  margin-bottom: 0.3rem;
}
.mc-ai-review div > span {
  color: #525252;
  font-size: 0.95rem;
}
.mc-review-check {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #cee5d8;
  color: #17624e;
  flex-shrink: 0;
}
.mc-intelligence-demo.is-playing .mc-ai-prompt {
  animation: mc-appear 0.8s 0.2s both;
}
.mc-intelligence-demo.is-playing .mc-ai-review {
  animation: mc-appear 1s 2s both;
}

@media (prefers-reduced-motion: reduce) {
  .mc-chapter *,
  .mc-chapter *::before,
  .mc-chapter *::after {
    animation: none !important;
    transition: none !important;
  }
  .mc-features-ready .mc-replay {
    display: none;
  }
}
@media (max-width: 760px) {
  .mc-chapter {
    padding-block: 4rem;
  }
  .mc-chapter .mc-editorial-head h2 {
    font-size: 2.5rem;
    max-width: 18ch;
  }
  .mc-chapter .mc-editorial-head h2 br {
    display: none;
  }
  .mc-caption-pair {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 1.8rem;
  }
  .mc-caption-pair p,
  .mc-tab-caption {
    font-size: 1.05rem;
  }
  .mc-tablist {
    padding: 4px;
    margin-bottom: 1.5rem;
  }
  .mc-tablist button {
    min-height: 44px;
    padding: 0.65rem 0.55rem;
    font-size: 0.875rem;
  }
  .mc-art-stage,
  .mc-story-scene,
  .mc-intelligence-demo {
    border-radius: 20px;
  }
  .mc-chapter .mc-feature-media {
    height: 360px;
  }
  .mc-scene-title {
    left: 1rem;
    bottom: 1rem;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
  .mc-ai-visual {
    min-height: 400px;
  }
  .mc-ai-prompt {
    left: 6%;
    top: 13%;
    width: 88%;
    padding: 1.3rem;
    gap: 0.7rem;
  }
  .mc-ai-review {
    right: 6%;
    bottom: 14%;
    width: 88%;
    padding: 1.2rem;
  }
  .mc-app-bridge {
    gap: 1.2rem;
  }
  .mc-audio-art {
    gap: 4px;
    padding: 2rem;
  }
}

/* The new chapter galleries keep Apple's swipeable rail on narrow screens. */
@media (max-width: 760px) {
  .mc-chapter .immersive-studio-creation-rail {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.5rem;
    padding: 0.25rem 1.5rem 1rem;
  }
  .mc-chapter .immersive-studio-creation-rail-card {
    width: min(31rem, 84vw);
  }
  .mc-chapter .has-paddlenav .immersive-studio-creation-rail-paddlenav {
    display: flex !important;
  }
}
.mc-map-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.mc-story-territory .mc-map-route {
  opacity: 0.3;
}
.mc-story-network .mc-map-route {
  transform: scale(1.5);
  transform-origin: 55% 55%;
}
.mc-story-network .mc-story-focus {
  display: none;
}
.mc-story-site .mc-map-route {
  transform: scale(2.3);
  transform-origin: 55% 55%;
}
.mc-intelligence-demo.is-playing .mc-map-route path.mc-animated {
  stroke-dasharray: 1;
  animation: mc-trace 1.5s 1s both;
}
.mc-chapter .mc-tablist button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Minsar-inspired feature compositions: integrated copy and purpose-made art. */
.mc-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.mc-bento-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 32px;
  background: var(--surface-strong);
  display: flex;
  flex-direction: column;
}
/* Keep card surfaces distinct from alternating chapter backgrounds. */
.mc-bento-section:nth-of-type(even) .mc-bento-card {
  background-color: var(--background);
}
.mc-span-2 {
  grid-column: span 2;
}
.mc-span-3 {
  grid-column: span 3;
}
.mc-bento-copy {
  padding: 36px 36px 0;
}
.mc-bento-copy h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: var(--ink);
}
.mc-bento-copy p {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--immersive-studio-muted);
  margin: 0;
}
.mc-bento-visual {
  position: relative;
  margin: auto 0 0;
  height: 300px;
  flex: 0 0 300px;
  overflow: hidden;
}
.mc-bento-visual > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mc-bento-geometry .mc-bento-visual {
  height: 280px;
  flex-basis: 280px;
}
.mc-bento-geometry .mc-geometry {
  padding: 10px;
}
.mc-bento-geometry .mc-replay {
  bottom: 18px;
  right: 18px;
}
.mc-connections-card {
  background-image: radial-gradient(
    ellipse at 10% 100%,
    #8556df22,
    transparent 80%
  );
}
.mc-source-grid {
  height: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 16px;
  padding: 32px;
}
.mc-source-grid > div {
  display: grid;
  gap: 16px;
  justify-items: center;
}
.mc-source-grid svg {
  width: 88px;
  fill: none;
  stroke: #8d6bcd;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mc-source-grid span {
  font-size: 1.1rem;
  color: var(--ink);
}
.mc-format-deck {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 600px;
  padding: 30px;
}
.mc-format-deck span {
  width: 80%;
  padding: 24px 12px;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1;
  border-radius: 16px;
  background: #b5add2;
  color: #29213e;
  transform: rotateX(-22deg);
  box-shadow: 0 14px 30px #0002;
}
.mc-format-deck span:first-child {
  width: 66%;
  background: #69598a;
  color: #fff;
  margin-bottom: -8px;
}
.mc-format-deck span:last-child {
  width: 94%;
  margin-top: -8px;
  background: #e2dcf1;
  font-size: 1.7rem;
}
.mc-bento-horizontal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.mc-bento-horizontal .mc-bento-copy {
  padding: 40px;
}
.mc-bento-horizontal .mc-bento-visual {
  margin: 0;
}
.mc-relay-card .mc-relay-art {
  padding: 55px;
}
.mc-relay-card .mc-relay-globe {
  width: 100px;
  height: 100px;
  font-size: 4rem;
  box-shadow:
    0 0 0 18px #60988718,
    0 0 0 36px #6098870d;
}
.mc-sculpture-card .mc-bento-visual {
  padding: 5px 0;
}
.mc-image-card .mc-bento-visual {
  padding: 30px 24px 24px;
}
.mc-image-card .mc-annotation-art {
  border-radius: 16px;
  overflow: hidden;
}
.mc-image-card .mc-note {
  padding: 16px;
  left: 8%;
  width: 84%;
}
.mc-image-card .mc-note strong {
  font-size: 1.05rem;
}
.mc-image-card .mc-note span:last-child {
  font-size: 0.8rem;
}
.mc-sound-card .mc-audio-art {
  gap: 4px;
  padding: 50px 32px;
}
.mc-sound-card .mc-audio-art span {
  background: linear-gradient(0deg, #9961cc, #db8ec7);
}
.mc-bridge-card .mc-app-bridge {
  gap: 50px;
}
.mc-video-card .mc-bento-visual {
  padding: 24px;
}
.mc-video-card .mc-video-art {
  border-radius: 18px;
  overflow: hidden;
}
.mc-bento-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-bottom: 24px;
  min-height: 470px;
}
.mc-bento-hero-copy {
  padding: 48px 0 48px 48px;
}
.mc-bento-hero .mc-editorial-head {
  margin: 0;
}
.mc-bento-hero .mc-editorial-head h2 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
}
.mc-bento-hero .mc-editorial-head p {
  font-size: 1.125rem;
  margin-top: 24px;
}
.mc-bento-hero-art {
  margin: 0;
  padding: 24px;
  min-width: 0;
}
.mc-bento-hero-art img {
  width: 100%;
  height: auto;
}
.mc-bento-hero-art figcaption {
  text-align: center;
  font-size: 1rem;
  color: var(--immersive-studio-muted);
  margin-top: 8px;
}
/* Image-first AI pair, with captions using the existing feature-rail type. */
.mc-ai-feature-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.mc-ai-feature-pair > article {
  min-width: 0;
}
.mc-ai-feature-media {
  margin: 0;
  aspect-ratio: 1.23;
  align-items: center;
  justify-content: center;
}
.mc-ai-feature-media--editor {
  padding: clamp(20px, 3vw, 48px);
}
/* Keep full desktop UI visible while matching neighbouring media frames. */
.mc-ai-feature-media--landscape {
  aspect-ratio: 8 / 5;
}
.mc-ai-feature-media--editor > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.mc-ai-feature-media .mc-mcp-art {
  padding: clamp(24px, 3vw, 48px);
}
@media (max-width: 760px) {
  .mc-ai-feature-pair {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.mc-photo-card .mc-bento-visual {
  margin: 28px 28px 0;
  height: 350px;
  flex-basis: 350px;
}
.mc-photo-card .mc-bento-visual img {
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}
.mc-nearby-card .mc-bento-visual img {
  transform: scale(1.35);
}
.mc-handoff-card .mc-handoff-art {
  gap: 20px;
}
.mc-handoff-card .mc-person {
  width: 78px;
  height: 78px;
  font-size: 2rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"])
    body:not([data-theme="light"])
    .mc-bento-card {
    background-color: #202020;
  }
}
:root[data-theme="dark"] body:not([data-theme="light"]) .mc-bento-card,
body[data-theme="dark"] .mc-bento-card {
  background-color: #202020;
}
@media (max-width: 1000px) {
  .mc-bento-grid {
    gap: 18px;
  }
  .mc-bento-copy {
    padding: 28px 24px 0;
  }
  .mc-bento-hero-copy {
    padding: 32px 0 32px 32px;
  }
  .mc-source-grid {
    padding: 24px;
  }
  .mc-source-grid svg {
    width: 64px;
  }
  .mc-source-grid span {
    font-size: 0.95rem;
  }
}
@media (max-width: 760px) {
  .mc-bento-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .mc-span-2,
  .mc-span-3 {
    grid-column: auto;
  }
  .mc-bento-card {
    border-radius: 26px;
  }
  .mc-bento-copy {
    padding: 30px 28px 0;
  }
  .mc-bento-copy h3 {
    font-size: 1.5rem;
  }
  .mc-bento-hero,
  .mc-bento-horizontal {
    grid-template-columns: 1fr;
  }
  .mc-bento-hero-copy {
    padding: 32px 28px 0;
  }
  .mc-bento-hero .mc-editorial-head h2 {
    font-size: 2.5rem;
  }
  .mc-bento-hero .mc-editorial-head p {
    font-size: 1.0625rem;
  }
  .mc-bento-hero-art {
    padding: 12px 16px 28px;
  }
  .mc-bento-horizontal .mc-bento-copy {
    padding: 30px 28px 0;
  }
  .mc-photo-card .mc-bento-visual {
    margin: 24px 20px 0;
    height: 260px;
    flex-basis: 260px;
  }
  .mc-source-grid {
    gap: 10px;
    padding: 20px;
  }
  .mc-source-grid svg {
    width: 60px;
  }
  .mc-bridge-card .mc-app-bridge {
    gap: 24px;
  }
}
.mc-bento-hero-art {
  position: relative;
}
.mc-bento-hero-art > svg {
  display: block;
  width: 100%;
  height: auto;
}
.mc-bento-hero-art.is-playing .mc-flow-path {
  stroke-dasharray: 1;
  animation: mc-trace 2.8s 0.3s both;
}
.mc-bento-hero-art .mc-replay {
  bottom: 16px;
  right: 16px;
}
@media (prefers-reduced-motion: reduce) {
  .mc-bento-hero-art.is-playing .mc-flow-path {
    animation: none;
  }
}

/* Keep the Spatial Persona in view when the carousel crops the landscape image. */
.mc-shareplay-persona {
  object-position: 30% center;
}

/* Annotation preview mirrors the app's two shapes and three-stop tint gradient. */
.mc-annotation-demo {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--surface-strong);
}
.mc-annotation-stage {
  position: relative;
  width: 100%;
  height: 240px;
}
.mc-annotation-pin {
  position: absolute;
  top: 80px;
  left: 50%;
  width: 128px;
  height: 128px;
  transform: translateX(-50%);
  border-radius: var(--annotation-radius);
  background-color: var(--annotation-tint);
  background-image: linear-gradient(to bottom, #ffffff29, transparent 52%, #00000024);
  box-shadow: inset 0 0 0 1px #ffffff33;
  transition: background-color 500ms ease, border-radius 600ms ease;
}
.mc-annotation-variant {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 250ms ease, transform 350ms ease;
  pointer-events: none;
}
.mc-annotation-variant.is-active {
  opacity: 1;
  transform: none;
}
.mc-annotation-label {
  position: absolute;
  top: 18px;
  left: 0;
  width: 100%;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  font-family: ui-rounded, "SF Pro Rounded", var(--font-family-sans);
  font-size: clamp(1.125rem, 1.7vw, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  color: color-mix(in srgb, var(--annotation-tint) 60%, var(--ink));
}
.mc-annotation-symbol {
  position: absolute;
  top: 80px;
  left: 50%;
  width: 128px;
  height: 128px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
}
.mc-annotation-symbol img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}
@media (prefers-reduced-motion: reduce) {
  .mc-features-ready .mc-annotation-demo .mc-replay {
    display: flex;
  }
}

/* Annotation composition and original screenshots share the existing carousel. */
.mc-data-showcase { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.mc-chapter .mc-data-showcase .immersive-studio-creation-rail-card { width: min(420px, 84vw); }
.mc-chapter .mc-data-showcase .mc-data-card--screenshot { width: min(480px, 84vw); }
.mc-data-showcase .immersive-studio-creation-rail-media { height: 480px; }
.mc-data-marker .mc-annotation-demo { background: var(--surface-strong); }
.mc-data-marker .mc-annotation-stage { position: absolute; top: 32px; }
.mc-data-marker .mc-replay { top: 14px; right: 14px; bottom: auto; }
.mc-data-showcase .mc-annotation-symbol img { width: 60%; height: 60%; object-fit: contain; }
.mc-data-ui-crop { position: absolute; overflow: hidden; border-radius: 22px; box-shadow: 0 16px 40px #0002; }
.mc-data-showcase .mc-data-ui-crop img { position: absolute; max-width: none; height: auto; }
.mc-data-annotation-controls { bottom: 28px; width: calc(100% - 48px); left: 24px; aspect-ratio: 563 / 280; }
.mc-data-showcase .mc-data-annotation-controls img { width: 153.108%; left: -53.108%; top: -56.429%; }
.mc-data-screenshot { display: flex; align-items: center; }
.mc-data-showcase .mc-data-screenshot img { width: 100%; height: auto; object-fit: contain; border-radius: inherit; }
@media (max-width: 760px) {
  .mc-data-showcase .immersive-studio-creation-rail-media { height: 420px; }
  .mc-data-marker .mc-annotation-stage { top: 18px; }
  .mc-data-marker .mc-annotation-pin, .mc-data-marker .mc-annotation-symbol { width: 105px; height: 105px; }
}

/* Transparent model renders share one card without changing its surrounding grid. */
.mc-model-slideshow { margin-top: auto; }
.mc-model-slides { position: relative; height: 300px; margin: 12px 4px 0; touch-action: pan-y; }
.mc-model-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 700ms ease; pointer-events: none; }
.mc-model-slide.is-active { opacity: 1; }
/* Apply the fade to the image bounds, not the taller slideshow stage. */
.mc-model-slide { display: flex; align-items: center; }
.mc-model-slide img,
.mc-model-slide .mc-windfarm {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(to bottom, #000 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 94%, transparent 100%);
}
.mc-model-controls { display: none; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px 24px; }
.mc-model-slideshow.is-ready .mc-model-controls { display: flex; }
.mc-model-controls button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--immersive-studio-muted); cursor: pointer; }
.mc-model-controls button:hover { background: color-mix(in srgb, var(--ink) 14%, transparent); }
.mc-model-controls button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.mc-model-controls svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mc-model-dots { display: flex; gap: 2px; }
.mc-model-dots button { width: 28px; background: transparent; }
.mc-model-dots button::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--immersive-studio-muted); opacity: .35; }
.mc-model-dots button[aria-current="true"]::before { opacity: 1; }
/* Wind farm rotors turn in their own fitted perspective plane, only while the slide is shown. */
.mc-windfarm-rotor { transform-box: view-box; transform-origin: 0 0; animation: mc-windfarm-spin 2.6s linear infinite paused; }
.mc-windfarm > g:nth-of-type(2) .mc-windfarm-rotor { animation-duration: 2.3s; animation-delay: -.8s; }
.mc-windfarm > g:nth-of-type(3) .mc-windfarm-rotor { animation-duration: 2.9s; animation-delay: -1.7s; }
.mc-model-slideshow.is-spinning .mc-model-slide.is-active .mc-windfarm-rotor { animation-play-state: running; }
@keyframes mc-windfarm-spin { to { transform: rotate(120deg); } }
@media (prefers-reduced-motion: reduce) { .mc-model-slide { transition: none; } .mc-windfarm-rotor { animation: none; } }

/* Live sources feed a fixed Map Composer destination. */
.mc-relay-demo { height: 100%; position: relative; }
.mc-relay-diagram { height: 100%; display: flex; align-items: center; padding: 40px clamp(28px, 4vw, 55px); }
.mc-relay-badge { position: relative; width: clamp(76px, 8vw, 100px); aspect-ratio: 1; flex-shrink: 0; border-radius: 50%; }
.mc-relay-origin { background: #164f47; display: grid; place-items: center; }
.mc-relay-origin > * { position: absolute; width: 58%; height: 58%; object-fit: contain; opacity: 0; transform: translateY(5px); transition: opacity 400ms ease, transform 400ms ease; }
.mc-relay-origin > i { display: grid; place-items: center; color: white; font-size: 42px; }
.mc-relay-origin > .is-active { opacity: 1; transform: none; }
.mc-relay-destination { box-shadow: 0 0 0 16px #60988718, 0 0 0 32px #6098870d; animation: mc-relay-arrival 2.6s ease infinite paused; }
.mc-relay-destination img { width: 100%; height: 100%; display: block; border-radius: 50%; }
.mc-relay-connection { position: relative; flex: 1; height: 2px; background: #60988766; }
.mc-relay-connection > span { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; background: #609887; border-radius: 50%; opacity: 0; animation: mc-relay-transfer 2.6s ease infinite paused; }
.mc-relay-demo.is-running .mc-relay-connection > span, .mc-relay-demo.is-running .mc-relay-destination { animation-play-state: running; }
.mc-relay-demo [data-relay-toggle] { display: none; }
.mc-relay-demo.is-ready [data-relay-toggle] { display: flex; }
@keyframes mc-relay-transfer { 0%, 15% { left: 0; opacity: 0; } 25% { opacity: 1; } 75% { left: calc(100% - 10px); opacity: 1; } 85%, 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes mc-relay-arrival { 0%, 60%, 100% { box-shadow: 0 0 0 16px #60988718, 0 0 0 32px #6098870d; } 80% { box-shadow: 0 0 0 20px #60988730, 0 0 0 38px #60988714; } }
@media (prefers-reduced-motion: reduce) { .mc-relay-demo.is-ready [data-relay-toggle] { display: none; } }
/* Spatial audio: rings keep travelling outward from the anchored source and fade with distance. */
.mc-sound-demo { position: relative; width: 100%; height: 100%; }
.mc-sound-art { display: block; width: 100%; height: 100%; }
.mc-sound-rings ellipse { vector-effect: non-scaling-stroke; transform-box: view-box; transform-origin: 300px 250px; animation: mc-sound-ring 4.8s linear infinite paused; }
.mc-sound-rings ellipse:nth-child(1) { --ring-from: .066; --ring-to: 1; animation-delay: -4.2s; }
.mc-sound-rings ellipse:nth-child(2) { --ring-from: .088; --ring-to: 1.346; animation-delay: -3s; }
.mc-sound-rings ellipse:nth-child(3) { --ring-from: .138; --ring-to: 2.103; animation-delay: -1.8s; }
.mc-sound-rings ellipse:nth-child(4) { --ring-from: .316; --ring-to: 4.816; animation-delay: -.6s; }
.mc-sound-demo.is-running .mc-sound-rings ellipse { animation-play-state: running; }
.mc-sound-demo .mc-replay { display: none; }
.mc-sound-demo.is-ready .mc-replay { display: flex; }
@keyframes mc-sound-ring { 0% { transform: scale(var(--ring-from)); opacity: 0; } 10% { opacity: .9; } 100% { transform: scale(var(--ring-to)); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mc-sound-rings ellipse { animation: none; } .mc-sound-demo.is-ready .mc-replay { display: none; } }

/* Image annotations share the spatial-audio illustration's map and viewpoint. */
.mc-image-card .mc-bento-visual:has(.mc-story-location-art) {
  padding: 0;
  display: grid;
  place-items: center;
}
.mc-story-location-art {
  position: relative;
  width: min(100%, 428px);
  aspect-ratio: 600 / 420;
}
.mc-story-location-map {
  display: block;
  width: 100%;
  height: 100%;
}
.mc-story-location-callout {
  position: absolute;
  top: 1%;
  left: 21%;
  width: 58%;
  padding: 9px;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 7px 6px;
  border: 1px solid #ffffffd9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 22px #203d311c;
  text-align: left;
}
.mc-story-location-callout::after {
  content: "";
  position: absolute;
  top: 100%;
  left: calc(50% - 13px);
  border: 13px solid transparent;
  border-top-color: #fff;
  border-bottom: 0;
}
.mc-story-project-brand {
  display: flex;
  align-items: center;
  gap: 5px;
}
.mc-story-project-brand svg {
  width: 30%;
  flex-shrink: 0;
}
.mc-story-project-brand strong {
  color: #28343b;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
}
/* Frame only the architectural image within the supplied in-app graphic. */
.mc-story-project-photo {
  position: relative;
  aspect-ratio: 740 / 380;
  overflow: hidden;
  border-radius: 4px 13px 4px 4px;
}
.mc-story-project-photo img {
  position: absolute;
  width: 200%;
  max-width: none;
  height: auto;
  left: -91.35%;
  top: -10%;
}
.mc-story-project-facts span {
  display: block;
  color: #338ea8;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.4;
}
.mc-story-project-facts:not(:last-child) span:nth-child(2),
.mc-story-project-facts:last-child span:first-child {
  color: #ad3481;
}

/* Storyboard screenshots keep their complete view and original proportions. */
.mc-story-capture {
  margin: 0;
  aspect-ratio: auto;
}
.mc-story-capture > :is(img, video) {
  display: block;
  width: 100%;
  height: auto;
}

/* A video floats over terrain; alpha masks let the card surface show through. */
.mc-video-card .mc-bento-visual:has(.mc-spatial-video-art) {
  padding: 0;
}
.mc-spatial-video-art {
  position: relative;
  height: 100%;
  isolation: isolate;
}
.mc-spatial-video-map {
  position: absolute;
  inset: 0;
  background: url("/img/map-composer/features/story-location-map.svg") center / contain no-repeat;
}
.mc-spatial-video-screen {
  position: absolute;
  width: 64%;
  top: 7%;
  left: 18%;
  aspect-ratio: 16 / 9;
}
.mc-spatial-video-screen .mc-spatial-video-still {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #0006 5%, #000 14%, #000 86%, #0006 95%, transparent),
    linear-gradient(to bottom, transparent, #0006 6%, #000 18%, #000 82%, #0006 94%, transparent);
  mask-image:
    linear-gradient(to right, transparent, #0006 5%, #000 14%, #000 86%, #0006 95%, transparent),
    linear-gradient(to bottom, transparent, #0006 6%, #000 18%, #000 82%, #0006 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}


/* Keep both participants and their controls visible in narrow carousel cards. */
.immersive-studio-creation-rail-media .mc-shareplay-handoff-video {
  object-fit: contain;
  background: #141c24;
}

.immersive-studio-creation-rail-media.mc-shareplay-handoff-media {
  height: auto;
  aspect-ratio: 1408 / 900;
  border-radius: 6% / 9.4%;
}

.mc-spatial-video-screen .mc-spatial-video-play-symbol {
  position: absolute;
  opacity: 0.5;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 1px 5px #0008);
}

/* Keep the native portrait AI recording readable without cropping its controls. */
.mc-ai-feature-media--editor {
  aspect-ratio: 728 / 1014;
  padding: 0;
}
.mc-ai-feature-media--editor > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Scripted MCP conversation: native-sized text, shared theme and playback control. */
.mc-mcp-demo {
  position: relative;
  width: 100%;
  container-type: inline-size;
  aspect-ratio: 728 / 1014;
  justify-content: flex-start;
  color: var(--ink);
}
.mc-mcp-session {
  width: 100%;
  height: 100%;
  padding: 6cqw 6cqw 64px;
  display: flex;
  flex-direction: column;
  font-size: clamp(14px, 3.25cqw, 19px);
  line-height: 1.45;
  text-align: left;
}
.mc-mcp-session-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: 4cqw;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}
.mc-mcp-session-name { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.mc-mcp-session svg:not(.mc-mcp-map svg) { width: 1.2em; height: 1.2em; flex-shrink: 0; }
.mc-mcp-session-name svg, .mc-mcp-file svg, .mc-mcp-tool-check { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mc-mcp-connection { display: flex; align-items: center; gap: 6px; color: var(--immersive-studio-muted); font-size: .72em; }
.mc-mcp-connection > span { width: 6px; height: 6px; border-radius: 50%; background: #37a58d; }
.mc-mcp-conversation { display: flex; flex: 1; min-height: 0; flex-direction: column; gap: 3cqw; padding-bottom: 4cqw; }
.mc-mcp-session p { margin: 0; }
.mc-mcp-message { flex-shrink: 0; width: 100%; padding: 4cqw; border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); box-shadow: 0 3px 16px #00000005; border-radius: 24px; }
.mc-mcp-demo .mc-mcp-mention { display: inline; color: #2863a9; white-space: nowrap; }
.mc-mcp-composer-text { display: grid; }
.mc-mcp-composer-text > p { grid-area: 1 / 1; width: 100%; max-width: none; text-align: left; }
.mc-mcp-composer-text > p[aria-hidden="true"] { visibility: hidden; }
/* Keep the conversation in focus after submission, with a compact bottom action. */
.mc-mcp-ask {
  align-self: center;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid color-mix(in srgb, var(--ink) 13%, transparent);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.mc-mcp-ask img { width: 24px; height: 24px; }
.mc-mcp-ask:hover { background: color-mix(in srgb, var(--ink) 5%, var(--surface-strong)); }
.mc-mcp-ask:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.mc-mcp-ask[hidden], .mc-mcp-message[hidden] { display: none; }
.mc-mcp-demo[data-step="0"] .mc-mcp-ask { display: none; }
.mc-mcp-demo:not([data-step="0"]) .mc-mcp-message { display: none; }
.mc-mcp-sent-message { align-self: flex-end; flex-shrink: 0; width: 94%; padding: 3cqw; border-radius: 20px 20px 5px 20px; background: color-mix(in srgb, var(--ink) 6%, transparent); font-size: .86em; }
.mc-mcp-demo:not([data-step="0"]) .mc-mcp-send { opacity: .3; }
.mc-mcp-mention img { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; }
.mc-mcp-composer-tools { display: flex; align-items: center; gap: 12px; margin-top: 5cqw; color: var(--immersive-studio-muted); font-size: .8em; }
.mc-mcp-add { font-size: 1.8em; line-height: 1; color: var(--ink); }
.mc-mcp-send { margin-left: auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--surface-strong); }
.mc-mcp-send svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mc-mcp-file { display: flex; align-items: center; gap: 6px; margin-bottom: 2cqw; color: var(--immersive-studio-muted); font-size: .7em; }
.mc-mcp-tool { display: flex; align-items: center; gap: 2cqw; padding: 3cqw; border: 1px solid color-mix(in srgb, var(--ink) 13%, transparent); border-radius: 16px; }
.mc-mcp-tool img { width: 8cqw; height: 8cqw; max-width: 40px; max-height: 40px; }
.mc-mcp-tool > div { flex: 1; }
.mc-mcp-tool strong { font-weight: 600; font-size: .84em; }
.mc-mcp-tool strong span { margin-left: 5px; font-size: .76em; font-weight: 400; color: var(--immersive-studio-muted); }
.mc-mcp-tool p { color: var(--immersive-studio-muted); font-size: .76em; margin-top: 2px; }
.mc-mcp-tool-check { color: #37a58d; opacity: 0; transition: opacity 300ms; }
.mc-mcp-demo[data-step="2"] .mc-mcp-tool-check, .mc-mcp-demo[data-step="3"] .mc-mcp-tool-check { opacity: 1; }
.mc-mcp-result p { color: var(--immersive-studio-muted); font-size: .88em; }
.mc-mcp-result strong { color: var(--ink); font-weight: 600; }
.mc-mcp-map { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.mc-mcp-map svg { display: block; flex: 1; min-height: 0; width: 100%; height: 100%; color: color-mix(in srgb, var(--surface-strong) 88%, #789d88); background: color-mix(in srgb, var(--surface-strong) 88%, #789d88); }
.mc-mcp-map > span { display: flex; justify-content: space-between; padding: 2cqw 3cqw; font-size: .72em; font-weight: 500; }
.mc-mcp-map > span > span { color: var(--immersive-studio-muted); font-weight: 400; }
.mc-mcp-demo-footer { margin-top: auto; padding-top: 4cqw; padding-right: 40px; color: var(--immersive-studio-muted); font-size: .65em; }
.mc-mcp-demo [data-mcp-reveal] { transition: opacity 550ms ease, transform 550ms cubic-bezier(.22,1,.36,1); }
.mc-mcp-demo [data-mcp-reveal][aria-hidden="true"] { opacity: 0; transform: translateY(12px); }
.mc-mcp-demo .media-play-toggle[hidden] { display: none; }
@media (max-width: 760px) {
  .mc-mcp-demo { min-height: 600px; }
  .mc-mcp-demo-footer { min-height: 48px; }
}
