/* Scoped property-map UI. Transaction/auction panels and other site modals are untouched. */
#map_list .item_cards { display:block; margin:0; border:0; border-bottom:1px solid #e9edf2; background:#fff; color:#263244; transition:background-color .15s; }
#map_list .item_cards:not(:last-child) { margin-bottom:0; }
#map_list .item_cards:hover, #map_list .item_cards.active { background:#f2f6ff; border-color:#e1e9f8; }
#map_list .item_cards .item_card_box { padding:18px 16px; flex-wrap:nowrap; align-items:stretch; gap:14px; }
#map_list .item_cards .item_img_box { flex:0 0 108px; width:108px; height:auto; min-height:116px; border-radius:12px; background-color:#f1f4f8; }
#map_list .item_cards .item_content_box { display:flex; flex-direction:column; flex:1; width:0; min-width:0; min-height:116px; padding:0; }
#map_list .item_cards .card_title_box { display:flex; min-height:20px; width:calc(100% - 58px); margin:0 0 6px; line-height:20px; }
#map_list .item_cards .card_title_box > span { font-size:11px; height:20px; line-height:18px; border-radius:4px; }
#map_list .item_cards .card_title_box .c_id { padding:0; border:0; color:#7a8798; background:transparent; }
#map_list .item_cards .card_price_box { display:block; width:100%; margin:0 0 8px; font-size:21px; line-height:1.25; letter-spacing:-.7px; font-variant-numeric:tabular-nums; }
#map_list .item_cards .card_adr_info_box { color:#344054; font-size:13px; line-height:1.6; }
#map_list .item_cards .card_adr_info_box .toji_land { margin-top:2px; color:#667085; font-size:12px; line-height:1.5; }
#map_list .item_cards .card_agency_info_box { margin-top:auto; padding-top:8px; color:#8490a0; font-size:11px; line-height:1.5; }
#map_list .item_cards .card_agency_info_box span:not(:last-child):after { color:#d5dce6; }
#map_list .item_cards .item_btn_box { top:17px; right:14px; display:flex; gap:5px; }
#map_list .item_cards .item_btn_box .btns { display:inline-flex; width:25px; height:25px; margin:0; align-items:center; justify-content:center; border:0; border-radius:7px; background:#f4f6f9; }
#map_list .item_cards .item_btn_box .btns i { font-size:13px; }

/* Inner marker isolates property details from panels sharing the #item_detail host. */
#item_detail .item_content_btm.bugisa-property-detail { color:#1d2939; }
#item_detail .item_content_btm.bugisa-property-detail #item_info { padding:20px 22px 18px; }
#item_detail .item_content_btm.bugisa-property-detail #item_info .item_info_top { margin-bottom:12px; }
#item_detail .item_content_btm.bugisa-property-detail #item_info .item_title > span.item_num { height:23px; background:#f1f4f8; color:#667085; border:0; border-radius:6px; }
#item_detail .item_content_btm.bugisa-property-detail #item_info .item_price { margin:0 0 10px; line-height:1.4; overflow:visible; white-space:normal; }
#item_detail .item_content_btm.bugisa-property-detail #item_info .item_price .info_box > span { font-size:28px; line-height:1.35; letter-spacing:-.9px; }
#item_detail .item_content_btm.bugisa-property-detail #item_info .item_info_cate { color:#667085; font-size:14px; line-height:1.5; }
#item_detail .item_content_btm.bugisa-property-detail #item_info .item_tag { gap:4px 0; margin:0; }
#item_detail .item_content_btm.bugisa-property-detail #item_info .item_tag > span:not(.span_area),
#item_detail .item_content_btm.bugisa-property-detail #item_info .item_tag > span.span_area .pl_area { color:#526071; font-weight:normal; font-size:13px; line-height:24px; }
#item_detail .item_content_btm.bugisa-property-detail #item_tab { padding:5px; margin:0 18px 12px; width:calc(100% - 36px); background:#f1f4f8; border:0; border-radius:11px; }
#item_detail .item_content_btm.bugisa-property-detail #item_tab .tabbtn { border:0; border-radius:8px; background:transparent; color:#7a8797; font-size:14px; }
#item_detail .item_content_btm.bugisa-property-detail #item_tab .tabbtn.active { background:#fff; color:#3568db; box-shadow:0 2px 5px #1d29390b; }
#item_detail .item_content_btm.bugisa-property-detail #item_tab .tabbtn.active i { color:#3568db; }
#item_detail .item_content_btm.bugisa-property-detail .table_info_box { padding:20px 22px; }
#item_detail .item_content_btm.bugisa-property-detail .table_info_box > .title,
#item_detail .item_content_btm.bugisa-property-detail #loca_tabs .table_info_box > .title { padding:0 0 12px; margin:0; border-bottom:1px solid #e3e9f1; color:#24334a; font-size:17px; line-height:1.5; }
#item_detail .item_content_btm.bugisa-property-detail #basic_tabs > .table_info_box > .content > table,
#item_detail .item_content_btm.bugisa-property-detail #price_tabs table { border-top:0; border-color:#edf0f5; }
#item_detail .item_content_btm.bugisa-property-detail #basic_tabs > .table_info_box > .content > table tr,
#item_detail .item_content_btm.bugisa-property-detail #price_tabs table tr { border-color:#edf0f5; }
#item_detail .item_content_btm.bugisa-property-detail #basic_tabs > .table_info_box > .content > table td,
#item_detail .item_content_btm.bugisa-property-detail #price_tabs table td { padding-top:11px; padding-bottom:11px; vertical-align:middle; line-height:1.6; }
#item_detail .item_content_btm.bugisa-property-detail #basic_tabs .tdtt { color:#8490a0; font-size:12px; font-weight:normal; }
#item_detail .item_content_btm.bugisa-property-detail #basic_tabs .td_div { color:#344054; font-size:13px; }
#item_detail .item_content_btm.bugisa-property-detail #detail_tab .detail_content { padding-top:14px; font-size:14px; line-height:1.85; color:#475467; overflow-wrap:anywhere; }

/* Registered office card. */
#item_detail .item_content_btm.bugisa-property-detail #brokerage_box .brokerage_info_box { margin-top:14px; padding:18px; border:1px solid #e4eaf3; border-radius:14px; background:#f8fafd; }
#item_detail .item_content_btm.bugisa-property-detail #brokerage_box .brokerage_info_box .top { gap:16px; margin:0 0 16px; }
#item_detail .item_content_btm.bugisa-property-detail #brokerage_box .broker_img { width:62px; height:62px; border-radius:12px; }
#item_detail .item_content_btm.bugisa-property-detail #brokerage_box .keeper_info_list { padding:0; min-width:0; flex:1; }
#item_detail .item_content_btm.bugisa-property-detail #brokerage_box .keeper_info_list .box_1 { gap:8px; margin-top:6px; align-items:baseline; }
#item_detail .item_content_btm.bugisa-property-detail #brokerage_box .keeper_info_list .box_1 > span { flex:0 0 52px; margin:0; color:#8490a0; font-size:12px; font-weight:normal; font-family:inherit; }
#item_detail .item_content_btm.bugisa-property-detail #brokerage_box .keeper_info_list .tit > span { flex:auto; color:#24334a; font-size:16px; font-weight:700; line-height:1.5; }
#item_detail .item_content_btm.bugisa-property-detail #brokerage_box .keeper_info_list p { margin:0; font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
#item_detail .item_content_btm.bugisa-property-detail #brokerage_box .keeper_info_list .box_2 { gap:7px; flex-wrap:wrap; margin-top:12px; }
#item_detail .item_content_btm.bugisa-property-detail #brokerage_box .keeper_info_list .box_2 > div { gap:4px; padding:3px 8px; background:#edf2fa; border-radius:5px; }
#item_detail .item_content_btm.bugisa-property-detail #brokerage_box .keeper_info_list .box_2 > div:after { display:none; }
#item_detail .item_content_btm.bugisa-property-detail #brokerage_box .keeper_info_list .box_2 span { font-size:11px; color:#667085; font-family:inherit; margin:0; }
#item_detail .item_content_btm.bugisa-property-detail #brokerage_box .brokerage_info_box .bottom { display:flex; gap:7px; margin:0; flex-wrap:wrap; }
#item_detail .item_content_btm.bugisa-property-detail #brokerage_box .brokerage_info_box .bottom > div { flex:1 1 120px; width:auto; max-width:none; min-height:40px; height:auto; padding:8px; border:1px solid #e0e7f1; border-radius:8px; background:#fff; color:#42618b; font-size:12px; }
#item_detail .item_content_btm.bugisa-property-detail #brokerage_box .brokerage_info_box .bottom > div:empty { display:none; }

/* Contact dock retains the legacy 60px layout allocation, without an oversized photo. */
#item_detail .item_content_keeper.bugisa-property-keeper { height:60px; padding:8px 16px; background:#fff; border-top:1px solid #e5ebf3; box-shadow:0 -5px 18px #22334d08; }
#item_detail .item_content_keeper.bugisa-property-keeper .keeper_info { display:flex; flex-wrap:nowrap; gap:10px; align-items:center; justify-content:flex-start; }
#item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_icon { display:block; position:relative; inset:auto; flex:0 0 40px; width:40px; height:40px; border:1px solid #e6ebf2; border-radius:10px; box-shadow:none; }
#item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_icon img { object-fit:cover; }
#item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_cnt { flex:1; min-width:0; width:auto; margin:0; padding:0; }
#item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_cnt .sbtt,
#item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_cnt .hdtt { display:block; margin:0; font-family:inherit; line-height:1.45; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_cnt .sbtt,
#item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_cnt .hdtt { width:auto; height:auto; padding:0; border:0; border-radius:0; background:transparent; }
#item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_cnt .sbtt { font-size:11px; font-weight:normal; color:#7a8797; }
#item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_cnt .hdtt { font-size:13px; font-weight:700; color:#26364c; }
#item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_cnt .hdtt > span { display:none; }
#item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_cnt .hdtt p { display:inline; margin:0; font:inherit; line-height:inherit; }
#item_detail.item_target_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_cnt .new_hdtt { font-size:11px; font-weight:normal; color:#7a8797; }
#item_detail.item_target_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_cnt .sbtt { font-size:13px; font-weight:700; color:#26364c; }
#item_detail.item_target_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_cnt .sbtt > span { display:none; }
#item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_btn_box { display:flex; flex-wrap:nowrap; flex:0 0 auto; width:auto; gap:6px; margin:0; }
#item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_btn_box .keeper_btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; width:auto; min-width:70px; height:42px; padding:0 12px; margin:0; border:1px solid #dce5f2; border-radius:9px; background:#fff; color:#3568db; font-family:inherit; font-weight:700; font-size:13px; line-height:1.4; }
#item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_btn_box .keeper_btn i { width:auto; height:auto; margin:0; font-size:16px; color:inherit; }
#item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_btn_box .keeper_btn_comment,
#item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_btn_box .keeper_btn_deal { background:#3568db; color:#fff; border-color:#3568db; }
#item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_btn_box .keeper_btn:hover { background:#edf3ff; color:#2858c7; border-color:#c8d7f5; }
#item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_btn_box .keeper_btn_comment:hover { background:#2858c7; color:#fff; }

/* Shared contact/inquiry sheets. */
#modal_item_contact, #modal_item_request { width:440px; max-width:calc(100% - 32px); border:1px solid #e3e9f1; border-radius:20px; box-shadow:0 24px 80px #15274033; overflow:hidden; }
#modal_item_contact .modal_body, #modal_item_request .modal_body { max-height:calc(100vh - 48px); max-height:calc(100dvh - 48px); overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; padding:28px; scrollbar-width:thin; }
#modal_item_contact .modal_body button.close, #modal_item_request .modal_body button.close { top:18px; right:18px; display:flex; align-items:center; justify-content:center; width:32px; height:32px; border:0; border-radius:50%; background:#f0f3f7; color:#5c6a7d; line-height:1; text-shadow:none; z-index:2; }
#modal_item_contact .modal_body button.close span, #modal_item_request .modal_body button.close span { font:24px/1 Arial,sans-serif; }
#modal_item_contact .property-sheet-heading, #modal_item_request .modal_title { margin:0 34px 22px 0; text-align:left; }
#modal_item_contact .property-sheet-heading h3, #modal_item_request .modal_title h3 { margin:0; color:#1d2939; font-size:22px; font-weight:700; line-height:1.4; }
#modal_item_contact .property-sheet-heading p, #modal_item_request .modal_title p { margin:6px 0 0; color:#8490a0; font-size:13px; line-height:1.6; }
#modal_item_contact .item_contact_top { display:flex; gap:14px; align-items:center; }
#modal_item_contact .item_contact_top .keeper_icon { flex:0 0 56px; width:56px; height:56px; margin:0; border-radius:14px; border-color:#e6ebf3; }
#modal_item_contact .item_contact_top .keeper_cnt2 { min-width:0; text-align:left; }
#modal_item_contact .new_keeper_cnt1 { margin-bottom:4px; font-size:11px; color:#8490a0; }
#modal_item_contact .new_keeper_cnt2 { font-size:16px; color:#26364c; line-height:1.5; overflow-wrap:anywhere; }
#modal_item_contact .item_contact_mid { padding:18px 0 0; }
#modal_item_contact .item_contact_mid .item_num_box { padding:12px 14px; background:#f5f7fb; border:0; border-radius:10px; text-align:left; }
#modal_item_contact .item_contact_mid .item_num_box .item_num_box_tt { margin:0 0 5px; color:#42618b; font-size:12px; line-height:1.5; }
#modal_item_contact .item_contact_mid .item_num_box .item_num_box_cnt { color:#7a8797; font-size:12px; line-height:1.6; }
#modal_item_contact .item_contact_mid .item_kepper_tel2 { position:relative; height:auto; padding:0; margin:12px 0 22px; border-radius:11px; background:#3568db; line-height:1.5; }
#modal_item_contact .item_kepper_tel2 > i { display:none; }
#modal_item_contact .item_kepper_tel2 > span { display:flex; align-items:center; justify-content:center; gap:10px; min-height:58px; padding:12px; color:#fff; font-size:23px; line-height:1.4; letter-spacing:-.4px; }
#modal_item_contact .item_kepper_info2 ul { margin:0; }
#modal_item_contact .item_kepper_info2 ul li { display:flex; gap:12px; margin:9px 0 0; font-size:13px; line-height:1.6; }
#modal_item_contact .item_kepper_info2 ul li:first-child { margin:0 0 14px; }
#modal_item_contact .new_kepper_title { margin:0; font-size:16px; color:#24334a; line-height:1.6; }
#modal_item_contact .new_kepper_span { flex:0 0 62px; width:auto; color:#8490a0; font-size:12px; }
#modal_item_contact .item_kepper_info2 ul li span:last-child { min-width:0; color:#475467; overflow-wrap:anywhere; font-size:13px; }
#modal_item_contact .item_contact_btm { margin-top:20px; padding-top:14px; border-color:#edf0f5; }
#modal_item_contact .item_contact_btm span { color:#98a2b3; font-size:11px; line-height:1.7; }
#modal_item_request .property-inquiry-context { width:100%; display:flex; gap:8px; align-items:center; margin-bottom:20px; padding:11px 13px; border:1px solid #e4ebf8; background:#f5f8ff; border-radius:9px; color:#496794; font-size:13px; }
#modal_item_request form { gap:0 12px; }
#modal_item_request .request_name, #modal_item_request .request_tel { width:calc(50% - 6px); margin:0 0 18px; }
#modal_item_request .request_form { margin:0 0 18px; }
#modal_item_request .property-field-label { display:block; margin:0 0 8px; color:#344054; font-size:13px; font-weight:700; }
#modal_item_request .modal_body input[type=text], #modal_item_request .modal_body input[type=tel], #modal_item_request .modal_body textarea { width:100%; height:46px; padding:11px 12px; border:1px solid #dce3ed; border-radius:8px; background:#fff; color:#26364c; font-size:14px; line-height:1.5; box-shadow:none; outline:0; }
#modal_item_request .modal_body textarea { height:116px; min-height:90px; resize:vertical; }
#modal_item_request .modal_body input::placeholder, #modal_item_request .modal_body textarea::placeholder { color:#98a2b3; }
#modal_item_request .modal_body input:focus, #modal_item_request .modal_body textarea:focus { border-color:#628be5; box-shadow:0 0 0 3px #3568db12; }
#modal_item_request .request_captcha_wrap { width:100%; padding:14px; border:1px solid #e9edf3; border-radius:10px; background:#fafbfd; }
#modal_item_request .captcha_box > div { display:block; }
#modal_item_request .request_captcha_wrap .captcha_title { float:none; width:100%; padding:0; margin:0 0 10px; color:#667085; font-size:12px; line-height:1.5; }
#modal_item_request .request_captcha_wrap .captcha_content { display:flex; align-items:center; gap:12px; width:100%; padding:0; }
#modal_item_request .request_captcha_wrap .captcha_content .captchaImg { float:none; flex:0 0 110px; width:110px; }
#modal_item_request .request_captcha_wrap .captcha_content .captchaImg img { width:110px; height:66px; border-radius:5px; }
#modal_item_request .request_captcha_wrap .captcha_content .captchaBtnbox { float:none; flex:1; width:0; min-width:0; margin:0; }
#modal_item_request .captchaBtnbox > .btn { float:none; height:auto; padding:0; margin:0 0 7px; border:0; background:none; line-height:1.5; font-size:11px; }
#modal_item_request .captchaBtnbox > .btn *, #modal_item_request .captchaBtnbox > .btn i { color:#667085; font-size:11px; }
#modal_item_request .captchaBtnbox > input { float:none; margin:0; height:36px; padding:7px 9px; font-size:12px; }
#modal_item_request .private_check_box { display:flex; width:100%; justify-content:space-between; align-items:center; margin:18px 0; padding:0; }
#modal_item_request .private_check_box label { margin:0; font-size:12px; color:#667085; }
#modal_item_request .private_check_box .modal_privacy { font-size:11px; color:#8490a0; text-decoration:underline; cursor:pointer; }
#modal_item_request .modal_body button.sumbtn { height:48px; border-radius:10px; background:#3568db; border-color:#3568db; font-size:15px; }
#modal_item_request .modal_body button.sumbtn:hover { color:#fff; background:#2858c7; }
#modal_item_request button:focus-visible, #modal_item_contact button:focus-visible, #modal_item_contact [role=link]:focus-visible,
#item_detail .item_content_keeper.bugisa-property-keeper button:focus-visible { outline:3px solid #8aacf6; outline-offset:3px; }
@media (max-width:600px) {
    #map_list .item_cards .item_card_box { padding:16px 14px; gap:12px; }
    #map_list .item_cards .item_img_box { flex-basis:96px; width:96px; height:auto; min-height:108px; }
    #map_list .item_cards .item_content_box { min-height:108px; }
    #map_list .item_cards .card_price_box { font-size:20px; }
    #map_list .item_cards .card_title_box { width:calc(100% - 26px); }
    #map_list .item_cards .item_btn_box .link_btn { display:none; }
    #item_detail .item_content_btm.bugisa-property-detail #item_info { padding:18px 16px 16px; }
    #item_detail .item_content_btm.bugisa-property-detail .table_info_box { padding:18px 16px; }
    #item_detail .item_content_btm.bugisa-property-detail #item_info .item_price .info_box > span { font-size:26px; }
    #item_detail .item_content_btm.bugisa-property-detail #brokerage_box .brokerage_info_box { padding:14px; }
    #item_detail .item_content_btm.bugisa-property-detail #brokerage_box .brokerage_info_box .top { gap:12px; }
    #item_detail .item_content_btm.bugisa-property-detail #brokerage_box .broker_img { width:46px; height:46px; }
    #item_detail .item_content_keeper.bugisa-property-keeper { padding:8px 12px; }
    #item_detail .item_content_keeper.bugisa-property-keeper .keeper_info { gap:8px; }
    #item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_icon { width:34px; height:34px; flex-basis:34px; }
    #item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_btn_box .keeper_btn { min-width:44px; padding:0 10px; }
    #item_detail .item_content_keeper.bugisa-property-keeper .keeper_btn_tel .property-action-text { display:none; }
    #item_detail .item_content_keeper.bugisa-property-keeper .keeper_info .keeper_cnt .hdtt { font-size:12px; }
    #modal_item_contact, #modal_item_request { max-width:calc(100% - 20px); width:420px; border-radius:18px; }
    #modal_item_contact .modal_body, #modal_item_request .modal_body { padding:24px 20px; max-height:calc(100vh - 24px); max-height:calc(100dvh - 24px); }
    #modal_item_request .modal_body input[type=text], #modal_item_request .modal_body input[type=tel], #modal_item_request .modal_body textarea { font-size:16px; }
    #modal_item_request .captchaBtnbox > input { font-size:16px; }
}
@media (max-width:360px) {
    #modal_item_contact .modal_body, #modal_item_request .modal_body { padding:24px 16px; }
    #modal_item_request .request_captcha_wrap { padding:10px; }
    #modal_item_request .request_captcha_wrap .captcha_content { gap:8px; }
}
@media print { #modal_item_contact, #modal_item_request { display:none !important; } }
