.site-header, .site-footer, .project-page { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif; }
.site-header { max-width: 1280px; margin: 0 auto 2rem; padding-bottom: 1rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; align-items: center; justify-content: space-between; border-bottom: 1px solid #30363d; }
.site-header a { color: #c9d1d9; text-decoration: none; }
.site-brand { font-size: 1rem; font-weight: 600; padding: 0.65rem 0; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.site-nav a { display: inline-flex; min-height: 44px; align-items: center; padding: 0.65rem 0.85rem; border-radius: 6px; font-size: 0.875rem; }
.site-nav a:hover { background: #161b22; color: #fff; }
.site-nav a[aria-current="page"] { background: #21262d; color: #f0f6fc; }
.site-header a:focus-visible, .project-page :focus-visible { outline: 2px solid #58a6ff; outline-offset: 3px; }
.privacy-notice { max-width: 1280px; margin: -0.75rem auto 2rem; font-size: 0.8125rem; line-height: 1.6; color: #9da7b3; }
.privacy-notice p { max-width: 90ch; margin: 0; }
.privacy-notice a, .privacy-help a { color: #79c0ff; text-underline-offset: 0.2em; }
.privacy-notice a:focus-visible, .privacy-help a:focus-visible { outline: 2px solid #58a6ff; outline-offset: 3px; }
.content-section .privacy-help { max-width: 75ch; margin: 0.75rem 0 1.25rem; font-size: 0.875rem; line-height: 1.6; color: #9da7b3; }
.project-page { box-sizing: border-box; margin: 0; background: #0d1117; color: #c9d1d9; padding: 2rem 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; color-scheme: dark; }
.project-page *, .project-page *::before, .project-page *::after { box-sizing: inherit; }
.project-page [hidden] { display: none; }
.project-page ::selection { color: #f0f6fc; background: #264b73; }
.project-page a { color: #79c0ff; text-underline-offset: 0.2em; }
.project-page a:hover { color: #b6e3ff; }
.project-page .site-header a { color: #c9d1d9; }
.project-page p, .project-page li { text-wrap: pretty; }
.project-page h1, .project-page h2, .project-page h3, .project-page h4 { color: #f0f6fc; line-height: 1.25; text-wrap: balance; }
.project-page h1 { font-size: 2rem; margin: 0 0 0.75rem; font-weight: 650; letter-spacing: -0.025em; }
.project-page h2 { font-size: 1.25rem; }
.project-page h3 { font-size: 1.05rem; }
.project-page h4 { font-size: 1rem; }
.project-page button { font: inherit; }
.page-main { max-width: 1280px; margin: 0 auto; min-width: 0; }
.page-heading { margin: 2.5rem 0; }
.page-intro { max-width: 68ch; margin: 0; color: #9da7b3; font-size: 1rem; }
.page-intro strong { color: #c9d1d9; overflow-wrap: anywhere; }
.skip-link { position: absolute; left: 1rem; top: -5rem; background: #161b22; padding: 0.75rem 1rem; z-index: 5; }
.skip-link:focus { top: 0.5rem; }
.site-footer { max-width: 1280px; margin: 4rem auto 0; border-top: 1px solid #30363d; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; color: #9da7b3; font-size: 0.8125rem; }
.site-footer span { margin-right: auto; }
.docs-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 3rem; align-items: start; }
.docs-toc { position: sticky; top: 1.5rem; max-height: calc(100vh - 3rem); overflow-y: auto; padding-right: 0.75rem; font-size: 0.875rem; scrollbar-width: thin; scrollbar-color: #30363d #0d1117; }
.docs-toc-desktop > p { margin: 0 0 1rem; font-size: 0.875rem; }
.docs-toc-mobile { display: none; }
.docs-toc ul { list-style: none; padding: 0; margin: 0.5rem 0 1rem; }
.docs-toc ul ul { padding-left: 0.75rem; border-left: 1px solid #30363d; }
.docs-toc > div > ul > li > a { color: #f0f6fc; font-weight: 600; }
.docs-toc li { margin: 0.2rem 0; }
.docs-toc a, .docs-toc summary { display: block; padding: 0.45rem 0.25rem; }
.docs-toc a { text-decoration: none; }
.docs-toc summary { display: list-item; cursor: pointer; color: #c9d1d9; min-height: 44px; }
.docs-toc details ul { padding-left: 0.75rem; border-left: 1px solid #30363d; }
.docs-content { min-width: 0; max-width: 860px; }
.doc-section { scroll-margin-top: 1.5rem; margin: 0 0 4rem; }
.doc-section > h2 { font-size: 1.5rem; margin: 0 0 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid #30363d; }
.prose { overflow-wrap: anywhere; }
.prose p, .prose ul, .prose ol, .prose blockquote { max-width: 75ch; }
.prose h3, .prose h4, .prose h5, .prose h6 { margin-top: 2rem; scroll-margin-top: 1.5rem; }
.prose h3 a, .prose h4 a, .prose h5 a, .prose h6 a { color: inherit; text-decoration: none; }
.prose h3 a:hover, .prose h4 a:hover { text-decoration: underline; }
.prose img { max-width: 100%; height: auto; border-radius: 4px; }
.prose img[src*="/banner?"] { min-width: 100px; }
.prose li { margin: 0.4rem 0; }
.prose blockquote { margin-left: 0; padding: 0.25rem 1rem; border-left: 1px solid #484f58; color: #9da7b3; }
.prose code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.875em; background: #161b22; padding: 0.15em 0.3em; border-radius: 4px; }
.prose pre { background: #161b22; padding: 1rem; border: 1px solid #30363d; border-radius: 6px; overflow: auto; max-width: 100%; font-size: 0.875rem; }
.prose pre code { background: none; padding: 0; border-radius: 0; }
.prose hr { border: 0; border-top: 1px solid #30363d; margin: 2rem 0; }
.table-scroll { overflow-x: auto; margin: 1.5rem 0; border: 1px solid #30363d; border-radius: 6px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.875rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.75rem; border-bottom: 1px solid #30363d; min-width: 100px; }
.prose th { color: #f0f6fc; background: #161b22; }
.prose tr:last-child td { border-bottom: 0; }
.usage-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 3rem; align-items: start; }
.usage-report { border: 1px solid #30363d; border-radius: 6px; overflow: hidden; }
.report-heading { padding: 1.5rem; border-bottom: 1px solid #30363d; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.report-heading h2, .report-heading p { margin: 0; }
.report-heading p { margin-top: 0.4rem; font-size: 0.8125rem; }
.muted { color: #9da7b3; }
.page-button { color: #f0f6fc; background: #21262d; border: 1px solid #484f58; border-radius: 6px; min-height: 44px; padding: 0.55rem 1rem; cursor: pointer; transition: background-color 150ms; }
.page-button:hover:not(:disabled) { background: #30363d; }
.page-button:disabled { cursor: wait; color: #9da7b3; }
.usage-state { padding: 1.25rem 1.5rem; background: #161b22; }
.usage-state h3 { margin: 0 0 0.4rem; font-size: 0.9375rem; }
.usage-state p { margin: 0; max-width: 68ch; font-size: 0.875rem; color: #9da7b3; }
.page-views { padding: 1.5rem; border-bottom: 1px solid #30363d; }
.page-views h3 { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1rem; font-size: 1rem; }
.page-views h3 span { font-size: 1.75rem; font-variant-numeric: tabular-nums; }
.page-view-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.page-view-counts dt { color: #9da7b3; font-size: 0.8125rem; }
.page-view-counts dd { margin: 0.25rem 0 0; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.page-views p { margin: 1rem 0 0; color: #9da7b3; font-size: 0.8125rem; }
.page-views p + p { margin-top: 0.25rem; }
.usage-metrics { margin: 0; }
.usage-metrics > div { padding: 1.5rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; border-bottom: 1px solid #30363d; }
.usage-metrics dt { color: #f0f6fc; font-weight: 600; line-height: 1.4; }
.usage-metrics dt span { display: block; color: #9da7b3; font-weight: 400; font-size: 0.8125rem; margin-top: 0.4rem; max-width: 42ch; }
.usage-metrics dd { margin: 0; color: #f0f6fc; font-size: 1.75rem; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }
.report-footnote { padding: 1rem 1.5rem; font-size: 0.8125rem; color: #9da7b3; font-variant-numeric: tabular-nums; }
.report-footnote p { margin: 0.25rem 0; }
.data-source { font-size: 0.8125rem; margin: 1rem 0 0; color: #9da7b3; }
.usage-context h2 { margin: 0 0 1rem; }
.usage-context h3 { margin: 1.5rem 0 0.5rem; font-size: 0.9375rem; }
.usage-context p { font-size: 0.875rem; color: #9da7b3; margin: 0 0 0.75rem; }
.usage-context strong { color: #c9d1d9; }
@media (max-width: 900px) {
  .docs-layout, .usage-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .docs-toc { position: static; max-height: none; border-bottom: 1px solid #30363d; padding: 0 0 1rem; }
  .docs-toc-desktop { display: none; }
  .docs-toc-mobile { display: block; }
  .usage-context { max-width: 75ch; }
}
@media (max-width: 480px) {
  .project-page { padding: 1rem; }
  .site-header { align-items: flex-start; gap: 0.25rem; margin-bottom: 1.5rem; }
  .site-brand { flex-basis: 100%; }
  .site-nav a { padding: 0.65rem; }
  .page-heading { margin: 2rem 0; }
  .project-page h1 { font-size: 1.75rem; }
  .report-heading, .usage-state, .usage-metrics > div, .report-footnote, .page-views { padding: 1rem; }
  .page-view-counts { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .page-view-counts > div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
  .page-view-counts dd { margin: 0; }
  .usage-metrics > div { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .usage-metrics dd { text-align: left; }
  .prose ul, .prose ol { padding-left: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .page-button { transition: none; } }
[data-official="true"] .optional-tracking { display: none !important; }
.export-dialog { margin: auto; box-sizing: border-box; width: min(600px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow-y: auto; padding: 1.5rem; border: 1px solid #484f58; border-radius: 12px; background: #161b22; color: #c9d1d9; font: 0.9375rem/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color-scheme: dark; }
.export-dialog::backdrop { background: rgb(0 0 0 / 0.7); }
.export-dialog h2 { margin: 0 0 1rem; color: #f0f6fc; font-size: 1.5rem; line-height: 1.25; text-wrap: balance; }
.export-dialog p { margin: 0 0 1rem; text-wrap: pretty; }
.export-dialog a { color: #79c0ff; text-underline-offset: 0.2em; }
.export-dialog [hidden] { display: none; }
.export-dialog :focus-visible { outline: 2px solid #58a6ff; outline-offset: 3px; }
.export-dialog .export-status { margin-top: 1rem; }
.export-dialog .page-button { font: inherit; }
.export-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.export-actions .page-button { flex: 1; }
.export-close, .export-retry { margin-top: 0.75rem; }
.community-showcase { margin: 0 0 3rem; padding-bottom: 2rem; border-bottom: 1px solid #30363d; }
.community-showcase > p { max-width: 75ch; color: #9da7b3; }
.showcase-grid { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.showcase-grid li { min-width: 0; }
.showcase-grid img { width: 100%; height: auto; display: block; border-radius: 4px; outline: 1px solid rgb(255 255 255 / 0.1); }
.showcase-grid p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; align-items: center; margin: 0.75rem 0 0; color: #9da7b3; font-size: 0.8125rem; }
.showcase-removal { margin-top: 1.5rem; max-width: 75ch; }
.showcase-removal summary { cursor: pointer; min-height: 44px; padding: 0.5rem 0; }
.showcase-removal label { display: block; margin: 0.75rem 0 0.5rem; }
.showcase-removal input { box-sizing: border-box; display: block; width: 100%; min-height: 44px; padding: 0.6rem; margin-bottom: 0.75rem; border: 1px solid #484f58; border-radius: 6px; background: #0d1117; color: #c9d1d9; font: inherit; }
@media (max-width: 600px) { .showcase-grid { grid-template-columns: minmax(0, 1fr); } .export-dialog { padding: 1.25rem; } .export-actions { flex-direction: column; } }
