/* ==========================================================================
   SynaptikDocs Theme — style.css
   ========================================================================== */
@import url('https://fonts.bunny.net/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
/* ── Tokens ── */
:root {
  --accent:        #4e9c59;
  --accent-dark:   #3a8a46;
  --accent-light:  #60c06e;
  --accent-subtle: rgba(79,167,92,.1);
  --accent-glow:   rgba(79,167,92,.2);
  --accent-border: rgba(79,167,92,.3);
  --bg:            #1a1a21;
  --bg-surface:    #141419;
  --bg-elevated:   #212129;
  --bg-hover:      rgba(255,255,255,.05);
  --bg-code:       #151517;
  --border:        rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.14);
  --text:          #e4e4ec;
  --text-white:    #fff;
  --text-muted:    #b4b4cc;
  --text-faint:    #8585a0;
  --text-code:     #5eead4;
  --sidebar-w:     268px;
  --toc-w:         224px;
  --topbar-h:      58px;
  --content-max:   900px;
  --font:          'Inter', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', 'Fira Mono', monospace;
  --ease:          cubic-bezier(.4,0,.2,1);
  --ease-spring:   cubic-bezier(.34,1.56,.64,1);
  /* Search Palette */
  --search-overlay-bg:        #141419;
  --search-card-bg:           #212129;
  --search-card-bg-hover:     #1a1a21;
  --search-accent:            #5cb86a;
  --search-accent-dark:       #3a8a46;
  --search-accent-light:      #6fd87e;
  --search-text:              rgba(255,255,255,.88);
  --search-section-heading:   rgba(255,255,255,.5);
  --search-radius:            4px;
}
/* ── Light theme tokens ── */
[data-theme="light"] {
  --bg:            #f8f8f8;
  --bg-surface:    #eeeff3;
  --bg-elevated:   #e8e9ef;
  --bg-hover:      rgba(0,0,0,.05);
  --bg-code:       #f0f1f5;
  --border:        rgba(0,0,0,.10);
  --border-strong: rgba(0,0,0,.18);
  --text:          #1a1a2e;
  --text-white:    #fff;
  --text-muted:    #4a4a68;
  --text-faint:    #6e6e8a;
  --text-code:     #0e7490;
  --accent-subtle: rgba(79,167,92,.08);
  --accent-glow:   rgba(79,167,92,.15);
  --accent-border: rgba(79,167,92,.25);
  --search-overlay-bg:      #e8e8f0;
  --search-card-bg:         #ffffff;
  --search-card-bg-hover:   #f0f1f5;
  --search-text:            rgba(0,0,0,.85);
  --search-section-heading: rgba(0,0,0,.45);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 24px); }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; min-height: 100vh; }
a { color: var(--accent); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--accent-light); }
img { max-width: 100%; height: auto; display: block; }
/* ── Animations ── */
@keyframes fadeIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
.docs-fade-in { animation: fadeIn .35s var(--ease) both; }
/* ==========================================================================
   Layout
   ========================================================================== */
.docs-main {margin-left: var(--sidebar-w); min-height: 100vh; display: flex; flex-direction: column; transition: margin-left .3s var(--ease);}
/* ==========================================================================
   Topbar — fixed, full width, above sidebar
   ========================================================================== */
.docs-topbar {position: fixed; top: var(--snk-adminbar-height, 0px); left: 0; right: 0; z-index: 300; height: var(--topbar-h); background: rgba(20,20,25,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 24px; gap: 16px; flex-shrink: 0;}
.topbar-logo { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: .9rem; flex-shrink: 0; }
.topbar-logo:hover { color: var(--text); }
.topbar-logo-mark { width: 26px; height: 26px; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; box-shadow: 0 2px 8px var(--accent-glow); }
.topbar-logo-mark img { width: 26px; height: 26px; object-fit: contain; border-radius: 4px; border: none; margin: 0; }
.topbar-logo-mark:has(img) { background: none; box-shadow: none; }
.topbar-nav { flex: 1; overflow: visible; }
.topbar-nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; overflow-x: clip; scrollbar-width: none; }
.topbar-nav > ul::-webkit-scrollbar { display: none; }
.topbar-nav > ul > li { position: relative; }
.topbar-nav > ul > li > a { display: block; padding: 6px 10px; font-size: .83rem; color: var(--text-muted); border-radius: 6px; white-space: nowrap; transition: background .15s var(--ease), color .15s var(--ease); }
.topbar-nav > ul > li > a:hover { background: var(--bg-hover); color: var(--text); }
.topbar-nav li.has-submenu > ul { position: absolute; top: calc(100% + 6px); left: 0; min-width: 200px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 10px; padding: 6px; box-shadow: 0 8px 32px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.97); transition: all .2s var(--ease); z-index: 200; list-style: none; }
.topbar-nav li.has-submenu:hover > ul { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.topbar-nav li.has-submenu > ul li a { display: block; padding: 7px 10px; font-size: .82rem; color: var(--text-muted); border-radius: 6px; transition: background .12s var(--ease), color .12s var(--ease); }
.topbar-nav li.has-submenu > ul li a:hover { background: var(--bg-hover); color: var(--text); }
.topbar-nav li.has-submenu > a::after { content: ' ▾'; font-size: .65em; opacity: .5; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.topbar-search-btn { display: flex; align-items: center; gap: 8px; padding: 5px 12px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 7px; color: var(--text-muted); font-size: .8rem; font-family: var(--font); cursor: pointer; white-space: nowrap; transition: border-color .15s var(--ease), color .15s var(--ease); }
.topbar-search-btn:hover { border-color: var(--accent); color: var(--text); }
.topbar-search-btn kbd { display: inline-block; padding: 1px 5px; background: var(--bg-hover); border: 1px solid var(--border-strong); border-radius: 4px; font-size: .7rem; font-family: var(--font); color: var(--text-muted); }
.topbar-github { display: flex; align-items: center; color: var(--text-muted); padding: 6px; border-radius: 6px; transition: color .15s var(--ease), background .15s var(--ease); }
.topbar-github:hover { color: var(--text); background: var(--bg-hover); }
.search-icon-wrap { list-style: none; }
#close-search {border:none;}
/* Documentation badges — shields.io look, zero external deps */
.badge {padding: 0 !important;}
.doc-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1rem; }
.doc-badges .badge { display: inline-flex; font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1; border-radius: 3px; overflow: hidden; text-decoration: none; height: 25px; }
.doc-badges .badge-label, .doc-badges .badge-value { display: inline-flex; align-items: center; padding: 0 6px; color: #fff; }
.doc-badges .badge-label { background: #555; }
/* ==========================================================================
   Sidebar — starts below the topbar
   ========================================================================== */
.docs-sidebar { position: fixed; top: calc(var(--snk-adminbar-height, 0px) + var(--topbar-h)); left: 0; bottom: 0; width: var(--sidebar-w); background: var(--bg-surface); border-right: 1px solid var(--border); display: flex; flex-direction: column; z-index: 200; transition: transform .3s var(--ease); }
.sidebar-scroll { flex: 1; overflow-y: auto; padding: 14px 10px 16px; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
.sidebar-scroll::-webkit-scrollbar { width: 3px; }
.sidebar-scroll::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }
.sidebar-list { list-style: none; }
.sidebar-list li a { display: block; padding: 6px 10px; border-radius: 6px; font-size: .855rem; color: var(--text-muted); transition: background .15s var(--ease), color .15s var(--ease); line-height: 1.45; position: relative; }
.sidebar-list li a::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%) scaleY(0); width: 2px; height: 14px; background: var(--accent); border-radius: 1px; transition: transform .2s var(--ease); }
.sidebar-list li a:hover { background: var(--bg-hover); color: var(--text); }
.sidebar-list li a.active { background: var(--accent-subtle); color: var(--accent-light); font-weight: 500; }
.sidebar-list li a.active::before { transform: translateY(-50%) scaleY(1); }
.sidebar-group { margin-top: 18px; }
.sidebar-group-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 5px 10px; background: none; border: none; cursor: pointer; color: var(--text); font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-family: var(--font); transition: color .15s var(--ease); border-radius: 4px; }
.sidebar-group-btn:hover { color: var(--text); background: var(--bg-hover); }
.sidebar-group-chevron { flex-shrink: 0; transition: transform .25s var(--ease); opacity: .5; }
.sidebar-group-btn[aria-expanded="false"] .sidebar-group-chevron { transform: rotate(-90deg); }
.sidebar-group .sidebar-list { overflow: hidden; transition: max-height .3s var(--ease), opacity .25s var(--ease); max-height: 2000px; opacity: 1; }
.sidebar-group .sidebar-list.is-collapsed { max-height: 0; opacity: 0; }
/* ── Collapse button ── */
.sidebar-collapse-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 12px 18px; background: none; border: none; border-top: 1px solid var(--border); cursor: pointer; color: var(--text); transition: color .15s var(--ease), background .15s var(--ease); flex-shrink: 0; }
.sidebar-collapse-btn:hover { color: #fff; background: var(--bg-hover); }
.sidebar-collapse-btn svg { transition: transform .3s var(--ease); width: 18px; height: 18px; }
/* ── Collapsed state ── */
body.sidebar-collapsed .docs-sidebar { transform: translateX(-100%); }
body.sidebar-collapsed .docs-main { margin-left: 0; }
/* ── Sidebar toggle button (topbar) ── */
.docs-sidebar-toggle { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: none; border: none; border-radius: 6px; color: var(--text-muted); cursor: pointer; padding: 0; transition: color .15s var(--ease), background .15s var(--ease); flex-shrink: 0; }
.docs-sidebar-toggle:hover { color: var(--text); background: var(--bg-hover); }
body.sidebar-collapsed .docs-sidebar-toggle { color: var(--accent); }
/* Group icon — hidden by default, visible when collapsed */
.sidebar-group-icon { display: none; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 6px; font-size: .65rem; font-weight: 700; letter-spacing: .03em; color: var(--text-muted); background: var(--bg-elevated); flex-shrink: 0; transition: color .15s var(--ease), background .15s var(--ease); }
body.sidebar-collapsed .sidebar-group-btn:hover .sidebar-group-icon { color: var(--text); background: var(--bg-hover); }
/* ==========================================================================
   Main — offset by topbar height
   ========================================================================== */
.docs-main { padding-top: var(--topbar-h); }
/* ==========================================================================
   Burger + overlay
   ========================================================================== */
.docs-burger { display: none; position: fixed; top: 12px; right: 16px; z-index: 400; width: 38px; height: 38px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 7px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; transition: border-color .15s var(--ease); }
.docs-burger:hover { border-color: var(--accent); }
.docs-burger span { display: block; width: 16px; height: 1.5px; background: var(--text-muted); border-radius: 1px; transition: transform .22s var(--ease), opacity .22s var(--ease), width .22s var(--ease); transform-origin: center; }
.docs-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.docs-burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.docs-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 190; backdrop-filter: blur(3px); }
.sidebar-overlay.is-visible { display: block; }
/* ==========================================================================
   Content
   ========================================================================== */
.docs-content { flex: 1; padding: 44px 44px 80px; }
.docs-page-layout { display: flex; gap: 52px; max-width: calc(var(--content-max) + var(--toc-w) + 52px); margin: 0 auto; }
.docs-article { flex: 1; min-width: 0; max-width: var(--content-max); }
/* ── Article header ── */
.docs-article-header { margin-bottom: 32px; }
.docs-article-category { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 10px; }
.docs-article-category:hover { color: var(--accent-light); }
.docs-page-title { font-size: 1.95rem; font-weight: 700; letter-spacing: -.025em; color: var(--text); line-height: 1.22; margin-bottom: 10px; }
.docs-page-lead { font-size: 1.05rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 28px; max-width: 640px; }
.docs-article-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--text-faint); padding-top: 16px; margin-top: 16px; }
.docs-article-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.docs-tag { padding: 2px 8px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 20px; font-size: .72rem; color: var(--text-muted); transition: border-color .15s var(--ease), color .15s var(--ease); }
.docs-tag:hover { border-color: var(--accent); color: var(--accent-light); }
.docs-meta { font-size: .8rem; color: var(--text-faint); margin-bottom: 24px; }
.docs-featured-image { margin: 0 0 32px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.docs-featured-image img { width: 100%; max-height: 440px; object-fit: cover; }
/* ── Body typography ── */
.docs-body { font-size: .9375rem; line-height: 1.75; }
.docs-body > * + * { margin-top: 1em; }
.docs-body a { text-decoration-color: var(--accent-border); text-underline-offset: 2px; }
.docs-body a:hover { text-decoration-color: var(--accent); }
.docs-body h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.015em; color: var(--text); margin: 44px 0 14px; padding-top: 10px; scroll-margin-top: calc(var(--topbar-h) + 24px); line-height: 1.3; }
.docs-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.docs-body h3 { font-size: 1.1rem; font-weight: 600; color: var(--text); margin: 30px 0 10px; scroll-margin-top: calc(var(--topbar-h) + 24px); line-height: 1.4; }
.docs-body h4 { font-size: .9rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin: 22px 0 8px; }
.docs-body p { margin-bottom: 14px; }
.docs-body ul, .docs-body ol { padding-left: 22px; margin-bottom: 14px; }
.docs-body ul { list-style: disc; }
.docs-body ol { list-style: decimal; }
.docs-body li { margin-bottom: 5px; }
.docs-body li > ul, .docs-body li > ol { margin: 6px 0 0; }
.docs-body strong { font-weight: 600; color: var(--text); }
.docs-body em { font-style: italic; }
.docs-body hr { border: none; border-top: 1px solid var(--border); margin: 40px 0px;}
.docs-body code { font-family: var(--font-mono); font-size: .82em; background: var(--bg-code); border: 1px solid var(--border); border-radius: 5px; padding: 2px 7px; color: var(--text-code); }
.docs-body pre { background: var(--bg-code) !important; border: 1px solid var(--border); border-radius: 4px; padding: 0; margin: 20px 0; overflow: hidden; position: relative; }
.docs-body pre code { display: block; padding: 18px 20px; overflow-x: auto; font-size: .82rem; line-height: 1.65; background: none !important; border: none; border-radius: 0; color: inherit; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.docs-body pre code::-webkit-scrollbar { height: 4px; }
.docs-body pre code::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }
.docs-body table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 20px 0; font-size: .875rem; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.docs-body th { background: var(--bg-surface); color: var(--text-muted); font-weight: 500; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; padding: 10px 16px; text-align: left; border-bottom: 1px solid var(--border-strong); border-right: 1px solid var(--border); }
.docs-body th:last-child { border-right: none; }
.docs-body td { padding: 10px 16px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); vertical-align: top; line-height: 1.55; transition: background .15s var(--ease); }
.docs-body td:last-child { border-right: none; }
.docs-body tr:last-child td { border-bottom: none; }
.docs-body tbody tr:nth-child(even) td { background: rgba(255,255,255,.03); }
.docs-body tbody tr:nth-child(odd) td { background: transparent; }
[data-theme="light"] .docs-body tbody tr:nth-child(even) td { background: rgba(0,0,0,.03); }
.docs-body tbody tr:hover td { background: rgba(184,184,191,.13); }
[data-theme="light"] .docs-body tbody tr:hover td { background: rgba(0,0,0,.05); }
.docs-body td code { font-size: .8em; }
.sc-callout-body {color: #eee;}
.docs-body blockquote { border-left: 3px solid var(--accent); padding: 14px 18px; margin: 22px 0; background: var(--accent-subtle); border-radius: 0 4px 4px 0; color: #eee; }
.docs-body .sc-callout { border-radius: 4px; padding: 14px 18px; margin: 20px 0; font-size: .9rem; border: 1px solid; }
.docs-body .sc-callout-info    { background: rgba(59, 130, 246, 0.26); border-color: rgba(59,130,246,.3); }
.docs-body .sc-callout-warning { background: rgba(245, 158, 11, 0.249); border-color: rgba(245,158,11,.3); }
.docs-body .sc-callout-danger  { background: rgba(239, 68, 68, 0.236);  border-color: rgba(239,68,68,.3); }
.docs-body .sc-callout-tip     { background: var(--accent-subtle); border-color: var(--accent-border); }
.docs-body img { border-radius: 4px; border: 1px solid var(--border); margin: 20px 0; }
/* ── Columns ── */
.content-columns { display: flex; flex-wrap: wrap; gap: 20px; margin: 1em 0; width: 100%; box-sizing: border-box; }
.column { padding: 15px; border-radius: 6px; border: 1px solid var(--border); box-sizing: border-box; min-height: 60px; transition: flex-basis 0.3s ease; }
/* Default (large screens): 4 columns */
.columns-4 .column { flex: 0 0 calc(25% - 15px); }
.columns-3 .column { flex: 0 0 calc(33.333% - 14px); }
.columns-2 .column { flex: 0 0 calc(50% - 10px); }
/* ==========================================================================
   TOC
   ========================================================================== */
.docs-toc { width: var(--toc-w); flex-shrink: 0; position: sticky; top: calc(var(--topbar-h) + 28px); max-height: calc(100vh - var(--topbar-h) - 56px); overflow-y: auto; align-self: flex-start; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.toc-title { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint); margin-bottom: 12px; padding-left: 4px; }
.toc-list { list-style: none; border-left: 1px solid var(--border); padding-left: 14px; }
.toc-list li a { display: block; padding: 4px 6px; font-size: .79rem; color: var(--text-muted); border-radius: 4px; line-height: 1.45; transition: color .15s var(--ease); }
.toc-list li a:hover, .toc-list li a.toc-active { color: var(--accent-light); background: var(--bg-hover); }
.toc-h3 { padding-left: 12px; }
.toc-h3 a { font-size: .76rem; }
.toc-h4 { padding-left: 24px; }
.toc-h4 a { font-size: .73rem; color: var(--text-faint); }
/* ==========================================================================
   Pagination
   ========================================================================== */
.docs-pagination { display: flex; gap: 14px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--border); }
.docs-pagination-prev, .docs-pagination-next { display: flex; flex-direction: column; gap: 5px; padding: 16px 20px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 10px; flex: 1; transition: border-color .18s var(--ease), background .18s var(--ease); color: inherit; }
.docs-pagination-prev { align-items: flex-start; }
.docs-pagination-next { align-items: flex-end; }
.docs-pagination-prev:hover, .docs-pagination-next:hover { border-color: var(--accent); background: var(--accent-subtle); color: inherit; }
.pagination-label { font-size: .72rem; color: var(--text-faint); font-weight: 500; }
.pagination-title { font-size: .88rem; color: var(--text); font-weight: 500; line-height: 1.4; }
/* ==========================================================================
   Homepage
   ========================================================================== */
.docs-home { max-width: calc(var(--content-max) + 40px); margin: 0 auto; }
.docs-hero { padding: 56px 0 52px; border-bottom: 1px solid var(--border); margin-bottom: 52px; }
.docs-hero-badge { display: inline-flex; align-items: center; padding: 4px 12px; background: var(--accent-subtle); border: 1px solid var(--accent-border); border-radius: 20px; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-light); margin-bottom: 18px; }
.docs-hero-title { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; letter-spacing: -.04em; color: var(--text); line-height: 1.1; margin-bottom: 16px; }
.docs-hero-lead { font-size: 1.08rem; color: var(--text-muted); line-height: 1.65; max-width: 600px; margin-bottom: 32px; }
.docs-hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.docs-btn-primary { display: inline-flex; align-items: center; padding: 10px 22px; background: var(--accent); color: #fff; border-radius: 8px; font-weight: 600; font-size: .9rem; text-decoration: underline; text-decoration-color: transparent; transition: background .15s var(--ease), box-shadow .15s var(--ease); }
.docs-btn-primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 4px 16px var(--accent-glow); }
.docs-btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 8px; color: var(--text-muted); font-size: .9rem; transition: border-color .15s var(--ease), color .15s var(--ease); }
.docs-btn-ghost:hover { border-color: var(--border-strong); color: var(--text); }
.docs-home-section { margin-bottom: 52px; }
.docs-home-section-title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint); margin-bottom: 18px; border: none !important; padding: 0 !important; margin-top: 0 !important; }
.docs-home-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(230px,1fr)); gap: 12px; }
.docs-home-card { display: flex; align-items: flex-start; gap: 14px; padding: 18px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 10px; color: inherit; transition: border-color .18s var(--ease), background .18s var(--ease); }
.docs-home-card:hover { border-color: var(--accent); background: var(--bg-elevated); color: inherit; }
.docs-home-card-icon { width: 36px; height: 36px; background: var(--accent-subtle); border: 1px solid var(--accent-border); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; transition: background .18s var(--ease); }
.docs-home-card:hover .docs-home-card-icon { background: var(--accent); color: #fff; }
.docs-home-card-body { flex: 1; min-width: 0; }
.docs-home-card-title { font-size: .9rem; font-weight: 600; color: var(--text); margin-bottom: 4px; line-height: 1.35; }
.docs-home-card-desc { font-size: .8rem; color: var(--text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.docs-home-card-arrow { color: var(--accent); font-size: .9rem; flex-shrink: 0; margin-top: 2px; transition: transform .15s var(--ease); }
.docs-home-card:hover .docs-home-card-arrow { transform: translateX(4px); }
.docs-home-articles { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.docs-home-article-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--border); color: inherit; transition: background .15s var(--ease); }
.docs-home-article-row:last-child { border-bottom: none; }
.docs-home-article-row:hover { background: var(--bg-hover); }
.docs-home-article-info { display: flex; align-items: center; gap: 10px; min-width: 0; }
.docs-home-article-title { font-size: .875rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.docs-home-article-cat { display: inline-block; padding: 2px 8px; background: var(--accent-subtle); border-radius: 20px; font-size: .68rem; color: var(--accent-light); white-space: nowrap; flex-shrink: 0; }
.docs-home-article-date { font-size: .75rem; color: var(--text-faint); white-space: nowrap; flex-shrink: 0; }
.doc-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 16px 0; }
.doc-badges img { display: block; }
.doc-links { margin: 12px 0 24px; }
 /* ---- Highlight.js -----  */
pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}
.hljs{color:#c9d1d9;background:#0d1117}
.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}
.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}
.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#79c0ff}
.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#a5d6ff}
.hljs-built_in,.hljs-symbol{color:#ffa657}
.hljs-code,.hljs-comment,.hljs-formula{color:#8b949e}
.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#7ee787}
.hljs-subst{color:#c9d1d9}
.hljs-section{color:#1f6feb;font-weight:700}
.hljs-bullet{color:#f2cc60}
.hljs-emphasis{color:#c9d1d9;font-style:italic}
.hljs-strong{color:#c9d1d9;font-weight:700}
.hljs-addition{color:#aff5b4;background-color:#033a16}
.hljs-deletion{color:#ffdcd7;background-color:#67060c}
/* ── Highlight.js — light theme (github) ── */
[data-theme="light"] .hljs { color: #24292e; background: var(--bg-code); }
[data-theme="light"] .hljs-doctag, [data-theme="light"] .hljs-keyword, [data-theme="light"] .hljs-meta .hljs-keyword, [data-theme="light"] .hljs-template-tag, [data-theme="light"] .hljs-template-variable, [data-theme="light"] .hljs-type, [data-theme="light"] .hljs-variable.language_ { color: #d73a49; }
[data-theme="light"] .hljs-title, [data-theme="light"] .hljs-title.class_, [data-theme="light"] .hljs-title.class_.inherited__, [data-theme="light"] .hljs-title.function_ { color: #6f42c1; }
[data-theme="light"] .hljs-attr, [data-theme="light"] .hljs-attribute, [data-theme="light"] .hljs-literal, [data-theme="light"] .hljs-meta, [data-theme="light"] .hljs-number, [data-theme="light"] .hljs-operator, [data-theme="light"] .hljs-selector-attr, [data-theme="light"] .hljs-selector-class, [data-theme="light"] .hljs-selector-id, [data-theme="light"] .hljs-variable { color: #005cc5; }
[data-theme="light"] .hljs-meta .hljs-string, [data-theme="light"] .hljs-regexp, [data-theme="light"] .hljs-string { color: #032f62; }
[data-theme="light"] .hljs-built_in, [data-theme="light"] .hljs-symbol { color: #e36209; }
[data-theme="light"] .hljs-code, [data-theme="light"] .hljs-comment, [data-theme="light"] .hljs-formula { color: #6a737d; }
[data-theme="light"] .hljs-name, [data-theme="light"] .hljs-quote, [data-theme="light"] .hljs-selector-pseudo, [data-theme="light"] .hljs-selector-tag { color: #22863a; }
[data-theme="light"] .hljs-subst { color: #24292e; }
[data-theme="light"] .hljs-section { color: #005cc5; font-weight: 700; }
[data-theme="light"] .hljs-bullet { color: #735c0f; }
[data-theme="light"] .hljs-emphasis { color: #24292e; font-style: italic; }
[data-theme="light"] .hljs-strong { color: #24292e; font-weight: 700; }
[data-theme="light"] .hljs-addition { color: #22863a; background-color: #f0fff4; }
[data-theme="light"] .hljs-deletion { color: #b31d28; background-color: #ffeef0; }
[data-theme="light"] .dsd-type--article { background: rgba(59,130,246,.15); color: #1d4ed8; }
[data-theme="light"] .dsd-type--page    { background: rgba(161,98,7,.12);   color: #92400e; }
[data-theme="light"] .dsd-type--project { background: rgba(79,167,92,.15);  color: #166534; }
[data-theme="light"] .dsd-title mark    { background: rgba(79,167,92,.3);   color: #166534; }
[data-theme="light"] .dsd-excerpt       { color: var(--text-muted); }
/* ==========================================================================
   Article list + Project cards
   ========================================================================== */
.docs-article-list { display: flex; flex-direction: column; gap: 12px; }
.docs-article-list-item { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 10px; color: inherit; transition: border-color .15s var(--ease); }
.docs-article-list-item:hover { border-color: var(--accent); color: inherit; }
.docs-article-list-thumb { width: 80px; height: 60px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.docs-article-list-thumb img { width: 100%; height: 100%; object-fit: cover; margin: 0; border: none; border-radius: 0; }
.docs-article-list-body { flex: 1; min-width: 0; }
.docs-article-list-title { font-size: .9rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.docs-article-list-excerpt { font-size: .8rem; color: var(--text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.docs-article-list-meta { font-size: .75rem; color: var(--text-faint); margin-top: 6px; }
.docs-article-list-arrow { color: var(--accent); font-size: .9rem; transition: transform .15s var(--ease); }
.docs-article-list-item:hover .docs-article-list-arrow { transform: translateX(4px); }
.docs-project-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 16px; margin-top: 32px; }
.docs-project-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; color: inherit; transition: border-color .18s var(--ease), box-shadow .18s var(--ease); display: flex; flex-direction: column; }
.docs-project-card:hover { border-color: var(--accent); box-shadow: 0 8px 32px rgba(0,0,0,.3); color: inherit; }
.docs-project-card-img { aspect-ratio: 16/9; overflow: hidden; }
.docs-project-card-img img { width: 100%; height: 100%; object-fit: cover; margin: 0; border: none; border-radius: 0; transition: transform .3s var(--ease); }
.docs-project-card:hover .docs-project-card-img img { transform: scale(1.04); }
.docs-project-card-placeholder { aspect-ratio: 16/9; background: var(--bg-elevated); display: flex; align-items: center; justify-content: center; color: var(--text-faint); }
.docs-project-card-body { padding: 16px; flex: 1; }
.docs-project-card-title { font-size: .9rem; font-weight: 600; color: var(--text); margin-bottom: 6px; line-height: 1.35; }
.docs-project-card-desc { font-size: .8rem; color: var(--text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ==========================================================================
   Footer
   ========================================================================== */
.docs-footer { margin-top: auto; background: var(--bg-surface); border-top: 1px solid var(--border); }
.docs-footer-inner { display: flex; gap: 48px; padding: 48px 44px 40px; max-width: calc(var(--content-max) + var(--toc-w) + 52px + 88px); margin: 0 auto; flex-wrap: wrap; }
.docs-footer-brand { min-width: 220px; flex-shrink: 0; }
.footer-logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.footer-logo:hover { color: var(--text); }
.footer-logo-mark { width: 28px; height: 28px; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .82rem; }
.footer-logo-mark img { width: 28px; height: 28px; object-fit: contain; border-radius: 5px; border: none; margin: 0; }
.footer-logo-mark:has(img) { background: none; box-shadow: none; }
.footer-tagline { font-size: .82rem; color: var(--text-faint); line-height: 1.6; max-width: 240px; margin-top: 8px; }
.docs-footer-nav { flex: 1; display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col { min-width: 130px; }
.footer-col-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint); margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .82rem; color: var(--text-muted); transition: color .15s var(--ease); }
.footer-col ul li a:hover { color: var(--text); }
.docs-footer-bottom { display: flex; padding: 18px 44px; border-top: 1px solid var(--border); font-size: .75rem; color: var(--text-faint); text-align: center; justify-content: space-between; align-items: center; }
.footer-text { font-size: 0.75rem; color: var(--text-muted); }
.footer-text a { color: var(--text-muted); transition: color var(--dur) var(--ease); }
.footer-text a:hover { color: var(--text); }
.footer-social { gap: 8px; margin-top: 14px; }
.social-links { display: flex; margin: 0 auto; transition: border-color .15s var(--ease), color .15s var(--ease); justify-content: center; gap: 7px; }
.social-links:hover { border-color: var(--accent); color: var(--accent-light); }
.snk-credit {font-size: .75rem; opacity: .85; margin-top:0;}
/* ==========================================================================
   Misc
   ========================================================================== */
.docs-404 { padding: 60px 0; }
.docs-404-code { font-size: 5rem; font-weight: 800; letter-spacing: -.05em; color: var(--border-strong); line-height: 1; margin-bottom: 16px; }
.docs-404-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.docs-404-desc { color: var(--text-muted); font-size: .9rem; margin-bottom: 28px; }
.docs-landing { max-width: var(--content-max); margin: 0 auto; }
.docs-landing-title { font-size: 2rem; font-weight: 700; letter-spacing: -.025em; margin-bottom: 24px; }
.docs-landing-hero { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); margin-bottom: 32px; }
.docs-landing-hero img { width: 100%; max-height: 500px; object-fit: cover; }
.docs-contact-block { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border); }
.docs-empty { color: var(--text-muted); font-size: .9rem; font-style: italic; padding: 32px 0; }
/* Contact form dark overrides */
.contact-form input, .contact-form textarea { background: var(--bg-elevated) !important; border: 1px solid var(--border) !important; color: var(--text) !important; border-radius: 7px !important; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent) !important; outline: none !important; box-shadow: 0 0 0 3px var(--accent-subtle) !important; }
.contact-form label { color: var(--text-muted) !important; font-size: .85rem !important; }
.contact-form button[type="submit"] { background: var(--accent) !important; color: #fff !important; border: none !important; border-radius: 8px !important; padding: 10px 22px !important; font-weight: 600 !important; cursor: pointer !important; transition: background .15s var(--ease) !important; }
.contact-form button[type="submit"]:hover { background: var(--accent-dark) !important; }
/* Progress bar */
.docs-progress { position: fixed; bottom: 0; left: 0; right: 0; height: 5px; background: var(--border); z-index: 500; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.docs-progress.is-visible { opacity: 1; }
.docs-progress-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-light)); transition: width .08s linear; }
/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }
/* Search overlay */
.search-overlay { background: rgba(0,0,0,.75) !important; backdrop-filter: blur(12px); }
[data-theme="light"] .search-overlay { background: rgba(200,200,210,.8) !important; }
/* ── Theme toggle button ── */
.docs-theme-toggle { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: none; border: none; border-radius: 6px; color: var(--text-muted); cursor: pointer; padding: 0; transition: color .15s var(--ease), background .15s var(--ease); flex-shrink: 0; }
.docs-theme-toggle:hover { color: var(--text); background: var(--bg-hover); }
.docs-theme-toggle .icon-sun  { display: block; }
.docs-theme-toggle .icon-moon { display: none; }
[data-theme="light"] .docs-theme-toggle .icon-sun  { display: none; }
[data-theme="light"] .docs-theme-toggle .icon-moon { display: block; }
/* ── Light mode overrides (elements using hard-coded rgba) ── */
[data-theme="light"] .docs-topbar { background: rgba(255,255,255,.94); }
[data-theme="light"] .docs-sidebar { background: var(--bg-surface); }
[data-theme="light"] .sidebar-overlay { background: rgba(0,0,0,.35); }
[data-theme="light"] .sc-callout-body { color: #1a1a2e; }
[data-theme="light"] .docs-body blockquote { color: #1a1a2e; }
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--bg); }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: var(--border-strong); }
/* ── [toc] shortcode (dans .docs-body) ───────────────────── */
.docs-body .sc-toc { display: inline-block; min-width: 200px; max-width: 100%; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 8px; padding: 14px 18px; margin: 1.5em 0; }
.docs-body .sc-toc::before { display: block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.docs-body .sc-toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); padding-left: 12px; display: flex; flex-direction: column; gap: 3px; }
.docs-body .sc-toc li a { font-size: 0.79rem; color: var(--text-muted); text-decoration: none; display: block; padding: 3px 6px; border-radius: 4px; transition: color 0.15s var(--ease), background 0.15s var(--ease); line-height: 1.45; }
.docs-body .sc-toc li a:hover { color: var(--accent-light); background: var(--bg-hover); }
.docs-body .sc-toc .sc-toc-sub { padding-left: 12px; }
.docs-body .sc-toc .sc-toc-sub a { font-size: 0.76rem; color: var(--text-faint); }
.docs-body .sc-toc .sc-toc-sub a:hover { color: var(--accent-light); }

/* ========================================================================== 
  Inline search — topbar input + dropdown 
========================================================================== */
.docs-search-wrap { position: relative; display: flex; align-items: center; }
.docs-search-icon { position: absolute; left: 10px; color: var(--text-muted); pointer-events: none; flex-shrink: 0; }
.docs-search-input { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 7px; color: var(--text); font-family: var(--font); font-size: .78rem; padding: .4rem 2.5rem .4rem 2rem; width: 172px; outline: none; -webkit-appearance: none; transition: width .24s var(--ease), border-color .15s var(--ease), background .15s var(--ease); }
.docs-search-input::placeholder { color: var(--text-muted); }
.docs-search-input:focus { border-color: var(--accent-border); background: var(--bg-surface); width: 250px; }
.docs-search-input::-webkit-search-cancel-button { display: none; }
.docs-search-kbd { position: absolute; right: 8px; font-family: var(--font); font-size: .62rem; font-weight: 600; color: var(--text-muted); background: var(--bg-hover); border: 1px solid var(--border-strong); border-radius: 4px; padding: .1em .35em; pointer-events: none; }
.docs-search-mobile { display: none; align-items: center; justify-content: center; width: 32px; height: 32px; background: none; border: none; border-radius: 6px; color: var(--text-muted); cursor: pointer; padding: 0; transition: color .15s var(--ease), background .15s var(--ease); flex-shrink: 0; }
.docs-search-mobile:hover { color: var(--text); background: var(--bg-hover); }
.docs-search-clear { position: absolute; right: 8px; display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; background: var(--bg-hover); border: none; border-radius: 50%; color: var(--text-muted); cursor: pointer; padding: 0; transition: background .15s var(--ease), color .15s var(--ease); }
.docs-search-clear[hidden] { display: none; }
.docs-search-clear:hover { background: var(--border-strong); color: var(--text); }
/* Dropdown */
.docs-search-drop { position: absolute; top: calc(100% + 12px); right: 0; width: 360px; background: var(--bg-elevated); border: 1px solid var(--border-strong); border-radius: 10px; box-shadow: 0 16px 48px rgba(0,0,0,.55), 0 4px 16px rgba(0,0,0,.3); z-index: 600; max-height: 440px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; opacity: 0; transform: translateY(-6px); transition: opacity .18s var(--ease), transform .18s var(--ease); pointer-events: none; }
.docs-search-drop:not([hidden]) { opacity: 1; transform: translateY(0); pointer-events: auto; }
/* Arrow: CSS triangle centered over the 360px dropdown (right:0) */
.docs-search-wrap::after { content: ''; position: absolute; bottom: -13px; right: 172px; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 8px solid var(--bg-elevated); z-index: 601; opacity: 0; transition: opacity .18s var(--ease); pointer-events: none; filter: drop-shadow(0 -1px 0 var(--border-strong)); }
.docs-search-wrap:has(.docs-search-drop:not([hidden]))::after { opacity: 1; }
.dsd-empty { padding: 18px 16px; font-size: .82rem; color: var(--text-faint); text-align: center; }
.dsd-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--border); transition: background .12s var(--ease); outline: none; }
.dsd-item:last-child { border-bottom: none; }
.dsd-item:hover, .dsd-item:focus { background: var(--bg-hover); }
.dsd-type { flex-shrink: 0; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 6px; border-radius: 4px; margin-top: 3px; background: rgba(255,255,255,.08); color: var(--text-faint); }
.dsd-type--article { background: rgba(59,130,246,.18); color: #93c5fd; }
.dsd-type--page { background: rgba(234,179,8,.18); color: #fde047; }
.dsd-type--project { background: rgba(79,167,92,.18); color: var(--accent-light); }
.dsd-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dsd-title { font-size: .875rem; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.35; }
.dsd-title mark { background: rgba(79,167,92,.25); color: var(--accent-light); border-radius: 2px; }
.dsd-excerpt { font-size: .75rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; }
/* ========================================================================== Responsive ========================================================================== */
@media (max-width: 1300px) {
  .docs-toc { display: none; }
  .docs-page-layout { max-width: var(--content-max); }
}
@media (max-width: 1200px) {
  .columns-4 .column { flex: 0 0 calc(33.333% - 14px); }
}
/* Medium tablets (992px and below): 3 columns to 2 */
@media (max-width: 992px) {
  .columns-4 .column,
  .columns-3 .column {flex: 0 0 calc(50% - 10px);}
}
.docs-hero-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.docs-hero-badges img { display: block; }
@media (max-width: 768px) {
.content-columns {flex-direction: column; gap: 15px; }
.columns-4 .column,
.columns-3 .column,
.columns-2 .column {flex: 0 0 100%; margin-bottom: 10px;}
}
@media (max-width: 960px) {
  .docs-main { margin-left: 0 !important; }
  .docs-sidebar-toggle { display: none; }
  .docs-sidebar { transform: translateX(-100%); box-shadow: none; }
  .docs-sidebar.is-open { transform: translateX(0); box-shadow: 4px 0 40px rgba(0,0,0,.6); }
  .sidebar-collapse-btn { display: none; }
  body.sidebar-collapsed .docs-sidebar { transform: translateX(-100%); }
  body.sidebar-collapsed .docs-main { margin-left: 0; }
  .docs-burger { display: flex; }
  .docs-content { padding: 28px 20px 60px; }
  .topbar-logo-name { display: none; }
  .docs-footer-inner { padding: 36px 20px 28px; gap: 32px; }
  .docs-footer-bottom { padding: 16px 20px; }
}
@media (max-width: 640px) {
  .docs-page-title { font-size: 1.55rem; }
  .docs-hero-title { font-size: 1.8rem; }
  .docs-home-grid, .docs-project-grid { grid-template-columns: 1fr; }
  .docs-pagination { flex-direction: column; }
  .docs-topbar { padding: 0 16px; }
  .topbar-nav { display: none; }
  .search-btn-label { display: none; }
  .docs-search-wrap { display: none; }
  .docs-search-mobile { display: flex; }
  .docs-footer-nav { gap: 24px; }
}