/* All explorers share the same active step, fine linework, and translucent planes. */
body.spatial-site[data-expression-redesign] .model-section .step-controls button:hover {
  color: #23495c;
  background: #f2f6f8;
}
body.spatial-site[data-expression-redesign] .model-section .step-controls button[aria-pressed="true"] {
  color: #12364a;
  background: #eaf5fa;
  border-bottom: 2px solid #087798;
}
body.spatial-site[data-expression-redesign] .model-section .step-controls button[aria-pressed="true"] :is(span, i) {
  color: #00658b;
}
body.spatial-site[data-expression-redesign] .model-section .step-controls button:focus-visible {
  outline: 2px solid #00668b;
  outline-offset: -4px;
}

.model-section .scene .scene-layer.is-muted {
  opacity: .49;
}
.model-section .scene .scene-layer.is-muted > g[filter]:first-child > polygon {
  fill-opacity: .19;
}
.model-section .scene .scene-layer.is-selected > g[filter]:first-child > polygon:last-child {
  fill: #e9f7fb;
  stroke: #167a9b;
  stroke-width: 1.3px;
  vector-effect: non-scaling-stroke;
}

/* Preserve the original surface shading and the fine lines of the technical drawing. */
.model-section .scene .scene-layer.is-selected :is(polygon, rect, ellipse)[stroke]:not([stroke="none"]) {
  stroke: #4d758b;
}
.model-section .scene .scene-layer.is-selected > :is(polygon, rect, ellipse):where([stroke]:not([stroke="none"])) {
  stroke-width: 1.1;
}
.model-section .scene .scene-layer.is-selected polygon[fill="#d4e4ef"] {
  fill: #c9e2ed;
}
.model-section .scene .scene-layer.is-selected :is(.signal-path, .leader, path[stroke="#00A1F2" i]) {
  stroke: #087ba0;
  stroke-width: 1.55;
}
body[data-expression-redesign] .model-section .scene .scene-layer.is-selected text {
  fill: #163d51;
  font-weight: 500;
  paint-order: stroke fill;
  stroke: #f3f8fb;
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.home-model .scene .scene-layer.is-selected > text {
  font-size: 17px;
}

@media (any-hover: hover) {
  .model-section .scene.has-layer-hover { cursor: pointer; }
  .model-section .scene .scene-layer.is-muted.is-hit-hover {
    opacity: .77;
  }
}
@media (forced-colors: active) {
  body.spatial-site[data-expression-redesign] .model-section .step-controls button[aria-pressed="true"] {
    border-bottom-color: Highlight;
    text-decoration: underline;
  }
  body.spatial-site[data-expression-redesign] .model-section .step-controls button:focus-visible {
    outline-color: Highlight;
  }
  .model-section .scene .scene-layer.is-selected > g[filter]:first-child > polygon:last-child {
    stroke: CanvasText;
  }
}
