.docs-body { --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; font-size: 14px; }
.docs-body [hidden] { display: none !important; }
.docs-body button, .docs-body input, .docs-body textarea, .docs-body select { color: inherit; }
.docs-body button { cursor: pointer; }
.docs-body button:focus-visible, .docs-body input:focus-visible, .docs-body textarea:focus-visible, .docs-body a:focus-visible, .docs-body select:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.docs-body .checker { height: 8px; background-size: 8px 8px; margin-top: 4px; }
.docs-header { max-width: 1600px; margin: auto; padding: 24px 36px; display: flex; align-items: center; gap: 22px; border-bottom: 2px solid var(--ink); }
.docs-header .wordmark { font-size: 29px; }
.docs-label { border-left: 1px solid var(--line); padding-left: 22px; text-decoration: none; font-size: 11px; font-weight: 750; letter-spacing: .07em; }
.docs-label span { margin-left: 8px; font: 10px var(--mono); padding: 3px 5px; border: 1px solid var(--line); }
.view-switch { margin: 0 auto; display: flex; padding: 4px; border: 1px solid var(--ink); border-radius: 6px; background: var(--paper); }
.view-switch button { border: 0; padding: 8px 19px; background: transparent; font-weight: 650; font-size: 12px; border-radius: 3px; }
.view-switch button span { margin-right: 8px; font-size: 17px; vertical-align: -1px; }
.view-switch button[aria-pressed=true] { background: var(--ink); color: var(--paper); }
body[data-mode=agent] .view-switch button[aria-pressed=true] { background: var(--lavender); color: var(--ink); }
.header-home { font-size: 12px; font-weight: 650; text-decoration: none; }
.docs-header .studio-link { font-size: 12px; padding: 9px 13px; }
.docs-layout { display: grid; grid-template-columns: 239px minmax(0,1fr); max-width: 1600px; margin: auto; min-height: calc(100vh - 190px); }
.sidebar { border-right: 1px solid var(--line); padding: 28px 20px 32px 28px; }
#docs-navigation { position: sticky; top: 22px; max-height: calc(100vh - 44px); overflow-y: auto; scrollbar-width: thin; padding: 2px 8px 10px 2px; }
.search-box { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); padding: 9px 8px; gap: 6px; }
.search-box > span:not(.sr-only) { font-size: 21px; line-height: 1; }
.search-box input { min-width: 0; width: 100%; font-size: 11px; border: none; background: transparent; outline: none; }
.search-box:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.search-box input:focus-visible { outline: none; }
kbd { font: 10px var(--mono); color: var(--soft); padding: 0 4px; border: 1px solid var(--line); }
.nav-label { font-size: 9px; font-weight: 750; letter-spacing: .08em; color: var(--soft); margin: 25px 8px 9px; display: flex; justify-content: space-between; }
#navigation a { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 12px; line-height: 1.45; padding: 8px 9px; border-radius: 3px; }
#navigation a > span:last-child:not(.method) { margin-left: auto; }
#navigation a:hover { background: #e9e6dd; }
#navigation a[aria-current=page] { background: var(--lavender); font-weight: 650; }
#navigation details { border: 0; }
#navigation summary { font-size: 12px; font-weight: 600; padding: 9px; display: flex; justify-content: space-between; }
#navigation summary::after { content: '+'; color: var(--soft); }
#navigation details[open] > summary::after { content: '−'; }
#navigation .endpoint-link { font-size: 11px; padding-left: 9px; gap: 6px; }
#navigation .endpoint-link .endpoint-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; }
.nav-note { font-size: 11px; color: var(--soft); padding: 10px; }
.method { font: 650 9px var(--mono); display: inline-block; min-width: 33px; flex-shrink: 0; color: #28573f; }
.method-post { color: #5b4680; }.method-patch,.method-put { color: #754621; }.method-delete { color: #763d51; }
.sidebar-footer { margin-top: 32px; border-top: 1px solid var(--line); padding: 17px 7px 0; font-size: 10px; color: var(--soft); }
.status-dot { display: inline-block; width: 6px; height: 6px; background: #44785b; border-radius: 50%; margin-right: 5px; }
.sidebar-footer a { display: inline-block; margin: 12px 10px 0 0; font: 10px var(--mono); }
.mobile-menu { display: none; }
#content { min-width: 0; padding: 38px 45px 64px; outline: none; }
.content-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.eyebrow { font-size: 9px; font-weight: 750; letter-spacing: .105em; text-transform: uppercase; }
.live-label { font: 10px var(--mono); color: var(--soft); white-space: nowrap; }
.docs-body h1 { font-size: clamp(40px,4.5vw,65px); font-weight: 800; line-height: 1.035; letter-spacing: -.065em; max-width: 740px; }
.docs-body h1 em { font-style: normal; position: relative; z-index: 0; white-space: nowrap; }
.docs-body h1 em::after { content: ''; position: absolute; z-index: -1; left: 0; bottom: 4px; height: 15px; width: 100%; background: var(--lavender); transform: rotate(-1deg); }
.docs-body h2 { font-size: 29px; letter-spacing: -.045em; font-weight: 750; line-height: 1.15; }
.docs-body h3 { font-size: 17px; letter-spacing: -.025em; font-weight: 750; line-height: 1.25; }
.hero-intro { font-size: 15px; line-height: 1.7; color: var(--soft); max-width: 480px; margin-top: 23px; }
.docs-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; padding: 12px 16px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper) !important; text-decoration: none; font-size: 12px; font-weight: 650; border-radius: 3px; transition: transform .15s, box-shadow .15s; }
.primary:hover,.secondary:hover { transform: translateY(-2px); box-shadow: 2px 3px 0 #2e2d2a25; }
.secondary { background: transparent; color: var(--ink) !important; }
.quiet-button { border: 0; background: transparent; padding: 6px 0; font-size: 11px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.play-card { border: 1.5px solid var(--ink); background: var(--mint); padding: 20px; transform: rotate(2deg); position: relative; box-shadow: 5px 6px 0 #2e2d2a0f; margin: 12px 3px 12px 8px; }
.play-card::before { content: ''; height: 16px; width: 82px; background: repeating-conic-gradient(var(--line) 0% 25%,var(--paper) 0% 50%) 0 0/10px 10px; position: absolute; top: -9px; left: calc(50% - 41px); transform: rotate(-6deg); }
.play-card-top { display: flex; justify-content: space-between; font: 9px var(--mono); border-bottom: 1px solid #2e2d2a50; padding-bottom: 12px; }
.record-window { display: flex; align-items: center; gap: 20px; padding: 27px 3px; }
.mini-record { flex-shrink: 0; width: 105px; height: 105px; border-radius: 50%; background: repeating-radial-gradient(circle,var(--ink) 0 4px,#43443d 4px 5px); display: grid; place-items: center; }
.mini-record > span { display: grid; place-items: center; width: 39px; height: 39px; background: var(--lavender); border-radius: 50%; }
.mini-record > span::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.record-window strong { font-size: clamp(21px,2.4vw,32px); font-weight: 800; letter-spacing: -.055em; line-height: 1.02; }
.record-window small { display: block; font: 9px var(--mono); margin-top: 12px; }
.waveform { display: flex; align-items: center; justify-content: space-between; height: 25px; gap: 3px; }
.waveform i { display: block; width: 3px; height: 8px; background: var(--ink); }
.waveform i:nth-child(3n) { height: 19px; }.waveform i:nth-child(4n) { height: 13px; }.waveform i:nth-child(5n) { height: 25px; }
.play-card-bottom { display: flex; justify-content: space-between; border-top: 1px solid #2e2d2a50; margin-top: 14px; padding-top: 12px; font: 9px var(--mono); }
.docs-section { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 14px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.section-head .eyebrow { color: var(--soft); }
.copy-prompt { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; border: 1px solid var(--line); padding: 6px 10px; background: var(--paper); border-radius: 3px; white-space: nowrap; }
.copy-prompt:hover { background: var(--lavender); border-color: var(--ink); }
.build-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.build-card { padding: 18px; border: 1px solid var(--line); background: var(--paper); border-radius: 4px; display: flex; flex-direction: column; gap: 13px; }
.card-icon { height: 35px; width: 35px; border: 1px solid var(--ink); border-radius: 5px; display: grid; place-items: center; font-size: 22px; transform: rotate(-5deg); }
.lavender { background: var(--lavender); }.mint { background: var(--mint); }.peach { background: var(--peach); }
.build-card p { font-size: 12px; color: var(--soft); line-height: 1.65; }
.build-card h3 a { text-decoration: none; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 3px; gap: 8px; }
.card-bottom > a { text-decoration: none; font-size: 18px; }
.card-bottom .copy-prompt { padding: 4px 7px; font-size: 10px; }
.first-request { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: center; padding-block: 16px 0; }
.first-request p { margin-top: 13px; color: var(--soft); font-size: 13px; }
.first-request .quiet-button { display: inline-block; margin-top: 15px; }
.code-panel { border: 1px solid var(--ink); border-radius: 5px; overflow: hidden; background: var(--ink); color: var(--ground); min-width: 0; }
.code-bar { display: flex; align-items: center; gap: 14px; padding: 11px 15px; border-bottom: 1px solid #ffffff26; font: 10px var(--mono); }
.code-bar > span { margin-right: auto; }
.code-bar button { border: none; color: var(--ground) !important; background: none; font-size: 10px; padding: 3px; }
.code-bar button[aria-pressed=true] { color: var(--mint) !important; text-decoration: underline; text-underline-offset: 6px; }
.code-panel pre { margin: 0; padding: 20px; font: 11px/1.8 var(--mono); overflow-x: auto; tab-size: 2; }
.code-panel code { padding: 0; background: none; font: inherit; color: inherit; overflow-wrap: normal; }
.code-caption { font-size: 10px; color: var(--soft); margin-top: 8px; }
.build-banner { margin-top: 32px; padding: 22px 25px; background: var(--lavender); display: flex; justify-content: space-between; gap: 25px; align-items: center; border: 1px solid var(--ink); border-radius: 4px; }
.build-banner p { font-size: 12px; margin-top: 6px; }
.build-banner .secondary { white-space: nowrap; }
.page-title { margin: 8px 0 20px; }
.page-intro { color: var(--soft); font-size: 15px; max-width: 690px; margin-bottom: 26px; }
.guide-steps { margin-top: 35px; border-top: 1px solid var(--line); }
.guide-step { display: grid; grid-template-columns: 40px 1fr; gap: 15px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.step-number { font: 12px var(--mono); color: var(--soft); padding-top: 2px; }
.guide-step p { color: var(--soft); margin-top: 10px; font-size: 14px; line-height: 1.8; }
.endpoint-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.endpoint-chips a { padding: 8px 10px; background: var(--paper); border: 1px solid var(--line); font: 10px var(--mono); text-decoration: none; border-radius: 3px; overflow-wrap: anywhere; }
.agent-workspace { border: 1px solid var(--ink); background: var(--paper); padding: 25px; margin: 27px 0; border-radius: 4px; }
.agent-workspace h2 { font-size: 24px; }
.agent-workspace > p { color: var(--soft); margin-top: 9px; font-size: 13px; }
.agent-workspace label { display: block; font-size: 10px; font-weight: 750; letter-spacing: .04em; margin: 20px 0 7px; }
.agent-workspace textarea { width: 100%; resize: vertical; min-height: 100px; padding: 13px; border: 1px solid var(--line); background: var(--ground); font: 13px/1.7 var(--font); border-radius: 3px; }
.context-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 15px; }
.context-links a { display: flex; justify-content: space-between; gap: 10px; border: 1px solid var(--line); padding: 15px; text-decoration: none; font: 12px var(--mono); background: var(--paper); }
.agent-extras { padding: 18px 20px; border: 1px solid var(--ink); border-left: 4px solid var(--ink); background: var(--lavender); margin: 22px 0; }
.agent-extras p { font-size: 12px; margin-top: 7px; }
.endpoint-heading h1 { font-size: 36px; letter-spacing: -.045em; margin-bottom: 18px; }
.endpoint-path { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 13px 15px; border: 1px solid var(--line); background: var(--paper); border-radius: 3px; }
.endpoint-path .method { font-size: 11px; }
.endpoint-path code { font: 12px var(--mono); background: none; padding: 0; overflow-wrap: anywhere; }
.auth-badge { font-size: 10px; padding: 5px 8px; background: var(--mint); border-radius: 3px; display: inline-block; margin-bottom: 16px; }
.reference-section { margin-top: 30px; }
.reference-section h2 { font-size: 20px; margin-bottom: 15px; }
.schema-table { width: 100%; border-collapse: collapse; font-size: 12px; table-layout: fixed; }
.schema-table th { text-align: left; font-size: 9px; color: var(--soft); letter-spacing: .05em; padding: 9px 10px; border-bottom: 1px solid var(--ink); }
.schema-table th:first-child { width: 38%; }
.schema-table td { border-bottom: 1px solid var(--line); padding: 13px 10px; vertical-align: top; overflow-wrap: anywhere; }
.schema-table code { background: none; padding: 0; font: 11px var(--mono); }
.required { display: inline-block; margin: 6px 6px 0 0; font-size: 9px; color: var(--soft); border: 1px solid var(--line); padding: 1px 4px; border-radius: 2px; }
.field-type { display: block; color: var(--soft); font: 10px var(--mono); margin-top: 6px; }
.schema-details { border: 1px solid var(--line); padding: 0 15px; border-radius: 3px; margin: 12px 0; }
.schema-details summary { font-size: 12px; padding: 12px 0; }
.schema-details pre { font: 11px/1.65 var(--mono); overflow: auto; max-height: 450px; }
.response-row { border-top: 1px solid var(--line); padding: 16px 0; font-size: 12px; display: flex; align-items: baseline; gap: 15px; }
.response-row code { background: var(--mint); min-width: 35px; text-align: center; flex-shrink: 0; }
.response-row p { color: var(--soft); }
.notice { margin: 20px 0; padding: 18px; background: var(--peach); border: 1px solid var(--line); border-radius: 3px; font-size: 13px; }
.notice button { margin-top: 10px; }
.result-output { font: 11px/1.7 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 320px; overflow: auto; padding: 18px; background: var(--paper); border: 1px solid var(--line); }
.search-results { margin-top: 25px; display: grid; gap: 10px; }
.search-results a { text-decoration: none; padding: 15px; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; }
.search-results a strong { display: block; margin-bottom: 7px; }
.search-results a code { background: none; padding: 0; font-size: 10px; }
.docs-footer { max-width: 1600px; margin: auto; border-top: 2px solid var(--ink); padding: 22px 36px; display: flex; align-items: center; gap: 25px; font-size: 10px; color: var(--soft); }
.docs-footer a { font-weight: 750; text-decoration: none; color: var(--ink); }
.docs-footer a:last-child { margin-left: auto; }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(90px); padding: 12px 22px; background: var(--ink); color: var(--paper); border-radius: 4px; z-index: 20; opacity: 0; transition: transform .2s,opacity .2s; font-size: 12px; }
#toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
dialog { width: min(660px,calc(100% - 30px)); padding: 28px; border: 1px solid var(--ink); border-radius: 6px; background: var(--ground); color: var(--ink); max-height: calc(100vh - 40px); overflow-y: auto; box-shadow: 8px 10px 0 #2e2d2a20; }
dialog::backdrop { background: #2e2d2a75; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.dialog-heading button { border: none; background: none; font-size: 25px; padding: 0 5px; }
dialog > p { font-size: 13px; color: var(--soft); margin: 13px 0 20px; }
#prompt-text { display: block; width: 100%; height: 300px; resize: vertical; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; font: 12px/1.7 var(--mono); }
.dialog-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.loading-note { color: var(--soft); margin-top: 25px; }
@media(min-width:1500px) { #content { padding-inline: 64px; }.docs-hero { gap: 75px; } }
@media(max-width:1150px) { .docs-header { gap: 15px; padding-inline: 25px; }.header-home { display: none; }.docs-layout { grid-template-columns: 216px minmax(0,1fr); }.sidebar { padding-left: 20px; }#content { padding: 30px 28px 50px; }.docs-hero { gap: 20px; }.record-window { gap: 12px; }.mini-record { width: 80px; height: 80px; }.play-card { padding: 15px; }.build-card { padding: 14px; }.first-request { gap: 20px; }.docs-body h1 { font-size: 46px; } }
@media(max-width:950px) { .docs-hero { grid-template-columns: 1fr; }.play-card { display: none; }.hero-intro { max-width: 580px; }.docs-body h1 { font-size: 52px; }.build-grid { gap: 9px; }.build-card { padding: 13px; }.build-card h3 { font-size: 15px; }.build-card p { font-size: 11px; }.card-bottom { flex-wrap: wrap; }.first-request { grid-template-columns: 1fr; }.build-banner { align-items: flex-start; flex-direction: column; gap: 15px; }.content-topline { margin-bottom: 28px; }.live-label { font-size: 9px; } }
@media(max-width:730px) { .docs-header { flex-wrap: wrap; padding: 18px 20px; gap: 16px; }.docs-header .wordmark { font-size: 26px; }.docs-header .wordmark img { width: 28px; height: 28px; }.docs-label { padding-left: 15px; }.docs-header .studio-link { margin: 0 0 0 auto; font-size: 10px; padding: 8px; }.docs-header .studio-link span { margin-left: 7px; }.view-switch { order: 4; width: 100%; margin: 0; }.view-switch button { width: 50%; padding-block: 6px; }.docs-layout { display: block; }.sidebar { padding: 0 20px; border-right: none; border-bottom: 1px solid var(--line); }.mobile-menu { display: flex; justify-content: space-between; width: 100%; padding: 14px 0; background: transparent; border: none; font-size: 12px; font-weight: 600; }#docs-navigation { display: none; position: static; max-height: 65vh; padding: 0 0 20px; }body.nav-open #docs-navigation { display: block; }.sidebar-footer { margin-top: 15px; }#content { padding: 27px 22px 45px; }.content-topline { margin-bottom: 26px; }.content-topline .live-label { display: none; }.docs-body h1 { font-size: clamp(39px,8.7vw,56px); }.hero-intro { font-size: 14px; margin-top: 20px; }.docs-hero { padding-bottom: 25px; }.hero-actions { margin-top: 22px; }.build-grid { grid-template-columns: 1fr; gap: 11px; }.build-card { display: grid; grid-template-columns: 38px 1fr; column-gap: 13px; padding: 17px; }.build-card .card-icon { grid-row: 1/3; }.build-card h3 { font-size: 17px; }.build-card p { font-size: 12px; }.card-bottom { grid-column: 2; padding-top: 0; }.card-bottom .copy-prompt { font-size: 11px; }.section-head { align-items: flex-start; }.section-head h2 { font-size: 24px; }.docs-body h2 { font-size: 26px; }.docs-section { padding-top: 24px; }.first-request { padding-top: 4px; }.build-banner { padding: 20px; }.docs-footer { flex-wrap: wrap; padding: 20px; gap: 13px; }.docs-footer span { order: 3; width: 100%; }.agent-workspace { padding: 20px; }.context-links { grid-template-columns: 1fr; }.endpoint-heading h1 { font-size: 31px; }.endpoint-path { padding: 12px; }.endpoint-path code { font-size: 11px; }.guide-step { gap: 8px; grid-template-columns: 30px 1fr; }.guide-step p { font-size: 13px; }.schema-table th:first-child { width: 43%; }.schema-table td { padding-inline: 6px; }dialog { padding: 22px; }.dialog-actions { gap: 15px; }.docs-label span { display: none; } }
@media(prefers-reduced-motion:reduce) { .docs-body *, .docs-body *::before, .docs-body *::after { transition: none !important; scroll-behavior: auto !important; } }
.first-request > div, .docs-hero > div { min-width: 0; }
@media(max-width:730px) { .section-head { flex-wrap: wrap; } }
