/* Clear form boundaries within the existing monochrome merchant theme. */
dialog.kyc-form-dialog,dialog.credit-dialog{box-sizing:border-box;max-height:calc(100dvh - 32px);border:1px solid #e3e3e3;border-radius:18px;padding:24px;color:#111;background:#fff;overscroll-behavior:contain}
.kyc-form-dialog .dialoghead{border-bottom:1px solid #e9e9e9;margin-bottom:18px;top:-24px;padding:12px 0;background:#fff}
.kyc-form-intro{margin:0 0 22px;color:#666;font-size:13px;line-height:1.75}
.kyc-details-card{min-width:0;margin:0 0 20px;padding:16px;border:1px solid #e1e1e1;border-radius:12px;background:#fafafa}
.kyc-details-card>legend{padding:0 7px;color:#111;font-size:13px;font-weight:600}
.kyc-details-card>label,.kyc-details-card .kyc-field-pair>label{display:grid;gap:8px;margin:0 0 16px;font-size:12px;font-weight:500;color:#333;min-width:0}
.kyc-details-card>label:last-child,.kyc-details-card .kyc-field-pair>label{margin-bottom:0}
.kyc-details-card .kyc-field-pair{gap:16px}
.kyc-form input:not([type=checkbox]):not([type=radio]):not([type=file]),.kyc-form select{min-height:48px;border:1px solid #c6c6c6;border-radius:9px;background:#fff;color:#111;padding:12px;font-family:inherit;font-size:16px;box-shadow:none}
.kyc-form input::placeholder{color:#888;font-size:13px;opacity:1}
.kyc-form input:focus-visible,.kyc-form select:focus-visible,.loan-request-form input:focus-visible{border-color:#008f8b;outline:2px solid #a3eeeb;outline-offset:2px;box-shadow:none}
.kyc-document-types{gap:8px;margin:0 0 18px}
.kyc-document-types legend,.kyc-upload-field>span{font-size:12px;font-weight:500;color:#333}
.kyc-document-types label{justify-content:flex-start;min-height:48px;gap:7px;padding:10px;border:1px solid #c6c6c6;border-radius:9px;background:#fff;color:#333;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.kyc-document-types label:has(input:checked){border-color:#008f8b;background:#effbfa;color:#111;box-shadow:inset 0 0 0 1px #008f8b}
.kyc-document-types label:focus-within{outline:2px solid #a3eeeb;outline-offset:2px}
.kyc-document-types input,.kyc-confirmation input{accent-color:#008f8b}
.kyc-upload-field .kyc-upload{padding:22px 14px;border:1px dashed #aaa;border-radius:10px;background:#fff;gap:8px}
.kyc-upload-field .kyc-upload:focus-within{border-color:#008f8b;outline:2px solid #a3eeeb;outline-offset:2px}
.kyc-upload-symbol{background:#effbfa;color:#008f8b;border-radius:10px}
.kyc-upload strong{color:#333;font-size:12px;white-space:normal;text-align:center;overflow-wrap:anywhere}
.kyc-upload small{color:#777;font-size:10px;letter-spacing:0;text-align:center;line-height:1.6}
.kyc-preview{border-color:#e1e1e1;background:#fff}
.kyc-form .kyc-confirmation{padding:13px;border:1px solid #e1e1e1;border-radius:10px;background:#fafafa;color:#555;font-size:12px;line-height:1.7;gap:10px;margin:0 0 18px}
.kyc-confirmation input{margin-top:2px}
.kyc-form-dialog .kyc-form button[type=submit],.credit-dialog .loan-request-form .loan-action{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:12px 16px;border:1px solid #111;border-radius:9px;background:#111;color:#fff;font-size:13px;line-height:1.6}
.kyc-form-dialog .kyc-form button[type=submit]:hover,.credit-dialog .loan-request-form .loan-action:hover{background:#00cfc8;border-color:#00cfc8;color:#111}
.kyc-form .error:empty,.loan-request-form .error:empty,.loan-request-form .loan-receipt:empty{display:none}
.credit-dialog .dialoghead{top:-24px;background:#fff;margin:-12px 0 12px}
.credit-dialog .credit-intro{padding:24px;border:1px solid #222;border-radius:13px;background:#111;color:#fff;gap:18px}
.credit-intro .eyebrow{color:#aaa;font-size:8px;letter-spacing:1.4px;line-height:1.7}
.credit-intro h2{font-family:inherit;font-weight:600;letter-spacing:-.2px;color:#fff;font-size:22px;margin:12px 0;line-height:1.45}
.credit-intro p{color:#eee;font-size:13px;margin:0 0 12px;line-height:1.6}
.credit-intro small{color:#bbb;font-size:11px;line-height:1.7}
.credit-intro .score-ring{width:90px;height:90px;flex-basis:90px}
.credit-intro .ring-track{stroke:#444}.credit-intro .ring-fill{stroke:#00cfc8}
.credit-intro .score-ring strong{color:#fff;font-family:inherit;font-size:31px;font-weight:600}
.credit-intro .score-ring span{color:#bbb;font-size:11px}
.credit-dialog .credit-limit{margin:18px 0 12px;padding:20px;border:1px solid #bcece9;border-radius:12px;background:#effbfa;min-width:0}
.credit-dialog .credit-limit p{margin:0 0 10px;color:#555;font-size:12px;line-height:1.6}
.credit-dialog .credit-limit>strong{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;color:#111;font-family:inherit;font-size:clamp(25px,5vw,34px);font-weight:600;line-height:1.3;letter-spacing:-.7px;max-width:100%}
.credit-limit .currency-number{white-space:normal;overflow-wrap:anywhere;min-width:0}
.credit-limit .currency-code{font-family:inherit;font-size:12px;color:#777;letter-spacing:0;margin:0}
.credit-dialog .credit-rule{margin:0 0 18px;padding:14px 16px;border:1px solid #e5e5e5;border-radius:10px;background:#fafafa;color:#777;font-size:11px;line-height:1.8}
.credit-dialog .loan-request-form{margin:0 0 20px;padding:20px;border:1px solid #e1e1e1;border-radius:12px;background:#fff}
.loan-request-form label{display:grid;gap:11px;margin:0 0 16px;color:#222;font-size:13px;font-weight:500;line-height:1.6}
.loan-request-form input{box-sizing:border-box;min-width:0;width:100%;min-height:50px;border:1px solid #c6c6c6;border-radius:9px;padding:12px;background:#fafafa;color:#111;font-family:inherit;font-size:18px}
.loan-request-form input::placeholder{font-size:13px;color:#888;opacity:1}
.loan-request-form>small{color:#777;font-size:10px;line-height:1.7;margin-top:12px}
.loan-request-form .loan-receipt{font-size:12px;line-height:1.7;overflow-wrap:anywhere;color:#008f8b}
.credit-dialog .credit-tier-wrap{box-sizing:border-box;margin-top:0;border:1px solid #e1e1e1;border-radius:12px;background:#fff;overflow:hidden}
.credit-tier-wrap>h3{margin:0;padding:17px 16px;border-bottom:1px solid #e9e9e9;font-size:13px;font-weight:600;color:#222}
.credit-tier-table{font-family:inherit}
.credit-tier-table th{background:#fafafa;color:#777;padding:12px 10px;border-color:#e9e9e9}
.credit-tier-table td{color:#333;padding:16px 10px;border-color:#e9e9e9;font-size:12px}
.credit-tier-table td:first-child>small{color:#888}.credit-tier-table td:first-child>strong{font-size:11px}
.credit-tier-table .currency-number{white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.credit-tier-table .currency-code{color:#888;font-size:9px}
.credit-tier-table .current-tier{background:#effbfa}.credit-tier-table .current-tier td{color:#111}.credit-tier-table .current-tier td:first-child{box-shadow:inset 3px 0 #00cfc8}
.credit-dialog .black-diamond{margin-top:20px;border:1px solid #222;background:#111;color:#fff;border-radius:12px;padding:24px}
.black-diamond .private-mark{color:#bbb}.black-diamond h3{font-family:inherit;font-weight:600;letter-spacing:0;color:#fff}.black-diamond p,.black-diamond>small{color:#ccc}
.credit-dialog .black-diamond .private-contact{background:#00cfc8;border-color:#00cfc8;color:#111}
@media(max-width:600px){.kyc-document-types{grid-template-columns:minmax(0,1fr)}.kyc-document-types label{min-height:44px;overflow-wrap:normal}dialog.kyc-form-dialog,dialog.credit-dialog{width:calc(100vw - 24px);padding:20px;max-height:calc(100dvh - 24px);border-radius:16px}.kyc-form-dialog .dialoghead,.credit-dialog .dialoghead{top:-20px}.kyc-details-card{padding:15px}.kyc-details-card .kyc-field-pair{grid-template-columns:minmax(0,1fr);gap:16px}.credit-dialog .credit-intro{padding:20px 17px;gap:12px}.credit-intro h2{font-size:19px}.credit-intro .score-ring{width:72px;height:72px;flex-basis:72px}.credit-intro .score-ring strong{font-size:26px}.credit-dialog .credit-limit,.credit-dialog .loan-request-form{padding:17px}.credit-tier-table th,.credit-tier-table td{padding:13px 7px}.credit-tier-table td{font-size:10px}}
@media(max-width:380px){.kyc-document-types{grid-template-columns:minmax(0,1fr)}.kyc-document-types label{font-size:12px;min-height:43px}.credit-intro .eyebrow{font-size:7px;letter-spacing:.7px}.credit-dialog .credit-intro{gap:10px}.credit-intro h2{font-size:18px}.credit-dialog .credit-limit>strong{font-size:27px}}

.kyc-form input[type=date]{-webkit-appearance:none;appearance:none;display:block;min-inline-size:0;min-width:0;max-inline-size:100%;width:100%;box-sizing:border-box}
.kyc-form input[type=date]::-webkit-date-and-time-value{min-height:1.5em;text-align:start}

dialog.loan-confirmation-dialog{width:min(440px,calc(100vw - 24px));box-sizing:border-box;padding:24px;border:1px solid #e3e3e3;border-radius:16px;background:#fff}.loan-confirmation{display:grid;justify-items:center;gap:16px;padding:8px 0 0;text-align:center}.loan-confirmation-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#e9faf9;color:#008f8b}.loan-confirmation-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.6}.loan-confirmation-label{margin:0;color:#777;font-size:12px;line-height:1.6}.loan-confirmation-amount{max-width:100%;color:#111;font-family:inherit;font-size:28px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.loan-confirmation-amount .currency-code{font-size:12px;color:#777;margin-inline-start:7px}.loan-confirmation-copy{margin:0 0 4px;color:#555;font-size:13px;line-height:1.8}.loan-confirmation button.primary{min-height:47px;border:1px solid #111;border-radius:9px;background:#111;color:#fff;font-size:14px}

.loan-application{margin:22px 0;padding:20px;border:1px solid #e5e5e5;border-radius:12px;background:#fafafa;color:#111}.loan-loading{margin:8px 0;color:#888;font-size:12px}.loan-application .loan-request-form{margin:0}.loan-application .loan-request-form label{margin-top:0}.loan-single-note{margin:16px 0 0;color:#888;font-size:11px;line-height:1.7}.loan-request-result .loan-confirmation{display:flex;align-items:center;justify-content:flex-start;gap:10px;margin:0 0 18px;padding:12px;border:1px solid #c7eeeb;border-radius:9px;background:#edfbfa;text-align:start}.loan-request-result .loan-confirmation-icon{width:30px;height:30px;flex-shrink:0}.loan-request-result .loan-confirmation-icon svg{width:20px;height:20px}.loan-request-result .loan-confirmation strong{flex:1;font-size:12px;font-weight:500;color:#111}.loan-request-result .loan-confirmation button.primary{width:auto;min-height:38px;padding:8px 12px;border-color:#00cfc8;background:#00cfc8;color:#111;font-size:12px}.loan-review-card{padding:18px;border:1px solid #e5e5e5;border-radius:10px;background:#fff}.loan-review-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.loan-review-head h3{margin:0;color:#111;font-size:14px;font-weight:600}.loan-review-state{padding:5px 8px;border-radius:5px;background:#f0f0f0;color:#555;font-size:10px;line-height:1.5}.loan-review-state[data-loan-state=approved],.loan-review-state[data-loan-state=completed]{background:#e3f8f6;color:#008f8b}.loan-review-card .loan-confirmation-amount{display:block;margin-top:8px;font-size:27px}.loan-review-copy{margin:16px 0;color:#666;font-size:12px;line-height:1.9}.loan-submitted-at{display:block;color:#999;font-size:10px;line-height:1.7}.loan-application [hidden]{display:none!important}@media(max-width:600px){.loan-application{padding:15px}.loan-review-card{padding:16px}.loan-review-card .loan-confirmation-amount{font-size:25px}}

.loan-review-progress{margin-top:24px;padding:18px 0 0;border-top:1px solid #eee}.loan-progress-title{display:block;margin-bottom:16px;color:#555;font-size:11px;font-weight:500}.loan-progress-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:0;list-style:none}.loan-progress-step{position:relative;display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0;color:#888;text-align:center}.loan-progress-step:not(:last-child)::after{content:"";position:absolute;top:13px;inset-inline-start:calc(50% + 20px);width:calc(100% - 40px);height:2px;border-radius:2px;background:#e6e6e6}.loan-progress-step.is-complete:not(:last-child)::after{background:#00cfc8}.loan-progress-dot{display:grid;place-items:center;box-sizing:border-box;width:28px;height:28px;border:1px solid #dedede;border-radius:50%;background:#fafafa;color:#999;font-size:11px;font-weight:500;line-height:1}.loan-progress-dot svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7}.loan-progress-label{max-width:100%;padding:0 3px;color:inherit;font-size:10px;line-height:1.6;overflow-wrap:anywhere}.loan-progress-step.is-current{color:#111;font-weight:500}.loan-progress-step.is-current .loan-progress-dot{border-color:#00b9b3;background:#00cfc8;color:#111;box-shadow:0 0 0 4px #edfafa}.loan-progress-step.is-complete .loan-progress-dot{border-color:#00b9b3;background:#00cfc8;color:#111}.loan-progress-step.is-declined .loan-progress-dot{border-color:#bbb;background:#eee;color:#333;box-shadow:0 0 0 4px #f6f6f6;font-size:19px}
.loan-application .loan-reapply{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;margin-top:16px;padding:12px 15px;border:1px solid #00b9b3;border-radius:9px;background:#00cfc8;color:#111;font-family:inherit;font-size:13px;font-weight:500;line-height:1.6}.loan-reapply svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5}.loan-application .loan-reapply:disabled{opacity:.5}.loan-request-result:not([hidden])~.loan-request-form:not([hidden]){margin-top:16px}
