.guide-page {
  max-width: 1056px;
  padding-block: 26px clamp(64px, 8vw, 112px);
}
.guide-breadcrumb {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
.guide-breadcrumb ol {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.guide-breadcrumb [aria-hidden] {
  margin-right: 6px;
}
.guide-page a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.guide-page a:hover {
  text-decoration-thickness: 2px;
}
.guide-heading {
  margin-block: clamp(36px, 6vw, 76px) clamp(36px, 5vw, 58px);
}
.guide-heading h1 {
  max-width: 19ch;
  margin: 0;
  font-size: clamp(2.35rem, 6.4vw, 5.4rem);
  line-height: 1.01;
  letter-spacing: -0.065em;
  font-weight: 620;
  overflow-wrap: break-word;
}
.guide-lead {
  max-width: 62ch;
  margin: 22px 0;
  color: var(--body-text);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.5;
}
.guide-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}
.guide-byline span {
  font-weight: 600;
  color: var(--ink);
}
.guide-page h2 {
  margin: 0 0 0.6em;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.14;
  letter-spacing: -0.045em;
  font-weight: 620;
}
.guide-figures {
  border-top: 2px solid var(--ink);
  padding-top: clamp(20px, 3vw, 32px);
}
.guide-figures table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-variant-numeric: tabular-nums;
}
.guide-figures caption {
  text-align: left;
  color: var(--muted);
  padding: 0 0 16px;
  font-size: 0.87rem;
}
.guide-figures th,
.guide-figures td {
  text-align: right;
  padding: clamp(10px, 2vw, 18px) clamp(3px, 2vw, 18px);
  border-bottom: 1px solid var(--line);
}
.guide-figures thead {
  background: var(--surface);
  color: var(--muted);
}
.guide-figures thead th {
  font-weight: 600;
  font-size: 0.85em;
}
.guide-figures th:first-child {
  text-align: left;
}
.guide-figures th[scope='row'],
.guide-median {
  font-weight: 680;
}
.guide-median {
  background: #e9e3fa;
}
.guide-source {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}
.guide-reading {
  max-width: 750px;
}
.guide-reading section,
.guide-related {
  margin-top: clamp(38px, 5vw, 62px);
}
.guide-reading p,
.guide-references {
  margin: 0 0 1em;
  line-height: 1.65;
  color: var(--body-text);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}
.guide-reading .guide-formula {
  color: var(--ink);
  border-left: 3px solid var(--focus);
  padding: 8px 0 8px 16px;
  font-weight: 620;
}
.guide-references {
  padding-left: 1.3rem;
}
.guide-references li + li {
  margin-top: 0.4rem;
}
.guide-related {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.guide-related a {
  display: inline-block;
  margin: 0 1.3rem 0.6rem 0;
  font-weight: 580;
}
@media (prefers-color-scheme: dark) {
  .guide-median {
    background: #352c44;
  }
}
@media (max-width: 460px) {
  .guide-figures th,
  .guide-figures td {
    padding-inline: 3px;
  }
  .guide-page { overflow-wrap: anywhere; hyphens: auto; }
  .guide-figures thead th {
    font-size: 0.79em;
  }
}
