/* v3.3.91E.44 PrivateInvestor branded portal experience */
:root{
  --pi-navy:#07162f;
  --pi-navy-2:#0b2854;
  --pi-blue:#1769aa;
  --pi-teal:#10b8a6;
  --pi-green:#67e8a6;
  --pi-gold:#facc15;
  --pi-ink:#0f172a;
  --pi-muted:#64748b;
  --pi-border:#d7e3f0;
  --pi-soft:#f3f8fc;
}
body{background:radial-gradient(circle at 18% -12%,rgba(16,184,166,.14),transparent 36%),linear-gradient(180deg,#f6fbff 0%,#edf5fb 100%)!important;color:var(--pi-ink)!important;}
a{color:#0f6cbd;}
.top{background:linear-gradient(135deg,#07162f 0%,#0b2854 48%,#0f766e 100%)!important;border-bottom:1px solid rgba(255,255,255,.12);box-shadow:0 18px 40px rgba(7,22,47,.24);}
.top .wrap{max-width:1180px!important;}
.brand{display:flex;align-items:center;gap:12px;font-weight:1000;letter-spacing:-.02em;}
.brand img{display:block;width:220px;max-width:52vw;height:auto;filter:drop-shadow(0 12px 22px rgba(0,0,0,.20));}
.brand .brand-text{display:flex;flex-direction:column;line-height:1.1;}
.brand .brand-name{font-size:18px;color:#fff;}
.brand .brand-sub{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#a7f3d0;margin-top:3px;}
.top .btn.ghost{background:rgba(255,255,255,.10)!important;color:#e6f8ff!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:none!important;}
.top .btn.ghost:hover{background:rgba(255,255,255,.18)!important;}
.top .credit-pill{background:#dcfce7!important;color:#064e3b!important;}
.wrap{max-width:1180px!important;}
.card{border-color:rgba(148,163,184,.28)!important;box-shadow:0 16px 40px rgba(15,23,42,.08)!important;}
.btn,button{background:linear-gradient(135deg,#16a34a,#0f766e)!important;box-shadow:0 10px 24px rgba(15,118,110,.18);}
.btn.alt{background:linear-gradient(135deg,#0b2854,#1769aa)!important;}
.btn.gold{background:linear-gradient(135deg,#facc15,#d97706)!important;color:#1f1600!important;}
.btn.ghost{background:#eef6ff!important;color:#0b2854!important;border:1px solid #bfd3e8!important;box-shadow:none!important;}
.ok,.err{box-shadow:0 12px 30px rgba(15,23,42,.08);}
.pi-portal-shell{position:relative;overflow:hidden;border-radius:30px;background:radial-gradient(circle at 82% 16%,rgba(34,211,238,.24),transparent 30%),radial-gradient(circle at 10% 8%,rgba(103,232,166,.18),transparent 32%),linear-gradient(135deg,#07162f 0%,#0b2854 48%,#0f766e 100%);color:#fff;padding:34px;box-shadow:0 24px 70px rgba(7,22,47,.24);}
.pi-portal-shell:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 0%,rgba(255,255,255,.06) 48%,transparent 52%),radial-gradient(circle at 70% 72%,rgba(250,204,21,.12),transparent 34%);pointer-events:none;}
.pi-portal-shell>*{position:relative;z-index:1;}
.pi-kicker,.buyer-market-kicker,.reg-kicker{display:inline-flex!important;align-items:center;gap:8px;border-radius:999px;background:rgba(103,232,166,.14)!important;color:#b8ffe1!important;border:1px solid rgba(167,243,208,.25)!important;font-weight:1000;text-transform:uppercase;letter-spacing:.08em;font-size:12px;padding:9px 13px;}
.pi-kicker:before,.buyer-market-kicker:before,.reg-kicker:before{content:"PIN";display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;background:#67e8a6;color:#052e2b;font-size:11px;font-weight:1000;letter-spacing:0;}
.buyer-market-hero,.reg-hero{background:radial-gradient(circle at 18% 0%,rgba(103,232,166,.22),transparent 34%),radial-gradient(circle at 88% 8%,rgba(59,130,246,.18),transparent 34%),linear-gradient(135deg,#07162f 0%,#0b2854 48%,#0f766e 100%)!important;border:1px solid rgba(255,255,255,.10);box-shadow:0 24px 70px rgba(7,22,47,.24)!important;}
.buyer-market-hero h1,.reg-hero h1{letter-spacing:-.055em!important;text-wrap:balance;}
.buyer-market-hero p,.reg-hero p{color:#dff8ff!important;}
.buyer-login-panel,.reg-proof-card{border:1px solid rgba(255,255,255,.48)!important;box-shadow:0 22px 55px rgba(2,6,23,.22)!important;}
.reg-proof-card p.reg-note,.reg-note{color:#475569!important;}
.buyer-value-tile,.reg-value-card,.lead-pricing-card,.buyer-info-card,.reg-form-card,.reg-info-card{border-color:rgba(148,163,184,.28)!important;box-shadow:0 16px 38px rgba(15,23,42,.07)!important;}
.buyer-value-tile strong,.lead-pricing-header h2,.buyer-info-card h2,.reg-info-card h2,.reg-form-card h2{color:#0b2854!important;}
.pi-auth-panel{max-width:760px;margin:20px auto;}
.pi-auth-panel .card{border-radius:26px;padding:28px;}
.pi-auth-title{font-size:clamp(32px,5vw,52px);line-height:1;letter-spacing:-.055em;margin:0 0 12px;color:#fff;}
.pi-auth-copy{font-size:18px;line-height:1.6;color:#dff8ff;max-width:780px;}
.pi-portal-footer{margin-top:30px;background:#07162f;color:#cbd5e1;border-top:1px solid rgba(255,255,255,.10);}
.pi-portal-footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:18px!important;padding-bottom:18px!important;}
.pi-portal-footer img{width:190px;max-width:48vw;height:auto;}
.pi-portal-footer p{margin:0;font-size:13px;line-height:1.45;color:#b9c7d8;text-align:right;}
.pi-portal-footer strong{color:#67e8a6;}
@media(max-width:900px){
  .brand img{width:190px;}
  .brand .brand-text{display:none;}
  .top .wrap>div:last-child{display:flex!important;gap:6px!important;flex-wrap:wrap!important;margin-top:12px!important;}
  .top .btn.ghost,.top .credit-pill{font-size:13px;padding:9px 11px!important;}
  .pi-portal-shell{padding:26px 20px;border-radius:24px;}
  .pi-portal-footer .wrap{display:block;text-align:center;}
  .pi-portal-footer p{text-align:center;margin-top:10px;}
}
@media(max-width:560px){
  .brand{justify-content:center;}
  .brand img{width:min(260px,76vw);}
  .top .wrap>div:last-child{justify-content:center;}
  .top .btn.ghost,.top .credit-pill{flex:1 1 auto;min-width:130px;text-align:center;}
  .buyer-market-hero,.reg-hero{border-radius:22px!important;padding:26px 18px!important;}
  .buyer-market-hero h1,.reg-hero h1,.pi-auth-title{font-size:clamp(34px,11vw,46px)!important;}
  .buyer-login-panel,.reg-form-card,.reg-info-card,.buyer-info-card,.lead-pricing-card,.card{border-radius:20px!important;}
  input,select,textarea{font-size:16px;}
}


/* v3.3.91E.44A portal contrast and readability hotfix */
.top .brand .brand-name{color:#ffffff!important;text-shadow:0 1px 10px rgba(0,0,0,.25)!important;}
.top .brand .brand-sub{color:#ffffff!important;letter-spacing:.16em!important;text-shadow:0 1px 10px rgba(0,0,0,.35)!important;}
.buyer-market-hero .buyer-login-panel,
.reg-hero .reg-proof-card{color:#0f172a!important;background:rgba(255,255,255,.985)!important;}
.buyer-market-hero .buyer-login-panel h1,
.buyer-market-hero .buyer-login-panel h2,
.buyer-market-hero .buyer-login-panel h3,
.buyer-market-hero .buyer-login-panel label,
.reg-hero .reg-proof-card h1,
.reg-hero .reg-proof-card h2,
.reg-hero .reg-proof-card h3{color:#0f172a!important;}
.buyer-market-hero .buyer-login-panel p,
.buyer-market-hero .buyer-login-panel .muted,
.buyer-market-hero .buyer-login-panel span,
.reg-hero .reg-proof-card p,
.reg-hero .reg-proof-card .reg-note,
.reg-hero .reg-proof-card .muted,
.reg-hero .reg-proof-card .reg-proof-list,
.reg-hero .reg-proof-card .reg-proof-list div{color:#334155!important;}
.buyer-market-hero .buyer-login-panel a:not(.btn),
.reg-hero .reg-proof-card a:not(.btn){color:#075985!important;font-weight:900!important;text-decoration:underline;}
.buyer-market-hero .buyer-login-panel input,
.buyer-market-hero .buyer-login-panel select,
.reg-form-card input,
.reg-form-card select,
.reg-form-card textarea{color:#0f172a!important;background:#ffffff!important;border-color:#cbd5e1!important;}
.buyer-market-hero .buyer-login-panel input:focus,
.reg-form-card input:focus,
.reg-form-card select:focus,
.reg-form-card textarea:focus{outline:3px solid rgba(14,165,233,.18)!important;border-color:#0ea5e9!important;}
.reg-proof-card .reg-proof-list div{background:#f8fafc!important;border-color:#e2e8f0!important;}


/* v3.3.91E.46A portal template + long-brand typography hotfix */
.directory-brand-mode .buyer-market-hero h1,
.directory-brand-mode .reg-hero h1,
.directory-brand-mode .directory-hero h1{
  font-size:clamp(28px,3.15vw,44px)!important;
  line-height:1.12!important;
  letter-spacing:-.035em!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  max-width:900px;
}
.directory-brand-mode .buyer-market-hero,
.directory-brand-mode .reg-hero,
.directory-brand-mode .directory-hero{
  overflow-wrap:normal!important;
}
.directory-brand-mode .buyer-market-hero p,
.directory-brand-mode .reg-hero p,
.directory-brand-mode .directory-hero p{
  word-break:normal!important;
  overflow-wrap:normal!important;
  max-width:760px;
}
.directory-brand-mode .buyer-market-kicker,
.directory-brand-mode .reg-kicker{
  max-width:100%;
  white-space:normal;
  line-height:1.25;
}
.directory-brand-mode .reg-hero-inner,
.directory-brand-mode .buyer-market-hero-inner{
  grid-template-columns:minmax(0,1fr) minmax(300px,.62fr)!important;
  gap:30px!important;
}
@media(max-width:980px){
  .directory-brand-mode .reg-hero-inner,
  .directory-brand-mode .buyer-market-hero-inner{grid-template-columns:1fr!important;}
}
@media(max-width:620px){
  .directory-brand-mode .buyer-market-hero h1,
  .directory-brand-mode .reg-hero h1,
  .directory-brand-mode .directory-hero h1{
    font-size:clamp(26px,8.2vw,36px)!important;
    line-height:1.14!important;
  }
}


/* v3.3.91E.47 prelaunch portal layout refinement */
html{scroll-behavior:smooth;}
#credit-pricing,#directory-results{scroll-margin-top:96px;}
.directory-brand-mode .buyer-market-hero-inner,
.directory-brand-mode .reg-hero-inner{align-items:start!important;}
.directory-brand-mode .buyer-market-hero,
.directory-brand-mode .reg-hero{padding-top:28px!important;}
.directory-brand-mode .buyer-market-hero h1,
.directory-brand-mode .reg-hero h1{
  font-size:clamp(26px,2.7vw,40px)!important;
  line-height:1.14!important;
  max-width:760px!important;
  overflow-wrap:break-word!important;
}
.directory-brand-mode .reg-proof-card h1,
.directory-brand-mode .reg-proof-card h2,
.directory-brand-mode .buyer-login-panel h1,
.directory-brand-mode .buyer-login-panel h2{
  font-size:clamp(20px,2vw,26px)!important;
  line-height:1.2!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  text-wrap:balance!important;
  hyphens:none!important;
}
.directory-brand-mode .reg-proof-card,
.directory-brand-mode .buyer-login-panel{min-width:0!important;}
.directory-brand-mode .top .brand-name{font-size:clamp(14px,1.45vw,17px)!important;max-width:min(30vw,320px)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.directory-brand-mode .top .brand-sub{font-size:10px!important;letter-spacing:.10em!important;}
@media(max-width:980px){
  .directory-brand-mode .top .brand-name{max-width:70vw!important;}
  .directory-brand-mode .buyer-market-hero,
  .directory-brand-mode .reg-hero{padding-top:24px!important;}
}
@media(max-width:620px){
  .directory-brand-mode .buyer-market-hero h1,
  .directory-brand-mode .reg-hero h1{font-size:clamp(24px,7.5vw,34px)!important;}
  #credit-pricing,#directory-results{scroll-margin-top:54px;}
}

/* v3.3.91E.58 buyer/borrower portal experience polish */
.top{min-height:auto!important;}
.top .wrap{padding-top:12px!important;padding-bottom:12px!important;}
.top .brand img{max-height:42px!important;}
.top .brand .brand-name{font-size:clamp(13px,1.25vw,17px)!important;}
.top .brand .brand-sub{font-size:10px!important;letter-spacing:.08em!important;line-height:1.15!important;max-width:420px;white-space:normal!important;}
.credit-bar{padding:16px 18px!important;margin:14px 0!important;border-radius:18px!important;}
.credit-bar h2{font-size:20px!important;}
.credit-bar p{margin:4px 0 0!important;}
.credit-balance-number{font-size:32px!important;}
.card.lead-workspace,.buyer-dashboard-workspace{padding:18px!important;border-radius:18px!important;}
.buyer-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:10px;}
.buyer-section-head h2{margin:2px 0 4px!important;font-size:22px!important;letter-spacing:-.025em;}
.buyer-section-head .muted{margin:0!important;line-height:1.45;}
.eyebrow{margin:0 0 4px!important;font-size:11px;font-weight:1000;letter-spacing:.10em;text-transform:uppercase;color:#0f766e;}
.portal-tabs-compact,.portal-tabs{gap:6px!important;margin:8px 0 12px!important;}
.portal-tabs-compact .portal-tab,.portal-tab{padding:8px 11px!important;border-radius:999px!important;font-size:13px!important;line-height:1.1!important;white-space:nowrap!important;}
.table-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0 10px;}
.table-tools .table-search{max-width:520px;padding:9px 11px!important;border-radius:10px!important;font-size:13px;}
.table-count{font-size:13px;font-weight:900;color:#334155;white-space:nowrap;}
.lead-data-table th,.lead-data-table td,.smart-table th,.smart-table td{padding:8px 9px!important;font-size:13px!important;vertical-align:middle!important;}
.lead-data-table td strong,.smart-table td strong{font-size:13px!important;line-height:1.2;}
.lead-data-table .btn,.smart-table .btn{padding:8px 10px!important;border-radius:10px!important;font-size:12px!important;white-space:nowrap!important;}
.portal-pane table{min-width:980px;}
.profile-settings summary{cursor:pointer;font-weight:1000;color:#0b2854;}
.profile-settings.card{padding:16px 18px!important;}
.portal-hero.card{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px!important;border-radius:20px!important;}
.portal-hero h1{margin:2px 0 6px!important;font-size:clamp(26px,3vw,38px)!important;letter-spacing:-.04em;}
.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0;}
.dashboard-metrics .mini{background:#fff;border:1px solid #d9e3ef;border-radius:16px;padding:14px;box-shadow:0 10px 26px rgba(15,23,42,.06);}
.dashboard-metrics .mini strong{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#64748b;display:block;margin-bottom:4px;}
.dashboard-metrics .mini span{font-size:22px;font-weight:1000;color:#0b2854;}
.scenario-table th,.scenario-table td{padding:8px 10px!important;font-size:13px!important;}
.scenario-table .btn.small{padding:8px 10px!important;font-size:12px!important;}
@media(max-width:900px){
  .buyer-section-head,.portal-hero.card{display:block;}
  .buyer-section-head .btn{margin-top:10px;}
  .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}
  .portal-tabs-compact .portal-tab,.portal-tab{flex:1 1 auto;white-space:normal!important;}
}
@media(max-width:560px){
  .dashboard-metrics{grid-template-columns:1fr;}
  .table-tools{display:block;}
  .table-count{display:block;margin-top:8px;}
}

/* v3.3.91E.60 portal footer readability fix */
.pi-portal-footer .portal-footer-links{display:flex;gap:14px;flex-wrap:wrap;align-items:center;justify-content:center;margin-top:8px;}
.pi-portal-footer .portal-footer-links a{color:#f8fafc!important;text-decoration:none;font-weight:900;border-bottom:1px solid rgba(255,255,255,.45);}
.pi-portal-footer .portal-footer-links a:hover,.pi-portal-footer .portal-footer-links a:focus{color:#67e8f9!important;border-bottom-color:#67e8f9;outline:none;}
.pi-portal-footer p a,.mini-directory-footer p a{color:#f8fafc!important;}
.account-pager,.pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:14px;}
.pager-status{font-weight:900;color:#475569;}

/* v3.3.91E.63 mobile portal layout + template usability polish */
.buyer-market-hero:after,.reg-hero:after{display:none!important;content:none!important;}
.buyer-market-hero,.reg-hero{max-width:100%!important;overflow:hidden!important;isolation:isolate;}
.buyer-market-hero h1,.reg-hero h1{overflow-wrap:break-word!important;word-break:normal!important;hyphens:none!important;max-width:100%!important;}
.buyer-market-hero p,.reg-hero p,.reg-proof-card,.buyer-info-card,.lead-pricing-card{max-width:100%!important;overflow-wrap:break-word!important;}
.pi-portal-footer .portal-footer-links a,.mini-directory-footer .portal-footer-links a{color:#ffffff!important;text-shadow:0 1px 2px rgba(0,0,0,.35);border-bottom:1px solid rgba(255,255,255,.55)!important;}
.pi-portal-footer .portal-footer-links a:hover,.pi-portal-footer .portal-footer-links a:focus,.mini-directory-footer .portal-footer-links a:hover,.mini-directory-footer .portal-footer-links a:focus{color:#7dd3fc!important;border-bottom-color:#7dd3fc!important;}
.top .brand img,.directory-brand-mode .top .brand img{max-height:64px!important;max-width:330px!important;width:auto!important;object-fit:contain!important;}
@media(max-width:900px){
  .top .brand img,.directory-brand-mode .top .brand img{max-height:58px!important;max-width:min(58vw,280px)!important;}
  .top .wrap{width:100%!important;max-width:100%!important;}
}
@media(max-width:620px){
  body{min-width:0!important;}
  .wrap{width:100%!important;max-width:100%!important;padding-left:14px!important;padding-right:14px!important;}
  .buyer-market-hero,.reg-hero{border-radius:20px!important;padding:24px 16px!important;margin-left:0!important;margin-right:0!important;}
  .buyer-market-hero h1,.reg-hero h1{font-size:clamp(28px,9.5vw,40px)!important;line-height:1.03!important;letter-spacing:-.035em!important;}
  .buyer-market-hero p,.reg-hero p{font-size:16px!important;line-height:1.48!important;}
  .buyer-market-kicker,.reg-kicker,.reg-trust-strip span{max-width:100%;white-space:normal!important;}
  .buyer-hero-actions,.reg-hero-actions{width:100%;}
  .buyer-hero-actions .btn,.reg-hero-actions .btn{width:100%!important;white-space:normal!important;}
  .lead-pricing-rule,.reg-price-row{white-space:normal!important;}
  .top .brand{gap:9px!important;align-items:center!important;}
  .top .brand img,.directory-brand-mode .top .brand img{max-height:52px!important;max-width:52vw!important;}
  .top .brand .brand-name{max-width:38vw!important;font-size:14px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .top .brand .brand-sub{font-size:9px!important;letter-spacing:.08em!important;line-height:1.1!important;max-width:38vw!important;}
  .pi-portal-footer{text-align:center!important;}
  .pi-portal-footer .portal-footer-links{justify-content:center!important;gap:12px!important;}
  .pi-portal-footer .portal-footer-links a{font-size:15px!important;}
}


/* v3.3.91E.66 site-wide mobile portal standardization */
html,body{max-width:100%;overflow-x:hidden;}
.wrap,.top .wrap,.pi-portal-shell,.buyer-dashboard-workspace,.portal-hero,.card{min-width:0;}
@media(max-width:700px){
  .wrap{width:100%!important;max-width:100%!important;padding-left:12px!important;padding-right:12px!important;}
  .top .wrap{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;flex-wrap:wrap!important;}
  .top .brand{width:100%;justify-content:center!important;text-align:center!important;}
  .top .brand img,.directory-brand-mode .top .brand img{max-height:58px!important;max-width:min(72vw,310px)!important;width:auto!important;}
  .top .brand .brand-text{max-width:100%!important;text-align:center!important;}
  .top .brand .brand-name{max-width:100%!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.12!important;}
  .top .brand .brand-sub{max-width:100%!important;white-space:normal!important;}
  .buyer-market-hero,.reg-hero,.directory-hero,.portal-hero.card,.lead-pricing-card,.reg-form-card,.reg-info-card,.buyer-info-card,.buyer-login-panel{max-width:100%!important;margin-left:auto!important;margin-right:auto!important;}
  .pi-portal-footer .portal-footer-links a{color:#ffffff!important;text-decoration:underline!important;text-underline-offset:3px!important;}
}


/* v68 buyer portal polish */
.portal-footer-links a,.pi-portal-footer .portal-footer-links a{color:#e6f4ff!important;text-decoration:none;font-weight:1000}.portal-footer-links a:hover,.pi-portal-footer .portal-footer-links a:hover{color:#ffffff!important;text-decoration:underline}.top .brand img{max-height:82px;max-width:340px;object-fit:contain}.portal-tab{white-space:nowrap}.credit-package-showcase .package-card,.lead-pricing-card .package-card{width:100%;min-width:0}.buyer-section-head a[href*="#profile-settings"]{white-space:normal}.compact-alert-hero{display:flex;align-items:center;justify-content:space-between;gap:16px}@media(max-width:760px){.compact-alert-hero{display:block}.top .brand img{max-height:74px}.portal-tab{white-space:normal}.pi-portal-footer .wrap{text-align:center}.pi-portal-footer .portal-footer-links{justify-content:center}}

/* v3.3.91E.117 buyer login/register text visibility standard */
.buyer-login-page .buyer-market-hero,
.registration-landing .reg-hero{
  color:#ffffff!important;
}
.buyer-login-page .buyer-market-hero h1,
.registration-landing .reg-hero h1{
  color:#ffffff!important;
  text-shadow:0 2px 8px rgba(0,0,0,.32)!important;
}
.buyer-login-page .buyer-market-hero > *,
.registration-landing .reg-hero > *{
  color:inherit;
}
.buyer-login-page .buyer-market-hero p,
.registration-landing .reg-hero p,
.buyer-login-page .selected-lead-callout,
.registration-landing .selected-lead-note{
  font-weight:800!important;
}
.buyer-login-page .buyer-market-hero p,
.registration-landing .reg-hero p{
  color:#eef9ff!important;
  text-shadow:0 1px 3px rgba(0,0,0,.24)!important;
}
.buyer-login-page .buyer-market-kicker,
.registration-landing .reg-kicker{
  color:#422006!important;
  background:#facc15!important;
  box-shadow:0 8px 18px rgba(0,0,0,.16)!important;
}
.buyer-login-page .buyer-hero-actions .btn.ghost,
.registration-landing .reg-hero-actions .btn.ghost{
  background:#ffffff!important;
  color:#0f2e5d!important;
  border:1px solid rgba(255,255,255,.85)!important;
  box-shadow:0 10px 22px rgba(2,6,23,.18)!important;
}
.buyer-login-page .buyer-hero-actions .btn.ghost:hover,
.buyer-login-page .buyer-hero-actions .btn.ghost:focus,
.registration-landing .reg-hero-actions .btn.ghost:hover,
.registration-landing .reg-hero-actions .btn.ghost:focus{
  background:#e0f2fe!important;
  color:#082f49!important;
}
.registration-landing .reg-trust-strip span{
  background:rgba(255,255,255,.96)!important;
  border-color:rgba(255,255,255,.98)!important;
  color:#0f2e5d!important;
  text-shadow:none!important;
  box-shadow:0 8px 18px rgba(2,6,23,.16)!important;
}
.registration-landing .reg-proof-card,
.buyer-login-page .buyer-login-panel{
  background:#ffffff!important;
  color:#0f172a!important;
}
.registration-landing .reg-proof-card h1,
.registration-landing .reg-proof-card h2,
.registration-landing .reg-proof-card h3,
.registration-landing .reg-proof-card strong,
.buyer-login-page .buyer-login-panel h1,
.buyer-login-page .buyer-login-panel h2,
.buyer-login-page .buyer-login-panel h3,
.buyer-login-page .buyer-login-panel strong,
.buyer-login-page .buyer-login-panel label{
  color:#0f172a!important;
  text-shadow:none!important;
}
.registration-landing .reg-proof-card p,
.registration-landing .reg-proof-card .reg-note,
.registration-landing .reg-proof-card .reg-proof-list,
.registration-landing .reg-proof-card .reg-proof-list div,
.buyer-login-page .buyer-login-panel p,
.buyer-login-page .buyer-login-panel .muted,
.buyer-login-page .buyer-login-panel span{
  color:#334155!important;
  text-shadow:none!important;
}
.registration-landing .reg-proof-card a:not(.btn),
.buyer-login-page .buyer-login-panel a:not(.btn){
  color:#075985!important;
  font-weight:1000!important;
  text-decoration:underline!important;
}
.registration-landing .reg-value-card p,
.registration-landing .reg-info-card p,
.registration-landing .reg-form-card p,
.buyer-login-page .buyer-value-tile span,
.buyer-login-page .buyer-info-card p,
.buyer-login-page .lead-pricing-card p{
  color:#475569!important;
}
.registration-landing .reg-form-card h2,
.registration-landing .reg-form-card h3,
.registration-landing .reg-info-card h2,
.registration-landing .reg-value-card strong,
.buyer-login-page .lead-pricing-card h2,
.buyer-login-page .buyer-info-card h2,
.buyer-login-page .buyer-value-tile strong{
  color:#0f2e5d!important;
}


/* v3.3.91E.143 portal conversion typography and directory polish */
.buyer-login-page .buyer-market-hero p,
.registration-landing .reg-hero p{
  font-size:clamp(16px,1.35vw,18px)!important;
  line-height:1.56!important;
  font-weight:500!important;
  letter-spacing:0!important;
  max-width:760px!important;
}
.buyer-login-page .buyer-market-hero h1,
.registration-landing .reg-hero h1{
  font-size:clamp(30px,3.45vw,46px)!important;
  line-height:1.08!important;
  letter-spacing:-.045em!important;
}
.buyer-login-panel h2,
.registration-landing .reg-proof-card h2{
  font-size:clamp(22px,1.9vw,28px)!important;
  line-height:1.18!important;
  letter-spacing:-.02em!important;
  font-weight:850!important;
}
.buyer-login-panel p,
.registration-landing .reg-proof-card p,
.registration-landing .reg-proof-list div,
.registration-landing .reg-form-card p,
.registration-landing .reg-info-card p{
  font-size:15px!important;
  line-height:1.52!important;
  font-weight:500!important;
}
.registration-landing .reg-proof-list div{font-weight:650!important;}
.reg-hero .reg-trust-strip span,
.buyer-market-kicker,
.reg-kicker{font-weight:850!important;letter-spacing:.015em!important;}
.top .brand-text{display:none!important;}
.top .brand img{background:transparent!important;box-shadow:none!important;border:0!important;}
.directory-search-panel summary::-webkit-details-marker{display:none;}
.directory-search-panel summary:after{content:'+';float:right;font-size:20px;line-height:1;}
.directory-search-panel[open] summary:after{content:'−';}
.directory-pagination .btn{white-space:nowrap!important;}
@media(max-width:700px){
  .buyer-login-page .buyer-market-hero h1,
  .registration-landing .reg-hero h1{font-size:clamp(28px,8vw,38px)!important;line-height:1.1!important;}
  .buyer-login-page .buyer-market-hero p,
  .registration-landing .reg-hero p{font-size:15px!important;line-height:1.5!important;}
  .directory-pagination{flex-wrap:wrap;}
}

/* v3.3.91E.146 portal identity placement */
.portal-nav-block{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.portal-signed-in-name{font-size:12px;font-weight:800;color:rgba(255,255,255,.9);line-height:1.15;text-align:right;padding-right:3px}.portal-user-chip{display:none!important}@media(max-width:760px){.portal-nav-block{align-items:center}.portal-signed-in-name{text-align:center;padding-right:0}}


/* v3.3.91E.147 portal header identity, mobile button, and conversion polish */
.top .brand .brand-text,
.brand .brand-text{display:none!important;}
.portal-nav-block{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:4px!important;}
.portal-signed-in-name{display:block!important;color:#ffd34d!important;font-size:12px!important;font-weight:900!important;line-height:1.15!important;text-align:right!important;padding-right:4px!important;text-shadow:0 1px 8px rgba(0,0,0,.28)!important;}
.portal-signed-in-name span{color:#fff9d6!important;font-weight:800!important;}
.portal-signed-in-name strong{color:#ffd34d!important;font-weight:1000!important;}
.btn,button,.portal-tab,.credit-pill,.directory-trust-strip span,.buyer-badge,.badge{white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;line-height:1.18!important;max-width:100%!important;}
.btn,button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px;min-height:40px;}
.btn.small,button.small{min-height:34px!important;}
.directory-trust-strip span{border-radius:14px!important;padding:8px 10px!important;font-size:12px!important;}
.credit-expiration-notice{background:transparent!important;border:0!important;padding:4px 0!important;margin:8px 0 6px!important;color:#8b1e1e!important;font-size:13px!important;font-weight:800!important;line-height:1.35!important;box-shadow:none!important;}
.credit-expiration-notice strong{font-weight:900!important;}
.buyer-market-hero p,.buyer-hero p,.register-hero-copy,.portal-copy{font-weight:600!important;letter-spacing:0!important;}
.profile-target-highlight,.portal-target-highlight{animation:portalTargetGlow 2.4s ease-out 1;outline:3px solid rgba(250,204,21,.72)!important;box-shadow:0 0 0 7px rgba(250,204,21,.18),0 16px 40px rgba(15,23,42,.12)!important;}
@keyframes portalTargetGlow{0%{background:#fef3c7}100%{background:inherit}}
@media(max-width:760px){
  .top .wrap{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;}
  .portal-nav-block{align-items:flex-end!important;max-width:62vw!important;}
  .portal-nav{display:flex!important;gap:6px!important;justify-content:flex-end!important;flex-wrap:wrap!important;}
  .portal-nav .btn{font-size:13px!important;padding:9px 10px!important;min-height:36px!important;max-width:100%!important;}
  .portal-signed-in-name{text-align:right!important;font-size:11px!important;padding-right:2px!important;max-width:100%!important;}
  .btn,button{white-space:normal!important;min-height:42px;}
  .portal-actions .btn,.credit-actions .btn,.buyer-hero-actions .btn,.directory-card-actions .btn,.directory-sticky-cta .btn{width:100%!important;}
  .directory-sticky-cta{grid-template-columns:1fr!important;}
}

/* v3.3.91E.149 Mobile Portal Header + Strategic CTA System */
.portal-menu-toggle{display:none;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.34)!important;background:rgba(255,255,255,.10)!important;color:#fff!important;border-radius:14px!important;padding:10px 12px!important;font-weight:1000!important;line-height:1!important;box-shadow:none!important;width:auto!important;min-width:0!important;white-space:nowrap!important}
.portal-menu-bars{display:inline-flex;flex-direction:column;gap:4px}.portal-menu-bars i{display:block;width:18px;height:2px;background:#fff;border-radius:999px}.portal-menu-text{font-size:13px;letter-spacing:.02em}.top .wrap{position:relative}.portal-nav-block{min-width:0}.portal-signed-in-name{color:#facc15!important;font-size:12px!important;line-height:1.2!important;text-align:right!important;margin-top:5px!important;font-weight:800!important;text-shadow:0 1px 2px rgba(0,0,0,.28)}.portal-signed-in-name span{color:#fde68a!important;font-weight:800!important}.portal-signed-in-name strong{color:#facc15!important;font-weight:1000!important}.buyer-conversion-sticky .btn{background:linear-gradient(120deg,#16a34a,#0f766e)!important;color:#fff!important;border-radius:14px!important}.buyer-conversion-sticky .sticky-login-link{align-self:center;color:#0b2854!important;background:#eef4fb;border:1px solid #d9e3ef;border-radius:12px;padding:12px 13px;text-align:center;line-height:1.1}
@media(max-width:760px){
  body{padding-bottom:82px!important}.top{position:sticky!important;top:0!important;z-index:500!important}.top .wrap{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:10px 14px!important}.top .brand{flex:1 1 auto!important;min-width:0!important}.top .brand a{display:inline-flex!important;max-width:100%!important}.top .brand img{max-height:56px!important;max-width:min(74vw,330px)!important;object-fit:contain!important}.portal-menu-toggle{display:inline-flex!important;flex:0 0 auto!important}.portal-nav-block{display:none!important;position:absolute!important;left:12px!important;right:12px!important;top:calc(100% + 8px)!important;background:linear-gradient(135deg,#061529,#0f766e)!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:18px!important;padding:12px!important;box-shadow:0 24px 64px rgba(6,21,41,.34)!important;z-index:9999!important}.portal-nav-block.is-open{display:block!important}.portal-nav{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;justify-content:stretch!important}.portal-nav .btn,.portal-nav a{width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;white-space:normal!important;min-height:44px!important;line-height:1.15!important;text-align:center!important;border-radius:14px!important;padding:12px 14px!important}.portal-signed-in-name{text-align:center!important;margin:10px 0 0!important;color:#facc15!important}.buyer-conversion-sticky{padding:9px 10px calc(9px + env(safe-area-inset-bottom,0px))!important}.buyer-conversion-sticky-inner{gap:8px!important}.buyer-conversion-sticky .btn{min-height:46px!important;white-space:normal!important;line-height:1.12!important;font-size:15px!important}.buyer-conversion-sticky .sticky-login-link{min-height:46px;display:inline-flex;align-items:center;justify-content:center;min-width:74px;font-size:14px}.portal-actions .btn,.credit-actions .btn,.buyer-hero-actions .btn,.directory-actions .btn,.directory-card-actions .btn{white-space:normal!important;line-height:1.15!important;min-height:44px!important}
}
@media(max-width:420px){.top .brand img{max-width:min(72vw,290px)!important;max-height:52px!important}.portal-menu-toggle{padding:9px 10px!important}.portal-menu-text{display:none}.buyer-conversion-sticky .sticky-login-link{min-width:64px;padding-left:10px;padding-right:10px}}

/* v3.3.91E.150 Portal mobile nav hotfix: desktop/tablet standard nav, mobile-only hamburger */
@media (min-width:721px){
  .top .wrap{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:18px 24px!important;}
  .portal-menu-toggle{display:none!important;visibility:hidden!important;pointer-events:none!important;}
  .portal-nav-block{display:block!important;position:static!important;left:auto!important;right:auto!important;top:auto!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;max-width:none!important;min-width:0!important;}
  .portal-nav{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important;}
  .portal-nav .btn,.portal-nav a{width:auto!important;min-height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;line-height:1.15!important;text-align:center!important;border-radius:999px!important;padding:10px 14px!important;}
  .portal-signed-in-name{text-align:right!important;margin-top:6px!important;color:#facc15!important;}
}
@media (max-width:720px){
  body{padding-bottom:82px!important;}
  .top{position:sticky!important;top:0!important;z-index:500!important;}
  .top .wrap{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:10px 14px!important;}
  .top .brand{flex:1 1 auto!important;min-width:0!important;}
  .top .brand a{display:inline-flex!important;max-width:100%!important;}
  .top .brand img{max-height:56px!important;max-width:min(74vw,330px)!important;object-fit:contain!important;}
  .portal-menu-toggle{display:inline-flex!important;visibility:visible!important;pointer-events:auto!important;flex:0 0 auto!important;align-items:center!important;}
  .portal-nav-block{display:none!important;position:absolute!important;left:12px!important;right:12px!important;top:calc(100% + 8px)!important;background:linear-gradient(135deg,var(--buyer-header-a,#061529),var(--buyer-header-c,#0f766e))!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:18px!important;padding:12px!important;box-shadow:0 24px 64px rgba(6,21,41,.34)!important;z-index:9999!important;max-width:none!important;}
  .portal-nav-block.is-open{display:block!important;}
  .portal-nav{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;justify-content:stretch!important;}
  .portal-nav .btn,.portal-nav a{width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;white-space:normal!important;min-height:44px!important;line-height:1.15!important;text-align:center!important;border-radius:14px!important;padding:12px 14px!important;}
  .portal-signed-in-name{text-align:center!important;margin:10px 0 0!important;color:#facc15!important;}
}
@media (max-width:420px){
  .top .brand img{max-width:min(72vw,290px)!important;max-height:52px!important;}
  .portal-menu-toggle{padding:9px 10px!important;}
  .portal-menu-text{display:none!important;}
}


/* v3.3.91E.151 unified mini-site portal theme lock */
.directory-brand-mode .top,
.directory-brand-mode .pi-portal-footer,
.directory-brand-mode .mini-directory-footer{
  background:var(--buyer-header-bg)!important;
  background-color:var(--buyer-header-a)!important;
}
.directory-brand-mode .top{box-shadow:0 10px 28px rgba(2,6,23,.18)!important;}
.directory-brand-mode .top .wrap{max-width:1180px!important;}
.directory-brand-mode .top .brand{background:transparent!important;border-radius:0!important;box-shadow:none!important;padding:0!important;}
.directory-brand-mode .top .brand a{display:flex;align-items:center;background:transparent!important;border:0!important;text-decoration:none;}
.directory-brand-mode .top .brand img{display:block;width:auto!important;object-fit:contain!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;}
.directory-brand-mode .pi-portal-footer .wrap,
.directory-brand-mode .mini-directory-footer .wrap{max-width:1180px!important;}
.directory-brand-mode .pi-portal-footer img,
.directory-brand-mode .mini-directory-footer img{background:transparent!important;border-radius:0!important;box-shadow:none!important;}
.directory-brand-mode-hardmoneyconnection .top,
.directory-brand-mode-hardmoneyconnection .pi-portal-footer,
.directory-brand-mode-hardmoneyconnection .mini-directory-footer{
  background:#062d29!important;
  background-image:linear-gradient(120deg,#062d29,#062d29)!important;
}
.directory-brand-mode-hardmoneyconnection .buyer-hero,
.directory-brand-mode-hardmoneyconnection .directory-hero,
.directory-brand-mode-hardmoneyconnection .reg-hero,
.directory-brand-mode-hardmoneyconnection .buyer-market-hero{
  background:linear-gradient(135deg,#062d29,#0b624f)!important;
}
@media(min-width:901px){
  .directory-brand-mode .portal-menu-toggle{display:none!important;}
  .directory-brand-mode .portal-nav-block{display:block!important;position:static!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;}
}
@media(max-width:900px){
  .directory-brand-mode .top .wrap{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;}
  .directory-brand-mode .portal-menu-toggle{display:inline-flex!important;align-items:center!important;}
  .directory-brand-mode .portal-nav-block{background:rgba(2,6,23,.96)!important;border:1px solid rgba(255,255,255,.14)!important;}
}


/* v3.3.91E.152 full mini-site theme consistency across portal/legal pages */
.directory-brand-mode .top,
.directory-brand-mode .pi-portal-footer,
.directory-brand-mode .mini-directory-footer{background:var(--buyer-header-bg)!important;}
.directory-brand-mode .buyer-hero,
.directory-brand-mode .directory-hero,
.directory-brand-mode .reg-hero,
.directory-brand-mode .buyer-market-hero{background:linear-gradient(135deg,var(--buyer-header-a),var(--buyer-header-c))!important;}
.directory-brand-mode .card,
.directory-brand-mode .price-card,
.directory-brand-mode .package-card,
.directory-brand-mode .mini-panel,
.directory-brand-mode .lender-card,
.directory-brand-mode .buyer-login-panel,
.directory-brand-mode .reg-proof-card{background:var(--buyer-surface)!important;border-color:var(--buyer-border)!important;color:var(--buyer-text)!important;}
.directory-brand-mode input,
.directory-brand-mode select,
.directory-brand-mode textarea{border-color:var(--buyer-border)!important;}
.directory-brand-mode .top .brand img{background:transparent!important;box-shadow:none!important;border-radius:0!important;}
.directory-brand-mode .pi-portal-footer img,
.directory-brand-mode .mini-directory-footer img{background:transparent!important;box-shadow:none!important;border-radius:0!important;}
.directory-brand-mode-privatemoneyconnection .top,
.directory-brand-mode-privatemoneyconnection .pi-portal-footer,
.directory-brand-mode-privatemoneyconnection .mini-directory-footer{background:#151a1d!important;}
.directory-brand-mode-privatemoneyconnection .buyer-hero,
.directory-brand-mode-privatemoneyconnection .directory-hero,
.directory-brand-mode-privatemoneyconnection .reg-hero,
.directory-brand-mode-privatemoneyconnection .buyer-market-hero{background:linear-gradient(135deg,#151a1d,#1f2933)!important;}
.directory-brand-mode-privatemoneyconnection .top .brand img{max-height:70px!important;max-width:340px!important;}
.directory-brand-mode-hardmoneyconnection .top,
.directory-brand-mode-hardmoneyconnection .pi-portal-footer,
.directory-brand-mode-hardmoneyconnection .mini-directory-footer{background:#062d29!important;}
.directory-brand-mode-hardmoneyconnection .buyer-hero,
.directory-brand-mode-hardmoneyconnection .directory-hero,
.directory-brand-mode-hardmoneyconnection .reg-hero,
.directory-brand-mode-hardmoneyconnection .buyer-market-hero{background:linear-gradient(135deg,#062d29,#08724f)!important;}
.directory-brand-mode-capitalhardmoney .top,
.directory-brand-mode-capitalhardmoney .pi-portal-footer,
.directory-brand-mode-capitalhardmoney .mini-directory-footer{background:#10172f!important;}
.directory-brand-mode-privateinvestor .top,
.directory-brand-mode-privateinvestor .pi-portal-footer,
.directory-brand-mode-privateinvestor .mini-directory-footer{background:#061529!important;}
@media(max-width:720px){.directory-brand-mode .top .wrap{display:flex!important;align-items:center!important;justify-content:space-between!important}.directory-brand-mode .portal-nav-block.is-open{display:block!important}.directory-brand-mode .top .brand img{max-width:70vw!important}.directory-brand-mode .portal-menu-toggle{flex:0 0 auto!important}}


/* v3.3.91E.154 mobile menu, theme lock, and portal polish */
@media (max-width:720px){
  .top{position:sticky!important;top:0!important;z-index:1000!important;min-height:0!important;}
  .top .wrap{display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;gap:12px!important;padding:12px 18px!important;}
  .top .brand{justify-content:center!important;align-items:center!important;min-width:0!important;}
  .top .brand a{justify-content:center!important;width:100%!important;}
  .top .brand img{max-height:58px!important;max-width:min(74vw,340px)!important;margin:0 auto!important;display:block!important;}
  .portal-menu-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:54px!important;height:54px!important;padding:0!important;border-radius:18px!important;justify-self:end!important;z-index:10002!important;}
  .portal-menu-text{display:none!important;}
  .portal-menu-bars i{width:26px!important;height:3px!important;transition:transform .18s ease,opacity .18s ease!important;}
  .portal-menu-toggle.is-open .portal-menu-bars i:nth-child(1){transform:translateY(7px) rotate(45deg)!important;}
  .portal-menu-toggle.is-open .portal-menu-bars i:nth-child(2){opacity:0!important;}
  .portal-menu-toggle.is-open .portal-menu-bars i:nth-child(3){transform:translateY(-7px) rotate(-45deg)!important;}
  .portal-nav-block{display:none!important;position:absolute!important;left:18px!important;right:18px!important;top:calc(100% + 10px)!important;max-width:none!important;background:var(--buyer-header-bg,var(--buyer-header-a,#061529))!important;border:1px solid rgba(255,255,255,.20)!important;border-radius:22px!important;padding:14px!important;box-shadow:0 26px 72px rgba(2,6,23,.38)!important;z-index:10001!important;}
  .portal-nav-block.is-open{display:block!important;}
  .portal-nav{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important;}
  .portal-nav .btn,.portal-nav a{width:100%!important;min-height:50px!important;border-radius:16px!important;font-size:17px!important;font-weight:1000!important;text-align:center!important;justify-content:center!important;}
  body.portal-menu-open main.wrap{padding-top:18px!important;}
  body.portal-menu-open .reg-hero,body.portal-menu-open .buyer-market-hero,body.portal-menu-open .directory-hero{margin-top:128px!important;}
}
@media (min-width:721px){
  .portal-menu-toggle{display:none!important;visibility:hidden!important;pointer-events:none!important;}
  .portal-nav-block{display:block!important;position:static!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;}
}
.directory-brand-mode .top,.directory-brand-mode .pi-portal-footer,.directory-brand-mode .mini-directory-footer{background:var(--buyer-header-bg,var(--buyer-header-a))!important;background-image:none!important;}
.directory-brand-mode-hardmoneyconnection .top,.directory-brand-mode-hardmoneyconnection .pi-portal-footer,.directory-brand-mode-hardmoneyconnection .mini-directory-footer{background:#042b26!important;background-image:none!important;}
.directory-brand-mode-privatemoneyconnection .top,.directory-brand-mode-privatemoneyconnection .pi-portal-footer,.directory-brand-mode-privatemoneyconnection .mini-directory-footer{background:#101927!important;background-image:none!important;}
.directory-brand-mode-capitalhardmoney .top,.directory-brand-mode-capitalhardmoney .pi-portal-footer,.directory-brand-mode-capitalhardmoney .mini-directory-footer{background:#11172d!important;background-image:none!important;}
.directory-brand-mode-privateinvestor .top,.directory-brand-mode-privateinvestor .pi-portal-footer,.directory-brand-mode-privateinvestor .mini-directory-footer{background:#061529!important;background-image:none!important;}
.directory-brand-mode .top .brand img,.directory-brand-mode .pi-portal-footer img,.directory-brand-mode .mini-directory-footer img{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;}
.directory-brand-mode-hardmoneyconnection .top .brand img{max-height:88px!important;max-width:410px!important;}
@media(max-width:720px){.directory-brand-mode-hardmoneyconnection .top .brand img{max-height:62px!important;max-width:min(72vw,330px)!important;}}
.mini-directory-powered-badge{color:#fff!important;background:rgba(0,0,0,.22)!important;border-color:color-mix(in srgb,var(--buyer-accent) 58%,#fff)!important;}
.mini-directory-powered-badge span{color:#061529!important;font-weight:1000!important;}


/* v3.3.91E.155 PIN badge/footer polish */
.mini-directory-powered-badge,.borrower-powered-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:48px!important;max-width:min(100%,360px)!important;border:1px solid color-mix(in srgb,var(--buyer-accent) 52%,#fff)!important;background:rgba(255,255,255,.08)!important;color:#fff!important;border-radius:999px!important;padding:8px 18px 8px 10px!important;font-weight:1000!important;line-height:1.15!important;text-decoration:none!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 10px 24px rgba(2,6,23,.16)!important;white-space:normal!important;text-align:left!important;}
.mini-directory-powered-badge span,.borrower-powered-badge span{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;min-width:34px!important;border-radius:999px!important;background:var(--buyer-accent,#16a34a)!important;color:var(--buyer-primary,#061529)!important;font-size:12px!important;font-weight:1000!important;letter-spacing:.02em!important;}
.mini-directory-powered-badge strong,.borrower-powered-badge strong{display:block!important;max-width:240px!important;color:#fff!important;font-weight:1000!important;line-height:1.12!important;}
.pi-portal-footer .wrap,.mini-directory-footer .wrap{gap:22px!important;align-items:center!important;}
@media(max-width:760px){.mini-directory-powered-badge,.borrower-powered-badge{width:100%!important;justify-content:flex-start!important}.pi-portal-footer .wrap,.mini-directory-footer .wrap,.borrower-footer .wrap{display:grid!important;grid-template-columns:1fr!important;text-align:center!important;justify-items:center!important}.mini-directory-powered-badge strong,.borrower-powered-badge strong{max-width:260px!important}.borrower-themed .top .wrap{gap:10px!important}.borrower-themed .brand-text{display:none!important}}


/* v3.3.91E.157 iPhone hamburger menu final repair */
@media (max-width:720px){
  .portal-nav-block[hidden]{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;height:0!important;overflow:hidden!important;padding:0!important;border:0!important;}
  body:not(.portal-menu-open) .portal-nav-block{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;height:0!important;overflow:hidden!important;padding:0!important;border:0!important;box-shadow:none!important;}
  body.portal-menu-open .portal-nav-block.is-open{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;height:auto!important;overflow:visible!important;}
  .portal-nav-block{position:absolute!important;left:14px!important;right:14px!important;top:calc(100% + 8px)!important;max-width:none!important;background:var(--buyer-header-bg,var(--buyer-header-a,#061529))!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:18px!important;padding:10px!important;box-shadow:0 22px 58px rgba(2,6,23,.42)!important;z-index:10050!important;}
  .portal-nav{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;width:100%!important;}
  .portal-nav .btn,.portal-nav a{width:100%!important;min-height:44px!important;border-radius:14px!important;font-size:16px!important;font-weight:1000!important;text-align:center!important;justify-content:center!important;background:rgba(255,255,255,.10)!important;color:#fff!important;border:1px solid rgba(255,255,255,.22)!important;box-shadow:none!important;}
  .portal-nav .btn:hover,.portal-nav a:hover{background:rgba(255,255,255,.18)!important;text-decoration:none!important;}
  .portal-menu-toggle{width:54px!important;height:54px!important;border-radius:18px!important;z-index:10060!important;}
  .portal-menu-toggle.is-open .portal-menu-bars i:nth-child(1){transform:translateY(7px) rotate(45deg)!important;}
  .portal-menu-toggle.is-open .portal-menu-bars i:nth-child(2){opacity:0!important;}
  .portal-menu-toggle.is-open .portal-menu-bars i:nth-child(3){transform:translateY(-7px) rotate(-45deg)!important;}
  body.portal-menu-open main.wrap{padding-top:14px!important;}
  body.portal-menu-open .reg-hero,body.portal-menu-open .buyer-market-hero,body.portal-menu-open .directory-hero{margin-top:18px!important;}
}


/* v3.3.91E.158 portal QA polish */
@media(max-width:760px){
  body:not(.portal-menu-open) .portal-nav-block{display:none!important;visibility:hidden!important;height:0!important;overflow:hidden!important;}
  body.portal-menu-open .portal-nav-block.is-open{display:block!important;visibility:visible!important;height:auto!important;}
  .portal-menu-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;}
  .portal-nav .btn,.portal-nav a{width:100%!important;min-height:46px!important;}
  .buyer-conversion-sticky .sticky-login-link{display:none!important;}
}
.mini-directory-powered-badge,.borrower-powered-badge,.pin-network-badge{gap:10px!important;padding:10px 14px!important;min-height:46px!important;max-width:100%!important;white-space:normal!important;}
.mini-directory-powered-badge span,.borrower-powered-badge span,.pin-network-badge .pin-dot{width:34px!important;height:34px!important;flex:0 0 34px!important;}

/* v3.3.91E.160 PIN badge visibility polish */
.directory-brand-note{margin:18px auto 12px!important;max-width:1224px!important;padding:0 18px!important;}
.mini-directory-powered-badge,.borrower-powered-badge{
  background:linear-gradient(135deg,rgba(255,210,48,.98),rgba(255,181,0,.94))!important;
  border:1px solid rgba(120,73,0,.26)!important;
  color:#071529!important;
  box-shadow:0 12px 30px rgba(2,6,23,.18),inset 0 1px 0 rgba(255,255,255,.55)!important;
  text-shadow:none!important;
}
.mini-directory-powered-badge span,.borrower-powered-badge span{
  background:linear-gradient(135deg,#67e8a6,#18b981)!important;
  color:#052e2b!important;
  box-shadow:0 0 0 2px rgba(255,255,255,.52),0 4px 12px rgba(2,6,23,.16)!important;
}
.mini-directory-powered-badge strong,.borrower-powered-badge strong,
.mini-directory-powered-badge{color:#071529!important;font-weight:1000!important;letter-spacing:.01em!important;}
.mini-directory-powered-badge:hover,.borrower-powered-badge:hover{filter:saturate(1.05) contrast(1.03)!important;}
@media(max-width:760px){.directory-brand-note{padding:0 16px!important;margin-top:14px!important}.mini-directory-powered-badge{max-width:100%!important}}


/* v3.3.91E.168 footer PIN badge stabilization + conversion module standard */
.pi-portal-footer .mini-directory-powered-badge,
.pi-portal-footer .borrower-powered-badge,
.mini-directory-footer .mini-directory-powered-badge,
.borrower-footer .borrower-powered-badge,
.legal-footer .mini-directory-powered-badge,
.legal-footer .borrower-powered-badge{
  display:inline-grid!important;
  grid-template-columns:40px minmax(0,1fr)!important;
  align-items:center!important;
  justify-content:start!important;
  gap:10px!important;
  width:auto!important;
  min-width:0!important;
  max-width:min(100%,420px)!important;
  min-height:52px!important;
  padding:8px 18px 8px 8px!important;
  border-radius:999px!important;
  overflow:hidden!important;
  text-align:left!important;
  line-height:1.12!important;
  white-space:normal!important;
}
.pi-portal-footer .mini-directory-powered-badge span,
.pi-portal-footer .borrower-powered-badge span,
.mini-directory-footer .mini-directory-powered-badge span,
.borrower-footer .borrower-powered-badge span,
.legal-footer .mini-directory-powered-badge span,
.legal-footer .borrower-powered-badge span{
  display:inline-flex!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  flex:0 0 38px!important;
  border-radius:999px!important;
  background-size:72%!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}
.pi-portal-footer .mini-directory-powered-badge strong,
.pi-portal-footer .borrower-powered-badge strong,
.mini-directory-footer .mini-directory-powered-badge strong,
.borrower-footer .borrower-powered-badge strong,
.legal-footer .mini-directory-powered-badge strong,
.legal-footer .borrower-powered-badge strong{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  text-wrap:balance!important;
  line-height:1.12!important;
}
@media(max-width:760px){
  .pi-portal-footer .mini-directory-powered-badge,
  .pi-portal-footer .borrower-powered-badge,
  .mini-directory-footer .mini-directory-powered-badge,
  .borrower-footer .borrower-powered-badge,
  .legal-footer .mini-directory-powered-badge,
  .legal-footer .borrower-powered-badge{
    width:100%!important;
    max-width:360px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}
.conversion-borrower-hero{position:relative;overflow:hidden;border-radius:30px;padding:42px;background:radial-gradient(circle at 14% 0%,rgba(250,204,21,.28),transparent 34%),linear-gradient(135deg,var(--buyer-header-bg,#061529),#0f2e5d 58%,#0f766e);color:#fff;box-shadow:0 24px 70px rgba(15,23,42,.25);border:1px solid rgba(250,204,21,.45)}
.conversion-borrower-hero h1{font-size:clamp(34px,7vw,58px);line-height:1.02;letter-spacing:-.055em;margin:0 0 16px;color:#fff!important;text-wrap:balance}.conversion-borrower-hero p{color:#dbeafe;font-size:18px;line-height:1.58}.conversion-highlight{color:#facc15}.conversion-benefit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.conversion-benefit-pill{background:linear-gradient(180deg,#fff,#fffdf2);border:1px solid #facc15;border-radius:18px;padding:16px;font-weight:1000;color:#0f2e5d;text-align:center;box-shadow:0 12px 28px rgba(15,23,42,.08);text-transform:uppercase}.conversion-trust-list{display:grid;gap:10px;margin:18px 0}.conversion-trust-list div{display:flex;gap:10px;align-items:flex-start;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:14px;padding:10px 12px;font-weight:900;color:#fff}.conversion-cta-primary{display:inline-flex;align-items:center;justify-content:center;min-height:58px;padding:16px 24px;border-radius:999px;background:linear-gradient(135deg,#facc15,#f59e0b)!important;color:#071529!important;font-weight:1000;text-transform:uppercase;text-decoration:none;box-shadow:0 18px 40px rgba(245,158,11,.28)}
@media(max-width:760px){.conversion-borrower-hero{padding:28px 18px;border-radius:22px}.conversion-borrower-hero h1{font-size:clamp(34px,11vw,50px)}.conversion-benefit-grid{grid-template-columns:1fr}.conversion-cta-primary{width:100%;text-align:center}.conversion-trust-list div{font-size:14px}}

/* v3.3.91E.169 final PIN footer badge containment */
.pi-portal-footer .mini-directory-powered-badge,
.pi-portal-footer .borrower-powered-badge,
.mini-directory-footer .mini-directory-powered-badge,
.borrower-footer .borrower-powered-badge,
.legal-footer .mini-directory-powered-badge,
.legal-footer .borrower-powered-badge{
  display:inline-grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  max-width:min(100%,420px)!important;
  min-height:44px!important;
  line-height:1.12!important;
  overflow:hidden!important;
}
.pi-portal-footer .mini-directory-powered-badge span,
.pi-portal-footer .borrower-powered-badge span,
.mini-directory-footer .mini-directory-powered-badge span,
.borrower-footer .borrower-powered-badge span,
.legal-footer .mini-directory-powered-badge span,
.legal-footer .borrower-powered-badge span{
  flex:none!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  max-width:34px!important;
  aspect-ratio:1/1!important;
}
.pi-portal-footer .mini-directory-powered-badge strong,
.pi-portal-footer .borrower-powered-badge strong,
.mini-directory-footer .mini-directory-powered-badge strong,
.borrower-footer .borrower-powered-badge strong,
.legal-footer .mini-directory-powered-badge strong,
.legal-footer .borrower-powered-badge strong{
  display:block!important;
  min-width:0!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  text-wrap:balance!important;
  line-height:1.12!important;
}
@media(max-width:520px){
  .pi-portal-footer .mini-directory-powered-badge,
  .pi-portal-footer .borrower-powered-badge,
  .mini-directory-footer .mini-directory-powered-badge,
  .borrower-footer .borrower-powered-badge,
  .legal-footer .mini-directory-powered-badge,
  .legal-footer .borrower-powered-badge{
    width:100%!important;
    max-width:360px!important;
    padding:9px 13px 9px 10px!important;
    justify-content:start!important;
  }
}


/* v3.3.91E.175 launch footer parity: dynamic buyer/borrower/register/login/directory pages
   must render the same full generated mini-site footer shell when a site context exists. */
.pi-portal-footer.generated-context-footer,
.generated-context-footer.generated-site-footer-clone{
  margin-top:40px!important;
  padding:44px 0!important;
  background:var(--buyer-header-bg,#061529)!important;
  background-image:none!important;
  color:#fff!important;
  border-top:0!important;
  box-shadow:none!important;
}
.pi-portal-footer.generated-context-footer .wrap.footer-grid,
.generated-context-footer.generated-site-footer-clone .wrap.footer-grid{
  max-width:1180px!important;
  margin:0 auto!important;
  padding:0 22px!important;
  display:grid!important;
  grid-template-columns:1.2fr .8fr!important;
  gap:25px!important;
  align-items:start!important;
  justify-content:initial!important;
  text-align:left!important;
}
.generated-context-footer .footer-brand-col{min-width:0!important;}
.generated-context-footer .generated-context-footer-logo{display:inline-flex!important;align-items:center!important;margin:0 0 14px!important;text-decoration:none!important;max-width:360px!important;}
.generated-context-footer .generated-context-footer-logo img,
.pi-portal-footer.generated-context-footer img,
.generated-context-footer.generated-site-footer-clone img{
  display:block!important;
  width:auto!important;
  max-width:min(320px,42vw)!important;
  max-height:76px!important;
  height:auto!important;
  object-fit:contain!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.generated-context-footer strong{color:#fff!important;font-weight:1000!important;}
.generated-context-footer p,
.pi-portal-footer.generated-context-footer p{
  margin:12px 0!important;
  max-width:720px!important;
  text-align:left!important;
  color:rgba(255,255,255,.88)!important;
  font-size:clamp(14px,1.05vw,16px)!important;
  line-height:1.58!important;
}
.generated-context-footer .smallprint,
.pi-portal-footer.generated-context-footer .smallprint{
  color:rgba(203,213,225,.72)!important;
  font-size:13px!important;
  line-height:1.52!important;
}
.generated-context-footer .footer-nav{display:block!important;min-width:0!important;}
.generated-context-footer .footer-link-group{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(150px,1fr))!important;
  gap:10px 28px!important;
  align-items:start!important;
}
.generated-context-footer .footer-link-group>strong{grid-column:1 / -1!important;margin-bottom:8px!important;}
.generated-context-footer a,
.pi-portal-footer.generated-context-footer a{
  color:#fff!important;
  text-decoration:none!important;
  font-weight:800!important;
  opacity:.94!important;
}
.generated-context-footer .footer-link-group a{display:block!important;font-size:clamp(15px,1.25vw,20px)!important;line-height:1.22!important;margin:0!important;}
.generated-context-footer a:hover,
.generated-context-footer a:focus{color:#fff!important;text-decoration:underline!important;text-underline-offset:3px!important;opacity:1!important;}
.generated-context-footer .state-cloud{margin-top:18px!important;font-size:12px!important;color:rgba(255,255,255,.88)!important;opacity:1!important;}
.generated-context-footer .state-cloud strong{display:inline-block!important;margin-right:4px!important;color:#fff!important;}
.generated-context-footer .state-cloud span{
  display:inline-block!important;
  margin:4px 4px 0 0!important;
  padding:2px 7px!important;
  border:1px solid rgba(255,255,255,.28)!important;
  border-radius:999px!important;
  color:rgba(255,255,255,.92)!important;
  background:rgba(255,255,255,.04)!important;
}
.generated-context-footer .mini-directory-powered-badge,
.generated-context-footer .borrower-powered-badge,
.generated-context-footer .pin-network-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  width:max-content!important;
  max-width:min(100%,460px)!important;
  min-height:48px!important;
  margin:14px 0 8px!important;
  padding:8px 16px 8px 8px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.96)!important;
  border:1px solid rgba(255,255,255,.34)!important;
  box-shadow:0 10px 26px rgba(2,6,23,.18)!important;
  color:#061529!important;
  white-space:normal!important;
  text-align:left!important;
  line-height:1.12!important;
  overflow:hidden!important;
}
.generated-context-footer .mini-directory-powered-badge .pin-dot,
.generated-context-footer .borrower-powered-badge .pin-dot,
.generated-context-footer .pin-network-badge .pin-dot,
.generated-context-footer .mini-directory-powered-badge span:first-child,
.generated-context-footer .borrower-powered-badge span:first-child{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  border-radius:999px!important;
  background:var(--buyer-accent,#facc15)!important;
  color:#061529!important;
  font-size:12px!important;
  font-weight:1000!important;
  flex:0 0 34px!important;
}
.generated-context-footer .mini-directory-powered-badge span:last-child,
.generated-context-footer .borrower-powered-badge strong,
.generated-context-footer .pin-network-badge span:last-child{
  color:#061529!important;
  font-weight:1000!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
@media(max-width:900px){
  .pi-portal-footer.generated-context-footer .wrap.footer-grid,
  .generated-context-footer.generated-site-footer-clone .wrap.footer-grid{grid-template-columns:1fr!important;gap:26px!important;}
  .generated-context-footer .footer-link-group{grid-template-columns:repeat(2,minmax(130px,1fr))!important;}
}
@media(max-width:640px){
  .pi-portal-footer.generated-context-footer,
  .generated-context-footer.generated-site-footer-clone{padding:34px 0!important;}
  .pi-portal-footer.generated-context-footer .wrap.footer-grid,
  .generated-context-footer.generated-site-footer-clone .wrap.footer-grid{text-align:left!important;padding:0 16px!important;}
  .generated-context-footer .footer-link-group{grid-template-columns:1fr!important;}
  .generated-context-footer .generated-context-footer-logo img,
  .pi-portal-footer.generated-context-footer img{max-width:240px!important;max-height:64px!important;}
  .generated-context-footer .mini-directory-powered-badge,
  .generated-context-footer .borrower-powered-badge,
  .generated-context-footer .pin-network-badge{width:100%!important;max-width:360px!important;}
}
