.technology-modal.tech3d-mode{padding:12px;background:#06110feb;overflow:hidden}
.tech3d-mode .technology-dialog{width:min(1600px,100%);max-width:none;min-width:0;max-height:calc(100dvh - 24px);overflow:auto;background:#0c1918;border:1px solid #29413d;border-radius:20px;scroll-behavior:auto;overscroll-behavior:contain}
.tech3d-mode .technology-dialog-head{display:none}
.tech3d-mode #technologyFlow{min-width:0;min-height:0;padding:0;display:block;background:none;overflow:visible}
.tech3d-switch{display:block;margin:10px 22px 0 auto;padding:9px 14px;border:1px solid #4d655f;border-radius:9px;background:#1d3330;color:#e0ece7;cursor:pointer;font:inherit;font-size:12px}
.tech3d{--ink:#e8f3ed;--muted:#a3b9b0;--bg:#0c1918;--panel:#122321;--line:#2c423d;--green:#a4d757;--blue:#65d4f4;--orange:#ffc071;background:var(--bg);color:var(--ink);font-family:Inter,"Segoe UI",sans-serif;padding:22px 30px 28px;line-height:1.45;min-width:0;text-align:left}
.tech3d[data-theme=light]{--ink:#163830;--muted:#4e695f;--bg:#edf4ef;--panel:#fff;--line:#ccddd3;--green:#3d7715;--blue:#08768f;--orange:#aa5900}
.tech3d *{box-sizing:border-box}
.tech3d [hidden]{display:none!important}
.tech3d button{font-family:inherit;cursor:pointer}
.tech3d button:focus-visible,.tech3d-switch:focus-visible{outline:3px solid #61d9f4;outline-offset:4px}
.tech3d-header{display:flex;gap:18px;justify-content:space-between;align-items:center;margin-bottom:18px}
.tech3d-eyebrow{font-size:10px;letter-spacing:2px;color:var(--green);font-weight:700}
.tech3d h2{font-size:clamp(23px,2.4vw,35px);line-height:1.2;color:var(--ink);margin:7px 0}
.tech3d-description{font-size:12px;color:var(--muted)}
.tech3d-header-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.tech3d-header-actions span{font-size:11px;color:var(--muted);width:100%;text-align:right}
.tech3d-header-actions button,.tech3d-tabs button,.tech3d-detail button{border:1px solid var(--line);background:var(--panel);color:var(--ink);padding:10px 14px;border-radius:9px;font-size:12px;min-height:40px}
.tech3d-health{border:1px solid #61954750;border-radius:10px;padding:10px 14px;font-size:12px;color:var(--green);background:#74a3480b;overflow-wrap:anywhere}
.tech3d-health.warning{border-color:#b66d3d88;color:var(--orange);background:#b2711614}
.tech3d-tabs{display:flex;gap:8px;align-items:center;margin:18px 0 16px;flex-wrap:wrap}
.tech3d-tabs button[aria-pressed=true]{background:#42652a;color:#f7ffee;border-color:#7eac48}
.tech3d-version{font-size:11px;color:var(--muted);margin-left:auto}
.tech3d-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}
.tech3d-metrics>div{padding:14px 18px;background:linear-gradient(120deg,var(--panel),transparent);border:1px solid var(--line);border-radius:12px;min-width:0}
.tech3d-metrics span{display:block;font-size:11px;color:var(--muted)}
.tech3d-metrics b{font-size:clamp(17px,1.8vw,27px);display:block;color:var(--blue);margin-top:5px;font-variant-numeric:tabular-nums}
.tech3d-metrics>div:first-child b,.tech3d-metrics>div:last-child b{color:var(--green)}
.tech3d-section{border:1px solid var(--line);border-radius:16px;background:var(--panel);overflow:hidden;min-width:0}
.tech3d-section>header,.tech3d-sources>header{padding:18px 20px 8px;display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.tech3d h3{color:var(--ink);font-size:15px;margin:0;letter-spacing:.2px}
.tech3d-section>header span,.tech3d-sources>header span{color:var(--muted);font-size:10px}
.tech3d-electric-scene{position:relative;display:grid;grid-template-columns:minmax(140px,1fr) minmax(230px,1.65fr) minmax(130px,.9fr);grid-template-rows:240px 235px;grid-template-areas:"solar house grid" "battery house ev";gap:10px 38px;padding:14px 34px 24px;isolation:isolate;background:radial-gradient(ellipse at 50% 45%,#43725324,transparent 65%)}
.tech3d-node{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0;border:1px solid transparent;border-radius:14px;color:var(--ink);background:transparent;padding:10px 12px;text-align:center;transition:background .18s,border-color .18s;z-index:1}
.tech3d-node:hover{background:#779f7310;border-color:var(--line)}
.tech3d-node-title{font-size:11px;font-weight:650;letter-spacing:.2px;max-width:100%;overflow-wrap:anywhere}
.tech3d-art{position:relative;display:flex;align-items:center;justify-content:center;flex:1;width:100%;min-height:0;margin:7px 0;pointer-events:none}
.tech3d-art>img,.tech3d-art>svg{display:block;object-fit:contain;width:100%;height:100%;max-height:158px;filter:drop-shadow(0 14px 11px #0004)}
.tech3d-art>svg{color:#8cb5b4;max-width:160px}
.tech3d-node strong{font-size:23px;color:var(--blue);font-variant-numeric:tabular-nums;line-height:1.3}
.tech3d-note{color:var(--muted);font-size:11px;line-height:1.4;display:block;max-width:100%;margin:3px 0}
.tech3d-open{font-size:10px;color:var(--green);margin-top:4px}
.tech3d-solar{grid-area:solar}.tech3d-grid{grid-area:grid}.tech3d-battery{grid-area:battery}.tech3d-ev{grid-area:ev}.tech3d-house{grid-area:house;align-self:center;min-height:330px}
.tech3d-inverter{position:absolute;left:32%;bottom:28px;width:12%;height:170px;padding:4px;z-index:2}
.tech3d-inverter .tech3d-node-title{font-size:9px}.tech3d-inverter strong{font-size:13px}.tech3d-inverter .tech3d-note,.tech3d-inverter .tech3d-open{display:none}.tech3d-inverter .tech3d-art img{max-height:100px}
.tech3d-house .tech3d-art{min-height:235px}.tech3d-house img{height:auto;max-height:310px;border-radius:24px;mix-blend-mode:lighten}
.tech3d[data-theme=light] .tech3d-house img{mix-blend-mode:normal}
.tech3d-house strong{font-size:32px}.tech3d-house .tech3d-node-title{font-size:15px}
.tech3d-solar strong,.tech3d-battery strong{color:var(--green)}
.tech3d-solar-art{position:relative;width:100%;height:150px;display:flex;align-items:center;justify-content:center;gap:8px}
.tech3d-solar-art svg{width:48%;max-width:150px;align-self:flex-end}.tech3d-solar-art img{width:25%;height:125px;object-fit:contain;filter:drop-shadow(0 9px 8px #0006)}
.tech3d-connections{position:absolute;inset:0;width:100%;height:100%;z-index:0;overflow:visible;pointer-events:none}
.tech3d-connections path{fill:none;stroke:#53665f;stroke-width:2;opacity:.5}
.tech3d-connections .moving{stroke:#64d1e7;stroke-dasharray:8 9;opacity:.7;animation:tech3d-flow 2.2s linear infinite}
.tech3d-connections .solar.moving{stroke:#9ddd62}.tech3d-connections .battery.moving{stroke:#ae91ed}
@keyframes tech3d-flow{to{stroke-dashoffset:-68}}
.tech3d[data-stale=true] .moving{animation:none;stroke:#788782}
.tech3d-lower{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:18px;margin-top:18px;align-items:start}
.tech3d-lower.single{grid-template-columns:1fr}
.tech3d-heat-scene{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:12px}
.tech3d-heat-scene .tech3d-node{min-height:235px}.tech3d-heat-scene .tech3d-art>img{max-height:128px}
.tech3d-heat-scene strong{font-size:18px;color:var(--orange)}
.tech3d-aku{grid-column:span 1;grid-row:span 2;min-height:435px!important}.tech3d-aku .tech3d-art{min-height:270px;max-height:330px}
.tech3d-aku strong{font-size:17px}
.tech3d-aku-art{position:relative;height:100%;width:100%;max-width:170px;min-height:270px}
.tech3d-aku-art>img{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:fill;filter:drop-shadow(0 13px 9px #0006)}
.tech3d-thermal-core{position:absolute;left:31%;width:38%;top:10%;height:79%;border-radius:45% / 5%;box-shadow:inset 10px 0 15px #0007,inset -8px 0 14px #fff4;opacity:.84}
.tech3d-probes{position:absolute;left:39%;right:-4%;top:10%;height:79%}
.tech3d-probes span{position:absolute;right:0;transform:translateY(-50%);padding:3px 7px;background:#102923e8;border:1px solid #aac3b650;color:#e8f3ed;border-radius:6px;font-size:11px;white-space:nowrap}
.tech3d-probes span[data-fresh=false]{border-style:dashed;color:#c4cbca}
.tech3d-water-scene{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px}
.tech3d-environment-scene{display:grid;grid-template-columns:minmax(210px,1fr);gap:8px;padding:12px}
.tech3d-environment-scene .tech3d-node{min-height:305px}.tech3d-environment-scene strong{font-size:27px;color:#ffd65c}
.tech3d-meteo-art{position:relative;display:block;width:190px;height:150px;filter:drop-shadow(0 12px 12px #0005)}
.tech3d-meteo-sun{position:absolute;right:9px;top:7px;width:48px;height:48px;border-radius:50%;background:#ffd45b;box-shadow:0 0 23px #ffd45b88}
.tech3d-meteo-sun:before{content:"";position:absolute;inset:-13px;background:repeating-conic-gradient(from 0deg,#ffd45b 0 5deg,transparent 5deg 30deg);mask:radial-gradient(circle,transparent 0 28px,#000 29px)}
.tech3d-meteo-mast{position:absolute;left:72px;top:18px;width:5px;height:125px;border-radius:4px;background:#a9bbb5}.tech3d-meteo-mast b{position:absolute;display:block;width:44px;height:4px;left:-19px;top:13px;background:#a9bbb5;transform-origin:center}.tech3d-meteo-mast b:nth-child(2){transform:rotate(120deg)}.tech3d-meteo-mast b:nth-child(3){transform:rotate(240deg)}.tech3d-meteo-mast b:after{content:"";position:absolute;right:-7px;top:-4px;width:12px;height:12px;border-radius:50%;background:#58d8f3}
.tech3d-meteo-panel{position:absolute;left:91px;bottom:10px;width:69px;height:46px;transform:skew(-12deg);border:3px solid #7894a7;background:repeating-linear-gradient(90deg,#215d83 0 14px,#7da6bb 15px 16px),repeating-linear-gradient(0deg,transparent 0 12px,#7da6bb 13px 14px)}
.tech3d-meteo-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px}.tech3d-meteo-values>span{display:block;padding:7px 4px;border:1px solid var(--line);border-radius:8px;background:#061c1838}.tech3d-meteo-values small{display:block;color:var(--muted);font-size:9px}.tech3d-meteo-values b{display:block;margin-top:2px;color:var(--blue);font-size:15px;font-variant-numeric:tabular-nums}.tech3d-meteo-values>span:last-child b{color:#ffd65c}
.tech3d-water{min-height:305px}.tech3d-water .tech3d-art{height:185px;flex:0 0 185px}.tech3d-water strong{font-size:24px}
.tech3d-water-art{position:relative;height:100%;aspect-ratio:1152/1365;max-width:100%;filter:drop-shadow(0 12px 12px #0005)}
.tech3d-water-art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
.tech3d-water-cavity{position:absolute;left:24%;right:23%;top:23%;bottom:12%;overflow:hidden;border-radius:34% 34% 40% 40% / 4% 4% 9% 9%}
.tech3d-water-fill{position:absolute;left:0;bottom:0;width:100%;height:0;background:linear-gradient(90deg,#07376de6,#168acbe8 45%,#052e5bed);border-radius:50% 50% 0 0 / 9px 9px 0 0;transition:height 1.2s ease}
.tech3d-water-fill i{position:absolute;top:0;left:0;width:100%;height:14px;border:1px solid #95e9f4a6;border-radius:50%;background:#35b5db99}
.tech3d-water-art.rectangular{aspect-ratio:1593/995;width:100%;height:auto;max-height:185px}
.rectangular .tech3d-water-cavity{left:13%;right:13%;top:23%;bottom:23%;border-radius:0}
.rectangular .tech3d-water-fill{border-radius:0}.rectangular .tech3d-water-fill i{border-radius:0;height:7px}
.tech3d-water-unknown{position:absolute;top:43%;left:43%;font-size:36px;color:#d5e6ea;text-shadow:0 2px 8px #000}
.tech3d-water[data-known=true] .tech3d-water-unknown{display:none}
.tech3d-water[data-online=false] .tech3d-water-fill{filter:saturate(.2)}
.tech3d-freshness{font-size:10px;color:var(--green);margin-top:3px;overflow-wrap:anywhere}
.tech3d-water[data-online=false] .tech3d-freshness{color:var(--orange)}
.tech3d-sources{margin-top:18px;border:1px solid var(--line);border-radius:14px}
[data-tech3d-sources]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px 18px 18px}
.tech3d-source{padding:10px 12px;border:1px solid var(--line);border-radius:8px;font-size:11px;display:flex;gap:6px;flex-wrap:wrap;min-width:0}
.tech3d-source b{flex:1;overflow-wrap:anywhere}.tech3d-source span{color:var(--orange)}.tech3d-source[data-online=true] span{color:var(--green)}.tech3d-source small{width:100%;color:var(--muted);overflow-wrap:anywhere}
.tech3d-footer{margin-top:15px;color:var(--muted);font-size:11px}
.tech3d-detail{position:fixed;inset:0;margin:auto;width:min(560px,calc(100vw - 30px));max-height:85dvh;border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--ink);padding:24px;box-shadow:0 20px 80px #0009;overflow:auto}
.tech3d-detail::backdrop{background:#00130bd6}
.tech3d-detail h3{padding-right:40px;font-size:20px}.tech3d-detail-close{position:absolute;right:12px;top:12px}
.tech3d-detail dl{margin-top:22px}.tech3d-detail dl>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:11px 0;font-size:13px}
.tech3d-detail dt{color:var(--muted)}.tech3d-detail dd{text-align:right;margin:0;max-width:65%;overflow-wrap:anywhere}.tech3d-detail p{font-size:12px;color:var(--muted)}
.tech3d-meteo-history[hidden]{display:none}.tech3d-meteo-history{display:grid;gap:14px;margin:15px 0}.tech3d-meteo-history section{padding:12px;border:1px solid var(--line);border-radius:12px;background:#071b1838}.tech3d-meteo-history h4{margin:0 0 8px;font-size:13px}.tech3d-meteo-history svg{display:block;width:100%;height:150px;border:1px solid var(--line);border-radius:8px;background:#0a2420}.tech3d-meteo-history .axis{stroke:#507069;stroke-width:1}.tech3d-meteo-history .line{fill:none;stroke:#58d8f3;stroke-width:3}.tech3d-meteo-history section:nth-child(2) .line{stroke:#ffc071}.tech3d-meteo-history section:nth-child(3) .line{stroke:#ffd65c}.tech3d-meteo-current{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:7px}.tech3d-meteo-current b{font-size:19px;color:var(--blue)}.tech3d-meteo-current span{font-size:10px;color:var(--muted)}.tech3d-meteo-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.tech3d-meteo-stats>span{padding:7px;border-radius:7px;background:#102a25;color:var(--muted);font-size:10px}.tech3d-meteo-stats b{display:block;color:var(--ink);font-size:11px;margin-top:2px}
@media(min-width:1400px){.tech3d-electric-scene{grid-template-rows:250px 240px}.tech3d-water-scene{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.tech3d{padding:18px}.tech3d-lower{grid-template-columns:1fr}.tech3d-heat-scene{grid-template-columns:repeat(5,minmax(0,1fr))}.tech3d-aku{grid-row:auto;min-height:280px!important}.tech3d-aku .tech3d-art{min-height:160px}.tech3d-aku-art{min-height:160px}.tech3d-water-scene{grid-template-columns:repeat(auto-fit,minmax(175px,1fr))}.tech3d-electric-scene{gap:10px;padding:12px;grid-template-columns:1fr 1.3fr .8fr}.tech3d-inverter{display:none}}
@media(max-width:760px){.technology-modal.tech3d-mode{padding:0}.tech3d-mode .technology-dialog{max-height:100dvh;border-radius:0}.tech3d{padding:16px 12px}.tech3d-header{align-items:flex-start}.tech3d-header-actions{max-width:160px}.tech3d-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tech3d-electric-scene{grid-template-columns:1fr 1fr;grid-template-rows:auto;grid-template-areas:"house house" "solar grid" "battery ev";gap:12px;padding:14px}.tech3d-house{min-height:275px}.tech3d-house .tech3d-art{min-height:200px}.tech3d-house img{max-height:240px;width:auto;max-width:100%}.tech3d-node{min-height:230px}.tech3d-connections{display:none}.tech3d-heat-scene{grid-template-columns:repeat(2,minmax(0,1fr))}.tech3d-aku{grid-row:span 2;min-height:420px!important}.tech3d-aku .tech3d-art,.tech3d-aku-art{min-height:260px}.tech3d-node strong{font-size:23px}.tech3d-aku strong{font-size:18px}.tech3d-water-scene{grid-template-columns:repeat(2,minmax(0,1fr))}.tech3d-environment-scene{grid-template-columns:1fr}[data-tech3d-sources]{grid-template-columns:1fr 1fr}.tech3d-section>header span{font-size:11px}.tech3d-switch{margin-right:12px}}
@media(max-width:420px){.tech3d-header{display:block}.tech3d-header-actions{max-width:none;margin-top:12px;justify-content:flex-start}.tech3d-header-actions span{text-align:left}.tech3d-tabs{gap:6px}.tech3d-tabs button{font-size:11px;padding:8px 10px}.tech3d-version{display:none}.tech3d-electric-scene{padding:8px;gap:3px}.tech3d-node{padding:9px 4px}.tech3d-node-title{font-size:11px}.tech3d-note{font-size:10px}.tech3d-water-scene{grid-template-columns:1fr}.tech3d-water .tech3d-art{height:230px;flex-basis:230px}.tech3d-water-art.rectangular{max-height:230px}.tech3d-metrics>div{padding:10px 12px}.tech3d-node strong{font-size:21px}.tech3d-aku strong{font-size:16px}[data-tech3d-sources]{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.tech3d *{animation:none!important;transition:none!important}}
@media(min-width:761px) and (max-width:1100px){.tech3d-inverter{display:flex}}
@media(max-width:760px){.tech3d-electric-scene{grid-template-areas:"house house" "solar grid" "battery ev" "inverter inverter"}.tech3d-inverter{display:flex;position:relative;grid-area:inverter;left:auto;bottom:auto;width:auto;height:auto;min-height:170px}.tech3d-inverter .tech3d-art{height:105px;flex:0 0 105px}.tech3d-inverter .tech3d-node-title{font-size:11px}.tech3d-inverter .tech3d-open{display:block}}
@media print{.tech3d-switch,.tech3d-tabs,.tech3d-header-actions,.tech3d-open{display:none!important}.tech3d-mode .technology-dialog{position:static;max-height:none;overflow:visible}.tech3d-section{break-inside:avoid}}
