#icm-root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  width: 100%;
}
#icm-map-wrap {
  position: relative;
  background: #f8f9f4;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}
.c { cursor: pointer; transition: fill .12s; }
.lbl { font-size: 6px; font-weight: 600; fill: #27500A; pointer-events: none; }

#icm-tip {
  position: absolute; top: 0; left: 0;
  background: #fff;
  border: 1px solid #c8e6a0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: #1a1a1a;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,.13);
  z-index: 99;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .1s, transform .1s;
  min-width: 190px;
}
#icm-tip.on { opacity: 1; transform: translateY(0); }
#icm-tip strong { display: block; font-size: 14px; font-weight: 700; color: #185FA5; margin-bottom: 3px; }
#icm-tip .tr { display: block; font-size: 12px; font-weight: 600; color: #3B6D11; margin-bottom: 3px; }
#icm-tip span { display: block; font-size: 11px; color: #555; line-height: 1.5; }
#icm-tip em { display: block; font-style: normal; font-size: 10px; color: #97C459; font-weight: 600; margin-top: 6px; }

#icm-bar {
  background: #fff;
  border: 1px solid #e4edda;
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 12px 18px;
  min-height: 62px;
  display: flex;
  align-items: center;
}
#icm-bar-default { font-size: 13px; color: #888; }
#icm-bar-county { width: 100%; align-items: center; gap: 16px; flex-wrap: wrap; }
#icm-bar-left { flex: 2; min-width: 160px; }
#icm-bar-name { font-size: 15px; font-weight: 700; color: #185FA5; }
#icm-bar-recorder { font-size: 12px; font-weight: 600; color: #3B6D11; margin-top: 1px; }
#icm-bar-addr { font-size: 11px; color: #777; margin-top: 2px; }
#icm-bar-right { flex: 1; min-width: 140px; display: flex; flex-direction: column; gap: 3px; }
#icm-bar-phone { font-size: 12px; color: #444; font-weight: 500; }
#icm-bar-email { font-size: 11px; color: #666; word-break: break-all; }
#icm-btn {
  margin-left: auto;
  display: inline-block;
  padding: 8px 16px;
  background: #185FA5;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
  flex-shrink: 0;
}
#icm-btn:hover { background: #0c447c; color: #fff; text-decoration: none; }
@media (max-width: 560px) {
  #icm-bar-county { gap: 10px; }
  #icm-btn { margin-left: 0; width: 100%; text-align: center; }
}
