#earth-result{min-width:0;margin-top:20px;border-top:1px solid var(--line,#cad6cf);padding-top:16px}#earth-result[hidden]{display:none}#earth-result h3{font-size:19px;margin:0 0 8px}#earth-result h4{font-size:14px;margin:12px 0 8px}.earth-caution{font-size:12px;line-height:1.6;color:var(--muted,#617466)}.earth-stop{border-inline-start:3px solid #a1b455;padding-inline-start:12px;font-weight:600;font-size:13px}.earth-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.earth-metric{min-width:0}.earth-metric span{display:block;font-size:11px;color:var(--muted,#617466)}.earth-metric strong{display:block;font:18px ui-monospace,monospace;overflow-wrap:anywhere}.earth-charts{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.earth-chart-box{min-width:0}.earth-chart{border:1px solid var(--line,#cad6cf);border-radius:6px;overflow:hidden;background:#f7faf6}.earth-chart svg{display:block;width:100%;height:auto;min-height:170px}.earth-grid{stroke:#dce4d5;stroke-width:1}.earth-line{fill:none;stroke:#376e47;stroke-width:2.4;stroke-linejoin:round}.earth-line-1{stroke:#b16337;stroke-dasharray:7 4}.earth-tick{font:10px ui-monospace,monospace;fill:#52604e}.earth-axis-label{font:11px system-ui;fill:#364c35}.earth-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:12px}.earth-series-0:before,.earth-series-1:before{content:'';display:inline-block;width:24px;border-top:3px solid #376e47;margin-inline-end:8px;vertical-align:middle}.earth-series-1:before{border-color:#b16337;border-top-style:dashed}.earth-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}.earth-controls button{min-height:44px}.earth-controls label{font-size:12px;min-width:120px;flex:1}.earth-controls input{display:block;width:100%;accent-color:#547b3e}.earth-controls output{font:12px ui-monospace,monospace}.earth-table-wrap{overflow:auto;max-width:100%;max-height:300px;overscroll-behavior:contain}.earth-table-wrap table{border-collapse:collapse;font:11px ui-monospace,monospace;white-space:nowrap;width:100%}.earth-table-wrap :is(th,td){padding:8px;border-bottom:1px solid var(--line,#cad6cf);text-align:right}.earth-table-wrap th{position:sticky;top:0;background:#f1f6ee}.runtime-scene[hidden]{display:none}@media(max-width:520px){.earth-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.earth-controls label{flex-basis:100%}.earth-metric strong{font-size:16px}}

/* Numerical scenes are rendered locally from the selected bounded model. */
.earth-scene{min-width:0;margin:16px 0 22px;border:1px solid #36555e;border-radius:14px;overflow:hidden;background:#0a1e27;color:#e2f4f3;contain:layout paint}.earth-scene[hidden]{display:none!important}.earth-scene-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid #28444e}.earth-scene-head strong{font-size:16px}.earth-scene-tag{font:10px ui-monospace,monospace;text-transform:uppercase;letter-spacing:.1em;color:#a6cbd0}.earth-scene-svg{display:block;width:100%;height:auto;min-height:210px;max-height:480px}.earth-scene-facts{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 20px;background:#102a35;color:#bde6e7;font:12px ui-monospace,monospace}.earth-scene .earth-scene-controls{padding:0 20px;margin:16px 0}.earth-scene-controls button{background:#183a45;color:#e3f8f3;border:1px solid #52777b;border-radius:8px;padding:8px 14px;font:13px system-ui;cursor:pointer}.earth-scene-controls button:hover{background:#26535b}.earth-scene-controls button[aria-pressed="true"]{border-color:#b3e9c9;color:#ceffdc}.earth-scene-controls button:focus-visible,.earth-scene-controls input:focus-visible{outline:2px solid #d0fbdc;outline-offset:3px}.earth-scene-controls input{accent-color:#b3e9c9}.earth-scene-note{margin:0;padding:0 20px 18px;font-size:12px;line-height:1.6;color:#a0bec6}.earth-scene-controls output{min-width:70px;text-align:end;color:#d1f1ed}@media(max-width:520px){.earth-scene-head{align-items:flex-start;flex-direction:column;padding:14px}.earth-scene-svg{min-height:170px}.earth-scene-facts{padding:12px 14px;font-size:11px}.earth-scene .earth-scene-controls{padding:0 14px}.earth-scene-note{padding:0 14px 14px}.earth-scene-tag{font-size:9px}}

/* Equal-sphere Canvas2D projection works without WebGL. Colour alone encodes metres. */
.earth-planetary{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);gap:16px;padding:16px;align-items:start}.earth-planetary-main,.earth-planetary-local{min-width:0}.earth-planetary-canvas{display:block;width:100%;height:auto;background:#071d29;border-radius:10px}.earth-planetary-canvas[hidden]{display:none}.earth-tide-legend{padding:10px 14px}.earth-tide-legend strong{display:block;margin-bottom:9px;font-size:12px;font-weight:500}.earth-tide-colours{height:12px;border-radius:3px;background:linear-gradient(90deg,rgb(30,95,180),rgb(225,241,226),rgb(237,134,62))}.earth-tide-ticks{display:flex;justify-content:space-between;gap:4px;margin-top:6px;font:11px ui-monospace,monospace;color:#c2e4df}.earth-direction-legend{display:flex;flex-wrap:wrap;gap:18px;padding:4px 14px;font-size:12px}.earth-direction-legend span:before{content:'';display:inline-block;width:9px;height:9px;border-radius:50%;margin-inline-end:7px;background:#d2e3ef}.earth-direction-legend .earth-sun-key:before{background:#f9cb75}.earth-planetary-view{display:block;padding:10px 14px;font-size:12px}.earth-planetary-view input{display:block;width:100%;min-height:32px;accent-color:#b3e9c9}.earth-planetary-view input:focus-visible{outline:2px solid #d0fbdc;outline-offset:3px}.earth-planetary-extrema{display:flex;gap:12px;justify-content:space-between;padding:0 14px;font-size:11px;color:#a9c7cd}.earth-planetary-extrema output{display:block;font:13px ui-monospace,monospace;color:#e1f6ef;margin-top:4px}.earth-planetary-local{background:#102a35;border-radius:10px;padding:16px}.earth-planetary-local h4{margin:0 0 12px;font-size:15px}.earth-planetary-local .earth-scene-note{padding:0;font-size:11px}.earth-planetary-coordinate{font-size:11px;color:#a9c7cd;margin:14px 0}.earth-planetary-coordinate strong{display:block;margin-top:4px;font:14px ui-monospace,monospace;color:#e1f6ef}.earth-inertial-svg{display:block;width:100%;height:auto;overflow:visible}.earth-inertial-grid{stroke:#2d4f58;stroke-width:1}.earth-inertial-details{display:grid;grid-template-columns:1fr;gap:10px;font-size:11px;color:#a9c7cd}.earth-inertial-details output{display:block;font:15px ui-monospace,monospace;color:#e1f6ef;margin-top:3px}@media(max-width:780px){.earth-planetary{grid-template-columns:minmax(0,1fr);padding:12px}.earth-planetary-local{padding:14px}.earth-inertial-svg{max-width:420px;margin:auto}.earth-inertial-details{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:420px){.earth-tide-ticks{font-size:10px}.earth-inertial-details{grid-template-columns:minmax(0,1fr)}.earth-planetary-extrema{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.earth-planetary *{scroll-behavior:auto}}
