:root {
  color-scheme: light dark;
  --background: #fafafa;
  --text: #242424;
  --muted: #696969;
  --line: #dedede;
  --code: #f0f0f0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #101010;
    --text: #d4d4d4;
    --muted: #929292;
    --line: #333;
    --code: #1b1b1b;
  }
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 14px/1.8 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  -webkit-font-smoothing: antialiased;
}
.agent-guide { max-width: 800px; margin: 0 auto; padding: 60px 28px 80px; overflow-wrap: anywhere; }
h1, h2, h3 { color: inherit; font-family: inherit; font-weight: 600; line-height: 1.8; }
h1 { font-size: 18px; margin: 28px 0 20px; }
h2 { font-size: 15px; margin: 0 0 16px; }
h3 { font-size: 14px; margin: 0 0 12px; }
h1::before { content: "# "; color: var(--muted); }
h2::before { content: "## "; color: var(--muted); }
h3::before { content: "### "; color: var(--muted); }
p { margin: 16px 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible:not(:where(html[data-focus-modality="pointer"] *)) { outline: 2px solid currentColor; outline-offset: 4px; }
.document-label { margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
section { margin-top: 36px; }
ul, ol { padding-left: 24px; margin: 16px 0; }
li { margin: 8px 0; padding-left: 2px; }
code { background: var(--code); padding: 2px 4px; font: inherit; font-size: .93em; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--code); padding: 16px; font: inherit; }
button { font: inherit; color: inherit; background: var(--code); border: 1px solid var(--line); padding: 8px 12px; cursor: pointer; }
button:focus-visible:not(:where(html[data-focus-modality="pointer"] *)) { outline: 2px solid currentColor; outline-offset: 4px; }
[data-guide-copy-status] { margin-left: 12px; }
h3 code { padding: 0; background: none; font-size: inherit; }
.tool { margin-top: 32px; }
.table-wrap { overflow-x: auto; margin: 20px 0; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 12px; line-height: 1.7; }
caption { text-align: left; color: var(--muted); padding-bottom: 10px; }
th, td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
thead th { color: var(--muted); }
tbody th { width: 40%; }
th:last-child, td:last-child { padding-right: 0; }
footer { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 16px; color: var(--muted); font-size: 11px; }
footer code { padding: 0; background: none; }
.skip-link { position: absolute; left: 20px; top: -80px; background: var(--background); padding: 8px; }
.skip-link:focus { top: 12px; }
@media (max-width: 600px) {
  .agent-guide { padding: 32px 20px 48px; }
  body { font-size: 13px; }
  h1 { font-size: 17px; }
  table { font-size: 11px; }
  th, td { padding-right: 8px; }
}

/* Pointer focus must not expose the browser’s fallback focus outline. */
html[data-focus-modality="pointer"] :focus { outline:none; }
