* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 15px/1.65 Geist, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--site-paper-hover); }
a:focus-visible, summary:focus-visible { outline: var(--site-focus-width) solid var(--paper); outline-offset: var(--site-focus-offset); border-radius: var(--site-radius-control); }
p, h1, h2, h3, ol, ul { margin: 0; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 20; padding: 12px; background: var(--paper); color: var(--ink); transform: translateY(-180%); text-decoration: none; }
.skip:focus { transform: none; }
.masthead { border-bottom: 0; }
.masthead::after { content: ""; position: absolute; left: var(--site-gutter); right: var(--site-gutter); bottom: 0; height: 1px; background: var(--line); pointer-events: none; }
.wordmark { font-weight: 500; letter-spacing: -.075em; text-decoration: none; }
.direction-arrow { width: 16px; height: 16px; }
.layout { align-items: start; padding-block: 32px 64px; }
.sidebar { grid-column: span 3; min-width: 0; position: sticky; top: 24px; max-height: calc(100vh - 48px); max-height: calc(100svh - 48px); overflow-y: auto; padding: 5px 12px 12px 5px; margin: -5px 0 0 -5px; scrollbar-width: thin; }
.sidebar a, .mobile-topics nav a { display: flex; align-items: center; min-height: var(--site-target); padding: var(--site-space-2) var(--site-space-3); border-radius: var(--site-radius-control); color: var(--muted); text-decoration: none; font-size: 13px; line-height: 1.4; }
.sidebar a[aria-current=page], .mobile-topics nav a[aria-current=page] { color: var(--paper); background: var(--site-control-hover); }
.sidebar a:hover, .mobile-topics nav a:hover { color: var(--paper); background: var(--site-control-hover); }
.nav-group { margin-top: 20px; }
.nav-group p { margin: 0 12px 6px; color: var(--paper); font-size: 11px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
.mobile-topics { display: none; }
main { grid-column: span 9; min-width: 0; width: 100%; max-width: 700px; }
main:focus { outline: none; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 20px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; }
.article-heading { margin-bottom: 36px; }
h1 { font-size: clamp(30px, 3.5vw, 44px); font-weight: 500; letter-spacing: -.05em; line-height: 1.12; text-wrap: balance; }
.lede { max-width: 600px; margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.55; }
article > section { margin-top: 36px; }
h2 { margin-bottom: 14px; font-size: 22px; font-weight: 500; letter-spacing: -.035em; line-height: 1.3; scroll-margin-top: 24px; }
p + p { margin-top: 14px; }
strong { font-weight: 500; color: #f4f0e5; }
article p { overflow-wrap: anywhere; }
article ol, article ul { padding-left: 24px; }
article ol li { padding-left: 5px; }
article li + li { margin-top: 10px; }
article p + ol, article p + ul, article ol + p, article ul + p { margin-top: 16px; }
.intro { max-width: 600px; font-size: 17px; }
.topic-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; margin-top: 14px; padding-block: 8px; font-size: 14px; text-decoration: none; }
.topic-link span { flex: none; color: var(--muted); }
.start-link { max-width: 600px; margin-top: 20px; }
.article-index { margin-block: var(--site-space-5); border-block: 1px solid var(--line); }
.article-index summary { display: flex; align-items: center; justify-content: space-between; gap: var(--site-space-3); min-height: var(--site-target); padding-block: var(--site-space-2); color: var(--muted); font-size: 13px; cursor: pointer; list-style: none; }
.article-index summary:hover { color: var(--paper); }
.article-index summary::-webkit-details-marker { display: none; }
.article-index nav { padding-bottom: var(--site-space-3); }
.article-index ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--site-space-4); padding: 0; list-style: none; }
.article-index li + li { margin-top: 0; }
.article-index a { display: flex; align-items: center; min-height: var(--site-target); padding-block: var(--site-space-2); color: var(--muted); font-size: 14px; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.article-index a:hover { color: var(--paper); }
.topics-chevron { flex: none; display: block; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 4.5 3.5 3.5 3.5-3.5' fill='none' stroke='%23aaa8a3' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.article-index[open] .topics-chevron, .mobile-topics[open] .topics-chevron { transform: rotate(180deg); }
.overview-topic { padding-top: 28px; border-top: 1px solid var(--line); }
.overview-topic h2 a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; text-decoration: none; }
.overview-topic h2 a span { color: var(--muted); font-size: 16px; }
.overview-topic > p { color: var(--muted); }
article .overview-links { margin-top: 10px; padding: 0; list-style: none; }
.overview-links li + li { margin-top: 0; }
.overview-links a { display: flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; }
.table-wrap { width: 100%; margin-top: 18px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
th, td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
thead th { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
tbody th { width: 34%; padding-right: 24px; font-weight: 500; }
tbody td { color: #c6c3b9; }
.table-wrap + p { margin-top: 18px; }
code { padding: 2px 5px; border-radius: 4px; background: #ffffff08; font-size: .9em; overflow-wrap: anywhere; }
.article-pagination { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--site-grid-gap); margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }
.article-pagination a { display: flex; flex-direction: column; justify-content: center; min-height: 64px; text-decoration: none; font-size: 14px; line-height: 1.5; }
.article-pagination a:nth-child(2) { align-items: flex-end; text-align: right; }
.article-pagination small { color: var(--muted); font-size: 11px; }
.article-pagination .pagination-title { display: flex; align-items: flex-start; gap: 8px; min-width: 0; width: 100%; margin-top: 5px; }
.article-pagination .pagination-title > span:not(.direction-arrow) { min-width: 0; overflow-wrap: anywhere; }
.article-pagination .direction-arrow { margin-top: .2em; }
.article-pagination a:nth-child(2) .pagination-title { justify-content: flex-end; }
.footer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px 24px; border-top: 0; color: var(--muted); font-size: 12px; }
.footer::before { content: ""; position: absolute; left: var(--site-gutter); right: var(--site-gutter); top: 0; height: 1px; background: var(--line); pointer-events: none; }
.footer a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
@media (max-width: 780px) {
  .layout { padding-block: 16px 40px; }
  .sidebar { display: none; }
  .mobile-topics { grid-column: 1 / -1; display: block; }
  .mobile-topics summary { display: flex; align-items: center; justify-content: space-between; gap: var(--site-space-3); min-height: var(--site-target); padding: var(--site-space-2) var(--site-space-3); border: 1px solid var(--line); border-radius: var(--site-radius-control); background: var(--site-control); font-size: 13px; cursor: pointer; list-style: none; }
  .mobile-topics summary:hover { background: var(--site-control-hover); }
  .mobile-topics summary::-webkit-details-marker { display: none; }
  .mobile-topics nav { margin-top: var(--site-space-3); padding: var(--site-space-1); border: 1px solid var(--line); border-radius: var(--site-radius-control); background: var(--site-surface); }
  .mobile-topics .nav-group { margin-top: var(--site-space-3); }
  main { grid-column: 1 / -1; max-width: 700px; margin-inline: auto; }
  .breadcrumbs { margin-bottom: 12px; }
  .article-heading { margin-bottom: 28px; }
  .article-index ul { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: 34px; }
  .lede { font-size: 17px; margin-top: 14px; }
  article > section { margin-top: 30px; }
  h2 { font-size: 21px; }
  tbody th { width: 36%; padding-right: 16px; }
  table { font-size: 13px; }
  .article-pagination { margin-top: 36px; }
  .footer { padding-block: 12px 20px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }
