.nested-fields{display:flex;flex-direction:column;gap:1rem;margin:1rem 0 1.5rem;padding-left:1rem;border-left:2px solid #6b7280}.nested-fields--tight{margin-top:.5rem}.range-row{display:flex;align-items:center;gap:1rem}.range-row input[type=range]{flex:1}.range-row output,.range-row span{min-width:3rem;text-align:right}.readonly-input{background-color:#f5f7f9;cursor:not-allowed}.optional-section>summary{cursor:pointer;padding:.5rem 0;font-weight:600}.optional-section>summary:focus-visible{outline:3px solid currentColor;outline-offset:2px}.optional-section[open]>summary{margin-bottom:.75rem}:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#10213d;background:#f7f9fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;line-height:1.5}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #0b63ce;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}header{min-height:76px;padding:0 max(20px,5vw);display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #d9e0e7}.brand{font-size:1.8rem;font-weight:800;letter-spacing:-.06rem;color:#09204a;text-decoration:none}.brand-icon{color:#a36300;margin-right:.35rem}nav{display:flex;gap:1.8rem;height:100%;align-items:center}nav a,.help{color:#17233a;text-decoration:none;padding:.75rem .1rem}.active{font-weight:750;border-bottom:3px solid #a36300}.help{font-weight:650}main{max-width:1500px;margin:auto;padding:2rem max(1rem,4vw) 4rem}.app-version{padding:0 max(1rem,4vw) 1.5rem;text-align:center;color:#5a6772}.layout{display:grid;grid-template-columns:minmax(460px,1fr) minmax(500px,1fr);gap:2.5rem}.panel,.cards article,.summary,.information{background:#fff;border:1px solid #dbe2e8;border-radius:.6rem;box-shadow:0 2px 10px #10213d0d}.panel{padding:1.6rem}.step{display:grid;grid-template-columns:220px 1fr;gap:1.2rem;padding:0 0 1.6rem;margin-bottom:1.4rem;border-bottom:1px solid #e7ebef}.step:last-of-type{border:0}.step>div:first-child{position:relative;padding-left:3.25rem}.step>div:first-child>b{position:absolute;left:0;top:0;display:grid;place-items:center;width:2.25rem;height:2.25rem;border:2px solid #a36300;border-radius:50%;color:#7c4a00}.step h2{font-size:1.1rem;margin:.3rem 0}.step p,.hint{margin:0;color:#5d6878;font-size:.9rem}.field-note{margin:0;padding:.75rem 1rem;border-left:3px solid #a36300;background:#fff8e8;color:#5d6878;font-size:.9rem}.control{display:grid;gap:.8rem;align-content:start}.field{display:grid;gap:.35rem}.field-label{font-weight:700;font-size:.93rem}.control input,.control select,.field select,.input-unit{min-height:3rem;border:1px solid #aebbc8;border-radius:.4rem;background:#fff;font:inherit}.control input:not([type=range]):not([type=radio]):not([type=checkbox]),.control select,.field select{width:100%;padding:0 .85rem}.input-unit{display:flex;overflow:hidden;width:100%}.input-unit input{flex:1;min-width:0;border:0;padding:0 .85rem;width:auto}.input-unit span{display:grid;place-items:center;padding:0 .85rem;border-left:1px solid #aebbc8;background:#f5f7f9;font-size:.9rem}.error{color:#a61920!important;font-weight:650}.field-header{display:flex;align-items:center;gap:.5rem}.field-info-wrapper{position:relative;display:inline-flex}.info-button{display:inline-grid;place-items:center;width:1.4rem;height:1.4rem;border-radius:50%;border:1px solid #0b63ce;background:#eef4fc;color:#0b63ce;font-size:.8rem;font-weight:700;padding:0}.info-popover{position:absolute;top:100%;left:0;z-index:10;width:280px;margin-top:.5rem;background:#fff;border:1px solid #dbe2e8;border-radius:.4rem;box-shadow:0 4px 15px #10213d26;padding:1rem}.close-info{position:absolute;top:.4rem;right:.4rem;background:transparent;border:none;font-size:1.1rem;line-height:1;color:#5d6878}.info-content{font-size:.85rem;color:#3b4554;line-height:1.4}.info-content p{margin:0 0 .5rem}.info-content p:last-child{margin-bottom:0}.segmented-choice{border:none;padding:0;margin:0}.segmented-legend{font-weight:600;margin-bottom:.5rem;font-size:.93rem}.segmented-options{display:flex;background:#e7ebef;border-radius:.4rem;padding:.25rem;gap:.25rem}.segmented-label{flex:1;text-align:center;padding:.5rem;border-radius:.25rem;cursor:pointer;font-size:.9rem;font-weight:600;color:#4d5968;transition:.2s background,.2s color}.segmented-label input{position:absolute;opacity:0}.segmented-label.active{background:#fff;color:#09204a;box-shadow:0 1px 3px #0000001a}.monthly-consumption{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin-top:1rem}.toggle{min-height:3rem;padding:0 .85rem;display:flex;justify-content:space-between;align-items:center;border:1px solid #b7c2ce;border-radius:.4rem}.toggle input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:2.65rem;height:1.5rem;background:#687687;border-radius:1rem;position:relative;transition:.2s}.toggle input:after{content:"";position:absolute;top:.18rem;left:.18rem;width:1.14rem;height:1.14rem;border-radius:50%;background:#fff;transition:.2s}.toggle input:checked{background:#147a45}.toggle input:checked:after{transform:translate(1.15rem)}.calculate{width:100%;padding:1rem;border:0;border-radius:.4rem;background:#09204a;color:#fff;font-weight:750;font-size:1.05rem}.calculate:disabled{opacity:.65;cursor:wait}.summary{padding:1.45rem;align-self:start;position:sticky;top:2rem;max-height:calc(100vh - 4rem);overflow:auto;min-width:0}.summary h1:focus-visible{outline:3px solid #0b63ce;outline-offset:3px}.cards article.hero{grid-column:1 / -1;min-height:0;background:#f1f6fd;border-color:#9db8dd}.cards article.hero strong{font-size:2.1rem}.cards article.hero p{font-weight:650;font-size:1rem}.result-details>summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.result-details>summary h2{display:inline}.result-details>summary:focus-visible{outline:3px solid #0b63ce;outline-offset:3px}.disclaimer{font-size:.85rem;color:#4d5968;margin-top:1rem}.summary h1{font-size:1.25rem;margin:0 0 1.25rem}.summary h1 small{font-size:.75rem;font-weight:650;color:#4d5968;background:#eef2f6;padding:.35rem .5rem;border-radius:.3rem;margin-left:.4rem}.summary.empty{min-height:14rem}.summary.empty p{color:#4d5968}.cards{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}.cards article{min-height:9rem;padding:1rem}.cards p{margin:0 0 .65rem;font-size:.88rem}.cards strong{display:block;font-size:1.45rem;letter-spacing:-.05rem;overflow-wrap:anywhere}.cards em{font-style:normal;font-size:.9rem;letter-spacing:0}.cards small{display:block;margin-top:.75rem;color:#5d6878;font-size:.82rem}.result-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}.result-actions button{min-height:2.75rem;padding:.55rem .85rem;border:1px solid #09204a;border-radius:.4rem;background:#fff;color:#09204a;font-weight:650}.share-dialog{width:min(32rem,calc(100% - 2rem));padding:1.25rem;border:1px solid #aebbc8;border-radius:.6rem;color:inherit}.share-dialog::backdrop{background:#09204a8c}.share-dialog h2{margin:0 0 1rem;font-size:1.2rem}.share-dialog label{display:block;margin-bottom:.35rem;font-weight:650}.share-dialog input{width:100%;min-height:2.75rem;padding:0 .75rem;border:1px solid #aebbc8;border-radius:.4rem;font:inherit}.share-dialog-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}.share-dialog-actions button{min-height:2.75rem;padding:.55rem .85rem;border:1px solid #09204a;border-radius:.4rem;background:#09204a;color:#fff;font:inherit;font-weight:650}.share-dialog-actions .share-dialog-cancel{background:#fff;color:#09204a}.green{color:#12663d}.cumulative-chart{margin-top:1rem;padding:1rem;border:1px solid #dbe2e8;border-radius:.5rem;background:#fbfcfd}.cumulative-chart h2{margin:0;font-size:1.05rem}.cumulative-chart-summary{margin:.5rem 0}.cumulative-chart-note,.chart-ranges{margin:.5rem 0;color:#455263;font-size:.85rem}.cumulative-chart-svg{display:block;width:100%;min-width:560px;max-width:680px;height:auto}.battery-chart-svg{min-width:0;max-width:560px}.chart-scroll{margin-top:.75rem;overflow-x:auto}.chart-scroll:focus-visible{outline:3px solid #0b63ce;outline-offset:3px}.chart-gridline{stroke:#d9e0e7;stroke-width:1}.chart-axis-tick{stroke:#526174;stroke-width:1.5}.chart-axis-label{fill:#344256;font-size:13px}.chart-savings-band{fill:#dcecf4;stroke:#17617f;stroke-width:2;stroke-linejoin:round}.chart-additional-band{fill:#fde7c4;stroke:#a34a00;stroke-width:2;stroke-dasharray:2 3;stroke-linejoin:round}.chart-investment-line{stroke:#a36300;stroke-width:2.5;stroke-dasharray:7 5}.chart-legend{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;list-style:none;padding:0;margin:.25rem 0 0;font-size:.85rem}.chart-legend li{display:flex;align-items:center;gap:.4rem}.chart-legend-swatch{display:inline-block;width:1.1rem;height:.75rem;border:2px solid}.chart-legend-swatch.savings{border-color:#17617f;background:#dcecf4}.chart-legend-swatch.additional{border-color:#a34a00;border-style:dotted;background:#fde7c4}.chart-legend-swatch.investment{border-color:#a36300;border-style:dashed;background:transparent}.chart-legend-swatch.without-battery{border-color:#12663d;background:#dff3e7}.chart-legend-swatch.investment-without-battery{border-color:#6b4aa3;border-style:dashed;background:transparent}.chart-legend-swatch.bill{border-color:#17617f;background:#4a9bbd}.chart-legend-swatch.feed-in{border-color:#a36300;background:#f2b84b}.chart-without-battery-band{fill:#dff3e7;stroke:#12663d;stroke-width:2;stroke-dasharray:6 3;stroke-linejoin:round;fill-opacity:.85}.chart-investment-line.without-battery{stroke:#6b4aa3}.battery-analysis{margin-top:1rem;padding:1.25rem;border:1px solid #dbe2e8;border-radius:.5rem;background:#fff}.battery-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem}.battery-header h2{margin:0;font-size:1.2rem}.verdict{padding:.3rem .8rem;border-radius:999px;font-size:.9rem}.verdict-isplati-se{background:#dff3e7;color:#0d4f2e}.verdict-granično{background:#fff1d6;color:#6b4200}.verdict-ne-isplati-se{background:#fde4e4;color:#8a1218}.battery-reason{color:#344256}.battery-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.75rem;margin:1rem 0}.battery-kpis>div{padding:.8rem;border:1px solid #dbe2e8;border-radius:.5rem;background:#f6f9fc}.battery-kpis dt{font-size:.8rem;color:#4d5968}.battery-kpis dd{margin:.3rem 0 0;font-size:1.05rem;font-weight:700;color:#09204a}.battery-scenarios{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:.75rem}.battery-scenario{padding:.9rem;border:1px solid #dbe2e8;border-top-width:4px;border-radius:.5rem}.battery-scenario.without{border-top-color:#12663d}.battery-scenario.with{border-top-color:#17617f}.battery-scenario h4{margin:0 0 .5rem}.battery-scenario dt{margin-top:.5rem;font-size:.8rem;color:#4d5968}.battery-scenario dd{margin:.1rem 0 0;font-weight:650}.battery-chart{margin:1.25rem 0 0;padding:1rem;border:1px solid #dbe2e8;border-radius:.5rem;background:#fbfcfd}.battery-chart h4{margin:0}.battery-chart figcaption p{margin:.25rem 0 0;color:#455263;font-size:.85rem}.battery-bar-bill{fill:#4a9bbd}.battery-bar-feed-in{fill:#f2b84b}.battery-zero-line{stroke:#344256;stroke-width:1.5}.battery-line-without{stroke:#12663d;stroke-width:3;stroke-dasharray:6 4}.battery-line-with{stroke:#17617f;stroke-width:3}.chart-data{margin-top:.75rem;font-size:.85rem}.chart-data summary{width:fit-content;color:#09204a;text-decoration:underline;cursor:pointer}.chart-data table{width:100%;margin-top:.5rem;border-collapse:collapse;text-align:left}.chart-data caption{text-align:left;font-weight:650;margin-bottom:.35rem}.chart-data th,.chart-data td{padding:.35rem .25rem;border-bottom:1px solid #dbe2e8}.chart-data th:not(:first-child),.chart-data td{text-align:right}.chart-data th:first-child{text-align:left}.assumptions{margin-top:1rem;padding-top:1rem;border-top:1px solid #e0e6eb}.assumptions h2{font-size:1rem;margin:0}.assumptions p,.assumptions li{font-size:.9rem;color:#455263}.assumptions ul{padding-left:1.25rem;margin-bottom:0}.information{margin-top:1.5rem;padding:1.25rem;max-width:860px}.information h2{font-size:1.1rem;margin-top:0}.information h3{font-size:.98rem;margin:1.25rem 0 .35rem}.information p{margin-bottom:0;color:#455263}.information ul{margin:0;padding-left:1.25rem;color:#455263}.formula{padding:.7rem .85rem;border-left:3px solid #0b63ce;background:#f4f7fb;font-family:Source Code Pro,Courier New,monospace;overflow-wrap:anywhere}@media(max-width:1050px){.layout{grid-template-columns:minmax(0,1fr)}.summary{position:static;max-height:none;overflow:visible}}@media(max-width:700px){header{padding:.75rem 1rem;gap:.25rem .75rem;flex-wrap:wrap}.brand{font-size:1.4rem}nav{width:100%;height:auto;gap:.25rem 1rem;flex-wrap:wrap}nav a{display:inline-flex;align-items:center;min-height:44px;padding:.5rem .25rem}main{padding:1.25rem .8rem}.step{grid-template-columns:1fr}.monthly-consumption{grid-template-columns:repeat(2,1fr)}.panel,.summary{padding:1rem}}@media(max-width:480px){.cards{grid-template-columns:1fr}.cards article.hero strong{font-size:1.8rem}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}.control select,.field select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%235D6878%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E);background-repeat:no-repeat;background-position:right .85rem top 50%;background-size:.65rem auto;padding-right:2.5rem}
