/* Верхня навігація — спільна для карти, маршрутів і адмінки. Кольори беруться з :root сторінки. */
.topbar { flex: none; display: flex; align-items: center; gap: 20px; height: 52px; padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 1100; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 22px; height: 22px; flex: none; }
.tabs { display: flex; align-self: stretch; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs a { display: flex; align-items: center; padding: 0 12px; color: var(--muted); text-decoration: none; font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
@media (max-width: 480px) {
  .topbar { gap: 8px; padding: 0 8px; }
  .brand span { display: none; }
  .tabs a { padding: 0 10px; }
}
.account { margin-left: auto; color: var(--accent); text-decoration: none; font-weight: 500; white-space: nowrap; }
.account:hover { text-decoration: underline; }
