:root {
  color-scheme: dark;
  color: #f2f4f5;
  background: #090e11;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --gold: #e8c47c;
  --muted: #aab7be;
  --line: #263034;
}
* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-padding-top: 24px; scrollbar-color: #536168 #090e11; }
body { margin: 0; min-width: 320px; font-size: 16px; line-height: 1.75; }
a { color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: #f2f4f5; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
::selection { background: var(--gold); color: #090e11; }
.reference-skip { position: fixed; top: -100px; left: 20px; z-index: 2; padding: 10px 16px; color: #090e11; background: var(--gold); }
.reference-skip:focus { top: 12px; }
.reference-header, .reference-footer { max-width: 1200px; margin: 0 auto; padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.reference-header { border-bottom: 1px solid #8a714447; }
.reference-brand { display: inline-flex; align-items: center; gap: 12px; color: #f2f4f5; font-size: 24px; font-weight: 740; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.reference-brand img { flex: 0 0 38px; }
.reference-header nav { display: flex; gap: 24px; font-size: 14px; }
.reference-header nav a { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; }
.reference-header nav a:hover, .reference-header nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.reference-content { max-width: 920px; padding: 36px 32px 64px; margin: 0 auto; }
.reference-breadcrumb { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.reference-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.reference-breadcrumb li + li::before { content: "/"; padding-right: 12px; color: var(--muted); }
h1, h2, h3 { text-wrap: balance; line-height: 1.25; }
h1 { font-size: 36px; font-weight: 700; margin: 0 0 20px; }
h2 { font-size: 24px; font-weight: 630; margin: 48px 0 18px; padding-top: 24px; border-top: 1px solid var(--line); }
h3 { font-size: 18px; font-weight: 600; margin: 24px 0 10px; }
p { margin: 0 0 16px; max-width: 72ch; text-wrap: pretty; }
.reference-lead { color: var(--muted); font-size: 18px; line-height: 1.7; }
.reference-definitions { margin: 0; }
.reference-definitions > div { padding-block: 16px; border-bottom: 1px solid var(--line); }
.reference-definitions dt { font-weight: 600; color: var(--gold); margin-bottom: 6px; }
.reference-definitions dd { margin: 0; max-width: 72ch; }
.reference-answer p { max-width: 72ch; }
pre { font-size: 14px; padding: 20px 0; margin: 0 0 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
table { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: 14px; margin: 24px 0 32px; }
caption { text-align: left; color: var(--muted); font-size: 14px; padding-bottom: 12px; }
th, td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
th { font-weight: 600; }
thead th { color: var(--muted); font-weight: 500; }
th:first-child { width: 24%; }
li { padding-block: 4px; }
li a { overflow-wrap: anywhere; }
.reference-footer { border-top: 1px solid #8a714447; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .reference-header { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 599px) {
  .reference-header, .reference-footer { padding: 20px; gap: 12px; }
  .reference-header nav { width: 100%; gap: 24px; flex-wrap: wrap; }
  .reference-brand { font-size: 20px; gap: 10px; }
  .reference-brand img { width: 31px; height: 31px; flex-basis: 31px; }
  .reference-content { padding: 24px 20px 40px; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; margin-top: 36px; }
  .reference-lead { font-size: 16px; }
  .reference-footer { flex-wrap: wrap; }
  .reference-footer a { display: inline-flex; min-height: 44px; align-items: center; }
  table { font-size: 14px; }
  caption { font-size: 12px; }
  thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  tbody, tbody tr, tbody th, tbody td { display: block; width: 100%; }
  tbody tr { padding-block: 16px; border-bottom: 1px solid var(--line); }
  tbody th, tbody td { border: 0; padding: 4px 0; }
  tbody th:first-child { width: 100%; padding-bottom: 8px; font-size: 16px; }
  td::before { display: block; content: attr(data-label); color: var(--muted); font-size: 12px; margin-bottom: 2px; }
}
@media (max-width: 359px) {
  .reference-brand { font-size: 18px; gap: 8px; }
  .reference-header nav { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
