.expense-month-nav{display:flex;align-items:center;justify-content:center;gap:20px;margin:12px 0 16px}.expense-month-nav strong{font-size:20px;text-transform:capitalize}.expense-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:16px}.expense-kpis>a,.expense-kpis>div{display:flex;min-width:0;flex-direction:column;gap:5px;padding:15px;background:#fff;border:1px solid var(--line);border-radius:9px;color:inherit}.expense-kpis span{font-size:12px;color:#64748b;text-transform:uppercase}.expense-kpis strong{font-size:22px;overflow-wrap:anywhere}.expense-kpis small{color:#64748b}.expense-kpis .negative strong{color:#b91c1c}.expense-kpis .owner-debt{border-left:4px solid #d97706}.expense-matrix{margin-bottom:16px}.expense-matrix table{font-size:12px}.expense-matrix th,.expense-matrix td{white-space:nowrap;text-align:right}.expense-matrix th:first-child{text-align:left;position:sticky;left:0;background:#fff}.expense-matrix .total{background:#f1f5f9;font-weight:700}.expense-analysis-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.expense-analysis-grid h2,.expense-chart h2{margin-top:0}.expense-analysis-grid table{width:100%}.expense-chart-row{display:grid;grid-template-columns:65px minmax(200px,1fr) 250px;gap:12px;align-items:center;margin:10px 0}.expense-chart-row>div{display:grid;gap:3px}.expense-chart-row i{display:block;height:6px;min-width:1px;border-radius:999px}.expense-chart-row .income,.chart-legend .income:before{background:#15803d}.expense-chart-row .spent,.chart-legend .spent:before{background:#d97706}.expense-chart-row .result,.chart-legend .result:before{background:#2563eb}.expense-chart-row .result.negative{background:#b91c1c}.chart-legend{display:flex;gap:16px;font-size:12px;color:#64748b}.chart-legend span:before{content:"";display:inline-block;width:9px;height:9px;margin-right:5px;border-radius:50%}.expense-filters{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));gap:10px;align-items:end;margin-bottom:14px}.expense-filters label{display:grid;gap:4px;font-size:12px;color:#64748b}.expense-filters .actions{grid-column:1/-1}.expense-registry{table-layout:fixed;width:100%}.expense-registry th:nth-child(1){width:8%}.expense-registry th:nth-child(2){width:15%}.expense-registry th:nth-child(3){width:10%}.expense-registry th:nth-child(4){width:15%}.expense-registry th:nth-child(5){width:12%}.expense-registry th:nth-child(6){width:12%}.expense-registry th:nth-child(7){width:18%}.expense-registry th:nth-child(8){width:10%}.expense-registry td{overflow-wrap:anywhere}.expense-comment{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.expense-form{display:grid;gap:15px}.allocation-editor{border:1px solid var(--line);border-radius:8px;padding:14px}.allocation-editor legend{font-weight:700}.allocation-mode ul,.city-choice-list ul{display:flex;flex-wrap:wrap;gap:10px 18px;list-style:none;margin:0 0 12px;padding:0}.allocation-mode label,.city-choice-list label{display:flex;gap:6px;align-items:center}.city-amount-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.city-amount-grid>div{display:grid;gap:4px}.allocation-total{margin-top:12px;padding:10px;background:#f8fafc;border-radius:6px}.owner-reimbursement,.archive-expense{margin-top:16px}.category-tree{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.category-group{padding:12px;border:1px solid var(--line);border-radius:8px}.category-group ul{margin:9px 0 0;padding-left:20px}.narrow-form{max-width:650px}.narrow-form p{display:grid;gap:5px}@media(max-width:1000px){.expense-kpis{grid-template-columns:repeat(2,1fr)}.expense-analysis-grid{grid-template-columns:1fr}.expense-filters{grid-template-columns:repeat(3,1fr)}.category-tree{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.expense-kpis,.expense-filters,.category-tree,.city-amount-grid{grid-template-columns:1fr}.expense-chart-row{grid-template-columns:55px 1fr}.expense-chart-row>span{grid-column:2}.expense-registry{min-width:850px}}
