:root { --ink:#081a31; --muted:#586b82; --line:#d8e1ec; --blue:#3157d5; --green:#14885b; --surface:#f5f8fc; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:white; font-family:Inter,Segoe UI,Arial,sans-serif; }
a { color:inherit; }
.docs-header { position:sticky; top:0; z-index:20; height:68px; padding:0 28px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); background:rgba(255,255,255,.97); }
.docs-brand { display:flex; align-items:center; gap:11px; text-decoration:none; }
.docs-brand img { width:36px; height:36px; }
.docs-brand span { display:grid; gap:2px; }
.docs-brand strong { font-size:18px; line-height:1; }
.docs-brand small { color:var(--muted); font-size:11px; }
.header-actions { display:flex; gap:22px; }
.header-actions a { color:#31475f; font-size:13px; font-weight:650; text-decoration:none; }
.header-actions a:hover { color:var(--blue); }
.docs-shell { min-height:calc(100vh - 68px); display:grid; grid-template-columns:270px minmax(0,900px) 190px; justify-content:center; }
.docs-sidebar { position:sticky; top:68px; height:calc(100vh - 68px); padding:24px 20px 30px; overflow:auto; border-right:1px solid var(--line); background:var(--surface); }
.search-wrap { position:relative; }
.search-wrap label { display:block; margin-bottom:7px; color:#40556e; font-size:11px; font-weight:700; }
.search-wrap input { width:100%; height:39px; padding:0 34px 0 11px; border:1px solid #b8c6d8; border-radius:5px; background:white; font:inherit; font-size:12px; }
.search-wrap input:focus { border-color:var(--blue); outline:2px solid rgba(49,87,213,.15); }
.search-wrap kbd { position:absolute; right:9px; bottom:10px; color:#71839a; font:11px inherit; }
.docs-sidebar nav { margin-top:23px; display:grid; gap:2px; }
.docs-sidebar nav p { margin:18px 9px 6px; color:#71839a; font-size:10px; font-weight:800; text-transform:uppercase; }
.docs-sidebar nav a { padding:8px 9px; border-left:2px solid transparent; color:#354b65; font-size:12px; text-decoration:none; }
.docs-sidebar nav a:hover,.docs-sidebar nav a.active { border-left-color:var(--blue); background:#e9efff; color:#193fba; }
.docs-main { min-width:0; padding:42px 50px 80px; }
.docs-toolbar { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; padding-bottom:30px; border-bottom:1px solid var(--line); }
.eyebrow { color:var(--blue); font-size:11px; font-weight:800; text-transform:uppercase; }
h1 { margin:9px 0 10px; font-size:34px; line-height:1.1; letter-spacing:0; }
.docs-toolbar p { max-width:650px; margin:0; color:var(--muted); font-size:14px; line-height:1.6; }
.docs-toolbar label { color:#52667e; font-size:11px; font-weight:700; }
.docs-toolbar select { display:block; min-width:165px; height:38px; margin-top:6px; padding:0 28px 0 10px; border:1px solid #b8c6d8; background:white; }
.search-summary { margin:22px 0 -6px; padding:10px 12px; border-left:3px solid var(--blue); background:#f2f6ff; color:#40556e; font-size:12px; }
article { padding:38px 0; border-bottom:1px solid var(--line); scroll-margin-top:86px; }
.article-heading { display:flex; justify-content:space-between; color:#71839a; font-size:11px; font-weight:700; text-transform:uppercase; }
article h2 { max-width:700px; margin:10px 0 16px; font-size:25px; letter-spacing:0; }
article h3 { margin:24px 0 10px; font-size:15px; }
article p,article li { color:#40556e; font-size:14px; line-height:1.7; }
article p { max-width:760px; margin:0; }
article ul,article ol { margin:8px 0 0; padding-left:22px; }
article li { margin:5px 0; }
.callout { margin-top:22px; padding:15px 17px; border-left:3px solid var(--green); background:#f0faf6; }
.callout.warning { border-left-color:#b16900; background:#fff8e9; }
.callout strong { display:block; margin-bottom:4px; font-size:13px; }
.product-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.product-grid a { min-height:88px; padding:15px; border:1px solid var(--line); border-radius:6px; text-decoration:none; }
.product-grid a:hover { border-color:#7390df; background:#f6f8ff; }
.product-grid strong,.product-grid span { display:block; }
.product-grid strong { font-size:14px; }
.product-grid span { margin-top:6px; color:var(--muted); font-size:12px; line-height:1.45; }
.article-action { display:inline-flex; margin-top:20px; padding:10px 14px; border:1px solid var(--blue); color:var(--blue); font-size:12px; font-weight:750; text-decoration:none; }
.article-action:hover { color:white; background:var(--blue); }
.article-toc { position:sticky; top:68px; height:calc(100vh - 68px); padding:42px 20px; border-left:1px solid var(--line); }
.article-toc p { margin:0 0 12px; color:#71839a; font-size:10px; font-weight:800; text-transform:uppercase; }
.article-toc a { display:block; padding:6px 0; color:#52667e; font-size:11px; text-decoration:none; }
.sidebar-toggle { display:none; }
.empty-results { padding:60px 0; text-align:center; }
.empty-results h2 { margin:0 0 8px; }
.empty-results p { color:var(--muted); }
[hidden] { display:none !important; }
@media (max-width:1100px) {
  .docs-shell { grid-template-columns:250px minmax(0,1fr); }
  .article-toc { display:none; }
}
@media (max-width:760px) {
  .docs-header { height:62px; padding:0 16px; }
  .header-actions a:first-child { display:none; }
  .docs-shell { display:block; min-height:calc(100vh - 62px); }
  .docs-sidebar { position:fixed; inset:62px auto 0 0; z-index:15; width:min(320px,88vw); height:auto; transform:translateX(-102%); transition:transform 160ms ease; box-shadow:12px 0 30px rgba(8,26,49,.18); }
  .docs-sidebar.open { transform:translateX(0); }
  .docs-main { padding:20px 18px 60px; }
  .sidebar-toggle { display:block; width:100%; height:40px; margin-bottom:24px; border:1px solid #b8c6d8; background:white; color:#28425f; font-weight:700; }
  .docs-toolbar { align-items:stretch; flex-direction:column; gap:20px; }
  .docs-toolbar label,.docs-toolbar select { width:100%; }
  h1 { font-size:29px; }
  article h2 { font-size:22px; }
  .product-grid { grid-template-columns:1fr; }
}
