.documentation-page { background: #fff; }
.docs-hero { padding: 40px 0 30px; background: #fff; }
.docs-breadcrumb { margin-bottom: 12px; color: #748092; font-size: 12px; }
.docs-breadcrumb span { margin: 0 10px; color: #b9c1ca; }
.docs-hero h1 { margin: 0; color: var(--navy); font-size: clamp(26px, 3vw, 36px); line-height: 1.35; letter-spacing: -.045em; }
.docs-hero p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.docs-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 52px; align-items: start; padding-top: 36px; padding-bottom: 72px; }
.docs-sidebar { position: sticky; top: 96px; max-height: calc(100dvh - 120px); overflow-y: auto; scrollbar-width: thin; padding: 0 20px 0 0; border-right: 1px solid #e9edf1; }
.docs-toc summary { padding: 0 8px 6px; color: var(--navy); font-size: 13px; font-weight: 750; cursor: pointer; }
.docs-nav-group { margin: 20px 8px 7px; color: #84909e; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.docs-toc nav a { display: block; margin: 2px 0; padding: 7px 9px; border-radius: 5px; color: #536276; font-size: 13px; line-height: 1.55; }
.docs-toc nav a:hover { color: var(--brand-dark); background: #faf5f2; }
.docs-toc nav a[aria-current="location"] { color: var(--brand-dark); background: var(--brand-soft); font-weight: 750; box-shadow: inset 2px 0 var(--brand); }
.docs-help { margin: 24px 8px 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; }
.docs-help strong { display: block; margin-bottom: 8px; color: var(--navy); }
.docs-help a { display: flex; justify-content: space-between; padding: 5px 0; color: #657387; }
.docs-content { min-width: 0; }
.docs-intro { padding: 0 0 26px; border-bottom: 1px solid var(--line); }
.docs-label { color: var(--brand); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.docs-intro h2 { margin: 7px 0 8px; font-size: 23px; color: var(--navy); letter-spacing: -.035em; }
.docs-intro p { margin: 0 0 10px; color: #526176; font-size: 14px; }
.docs-intro small { display: block; max-width: 650px; font-size: 12px; color: #7a8694; }
.docs-article { padding: 34px 0 38px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.docs-section-label { color: #7f8b99; font-size: 11px; font-weight: 650; }
.docs-section-label span { margin: 0 8px; color: #c4ccd5; }
.docs-article h2 { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 11px; color: var(--navy); font-size: 26px; line-height: 1.4; letter-spacing: -.035em; }
.docs-permalink { color: #b6bec8; font-size: 19px; font-weight: 400; }
.docs-permalink:hover { color: var(--brand); }
.docs-lead { max-width: 760px; margin: 0 0 22px; color: #526176; font-size: 15px; line-height: 1.8; }
.docs-figure { margin: 22px 0 26px; }
.docs-figure > a { position: relative; display: block; overflow: hidden; border: 1px solid #dce3eb; border-radius: 8px; background: #f7f9fc; cursor: zoom-in; }
.docs-figure img { width: 100%; height: auto; }
.docs-figure a:hover { border-color: #a8b8ca; box-shadow: 0 5px 20px #17263f0a; }
.docs-enlarge { position: absolute; right: 10px; bottom: 10px; padding: 4px 9px; color: #fff; background: #17263fe8; border-radius: 4px; font-size: 10px; }
.docs-figure figcaption { margin-top: 9px; color: #7a8696; font-size: 12px; text-align: center; }
.docs-figure-detail { max-width: 560px; }
.docs-steps { margin: 0; padding: 0; list-style: none; counter-reset: docs-step; }
.docs-steps li { position: relative; margin: 0 0 19px; padding-left: 35px; counter-increment: docs-step; }
.docs-steps li::before { position: absolute; top: 2px; left: 0; display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid #e0e6ee; border-radius: 50%; color: #56677c; background: #f6f8fa; font-size: 11px; font-weight: 750; content: counter(docs-step); }
.docs-steps strong { display: block; margin: 0 0 4px; color: #24364c; font-size: 15px; }
.docs-steps p { margin: 0; color: #59697a; font-size: 14px; line-height: 1.85; }
.docs-note { margin-top: 24px; padding: 15px 19px; border-left: 3px solid #e4af81; border-radius: 0 5px 5px 0; background: #fffbf5; }
.docs-note strong { color: #795538; font-size: 12px; }
.docs-note p { margin: 5px 0 0; color: #74695f; font-size: 13px; line-height: 1.75; }
.docs-related { display: inline-block; margin-top: 20px; color: var(--brand-dark); font-size: 13px; font-weight: 700; }
.docs-related:hover { text-decoration: underline; text-underline-offset: 4px; }
.docs-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding-top: 28px; color: #58687e; font-size: 13px; }
.docs-bottom a:first-child { color: var(--brand-dark); font-weight: 750; }
.docs-lightbox { width: min(1540px, calc(100vw - 40px)); max-width: calc(100vw - 40px); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 10px; background: #f4f6f8; box-shadow: 0 30px 100px #0004; }
.docs-lightbox::backdrop { background: #101e34bf; }
.docs-lightbox-bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 20px; background: #fff; border-bottom: 1px solid #e2e6ea; }
.docs-lightbox-bar p { margin: 0; color: var(--navy); font-size: 13px; }
.docs-lightbox-bar button { flex-shrink: 0; padding: 7px 13px; border: 1px solid #d7dfe9; border-radius: 5px; background: #fff; color: var(--navy); cursor: pointer; font-size: 13px; }
.docs-lightbox-bar button span { margin-left: 10px; font-size: 18px; }
.docs-lightbox-image { padding: 12px; }
.docs-lightbox-image img { width: auto; max-width: 100%; height: auto; margin: auto; }
.documentation-page a:focus-visible, .documentation-page summary:focus-visible, .docs-lightbox button:focus-visible { outline: 2px solid #1769aa; outline-offset: 3px; }
html.docs-modal-open { overflow: hidden; }
#guide-top { scroll-margin-top: 80px; }
@media (max-width: 1050px) {
  .docs-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 28px; }
  .docs-sidebar { padding-right: 12px; }
}
@media (max-width: 760px) {
  .docs-hero { padding: 26px 0 21px; }
  .docs-hero p { font-size: 14px; }
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 20px; padding-bottom: 42px; }
  .docs-sidebar { position: static; max-height: none; padding: 0; border: 0; }
  .docs-toc { padding: 14px; border: 1px solid #e2e6ea; border-radius: 7px; background: #fafbfc; }
  .docs-toc summary { padding: 0; }
  .docs-toc nav { padding-top: 8px; }
  .docs-nav-group { margin-top: 14px; }
  .docs-help { display: none; }
  .docs-article { padding: 27px 0; scroll-margin-top: 82px; }
  .docs-article h2 { font-size: 23px; }
  .docs-lead { font-size: 14px; }
  .docs-steps li { padding-left: 32px; }
  .docs-lightbox { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .docs-lightbox-bar { padding: 10px 12px; gap: 10px; }
  .docs-lightbox-image { overflow: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.docs-shortcuts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 20px; font-size: 13px; font-weight: 700; color: var(--brand-dark); }
.docs-shortcuts a:hover { text-decoration: underline; text-underline-offset: 4px; }
