.qbdp-payment-search{display:flex;align-items:stretch;gap:10px;width:100%;margin:16px 0}.qbdp-payment-search input{box-sizing:border-box;min-width:0;flex:1;border:1px solid #cbd5e1;border-radius:8px;padding:12px 14px;font:inherit;background:#fff;color:#172b45}.qbdp-payment-search button,.qbdp-payment-filter-options button,.qbdp-view-payment{border:1px solid #124a8f;border-radius:8px;padding:10px 16px;background:#124a8f;color:#fff;font:inherit;white-space:nowrap;cursor:pointer}.qbdp-payment-filter-options{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-bottom:22px}.qbdp-payment-filter-options label{display:grid;gap:6px;font-weight:600}.qbdp-payment-filter-options select{font:inherit;border:1px solid #cbd5e1;border-radius:8px;padding:10px;background:#fff}.qbdp-payment-drawer{box-sizing:border-box;position:fixed;inset:0 0 0 auto;margin:0;border:0;padding:0;width:min(620px,100%);height:100dvh;max-width:100%;max-height:100dvh;overflow-y:auto;background:#fff;color:#172b45;box-shadow:-12px 0 40px #10213a26;font:16px/1.55 system-ui,sans-serif}.qbdp-payment-drawer[open]{animation:qbdp-slide-payment .2s ease-out}.qbdp-payment-drawer::backdrop{background:#0d203c80}.qbdp-payment-drawer>header{position:sticky;top:0;z-index:1;background:#fff;border-bottom:1px solid #e2e8f0;display:flex;align-items:start;justify-content:space-between;padding:26px 28px;gap:20px}.qbdp-payment-drawer h2{font-size:30px;line-height:1.2;margin:6px 0 12px}.qbdp-payment-drawer h3{font-size:18px;margin:0 0 16px}.qbdp-payment-drawer [data-qbdp-payment-close]{border:1px solid #cbd5e1;border-radius:50%;width:40px;height:40px;flex-shrink:0;background:#fff;color:#172b45;font-size:26px;cursor:pointer}.qbdp-payment-drawer-body{padding:24px 28px 40px;overflow-wrap:anywhere}.qbdp-payment-drawer-body section{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid #e2e8f0}.qbdp-payment-summary{margin:0;display:grid;gap:16px}.qbdp-payment-summary>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:14px}.qbdp-payment-summary dt{color:#526277;font-weight:500}.qbdp-payment-summary dd{margin:0;font-weight:600}.qbdp-payment-drawer-body p{margin:10px 0}.qbdp-payment-drawer details{padding:16px;background:#f3f6fa;border-radius:10px}.qbdp-payment-drawer details form{display:grid;gap:10px;margin:20px 0}.qbdp-payment-drawer details input,.qbdp-payment-drawer details select{max-width:100%;box-sizing:border-box}.qbdp-payment-drawer details button{white-space:normal}.qbdp-payment-drawer-open{overflow:hidden}.qbdp-payment-drawer :focus-visible,.qbdp-view-payment:focus-visible{outline:3px solid #048439;outline-offset:3px}.qbdp-technical .qbdp-panel{padding:24px;background:white;margin-top:20px}.qbdp-technical .qbdp-table{width:100%;border-collapse:collapse}.qbdp-technical td,.qbdp-technical th{padding:12px;text-align:left;border-bottom:1px solid #ddd}.qbdp-technical label{display:block;margin:10px 0}.qbdp-technical input[type=text],.qbdp-technical input[type=password]{min-width:250px;max-width:100%}.qbdp-technical .qbdp-status,.qbdp-payment-drawer .qbdp-status{display:inline-block;border-radius:20px;padding:4px 10px;background:#edf3fa;font-size:13px;font-weight:600}.qbdp-technical .qbdp-payment-search input{min-width:0}.qbdp-technical .qbdp-payment-setting-group{border-bottom:1px solid #ddd;padding:18px 0}.qbdp-payment-drawer .qbdp-eyebrow{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#526277}@keyframes qbdp-slide-payment{from{transform:translateX(100%)}to{transform:translateX(0)}}@media(max-width:640px){.qbdp-payment-drawer{width:100%}.qbdp-payment-drawer>header{padding:20px}.qbdp-payment-drawer-body{padding:20px}.qbdp-payment-summary>div{grid-template-columns:1fr;gap:3px}.qbdp-payment-search{gap:8px}.qbdp-payment-search button{padding-inline:12px}.qbdp-payment-filter-options label{flex:1;min-width:120px}}@media(prefers-reduced-motion:reduce){.qbdp-payment-drawer[open]{animation:none}}
/* 0.12.13: scoped overrides for the complete portal stylesheet cascade. */
.qbdp-app .qbdp-access .qbdp-payment-summary,.qbdp-payment-drawer .qbdp-payment-summary{display:block;width:100%;margin:0;padding:0}
.qbdp-app .qbdp-access .qbdp-payment-summary>div,.qbdp-payment-drawer .qbdp-payment-summary>div{display:grid;grid-template-columns:minmax(120px,35%) minmax(0,1fr);gap:16px;padding:10px 0;border-bottom:1px solid #e2e8f0}
.qbdp-app .qbdp-access .qbdp-payment-summary dt,.qbdp-app .qbdp-access .qbdp-payment-summary dd,.qbdp-payment-drawer .qbdp-payment-summary dt,.qbdp-payment-drawer .qbdp-payment-summary dd{width:auto;float:none;margin:0;min-width:0;word-break:normal;overflow-wrap:break-word}
.qbdp-app .qbdp-access .qbdp-payment-search input,.qbdp-app .qbdp-access .qbdp-payment-search button,.qbdp-payment-search input,.qbdp-payment-search button{height:46px;min-height:46px;max-height:46px;box-sizing:border-box;margin:0;align-self:stretch}
.qbdp-payment-search input{width:auto!important}.qbdp-app .qbdp-access .qbdp-payment-search{display:flex;flex-wrap:nowrap;align-items:stretch}.qbdp-payment-search button{flex:0 0 auto}
.qbdp-app .qbdp-access .qbdp-payment-drawer [data-qbdp-payment-close],.qbdp-payment-drawer [data-qbdp-payment-close],.qbdp-modal-close{display:flex;align-items:center;justify-content:center;line-height:1;padding:0;margin:0;min-height:40px;min-width:40px;width:40px;height:40px;box-sizing:border-box}
.qbdp-receipt-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-top:20px}.qbdp-linked-customer{display:block;color:#526277;font-size:12px;margin-top:6px}
.qbdp-app .qbdp-pagination a,.qbdp-pagination a{display:inline-flex;align-items:center;justify-content:center;border:2px solid var(--portal-secondary,#048439);color:var(--portal-secondary,#048439);font-weight:700;padding:10px 20px;min-height:46px;box-sizing:border-box}
.qbdp-app .qbdp-pagination a.qbdp-next,.qbdp-pagination a.qbdp-next{background:var(--portal-secondary,#048439);color:white}
.qbdp-profile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin:20px 0 28px}.qbdp-app .qbdp-access .qbdp-profile-details>div{display:grid;grid-template-columns:145px minmax(0,1fr);gap:12px;padding:14px 0;border-bottom:1px solid #dce4ed}.qbdp-app .qbdp-access .qbdp-profile-details dt,.qbdp-app .qbdp-access .qbdp-profile-details dd{margin:0;width:auto;float:none;overflow-wrap:anywhere}.qbdp-profile-details dt{font-weight:600}
@media(max-width:640px){.qbdp-app .qbdp-access .qbdp-payment-summary>div,.qbdp-payment-drawer .qbdp-payment-summary>div{grid-template-columns:1fr;gap:4px}.qbdp-profile-details{grid-template-columns:1fr}.qbdp-app .qbdp-access .qbdp-profile-details>div{grid-template-columns:120px minmax(0,1fr)}}
.qbdp-app .qbdp-access .qbdp-profile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin:20px 0 28px}.qbdp-app .qbdp-access .qbdp-payment-search button{width:auto}
@media(max-width:640px){.qbdp-app .qbdp-access .qbdp-profile-details{grid-template-columns:1fr}}

/* Technical controls are also rendered in the WordPress dashboard. */
.qbdp-payment-drawer .qbdp-technical-details{border:1px solid #dce3ec;border-radius:12px;background:#f5f8fb;margin-top:24px;overflow:hidden}
.qbdp-payment-drawer .qbdp-technical-details>summary{padding:18px 20px;font-size:17px;font-weight:700;cursor:pointer;color:#124a8f}
.qbdp-payment-drawer .qbdp-technical-content{padding:0 18px 18px;display:grid;gap:16px}
.qbdp-payment-drawer .qbdp-tech-section{border:1px solid #dce3ec;border-radius:10px;background:#fff;padding:18px!important;margin:0!important;min-width:0}
.qbdp-payment-drawer .qbdp-tech-section h4{font-size:17px;line-height:1.4;margin:0 0 8px;color:#172b45}
.qbdp-payment-drawer .qbdp-tech-section p{font-size:14px;line-height:1.6;margin:0 0 14px;color:#526277;overflow-wrap:anywhere}
.qbdp-payment-drawer .qbdp-tech-section .qbdp-tech-diagnostic{font:13px/1.6 monospace;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:12px;background:#f5f8fb;border-radius:6px;color:#172b45}
.qbdp-payment-drawer .qbdp-tech-section form{display:grid;gap:12px;margin:0}
.qbdp-payment-drawer .qbdp-tech-section label{display:grid;gap:7px;font-size:14px;font-weight:600;line-height:1.5;margin:0;color:#172b45}
.qbdp-payment-drawer .qbdp-tech-section input:not([type=hidden]):not([type=checkbox]):not([type=radio]),.qbdp-payment-drawer .qbdp-tech-section select{width:100%;box-sizing:border-box;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #b8c7d7;border-radius:8px;background:#fff;color:#172b45;font:inherit;box-shadow:none}
.qbdp-payment-drawer .qbdp-tech-section button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;justify-self:start;max-width:100%;min-height:44px;padding:10px 16px;border:1px solid #124a8f;border-radius:8px;background:#edf3fb;color:#124a8f;font-size:14px;font-weight:700;line-height:1.4;cursor:pointer;white-space:normal}
.qbdp-payment-drawer .qbdp-tech-section .qbdp-tech-primary{background:#048439;border-color:#048439;color:#fff}
.qbdp-payment-drawer .qbdp-tech-section button:hover{filter:brightness(.95)}
.qbdp-payment-drawer .qbdp-tech-section button:focus-visible,.qbdp-payment-drawer .qbdp-tech-section input:focus-visible,.qbdp-payment-drawer .qbdp-tech-section select:focus-visible{outline:3px solid #91b6e0;outline-offset:2px}
.qbdp-payment-drawer .qbdp-tech-section .qbdp-tech-actions{display:flex;flex-wrap:wrap;gap:10px}
.qbdp-payment-drawer .qbdp-tech-section .qbdp-tech-help{margin:0;font-size:13px}
@media(max-width:600px){.qbdp-payment-drawer .qbdp-technical-content{padding:0 12px 12px}.qbdp-payment-drawer .qbdp-tech-section{padding:14px!important}.qbdp-payment-drawer .qbdp-tech-section button{width:100%}}

/* 0.12.20: keep diagnostic action text legible through the frontend cascade. */
.qbdp-app .qbdp-payment-drawer .qbdp-tech-section button,.qbdp-payment-drawer .qbdp-tech-section button{background:#edf3fb!important;color:#124a8f!important;border:1px solid #124a8f!important;margin:0;box-shadow:none}
.qbdp-app .qbdp-payment-drawer .qbdp-tech-section button.qbdp-tech-primary,.qbdp-payment-drawer .qbdp-tech-section button.qbdp-tech-primary{background:#048439!important;border-color:#048439!important;color:#fff!important}
.qbdp-payment-drawer .qbdp-tech-section label.qbdp-tax-confirm{display:flex;align-items:flex-start;gap:10px;background:#f5f8fb;border:1px solid #dce3ec;padding:12px;border-radius:8px}
.qbdp-payment-drawer .qbdp-tech-section .qbdp-tax-confirm input[type=checkbox]{width:20px;height:20px;min-height:20px;flex:0 0 20px;margin:2px 0 0;padding:0;accent-color:#048439}
/* 0.12.21: invoice history, search modes and independent payment audit section. */
.qbdp-payment-search select{box-sizing:border-box;flex:0 0 180px;width:180px;min-width:0;height:46px;margin:0;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#172b45;padding:8px 12px;font:inherit}
.qbdp-payment-timeline{margin:0;padding:0 0 0 20px}.qbdp-payment-timeline li{padding:12px 0;border-bottom:1px solid #dce3ec}.qbdp-payment-timeline p{margin:4px 0;font-size:14px}.qbdp-payment-audit .qbdp-technical-content{display:block}
.qbdp-app .qbdp-invoice-extra{flex-wrap:wrap}.qbdp-app .qbdp-invoice-extra>details{flex:0 1 auto}.qbdp-app .qbdp-invoice-extra>details[open]{flex:1 0 100%;order:2}.qbdp-app .qbdp-invoice-extra>.qbdp-link{margin-left:auto}
.qbdp-app .qbdp-invoice-extra .qbdp-invoice-history-body{margin-top:12px;min-width:0;max-width:100%}.qbdp-invoice-history-body .qbdp-table{width:100%;border-collapse:collapse;min-width:650px}.qbdp-invoice-history-body td,.qbdp-invoice-history-body th{padding:10px 12px;border-bottom:1px solid #dce3ec;text-align:left;vertical-align:top;font-size:14px}.qbdp-invoice-history-body th{background:#f5f8fb}.qbdp-invoice-history-body .qbdp-view-payment{display:block;margin-top:8px;font-size:13px;padding:8px 12px}.qbdp-app .qbdp-status-overdue{background:#fff0f0;color:#b42318;border:1px solid #f0b0b0}
.qbdp-app .qbdp-pause-panel{padding:18px 22px}.qbdp-pause-panel form{margin-bottom:0}.qbdp-pause-panel p{margin:8px 0 12px;font-size:14px}
@media(max-width:600px){.qbdp-payment-search{flex-wrap:wrap!important}.qbdp-payment-search select{flex:1 0 100%;width:100%}.qbdp-payment-search input{flex:1;min-width:0}.qbdp-app .qbdp-invoice-extra>details{flex-basis:auto}.qbdp-app .qbdp-invoice-extra>details[open]{flex-basis:100%}}
.qbdp-app .qbdp-invoice-card,.qbdp-app .qbdp-invoice-extra,.qbdp-app .qbdp-invoice-extra>details{min-width:0;max-width:100%;box-sizing:border-box}
.qbdp-invoice-history .qbdp-table-wrap{overflow-x:auto;width:100%;max-width:100%}
.qbdp-payment-search>.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
/* 0.12.22: stationary invoice controls with a shared full-width content row. */
.qbdp-app .qbdp-invoice-extra{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:start;gap:12px 20px}
.qbdp-app .qbdp-invoice-extra>.qbdp-invoice-toggle{grid-row:1;box-sizing:border-box;display:inline-flex;align-items:center;gap:6px;min-width:0;min-height:20px;margin:0;padding:0!important;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;color:var(--portal-primary,#124a8f)!important;font-family:inherit;font-size:13px;font-weight:600;line-height:20px;text-align:left;cursor:pointer;white-space:nowrap}
.qbdp-app .qbdp-invoice-toggle[data-qbdp-invoice-toggle=details]{grid-column:1}.qbdp-app .qbdp-invoice-toggle[data-qbdp-invoice-toggle=history]{grid-column:2}
.qbdp-invoice-toggle::before{content:'▸';flex:none}.qbdp-invoice-toggle[aria-expanded=true]::before{content:'▾'}
.qbdp-app .qbdp-invoice-extra>.qbdp-link{grid-row:1;grid-column:3;justify-self:end;margin:0;font-size:13px;line-height:20px;min-height:20px;white-space:nowrap}
.qbdp-app .qbdp-invoice-extra>.qbdp-invoice-panel{grid-column:1/-1;grid-row:2;min-width:0;max-width:100%;width:100%}.qbdp-invoice-panel[hidden]{display:none!important}
.qbdp-invoice-panel>dl{margin:0}.qbdp-app .qbdp-invoice-panel .qbdp-invoice-history-body{margin-top:0}
.qbdp-invoice-toggle:focus-visible{outline:3px solid #048439;outline-offset:4px}
@media(max-width:600px){.qbdp-app .qbdp-invoice-extra{grid-template-columns:auto minmax(0,1fr);gap:12px}.qbdp-app .qbdp-invoice-extra>.qbdp-link{grid-row:2;grid-column:1/-1;justify-self:end}.qbdp-app .qbdp-invoice-extra>.qbdp-invoice-panel{grid-row:3}}

/* Helcim administrator confirmations remain native checkboxes, not text fields. */
.qbdp-payment-drawer .qbdp-tech-section .qbdp-helcim-confirm{display:flex;align-items:flex-start;gap:10px;margin:16px 0;line-height:1.5;cursor:pointer}
.qbdp-payment-drawer .qbdp-tech-section .qbdp-helcim-confirm span{flex:1;min-width:0}
.qbdp-payment-drawer .qbdp-tech-section .qbdp-helcim-confirm input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;display:inline-block!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px!important;flex:0 0 20px;margin:3px 0 0!important;padding:0!important;position:static!important;opacity:1!important;accent-color:#048439;cursor:pointer}
.qbdp-payment-drawer .qbdp-tech-section .qbdp-helcim-confirm input[type=checkbox]::before{content:none!important}

/* Helcim review and server-owned checkout recovery. */
.qbdp-helcim-review header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 32px}
.qbdp-helcim-review header h2{margin:0;font-size:30px;line-height:1.2}
.qbdp-helcim-review [data-qbdp-helcim-close]{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #cbd8e7;border-radius:50%;background:#fff;color:#124a8f;font-size:28px;line-height:1;cursor:pointer}
.qbdp-helcim-review .qbdp-payment-drawer-body{padding:28px 32px}
.qbdp-helcim-summary{padding:22px 24px;border:1px solid #d8e3ef;border-radius:14px;background:#f4f8fc}
.qbdp-helcim-summary>span{display:block;color:#536780;font-size:16px}
.qbdp-helcim-summary>strong{display:block;margin-top:6px;font-size:36px;line-height:1.2;color:#203642}
.qbdp-helcim-summary p:empty{display:none}
.qbdp-helcim-security{margin:24px 0;padding-top:22px;border-top:1px solid #d8e3ef}
.qbdp-helcim-security h3{margin:0 0 14px;font-size:18px}
.qbdp-helcim-security [data-qbdp-payment-challenge]+p{display:none}
.qbdp-helcim-status{padding:16px 18px;margin:20px 0;border-radius:10px;background:#edf3fa;border-left:4px solid #124a8f;font-size:17px;line-height:1.5}
.qbdp-helcim-status[data-state=ready]{background:#edf8f0;border-color:#048439}
.qbdp-helcim-status[data-state=error]{background:#fff5df;border-color:#9d6500}
.qbdp-helcim-review button:disabled,.qbdp-helcim-recovery button:disabled,.qbdp-billing-root .qbdp-pay-btn:disabled{background:#dce3eb!important;border-color:#dce3eb!important;color:#536780!important;box-shadow:none!important;cursor:not-allowed;opacity:1}
.qbdp-helcim-review button:focus-visible,.qbdp-helcim-recovery button:focus-visible,.qbdp-helcim-recovery a:focus-visible{outline:3px solid #048439;outline-offset:3px}
.qbdp-helcim-review [data-qbdp-helcim-close]:hover{background:#edf3fa}
.qbdp-helcim-recovery{padding:22px 24px;margin:0 0 24px;border:1px solid #d6b366;border-left:5px solid #9d6500;background:#fff8e8;border-radius:12px}
.qbdp-helcim-recovery h3{margin:0 0 8px;font-size:21px}.qbdp-helcim-recovery p{line-height:1.5}
.qbdp-helcim-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.qbdp-helcim-actions .qbdp-button{margin:0;font-size:16px;padding:12px 16px;text-decoration:none}
.qbdp-helcim-loading{position:fixed;inset:0;z-index:2147482000;display:grid;place-items:center;background:rgba(22,39,61,.48);padding:20px}
.qbdp-helcim-loading>div{max-width:440px;padding:30px;text-align:center;border-radius:16px;background:white;box-shadow:0 12px 40px #182d4933}
.qbdp-helcim-loading strong{display:block;margin-top:18px;font-size:21px}.qbdp-helcim-spinner{display:inline-block;width:32px;height:32px;border:3px solid #dce3eb;border-top-color:#124a8f;border-radius:50%;animation:qbdp-hc-spin 1s linear infinite}
.qbdp-helcim-loading[hidden],.qbdp-helcim-recovery[hidden],.qbdp-helcim-recovery [hidden]{display:none!important}
@keyframes qbdp-hc-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.qbdp-helcim-spinner{animation:none}}
@media(max-width:600px){.qbdp-helcim-review header,.qbdp-helcim-review .qbdp-payment-drawer-body{padding:22px 18px}.qbdp-helcim-review header h2{font-size:25px}.qbdp-helcim-actions{align-items:stretch;flex-direction:column}.qbdp-helcim-actions .qbdp-button{width:100%;box-sizing:border-box;text-align:center}.qbdp-helcim-summary{padding:18px}}

/* Compact actions in the previous-checkout notice only. */
.qbdp-helcim-recovery .qbdp-helcim-actions{gap:10px}
.qbdp-app .qbdp-helcim-recovery .qbdp-helcim-actions button.qbdp-button,
.qbdp-helcim-recovery .qbdp-helcim-actions button.qbdp-button{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:0;min-height:44px;padding:10px 14px;font-size:15px;line-height:1.4;font-weight:600;border-radius:8px;box-sizing:border-box;margin:0}
@media(max-width:600px){.qbdp-app .qbdp-helcim-recovery .qbdp-helcim-actions button.qbdp-button{width:100%}}

.qbdp-app .qbdp-payment-filter-options .qbdp-provider-method{width:340px;max-width:100%;min-width:0}.qbdp-app .qbdp-provider-method select{width:100%;min-width:0;max-width:100%}@media(max-width:600px){.qbdp-app .qbdp-provider-method select{font-size:14px}}
@media(max-width:600px){.qbdp-app .qbdp-payment-filter-options label,.qbdp-app .qbdp-payment-filter-options .qbdp-provider-method{flex:1 1 100%;width:100%;min-width:0}.qbdp-app .qbdp-payment-filter-options>button{align-self:flex-start}}
