.accounting-tabs{display:flex;gap:6px;margin:0 0 14px;flex-wrap:wrap}.accounting-tabs .button.active{background:var(--accent,#7c3aed);color:#fff}.accounting-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px;background:var(--surface,#fff);border:1px solid var(--line,#eee);border-radius:16px;margin:12px 0 18px}.accounting-filters .field{min-width:0}.accounting-filters .field input,.accounting-filters .field select{width:100%;box-sizing:border-box}.accounting-generate{display:flex;align-items:center;gap:10px;flex-wrap:wrap;grid-column:1/-1}.accounting-notes{padding:0 20px 18px;line-height:1.65}.accounting-notes p{margin:10px 0}.accounting-clear{padding:12px 16px;border-radius:12px;background:#ecfdf5;color:#166534;margin:16px 0}.accounting-filters .help{font-size:12px;line-height:1.45}.accounting-tabs+ .page-heading{margin-top:0}@media(max-width:900px){.accounting-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:10px}}@media(max-width:480px){.accounting-filters{grid-template-columns:1fr}.accounting-generate .button{width:100%}.accounting-tabs .button{flex:1}.accounting-notes{padding:0 14px 14px}}

.accounting-bas-figures table{min-width:0;width:100%}.accounting-bas-figures th,.accounting-bas-figures td{white-space:normal}.accounting-bas-figures td:not(:first-child){white-space:nowrap}@media(max-width:480px){.accounting-bas-figures th,.accounting-bas-figures td{padding:10px 8px;font-size:11px}.accounting-bas-figures td:first-child{max-width:120px}}

.accounting-summary-table table{min-width:0;width:100%}.accounting-summary-table th,.accounting-summary-table td{white-space:normal}.accounting-summary-table td:last-child{white-space:nowrap}@media(max-width:480px){.accounting-summary-table th,.accounting-summary-table td{padding:10px 8px}}
.financial-sections{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 16px;padding:8px;background:var(--surface,#fff);border:1px solid var(--line,#e9e7ef);border-radius:14px}.financial-sections .button{font-size:12px;padding:9px 12px;white-space:normal}.financial-sections .button.active,.financial-sections .button.active:hover{background:var(--app-accent,#7c3aed);border-color:var(--app-accent,#7c3aed);color:var(--app-accent-ink,#fff)}.financial-summary table{min-width:0;width:100%}.financial-summary td:last-child,.financial-summary th:last-child{text-align:right;white-space:nowrap}.financial-summary tr:last-child td{font-weight:700;border-top:2px solid var(--line,#e9e7ef)}.financial-trend{padding:12px 20px 22px;max-height:350px;overflow:auto}.financial-trend-row{display:grid;grid-template-columns:65px minmax(60px,1fr) 110px;align-items:center;gap:12px;font-size:12px;margin:12px 0}.financial-trend-row>small{text-align:right}.financial-bars{display:grid;gap:4px}.financial-bars i{height:9px;display:block;border-radius:4px;background:var(--accent,#7c3aed);min-width:1px}.financial-bars i.cost{background:#0f9a94}.financial-scope{padding:16px;background:var(--surface,#fff);border:1px solid var(--line,#e9e7ef);border-radius:14px;line-height:1.6;margin-top:18px}.financial-scope summary{cursor:pointer;font-weight:650}.financial-scope p{font-size:13px;color:var(--muted,#6b7280)}.financial-print-heading{display:none}@media(max-width:480px){.financial-sections .button{flex:1 1 calc(50% - 6px);font-size:11px}.financial-summary td,.financial-summary th{font-size:12px;padding:10px}.financial-summary td:first-child{white-space:normal}.financial-trend{padding:8px 12px 16px}.financial-trend-row{grid-template-columns:53px minmax(30px,1fr) 85px;gap:6px;font-size:10px}.financial-scope{padding:12px}.accounting-tabs .button{padding:10px 7px;font-size:12px}}
@media print{body.printing-financial-report{background:#fff!important}.printing-financial-report body,.printing-financial-report #app{display:block!important}body.printing-financial-report *{visibility:hidden}.printing-financial-report #financial-print-area,.printing-financial-report #financial-print-area *{visibility:visible}.printing-financial-report #financial-print-area{position:absolute;left:0;top:0;width:100%;background:white;color:#111;font-size:10pt}.printing-financial-report .financial-print-heading{display:block!important}.printing-financial-report .financial-print-heading h1{font-size:18pt}.printing-financial-report .financial-sections,.printing-financial-report [data-act],.printing-financial-report .financial-scope{display:none!important}.printing-financial-report .card,.printing-financial-report .stats{box-shadow:none;border:1px solid #ddd;break-inside:avoid}.printing-financial-report .table-wrap{overflow:visible!important}.printing-financial-report table{min-width:0!important;width:100%!important;font-size:9pt}.printing-financial-report td,.printing-financial-report th{white-space:normal!important;padding:6px!important}.printing-financial-report .financial-trend{max-height:none;overflow:visible}@page{size:A4;margin:12mm}}

.financial-filter-panel>summary{cursor:pointer;font-size:12px;color:var(--muted,#6b7280);padding:11px 14px;background:var(--surface,#fff);border:1px solid var(--line,#e9e7ef);border-radius:10px;margin:0 0 12px;line-height:1.5}.financial-filter-panel[open]>summary{margin-bottom:0}.financial-filter-panel .accounting-filters{margin-top:8px}.financial-filter-panel:not([open]){margin-bottom:16px}

.financial-print-notes{display:none}@media print{.printing-financial-report .stats{grid-template-columns:repeat(3,minmax(0,1fr));border:0}.printing-financial-report .stat{padding:12px}.printing-financial-report .stat strong{font-size:20px;margin-top:9px}.printing-financial-report .financial-print-notes{display:block;margin-top:16px;border-top:1px solid #ddd;padding-top:8px}.printing-financial-report .financial-print-notes h2{font-size:11pt}.printing-financial-report .financial-print-notes p{font-size:8pt;line-height:1.45;margin:6px 0;color:#444}}
