:root {
  --md-primary-fg-color: #0f172a;
  --md-primary-fg-color--light: #1e293b;
  --md-primary-fg-color--dark: #020617;
  --md-accent-fg-color: #2563eb;
}

/* Header logo sizing/padding. */
.md-header__button.md-logo {
  margin: 0 0.4rem 0 0.2rem;
  padding: 0.1rem 0.1rem 0.1rem 0;
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  height: 1.38rem;
  width: auto;
}

/* Hide "Tempora AI" text in the top header bar and use logo-only branding. */
.md-header__topic {
  display: none;
}

/* Keep search aligned to the right after removing header title text. */
.md-search {
  margin-left: auto;
}

/* Hide non-link site title in the primary left sidebar nav. */
.md-sidebar--primary .md-nav--primary > .md-nav__title {
  display: none;
}

.md-typeset .overview-title {
  margin: 0 0 0.9rem 0;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #020617;
}

.md-typeset .overview-subtitle {
  margin: 0 0 1.5rem 0;
  font-size: 1.45rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #334155;
}

/* Page title styling (e.g., "Server & Authentication"). */
.md-content .md-typeset > h1:not(.overview-title) {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #334155;
}

.md-typeset a {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.md-typeset a:hover {
  color: #2563eb;
}

.md-nav__link:hover,
.md-nav__link:focus {
  color: #2563eb;
}

/* Prevent wrapping of first-column labels only in 2-column tables (Parameters/Properties). */
.md-typeset table tr > th:first-child:nth-last-child(2),
.md-typeset table tr > td:first-child:nth-last-child(2) {
  min-width: 12ch;
  white-space: nowrap;
}

/* Keep each signature line intact in 3-column Methods tables. */
.md-typeset table tr > td:first-child:nth-last-child(3) code {
  white-space: nowrap;
}

.md-typeset .method-description {
  font-size: 0.7rem !important;
  line-height: 1.35 !important;
}

.md-typeset .method-no-params-gap {
  height: 0.25rem;
}
