.docs-body { background: #fff; }
.docs-header { position: sticky; top: 0; width: 100%; height: 66px; padding: 0 28px; border-bottom: 1px solid #dbe7f0; background: rgb(255 255 255 / 94%); backdrop-filter: blur(14px); }
.docs-header .wordmark { font-size: 19px; }
.docs-product { margin-left: -22px; padding-left: 18px; color: #8190a1; border-left: 1px solid #d7e3ec; font-size: 13px; font-weight: 600; }
.docs-header .site-nav { flex: 0 0 auto; }
.docs-search { display: flex; width: min(370px, 35vw); height: 36px; align-items: center; gap: 9px; margin: 0 auto; padding: 0 10px; color: #8496a9; border: 1px solid #dbe6ef; border-radius: 8px; background: #f8fbfd; }
.docs-search input { min-width: 0; flex: 1; color: #243d57; border: 0; outline: 0; background: transparent; font-size: 12px; }
.docs-search kbd { padding: 2px 6px; color: #93a3b4; border: 1px solid #d4e0e9; border-radius: 4px; background: white; font: 10px/1.4 ui-monospace, monospace; }
.docs-layout { display: grid; grid-template-columns: 245px minmax(0, 790px) 180px; justify-content: center; gap: 58px; }
.docs-sidebar { position: sticky; top: 66px; height: calc(100vh - 66px); overflow: auto; padding: 35px 20px 35px 29px; border-right: 1px solid #e2ebf2; scrollbar-width: thin; }
.sidebar-group { display: grid; gap: 2px; margin-bottom: 27px; }
.sidebar-group > strong, .docs-toc > strong { margin-bottom: 8px; color: #8a9aaa; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.sidebar-group a { padding: 7px 10px; color: #64768a; border-radius: 6px; font-size: 12px; text-decoration: none; }
.sidebar-group a:hover { color: #1685cf; background: #f3f9fd; }
.sidebar-group a.active { color: #087fc9; background: #eaf7ff; font-weight: 650; }
.sidebar-playground { display: flex; align-items: center; gap: 11px; margin-top: 36px; padding: 13px; color: #155a87; border: 1px solid #cde5f5; border-radius: 9px; background: #f2faff; text-decoration: none; }
.sidebar-playground > span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; color: white; background: #1b8fe5; font-size: 8px; }
.sidebar-playground div { display: grid; gap: 3px; }
.sidebar-playground strong { font-size: 11px; }
.sidebar-playground small { color: #7e99ad; font-size: 9px; }
.docs-main { min-width: 0; padding: 72px 0 150px; }
.docs-main article { min-width: 0; }
.docs-main section { padding-top: 80px; scroll-margin-top: 55px; }
.docs-main section:first-child { padding-top: 0; }
.docs-main section + section { margin-top: 20px; border-top: 1px solid #e5edf3; }
.doc-eyebrow { margin-bottom: 16px; color: #1788d2; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.docs-main h1 { max-width: 700px; margin: 0 0 20px; color: #102a44; font-size: 48px; letter-spacing: -.055em; line-height: 1.08; }
.docs-main h2 { margin: 14px 0 19px; color: #112c47; font-size: 31px; letter-spacing: -.04em; line-height: 1.2; }
.docs-main h3 { margin: 32px 0 12px; color: #1b3751; font-size: 18px; letter-spacing: -.02em; }
.docs-main p, .docs-main li { color: #5f7083; font-size: 14px; line-height: 1.78; }
.docs-main p { margin: 0 0 19px; }
.docs-main strong { color: #314d67; }
.doc-lede { max-width: 730px; color: #50657a !important; font-size: 17px !important; line-height: 1.75 !important; }
.docs-main :not(pre) > code { padding: 2px 5px; color: #147ab9; border: 1px solid #d7e9f4; border-radius: 4px; background: #f3faff; font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.section-kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; color: #1587d0; font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.section-kicker span { display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid #bde1f7; border-radius: 50%; background: #eef9ff; font: 700 8px/1 ui-monospace, monospace; }
.callout { display: flex; gap: 14px; margin: 25px 0; padding: 18px 20px; border: 1px solid #e0e8ef; border-radius: 10px; background: #f9fbfd; }
.callout-blue { border-color: #cce8f8; background: #f1faff; }
.callout-icon { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; color: #1688d1; border: 1px solid #b9dff5; border-radius: 50%; font-size: 11px; font-weight: 800; }
.callout strong { display: block; margin-bottom: 3px; font-size: 12px; }
.callout p { margin: 0; font-size: 12px; line-height: 1.65; }
.code-block { overflow: hidden; margin: 23px 0 26px; border: 1px solid #d4e2ec; border-radius: 10px; background: #0c2037; box-shadow: 0 8px 24px rgb(30 65 94 / 7%); }
.code-title { display: flex; height: 38px; align-items: center; justify-content: space-between; padding: 0 12px 0 16px; color: #8299ae; border-bottom: 1px solid #233c54; background: #102840; font: 10px/1 ui-monospace, monospace; }
.code-title button { padding: 5px 8px; color: #91a9bc; border: 1px solid #2b4861; border-radius: 5px; background: #163149; cursor: pointer; font-size: 9px; }
.code-title button:hover { color: #bce7ff; border-color: #34729c; }
.code-block pre { margin: 0; padding: 19px 21px 22px; overflow: auto; }
.code-block code { color: #c8d8e6; font: 11.5px/1.75 ui-monospace, SFMono-Regular, Menlo, Monaco, monospace; }
.code-block-large code { font-size: 12px; }
.explain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin: 24px 0; }
.explain-grid > div { padding: 16px; border: 1px solid #e0e9f0; border-radius: 9px; background: #fbfdfe; }
.explain-grid p { margin: 10px 0 0; font-size: 11px; line-height: 1.55; }
.inline-play { display: flex; align-items: center; gap: 14px; margin: 27px 0; padding: 18px; color: #185e8c; border: 1px solid #c8e5f6; border-radius: 11px; background: #f0f9ff; text-decoration: none; }
.inline-play > span { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 50%; color: white; background: #198ddd; font-size: 10px; }
.inline-play > div { display: grid; flex: 1; gap: 3px; }
.inline-play strong { color: #185e8c; font-size: 12px; }
.inline-play small { color: #7598af; font-size: 10px; }
.inline-play b { font-size: 11px; }
.mental-model { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 11px; margin: 28px 0; }
.mental-model > div { display: grid; min-height: 85px; align-content: center; gap: 7px; padding: 13px; border: 1px solid #d9e6ef; border-radius: 8px; background: #f9fcfe; text-align: center; }
.mental-model strong { color: #31536e; font-size: 11px; }
.mental-model span { color: #8a9aaa; font: 8px/1.5 ui-monospace, monospace; }
.mental-model i { color: #8bbbd9; font-style: normal; }
.mental-model .mental-shared { border-color: #a9daf5; background: #edf8ff; }
.deploy-list { display: grid; gap: 0; margin: 20px 0 35px; padding: 0; list-style: none; }
.deploy-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid #e5edf3; }
.deploy-list li > span { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; color: #1689d2; border: 1px solid #c3e2f5; border-radius: 50%; background: #f0f9ff; font: 700 10px/1 ui-monospace, monospace; }
.deploy-list strong { display: block; margin-bottom: 3px; font-size: 13px; }
.deploy-list p { margin: 0; font-size: 12px; }
.next-card { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 48px; padding: 30px; color: white; border-radius: 13px; background: linear-gradient(120deg, #0c2945, #0d5586); }
.next-card small { color: #7dc8f2; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.next-card h3 { margin: 7px 0 4px; color: white; }
.next-card p { margin: 0; color: #a8c7da; font-size: 11px; }
.next-card .button { flex: 0 0 auto; }
.docs-toc { position: sticky; top: 66px; height: fit-content; display: grid; gap: 9px; padding-top: 47px; }
.docs-toc a { padding-left: 11px; color: #8795a5; border-left: 1px solid #dce6ed; font-size: 10px; line-height: 1.5; text-decoration: none; }
.docs-toc a:hover, .docs-toc a.active { color: #1789d2; border-color: #1789d2; }
.search-hidden { display: none !important; }

@media (max-width: 1120px) {
  .docs-layout { grid-template-columns: 235px minmax(0, 740px); gap: 40px; padding-right: 30px; }
  .docs-toc { display: none; }
}
@media (max-width: 760px) {
  .docs-header { padding-inline: 15px; }
  .docs-product, .docs-header .site-nav { display: none; }
  .docs-search { width: auto; flex: 1; margin-left: auto; }
  .docs-layout { display: block; padding: 0 18px; }
  .docs-sidebar { display: none; }
  .docs-main { padding-top: 48px; }
  .docs-main h1 { font-size: 39px; }
  .docs-main h2 { font-size: 27px; }
  .explain-grid, .mental-model { grid-template-columns: 1fr; }
  .mental-model > i { transform: rotate(90deg); text-align: center; }
  .next-card { align-items: flex-start; flex-direction: column; }
}
