body {
  background:
    linear-gradient(180deg, #f6f7f5 0, #eef1ee 18rem, #f8f9fa 18rem);
  color: #202428;
  min-width: 320px;
}

.app-main {
  padding-bottom: 3.5rem;
  padding-top: 2rem;
}

.app-header {
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(32, 36, 40, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar-brand {
  font-size: 1rem;
  letter-spacing: 0;
}

.icon-button {
  align-items: center;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  padding: 0;
  width: 2rem;
}

.user-chip {
  align-items: center;
  background: #f5f6f4;
  border: 1px solid rgba(32, 36, 40, 0.1);
  border-radius: 999px;
  display: inline-flex;
  gap: 0.5rem;
  padding: 0.2rem 0.65rem 0.2rem 0.25rem;
  white-space: nowrap;
}

.user-chip img {
  border-radius: 50%;
  height: 1.5rem;
  width: 1.5rem;
}

.login-panel {
  background: #fff;
  border: 1px solid rgba(32, 36, 40, 0.1);
  border-radius: 0.75rem;
  box-shadow: 0 1rem 3rem rgba(32, 36, 40, 0.08);
  margin: 18vh auto 0;
  max-width: 22rem;
  padding: 1rem;
}

.page-title {
  margin-inline: auto;
  max-width: 118rem;
}

.page-title h1 {
  font-weight: 650;
  letter-spacing: 0;
}

.environment-tabs {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(32, 36, 40, 0.1);
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 2rem rgba(32, 36, 40, 0.04);
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
}

.environment-tabs .nav-link {
  border-radius: 0.55rem;
  color: #46515c;
  font-weight: 600;
}

.environment-tabs .nav-link.active {
  background: #202428;
  color: #fff;
}

.environment-tabs .badge {
  background: rgba(32, 36, 40, 0.1);
  color: inherit;
}

.environment-card {
  background: #fff;
  border: 1px solid rgba(32, 36, 40, 0.1);
  border-radius: 0.85rem;
  box-shadow: 0 1rem 3rem rgba(32, 36, 40, 0.06);
  overflow: hidden;
}

.environment-header {
  background: #fbfcfb;
  border-bottom: 1px solid rgba(32, 36, 40, 0.09);
  padding: 1rem 1.25rem;
}

.fetched-at {
  background: #fff;
  border: 1px solid rgba(32, 36, 40, 0.1);
  border-radius: 999px;
  color: var(--bs-secondary-color);
  font-size: 0.8125rem;
  padding: 0.35rem 0.7rem;
}

.app-accordion-button {
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.app-accordion-button:not(.collapsed) {
  background: #f7faf8;
  box-shadow: none;
}

.app-summary-grid {
  align-items: center;
  display: grid;
  gap: 0.75rem 1rem;
  grid-template-columns: minmax(17rem, 1.7fr) minmax(10rem, 1fr) minmax(8rem, 0.8fr) minmax(8rem, 0.8fr) minmax(12rem, 1.1fr) minmax(7rem, 0.7fr);
  width: 100%;
}

.summary-label {
  color: var(--bs-secondary-color);
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.version-table {
  font-size: 0.875rem;
}

.version-table thead th {
  color: #59636e;
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.version-table th,
.version-table td {
  white-space: nowrap;
}

.version-table code,
.app-summary-grid code {
  font-size: 0.85em;
}

.commit-link {
  text-decoration: none;
}

.commit-link code {
  color: var(--bs-link-color);
}

.commit-link:hover code {
  text-decoration: underline;
}

.latest-row {
  --bs-table-bg: #eef8f3;
}

@media (max-width: 1180px) {
  .app-summary-grid {
    grid-template-columns: minmax(15rem, 1.5fr) repeat(2, minmax(8rem, 1fr));
  }
}

@media (max-width: 760px) {
  .app-main {
    padding-top: 1rem;
  }

  .app-summary-grid {
    grid-template-columns: 1fr;
  }
}
