.spatial-distance-page{--spatial-x:#216b57;--spatial-y:#4266ad;--spatial-z:#89522b}.spatial-distance-page .distance-coordinates{grid-template-columns:repeat(3,minmax(0,1fr))}.spatial-distance-page .distance-coordinates input{padding-inline:.43rem}@media (min-width:821px) and (max-width:1020px){.spatial-distance-page .distance-fields{grid-template-columns:1fr}}.spatial-plot svg{background:var(--white);border:1px solid var(--line);border-radius:10px;width:min(100%,29rem);margin-block:.25rem .4rem}.spatial-axis-x{--spatial-axis:var(--spatial-x)}.spatial-axis-y{--spatial-axis:var(--spatial-y)}.spatial-axis-z{--spatial-axis:var(--spatial-z)}.spatial-axis path,.spatial-component path{fill:none;stroke:var(--spatial-axis)}.spatial-axis path{stroke-width:1.35px;opacity:.76}.spatial-component path{stroke-width:2.5px;stroke-dasharray:5 4}.spatial-plot svg .spatial-axis text,.spatial-plot svg .spatial-component text{fill:var(--spatial-axis);stroke:var(--white);stroke-width:3px;paint-order:stroke;stroke-linejoin:round;font-size:17px;font-weight:750}.spatial-plot svg .spatial-origin{fill:var(--muted);font-size:15px;font-weight:700}.spatial-wireframe{fill:none;stroke:#c8bfdb;stroke-width:1.1px}.spatial-base-diagonal{fill:none;stroke:#81749f;stroke-width:1.6px;stroke-dasharray:4 4}.spatial-view-controls{grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end;gap:.55rem;display:grid}.spatial-view-controls label{min-width:0;color:var(--ink);grid-template-columns:1fr auto;font-size:.84rem;font-weight:650;display:grid}.spatial-view-controls label span{color:var(--muted);font-weight:500}.spatial-view-controls input{width:100%;min-width:0;height:30px;accent-color:var(--purple);cursor:pointer;grid-column:1/-1;margin:.12rem 0 0}.spatial-view-controls button{min-height:44px;font-size:.85rem}.spatial-direction{border-top:1px solid var(--line);margin-top:.8rem;padding-top:.85rem}.spatial-direction h3{letter-spacing:-.014em;font-size:1.15rem}.spatial-direction p{color:var(--muted);margin-top:.4rem;font-size:.88rem}.spatial-cosines{grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;margin:.62rem 0 0;display:grid}.spatial-cosines dd.spatial-angle{color:var(--muted);font-size:.88rem;font-weight:500}.spatial-distance-page .spatial-identity strong{color:var(--purple-deep);font-weight:750}.spatial-direction .scientific-value{white-space:nowrap}.spatial-illustration{border:1px solid var(--line);background:var(--white);border-radius:10px;margin:1rem 0;overflow:hidden}.spatial-illustration img{width:100%;height:auto;display:block}.spatial-illustration figcaption{color:var(--muted);padding:.65rem .75rem;font-size:.9rem}.spatial-practice>div{background:var(--white);border:1px solid var(--line);border-radius:8px;margin-top:.7rem;padding:.6rem .75rem}.spatial-practice h3{margin-top:0}.spatial-practice p{margin-block:.46rem}.spatial-practice summary{min-height:44px;padding:.45rem 0}.spatial-sources{overflow-wrap:anywhere;font-size:.94rem}@media (max-width:530px){.spatial-cosines{grid-template-columns:1fr}.spatial-cosines .distance-metric{grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:.12rem .4rem;display:grid}.spatial-cosines dd{margin:0}.spatial-cosines dd.spatial-angle{grid-column:1/-1}.spatial-view-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.spatial-view-controls button{grid-column:1/-1;justify-self:start}.spatial-distance-page .distance-results{grid-template-columns:1fr}}
