:root { --public-bg: #06110c; --public-surface: #0b1e14; --public-border: rgba(151,188,166,.16); --public-text: #f3f8f5; --public-muted: #99aa9f; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.docs-body { margin: 0; background: var(--public-bg); color: var(--public-text); font-family: Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.docs-body a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; border-radius: 10px; background: #2bda7c; color: #031109; font-weight: 800; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.docs-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--public-border); background: rgba(5,17,12,.9); backdrop-filter: blur(18px); }
.docs-header-inner { width: min(1180px,calc(100% - 32px)); min-height: 72px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.docs-logo img { width: 152px; display: block; }
.docs-nav { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.docs-nav a { min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 10px; color: var(--public-muted); font-size: .84rem; font-weight: 700; }
.docs-nav a:hover, .docs-nav a[aria-current="page"] { color: var(--public-text); background: rgba(255,255,255,.055); }
.docs-shell { width: min(1180px,calc(100% - 32px)); margin: 0 auto; padding: 54px 0 80px; display: grid; grid-template-columns: 235px minmax(0,1fr); gap: 46px; }
.docs-aside { position: sticky; top: 104px; height: max-content; }
.docs-aside strong { display: block; margin-bottom: 10px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #2bda7c; }
.docs-aside a { min-height: 44px; padding: 8px 10px; display: flex; align-items: center; border-left: 1px solid var(--public-border); color: var(--public-muted); font-size: .82rem; }
.docs-aside a:hover { border-color: #2bda7c; color: var(--public-text); }
.docs-content { min-width: 0; }
.docs-hero { margin-bottom: 42px; }
.docs-hero span { color: #2bda7c; font-size: .72rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.docs-hero h1 { max-width: 820px; margin: 12px 0 14px; font-size: clamp(2.3rem,6vw,4.5rem); line-height: 1; letter-spacing: -.055em; }
.docs-hero p { max-width: 760px; margin: 0; color: var(--public-muted); font-size: 1.02rem; }
.docs-section { padding: 36px 0; border-top: 1px solid var(--public-border); scroll-margin-top: 98px; }
.docs-section h2 { margin: 0 0 14px; font-size: clamp(1.45rem,3vw,2rem); letter-spacing: -.035em; }
.docs-section h3 { margin: 26px 0 8px; font-size: 1.05rem; }
.docs-section p, .docs-section li { color: var(--public-muted); }
.docs-section li + li { margin-top: 7px; }
.docs-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.docs-card { padding: 20px; border: 1px solid var(--public-border); border-radius: 17px; background: var(--public-surface); }
.docs-card strong { display: block; margin-bottom: 6px; }
.docs-card p { margin: 0; font-size: .86rem; }
.docs-table-wrap { overflow: auto; border: 1px solid var(--public-border); border-radius: 16px; }
.docs-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.docs-table th, .docs-table td { padding: 13px 15px; border-bottom: 1px solid var(--public-border); text-align: left; vertical-align: top; font-size: .82rem; }
.docs-table th { color: var(--public-text); background: rgba(255,255,255,.025); }
.docs-table td { color: var(--public-muted); }
.docs-table tr:last-child td { border-bottom: 0; }
.docs-content code { padding: .15em .4em; border: 1px solid var(--public-border); border-radius: 6px; color: #b4f6ce; background: #07140d; overflow-wrap: anywhere; }
.docs-content pre { overflow: auto; padding: 18px; border: 1px solid var(--public-border); border-radius: 15px; background: #04100a; color: #c8f8d9; font-size: .78rem; line-height: 1.6; }
.docs-callout { margin: 20px 0; padding: 16px 18px; border: 1px solid rgba(43,218,124,.28); border-radius: 14px; background: rgba(43,218,124,.07); color: #c8e9d5; }
.docs-footer { border-top: 1px solid var(--public-border); color: var(--public-muted); }
.docs-footer-inner { width: min(1180px,calc(100% - 32px)); margin: auto; padding: 28px 0; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .8rem; }
@media (max-width: 840px) { .docs-header-inner { flex-wrap: wrap; padding: 8px 0 6px; }.docs-nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }.docs-nav a { flex: 0 0 auto; }.docs-shell { grid-template-columns: 1fr; padding-top: 34px; }.docs-aside { position: static; display: flex; overflow: auto; gap: 2px; padding-bottom: 8px; }.docs-aside strong { display: none; }.docs-aside a { flex: 0 0 auto; border-left: 0; border-bottom: 1px solid var(--public-border); }.docs-grid { grid-template-columns: 1fr; }.docs-section { scroll-margin-top: 145px; } }
@media (max-width: 480px) { .docs-header-inner, .docs-shell, .docs-footer-inner { width: min(100% - 24px,1180px); }.docs-logo img { width: 132px; }.docs-hero h1 { font-size: 2.35rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
