/* The compact floating card is desktop-only; existing mobile markup and actions stay intact. */
.map-broker-location,.map-broker-registration,.map-broker-info-toggle,.map-broker-phone-label{display:none}
@media(min-width:993px){
 body #broker_modal.broker-compact-card{width:300px;max-width:calc(100vw - 32px);right:190px;bottom:24px;height:auto;padding:0;border:1px solid #e5eaf0;border-radius:18px;background:#fff;box-shadow:0 12px 40px #12304e24;overflow:hidden;color:#172536;font-family:BugisaPropertySans,"NotoSansKR",sans-serif}
 #broker_modal.broker-compact-card>img{display:none}
 #broker_modal.broker-compact-card>.btn_close.broker_modal_close_btn_pc{display:flex;align-items:center;justify-content:center;position:absolute;top:7px;right:7px;left:auto;bottom:auto;transform:none;width:26px;height:26px;padding:0;margin:0;background:transparent;border:0;border-radius:8px;box-shadow:none}
 #broker_modal.broker-compact-card>.btn_close.broker_modal_close_btn_pc:hover{background:#f2f5f9}
 #broker_modal.broker-compact-card>.btn_close.broker_modal_close_btn_pc i{position:static;transform:none;color:#8290a1;font-size:15px;font-weight:400}
 #broker_modal.broker-compact-card>.btn_close.broker_modal_close_btn_mo{display:none}
 #broker_modal.broker-compact-card .broker_modal_top{display:grid;grid-template-columns:64px minmax(0,1fr);gap:0 12px;align-items:center;width:100%;padding:25px 16px 14px}
 #broker_modal.broker-compact-card .broker_modal_top .borker_mobile_top,#broker_modal.broker-compact-card .broker_modal_top .broker_mobile{display:none}
 #broker_modal.broker-compact-card .broker_modal_top .brokerimg{grid-row:1/span 2;width:64px;height:72px;margin:0;border-radius:12px;background:#eff3f9;overflow:hidden;align-self:start}
 #broker_modal.broker-compact-card .broker_modal_top .brokerimg img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 24%}
 #broker_modal.broker-compact-card .broker_modal_top .brokerimg .brokername{display:none}
 #broker_modal.broker-compact-card .broker_modal_top .broker_info{display:contents}
 #broker_modal.broker-compact-card .broker_modal_top .broker_info>.broker_info_box{grid-column:2;grid-row:1/span 2;align-self:center;display:block;min-width:0}
 #broker_modal.broker-compact-card .broker_modal_top .broker_info .brokername{grid-column:2;display:block;width:auto;color:#35465b;font:500 13px/25px BugisaPropertySans,"NotoSansKR",sans-serif}
 #broker_modal.broker-compact-card .broker_modal_top .broker_info .brokername .best_brokername{margin-right:5px;color:#172536;font:700 20px/25px BugisaPropertySans,"NotoSansKR",sans-serif;letter-spacing:-.5px}
 #broker_modal.broker-compact-card .broker_modal_top .broker_info .broker_company{grid-column:2;min-width:0;width:auto;margin:4px 0 0;padding:0;border:0;color:#172536;font:700 15px/21px BugisaPropertySans,"NotoSansKR",sans-serif;letter-spacing:-.4px;overflow-wrap:anywhere}
 #broker_modal.broker-compact-card .map-broker-location{grid-column:1/-1;display:flex;align-items:flex-start;gap:5px;margin-top:7px;color:#35465b;font-size:13px;font-weight:500;line-height:19px}
 #broker_modal.broker-compact-card .map-broker-registration{display:block;margin-top:4px;color:#35465b;font-size:12px;font-weight:500;line-height:18px;overflow-wrap:anywhere}
 #broker_modal.broker-compact-card .map-broker-location i{flex:none;color:inherit;font-size:12px;line-height:19px}
 #broker_modal.broker-compact-card .map-broker-location span{color:inherit;overflow-wrap:anywhere}
 #broker_modal.broker-compact-card .broker_info .broker_adr{grid-column:1/-1;display:none}
 #broker_modal.broker-compact-card.compact-details-open .broker_info .broker_adr{display:none}
 #broker_modal.broker-compact-card .broker_info .broker_adr li:has(.best_address){display:none}
 #broker_modal.broker-compact-card .broker_info .broker_adr ul li .li_wrap{font-size:13px;line-height:21px;overflow-wrap:anywhere}
 #broker_modal.broker-compact-card .broker_info .broker_adr ul li .broker_info_name{color:#718196}
 #broker_modal.broker-compact-card .broker_modal_btm{display:grid;grid-template-columns:1fr auto;gap:8px;width:100%;height:auto;padding:0 16px 12px;background:transparent;border-radius:0;align-items:center}
 #broker_modal.broker-compact-card .broker_modal_btm>.tel_btn{grid-column:1/-1;display:flex;align-items:center;justify-content:center;flex-direction:row;gap:8px;width:100%;height:auto;min-height:44px;padding:9px 12px;border:0;border-radius:10px;background:#002342;color:#fff;text-decoration:none}
 #broker_modal.broker-compact-card .broker_modal_btm>.tel_btn:hover{background:#001b33}
 #broker_modal.broker-compact-card .broker_modal_btm>.tel_btn>i{flex:none;margin:0;color:#fff;font-size:17px;font-weight:400}
 #broker_modal.broker-compact-card .map-broker-phone-text{display:block;min-width:0;text-align:center;color:#fff}
 #broker_modal.broker-compact-card .map-broker-phone-label{display:none}
 #broker_modal.broker-compact-card .map-broker-phone-text .best_agency_hp{display:block;color:#fff;font:700 18px/24px BugisaPropertySans,"NotoSansKR",sans-serif;font-variant-numeric:tabular-nums;letter-spacing:.2px;overflow-wrap:anywhere}
 #broker_modal.broker-compact-card .map-broker-info-toggle{display:none}
 #broker_modal.broker-compact-card .map-broker-info-toggle i{color:inherit;font-size:12px}
 #broker_modal.broker-compact-card .map-broker-info-toggle[aria-expanded="true"] i{transform:rotate(180deg)}
 #broker_modal.broker-compact-card .broker_modal_btm>.contact_btn{grid-column:1/-1;order:1;display:flex;align-items:center;justify-content:center;gap:7px;width:100%;height:auto;min-height:36px;margin:0;padding:6px 12px;border:1px solid #cedbe5;border-radius:10px;background:#eff3f6;color:#002342;font:700 14px/22px BugisaPropertySans,"NotoSansKR",sans-serif;text-decoration:none}
 #broker_modal.broker-compact-card .broker_modal_btm>.contact_btn:hover{background:#e2eaf0;border-color:#b8cbd9}
 #broker_modal.broker-compact-card .broker_modal_btm>.contact_btn i{margin:0;color:inherit;font-size:16px}
 #broker_modal.broker-compact-card a:focus-visible,#broker_modal.broker-compact-card button:focus-visible{outline:2px solid #002342;outline-offset:3px}
}
