.expense-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}.expense-summary article{padding:22px;background:linear-gradient(135deg,#071a2d,#103a5c);color:#fff;border-radius:16px}.expense-summary small,.expense-summary b{display:block}.expense-summary small{color:#a9c5d8;margin-bottom:10px}.expense-summary b{font-size:23px}.expense-layout{display:grid;grid-template-columns:minmax(340px,.85fr) minmax(0,1.4fr);gap:20px;align-items:start}.expense-form{position:sticky;top:92px}.expense-list h2,.expense-form h2{margin-top:0}.expense-list td small{display:block;color:var(--muted);margin-top:4px}.report-filter{display:flex;align-items:end;gap:14px;margin-bottom:34px}.report-filter label{margin:0;min-width:180px}.report-filter button{height:44px}.report-section{margin:38px 0}.report-section>h2{font-size:26px;margin-bottom:8px}.report-help{color:var(--muted);margin-top:0}.report-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.report-cards article{position:relative;padding:24px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 30px #12324b0a}.report-cards article>span{position:absolute;top:20px;right:20px;padding:5px 9px;border-radius:20px;background:#e7f4f9;color:var(--blue);font-size:12px;font-weight:850}.report-cards article>small,.report-cards article>b{display:block}.report-cards article>small{color:var(--muted);margin-bottom:8px}.report-cards article>b{font-size:28px}.report-cards dl{margin:22px 0 0}.report-cards dl>div{display:flex;justify-content:space-between;gap:18px;padding:9px 0;border-top:1px solid var(--line)}.report-cards dt{color:var(--muted)}.report-cards dd{margin:0;font-weight:750}.report-table-wrap{width:100%;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:16px}.report-table{min-width:650px}.report-table tr:last-child td{border-bottom:0}.aging-table{min-width:900px}.empty-state{padding:24px;color:var(--muted);background:#fff;border:1px dashed var(--line);border-radius:14px}
@media(max-width:900px){.expense-layout{grid-template-columns:1fr}.expense-form{position:static}.expense-summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.expense-summary,.report-cards{grid-template-columns:1fr}.report-filter{display:grid;grid-template-columns:1fr 1fr}.report-filter label{min-width:0}.report-filter button{grid-column:1/-1}.report-table-wrap{overflow:visible;border:0;background:transparent}.report-table,.report-table tbody,.report-table tr,.report-table td{display:block;width:100%;min-width:0}.report-table thead{display:none}.report-table tr{background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px 14px;margin-bottom:12px}.report-table td{display:flex;justify-content:space-between;gap:18px;padding:10px 0;border-bottom:1px solid var(--line);text-align:right;overflow-wrap:anywhere}.report-table td:last-child{border-bottom:0}.report-table td::before{content:attr(data-label);color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase;text-align:left;flex:0 0 105px}.report-table td b{text-align:right}.report-cards article>b{font-size:24px}}
@media print{.report-filter,.menu-toggle{display:none!important}.report-section{break-inside:avoid}.report-table-wrap{overflow:visible}.report-table{min-width:0}.expense-form{display:none}}
