@font-face{font-family:Montserrat;src:url('assets/montserrat.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{font-family:Montserrat,Arial,sans-serif;color:#182737;background:#e5edf6;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 50% 40%,#f3f7fb,#dce5ef)}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,.scene-scroll:focus-visible{outline:3px solid #2470c4;outline-offset:4px}[hidden]{display:none!important}.modal-open{overflow:hidden}.launcher{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:23px;padding:24px;text-align:center}.launcher img{width:165px}.launcher h1{font-size:30px;letter-spacing:-.04em}.primary{background:#2470c4;color:#fff;border:0;border-radius:999px;padding:13px 18px;font-weight:700;display:flex;align-items:center;gap:14px}.help-bubble{background:#fff;color:#2470c4;border-radius:50%;height:23px;width:23px;display:grid;place-items:center}.primary:hover{background:#1f63ae}
dialog{width:min(1480px,calc(100vw - 38px));max-height:calc(100dvh - 30px);padding:0 18px 8px;margin:auto;border:1px solid #e3ebf3;border-radius:27px;background:#fff;box-shadow:0 15px 45px #152c422a;overflow:auto;color:#182737}dialog::backdrop{background:#dce5efbd}.window-header{padding:22px 10px 20px;display:flex;align-items:center;gap:22px;position:relative}.window-header h1{font-size:clamp(23px,2.8vw,41px);font-weight:800;letter-spacing:-.045em;line-height:1.16;margin:0;flex:1}.tree-toggle{background:linear-gradient(#fff,#f7f9fc);border:1px solid #cad4df;border-radius:999px;box-shadow:0 3px 8px #1a33421c;display:flex;align-items:center;justify-content:center;gap:12px;padding:9px 14px;color:#1d2b3b;font-weight:750;font-size:19px;flex:none}.tree-icon{font-size:25px;line-height:1}.switch-track{display:block;width:51px;height:31px;border:1px solid #3f9a37;border-radius:999px;background:#5ab642;position:relative;transition:background .55s,border-color .55s}.switch-track>span{position:absolute;height:25px;width:25px;top:2px;left:22px;border-radius:50%;background:linear-gradient(#fff,#edf0f2);box-shadow:0 1px 4px #173e1b3d;transition:transform .55s cubic-bezier(.2,.7,.3,1)}[aria-checked=false] .switch-track{background:#dce3eb;border-color:#b5c1cd}[aria-checked=false] .switch-track>span{transform:translateX(-20px)}.close{border:0;background:transparent;color:#5b6779;font-size:38px;line-height:1;width:38px;height:38px;flex:none;padding:0;align-self:flex-start}.close:hover{color:#182737}.scene-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;border-radius:20px}#scenes{display:flex;flex-direction:column;gap:12px;min-width:0}.scene-row{position:relative;border-radius:20px;overflow:hidden;background:#e6f3fc;line-height:0}.row-title{font-size:34px;line-height:1.1;font-weight:800;letter-spacing:-1.1px;fill:#182737}.power-scene{display:block;width:100%;height:auto;overflow:hidden;font-family:Montserrat,Arial,sans-serif}.power-scene image[data-component=inverter],.power-scene image[data-component=service-panel]{filter:drop-shadow(2px 3px 2px #2f4a5e25)}.wire-shadow{fill:none;stroke:#fff;stroke-width:5;opacity:.7}.wire{fill:none;stroke-width:2.8;stroke-linecap:round}.dc .wire{stroke:#2599ed}.ac .wire{stroke:#e5a725}.power-dot{offset-rotate:0deg;animation:power-flow 2.2s linear infinite}.dc .power-dot{fill:#e2f6ff;filter:drop-shadow(0 0 3px #159bec)}.ac .power-dot{fill:#fff3b8;filter:drop-shadow(0 0 3px #e0a320)}.electrical{font-size:17px;font-weight:750;fill:#28465d}.dc-label{fill:#216bac}.ac-label{fill:#946513}.static-flow{fill:none;stroke-width:3;stroke-dasharray:5 15;opacity:0}.dc .static-flow{stroke:#2470c4}.ac .static-flow{stroke:#9b6c1b}.tree-layer,.tree-shadow{opacity:1;transition:opacity .9s ease,transform .9s ease;transform-origin:235px 285px}.power-scene[data-tree=false] .tree-layer{opacity:0;transform:scale(.96)}.power-scene[data-tree=false] .tree-shadow{opacity:0}.production-gauge{filter:drop-shadow(0 1px 2px #0005)}.gauge-full{opacity:1;transition:opacity 1s ease}.production-gauge[data-level="1"] .gauge-full{opacity:0}.gauge-low{opacity:1}#comparison[data-motion=paused] .flow-pulse{animation-play-state:paused}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.asset-error{font-size:11px;color:#755a17;background:#fff5dc;padding:10px;border-radius:8px}@keyframes power-flow{from{offset-distance:0%}to{offset-distance:100%}}
@media(max-width:850px){dialog{width:calc(100vw - 14px);padding:0 10px 7px;border-radius:19px;max-height:calc(100dvh - 16px)}.window-header{padding:18px 4px 15px;gap:12px;flex-wrap:wrap}.window-header h1{font-size:24px;max-width:calc(100% - 35px);flex-basis:calc(100% - 40px)}.close{position:absolute;top:15px;right:0;font-size:30px;width:28px;height:28px}.tree-toggle{font-size:14px;padding:7px 10px;gap:9px}.tree-icon{font-size:20px}.switch-track{height:27px;width:45px}.switch-track>span{height:21px;width:21px;left:20px}#scenes{gap:9px;min-width:0}.scene-row{border-radius:14px}.scene-scroll{border-radius:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.flow-pulse{display:none}.static-flow{opacity:1}.power-scene[data-tree=false] .tree-layer{transform:none}}
/* Keep the three-row illustration together on desktop, including shorter windows. */
@media(min-width:851px){dialog{width:min(1480px,calc(100vw - 38px),calc((100dvh - 155px)*1.6))}}

/* Bright moving packets follow each conductor from its source toward the home. */
.flow-pulse{fill:none;stroke-width:4.2;stroke-linecap:round;stroke-dasharray:2.5 12;animation:electric-flow 2.6s linear infinite;pointer-events:none}
.dc .flow-pulse{stroke:#ecfbff;filter:drop-shadow(0 0 2px #008df5)}
.ac .flow-pulse{stroke:#fff9dc;filter:drop-shadow(0 0 2px #edae16)}
@keyframes electric-flow{from{stroke-dashoffset:87}to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){.flow-pulse{display:none}}

/* Partial shade uses the app's yellow three-bar artwork. */
.gauge-medium{opacity:0;transition:opacity 1s ease}
.production-gauge[data-level="3"] .gauge-medium{opacity:1}
.production-gauge[data-level="3"] .gauge-full{opacity:0}

/* Host-modal embed: the available iframe region owns the size of all three rows. */
html,body.comparison-embed{height:100%;min-height:0;background:#fff;overflow:hidden}
.comparison-embed #comparison{height:100%;display:flex;flex-direction:column;min-height:0}
.comparison-embed .window-header{padding:0 4px 10px;justify-content:flex-end;flex:none;min-height:48px}
.comparison-embed .tree-toggle{min-height:44px;font-size:15px;padding:7px 12px;gap:10px}
.comparison-embed .scene-scroll{min-height:0;flex:1;overflow:hidden;display:flex;justify-content:center;align-items:center;overscroll-behavior:contain}
.comparison-embed #scenes{gap:10px;min-width:0;width:100%;max-width:100%;flex:none}
.comparison-embed .scene-row{min-height:0;flex:none;background:transparent}
.comparison-embed .power-scene{margin:0 auto;width:var(--comparison-image-width,100%);max-width:100%;height:auto;aspect-ratio:24/5;border-radius:inherit}
@media(max-width:600px){.comparison-embed .scene-row h2{text-align:center;position:static;width:auto;height:auto;margin:8px 12px 0;overflow:visible;clip:auto;white-space:normal;font-size:16px;line-height:1.2}.comparison-embed .row-title{visibility:hidden}}
@media(max-height:180px){.comparison-embed .scene-row h2{display:none}.comparison-embed .row-title{visibility:visible}}
