:root{color-scheme:light;--ink:#172e3c;--muted:#4e6370;--navy:#142e3e;--teal:#146756;--teal-dark:#0d5344;--teal-light:#e9f5ef;--bg:#f3f6f5;--card:#fff;--line:#d9e2e1;--blue:#195f83;--input:#f1f7fc;--red:#a22232;--red-light:#fff0ef;--amber:#82530b;--amber-light:#fff5df;--radius:14px;--shadow:0 3px 16px rgba(21,48,43,.035)}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-variant-numeric:tabular-nums}button,input,select,textarea{font:inherit}button{cursor:pointer}input,select,textarea{color:var(--ink);background:#fff;color-scheme:light;opacity:1}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #2877aa;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:28px;line-height:1.2;letter-spacing:-.04em}h2{font-size:19px;letter-spacing:-.025em}h3{font-size:15px;letter-spacing:-.01em}strong,b{font-weight:700}svg.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.layout{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:#e3eeef;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:28px 17px 20px;gap:24px;overflow-y:auto}.brand{padding:0 13px}.brand .word{font-size:30px;font-weight:750;letter-spacing:-.055em;color:#fff}.brand .word span{color:#88d0b8}.brand small{display:block;color:#bdcfd8;font-size:11px;letter-spacing:.01em;margin-top:3px}.brand .company{color:#bed4d9;font-size:10px;letter-spacing:.14em;font-weight:700;margin-bottom:6px}.navgroup{font-size:10px;font-weight:800;letter-spacing:.14em;color:#adcad1;padding:0 12px;margin-bottom:7px}.nav{display:grid;gap:5px}.nav button{display:flex;align-items:center;gap:11px;padding:11px 13px;border:1px solid transparent;border-radius:10px;background:transparent;color:#d7e5e9;font-size:13px;font-weight:600;text-align:left;min-height:42px}.nav button:hover{background:#214453;color:#fff}.nav button.active{background:#dff1e9;color:#144d3f}.nav .count{margin-left:auto;background:#fff0cf;color:#6c4706;border-radius:6px;padding:0 5px;font-size:11px}.sidefoot{margin-top:auto;border:1px solid #3d5a65;background:#1d3b49;padding:13px;border-radius:10px;font-size:11px;color:#c9dce0;line-height:1.7}.sidefoot strong{color:#fff}.version{display:flex;justify-content:space-between;margin-top:12px;font-size:10px;color:#b5cbd2}.main{min-width:0;padding:24px 30px 30px;max-width:1800px;width:100%;margin:0 auto}.top{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:21px}.eyebrow{font-size:10px;letter-spacing:.14em;color:#52686b;font-weight:800;text-transform:uppercase;margin-bottom:7px}.subtitle{color:var(--muted);font-size:12px;margin-top:7px;line-height:1.7;max-width:700px}.topcontrols{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #bccfcd;background:#fff;color:#25414c;padding:9px 12px;min-height:37px;border-radius:9px;font-size:12px;font-weight:650;text-decoration:none;white-space:nowrap}.btn:hover{background:#eaf1ef;border-color:#8caea6}.btn.primary{background:var(--teal);color:white;border-color:var(--teal)}.btn.primary:hover{background:var(--teal-dark);color:white}.btn.soft{background:#e8f1ee;color:#174d43;border-color:#c4dcd3}.btn.danger{background:var(--red-light);color:var(--red);border-color:#edc7c3}.btn.ghost{border-color:transparent;background:transparent}.btn.iconbtn{width:35px;padding:7px}.btn.small{padding:5px 9px;font-size:11px;min-height:30px}.btn:disabled{cursor:not-allowed;background:#edf0f0;color:#66777e;border-color:#d8dede;opacity:.8}.btn.active{background:#173f4d;color:#fff;border-color:#173f4d}.save{font-size:10px;color:var(--muted);margin-top:6px;text-align:right}.dot{width:7px;height:7px;display:inline-block;border-radius:100%;background:var(--teal);margin-right:5px}.scenariostrip{display:flex;align-items:center;gap:13px;background:#e8efec;border:1px solid #d2dfd9;border-radius:12px;padding:10px 13px;margin-bottom:18px;flex-wrap:wrap}.scenariostrip select{max-width:280px;min-width:160px;font-size:12px;font-weight:650}.scenariostrip .label{font-size:11px;color:#33514b;font-weight:700}.grow{flex:1}.divider{height:24px;width:1px;background:#c8d7d1}.pill{display:inline-flex;gap:6px;align-items:center;border-radius:6px;background:#eef2f1;color:#3a515c;padding:3px 7px;font-size:10px;font-weight:650;line-height:1.5;white-space:nowrap}.pill.good{background:var(--teal-light);color:#15543e}.pill.warn{background:var(--amber-light);color:#714a09}.pill.bad{background:var(--red-light);color:var(--red)}.pill.blue{background:#eaf3fa;color:#204f77}.livebar{display:flex;gap:20px;align-items:center;border-bottom:1px solid var(--line);padding:0 0 13px;margin-bottom:18px;color:var(--muted);font-size:11px;flex-wrap:wrap}.livebar b{font-size:13px;color:var(--ink);margin-left:5px}.livebar .status{margin-left:auto}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px}.card,.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card{padding:18px;position:relative}.card .label{font-size:11px;color:var(--muted);font-weight:650;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between}.card .value{font-size:27px;font-weight:750;letter-spacing:-.045em;line-height:1.3;white-space:nowrap}.card .desc{font-size:11px;color:var(--muted);margin-top:11px;line-height:1.6}.card.highlight{background:#edf6f1;border-color:#b9d8c9}.card.negative{background:#fff5f3;border-color:#ebc5bf}.goodtext{color:var(--teal)!important}.badtext{color:var(--red)!important}.warntext{color:var(--amber)!important}.muted{color:var(--muted)}.sectionhead{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.sectionhead p{font-size:12px;color:var(--muted);margin-top:4px;max-width:780px;line-height:1.7}.actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.panel{overflow:hidden}.panel+.panel{margin-top:16px}.panelhead{padding:16px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px;justify-content:space-between}.panelhead small{font-size:11px;color:var(--muted)}.panelbody{padding:18px}.grid2{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,1fr);gap:16px;align-items:start;margin-bottom:16px}.grid2.equal{grid-template-columns:1fr 1fr}.grid2>.panel+.panel{margin-top:0}.gap16{margin-top:16px}.note{border:1px solid #ceded8;background:#edf5f1;border-radius:10px;padding:11px 14px;color:#284d41;font-size:12px;line-height:1.7;margin-bottom:14px}.note.warn{background:var(--amber-light);border-color:#e9d5a4;color:#704b12}.note.error{background:var(--red-light);border-color:#ecc1bd;color:#8c2331}.note.info{background:#edf3f8;border-color:#ccdce6;color:#284e68}.note strong{font-weight:750}.note.nobottom{margin-bottom:0}.flexnote{display:flex;align-items:center;gap:15px;justify-content:space-between}.kicker{font-size:10px;color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-weight:750}.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.searchbox{display:flex;gap:8px;align-items:center;border:1px solid #bacac8;border-radius:9px;background:#fff;padding:0 10px;min-width:200px;max-width:410px;flex:1}.searchbox input{border:0;padding:9px 2px;width:100%;min-width:0;outline-offset:0}.searchbox svg{color:#536c73}.smallnote{font-size:11px;line-height:1.65;color:var(--muted)}select,textarea{border:1px solid #b6c8c8;border-radius:8px;padding:8px 10px;max-width:100%;min-height:37px}textarea{width:100%;min-height:95px;resize:vertical;font-size:13px}.textinput{border:1px solid #b6c8c8;border-radius:8px;padding:9px 11px;min-width:0;width:100%}.toggle{display:inline-flex;align-items:center;gap:7px;color:#425b60;font-size:11px;cursor:pointer}.toggle input{width:16px;height:16px;accent-color:#146756;flex-shrink:0}.tablewrap{overflow:auto;max-width:100%;border-radius:0 0 var(--radius) var(--radius)}.tablewrap.limit{max-height:600px}.datatable{width:100%;border-collapse:separate;border-spacing:0;font-size:12px}.datatable th{text-align:right;background:#edf2f1;color:#385353;font-size:10px;text-transform:uppercase;letter-spacing:.045em;font-weight:750;padding:11px 12px;white-space:nowrap;position:sticky;top:0;z-index:1;border-bottom:1px solid #ccdad5}.datatable td{padding:9px 12px;border-bottom:1px solid #e5ece9;text-align:right;white-space:nowrap;background:#fff;vertical-align:middle}.datatable th:first-child,.datatable td:first-child{text-align:left}.datatable .left{text-align:left}.datatable td.name{white-space:normal;min-width:180px;max-width:340px;font-weight:600;line-height:1.45}.datatable td.name small{display:block;font-size:10px;font-weight:400;color:var(--muted);line-height:1.5;margin-top:3px}.datatable tr:last-child td{border-bottom:0}.datatable tr:hover td{background:#f5f9f7}.datatable tr.selected td{background:#eef6f2}.datatable .subtotal td{background:#e9f1ed;font-weight:750;border-top:1px solid #c4d9ce}.datatable tfoot td,.datatable .total td{background:#e5efea;font-weight:750;border-top:1px solid #bed4c8;padding-top:12px;padding-bottom:12px}.datatable td.delta{font-weight:650}.linkbutton{background:transparent;border:0;padding:0;color:#1c5667;font:inherit;font-weight:650;text-align:left;text-decoration:underline;text-decoration-color:#adc7cd;text-underline-offset:3px;cursor:pointer}.editbox{display:inline-flex;align-items:center;border:1px solid #acc3cc;background:var(--input);border-radius:7px;min-height:34px;width:132px;position:relative;transition:box-shadow .1s}.editbox:focus-within{box-shadow:0 0 0 2px #93baca;background:#fff;border-color:#216686}.editbox input{background:transparent;color:#144765;border:0;outline:0!important;width:100%;min-width:0;text-align:right;padding:6px 6px 6px 8px;font-weight:700;font-size:12px;box-shadow:none}.editbox .unit{padding:0 8px 0 0;color:#526f7a;font-size:10px;font-weight:600;pointer-events:none}.editbox.percent{width:88px}.editbox input:invalid{box-shadow:none}.editbox.invalid{border:2px solid var(--red);background:#fff2f0}.editbox:has(input[data-dirty="yes"]){border-color:#bd8f36;background:#fff8e9}.summaryrow{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-top:12px;flex-wrap:wrap}.segment{display:flex;gap:4px;padding:3px;border:1px solid #bcd0c7;border-radius:9px;background:#fff}.segment button{border:0;background:white;color:#48635b;padding:6px 11px;border-radius:6px;font-size:11px;font-weight:700}.segment button.active{background:#215642;color:#fff}.groupcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:9px;margin-bottom:13px}.groupcard{border:1px solid #cbdad4;border-radius:10px;padding:11px 12px;background:#fff;text-align:left;cursor:pointer}.groupcard span{display:block;color:var(--muted);font-size:10px}.groupcard b{display:block;font-size:17px;margin:5px 0 3px;letter-spacing:-.025em;color:var(--ink)}.groupcard small{font-size:10px;color:var(--muted)}.groupcard.active{background:#eaf4ee;border-color:#6b9f86}.chart{height:210px;display:flex;gap:8px;align-items:flex-end;padding:18px 4px 25px;position:relative}.barpair{position:relative;height:100%;display:flex;align-items:flex-end;gap:4px;flex:1;justify-content:center}.bar{width:14px;min-height:1px;border-radius:3px 3px 0 0;background:#a7bab4;position:relative}.bar.current{background:#247859}.barpair label{position:absolute;bottom:-21px;color:#52675f;font-size:10px}.legend{display:flex;gap:13px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:10px}.legend i{display:inline-block;width:8px;height:8px;background:#a7bab4;border-radius:2px;margin-right:4px}.legend i.cur{background:#247859}.bridge{display:grid;gap:0}.bridge>div{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #e3ebe6;gap:20px}.bridge span{font-size:12px;color:#3f5b4f}.bridge b{font-size:15px;letter-spacing:-.025em;white-space:nowrap}.bridge .sum{border-top:1px solid #b9d2c3;border-bottom:0;margin-top:4px;padding:14px 0 0}.bridge .sum b{font-size:21px}.meter{height:10px;display:flex;overflow:hidden;border-radius:20px;background:#e8eeeb;margin:16px 0 9px}.meter span{height:100%}.checkslist{display:grid;gap:8px}.checkline{border:1px solid #d8e3dc;padding:10px 12px;border-radius:9px;display:flex;gap:10px;align-items:flex-start;background:#f8fbf9}.checkline.warn{background:#fff9eb;border-color:#e8d8b3}.checkline.error{background:#fff1f0;border-color:#e5beb9}.checkline .ct{flex:1}.checkline b{font-size:12px;display:block;color:#273c37}.checkline p{font-size:11px;color:#4f6359;margin-top:3px;line-height:1.7}.checkline .icon{color:#466c55;margin-top:2px}.checkline.warn .icon{color:#805b1c}.checkline.error .icon{color:#a32d35}.horizontalbar{width:100%;height:5px;background:#e7eeea;border-radius:5px;overflow:hidden;margin:6px 0}.horizontalbar span{display:block;height:100%;background:#b15147}.accordion{border:1px solid #d5e0da;border-radius:11px;background:#fff;overflow:hidden}.accordion summary{padding:13px 15px;font-size:12px;font-weight:650;cursor:pointer;color:#365647;background:#f5f9f7}.accordion>.inner{padding:14px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.formfield label{font-size:11px;font-weight:700;color:#3c5854;display:block;margin-bottom:7px}.formfield p{font-size:10px;color:var(--muted);margin-top:5px;line-height:1.6}.formfield .editbox{width:100%;min-height:39px}.formfield .editbox input{font-size:14px}.formfield .textinput{min-height:39px}.banner{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#173f36;color:#fff;border-radius:13px;padding:19px 21px;margin-bottom:17px}.banner h2{color:#fff;font-size:20px;letter-spacing:-.025em}.banner p{color:#d6e7df;font-size:12px;margin-top:6px}.banner .btn{border-color:#8cae9e;background:#f3faf5;color:#234f3b}.querybar{display:flex;gap:8px;margin:12px 0}.querybar input{flex:1}.chips{display:flex;gap:6px;flex-wrap:wrap}.chips button{padding:5px 10px;border-radius:20px;border:1px solid #c6d9d0;background:#f1f7f3;color:#3d6050;font-size:11px}.answer{border:1px solid #cdded3;background:#f5faf7;border-radius:10px;padding:14px;margin-top:12px;font-size:12px;line-height:1.8}.answer strong{font-size:17px;color:#1a5140}.footer{color:#4d6860;font-size:10px;line-height:1.9;margin-top:25px;border-top:1px solid #d5dfd8;padding-top:14px}.screenreader{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}#toast{position:fixed;bottom:24px;right:25px;max-width:480px;background:#163a32;color:#fff;box-shadow:0 8px 35px #0002;padding:12px 16px;border-radius:10px;font-size:12px;z-index:100;display:none}#toast.error{background:#8e2832}#modal:empty{display:none}#modal{position:fixed;inset:0;z-index:80;background:#142f3a65;backdrop-filter:blur(3px);display:flex;justify-content:center;align-items:center;padding:20px}.dialog{max-width:690px;width:100%;max-height:90vh;overflow:auto;background:#fff;border:1px solid #cbd8d2;border-radius:16px;box-shadow:0 18px 70px #0d28353b}.dialog.wide{max-width:910px}.dialog .dialoghead{padding:19px 22px;border-bottom:1px solid #d8e2db;display:flex;align-items:center;justify-content:space-between;gap:18px}.dialog .dialogbody{padding:20px 22px}.dialog .dialogfoot{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:15px 22px;background:#f3f7f4;border-top:1px solid #d8e3db}.formula{font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;padding:10px 12px;background:#edf3f7;color:#264d65;border:1px solid #cadde6;border-radius:8px;margin:10px 0;white-space:normal;word-break:break-word}.source{font-size:10px;color:#4f665e;word-break:break-word;margin-top:10px}.logline{padding:11px 0;border-bottom:1px solid #e5ebe7;display:flex;gap:13px;align-items:flex-start}.logline time{font-size:10px;color:#546a60;min-width:80px}.logline strong{font-size:12px}.logline small{font-size:10px;color:var(--muted);display:block}.checkmark{width:20px;height:20px;border-radius:100%;display:inline-flex;align-items:center;justify-content:center;background:#dfeee4;color:#226d46;font-size:12px;flex-shrink:0}.noscript{padding:40px}.printreport{display:none}.printOnly{display:none}
@media(min-width:1500px){.main{padding-left:38px;padding-right:38px}.card .value{font-size:30px}.datatable td,.datatable th{padding-left:14px;padding-right:14px}}
@media(max-width:1250px){.layout{grid-template-columns:205px minmax(0,1fr)}.main{padding:22px 20px}.cards{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}.grid2>.panel{margin-top:0}.top{gap:12px}.topcontrols{max-width:250px}.topcontrols .labelbutton{display:none}}
@media(max-width:850px){.layout{display:block}.sidebar{position:relative;height:auto;padding:14px 13px;gap:13px}.brand{display:flex;align-items:center;gap:13px;padding:0 3px}.brand .word{font-size:25px}.brand .company{display:none}.brand small{font-size:10px;margin:0}.navgroup,.sidefoot,.version{display:none}.nav{display:flex;overflow:auto;gap:5px;padding-bottom:2px}.nav button{white-space:nowrap;padding:9px 11px;font-size:12px;flex-shrink:0}.main{padding:18px 13px}.top{flex-wrap:wrap;margin-bottom:13px}.topcontrols{max-width:none;justify-content:flex-start}.topcontrols .labelbutton{display:inline}.top h1{font-size:25px}.top .subtitle{font-size:11px}.save{text-align:left}.grid2.equal{grid-template-columns:1fr}.livebar{gap:9px}.livebar .status{margin-left:0}.scenariostrip{gap:8px}.scenariostrip .divider{display:none}.scenariostrip select{max-width:220px}.card{padding:14px}.card .value{font-size:24px}.card .label{font-size:10px}.card .desc{font-size:10px}.sectionhead{flex-wrap:wrap;gap:10px}.banner{padding:14px;align-items:flex-start;flex-direction:column;gap:12px}.formgrid{grid-template-columns:1fr}.panelbody{padding:14px}.editbox{width:125px}.toolbar{gap:8px}.datatable th,.datatable td{padding:9px}.tablewrap.limit{max-height:65vh}.dialog{max-height:92vh}#modal{padding:10px}.dialog .dialogbody,.dialog .dialoghead{padding:15px}#toast{left:13px;right:13px;bottom:13px;max-width:none}}
@media(max-width:420px){.card .value{font-size:21px}.cards{gap:9px}.main{padding:15px 10px}.topcontrols{gap:6px}.card{padding:12px}.card .desc{font-size:10px}.scenariostrip .grow{display:none}.groupcards{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
@media print{body{background:#fff;font-size:10pt}.layout,#modal,#toast{display:none!important}.printreport{display:block;color:#111}.printreport h1{font-size:22pt}.printreport h2{font-size:14pt;margin:18pt 0 8pt}.printreport p{font-size:9pt;line-height:1.5;margin:4pt 0}.printreport table{border-collapse:collapse;width:100%;font-size:8pt;margin:8pt 0}.printreport th,.printreport td{border-bottom:1px solid #ccc;padding:5pt;text-align:right}.printreport th:first-child,.printreport td:first-child{text-align:left}.printreport th{background:#eee}.printreport tr{break-inside:avoid}.printreport .printsection{break-before:page}.printreport .total{font-weight:bold}.printreport .notice{border:1px solid #777;padding:8pt;margin-top:10pt}.printreport thead{display:table-header-group}@page{size:A4;margin:14mm}}

.costsummary{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:1250px){.costsummary{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.costsummary{grid-template-columns:repeat(2,minmax(0,1fr))}}
