/* T-STRIPE-CONNECT: Stripe card (Integrations), payment requests and the account Billing tab. */
#dfPayments{grid-column:1/-1}
.dfp-accept{display:flex;gap:8px;align-items:flex-start;font-size:13px;line-height:1.4;margin:6px 0}
.dfp-accept input{margin-top:2px}
.dfp-requests{width:100%;margin-top:14px}
.dfp-requests h4{margin:0 0 6px;font-size:14px}
.dfp-list{list-style:none;margin:0;padding:0;width:100%}
.dfp-list li{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 0;border-top:1px solid #eef1f5}
.dfp-list li>div{flex:1 1 260px;min-width:0;overflow-wrap:anywhere}
.dfp-list small{display:block;color:var(--muted,#657083);margin-top:3px}
.dfp-docs{border:1px solid #e3e8ef;border-radius:8px;padding:8px 12px;margin:10px 0;max-height:200px;overflow:auto}
.dfp-docs legend{font-size:13px;font-weight:700;padding:0 4px}
.dfp-doc{display:flex;gap:8px;align-items:center;font-size:13px;min-height:32px;overflow-wrap:anywhere}
.dfp-summary{font-size:13px;color:#342eaa;min-height:1em}
/* Portal home (portal-payments.js). */
.tdp-pay-list{list-style:none;margin:0;padding:0}
.tdp-pay{padding:12px 0;border-top:1px solid #eef1f5}
.tdp-pay:first-child{border-top:0}
.tdp-pay small{display:block;color:#657083;margin-top:3px}
.tdp-pay-amount{font-weight:700}
.tdp-pay-locked,.tdp-pay-note{font-size:13px;color:#526070;margin:6px 0;line-height:1.45}
.tdp-pay-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.tdp-pay-actions .btn{min-height:44px}
.tdp-pay-done{margin:10px 0;font-size:14px}
.dfp-methods{max-height:none}
.dfp-techfee h4{margin:0 0 6px;font-size:14px}
.tdp-card-step{margin-top:10px;padding:12px;border:1px solid #e3e8ef;border-radius:8px}
.tdp-card-element{min-height:120px;margin:8px 0}
.tdp-card-step [hidden],.tdp-card-step[hidden]{display:none!important}
/* T-INVOICES: Billing header, sub-tabs, invoice form and printable invoice. */
.dfv-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:10px 0 14px}
.dfv-summary>div{border:1px solid #dfe5ee;border-radius:10px;padding:10px 14px;background:#fff}
.dfv-summary small{display:block;color:#5b6678;font-size:12px}
.dfv-summary strong{font-size:18px}
.dfv-tabs{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid #dfe5ee;margin:14px 0 10px}
.dfv-tabs button{background:none;border:0;border-bottom:3px solid transparent;padding:8px 12px;font:inherit;cursor:pointer;color:#3c4656}
.dfv-tabs button.active{border-bottom-color:#342eaa;color:#1d2533;font-weight:600}
.dfv-tabs button:focus-visible{outline:2px solid #342eaa;outline-offset:2px}
.dfv-table,.dfv-lines{width:100%;border-collapse:collapse;font-size:14px}
.dfv-table th,.dfv-table td,.dfv-lines th,.dfv-lines td{border-bottom:1px solid #e8ecf2;padding:8px 6px;text-align:left;vertical-align:top}
.dfv-table .num,.dfv-lines .num{text-align:right;white-space:nowrap}
.dfv-row-actions{display:flex;flex-wrap:wrap;gap:4px;justify-content:flex-end}
.dfv-neg{color:#a52a21;font-weight:600}.dfv-pos{color:#1d7a3e;font-weight:600}
.dfv-form,.td-dialog.dfv-form{max-width:900px;width:min(900px,96vw);box-sizing:border-box}
.dfv-scroll{overflow-x:auto;max-width:100%}
.dfv-form .field input,.dfv-form .field select,.dfv-form .field textarea{max-width:100%;box-sizing:border-box}
.dfv-kind{display:flex;gap:18px;border:0;padding:0;margin:0 0 10px}
.dfv-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.dfv-edit input{width:100%;min-width:70px;box-sizing:border-box}
.dfv-edit td:first-child{min-width:160px}
.dfv-edit td:nth-child(2) input{min-width:130px}
.dfv-totals{display:grid;grid-template-columns:1fr auto;gap:4px 18px;max-width:320px;margin:10px 0 10px auto}
.dfv-totals dt{color:#5b6678}.dfv-totals dd{margin:0;text-align:right}
.dfv-totals .dfv-total{font-weight:700;color:#1d2533}
.dfv-form [hidden],.dfv-view [hidden]{display:none!important}
.dfv-view,.td-dialog.dfv-view{max-width:820px;width:min(820px,96vw);box-sizing:border-box}
.dfv-view .dfv-doc{overflow-x:auto}
.dfv-view>header{display:flex;justify-content:space-between;align-items:center;gap:10px}
.dfv-doc{background:#fff;color:#1d2533;padding:8px 2px}
.dfv-doc-head{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-bottom:12px}
.dfv-doc-head>div strong{display:block;font-size:20px}
.dfv-doc-head dl{display:grid;grid-template-columns:auto auto;gap:2px 12px;margin:0;font-size:14px}
.dfv-doc-head dt{color:#5b6678}.dfv-doc-head dd{margin:0}
.dfv-desc,.dfv-note{white-space:pre-wrap}
.dfv-paid{color:#1d7a3e;font-weight:600}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
@media (max-width:640px){.dfv-table thead{display:none}.dfv-table tr{display:block;border-bottom:1px solid #e8ecf2;padding:6px 0}.dfv-table td{display:block;border:0;padding:2px 0}.dfv-row-actions{justify-content:flex-start}}
@media print{body>*:not(.dfv-print-root){display:none!important}.dfv-print-root{position:static!important;background:none!important}.dfv-print-root .td-dialog{box-shadow:none!important;max-width:none!important;width:auto!important}.dfv-noprint{display:none!important}}
