/* Single owner for invoice receipt-history cards. No legacy row class. */
.invoice-payment-history:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){display:grid;gap:20px;min-width:0}
.invoice-payment-history section:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){display:grid;gap:8px;min-width:0}
.invoice-payment-history h3:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){margin:0;font-size:15px;line-height:1.4;color:var(--tv-text,#18344b)}
.invoice-payment-history-row:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;border:1px solid var(--tv-border,#d6e0e8);border-radius:10px;background:var(--tv-surface,#fff);font-size:14px;line-height:1.5;min-width:0}
.invoice-payment-history-row>div:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
.invoice-payment-history-row>div>span:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){font-size:13px;color:var(--tv-text-muted,#566b7c)}
.invoice-payment-history-row>strong:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere;min-width:0}
.invoice-payment-history-row>button:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){grid-column:1/-1;justify-self:start;max-width:100%;white-space:normal}
@media(max-width:600px){.invoice-payment-history-row:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){grid-template-columns:minmax(0,1fr);gap:10px}.invoice-payment-history-row>strong:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){justify-self:start;text-align:left}.invoice-payment-history-row>button:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){width:100%}}

.tv-invoice-record-layout:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:20px;min-width:0;align-items:start;}
.tv-invoice-record-content:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)),.tv-invoice-record-governance:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){display:grid;gap:16px;min-width:0;}
.tv-invoice-record-layout .editor-card:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){min-width:0;margin:0;padding:16px;border:1px solid var(--invoice-line,var(--tv-border));border-radius:10px;background:var(--tv-surface,#fff);box-shadow:none;}
.tv-invoice-record-layout .editor-card h2:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid var(--invoice-line,var(--tv-border));font-size:13px;letter-spacing:.04em;text-transform:uppercase;}
.invoice-record-eligibility:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)),.invoice-record-account:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){display:grid;gap:4px;padding:10px 0;border-bottom:1px solid var(--invoice-line,var(--tv-border));overflow-wrap:anywhere;}
.invoice-record-eligibility span:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)),.invoice-record-account>span:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){font-size:12px;color:var(--invoice-muted,var(--tv-text-muted));}
.tv-invoice-record-governance .btn:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){margin-top:12px;max-width:100%;white-space:normal;}
@media(max-width:900px){.tv-invoice-record-layout:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){grid-template-columns:minmax(0,1fr);}}
@media(max-width:540px){.tv-invoice-record-layout .editor-card:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){padding:12px;}}
.invoice-record-profile:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 24px;margin:0;}
.invoice-record-profile-field:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){min-width:0;}
.invoice-record-profile dt:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){font-size:12px;color:var(--invoice-muted,var(--tv-text-muted));margin:0 0 5px;}
.invoice-record-profile dd:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){margin:0;font-size:14px;font-weight:600;line-height:1.5;text-align:left;word-break:normal;overflow-wrap:break-word;}
@media(max-width:900px){.invoice-record-profile:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:540px){.invoice-record-profile:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){grid-template-columns:minmax(0,1fr);gap:14px;}}
.invoice-record-lines-scroll:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){max-width:100%;overflow-x:auto;border:1px solid var(--invoice-line,var(--tv-border));border-radius:8px;}
.invoice-record-lines-scroll:focus-visible:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){outline:2px solid var(--tv-brand);outline-offset:3px;}
.invoice-record-lines:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){width:100%;min-width:1100px;border-collapse:collapse;font-size:13px;line-height:1.5;}
.invoice-record-lines th:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)),.invoice-record-lines td:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--invoice-line,var(--tv-border));}
.invoice-record-lines th:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){background:var(--tv-surface-cool,#f8fafc);font-size:11px;letter-spacing:.04em;text-transform:uppercase;}
.invoice-record-lines td:nth-child(2):where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){min-width:250px;max-width:350px;white-space:normal;overflow-wrap:break-word;}
.invoice-record-lines .number-cell:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;}
.invoice-record-lines tr:last-child td:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){border-bottom:0;}
@media(max-width:540px){
 .invoice-record-lines-scroll:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){overflow-x:visible;border:0;}
 .invoice-record-lines:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){display:block;min-width:0;width:100%;}
 .invoice-record-lines thead:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
 .invoice-record-lines tbody:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){display:grid;gap:12px;}
 .invoice-record-lines tr:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){display:grid;min-width:0;border:1px solid var(--invoice-line,var(--tv-border));border-radius:8px;padding:10px;}
 .invoice-record-lines td:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)),.invoice-record-lines td:nth-child(2):where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)),.invoice-record-lines .number-cell:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){display:grid;gap:4px;padding:8px 0;min-width:0;max-width:none;text-align:left;white-space:normal;overflow-wrap:anywhere;}
 .invoice-record-lines td:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *))::before{content:attr(data-label);font-size:11px;color:var(--invoice-muted,var(--tv-text-muted));font-weight:600;}
}
