/* Tab bar shared by the two map pages (map.html and growth-map.html) and the
   three Find properties pages (search.html, distress.html, probate.html).
   Each tab is a plain link to the other page; the current one is highlighted. */
.map-tabs {
  display: flex; gap: 6px; padding: 10px 20px 0; border-bottom: 1px solid var(--line);
  background: var(--panel); overflow-x: auto;
}
.map-tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 10px;
  font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-bottom: none; border-radius: 10px 10px 0 0;
  margin-bottom: -1px;
}
.map-tab:hover { color: var(--text); background: rgba(var(--tint), .04); }
.map-tab.current {
  color: var(--gold-lt); background: var(--bg); border-color: var(--line);
  box-shadow: inset 0 2px 0 var(--gold);
}
.map-tab small { font-weight: 400; font-size: 12px; color: var(--muted-2); }
@media (max-width: 760px) {
  .map-tabs { padding: 8px 12px 0; }
  .map-tab { padding: 8px 12px 9px; font-size: 13px; }
  .map-tab small { display: none; }
}
/* Find properties now has one tab, "Search by Distress" (Nov 17 2026). The
   property look-up and the all-probate list say where you are next to it. */
.map-tabs-here { align-self: center; padding: 0 8px 4px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.map-tabs-here b { color: var(--text); font-weight: 600; }
/* Commercial / Residential / Probate sections (Nov 25 2026, js/section.js).
   The section's name sits at the right end of its tab bar. */
header.top [data-section] { font-weight: 700; }
.map-tabs-section {
  margin-left: auto; align-self: center; padding: 3px 10px; margin-bottom: 6px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid var(--line); color: var(--gold-lt);
}
.map-tabs-section.sec-residential { color: #7fc8ff; border-color: rgba(127, 200, 255, .45); }
.map-tabs-section.sec-probate { color: #c39bff; border-color: rgba(195, 155, 255, .45); }
.type-unclear {
  display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 999px; font-size: 11px; font-weight: 600;
  background: rgba(var(--tint), .08); color: var(--muted); vertical-align: middle; white-space: nowrap;
}
@media (max-width: 760px) { .map-tabs-section { display: none; } }
