/* Insights tab strip (js/insights-tabs.js): Conversations, PowerShare,
   Olympics, Ready Generations, Convention. Same look as the dashboard's own
   .dash-tabs row. Every rule is scoped to .ins-tabs because the tabs are
   a.dash-nav-link elements, and several pages still carry old global
   .dash-nav-link rules from the pre-sidebar top nav. */
.ins-tabs {
  display: flex;
  gap: 0;
  background: var(--card, #fff);
  border: 1px solid var(--border, #E2E8F0);
  border-radius: var(--radius, 10px);
  box-shadow: var(--shadow, 0 1px 3px rgba(0, 0, 0, 0.06));
  padding: 0 12px;
  margin: 0 0 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ins-tabs.ins-tabs--single,
.ins-tabs .hidden,
.presentation-mode .ins-tabs,
.insights-only .ins-tabs { display: none; }

.ins-tabs a.dash-nav-link.ins-tab,
.ins-tabs a.dash-nav-link.ins-tab:link,
.ins-tabs a.dash-nav-link.ins-tab:visited {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  margin: 0 0 -1px;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--muted, #64748B);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.12s, border-color 0.12s;
}
.ins-tabs a.dash-nav-link.ins-tab.hidden { display: none; }
.ins-tabs a.dash-nav-link.ins-tab:hover { color: var(--brand-dark, #1B4332); background: none; }
.ins-tabs a.dash-nav-link.ins-tab.active {
  color: var(--brand, #2D6A4F);
  border-bottom-color: var(--brand, #2D6A4F);
}
.ins-tabs a.dash-nav-link.ins-tab:focus-visible {
  outline: 2px solid var(--brand, #2D6A4F);
  outline-offset: -2px;
}
.ins-tab-icon { font-size: 1rem; line-height: 1; }

/* Full-height pages (map.html): a flat bar between the header and the page,
   not a floating card, so it does not eat into the map. */
.ins-tabs.ins-tabs--flush {
  flex-shrink: 0;
  margin: 0;
  border-width: 0 0 1px;
  border-radius: 0;
  box-shadow: none;
  padding: 0 16px;
}

@media (max-width: 600px) {
  .ins-tabs { padding: 0 4px; }
  .ins-tabs a.dash-nav-link.ins-tab,
  .ins-tabs a.dash-nav-link.ins-tab:link,
  .ins-tabs a.dash-nav-link.ins-tab:visited { padding: 11px 12px; }
}
