/* HAPOWORK Platform Core 1.0 - isolated from legacy theme */
.hpc-wrap{--hpc-navy:#0a315d;--hpc-orange:#f27a13;--hpc-ink:#132948;--hpc-mute:#64748b;--hpc-border:#e3e9f1;width:min(1220px,94%);margin:30px auto 60px;color:var(--hpc-ink);font-family:'Be Vietnam Pro',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;line-height:1.55}
.hpc-wrap *{box-sizing:border-box}.hpc-wrap a{text-decoration:none;color:inherit}.hpc-wrap h1,.hpc-wrap h2,.hpc-wrap h3,.hpc-wrap p{margin:0}.hpc-wrap button,.hpc-wrap input,.hpc-wrap textarea,.hpc-wrap select{font:inherit}
.hpc-hero{background:linear-gradient(130deg,#092c54 0%,#105a97 100%);padding:42px 45px;border-radius:24px;color:#fff;margin-bottom:25px}.hpc-hero h1{color:#fff;font-size:clamp(28px,3.3vw,46px);line-height:1.2;margin:8px 0 12px}.hpc-hero p{color:#e7eff7;max-width:860px}.hpc-kicker{color:#ffa14e;font-size:13px;font-weight:800;letter-spacing:.06em}
.hpc-search{padding:24px;background:#fff;box-shadow:0 10px 30px rgba(10,40,70,.09);border:1px solid var(--hpc-border);border-radius:20px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:end;margin-bottom:34px}
.hpc-search label,.hpc-inquiry label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:750;color:#173657}.hpc-search input,.hpc-search select,.hpc-inquiry input,.hpc-inquiry textarea{width:100%;min-width:0;border:1px solid #ced9e7;border-radius:11px;background:#fff;color:#142a4b;padding:11px 12px;min-height:44px}.hpc-search input:focus,.hpc-search select:focus,.hpc-inquiry input:focus,.hpc-inquiry textarea:focus{outline:2px solid #2a76bb;outline-offset:1px}
.hpc-search .hpc-check{display:flex;flex-direction:row;align-items:center;gap:9px;font-weight:500;grid-column:span 2}.hpc-check input{width:auto;min-height:auto;margin:0}.hpc-search button,.hpc-inquiry button{background:var(--hpc-orange);color:#fff;border:0;border-radius:12px;font-weight:800;padding:13px 18px;cursor:pointer}.hpc-search button:hover,.hpc-inquiry button:hover{filter:brightness(.95)}
.hpc-result-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.hpc-result-head h2{font-size:clamp(23px,2.5vw,33px);color:#0e2a4e}.hpc-result-head span{color:#677b91;font-size:13px}
.hpc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.hpc-room-card{background:#fff;border:1px solid var(--hpc-border);border-radius:20px;overflow:hidden;box-shadow:0 7px 25px rgba(10,40,70,.07);transition:transform .2s}.hpc-room-card:hover{transform:translateY(-3px)}.hpc-card-img{height:215px;display:block;overflow:hidden;background:#eaf1f6}.hpc-card-img img{width:100%;height:100%;object-fit:cover}.hpc-placeholder{height:100%;min-height:180px;display:flex;align-items:center;justify-content:center;font-size:54px}.hpc-card-content{padding:18px}.hpc-eyebrow{color:#dc6b0c;text-transform:uppercase;font-weight:800;letter-spacing:.04em;font-size:12px}.hpc-card-content h3{font-size:20px;line-height:1.35;margin:8px 0;color:#102c53}.hpc-card-content .hpc-sub{color:var(--hpc-mute);font-size:13px;margin-bottom:15px}.hpc-card-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.hpc-card-bottom strong{color:#e96f0f;font-size:18px}.hpc-card-link{display:inline-flex;color:#0c5ca3!important;font-weight:700;margin-top:4px;font-size:14px}.hpc-state{padding:5px 10px;border-radius:999px;background:#eef1f4;color:#344965;font-size:12px;font-weight:800;white-space:nowrap}.hpc-state-available{background:#e8f6ec;color:#167c42}.hpc-state-held{background:#fff4dc;color:#9a620e}.hpc-state-leased{background:#f4e7e6;color:#a34540}.hpc-state-upcoming{background:#e6f2ff;color:#1e67a5}.hpc-empty{padding:26px;border-radius:16px;background:#f2f5fa;color:#52667b;border:1px dashed #cdd8e7}
.hpc-crumb{color:#738299;font-size:13px;margin-bottom:22px}.hpc-crumb a{color:#0a64ac}.hpc-detail-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.hpc-detail-head h1{font-size:clamp(30px,3vw,42px);margin:6px 0}.hpc-detail-head p{color:#617187}.hpc-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 355px;gap:25px;align-items:start}.hpc-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}.hpc-photos figure{margin:0;overflow:hidden;border-radius:16px;aspect-ratio:16/10;background:#eff3f7}.hpc-photos figure:first-child{grid-column:1/-1;aspect-ratio:16/8}.hpc-photos img{width:100%;height:100%;object-fit:cover}.hpc-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.hpc-info-grid>div{padding:15px 11px;border:1px solid var(--hpc-border);border-radius:13px;background:#fff;display:flex;flex-direction:column;gap:6px}.hpc-info-grid small{color:#63778b;font-size:12px}.hpc-info-grid strong{font-size:18px;color:#0b335f}
.hpc-panel{border:1px solid var(--hpc-border);border-radius:18px;padding:23px;margin:20px 0;background:#fff;box-shadow:0 4px 18px rgba(10,40,70,.05)}.hpc-panel h2{font-size:24px;margin:0 0 15px;color:#12365e}.hpc-panel p{color:#566880;margin:9px 0}.hpc-panel h3{font-size:18px;margin:20px 0 15px;color:#15395f}.hpc-benefits{padding:0;list-style:none;display:grid;gap:10px}.hpc-benefits li{display:flex;gap:10px;align-items:flex-start}.hpc-benefits li span{background:#e4f7e9;color:#178f4a;min-width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-weight:900;font-size:13px}
.hpc-lead-panel{position:sticky;top:20px;margin:0}.hpc-big-price{font-size:27px;font-weight:900;color:#ef7414;margin:8px 0}.hpc-inquiry{display:grid;gap:14px}.hpc-inquiry textarea{resize:vertical}.hpc-inquiry .hpc-check{display:flex;flex-direction:row;font-size:12px;font-weight:500;align-items:flex-start}.hpc-inquiry .hpc-check input{margin-top:5px;flex:none}.hpc-inquiry small{font-size:11px;color:#5b6a7c;line-height:1.5}.hpc-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;overflow:hidden!important}
.hpc-branch-photo{width:100%;max-height:440px;object-fit:cover;border-radius:22px}.hpc-branch-contact{display:flex;gap:14px;flex-wrap:wrap;margin:18px 0}.hpc-branch-contact a{background:#0c3868;border-radius:10px;color:white;padding:12px 18px;font-weight:700}.hpc-notice{background:#e6f6ed;border:1px solid #9dd7b5;color:#15673b;padding:18px 25px;border-radius:12px}
@media(max-width:1050px){.hpc-search{grid-template-columns:repeat(2,minmax(0,1fr))}.hpc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hpc-detail-layout{grid-template-columns:1fr}.hpc-lead-panel{position:static}}
@media(max-width:680px){.hpc-wrap{width:min(100% - 28px,1220px);margin:20px auto 35px}.hpc-hero{padding:26px 22px}.hpc-search{grid-template-columns:1fr;padding:16px}.hpc-search .hpc-check{grid-column:auto}.hpc-grid{grid-template-columns:1fr}.hpc-result-head{align-items:flex-start}.hpc-detail-head{flex-direction:column;align-items:flex-start}.hpc-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hpc-photos{grid-template-columns:1fr}.hpc-photos figure:first-child{grid-column:auto;aspect-ratio:16/10}.hpc-panel{padding:17px}}
@media(prefers-reduced-motion:reduce){.hpc-room-card{transition:none}}
/* Apartment listing and home preview */
.hpc-apartment-preview{margin:18px auto 48px}
.hpc-apartment-preview .hpc-result-head{align-items:flex-end}
.hpc-apartment-preview .hpc-result-head p{color:#62738a;margin-top:8px;font-size:15px}
.hpc-apartment-preview .hpc-result-head .hpc-card-link{white-space:nowrap}
.hpc-apt-note{margin-top:18px!important;font-size:13px;color:#68798e}
@media(max-width:680px){.hpc-apartment-preview .hpc-result-head{align-items:flex-start;flex-direction:column}}
