.section-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2 {
  margin-bottom: 4px;
}

.grow {
  flex: 1 1 360px;
}

.list-note {
  margin: 0;
  max-width: 720px;
}

.error-list {
  margin: 0;
  padding-left: 22px;
}

.error-list li {
  padding: 6px 0;
  overflow-wrap: anywhere;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.pagination a {
  font-weight: 650;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.tabs a {
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

.tabs a span {
  margin-left: 5px;
}

.tabs a.active {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 1px 2px #17212b1a;
}

.detail-cell {
  max-width: 420px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.app-shell {
  min-height: 100vh;
}

.app-shell.authenticated {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
}

.app-column {
  min-width: 0;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 26px 18px;
  background: #111b25;
  color: #dbe7f3;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar .brand {
  color: #fff;
  padding: 0 10px;
  text-decoration: none;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar nav a,
.sidebar .link-button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: 7px;
  color: #dbe7f3;
  text-align: left;
  text-decoration: none;
}

.sidebar nav a:hover,
.sidebar .link-button:hover {
  background: #243445;
}

.sidebar nav .sidebar-primary {
  border: 1px solid #327fd6;
}

.sidebar nav a.active {
  background: var(--brand);
  color: #fff;
  box-shadow: inset 3px 0 #8fc2ff;
}

.sidebar-bottom {
  margin-top: auto;
  padding: 0 10px;
  overflow-wrap: anywhere;
}

.sidebar-bottom small,
.sidebar-bottom code {
  display: block;
}

.sidebar-bottom form {
  margin-top: 16px;
}

.app-column main {
  margin: 38px auto;
}

.danger {
  background: var(--danger);
}

.delete-domain summary {
  color: var(--danger);
  cursor: pointer;
  font-weight: 650;
}

.delete-domain form {
  min-width: 230px;
  margin-top: 10px;
}

.delete-domain button {
  margin-top: 8px;
}

[data-live-region] {
  transition: box-shadow 0.35s ease, background-color 0.35s ease;
}

.live-updated {
  box-shadow: 0 0 0 2px #0969da33;
}

@media (max-width: 600px) {
  .section-heading {
    flex-direction: column;
  }

  .tabs {
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .app-shell.authenticated {
    display: block;
  }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 14px;
    gap: 12px;
  }

  .sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar nav a {
    width: auto;
  }

  .sidebar-bottom {
    display: none;
  }
}
