.hpi-form{max-width:760px;margin:0 auto;padding:30px;background:#fff;border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.08)}
.hpi-form input,.hpi-form textarea,.hpi-form select{width:100%;padding:12px 14px;margin-bottom:14px;border:1px solid #d8dee6;border-radius:10px;box-sizing:border-box}
.hpi-form button,.hpi-link-btn{background:#ff7a3d;color:#fff;border:none;padding:12px 20px;border-radius:10px;text-decoration:none;display:inline-block;font-weight:600;cursor:pointer}
.hpi-link-btn.secondary{background:#0f172a}
.hpi-message,.hpi-success,.hpi-error{max-width:760px;margin:0 auto 16px;padding:14px 16px;border-radius:10px}
.hpi-success{background:#e6f7ed}.hpi-error{background:#fee2e2}.hpi-message{background:#eef2ff}
.hpi-directory-grid,.hpi-install-grid,.hpi-leads-grid,.hpi-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px}
.hpi-installer-card,.hpi-install-card,.hpi-lead-card,.hpi-stat-card{background:#fff;border-radius:16px;padding:20px;box-shadow:0 10px 30px rgba(0,0,0,.08);text-align:center;position:relative}
.hpi-installer-card img,.hpi-install-card img{max-width:100%;height:170px;object-fit:cover;border-radius:12px;margin-bottom:14px}
.hpi-muted{color:#64748b}
.hpi-stars{color:#f59e0b;font-weight:700}
.hpi-rating-line{display:flex;justify-content:center;gap:8px;align-items:center;margin:6px 0 10px}
.hpi-score-pill{display:inline-block;background:#eef2ff;color:#1e3a8a;padding:7px 12px;border-radius:999px;font-weight:700;margin-top:8px}
.hpi-badge-verified{display:inline-block;background:#e8f7ed;color:#166534;padding:7px 12px;border-radius:999px;font-weight:700;margin:8px 0}
.hpi-profile-page{max-width:1240px;margin:auto;padding:30px 20px}
.hpi-profile-hero{display:flex;gap:24px;align-items:center;background:#fff;border-radius:18px;padding:24px;box-shadow:0 10px 30px rgba(0,0,0,.08);margin-bottom:24px}
.hpi-profile-logo{width:120px;height:120px;object-fit:contain;border-radius:14px;background:#fff}
.hpi-profile-content,.hpi-profile-installations,.hpi-profile-section,.hpi-panel{background:#fff;border-radius:18px;padding:24px;box-shadow:0 10px 30px rgba(0,0,0,.08);margin-bottom:24px}
.hpi-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.hpi-dashboard-shell{max-width:1240px;margin:auto;padding:30px 20px}
.hpi-filter-bar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}
.hpi-filter-bar select,.hpi-filter-bar button{padding:12px 14px;border:1px solid #d8dee6;border-radius:10px}
.hpi-filter-bar button{background:#ff7a3d;color:#fff;border:none}
.hpi-stat-card span{display:block;color:#64748b;font-size:13px;margin-bottom:6px}
.hpi-stat-card strong{font-size:24px}
@media (max-width:640px){.hpi-profile-hero{flex-direction:column;align-items:flex-start}.hpi-actions{flex-direction:column}}


.hpi-upload-row{
display:flex;
gap:10px;
align-items:center;
margin-bottom:14px;
}
.hpi-upload-row input{
margin-bottom:0;
}
.hpi-media-button{
white-space:nowrap;
}
.hpi-profile-hero p a{
color:#1e3a8a;
text-decoration:none;
}
.hpi-profile-hero p a:hover{
text-decoration:underline;
}


.hpi-search{
margin:20px 0;
display:flex;
gap:10px;
}
.hpi-search input{
flex:1;
padding:10px;
border:1px solid #ddd;
border-radius:6px;
}


.hpi-install-gallery{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
gap:10px;
margin-top:10px;
}
.hpi-install-gallery img{
width:100%;
border-radius:8px;
object-fit:cover;
}


.hpi-installer-card{
background:#fff;
border-radius:18px;
padding:24px;
box-shadow:0 18px 45px rgba(0,0,0,.08);
position:relative;
overflow:hidden;
}
.hpi-installer-card.is-featured{
border:2px solid #ff7a3d;
}
.hpi-featured-ribbon,
.hpi-featured-pill{
display:inline-block;
background:#ff7a3d;
color:#fff;
padding:6px 10px;
border-radius:999px;
font-size:12px;
font-weight:700;
margin-bottom:10px;
}
.hpi-card-top{
display:flex;
justify-content:center;
margin-bottom:12px;
}
.hpi-card-logo{
width:88px;
height:88px;
object-fit:contain;
border-radius:16px;
background:#fff;
}
.hpi-card-logo--placeholder,
.hpi-profile-logo--placeholder{
display:flex;
align-items:center;
justify-content:center;
background:#f3f6fb;
color:#1e3a8a;
font-weight:800;
font-size:32px;
}
.hpi-card-badges{
margin:8px 0;
}
.hpi-brands-line{
font-size:14px;
color:#475569;
margin-top:8px;
}
.hpi-profile-hero.premium{
display:grid;
grid-template-columns:minmax(0,1fr) 320px;
gap:24px;
align-items:start;
background:#fff;
border-radius:24px;
padding:28px;
box-shadow:0 18px 45px rgba(0,0,0,.08);
}
.hpi-profile-hero-main{
display:flex;
gap:24px;
align-items:flex-start;
}
.hpi-profile-logo-wrap{
flex:0 0 auto;
}
.hpi-profile-logo{
width:130px;
height:130px;
object-fit:contain;
border-radius:18px;
background:#fff;
}
.hpi-profile-summary h1{
margin:0 0 10px 0;
}
.hpi-profile-meta-grid{
display:flex;
flex-wrap:wrap;
gap:10px;
margin:12px 0;
}
.hpi-meta-chip{
background:#f7f9fc;
border:1px solid #e5edf7;
border-radius:999px;
padding:8px 12px;
font-size:14px;
}
.hpi-brand-list{
margin:14px 0 8px;
}
.hpi-brand-chip{
display:inline-block;
background:#fff7f3;
color:#c4571d;
border:1px solid #ffd3bf;
padding:6px 10px;
border-radius:999px;
font-size:13px;
margin:6px 6px 0 0;
}
.hpi-profile-contact-card{
background:#fbfcfe;
border:1px solid #e6edf7;
border-radius:18px;
padding:20px;
}
.hpi-profile-contact-card h3{
margin-top:0;
}
.hpi-install-card.premium{
text-align:left;
}
.premium-review{
text-align:left;
}
.hpi-strength-wrap{
max-width:800px;
}
.hpi-strength-bar{
height:14px;
border-radius:999px;
background:#eef2f7;
overflow:hidden;
margin-bottom:10px;
}
.hpi-strength-bar span{
display:block;
height:100%;
background:linear-gradient(90deg,#ff7a3d,#ff9d67);
border-radius:999px;
}
.hpi-strength-label{
font-weight:700;
margin-bottom:12px;
}
.hpi-strength-list{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:8px;
}
.hpi-strength-item{
padding:8px 10px;
border-radius:10px;
font-size:14px;
}
.hpi-strength-item.is-complete{
background:#e8f7ed;
color:#166534;
}
.hpi-strength-item.is-missing{
background:#fff4f4;
color:#b91c1c;
}
@media (max-width: 900px){
  .hpi-profile-hero.premium{
    grid-template-columns:1fr;
  }
  .hpi-profile-hero-main{
    flex-direction:column;
  }
}


.hpi-install-map-wrap{
    margin: 30px 0;
}
.hpi-install-map-header{
    margin-bottom: 16px;
}
.hpi-install-map-canvas{
    height: 520px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    margin-bottom: 20px;
    background: #fff;
}
.hpi-install-map-list{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:16px;
}
.hpi-install-map-item{
    background:#fff;
    border-radius:14px;
    padding:16px;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
}


.hpi-card-badge-list{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    justify-content:center;
    margin:12px 0;
}
.hpi-card-badge{
    display:inline-block;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    color:#0f172a;
    padding:6px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:600;
}
.hpi-recent-feed{
    margin:30px 0;
}
.hpi-recent-feed-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:16px;
}
.hpi-recent-feed-item{
    background:#fff;
    border-radius:14px;
    padding:16px;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
}
