/* SITE-07 r3 · One product plate, with the live study and its controls together. */
body[data-site07-workbench="plate"] .story .sticky {
  grid-template-areas: 'intro product' 'intro next';
  grid-template-rows: auto auto;
}
body[data-site07-workbench="plate"] .story .model-frame {
  height: auto;
  min-block-size: 0;
  grid-template: clamp(280px,54svh,550px) auto / minmax(0,1fr);
  background: #edf0f3;
}
body[data-site07-workbench="plate"] .story .model-frame > .reference {
  position: relative;
  grid-area: 1 / 1;
  min-width: 0;
  min-height: 0;
  padding: 12px;
}
body[data-site07-workbench="plate"] .story .model-frame .stage-tools {
  grid-area: 2 / 1;
  align-self: start;
  margin: 0;
  padding: 12px clamp(11px,1.3vw,20px) 16px;
  min-inline-size: 0;
}
body[data-site07-workbench="plate"] .story .model-frame:has(.product-appearance:not([hidden])) {
  height: auto;
  min-block-size: 0;
  padding: clamp(11px,1.35vw,22px);
  isolation: isolate;
  grid-template: auto clamp(190px,31svh,345px) auto / minmax(0,1.56fr) minmax(0,1fr);
  column-gap: clamp(17px,2.1vw,35px);
}
body[data-site07-workbench="plate"] .model-frame .product-appearance:not([hidden]) {
  grid-area: 1 / 1 / -1 / 2;
  min-block-size: 0;
  background: transparent;
  border: 0;
  padding: 0;
}
body[data-site07-workbench="plate"] .model-frame .product-appearance img { mix-blend-mode: normal; }
body[data-site07-workbench="plate"] .model-frame .product-appearance > img { object-position: center; }
body[data-site07-workbench="plate"] .model-frame .product-appearance-pair { max-inline-size: none; margin-inline: 0; }
body[data-site07-workbench="plate"] .model-frame .product-appearance-pair > img { grid-row: 1; }
body[data-site07-workbench="plate"] .model-frame .workbench-label:not([hidden]) {
  grid-area: 1 / 2;
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0 0 7px;
  align-self: end;
  border-block-end: 1px solid #8e97ac;
  font-size: clamp(.79rem,1.22vw,1.06rem);
}
body[data-site07-workbench="plate"] .model-frame:has(.product-appearance:not([hidden])) > canvas {
  grid-area: 2 / 2;
  min-block-size: 0;
  position: relative;
  display: block;
  margin: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}
body[data-site07-workbench="plate"] .story .model-frame:has(.product-appearance:not([hidden])) .stage-tools {
  grid-area: 3 / 2;
  margin: 0;
  padding: 0;
  border-block-start: 1px solid #8e97ac;
}
body[data-site07-workbench="plate"] .stage-tools .mode-switch { margin: 0 0 6px; gap: clamp(2px,.7vw,12px); }
body[data-site07-workbench="plate"] .stage-tools .mode-switch button { font-size: .8rem; padding-inline: 7px; }
body[data-site07-workbench="plate"] .stage-tools .tool-row { align-items: end; gap: 7px; }
body[data-site07-workbench="plate"] .stage-tools .adjust { gap: 2px; }
body[data-site07-workbench="plate"] .stage-tools .hint { margin-block: 8px 0; }
@media (max-width: 780px) {
  body[data-site07-workbench="plate"] .story .sticky { grid-template-areas: 'intro' 'product' 'next'; }
  body[data-site07-workbench="plate"] .story .model-frame:has(.product-appearance:not([hidden])) {
    grid-template: clamp(164px,24svh,232px) auto clamp(187px,26svh,240px) auto / minmax(0,1fr);
  }
  body[data-site07-workbench="plate"] .model-frame .product-appearance:not([hidden]) { grid-area: 1 / 1; }
  body[data-site07-workbench="plate"] .model-frame .product-appearance-pair { max-inline-size: min(244px,100%); margin-inline: auto; }
  body[data-site07-workbench="plate"] .model-frame .workbench-label:not([hidden]) { grid-area: 2 / 1; margin-block-start: 8px; }
  body[data-site07-workbench="plate"] .model-frame:has(.product-appearance:not([hidden])) > canvas { grid-area: 3 / 1; }
  body[data-site07-workbench="plate"] .story .model-frame:has(.product-appearance:not([hidden])) .stage-tools { grid-area: 4 / 1; }
}
