/* The approved PNG stays on its original 1536 × 1024 coordinate grid. */
.studio-art {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 3 / 2;
  overflow: visible;
  pointer-events: none;
}

.studio-art__paper,
.studio-art__moving {
  /* Static SVG parents establish an explicit local pivot. */
  transform-box: view-box;
  transform-origin: 0 0;
}

.studio-art__word,
.studio-art__equation {
  fill: #272439;
  font-family: Manrope, sans-serif;
  font-weight: 700;
}

.studio-art__equation {
  font-variant-numeric: lining-nums tabular-nums;
}

.studio-art__answer {
  font-weight: 800;
}

.studio-art[data-motion-active="true"] :is(.studio-art__paper, .studio-art__moving) {
  will-change: transform;
}

/* The real HTML product panels own focus; the corresponding drawing answers it. */
.studio-art[data-product-focus="write"] [data-art-product="write"] .studio-art__outline,
.studio-art[data-product-focus="solve"] [data-art-product="solve"] .studio-art__outline,
.studio-art[data-product-focus="chat"] [data-art-product="chat"] .studio-art__outline {
  stroke: #671ff6;
  stroke-width: 8;
}

/* Also protects the original if a later script error prevents preference sync. */
@media (prefers-reduced-motion: reduce) {
  body:not(.motion-enabled) .studio-art__fallback {
    display: inline !important;
  }

  body:not(.motion-enabled) .studio-art__layers {
    display: none !important;
  }
}
