/* =====================================================================
   HEAL App - Leaderboard journey map (loaded after style.css)
   ===================================================================== */

.lmap-head { font-size: 14px; color: #41525e; line-height: 1.4; margin-bottom: 10px; }

.lmap-hint { font-size: 14px; color: var(--muted); padding: 6px 0; line-height: 1.4; }

.lmap-search { margin-top: 0; }

.lmap-results { display: grid; gap: 6px; margin-top: 8px; }

.lmap-hit,
.lmap-person {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}

.lmap-hit-sub { font-size: 12px; color: var(--muted); white-space: nowrap; }

.lmap-info {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #eef7fb;
  border: 1px solid #cbe2f0;
}

.lmap-info-name { font-family: var(--display); font-weight: 700; font-size: 18px; overflow-wrap: anywhere; }
.lmap-info-sub { font-size: 13px; color: var(--muted); margin: 2px 0 6px; }
.lmap-info-row { font-size: 14px; line-height: 1.4; margin-top: 3px; }

#lmapInfo > .lmap-hint { text-align: center; }

.lmap-map { margin-top: 6px; }

.lmap-svg { margin-top: 4px; }

.lmap-dot { cursor: pointer; outline: none; }
.lmap-dot:focus-visible circle:nth-last-child(1) { stroke: #1d2b36; }

.lmap-groups { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.lmap-groups-title { font-weight: 700; font-size: 15px; margin-bottom: 8px; }

.lmap-group { border: 1px solid var(--line); border-radius: 12px; margin-top: 8px; background: #fff; }

.lmap-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.lmap-group > summary::-webkit-details-marker { display: none; }

.lmap-count {
  min-width: 26px;
  text-align: center;
  background: #eef3f5;
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 12px;
}

.lmap-people { display: grid; gap: 6px; padding: 0 10px 10px; max-height: 320px; overflow-y: auto; }
