/* Two views of one illustration: a product vignette and its annotated reading. */
figure:has([data-editorial-plate]) {
  --plate-ink: #30253c;
  --plate-muted: #655b70;
  --plate-rule: #dad0df;
  --plate-line: #79578e;
  --plate-paper: #fffdfa;
  --plate-tint: #ede5f1;
  --plate-green: #376c61;
}
html body figure:is(.mix-motor-figure,.mix-connect-subpage-chapter__visual):has([data-editorial-plate]) {
  isolation: isolate;
  box-sizing: border-box;
  border: 1px solid #cebed5;
  border-radius: 6px;
  min-height: 0;
  padding: 59px clamp(12px, 1.55vw, 24px) 49px;
  background: linear-gradient(130deg, #fffdfa, #fbf7fb 72%, #f4eef6);
  color: var(--plate-ink);
  box-shadow: 0 3px 0 #e8dfec;
}
figure:has([data-editorial-plate]) > figcaption {
  padding-top: 8px;
  bottom: 12px;
  border-top: 1px solid var(--plate-rule);
  color: var(--plate-muted);
  font: 500 10px/1.4 "DM Mono", ui-monospace, monospace;
  letter-spacing: .055em;
}
html body figure[class]:has([data-editorial-plate]) [data-motor-figure] > button[data-motor-figure-toggle] {
  top: 6px;
  right: 9px;
  min-height: 44px;
  padding: 0 8px;
  gap: 7px;
  background: transparent;
  border: 0;
  border-radius: 4px;
  box-shadow: none;
}
html body figure[class]:has([data-editorial-plate]) [data-motor-figure] > button[data-motor-figure-toggle]::before {
  color: #654587;
  font: 550 12px/1.2 Inter, Arial, sans-serif;
  letter-spacing: 0;
}
html body figure[class]:has([data-editorial-plate]) [data-motor-figure] > button[data-motor-figure-toggle]::after {
  content: '';
  width: 8px;
  height: 8px;
  margin: -3px 2px 0 0;
  border: 1px solid var(--plate-line);
  background: var(--plate-paper);
  box-shadow: 2px 2px 0 var(--plate-paper), 3px 3px 0 var(--plate-line);
}
html body figure[class]:has([data-editorial-plate]) [data-motor-figure] > button[data-motor-figure-toggle]:focus-visible { outline: 2px solid var(--plate-line); outline-offset: 1px; }
figure:has([data-editorial-plate]) .mix-motor-figure__visual { width: 100%; min-height: 0; aspect-ratio: 360/204; }
figure:has([data-editorial-plate]) .mix-motor-figure-layer--summary { inset: 3% 4%; }
.plate-drawing { display: block; width: 100%; height: auto; overflow: visible; }
.plate-drawing text { font: 500 14px/1 Inter, Arial, sans-serif; fill: var(--plate-ink); stroke: none; }
.plate-drawing .plate-heading { font: 600 21px/1 "Bricolage Grotesque", Inter, sans-serif; letter-spacing: -.55px; }
.plate-drawing .plate-value { font-weight: 650; }
.plate-drawing .plate-muted { fill: var(--plate-muted); }
.plate-drawing :is(.plate-small,.plate-foot) { fill: var(--plate-muted); font-size: 12px; }
.plate-drawing .plate-foot { font-size: 12.5px; }
.plate-drawing :is(.plate-amount,.plate-result,.plate-metric) { font: 600 22px/1 "Bricolage Grotesque", Inter, sans-serif; }
.plate-drawing .plate-long-amount { font: 600 16px/1 Inter, sans-serif; }
.plate-drawing .plate-result { fill: #68467e; }
.plate-drawing .plate-metric { font-size: 34px; letter-spacing: -1px; }
.plate-drawing .plate-surface { fill: var(--plate-paper); stroke: var(--plate-rule); }
.plate-drawing .plate-tint { fill: var(--plate-tint); stroke: #c2accb; }
.plate-drawing .plate-rule { stroke: var(--plate-rule); fill: none; }
.plate-drawing .plate-trace { stroke: #9b80ac; fill: none; stroke-width: 1.5; }
.plate-drawing .plate-pin { fill: var(--plate-paper); stroke: var(--plate-line); stroke-width: 1.7; }
.plate-drawing .plate-signal,.plate-drawing .plate-bar-focus { fill: #76548b; }
.plate-drawing .plate-okay-pin { fill: var(--plate-green); }
.plate-drawing .plate-okay-wash { fill: #e2efea; }
.plate-drawing .plate-okay { stroke: var(--plate-green); fill: none; stroke-width: 1.6; }
.plate-drawing .plate-muted-line { stroke: #8d8095; }
.plate-drawing .plate-track { fill: #eae3ed; }
.plate-drawing .plate-bar { fill: #ac91bb; }
.plate-drawing .plate-forecast-wash { fill: #f3edf5; }
.plate-drawing .plate-grid { stroke: #d9cfe0; fill: none; stroke-width: .75; }
.plate-drawing .plate-grid-vertical { stroke: #a894b5; stroke-dasharray: 2 3; }
.plate-drawing .plate-line { stroke: #6f4a86; fill: none; stroke-width: 2.7; stroke-linejoin: round; }
.plate-drawing .plate-point { stroke: #6f4a86; fill: var(--plate-paper); stroke-width: 1.6; }
.plate-drawing .plate-forecast { stroke: #71567e; fill: none; stroke-width: 2; stroke-dasharray: 5 4; }
.plate-drawing .plate-forecast-point { fill: var(--plate-paper); stroke: #71567e; stroke-width: 1.7; }
.plate-drawing :is(.plate-band,.plate-area) { fill: #e6daeb; }
.plate-drawing .plate-limit { stroke: #a25b56; fill: none; stroke-dasharray: 4 4; }
.plate-drawing .plate-scenario { stroke: #aa8db8; fill: none; stroke-dasharray: 2 3; }

/* The cover retains each source's hue. Shared lighting and materials follow the paper frame. */
#mf-sprite #mf-g-head stop:first-child { stop-color: #8d719e; }
#mf-sprite #mf-g-head stop:last-child { stop-color: #6e507e; }
#mf-sprite #mf-g-panel stop:first-child { stop-color: #493c54; }
#mf-sprite #mf-g-panel stop:last-child { stop-color: #302737; }
#mf-sprite :is(#mf-soft,#mf-soft-light,#mf-panel,#mf-tile,#mf-btn) feDropShadow { flood-color: #403149; flood-opacity: .09; }
@media (max-width: 600px) {
  html body figure:is(.mix-motor-figure,.mix-connect-subpage-chapter__visual):has([data-editorial-plate]) { padding: 53px 8px 45px; }
}
