.dev-page { padding-top: var(--unit); min-height: 100vh; background: var(--color-background); color: var(--color-fill); }
.dev-hero { border-bottom: 1px solid rgba(128, 128, 128, 0.1); padding: 0 1.5rem; }
.dev-hero-inner { max-width: 720px; margin: 0 auto; padding: 3rem 0 2.5rem; }
.dev-page h1 { font-size: 2.25rem; font-weight: 700; color: var(--color-fill-heading); margin: 0 0 1rem; letter-spacing: -0.025em; line-height: 1.15; }
.dev-lead { font-size: 1.0625rem; line-height: 1.7; color: var(--color-fill-secondary); margin: 0; max-width: 560px; }
.dev-content { max-width: 720px; margin: 0 auto; padding: 0 1.5rem 6rem; display: grid; grid-template-columns: 148px 1fr; gap: 3rem; align-items: start; }
.dev-toc { position: sticky; top: calc(var(--unit) + 1.5rem); padding-top: 3rem; }
.dev-toc-label { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-fill-secondary); opacity: 0.5; margin-bottom: 0.75rem; }
.dev-toc-links { display: flex; flex-direction: column; }
.dev-toc-links a { font-size: 0.8125rem; color: var(--color-fill-secondary); text-decoration: none; padding: 0.3rem 0; line-height: 1.4; transition: color 0.15s; }
.dev-toc-links a:hover { color: var(--color-fill-heading); }
.dev-main { padding-top: 3rem; min-width: 0; }
.dev-section { margin-bottom: 4rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(128, 128, 128, 0.08); }
.dev-section:last-of-type { border-bottom: none; }
.dev-section h2 { font-size: 1.375rem; font-weight: 600; color: var(--color-fill-heading); margin: 0 0 0.75rem; letter-spacing: -0.015em; }
.dev-section p { font-size: 0.9375rem; line-height: 1.7; color: var(--color-fill-secondary); margin: 0 0 1rem; }
.dev-section a { color: var(--color-fill-heading); text-decoration-color: rgba(128, 128, 128, 0.3); text-underline-offset: 2px; }
.dev-section a:hover { text-decoration-color: var(--color-fill-heading); }
.endpoint { margin: 2rem 0; padding: 1.5rem; border-radius: 10px; border: 1px solid rgba(128, 128, 128, 0.08); }
[data-theme="dark"] .endpoint { border-color: rgba(255, 255, 255, 0.06); }
.endpoint-name { font-size: 1rem; font-weight: 600; font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace; color: var(--color-fill-heading); margin-bottom: 0.5rem; }
.endpoint-name code { font-size: 0.75rem; font-weight: 700; color: var(--accent-color); margin-right: 0.5rem; }
[data-theme="dark"] .endpoint-name code { color: #7B7BFF; }
.endpoint p { font-size: 0.875rem; line-height: 1.6; color: var(--color-fill-secondary); margin: 0 0 0.75rem; }
.params { margin: 0.75rem 0; }
.param { font-size: 0.8125rem; color: var(--color-fill-secondary); padding: 0.35rem 0; border-top: 1px solid rgba(128, 128, 128, 0.06); line-height: 1.5; }
.param:last-child { border-bottom: 1px solid rgba(128, 128, 128, 0.06); }
.param-name { font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace; font-weight: 600; color: var(--color-fill-heading); font-size: 0.8125rem; margin-right: 0.25rem; }
.param-req { font-size: 0.6875rem; font-weight: 600; color: #FF453A; margin-right: 0.25rem; }
.dev-code { background: rgba(128, 128, 128, 0.04); border: 1px solid rgba(128, 128, 128, 0.06); border-radius: 8px; padding: 0.875rem 1rem; margin: 0.5rem 0; overflow-x: auto; font-size: 0.8125rem; line-height: 1.6; }
[data-theme="dark"] .dev-code { background: rgba(255, 255, 255, 0.02); border-color: rgba(255, 255, 255, 0.04); }
.dev-code code { font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace; color: var(--color-fill-heading); }
.dev-response { border-left: 3px solid rgba(52, 199, 89, 0.25); }
.dev-response code { color: var(--color-fill-secondary); }
.dev-section > p code, .endpoint > p code { font-size: 0.8125rem; font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace; background: rgba(128, 128, 128, 0.08); padding: 0.1rem 0.35rem; border-radius: 3px; }
.endpoint-group { margin: 2rem 0; padding: 1.5rem; border-radius: 10px; border: 1px solid rgba(128, 128, 128, 0.08); }
[data-theme="dark"] .endpoint-group { border-color: rgba(255, 255, 255, 0.06); }
.endpoint-group-label { font-size: 0.875rem; font-weight: 600; color: var(--color-fill-heading); margin-bottom: 0.4rem; }
.endpoint-group p { font-size: 0.8125rem; color: var(--color-fill-secondary); margin: 0 0 0.75rem; line-height: 1.5; }
.endpoint-list-compact div { font-size: 0.8125rem; color: var(--color-fill-secondary); padding: 0.3rem 0; border-top: 1px solid rgba(128, 128, 128, 0.05); line-height: 1.5; }
.endpoint-list-compact div:last-child { border-bottom: 1px solid rgba(128, 128, 128, 0.05); }
.endpoint-list-compact code { font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace; font-size: 0.8125rem; color: var(--color-fill-heading); font-weight: 500; margin-right: 0.5rem; }
.dev-base-url { font-size: 0.8125rem; opacity: 0.6; margin-top: 1.5rem; }
.dev-base-url code { font-size: 0.75rem; }
.error-list { margin-top: 1rem; }
.error-row { display: flex; align-items: baseline; gap: 1rem; padding: 0.45rem 0; border-top: 1px solid rgba(128, 128, 128, 0.06); font-size: 0.8125rem; }
.error-row:last-child { border-bottom: 1px solid rgba(128, 128, 128, 0.06); }
.error-row code { font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace; font-weight: 600; color: var(--color-fill-heading); min-width: 2rem; }
.error-row span { color: var(--color-fill-secondary); }
.llm-links { display: flex; flex-direction: column; gap: 0.5rem; }
.llm-link { display: block; padding: 1rem 1.25rem; border-radius: 10px; border: 1px solid rgba(128, 128, 128, 0.1); text-decoration: none; transition: border-color 0.15s, background 0.15s; }
.llm-link:hover { border-color: rgba(128, 128, 128, 0.25); background: rgba(128, 128, 128, 0.03); }
.llm-link-name { font-size: 0.875rem; font-weight: 600; font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace; color: var(--color-fill-heading); margin-bottom: 0.15rem; }
.llm-link-desc { font-size: 0.8125rem; color: var(--color-fill-secondary); }
.dev-cta { margin-top: 2rem; padding: 2rem; border-radius: 12px; border: 1px solid rgba(128, 128, 128, 0.1); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.dev-cta-title { font-size: 1rem; font-weight: 600; color: var(--color-fill-heading); margin-bottom: 0.2rem; }
.dev-cta-desc { font-size: 0.875rem; color: var(--color-fill-secondary); }
.dev-cta-btn { height: 40px; padding: 0 1.5rem; font-size: 0.8125rem; font-weight: 600; background: var(--color-fill-heading); color: var(--color-background); border: none; border-radius: 8px; white-space: nowrap; font-family: inherit; text-decoration: none; display: inline-flex; align-items: center; transition: opacity 0.15s; }
.dev-cta-btn:hover { opacity: 0.85; }

@media (max-width: 1023px) {
  .dev-content { grid-template-columns: 1fr; gap: 0; }
  .dev-toc { position: static; padding-top: 2rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(128, 128, 128, 0.1); margin-bottom: 1rem; }
  .dev-toc-links { flex-direction: row; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
  .dev-main { padding-top: 2rem; }
}

@media (max-width: 500px) {
  .dev-hero-inner { padding: 2rem 0; }
  .dev-page h1 { font-size: 1.75rem; }
  .dev-lead { font-size: 1rem; }
  .dev-content { padding: 0 1rem 4rem; }
  .dev-section { margin-bottom: 3rem; padding-bottom: 3rem; }
  .endpoint { padding: 1rem; margin: 1.5rem -0.5rem; }
  .endpoint-group { padding: 1rem; margin: 1.5rem -0.5rem; }
  .dev-code { padding: 0.75rem; font-size: 0.75rem; border-radius: 6px; }
  .dev-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .dev-cta-btn { justify-content: center; }
}
