/* Compact, scoped voltage workspace; no shared layout or thermal-risk overrides. */
.voltage-heading{display:flex;align-items:center;justify-content:space-between;gap:9px}.voltage-heading h3{margin:0!important;font-size:10px!important}.voltage-heading>span{font-size:10px;color:#91b7c8;white-space:nowrap}
.voltage-tabs{display:flex;gap:5px;margin:10px 0}.voltage-tabs button{flex:1;border:1px solid #334e5d;border-radius:5px;background:#112630;color:#a9c4d0;padding:7px;font:11px var(--sans);cursor:pointer}.voltage-tabs button[aria-pressed=true]{color:#c4f2ff;background:#214253;border-color:#59889c}
.voltage-overview{display:flex;gap:10px;justify-content:space-between;align-items:center;margin:10px 0}.voltage-overview strong{font-size:16px;font-weight:600;color:#a9e7f5;font-variant-numeric:tabular-nums}.voltage-overview>span{font-size:10px;color:#abc3ce}.voltage-overview .has-warning{color:#ffbf91}
.voltage-field{display:flex;flex-direction:column;gap:5px;font-size:10px;color:#b4cbd5;margin:10px 0}.original118-app .voltage-field select,.original118-app .voltage-field input{width:100%;min-width:0;max-width:none;height:34px;padding:6px 8px;background:#0b1b25;border:1px solid #3c5665;border-radius:5px;color:#e2f1f7;font:11px var(--sans)}
.voltage-reading{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:11px;margin:8px 0;color:#9ab9c7}.voltage-reading strong{font-size:21px;font-weight:550;color:#ceeff9;font-variant-numeric:tabular-nums}.voltage-reading small{font-size:10px;font-weight:400}.voltage-badge{font-size:9px;border:1px solid #3a6979;border-radius:4px;padding:2px 5px;color:#abe8f5;line-height:1.4}.voltage-badge.estimated{color:#ffce88;border-color:#8e724e;background:#67482240}.voltage-badge.unavailable{color:#c2bbc3;border-color:#655564}
.voltage-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.original118-app .voltage-actions .btn{flex:1;min-height:33px;font-size:10px;padding:6px 8px}.voltage-note{font-size:10px;color:#94b0be;line-height:1.55;margin-top:7px;overflow-wrap:anywhere}.voltage-alerts{display:flex;flex-wrap:wrap;gap:5px}.voltage-alerts button{background:#492f2c;border:1px solid #875a4a;color:#ffcea8;border-radius:4px;padding:4px 6px;font:10px var(--sans);cursor:pointer}
.voltage-details{margin-top:11px;border-top:1px solid #324853;padding-top:9px}.voltage-details>summary{cursor:pointer;color:#bdd5e1;font-size:11px}.voltage-validation{display:flex;gap:6px;align-items:center;color:#b3c3ce;font-size:10px;margin-top:8px}.voltage-chart{display:block;width:100%;height:auto;margin-top:8px;overflow:visible}.voltage-chart text{font:9px 'Segoe UI',sans-serif;fill:#8eafbe}.voltage-band{fill:#59af9f;opacity:.07}.voltage-grid{stroke:#385361;stroke-width:.6}.voltage-grid.limit{stroke:#b89962;stroke-dasharray:4 4;opacity:.65}.voltage-trace{fill:none;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}.voltage-trace.measured{stroke:#7bd7ef}.voltage-trace.estimated{stroke:#ffc275;stroke-dasharray:4 3}.voltage-trace.truth{stroke:#cba3eb;stroke-dasharray:1 4}.voltage-dot.measured{fill:#7bd7ef}.voltage-dot.estimated{fill:#ffc275}.voltage-dot.truth{fill:#cba3eb}.voltage-plot-key{display:flex;flex-wrap:wrap;gap:6px 10px;font-size:9px;color:#9ebac8;margin-top:2px}.voltage-plot-key>span:before{content:'';display:inline-block;width:12px;margin-right:4px;border-top:2px solid;vertical-align:middle}.voltage-plot-key .measured{color:#7bd7ef}.voltage-plot-key .estimated{color:#ffc275}.voltage-plot-key .estimated:before{border-top-style:dashed}.voltage-plot-key .truth{color:#cba3eb}.voltage-plot-key small{font-size:9px;color:#8da7b5}
.voltage-study-intro{display:flex;flex-direction:column;gap:3px;font-size:11px;color:#bfe4f1;margin:8px 0}.voltage-study-intro>small{font-size:10px;color:#a6b8c4}.voltage-q-row{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px;align-items:end;margin-bottom:8px}.voltage-q-row .voltage-field{margin:0}.original118-app .voltage-q-row .btn{min-height:34px;font-size:11px}.voltage-error{color:#ffc0ae;border-left:2px solid #d27d64;background:#432b2b;padding:7px 9px;font-size:11px;line-height:1.5;margin:8px 0}.voltage-sub{margin:10px 0 13px;border:1px solid #355c6d;border-radius:7px;background:#091c27;padding:10px}.voltage-sub .voltage-heading>strong{font-size:12px;color:#c9e8f3}.voltage-sub-bus{display:flex;justify-content:space-between;align-items:baseline;gap:8px;width:100%;background:#132d3a;border:1px solid #2c4b5b;border-radius:5px;padding:7px 8px;color:#bed8e4;font:11px var(--sans);margin-top:7px;cursor:pointer}.voltage-sub-bus[aria-pressed=true]{border-color:#78bbcf}.voltage-sub-bus strong{color:#ccf2fc;font-size:13px;font-weight:550}.voltage-sub-bus small{font-size:9px;color:#98b5c4}.voltage-alarm-ring{fill:none;stroke:#e8acfc;stroke-width:1.5;stroke-dasharray:2 2;pointer-events:none;opacity:.95;animation:voltage-ring-pulse 1.8s ease-in-out infinite}.voltage-alarm[data-voltage-status=undervoltage] .voltage-alarm-ring{stroke:#b598ff}.voltage-alarm[data-voltage-status=overvoltage] .voltage-alarm-ring{stroke:#f4acd8}@keyframes voltage-ring-pulse{50%{opacity:.4}}
.map-motion-off .voltage-alarm-ring{animation:none}@media(prefers-reduced-motion:reduce){.voltage-alarm-ring{animation:none}}
.voltage-legend{color:#d9a9f0}
.original118-app #voltagesToggle{display:flex;align-items:center;gap:5px;min-height:32px;font-size:10px;line-height:1;border:0;background:#091218cb;border-radius:5px;padding:6px;color:var(--dim);cursor:pointer}
.component-voltage-value{font:9px 'Segoe UI',sans-serif;fill:#a7e6f9;paint-order:stroke;stroke:#07131c;stroke-width:3;stroke-linejoin:round;pointer-events:none;font-variant-numeric:tabular-nums}
.component-voltage-value.estimated{fill:#ffce88}.component-voltage-value.undervoltage{fill:#c4acff;font-weight:650}.component-voltage-value.overvoltage{fill:#ffadde;font-weight:650}
.voltage-badge.alarm{border-color:#a87ca2;background:#644a6938;color:#f0bde9}.voltage-sub-bus small{max-width:115px;text-align:right;line-height:1.4}
