:root { color-scheme: dark; --bg: #080808; --text: #efefed; --muted: #aaaab0; --rule: #343437; --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, .table-scroll:focus-visible { outline: 2px solid var(--text); outline-offset: 5px; }
.docs-page { width: min(90%, 1240px); margin-inline: auto; }
.docs-header { display: flex; align-items: center; gap: 30px; padding: 25px 0; border-bottom: 1px solid var(--rule); }
.brand { text-decoration: none; font-size: 25px; font-weight: 650; letter-spacing: -1px; white-space: nowrap; }
.brand span { color: var(--muted); }
.docs-header > span { font-size: 14px; color: var(--muted); }
.back-link { font-size: 13px; margin-left: auto; color: var(--muted); }
.docs-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 65px; padding-block: 45px 65px; align-items: start; }
.sidebar { position: sticky; top: 25px; font-size: 13px; }
.nav-heading { color: var(--muted); font-family: var(--mono); text-transform: uppercase; font-size: 11px; margin: 0 0 15px; }
.sidebar nav a { display: block; padding: 7px 0; text-decoration: none; }
.sidebar nav a:hover { text-decoration: underline; }
.sidebar-files { border-top: 1px solid var(--rule); margin-top: 22px; padding-top: 17px; }
.sidebar-files a { display: block; font-size: 11px; margin-bottom: 12px; color: var(--muted); }
main { min-width: 0; max-width: 880px; }
.document-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tool-link, button { background: transparent; border: 1px solid #515154; padding: 10px 13px; color: var(--text); border-radius: 3px; font-size: 12px; line-height: 1.4; text-decoration: none; font-family: inherit; cursor: pointer; }
button { background: #efefed; color: #080808; border-color: #efefed; font-weight: 600; }
.tool-link:hover { border-color: #c6c6c8; }
button:hover { background: #d1d1d0; }
button:disabled { opacity: .7; cursor: wait; }
.copy-status { min-height: 20px; margin: 10px 0 24px; font-size: 12px; color: var(--muted); }
.prose { font-size: 16px; line-height: 1.7; color: #cdcdcf; }
.prose h1, .prose h2, .prose h3 { color: var(--text); letter-spacing: -.03em; line-height: 1.2; }
.prose h1 { font-size: clamp(36px, 4vw, 54px); margin: 0 0 20px; }
.prose h2 { font-size: 29px; margin: 48px 0 17px; padding-top: 26px; border-top: 1px solid var(--rule); }
.prose h3 { font-size: 21px; margin: 31px 0 13px; }
.prose p { margin: 0 0 17px; }
.prose strong { color: var(--text); font-weight: 650; }
.prose ul, .prose ol { padding-left: 23px; margin-block: 16px 23px; }
.prose li { padding-left: 4px; margin-bottom: 7px; }
.prose a { color: var(--text); }
.prose pre { background: #111112; border: 1px solid #444447; border-radius: 3px; padding: 20px; margin: 25px 0; overflow-x: auto; line-height: 1.6; font-size: 12px; color: #e5e5e6; }
.prose code { font-family: var(--mono); font-size: .85em; background: #202023; padding: 2px 5px; border-radius: 3px; overflow-wrap: anywhere; }
.prose pre code { font-size: inherit; background: none; padding: 0; border-radius: 0; overflow-wrap: normal; }
.table-scroll { width: 100%; overflow-x: auto; margin-block: 22px; border: 1px solid #444447; border-radius: 3px; }
.prose table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; line-height: 1.6; }
.prose th { font-weight: 600; color: var(--text); background: #161618; }
.prose td, .prose th { padding: 12px 14px; vertical-align: top; min-width: 130px; }
.prose tr + tr, .prose tbody tr:first-child { border-top: 1px solid var(--rule); }
.prose td:first-child { color: var(--text); }
.prose table code { background: none; padding: 0; font-size: 12px; }
.agent-section { margin-top: 65px; padding-top: 35px; border-top: 1px solid #77777a; }
.agent-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.eyebrow { font-family: var(--mono); font-size: 11px; color: var(--muted); margin: 0; }
.agent-section .prose > h2:first-child { border: 0; padding-top: 0; margin-top: 0; font-size: 36px; }
.agent-section .prose h3 { border-top: 1px solid var(--rule); padding-top: 25px; margin-top: 38px; }
.agent-section .prose h4 { color: var(--text); font-size: 17px; }
footer { display: flex; gap: 25px; border-top: 1px solid var(--rule); padding: 23px 0 30px; font-size: 12px; color: var(--muted); }
footer a:first-child { margin-right: auto; }
.skip-link { position: fixed; top: -100px; left: 15px; background: var(--text); color: #080808; z-index: 10; padding: 12px; }
.skip-link:focus { top: 15px; }
@media (max-width: 960px) { .docs-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 35px; } .prose { font-size: 15px; } }
@media (max-width: 750px) {
  .docs-header { gap: 17px; padding-block: 20px; flex-wrap: wrap; }
  .docs-header > span { font-size: 12px; }
  .back-link { width: 100%; margin: 0; font-size: 12px; }
  .docs-layout { display: block; padding-top: 28px; }
  .sidebar { position: static; border-bottom: 1px solid var(--rule); padding-bottom: 23px; margin-bottom: 25px; }
  .sidebar nav { display: flex; flex-wrap: wrap; gap: 7px 17px; }
  .nav-heading { width: 100%; margin: 0 0 6px; }
  .sidebar nav a { font-size: 12px; padding-block: 2px; }
  .sidebar-files { display: none; }
  .document-tools { gap: 8px; }
  .tool-link, button { font-size: 11px; padding: 9px 11px; }
  .prose h2 { font-size: 26px; }
  .prose pre { padding: 14px; font-size: 11px; }
  .prose td, .prose th { padding: 10px 12px; min-width: 115px; }
  .prose td:last-child, .prose th:last-child { min-width: 210px; }
  .agent-section .prose > h2:first-child { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
