  /* 지도 장소 검색 */
  .map-search-wrap { position:relative; }
  .map-search-wrap.hidden { display:none; }
  .map-search-inner { display:flex; align-items:center; background:var(--surface2); border:1.5px solid var(--border); border-radius:20px; padding:0 4px 0 14px; height:34px; gap:4px; transition:border-color 0.2s; }
  .map-search-inner:focus-within { border-color:#3b82f6; }
  .map-search-inp { background:transparent; border:none; outline:none; color:var(--text); font-size:13px; width:200px; font-family:'Noto Sans KR',sans-serif; }
  .map-search-inp::placeholder { color:var(--text-muted); }
  .map-search-btn { background:transparent; border:none; cursor:pointer; font-size:14px; padding:4px 6px; border-radius:50%; color:var(--text-muted); transition:color 0.15s; }
  .map-search-btn:hover { color:#3b82f6; }
  .map-search-results { position:absolute; top:calc(100% + 6px); right:0; min-width:280px; background:var(--surface); border:1.5px solid var(--border); border-radius:12px; overflow:hidden; z-index:9999; box-shadow:0 8px 24px rgba(0,0,0,0.4); display:none; }
  .map-search-results.show { display:block; }
  .map-search-item { padding:10px 14px; font-size:13px; cursor:pointer; border-bottom:1px solid var(--border); transition:background 0.15s; }
  .map-search-item:last-child { border-bottom:none; }
  .map-search-item:hover { background:var(--surface2); }
  .map-search-item-name { color:var(--text); font-weight:500; margin-bottom:2px; }
  .map-search-item-addr { color:var(--text-muted); font-size:11px; }
  .map-search-pin { position:absolute; z-index:100; pointer-events:none; }
  .stat-chip {
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1.5px solid;
    white-space: nowrap;
    opacity: 0.45;
  }
  .stat-chip.blue  { background: #1e3a5f; border-color: #3b82f6; color: #93c5fd; }
  .stat-chip.red   { background: #4a1515; border-color: #ef4444; color: #fca5a5; }
  .stat-chip.green  { background: #064e3b; border-color: #10b981; color: #6ee7b7; }
  .stat-chip.orange { background: #451a03; border-color: #f59e0b; color: #fcd34d; }
  .stat-chip { cursor: pointer; transition: all 0.2s; user-select: none; }
  .stat-chip:hover { opacity: 0.7; transform: translateY(-1px); }
  .stat-chip.active { opacity: 1; transform: translateY(-1px); }
  .stat-chip.blue.active  { background: #1d4ed8; border-color: #60a5fa; color: #fff; box-shadow: 0 0 12px rgba(59,130,246,0.6); }
  .stat-chip.red.active   { background: #b91c1c; border-color: #f87171; color: #fff; box-shadow: 0 0 12px rgba(239,68,68,0.6); }
  .stat-chip.green.active  { background: #065f46; border-color: #34d399; color: #fff; box-shadow: 0 0 12px rgba(16,185,129,0.6); }
  .stat-chip.orange.active { background: #92400e; border-color: #fbbf24; color: #fff; box-shadow: 0 0 12px rgba(245,158,11,0.6); }
  .stat-dot { width: 7px; height: 7px; border-radius: 50%; }
  .dot-blue  { background: var(--accent-blue); box-shadow: 0 0 6px var(--accent-blue); }
  .dot-red   { background: var(--accent-red);  box-shadow: 0 0 6px var(--accent-red); }
  .dot-green  { background: var(--accent-green); box-shadow: 0 0 6px var(--accent-green); }
  .dot-orange { background: #f97316; box-shadow: 0 0 6px #f97316; }

  /* SIDEBAR */
  .sidebar {
    width: 360px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: hidden;
  }

  .sidebar-header {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .filter-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg);
    border-radius: 8px;
    padding: 4px;
  }
  .filter-tab {
    flex: 1;
    padding: 6px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
  }
  .filter-tab.active { background: var(--surface2); color: var(--text); }

  .search-box { position: relative; }
  .search-box input {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px 8px 34px;
    color: var(--text);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
  }
  .search-box input:focus { border-color: var(--accent-blue); }
  .search-box input::placeholder { color: var(--text-muted); }
  .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
  }

  .site-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
  }
  .site-list::-webkit-scrollbar { width: 4px; }
  .site-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

  .site-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
  }
  .site-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    border-radius: 10px 0 0 10px;
  }
  .site-card.construction::before { background: var(--accent-blue); }
  .site-card.maintenance::before  { background: var(--accent-red); }
  .site-card.done::before         { background: var(--accent-green); }
  .site-card:hover { border-color: #2e4166; transform: translateX(2px); }
  .site-card.selected { border-color: var(--accent-blue); background: rgba(59,130,246,0.08); }

  .card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
  }
  .card-name { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.3; }
  .badge {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 8px;
  }
  .badge.construction { background: rgba(59,130,246,0.2); color: #93c5fd; }
  .badge.maintenance  { background: rgba(239,68,68,0.2);  color: #fca5a5; }
  .badge.done         { background: rgba(16,185,129,0.2); color: #6ee7b7; }

  .card-addr { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
  .card-meta { display: flex; gap: 12px; }
  .meta-item { font-size: 11px; color: var(--text-dim); display: flex; align-items: center; gap: 4px; }


  /* 신규설립 날짜 배지 */
  .date-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.35);
    color: #fca5a5;
    margin-top: 6px;
    width: fit-content;
  }

  /* MAP */
  .map-container {
    flex: 1;
    position: relative;
    overflow: hidden;
  }

  /* 카카오맵 기본 좌측 줌 컨트롤 숨김 (우측 줌 버튼만 사용) */
  #map .map_zoom_in,
  #map .map_zoom_out,
  #map .map_zoom_wrap,
  #map .map_type_btn_wrap,
  #map .map_info_btn { display: none !important; }

  #map {
    width: 100%;
    height: 100%;
  }

  /* DETAIL PANEL */
  .detail-panel {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 320px;
    max-height: calc(100% - 40px);
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    z-index: 50;
    display: none;
    animation: slideUp 0.2s ease;
  }
  .detail-panel::-webkit-scrollbar { width: 4px; }
  .detail-panel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
  .detail-panel.visible { display: block; }

  @keyframes slideUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .detail-close {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--surface2);
    border: none;
    color: var(--text-muted);
    width: 26px; height: 26px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
  }
  .detail-close:hover { color: var(--text); background: var(--border); }

  .detail-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
  }
  .detail-name { font-size: 18px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
  .detail-addr { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
  .detail-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
  .detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--surface2);
    border-radius: 8px;
  }
  .detail-row-label { font-size: 12px; color: var(--text-muted); }
  .detail-row-value { font-size: 13px; font-weight: 500; color: var(--text); }
  .detail-memo {
    background: var(--surface2);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 14px;
  }
  .detail-actions { display: flex; gap: 8px; }

  /* 자세히 보기 모달 */
  .sitedetail-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding-left: 320px;
  }
  .sitedetail-overlay.open { display: flex; }
  .sitedetail-modal {
    background: #fff; border-radius: 16px; overflow: hidden;
    display: flex; width: 80%; max-width: 860px;
    height: calc(100vh - 80px); max-height: 640px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.7);
    animation: slideUp 0.2s ease;
  }
  .sitedetail-left {
    width: 42%; flex-shrink: 0; background: #f3f4f6;
    display: flex; flex-direction: column;
  }
  .sitedetail-photo-wrap {
    position: relative; width: 100%; flex: 1; overflow: hidden; background: #e5e7eb; cursor: pointer;
  }
  .sitedetail-photo-wrap img { width:100%; height:100%; object-fit:cover; display:block; position:absolute; inset:0; }
  .sdp-zoom-hint {
    position:absolute; bottom:8px; right:8px;
    background:rgba(0,0,0,0.5); color:#fff; font-size:10px;
    padding:2px 7px; border-radius:8px; pointer-events:none;
    opacity:0; transition:opacity 0.2s;
  }
  .sitedetail-photo-wrap:hover .sdp-zoom-hint { opacity:1; }
  /* 인라인 편집 필드 */
  .sd-field { margin-bottom:10px; }
  .sd-field-lbl { font-size:10px; font-weight:700; color:#9ca3af; letter-spacing:.05em; text-transform:uppercase; margin-bottom:3px; }
  .sd-field-inp {
    width:100%; background:#f9fafb; border:1.5px solid #e5e7eb;
    border-radius:7px; padding:6px 10px; font-size:13px; color:#111827;
    font-family:'Noto Sans KR',sans-serif; outline:none; transition:border-color .15s;
  }
  .sd-field-inp:focus { border-color:#3b82f6; background:#fff; }
  .sd-field-sel {
    width:100%; background:#f9fafb; border:1.5px solid #e5e7eb;
    border-radius:7px; padding:6px 8px; font-size:13px; color:#111827;
    font-family:'Noto Sans KR',sans-serif; outline:none; cursor:pointer;
  }
  .sd-field-sel:focus { border-color:#3b82f6; }
  .sd-field-ta {
    width:100%; background:#f9fafb; border:1.5px solid #e5e7eb;
    border-radius:7px; padding:6px 10px; font-size:13px; color:#111827;
    resize:vertical; min-height:52px; font-family:'Noto Sans KR',sans-serif; outline:none;
  }
  .sd-field-ta:focus { border-color:#3b82f6; background:#fff; }
  .sd-field-row { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  .sd-divider { height:1px; background:#f3f4f6; margin:8px 0; }
  /* 썸네일 삭제 버튼 */
  .sdp-thumb-wrap { position:relative; display:inline-block; }
  .sdp-thumb-del {
    position:absolute; top:-4px; right:-4px; width:15px; height:15px;
    background:#6b7280; border:none; border-radius:50%; color:#fff;
    font-size:9px; cursor:pointer; display:flex; align-items:center; justify-content:center;
    line-height:1; z-index:2;
    opacity:0; transition:opacity 0.15s;
  }
  .sdp-thumb-wrap:hover .sdp-thumb-del { opacity:1; }
  .sdp-thumb-del:hover { background:#374151; }
  /* 라이트박스 */
  .sd-lightbox {
    display:none; position:fixed; inset:0;
    background:rgba(0,0,0,0.93); z-index:300;
    align-items:center; justify-content:center; flex-direction:column;
  }
  .sd-lightbox.open { display:flex; }
  .sd-lb-img { max-width:85vw; max-height:78vh; object-fit:contain; border-radius:8px; }
  .sd-lb-nav { display:flex; align-items:center; gap:16px; margin-top:16px; }
  .sd-lb-btn {
    background:rgba(255,255,255,0.15); border:none; color:#fff;
    width:38px; height:38px; border-radius:50%; cursor:pointer;
    font-size:20px; display:flex; align-items:center; justify-content:center;
  }
  .sd-lb-btn:hover { background:rgba(255,255,255,0.3); }
  .sd-lb-del {
    background:rgba(239,68,68,0.2); border:1px solid rgba(239,68,68,0.5);
    color:#fca5a5; border-radius:8px; padding:7px 16px;
    font-size:12px; cursor:pointer; font-family:'Noto Sans KR',sans-serif;
  }
  .sd-lb-del:hover { background:rgba(239,68,68,0.35); }
  .sd-lb-counter { font-size:12px; color:#9ca3af; min-width:40px; text-align:center; }
  .sd-lb-close {
    position:fixed; top:16px; right:16px;
    background:rgba(255,255,255,0.15); border:none; color:#fff;
    width:34px; height:34px; border-radius:50%; cursor:pointer; font-size:16px;
    display:flex; align-items:center; justify-content:center;
  }
  .sd-lb-close:hover { background:rgba(255,255,255,0.3); }
  /* 저장 토스트 */
  .sd-toast {
    position:fixed; bottom:24px; left:50%; transform:translateX(-50%);
    background:#10b981; color:#fff; padding:8px 20px; border-radius:20px;
    font-size:13px; font-weight:600; font-family:'Noto Sans KR',sans-serif;
    opacity:0; transition:opacity .3s; pointer-events:none; z-index:400;
  }
  .sd-toast.show { opacity:1; }
  .sitedetail-no-photo {
    width:100%; height:100%; display:flex; flex-direction:column;
    align-items:center; justify-content:center; gap:6px; color:#9ca3af;
  }
  .sdp-slide-btn {
    position:absolute; top:50%; transform:translateY(-50%);
    background:rgba(0,0,0,0.45); border:none; color:#fff;
    width:28px; height:28px; border-radius:50%; cursor:pointer;
    font-size:16px; display:flex; align-items:center; justify-content:center;
    opacity:0; transition:opacity 0.2s;
  }
  .sitedetail-photo-wrap:hover .sdp-slide-btn { opacity:1; }
  .sdp-slide-btn:hover { background:rgba(0,0,0,0.75); }
  .sdp-count {
    position:absolute; top:8px; right:8px;
    background:rgba(0,0,0,0.55); color:#fff; font-size:10px;
    padding:2px 7px; border-radius:10px;
    opacity:0; transition:opacity 0.2s;
  }
  .sitedetail-photo-wrap:hover .sdp-count { opacity:1; }
  .sdp-dots {
    position:absolute; bottom:8px; left:50%; transform:translateX(-50%);
    display:flex; gap:4px;
    opacity:0; transition:opacity 0.2s;
  }
  .sitedetail-photo-wrap:hover .sdp-dots { opacity:1; }
  .sdp-dot { width:5px; height:5px; border-radius:50%; background:rgba(255,255,255,0.45); }
  .sdp-dot.on { background:#fff; }
  .sdp-thumbs { display:flex; gap:5px; padding:8px 10px; flex-wrap:wrap; flex-shrink:0; }
  .sdp-thumb {
    width:48px; height:48px; border-radius:6px; object-fit:cover;
    cursor:pointer; border:2px solid transparent; transition:border-color 0.15s;
  }
  .sdp-thumb.on { border-color:#3b82f6; }
  .sdp-thumb:hover { border-color:#93c5fd; }
  .sdp-upload {
    margin: 0 10px 10px; border:1.5px dashed #d1d5db; border-radius:8px;
    padding:10px; text-align:center; cursor:pointer; background:#fff;
    transition: border-color 0.15s, background 0.15s; flex-shrink:0;
  }
  .sdp-upload:hover { border-color:#3b82f6; background:#eff6ff; }
  .sdp-upload-txt { font-size:11px; color:#6b7280; margin-top:3px; }
  .sdp-upload-bar { height:3px; background:#e5e7eb; border-radius:2px; margin-top:6px; overflow:hidden; display:none; }
  .sdp-upload-fill { height:100%; background:#3b82f6; border-radius:2px; transition:width 0.2s; }
  .sitedetail-right {
    flex:1; padding:20px 22px; overflow-y:auto; background:#fff;
  }
  .sitedetail-right::-webkit-scrollbar { width:4px; }
  .sitedetail-right::-webkit-scrollbar-thumb { background:#e5e7eb; border-radius:2px; }
  .sd-badge-row { display:flex; align-items:center; gap:6px; margin-bottom:12px; }
  .sd-badge {
    font-size:10px; font-weight:600; padding:0 9px;
    border-radius:10px; white-space:nowrap;
    height:22px; line-height:22px; display:inline-block;
  }
  .sd-name { font-size:18px; font-weight:700; color:#111827; margin-bottom:4px; }
  .sd-addr { font-size:12px; color:#6b7280; margin-bottom:14px; }
  .sd-section { margin-bottom:14px; }
  .sd-section-title {
    font-size:10px; font-weight:700; color:#9ca3af;
    letter-spacing:.06em; text-transform:uppercase;
    margin-bottom:8px; padding-bottom:5px; border-bottom:1px solid #f3f4f6;
  }
  .sd-rows { display:flex; flex-direction:column; gap:7px; }
  .sd-row { display:flex; align-items:center; gap:8px; font-size:13px; }
  .sd-lbl { color:#9ca3af; width:72px; flex-shrink:0; font-size:12px; }
  .sd-val { color:#374151; font-weight:500; }
  .sd-memo-box {
    background:#f9fafb; border-radius:8px; padding:10px 12px;
    font-size:13px; color:#6b7280; line-height:1.6;
  }
  .sd-actions { display:flex; gap:8px; margin-top:16px; }
  .sd-btn {
    flex:1; padding:9px 0; border-radius:8px; border:none;
    font-size:13px; font-weight:600; cursor:pointer;
    font-family:'Noto Sans KR',sans-serif; text-align:center;
  }
  .sd-btn-road { background:#f3f4f6; color:#4b5563; }
  .sd-btn-road:hover { background:#e5e7eb; }
  .sd-btn-save { background:#3b82f6; color:#fff; }
  .sd-btn-save:hover { background:#2563eb; }
  .sd-btn-del { background:#fff0f0; color:#ef4444; border:1px solid #fee2e2 !important; flex:0 0 auto; padding:9px 14px; }
  .sd-btn-del:hover { background:#fee2e2; }
  .sd-close {
    position:absolute; top:14px; right:14px;
    background:rgba(0,0,0,0.15); border:none; color:#fff;
    width:28px; height:28px; border-radius:50%; cursor:pointer;
    font-size:14px; display:flex; align-items:center; justify-content:center;
    z-index:5; opacity:1; transition:background 0.2s;
  }
  .sd-close:hover { background:rgba(0,0,0,0.35); }

  /* 매물검토/인수검토 상세 탭 */
  .dp-tabs { display:flex; border-bottom:1.5px solid var(--border); margin:0 -16px; padding:0 16px; gap:0; }
  .dp-tab { flex:1; padding:9px 4px; text-align:center; font-size:11px; font-weight:600; color:var(--text-muted); cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-1.5px; transition:all .2s; white-space:nowrap; }
  .dp-tab.active { color:#f97316; border-bottom-color:#f97316; }
  .dp-tab-panel { display:none; padding-top:14px; }
  .dp-tab-panel.active { display:block; }
  .dp-sec-title { font-size:10px; font-weight:700; color:var(--text-muted); letter-spacing:.06em; text-transform:uppercase; margin-bottom:8px; padding-bottom:5px; border-bottom:1px solid var(--border); }
  .dp-row { display:grid; grid-template-columns:110px 1fr; align-items:center; gap:6px; margin-bottom:7px; }
  .dp-lbl { font-size:11px; color:var(--text-muted); font-weight:500; }
  .dp-inp { background:var(--surface2); border:1.5px solid var(--border); border-radius:7px; color:var(--text); font-size:12px; padding:5px 8px; width:100%; outline:none; font-family:'Noto Sans KR',sans-serif; transition:border-color .2s; }
  .dp-inp:focus { border-color:#f97316; }
  .dp-inp-auto { background:rgba(236,72,153,.08); border:1.5px solid rgba(236,72,153,.2); border-radius:7px; color:#ec4899; font-size:12px; padding:5px 8px; width:100%; font-family:'Noto Sans KR',sans-serif; font-weight:600; }
  .dp-inp-hi { background:rgba(252,211,77,.08); border:1.5px solid rgba(252,211,77,.2); border-radius:7px; color:#fcd34d; font-size:13px; padding:6px 8px; width:100%; font-family:'Noto Sans KR',sans-serif; font-weight:700; }
  .dp-save-btn { width:100%; background:#f97316; color:#fff; border:none; border-radius:9px; padding:9px; font-size:13px; font-weight:700; cursor:pointer; font-family:'Noto Sans KR',sans-serif; margin-top:12px; transition:background .2s; }
  .dp-save-btn:hover { background:#ea6c0a; }

  /* ROADVIEW PANEL */
  .roadview-panel {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    z-index: 60;
    display: none;
    flex-direction: column;
    animation: fadeIn 0.2s ease;
  }
  .roadview-panel.visible { display: flex; }

  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  .roadview-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    z-index: 61;
  }
  .roadview-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    flex: 1;
  }
  .roadview-addr {
    font-size: 12px;
    color: var(--text-muted);
  }
  .btn-roadview-close {
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Noto Sans KR', sans-serif;
  }
  .btn-roadview-close:hover { color: var(--text); border-color: var(--text-muted); }

  #roadviewContainer {
    flex: 1;
    width: 100%;
  }

  .btn-roadview {
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid;
    transition: all 0.15s;
    background: rgba(236,72,153,0.15);
    border-color: rgba(236,72,153,0.4);
    color: #f9a8d4;
  }
  .btn-roadview:hover { background: rgba(236,72,153,0.25); border-color: #ec4899; }


  /* 매물 리스트 카드 */
  .listing-card {
    background: var(--surface2);
    border: 1px dashed rgba(239,68,68,0.4);
    border-radius: 10px;
    padding: 14px;
    margin: 8px 8px 0 8px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .listing-card:hover { border-color: #ef4444; background: rgba(239,68,68,0.06); }
  .listing-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #fca5a5;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .listing-card-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 8px;
    white-space: pre-wrap;
    word-break: break-all;
  }
  .listing-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #93c5fd;
    text-decoration: none;
    padding: 4px 8px;
    background: rgba(59,130,246,0.1);
    border-radius: 6px;
    border: 1px solid rgba(59,130,246,0.2);
    transition: all 0.2s;
    word-break: break-all;
  }
  .listing-card-link:hover { background: rgba(59,130,246,0.2); border-color: #3b82f6; }
  .listing-card-empty {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    padding: 6px 0 2px;
  }

  /* 매물 모달 */
  .listing-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
  }
  .listing-modal-overlay.visible { display: flex; }
  .listing-modal {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    width: 420px;
    max-width: 95vw;
    animation: slideUp 0.25s ease;
  }
  .listing-modal-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fca5a5;
  }

  /* LEGEND */
  .map-legend {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(17,24,39,0.95);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    z-index: 10;
    backdrop-filter: blur(8px);
  }
  .legend-title { font-size: 10px; color: var(--text-muted); margin-bottom: 8px; font-weight: 600; letter-spacing: 0.5px; }
  .legend-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-dim); margin-bottom: 6px; }
  .legend-item:last-child { margin-bottom: 0; }
  .legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

  /* MODAL */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
  }
  .modal-overlay.visible { display: flex; }

  .modal {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    width: 440px;
    max-width: 95vw;
    animation: slideUp 0.25s ease;
    max-height: 90vh;
    overflow-y: auto;
  }
  .modal-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }

  .form-group { margin-bottom: 14px; }
  .form-label { display: block; font-size: 12px; font-weight: 500; color: var(--text-dim); margin-bottom: 6px; }
  .form-input, .form-select, .form-textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 9px 12px;
    color: var(--text);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
  }
  .form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent-blue); }
  .form-select option { background: var(--surface); }
  .form-textarea { resize: vertical; min-height: 70px; }
  .form-row { display: flex; gap: 10px; }
  .form-row .form-group { flex: 1; }

  .addr-search-row { display: flex; gap: 8px; }
  .addr-search-row .form-input { flex: 1; }
  .btn-addr-search {
    padding: 9px 14px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-dim);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
  }
  .btn-addr-search:hover { border-color: var(--accent-blue); color: var(--accent-blue); }

  .addr-results {
    margin-top: 6px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    display: none;
  }
  .addr-result-item {
    padding: 10px 12px;
    font-size: 12px;
    color: var(--text-dim);
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
  }
  .addr-result-item:last-child { border-bottom: none; }
  .addr-result-item:hover { background: var(--surface2); color: var(--text); }
  .addr-result-name { font-weight: 600; color: var(--text); margin-bottom: 2px; }

  .modal-actions { display: flex; gap: 8px; margin-top: 20px; }
  .btn-cancel {
    flex: 1; padding: 10px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .btn-cancel:hover { border-color: var(--text-muted); color: var(--text); }
  .btn-save {
    flex: 2; padding: 10px;
    background: var(--accent-blue);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
  }
  .btn-save:hover { background: #2563eb; }

  /* 커스텀 마커 스타일 */
  /* ── 마커 공통 ── */
  .marker-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  }
  .marker-wrapper:hover { filter: drop-shadow(0 6px 16px rgba(0,0,0,0.7)); transform: translateY(-2px); transition: all 0.15s; }

  /* ── 기본 마커 (매물리스트/운영중) ── */
  .custom-marker {
    background: #111827;
    border: 2px solid;
    border-radius: 10px;
    padding: 7px 11px;
    min-width: 110px;
    position: relative;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
  }
  .custom-marker::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
  }
  .custom-marker.construction { border-color: #3b82f6; }
  .custom-marker.construction::after { border-top: 8px solid #3b82f6; }
  .custom-marker.takeover     { border-color: #f97316; }
  .custom-marker.takeover::after { border-top: 8px solid #f97316; }
  .custom-marker.done         { border-color: #10b981; }
  .custom-marker.done::after  { border-top: 8px solid #10b981; }

  /* ── 신규설립 전용 마커 (날짜 강조) ── */
  .custom-marker.maintenance {
    border: none;
    padding: 0;
    min-width: unset;
    width: fit-content;
    background: transparent;
    border-radius: 10px;
    overflow: visible;
  }
  .custom-marker.maintenance::after { display: none; }

  .marker-maintenance-inner {
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(239,68,68,0.4);
    border: 2px solid #ef4444;
    width: fit-content;
    min-width: unset;
    background: #111111;
  }

  /* 날짜 헤더 영역 */
  .marker-date-header {
    background: #ef4444;
    padding: 4px 8px 3px;
    text-align: center;
    white-space: nowrap;
    border-radius: 8px 8px 0 0;
  }
  .marker-date-label {
    font-size: 9px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1px;
  }
  .marker-date-value {
    font-size: 13px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.3px;
    display: block;
    line-height: 1.2;
  }

  /* 지점명 하단 영역 */
  .marker-name-area {
    background: #111111;
    padding: 4px 8px 6px;
    border-top: 1px solid rgba(239,68,68,0.3);
    white-space: nowrap;
    border-radius: 0 0 8px 8px;
  }
  .marker-name-area .marker-name {
    font-size: 11px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0;
    white-space: nowrap;
  }
  .marker-name-area .marker-type {
    font-size: 9px;
    font-weight: 600;
    color: #fca5a5;
  }

  /* 화살표 (신규설립) */
  .marker-maintenance-arrow {
    width: 0; height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 9px solid #111111;
    margin: 0 auto;
  }

  /* ── 일반 마커 텍스트 ── */
  .marker-name { font-size: 12px; font-weight: 700; color: #e2e8f0; margin-bottom: 2px; }
  .marker-type { font-size: 10px; font-weight: 600; }
  .marker-type.construction { color: #93c5fd; }
  .marker-type.done         { color: #6ee7b7; }
  .marker-pay {
    font-size: 9px; font-weight: 600; color: #fcd34d;
    margin-top: 3px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: block;
    margin-left: 0;
  }
  /* 신규설립 마커 내 급여종류 */
  .marker-name-area .marker-pay {
    background: transparent;
    color: #fcd34d;
    padding-left: 0;
    margin-left: 0;
  }

  /* ── 점 ── */
  .marker-dot {
    width: 16px; height: 16px;
    border-radius: 50%;
    margin-top: 0;
    border: 3px solid #ffffff;
    flex-shrink: 0;
  }
  .marker-dot.construction { background: #3b82f6; }
  .marker-dot.takeover     { background: #f97316; }
  .marker-dot.maintenance  { background: #ef4444; }
  .marker-dot.done         { background: #10b981; }
