.hbp-wrap{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#172033;max-width:1180px;margin:0 auto;padding:18px}
.hbp-progress{height:8px;background:#e7edf5;border-radius:999px;overflow:hidden;margin:12px 0 22px}.hbp-progress-bar{height:100%;width:0;background:#172033;transition:width .25s ease}
.hbp-panel{background:#fff;border-radius:24px;box-shadow:0 18px 55px rgba(17,24,39,.12);padding:28px;color:#172033}.hbp-head h2,.hbp-panel h2{font-size:clamp(28px,4vw,48px);line-height:1.05;margin:8px 0;color:#172033}.hbp-head p,.hbp-panel p{font-size:16px;color:#4b5563}
.hbp-panel h3,.hbp-card h3,.hbp-summary h3{color:#172033}.hbp-small{letter-spacing:.12em;text-transform:uppercase;color:#6b7280;font-size:12px;font-weight:700}
.hbp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.hbp-card{border:1px solid #e5e7eb;border-radius:20px;padding:16px;cursor:pointer;background:#fff;transition:.2s;position:relative;overflow:hidden;color:#172033}.hbp-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(17,24,39,.1)}.hbp-card.selected{border:3px solid #111827!important;box-shadow:0 12px 35px rgba(17,24,39,.16)}.hbp-card.disabled{opacity:.45;cursor:not-allowed}.hbp-wide{grid-column:1/-1;max-width:760px;margin:0 auto;width:100%}
.hbp-img{width:100%;height:170px;property-fit:cover;border-radius:16px;background:#e5e7eb;margin-bottom:12px}.hbp-placeholder{display:flex;align-items:center;justify-content:center;color:#6b7280;font-weight:700}.hbp-meta{font-size:13px;color:#6b7280;margin:8px 0}
.hbp-btn{border:0;border-radius:999px;background:#111827;color:white;padding:14px 24px;font-weight:700;cursor:pointer;font-size:16px;text-decoration:none}.hbp-secondary{background:#eef2f7;color:#111827}.hbp-nav{display:flex;justify-content:space-between;align-items:center;margin-top:22px;gap:10px}.hbp-linkbtn,.hbp-select{border:0;border-radius:999px;background:#eef2f7;color:#111827;padding:10px 14px;font-weight:700;cursor:pointer;margin-top:10px;margin-right:8px}
.hbp-tabs{display:flex;gap:10px;margin:18px 0}.hbp-tabs button{border:1px solid #d1d5db;background:white;padding:12px 18px;border-radius:999px;font-weight:700;cursor:pointer;color:#172033}.hbp-tabs button.active{background:#111827;color:#fff}
.hbp-summary{max-width:760px;margin:24px auto;background:#f8fafc;border-radius:22px;padding:24px;color:#172033}.hbp-summary label,.hbp-card label{display:block;font-weight:700;margin:14px 0;color:#172033}.hbp-summary input,.hbp-summary select,.hbp-summary textarea,.hbp-card input{width:100%;box-sizing:border-box;border:1px solid #d1d5db;border-radius:14px;padding:13px;margin-top:6px;font-size:16px;background:white;color:#172033}.hbp-total{font-size:clamp(30px,5vw,52px);font-weight:900;margin:18px 0;color:#111827}.hbp-note{font-size:13px!important;color:#6b7280!important}
.hbp-result{padding:14px 16px;border-radius:14px;font-weight:800;margin:16px 0}.hbp-result.ok,.hbp-ok{background:#dcfce7!important;color:#166534!important}.hbp-result.warn{background:#fef3c7;color:#92400e}.hbp-live-line{font-size:22px;font-weight:900;margin:16px 0;color:#111827}.hbp-calc-btn{margin:18px 0 12px!important;width:auto!important}.hbp-calc-output{margin-top:14px;padding-top:10px;border-top:1px solid #e5e7eb}.hbp-calc-placeholder{margin-top:16px;padding:16px;border-radius:14px;background:#eef2f7;color:#334155;font-weight:700}.hbp-checkline{display:flex!important;align-items:center;gap:12px;background:white;border:1px solid #d1d5db;border-radius:16px;padding:14px}.hbp-checkline input{width:auto!important;margin:0!important}
.hbp-detail{display:grid;grid-template-columns:1.1fr .9fr;gap:26px;margin-top:20px}.hbp-detail-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hbp-detail-gallery img{width:100%;height:190px;property-fit:cover;border-radius:16px;background:#e5e7eb}.hbp-detail-gallery img:first-child{grid-column:1/-1;height:330px}.hbp-detail-info{background:#f8fafc;border-radius:22px;padding:24px}.hbp-specs{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.hbp-specs span{background:white;border:1px solid #e5e7eb;border-radius:999px;padding:8px 12px;font-weight:700}.hbp-detail-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.hbp-selected-badge{position:absolute;top:12px;right:12px;z-index:3;background:#0f172a;color:#fff;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:900}.hbp-modal{position:fixed;inset:0;background:rgba(0,0,0,.72);z-index:99999;display:flex;align-items:center;justify-content:center;padding:18px}.hbp-modal-box{position:relative;width:min(960px,100%);aspect-ratio:16/9;background:#000;border-radius:18px;overflow:hidden}.hbp-modal iframe{width:100%;height:100%}.hbp-modal-close{position:absolute;right:10px;top:10px;z-index:2;border:0;background:white;border-radius:999px;width:36px;height:36px;font-size:24px;cursor:pointer}
.hbp-form-msg{font-weight:800;margin-top:14px}.hbp-dashboard{max-width:980px;margin:0 auto;padding:24px}
@media(max-width:900px){.hbp-grid{grid-template-columns:1fr 1fr}.hbp-panel{padding:20px}.hbp-detail{grid-template-columns:1fr}.hbp-detail-gallery img:first-child{height:260px}}
@media(max-width:640px){.hbp-wrap{padding:10px}.hbp-grid{grid-template-columns:1fr}.hbp-panel{border-radius:18px;padding:16px}.hbp-img{height:210px}.hbp-nav{position:sticky;bottom:8px;background:white;padding:10px;border-radius:16px;box-shadow:0 8px 24px rgba(0,0,0,.12)}.hbp-btn{width:100%;margin-left:0}.hbp-summary{padding:16px}.hbp-modal{padding:8px}.hbp-detail-gallery{grid-template-columns:1fr}.hbp-detail-gallery img,.hbp-detail-gallery img:first-child{height:220px}.hbp-detail-actions{flex-direction:column}.hbp-detail-actions .hbp-btn{width:100%}}

.hbp-nav-right{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hbp-phasebar{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.hbp-phase{background:#eef2f7;border-radius:999px;padding:10px 14px;font-weight:700}.hbp-phase.active{background:#111827;color:#fff}@media(max-width:640px){.hbp-nav-right{width:100%;display:grid;grid-template-columns:1fr}.hbp-nav-right .hbp-btn{width:100%}}


/* Payment UI V2 - visual calculator only */
.hbp-payment-v2{max-width:980px}
.hbp-payment-controls{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:18px;margin:18px 0}
.hbp-term-line{margin-top:18px}
.hbp-payment-visual-grid{display:grid;grid-template-columns:minmax(260px,360px) 1fr;gap:22px;align-items:center;margin:22px 0}
.hbp-donut-card,.hbp-payment-summary-card{background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:22px;box-shadow:0 12px 30px rgba(17,24,39,.06)}
.hbp-donut{--hbp-donut:35%;width:min(285px,70vw);aspect-ratio:1;border-radius:50%;margin:0 auto;display:grid;place-items:center;background:conic-gradient(#1d4ed8 0 var(--hbp-donut), #c7d2fe var(--hbp-donut) 100%);position:relative}
.hbp-donut::after{content:"";position:absolute;inset:28px;background:#fff;border-radius:50%;box-shadow:inset 0 0 0 1px #eef2f7}
.hbp-donut-cash{background:conic-gradient(#16a34a 0 100%)}
.hbp-donut-center{position:relative;z-index:2;text-align:center;padding:20px;max-width:190px}
.hbp-donut-center strong{display:block;font-size:clamp(22px,3vw,34px);line-height:1.05;color:#111827;font-weight:900}
.hbp-donut-center span{display:block;font-size:13px;font-weight:800;color:#64748b;margin-top:6px;text-transform:uppercase;letter-spacing:.06em}
.hbp-donut-legend{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:16px;color:#475569;font-weight:700;font-size:13px}
.hbp-donut-legend span{display:inline-flex;align-items:center;gap:6px}
.hbp-donut-legend i{width:12px;height:12px;border-radius:50%;display:inline-block;background:#16a34a}
.hbp-donut-legend i.hbp-down{background:#1d4ed8}
.hbp-donut-legend i.hbp-financed{background:#c7d2fe;border:1px solid #a5b4fc}
.hbp-payment-summary-card h3{margin-top:0}
.hbp-payment-summary-card p{margin:8px 0;color:#334155}
.hbp-monthly-result{margin-top:18px;background:#111827;color:#fff;border-radius:18px;padding:18px;font-size:clamp(24px,4vw,40px);font-weight:900;text-align:center}
.hbp-monthly-result span{font-size:14px;opacity:.8;text-transform:uppercase;letter-spacing:.06em}
@media(max-width:780px){.hbp-payment-visual-grid{grid-template-columns:1fr}.hbp-donut-card{order:1}.hbp-payment-summary-card{order:2}.hbp-payment-controls{padding:14px}.hbp-donut{width:min(260px,78vw)}}


/* V2.1.9 live slider readability */
.hbp-payment-controls .hbp-live-line{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px 14px;text-align:center;margin-bottom:10px}
.hbp-payment-controls input[type=range]{accent-color:#1d4ed8;cursor:pointer}
.hbp-term-line{background:#eef2ff!important}
#hbp-debug-submit {
  display: none !important;
}
/* V2.2.0 zippersss: language-independent arrow navigation + plot map placeholder */
.hbp-arrow-btn{min-width:56px;width:auto!important;font-size:24px!important;line-height:1!important;padding:12px 18px!important;text-align:center}
.hbp-map-placeholder{background:#f8fafc;border-style:dashed;text-align:center}
.hbp-upsell{margin-top:10px;padding:10px;border-radius:12px;background:#ecfdf5;color:#166534;font-weight:800}
.hbp-card.disabled{opacity:.45;cursor:not-allowed}


/* v2.2.5 planner media viewer */
.hbp-detail-media{display:flex;flex-direction:column;gap:12px;min-width:0}
.hbp-model-main{border-radius:18px;overflow:hidden;background:#111;min-height:320px;display:grid;place-items:center;cursor:zoom-in}
.hbp-model-main .hbp-img,.hbp-model-main-img{width:100%;height:100%;min-height:320px;object-fit:cover;display:block}
.hbp-model-main-video{position:relative;width:100%;padding-top:56.25%;background:#000;border-radius:18px;overflow:hidden;cursor:default}
.hbp-model-main-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:1}
.hbp-media-thumbs{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
.hbp-media-thumb{width:82px;height:62px;border:2px solid transparent;border-radius:12px;overflow:hidden;background:#f4efe8;display:grid;place-items:center;flex:0 0 auto;font-weight:900;color:#17324d;cursor:pointer}
.hbp-media-thumb.active{border-color:#c99b5c;box-shadow:0 8px 20px rgba(0,0,0,.12)}
.hbp-media-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.hbp-image-box{max-width:min(92vw,1100px)!important;height:auto!important;background:transparent!important;padding:0!important;box-shadow:none!important}
.hbp-image-box img{display:block;max-width:100%;max-height:86vh;border-radius:18px;box-shadow:0 24px 80px rgba(0,0,0,.45)}
.hbp-modal{z-index:1000002!important}
.hbp-modal-box{z-index:1000003!important}
@media(max-width:760px){.hbp-model-main{min-height:250px}.hbp-model-main .hbp-img,.hbp-model-main-img{min-height:250px}.hbp-media-thumb{width:74px;height:56px}}

/* v1.5.1 planner gallery click */
.hbp-gallery-modal .hbp-image-box{position:relative;display:flex;align-items:center;justify-content:center;max-width:min(94vw,1180px)!important}
.hbp-gallery-prev,.hbp-gallery-next{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:52px;height:52px;border:0;border-radius:999px;background:#fff;color:#0f172a;font-size:42px;line-height:1;cursor:pointer;box-shadow:0 12px 34px rgba(0,0,0,.24);display:flex;align-items:center;justify-content:center}.hbp-gallery-prev{left:14px}.hbp-gallery-next{right:14px}.hbp-gallery-count{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);background:rgba(255,255,255,.92);color:#0f172a;border-radius:999px;padding:7px 13px;font-weight:700;font-size:13px;box-shadow:0 12px 34px rgba(0,0,0,.24)}
@media(max-width:700px){.hbp-gallery-prev,.hbp-gallery-next{width:42px;height:42px;font-size:34px}.hbp-gallery-prev{left:6px}.hbp-gallery-next{right:6px}}

/* v2.2.6 final contact alignment */
.hbp-contact-final{max-width:760px;margin:0 auto}
.hbp-contact-final label{display:block;margin:14px 0}
.hbp-contact-final input,.hbp-contact-final select,.hbp-contact-final textarea{width:100%;box-sizing:border-box}


/* v2.2.6 finance qualification */
.hbp-finance-v2{max-width:980px}
.hbp-finance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hbp-qualification{margin:18px 0;border-radius:22px;padding:18px 22px;color:#fff;background:#64748b;display:flex;justify-content:space-between;gap:16px;align-items:center;box-shadow:0 14px 30px rgba(15,23,42,.12)}
.hbp-qualification span{font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;opacity:.9}.hbp-qualification strong{font-size:clamp(24px,4vw,42px);line-height:1;font-weight:900}.hbp-qualification.high{background:#16a34a}.hbp-qualification.medium{background:#ca8a04}.hbp-qualification.low{background:#dc2626}.hbp-qualification.neutral{background:#334155}
.hbp-finance-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:18px}.hbp-finance-results p{margin:4px 0!important;color:#334155!important}
@media(max-width:760px){.hbp-finance-grid,.hbp-finance-results{grid-template-columns:1fr}.hbp-qualification{display:block}.hbp-qualification strong{display:block;margin-top:8px}}

/* v2.2.7 finance acceptance button flow */
.hbp-finance-building{border-color:#ef4444!important;background:#fff7ed!important}
.hbp-drum{margin-top:10px;font-weight:900;letter-spacing:8px;animation:hbpPulse 1s infinite;color:#dc2626}
@keyframes hbpPulse{0%,100%{opacity:.35}50%{opacity:1}}
.hbp-qualification.high{background:#dcfce7;border-color:#16a34a;color:#14532d}
.hbp-qualification.medium{background:#fef9c3;border-color:#ca8a04;color:#713f12}
.hbp-qualification.low{background:#fee2e2;border-color:#dc2626;color:#7f1d1d}


/* v1.7.15 lightweight plot map hotspots */
.hbp-plot-map-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:24px;padding:22px;margin:24px auto;max-width:920px;text-align:center}
.hbp-plot-map-card h3{margin:0 0 14px;color:#172033}
.hbp-plot-map{position:relative;display:block;width:100%;margin:0 auto;border-radius:18px;overflow:hidden;background:#fff}
.hbp-plot-map img{display:block;width:100%;height:auto}
.hbp-plot-markers{position:absolute;inset:0;pointer-events:none}
.hbp-plot-hotspot{position:absolute;transform:translate(-50%,-50%);min-width:30px;height:30px;border-radius:999px;border:2px solid #fff;background:#16a34a;color:#fff;font-size:12px;font-weight:900;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 24px rgba(15,23,42,.26);cursor:pointer;pointer-events:auto;z-index:2}
.hbp-plot-hotspot.status-reserved{background:#f59e0b}.hbp-plot-hotspot.status-sold{background:#dc2626}.hbp-plot-hotspot.selected{background:#0f172a;transform:translate(-50%,-50%) scale(1.16);box-shadow:0 0 0 5px rgba(15,23,42,.12),0 12px 28px rgba(15,23,42,.28)}
.hbp-plot-legend{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:14px;color:#475569;font-weight:700;font-size:13px}.hbp-plot-legend span{display:inline-flex;gap:6px;align-items:center}.hbp-plot-legend i{width:12px;height:12px;border-radius:999px;background:#16a34a}.hbp-plot-legend i.reserved{background:#f59e0b}.hbp-plot-legend i.sold{background:#dc2626}
@media(max-width:700px){.hbp-plot-map-card{padding:14px;border-radius:18px}.hbp-plot-hotspot{min-width:24px;height:24px;font-size:10px}}


/* v1.7.18 compact pool dropdown */
.hbp-img{aspect-ratio:16/9;object-fit:cover;background:#eef2f7}
.hbp-pool-box{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:18px;margin:0 0 22px;box-shadow:0 10px 28px rgba(15,23,42,.05)}
.hbp-pool-box h3{margin:0 0 6px;color:#172033}.hbp-pool-box p{margin:0 0 14px;color:#64748b}
.hbp-pool-row{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:12px;align-items:end}
.hbp-pool-select-label,.hbp-spa-check{font-weight:800;color:#172033}.hbp-pool-select{display:block;width:100%;margin-top:8px;border:1px solid #dbe3ed;border-radius:14px;padding:12px 14px;font:inherit;background:#fff;color:#172033}
.hbp-spa-check{display:flex;gap:10px;align-items:center;border:1px solid #e5e7eb;border-radius:14px;padding:12px 14px;background:#f8fafc;white-space:nowrap}.hbp-spa-check input{width:auto}.hbp-spa-check strong{color:#172033}
.hbp-pool-current{margin-top:12px;color:#172033;font-weight:900}
@media(max-width:700px){.hbp-pool-row{grid-template-columns:1fr}.hbp-spa-check{white-space:normal}}

/* v1.7.21 option variants */
.hbp-option-variant-label{display:block;margin:10px 0 8px;font-weight:800;color:#172033;text-align:left}
.hbp-option-variant{display:block;width:100%;margin-top:7px;border:1px solid #dbe3ed;border-radius:14px;padding:11px 12px;background:#fff;color:#172033;font:inherit}
