/* SDK guides and Terms use the main site's green/monospace design tokens. */
.noeyes-documentation, .noeyes-terms { font-size: 13px; line-height: 1.75; }
.noeyes-documentation .reader-shell, .noeyes-terms .reader-shell { width: min(var(--max-width), calc(100% - 2.2rem)); max-width: none; margin: auto; padding: 0; }
.document-header { display: none; }
.noeyes-terms .document-header { display: flex; }
.noeyes-terms .reader-header { display: none; }
.noeyes-documentation .header-guide-link[href="/docs/"], .noeyes-terms .header-guide-link[href="/terms"] { border-color: var(--signal); color: var(--signal); background: var(--signal-soft); }
.noeyes-terms .noeyes-reader { font: inherit; }
.noeyes-terms .reader-main { max-width: 850px; margin: auto; padding: 1.5rem 0 4rem; }
.noeyes-documentation .reader-main { min-width: 0; padding: 0 0 4rem; overflow-wrap: anywhere; }
.docs-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 2rem; }
.docs-layout aside { min-width: 0; border-right: 1px solid var(--line); }
.docs-nav { position: sticky; top: calc(var(--header-height) + 1rem); display: grid; gap: .15rem; max-height: calc(100dvh - var(--header-height) - 2rem); overflow-y: auto; padding: 1.5rem 1rem 1.5rem 0; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.docs-nav a { padding: .45rem .6rem; border-left: 2px solid var(--line); color: var(--text-soft); font-size: .68rem; text-decoration: none; }
.docs-nav a:hover, .docs-nav a:focus-visible { border-color: var(--signal); background: var(--signal-soft); color: var(--signal); }
.docs-intro { padding: 2.5rem 0 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.docs-eyebrow { color: var(--signal); font-size: .62rem; font-weight: 700; line-height: 1.6; letter-spacing: .11em; text-transform: uppercase; }
.docs-intro h1 { margin: .75rem 0 1.25rem; color: var(--white); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; line-height: 1.12; letter-spacing: -.04em; text-transform: uppercase; }
.docs-lead { color: var(--text-soft); font-size: .95rem; line-height: 1.75; }
.noeyes-documentation .reader-card, .noeyes-terms .reader-card { margin: 0 0 1.5rem; padding: clamp(1rem, 2.5vw, 1.75rem); border: 1px solid var(--line); border-top: 2px solid var(--line-strong); border-radius: 0; background: var(--panel); }
.noeyes-documentation h2, .noeyes-terms h2 { margin: .25rem 0 1.25rem; color: var(--white); font-size: 1.3rem; line-height: 1.3; font-weight: 700; letter-spacing: .015em; }
.noeyes-documentation h3 { margin: 1.8rem 0 1rem; color: var(--white); font-size: .95rem; line-height: 1.5; }
.noeyes-documentation p, .noeyes-documentation li, .noeyes-terms p, .noeyes-terms li { line-height: 1.85; }
.noeyes-documentation li, .noeyes-terms li { margin: .5rem 0; }
.noeyes-documentation ul, .noeyes-documentation ol { padding-left: 1.5rem; }
.noeyes-documentation main a, .noeyes-terms main a { color: var(--signal); text-decoration: underline; text-underline-offset: 4px; }
.noeyes-documentation section, .noeyes-terms section { scroll-margin-top: calc(var(--header-height) + 1.25rem); }
.noeyes-documentation pre { max-width: 100%; margin: 1.25rem 0; padding: 1rem; overflow-x: auto; border: 1px solid var(--line-strong); border-radius: 0; background: var(--bg-deep); color: var(--white); line-height: 1.7; tab-size: 2; }
.noeyes-documentation code { font-family: inherit; font-size: .74rem; }
.noeyes-documentation :not(pre) > code { overflow-wrap: anywhere; color: var(--white); }
.noeyes-documentation .skill-source { white-space: pre-wrap; overflow-wrap: anywhere; }
.noeyes-documentation table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .72rem; }
.noeyes-documentation caption { padding: .75rem 0; color: var(--signal); text-align: left; }
.noeyes-documentation th, .noeyes-documentation td { padding: .75rem; border: 1px solid var(--line-strong); text-align: left; overflow-wrap: anywhere; vertical-align: top; }
.noeyes-documentation th { background: var(--panel-soft); color: var(--white); }
.docs-footer { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.5rem 0; border-top: 1px solid var(--line); color: var(--text-dim); font-size: .65rem; }
.noeyes-documentation :focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
@media (max-width: 800px) {
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .docs-layout aside { border-right: 0; border-bottom: 1px solid var(--line); }
  .docs-nav { position: static; display: flex; gap: .5rem; max-height: none; padding: .85rem 0; overflow-x: auto; }
  .docs-nav a { flex: 0 0 auto; padding: .5rem .75rem; border: 1px solid var(--line-strong); }
  .docs-intro { padding-top: 1.5rem; }
}
