#guide { background: var(--surface); min-height: calc(100vh - 56px); }
#guide .docs-product-nav { align-items: center; background: rgba(255, 253, 248, .97); border-bottom: 1px solid var(--line); display: flex; gap: 22px; min-height: 48px; padding: 0 24px; position: sticky; top: 56px; z-index: 69; }
#guide .docs-product-nav strong { margin-right: 10px; }
#guide .docs-product-nav a { color: var(--muted); text-decoration: none; }
#guide .docs-product-nav a:hover { color: var(--ink); }
#guide .layout { display: grid; grid-template-columns: 288px minmax(0, 1fr) 270px; min-height: calc(100vh - 56px); }
#guide .sidebar { align-self: start; background: var(--surface); border-right: 1px solid var(--line); height: calc(100vh - 104px); overflow-y: auto; padding: 20px 15px 50px; position: sticky; top: 104px; }
#guide .search-box { align-items: center; border: 1px solid var(--line); border-radius: 8px; display: flex; gap: 8px; margin-bottom: 20px; padding: 0 10px; }
#guide .search-box input { background: transparent; border: 0; box-shadow: none; min-height: 38px; padding: 0; }
#guide .search-box kbd { color: var(--muted); font: 10px var(--font); }
#guide .nav-group { margin-top: 14px; }
#guide .nav-group-title { align-items: center; background: transparent; border: 0; color: var(--ink); display: flex; font-size: 12px; font-weight: 700; justify-content: space-between; padding: 8px 9px; width: 100%; }
#guide .docs-provider-group .nav-group-title small { color: var(--muted); font-size: 10px; font-weight: 600; }
#guide .nav-group-title svg { transition: transform .15s ease; }
#guide .nav-group.collapsed .nav-group-title svg { transform: rotate(-90deg); }
#guide .nav-group.collapsed .nav-group-items { display: none; }
#guide .nav-group-items { display: grid; gap: 2px; }
#guide .nav-item { border-radius: 7px; color: var(--muted); display: flex; font-size: 13px; justify-content: space-between; padding: 7px 9px; text-decoration: none; }
#guide .nav-item:hover, #guide .nav-item.active { background: var(--accent-soft); color: var(--accent-strong); }
#guide .nav-badge { background: var(--accent); border-radius: 999px; color: #fff; font-size: 9px; padding: 2px 5px; }
#guide .content { min-width: 0; padding: 50px 46px 100px; }
#guide .content-inner { margin: 0 auto; max-width: 760px; }
#guide [data-page] { display: none; }
#guide [data-page].current { display: block; }
#guide .page-head { border-bottom: 1px solid var(--line); margin-bottom: 34px; padding-bottom: 28px; }
#guide .page-eyebrow { color: var(--accent-strong); font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
#guide .page-head h1 { font-size: clamp(38px, 5vw, 56px); margin-top: 7px; }
#guide .page-desc { color: var(--muted); font-size: 16px; margin-top: 9px; max-width: 620px; }
#guide .content h2 { font-size: 25px; margin: 44px 0 14px; scroll-margin-top: 80px; }
#guide .content h3 { font-size: 19px; margin: 28px 0 10px; }
#guide .content p, #guide .content li { color: var(--ink-soft); }
#guide .content a { color: var(--accent-strong); }
#guide .steps-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
#guide .step-card { border: 1px solid var(--line); border-radius: var(--radius); min-height: 150px; padding: 18px; }
#guide .step-num { align-items: center; background: var(--accent-soft); border-radius: 999px; color: var(--accent-strong); display: inline-flex; font: 700 12px var(--mono); height: 28px; justify-content: center; width: 28px; }
#guide .step-title { font-weight: 700; margin-top: 22px; }
#guide .step-desc { color: var(--muted); font-size: 13px; margin-top: 4px; }
#guide .codeblock { background: #17151d; border: 1px solid #282530; border-radius: var(--radius); color: #f7f4ec; overflow: hidden; }
#guide .code-head { align-items: center; border-bottom: 1px solid #302d37; color: #bdb8c6; display: flex; justify-content: space-between; padding: 8px 12px; }
#guide .code-label { font: 11px var(--mono); }
#guide .copy-btn { background: transparent; border: 0; color: #d8d3df; font-size: 11px; }
#guide pre { margin: 0; overflow-x: auto; padding: 18px; }
#guide pre code { font-size: 12px; line-height: 1.7; }
#guide .tk-key { color: #c7a8ff; }
#guide .tk-str { color: #9de4c8; }
#guide .tk-dim { color: #aaa5b1; }
#guide .callout { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 20px 0; padding: 14px 16px; }
#guide .callout-title { color: var(--accent-strong); font-weight: 700; }
#guide .copyline { align-items: center; background: #f1eee7; border: 1px solid var(--line); border-radius: var(--radius-sm); display: flex; gap: 10px; justify-content: space-between; padding: 10px 12px; }
#guide .copyline-text { overflow-wrap: anywhere; }
#guide .copyline-btn { background: var(--card); border: 1px solid var(--line); border-radius: 6px; height: 30px; width: 34px; }
#guide .copyline-label { font-size: 12px; font-weight: 700; margin: 13px 0 6px; }
#guide .steps-list, #guide .next-list { display: grid; gap: 10px; padding-left: 0; }
#guide .steps-list { list-style: none; }
#guide .steps-list li { align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); display: flex; gap: 12px; padding: 12px; }
#guide .next-list { padding-left: 20px; }
#guide .endpoint-card, #guide .faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 8px 0; overflow: hidden; }
#guide .endpoint-row, #guide .faq-item > button { align-items: center; background: var(--card); border: 0; display: flex; gap: 10px; padding: 12px 14px; text-align: left; width: 100%; }
#guide .endpoint-sub, #guide .faq-body { border-top: 1px solid var(--line); color: var(--muted); padding: 12px 14px; }
#guide .faq-body { display: none; }
#guide .faq-item.open .faq-body { display: block; }
#guide .badge-post { background: var(--accent-soft); color: var(--accent-strong); }
#guide .badge-get { background: var(--ok-bg); color: var(--ok); }
#guide .endpoint-protocol { width: 42%; }
#guide .toc { align-self: start; border-left: 1px solid var(--line); height: calc(100vh - 104px); overflow-y: auto; padding: 50px 24px; position: sticky; top: 104px; }
#guide .toc-title { color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .07em; margin-bottom: 9px; text-transform: uppercase; }
#guide .toc a { border-left: 1px solid var(--line); color: var(--muted); display: block; font-size: 12px; padding: 5px 0 5px 12px; text-decoration: none; }
#guide .toc a.active { border-left-color: var(--accent); color: var(--accent-strong); }
#guide .toc-sub { padding-left: 22px !important; }
#guide .hamburger { background: var(--card); border: 1px solid var(--line); border-radius: 7px; display: none; left: 12px; padding: 9px; position: fixed; top: 68px; z-index: 75; }
#guide .overlay { display: none; }

@media (max-width: 1120px) {
  #guide .layout { grid-template-columns: 250px minmax(0, 1fr); }
  #guide .toc { display: none; }
}
@media (max-width: 780px) {
  #guide .layout { display: block; }
  #guide .hamburger { display: block; }
  #guide .docs-product-nav { gap: 14px; overflow-x: auto; padding: 0 16px; }
  #guide .sidebar { box-shadow: var(--shadow); height: calc(100vh - 104px); left: 0; position: fixed; top: 104px; transform: translateX(-105%); transition: transform .18s ease; width: 280px; z-index: 74; }
  #guide .sidebar.open { transform: translateX(0); }
  #guide .overlay.show { background: rgba(20, 18, 31, .3); display: block; inset: 104px 0 0; position: fixed; z-index: 73; }
  #guide .content { padding: 70px 18px 80px; }
  #guide .steps-grid { grid-template-columns: 1fr; }
}
