:root {
  --bg-0: #f5f7fa;
  --bg-1: #e9eef4;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #f1f5f9;
  --line: #d3dbe5;
  --line-strong: #b9c4d1;
  --text: #101923;
  --muted: #5b6979;
  --accent: #0f5ba6;
  --accent-strong: #09427a;
  --accent-soft: #dcecff;
  --positive: #11765f;
  --error: #ab2e3c;
  --shadow-1: 0 8px 24px rgba(8, 25, 45, 0.08);
  --shadow-2: 0 16px 40px rgba(8, 25, 45, 0.12);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: radial-gradient(circle at 14% 6%, rgba(15, 91, 166, 0.11), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(28, 132, 201, 0.08), transparent 31%),
    linear-gradient(170deg, var(--bg-0), var(--bg-1));
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
      112deg,
      rgba(16, 25, 35, 0.045) 0,
      rgba(16, 25, 35, 0.045) 1px,
      transparent 1px,
      transparent 16px
    ),
    linear-gradient(
      22deg,
      rgba(15, 91, 166, 0.04) 0,
      rgba(15, 91, 166, 0.04) 1px,
      transparent 1px,
      transparent 14px
    );
  opacity: 0.45;
}

a,
button,
input {
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "top top"
    "side main";
  gap: 0.9rem;
  padding: 0.9rem;
}

.topbar {
  grid-area: top;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(240px, 320px) auto;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 95%, var(--surface-2) 5%);
  padding: 0.74rem 1rem;
  box-shadow: var(--shadow-1);
}

.menu-toggle {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 999px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 48px;
  min-width: 48px;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.menu-toggle:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.brand-lockup {
  min-width: 0;
}

.eyebrow {
  margin: 0;
  color: var(--accent-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.brand-lockup h1 {
  margin: 0.14rem 0 0;
  font-family: "DM Serif Display", "Georgia", serif;
  font-size: clamp(1.26rem, 2.2vw, 1.95rem);
  letter-spacing: 0.01em;
  line-height: 1.08;
  max-width: 30ch;
}

.brand-sub {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.topbar-switchers {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.34rem 0.45rem;
  align-items: center;
}

.topbar-switchers label {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.topbar-switchers select {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  padding: 0.34rem 0.62rem;
}

.topbar-switchers select:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-soft) 72%, white 28%);
}

.stats {
  display: flex;
  justify-self: end;
  gap: 0.45rem;
  align-items: center;
}

.stats p {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 999px;
  padding: 0.28rem 0.58rem;
  color: var(--muted);
  font-size: 0.81rem;
  white-space: nowrap;
}

.stats span {
  color: var(--accent-strong);
  font-weight: 700;
  margin-right: 0.2rem;
}

.sidebar-overlay {
  display: none;
}

.sidebar {
  grid-area: side;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 92%, var(--surface-2) 8%);
  box-shadow: var(--shadow-2);
  min-height: 0;
  overflow: auto;
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 0.72rem;
}

.panel h2,
.search-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.search-label {
  display: block;
  margin-bottom: 0.5rem;
}

.search-panel {
  position: sticky;
  top: 0;
  z-index: 4;
  box-shadow: 0 6px 12px rgba(8, 25, 45, 0.06);
}

.search-panel input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  padding: 0.58rem 0.66rem;
}

.search-panel input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-soft) 72%, white 28%);
}

.search-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.52rem;
}

.search-meta button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  min-height: 48px;
  padding: 0.2rem 0.88rem;
  cursor: pointer;
}

.search-meta button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.domain-panel {
  display: grid;
  gap: 0.66rem;
}

.onboarding-panel {
  display: grid;
  gap: 0.55rem;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--surface) 76%, var(--accent-soft) 24%),
    color-mix(in srgb, var(--surface) 92%, var(--accent-soft) 8%)
  );
}

.onboarding-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.starter-links {
  display: grid;
  gap: 0.35rem;
}

.starter-link {
  border: 1px solid color-mix(in srgb, var(--line) 76%, white 24%);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 86%, var(--surface-2) 14%);
  color: var(--text);
  min-height: 48px;
  padding: 0.44rem 0.52rem;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.starter-link:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent-soft) 40%, var(--surface) 60%);
}

.starter-link strong {
  display: block;
  font-size: 0.82rem;
}

.starter-link span {
  display: block;
  margin-top: 0.14rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.domain-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.domain-chip {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  border-radius: 999px;
  font: inherit;
  font-size: 0.76rem;
  min-height: 48px;
  padding: 0.23rem 0.8rem;
  cursor: pointer;
}

.recent-panel {
  display: grid;
  gap: 0.46rem;
}

.recent-links {
  display: grid;
  gap: 0.34rem;
}

.recent-link {
  border: 1px solid color-mix(in srgb, var(--line) 80%, white 20%);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 84%, var(--surface-2) 16%);
  color: var(--text);
  min-height: 48px;
  padding: 0.45rem 0.52rem;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.recent-link:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent-soft) 40%, var(--surface) 60%);
}

.recent-link strong {
  display: block;
  font-size: 0.81rem;
}

.recent-link span {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.domain-chip:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.domain-chip.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #f4faff;
}

.docs-panel {
  flex: 0 0 auto;
  min-height: 0;
}

.guides-dropdown {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 90%, var(--surface-2) 10%);
  overflow: hidden;
}

.guides-dropdown[open] {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-soft) 45%, transparent);
}

.guides-dropdown summary {
  list-style: none;
}

.guides-dropdown summary::-webkit-details-marker {
  display: none;
}

.docs-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  padding: 0.58rem 0.62rem;
  border-bottom: 1px solid transparent;
}

.guides-dropdown[open] .docs-head {
  border-bottom-color: var(--line);
}

.docs-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.doc-list {
  max-height: min(46vh, 420px);
  overflow: auto;
  padding: 0.45rem;
}

.doc-list-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.doc-items {
  display: grid;
  gap: 0.36rem;
}

.doc-item {
  width: 100%;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  text-align: left;
  color: var(--text);
  font: inherit;
  min-height: 48px;
  padding: 0.48rem 0.54rem;
  cursor: pointer;
}

.doc-item:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line) 60%);
  background: color-mix(in srgb, var(--accent-soft) 44%, var(--surface-2) 56%);
}

.doc-item.active {
  border-color: var(--accent);
  background: linear-gradient(125deg, color-mix(in srgb, var(--accent) 16%, white 84%), color-mix(in srgb, var(--accent-soft) 38%, white 62%));
}

.doc-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.45rem;
}

.doc-name {
  display: block;
  line-height: 1.2;
  font-size: 0.89rem;
  font-weight: 600;
}

.doc-domain {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  padding: 0.14rem 0.43rem;
  max-width: 58%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-sub {
  margin-top: 0.2rem;
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
}

.main {
  grid-area: main;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 94%, var(--surface-2) 6%);
  box-shadow: var(--shadow-2);
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.doc-header {
  padding: 0.96rem 1.2rem 0.84rem;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: grid;
  gap: 0.28rem;
}

.crumb-link {
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.crumb-link:hover {
  color: var(--accent);
}

.crumb-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
}

.crumb-badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  padding: 0.2rem 0.46rem;
}

.repo-badge {
  color: #063f74;
  background: color-mix(in srgb, var(--accent-soft) 72%, white 28%);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line) 58%);
}

.domain-badge {
  color: #08534e;
  background: color-mix(in srgb, #dcf8ef 76%, white 24%);
  border-color: color-mix(in srgb, #49a794 44%, var(--line) 56%);
}

.crumb-trail {
  color: var(--muted);
  font-size: 0.77rem;
}

.doc-path {
  margin: 0.26rem 0 0;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.doc-header h2 {
  margin: 0.34rem 0 0;
  font-family: "DM Serif Display", "Georgia", serif;
  font-size: clamp(1.42rem, 2.6vw, 2.12rem);
  line-height: 1.08;
}

.doc-friendly {
  margin: 0.44rem 0 0;
  max-width: 82ch;
  color: color-mix(in srgb, var(--text) 86%, var(--muted) 14%);
  font-size: 0.95rem;
  line-height: 1.5;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem 0.72rem;
  align-items: center;
  margin-top: 0.58rem;
}

.doc-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.toc-toggle {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font: inherit;
  font-size: 0.77rem;
  font-weight: 600;
  min-height: 48px;
  padding: 0.27rem 0.78rem;
  cursor: pointer;
}

.toc-toggle:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.doc-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
}

.doc-body {
  overflow: auto;
  padding: 1.2rem;
  line-height: 1.7;
}

.doc-body > :first-child {
  margin-top: 0;
}

.doc-body > :last-child {
  margin-bottom: 0;
}

.doc-body h1,
.doc-body h2,
.doc-body h3,
.doc-body h4,
.doc-body h5,
.doc-body h6 {
  margin: 1.38rem 0 0.5rem;
  font-family: "DM Serif Display", "Georgia", serif;
  line-height: 1.14;
  scroll-margin-top: 0.9rem;
}

.doc-body h1 {
  font-size: 2.1rem;
}

.doc-body h2 {
  font-size: 1.56rem;
}

.doc-body h3 {
  font-size: 1.22rem;
}

.doc-body p,
.doc-body ul,
.doc-body ol,
.doc-body pre,
.doc-body blockquote,
.doc-body table {
  margin: 0.45rem 0 1rem;
  max-width: 76ch;
}

.doc-body ul,
.doc-body ol {
  padding-left: 1.25rem;
}

.doc-body li {
  margin-bottom: 0.27rem;
}

.doc-body code {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.09rem 0.28rem;
  font-size: 0.9em;
}

.doc-body pre {
  background: #121e2b;
  color: #eef5ff;
  border-radius: var(--radius-md);
  padding: 0.82rem;
  overflow: auto;
  box-shadow: inset 0 0 0 1px rgba(145, 181, 217, 0.24);
}

.doc-body pre code {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0;
}

.doc-body a {
  color: var(--accent-strong);
  text-underline-offset: 2px;
}

.doc-body a:hover {
  color: var(--accent);
}

.doc-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.26rem 0;
}

.doc-body blockquote {
  margin-left: 0;
  border-left: 3px solid var(--accent);
  background: var(--surface-3);
  padding: 0.32rem 0.86rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.doc-body table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.doc-body th,
.doc-body td {
  border: 1px solid var(--line);
  padding: 0.43rem 0.58rem;
  text-align: left;
  vertical-align: top;
}

.doc-body thead {
  background: var(--surface-3);
}

.task-item {
  list-style: none;
  margin-left: -0.14rem;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.task-box {
  width: 0.86rem;
  height: 0.86rem;
  border-radius: 3px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  margin-top: 0.26rem;
  flex-shrink: 0;
}

.task-box.done {
  background: linear-gradient(135deg, var(--positive), #2a9d7f);
  border-color: var(--positive);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.65);
}

.doc-empty,
.doc-error {
  margin: 0;
  color: var(--muted);
}

.doc-error {
  color: var(--error);
}

.doc-skeleton {
  max-width: 76ch;
}

.skel-line {
  height: 0.82rem;
  border-radius: 999px;
  background: linear-gradient(95deg, #e8edf3, #f8fafc, #e8edf3);
  background-size: 190% 100%;
  animation: pulse 1.2s ease-in-out infinite;
  margin-bottom: 0.82rem;
}

.skel-line.w-100 {
  width: 100%;
}

.skel-line.w-85 {
  width: 85%;
}

.skel-line.w-62 {
  width: 62%;
}

.skel-line.w-48 {
  width: 48%;
}

.toc {
  border-left: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-2) 86%, var(--surface) 14%);
  padding: 0.92rem 0.78rem 1rem;
  position: sticky;
  top: 0.9rem;
  align-self: start;
  max-height: calc(100vh - 2rem);
  overflow: auto;
}

.toc h3 {
  margin: 0 0 0.62rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.toc-list li {
  margin: 0;
}

.toc-list a {
  text-decoration: none;
  display: block;
  border-radius: 6px;
  color: var(--muted);
  padding: 0.22rem 0.32rem;
  font-size: 0.82rem;
  line-height: 1.3;
}

.toc-list a:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.toc-list a:focus-visible {
  outline: none;
  background: var(--accent-soft);
  color: var(--accent-strong);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 32%, transparent);
}

.toc-list a.active,
.toc-list a[aria-current="true"] {
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent-soft) 80%, white 20%), color-mix(in srgb, var(--accent-soft) 50%, white 50%));
  color: var(--accent-strong);
  font-weight: 700;
}

.toc-level-1 a {
  font-weight: 700;
}

.toc-level-2 {
  margin-left: 0.44rem;
}

.toc-level-3,
.toc-level-4,
.toc-level-5,
.toc-level-6 {
  margin-left: 0.88rem;
}

.toc-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

body.toc-collapsed .doc-grid {
  grid-template-columns: minmax(0, 1fr);
}

body.toc-collapsed .toc {
  display: none;
}

.mobile-bottom-nav {
  display: none;
}

@keyframes pulse {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

@media (max-width: 1200px) {
  .doc-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc {
    position: static;
    border-left: 0;
    border-top: 1px solid var(--line);
    max-height: 220px;
  }

  body.toc-collapsed .toc {
    display: none;
  }

  body.toc-collapsed .doc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .app-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "top"
      "main";
    padding: 0.7rem;
  }

  .topbar {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "menu stats"
      "brand brand"
      "switchers switchers";
    row-gap: 0.55rem;
  }

  .menu-toggle {
    grid-area: menu;
  }

  .stats {
    grid-area: stats;
    justify-self: end;
  }

  .brand-lockup {
    grid-area: brand;
  }

  .topbar-switchers {
    grid-area: switchers;
    grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .sidebar {
    position: fixed;
    z-index: 30;
    top: 0.7rem;
    left: 0.7rem;
    bottom: 0.7rem;
    width: min(88vw, 360px);
    transform: translateX(-120%);
    transition: transform 200ms ease;
  }

  body.sidebar-open .sidebar {
    transform: translateX(0);
  }

  .sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 20;
    border: 0;
    margin: 0;
    padding: 0;
    background: rgba(14, 23, 33, 0.34);
  }

  body.sidebar-open .sidebar-overlay {
    display: block;
  }

  .doc-header,
  .doc-body,
  .toc {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .doc-body p,
  .doc-body ul,
  .doc-body ol,
  .doc-body pre,
  .doc-body blockquote,
  .doc-body table,
  .doc-skeleton {
    max-width: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 0.6rem;
    right: 0.6rem;
    bottom: calc(0.5rem + env(safe-area-inset-bottom));
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.42rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--surface) 92%, var(--surface-2) 8%);
    box-shadow: var(--shadow-2);
    padding: 0.36rem;
  }

  .mobile-bottom-nav button {
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    color: var(--text);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
  }

  .mobile-bottom-nav button:hover {
    border-color: var(--accent);
    color: var(--accent-strong);
  }
}

@media (max-width: 680px) {
  .stats p {
    font-size: 0.75rem;
    padding: 0.24rem 0.48rem;
  }

  .topbar-switchers {
    grid-template-columns: 1fr;
  }

  .topbar-switchers label {
    margin-top: 0.2rem;
  }

  .doc-header h2 {
    font-size: 1.65rem;
  }

  .doc-body h1 {
    font-size: 1.74rem;
  }

  .doc-body h2 {
    font-size: 1.38rem;
  }
}
