.bdm-wrapper{
  --bdm-border:#c6ddd1;
  --bdm-bg:#f5faf7;
  color:var(--bdm-text);
  font-family:inherit;
}
.bdm-wrapper *{box-sizing:border-box}
.bdm-header{margin-bottom:18px}
.bdm-header h3{margin:0 0 6px;font-size:28px;line-height:1.15;color:var(--bdm-text)}
.bdm-header p{margin:0;color:color-mix(in srgb, var(--bdm-text) 72%, white)}
.bdm-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:22px;align-items:start}
.bdm-map-panel,.bdm-sidebar{background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(245,250,247,.95));border:1px solid var(--bdm-border);border-radius:28px;padding:22px;box-shadow:0 10px 28px rgba(9,54,34,.06)}
.bdm-map-canvas{position:relative;width:100%;aspect-ratio:1/1;max-width:980px;margin:0 auto}
.bdm-map-image{position:absolute;inset:0;background-image:var(--bdm-map-image);background-repeat:no-repeat;background-position:center;background-size:contain}
.bdm-state-marker{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:4px;min-width:42px;padding:2px 4px;border:0;background:transparent;cursor:pointer;z-index:2}
.bdm-state-marker__uf{display:inline-flex;align-items:center;justify-content:center;min-width:34px;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.92);border:1px solid rgba(22,49,38,.12);color:var(--bdm-text);font-size:14px;font-weight:800;line-height:1;letter-spacing:.04em;box-shadow:0 2px 8px rgba(9,54,34,.08);transition:all .2s ease}
.bdm-state-marker__count{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;background:var(--bdm-accent);color:#fff;font-size:13px;font-weight:800;line-height:1;box-shadow:0 4px 10px rgba(11,122,75,.22);transition:all .2s ease}
.bdm-state-marker:hover .bdm-state-marker__uf,
.bdm-state-marker:focus .bdm-state-marker__uf,
.bdm-state-marker.is-active .bdm-state-marker__uf{background:var(--bdm-active);color:#fff;border-color:var(--bdm-active);transform:translateY(-1px)}
.bdm-state-marker:hover .bdm-state-marker__count,
.bdm-state-marker:focus .bdm-state-marker__count,
.bdm-state-marker.is-active .bdm-state-marker__count{background:#fff;color:var(--bdm-active);outline:2px solid var(--bdm-active)}
.bdm-state-marker:focus-visible{outline:none}
.bdm-state-marker--small .bdm-state-marker__uf{min-width:26px;padding:4px 6px;font-size:11px}
.bdm-state-marker--small .bdm-state-marker__count{width:20px;height:20px;font-size:10px}
.bdm-sidebar-kicker{display:block;margin-bottom:8px;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--bdm-accent)}
.bdm-sidebar-header h4{margin:0 0 8px;font-size:24px;line-height:1.15;color:var(--bdm-text)}
.bdm-sidebar-header p{margin:0 0 20px;color:color-mix(in srgb, var(--bdm-text) 72%, white)}
.bdm-list{display:grid;gap:16px}
.bdm-card{padding:18px;border:1px solid var(--bdm-border);border-radius:22px;background:#fff}
.bdm-card h5{margin:0 0 12px;font-size:18px;line-height:1.25;color:var(--bdm-text)}
.bdm-meta{margin:0;display:grid;gap:10px}
.bdm-meta div{line-height:1.45}
.bdm-meta strong{color:var(--bdm-text)}
.bdm-meta a{color:var(--bdm-accent);text-decoration:none}
.bdm-meta a:hover{text-decoration:underline}
.bdm-empty{padding:18px;border:1px dashed var(--bdm-border);border-radius:20px;background:#fff;color:color-mix(in srgb, var(--bdm-text) 74%, white)}
@media (max-width: 980px){
  .bdm-layout{grid-template-columns:1fr}
  .bdm-header h3{font-size:24px}
  .bdm-state-marker__uf{min-width:30px;padding:4px 7px;font-size:12px}
  .bdm-state-marker__count{width:24px;height:24px;font-size:11px}
}
@media (max-width: 640px){
  .bdm-map-panel,.bdm-sidebar{padding:16px;border-radius:22px}
  .bdm-state-marker{gap:3px}
  .bdm-state-marker__uf{min-width:26px;padding:3px 6px;font-size:10px}
  .bdm-state-marker__count{width:20px;height:20px;font-size:10px}
  .bdm-state-marker--small .bdm-state-marker__uf{min-width:20px;padding:2px 4px;font-size:9px}
  .bdm-state-marker--small .bdm-state-marker__count{width:16px;height:16px;font-size:8px}
}
