html,
body {
  font-family: "Inter", system-ui, sans-serif;
}

/* Top bar (design review 2026-10-22): white bar, product name, inline navigation. */
.gpa-topbar {
  border-bottom: 1px solid var(--mud-palette-divider);
}

.gpa-topbar .mud-toolbar {
  flex-wrap: wrap;
  gap: 24px;
  padding: 0 32px;
}

.gpa-product {
  font-family: "League Spartan", system-ui, sans-serif;
  font-weight: 600;
  font-size: 18px;
  white-space: nowrap;
}

.gpa-topnav {
  display: flex;
  gap: 20px;
}

.gpa-topnav a {
  color: var(--mud-palette-text-secondary);
  text-decoration: none;
}

.gpa-topnav a:hover {
  color: var(--mud-palette-primary);
}

.gpa-topnav a.active {
  color: var(--mud-palette-appbar-text);
  font-weight: 600;
}

/* Page content: centred, at most 1216px wide. */
.gpa-main {
  padding-top: var(--mud-appbar-height, 64px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.gpa-page {
  flex: 1;
  width: 100%;
  max-width: 1216px;
  margin: 0 auto;
  padding: 32px 24px;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .gpa-topbar .mud-toolbar {
    gap: 12px;
    padding: 0 16px;
  }

  .gpa-page {
    padding: 24px 16px;
  }
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}
