/* Documentation uses a wider reading layout with shared IronDome brand tokens. */
.docs-page { --font-size: 13px; --line-height: 23px; --docs-header-height: 0px; }
.docs-layout { max-width: 1400px; margin-inline: auto; padding: 0 32px; display: grid; grid-template-columns: 220px minmax(0, 1fr) 180px; gap: 48px; align-items: start; }
.docs-sidebar { position: sticky; top: var(--docs-header-height); max-height: calc(100dvh - var(--docs-header-height)); overflow-y: auto; padding: 36px 20px 32px 0; border-right: var(--border-style); scrollbar-width: thin; }
.docs-sidebar > .sidebar-brand { margin: 0 0 28px 12px; }
.docs-mobile-nav > .sidebar-brand { margin: 12px 0 8px 12px; }
.docs-sidebar nav, .docs-mobile-nav nav { display: grid; gap: 28px; }
.docs-sidebar h2, .docs-mobile-nav h2 { margin: 0 0 12px 12px; font-size: 10px; line-height: 18px; letter-spacing: .07em; color: var(--subtle); }
.docs-sidebar h2::before, .docs-mobile-nav h2::before { content: none; }
.docs-sidebar ul, .docs-mobile-nav ul, .docs-toc ul { margin: 0; padding: 0; list-style: none; }
.docs-sidebar li + li, .docs-mobile-nav li + li { margin-top: 3px; }
.docs-sidebar li a, .docs-mobile-nav li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; font-size: 12px; line-height: 18px; text-decoration: none; border-left: 2px solid transparent; }
.docs-sidebar [aria-current="page"], .docs-mobile-nav [aria-current="page"] { background: #FFF0E6; color: var(--link-hover); border-left-color: var(--link-hover); }
.docs-sidebar [aria-current="page"] .docs-method.post, .docs-mobile-nav [aria-current="page"] .docs-method.post { color: var(--link-hover); }
.docs-sidebar, .docs-toc { scrollbar-color: var(--dash) transparent; }
.docs-sidebar::-webkit-scrollbar, .docs-toc::-webkit-scrollbar { width: 6px; background: transparent; }
.docs-sidebar::-webkit-scrollbar-track, .docs-toc::-webkit-scrollbar-track,
.docs-sidebar::-webkit-scrollbar-corner, .docs-toc::-webkit-scrollbar-corner { background: transparent; }
.docs-sidebar::-webkit-scrollbar-thumb, .docs-toc::-webkit-scrollbar-thumb { background: var(--dash); }
.docs-method { font-size: 9px; font-weight: 700; line-height: 16px; padding: 0 4px; background: var(--hover); flex-shrink: 0; }
.docs-method.post { color: var(--selected-fg); }.docs-method.get { color: #237449; }
.docs-sidebar-footer { display: block; margin: 32px 12px 0; padding-top: 20px; border-top: var(--border-style); font-size: 11px; color: var(--subtle); text-decoration: none; }
.docs-main { min-width: 0; max-width: 760px; padding: 48px 0 40px; overflow-wrap: anywhere; }
.docs-heading { padding-bottom: 32px; border-bottom: var(--border-style); }
.docs-eyebrow { color: var(--selected-fg); text-transform: uppercase; font-size: 10px; letter-spacing: .08em; margin-bottom: 12px; }
.docs-heading h1 { font-size: 28px; line-height: 38px; letter-spacing: -.04em; text-wrap: balance; }
.docs-heading h1::before { color: var(--muted); font-weight: 400; }
.docs-description { color: var(--subtle); margin-top: 16px; font-size: 14px; line-height: 25px; }
.docs-prose { padding-top: 32px; }
.docs-prose > * + * { margin-top: 20px; }
.docs-prose h2 { font-size: 17px; line-height: 27px; text-transform: none; margin-top: 48px; letter-spacing: -.025em; }
.docs-prose h2:first-child { margin-top: 0; }
.docs-prose h2::before { color: var(--muted); font-weight: 400; }
.docs-prose h3 { font-size: 14px; line-height: 24px; margin-top: 32px; }
.docs-prose h2, .docs-prose h3 { scroll-margin-top: 100px; }
.docs-prose ul, .docs-prose ol { padding-left: 22px; }
.docs-prose li + li { margin-top: 10px; }
.docs-prose :not(pre) > code { background: var(--hover); padding: 2px 4px; font-size: 12px; }
/* Let columns size to whole words and codes; narrow screens can scroll the table. */
.docs-prose table { display: block; max-width: 100%; overflow-x: auto; font-size: var(--font-size-small); line-height: var(--line-height-small); }
.docs-prose th, .docs-prose td { border: var(--border-style); }
.docs-prose th { background: var(--surface); font-size: 11px; }
.docs-prose blockquote { margin-inline: 0; padding: 16px 20px; background: var(--surface); border-left: 2px solid var(--accent); color: #53535b; }
.docs-code { border: var(--border-style); background: var(--surface); }
.docs-code-header { display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding: 8px 16px; background: #f0f0f2; border-bottom: var(--border-style); font-size: 10px; line-height: 18px; color: var(--subtle); }
.docs-code pre { margin: 0; padding: 20px; max-width: 100%; overflow-x: auto; white-space: pre; font-size: 12px; line-height: 22px; }
.docs-copy { appearance: none; min-height: 24px; padding: 2px 8px; font: inherit; text-transform: none; width: auto; }
.docs-copy[hidden] { display: none; }
/* Light IDE palette. Highlighting is generated at build time, with no runtime library. */
.hljs-keyword, .hljs-selector-tag, .hljs-literal { color: #8c278d; }
.hljs-string, .hljs-regexp, .hljs-addition { color: #246c42; }
.hljs-number, .hljs-symbol, .hljs-bullet { color: #a04e05; }
.hljs-comment, .hljs-quote { color: #66717d; font-style: italic; }
.hljs-title, .hljs-section, .hljs-title.function_ { color: #075caa; }
.hljs-built_in, .hljs-type, .hljs-title.class_ { color: #9a4719; }
.hljs-attr, .hljs-attribute, .hljs-property, .hljs-variable { color: #005f87; }
.hljs-meta { color: #6b4290; }
.hljs-deletion { color: #b32424; }
.docs-toc { position: sticky; top: calc(var(--docs-header-height) + 48px); max-height: calc(100dvh - var(--docs-header-height) - 80px); overflow-y: auto; margin-top: 48px; font-size: 11px; line-height: 19px; scrollbar-width: thin; }
.docs-toc nav > span { display: block; margin-bottom: 16px; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--subtle); }
.docs-toc li a { display: block; text-decoration: none; padding: 6px 0 6px 12px; border-left: var(--border-style); color: var(--subtle); }
.docs-toc li a:hover, .docs-toc [aria-current="location"] { color: var(--link-hover); border-left-color: var(--link-hover); }
.docs-support { display: inline-block; margin-top: 24px; text-decoration: none; }
.docs-adjacent { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.docs-adjacent a { display: grid; gap: 8px; padding: 16px; border: var(--border-style); text-decoration: none; font-size: 12px; }
.docs-adjacent a:last-child { text-align: right; }
.docs-adjacent a span { font-size: 10px; text-transform: uppercase; color: var(--subtle); }
.docs-footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; font-size: 11px; color: var(--subtle); }
.docs-mobile-header { display: none; }
.docs-mobile-nav { display: none; }
.docs-mobile-toc { display: none; margin-top: 24px; font-size: 11px; }
.docs-mobile-toc summary { cursor: pointer; color: var(--subtle); }
.docs-mobile-toc ul { list-style: none; padding: 0; margin: 12px 0 0; }
.docs-mobile-toc li + li { margin-top: 8px; }
.docs-skip { position: fixed; top: 8px; left: 8px; z-index: 30; padding: 8px; background: var(--surface); transform: translateY(-200%); }
.docs-skip:focus { transform: none; }
.docs-page a:focus-visible, .docs-page summary:focus-visible, .docs-page button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 1150px) { .docs-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 36px; } .docs-main { max-width: 760px; } .docs-toc { display: none; } .docs-mobile-toc { display: block; } }
@media (max-width: 760px) {
  .docs-layout { display: block; padding-inline: 20px; }
  .docs-sidebar { display: none; }
  .docs-mobile-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: sticky; top: 0; z-index: 40; margin-inline: -20px; padding: 12px 20px; border-bottom: 1px solid var(--border); background: var(--bg); }
  .docs-mobile-nav { display: block; }
  .docs-mobile-nav summary { display: flex; align-items: center; justify-content: center; cursor: pointer; min-height: 44px; min-width: 104px; padding: 8px 12px; font-size: 12px; line-height: 20px; list-style: none; border: 1px solid var(--accent); background: var(--accent); color: white; }
  .docs-mobile-nav summary::-webkit-details-marker { display: none; }
  .docs-mobile-nav summary::after { content: '+'; margin-left: 12px; }
  .docs-mobile-nav[open] summary::after { content: '−'; }
  .docs-mobile-nav nav { position: absolute; inset: 100% 0 auto; max-height: calc(100svh - 82px); overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-bottom: 1px solid var(--border); padding: 20px; grid-template-columns: 1fr; gap: 24px; scrollbar-width: thin; scrollbar-color: var(--dash) transparent; }
  .docs-mobile-nav li a { min-height: 44px; }
  .docs-mobile-toc summary { padding-block: 12px; }
  .docs-mobile-toc a { display: inline-block; padding-block: 8px; }
  .docs-main { padding-top: 32px; }
  .docs-heading h1 { font-size: 23px; line-height: 32px; }
  .docs-description { font-size: 13px; line-height: 23px; }
  .docs-code pre { padding: 16px; }
}
@media (max-width: 480px) { .docs-adjacent { grid-template-columns: 1fr; } .docs-adjacent > span:empty { display: none; } .docs-footer { flex-wrap: wrap; } }
@media (max-width: 400px) { .docs-mobile-nav nav { grid-template-columns: 1fr; } .docs-mobile-nav summary > span { display: none; } }
