.tracker-body {
  margin: 0;
  font-family: 'Inter', 'Roboto', 'Helvetica', sans-serif;
  background: var(--surface-app);
  color: var(--text-main);
  height: auto;
}

html:has(> .tracker-body) {
  overflow-x: hidden;
}

.tracker-main {
  display: block;
  background: var(--surface-app);
  min-height: calc(100vh - 64px);
}

.tracker-topbar { display: contents; }

.tracker-topbar-sticky {
  position: sticky;
  top: 0;
  z-index: 52;
}

.tracker-navbar {
  height: 64px;
  background: #1e3a8a;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.09);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tracker-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.tracker-brand-mark {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tracker-brand-mark img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.tracker-brand-name {
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
}

.tracker-brand-badge {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 4px;
}

.tracker-navbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.tracker-navbar-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #bfdbfe;
  text-decoration: none;
  white-space: nowrap;
}

.tracker-navbar-link.is-active {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  font-weight: 600;
}

.tracker-section-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-neutral);
  overflow-x: auto;
  scrollbar-width: none;
}

.tracker-section-tabs::-webkit-scrollbar { display: none; }

.tracker-section-tab {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tracker-section-tab:hover {
  color: var(--text-main);
}

.tracker-section-tab.is-active {
  color: var(--accent);
  font-weight: 600;
  border-bottom-color: var(--accent);
}
