.balance-controls,.economics-controls{flex-wrap:wrap;align-items:end}
#balanceYear,#economicsYear{max-width:110px;padding:10px;border:1px solid #d6e3df;border-radius:9px;font:inherit;background:#fff;color:#123d35}
.report-open,.report-toolbar button{padding:10px 14px;border:0;border-radius:9px;background:#103e35;color:#fff;font-weight:700;cursor:pointer}
.period-report-modal{position:fixed;inset:0;z-index:300;background:#dae5e1;overflow:auto;padding:24px;color:#173e35}
.period-report-modal.hidden{display:none}
.period-report-sheet{max-width:1280px;margin:auto;padding:28px;background:white;border-radius:12px;box-shadow:0 8px 32px #1234;font:13px/1.45 'Segoe UI',sans-serif}
.report-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;border-bottom:1px solid #dce6e2;padding-bottom:16px;margin-bottom:20px}
.period-report-sheet header span{color:#618b20;font-weight:bold;letter-spacing:.1em}
.period-report-sheet h1{font-size:25px;margin:7px 0}
.period-report-sheet h2{font-size:18px;margin-top:26px}
.period-report-sheet header p,.report-note{color:#5b706a;font-size:12px}
.report-table-wrap{overflow:auto}
.period-report-sheet table{width:100%;border-collapse:collapse;font-size:12px}
.period-report-sheet th,.period-report-sheet td{border:1px solid #d8e3de;padding:9px;text-align:right;vertical-align:top}
.period-report-sheet th:first-child{text-align:left;min-width:150px}
.period-report-sheet thead,.period-report-sheet tfoot{background:#eaf2e4;font-weight:700}
.period-report-sheet th small{display:block;font-weight:400}
.period-report-sheet input{width:100px;max-width:100%;padding:6px;border:1px solid #93ad9b;border-radius:5px;font:inherit;box-sizing:border-box}
.report-total{padding:14px;background:#eaf2e4;font-size:17px}
.report-estimate-status{padding:12px 14px;border:1px solid #c9ddba;border-radius:9px;background:#f0f7e9;color:#385a20}
.report-estimate-status.warning{border-color:#efd39c;background:#fff5df;color:#805a14}
.report-cost-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:9px;margin:14px 0}
.report-cost-summary>div{padding:12px;border-radius:9px;background:#f3f7f5}
.report-cost-summary span{display:block;color:#5b706a;font-size:11px}
.report-cost-summary b{display:block;margin-top:4px;font-size:16px}
.report-cost-summary .primary{background:#103e35;color:#fff}.report-cost-summary .primary span{color:#c5d8d2}
.period-report-sheet footer{border-top:1px solid #ccd9d0;padding-top:14px;color:#637b71;font-size:11px}
.report-print-only{display:none}
@media(max-width:700px){.period-report-modal{padding:6px}.period-report-sheet{padding:14px}.period-report-sheet h1{font-size:21px}}
@media print{
  @page{size:A4 landscape;margin:12mm}
  body.period-report-open{overflow:visible!important;background:white!important}
  body.period-report-open > :not(#periodReport){display:none!important}
  body.period-report-open #periodReport{position:static;overflow:visible;padding:0;background:white}
  .period-report-sheet{max-width:none;padding:0;box-shadow:none;border-radius:0;font-size:10px}
  .period-report-sheet h1{font-size:20px}.period-report-sheet h2{font-size:14px}
  .report-toolbar,.report-input-help,.period-report-sheet input{display:none!important}
  .report-print-only{display:inline}
  .report-table-wrap{overflow:visible}
  .period-report-sheet table{font-size:9px;table-layout:fixed}
  .period-report-sheet th,.period-report-sheet td{padding:5px;min-width:0;overflow-wrap:anywhere}
  .period-report-sheet th:first-child{min-width:0;width:20%}
  .period-report-sheet thead{display:table-header-group}
  .period-report-sheet tfoot{display:table-row-group}
  .period-report-sheet tr,.report-total{break-inside:avoid}
  .period-report-sheet h2{break-after:avoid}
  .report-note{font-size:9px}.report-total{font-size:13px}
}
