.rv-tool-figure {
  overflow: hidden;
  margin: 18px 0 0;
  border: 1px solid #d2c4ae;
  border-radius: 8px;
  background: #f8f2e7;
  box-shadow: inset 0 1px #fffaf3, 0 4px 12px #60462b0b;
}

/* Only the catalogue inherits these inks. Each SVG keeps its original
   presentation colours when it appears in the dark excursion monitor. */
.rv-tool-stage {
  --scene-ground: #f7f1e5;
  --scene-ink: var(--kls-graphite, #373a3c);
  --scene-muted: #62594c;
  --scene-bronze: #845724;
  --scene-positive: #256549;
  --scene-negative: #9c493d;
  --scene-teal: #356d68;
  --scene-panel: #fffcf6;
  --scene-recess: #ddd4c1;
  --scene-rule: #b9ad98;
  --scene-green-panel: #e3ede2;
  --scene-green-edge: #839b83;
  --scene-bronze-panel: #f0e0c9;
  --scene-bronze-edge: #ae8a5f;
  --scene-shadow: #a39477;
  --scene-gradient-start: #fdfaf2;
  --scene-gradient-end: #f2ebdd;
  --scene-funnel-top: #e7d3b4;
  --scene-rim-light: #a87945;
  --scene-lens-dot: #8e7a5a;
  --scene-lamp: #dcc49c;
  --scene-glass-line: #9c6b3e;
  --scene-metal: #9c7448;
  --scene-muted-accent: #727f6d;
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 2.12;
  background: radial-gradient(ellipse at 45% 20%, var(--scene-gradient-start), var(--scene-gradient-end));
}
.rv-tool-stage > svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.rv-tool-stage .rv-funnel-shadow { opacity: .32; filter: blur(3px); }
.rv-tool-rail {
  height: 2px;
  overflow: hidden;
  background: #e3d9c7;
}
.rv-tool-rail i {
  display: block;
  height: 100%;
  background: #9b7646;
  transform: scaleX(0);
  transform-origin: left center;
}
.rv-tool-record { margin: 0 0 14px; }
.rv-tool-record > summary {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 38px;
  width: fit-content;
  cursor: pointer;
  list-style: none;
  color: #694b2d;
  font-size: .9rem;
}
.rv-tool-record > summary::-webkit-details-marker { display: none; }
.rv-tool-record > summary::before { content: "+"; font-size: 1.12rem; }
.rv-tool-record[open] > summary::before { content: "−"; }
.rv-tool-record > .rv-record { margin: 0 0 8px; }
.rv-detail, .rv-tool-dialog { container-type: inline-size; }
@container (max-width: 460px) {
  .rv-tool-stage { aspect-ratio: 1.42; }
  .rv-tool-record > summary { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-step [data-step] + [data-step] { margin-top: .6rem; }
}
