.centered-content-block {
  text-align: center;
  align-items: center;
  gap: var(--size-4);
  flex-direction: column;
  grid-column: content;
  margin-block-start: var(--size-4);
  margin-block-end: var(--size-6);
  display: flex;
}

.centered-content-block :-webkit-any(h2, h3, p) {
  max-inline-size: none;
  width: 100%;
  margin-inline: auto;
}

.centered-content-block :is(h2, h3, p) {
  max-inline-size: none;
  width: 100%;
  margin-inline: auto;
}

.centered-content-block p {
  max-inline-size: var(--size-content-3);
}

.section-title {
  color: var(--color-6);
}

.centered-content-block.breakout {
  grid-column: breakout;
}

.lgcc-titles h2 {
  color: var(--color-6);
  font-size: var(--font-size-5);
}

ul li:not([class]) {
  max-inline-size: none;
  margin-block: 0;
}

h2, h3, strong {
  color: var(--color-6);
}

.custom-table-container {
  max-width: 100%;
  margin-block: var(--size-4);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-2);
  overflow-x: auto;
}

.custom-table-container table.ui-table thead th {
  background-color: var(--primary);
  color: var(--primary-contrast);
  font-weight: var(--font-weight-7);
  border-bottom: 2px solid var(--border);
}

.custom-table-container table.ui-table tbody tr {
  background-color: var(--surface-default);
}

.custom-table-container table.ui-table tbody tr:nth-child(2n) {
  background-color: oklch(from var(--surface-default) calc(l * .75) c h);
}

.custom-table-container table.ui-table tbody tr:nth-child(2n) td {
  background-color: inherit;
}

.custom-table-container table.ui-table tbody tr:hover {
  background-color: var(--surface-filled);
  cursor: pointer;
}

:where(.navigation-lane) {
  align-items: center;
  width: 100%;
  display: flex;
  position: relative;
}

.global-lane {
  background-color: light-dark(var(--primary), var(--surface-filled));
  color: light-dark(var(--primary-contrast), var(--text-primary));
  box-shadow: var(--shadow-2);
  z-index: var(--layer-3);
  justify-content: center;
}

.context-lane {
  background-color: light-dark(var(--color-4), var(--color-13));
  color: var(--text-primary);
  border-block-end: 1px solid var(--border-dim);
  z-index: var(--layer-2);
  justify-content: center;
}

.menu-button {
  cursor: pointer;
  padding: var(--size-2);
  color: inherit;
  background: none;
  border: none;
}

.nav-links {
  gap: var(--size-5);
  flex-direction: row;
  display: flex;
}

.nav-links a {
  color: inherit;
  padding-block: var(--size-2);
  text-decoration: none;
  transition: opacity .2s;
}

.global-lane .nav-links a {
  font-size: var(--font-size-2);
  font-weight: var(--font-weight-6);
}

.global-lane .nav-links a.active {
  color: light-dark(var(--primary-contrast), var(--primary));
  font-weight: var(--font-weight-7);
  text-underline-offset: var(--size-1);
  text-decoration: underline;
}

.context-lane .nav-links a {
  font-size: var(--font-size-1);
  font-weight: var(--font-weight-4);
  padding-block: var(--size-1);
  padding-inline: var(--size-3);
}

.context-lane .nav-links a.active {
  color: var(--primary);
  font-weight: var(--font-weight-6);
  border-bottom: 2px solid var(--primary);
}

.nav-links a:hover {
  opacity: .8;
}

dialog.ui-drawer {
  background-color: var(--surface-default);
}

dialog.ui-drawer .nav-links {
  gap: var(--size-4);
  padding: var(--size-5);
  background: none;
  flex-direction: column;
  width: 100%;
  display: flex;
}

dialog.ui-drawer .nav-links a {
  color: var(--text-primary);
  font-size: var(--font-size-2);
}

dialog.ui-drawer .nav-links a.active {
  color: var(--primary);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .menu-toggle-btn {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .global-lane .nav-links {
    display: none !important;
  }

  .context-lane {
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-inline: var(--size-3);
    justify-content: flex-start;
    overflow-x: auto;
  }

  .context-lane::-webkit-scrollbar {
    display: none;
  }

  .context-lane .nav-links {
    gap: var(--size-4);
  }
}
