.docs-page { background: #f8fafc; }
.docs-hero { padding: 72px 0 54px; color: white; background: radial-gradient(circle at 85% 20%, rgba(49,199,214,.22), transparent 30%), linear-gradient(135deg, #06172c, #0b2a50); }
.breadcrumbs { display: flex; gap: 9px; margin-bottom: 28px; color: #a9bdd7; font-size: 13px; }
.breadcrumbs a { color: #75d5ff; text-decoration: none; }
.docs-hero h1 { max-width: 800px; margin: 15px 0; font-size: clamp(40px, 5vw, 64px); line-height: 1.06; letter-spacing: -.045em; }
.docs-hero .hero-lead { max-width: 760px; color: #c8d7ea; }
.docs-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.docs-badges span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #dce8f7; background: rgba(255,255,255,.06); font: 800 12px/1.2 Inter, sans-serif; }
.docs-shell { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 58px; padding-top: 55px; padding-bottom: 90px; }
.docs-nav { position: sticky; top: 105px; align-self: start; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 8px 30px rgba(17,42,79,.05); }
.docs-nav strong { display: block; margin-bottom: 11px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.docs-nav a { display: block; padding: 7px 0; color: #53637a; text-decoration: none; font-size: 14px; font-weight: 700; }
.docs-nav a:hover { color: var(--blue); }
.docs-content { min-width: 0; }
.docs-section { padding: 0 0 58px; scroll-margin-top: 110px; }
.docs-section + .docs-section { padding-top: 5px; border-top: 1px solid var(--line); }
.docs-section h2 { margin: 45px 0 12px; font-size: 31px; letter-spacing: -.03em; }
.docs-section:first-child h2 { margin-top: 0; }
.docs-section h3 { margin: 30px 0 10px; font-size: 20px; }
.docs-section p, .docs-section li { color: #52627a; }
.docs-section code:not(pre code) { padding: 2px 6px; border-radius: 5px; color: #0c4fb7; background: #eaf3ff; font: 600 .9em Consolas, monospace; }
.endpoint { display: flex; align-items: center; gap: 12px; margin: 20px 0; padding: 16px 18px; overflow-x: auto; border: 1px solid #c9d8ec; border-radius: 11px; background: white; }
.method { padding: 5px 9px; border-radius: 6px; color: white; background: var(--green); font: 900 12px/1.2 Inter, sans-serif; }
.endpoint code { white-space: nowrap; color: var(--ink) !important; background: none !important; }
.docs-code { margin: 18px 0; }
.docs-code pre { max-height: 560px; font-size: 12.5px; line-height: 1.65; }
.callout { margin: 20px 0; padding: 16px 18px; border-left: 4px solid var(--blue); border-radius: 8px; color: #40516a; background: #edf5ff; }
.callout.warning { border-left-color: #e59b18; background: #fff8e7; }
.api-table-wrap { overflow-x: auto; margin: 18px 0 28px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.api-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.api-table th, .api-table td { padding: 13px 15px; border-bottom: 1px solid #e8edf5; text-align: left; vertical-align: top; }
.api-table tr:last-child td { border-bottom: 0; }
.api-table th { color: #34445d; background: #f1f5fa; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.api-table td:first-child { color: #164f9d; font-family: Consolas, monospace; font-weight: 700; white-space: nowrap; }
.required { color: #b42318; font-weight: 800; }
@media (max-width: 850px) { .docs-shell { grid-template-columns: 1fr; gap: 35px; } .docs-nav { position: static; columns: 2; } .docs-nav strong { column-span: all; } }
@media (max-width: 520px) { .docs-hero { padding-top: 48px; } .docs-nav { columns: 1; } .api-table th, .api-table td { padding: 11px; } }
