/* Scope: Kakao map only. Shared registration/list styles are unchanged. */
.hana-onhouse-map-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:0 0 auto;padding:7px 12px;border-bottom:1px solid #d7e1ec;font-size:12px;line-height:1.5;color:inherit;min-width:0}
.hana-onhouse-map-summary[hidden]{display:none!important}
.hana-onhouse-map-summary>span{min-width:0;overflow-wrap:anywhere}
.hana-onhouse-map-summary button,.hana-onhouse-small-button{flex-shrink:0;font:inherit;padding:5px 8px;min-height:30px;border:1px solid #aab8c7;border-radius:6px;background:transparent;color:inherit;cursor:pointer;white-space:nowrap}
.hana-onhouse-group-count{font-size:13px;line-height:1.5;margin:6px 0 12px;color:inherit;opacity:.85}




.hana-onhouse-contact-name{display:block;margin-top:5px}
.hana-onhouse-contact-missing{font-size:15px}


.hana-onhouse-detail-load{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;border:1px solid #aab8c7;border-radius:6px;font-size:12px;line-height:1.5}
#public-detail.is-onhouse-detail .detail-hero-frame{aspect-ratio:16/9;min-height:160px;max-height:240px}
#public-detail.is-onhouse-detail .detail-hero-frame[data-photo-empty]{aspect-ratio:auto;min-height:76px;height:76px}
#public-detail.is-onhouse-detail .detail-hero-frame[data-photo-empty]>.detail-hero{display:none}
#public-detail.is-onhouse-detail .detail-hero{width:100%;height:100%;object-fit:contain}
#public-detail.is-onhouse-detail .detail-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
#public-detail.is-onhouse-detail .detail-fields>div{min-width:0}
#public-detail.is-onhouse-detail .detail-fields dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:3px 0 0}
.hana-onhouse-extra h3,.hana-onhouse-source-description h3{font-size:15px;margin:0 0 10px}
.hana-onhouse-source-facts summary{font-size:14px;font-weight:700;cursor:pointer;margin-bottom:12px}
.hana-onhouse-photo-note{margin:4px 16px 10px;font-size:12px;opacity:.8}
@media(max-width:760px){.hana-onhouse-map-summary{font-size:12px;padding:6px 10px}.hana-onhouse-map-summary button,.hana-onhouse-small-button{min-height:36px}#public-detail.is-onhouse-detail .detail-hero-frame{min-height:150px;max-height:210px}#public-detail.is-onhouse-detail .detail-fields dd{font-size:14px;line-height:1.5}}

.map-tools .hana-onhouse-map-toggle[hidden]{display:none!important}

.hana-onhouse-map-identity{padding:12px 16px 0;min-width:0;color:inherit}
.hana-onhouse-map-identity .detail-price{font-size:23px;line-height:1.4;overflow-wrap:anywhere}

@media(max-width:760px){.hana-onhouse-map-identity{padding:10px 14px 0}.hana-onhouse-map-identity .detail-price{font-size:21px}.map-tools .hana-onhouse-map-toggle{min-height:38px!important;height:38px!important;font-size:12px!important}}

/* Contact numbers are shown only inside the staff/admin private memo. */
#public-detail .hana-onhouse-private-memo{min-width:0;margin-top:18px;line-height:1.5;overflow-wrap:anywhere}
.hana-onhouse-memo-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px}
.hana-onhouse-memo-heading strong{font-size:14px}.hana-onhouse-memo-heading small{font-size:11px;opacity:.8}
.hana-onhouse-memo-contact{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;min-width:0}
.hana-onhouse-memo-label{font-size:12px}.hana-onhouse-memo-contact .detail-phone-link{font-size:17px;font-weight:700}
.hana-onhouse-private-memo .detail-private-memo{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:10px}
@media(max-width:760px){.hana-onhouse-memo-contact .detail-phone-link{display:inline-flex;align-items:center;min-height:44px}.hana-onhouse-memo-contact button{min-height:36px}}

/* The half-open mobile sheet extends below the viewport. Account for that
   clipped part in the scroll padding so the last private memo remains usable.
   Full-screen sheets and ordinary listings keep their existing layout. */
@media(max-width:760px){
 #public-detail.is-onhouse-detail.hana-bottom-sheet.is-open:not([data-hana-snap="full"])>#public-detail-content{
  padding-bottom:calc(20px + env(safe-area-inset-bottom,0px) + max(0px,100dvh - var(--hana-sheet-top,160px) - min(64dvh,590px)))!important;
 }
}
