:root {
  --ink: #0b1930;
  --muted: #607089;
  --line: #dfe6ef;
  --soft-line: #edf1f6;
  --paper: #ffffff;
  --soft: #f6f8fc;
  --blue: #2f6df6;
  --blue-soft: #edf3ff;
  --sidebar: 286px;
  --on-page: 220px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.skip-link { position: fixed; z-index: 50; left: 12px; top: -50px; padding: 10px 14px; color: #fff; background: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.topbar { position: sticky; z-index: 20; top: 0; height: 72px; display: grid; grid-template-columns: var(--sidebar) minmax(280px, 620px) 1fr; align-items: center; gap: 26px; padding: 0 28px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; }
.brand img { filter: drop-shadow(0 4px 9px rgba(47,109,246,.15)); }
.brand span { display: grid; line-height: 1; }
.brand strong { font-family: Georgia, serif; font-size: 19px; letter-spacing: .12em; text-transform: uppercase; }
.brand small { margin-top: 6px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.top-search { height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: var(--soft); border: 1px solid #d7dfeb; border-radius: 10px; transition: .2s ease; }
.top-search:focus-within { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,109,246,.1); }
.top-search svg { width: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.top-search input { width: 100%; color: var(--ink); background: transparent; border: 0; outline: 0; }
.top-search input::placeholder { color: #7b8799; }
kbd { min-width: 24px; padding: 3px 7px; color: #78869a; background: #fff; border: 1px solid #d9e0e9; border-radius: 6px; text-align: center; box-shadow: 0 1px 1px rgba(11,25,48,.05); }
.top-actions { justify-self: end; display: flex; align-items: center; gap: 24px; color: #4e5e74; font-size: 14px; font-weight: 650; }
.top-actions a:hover { color: var(--blue); }
.support-link { padding: 9px 14px; color: #fff !important; background: var(--ink); border-radius: 8px; }
.menu-button { display: none; border: 0; background: transparent; font-size: 23px; }
.docs-shell { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr) var(--on-page); min-height: calc(100vh - 72px); }
.sidebar { position: sticky; top: 72px; height: calc(100vh - 72px); overflow-y: auto; padding: 26px 20px 20px 28px; background: #fbfcfe; border-right: 1px solid var(--line); scrollbar-width: thin; }
.sidebar nav { display: grid; gap: 3px; }
.nav-home, .sidebar details a { display: flex; align-items: center; min-height: 36px; border-radius: 7px; color: #526278; font-size: 14px; }
.nav-home { gap: 9px; padding: 0 10px; font-weight: 650; }
.nav-home.active, .sidebar details a.active { color: #1f59d4; background: var(--blue-soft); }
.nav-icon { font-size: 19px; }
.nav-heading { margin: 25px 10px 9px; color: #8a96a7; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sidebar details { display: block; }
.sidebar summary { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 9px; border-radius: 7px; color: #263750; cursor: pointer; font-size: 14px; font-weight: 700; list-style: none; }
.sidebar summary::-webkit-details-marker { display: none; }
.sidebar summary::after { content: "›"; margin-left: auto; color: #9aa6b6; transform: rotate(0); transition: transform .15s; }
.sidebar details[open] summary::after { transform: rotate(90deg); }
.sidebar summary:hover, .sidebar details a:hover { background: #f0f4f9; }
.sidebar details a { margin-left: 27px; padding: 0 10px; }
.sidebar-footer { display: flex; justify-content: space-between; margin: 28px 8px 0; padding-top: 18px; color: #8390a2; border-top: 1px solid var(--line); font-size: 11px; }
.sidebar-footer strong { color: #516077; }
.article { width: min(100%, 820px); margin: 0 auto; padding: 54px 56px 90px; outline: 0; }
.breadcrumbs { display: flex; gap: 8px; margin-bottom: 25px; color: #7b899b; font-size: 13px; }
.breadcrumbs a { color: #3569d4; }
.breadcrumbs span::before { content: "/"; margin-right: 8px; color: #b2bbc7; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.article h1 { max-width: 720px; margin: 0; font-size: clamp(34px, 5vw, 48px); line-height: 1.08; letter-spacing: -.038em; }
.lead { max-width: 720px; margin: 18px 0 10px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.updated { margin: 0 0 42px; color: #939ead; font-size: 12px; }
.article h2 { margin: 44px 0 15px; padding-top: 6px; font-size: 25px; letter-spacing: -.022em; }
.article h3 { margin: 27px 0 10px; font-size: 18px; }
.article p, .article li { color: #45556c; font-size: 15.5px; line-height: 1.75; }
.article ul, .article ol { padding-left: 23px; }
.article li + li { margin-top: 8px; }
.callout { display: grid; grid-template-columns: 28px 1fr; gap: 12px; margin: 28px 0; padding: 18px 20px; background: #f3f7ff; border: 1px solid #d9e6ff; border-radius: 10px; }
.callout strong { display: block; margin-bottom: 3px; font-size: 14px; }
.callout p { margin: 0; font-size: 14px; }
.steps { counter-reset: steps; display: grid; gap: 14px; padding: 0 !important; list-style: none; }
.steps li { position: relative; min-height: 52px; padding: 14px 18px 14px 58px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.steps li::before { counter-increment: steps; content: counter(steps); position: absolute; top: 13px; left: 15px; width: 28px; height: 28px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 50%; font-size: 12px; font-weight: 800; }
.media-placeholder { min-height: 310px; display: grid; place-items: center; margin: 28px 0 8px; padding: 30px; color: #77869a; background: repeating-linear-gradient(-45deg,#fafbfd,#fafbfd 10px,#f7f9fc 10px,#f7f9fc 20px); border: 1.5px dashed #bdc8d6; border-radius: 12px; text-align: center; }
.media-placeholder.compact { min-height: 210px; }
.media-placeholder .placeholder-icon { width: 46px; height: 46px; display: grid; place-items: center; margin: 0 auto 12px; color: var(--blue); background: var(--blue-soft); border-radius: 12px; font-size: 22px; }
.media-placeholder strong { display: block; color: #405169; font-size: 14px; }
.media-placeholder small { display: block; margin-top: 6px; color: #8e9aac; }
.media-caption { margin: 0 0 28px !important; color: #8b97a7 !important; font-size: 12px !important; text-align: center; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 30px; }
.category-card { min-height: 132px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: .2s ease; }
.category-card:hover { border-color: #b7caf8; box-shadow: 0 12px 30px rgba(22,45,81,.08); transform: translateY(-2px); }
.category-card span { font-size: 23px; }
.category-card h2 { margin: 13px 0 6px; padding: 0; font-size: 17px; }
.category-card p { margin: 0; color: #718095; font-size: 13px; line-height: 1.5; }
.on-page { position: sticky; top: 72px; height: calc(100vh - 72px); padding: 58px 26px 30px 10px; }
.on-page > p { margin: 0 0 14px; color: #314159; font-size: 12px; font-weight: 800; }
.on-page nav { display: grid; gap: 10px; padding-left: 13px; border-left: 1px solid var(--line); }
.on-page nav a { color: #7a8798; font-size: 12px; line-height: 1.4; }
.on-page nav a:hover { color: var(--blue); }
.edit-link { display: block; margin-top: 25px; color: #5e73a1; font-size: 12px; }
.article-footer { margin-top: 65px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-footer p { display: inline; margin-right: 12px; font-size: 13px; font-weight: 700; }
.article-footer div { display: inline-flex; gap: 6px; }
.article-footer button { padding: 6px 11px; color: #53647a; background: #fff; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; }
.article-footer button:hover { color: var(--blue); border-color: #b6c8f5; }
.article-footer small { display: block; margin-top: 28px; color: #98a2b0; }
.search-panel { position: fixed; z-index: 40; top: 61px; left: 50%; width: min(620px, calc(100vw - 32px)); max-height: 430px; overflow-y: auto; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 22px 60px rgba(11,25,48,.2); transform: translateX(-50%); }
.search-label { margin: 7px 9px 10px; color: #8a96a7; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.search-result { display: block; padding: 12px; border-radius: 8px; }
.search-result:hover { background: var(--soft); }
.search-result strong { display: block; font-size: 14px; }
.search-result small { display: block; margin-top: 4px; color: var(--muted); }
.empty-search { padding: 24px 12px; color: var(--muted); text-align: center; }
@media (max-width: 1120px) {
  :root { --on-page: 0px; }
  .on-page { display: none; }
  .topbar { grid-template-columns: var(--sidebar) minmax(260px, 1fr) auto; }
}
@media (max-width: 780px) {
  .topbar { height: auto; min-height: 68px; grid-template-columns: 1fr auto; gap: 12px; padding: 13px 18px; }
  .brand img { width: 34px; height: 34px; }
  .top-search { grid-column: 1 / -1; grid-row: 2; }
  .top-actions { display: none; }
  .menu-button { display: block; }
  .docs-shell { display: block; }
  .sidebar { position: fixed; z-index: 30; top: 0; left: 0; width: min(88vw, 320px); height: 100vh; padding-top: 82px; box-shadow: 16px 0 42px rgba(11,25,48,.17); transform: translateX(-105%); transition: transform .2s ease; }
  .sidebar.open { transform: translateX(0); }
  .article { padding: 38px 22px 70px; }
  .category-grid { grid-template-columns: 1fr; }
  .media-placeholder { min-height: 220px; }
  .search-panel { top: 118px; }
}
