.date-range{display:flex;align-items:end;gap:7px}.date-range label,.dashboard-range label{display:grid;gap:3px;font-size:8px;font-weight:800}.date-range input,.dashboard-range input{height:34px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:0 8px;color:#294761}.dashboard-range{display:flex;gap:8px;background:#ffffff16;border:1px solid #ffffff40;border-radius:11px;padding:10px}.dashboard-range input{border-color:#ffffff60}.compact-ledger table{font-family:Arial,sans-serif;font-size:9px;line-height:1}.compact-ledger th{font-size:8px;padding:7px 9px}.compact-ledger td{font-size:9px;padding:7px 9px;line-height:1}.compact-ledger td:nth-child(3),.compact-ledger th:nth-child(3){text-align:right}.compact-ledger tfoot th{border-top:2px solid #294761;background:#f3f7f9}.debt-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}.debt-totals article{border:1px solid var(--line);border-radius:11px;padding:15px;background:#f8fbfc}.debt-totals span,.debt-totals strong,.debt-totals small{display:block}.debt-totals span{font-size:8px;letter-spacing:.1em;color:#73899a}.debt-totals strong{font-size:18px;color:#294761;margin:5px 0}.debt-totals small{font-size:8px;color:#8e9baa}.numbered-clients article{position:relative;align-items:center}.row-number{font-size:9px;font-weight:900;color:#159fc8}.delete-btn,.delete-project{border:1px solid #efc9ce;background:#fff5f6;color:#c74855;border-radius:7px;padding:6px 9px;font-size:8px;font-weight:800}.delete-btn{margin-left:auto}.project-groups{display:grid;gap:20px}.group-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.group-heading h3{font-size:13px;color:#294761;margin:0}.group-heading span{font-size:8px;background:#e8f5f9;color:#147e9f;border-radius:12px;padding:5px 8px}.payment-state{display:flex;justify-content:space-between;align-items:center;margin:0 0 11px}.payment-state b{font-size:8px;padding:5px 8px;border-radius:11px}.payment-state .paid{background:#e3f7f3;color:#0b8b74}.payment-state .unpaid{background:#fff0dc;color:#bd7627}.payment-state span{font-size:8px;color:#8393a1}.delete-project{width:100%;margin-top:12px}.standard-report{font-family:Arial,"Helvetica Neue",sans-serif;font-size:9px;line-height:1}.report-heading{display:flex;justify-content:space-between;align-items:end;margin:20px 0 14px}.report-heading h1{font-size:14px;letter-spacing:.08em;margin:0;color:#253f5c}.report-heading p{font-size:8px;margin:4px 0 0}.standard-report .profit-table td,.standard-report .profit-table th{font-size:9px;padding:7px 9px;line-height:1}.profit-table tr.section th{background:#eef3f6;color:#294761;border-top:1px solid #8ea0ad}.profit-table tr.subtotal td{font-weight:700;border-top:1px solid #7b8b98}.standard-report .report-projects,.standard-report .signature{font-size:8px;line-height:1}.standard-finance-doc{font-family:Arial,"Helvetica Neue",sans-serif;font-size:9px;line-height:1.15}.standard-finance-doc .doc-letterhead h2{font-size:15px}.standard-finance-doc .doc-letterhead p{font-size:8px}.standard-finance-doc .doc-title{margin:16px 0}.standard-finance-doc .doc-title h1{font-size:18px}.standard-finance-doc .doc-parties{padding:10px;gap:18px}.standard-finance-doc .doc-items th,.standard-finance-doc .doc-items td{font-size:8px;padding:6px 7px;line-height:1.15}.standard-finance-doc .doc-totals p,.standard-finance-doc .doc-terms,.standard-finance-doc .doc-terms p,.standard-finance-doc .doc-sign{font-size:8px;line-height:1.15}.action-modal{width:min(560px,95vw)}.payment-confirm{margin:0 22px 18px;background:#eff8fb;border:1px solid #d5e9f0;border-radius:9px;padding:13px;display:flex;justify-content:space-between}.payment-confirm span{font-size:9px;color:#6c8192}.payment-confirm strong{color:#147e9f}.dashboard-table.compact table{min-width:0}.dashboard-table.compact td{line-height:1;font-size:9px;padding:7px 10px}.dashboard-table.compact th{font-size:8px;padding:7px 10px}
@media(max-width:760px){.date-range,.dashboard-range{flex-direction:column;align-items:stretch}.debt-totals{grid-template-columns:1fr}.report-heading{align-items:stretch;flex-direction:column;gap:10px}.numbered-clients article{display:grid;grid-template-columns:25px 42px 1fr}.delete-btn{grid-column:1/-1;width:100%;margin:8px 0 0}}
@media print{.standard-report .date-range{display:none}.standard-report{font-size:8pt;line-height:1}.standard-finance-doc{font-size:8pt;line-height:1.1}}
