.finance-page .standalone-heading { align-items:flex-end; flex-wrap:wrap; }
.finance-page .standalone-heading > div:first-child { flex:1 1 360px; }
.finance-page .standalone-actions { flex-shrink:0; }
.finance-page .standalone-heading h1 { font-size:35px; }
.finance-page .standalone-heading > div > p:last-child { line-height:1.6; }
.finance-page .charge-summary { margin:24px 0; }
.finance-page .charge-summary article { padding:22px 20px; border-radius:17px; }
.finance-page .charge-summary small { font-size:13px; text-transform:none; }
.finance-page .charge-summary strong { margin-top:12px; font-size:27px; line-height:1.2; }
.finance-page .charge-summary article > span { display:block; margin-top:8px; color:var(--muted); font-size:12px; line-height:1.5; }
.finance-page .charge-summary .charge-featured { background:#181818; border-color:#181818; }
.finance-page .charge-featured small,.finance-page .charge-summary .charge-featured > span { color:#cfbf9a; }
.finance-page .charge-featured strong { color:#efc65b; }
.finance-page .charge-overdue strong { color:#983d3d; }
.finance-page-toolbar { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:16px; margin:0 0 20px; }
.finance-page-toolbar .filters { flex-wrap:wrap; gap:3px; }
.finance-page-toolbar .filter { padding:10px 13px; font-size:15px; }
.finance-page-filters { display:flex; align-items:flex-end; gap:14px; flex-wrap:wrap; }
.finance-page-filters label,.finance-category-form label { display:grid; gap:7px; color:var(--muted); font-size:13px; font-weight:700; }
.finance-page-filters select,.finance-category-form input:not([type="hidden"]) { min-height:46px; min-width:170px; border:1px solid var(--line); border-radius:11px; background:#fff; color:var(--ink); padding:10px 12px; font:400 16px "DM Sans",sans-serif; }
.finance-page-filters select:focus,.finance-category-form input:focus { outline:none; border-color:var(--brand); box-shadow:0 0 0 3px rgba(216,165,47,.18); }
.finance-page-table th { font-size:11px; padding:14px; }
.finance-page-table td { font-size:14px; padding:16px 14px; }
.finance-page-table td small { font-size:12px; line-height:1.6; }
.finance-page-table td:first-child { min-width:190px; max-width:300px; white-space:normal; overflow-wrap:anywhere; }
.finance-page-table .report-status,.finance-category-list .report-status { font-size:12px; padding:6px 10px; }
.finance-page-table .secondary-button { min-height:38px; padding:8px 12px; font-size:13px; }
.finance-page-table .charge-row-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; }
.finance-page-table th:last-child { text-align:right; }
.finance-page-table td:last-child { text-align:right; }
.finance-page-table a.secondary-button { display:inline-flex; align-items:center; justify-content:center; text-decoration:none; }
.recurrence-description { min-width:220px; max-width:300px; white-space:normal !important; overflow-wrap:anywhere; line-height:1.6; }
.recurrence-amount { font-variant-numeric:tabular-nums; }
.finance-page .report-card-heading p:last-child:not(.eyebrow) { margin:7px 0 0; color:var(--muted); font-size:14px; line-height:1.6; }
.finance-page .report-card-heading { padding:20px; }
.finance-page-note { margin:0 0 22px; padding:14px 16px; border-left:4px solid var(--brand); border-radius:0 10px 10px 0; background:#fff9e9; color:#5b5548; font-size:14px; line-height:1.6; }
.finance-category-panel { margin-top:26px; }
.finance-category-panel .report-card-heading { flex-wrap:wrap; align-items:center; }
.finance-category-panel .report-card-heading > div { flex:1 1 320px; }
.finance-category-panel .report-card-heading > button { flex-shrink:0; }
.finance-category-load-error { margin:16px 20px; }
#revenueCategoryName { font-size:16px; min-height:46px; }
.finance-category-form { display:flex; align-items:flex-end; gap:12px; padding:20px; background:#fafaf8; border-bottom:1px solid var(--line); }
.finance-category-form label { flex:1; min-width:0; }
.finance-category-form input:not([type="hidden"]) { width:100%; min-width:0; }
.finance-category-form button { flex-shrink:0; }
.finance-category-list article { display:grid; grid-template-columns:minmax(0,1fr) 90px auto; align-items:center; gap:20px; padding:18px 20px; border-bottom:1px solid #efeee9; }
.finance-category-list article:last-child { border-bottom:0; }
.finance-category-list strong { font-size:15px; overflow-wrap:anywhere; }
.finance-category-list .row-actions { display:flex; align-items:center; gap:8px; }
.finance-category-list .secondary-button { min-height:38px; font-size:13px; padding:8px 12px; }
.finance-category-empty { padding:24px 20px; margin:0; color:var(--muted); font-size:14px; }
@media (max-width:1100px) {
  .finance-page .charge-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px) {
  .finance-page .standalone-heading h1 { font-size:28px; }
  .finance-page .standalone-heading > div:first-child { flex-basis:auto; }
  .finance-page .standalone-actions { width:100%; flex-wrap:wrap; }
  .finance-page .standalone-actions > label { flex:1 1 100%; }
  .finance-page .month-control span { display:block; }
  .finance-page .standalone-actions input { width:100%; min-width:0; }
  .finance-page .standalone-actions > a { flex:1; }
  .finance-page .charge-summary { gap:10px; }
  .finance-page .charge-summary article { padding:17px 14px; }
  .finance-page .charge-summary strong { font-size:23px; }
  .finance-page-toolbar,.finance-page-filters { width:100%; }
  .finance-page-filters { gap:12px; }
  .finance-page-filters label { flex:1 1 100%; min-width:0; }
  .finance-page-filters select { width:100%; min-width:0; }
  .finance-page-toolbar .filter { font-size:14px; }
  .finance-category-form { flex-wrap:wrap; padding:16px; }
  .finance-category-form label { flex-basis:100%; }
  .finance-category-form button { flex:1; }
  .finance-category-list article { grid-template-columns:minmax(0,1fr) auto; gap:12px; padding:16px; }
  .finance-category-list .row-actions { grid-column:1 / -1; }
}
@media print {
  .finance-page-toolbar,.finance-category-form,.finance-category-list .row-actions { display:none; }
}
