:root{font-family:Arial,Helvetica,sans-serif;color:#0a1045;background:#f4f6f8;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #00bf18;outline-offset:2px}.topbar{height:86px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:14px 26px;gap:24px;border-bottom:1px solid #dce2e7;box-shadow:0 3px 14px #0a104510;position:relative;z-index:3}.brand{display:flex;align-items:center;gap:20px;min-width:0}.brand img{width:208px;max-width:22vw;height:54px;object-fit:contain;object-position:left}.brand-copy{border-left:1px solid #dce2e7;padding-left:20px;display:flex;flex-direction:column;gap:5px;white-space:nowrap}.brand-copy strong{font-size:23px}.brand-copy span{font-size:13px;color:#62706f}.top-actions{display:flex;align-items:center;gap:8px}.top-actions #save-status{color:#687474;font-size:12px;margin-right:4px;white-space:nowrap}.button{border:1px solid transparent;border-radius:10px;padding:11px 14px;font-size:13px;font-weight:700;white-space:nowrap;min-height:42px}.button-green{background:#00bf18;color:#071138}.button-green:hover{background:#00ad16}.button-navy{background:#0a1045;color:#fff}.button-navy:hover{background:#1c276c}.button-light{background:#fff;color:#28423e;border-color:#d7e0df}.button-light:hover{background:#f4f8f7}.page-nav{height:45px;background:white;display:flex;align-items:center;justify-content:center;gap:44px;border-bottom:1px solid #dce2e7;position:sticky;top:0;z-index:2}.page-nav a{color:#36514d;text-decoration:none;font-weight:700;font-size:13px}.page-nav a:hover{color:#00a816}.workspace{display:grid;grid-template-columns:minmax(320px,370px) minmax(0,1fr);max-width:1800px;margin:auto}.inputs-panel{align-self:start;position:sticky;top:45px;height:calc(100vh - 45px);overflow:auto;padding:26px 20px 32px;background:#f8f9fa;border-right:1px solid #dce2e7;scrollbar-width:thin}.panel-heading,.section-head,.card-header{display:flex;justify-content:space-between;align-items:start;gap:18px}.eyebrow{font-size:12px;font-weight:800;color:#4476bd;letter-spacing:.11em;text-transform:uppercase;margin:0 0 8px}.panel-heading h2{font-size:23px;margin:0}.count,.tag{background:#eaf9ec;color:#0a1045;border-radius:999px;padding:6px 9px;font-size:12px;font-weight:800;white-space:nowrap}.panel-note{font-size:13px;line-height:1.5;color:#536563;margin:16px 0}.input-group{background:#fff;border:1px solid #d6e0de;border-radius:14px;margin:12px 0;overflow:hidden;box-shadow:0 3px 14px #0a104508}.group-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;background:#fff;color:#0a1045;font-weight:800;padding:17px 16px;text-align:left;font-size:14px}.input-group.open .group-toggle{border-left:5px solid #1e584f;padding-left:11px}.group-toggle .chevron{font-size:20px;font-weight:400}.group-body{border-top:1px solid #e9eeed;padding:5px 14px 14px}.field{padding:12px 0;border-bottom:1px solid #edf1f0}.field:last-child{border-bottom:0}.field label,.field .field-label{display:block;font-size:13px;font-weight:700;line-height:1.3;margin-bottom:7px;color:#172752}.field-row{display:flex;align-items:center;gap:7px}.field input,.field select{min-width:0;width:100%;border:1px solid #c7d6e8;background:#edf4ff;border-radius:9px;padding:10px 11px;color:#0a1045;font-size:15px;font-weight:600;min-height:42px}.field input:focus,.field select:focus{background:#fff}.field .unit{min-width:max-content;font-size:13px;color:#4f5f60}.toggle-pair{display:grid;grid-template-columns:1fr 1fr;background:#edf0f1;border-radius:9px;padding:3px}.toggle-pair button{border:0;border-radius:7px;background:transparent;padding:9px;font-size:13px;font-weight:700;color:#465554}.toggle-pair button.selected{background:#00bf18;color:#071138}.field-error{display:block;color:#b52626;font-size:12px;margin-top:5px}.privacy-note{font-size:12px;line-height:1.5;color:#60706e;margin:24px 5px}.results{padding:29px 36px 60px;min-width:0}.section{scroll-margin-top:65px;margin-bottom:46px}.section-head{align-items:end;margin-bottom:18px}.section-head h1,.section-head h2{font-size:clamp(24px,2.2vw,32px);line-height:1.17;margin:0}.section-metric{font-size:14px;color:#56716c;font-weight:700;text-align:right}.notice{background:#eaf3ff;border:1px solid #cbdcef;border-radius:13px;padding:14px 17px;font-weight:700;font-size:14px;margin-bottom:18px}.notice.error{background:#fff0f0;color:#ad2323;border-color:#f1caca}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px}.kpi{background:#fff;border:1px solid #dbe2e5;border-left:5px solid var(--accent,#00bf18);border-radius:16px;padding:20px 17px;min-height:126px;box-shadow:0 8px 22px #0a10450a}.kpi .kpi-label{font-size:12px;color:#3e5654;font-weight:700;line-height:1.3}.kpi .kpi-value{font-size:clamp(22px,2.2vw,30px);font-weight:800;letter-spacing:-.04em;margin:13px 0 3px;font-variant-numeric:tabular-nums}.kpi .kpi-unit{font-size:12px;color:#63706f}.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:15px 0}.card{background:#fff;border:1px solid #dbe2e5;border-radius:17px;box-shadow:0 8px 22px #0a104508;overflow:hidden}.card-header{padding:18px 20px 13px;border-bottom:1px solid #e5ebed;align-items:center}.card-header h3,.table-card h3{font-size:17px;margin:0;line-height:1.3}.card-header .eyebrow{margin-bottom:5px}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.stat{padding:16px;border-right:1px solid #edf0f2;border-bottom:1px solid #edf0f2}.stat:nth-child(3n){border-right:0}.stat-label{color:#566969;font-size:12px;line-height:1.3;min-height:30px}.stat-value{font-size:17px;font-weight:800;margin-top:7px}.stat-unit{font-size:11px;font-weight:400;color:#617270}.section>.card{margin:15px 0}.legend{display:flex;align-items:center;gap:6px;font-size:12px;color:#526865;font-weight:600;white-space:nowrap}.legend i{width:10px;height:10px;border-radius:2px;margin-left:8px}.legend-before{background:#0a1045}.legend-after{background:#00bf18}.legend-heat{background:#0a1045}.legend-light{background:#00bf18}.chart-bars{display:flex;align-items:end;gap:8px;min-height:218px;padding:24px 20px 16px;overflow:hidden}.bar-group{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:end;height:178px}.bar-pair{width:100%;height:150px;display:flex;align-items:end;justify-content:center;gap:3px;border-bottom:1px solid #dae3e5}.bar{width:min(20px,42%);min-height:0;border-radius:4px 4px 0 0;background:#0a1045}.bar.secondary{background:#00bf18}.month-label{font-size:11px;color:#536663;margin-top:7px}.table-card{padding:18px 20px}.table-card h3{margin-bottom:14px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:13px}th,td{padding:10px 8px;border-bottom:1px solid #e8eeee;text-align:right}th:first-child,td:first-child{text-align:left}th{color:#516765;font-size:12px;font-weight:700;background:#f8fafb}tr.total td{font-weight:800;color:#0a1045;border-top:2px solid #b7c5c7;background:#f4f8f6}.money-list .money-row{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #e8eeee;font-size:13px}.money-list .money-row strong{white-space:nowrap;font-variant-numeric:tabular-nums}.money-list .money-row.total{font-weight:800;border-top:2px solid #b7c5c7;border-bottom:0;margin-top:4px;padding-top:14px}.model-source{color:#63706f;font-size:12px;margin:22px 0 0}@media(max-width:1200px){.brand img{width:175px}.brand-copy span{display:none}.top-actions #save-status{display:none}.results{padding:26px 24px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:850px){.topbar{height:auto;flex-wrap:wrap;padding:10px 16px}.brand img{max-width:none;width:154px;height:40px}.brand-copy{padding-left:14px}.brand-copy strong{font-size:18px}.top-actions{width:100%;overflow-x:auto;padding-bottom:3px}.button{font-size:12px;padding:8px 10px;min-height:36px}.page-nav{justify-content:flex-start;overflow-x:auto;gap:25px;padding:0 16px;white-space:nowrap}.workspace{display:block}.inputs-panel{position:static;height:auto;border-right:0;border-bottom:1px solid #dce2e7;padding:20px 16px}.results{padding:24px 16px}.kpi-grid{gap:9px}.kpi{padding:14px;min-height:106px}.card-grid{grid-template-columns:1fr}.section-head{align-items:start;flex-direction:column;gap:8px}.section-metric{text-align:left}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat:nth-child(3n){border-right:1px solid #edf0f2}.stat:nth-child(2n){border-right:0}}@media(max-width:470px){.brand-copy{display:none}.kpi .kpi-value{font-size:22px}.kpi .kpi-label{font-size:11px}.card-header{flex-direction:column;align-items:start}.chart-bars{gap:2px;padding:20px 9px 13px}.month-label{font-size:10px}.table-card{padding:15px 12px}}@media print{.topbar{box-shadow:none}.top-actions,.page-nav,.inputs-panel{display:none!important}.workspace{display:block}.results{padding:0}.section{break-inside:avoid;margin-bottom:24px}.card,.kpi{box-shadow:none}.chart-bars{break-inside:avoid}body{background:white}}
.field .field-optimum{font-weight:400;color:#657574;font-size:12px}
@media (min-width:1201px){.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@page{size:A4;margin:12mm 13mm}
@media print{
  :root,html,body{width:auto;background:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .topbar{height:auto;padding:0 0 12px;margin-bottom:16px;box-shadow:none}
  .brand img{width:145px;max-width:none;height:42px}
  .brand-copy strong{font-size:18px}
  .brand-copy span{display:block}
  .results{padding:0}
  .section{break-inside:auto;break-before:page;margin:0}
  .section:first-child{break-before:auto}
  .section-head,.kpi,.card,.card-grid,tr{break-inside:avoid}
  .section-head{margin-bottom:14px}
  .kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:12px}
  .kpi{min-height:104px;padding:13px 14px;box-shadow:none}
  .kpi .kpi-value{font-size:24px}
  .card,.card-grid{box-shadow:none}
  .card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}
  #details .card-grid{grid-template-columns:1fr}
  .card-header{flex-wrap:wrap;padding:12px 14px 10px}
  .card-header h3{font-size:15px}
  .card-header .legend{font-size:10px}
  .stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .stat{padding:11px}
  .stat:nth-child(2n){border-right:1px solid #edf0f2}
  .stat:nth-child(3n){border-right:0}
  .stat-label{min-height:0}
  .chart-bars{min-height:175px;padding:15px 14px 10px;break-inside:avoid}
  .bar-group{height:150px}
  .bar-pair{height:125px}
  .table-card{padding:12px 14px}
  .table-card h3{margin-bottom:8px}
  th,td{padding:6px 7px}
  thead{display:table-header-group}
  .money-list .money-row{padding:7px 0}
}
