/* Optical finish for the original PlanMetrics trade miniatures. */
.studio-tool {
  --tool-rim-shade: #878c92;
  --tool-rim-soft: #b1b7bb;
  --tool-rim-glint: #e0e4e5;
  --tool-glint-color: #d2e0e7;
  --tool-weight: .55px;
  --tool-rim-shadow: none;
  --tool-saturation: 1;
  display: block;
  shape-rendering: geometricPrecision;
}
.studio-tool .tool-rim-shade { stop-color: var(--tool-rim-shade); }
.studio-tool .tool-rim-soft { stop-color: var(--tool-rim-soft); }
.studio-tool .tool-rim-glint { stop-color: var(--tool-rim-glint); }
.studio-tool .tool-rim {
  stroke-width: var(--tool-weight);
  filter: var(--tool-rim-shadow);
}
svg.trade-orb.studio-tool .orb-subject { filter: saturate(var(--tool-saturation)); }
.studio-tool.is-lit, [aria-current="true"] .studio-tool {
  --tool-rim-shade: color-mix(in srgb, var(--tool-accent) 65%, #929aa2);
  --tool-rim-soft: color-mix(in srgb, var(--tool-accent) 58%, #f4f6f6);
  --tool-rim-glint: color-mix(in srgb, var(--tool-accent) 22%, white);
  --tool-glint-color: color-mix(in srgb, var(--tool-accent) 64%, white);
  --tool-weight: .78px;
  --tool-rim-shadow: drop-shadow(0 0 .65px var(--tool-glint-color));
  --tool-saturation: 1.055;
}
.studio-tool[data-trade-orb="14"] {
  --tool-glint-color: #ebd7ac;
}
.studio-tool[data-trade-orb="14"].is-lit,
[aria-current="true"] .studio-tool[data-trade-orb="14"] {
  --tool-rim-soft: #efe2c8;
  --tool-rim-glint: #fff5dd;
}
/* The cladding model uses both gradient stops and flat shaded board edges. */
.studio-tool[data-symbol="clad"] [stop-color="#abb6a5" i] { stop-color: #f4e3c1; }
.studio-tool[data-symbol="clad"] [stop-color="#656f62" i] { stop-color: #ac9470; }
.studio-tool[data-symbol="clad"] [fill="#656f62" i] { fill: #ac9470; }

:is(#board, #phone-tools) .orb-btn:is(.is-active, [aria-current="true"]) {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
:is(#board, #phone-tools) .orb-btn:is(.is-active, [aria-current="true"])::before,
:is(#board, #phone-tools) .orb-btn.is-active .orb-art::after { content: none; }
:is(#board, #phone-tools) .orb-btn:is(.is-active, [aria-current="true"]) .orb-art,
:is(#board, #phone-tools) .orb-btn.is-active .orb-art > svg { filter: none; }

:is(#board, #phone-tools) .orb-btn:is(:hover, :focus-visible) .orb-art {
  transform: translateY(-1px);
}
:is(#board, #phone-tools) .orb-btn:focus-visible {
  outline: 1px solid #c6ced2;
  outline-offset: -2px;
}
@media (prefers-reduced-motion: reduce) {
  :is(#board, #phone-tools) .orb-btn .orb-art { transition: none; }
  :is(#board, #phone-tools) .orb-btn:is(:hover, :focus-visible) .orb-art { transform: none; }
}
