#monthly-finance .monthly-finance-table{border-collapse:collapse;font-size:14px}
#monthly-finance .monthly-finance-table th,#monthly-finance .monthly-finance-table td{border:1px solid #dce6ef;padding:13px 16px;line-height:1.5}
#monthly-finance .monthly-finance-table thead th{background:#e9f4ff;color:#173c60;font-weight:700;text-align:center;min-width:175px;white-space:nowrap}
#monthly-finance .monthly-finance-table thead th:first-child{text-align:left;min-width:340px}
#monthly-finance .monthly-finance-table thead th:nth-child(3n){background:#e6f5ec}
#monthly-finance .monthly-finance-table thead th:nth-child(3n + 1):not(:first-child){background:#eee8fa}
#monthly-finance .monthly-finance-table tbody tr>*{background:#fff;color:#173c60}
#monthly-finance .monthly-finance-table tbody tr:nth-child(even)>*{background:#eaf0f7}
#monthly-finance .monthly-finance-table tbody tr.finance-receipts118 td{color:#246747;font-weight:700}
#monthly-finance .monthly-finance-table td{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
#monthly-finance .monthly-finance-table .finance-total>*{font-weight:700}
#monthly-finance .monthly-finance-table .finance-label71{display:flex;align-items:center;gap:12px}
#monthly-finance .finance-label71 svg{width:21px;height:21px;flex-shrink:0;color:#47758e}
#monthly-finance tr.finance-receipts118 .finance-label71 svg{color:#398a68}
#monthly-finance tr:has(th .finance-label71):nth-last-child(2) .finance-label71 svg{color:#8062ab}
#monthly-finance tr:last-child th{font-weight:650}
#monthly-finance .finance-detail th{padding-left:42px}
#monthly-finance .finance-detail .finance-label71::before{content:'└';color:#8294aa;font-weight:400}
#monthly-finance .finance-unavailable{color:#65758b;font-size:13px;font-weight:400}
#monthly-finance .monthly-finance-period label:first-child{background:#e9f4ff;border-color:#cce3f7}
#monthly-finance .monthly-finance-period label:nth-child(2){background:#eee8fa;border-color:#d5c8ed}
#monthly-finance .finance-method summary{color:#173c60}

/* Scope applies exclusively to the financial summary. */
#monthly-finance .monthly-finance-period{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch;margin-bottom:12px}
#monthly-finance .monthly-finance-period label{min-width:0;width:auto;margin:0;display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:12px 14px;border:1px solid #cce3f7;border-radius:8px}
#monthly-finance .monthly-finance-period input,#monthly-finance .monthly-finance-period select{width:100%;min-width:0;max-width:none;height:44px;min-height:44px;margin:0;background:#fff;font-size:14px;box-sizing:border-box}
#monthly-finance .monthly-finance-period select{padding-right:36px}
#monthly-finance .monthly-finance-period .finance-location120{background:#e6f6f4;border-color:#baddd9;color:#205d60}
#monthly-finance .monthly-finance-period .finance-group120{background:#f0ebfb;border-color:#d6caed;color:#514174}
#monthly-finance .finance-actions120{grid-column:1/-1;display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}
#monthly-finance .finance-actions120 button{grid-column:auto;margin:0;height:44px;min-height:44px;font-size:14px;background:#2874b5;border-color:#2874b5;color:#fff}
#monthly-finance #finance-clear120{background:#edf2f8;border-color:#d4dfeb;color:#385676}
#monthly-finance .finance-scope120{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}
#monthly-finance .finance-scope120 span{padding:6px 12px;border-radius:6px;background:#e6f6f4;color:#205d60;font-size:13px}
#monthly-finance .finance-scope120 span+span{background:#f0ebfb;color:#514174}
@media(max-width:600px){#monthly-finance .monthly-finance-period{grid-template-columns:1fr}#monthly-finance .finance-actions120 button{flex:1;width:auto}}
