/* Quickfin 2.8: responsive guided application, real-time estimates, soft app surfaces */
.qfj-modal-panel,.qfm-provider-dialog{background:linear-gradient(140deg,#fffdf9 0%,#fff 48%,#f6faf2 100%)!important;border:1px solid #e5eedd!important;box-shadow:0 30px 100px #1d3b2d33!important}
.qfj-modal-core-form .qfm-apply-section{padding:17px;border:1px solid #e3ebdf;border-radius:18px;background:linear-gradient(125deg,#fff,#fafcf7);margin:0 0 8px}
.qfj-modal-core-form .qfm-apply-section legend{background:#fff;padding:0 8px;color:#294936;font-weight:820;font-size:15px;letter-spacing:-.02em}
.qfj-modal-panel .qfm-apply-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.qfj-modal-panel .qfm-full-width{grid-column:1/-1}.qfj-modal-panel .qfm-apply-section label{display:grid;gap:6px;font-size:13px;color:#355344;font-weight:750}
.qfj-modal-panel .qfm-apply-section input,.qfj-modal-panel .qfm-apply-section select,.qfj-modal-panel .qfm-apply-section textarea{min-width:0;width:100%;max-width:100%;border:1px solid #d7e4d6;border-radius:13px;padding:12px;font-size:16px;min-height:44px;background:#fff;color:#233b30}
.qfj-modal-panel .qfm-apply-section input:focus,.qfj-modal-panel .qfm-apply-section select:focus{outline:3px solid #d7edcc;border-color:#7baf86}
.qfm-amount-picker{margin-top:4px}.qfm-amount-picker input[type=range]{padding:0!important;min-height:30px!important;border:0!important;accent-color:#e67d44;width:100%;cursor:pointer}.qfm-range-ends{display:flex;justify-content:space-between;color:#768579;font-size:11px;font-weight:650}
.qfm-smart-calc{grid-column:1/-1;background:linear-gradient(135deg,#fffaf4,#f4f9f0);border:1px solid #e3ebde;border-radius:18px;padding:17px;margin:9px 0 8px;min-width:0}
.qfm-live-title{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;gap:8px}.qfm-live-title strong{font-size:16px;color:#2a4939}.qfm-live-title span{color:#697d6e;font-size:12px}
.qfm-rate-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.qfm-rate-choice{display:flex!important;align-items:center;gap:7px;background:#fff;border:1px solid #e1e9e0;border-radius:13px;padding:10px 8px;cursor:pointer;min-width:0}.qfm-rate-choice:has(input:checked){border-color:#b0d39d;background:#f2faed}.qfm-rate-choice input{width:15px!important;min-height:15px!important;height:15px;accent-color:#417953;margin:0;flex:0 0 15px}.qfm-rate-choice b{font-size:12px;display:block}.qfm-rate-choice small{display:block;color:#66796c;font-size:11px}
.qfm-live-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.qfm-live-summary>div{background:#fff;border:1px solid #e3e9e1;border-radius:13px;padding:13px}.qfm-live-summary small{display:block;color:#66786c;font-size:11px}.qfm-live-summary output{display:block;font-size:clamp(17px,2.4vw,22px);font-weight:850;color:#254d38;margin-top:6px;letter-spacing:-.035em}.qfm-calc-foot,.qfm-payday-note{font-size:11px;line-height:1.5;color:#6c7c70;margin:10px 0 0}
.qfm-bank-option .qfm-bank-fields{margin:13px 0}.qfm-bank-option .qfm-inline-toggle{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:10px;font-size:13px;font-weight:640}.qfm-inline-toggle input[type=checkbox]{width:19px!important;height:19px!important;min-height:19px!important;flex:0 0 19px;margin:2px 0}.qfm-bank-small{display:block;color:#65796b;font-size:11px;margin-top:8px}
.qfm-return-panel{border:1px solid #e5ecdf;border-radius:13px;background:#f8fbf5;padding:10px 13px;margin:8px 0}.qfm-return-panel summary{font-size:13px;color:#2a5a3c;cursor:pointer;font-weight:750}.qfm-return-panel p{font-size:12px}.qfm-return-panel form{display:grid;gap:10px}.qfm-return-panel input{padding:11px;border-radius:12px;border:1px solid #d4e0d6;width:100%}.qfm-return-panel button{padding:12px;color:#fff;background:#2c5941;border-radius:12px;border:0;font-weight:750}
.qfm-resume-alert{background:#edf6e7;padding:15px;border-radius:16px;margin:16px auto;max-width:980px;color:#36543c}
.qfm-provider-modal[hidden]{display:none!important}.qfm-provider-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:16px}.qfm-provider-shade{position:absolute;inset:0;background:#18302699;backdrop-filter:blur(6px)}.qfm-provider-dialog{position:relative;width:min(100%,870px);max-height:90dvh;overflow-y:auto;border-radius:24px;padding:20px;overscroll-behavior:contain;outline:0}.qfm-provider-heading{position:sticky;top:-20px;display:flex;justify-content:space-between;align-items:flex-start;gap:14px;background:#fffefa;z-index:4;padding:14px 5px;border-bottom:1px solid #e5ebe2;margin-bottom:14px}.qfm-provider-heading span{font-size:11px;font-weight:830;color:#598265;letter-spacing:.1em}.qfm-provider-heading h2{font-size:25px;margin:4px 0}.qfm-provider-heading p{color:#5c7364;font-size:13px;margin:0}.qfm-provider-heading button{border:1px solid #dbe7db;border-radius:12px;width:42px;height:42px;background:#f7fbf4;color:#2c543f;font-size:27px;cursor:pointer}
.qfm-provider-dialog .qfm-pm-form{max-width:none}.qfm-provider-dialog .qfm-pm-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.qfm-provider-dialog .qfm-pm-form label{min-width:0;display:grid;gap:5px}.qfm-provider-dialog .qfm-pm-form input:not([type=checkbox]),.qfm-provider-dialog .qfm-pm-form select{min-width:0;width:100%;max-width:100%;padding:12px;border:1px solid #dbe6d8;border-radius:12px;background:#fff;font-size:16px}.qfm-provider-dialog .qfm-field-wide{grid-column:1/-1}.qfm-provider-open{overflow:hidden}.qfm-plan-confirm{border:1px solid #c6e3bd;border-radius:15px;background:#f2faed;padding:16px;margin:15px 0}.qfm-plan-confirm h2{margin:0 0 5px}.qfm-plan-confirm a{color:#315d44}
@media(max-width:600px){.qfj-modal-panel .qfm-apply-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.qfj-modal-panel .qfm-apply-section{padding:12px 10px}.qfm-provider-modal{align-items:end;padding:0}.qfm-provider-dialog{max-height:94dvh;border-radius:24px 24px 0 0;padding:17px 13px calc(20px + env(safe-area-inset-bottom))}.qfm-provider-dialog .qfm-pm-fields{grid-template-columns:1fr!important}.qfm-live-summary{gap:7px}.qfm-rate-list{gap:5px}.qfm-rate-choice{padding:8px 5px;gap:4px}.qfm-rate-choice b{font-size:10px}.qfm-rate-choice small{font-size:10px}.qfm-smart-calc{padding:12px}.qfm-live-summary>div{padding:10px}.qfm-live-summary output{font-size:17px}.qfj-modal-panel .qfm-apply-section label{font-size:12px}}
@media(max-width:370px){.qfj-modal-panel .qfm-apply-fields{grid-template-columns:1fr!important}.qfm-rate-list{grid-template-columns:1fr}.qfm-rate-choice{gap:12px}.qfm-rate-choice b{font-size:12px}}
