.energy-controls{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:22px}.energy-controls label{margin:0;min-width:190px}.energy-controls .chips{margin:0 0 2px}.energy-heading{display:flex;justify-content:space-between;gap:20px;align-items:start;margin:20px 0}.energy-heading h2{font-size:28px;margin:6px 0 9px}.energy-heading h2 span{font-size:19px;font-weight:400;color:var(--muted)}.energy-heading p{color:var(--muted);margin:0}.energy-estimate{border:1px solid #e2ce9c;background:#fff8e9;color:#80600f;border-radius:20px;padding:7px 12px;white-space:nowrap;font-size:12px}.energy-notice{color:#775b20;background:#fff9eb;border-left:3px solid #c99734;padding:13px 17px;border-radius:0 8px 8px 0;font-size:13px;line-height:1.6;margin:0 0 23px}.energy-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.energy-kpi{background:#fff;border:1px solid var(--border);border-radius:14px;padding:23px 20px;display:flex;flex-direction:column;gap:13px;border-top:3px solid #a8bcc2}.energy-kpi>span{font-size:13px;min-height:32px;line-height:1.45;color:#4d676d}.energy-kpi>strong{font-size:32px;line-height:1.2;font-variant-numeric:tabular-nums}.energy-kpi strong small{font-size:15px;font-weight:400;white-space:nowrap}.energy-kpi>small{font-size:11px;color:var(--muted);line-height:1.5}.energy-kpi.solar{border-top-color:#d1a044;background:#fffdf6}.energy-kpi.load{border-top-color:#137e88}.energy-kpi.charge{border-top-color:#509877}.energy-kpi.discharge{border-top-color:#755fba}.energy-kpi.solar>strong{color:#9b6a16}.energy-kpi.load>strong{color:#137e88}.energy-coverage{display:flex;gap:25px;align-items:center;justify-content:space-between;padding:18px 23px}.energy-coverage p{font-size:12px;color:var(--muted);margin:5px 0 0}.coverage-track{width:170px;min-width:100px;height:7px;border-radius:5px;background:#eaf0f1;overflow:hidden}.coverage-track i{display:block;height:100%;background:#5a9990}.energy-flow{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0 23px}.energy-node{display:flex;align-items:center;gap:14px;min-width:0}.energy-node>svg{width:44px;height:44px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.energy-node>div{display:flex;flex-direction:column;gap:6px}.energy-node span{color:#49646c;font-size:12px}.energy-node strong{font-size:27px;font-variant-numeric:tabular-nums;white-space:nowrap}.energy-node strong small{font-size:14px;font-weight:400}.energy-node small{font-size:11px;color:var(--muted)}.energy-arrow{color:#99adb3;font-size:24px}.energy-node.solar,.energy-legend .solar{color:#b68122}.energy-node.load,.energy-legend .load{color:#137e88}.energy-node.battery,.energy-legend .battery{color:#755fba}.energy-balance-note{border-top:1px solid var(--border);padding-top:16px;margin:0;font-size:12px;color:var(--muted);line-height:1.6}.energy-legend{display:flex;gap:12px 24px;flex-wrap:wrap;margin:25px 0 14px;font-size:12px}.energy-chart{display:block;width:100%;height:auto;min-height:200px;touch-action:pan-y}.energy-chart text{font:11px system-ui;fill:#6c8288}.energy-grid{stroke:#e2e9eb;stroke-width:1}.energy-chart-caption{font-size:12px;min-height:20px;color:var(--muted);margin-bottom:0}.energy-bars{display:flex;gap:6px;height:190px;align-items:end;overflow-x:auto;padding-top:8px}.energy-day{padding:0 3px;flex:1;min-width:25px;max-width:120px;height:100%;background:transparent;display:flex;flex-direction:column;justify-content:end;color:var(--muted)}.energy-day:hover{background:#f2f7f7}.energy-day small{font-size:10px;margin:8px 0}.energy-bar-pair{height:155px;display:flex;gap:3px;align-items:end;justify-content:center;width:100%}.energy-bar-pair i{display:block;width:35%;max-width:22px;border-radius:3px 3px 0 0}.solar-bar{background:#d4a444}.load-bar{background:#49929b}.energy-bar-pair i.missing{background:repeating-linear-gradient(45deg,#f2f4f4,#f2f4f4 3px,#d9e0e2 3px,#d9e0e2 4px)}.energy-method p{font-size:13px;line-height:1.7;color:#58727a}.energy-setup{margin-top:22px}.energy-setup form{margin-top:18px}
@media(max-width:1200px){.energy-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.energy-flow{gap:9px}.energy-node{gap:8px}.energy-node>svg{width:33px;height:33px}.energy-node strong{font-size:23px}}
@media(max-width:700px){.energy-controls{gap:12px}.energy-controls label{flex:1;min-width:145px}.energy-controls .chips{width:100%}.energy-heading{flex-direction:column;gap:10px}.energy-heading h2{font-size:24px}.energy-heading h2 span{display:block;font-size:16px;margin-top:6px}.energy-kpis{gap:10px}.energy-kpi{padding:16px 13px;gap:10px}.energy-kpi>strong{font-size:25px}.energy-kpi strong small{font-size:12px}.energy-kpi>span{font-size:12px}.energy-coverage{align-items:start;flex-direction:column;gap:13px}.coverage-track{width:100%}.energy-flow{display:grid;grid-template-columns:1fr;gap:17px;padding-top:7px}.energy-arrow{display:none}.energy-node>svg{width:38px;height:38px}.energy-node{gap:17px}.energy-node strong{font-size:27px}.energy-node>div{display:grid;grid-template-columns:1fr auto;width:100%;align-items:center;gap:4px 15px}.energy-node strong{grid-row:span 2}.energy-node small{grid-column:1;grid-row:2}.energy-node strong small{display:inline}.energy-legend{gap:9px;font-size:11px}.energy-chart{min-height:170px}.energy-chart text{font-size:12px}.energy-chart-caption{line-height:1.7}.energy-method summary{font-size:14px}}
@media print{.sidebar,.topbar,.energy-controls,.energy-setup,.energy-method,.energy-chart-caption,#energy-error,.energy-daily .small,.actions,button{display:none!important}.main-shell{margin:0}main{padding:0}.energy-heading{margin-top:0}.panel,.energy-kpi{break-inside:avoid;box-shadow:none}.energy-kpis{grid-template-columns:repeat(4,1fr)}.energy-kpi>strong{font-size:23px}.energy-flow{display:flex}.energy-day{display:flex!important}.energy-chart{min-height:0}.energy-notice{font-size:10px}body{background:white;print-color-adjust:exact;-webkit-print-color-adjust:exact}.energy-bars{height:135px}.energy-bar-pair{height:110px}table{font-size:10px}}

.solar-weather-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin:20px 0}.solar-weather-days article{display:flex;flex-direction:column;gap:9px;border:1px solid var(--border);border-radius:10px;padding:14px 10px;background:#f8fbfb}.solar-weather-days small{font-size:11px;color:var(--muted);line-height:1.5}.solar-weather-days b{font-size:12px;color:#9b6a16}.solar-equipment-row{border:1px solid var(--border);border-radius:10px;padding:15px;margin:15px 0}.solar-equipment-row legend{color:var(--muted);padding:0 6px}.solar-spec-summary{padding:14px 0}.solar-spec-summary p{font-size:13px;color:var(--muted)}.solar-environment details{margin:15px 0}.solar-equipment form>label{margin-top:16px}.solar-equipment h3{margin-top:24px}@media(max-width:1100px){.solar-weather-days{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:600px){.solar-weather-days{grid-template-columns:repeat(2,minmax(0,1fr))}.solar-equipment-row{padding:10px}}
