.docs-hub { padding-block: 70px 90px; }
.docs-intro { max-width: 780px; }
.docs-intro h1 { font-size: clamp(36px, 4vw, 60px); line-height: 1.08; letter-spacing: -2px; margin: 22px 0; }
.docs-intro > p:last-child { font-size: 18px; line-height: 1.8; color: var(--muted); max-width: 690px; }
.docs-home { font-size: 14px; font-weight: 600; }
.docs-language-note { margin-top: 22px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.docs-search { margin-top: 38px; max-width: 780px; }
.docs-search label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.docs-search input { width: 100%; min-height: 56px; padding: 15px 18px; border: 1px solid #a6bac9; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }
.docs-search input:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
#search-status { margin-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.6; }
#search-results { list-style: none; padding: 0; margin: 0; }
#search-results li { border-bottom: 1px solid var(--line); padding: 20px 0; }
#search-results a { display: block; color: var(--blue); font-size: 17px; font-weight: 600; }
#search-results small { display: block; margin-bottom: 7px; color: var(--muted); }
#search-results p { margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.docs-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px; margin-top: 60px; }
.docs-categories section { border-top: 2px solid var(--blue); padding-top: 24px; }
.docs-categories h2 { font-size: 29px; letter-spacing: -1px; margin-block: 20px 16px; }
.docs-categories section > p:not(.eyebrow) { font-size: 15px; color: var(--muted); line-height: 1.8; }
.docs-categories .text-link { margin-top: 20px; color: var(--blue); }
.doc-download { display: block; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; padding-block: 12px; }
.docs-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 64px; align-items: start; padding-block: 40px 80px; }
.docs-sidebar { position: sticky; top: 108px; max-height: calc(100vh - 140px); overflow: auto; padding-right: 16px; scrollbar-width: thin; }
.docs-sidebar summary { font-size: 13px; font-weight: 700; cursor: pointer; padding-block: 12px; }
.docs-sidebar ul { padding: 0; margin: 12px 0; list-style: none; }
.docs-sidebar li a { display: block; font-size: 12px; line-height: 1.65; padding: 9px 12px; border-left: 2px solid transparent; color: var(--muted); overflow-wrap: anywhere; }
.docs-sidebar a[aria-current] { border-color: var(--blue); background: #edf6fb; color: var(--ink); font-weight: 600; }
.docs-sidebar a:hover { color: var(--blue); }
.doc-main { min-width: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted); line-height: 1.7; margin: 10px 0 35px; }
.breadcrumbs a:hover { text-decoration: underline; }
.doc-title { margin-bottom: 28px; border-bottom: 1px solid var(--line); padding-bottom: 26px; }
.doc-title h1 { font-size: clamp(30px, 3vw, 43px); line-height: 1.18; letter-spacing: -1.3px; margin-top: 17px; text-wrap: initial; }
.doc-tools { display: flex; gap: 12px 25px; flex-wrap: wrap; align-items: center; margin-top: 22px; font-size: 12px; }
.doc-tools a, .doc-print { color: var(--blue); padding-block: 10px; }
.doc-print { border: 0; background: none; padding-inline: 0; font: inherit; }
.doc-article { font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.doc-article > p, .doc-article > ul, .doc-article > ol { margin-block: 20px; }
.doc-article h2 { font-size: 28px; margin: 48px 0 20px; letter-spacing: -.8px; text-wrap: initial; }
.doc-article h3 { font-size: 21px; margin: 32px 0 16px; text-wrap: initial; }
.doc-article h4 { font-size: 18px; }
.doc-article li { margin-block: 8px; }
.doc-article li p { margin-block: 8px; }
.doc-article ul, .doc-article ol { padding-left: 24px; }
.doc-article a { color: #0677a7; text-decoration: underline; text-underline-offset: 3px; }
.doc-article code { font-family: Consolas, monospace; font-size: .88em; background: #edf2f6; padding: 2px 5px; border-radius: 3px; }
.doc-article pre { padding: 20px; background: #142b3c; color: #eef6fc; overflow-x: auto; border-radius: 8px; font-size: 14px; line-height: 1.7; }
.doc-article pre code { background: none; padding: 0; font-size: inherit; }
.doc-article blockquote { margin: 25px 0; padding: 15px 22px; border-left: 3px solid var(--blue); background: #edf6fb; }
.doc-article hr { border: 0; border-top: 1px solid var(--line); margin-block: 35px; }
.doc-table { overflow-x: auto; margin-block: 25px; border: 1px solid var(--line); border-radius: 6px; }
.doc-table table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.65; }
.doc-table th, .doc-table td { padding: 12px 15px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); min-width: 135px; }
.doc-table th { background: #edf4f8; font-weight: 600; }
.doc-table tr:last-child td { border-bottom: none; }
.doc-table td { overflow-wrap: anywhere; }
.doc-figure { display: block; margin: 32px 0; }
.doc-figure > a { display: block; width: fit-content; max-width: 100%; }
.doc-figure img { width: 310px; border: 1px solid var(--line); border-radius: 12px; background: #f4f7fa; }
.doc-figure > span { display: block; font-size: 12px; color: var(--muted); margin-top: 10px; }
.on-this-page { margin-bottom: 30px; padding: 15px 20px; background: #f4f7fa; border-radius: 6px; font-size: 13px; }
.on-this-page summary { cursor: pointer; font-weight: 600; }
.source-reference { text-decoration: underline dotted #98a9b6; text-underline-offset: 3px; }
.chapter-index ol { list-style: none; padding: 0; }
.chapter-index li { border-top: 1px solid var(--line); margin: 0; }
.chapter-index a { display: block; padding: 14px 0; font-size: 15px; text-decoration: none; }
.doc-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; border-top: 1px solid var(--line); margin-top: 55px; padding-top: 25px; }
.doc-pagination a { font-size: 14px; line-height: 1.7; color: var(--blue); overflow-wrap: anywhere; }
.doc-pagination a span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.docs-footer { display: flex; gap: 30px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
@media (max-width: 1000px) {
  .docs-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 32px; }
  .docs-categories { gap: 25px; }
  .docs-categories h2 { font-size: 25px; }
}
@media (max-width: 700px) {
  .docs-hub { padding-block: 42px 55px; }
  .docs-home { font-size: 12px; margin-left: auto; }
  .docs-page .header-actions:empty { display: none; }
  .docs-page .header-inner { gap: 8px; }
  .docs-page .brand { font-size: 21px; }
  .docs-page .brand img { width: 29px; height: 29px; }
  .docs-page .languages a { padding-inline: 5px; font-size: 9px; }
  .docs-intro h1 { font-size: 38px; letter-spacing: -1.4px; }
  .docs-intro > p:last-child { font-size: 16px; }
  .docs-categories { grid-template-columns: 1fr; gap: 35px; margin-top: 40px; }
  .docs-categories h2 { font-size: 28px; }
  .docs-layout { display: block; padding-top: 20px; }
  .docs-sidebar { position: static; max-height: none; padding: 0; border-bottom: 1px solid var(--line); }
  .docs-sidebar details[open] nav { max-height: 310px; overflow: auto; }
  .docs-sidebar > .text-link { display: none; }
  .breadcrumbs { margin-block: 25px; }
  .doc-article { font-size: 15px; }
  .doc-title h1 { font-size: 30px; letter-spacing: -.8px; }
  .doc-article h2 { font-size: 25px; }
  .doc-article h3 { font-size: 20px; }
  .doc-pagination { gap: 20px; }
  .docs-footer { gap: 20px; flex-wrap: wrap; }
}
@media print {
  .docs-sidebar, .breadcrumbs, .doc-tools, .on-this-page, .doc-pagination, .docs-footer, .docs-search { display: none; }
  .docs-layout { display: block; padding: 0; }
  .doc-title h1 { font-size: 28px; }
  .doc-article { font-size: 11pt; }
  .doc-figure img { width: 210px; }
  .doc-figure { break-inside: avoid; }
  .doc-table { overflow: visible; }
  .doc-article pre { white-space: pre-wrap; overflow-wrap: anywhere; }
}
