:root {
  --site-header-height: 73px;
  --site-sidebar-width: 300px;
  --site-orange: #ff5a00;
  --site-muted: #a8adb6;
  --page: 1200px;
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--site-header-height) + 22px); }
.cst-site {
  margin: 0; min-width: 300px; color: #f6f7f9;
  background: radial-gradient(circle at 76% 3%, rgba(255,90,0,.14), transparent 26rem), radial-gradient(circle at 5% 28%, rgba(53,78,135,.13), transparent 30rem), #08090b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
.cst-site *, .cst-site *::before, .cst-site *::after { box-sizing: border-box; }
.cst-site .shell { width: min(var(--page), calc(100% - 40px)); margin-inline: auto; }
.site-skip { position: fixed; z-index: 999; top: 10px; left: 10px; padding: 10px 14px; transform: translateY(-180%); border-radius: 8px; background: var(--site-orange); color: #fff; font-weight: 800; }
.site-skip:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,.075); background: rgba(7,8,10,.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.site-header-inner { min-height: 72px; display: flex; align-items: center; gap: 30px; padding: 12px 40px; }
.site-brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.site-brand img { display: block; width: 168px; max-width: 100%; height: auto; }
.site-nav { display: grid; grid-template-columns: 88px 64px 104px 156px; align-items: center; gap: 18px; margin-left: auto; }
.site-nav a { color: var(--site-muted); font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-nav a[aria-current="page"] { color: var(--site-orange); }
.site-store { width: 210px; min-height: 36px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; padding: 8px 13px; border: 1px solid rgba(255,90,0,.62); border-radius: 9px; background: rgba(255,90,0,.12); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; }
.site-store:hover, .site-store:focus-visible { border-color: var(--site-orange); background: var(--site-orange); color: #fff; }
.site-store[aria-current="page"] { border-color: var(--site-orange); background: rgba(255,90,0,.22); }
.site-languages { width: 116px; display: inline-flex; flex: 0 0 auto; justify-content: center; padding: 3px; border: 1px solid rgba(255,255,255,.10); border-radius: 10px; background: rgba(255,255,255,.035); }
.site-languages a, .site-language-unavailable { min-width: 36px; padding: 5px 8px; border-radius: 7px; color: var(--site-muted); font-size: 12px; font-weight: 850; line-height: 1.2; text-align: center; text-decoration: none; }
.site-languages a[aria-current="page"] { background: #1a1d23; color: #fff; }
.site-languages a:hover, .site-languages a:focus-visible { color: #fff; }
.site-language-unavailable { opacity: .4; cursor: not-allowed; }

.site-toc {
  position: fixed; z-index: 85; top: var(--site-header-height); bottom: 0; left: 0;
  width: var(--site-sidebar-width); padding: 44px 32px 44px 40px;
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  border-right: 1px solid rgba(255,255,255,.10); background: rgba(7,8,10,.94);
  box-shadow: 18px 0 48px rgba(0,0,0,.22);
}
.site-toc-title { margin-bottom: 25px; color: #8e949e; font-size: 13px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.site-toc-links { display: flex; flex-direction: column; gap: 14px; }
.site-toc a { position: relative; flex-shrink: 0; display: block; padding: 9px 4px 9px 21px; color: #fff; font-size: 15px; font-weight: 800; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.site-toc a::before { content: ""; position: absolute; top: 50%; left: 0; width: 7px; height: 7px; transform: translateY(-50%); border-radius: 50%; background: rgba(255,255,255,.42); }
.site-toc a:hover, .site-toc a:focus-visible, .site-toc a[aria-current="location"] { color: var(--site-orange); }
.site-toc a[aria-current="location"]::before { background: var(--site-orange); box-shadow: 0 0 0 4px rgba(255,90,0,.12); }
.site-main { min-width: 0; }
.site-document { padding-block: 64px 80px; }
.site-document .document-content { overflow-wrap: anywhere; }
.site-document .document-hero { margin-bottom: 32px; padding: 0 0 32px; border: 0; border-bottom: 1px solid rgba(255,255,255,.10); border-radius: 0; background: none; box-shadow: none; }
.site-document .document-hero h1 { max-width: none; font-size: clamp(32px, 4vw, 52px); }
.site-document .document-hero p { max-width: 900px; }
.site-document .data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer { margin: 0; border-top: 1px solid rgba(255,255,255,.07); padding-block: 34px 42px; color: var(--site-muted); font-size: 12px; }
.site-footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 35px; }
.site-footer-copy { min-width: 0; max-width: 760px; color: #8e949e; font-size: 12px; line-height: 1.65; }
.site-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 18px; }
.site-footer-links a { color: var(--site-muted); font-size: 12px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.site-footer-links a:hover, .site-footer-links a:focus-visible { color: #fff; }

@media (min-width: 1181px) {
  .cst-site > .site-main, .cst-site > .site-footer { padding-left: var(--site-sidebar-width); }
  .cst-site .site-main .shell, .cst-site .site-footer .shell { width: min(var(--page), calc(100% - 84px)); margin-left: 52px; margin-right: 32px; }
  .cst-site.site-no-toc > .site-main, .cst-site.site-no-toc > .site-footer { padding-left: 0; }
  .cst-site.site-no-toc .site-main .shell, .cst-site.site-no-toc .site-footer .shell { width: min(var(--page), calc(100% - 40px)); margin-inline: auto; }
}
@media (max-width: 1180px) {
  .site-header-inner { display: grid; grid-template-columns: minmax(168px, 1fr) 116px 210px; gap: 18px; padding-inline: 20px; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; margin-left: 0; }
  .site-toc { position: static; width: auto; max-height: 240px; margin: 0; padding: 22px 20px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.10); box-shadow: none; }
  .site-toc-title { margin-bottom: 14px; }
  .site-toc-links { flex-direction: row; flex-wrap: wrap; gap: 6px 22px; }
  .site-toc a { padding-block: 6px; font-size: 14px; }
}
@media (max-width: 900px) {
  .site-header-inner { gap: 12px 20px; }
  .site-document .data-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cst-site .shell { width: calc(100% - 28px); }
  .site-header-inner { grid-template-columns: minmax(145px, 1fr) 116px; padding-inline: 14px; }
  .site-brand img { width: 145px; }
  .site-store { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .site-nav { grid-row: 3; }
  .site-toc { padding-inline: 14px; }
  .site-document { padding-block: 36px 56px; }
  .site-footer-grid { flex-direction: column; gap: 22px; }
  .site-footer-links { justify-content: flex-start; }
}
@media (max-width: 540px) {
  .site-header-inner { gap: 12px; }
  .site-nav { gap: 8px; }
  .site-nav a { font-size: 12px; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
