/* Real-transaction overlays only: ordinary listing markers keep their own theme. */
.markerAllDiv[onclick^="markerAllDivClick_real("] { --trade-accent:#4f46e5; }
.markerAllDiv[onclick^="markerAllDivClick_real("] .real_house_box_all { --trade-accent:#2563eb; }
.markerAllDiv[onclick^="markerAllDivClick_real("] .real_house_box_alone { --trade-accent:#15803d; }
.markerAllDiv[onclick^="markerAllDivClick_real("] .real_house_box_offi { --trade-accent:#a16207; }
.markerAllDiv[onclick^="markerAllDivClick_real("] .real_house_box_toji { --trade-accent:#c2410c; }
.markerAllDiv[onclick^="markerAllDivClick_real("] .real_house_box_store { --trade-accent:#be185d; }
.markerAllDiv[onclick^="markerAllDivClick_real("] .real_house_box_factory { --trade-accent:#9333ea; }
.markerAllDiv[onclick^="markerAllDivClick_real("] .real_house_box_building { --trade-accent:#475569; }
.markerAllDiv[onclick^="markerAllDivClick_real("] .real_house_box .house.house_gu { min-width:88px; }
.markerAllDiv[onclick^="markerAllDivClick_real("] .real_house_box .house.house_gu .house_top {
  padding:8px 11px; border:1px solid #c7d2fe; border-radius:13px;
  background:#fff; box-shadow:0 3px 12px #17255424; text-align:center;
}
.markerAllDiv[onclick^="markerAllDivClick_real("] .real_house_box .house.house_gu .house_top > span.name {
  color:#334155!important; font-size:12px!important; line-height:16px; margin-bottom:3px!important;
}
.markerAllDiv[onclick^="markerAllDivClick_real("] .real_house_box .house.house_gu .house_top:has(.prices_py) > span.name::after { content:' · 평균'; font-size:10px; font-weight:500; color:#64748b; }
.markerAllDiv[onclick^="markerAllDivClick_real("] .real_house_box .house.house_gu .house_top > span.prices {
  color:#4338ca; font-size:13px; font-weight:800; line-height:17px;
}
.markerAllDiv[onclick^="markerAllDivClick_real("] .real_house_box .house.house_gu:hover .house_top { background:#eef2ff; border-color:#6366f1; }
.markerAllDiv[onclick^="markerAllDivClick_real("] .real_house_box .house.house_gu:hover .house_top > span { color:#3730a3!important; font-weight:800; }
.markerAllDiv[onclick^="markerAllDivClick_real("].markerAllDivdetail .real_house_box .house .icon_wrap {
  padding:6px 8px; border:1px solid #dbe2eb!important; border-left:3px solid var(--trade-accent)!important;
  background:#fff!important; border-radius:9px; box-shadow:0 2px 8px #0f172a26;
  min-width:90px; max-width:140px;
}
.markerAllDiv[onclick^="markerAllDivClick_real("].markerAllDivdetail .real_house_box .house .icon_wrap > .real_type_text {
  color:#64748b!important; font-size:10px; line-height:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:123px;
}
.markerAllDiv[onclick^="markerAllDivClick_real("].markerAllDivdetail .real_house_box .house .icon_wrap > .price {
  color:var(--trade-accent)!important; font-size:13px; line-height:17px; font-weight:800; letter-spacing:-.35px;
}
.markerAllDiv[onclick^="markerAllDivClick_real("].markerAllDivdetail .real_house_box .house .icon_wrap > .date_span { color:#64748b!important; font-size:10px; line-height:13px; }
.markerAllDiv[onclick^="markerAllDivClick_real("].markerAllDivdetail .real_house_box .house.on .icon_wrap {
  border-color:var(--trade-accent)!important; box-shadow:0 0 0 2px #ffffffd9,0 4px 14px #0f172a38;
}
.markerAllDiv[onclick^="markerAllDivClick_real("].markerAllDivdetail .real_house_box .house.on + .real_house_ex { border-radius:12px; box-shadow:0 6px 20px #0f172a30; overflow:hidden; }
.markerAllDiv[onclick^="markerAllDivClick_real("].markerAllDivdetail .real_house_box .house.on + .real_house_ex .building_icon { background:var(--trade-accent); }
.markerAllDiv[onclick^="markerAllDivClick_real("].markerAllDivdetail .real_house_box .house.on + .real_house_ex .houseR { padding:9px; }

/* Property-type picker: keep the existing .on state and filtering handlers. */
#map .real_house_btn_desc, #map .mobile_real_house_btn_desc {
  padding:10px; border:1px solid #e2e8f0; border-radius:15px;
  background:#fff; box-shadow:0 6px 24px #0f172a1c;
}
#map .real_house_btn_desc { width:164px!important; }
#map .real_house_btn_desc::before, #map .mobile_real_house_btn_desc::before {
  content:'부동산 유형 · 복수 선택'; display:block; clear:both; margin:1px 2px 9px;
  color:#64748b; font-size:11px; font-weight:600; line-height:16px;
}
#map :is(.real_house_btn_desc,.mobile_real_house_btn_desc) .real_btn {
  --type-color:#4f46e5; --type-bg:#eef2ff;
  position:relative; display:block; box-sizing:border-box; width:100%; height:37px;
  margin:0 0 5px; padding:0 9px; border:1px solid #e2e8f0; border-radius:9px;
  background:#f8fafc; color:#64748b; cursor:pointer;
}
#map :is(.real_house_btn_desc,.mobile_real_house_btn_desc) .real_btn_all { --type-color:#2563eb; --type-bg:#eff6ff; }
#map :is(.real_house_btn_desc,.mobile_real_house_btn_desc) .real_btn_alone { --type-color:#15803d; --type-bg:#f0fdf4; }
#map :is(.real_house_btn_desc,.mobile_real_house_btn_desc) .real_btn_offi { --type-color:#a16207; --type-bg:#fffbeb; }
#map :is(.real_house_btn_desc,.mobile_real_house_btn_desc) .real_btn_toji { --type-color:#c2410c; --type-bg:#fff7ed; }
#map :is(.real_house_btn_desc,.mobile_real_house_btn_desc) .real_btn_store { --type-color:#be185d; --type-bg:#fdf2f8; }
#map :is(.real_house_btn_desc,.mobile_real_house_btn_desc) .real_btn_factory { --type-color:#9333ea; --type-bg:#faf5ff; }
#map :is(.real_house_btn_desc,.mobile_real_house_btn_desc) .real_btn_building { --type-color:#475569; --type-bg:#f1f5f9; }
#map :is(.real_house_btn_desc,.mobile_real_house_btn_desc) .real_btn:last-child { margin-bottom:0; }
#map :is(.real_house_btn_desc,.mobile_real_house_btn_desc) .real_btn.on {
  border-color:var(--type-color); background:var(--type-bg); color:var(--type-color);
}
#map :is(.real_house_btn_desc,.mobile_real_house_btn_desc) .real_btn:hover { box-shadow:0 2px 6px #0f172a14; }
#map :is(.real_house_btn_desc,.mobile_real_house_btn_desc) .real_btn * { color:inherit!important; }
#map :is(.real_house_btn_desc,.mobile_real_house_btn_desc) .real_btn .real_icon_wrap {
  display:flex; align-items:center; gap:7px; float:none; width:100%; height:100%; padding:0; text-align:left; line-height:1;
}
#map :is(.real_house_btn_desc,.mobile_real_house_btn_desc) .real_icon_wrap > span {
  float:none; width:auto; height:auto; font-size:12px; line-height:17px; white-space:nowrap; overflow:visible; font-weight:600;
}
#map :is(.real_house_btn_desc,.mobile_real_house_btn_desc) .real_icon_wrap i { width:17px; margin:0; font-size:15px; line-height:18px; text-align:center; }
#map :is(.real_house_btn_desc,.mobile_real_house_btn_desc) .real_btn.on::after {
  content:'✓'; position:absolute; right:8px; top:10px; font-family:Arial,sans-serif; font-size:12px; font-weight:700; line-height:16px;
}
@media(max-width:991px) {
  #map .mobile_real_house_btn_desc { padding:8px; border-width:0 0 1px; border-radius:0 0 14px 14px; }
  #map .mobile_real_house_btn_desc::before { margin:0 2px 6px; font-size:11px; line-height:15px; }
  #map .mobile_real_house_btn_desc .real_btn { width:calc((100% - 18px) / 4); height:47px; margin:0 6px 6px 0; padding:4px 2px; border-radius:8px; }
  #map .mobile_real_house_btn_desc .real_btn:nth-of-type(4n) { margin-right:0; }
  #map .mobile_real_house_btn_desc .real_icon_wrap { flex-direction:column; justify-content:center; gap:2px; text-align:center; }
  #map .mobile_real_house_btn_desc .real_icon_wrap > span { font-size:11px; line-height:15px; }
  #map .mobile_real_house_btn_desc .real_icon_wrap i { width:16px; font-size:14px; line-height:16px; }
  #map .mobile_real_house_btn_desc .real_btn.on::after { right:5px; top:3px; font-size:10px; line-height:12px; }
}

/* Shared AJAX side panel and standalone mobile transaction detail. */
.bmr-root:has(.bmr-overview) { background:#f3f6fb!important; color:#172b4d; }
.bmr-root *, .bmr-nav * { box-sizing:border-box; }
.bmr-surface.real_view_boxs {
  display:block; float:none; clear:both; width:calc(100% - 24px); margin:12px!important;
  padding:16px; border:1px solid #e2e8f0; border-radius:16px; background:#fff;
  box-shadow:0 2px 5px #0f172a04; color:#1e293b;
}
.bmr-surface::after { content:''; display:table; clear:both; }
.bmr-overview.real_view_boxs { border:0; border-radius:0; background:#fff; margin:0!important; width:100%; padding:20px 18px 16px; box-shadow:none; }
.bmr-overview .real_title { font-size:22px; line-height:1.35; letter-spacing:-.6px; color:#0f172a; margin:0 0 8px; }
.bmr-eyebrow { display:block; margin-bottom:7px; color:#4f46e5; font-size:11px; font-weight:800; letter-spacing:.7px; }
.bmr-address { font-size:13px; color:#64748b; line-height:1.6; margin:0 0 10px; word-break:keep-all; overflow-wrap:anywhere; }
.bmr-overview .real_info>span { color:#475569; background:#f1f5f9; font-size:12px; border-radius:5px; }
.bmr-nav { position:sticky; top:0; z-index:6; display:flex; clear:both; width:100%; padding:0 12px; margin:0; background:#fff; border-bottom:1px solid #dce3ed; box-shadow:0 3px 7px #0f172a05; }
.bmr-nav button { flex:1; min-width:0; padding:13px 2px; margin:0; border:0; border-bottom:3px solid transparent; border-radius:0; background:transparent; color:#64748b; font-size:13px; font-weight:700; line-height:18px; cursor:pointer; }
.bmr-nav button[aria-current=true] { color:#4338ca; border-bottom-color:#4f46e5; }
.bmr-nav button:focus-visible { outline:2px solid #4f46e5; outline-offset:-4px; }
.bmr-surface .icon_title { display:flex; align-items:center; flex-wrap:wrap; gap:7px; height:auto; margin-bottom:14px; }
.bmr-surface .icon_title>i { color:#4f46e5; font-size:17px; margin:0; }
.bmr-surface .icon_title>strong, .bmr-section-title { font-size:16px; font-weight:800; line-height:22px; color:#172b4d; margin:0; }
.bmr-section-title { margin-bottom:12px; }
.bmr-surface .graph_title { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.bmr-surface .graph_title > .real_filbtn_wrap { width:calc(50% - 5px); }
.bmr-surface .graph_title > .title_right { width:calc(50% - 5px); margin:0; }
.bmr-surface .real_filbtn_box { border-radius:9px; background:#f1f5f9; padding:3px; display:flex; }
.bmr-surface .real_filbtn_box > span { border:0!important; background:transparent; height:32px; line-height:32px!important; border-radius:7px!important; color:#64748b; font-size:12px; font-weight:600; flex:1; width:auto; white-space:nowrap; }
.bmr-surface .real_filbtn_box > span.active { background:#fff; box-shadow:0 1px 4px #0f172a1a; color:#4338ca; font-weight:800; }
.bmr-surface .real_filbtn_box .real_filbtn.active[data-id=sell] { color:#4f46e5; }
.bmr-surface .real_filbtn_box .real_filbtn.active[data-id=full_rent] { color:#0284c7; }
.bmr-surface .real_filbtn_box .real_filbtn.active[data-id=month_rent] { color:#0f766e; }
.bmr-surface .select_box { border:1px solid #cbd5e1; border-radius:9px; height:38px; max-width:100%; }
.bmr-surface .in_box { border-radius:9px; }
.bmr-surface .in_box select, .bmr-surface .in_box.area_box>div { color:#334155; font-size:12px; line-height:36px; }
.bmr-surface .lately_box_wrap { display:flex; gap:7px; margin:4px 0 14px; }
.bmr-surface .lately_box_wrap .lately_box { flex:1; min-width:0; width:auto; margin:0; padding:13px 7px; text-align:left; border:1px solid #e0e7ff; background:#eef2ff; border-radius:11px; color:#4338ca; }
.bmr-surface .lately_box_wrap .lately_box_2 { color:#0369a1; background:#f0f9ff; border-color:#d8edf9; }
.bmr-surface .lately_box_wrap .lately_box_3 { color:#0f766e; background:#f0fdfa; border-color:#d5f3e9; }
.bmr-surface .lately_box_wrap .lately_box_tt { font-size:11px; color:#475569; margin-bottom:8px; }
.bmr-surface .lately_box_wrap .price_average { color:inherit; font-size:16px; line-height:1.35; letter-spacing:-.6px; font-weight:800; }
.bmr-surface .lately_box_wrap .price_average span { font-size:inherit; color:inherit; }
.bmr-surface .lately_box_wrap .recentData { display:block; margin-top:7px; font-size:11px; color:#64748b; line-height:1.3; }
.bmr-surface .lately_box_4 { border-color:#e2e8f0; border-radius:11px; }
.bmr-chart { position:relative; width:100%; height:220px; clear:both; }
.bmr-chart canvas { max-width:100%; }
.bmr-surface .indicator { color:#64748b; font-size:11px; margin-top:10px; line-height:1.7; }
.bmr-surface .indicator .sell { color:#4f46e5!important; }
.bmr-surface .indicator .full { color:#0284c7!important; }
.bmr-surface .indicator .month { color:#0f766e!important; }
.bmr-surface.real_wrap { padding:16px 10px; }
.bmr-surface.real_wrap .bmr-section-title { padding:0 6px; }
.bmr-surface .real_table { table-layout:fixed; width:100%; }
.bmr-surface .real_table col { width:auto; }
.bmr-surface .real_table col:nth-child(4) { width:28%; }
.bmr-surface .real_table thead tr>* { position:static; color:#64748b; background:#f1f5f9; font-size:11px; font-weight:700; padding:10px 2px; border:0; }
.bmr-surface .real_table tbody tr>* { padding:11px 3px; border:0; border-bottom:1px solid #edf1f6; font-size:12px; line-height:1.45; vertical-align:middle; word-break:keep-all; overflow-wrap:anywhere; }
.bmr-surface .real_table tbody tr:nth-child(even) { background:#fafbfe; }
.bmr-surface .real_table tbody tr> :nth-child(4) { font-weight:800; color:#172b4d; text-align:right; padding-right:8px; }
.bmr-surface .real_table tbody tr:hover { background:#eef2ff; }
.bmr-surface .reals_more_btn { border:1px solid #dce3ed; border-radius:9px; background:#f8fafc; color:#334155; margin-top:12px; }
.bmr-surface.real_build table { max-width:100%; }
.bmr-surface.real_build table th, .bmr-surface.real_build table td { padding:9px 8px; font-size:12px; line-height:1.5; border-color:#e7edf4; }
.bmr-surface.real_build table th { background:#f7f9fc; color:#64748b; font-weight:500; }
.bmr-surface .real_build_box td:first-child, .bmr-surface .real_toji_box td:first-child { background:#f7f9fc; color:#64748b; }
.bmr-surface .real_build_box td:last-child, .bmr-surface .real_toji_box td:last-child { text-align:left; color:#334155; font-size:13px; }
.bmr-surface.real_build .title_right { max-width:100%; margin-left:auto; }
.bmr-location .map_view_wrap { width:100%; border-radius:11px; overflow:hidden; }
.bmr-location #map_view2 { height:215px; margin:0; }
.bmr-root + .back_btn_box { border-bottom:1px solid #e2e8f0!important; }
@media(max-width:600px) {
  .bmr-surface.real_view_boxs { width:calc(100% - 16px); margin:8px!important; padding:14px 12px; border-radius:13px; }
  .bmr-overview.real_view_boxs { width:100%; margin:0!important; padding:17px 16px; border-radius:0; }
  .bmr-overview .real_title { font-size:20px; }
  .bmr-surface .lately_box_wrap { gap:5px; }
  .bmr-surface .lately_box_wrap .lately_box { padding:11px 6px; }
  .bmr-surface .lately_box_wrap .price_average { font-size:14px; letter-spacing:-.5px; }
  .bmr-surface .graph_title > .real_filbtn_wrap, .bmr-surface .graph_title > .title_right { width:100%; }
  .bmr-surface.real_wrap { padding:14px 7px; }
  .bmr-surface .real_table tbody tr>* { font-size:11px; padding:10px 2px; }
  .bmr-chart { height:200px; }
}
