.hana-onhouse-source-badge{font-size:11px;font-weight:600;border:1px solid currentColor;border-radius:4px;padding:1px 4px;white-space:nowrap;opacity:.85}
.hana-onhouse-detail-status{font-size:12px;line-height:1.55;color:inherit;opacity:.76;overflow-wrap:anywhere}
.hana-onhouse-info-button,.hana-onhouse-edit{font:inherit;font-size:12px;line-height:1.35;padding:4px 7px;border:1px solid currentColor;border-radius:5px;color:inherit;background:transparent;cursor:pointer;min-height:30px;white-space:nowrap}
.hana-onhouse-info-button{margin:3px 0 0 6px;vertical-align:middle}
[data-onhouse="true"] .hana-crm-listing-no{display:none!important}
#listView:has(button[data-scope="onhouse"][aria-pressed="true"]) .listing-dashboard-head > span:first-of-type{font-size:0!important}
#listView:has(button[data-scope="onhouse"][aria-pressed="true"]) .listing-dashboard-head > span:first-of-type::after{content:"정보";font-size:12px}
.hana-onhouse-source-id{display:block;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.hana-onhouse-row-facts{display:block;font-size:11px!important;line-height:1.5!important;white-space:normal!important;max-width:100%;overflow-wrap:anywhere}
@media screen and (min-width:981px){
  #savedListingsList [data-onhouse="true"] .hana-crm-number > .hana-onhouse-info-button{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;min-height:30px;margin:3px 0 0;padding:2px 3px;font-size:10.5px;line-height:1.3;text-align:left;white-space:normal;overflow-wrap:anywhere;word-break:normal}
  #savedListingsList [data-onhouse="true"] .hana-crm-address > .hana-onhouse-row-facts{margin-top:3px;opacity:.8}
}
.hana-onhouse-detail-fields h3{font-size:14px;margin:16px 0 10px}
.hana-onhouse-detail-fields .hana-crm-field dd{white-space:pre-wrap;overflow-wrap:anywhere}
.hana-onhouse-photo-strip{display:flex;gap:7px;max-width:100%;overflow-x:auto;padding:6px 0 10px}
.hana-onhouse-photo-strip a{display:block;flex:0 0 82px;height:72px;border-radius:5px;overflow:hidden;border:1px solid currentColor}
.hana-onhouse-photo-strip img{width:100%;height:100%;object-fit:cover}
@media(max-width:980px){.hana-onhouse-info-button{min-height:34px;font-size:12px}.hana-onhouse-row-facts{font-size:12px!important}.hana-onhouse-photo-strip a{flex-basis:76px}.hana-onhouse-detail-fields .hana-crm-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.map-tools .hana-onhouse-map-toggle{justify-self:end;align-self:flex-end;margin-left:auto}
#hanaCrmDetail .hana-onhouse-load-state{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:14px;font-size:13px;line-height:1.5;color:inherit}
#hanaCrmDetail .hana-onhouse-load-state[hidden]{display:none}

/* Keep each Onhouse contact in its own row; leave other sources unchanged. */
#savedListingsList [data-onhouse="true"] .hana-onhouse-contact-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 5px;width:100%;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#savedListingsList [data-onhouse="true"] .hana-onhouse-contact-role{flex:0 1 auto;max-width:100%;font-weight:500}
#savedListingsList [data-onhouse="true"] .hana-onhouse-contact-number{flex:0 1 auto;min-width:0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#savedListingsList [data-onhouse="true"] .hana-onhouse-mobile-contacts{display:none}
#savedListingsList [data-onhouse="true"] .hana-onhouse-no-contact{display:block;line-height:1.5;font-weight:400;opacity:.75}
@media screen and (min-width:981px){
  #listView #savedListingsList > article.hana-crm-row.hana-onhouse-contact-layout[data-onhouse="true"]{height:auto!important;max-height:none!important;grid-template-rows:auto!important}
  #listView #savedListingsList [data-onhouse="true"].hana-onhouse-contact-layout .hana-crm-address{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:3px!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;white-space:normal!important}
  #listView #savedListingsList [data-onhouse="true"].hana-onhouse-contact-layout .hana-crm-address > :is(strong,small){position:static!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;overflow-wrap:anywhere!important}
  #listView #savedListingsList [data-onhouse="true"].hana-onhouse-contact-layout .hana-crm-owner-contact{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:3px!important;line-height:1.5!important}
  #listView #savedListingsList [data-onhouse="true"].hana-onhouse-contact-layout .hana-crm-owner-contact[hidden]{display:none!important}
}
@media screen and (max-width:980px){
  #listView:has(button[data-scope="onhouse"][aria-pressed="true"]) label.wide:has(> #listingSearch)::before{content:none!important;display:none!important}
  html body.has-sidebar.hana-mobile-ui #listView #savedListingsList > article.dashboard-property-row.hana-crm-row.hana-onhouse-contact-layout[data-onhouse="true"]{height:auto!important;max-height:none!important;grid-template-rows:36px auto auto auto auto!important;grid-auto-rows:auto!important;overflow:visible!important}
  html body.has-sidebar.hana-mobile-ui #listView #savedListingsList > article.dashboard-property-row.hana-crm-row.hana-onhouse-contact-layout[data-onhouse="true"] .hana-carrot-address{height:auto!important;max-height:none!important;overflow:visible!important;white-space:normal!important;-webkit-line-clamp:unset!important}
  html body.has-sidebar.hana-mobile-ui #listView #savedListingsList > article.dashboard-property-row.hana-crm-row.hana-onhouse-contact-layout[data-onhouse="true"] .hana-onhouse-address-primary{display:block!important;line-height:1.45!important;white-space:normal!important;overflow-wrap:anywhere!important}
  html body.has-sidebar.hana-mobile-ui #listView #savedListingsList > article.dashboard-property-row.hana-crm-row.hana-onhouse-contact-layout[data-onhouse="true"] .hana-onhouse-address-detail{display:block!important;margin-top:3px!important;font-size:12px!important;font-weight:400!important;line-height:1.45!important;white-space:normal!important;overflow-wrap:anywhere!important;color:inherit!important}
  html body.has-sidebar.hana-mobile-ui #listView #savedListingsList > article.dashboard-property-row.hana-crm-row.hana-onhouse-contact-layout[data-onhouse="true"] .hana-carrot-kind{grid-column:1 / -1!important;grid-row:4!important;height:auto!important;max-height:none!important;overflow:visible!important;white-space:normal!important}
  html body.has-sidebar.hana-mobile-ui #listView #savedListingsList > article.dashboard-property-row.hana-crm-row.hana-onhouse-contact-layout[data-onhouse="true"] .hana-onhouse-mobile-contacts{box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:auto!important;grid-column:1 / 3!important;grid-row:5!important;align-self:start!important;gap:4px!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:4px 0 0!important;padding:0!important;border:0!important;background:transparent!important;overflow:visible!important;color:inherit!important}
  html body.has-sidebar.hana-mobile-ui #listView #savedListingsList > article.dashboard-property-row.hana-crm-row.hana-onhouse-contact-layout[data-onhouse="true"] .hana-onhouse-mobile-contacts .hana-onhouse-list-contact{box-sizing:border-box!important;position:static!important;display:flex!important;flex-wrap:wrap!important;grid-area:auto!important;align-items:baseline!important;gap:0 5px!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:30px!important;max-height:none!important;padding:4px 0!important;margin:0!important;border:0!important;background:transparent!important;border-radius:0!important;font-size:13px!important;line-height:22px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;text-decoration:none!important;pointer-events:auto!important}
  html body.has-sidebar.hana-mobile-ui #listView #savedListingsList > article.dashboard-property-row.hana-crm-row.hana-onhouse-contact-layout[data-onhouse="true"] .hana-onhouse-mobile-contacts :is(a,span){color:inherit!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important}
  html body.has-sidebar.hana-mobile-ui #listView #savedListingsList > article.dashboard-property-row.hana-crm-row.hana-onhouse-contact-layout[data-onhouse="true"] > .hana-carrot-quick-actions{grid-column:3!important;grid-row:5!important;align-self:start!important}
  html body.has-sidebar.hana-mobile-ui #listView #savedListingsList > article.dashboard-property-row.hana-crm-row.hana-onhouse-contact-layout[data-onhouse="true"] .hana-crm-owner-contact{display:none!important}
  html body.has-sidebar.hana-mobile-ui #listView #savedListingsList > article.dashboard-property-row.hana-crm-row.hana-onhouse-contact-layout[data-onhouse="true"] .hana-onhouse-mobile-contacts[hidden]{display:none!important}
  html[data-hana-mobile-theme="light"] body.has-sidebar.hana-mobile-ui #listView #savedListingsList > article.dashboard-property-row.hana-crm-row.hana-onhouse-contact-layout[data-onhouse="true"] .hana-onhouse-mobile-contacts{color:#2e4054!important}
  html[data-hana-mobile-theme="dark"] body.has-sidebar.hana-mobile-ui #listView #savedListingsList > article.dashboard-property-row.hana-crm-row.hana-onhouse-contact-layout[data-onhouse="true"] .hana-onhouse-mobile-contacts{color:#fff!important}
}

#listView #savedListingsList [data-onhouse="true"] .hana-crm-listing-no{display:none!important}
