.ecc-figure__equation, .ecc-figure__readout, .ecc-figure__legend {
  text-align: center;
  font: 600 .79rem/1.5 var(--dh-font);
}
.ecc-figure__equation { margin: 0 0 7px; }
.ecc-field { display: block; width: min(100%, 310px); height: auto; margin: auto; overflow: visible; }
.ecc-field__surface { fill: #fffdf6; }
.ecc-field__grid { stroke: #deddd0; stroke-width: .8; fill: none; }
.ecc-field__axis { stroke: #33342c; stroke-width: 1.4; fill: none; stroke-linecap: round; }
.ecc-field__ticks { font: 500 9px var(--dh-font); fill: #424439; }
.ecc-field__dot { fill: #55584e; }
.ecc-field [data-point] { cursor: pointer; }
.ecc-field:focus-visible { outline: 2px solid #6f5592; outline-offset: 3px; border-radius: 3px; }
.ecc-field__line { fill: none; stroke: #99551a; stroke-width: 1.35; }
.ecc-field__vertical { stroke: #99551a; stroke-width: 1.8; stroke-dasharray: 4 2; }
.ecc-field__reflect { fill: none; stroke: #72451d; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ecc-field__purple { --point-fill: #b7a0dd; }
.ecc-field__green { --point-fill: #8ad1ac; }
.ecc-field__peach { --point-fill: #ffba88; }
.ecc-field__yellow { --point-fill: #ffdb4d; }
.ecc-field__mark circle { fill: var(--point-fill); stroke: var(--dh-ink); stroke-width: 1.65; }
.ecc-field__mark text {
  fill: var(--dh-ink); stroke: #fffdf6; stroke-width: 2.8px; stroke-linejoin: round; paint-order: stroke fill;
  font: 750 11px var(--dh-font);
}
.ecc-field__selection { fill: none; stroke: #674390; stroke-width: 1.6; stroke-dasharray: 2 2; pointer-events: none; }
.ecc-figure__legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px 12px; }
.ecc-figure__legend span { display: inline-flex; gap: 3px; align-items: baseline; }
.ecc-figure__legend i {
  display: inline-block; flex: none; align-self: center; width: 10px; height: 10px; border-radius: 50%;
  margin-inline-end: 2px; background: var(--point-fill); border: 1.25px solid var(--dh-ink);
}
.ecc-figure__readout { font: 500 .81rem/1.4 Inter, system-ui, sans-serif; display: block; margin-top: 9px; color: #4b4c42; }
.ecc-figure__details { margin-top: 14px; border-top: 1px solid #cbcabc; padding: 8px 0 0; }
.ecc-figure__details summary { width: fit-content; color: #44463c; cursor: pointer; font: 600 .84rem/1.4 Inter, system-ui, sans-serif; }
.ecc-figure__details[open] .ecc-field { margin-top: 10px; }
.ecc-figure .dh-figure__arrival strong { font-size: clamp(.85rem,4.2cqi,1.08rem); }
.ecc-figure__point-value { display: block; padding-top: 2px; font-size: .9rem; }
.ecc-figure__coordinate { white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .ecc-field__line, .ecc-field__vertical { animation: ecc-line-in .3s ease-out both; }
  .ecc-field__reflect { animation: ecc-line-in .4s ease-out .24s both; }
  .ecc-field__yellow circle { transform-box: fill-box; transform-origin: center; animation: ecc-point-in .40s ease-out .46s both; }
}
@keyframes ecc-line-in { from { opacity: .14; } to { opacity: 1; } }
@keyframes ecc-point-in { from { transform: scale(.5); opacity: .25; } to { transform: scale(1); opacity: 1; } }
