.hp-credit-shell{--hp:#0eaaa6;--hp-dark:#087f7b;--ink:#10233f;--muted:#64748b;--line:#e2e8f0;--soft:#f7fafb;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);max-width:1120px;margin:24px auto;background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 18px 50px rgba(16,35,63,.08)}
.hp-front-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:34px 38px;background:linear-gradient(135deg,#f8fcfc 0%,#fff 65%);border-bottom:1px solid var(--line)}.hp-front-kicker{display:block;color:var(--hp-dark);font-size:11px;font-weight:800;letter-spacing:.12em;margin-bottom:8px}.hp-front-hero h2{font-size:34px;line-height:1.1;margin:0 0 9px;color:var(--ink);letter-spacing:-.6px}.hp-front-hero p{margin:0;color:var(--muted);font-size:16px}.hp-trust,.hp-status-front{border-radius:999px;padding:9px 13px;background:#e9f8f7;color:var(--hp-dark);font-size:12px;font-weight:800;white-space:nowrap}
.hp-credit-form{padding:32px 38px 38px}.hp-step-head{display:flex;gap:14px;align-items:flex-start;margin:30px 0 17px;padding-top:6px}.hp-step-head:first-of-type{margin-top:0}.hp-step-head>span{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--hp);color:#fff;font-weight:800;flex:0 0 auto}.hp-step-head h3{font-size:19px;margin:1px 0 3px;color:var(--ink)}.hp-step-head p{margin:0;color:var(--muted);font-size:14px}.hp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hp-field span{display:block;font-size:13px;font-weight:750;color:#334155;margin-bottom:7px}.hp-field input,.hp-field select,.hp-field textarea{width:100%;box-sizing:border-box;border:1px solid #cfd8e3;border-radius:10px;background:#fff;min-height:48px;padding:11px 13px;font-size:16px;color:var(--ink);outline:none;transition:border-color .15s,box-shadow .15s}.hp-field textarea{resize:vertical}.hp-field input:focus,.hp-field select:focus,.hp-field textarea:focus{border-color:var(--hp);box-shadow:0 0 0 3px rgba(14,170,166,.12)}.hp-full{grid-column:1/-1}.hp-bank-preview{display:flex;align-items:center;gap:15px;border:1px solid var(--line);background:var(--soft);border-radius:14px;padding:17px 18px}.hp-bank-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:#e7f7f6;color:var(--hp-dark);font-weight:900;font-size:20px}.hp-bank-preview>div:nth-child(2){flex:1;min-width:0}.hp-bank-preview p{margin:4px 0 0;color:var(--muted);font-size:13px}.hp-badge-ok,.hp-badge-warn{font-style:normal;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800;white-space:nowrap}.hp-badge-ok{background:#e7f8ef;color:#11784a}.hp-badge-warn{background:#fff7df;color:#916400}.hp-consent{display:flex;gap:14px;align-items:flex-start;margin:24px 0 16px;color:#475569;font-size:14px;line-height:1.5;cursor:pointer}.hp-consent input{appearance:none!important;-webkit-appearance:none!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;margin:0!important;padding:0!important;border:2px solid #64748b!important;border-radius:8px!important;background:#fff!important;position:relative!important;display:block!important;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s;flex:0 0 30px!important;box-sizing:border-box!important}.hp-consent input::before{content:""!important;position:absolute!important;left:8px!important;top:4px!important;width:8px!important;height:14px!important;border:solid transparent!important;border-width:0 3px 3px 0!important;transform:rotate(45deg) scale(0)!important;transform-origin:center!important;transition:transform .12s ease!important;box-sizing:border-box!important}.hp-consent input:checked{background:var(--hp)!important;border-color:var(--hp)!important}.hp-consent input:checked::before{border-color:#fff!important;transform:rotate(45deg) scale(1)!important}.hp-consent input:focus-visible{outline:none!important;box-shadow:0 0 0 4px rgba(14,170,166,.18)!important}.hp-consent span{padding-top:2px}.hp-bank-result{font-size:13px;margin-top:10px;color:var(--muted)}.hp-bank-result.is-error{color:#b42318}.hp-bank-result.is-success{color:#11784a}.hp-primary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border:0;border-radius:10px;background:var(--hp);color:#fff!important;padding:0 22px;font-weight:800;font-size:15px;text-decoration:none;cursor:pointer}.hp-primary:hover{background:var(--hp-dark)}.hp-primary:disabled{opacity:.45;cursor:not-allowed}.hp-inline{min-height:44px}.hp-form-note{font-size:12px;color:var(--muted);margin:12px 0 0}.hp-front-success{margin:22px 38px 0;border:1px solid #b9ead9;background:#effbf6;color:#166b4a;border-radius:12px;padding:14px 16px}.hp-front-success strong,.hp-front-success span{display:block}.hp-front-success span{font-size:13px;margin-top:3px}.hp-portal-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;padding:28px 32px 34px;background:#f8fafc}.hp-front-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}.hp-front-card>span{display:block;color:var(--muted);font-weight:700;font-size:13px}.hp-application-summary>strong{display:block;font-size:38px;letter-spacing:-1px;margin:8px 0 24px}.hp-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hp-mini-grid>div{border-top:1px solid var(--line);padding-top:13px}.hp-mini-grid small,.hp-mini-grid b{display:block}.hp-mini-grid small{color:var(--muted);margin-bottom:4px}.hp-connected{margin-top:15px;padding:14px;border-radius:12px;background:#effbf6}.hp-connected b{color:#137a4a}.hp-connected p{margin:5px 0 0}.hp-warning{display:block;margin-top:10px;color:#916400}.hp-empty{padding:44px;text-align:center}.hp-empty h3{font-size:24px;margin:0 0 8px}.hp-empty p{color:var(--muted);margin:0 0 18px}
@media(max-width:800px){.hp-credit-shell{margin:12px;border-radius:16px}.hp-front-hero{padding:25px 22px;flex-direction:column}.hp-front-hero h2{font-size:28px}.hp-credit-form{padding:24px 22px 28px}.hp-form-grid,.hp-portal-grid{grid-template-columns:1fr}.hp-full{grid-column:auto}.hp-portal-grid{padding:20px}.hp-bank-preview{align-items:flex-start;flex-wrap:wrap}.hp-bank-preview>span{margin-left:59px}.hp-application-summary>strong{font-size:32px}}@media(max-width:480px){.hp-credit-shell{margin:8px}.hp-front-hero h2{font-size:25px}.hp-credit-form{padding:20px 16px 24px}.hp-step-head{margin-top:24px}.hp-front-success{margin:14px 16px 0}.hp-bank-preview>span{margin-left:0}.hp-primary{width:100%}.hp-mini-grid{grid-template-columns:1fr}.hp-empty{padding:30px 18px}}

/* v0.4.1 managed full-width HomePro pages */
.hp-bcl-page-template{width:100%;max-width:none;margin:0;padding:0;background:#f6f9fb;overflow:hidden}.hp-bcl-page-content{width:100%;max-width:none;margin:0 auto;padding:28px 18px 52px;box-sizing:border-box}.hp-bcl-page-content>.hp-credit-shell{margin-top:0;margin-bottom:0}.hp-bcl-page-template .entry-title,.hp-bcl-page-template .page-title,.hp-bcl-page-template .breadcrumb,.hp-bcl-page-template .breadcrumbs{display:none!important}@media(max-width:800px){.hp-bcl-page-content{padding:16px 10px 34px}.hp-consent{font-size:15px;gap:13px}.hp-consent input{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;flex-basis:30px!important}}@media(max-width:480px){.hp-bcl-page-content{padding:10px 4px 28px}.hp-consent{margin-top:22px;font-size:15px;line-height:1.5}.hp-consent input{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;flex-basis:30px!important;border-radius:8px!important}}
/* v0.5.0 borrower document center */
.hp-doc-portal{margin-top:18px}.hp-doc-portal .hp-panel-head,.hp-doc-portal .hp-doc{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.hp-doc-portal .hp-doc-list{display:grid;gap:12px;margin-top:16px}.hp-doc-portal .hp-doc{border:1px solid #dfe8ed;border-radius:14px;padding:14px}.hp-doc-portal .hp-doc small{display:block;color:#67768a;margin-top:4px}.hp-doc-upload{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.hp-doc-upload input[type=file]{max-width:260px}.hp-doc-upload .hp-primary{min-height:44px}
@media(max-width:640px){.hp-doc-portal .hp-panel-head,.hp-doc-portal .hp-doc{flex-direction:column}.hp-doc-upload,.hp-doc-upload input[type=file],.hp-doc-upload .hp-primary{width:100%;max-width:none}.hp-doc-upload input[type=file]{font-size:16px}}
/* v0.7.0 borrower servicing */
.hp-field-help{display:block;margin-top:6px;color:var(--muted);font-size:12px}.hp-servicing-portal{overflow:visible}.hp-credit-overview{padding:26px 30px;background:#f7fafb;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1.15fr .85fr;gap:18px}.hp-available-card,.hp-account-metrics>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}.hp-available-card>small,.hp-account-metrics small{display:block;color:var(--muted);font-weight:700}.hp-available-card>strong{display:block;font-size:42px;margin:8px 0 16px;letter-spacing:-1.2px}.hp-credit-meter{height:12px;border-radius:999px;background:#e5edf1;position:relative;overflow:visible}.hp-credit-meter-fill{height:100%;border-radius:999px;background:var(--hp)}.hp-credit-cursor{position:absolute;top:-6px;width:24px;height:24px;border-radius:50%;background:#fff;border:4px solid var(--hp);box-shadow:0 3px 10px rgba(16,35,63,.15)}.hp-meter-labels{display:flex;justify-content:space-between;gap:12px;margin-top:10px;font-size:12px;color:var(--muted)}.hp-account-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hp-account-metrics strong,.hp-account-metrics span{display:block}.hp-account-metrics strong{font-size:20px;margin-top:4px}.hp-account-metrics span{font-size:11px;color:var(--muted);margin-top:3px}.hp-servicing-grid{padding:22px 30px;display:grid;grid-template-columns:1fr 1fr;gap:18px;background:#f8fafc}.hp-servicing-grid .hp-front-card{min-width:0}.hp-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.hp-panel-head h3{margin:0 0 6px}.hp-bank-actions{margin-top:14px}.hp-ach-consent{display:flex;gap:10px;align-items:flex-start;margin:14px 0;font-size:13px;color:#475569}.hp-ach-consent input{accent-color:var(--hp);width:18px;height:18px;flex:0 0 auto}.hp-switch-row{display:flex;align-items:center;gap:10px;margin:10px 0 16px;font-weight:700}.hp-switch-row input{position:absolute;opacity:0;pointer-events:none}.hp-switch-ui{width:42px;height:24px;border-radius:999px;background:#cbd5e1;position:relative;transition:.18s}.hp-switch-ui:before{content:"";position:absolute;width:18px;height:18px;border-radius:50%;background:#fff;top:3px;left:3px;transition:.18s}.hp-switch-row input:checked+.hp-switch-ui{background:var(--hp)}.hp-switch-row input:checked+.hp-switch-ui:before{transform:translateX(18px)}.hp-history-card{margin:0 30px 30px}.hp-history-list{display:grid;gap:0}.hp-history-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;border-top:1px solid var(--line)}.hp-history-row:first-child{border-top:0}.hp-history-row strong,.hp-history-row small{display:block}.hp-history-row small{color:var(--muted);margin-top:3px}.hp-history-type{display:inline-block;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--hp-dark);margin-bottom:4px}.hp-history-row>b{white-space:nowrap}.hp-account-details{grid-column:1/-1}.hp-account-hero{border-bottom:0}
@media(max-width:800px){.hp-credit-overview,.hp-servicing-grid{grid-template-columns:1fr;padding:18px}.hp-account-metrics{grid-template-columns:1fr 1fr}.hp-history-card{margin:0 18px 22px}.hp-available-card>strong{font-size:34px}}@media(max-width:480px){.hp-credit-overview,.hp-servicing-grid{padding:12px}.hp-account-metrics{grid-template-columns:1fr}.hp-available-card,.hp-account-metrics>div{padding:17px}.hp-available-card>strong{font-size:31px}.hp-meter-labels{font-size:11px}.hp-history-card{margin:0 12px 16px}.hp-history-row{align-items:flex-start}.hp-history-row>b{font-size:14px}.hp-servicing-grid .hp-primary{width:100%}}

/* HomePro Financing agreement + signature */
.hp-agreement-shell{max-width:980px;margin:0 auto}.hp-agreement-document{background:#fff;border:1px solid #dbe4ea;border-radius:22px;padding:clamp(22px,4vw,48px);color:#102444;line-height:1.7}.hp-agreement-brand{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:2px solid #0eaaa6;padding-bottom:22px;margin-bottom:26px}.hp-agreement-brand img{width:min(230px,42vw);height:auto}.hp-agreement-brand span,.hp-agreement-brand small,.hp-agreement-summary small,.hp-agreement-parties small{display:block;letter-spacing:.12em;font-weight:800;color:#0eaaa6}.hp-agreement-brand h1{margin:3px 0 0;font-size:clamp(24px,3.5vw,38px)}.hp-agreement-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 30px}.hp-agreement-summary>div,.hp-agreement-parties>div{border:1px solid #e1e8ee;border-radius:14px;padding:16px;background:#f8fbfc}.hp-agreement-document h2{font-size:18px;margin:28px 0 8px}.hp-agreement-parties{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:30px}.hp-agreement-parties span{display:block;color:#617087;margin-top:5px}.hp-sign-card,.hp-sign-complete{margin-top:20px}.hp-sign-pad-wrap{margin:18px 0}.hp-sign-pad-wrap>span{display:block;font-weight:700;margin-bottom:8px}.hp-sign-pad-wrap canvas{display:block;width:100%;height:150px;border:1px solid #cad7df;border-radius:14px;background:#fff;touch-action:none}.hp-sign-tools{display:flex;justify-content:flex-end;margin-top:8px}.hp-signature-preview{display:block;max-width:340px;max-height:120px;border-bottom:1px solid #cbd5df;margin:18px 0 24px}.hp-secondary{appearance:none;border:1px solid #cad7df;background:#fff;color:#102444;border-radius:10px;padding:10px 14px;font-weight:700}.hp-sign-complete{border-left:4px solid #0eaaa6}
@media(max-width:700px){.hp-agreement-brand{align-items:flex-start;flex-direction:column}.hp-agreement-summary{grid-template-columns:1fr 1fr}.hp-agreement-parties{grid-template-columns:1fr}.hp-agreement-document{border-radius:16px;padding:20px}.hp-sign-pad-wrap canvas{height:130px}}
@media(max-width:420px){.hp-agreement-summary{grid-template-columns:1fr}.hp-agreement-brand img{width:190px}}
@media print{.hp-sign-card,.hp-sign-tools,.hp-primary,.hp-secondary,.site-header,.site-footer{display:none!important}.hp-agreement-document{border:0;padding:0}.hp-credit-shell{max-width:none!important}}

/* v0.8.1 agreement branding refinement: page hero carries imagery; agreement body is text-only */
.hp-agreement-brand-textonly{justify-content:flex-start!important}.hp-agreement-brand-textonly>div{width:100%}.hp-agreement-brand-textonly span{font-size:12px;letter-spacing:.18em}.hp-agreement-brand-textonly h1{max-width:760px}.hp-agreement-brand-textonly small{margin-top:4px}.hp-agreement-brand-textonly img{display:none!important}

/* v0.8.3: never render legacy agreement body logos */
.hp-agreement-brand img,.hp-agreement-document img[alt="HomePro"]{display:none!important}.hp-agreement-brand-textonly{min-height:0!important}.hp-agreement-brand-textonly>div{width:100%}


/* v0.8.5 exact-center HomePro consent checkmark */
.hp-consent input::before{
  content:"✓"!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  color:transparent!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:20px!important;
  font-weight:900!important;
  line-height:1!important;
  transform:none!important;
  transform-origin:center!important;
  box-sizing:border-box!important;
  padding:0!important;
  margin:0!important;
}
.hp-consent input:checked::before{
  color:#fff!important;
  transform:none!important;
}

/* v0.8.7 iOS-safe exact-center electronic-signature checkbox */
.hp-esign-consent{display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;column-gap:14px!important;align-items:start!important}.hp-esign-consent>input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;pointer-events:none!important}.hp-esign-consent>input::before,.hp-esign-consent>input::after{content:none!important;display:none!important}.hp-esign-consent .hp-check-ui{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;padding:0!important;margin:0!important;border:2px solid #64748b!important;border-radius:8px!important;background:#fff!important;color:transparent!important;display:grid!important;place-items:center!important;box-sizing:border-box!important;font-family:Arial,Helvetica,sans-serif!important;font-size:20px!important;font-weight:900!important;line-height:1!important;text-align:center!important;overflow:hidden!important}.hp-esign-consent>input:checked+.hp-check-ui{background:var(--hp)!important;border-color:var(--hp)!important;color:#fff!important}.hp-esign-consent>input:focus-visible+.hp-check-ui{box-shadow:0 0 0 4px rgba(14,170,166,.18)!important}.hp-esign-consent .hp-consent-copy{padding:1px 0 0!important;margin:0!important;min-width:0!important}


/* v0.8.8: agreement consent uses native/theme checkbox */
.hp-theme-consent{display:flex!important;gap:14px!important;align-items:flex-start!important}
.hp-theme-consent>input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;position:static!important;opacity:1!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;flex:0 0 auto!important;margin:4px 0 0!important;padding:0!important;border:initial!important;border-radius:initial!important;background:initial!important;box-shadow:none!important;accent-color:#0eaaa6!important}
.hp-theme-consent>input[type="checkbox"]::before,.hp-theme-consent>input[type="checkbox"]::after{content:none!important;display:none!important}
.hp-theme-consent>span{padding-top:0!important}

/* v0.8.10: keep the native/theme checkbox shape and native white tick,
   but use HomePro teal for the checked control on supported browsers (including iOS Safari). */
.hp-theme-consent > input[type="checkbox"],
.hp-theme-consent > input[type="checkbox"]:checked,
.hp-theme-consent > input[type="checkbox"]:focus,
.hp-theme-consent > input[type="checkbox"]:active {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  accent-color: #0eaaa6 !important;
  box-shadow: none !important;
}
