/* Interactive telemetry overlay for the industry hero artwork (industry-telemetry.js). */

.telemetry-stage{position:relative;--pad:22px}

.telemetry-hotspots{position:absolute;left:0;right:0;top:var(--pad);bottom:var(--pad)}

.telemetry-hotspot{position:absolute;margin:0;padding:0;border:1.5px dashed transparent;border-radius:10px;background:transparent;cursor:pointer;transition:background .25s ease,border-color .25s ease,box-shadow .25s ease}
.telemetry-hotspot:hover,
.telemetry-hotspot.is-active{border-color:#8050ad;background:rgba(128,80,173,.08);box-shadow:0 0 0 6px rgba(128,80,173,.07),0 0 28px rgba(92,232,210,.38)}
.telemetry-hotspot:focus-visible{outline:2px solid #8050ad;outline-offset:3px}
.telemetry-hotspot.is-active::after{content:attr(data-label);position:absolute;left:8px;top:8px;padding:3px 8px;border-radius:999px;background:#fff;border:1px solid #c9b3dd;color:#704b8c;font-size:11px;letter-spacing:.06em;white-space:nowrap}

/* Small readout box: hidden until a unit is hovered or focused, solid inside so text beneath it stays legible, bordered, and drawn above the page. */
.telemetry-readout{position:fixed;left:0;top:0;z-index:1000;width:180px;margin:0;padding:6px 9px;box-sizing:border-box;background:#fff;border:1px solid #c9b3dd;border-radius:8px;box-shadow:0 4px 14px rgba(47,38,56,.14);color:#4d4256;font-size:11px;line-height:1.35;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}
.telemetry-stage.has-active + .telemetry-readout{opacity:1;visibility:visible}
.telemetry-readout.is-away,.telemetry-stage.has-active + .telemetry-readout.is-away{opacity:0;visibility:hidden}
.telemetry-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.telemetry-name{font-size:11px;color:#2f2638;white-space:nowrap}
.telemetry-status{font-size:8px;letter-spacing:.08em;text-transform:uppercase;padding:1px 6px;border-radius:999px;border:1px solid;white-space:nowrap}
.telemetry-status.status-nominal{color:#0f7b6c;border-color:#8fd6c8;background:#effbf8}
.telemetry-status.status-watch{color:#9a6212;border-color:#e6c07f;background:#fff8ea}
.telemetry-reading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-top:3px}
.telemetry-value{font-size:16px;letter-spacing:-.02em;color:#2f2638}
.telemetry-value small{font-size:10px;margin-left:2px;color:#6b6073}
.telemetry-metric{color:#6b6073;font-size:10px;white-space:nowrap}

/* Leader line from the readout box down to the active unit. Viewport-positioned, drawn above the page. */
.telemetry-leader{position:fixed;left:0;top:0;width:100vw;height:100vh;z-index:999;pointer-events:none;overflow:visible;opacity:0;transition:opacity .2s ease}
.telemetry-leader.is-visible{opacity:1}
.telemetry-leader.is-away{opacity:0}
.telemetry-leader line{stroke:#8050ad;stroke-width:1}
.telemetry-leader circle{fill:#8050ad}

@media(max-width:700px){.telemetry-stage{--pad:10px}}
@media(prefers-reduced-motion:reduce){.telemetry-hotspot,.telemetry-readout,.telemetry-leader{transition:none}}
