/* Generated knowledge-spine document surface. */
.docs-index { width: min(1320px, calc(100% - 44px)); margin: 0 auto; padding: 38px 0 80px; }
.docs-index__hero { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(260px,.75fr); gap: 29px; align-items: end; padding: 20px 0 34px; border-bottom: 1px solid var(--paper-line); }
.docs-index__kicker, .doc-page__kicker { color: var(--am-purple); font: 600 8px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.docs-index h1 { margin: 15px 0 13px; color: #211d23; font-size: clamp(44px, 6vw, 78px); font-weight: 570; letter-spacing: -.078em; line-height: .95; }
.docs-index__lede { max-width: 790px; margin: 0; color: #716a75; font-size: 14px; line-height: 1.65; }
.docs-index__status { padding: 18px; border: 1px solid #ddcde7; border-radius: 13px; color: #776680; background: #f2eaf8; }
.docs-index__status span { font: 600 8px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.docs-index__status strong { display: block; margin: 10px 0 6px; color: #43364d; font-size: 19px; font-weight: 570; letter-spacing: -.05em; }
.docs-index__status p { margin: 0; font-size: 10px; line-height: 1.5; }
.docs-index__section { padding-top: 35px; }
.docs-index__section h2 { margin: 0 0 7px; color: #282329; font-size: 28px; font-weight: 570; letter-spacing: -.06em; }
.docs-index__section > p { max-width: 850px; margin: 0 0 17px; color: #817984; font-size: 11px; line-height: 1.6; }
.docs-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.docs-card { display: flex; min-height: 160px; flex-direction: column; padding: 18px; border: 1px solid var(--paper-line); border-radius: 12px; background: #fff; text-decoration: none; }
.docs-card:hover { border-color: #c9afd9; box-shadow: 0 8px 22px rgba(57,30,69,.07); transform: translateY(-1px); }
.docs-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #876a95; font: 600 8px/1.3 "Geist Mono", ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.docs-card__title { margin: 13px 0 7px; color: #38313a; font-size: 16px; font-weight: 600; letter-spacing: -.04em; }
.docs-card__description { margin: 0; color: #817983; font-size: 10px; line-height: 1.5; }
.docs-card__source { margin-top: 12px; color: #9a929c; font: 500 8px/1.45 "Geist Mono", ui-monospace, monospace; overflow-wrap: anywhere; }
.docs-card__footer { margin-top: auto; padding-top: 14px; color: var(--am-purple); font: 600 8px/1 "Geist Mono", ui-monospace, monospace; text-transform: uppercase; }
.docs-note { padding: 15px 17px; border: 1px solid #d4e9e2; border-left: 3px solid #3e8f77; border-radius: 0 11px 11px 0; color: #59766d; background: #eef9f5; font-size: 11px; line-height: 1.55; }
.docs-note strong { color: #2f6e59; }

.doc-page { width: min(1160px, calc(100% - 44px)); margin: 0 auto; padding: 40px 0 80px; }
.doc-page__hero { padding: 20px 0 29px; border-bottom: 1px solid var(--paper-line); }
.doc-page__hero h1 { max-width: 980px; margin: 15px 0 13px; color: #211d23; font-size: clamp(39px,5.5vw,70px); font-weight: 570; letter-spacing: -.078em; line-height: .96; }
.doc-page__lede { max-width: 840px; margin: 0; color: #716a75; font-size: 14px; line-height: 1.65; }
.doc-generated { margin: 17px 0 0; color: #948b97; font: 500 8px/1.55 "Geist Mono", ui-monospace, monospace; }
.doc-generated code { color: #76578b; overflow-wrap: anywhere; }
.doc-page__controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 18px 0 0; }
.doc-page__back, .doc-page__neighbor { color: #76528c; font: 600 8px/1.2 "Geist Mono", ui-monospace, monospace; text-decoration: none; text-transform: uppercase; }
.doc-page__neighbor { color: #8b7d90; text-align: right; }
.doc-prose { padding-top: 34px; color: #59525e; font-size: 12px; line-height: 1.68; }
.doc-prose > :first-child { margin-top: 0; }
.doc-prose h1, .doc-prose h2, .doc-prose h3, .doc-prose h4 { color: #2d2830; font-weight: 600; letter-spacing: -.045em; line-height: 1.15; scroll-margin-top: 24px; }
.doc-prose h1 { margin: 35px 0 11px; font-size: 32px; }
.doc-prose h2 { margin: 31px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--paper-line); font-size: 25px; }
.doc-prose h3 { margin: 25px 0 8px; font-size: 19px; }
.doc-prose h4 { margin: 20px 0 7px; color: #76578b; font: 600 9px/1.2 "Geist Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.doc-prose p { max-width: 900px; margin: 0 0 13px; }
.doc-prose ul, .doc-prose ol { max-width: 900px; margin: 0 0 15px; padding-left: 23px; }
.doc-prose li { margin: 5px 0; }
.doc-prose li > p { margin-bottom: 6px; }
.doc-prose blockquote { max-width: 900px; margin: 16px 0; padding: 12px 16px; border-left: 3px solid var(--am-purple); border-radius: 0 9px 9px 0; color: #65566d; background: #f3ecf8; }
.doc-prose blockquote p { margin: 0; }
.doc-prose hr { margin: 28px 0; border: 0; border-top: 1px solid var(--paper-line); }
.doc-prose code { padding: 2px 4px; border-radius: 4px; color: #76528c; background: #f2eaf7; font: 500 .88em/1.4 "Geist Mono", ui-monospace, monospace; overflow-wrap: anywhere; }
.doc-prose pre { max-width: 100%; margin: 16px 0; padding: 16px; overflow: auto; border: 1px solid #ded6e2; border-radius: 10px; color: #e3d9e8; background: #160a1d; font: 500 10px/1.6 "Geist Mono", ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.doc-prose pre code { padding: 0; color: inherit; background: transparent; }
.doc-prose a { color: #76528c; text-decoration: underline; text-decoration-color: #c9afd9; text-underline-offset: 2px; }
.doc-prose strong { color: #37303b; font-weight: 650; }
.doc-prose em { color: #6c527a; }
.doc-prose table { width: 100%; min-width: 680px; margin: 17px 0 22px; border-collapse: collapse; border: 1px solid var(--paper-line); background: #fff; }
.doc-prose .doc-table-wrap { max-width: 100%; overflow: auto; }
.doc-prose th, .doc-prose td { padding: 10px 11px; border-bottom: 1px solid var(--paper-line); text-align: left; vertical-align: top; }
.doc-prose th { color: #85798b; background: #f4f0f6; font: 600 8px/1.35 "Geist Mono", ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.doc-prose td { color: #625b65; font-size: 10px; line-height: 1.5; }
.doc-prose tr:last-child td { border-bottom: 0; }
.doc-source-link { border-bottom: 1px dotted #b8a2c3; color: #76528c; cursor: help; text-decoration: none; }
.doc-unknown-link { border-bottom: 1px dotted #c0b5c4; color: #867b8b; cursor: help; text-decoration: none; }
.doc-footnote { margin-top: 35px; padding: 14px 16px; border: 1px solid var(--paper-line); border-radius: 10px; color: #817983; background: #f8f5f9; font: 500 9px/1.5 "Geist Mono", ui-monospace, monospace; }
.doc-footnote code { color: #76528c; }

@media (max-width: 900px) { .docs-index__hero { grid-template-columns: 1fr; } }
@media (max-width: 650px) { .docs-index, .doc-page { width: calc(100% - 30px); padding-top: 30px; } .docs-index h1, .doc-page__hero h1 { font-size: 45px; } .docs-card-grid { grid-template-columns: 1fr; } .doc-page__controls { align-items: flex-start; flex-direction: column; } .doc-page__neighbor { text-align: left; } }
