.payout-household{padding:24px}.payout-household-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:24px;margin-top:18px}.payout-household-grid>div{min-width:0}.payout-household-grid span,.payout-metrics span{font-size:12px;color:var(--text-muted,#67726d);display:block}.payout-household-grid strong{display:block;font-size:26px;line-height:1.4;font-variant-numeric:tabular-nums;letter-spacing:-.6px;margin:5px 0}.payout-household-grid strong.is-unconfirmed{font-size:22px;color:#64746b;letter-spacing:0}.payout-household-grid small,.payout-note,.payout-funding-note{font-size:12px;color:#768079;line-height:1.7}.payout-note{margin:12px 0 0}.payout-fund-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.payout-fund{padding:18px;text-align:left;border:1px solid #e5e9e5;border-radius:12px;background:#fafbf9}.payout-fund>strong{font-size:15px}.payout-fund dl{display:grid;grid-template-columns:1fr auto;gap:8px;margin:16px 0;font-size:14px}.payout-fund dt{color:#727d74}.payout-fund dd{font-variant-numeric:tabular-nums}.payout-fund small{font-size:11px;color:#738076}.payout-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:20px 0}.payout-metrics strong{display:block;font-size:24px;font-weight:600;font-variant-numeric:tabular-nums;margin-top:7px}.payout-metrics small{font-size:12px;color:#738076;font-weight:400}.payout-tabs{display:flex;border-bottom:1px solid #dde5df;gap:24px}.payout-tabs button{padding:12px 0 14px;min-height:44px;font-size:14px;color:#758076;border-bottom:2px solid transparent}.payout-tabs [aria-selected=true]{color:#355b45;border-color:#355b45;font-weight:600}.payout-workbench .ledger-page-heading{align-items:center}.payout-workbench .finance-actions{flex-wrap:wrap}.payout-order{background:#fff;border:1px solid #e3e8e3;border-radius:14px;padding:20px}.payout-order-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.payout-order-top h3{font-size:17px;font-weight:600;margin:8px 0 5px}.payout-order-top p,.payout-transfer p,.payout-bank-row p{font-size:12px;color:#6d786f;line-height:1.6}.payout-order-top>strong{font-size:24px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;margin-top:24px}.payout-status{font-size:11px;font-weight:500;color:#587263}.payout-order-bottom{border-top:1px solid #edf0eb;padding-top:14px;margin-top:16px;display:flex;justify-content:space-between;gap:12px;align-items:center}.payout-order-bottom>span{font-size:12px;line-height:1.7;color:#6d786f}.payout-order .finance-btn{flex-shrink:0}.payout-bank-controls{display:grid;grid-template-columns:1fr 2fr;gap:16px}.payout-bank-row{display:flex;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid #edf0eb}.payout-bank-row>div:first-child{min-width:0}.payout-bank-row>div:last-child{display:flex;align-items:flex-end;flex-direction:column;flex-shrink:0;gap:8px}.payout-bank-row strong{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.payout-bank-row small{font-size:11px;color:#829085;display:block;margin-top:5px}.payout-legacy p,.payout-legacy-row p{font-size:12px;color:#6f7870;margin:8px 0 12px;line-height:1.8}.payout-legacy-row{padding:16px 0;border-bottom:1px solid #edf0eb}.payout-legacy-row strong{font-size:14px;line-height:1.7}.payout-funding-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.payout-funding-fields .finance-field{margin:0;min-width:0}.payout-funding-fields .finance-field select{width:100%;min-height:44px}.payout-funding-note{grid-column:1/-1;margin:0}.payout-budget-field{grid-column:1/-1}.payout-origin{grid-column:1/-1;margin-bottom:8px}.payout-origin select{min-height:44px}.payout-select-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #edf0eb;cursor:pointer}.payout-select-row>span{flex:1;min-width:0}.payout-select-row strong{font-size:14px;line-height:1.6}.payout-select-row small{display:block;font-size:11px;color:#768279;margin-top:6px;line-height:1.6}.payout-select-row>strong{flex-shrink:0;font-variant-numeric:tabular-nums}.payout-select-row input{width:20px;height:20px;flex:0 0 auto;accent-color:#4e6f56}.payout-item-link{display:flex;width:100%;justify-content:space-between;text-align:left;gap:14px;padding:16px 0;border-bottom:1px solid #edf0eb;min-height:48px;font-size:14px;line-height:1.7}.payout-item-link small{display:block;font-size:11px;color:#738077;line-height:1.8}.payout-item-link>strong{white-space:nowrap;flex-shrink:0}.payout-order-payee{padding:20px;background:#f6f8f4;border-radius:12px}.payout-order-payee>span{display:block;font-size:12px;color:#68776b}.payout-order-payee>strong{display:block;font-size:21px;margin:8px 0;overflow-wrap:anywhere}.payout-order-payee p{font-size:14px;overflow-wrap:anywhere}.payout-order-payee small{font-size:12px;color:#68776b;display:block;margin-top:12px}.payout-transfer{padding:16px 0;border-bottom:1px solid #edf0eb}.payout-transfer strong{font-size:14px}.payout-transfer small{font-size:12px;color:#667669}.payout-transfer .finance-actions{margin-top:12px}.payout-manual{margin-top:18px;background:#fafbf9;padding:14px;border-radius:10px}.payout-manual summary{font-size:13px;cursor:pointer;min-height:32px}.payout-manual .ledger-check{font-size:13px;margin-top:8px}.payout-receipt-preview{max-height:260px;max-width:100%;margin:12px auto;object-fit:contain;display:block;border:1px solid #e3e8e3}.payout-profile{padding-top:18px;margin-top:18px;border-top:1px solid #edf0eb}.payout-profile h4,.payout-category-group h4,.payout-import-matches h4,#payout-selection h4{font-size:14px;font-weight:600;margin:12px 0}.payout-category-group{padding:12px 0;border-bottom:1px solid #edf0eb}.payout-category-group>div{display:flex;justify-content:space-between;gap:12px;line-height:2.3;font-size:14px}.payout-category-group small{font-size:12px;color:#778378}.payout-batch-line{padding:16px;background:#f9faf7;border:1px solid #e2e8e0;border-radius:12px;margin-bottom:12px}.payout-batch-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:13px}.payout-batch-head button{min-height:36px;padding:4px 8px;color:#8b6358;font-size:12px}.payout-import-matches{border-top:1px solid #e3e8e3;margin-top:18px;padding-top:14px}.payout-import-matches>p{font-size:12px;line-height:1.8;margin:8px 0}.smart-import-row>.payout-funding-fields,.smart-import-row>.payout-origin{grid-column:1/-1}.payout-funding-fields[hidden],.payout-funding-fields [hidden],[hidden].apply-category-fields,[hidden].smart-import-field-category{display:none!important}
@media(max-width:640px){.payout-household{padding:18px}.payout-household-grid{grid-template-columns:1fr 1fr;gap:18px 12px}.payout-household-grid>div:first-child{grid-column:1/-1;padding-bottom:12px;border-bottom:1px solid #edf0eb}.payout-household-grid strong{font-size:21px;letter-spacing:-.3px}.payout-household-grid small{font-size:10px}.payout-fund-grid{grid-template-columns:1fr}.payout-metrics{gap:8px;padding:12px 0}.payout-metrics strong{font-size:19px;letter-spacing:-.4px}.payout-metrics span{font-size:11px}.payout-workbench .ledger-page-heading{align-items:flex-start;gap:12px}.payout-workbench .ledger-page-heading>.finance-actions{max-width:230px;justify-content:flex-end;gap:8px}.payout-workbench .ledger-page-heading .finance-btn{padding:9px 11px;font-size:12px}.payout-order{padding:16px}.payout-order-top h3{font-size:16px}.payout-order-top>strong{font-size:21px}.payout-order-bottom{align-items:flex-end}.payout-bank-controls{grid-template-columns:1fr}.payout-bank-row{gap:10px}.payout-bank-row>div:last-child{max-width:120px}.payout-bank-row strong{font-size:13px}.payout-item-link{font-size:13px}.payout-select-row{gap:10px}.payout-select-row strong{font-size:13px}.payout-funding-fields{gap:10px}.payout-origin select{font-size:13px}.payout-fund dl{font-size:14px}.payout-note{font-size:11px}.payout-transfer .finance-actions{flex-wrap:wrap}.payout-profile input{font-size:16px}.payout-batch-line .finance-grid{grid-template-columns:1fr 1fr}.finance-modal-body .payout-metrics{margin:16px 0}}
@media(max-width:640px){.finance-modal-foot{flex-wrap:wrap;gap:10px}.finance-modal-foot .finance-btn{flex:1 1 135px;min-width:128px;min-height:44px}}

.payout-funding-fields>.finance-field:first-of-type{grid-column:1/-1}.payout-funding-fields input[type=search]{min-height:40px;margin-bottom:6px}.payout-household-grid .ledger-text-button{font-size:12px;min-height:24px;text-align:left}.payout-order-payee .finance-actions{flex-wrap:wrap}.payout-order-payee .finance-btn{font-size:12px;min-height:40px}
.payout-household{grid-column:1/-1}.finance-modal-body .payout-profile{overflow-wrap:anywhere}

/* A legend precedes the purpose label: span the field, not the first child. */
.payout-funding-fields > .finance-field { min-width: 0; width: 100%; }
.payout-funding-fields > .payout-funding-details { min-width: 0; width: 100%; }
.payout-purpose-empty { grid-column: 1 / -1; padding: 10px 12px; border: 1px solid #e6d1a7; border-radius: 9px; background: #fff8ea; color: #805315; font-size: 13px; line-height: 1.65; }
.payout-purpose-empty[hidden] { display: none !important; }
.payout-purpose-results-count { display: block; margin-top: 6px; color: #58675e; font-size: 12px; line-height: 1.6; }
.payout-purpose-search { display: flex; align-items: center; gap: 8px; min-width: 0; }
.payout-purpose-search > input { flex: 1 1 0; min-width: 0; width: 0; min-height: 44px; }
.payout-purpose-search > button { flex: 0 0 auto; min-width: 44px; min-height: 44px; padding-inline: 8px; font-size: 13px; }
.payout-funding-choice-note { margin: 12px 14px; color: #58675e; font-size: 13px; line-height: 1.65; }
.payout-funding-details > button.ledger-text-button { min-height: 44px; margin: 0 14px 12px; text-align: left; white-space: normal; justify-content: flex-start; }
.payout-evidence-summary { min-width: 0; padding: 16px; margin-bottom: 16px; border: 1px solid #dce6de; border-radius: 12px; background: #f5f8f2; font-size: 14px; line-height: 1.7; }
.payout-evidence-summary dl,
dl.payout-evidence-summary { display: grid; grid-template-columns: minmax(76px, .65fr) minmax(0, 1.35fr); gap: 8px 14px; }
.payout-evidence-summary dt { color: #58675e; font-size: 13px; }
.payout-evidence-summary dd { margin: 0; overflow-wrap: anywhere; color: #294334; font-variant-numeric: tabular-nums; }
.payout-evidence-edit { min-width: 0; padding: 0 14px; margin-block: 14px; border: 1px solid #e2e7e3; border-radius: 10px; background: #fff; }
.payout-evidence-edit > summary { min-height: 44px; padding-block: 11px; color: #365642; font-size: 14px; font-weight: 600; cursor: pointer; }
.payout-evidence-edit[open] > summary { margin-bottom: 12px; border-bottom: 1px solid #e2e7e3; }
.payout-evidence-issues { margin-block: 12px; padding: 12px 14px; border: 1px solid #e6cda7; border-radius: 10px; background: #fff7e8; color: #805315; font-size: 13px; line-height: 1.75; }
.payout-evidence-issues:empty,
.payout-evidence-issues[hidden] { display: none !important; }
@media (max-width:1023.98px) {
  .payout-funding-fields { grid-template-columns: minmax(0, 1fr); }
  .payout-funding-fields > .finance-field,
  .payout-funding-fields > .payout-funding-details { grid-column: 1 / -1; }
  .payout-funding-fields input[type="search"],
  .payout-funding-fields .finance-field select { min-height: 46px; }
  .payout-batch-head { flex-wrap: wrap; gap: 6px 10px; }
  .payout-evidence-summary { padding: 14px; }
}
