:root{--input-bg: #ffffff;--input-text: #111111;--calc-bg: #ffffff;--charging-bg: #d4edda;--charging-text: #1a5e2a;--deficit-bg: #fff3cd;--deficit-text: #7d5a00;--overdod-bg: #f8d7da;--overdod-text: #7b1d24;--nosolar-bg: #e9ecef;--nosolar-text: #495057;--toppedoff-bg: #d0f0e8;--toppedoff-text: #0d4f3c;--approaching-bg: #fde9c3;--approaching-text: #6b3d00;--border: #b8cfe0;--border-light: #dde8f0;--primary: #246a9c;--primary-hover: #1d567f;--text: #1a1a1a;--text-muted: #5a6a75;--bg-page: #f4f7fa;--bg-panel: #ffffff;--bg-fieldset: #f9fbfd;--radius: 6px;--shadow: 0 1px 4px rgba(0,0,0,.08)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{font-family:system-ui,-apple-system,sans-serif;font-size:15px;line-height:1.5;color:var(--text);background:var(--bg-page)}.skip-link{position:absolute;top:-100%;left:0;padding:.5rem 1rem;background:var(--primary);color:#fff;font-weight:600;z-index:9999;text-decoration:none;border-radius:0 0 4px}.skip-link:focus{top:0}.hidden,.array-type-hidden{display:none!important}:root[data-init-mode=easy] .hide-in-easy{display:none}html.hint-seen #easy-hint-banner{display:none}.safety-banner{position:fixed;inset:0;background:#0000008c;display:flex;align-items:center;justify-content:center;z-index:1000}.safety-banner-inner{background:#fff;border-left:5px solid #c0392b;border-radius:var(--radius);padding:2rem 2.5rem;max-width:520px;width:90%;box-shadow:0 8px 32px #0003}.safety-banner-inner h2{color:#c0392b;margin-bottom:.75rem}.safety-banner-inner p{margin-bottom:1.25rem;color:#333}header{background:var(--primary);color:#fff}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.5rem;flex-wrap:wrap}.header-title h1{font-size:1.25rem;font-weight:700;line-height:1.3}.tagline{font-size:.85rem;opacity:.9;margin-top:.15rem}.header-controls{display:flex;align-items:center;gap:1rem;flex-shrink:0}.toggle-label{display:flex;align-items:center;gap:.4rem;font-size:.9rem;cursor:pointer;user-select:none;white-space:nowrap}.toggle-label input[type=checkbox]{width:16px;height:16px;cursor:pointer}.safety-persistent{background:#c0392b;color:#fff;text-align:center;font-size:.8rem;padding:.3rem 1rem}main{display:grid;grid-template-columns:minmax(380px,440px) 1fr;gap:1.25rem;padding:1.25rem;align-items:start;max-width:1400px;margin:0 auto}@media (max-width: 860px){main{grid-template-columns:1fr}}.inputs-panel{display:flex;flex-direction:column;gap:1rem}fieldset{background:var(--bg-fieldset);border:1px solid var(--border-light);border-radius:var(--radius);padding:1rem 1.1rem 1.1rem;box-shadow:var(--shadow);min-width:0}legend{font-weight:600;font-size:.95rem;color:var(--primary);padding:0 .4rem}.field-row{display:flex;align-items:center;gap:.5rem;margin-top:.6rem}.field-row label{flex:0 0 160px;font-size:.88rem;color:var(--text)}.field-row input[type=number],.field-row input[type=text],.field-row select{flex:1;min-width:0;padding:.3rem .5rem;border:1px solid var(--border);border-radius:var(--radius);font-size:.88rem;background:var(--input-bg);color:var(--input-text);font-weight:600}.field-row select{background:var(--input-bg)}.field-row input[type=number]::placeholder,.field-row input[type=text]::placeholder{color:#a09080;font-style:italic;font-weight:400}.field-row input[type=number]:focus,.field-row input[type=text]:focus,.field-row select:focus{outline:2px solid var(--primary);outline-offset:1px}.unit{flex-shrink:0;font-size:.8rem;color:var(--text-muted);white-space:nowrap}.explanation{font-size:.8rem;color:var(--text-muted);margin-top:.3rem;margin-left:0;line-height:1.4}.section-label{font-size:.88rem;font-weight:600;margin-top:.75rem;margin-bottom:.25rem;color:var(--text)}.fetch-row{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.75rem}.month-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem;margin-top:.5rem}.month-cell{display:flex;flex-direction:column;gap:.15rem}.month-cell label{font-size:.75rem;color:var(--text-muted);font-weight:600}.month-cell input{width:100%;padding:.3rem .4rem;border:1px solid var(--border);border-radius:var(--radius);font-size:.82rem;background:var(--input-bg);color:var(--input-text);font-weight:600}.month-cell input::placeholder{color:#a09080;font-style:italic;font-weight:400}.month-cell input:focus{outline:2px solid var(--primary);outline-offset:1px}.solar-status{margin-top:.6rem;font-size:.82rem;color:var(--text-muted);background:var(--border-light);border-radius:var(--radius);padding:.4rem .7rem}.solar-status button{background:none;border:none;color:var(--primary);cursor:pointer;font-size:.82rem;text-decoration:underline;padding:0}.manual-irradiance{margin-top:.5rem}.manual-irradiance>summary{cursor:pointer;user-select:none;list-style:none}.manual-irradiance>summary::-webkit-details-marker{display:none}.manual-irradiance>summary::marker{display:none}.manual-irradiance>summary:after{content:" ▼";font-size:.7em;opacity:.6}.manual-irradiance[open]>summary:after{content:" ▲"}.chemistry-details{margin-top:.75rem;border:1px solid var(--border-light);border-radius:var(--radius);padding:.5rem .75rem;background:#fff}.chemistry-details summary{cursor:pointer;font-size:.88rem;font-weight:600;color:var(--primary);user-select:none}.summary-note{font-weight:400;color:var(--text-muted);font-size:.8rem}.chemistry-details .field-row{margin-top:.5rem}.ext-charging-details{margin-top:.75rem;border:1px solid var(--border-light);border-radius:var(--radius);padding:.5rem .75rem;background:#fff}.ext-charging-details summary{cursor:pointer;font-size:.88rem;font-weight:600;color:var(--primary);user-select:none}.top-off-row{display:flex;align-items:center;gap:.6rem;margin-top:.5rem}.top-off-label{font-size:.88rem;color:var(--text)}.ext-charging-divider{border:none;border-top:1px solid var(--border-light);margin:.75rem 0 .5rem}.ext-charging-subhead{font-size:.82rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:.3rem}.charger-unit-row{display:flex;align-items:center;gap:.5rem;margin-top:.4rem;margin-bottom:.1rem}.charger-unit-label{font-size:.82rem;color:var(--text-muted);white-space:nowrap}.charger-unit-group{display:flex;gap:0}.charger-unit-btn{padding:.25rem .7rem;border:1px solid var(--primary);background:#fff;color:var(--primary);cursor:pointer;font-size:.8rem;font-weight:600}.charger-unit-btn:first-child{border-radius:4px 0 0 4px}.charger-unit-btn:last-child{border-radius:0 4px 4px 0}.charger-unit-active{background:var(--primary);color:#fff}.toggle-switch{position:relative;display:inline-block;width:38px;height:21px;flex-shrink:0}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;inset:0;background:#ccc;border-radius:21px;cursor:pointer;transition:background .2s}.toggle-slider:before{content:"";position:absolute;width:15px;height:15px;left:3px;top:3px;background:#fff;border-radius:50%;transition:transform .2s}.toggle-switch input:checked+.toggle-slider{background:var(--primary)}.toggle-switch input:checked+.toggle-slider:before{transform:translate(17px)}.topoff-flag{display:block;font-size:.72rem;font-weight:700;margin-top:.1rem}.topoff-insufficient{color:var(--overdod-text)}.approaching-flag{color:var(--approaching-text)}.hourly-flag{display:inline-block;margin-left:.3em;font-size:.82rem;cursor:default}.hourly-flag-over{color:#c0392b}.hourly-flag-warn{color:#e67e22}.adeq-hourly-legend{color:var(--text-muted)}.unit-selector{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:.5rem;font-size:.88rem}.unit-selector-label{color:var(--text-muted)}.unit-selector label{display:flex;align-items:center;gap:.3rem;cursor:pointer}.load-entry{margin-top:.75rem;padding:.6rem .75rem;border:1px solid var(--border-light);border-radius:var(--radius);background:#fff}.load-header{font-size:.85rem;font-weight:700;color:var(--primary);margin-bottom:.1rem}.load-entry .field-row{margin-top:.4rem}.load-entry .field-row label{flex:0 0 130px}.multi-plane-section{margin-top:1rem;padding-top:.75rem;border-top:1px dashed var(--border-light)}.multi-plane-count-badge{display:inline-block;margin-left:.35rem;padding:0 .4rem;font-size:.75rem;font-weight:500;color:var(--primary);background:#eef2f7;border-radius:999px;vertical-align:middle}.multi-plane-count-badge:empty{display:none}#extra-planes-container{display:flex;flex-direction:column;gap:.6rem}.plane-card{padding:.6rem .75rem;border:1px solid var(--border-light);border-radius:var(--radius);background:#fff}.plane-card .field-row{margin-top:.4rem}.plane-card .field-row label{flex:0 0 130px}.plane-card-header{display:flex;align-items:center;gap:.5rem}.plane-card-header .plane-label{flex:1;font-weight:600;color:var(--primary);padding:.25rem .35rem;border:1px solid transparent;background:transparent}.plane-card-header .plane-label:focus{border-color:var(--border-light);background:#fafafa}.plane-remove-btn{flex:0 0 auto;width:1.75rem;height:1.75rem;border:1px solid var(--border-light);border-radius:var(--radius);background:#fff;color:#888;cursor:pointer;font-size:1.1rem;line-height:1}.plane-remove-btn:hover{color:#c53030;border-color:#f0b4b4;background:#fff5f5}.plane-fetch-row{display:flex;gap:.4rem;margin-top:.5rem;flex-wrap:wrap}.plane-fetch-row button{font-size:.85rem;padding:.3rem .6rem}.plane-tilt-opt-toggle,.plane-tsrf-toggle{margin-top:.35rem;font-size:.78rem;padding:.15rem 0;border:none;background:none;color:var(--primary);cursor:pointer;text-align:left}.plane-tilt-opt-toggle:hover,.plane-tsrf-toggle:hover{text-decoration:underline}.plane-tilt-opt-panel,.plane-tsrf-panel{margin-top:.4rem;padding:.5rem .6rem;background:#fff;border:1px solid var(--border-light);border-left:3px solid var(--primary);border-radius:var(--radius)}.plane-tilt-opt-panel .tilt-opt-heading{margin-top:.3rem}.plane-tilt-opt-panel .tilt-opt-heading:first-child{margin-top:0}.plane-tsrf-section{display:flex;flex-direction:column}.plane-tsrf-panel .field-row label{flex:0 0 100px}.plane-tsrf-panel .month-grid{margin-top:.4rem}.plane-status{margin-top:.4rem;font-size:.82rem}#add-plane-btn{margin-top:.6rem}#add-plane-btn:disabled{opacity:.55;cursor:not-allowed}.multi-plane-hint{margin-top:.5rem;padding:.45rem .6rem;font-size:.82rem;background:#fff8e1;border:1px solid #f3d382;border-radius:var(--radius);color:#7a5a00}.easy-multiplane-banner{margin-top:.75rem;padding:.55rem .7rem;font-size:.85rem;background:#eef6ff;border:1px solid #b9d7fb;border-radius:var(--radius);color:#1e3a5f}body:not(.mode-easy) .easy-multiplane-banner{display:none}.charger-card{margin-top:.5rem;padding:.6rem .75rem;border:1px solid var(--border-light);border-radius:var(--radius);background:#fff}.charger-card .field-row{margin-top:.4rem}.charger-card .field-row label{flex:0 0 130px}.charger-card-summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;gap:.5rem}.charger-card-summary::-webkit-details-marker{display:none}.charger-card-title{font-weight:600;color:var(--primary)}.charger-remove-btn{flex:0 0 auto;width:1.75rem;height:1.75rem;border:1px solid var(--border-light);border-radius:var(--radius);background:#fff;color:#888;cursor:pointer;font-size:1.1rem;line-height:1}.charger-remove-btn:hover{color:#c53030;border-color:#f0b4b4;background:#fff5f5}.charger-card-body{margin-top:.4rem}.charger-unit-row{display:flex;align-items:center;gap:.6rem;margin-top:.4rem}.charger-unit-label{font-size:.85rem;color:#555}.charger-unit-group{display:flex;gap:.25rem}.charger-unit-btn{padding:.2rem .6rem;border:1px solid var(--border-light);border-radius:var(--radius);background:#f5f5f5;font-size:.82rem;cursor:pointer}.charger-unit-btn.charger-unit-active{background:var(--primary);color:#fff;border-color:var(--primary)}#add-charger{margin-top:.6rem}#add-charger:disabled{opacity:.55;cursor:not-allowed}.btn-suggest{padding:.25rem .55rem;border:1px solid var(--border-light);border-radius:var(--radius);background:#f5f5f5;font-size:.82rem;cursor:pointer;white-space:nowrap}.btn-suggest:hover{background:#e8e8e8}.optional-label{font-size:.8rem;color:#888;font-weight:400}.auto-location-status{margin-top:.35rem;padding:.4rem .6rem;font-size:.85rem;border-left:3px solid #b6dfc6;background:#f4faf7;color:#1e6f4a;border-radius:0 4px 4px 0}.auto-location-status.auto-location-loading{border-left-color:#c9d4e0;background:#f3f6fa;color:#4a5a6e;font-style:italic}.auto-location-status.auto-location-error{border-left-color:#e0b97a;background:#fdf6e9;color:#7a5a1a}.climo-badge{display:inline-block;margin-left:.4rem;padding:.1rem .45rem;font-size:.7rem;font-weight:500;color:#1e6f4a;background:#e7f5ed;border:1px solid #b6dfc6;border-radius:999px;white-space:nowrap;cursor:help}.advanced-section{margin-top:.75rem;border:1px solid var(--border-light);border-radius:var(--radius);padding:.5rem .75rem;background:#fff}.advanced-section summary{cursor:pointer;font-size:.88rem;font-weight:600;color:var(--text-muted);user-select:none}.advanced-section .field-row{margin-top:.5rem}.btn-primary{background:var(--primary);color:#fff;border:none;border-radius:var(--radius);padding:.45rem 1rem;font-size:.88rem;font-weight:600;cursor:pointer;transition:background .15s}.btn-primary:hover{background:var(--primary-hover)}.results-panel{background:var(--bg-panel);border:1px solid var(--border-light);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.25rem;position:sticky;top:1.25rem;max-height:calc(100vh - 2.5rem);overflow-y:auto}.input-warnings{background:#fff8e1;border:1px solid #f0b429;border-left:4px solid #d97706;border-radius:var(--radius);padding:.6rem .9rem;margin-bottom:.75rem;font-size:.83rem;color:#5c3d00}.input-warning-item+.input-warning-item{margin-top:.3rem}.input-warnings-header{display:flex;align-items:center;justify-content:space-between}.input-warnings-title{font-weight:600}.input-warnings-toggle{background:none;border:none;cursor:pointer;color:#d97706;font-size:.75rem;padding:0 .2rem;line-height:1}.input-warnings-body{margin-top:.3rem}.input-warnings.collapsed .input-warnings-body{display:none}.results-guidance{background:#eaf4fb;border:1px solid var(--border);border-left:4px solid var(--primary);border-radius:var(--radius);padding:.65rem .9rem;font-size:.85rem;color:var(--text);margin-bottom:1rem}.hero-result{background:var(--primary);color:#fff;border-radius:var(--radius);padding:1rem 1.25rem;margin-bottom:1.25rem}.hero-label{font-size:.85rem;font-weight:600;opacity:.85;text-transform:uppercase;letter-spacing:.05em}.hero-values{display:flex;gap:2rem;flex-wrap:wrap}.hero-item{display:flex;flex-direction:column}.hero-number{font-size:2.2rem;font-weight:700;line-height:1}.hero-sub{font-size:.78rem;opacity:.8;margin-top:.2rem}.hero-status-explainer{background:#f8f9fa;border:1px solid var(--border-light);border-radius:var(--radius);padding:.75rem 1rem;margin-bottom:1.25rem;font-size:.82rem;line-height:1.5}.hero-status-explainer p{margin:0 0 .5rem}.hero-status-explainer p:last-child{margin-bottom:0}.status-label-charging{color:var(--charging-text)}.status-label-deficit{color:var(--deficit-text)}.status-label-overdod{color:var(--overdod-text)}.status-explainer-note{color:#555;font-style:italic;font-size:.78rem}body.show-math .hero-status-explainer{display:block}.table-wrapper{overflow-x:auto;border-radius:var(--radius);border:1px solid var(--border-light)}table{width:100%;border-collapse:collapse;font-size:.83rem;white-space:nowrap}thead th{background:#eaf2f8;color:var(--primary);font-weight:700;padding:.5rem .6rem;text-align:right;border-bottom:2px solid var(--border);line-height:1.3}thead th:first-child{text-align:left}tbody td{padding:.4rem .6rem;text-align:right;border-bottom:1px solid var(--border-light)}tbody td:first-child{text-align:left;font-weight:600}tbody tr:last-child td{border-bottom:none}tr.status-charging{background:var(--charging-bg);color:var(--charging-text)}tr.status-deficit{background:var(--deficit-bg);color:var(--deficit-text)}tr.status-overdod{background:var(--overdod-bg);color:var(--overdod-text)}tr.status-nosolar{background:var(--nosolar-bg);color:var(--nosolar-text)}tr.status-toppedoff{background:var(--toppedoff-bg);color:var(--toppedoff-text)}tr.status-approaching{background:var(--approaching-bg);color:var(--approaching-text)}tr.row-nodata td,tr.row-noirr td{color:var(--text-muted);font-style:italic}tr.row-noirr td:nth-child(2){color:var(--primary);font-style:italic;font-size:.78rem}.dod-flag{font-size:.75rem;font-weight:700;color:var(--overdod-text);margin-left:.3rem}.math-col{display:none}body.show-math .math-col{display:table-cell}.math-section{margin-top:1.25rem;border-top:1px solid var(--border-light);padding-top:1rem}.math-section h3{font-size:.95rem;color:var(--primary);margin-bottom:.75rem}.formula-block{margin-bottom:1rem;padding:.75rem;background:var(--bg-page);border-radius:var(--radius);border-left:3px solid var(--primary)}.formula-block h4,.formula-block>summary{font-size:.85rem;font-weight:700;margin-bottom:.4rem;color:var(--text)}.formula-block>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;user-select:none;list-style:none}.formula-block>summary:after{content:"▲";font-size:.65rem;color:var(--text-muted);margin-left:.5rem;flex-shrink:0}.formula-block:not([open])>summary:after{content:"▼"}.formula-block>summary::-webkit-details-marker{display:none}.formula-block>summary::marker{display:none}.formula-block p{font-size:.82rem;color:var(--text-muted);margin-top:.3rem}.source{font-style:italic;font-size:.78rem!important}.adequacy-summary{margin-top:.85rem;padding:.55rem .85rem .6rem;background:var(--bg-page);border:1px solid var(--border-light);border-radius:var(--radius);font-size:.82rem;color:var(--text-muted)}.adeq-headline{font-size:.88rem;font-weight:600;margin-bottom:.45rem}.adeq-headline-good{color:var(--charging-text)}.adeq-headline-warn{color:var(--approaching-text)}.adeq-headline-fail{color:var(--deficit-text)}.adeq-pills{display:flex;flex-wrap:wrap;gap:.25rem;margin-bottom:.35rem}.adeq-pill{display:inline-block;padding:.1rem .4rem;border-radius:.9rem;font-size:.74rem;font-weight:600;white-space:nowrap;cursor:default}.adeq-pill-good{background:var(--charging-bg, #e6f4ea);color:var(--charging-text, #1a6b2c)}.adeq-pill-warn{background:var(--approaching-bg, #fff3cd);color:var(--approaching-text,#7a5700)}.adeq-pill-fail{background:var(--overdod-bg, #fde8e8);color:var(--deficit-text, #8b1a1a)}.adeq-pill-nosolar{background:var(--bg-alt);color:var(--text-muted);font-weight:400}.adeq-pill-missing{background:transparent;color:var(--text-muted);font-weight:400;font-style:italic}.adeq-worst{font-size:.8rem;color:var(--deficit-text);margin-top:.2rem}.adeq-worst-warn{color:var(--approaching-text)}.adeq-surplus{color:var(--charging-text);font-weight:600}.adeq-deficit{color:var(--deficit-text);font-weight:600}.adeq-nosolar{color:var(--nosolar-text);font-weight:600}.adeq-missing{color:var(--text-muted);font-style:italic}.adeq-approaching{color:var(--approaching-text);font-weight:600}.adeq-hourly-link{float:right;font-size:.75rem;color:var(--text-muted);text-decoration:none;opacity:.75}.adeq-hourly-link:hover{opacity:1;text-decoration:underline}.hourly-nav-link{display:block;text-align:right;font-size:.72rem;color:var(--text-muted);text-decoration:none;padding:.15rem 0;opacity:.7}.hourly-nav-link:hover{opacity:1;text-decoration:underline}.faq-section{max-width:1400px;margin:0 auto 1.25rem;padding:0 1.25rem}.faq-details>summary{cursor:pointer;font-weight:600;font-size:.95rem;color:var(--text-muted, #555);padding:.4rem 0;list-style:none;display:flex;align-items:center;gap:.4rem}.faq-details>summary:before{content:"▶";font-size:.65rem;transition:transform .15s}.faq-details[open]>summary:before{transform:rotate(90deg)}.faq-list{margin:.75rem 0 0;padding:0}.faq-item{border-top:1px solid var(--border, #ddd);padding:.75rem 0}.faq-item dt{font-weight:600;margin-bottom:.35rem;font-size:.9rem}.faq-item dd{margin:0;font-size:.875rem;color:var(--text-muted, #555);line-height:1.55}.faq-item dd ul,.faq-item dd ol{margin:.5rem 0;padding-left:1.5rem}.faq-item dd li{margin:0 0 .4rem;padding-left:.15rem}.faq-item dd li:last-child{margin-bottom:0}.saved-designs-section{max-width:1400px;margin:0 auto 1.25rem;padding:0 1.25rem}.saved-designs-inner{background:var(--bg-panel);border:1px solid var(--border-light);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem 1.25rem}.saved-designs-heading{font-size:.95rem;font-weight:700;color:var(--primary);margin-bottom:.75rem}.save-row{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-bottom:.85rem}.design-name-input{flex:1;min-width:180px;max-width:300px;padding:.4rem .6rem;border:1px solid var(--border);border-radius:var(--radius);font-size:.88rem;background:var(--input-bg);color:var(--input-text)}.design-name-input:focus{outline:2px solid var(--primary);outline-offset:1px}.design-name-input.input-error{outline:2px solid #c0392b;outline-offset:1px}.designs-save-notice{font-size:.82rem;color:var(--text-muted);flex-basis:100%}.share-design-btn{white-space:nowrap}.inverter-detail-fields{min-width:0}.inverter-detail-fields .field-row label{flex:0 0 130px}.inverter-detail-fields .field-row input{min-width:0}.inverter-detail-note,.hint-row{font-size:.78rem;color:var(--text-muted);margin:.15rem 0 .25rem;font-style:italic}.compare-bar{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;padding:.5rem .7rem;margin-bottom:.5rem;background:#eef4fb;border:1px solid #c5d6ea;border-radius:var(--radius);max-width:820px}.compare-bar.hidden{display:none}.compare-bar-hint{font-size:.85rem;color:var(--text-muted);flex:1}.compare-bar button[disabled]{opacity:.55;cursor:not-allowed}.design-item{display:flex;align-items:center;gap:.55rem}.design-compare{display:flex;align-items:center;padding:0 .2rem;cursor:pointer}.design-compare input[type=checkbox]{margin:0}.design-compare input[type=checkbox]:disabled{cursor:not-allowed}.compare-dialog{border:none;border-radius:var(--radius);padding:0;max-width:1100px;width:95vw;max-height:92vh;box-shadow:0 14px 50px #0000004d}.compare-dialog::backdrop{background:#00000080}.compare-dialog-form{display:flex;flex-direction:column;height:100%;max-height:92vh}.compare-dialog-header{display:flex;justify-content:space-between;align-items:center;padding:.85rem 1.1rem;border-bottom:1px solid var(--border-light);background:var(--bg-fieldset)}.compare-dialog-header h2{margin:0;font-size:1.15rem}.compare-close-btn{background:transparent;border:none;font-size:1.45rem;line-height:1;cursor:pointer;color:var(--text-muted);padding:0 .35rem}.compare-close-btn:hover{color:var(--text)}.compare-body{padding:1rem 1.1rem 1.4rem;overflow-y:auto}.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}@media (max-width: 720px){.compare-grid{grid-template-columns:1fr}}.compare-col{border:1px solid var(--border-light);border-radius:var(--radius);padding:.85rem;background:var(--bg-page)}.compare-col-header{margin-bottom:.6rem}.compare-design-name{font-size:1rem;font-weight:700}.compare-design-date{font-size:.78rem;color:var(--text-muted)}.compare-inputs{display:grid;grid-template-columns:max-content 1fr;gap:.25rem .6rem;margin:0 0 .7rem;font-size:.85rem}.compare-inputs>div{display:contents}.compare-inputs dt{color:var(--text-muted);white-space:nowrap}.compare-inputs dd{margin:0;font-weight:600}.compare-section-h{font-size:.82rem;text-transform:uppercase;letter-spacing:.05em;margin:.7rem 0 .4rem;color:var(--text-muted)}.compare-counts{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:.5rem}.compare-pills-row{display:flex;gap:.2rem;flex-wrap:wrap}.compare-pill{display:inline-flex;align-items:center;gap:.15rem;font-size:.78rem;padding:.18rem .5rem;border-radius:999px;font-weight:700;white-space:nowrap}.compare-pill-mo{margin-left:.15rem;font-weight:500;font-size:.7rem;opacity:.8}.compare-pill-good{background:#e8f5e9;color:#2e7d32}.compare-pill-marginal{background:#fff8e1;color:#ef6c00}.compare-pill-fail{background:#ffebee;color:#c62828}.compare-pill-unknown{background:var(--border-light);color:var(--text-muted)}.compare-worst{font-size:.83rem;margin:.5rem 0 0;color:var(--text-muted)}.compare-table{width:100%;border-collapse:collapse;font-size:.8rem}.compare-table th{text-align:left;font-weight:600;color:var(--text-muted);padding:.25rem .4rem;border-bottom:1px solid var(--border-light)}.compare-table td{padding:.22rem .4rem;border-bottom:1px solid #eef1f4}.compare-row-good td{background:#2e7d320f}.compare-row-marginal td{background:#ef6c0012}.compare-row-fail td{background:#c6282812}.compare-row-empty{font-style:italic;color:var(--text-muted)}.compare-incomplete{padding:.6rem .7rem;background:#fff8e1;border-left:3px solid #ef6c00;font-size:.82rem;color:var(--text);border-radius:4px}.compare-empty{text-align:center;font-style:italic;color:var(--text-muted)}.saved-designs-list{display:flex;flex-direction:column;gap:.4rem}.no-designs{font-size:.85rem;color:var(--text-muted);font-style:italic}.design-item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.45rem .7rem;background:var(--bg-page);border:1px solid var(--border-light);border-radius:var(--radius);flex-wrap:wrap;max-width:820px}.design-info{display:flex;align-items:baseline;gap:.6rem;min-width:0}.design-name{font-size:.88rem;font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.design-date{font-size:.78rem;color:var(--text-muted);white-space:nowrap;flex-shrink:0}.design-actions{display:flex;gap:.2rem;flex-shrink:0}.design-actions .btn-sm,.saved-designs-list .design-item .btn-sm{padding:.1rem .4rem!important;font-size:.68rem!important;font-weight:500!important;line-height:1.25!important;min-width:0!important}.btn-sm{padding:.25rem .65rem;font-size:.8rem;font-weight:600;border:1px solid var(--border);border-radius:var(--radius);background:#fff;color:var(--primary);cursor:pointer}.btn-sm:hover{background:var(--border-light)}.btn-sm-danger{color:#c0392b;border-color:#e8b4b8}.btn-sm-danger:hover{background:#fdf0f0}.coord-format-row{display:flex;align-items:center;gap:.5rem;margin-top:.6rem}.coord-format-label{font-size:.8rem;color:var(--text-muted)}.coord-fmt-group{display:flex;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.coord-fmt-btn{background:none;border:none;border-right:1px solid var(--border);padding:.2rem .6rem;font-size:.78rem;font-weight:600;color:var(--text-muted);cursor:pointer;transition:background .15s,color .15s}.coord-fmt-btn:last-child{border-right:none}.coord-fmt-btn.coord-fmt-active{background:var(--primary);color:#fff}.coord-fmt-btn:hover:not(.coord-fmt-active){background:var(--border-light);color:var(--text)}.coord-error{font-size:.78rem;color:#c0392b;font-weight:600;margin-top:.15rem;margin-left:0}.address-status{font-size:.78rem;color:var(--text-muted);margin-top:.2rem}.address-status-error{color:#c0392b}.btn-secondary{background:var(--bg-panel);color:var(--primary);border:1px solid var(--primary);border-radius:var(--radius);padding:.45rem 1rem;font-size:.88rem;font-weight:600;cursor:pointer;transition:background .15s}.btn-secondary:hover{background:var(--border-light)}.subsection-heading{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin:1.1rem 0 .4rem;padding-bottom:.25rem;border-bottom:1px solid var(--border)}.subsection-heading:first-child{margin-top:.2rem}.btn-link{background:none;border:none;color:var(--primary);font-size:.82rem;cursor:pointer;padding:0;text-decoration:underline;text-underline-offset:2px}.btn-link:hover{color:var(--primary-hover)}.tsrf-expand-row{margin-top:.4rem}.attribution{margin-top:.3rem;font-size:.72rem}.attribution a{color:var(--text-muted)}.site-footer{text-align:center;font-size:.78rem;color:var(--text-muted);padding:1rem 1.5rem;border-top:1px solid var(--border-light);margin-top:1rem}.pwm-note{background:#f0f4ff;border:1px solid #b8c8f0;border-left:3px solid var(--primary);border-radius:var(--radius);padding:.5rem .75rem;font-size:.8rem;color:var(--text-muted);margin-top:.3rem;margin-bottom:.5rem}.optional-label{font-size:.75rem;color:var(--text-muted);font-weight:400}.required-note{font-size:.75rem;color:var(--text-muted);font-style:italic;margin-top:.1rem;margin-bottom:.25rem}.formula-eq{font-size:.88rem;background:#fff;border:1px solid var(--border-light);border-radius:4px;padding:.45rem .7rem;margin:.35rem 0;color:var(--text);line-height:1.7}.formula-eq-sub{margin-left:1.5rem}.formula-eq sup{font-size:.72rem}.formula-example{font-size:.83rem;background:#f0f6ff;border-left:3px solid #6699cc;border-radius:0 4px 4px 0;padding:.4rem .65rem;margin:.4rem 0 .2rem;line-height:1.65;color:var(--text)}.load-header-row{display:flex;align-items:center;gap:.25rem;margin-bottom:.1rem}.btn-delete-load{background:none;border:none;color:var(--text-muted);font-size:.9rem;line-height:1;padding:.1rem .3rem;border-radius:var(--radius);cursor:pointer;transition:color .15s,background .15s}.btn-delete-load:hover{color:#c0392b;background:#fdf0f0}.load-add-row{display:flex;align-items:center;gap:.75rem;margin-top:.6rem}.btn-add-load{background:none;border:1px dashed var(--border);border-radius:var(--radius);color:var(--primary);font-size:.85rem;font-weight:600;padding:.35rem .85rem;cursor:pointer;transition:background .15s,border-color .15s}.btn-add-load:hover{background:var(--border-light);border-color:var(--primary)}.btn-add-load:disabled{color:var(--text-muted);border-color:var(--border-light);cursor:not-allowed;background:none}.load-limit-note{font-size:.8rem;color:var(--text-muted);font-style:italic}.mobile-header,.mobile-hero-bar{display:none}@media (max-width: 860px){.mobile-header{display:block;position:sticky;top:2.5rem;z-index:100}.mobile-tabs{display:flex;background:var(--bg-panel);border-bottom:1px solid var(--border-light);padding:0 .5rem}.tab-btn{flex:1;padding:.7rem 1rem;border:none;border-bottom:3px solid transparent;margin-bottom:-1px;background:none;font-size:.9rem;font-weight:600;color:var(--text-muted);cursor:pointer;transition:color .15s,border-bottom-color .15s}.tab-btn.tab-active{color:var(--primary);border-bottom-color:var(--primary)}.tab-btn:hover:not(.tab-active){color:var(--text)}.mobile-hero-bar{display:block;padding:.45rem 1rem;font-size:.82rem;font-weight:500;text-align:center;border-bottom:1px solid var(--border-light);transition:background .2s,color .2s}.mobile-hero-bar.mobile-hero-incomplete{background:var(--bg-page);color:var(--text-muted);font-style:italic}.mobile-hero-bar.mobile-hero-good{background:var(--charging-bg);color:var(--charging-text)}.mobile-hero-bar.mobile-hero-warn{background:var(--deficit-bg);color:var(--deficit-text)}.mobile-hero-bar.mobile-hero-danger{background:var(--overdod-bg);color:var(--overdod-text)}.mobile-hero-bar.hidden,#main-content[data-active-tab=inputs] .results-panel,#main-content[data-active-tab=results] .inputs-panel{display:none}.results-panel{position:static}.field-row{flex-wrap:wrap;row-gap:.2rem}.field-row label{flex:0 0 100%;font-size:.82rem}.field-row>input,.field-row>select{flex:1 1 0;min-width:0}.unit{flex-shrink:0;align-self:center}}.mode-toggle-row{display:flex;gap:0;margin-bottom:1rem}.mode-btn{padding:.4rem 1.1rem;border:1px solid var(--primary);background:#fff;color:var(--primary);cursor:pointer;font-size:.85rem;font-weight:600}.mode-btn:first-child{border-radius:4px 0 0 4px}.mode-btn:last-child{border-radius:0 4px 4px 0}.mode-btn-active{background:var(--primary);color:#fff}.load-entry.collapsed .load-body{display:none}.load-collapse-btn{background:none;border:none;color:var(--text-muted);font-size:.7rem;padding:.1rem .3rem;cursor:pointer;line-height:1;transition:transform .15s,color .15s;flex-shrink:0}.load-collapse-btn:hover{color:var(--primary)}.load-entry.collapsed .load-collapse-btn{transform:rotate(-90deg)}.load-summary{flex:1;font-size:.78rem;color:var(--text-muted);font-style:italic;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 .4rem;display:none}.load-entry.collapsed .load-summary{display:block}.load-type-toggle{display:flex;gap:0}.load-type-btn{padding:.2rem .6rem;border:1px solid var(--primary);background:#fff;color:var(--primary);cursor:pointer;font-size:.78rem;font-weight:700}.load-type-btn:first-child{border-radius:3px 0 0 3px}.load-type-btn:last-child{border-radius:0 3px 3px 0}.load-type-active{background:var(--primary);color:#fff}.load-pva-note{font-size:.8rem;color:var(--text-muted);margin:.4rem 0 .25rem;font-style:italic}.load-pva-row{display:flex;gap:.5rem;flex-wrap:wrap}.load-pva-field{display:flex;flex-direction:column;align-items:flex-start;min-width:80px;flex:1}.load-pva-field input{width:100%}.load-pva-field .unit{font-size:.75rem;color:var(--text-muted);margin-top:.1rem}.load-calc-note{font-size:.7rem;color:var(--text-muted);font-style:italic}.load-calc-field{font-style:italic;font-weight:400!important;color:#666}.load-dcdc-notice{font-size:.78rem;color:#7a5c00;background:#fff8e1;border:1px solid #ffe082;border-radius:4px;padding:.3rem .6rem;margin-top:.4rem;display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.load-bypass-label{display:flex;align-items:center;gap:.3rem;cursor:pointer}.hero-top-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:.1rem}.hero-show-math{font-size:.78rem;color:#fffc;display:flex;align-items:center;gap:.35rem;cursor:pointer}body[data-mode=custom] .mode-aio-only{display:none!important}body:not([data-mode=custom]) .mode-custom-only{display:none!important}.capacity-unit-row{display:none!important}.capacity-unit-row-legacy{display:flex;align-items:center;gap:.5rem;margin-top:.6rem}.capacity-unit-label{font-size:.82rem;color:var(--text-muted);flex-shrink:0}.cap-unit-group{display:flex;gap:0}.cap-unit-btn{padding:.3rem .8rem;border:1px solid var(--primary);background:#fff;color:var(--primary);cursor:pointer;font-size:.82rem;font-weight:600}.cap-unit-btn:first-child{border-radius:4px 0 0 4px}.cap-unit-btn:last-child{border-radius:0 4px 4px 0}.cap-unit-active{background:var(--primary);color:#fff}body[data-capunit=ah] .cap-unit-wh-only{display:none!important}body:not([data-capunit=ah]) .cap-unit-ah-only{display:none!important}.site-intro{max-width:1400px;margin:0 auto;padding:.35rem 1.25rem}.site-intro>summary{cursor:pointer;font-size:.8rem;color:var(--text-muted, #888);list-style:none;display:flex;align-items:center;gap:.35rem}.site-intro>summary:before{content:"▶";font-size:.6rem;transition:transform .15s}.site-intro[open]>summary:before{transform:rotate(90deg)}.site-intro p{margin:.5rem 0 .25rem;font-size:.8rem;color:var(--text-muted, #888);line-height:1.55}.site-intro-links a{color:var(--primary);text-decoration:none;font-weight:500}.site-intro-links a:hover{text-decoration:underline}.content-links-row{max-width:1400px;margin:0 auto;padding:.35rem 1.25rem .5rem;display:flex;gap:.5rem;flex-wrap:wrap}.content-link-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.3rem .7rem;background:var(--bg-panel, #f4f6f8);border:1px solid var(--border-light, #d8dde2);border-radius:999px;color:var(--text, #222);text-decoration:none;font-size:.82rem;font-weight:500}.content-link-chip:hover{background:#fff;border-color:var(--primary);color:var(--primary)}.content-link-icon{font-size:.95rem;line-height:1}.display-mode-bar{display:flex;align-items:center;gap:.75rem;padding:.5rem 1.25rem;background:var(--bg-panel);border-bottom:1px solid var(--border-light);box-shadow:var(--shadow);position:sticky;top:0;z-index:50;transition:transform .2s ease}.display-mode-bar.toggle-hidden{transform:translateY(calc(-100% - 1.25rem))}@media (max-width: 860px){.display-mode-bar{position:sticky;top:0;z-index:101;transform:none!important;padding:.4rem 1rem}}.display-mode-row{display:flex;gap:0}.display-mode-btn{padding:.35rem 1rem;border:1px solid var(--primary);background:#fff;color:var(--primary);cursor:pointer;font-size:.85rem;font-weight:600;transition:background .15s,color .15s}.display-mode-btn:first-child{border-radius:4px 0 0 4px}.display-mode-btn:not(:first-child):not(:last-child){border-radius:0;border-left:none}.display-mode-btn:last-child{border-radius:0 4px 4px 0;border-left:none}.display-mode-btn.display-mode-active{background:var(--primary);color:#fff}.whats-this-btn{font-size:.8rem;flex-shrink:0}.whats-this-panel{background:#eaf4fb;border:1px solid var(--border);border-left:3px solid var(--primary);border-radius:var(--radius);padding:.6rem .9rem;font-size:.82rem;color:var(--text);line-height:1.5;margin-top:-.5rem}body.content-page{max-width:760px;margin:0 auto;padding:2rem 1.25rem 3rem;background:#fff;color:var(--text)}body.content-page header.content-header{background:transparent;color:var(--text);padding:0;margin-bottom:1.75rem}.content-breadcrumb{margin:0 0 .5rem;font-size:.85rem}.content-breadcrumb a{color:var(--text-muted);text-decoration:none}.content-breadcrumb a:hover{color:var(--primary)}.content-header h1{margin:0 0 .55rem;font-size:1.85rem;font-weight:700;color:var(--text)}.content-lede{margin:0 0 .65rem;font-size:1.02rem;line-height:1.5;color:var(--text)}.content-sub{margin:0 0 1rem;font-size:.92rem;line-height:1.5;color:var(--text-muted)}.content-toc{margin:.5rem 0 0;font-size:.82rem;color:var(--text-muted);line-height:1.7}.content-toc a{color:var(--primary);text-decoration:none}.content-toc a:hover{text-decoration:underline}.content-main{display:flex;flex-direction:column;gap:1.5rem}.content-section{scroll-margin-top:1rem}.content-section h2,.example-section h2{margin:0 0 .6rem;font-size:1.25rem;font-weight:600;color:var(--primary);border-bottom:1px solid #e3edf6;padding-bottom:.3rem}.content-section p,.example-section p{margin:0 0 .7rem;font-size:.94rem;line-height:1.55}.content-section ol,.content-section ul{margin:0 0 .8rem 1.4rem;padding:0;font-size:.94rem;line-height:1.55}.content-section li{margin-bottom:.35rem}.methodology-chain li{margin-bottom:.55rem}.weather-modes-dl{margin:0 0 .8rem;display:grid;grid-template-columns:minmax(160px,max-content) 1fr;column-gap:1rem;row-gap:.6rem;font-size:.94rem;line-height:1.5}.weather-modes-dl dt{font-weight:600;color:var(--primary)}.weather-modes-dl dd{margin:0}@media (max-width: 540px){.weather-modes-dl{grid-template-columns:1fr;row-gap:.15rem}.weather-modes-dl dd{margin-bottom:.5rem}}.example-section{padding:1rem 1.1rem 1.05rem;background:#fafdff;border:1px solid #e3edf6;border-left:3px solid var(--primary);border-radius:var(--radius)}.example-cta{display:inline-block;background:var(--primary);color:#fff;padding:.45rem .95rem;border-radius:4px;font-size:.88rem;font-weight:500;text-decoration:none}.example-cta:hover{filter:brightness(1.08)}.content-aside{margin-top:1rem;padding:.9rem 1rem;background:#f5f5f5;border-radius:var(--radius);font-size:.9rem;line-height:1.5}.content-aside h2{margin:0 0 .5rem;font-size:1rem;color:var(--text);border:none;padding:0}.content-aside code{background:#eaeaea;padding:.05rem .3rem;border-radius:3px;font-size:.86em}.sources-list{font-size:.9rem;line-height:1.55}body.content-page .site-footer{margin-top:2.5rem;padding-top:1.25rem;border-top:1px solid #e3edf6;font-size:.85rem;color:var(--text-muted)}body.content-page .site-footer a{color:var(--primary);text-decoration:none}body.content-page .site-footer a:hover{text-decoration:underline}.preset-strip{margin:.75rem 0;padding:.85rem 1rem 1rem;background:linear-gradient(180deg,#f3f9ff,#fafdff);border:1px solid #cfe2f3;border-left:4px solid var(--primary);border-radius:var(--radius)}.preset-strip[hidden],html.preset-dismissed .preset-strip{display:none}.preset-strip-header{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem}.preset-strip-title{margin:0;font-size:1rem;font-weight:600;color:var(--text)}.preset-strip-dismiss{background:none;border:none;font-size:1.3rem;line-height:1;color:var(--text-muted);cursor:pointer;padding:0 .25rem}.preset-strip-dismiss:hover{color:var(--text)}.preset-strip-sub{margin:.2rem 0 .7rem;font-size:.82rem;color:var(--text-muted)}.preset-strip-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:.6rem}.preset-card{display:flex;flex-direction:column;gap:.4rem;background:#fff;border:1px solid #d9e6f2;border-radius:var(--radius);padding:.7rem .8rem .75rem}.preset-card-title{margin:0;font-size:.92rem;font-weight:600;color:var(--primary)}.preset-card-blurb{margin:0;font-size:.78rem;line-height:1.35;color:var(--text-muted);flex:1}.preset-card-load{align-self:flex-start;background:var(--primary);color:#fff;border:none;border-radius:4px;padding:.35rem .75rem;font-size:.8rem;font-weight:500;cursor:pointer}.preset-card-load:hover{filter:brightness(1.08)}.preset-card-load:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.easy-hint-banner{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;background:#f0f7ff;border:1px solid #b8d4f0;border-left:3px solid var(--primary);border-radius:var(--radius);padding:.55rem .9rem;font-size:.83rem;color:var(--text)}.easy-hint-banner.hidden{display:none}.hint-dismiss-btn{background:none;border:none;font-size:1rem;line-height:1;color:var(--text-muted);cursor:pointer;padding:0 .2rem;margin-left:auto;flex-shrink:0}.hint-dismiss-btn:hover{color:var(--text)}.easy-tilt-flag{font-size:.78rem;color:var(--text-muted);font-style:italic;margin-top:.2rem;padding:.25rem .5rem;background:#f4f7fa;border-radius:var(--radius)}.easy-tilt-flag.hidden,body.mode-easy .hide-in-easy{display:none}body.mode-easy fieldset.easy-expanded .hide-in-easy{display:block}body.mode-easy fieldset.easy-expanded .hide-in-easy.field-row,body.mode-easy fieldset.easy-expanded .hide-in-easy.coord-format-row,body.mode-easy fieldset.easy-expanded .hide-in-easy.fetch-row,body.mode-easy fieldset.easy-expanded .hide-in-easy.mode-toggle-row,body.mode-easy fieldset.easy-expanded .hide-in-easy.capacity-unit-row{display:flex}body.mode-easy #adequacy-summary{display:none!important}.easy-chip-row{display:none;margin-top:.75rem}body.mode-easy .easy-chip-row{display:block}.detail-chip{background:none;border:1px dashed var(--primary);border-radius:var(--radius);color:var(--primary);font-size:.82rem;font-weight:600;padding:.3rem .8rem;cursor:pointer;transition:background .15s}.detail-chip:hover{background:var(--border-light)}.detail-chip.chip-expanded{border-style:solid}body.mode-easy .load-name-row,body.mode-easy .load-days-row{display:none}body.mode-easy .load-entry.show-load-desc .load-name-row,body.mode-easy .load-entry.show-load-hours .load-hours-row,body.mode-easy .load-entry.show-load-days .load-days-row,body.mode-easy .load-entry.show-load-opwin .load-operating-window-row{display:flex}.load-easy-chips{display:none;gap:.4rem;flex-wrap:wrap;margin-top:.5rem}body.mode-easy .load-easy-chips{display:flex}.load-chip{font-size:.75rem;padding:.2rem .55rem}.col-picker-row{display:block;position:relative;margin-bottom:.6rem}.btn-col-picker{background:var(--bg-panel);color:var(--primary);border:1px solid var(--primary);border-radius:var(--radius);padding:.3rem .75rem;font-size:.82rem;font-weight:600;cursor:pointer;transition:background .15s}.btn-col-picker:hover{background:var(--border-light)}.col-picker-popover{position:absolute;top:calc(100% + 4px);left:0;background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 4px 16px #0000001f;padding:.6rem .85rem;z-index:200;min-width:190px}.col-picker-popover.hidden{display:none}.col-picker-item{display:flex;align-items:center;gap:.45rem;padding:.25rem 0;font-size:.83rem;color:var(--text);cursor:pointer;user-select:none}.col-picker-item input[type=checkbox]{width:15px;height:15px;cursor:pointer;accent-color:var(--primary)}.field-help-wrap{position:relative;display:inline-flex;flex:0 0 auto}.btn-field-help{width:20px;height:20px;border-radius:50%;border:1px solid var(--primary);background:var(--bg-panel);color:var(--primary);font-size:.78rem;font-weight:700;line-height:1;cursor:pointer;padding:0;transition:background .15s}.btn-field-help:hover{background:var(--border-light)}.field-help-popover{position:absolute;top:calc(100% + 6px);right:0;background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 4px 16px #0000001f;padding:.6rem .85rem;z-index:200;width:250px}.field-help-popover.hidden{display:none}.field-help-title{margin:0 0 .35rem;font-size:.84rem;font-weight:700;color:var(--text)}.field-help-list{margin:0;padding-left:1.05rem;font-size:.82rem;color:var(--text)}.field-help-list li{margin:.15rem 0}.field-help-note{margin:.45rem 0 0;font-size:.78rem;color:var(--text-muted)}.easy-col-hidden,.source-hidden{display:none}.col-picker-item-disabled{opacity:.45;cursor:not-allowed}.advanced-feature-chip{display:none}body.mode-easy .advanced-feature-chip,body.mode-hard .advanced-feature-chip{display:inline-flex}body.show-advanced-tiltOptimization #tiltOptimization,body.show-advanced-daynight-math-block #daynight-math-block{display:block!important}body.mode-easy .advanced-only,body.mode-hard .advanced-only{display:none!important}body.mode-advanced .hide-in-easy{display:block}body.mode-advanced .hide-in-easy.field-row,body.mode-advanced .hide-in-easy.coord-format-row,body.mode-advanced .hide-in-easy.fetch-row,body.mode-advanced .hide-in-easy.mode-toggle-row,body.mode-advanced .hide-in-easy.capacity-unit-row{display:flex}.tilt-opt-block{margin-top:.75rem;padding:.6rem .75rem;background:#fff;border:1px solid var(--border-light);border-left:3px solid var(--primary);border-radius:var(--radius)}.tilt-opt-heading{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);margin-bottom:.4rem;margin-top:.6rem}.tilt-opt-block>.section-label,.tilt-opt-details>summary.section-label{margin-top:0}.tilt-opt-details{list-style:none}.tilt-opt-details>summary.tilt-opt-summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;user-select:none;list-style:none}.tilt-opt-details>summary.tilt-opt-summary:after{content:"▲";font-size:.7rem;color:var(--text-muted);margin-left:.5rem}.tilt-opt-details:not([open])>summary.tilt-opt-summary:after{content:"▼"}.tilt-opt-details>summary::-webkit-details-marker{display:none}.tilt-opt-details>summary::marker{display:none}.tilt-opt-fixed{margin-bottom:.6rem}.tilt-opt-fixed-row{display:flex;gap:.6rem;flex-wrap:wrap}.tilt-opt-item{display:flex;flex-direction:column;align-items:center;gap:.2rem;flex:1;min-width:80px}.tilt-opt-label{font-size:.72rem;color:var(--text-muted);text-align:center;line-height:1.3}.tilt-button{background:var(--bg-page);border:1px solid var(--border);border-radius:var(--radius);color:var(--primary);font-size:1rem;font-weight:700;padding:.3rem .7rem;cursor:pointer;min-width:54px;text-align:center;transition:background .15s,border-color .15s}.tilt-button:hover{background:var(--border-light);border-color:var(--primary)}.tilt-button:disabled{color:var(--text-muted);cursor:default;background:var(--bg-page)}@keyframes tilt-flash{0%{background:#cce5ff}to{background:var(--bg-page)}}.tilt-button.tilt-applied{animation:tilt-flash .4s ease-out forwards}.tilt-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.35rem;margin-top:.4rem}@media (max-width: 860px){.tilt-grid{grid-template-columns:repeat(3,1fr)}}.tilt-month-cell{display:flex;flex-direction:column;align-items:center;gap:.15rem}.tilt-month-label{font-size:.7rem;color:var(--text-muted);font-weight:600}.tilt-month-cell .tilt-button{font-size:.85rem;padding:.2rem .4rem;min-width:44px;width:100%}.solar-noon-line{font-size:.8rem;color:var(--text-muted);font-style:italic;margin-top:.5rem;padding-top:.4rem;border-top:1px solid var(--border-light)}.solar-noon-line:empty{display:none}.tilt-show-math{margin-top:.5rem;padding:0;border:none;background:none}.tilt-show-math summary{cursor:pointer;font-size:.8rem;color:var(--primary);user-select:none;padding:.2rem 0}.tilt-show-math>div{margin-top:.4rem}body.mode-easy .load-operating-window-row,body.mode-hard .load-operating-window-row{display:none}body.mode-hard .load-entry.show-load-opwin .load-operating-window-row{display:flex}body.mode-advanced .load-operating-window-row{display:flex!important}.load-hard-chips{display:none;gap:.4rem;flex-wrap:wrap;margin-top:.5rem}body.mode-hard .load-hard-chips{display:flex}.load-advanced-chips{display:none;gap:.4rem;flex-wrap:wrap;margin-top:.5rem}body.mode-advanced .load-advanced-chips{display:flex}.load-months-section{margin:.5rem 0 .25rem;padding:.5rem .7rem;background:var(--surface-2, #f5f5f5);border-left:3px solid var(--accent, #4a90d9);border-radius:4px;display:none;flex-direction:column;gap:.4rem}body.mode-hard .load-entry.show-load-months .load-months-section:not(.hidden),body.mode-advanced .load-entry.show-load-months .load-months-section:not(.hidden){display:flex}.load-months-label{font-size:.85rem;font-weight:600}.load-months-label small{font-weight:400;color:#6b7280}.load-months-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.3rem .4rem}.load-month-cell{display:inline-flex;align-items:center;gap:.25rem;font-size:.8rem;cursor:pointer;user-select:none}.load-month-cell input[type=checkbox]{margin:0}.load-months-actions{display:flex;gap:.4rem}.load-duty-section{margin:.5rem 0 .25rem;padding:.5rem .7rem;background:var(--surface-2, #f5f5f5);border-left:3px solid var(--accent, #4a90d9);border-radius:4px;display:none;flex-direction:column;gap:.6rem}body.mode-hard .load-entry.show-load-duty .load-duty-section:not(.hidden),body.mode-advanced .load-entry.show-load-duty .load-duty-section:not(.hidden){display:flex}.load-duty-block{display:flex;flex-direction:column;gap:.2rem}.load-duty-section .field-row{margin-top:0}.load-duty-section .field-row input[type=number]{max-width:8rem}.load-field-note{font-size:.75rem;color:#6b7280;padding-left:130px}@media (max-width: 600px){.load-field-note{padding-left:0}}body.mode-easy .load-custom-window,body.mode-hard .load-custom-window{display:none!important}body.mode-easy .load-entry.show-load-opwin .load-custom-window:not(.hidden){display:flex!important}body.mode-hard .load-entry.show-load-opwin .load-custom-window:not(.hidden){display:flex!important}body.mode-advanced .load-custom-window:not(.hidden){display:flex!important}.load-custom-window{margin:.5rem 0 .25rem;padding:.5rem .7rem;background:var(--surface-2, #f5f5f5);border-left:3px solid var(--accent, #4a90d9);border-radius:0 4px 4px 0;display:flex;flex-direction:column;gap:.4rem}.load-custom-window.hidden{display:none}.load-custom-mode-row{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.load-custom-mode-label{font-size:.82rem;color:var(--text-muted, #666)}.load-custom-mode-btn{padding:.2rem .6rem;font-size:.8rem;border:1px solid var(--border, #ccc);border-radius:3px;background:var(--surface, #fff);cursor:pointer;color:inherit}.load-custom-mode-btn.active{background:var(--accent, #4a90d9);color:#fff;border-color:var(--accent, #4a90d9)}.load-custom-derived{font-size:.8rem;color:var(--text-muted, #666);font-style:italic;min-height:1.1em}.load-hours-auto .load-hours{opacity:.6}.footer-feedback{margin-top:.5rem}.btn-feedback-open{background:none;border:1px solid currentColor;color:inherit;padding:.25rem .75rem;border-radius:4px;cursor:pointer;font-size:.85rem}.btn-feedback-open:hover{background:var(--border-light)}.feedback-modal{border:none;border-radius:8px;padding:1.5rem;width:min(90vw,420px);box-shadow:0 8px 32px #0000002e;background:var(--surface, #fff);color:var(--text, #222)}.feedback-modal::backdrop{background:#0006}.feedback-modal h2{margin:0 0 .25rem;font-size:1.1rem}.feedback-intro{margin:0 0 .9rem;font-size:.88rem;color:var(--text-muted, #666)}.feedback-textarea{width:100%;box-sizing:border-box;resize:vertical;font-family:inherit;font-size:.9rem;padding:.4rem .5rem;border:1px solid var(--border, #ccc);border-radius:4px}.feedback-email{width:100%;box-sizing:border-box;font-family:inherit;font-size:.9rem;padding:.35rem .5rem;border:1px solid var(--border, #ccc);border-radius:4px}.feedback-actions{display:flex;gap:.5rem;margin-top:.9rem}.feedback-status{margin-top:.5rem;font-size:.85rem;padding:.3rem .5rem;border-radius:4px}.feedback-status.feedback-ok{background:#e8f5e9;color:#2e7d32}.feedback-status.feedback-error{background:#fdecea;color:#c62828}.feedback-status.hidden{display:none}.hourly-mode-block{margin-top:.75rem;padding:.65rem .85rem;border:1px solid #cfd8dc;border-radius:6px;background:#f6fafc}.hourly-mode-summary{cursor:pointer;font-size:.88rem;font-weight:600;color:var(--text);user-select:none;list-style:none;padding-bottom:.1rem}.hourly-mode-summary::-webkit-details-marker{display:none}.hourly-mode-summary::marker{display:none}.hourly-mode-summary:after{content:" ▼";font-size:.7em;opacity:.6}.hourly-mode-block[open]>.hourly-mode-summary:after{content:" ▲"}.hourly-mode-block[open] .hourly-toggle-row{margin-top:.5rem}.hourly-toggle-row{margin:0}.hourly-toggle-label{display:flex;align-items:center;gap:.5rem;font-weight:600;cursor:pointer}.hourly-toggle-label input[type=checkbox]{transform:scale(1.1)}.hourly-explanation{font-size:.85rem;margin:.4rem 0 0;color:#555}.hourly-panel{margin-top:.75rem}.hourly-panel.hidden{display:none}.hourly-status{font-size:.85rem;font-style:italic;color:#455a64;margin-bottom:.5rem}.hourly-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.5rem;margin:.5rem 0}.hourly-metric{padding:.5rem .6rem;background:#fff;border:1px solid #e0e7ec;border-radius:4px}.hourly-metric>summary{list-style:none;cursor:pointer;display:block}.hourly-metric>summary::-webkit-details-marker{display:none}.hourly-metric[open]{border-color:#b0bec5;background:#f7fafc}.hourly-metric-info{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;margin-left:.35em;border-radius:50%;background:#cfd8dc;color:#fff;font-size:.62rem;font-style:italic;font-weight:700;font-family:serif;line-height:1;vertical-align:1px}.hourly-metric[open] .hourly-metric-info{background:var(--primary, #1976d2)}.hourly-metric-glossary{margin-top:.4rem;padding-top:.4rem;border-top:1px solid #e0e7ec;font-size:.78rem;line-height:1.35;color:#455a64;text-transform:none;letter-spacing:normal}.hourly-metric-label{font-size:.72rem;color:#607d8b;text-transform:uppercase;letter-spacing:.04em}.hourly-metric-value{font-size:1.25rem;font-weight:600;color:#263238;margin-top:.15rem}.hourly-metric-value .metric-unit{font-size:.85rem;font-weight:400;color:#607d8b}.hourly-metric-value .metric-sub{font-size:.8rem;font-weight:400;color:#607d8b}.hourly-soc-bars{margin-top:.6rem}.hourly-soc-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:4px;align-items:end}.hourly-soc-cell{display:flex;flex-direction:column;align-items:center}.hourly-soc-bar-track{position:relative;width:100%;height:60px;background:#eceff1;border-radius:2px;overflow:hidden}.hourly-soc-bar-fill{position:absolute;left:0;bottom:0;width:50%;background:linear-gradient(180deg,#4caf50,#81c784);transition:height .3s ease}.hourly-soc-bar-wind{position:absolute;right:0;bottom:0;width:50%;background:linear-gradient(180deg,#26c6da,#80deea);transition:height .3s ease}.hourly-soc-load-line{position:absolute;left:0;right:0;height:0;border-top:2px dashed #d84315;pointer-events:none}.hourly-soc-legend{display:flex;flex-wrap:wrap;gap:.6rem 1rem;margin-top:.4rem;font-size:.75rem;color:#455a64}.hourly-soc-legend-item{display:inline-flex;align-items:center;gap:.3rem}.hourly-soc-swatch{display:inline-block;width:12px;height:12px;border-radius:2px}.hourly-soc-swatch-soc{background:linear-gradient(180deg,#4caf50,#81c784)}.hourly-soc-swatch-wind{background:linear-gradient(180deg,#26c6da,#80deea)}.hourly-soc-swatch-load{width:14px;height:0;border-top:2px dashed #d84315;border-radius:0}.hourly-soc-month{font-size:.7rem;color:#455a64;margin-top:2px}.hourly-soc-pct{font-size:.65rem;color:#607d8b}.hourly-load-split{margin-top:.8rem}.hourly-load-split-details{border:1px solid #cfd8dc;border-radius:4px;background:#fafbfc}.hourly-load-split-summary{cursor:pointer;padding:.5rem .7rem;font-weight:600;font-size:.85rem;color:#37474f;list-style:none;display:flex;align-items:center;gap:.4rem}.hourly-load-split-summary::-webkit-details-marker{display:none}.hourly-load-split-glossary{padding:0 .7rem .5rem;font-size:.78rem;color:#546e7a;line-height:1.4}.load-split-row{padding:.4rem .7rem .6rem;border-top:1px solid #eceff1}.load-split-row-head{display:flex;justify-content:space-between;font-size:.78rem;color:#455a64;margin-bottom:3px}.load-split-title{font-weight:600}.load-split-total{color:#607d8b}.load-split-bar{display:flex;height:14px;border-radius:3px;overflow:hidden;background:#eceff1}.load-split-seg{display:block;height:100%}.load-split-direct{background:#fbc02d}.load-split-wind{background:#26c6da}th[data-col=wind-wh]{color:#00acc1}.load-split-battery{background:#4caf50}.load-split-charger{background:#29b6f6}.load-split-unmet{background:#e53935}.load-split-legend{display:flex;flex-wrap:wrap;gap:.3rem .8rem;margin-top:4px;font-size:.72rem;color:#546e7a}.load-split-legend-item{display:inline-flex;align-items:center;gap:4px}.load-split-swatch{display:inline-block;width:10px;height:10px;border-radius:2px}.hourly-sizing-reco{margin-top:.8rem}.hourly-sizing-reco-details{border:1px solid #cfd8dc;border-radius:4px;background:#fafbfc}.hourly-sizing-reco-summary{cursor:pointer;padding:.5rem .7rem;font-weight:600;font-size:.85rem;color:#37474f;list-style:none;display:flex;align-items:center;gap:.4rem}.hourly-sizing-reco-summary::-webkit-details-marker{display:none}.sizing-reco-body{padding:.4rem .7rem .6rem;border-top:1px solid #eceff1}.sizing-reco-message{font-size:.82rem;margin:0 0 .35rem;color:#37474f;font-weight:600}.sizing-reco-hint{font-size:.82rem;margin:0 0 .35rem;color:#263238}.sizing-reco-caveat{font-size:.73rem;color:#78909c;margin:.3rem 0 0;font-style:italic}.sizing-reco-oversize{font-size:.79rem;color:#b71c1c;background:#fff3e0;border-left:3px solid #f57c00;padding:.3rem .5rem;margin:.3rem 0 .25rem;border-radius:3px;line-height:1.4}.sizing-ok{border-left:3px solid #43a047}.sizing-battery{border-left:3px solid #00897b}.sizing-solar{border-left:3px solid #fb8c00}.sizing-mixed{border-left:3px solid #8e24aa}.hourly-tmy-caveat{margin-top:.6rem;padding:.5rem .7rem;background:#fff8e1;border-left:3px solid #ffb300;font-size:.8rem;color:#5d4037}.scenario-card{margin-top:1rem;padding:.85rem 1rem;background:var(--bg-page);border:1px solid var(--border-light);border-left:3px solid #5c6bc0;border-radius:var(--radius)}.scenario-card>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;user-select:none;list-style:none;font-size:.95rem;font-weight:700;color:var(--text)}.scenario-card>summary:after{content:"▲";font-size:.7rem;color:var(--text-muted);margin-left:.5rem}.scenario-card:not([open])>summary:after{content:"▼"}@media (max-width: 720px){.scenario-card:not([open]){background:#fff;border:1px solid var(--border-light);border-left:3px solid #5c6bc0;padding:.7rem .9rem}.scenario-card:not([open])>summary:before{content:"▶ ";color:#5c6bc0;margin-right:.35rem}.scenario-card:not([open])>summary:after{content:""}.scenario-card[open]{position:fixed;inset:0;z-index:1000;margin:0;padding:0 0 1.5rem;border:0;border-radius:0;background:var(--bg-page);overflow-y:auto;overscroll-behavior:contain}.scenario-card[open]>summary{position:sticky;top:0;padding:.85rem 1rem;background:var(--bg-page);border-bottom:1px solid var(--border-light);z-index:1}.scenario-card[open]>summary:after{content:"✕";font-size:1.05rem;color:var(--text)}.scenario-card[open]>:not(summary){margin-left:1rem;margin-right:1rem}body:has(.scenario-card[open]){overflow:hidden}.scenario-card[open]{padding-bottom:max(2.5rem,env(safe-area-inset-bottom,2.5rem))}}.scenario-card>summary::-webkit-details-marker{display:none}.scenario-card>summary::marker{display:none}.scenario-summary-title{flex:1}.scenario-verdict-chip{font-size:.75rem;font-weight:700;padding:.15rem .55rem;border-radius:999px;margin-right:.5rem;white-space:nowrap}.scenario-verdict-chip.hidden{display:none}.scenario-verdict-good{background:#e8f5e9;color:#2e7d32}.scenario-verdict-marginal{background:#fff8e1;color:#ef6c00}.scenario-verdict-fail{background:#ffebee;color:#c62828}.scenario-card .explanation{font-size:.82rem;color:var(--text-muted);margin:.4rem 0 .7rem}.scenario-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.6rem;margin-bottom:.6rem}.scenario-field{display:flex;flex-direction:column;gap:.2rem}.scenario-field label{font-size:.75rem;font-weight:600;color:var(--text-muted)}.scenario-field input,.scenario-field select{font-size:.88rem;padding:.3rem .4rem;border:1px solid var(--border);border-radius:var(--radius);background:#fff}.scenario-loads-wrap{border:1px solid var(--border-light);border-radius:var(--radius);margin:0 0 .4rem;font-size:.78rem;background:#fafbfd;overflow:hidden}.scenario-loads-toggle{width:100%;display:flex;align-items:center;gap:.35rem;padding:.4rem .65rem;font-size:.78rem;font-weight:600;color:var(--text-muted);background:none;border:none;cursor:pointer;text-align:left;font-family:inherit;user-select:none}.scenario-loads-toggle:hover{background:#00000008}.scenario-loads-count{font-size:.72rem;font-weight:400;color:var(--text-muted);margin-left:auto}.scenario-loads-arrow{font-size:.6rem;margin-left:.25rem}.scenario-loads-body{padding:0 .65rem .55rem}.scenario-loads-chips-row{display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.2rem}.scenario-load-chip{position:relative;display:inline-flex;align-items:center;gap:.2rem;font-size:.74rem;padding:.2rem 1.4rem .2rem .55rem;border:1px solid #a5d6a7;border-radius:1rem;background:#e8f5e9;color:#2e7d32;cursor:pointer;user-select:none;line-height:1.4}.scenario-load-chip.off{padding:.2rem .55rem;background:#f5f5f5;color:var(--text-muted);text-decoration:line-through;border-color:var(--border-light);cursor:pointer}.scenario-load-chip.editing{border-color:var(--primary);background:#e3f2fd;color:#1565c0}.chip-label{pointer-events:none}.chip-x{position:absolute;right:.3rem;top:50%;transform:translateY(-50%);width:1rem;height:1rem;display:flex;align-items:center;justify-content:center;font-size:.8rem;line-height:1;padding:0;border:none;border-radius:50%;background:#0000001f;color:#2e7d32;cursor:pointer;font-family:inherit}.chip-x:hover{background:#00000038}.scenario-chip-editor{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin-top:.45rem;padding:.45rem .5rem;background:#fff;border:1px solid var(--border);border-radius:var(--radius);font-size:.78rem}.chip-edit-field{display:flex;flex-direction:column;gap:.15rem;font-size:.72rem;color:var(--text-muted);font-weight:600}.chip-edit-field input{font-size:.82rem;padding:.2rem .4rem;border:1px solid var(--border);border-radius:4px;width:7rem;font-family:inherit}.chip-edit-field input[type=number]{width:4.5rem}.chip-edit-done{align-self:flex-end;padding:.22rem .7rem;font-size:.78rem;border:1px solid var(--primary);border-radius:var(--radius);background:var(--primary);color:#fff;cursor:pointer;font-family:inherit}.scenario-loads-hint{font-size:.7rem;color:var(--text-muted);margin-top:.35rem;font-style:italic}.scenario-extra-load{border:1px dashed var(--border);border-radius:var(--radius);padding:.45rem .7rem .6rem;margin:.3rem 0 .7rem}.scenario-extra-load>summary{font-size:.78rem;font-weight:600;color:var(--text-muted);cursor:pointer;list-style:none;user-select:none;padding:0}.scenario-extra-load>summary::marker,.scenario-extra-load>summary::-webkit-details-marker{display:none}.scenario-extra-load>summary:before{content:"+ "}.scenario-extra-load[open]>summary:before{content:"− "}.scenario-extra-load>.scenario-extra-fields{margin-top:.55rem}.scenario-calc-mode{display:flex;flex-direction:column;gap:.35rem;margin:.3rem 0 .7rem}.calc-mode-option{display:flex;align-items:flex-start;gap:.5rem;padding:.45rem .6rem;border:1px solid var(--border-light);border-radius:var(--radius);background:#fff;cursor:pointer;transition:border-color .15s,background .15s}.calc-mode-option:has(input:checked){border-color:var(--accent, #1a73e8);background:#eef4ff}.calc-mode-option input[type=radio]{margin-top:.18rem;flex-shrink:0;accent-color:var(--accent, #1a73e8)}.calc-mode-content{display:flex;flex-direction:column;gap:.1rem;min-width:0}.calc-mode-name{font-size:.82rem;font-weight:600;color:var(--text);line-height:1.3}.calc-mode-desc{font-size:.72rem;color:var(--text-muted);line-height:1.4}.calc-mode-option-disabled{opacity:.45;cursor:not-allowed;pointer-events:none}.scenario-tmy-empty{padding:.7rem .9rem;background:#fff8e1;border:1px dashed #e8c200;border-radius:var(--radius);font-size:.82rem;color:var(--text)}.scenario-tmy-cta{display:block;margin-top:.3rem;font-weight:600;color:var(--accent, #1a73e8);font-size:.8rem}.scenario-math-tmy{margin-top:.6rem;padding:.5rem .7rem;background:#eef4ff;border-left:3px solid var(--accent, #1a73e8);border-radius:0 var(--radius) var(--radius) 0;font-size:.8rem;color:var(--text)}.scenario-math-tmy strong{display:block;margin-bottom:.2rem;font-size:.82rem}.scenario-sky{margin:.3rem 0 .6rem;padding:.5rem .7rem;background:#fff;border:1px solid var(--border-light);border-radius:var(--radius)}.scenario-sky-label{display:block;font-size:.78rem;font-weight:600;color:var(--text-muted);margin-bottom:.25rem}.scenario-sky input[type=range]{width:100%;margin:.2rem 0}.scenario-sky-readout{font-size:.85rem;font-weight:600;color:var(--text);margin-bottom:.15rem}.scenario-sky-readout .scenario-sky-detail{font-size:.75rem;font-weight:400;color:var(--text-muted);margin-left:.4rem}.scenario-sky-readout .scenario-sky-desc{display:block;font-size:.75rem;font-weight:400;color:var(--text-muted);margin-top:.15rem}.scenario-sky-scale{display:flex;justify-content:space-between;font-size:.68rem;line-height:1.2;color:var(--text-muted);text-align:center}.wind-condition-row{margin-top:.55rem;padding:.4rem .6rem;background:#e8f4fd;border:1px solid #b3d9f2;border-radius:var(--radius)}.wind-condition-row.hide-when-no-wind{display:none}.wind-condition-label{font-size:.82rem;font-weight:600;display:block;margin-bottom:.2rem;color:#1565c0}.wind-condition-row input[type=range]{width:100%;accent-color:#1976d2;cursor:pointer}.wind-condition-value{font-size:.78rem;color:#1565c0;font-weight:600}.wind-condition-scale{display:flex;justify-content:space-between;font-size:.68rem;line-height:1.2;color:var(--text-muted);text-align:center;margin-top:.15rem}.scenario-wind-tile{border-left:3px solid #1976d2;padding-left:.4rem}.scenario-wind-note{border-left:3px solid #1976d2}.scenario-soc-chart .soc-band-solar{fill:#4caf508c}.scenario-soc-chart .soc-band-wind{fill:#03a9f499}.scenario-soc-chart .soc-band-charger{fill:#ffc107a6}.soc-chart-legend{display:flex;flex-wrap:wrap;gap:.3rem .8rem;font-size:.74rem;margin-top:.25rem;color:var(--text-muted)}.soc-legend-item{display:flex;align-items:center;gap:.25rem}.soc-legend-swatch{display:inline-block;width:12px;height:10px;border-radius:2px}.soc-legend-solar{background:#4caf508c;border:1px solid #388e3c}.soc-legend-wind{background:#03a9f499;border:1px solid #0288d1}.soc-legend-charger{background:#ffc107a6;border:1px solid #f9a825}.soc-legend-soc{background:#2196f324;border:1px solid #1976d2}.scenario-timeline-svg .timeline-wind-band{fill:#03a9f473}.tl-legend-wind{background:#03a9f473;border:1px solid #0288d1}.scenario-result{margin-top:.5rem;padding:.6rem .8rem;background:#fff;border:1px solid var(--border-light);border-radius:var(--radius);font-size:.82rem}.scenario-result.empty{color:var(--text-muted);font-style:italic}.scenario-result-headline{font-size:.92rem;font-weight:700;margin-bottom:.4rem}.scenario-result-headline.good{color:#2e7d32}.scenario-result-headline.marginal{color:#ef6c00}.scenario-result-headline.fail{color:#c62828}.scenario-result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.4rem .8rem;margin:.4rem 0}.scenario-result-grid div{font-size:.78rem;color:var(--text-muted)}.scenario-result-grid div strong{display:block;color:var(--text);font-size:.95rem;font-weight:700}.scenario-soc-track{margin-top:.6rem;display:grid;gap:2px}.scenario-soc-row{display:grid;grid-template-columns:3.5rem 1fr 3.2rem;align-items:center;font-size:.72rem;gap:.4rem}.scenario-soc-row .soc-label{color:var(--text-muted)}.scenario-soc-row .soc-bar{position:relative;height:10px;background:#eceff1;border-radius:5px;overflow:hidden}.scenario-soc-row .soc-fill{position:absolute;left:0;top:0;bottom:0;background:#66bb6a;border-radius:5px}.scenario-soc-row .soc-fill.warn{background:#ffb300}.scenario-soc-row .soc-fill.fail{background:#ef5350}.scenario-soc-row .soc-cutoff{position:absolute;top:-1px;bottom:-1px;width:2px;background:#c62828;opacity:.7}.scenario-soc-row .soc-pct{color:var(--text);font-weight:600;text-align:right}.scenario-soc-row .soc-pct-empty{color:#c62828}.scenario-soc-row{cursor:pointer;border-radius:3px}.scenario-soc-row:hover{background:#0000000a}.scenario-soc-row:focus-visible{outline:2px solid #1976d2;outline-offset:1px}.soc-row-expand{font-size:.65em;color:var(--text-muted);margin-left:2px}.scenario-day-detail{background:#f9f9f9;border:1px solid #cfd8dc;border-radius:5px;padding:.5rem .6rem .4rem;margin:4px 0 2px;overflow-x:auto}.scenario-day-detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.3rem}.scenario-day-detail-title{font-size:.8rem;font-weight:600;color:var(--text)}.scenario-day-detail-close{background:none;border:none;cursor:pointer;font-size:1.1rem;color:var(--text-muted);padding:0 .2rem;line-height:1}.scenario-day-detail-close:hover{color:var(--text)}.scenario-day-detail-note{font-size:.68rem;color:var(--text-muted);font-style:italic;margin:.2rem 0 0}.scenario-timeline-svg{width:100%;max-width:720px;display:block;overflow:visible}.scenario-timeline-svg .grid-y{stroke:#000;stroke-width:.8;stroke-dasharray:1 4;stroke-linecap:round;opacity:.3}.scenario-timeline-svg .soc-chart-area{fill:#42a5f540;stroke:none}.scenario-timeline-svg .soc-chart-line{fill:none;stroke:#42a5f5;stroke-width:1.5;stroke-linejoin:round}.timeline-daylight{fill:#fff9c4;opacity:.7}.timeline-evt-tick{stroke-width:1;stroke-dasharray:3,3;opacity:.8}.timeline-evt-tick.evt-solar{stroke:#ff8f00}.timeline-evt-tick.evt-charger{stroke:#6a1b9a}.timeline-evt-tick.evt-load{stroke:#0277bd}.timeline-evt-tick.evt-off{opacity:.4}.timeline-evt-icon{font-size:10px;dominant-baseline:auto}.timeline-evt-icon.evt-off{opacity:.45}.grid-x-tick{stroke:#b0bec5;stroke-width:1}.grid-x-label{font-size:9px;fill:#78909c}.scenario-timeline-legend{display:flex;flex-wrap:wrap;gap:.4rem .8rem;margin-top:.2rem;font-size:.68rem;color:var(--text-muted)}.tl-legend-item{display:flex;align-items:center;gap:4px}.tl-legend-swatch{display:inline-block;width:14px;height:8px;border-radius:2px}.tl-legend-daylight{background:#fff9c4;border:1px solid #f9a825}.tl-legend-soc{background:#42a5f5;opacity:.7}.tl-legend-cutoff{border-top:2px dashed #c62828;height:0;width:14px}.scenario-note{font-size:.74rem;color:var(--text-muted);font-style:italic;margin-top:.45rem}.scenario-topoff-note{font-style:normal;color:var(--text);background:#e8f5e9;border-left:3px solid #43a047;padding:.25rem .5rem;border-radius:0 var(--radius) var(--radius) 0}.scenario-passthrough-note{font-style:normal;color:var(--text);background:#fff3e0;border-left:3px solid #fb8c00;padding:.25rem .5rem;border-radius:0 var(--radius) var(--radius) 0}.scenario-show-math{margin-top:1rem;border:1px solid var(--border);border-radius:var(--radius);padding:.5rem .75rem;background:var(--surface, #fff);font-size:.82rem}.scenario-show-math>summary{cursor:pointer;font-weight:600;color:var(--text-muted);font-size:.8rem;padding:.15rem 0;list-style:none}.scenario-show-math>summary:before{content:"▶ ";font-size:.65rem}.scenario-show-math[open]>summary:before{content:"▼ "}.scenario-math-section{margin-top:.75rem;padding-top:.5rem;border-top:1px solid var(--border)}.scenario-math-section:first-of-type{border-top:none;margin-top:.5rem}.scenario-math-section h4{font-size:.8rem;font-weight:600;margin:0 0 .25rem;color:var(--text)}.scenario-math-section p{margin:.2rem 0;line-height:1.45;color:var(--text)}.scenario-math-section .formula-eq{font-family:monospace;font-size:.78rem;background:var(--surface-muted, #f5f7fa);border-radius:3px;padding:.2rem .4rem;margin:.3rem 0;display:block}.scenario-math-list{margin:.25rem 0 0 1rem;padding:0;line-height:1.6}.scenario-math-example{background:var(--example-bg, #e3f2fd);border-left:3px solid var(--accent, #1976d2);padding:.4rem .6rem;border-radius:0 var(--radius) var(--radius) 0}.scenario-math-walkthrough{width:100%;border-collapse:collapse;margin:.4rem 0;font-size:.84rem}.scenario-math-walkthrough td{padding:.18rem .4rem;border-bottom:1px solid var(--border, #cfd8dc);vertical-align:top}.scenario-math-walkthrough td:first-child{white-space:nowrap;color:var(--text-muted);width:42%}.scenario-math-walkthrough tr:last-child td{border-bottom:none}.scenario-math-note{font-size:.78rem;color:var(--text-muted);margin-top:.3rem}.scenario-verdict-unknown{background:var(--surface-muted, #eceff1);color:var(--text-muted)}.scenario-annual-intro{font-size:.82rem;color:var(--text-muted);margin-bottom:.55rem}.scenario-annual-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.25rem}.scenario-annual-row{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.45rem .7rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface, #fff);cursor:pointer;transition:background-color .12s ease,border-color .12s ease}.scenario-annual-row:hover,.scenario-annual-row:focus-visible{background:var(--surface-hover, #f5f7fa);border-color:var(--border-strong, #b0bec5);outline:none}.scenario-annual-row-disabled{cursor:default;opacity:.65}.scenario-annual-row-disabled:hover{background:var(--surface, #fff);border-color:var(--border)}.scenario-annual-row .annual-month{font-weight:600;color:var(--text)}.scenario-back-row{margin-bottom:.5rem}.scenario-back-annual{font-size:.82rem;color:var(--accent, #1976d2);text-decoration:none}.scenario-back-annual:hover{text-decoration:underline}.scenario-nav-arrows{display:flex;flex-wrap:wrap;gap:.3rem;margin:.75rem 0 .5rem;justify-content:center}.scenario-nav-btn{font-size:.78rem;padding:.25rem .6rem;border:1px solid var(--border, #cfd8dc);border-radius:4px;background:var(--surface, #fff);color:var(--accent, #1976d2);cursor:pointer;white-space:nowrap;line-height:1.4}.scenario-nav-btn:hover{background:#1976d212}.scenario-nav-btn:focus-visible{outline:2px solid #1976d2;outline-offset:1px}.scenario-chart-toggle{display:flex;gap:0;margin:.5rem 0 .25rem}.scenario-chart-toggle-btn{font-size:.75rem;padding:.2rem .65rem;border:1px solid var(--border, #cfd8dc);background:var(--surface, #fff);color:var(--text-muted, #607d8b);cursor:pointer;line-height:1.4}.scenario-chart-toggle-btn:first-child{border-radius:4px 0 0 4px}.scenario-chart-toggle-btn:last-child{border-radius:0 4px 4px 0;margin-left:-1px}.scenario-chart-toggle-btn.active{background:var(--accent, #1976d2);border-color:var(--accent, #1976d2);color:#fff;z-index:1}.scenario-chart-toggle-btn:focus-visible{outline:2px solid #1976d2;outline-offset:1px}.scenario-chart-toggle-btn:disabled{opacity:.38;cursor:not-allowed}.scenario-annual-summary{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;padding:.5rem .6rem;background:var(--surface-muted, #f5f7fa);border-radius:var(--radius);margin-bottom:.5rem;font-size:.84rem}.scenario-annual-low{margin-left:auto;color:var(--text)}.scenario-annual-row .annual-stats{flex:1;font-size:.78rem;color:var(--text-muted);text-align:right;margin-right:.5rem;white-space:nowrap}.scenario-soc-chart-wrap{margin:.5rem 0 .4rem;width:100%;overflow-x:auto;position:relative}.scenario-soc-chart{display:block;width:100%;min-width:480px;height:auto}.scenario-soc-chart .grid-y{stroke:#000;stroke-width:.8;stroke-dasharray:1 4;stroke-linecap:round;opacity:.3}.scenario-soc-chart .grid-y-label{font-size:9px;fill:var(--text-muted, #607d8b)}.scenario-soc-chart .grid-month{stroke:var(--border, #cfd8dc);stroke-width:1;opacity:.45}.scenario-soc-chart .grid-month-label{font-size:9px;fill:var(--text-muted, #607d8b)}.scenario-soc-chart .soc-chart-area{fill:#2196f324;stroke:none}.scenario-soc-chart .soc-chart-line{fill:none;stroke:#1976d2;stroke-width:1.5;stroke-linejoin:round}.scenario-soc-chart .soc-chart-cutoff{stroke:#c62828;stroke-width:1;stroke-dasharray:4 3;opacity:.85}.scenario-soc-chart .soc-chart-cutoff-label{font-size:9px;fill:#c62828}.scenario-soc-chart .soc-chart-dot{fill:#1976d2;stroke:#fff;stroke-width:.5;pointer-events:none;transition:r 80ms ease-out}.scenario-soc-chart .soc-chart-dot-active{r:3.5;fill:#0d47a1;stroke-width:1}.scenario-soc-chart .soc-chart-dot-floor{fill:#c62828}.scenario-soc-chart .soc-chart-dot-floor.soc-chart-dot-active{fill:#b71c1c}.scenario-soc-chart .soc-chart-hit{fill:transparent;cursor:pointer;outline:none}.scenario-soc-chart .soc-chart-hit:focus{fill:#2196f31a}.scenario-soc-tooltip{position:absolute;z-index:5;pointer-events:none;background:#263238;color:#fff;font-size:.78rem;line-height:1.2;padding:4px 7px;border-radius:4px;white-space:nowrap;box-shadow:0 2px 6px #0000002e}.scenario-soc-tooltip.pinned{pointer-events:auto;background:#0d47a1;box-shadow:0 2px 8px #0d47a159}.scenario-soc-tooltip.pinned .soc-tip-text{display:block;margin-bottom:3px}.scenario-drill-month{display:block;color:#90caf9;font-size:.72rem;text-decoration:none;white-space:nowrap}.scenario-drill-month:hover{color:#fff;text-decoration:underline}.scenario-soc-tooltip.at-floor{background:#c62828}.scenario-soc-tooltip.at-floor.pinned{background:#b71c1c;box-shadow:0 2px 8px #b71c1c66}.scenario-soc-tooltip[hidden]{display:none}.power-source-header{display:flex;align-items:center;gap:.45rem;margin:1.25rem 0 .75rem;padding:.35rem .75rem;border-left:3px solid var(--primary);background:#2e86c10f;border-radius:0 4px 4px 0;font-weight:600;font-size:.875rem;letter-spacing:.01em;color:var(--text)}.power-source-solar{border-left-color:var(--primary)}.power-source-wind{border-left-color:#26c6da;background:#26c6da0f}.wind-enable-row{margin-bottom:.5rem}#wind-fields{padding:.25rem 0 .25rem .5rem}.wind-advanced-fields{margin-top:.25rem}.wind-speed-row{align-items:center}.wind-speed-unit-label{color:var(--text-muted);font-size:.85rem}.wind-unit-toggle,.wind-length-toggle{display:inline-flex;border:1px solid var(--border);border-radius:4px;overflow:hidden;margin-left:.5rem}.wind-unit-btn,.wind-length-btn{padding:.15rem .6rem;font-size:.8rem;background:var(--surface);border:none;cursor:pointer;color:var(--text-muted)}.wind-unit-btn.wind-unit-active,.wind-length-btn.wind-length-active{background:var(--primary);color:#fff}.wind-axis-row{align-items:center}.wind-axis-label{color:var(--text-muted);font-size:.85rem}.wind-axis-toggle{display:flex;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.wind-axis-btn{background:none;border:none;border-right:1px solid var(--border);padding:.2rem .7rem;font-size:.78rem;font-weight:600;color:var(--text-muted);cursor:pointer;transition:background .15s,color .15s;white-space:nowrap}.wind-axis-btn:last-child{border-right:none}.wind-axis-btn.wind-axis-active{background:var(--primary);color:#fff}.wind-axis-btn:hover:not(.wind-axis-active){background:var(--border-light);color:var(--text)}.wind-axis-hint{color:var(--text-muted);font-size:.78rem;margin:.1rem 0 .4rem}.print-dialog{border:none;border-radius:var(--radius);padding:1.5rem;max-width:540px;width:90vw;box-shadow:0 10px 40px #00000040}.print-dialog::backdrop{background:#00000073}.print-dialog h2{margin:0 0 .5rem;font-size:1.25rem}.print-intro{margin:0 0 1rem;font-size:.9rem;color:var(--text-muted)}.print-options{display:flex;flex-direction:column;gap:.45rem;margin-bottom:1.25rem}.print-opt{display:flex;align-items:flex-start;gap:.6rem;padding:.5rem .6rem;border:1px solid var(--border-light);border-radius:var(--radius);cursor:pointer;transition:background .15s}.print-opt:hover{background:var(--border-light)}.print-opt input[type=checkbox]{margin-top:.2rem;flex-shrink:0}.print-opt>span{display:flex;flex-direction:column;gap:.15rem}.print-opt-title{font-weight:600;font-size:.92rem}.print-opt-desc{font-size:.8rem;color:var(--text-muted)}.print-opt-unavailable{font-size:.8rem;color:#c0392b;font-style:italic}.print-opt-fixed{background:var(--border-light);cursor:default}.print-opt.print-opt-disabled{opacity:.55;cursor:not-allowed}.print-opt.print-opt-disabled:hover{background:transparent}.print-dialog-actions{display:flex;justify-content:flex-end;gap:.6rem}.print-only-header{display:none}@media print{body{background:#fff!important;color:#000!important}body[data-printing="1"] *,body[data-printing="1"] *:before,body[data-printing="1"] *:after{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}@page{margin:14mm 12mm}body[data-printing="1"] .print-only-header{display:block;text-align:left;border-bottom:2px solid #000;padding-bottom:.5rem;margin-bottom:1rem}.print-header-title{font-size:1.4rem;font-weight:700}.print-header-sub{font-size:.95rem;color:#333;margin-top:.15rem}.print-header-loc{font-size:.9rem;color:#333;margin-top:.1rem}.print-header-source{font-size:.8rem;color:#555;margin-top:.25rem}body[data-printing="1"] #safety-banner,body[data-printing="1"] .easy-hint-banner,body[data-printing="1"] .site-intro,body[data-printing="1"] .mobile-header,body[data-printing="1"] .saved-designs-section,body[data-printing="1"] .site-footer,body[data-printing="1"] .scroll-hint,body[data-printing="1"] dialog,body[data-printing="1"] .feedback-modal,body[data-printing="1"] .print-dialog{display:none!important}body[data-printing="1"] [data-print-section]:not(.print-include){display:none!important}body[data-printing="1"] .print-include button:not([data-keep-in-print]),body[data-printing="1"] .print-include .easy-chip,body[data-printing="1"] .print-include .detail-chip,body[data-printing="1"] .print-include .add-load-chip,body[data-printing="1"] .print-include .delete-load,body[data-printing="1"] .print-include .mode-toggle-row,body[data-printing="1"] .print-include .cap-unit-group,body[data-printing="1"] .print-include .columns-picker,body[data-printing="1"] .print-include #fetch-solar-btn,body[data-printing="1"] .print-include .fetch-row,body[data-printing="1"] .print-include .fetch-buttons,body[data-printing="1"] .print-include .reset-btn,body[data-printing="1"] .print-include .toggle-row-actions,body[data-printing="1"] .print-include .form-actions,body[data-printing="1"] .print-include .scenario-calc-mode .radio-group,body[data-printing="1"] .print-include .scenario-date-nav{display:none!important}body[data-printing="1"] .print-include details>summary{cursor:default;list-style:none}body[data-printing="1"] .print-include details>summary::-webkit-details-marker{display:none}body[data-printing="1"] table,body[data-printing="1"] tr,body[data-printing="1"] .formula-block,body[data-printing="1"] .scenario-result,body[data-printing="1"] .hourly-metrics,body[data-printing="1"] .adequacy-summary{break-inside:avoid-page;page-break-inside:avoid}body[data-printing="1"] #results-table{font-size:.7rem;width:100%}body[data-printing="1"] #results-table th,body[data-printing="1"] #results-table td{padding:3px 4px}body[data-printing="1"] a{color:#000;text-decoration:underline}body[data-printing="1"] #main-content[data-active-tab=inputs] .results-panel,body[data-printing="1"] #main-content[data-active-tab=results] .inputs-panel,body[data-printing="1"] #main-content .results-panel,body[data-printing="1"] #main-content .inputs-panel{display:block!important}body[data-printing="1"] .results-panel{position:static!important;max-height:none!important;overflow:visible!important;box-shadow:none!important;border:none!important;padding:0!important;background:transparent!important}body[data-printing="1"] .inputs-panel{display:block!important;gap:0!important}body[data-printing="1"] main#main-content{display:block!important;grid-template-columns:1fr!important}body[data-printing="1"] .print-include.hide-in-easy,body[data-printing="1"] .print-include .hide-in-easy{display:block!important}body[data-printing="1"] .print-include.hide-in-easy.field-row,body[data-printing="1"] .print-include .hide-in-easy.field-row{display:flex!important}body[data-printing="1"] .mobile-tabs,body[data-printing="1"] #mobile-hero-bar{display:none!important}body[data-printing="1"] .hourly-metrics{grid-template-columns:repeat(2,1fr)!important;gap:.35rem!important}body[data-printing="1"] .hourly-metric{padding:.35rem .45rem!important;break-inside:avoid-page;page-break-inside:avoid}body[data-printing="1"] .hourly-metric-value{font-size:.95rem!important}body[data-printing="1"] .hourly-metric-label{font-size:.72rem!important}body[data-printing="1"] .hourly-soc-grid{gap:2px!important}body[data-printing="1"] .hourly-soc-bars svg,body[data-printing="1"] .scenario-soc-chart,body[data-printing="1"] .scenario-soc-chart svg,body[data-printing="1"] .timeline-svg{max-width:100%!important;height:auto!important}body[data-printing="1"] .hourly-load-split-details,body[data-printing="1"] .hourly-sizing-reco-details{background:#fff!important;break-inside:avoid-page;page-break-inside:avoid}body[data-printing="1"] .hourly-load-split-details>summary,body[data-printing="1"] .hourly-sizing-reco-details>summary{padding:.35rem .5rem;font-weight:600}body[data-printing="1"] .hourly-nav-link,body[data-printing="1"] .monthly-nav-link{display:none!important}body[data-printing="1"] #scenario-card.print-include>*:not(summary):not(#scenario-result){display:none!important}body[data-printing="1"] .scenario-card,body[data-printing="1"] .scenario-card[open]{position:static!important;inset:auto!important;z-index:auto!important;margin:0!important;padding:.4rem 0!important;border:none!important;border-radius:0!important;background:transparent!important;overflow:visible!important}body[data-printing="1"] .scenario-card[open]>summary{position:static!important;padding:0 0 .3rem!important;background:transparent!important;border-bottom:1px solid #ccc!important;z-index:auto!important}body[data-printing="1"] .scenario-card[open]>summary:after{content:""!important}body[data-printing="1"] .scenario-card[open]>:not(summary){margin-left:0!important;margin-right:0!important}body[data-printing="1"] .scenario-result{padding:0!important}body[data-printing="1"] .scenario-tile-grid{grid-template-columns:repeat(2,1fr)!important;gap:.35rem!important}body[data-printing="1"] .scenario-tile{padding:.35rem .45rem!important;break-inside:avoid-page;page-break-inside:avoid}body[data-printing="1"] .scenario-day-detail{padding:.4rem!important}}.gen-schedule-row{display:flex;align-items:center;gap:.4rem;margin-bottom:.35rem}.gen-schedule-row .gen-schedule-start,.gen-schedule-row .gen-schedule-duration{width:4.5rem}.gen-schedule-sep{font-size:.85rem;color:#607d8b}.gen-schedule-remove{margin-left:auto;padding:.1rem .5rem}.hourly-generator{margin-top:.6rem}.hourly-generator-details{background:#f5f5f5;border-radius:4px;border:1px solid #e0e0e0}.hourly-generator-summary{cursor:pointer;padding:.5rem .7rem;font-weight:600;font-size:.85rem;color:#37474f;list-style:none;display:flex;align-items:center;gap:.4rem}.hourly-generator-summary::-webkit-details-marker{display:none}.hourly-generator-glossary{padding:0 .7rem .5rem;font-size:.78rem;color:#546e7a;line-height:1.4}.hourly-generator-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.4rem .8rem;padding:.4rem .7rem .7rem;border-top:1px solid #eceff1}.hourly-generator-grid>div{display:flex;flex-direction:column}.hourly-generator-grid .label{font-size:.72rem;color:#607d8b}.hourly-generator-grid .value{font-size:.95rem;color:#263238;font-weight:600}.install-app-btn{margin-left:.5rem}body.app-offline .fetch-row button:after{content:" · offline";font-size:.78em;font-weight:600;opacity:.85}.pwa-toast-region{position:fixed;left:50%;bottom:1rem;transform:translate(-50%);z-index:10000;display:flex;flex-direction:column;gap:.5rem;width:max-content;max-width:min(92vw,30rem);pointer-events:none}.pwa-toast{display:flex;align-items:center;gap:.6rem;background:#263238;color:#fff;padding:.6rem .75rem .6rem .9rem;border-radius:8px;box-shadow:0 4px 16px #0000004d;font-size:.85rem;line-height:1.35;opacity:0;transform:translateY(.5rem);transition:opacity .25s ease,transform .25s ease;pointer-events:auto}.pwa-toast-visible{opacity:1;transform:translateY(0)}.pwa-toast-text{flex:1}.pwa-toast-action{flex:none;background:var(--accent, #1976d2);color:#fff;border:none;padding:.3rem .7rem;border-radius:5px;font-size:.82rem;font-weight:600;cursor:pointer}.pwa-toast-action:hover{filter:brightness(1.1)}.pwa-toast-close{flex:none;background:none;border:none;color:#fff;opacity:.7;font-size:1.1rem;line-height:1;padding:0 .15rem;cursor:pointer}.pwa-toast-close:hover{opacity:1}@media print{.pwa-toast-region,.install-app-btn{display:none!important}}.term{font-style:italic}.term-cue{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;margin-left:2px;border-radius:50%;border:1px solid var(--primary);background:var(--bg-panel);color:var(--primary);font-size:.62rem;font-weight:700;line-height:1;padding:0;cursor:pointer;vertical-align:super;transition:background .15s,color .15s}.term-cue:hover{background:var(--primary);color:#fff}.formula-diagram-link{margin-top:.55rem;display:flex;flex-wrap:wrap;gap:.4rem}.diagram-trigger{display:inline-flex;align-items:center;gap:.35rem;background:var(--bg-fieldset);border:1px solid var(--border);border-radius:var(--radius);color:var(--primary);font:inherit;font-size:.86rem;font-weight:600;padding:.32rem .7rem;cursor:pointer;transition:background .15s}.diagram-trigger:hover{background:var(--border-light)}.diagram-trigger-icon{font-size:.7rem}.diagram-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:1rem}.diagram-modal.hidden{display:none}.diagram-modal-backdrop{position:absolute;inset:0;background:#1423328c}.diagram-modal-panel{position:relative;width:100%;max-width:460px;max-height:90vh;overflow-y:auto;background:var(--bg-panel);border-radius:var(--radius);box-shadow:0 8px 32px #00000047;padding:1rem 1.2rem 1.2rem;animation:diagram-pop .18s ease-out}@keyframes diagram-pop{0%{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}.diagram-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:.6rem}.diagram-modal-header h3{font-size:1rem;color:var(--text)}.diagram-modal-close{flex:none;background:none;border:none;font-size:1.5rem;line-height:1;color:var(--text-muted);cursor:pointer;padding:0 .2rem}.diagram-modal-close:hover{color:var(--text)}.diagram-modal-body{background:var(--bg-fieldset);border:1px solid var(--border-light);border-radius:var(--radius);padding:.5rem}.diagram-modal-caption{margin-top:.7rem;font-size:.88rem;line-height:1.5;color:var(--text-muted)}.diagram-svg{display:block;width:100%;height:auto}.diagram-label{fill:var(--text-muted);font-size:11px;font-family:system-ui,sans-serif}.diagram-axis{stroke:var(--text-muted);stroke-width:1.5}.diagram-arc{fill:none;stroke:var(--border);stroke-width:1.5;stroke-dasharray:4 4}.diagram-noon-mark{fill:var(--primary)}.diagram-sun-core{fill:#f5a623}.diagram-sun-rays line{stroke:#f5a623;stroke-width:2.5;stroke-linecap:round}.diagram-sun{offset-path:path("M 30 155 Q 160 -35 290 155");offset-rotate:0deg;animation:diagram-sun-travel 7s ease-in-out infinite}@keyframes diagram-sun-travel{0%{offset-distance:0%;opacity:.15}12%{opacity:1}88%{opacity:1}to{offset-distance:100%;opacity:.15}}.diagram-node rect{fill:var(--bg-panel);stroke:var(--primary);stroke-width:1.5}.diagram-node-label{fill:var(--text);font-size:12px;font-weight:600;font-family:system-ui,sans-serif}.diagram-wire{stroke:var(--border);stroke-width:2}.diagram-flow-dot{fill:#f5a623;animation:diagram-flow 2s linear infinite}@keyframes diagram-flow{0%{transform:translate(0);opacity:0}12%{opacity:1}88%{opacity:1}to{transform:translate(33px);opacity:0}}.geo-ground{stroke:var(--text-muted);stroke-width:1.5}.geo-panel{stroke:var(--primary);stroke-width:7;stroke-linecap:round}.geo-angle{fill:none;stroke:#f5a623;stroke-width:2}.geo-azimuth-sweep{fill:none;stroke:#f5a623;stroke-width:2;stroke-dasharray:3 3}.geo-sun-summer{offset-path:path("M 22 170 Q 122 -85 222 170");offset-rotate:0deg;animation:geo-sun-summer 14s ease-in-out infinite}.geo-sun-winter{offset-path:path("M 55 170 Q 122 65 189 170");offset-rotate:0deg;animation:geo-sun-winter 14s ease-in-out infinite}@keyframes geo-sun-summer{0%{offset-distance:0%;opacity:0}4%{opacity:1}46%{opacity:1}50%{offset-distance:100%;opacity:0}to{offset-distance:100%;opacity:0}}@keyframes geo-sun-winter{0%,50%{offset-distance:0%;opacity:0}54%{opacity:1}96%{opacity:1}to{offset-distance:100%;opacity:0}}.geo-compass{fill:none;stroke:var(--border);stroke-width:1.5}.geo-compass-tick{fill:var(--text-muted);font-size:12px;font-weight:700;font-family:system-ui,sans-serif}.geo-pivot{fill:var(--text-muted)}.geo-panel-top{fill:var(--primary)}.geo-azimuth{stroke:var(--primary);stroke-width:2.5}.geo-azimuth-head{fill:var(--primary)}.geo-tree-canopy{fill:#4a8a4a}.geo-tree-canopy-inner{fill:#6cb46c}.geo-tree-trunk{fill:#6b4a2a}.geo-tree-shadow{fill:#141e2d52}.geo-sun-marker{fill:#f5a623;stroke:#d98b13;stroke-width:1}.geo-controls{margin-top:.7rem;display:flex;justify-content:center}.geo-slider-label{display:inline-flex;align-items:center;gap:.55rem;font-size:.86rem;color:var(--text)}.geo-slider-text{font-weight:600}.geo-rotate-slider{width:170px;accent-color:var(--primary)}.geo-rotate-value{display:inline-block;min-width:42px;text-align:right;font-variant-numeric:tabular-nums;color:var(--text-muted)}.collect-cloud ellipse{fill:#d8dee9;stroke:#aab1bd;stroke-width:1}.collect-arrow{stroke:var(--text-muted);stroke-width:1.5;fill:none}.collect-arrow-head{fill:var(--text-muted);stroke:none}.collect-direct{stroke:#f5a623}.collect-arrow-head.collect-direct{fill:#f5a623}.collect-diffuse{stroke:#6aa3d8;stroke-dasharray:3 3}.collect-albedo{stroke:#a47a4a}.collect-arrow-head.collect-albedo,.collect-bounce{fill:#a47a4a}.collect-label{font-size:9.5px;fill:var(--text);font-family:inherit}.collect-direct-text{fill:#b07a18}.collect-diffuse-text{fill:#2e6aa1}.collect-albedo-text{fill:#7a5a30}.geo-panel-side{fill:var(--primary)}.collect-bar{stroke:none}.collect-bar-direct{fill:#f5a623}.collect-bar-diffuse{fill:#6aa3d8}.collect-bar-albedo{fill:#a47a4a}.collect-bar-frame{fill:none;stroke:var(--border);stroke-width:1}.collect-bar-tick{font-size:9px;fill:var(--text-muted);font-family:inherit}.gvt-curve{fill:none;stroke-width:2}.gvt-geometric{stroke:var(--primary);stroke-width:2.4}.gvt-tmy{stroke:var(--primary);stroke-width:1.2;opacity:.85}.gvt-total{font-size:10.5px;fill:var(--text);font-weight:600;font-family:inherit}.gvt-total-sub{font-size:9px;opacity:.75;font-style:italic}.peukert-shell{fill:none;stroke:var(--text);stroke-width:1.5}.peukert-baffle{stroke:var(--text-muted);stroke-width:1;stroke-dasharray:3 3;opacity:.7}.peukert-trapped-label{font-size:9.5px;fill:#fff;font-family:inherit;font-weight:700;letter-spacing:.2px}.peukert-anatomy{font-size:9px;fill:var(--text-muted);font-family:inherit;font-style:italic}.peukert-refill{font-size:8px;fill:var(--text-muted);font-family:inherit}.peukert-dry{font-size:9px;fill:var(--text-muted);font-style:italic;font-family:inherit}.peukert-foot-strong{font-style:normal;font-weight:600}.peukert-fill-anim{transform-origin:center bottom;transform-box:fill-box}@keyframes peukert-drain-slow{0%{transform:scaleY(1)}90%{transform:scaleY(0)}to{transform:scaleY(1)}}@keyframes peukert-drain-fast-upper{0%{transform:scaleY(1)}30%{transform:scaleY(.3)}90%{transform:scaleY(.3)}to{transform:scaleY(1)}}@keyframes peukert-drain-fast-lower{0%{transform:scaleY(1)}15%{transform:scaleY(0)}90%{transform:scaleY(0)}to{transform:scaleY(1)}}.peukert-fill-anim-slow{animation:peukert-drain-slow 10s linear infinite}.peukert-fill-anim-fast-upper{animation:peukert-drain-fast-upper 10s linear infinite}.peukert-fill-anim-fast-lower{animation:peukert-drain-fast-lower 10s linear infinite}@keyframes peukert-trapped-fade{0%,30%{opacity:0}40%,88%{opacity:1}95%,to{opacity:0}}.peukert-trapped-anim{animation:peukert-trapped-fade 10s linear infinite}@keyframes peukert-burst{0%,14%{opacity:1}15%,to{opacity:0}}.peukert-drop-burst-fast{animation:peukert-burst 10s linear infinite}.peukert-fill{stroke:none}.peukert-fill-slow{fill:#5a8fd0}.peukert-fill-fast{fill:#c46b6b}.peukert-tap{stroke:var(--text-muted);stroke-width:2}.peukert-drop{opacity:0}.peukert-drop-slow{fill:#5a8fd0;animation:peukert-drip 2.7s linear infinite}.peukert-drop-fast{fill:#c46b6b;animation:peukert-drip .9s linear infinite}@keyframes peukert-drip{0%{transform:translateY(0);opacity:0}15%{opacity:1}85%{opacity:1}to{transform:translateY(28px);opacity:0}}.peukert-divider{stroke:var(--border);stroke-width:1;stroke-dasharray:4 4}.peukert-cap-label{font-size:10px;fill:var(--text);font-family:inherit;font-weight:600}.peukert-result{font-size:10px;fill:var(--text-muted);font-family:inherit}.peukert-bar-frame{fill:none;stroke:var(--border);stroke-width:1}.peukert-bar{stroke:none}.peukert-bar-slow{fill:#5a8fd0}.peukert-bar-fast{fill:#c46b6b}.peukert-bar-tick{font-size:11px;fill:var(--text);font-family:inherit;font-weight:600;font-variant-numeric:tabular-nums}.peukert-bar-rated{stroke:var(--text);stroke-width:1.5}.peukert-bar-rated-label{font-size:9px;fill:var(--text-muted);font-family:inherit}.peukert-foot{font-size:10px;fill:var(--text-muted);font-family:inherit;font-style:italic}.dod-cap{fill:var(--text-muted)}.dod-shell{fill:none;stroke:var(--text);stroke-width:1.5}.dod-usable{fill:#5a8fd0;stroke:none}.dod-caution{fill:#f2c97f;stroke:none}.dod-damage{fill:#c46b6b;stroke:none;opacity:.85}.dod-target{stroke:var(--text);stroke-width:1.5}.dod-cutoff{stroke:#8e2a1f;stroke-width:1.5;stroke-dasharray:4 3}.dod-name{font-size:10.5px;fill:var(--text);font-family:inherit;font-weight:600}.dod-pct{font-size:13px;fill:#fff;font-family:inherit;font-weight:700}.dod-zone-label{font-size:8.5px;fill:var(--text-muted);font-family:inherit}.dod-foot{font-size:10px;fill:var(--text-muted);font-family:inherit}.dod-tip{font-size:9.5px;fill:var(--text-muted);font-family:inherit;font-style:italic}.inv-curve{fill:none;stroke:var(--primary);stroke-width:2.25;stroke-linejoin:round;stroke-linecap:round}.inv-grid{stroke:var(--border);stroke-width:.75;stroke-dasharray:2 4;opacity:.6}.inv-axis-label{font-size:9.5px;fill:var(--text-muted);font-family:inherit}.inv-axis-title{font-size:10px;fill:var(--text);font-family:inherit;font-weight:600}.inv-surge-zone{fill:#f5a62329;stroke:none}.inv-surge-label{font-size:9px;fill:#b07a18;font-family:inherit;font-weight:600}.inv-rated-line{stroke:var(--text-muted);stroke-width:1;stroke-dasharray:3 3}.inv-rated-label{font-size:9px;fill:var(--text-muted);font-family:inherit;font-style:italic}.inv-marker{fill:var(--primary);stroke:#fff;stroke-width:1.5}.inv-marker-label{font-size:9px;fill:var(--text);font-family:inherit;font-weight:600}.inv-anno-leader{stroke:var(--text-muted);stroke-width:1;stroke-dasharray:2 2}.inv-anno-text{font-size:9.5px;fill:var(--text);font-family:inherit;font-style:italic}.inv-anno-sub{font-size:8.5px;fill:var(--text-muted);font-family:inherit}.inv-idle-accent{stroke:#6aa3d8;stroke-width:3;stroke-linecap:round}.inv-idle-label{font-size:10px;fill:#2e6aa1;font-family:inherit;font-weight:600}.inv-idle-sub{font-size:9px;fill:var(--text-muted);font-family:inherit;font-style:italic}.duty-title{font-size:11px;fill:var(--text);font-family:inherit;font-weight:600}.duty-subtitle{font-size:9.5px;fill:var(--text-muted);font-family:inherit}.duty-tick{stroke:var(--text-muted);stroke-width:1}.duty-axis-label{font-size:9px;fill:var(--text-muted);font-family:inherit}.duty-axis-title{font-size:9.5px;fill:var(--text);font-family:inherit;font-weight:600}.duty-rect{stroke:var(--text);stroke-width:1}.duty-rect-burst{fill:#c46b6b99}.duty-rect-baseline{fill:#5a8fd08c}.duty-foot{font-size:9.5px;fill:var(--text);font-family:inherit;font-weight:600;font-variant-numeric:tabular-nums}.duty-axis-label-emph{fill:var(--text);font-weight:700}.duty-average-line{stroke:var(--text);stroke-width:1.5;stroke-dasharray:5 3;opacity:.8}.duty-average-label{font-size:9px;fill:var(--text);font-family:inherit;font-weight:600;font-style:italic}.duty-callout{stroke-width:1}.duty-callout-battery{fill:#5a8fd01f;stroke:#5a8fd0}.duty-callout-inverter{fill:#f5a62324;stroke:#d98b13}.duty-callout-title{font-size:10.5px;font-family:inherit;font-weight:700;fill:var(--text)}.duty-callout-text{font-size:9.5px;font-family:inherit;fill:var(--text)}.cc-col-title{font-size:11px;fill:var(--text);font-family:inherit;font-weight:700}.cc-col-sub{font-size:9.5px;fill:var(--text-muted);font-family:inherit}.cc-tick{stroke:var(--text-muted);stroke-width:1}.cc-axis-label{font-size:8.5px;fill:var(--text-muted);font-family:inherit}.cc-axis-title{font-size:9px;fill:var(--text);font-family:inherit;font-weight:600}.cc-vi-curve{fill:none;stroke:var(--text);stroke-width:1.5}.cc-harvest{stroke:none}.cc-harvest-pwm{fill:#c46b6b59}.cc-harvest-mppt{fill:#5a8fd066}.cc-lost-area{fill:#7878782e;stroke:#50505073;stroke-width:.8;stroke-dasharray:3 2}.cc-lost-label{font-size:9px;fill:var(--text-muted);font-family:inherit;font-style:italic}.cc-op-marker{stroke:var(--text);stroke-width:1}.cc-op-pwm{fill:#c46b6b}.cc-op-mppt{fill:#5a8fd0}.cc-op-label{font-size:10px;font-family:inherit;font-weight:700;fill:var(--text)}.cc-knee-label{font-size:9px;fill:var(--text-muted);font-family:inherit;font-weight:600}.cc-chain-label{font-size:9.5px;fill:var(--text);font-family:inherit;font-weight:600}.cc-chain-sub{font-size:8.5px;fill:var(--text-muted);font-family:inherit}.cc-arrow-head{fill:var(--text-muted)}.cc-badge{font-size:9px;fill:#2e6aa1;font-family:inherit;font-style:italic}.cc-bar-cap{font-size:9px;fill:var(--text-muted);font-family:inherit}.cc-bar-frame{fill:none;stroke:var(--border);stroke-width:1}.cc-bar{stroke:none}.cc-bar-pwm{fill:#c46b6b}.cc-bar-mppt{fill:#5a8fd0}.cc-bar-rated{stroke:var(--text);stroke-width:1.2;stroke-dasharray:2 2}.cc-bar-rated-label{font-size:8.5px;fill:var(--text-muted);font-family:inherit}.cc-bar-value{font-size:9.5px;fill:#fff;font-family:inherit;font-weight:700;font-variant-numeric:tabular-nums}.cc-divider{stroke:var(--border-light);stroke-width:1;stroke-dasharray:3 3}.wp-subtitle{font-size:9.5px;fill:var(--text-muted);font-family:inherit}.wp-tick{stroke:var(--text-muted);stroke-width:1}.wp-axis-label{font-size:9px;fill:var(--text-muted);font-family:inherit}.wp-axis-title{font-size:9.5px;fill:var(--text);font-family:inherit;font-weight:600}.wp-axis-units{font-size:9px;fill:var(--text-muted);font-family:inherit;font-style:italic}.wp-pdf{fill:#2e86c121;stroke:#2e86c173;stroke-width:1;stroke-dasharray:2 2}.wp-pdf-label{font-size:9px;fill:#2e6aa1;font-family:inherit;font-style:italic}.wp-zone-line{stroke:var(--text-muted);stroke-width:1;stroke-dasharray:3 3;opacity:.55}.wp-zone-label{font-size:9px;fill:var(--text);font-family:inherit;font-weight:600}.wp-zone-sub{font-size:8.5px;fill:var(--text-muted);font-family:inherit}.wp-curve{fill:none;stroke:#2e8b57;stroke-width:2.2;stroke-linejoin:round}.wp-marker{fill:#f0a020;stroke:var(--text);stroke-width:1}.wp-indicator{stroke:#c44b13;stroke-width:1.4;stroke-dasharray:4 3;opacity:.85}.wp-readout{font-size:10px;fill:#c44b13;font-family:inherit;font-weight:700;font-variant-numeric:tabular-nums}.wp-cf-title{font-size:9.5px;fill:var(--text);font-family:inherit;font-weight:600}.wp-cf-frame{fill:none;stroke:var(--border);stroke-width:1}.wp-cf-fill{fill:#2e86c18c;stroke:none}.wp-cf-value{font-size:10px;fill:var(--text);font-family:inherit;font-weight:700;font-variant-numeric:tabular-nums}.wp-cf-foot{font-size:9px;fill:var(--text-muted);font-family:inherit}.wr-scene-bg{fill:#d0e8f859;stroke:var(--border-light);stroke-width:1}.wr-scene-title{font-size:10px;fill:var(--text);font-family:inherit;font-weight:700}.wr-scene-sub{font-size:8.5px;fill:var(--text-muted);font-family:inherit}.wr-profile{fill:none;stroke:#2e6aa1;stroke-width:2;stroke-linejoin:round}.wr-arrow{stroke:#2e6aa199;stroke-width:1}.wr-arrow-head{fill:#2e6aa1b3}.wr-water-line{stroke:#2e6aa1;stroke-width:1.2}.wr-water-wave{fill:none;stroke:#2e6aa18c;stroke-width:1}.wr-ground{fill:#c9b88a;stroke:#8a6f3a;stroke-width:.8}.wr-grass{stroke:#6a8f3a;stroke-width:1.2}.wr-house{fill:#d8c094;stroke:var(--text-muted);stroke-width:.8}.wr-roof{fill:#8a4b2e;stroke:var(--text-muted);stroke-width:.8}.wr-tree{fill:#3f7a3f;stroke:#25541f;stroke-width:.7}.wr-tree-trunk{fill:#6b4423;stroke:none}.wr-banner-title{font-size:11.5px;fill:var(--text);font-family:inherit;font-weight:700}.wr-banner-sub{font-size:9.5px;fill:var(--text-muted);font-family:inherit}.wr-prev-arrow{stroke:#2e6aa1;stroke-width:2;opacity:.85}.wr-freestream-guide{stroke:#2e6aa1;stroke-width:1;stroke-dasharray:3 3;opacity:.35}.wr-prev-arrow-head{fill:#2e6aa1;opacity:.9}.wr-arrow-stub{fill:#2e6aa18c}.wr-tower{stroke:var(--text);stroke-width:1.4;stroke-linecap:round}.wr-nacelle{fill:var(--text);stroke:none}.wr-blade{stroke:var(--text);stroke-width:1.4;stroke-linecap:round}.wr-footer-strong{font-weight:700}.wr-hub-line{stroke:var(--text);stroke-width:1.2;stroke-dasharray:4 3;opacity:.75}.wr-hub-label{font-size:8.5px;fill:var(--text);font-family:inherit;font-weight:600}.wr-hub-dot{fill:#f0a020;stroke:var(--text);stroke-width:1}.wr-hub-speed{font-size:10px;fill:var(--text);font-family:inherit;font-weight:700;font-variant-numeric:tabular-nums}.wr-sub{font-size:7.5px;baseline-shift:sub}.wr-sup{font-size:7.5px;baseline-shift:super}.p2l-svg{font-family:system-ui,sans-serif}.p2l-banner{font-size:12px;font-weight:600;fill:var(--text)}.p2l-scene-title{font-size:11px;font-weight:600;fill:var(--text)}.p2l-divider{stroke:var(--border);stroke-width:1;stroke-dasharray:3 4}.p2l-contact{fill:#555}.p2l-contact-label{font-size:9.5px}.p2l-n-region{fill:#5b9ee02e;stroke:var(--border);stroke-width:.5}.p2l-p-region{fill:#e0825b2e;stroke:var(--border);stroke-width:.5}.p2l-region-label{font-size:10px}.p2l-junction{stroke:var(--text);stroke-width:1;stroke-dasharray:4 3;opacity:.6}.p2l-field-line{stroke:#b07cc6;stroke-width:1.2}.p2l-field-head{fill:#b07cc6}.p2l-field-label{font-size:10px;fill:#8e5fa6;font-weight:600}.p2l-photon-ray{stroke-width:1.5;stroke-dasharray:3 3}.p2l-photon-ray-ir{stroke:#c66b6b}.p2l-photon-ray-uv{stroke:#7c66c6}.p2l-photon-label{font-size:9.5px}.p2l-photon-label-vis{fill:#c69216;font-weight:600}.p2l-photon-vis{fill:#f5a623}.p2l-heat path{fill:none;stroke:#c66b6b;stroke-width:1;opacity:.7}.p2l-pair{font-size:8px;font-weight:700;pointer-events:none}.p2l-electron circle{fill:#5b9ee0}.p2l-electron text{fill:#fff}.p2l-hole circle{fill:#e0825b}.p2l-hole text{fill:#fff}.p2l-band-axis{stroke-width:1;opacity:.6}.p2l-axis-label{font-size:9.5px}.p2l-band-line{stroke-width:2.5;stroke-linecap:round}.p2l-band-cond{stroke:#5b9ee0}.p2l-band-val{stroke:#e0825b}.p2l-band-name{font-size:9.5px;font-weight:600}.p2l-band-gap{fill:#b07cc61f}.p2l-band-gap-label{font-size:10px;fill:#8e5fa6;font-weight:600}.p2l-band-photon{stroke:#c69216;stroke-width:1.5}.p2l-band-photon-head{fill:#c69216}.p2l-band-hv{font-size:10px;fill:#c69216;font-weight:600;font-style:italic}.p2l-band-electron circle{fill:#5b9ee0}.p2l-band-electron text{fill:#fff;font-size:8px;font-weight:700}.p2l-band-note{font-size:9.5px;font-style:italic}.p2l-chain-cell{fill:#2a4a6e;stroke:var(--primary);stroke-width:1}.p2l-chain-cell-grid{stroke:#8ac;stroke-width:.6;opacity:.6}.p2l-chain-panel{fill:#1a2f47;stroke:var(--primary);stroke-width:1}.p2l-chain-panel-cell{fill:#2a4a6e;stroke:#5b9ee0;stroke-width:.4;opacity:.85}.p2l-chain-mppt{fill:var(--bg-panel);stroke:var(--primary);stroke-width:1.5}.p2l-chain-mppt-label{font-size:11px;font-weight:700;fill:var(--text)}.p2l-chain-mppt-sub{font-size:10px;fill:var(--text);font-weight:600;font-variant-numeric:tabular-nums}.p2l-chain-batt-body{fill:var(--bg-panel);stroke:var(--primary);stroke-width:1.5}.p2l-chain-batt-tip{fill:var(--primary)}.p2l-chain-batt-fill{fill:#5cb85c;transform-origin:center bottom;transform-box:fill-box;animation:p2l-batt-fill 12s ease-in-out infinite}@keyframes p2l-batt-fill{0%{transform:scaleY(.25)}50%{transform:scaleY(.85)}to{transform:scaleY(.25)}}.p2l-chain-bulb-glass{fill:#ffe89a;stroke:#c69216;stroke-width:1;opacity:.5;animation:p2l-bulb-glass 12s ease-in-out infinite}.p2l-chain-bulb-base{fill:#555;stroke:#555;stroke-width:1}.p2l-chain-bulb-filament{fill:none;stroke:#c69216;stroke-width:1.2}.p2l-chain-bulb-rays line{stroke:#f5a623;stroke-width:1.8;stroke-linecap:round;opacity:0;animation:p2l-bulb-rays 12s ease-in-out infinite}@keyframes p2l-bulb-glass{0%,to{fill:#d6d6d6;opacity:.4}40%,80%{fill:#ffe89a;opacity:1}}@keyframes p2l-bulb-rays{0%,30%,95%,to{opacity:0}45%,75%{opacity:.9}}.p2l-chain-wire{stroke:var(--border);stroke-width:2}.p2l-chain-dot{fill:#f5a623}.p2l-chain-dot-a{animation:p2l-chain-flow 2s linear infinite}.p2l-chain-dot-b{animation:p2l-chain-flow 2s linear infinite;animation-delay:1s}@keyframes p2l-chain-flow{0%{transform:translate(0);opacity:0}10%{opacity:1}90%{opacity:1}to{transform:translate(38px);opacity:0}}.p2l-chain-label{font-size:10.5px;fill:var(--text);font-weight:600}.p2l-chain-sub{font-size:9.5px}.p2l-chain-foot{font-size:10px}.p2l-photon-vis{transform:translateY(0);animation:p2l-photon-vis-fall 12s ease-in infinite}@keyframes p2l-photon-vis-fall{0%{transform:translateY(0);opacity:0}4%{opacity:1}22%{transform:translateY(70px);opacity:1}25%{transform:translateY(70px);opacity:0}to{transform:translateY(0);opacity:0}}.p2l-photon-ray-ir{animation:p2l-photon-ir-blink 12s ease-in-out infinite}@keyframes p2l-photon-ir-blink{0%,to{opacity:.25}35%{opacity:.8}60%{opacity:.25}}.p2l-photon-ray-uv{animation:p2l-photon-uv-blink 12s ease-in-out infinite}@keyframes p2l-photon-uv-blink{0%,to{opacity:.25}40%,55%{opacity:.9}}.p2l-heat{opacity:0;animation:p2l-heat-puff 12s ease-in-out infinite}@keyframes p2l-heat-puff{0%,35%,70%,to{opacity:0;transform:translate(180px,30px) scale(1)}45%{opacity:.9;transform:translate(180px,30px) scale(1)}65%{opacity:0;transform:translate(180px,22px) scale(1.4)}}.p2l-pair>g{transform-box:fill-box;transform-origin:center}.p2l-electron{transform:translate(115px,63px);opacity:0;animation:p2l-electron-drift 12s ease-in-out infinite}@keyframes p2l-electron-drift{0%,25%{transform:translate(115px,63px);opacity:0}28%{transform:translate(115px,63px);opacity:1}55%{transform:translate(115px,24px);opacity:1}60%,to{transform:translate(115px,24px);opacity:0}}.p2l-hole{transform:translate(115px,63px);opacity:0;animation:p2l-hole-drift 12s ease-in-out infinite}@keyframes p2l-hole-drift{0%,25%{transform:translate(115px,63px);opacity:0}28%{transform:translate(115px,63px);opacity:1}55%{transform:translate(115px,102px);opacity:1}60%,to{transform:translate(115px,102px);opacity:0}}.p2l-band-photon,.p2l-band-photon-head,.p2l-band-hv{opacity:0;animation:p2l-band-photon-flash 12s ease-in-out infinite}@keyframes p2l-band-photon-flash{0%,18%{opacity:0}22%,32%{opacity:1}38%,to{opacity:0}}.p2l-band-electron{transform:translate(55px,100px);opacity:1;animation:p2l-band-e-jump 12s ease-in-out infinite}@keyframes p2l-band-e-jump{0%,20%{transform:translate(55px,100px);opacity:1}28%{transform:translate(55px,35px);opacity:1}55%{transform:translate(200px,35px);opacity:1}62%,to{transform:translate(200px,35px);opacity:0}}.p2l-atom-nucleus{fill:#a14a4a;stroke:#6b2c2c;stroke-width:1}.p2l-atom-nucleus-label{font-size:9px;font-weight:700;fill:#fff;font-family:system-ui,sans-serif}.p2l-atom-shell{fill:none;stroke:var(--text-muted);stroke-width:.7;stroke-dasharray:2 3;opacity:.55}.p2l-atom-shell-valence{stroke:#5b9ee0;stroke-width:1;stroke-dasharray:3 3;opacity:.9}.p2l-atom-gap-fill{fill:#b07cc62e;stroke:#b07cc6;stroke-width:.5;stroke-dasharray:2 3;opacity:.9}.p2l-atom-conduction{fill:none;stroke:#4ca068;stroke-width:1.1;stroke-dasharray:4 3;opacity:.85}.p2l-atom-e-core{fill:#777;stroke:#444;stroke-width:.3}.p2l-atom-e-valence{fill:#5b9ee0;stroke:#2e6aa6;stroke-width:.4}.p2l-atom-callout{font-size:10.5px;font-weight:600;fill:var(--text)}.p2l-atom-callout-sub{font-size:9.5px;fill:var(--text-muted)}.p2l-atom-callout-cb{fill:#2f7a4a}.p2l-atom-callout-gap{fill:#8e5fa6}.p2l-atom-callout-val{fill:#2e6aa6}.p2l-atom-leader{stroke:var(--text-muted);stroke-width:.6;opacity:.55}.p2l-atom-hv-label{font-size:10px;fill:#c69216;font-weight:700;font-style:italic}.p2l-atom-photon-ray{stroke:#c69216;stroke-width:1.2;stroke-dasharray:3 3;opacity:0;animation:p2l-atom-ray-blink 12s ease-in-out infinite}@keyframes p2l-atom-ray-blink{0%,4%,28%,to{opacity:0}10%,22%{opacity:.8}}.p2l-atom-photon{fill:#f5a623;transform:translate(0);animation:p2l-atom-photon-fly 12s ease-in infinite}@keyframes p2l-atom-photon-fly{0%{transform:translate(0);opacity:0}4%{opacity:1}22%{transform:translate(44px,44px);opacity:1}25%{transform:translate(44px,44px);opacity:0}to{transform:translate(0);opacity:0}}.p2l-atom-e-bound{animation:p2l-atom-bound-fade 12s ease-in-out infinite}@keyframes p2l-atom-bound-fade{0%,22%{opacity:1}25%,92%{opacity:0}95%,to{opacity:1}}.p2l-atom-e-free circle{fill:#5b9ee0;stroke:#2e6aa6;stroke-width:.6}.p2l-atom-e-free text{fill:#fff;font-size:9px;font-weight:700;font-family:system-ui,sans-serif;pointer-events:none}.p2l-atom-e-free{transform:translate(180px,64px);opacity:0;animation:p2l-atom-free-anim 12s ease-in-out infinite}@keyframes p2l-atom-free-anim{0%,25%{transform:translate(180px,64px);opacity:0}28%{transform:translate(180px,64px);opacity:1}48%{transform:translate(180px,42px);opacity:1}88%{transform:translate(180px,42px);opacity:1}93%,to{transform:translate(180px,42px);opacity:0}}@media (prefers-reduced-motion: reduce){.diagram-modal-panel{animation:none}.diagram-sun{animation:none;offset-distance:50%;opacity:1}.diagram-flow-dot{animation:none;transform:translate(16px);opacity:1}.geo-sun-summer,.geo-sun-winter{animation:none;offset-distance:50%;opacity:1}.peukert-drop{animation:none;opacity:1;transform:translateY(14px)}.peukert-fill-anim-slow{animation:none;transform:scaleY(0)}.peukert-fill-anim-fast-upper{animation:none;transform:scaleY(.3)}.peukert-fill-anim-fast-lower{animation:none;transform:scaleY(0)}.peukert-trapped-anim{animation:none;opacity:1}.peukert-drop-burst-fast{animation:none;opacity:0}.p2l-photon-vis{animation:none;transform:translateY(70px);opacity:1}.p2l-photon-ray-ir,.p2l-photon-ray-uv{animation:none;opacity:.8}.p2l-heat{animation:none;opacity:.7}.p2l-electron{animation:none;transform:translate(115px,44px);opacity:1}.p2l-hole{animation:none;transform:translate(115px,82px);opacity:1}.p2l-band-photon,.p2l-band-photon-head,.p2l-band-hv{animation:none;opacity:1}.p2l-band-electron{animation:none;transform:translate(120px,35px);opacity:1}.p2l-chain-batt-fill{animation:none;transform:scaleY(.55)}.p2l-chain-bulb-glass{animation:none;fill:#ffe89a;opacity:1}.p2l-chain-bulb-rays line{animation:none;opacity:.9}.p2l-chain-dot-a,.p2l-chain-dot-b{animation:none;opacity:1;transform:translate(19px)}.p2l-atom-photon-ray{animation:none;opacity:.8}.p2l-atom-photon{animation:none;transform:translate(44px,44px);opacity:1}.p2l-atom-e-bound{animation:none;opacity:0}.p2l-atom-e-free{animation:none;transform:translate(180px,53px);opacity:1}}
