
    /* Website Palette (Forest Green, Emerald, Mint & Obsidian) */
    :root {
      --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    }

    h1, h2, h3, h4, h5, h6, .brand-title, .doc-hero h1 {
      font-family: var(--font-heading);
    }

    /* Light Mode (Omnify Website Color Palette - Unified #0f766e) */
    :root[data-theme="light"] {
      --bg-body: #F7FCF9;
      --bg-surface: #FFFFFF;
      --bg-card: #FFFFFF;
      --bg-card-hover: #F0FDFA;
      --bg-subtle: #F0FDFA;
      --bg-glass: rgba(255, 255, 255, 0.92);
      --bg-code: #042F2E;
      --border-subtle: #CCFBF1;
      --border-highlight: #99F6E4;
      --border-accent: #0F766E;

      --text-main: #0F172A;
      --text-muted: #334155;
      --text-dim: #64748B;

      --brand-cyan: #0F766E;
      --brand-violet: #115E59;
      --brand-emerald: #0F766E;
      --brand-amber: #D97706;
      --brand-rose: #DC2626;
      --brand-purple: #0D9488;

      --brand-forest-dark: #134E4A;
      --brand-forest: #0F766E;
      --brand-forest-mid: #0D9488;
      --brand-forest-light: #14B8A6;
      --brand-emerald-vivid: #14B8A6;

      --brand-gradient: linear-gradient(135deg, #134E4A 0%, #0F766E 45%, #0D9488 100%);
      --glow-cyan: 0 0 35px -5px rgba(15, 118, 110, 0.25);
      --grid-pattern: radial-gradient(rgba(15, 118, 110, 0.08) 1px, transparent 1px);
    }

    /* Dark Mode (Teal Obsidian & Vivid Mint - Unified #0f766e) */
    :root[data-theme="dark"] {
      --bg-body: #081211;
      --bg-surface: #0E1C1B;
      --bg-card: #132726;
      --bg-card-hover: #173230;
      --bg-subtle: #152B29;
      --bg-glass: rgba(14, 28, 27, 0.90);
      --bg-code: #041B1A;
      --border-subtle: rgba(153, 246, 228, 0.12);
      --border-highlight: rgba(45, 212, 191, 0.28);
      --border-accent: #14B8A6;

      --text-main: #F4FAF6;
      --text-muted: #99F6E4;
      --text-dim: #5EEAD4;

      --brand-cyan: #14B8A6;
      --brand-violet: #0F766E;
      --brand-emerald: #14B8A6;
      --brand-amber: #FBBF24;
      --brand-rose: #F87171;
      --brand-purple: #2DD4BF;

      --brand-forest-dark: #042F2E;
      --brand-forest: #0F766E;
      --brand-forest-mid: #14B8A6;
      --brand-forest-light: #2DD4BF;
      --brand-emerald-vivid: #5EEAD4;

      --brand-gradient: linear-gradient(135deg, #0F766E 0%, #14B8A6 50%, #2DD4BF 100%);
      --glow-cyan: 0 0 35px -5px rgba(20, 184, 166, 0.2);
      --grid-pattern: radial-gradient(rgba(20, 184, 166, 0.08) 1px, transparent 1px);
    }

    html {
      scroll-behavior: smooth;
    }

    /* Fix anchor scrolling under sticky navigation */
    section[id], h2[id], h3[id], div[id], [id] {
      scroll-margin-top: 100px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-body);
      color: var(--text-main);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
      background-image: var(--grid-pattern);
      background-size: 28px 28px;
      background-position: top center;
    }

    /* Ambient Background Glow */
    .ambient-glow-top {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 1000px;
      height: 480px;
      background: radial-gradient(50% 50% at 50% 0%, rgba(56, 189, 248, 0.12) 0%, rgba(129, 140, 248, 0.06) 50%, transparent 100%);
      pointer-events: none;
      z-index: 0;
    }

    /* Top Sticky Header */
    .top-header {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      background: var(--bg-glass);
      border-bottom: 1px solid var(--border-subtle);
      height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 28px;
    }

    .brand-wrap {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: var(--text-main);
    }

    .brand-icon {
      width: 32px;
      height: 32px;
      border-radius: 9px;
      background: var(--brand-gradient);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
    }

    .brand-icon svg {
      width: 18px;
      height: 18px;
      color: #fff;
    }

    .brand-text {
      font-weight: 800;
      font-size: 1.15rem;
      letter-spacing: -0.03em;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .brand-version-pill {
      font-family: var(--font-mono);
      font-size: 0.7rem;
      font-weight: 600;
      padding: 2px 7px;
      border-radius: 9999px;
      background: rgba(56, 189, 248, 0.1);
      color: var(--brand-cyan);
      border: 1px solid rgba(56, 189, 248, 0.25);
    }

    /* Doc Mode Switcher Segmented Control */
    .doc-switcher {
      display: flex;
      align-items: center;
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 3px;
      gap: 2px;
      margin-left: 12px;
    }

    .switcher-btn {
      padding: 6px 14px;
      font-size: 0.82rem;
      font-weight: 600;
      text-decoration: none;
      color: var(--text-muted);
      border-radius: 7px;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .switcher-btn:hover {
      color: var(--text-main);
    }

    .switcher-btn.active {
      background: var(--bg-card);
      color: var(--brand-cyan);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
      border: 1px solid var(--border-subtle);
    }

    .header-right {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .search-btn {
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 9px;
      padding: 7px 14px;
      color: var(--text-muted);
      font-size: 0.85rem;
      cursor: pointer;
      transition: all 0.2s;
      font-family: inherit;
    }

    .search-btn:hover {
      border-color: var(--border-highlight);
      color: var(--text-main);
      background: var(--bg-card-hover);
    }

    .kbd-shortcut {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 5px;
      padding: 1px 6px;
      font-size: 0.7rem;
      font-family: var(--font-mono);
      color: var(--text-dim);
    }

    .github-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-subtle);
      border-radius: 9px;
      padding: 7px 14px;
      color: var(--text-main);
      font-size: 0.85rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.2s;
    }

    .github-btn:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: var(--border-highlight);
      transform: translateY(-1px);
    }

    .github-star-count {
      display: inline-flex;
      align-items: center;
      padding-left: 8px;
      border-left: 1px solid var(--border-subtle);
      color: var(--text-dim);
      font-size: 0.8rem;
      font-family: var(--font-mono);
    }

    .icon-btn {
      background: transparent;
      border: 1px solid var(--border-subtle);
      border-radius: 9px;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.2s;
    }

    .icon-btn:hover {
      color: var(--text-main);
      border-color: var(--border-highlight);
      background: var(--bg-card);
    }

    /* Layout */
    .docs-layout {
      position: relative;
      display: flex;
      max-width: 1540px;
      margin: 0 auto;
      z-index: 1;
    }

    /* Left Sidebar */
    .docs-sidebar {
      width: 280px;
      flex-shrink: 0;
      position: sticky;
      top: 68px;
      height: calc(100vh - 68px);
      overflow-y: auto;
      border-right: 1px solid var(--border-subtle);
      padding: 24px 16px 40px;
      background: transparent;
      scrollbar-width: thin;
      scrollbar-color: var(--border-subtle) transparent;
    }

    .sidebar-group {
      margin-bottom: 24px;
    }

    .sidebar-heading {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-dim);
      padding: 6px 12px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .sidebar-items {
      list-style: none;
      margin-top: 4px;
    }

    .sidebar-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 7px 12px;
      border-radius: 7px;
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.86rem;
      font-weight: 500;
      transition: all 0.15s ease;
      line-height: 1.4;
    }

    .sidebar-link:hover {
      color: var(--text-main);
      background: var(--bg-card);
    }

    .sidebar-link.active {
      color: var(--brand-cyan);
      background: rgba(56, 189, 248, 0.08);
      font-weight: 600;
    }

    .sidebar-tag {
      font-size: 0.68rem;
      font-family: var(--font-mono);
      padding: 1px 5px;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-dim);
    }

    /* Main Content */
    .docs-main {
      flex: 1;
      min-width: 0;
      padding: 40px 56px 80px;
    }

    @media (max-width: 1100px) {
      .docs-main { padding: 32px 24px 60px; }
    }

    /* Right Rail TOC */
    .docs-toc {
      width: 230px;
      flex-shrink: 0;
      position: sticky;
      top: 68px;
      height: calc(100vh - 68px);
      overflow-y: auto;
      padding: 32px 16px 40px;
      display: none;
    }

    @media (min-width: 1320px) {
      .docs-toc { display: block; }
    }

    .toc-title {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-dim);
      margin-bottom: 14px;
    }

    .toc-list {
      list-style: none;
      border-left: 1px solid var(--border-subtle);
    }

    .toc-link {
      display: block;
      padding: 5px 0 5px 14px;
      font-size: 0.8rem;
      color: var(--text-muted);
      text-decoration: none;
      transition: all 0.15s ease;
      border-left: 2px solid transparent;
      margin-left: -1px;
      line-height: 1.4;
    }

    .toc-link:hover, .toc-link.active {
      color: var(--brand-cyan);
      border-left-color: var(--brand-cyan);
    }

    /* Creative Minimal Hero */
    .hero-creative {
      padding: 36px 0 48px;
      border-bottom: 1px solid var(--border-subtle);
      margin-bottom: 48px;
    }

    .hero-badge-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 5px 12px;
      border-radius: 9999px;
      background: rgba(56, 189, 248, 0.08);
      border: 1px solid rgba(56, 189, 248, 0.2);
      color: #7dd3fc;
      font-size: 0.8rem;
      font-weight: 600;
      margin-bottom: 20px;
    }

    .pulsing-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--brand-cyan);
      box-shadow: 0 0 8px var(--brand-cyan);
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(0.85); }
    }

    .hero-title {
      font-size: 3rem;
      font-weight: 800;
      letter-spacing: -0.04em;
      line-height: 1.12;
      margin-bottom: 18px;
      color: var(--text-main);
    }

    .hero-gradient-text {
      background: var(--brand-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-desc {
      font-size: 1.15rem;
      color: var(--text-muted);
      max-width: 820px;
      line-height: 1.6;
      margin-bottom: 28px;
    }

    .hero-actions {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--brand-cyan);
      color: #040812;
      font-weight: 700;
      font-size: 0.875rem;
      padding: 10px 20px;
      border-radius: 8px;
      text-decoration: none;
      transition: all 0.2s;
      box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
    }

    .btn-primary:hover {
      background: #7dd3fc;
      transform: translateY(-1px);
    }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      color: var(--text-main);
      font-weight: 600;
      font-size: 0.875rem;
      padding: 10px 18px;
      border-radius: 8px;
      text-decoration: none;
      transition: all 0.2s;
    }

    .btn-secondary:hover {
      background: var(--bg-card-hover);
      border-color: var(--border-highlight);
    }

    /* Metric Strip */
    .metric-strip {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 16px;
      margin: 36px 0;
    }

    .metric-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 20px;
      transition: all 0.2s;
      position: relative;
      overflow: hidden;
    }

    .metric-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--brand-gradient);
      opacity: 0;
      transition: opacity 0.2s;
    }

    .metric-card:hover {
      border-color: var(--border-highlight);
      transform: translateY(-2px);
    }

    .metric-card:hover::before {
      opacity: 1;
    }

    .metric-val {
      font-size: 1.75rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--text-main);
      margin-bottom: 4px;
    }

    .metric-label {
      font-size: 0.82rem;
      color: var(--text-muted);
      font-weight: 500;
    }

    /* Headings */
    h2.doc-heading {
      font-size: 1.85rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--text-main);
      margin: 64px 0 20px;
      padding-top: 24px;
      border-top: 1px solid var(--border-subtle);
      display: flex;
      align-items: center;
      gap: 12px;
    }

    h2.doc-heading:first-of-type {
      margin-top: 0;
      border-top: none;
      padding-top: 0;
    }

    h3.doc-subheading {
      font-size: 1.3rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text-main);
      margin: 36px 0 16px;
    }

    h4 {
      font-size: 1.05rem;
      font-weight: 600;
      color: var(--text-main);
      margin: 22px 0 10px;
    }

    p {
      color: var(--text-muted);
      margin-bottom: 16px;
      font-size: 0.95rem;
    }

    p strong, li strong {
      color: var(--text-main);
    }

    ul, ol {
      margin-left: 20px;
      margin-bottom: 20px;
      color: var(--text-muted);
      font-size: 0.95rem;
    }

    li { margin-bottom: 6px; }

    /* Pipeline Diagram */
    .pipeline-diagram {
      margin: 32px 0;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 14px;
      padding: 28px;
    }

    .pipeline-flow {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    .pipeline-step {
      flex: 1;
      min-width: 140px;
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 16px;
      text-align: center;
      transition: all 0.2s;
    }

    .pipeline-step:hover {
      border-color: var(--border-accent);
      box-shadow: var(--glow-cyan);
    }

    .pipeline-step-icon {
      font-size: 1.5rem;
      margin-bottom: 6px;
    }

    .pipeline-step-title {
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 2px;
    }

    .pipeline-step-desc {
      font-size: 0.72rem;
      color: var(--text-dim);
    }

    .pipeline-arrow {
      color: var(--brand-cyan);
      font-size: 1.25rem;
      opacity: 0.6;
    }

    /* Badges */
    .badge {
      display: inline-flex;
      align-items: center;
      font-size: 0.72rem;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 5px;
      line-height: 1.3;
      font-family: var(--font-mono);
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .badge-get { background: rgba(56, 189, 248, 0.12); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.25); }
    .badge-post { background: rgba(16, 185, 129, 0.12); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.25); }
    .badge-put { background: rgba(245, 158, 11, 0.12); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.25); }
    .badge-delete { background: rgba(244, 63, 94, 0.12); color: #f43f5e; border: 1px solid rgba(244, 63, 94, 0.25); }

    .badge-auth { background: rgba(129, 140, 248, 0.12); color: #a5b4fc; border: 1px solid rgba(129, 140, 248, 0.25); }
    .badge-public { background: rgba(148, 163, 184, 0.12); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.2); }

    .type-tag {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      padding: 1px 6px;
      border-radius: 4px;
      background: var(--bg-surface);
      color: #38bdf8;
      border: 1px solid var(--border-subtle);
    }

    /* Callouts */
    .callout {
      border-radius: 10px;
      padding: 18px 20px;
      margin: 24px 0;
      border-left: 3px solid;
      background: var(--bg-card);
    }

    .callout-info { border-color: var(--brand-cyan); }
    .callout-success { border-color: var(--brand-emerald); }
    .callout-warning { border-color: var(--brand-amber); }

    .callout-title {
      font-weight: 700;
      font-size: 0.92rem;
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--text-main);
    }

    .callout p {
      margin-bottom: 0;
      font-size: 0.88rem;
    }

    /* Tables */
    .table-container {
      width: 100%;
      overflow-x: auto;
      margin: 22px 0;
      border-radius: 10px;
      border: 1px solid var(--border-subtle);
      background: var(--bg-card);
    }

    table.doc-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.86rem;
      text-align: left;
    }

    table.doc-table th {
      background: var(--bg-surface);
      color: var(--text-main);
      font-weight: 600;
      padding: 12px 18px;
      border-bottom: 1px solid var(--border-subtle);
      white-space: nowrap;
    }

    table.doc-table td {
      padding: 13px 18px;
      border-bottom: 1px solid var(--border-subtle);
      color: var(--text-muted);
      vertical-align: top;
    }

    table.doc-table tr:last-child td { border-bottom: none; }

    table.doc-table code {
      font-family: var(--font-mono);
      font-size: 0.78rem;
      color: #38bdf8;
      background: var(--bg-code);
      padding: 2px 6px;
      border-radius: 4px;
    }

    /* Code Blocks */
    .code-wrapper {
      position: relative;
      margin: 22px 0;
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid var(--border-subtle);
      background: var(--bg-code);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    }

    .code-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(12, 16, 23, 0.95);
      border-bottom: 1px solid var(--border-subtle);
      padding: 8px 16px;
    }

    .code-title {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      color: var(--text-dim);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .copy-btn {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-subtle);
      border-radius: 6px;
      color: var(--text-muted);
      padding: 4px 10px;
      font-size: 0.72rem;
      font-family: inherit;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: all 0.15s;
    }

    .copy-btn:hover {
      background: rgba(255, 255, 255, 0.1);
      color: var(--text-main);
    }

    pre {
      padding: 18px;
      overflow-x: auto;
      font-family: var(--font-mono);
      font-size: 0.83rem;
      line-height: 1.6;
      color: #e2e8f0;
    }

    pre code {
      font-family: inherit;
      background: transparent;
      padding: 0;
      color: inherit;
    }

    /* Syntax Highlighting */
    .hl-keyword { color: #f43f5e; font-weight: 600; }
    .hl-function { color: #38bdf8; }
    .hl-variable { color: #818cf8; }
    .hl-string { color: #34d399; }
    .hl-comment { color: #64748b; font-style: italic; }
    .hl-number { color: #fbbf24; }
    .hl-property { color: #cbd5e1; }

    /* Interactive API Simulator Card */
    .simulator-card {
      margin: 32px 0;
      background: var(--bg-card);
      border: 1px solid var(--border-highlight);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: var(--glow-cyan);
    }

    .simulator-top {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 20px;
      background: var(--bg-surface);
      border-bottom: 1px solid var(--border-subtle);
      flex-wrap: wrap;
    }

    .sim-select {
      background: var(--bg-card);
      color: var(--text-main);
      border: 1px solid var(--border-subtle);
      border-radius: 6px;
      padding: 6px 12px;
      font-family: var(--font-mono);
      font-size: 0.82rem;
      outline: none;
      cursor: pointer;
    }

    .sim-run-btn {
      background: var(--brand-cyan);
      color: #040812;
      border: none;
      border-radius: 6px;
      padding: 6px 16px;
      font-size: 0.82rem;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: all 0.15s;
    }

    .sim-run-btn:hover { background: #7dd3fc; }

    .simulator-preview {
      display: grid;
      grid-template-columns: 1fr 1fr;
      border-top: 1px solid var(--border-subtle);
    }

    @media (max-width: 800px) {
      .simulator-preview { grid-template-columns: 1fr; }
    }

    .sim-col {
      padding: 16px;
      overflow-x: auto;
    }

    .sim-col:first-child {
      border-right: 1px solid var(--border-subtle);
      background: rgba(0, 0, 0, 0.15);
    }

    .sim-col-label {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--text-dim);
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    /* API Badges */
    .badge {
      display: inline-flex;
      align-items: center;
      padding: 3px 8px;
      border-radius: 5px;
      font-size: 0.72rem;
      font-family: var(--font-mono);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .badge-get { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
    .badge-post { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
    .badge-put { background: rgba(245, 158, 11, 0.15); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.3); }
    .badge-delete { background: rgba(244, 63, 94, 0.15); color: #f43f5e; border: 1px solid rgba(244, 63, 94, 0.3); }
    .badge-public { background: rgba(129, 140, 248, 0.15); color: #818cf8; border: 1px solid rgba(129, 140, 248, 0.3); }
    .badge-status-ok { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
    
    .sim-url-input {
      flex: 1;
      min-width: 240px;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 6px;
      padding: 6px 12px;
      font-family: var(--font-mono);
      font-size: 0.82rem;
      color: var(--text-main);
      outline: none;
    }
    .sim-status-strip {
      display: flex;
      align-items: center;
      gap: 12px;
      font-family: var(--font-mono);
      font-size: 0.78rem;
      color: var(--text-dim);
    }

    /* Endpoint Block */
    .endpoint-card {
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      background: var(--bg-card);
      margin: 20px 0 28px;
      overflow: hidden;
    }

    .endpoint-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 20px;
      background: rgba(255, 255, 255, 0.02);
      border-bottom: 1px solid var(--border-subtle);
      flex-wrap: wrap;
      gap: 12px;
    }

    .endpoint-path {
      display: flex;
      align-items: center;
      gap: 12px;
      font-family: var(--font-mono);
      font-size: 0.92rem;
      font-weight: 600;
      color: var(--text-main);
    }

    .endpoint-desc {
      padding: 14px 20px;
      color: var(--text-muted);
      font-size: 0.9rem;
      border-bottom: 1px solid var(--border-subtle);
    }

    .endpoint-body { padding: 20px; }

    /* Recipe Step Card */
    .recipe-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 24px;
      margin: 24px 0 32px;
      transition: border-color 0.2s;
    }

    .recipe-card:hover {
      border-color: var(--border-highlight);
    }

    .recipe-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 3px 8px;
      border-radius: 4px;
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 10px;
      background: rgba(129, 140, 248, 0.12);
      color: #a5b4fc;
      border: 1px solid rgba(129, 140, 248, 0.25);
    }

    /* Search Modal */
    .search-modal {
      position: fixed;
      inset: 0;
      z-index: 100;
      background: rgba(4, 8, 16, 0.78);
      backdrop-filter: blur(10px);
      display: none;
      align-items: flex-start;
      justify-content: center;
      padding-top: 15vh;
    }

    .search-modal.active { display: flex; }

    .search-box {
      width: 100%;
      max-width: 620px;
      background: var(--bg-surface);
      border: 1px solid var(--border-highlight);
      border-radius: 12px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
      overflow: hidden;
    }

    .search-input-wrap {
      display: flex;
      align-items: center;
      padding: 16px 20px;
      border-bottom: 1px solid var(--border-subtle);
      gap: 12px;
    }

    .search-input {
      width: 100%;
      background: transparent;
      border: none;
      outline: none;
      font-family: inherit;
      font-size: 1.05rem;
      color: var(--text-main);
    }

    .search-results {
      max-height: 400px;
      overflow-y: auto;
      padding: 10px;
    }

    .search-result-item {
      display: block;
      padding: 12px 14px;
      border-radius: 8px;
      color: var(--text-main);
      text-decoration: none;
      transition: all 0.15s;
    }

    .search-result-item:hover {
      background: rgba(56, 189, 248, 0.08);
      color: var(--brand-cyan);
    }

    .search-result-title {
      font-weight: 600;
      font-size: 0.92rem;
      margin-bottom: 2px;
    }

    .search-result-snippet {
      font-size: 0.78rem;
      color: var(--text-dim);
    }

    /* Mobile toggle */
    .mobile-menu-btn {
      display: none;
      background: transparent;
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      width: 36px;
      height: 36px;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      cursor: pointer;
    }

    @media (max-width: 768px) {
      .mobile-menu-btn { display: flex; }
      .docs-sidebar {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        bottom: 0;
        z-index: 40;
        width: 280px;
        background: var(--bg-surface);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      }
      .docs-sidebar.active { display: block; }
    }

    /* ==========================================================================
       Pro Frontend Interactive Sandbox & Hooks Explorer Styles
       ========================================================================== */
    .sandbox-card {
      margin: 36px 0;
      background: var(--bg-card);
      border: 1px solid var(--border-highlight);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--glow-cyan);
    }
    .sandbox-topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 14px 22px;
      background: var(--bg-surface);
      border-bottom: 1px solid var(--border-subtle);
      flex-wrap: wrap;
    }
    .sandbox-tabs {
      display: flex;
      align-items: center;
      gap: 6px;
      background: var(--bg-card);
      padding: 4px;
      border-radius: 10px;
      border: 1px solid var(--border-subtle);
    }
    .sandbox-tab-btn {
      padding: 7px 16px;
      font-size: 0.82rem;
      font-weight: 700;
      border: none;
      background: transparent;
      color: var(--text-muted);
      border-radius: 7px;
      cursor: pointer;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .sandbox-tab-btn.active {
      background: #0f766e;
      color: #fff;
      box-shadow: 0 2px 8px rgba(15, 118, 110, 0.35);
    }
    .sandbox-tools {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    .sandbox-color-picker {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .color-dot-btn {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border: 2px solid #fff;
      cursor: pointer;
      outline: 1px solid var(--border-subtle);
      transition: transform 0.2s, outline-color 0.2s;
    }
    .color-dot-btn:hover {
      transform: scale(1.15);
    }
    .color-dot-btn.active {
      outline: 2px solid #0f766e;
      transform: scale(1.2);
    }
    .device-switcher {
      display: flex;
      align-items: center;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 3px;
      gap: 2px;
    }
    .device-btn {
      padding: 5px 10px;
      border: none;
      background: transparent;
      color: var(--text-dim);
      border-radius: 5px;
      cursor: pointer;
      font-size: 0.75rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 4px;
      transition: all 0.15s;
    }
    .device-btn.active {
      background: var(--bg-surface);
      color: var(--text-main);
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    .sandbox-viewport-wrap {
      padding: 24px;
      background: var(--bg-subtle);
      display: flex;
      justify-content: center;
      overflow-x: auto;
      transition: all 0.3s ease;
    }
    .sandbox-device-frame {
      width: 100%;
      background: #ffffff;
      color: #0f172a;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
      transition: max-width 0.3s ease, border-radius 0.3s ease;
      --sf-accent: #0f766e;
      --sf-accent-hover: #115e59;
      --sf-accent-light: #f0fdfa;
    }
    .sandbox-device-frame[data-device="tablet"] {
      max-width: 768px;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
      border: 8px solid #1e293b;
      border-radius: 20px;
    }
    .sandbox-device-frame[data-device="mobile"] {
      max-width: 390px;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
      border: 10px solid #1e293b;
      border-radius: 32px;
    }
    .sf-view-panel {
      display: none;
      padding: 24px;
    }
    .sf-view-panel.active {
      display: block;
      animation: sfFadeIn 0.25s ease-out;
    }
    @keyframes sfFadeIn {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Hooks Live Search Explorer Styles */
    .hooks-explorer-card {
      margin: 32px 0;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 14px;
      padding: 24px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    }
    .hooks-filter-bar {
      display: flex;
      gap: 12px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }
    .hooks-search-input {
      flex: 1;
      min-width: 260px;
      padding: 10px 16px;
      border-radius: 8px;
      border: 1px solid var(--border-subtle);
      background: var(--bg-surface);
      color: var(--text-main);
      font-size: 0.9rem;
      outline: none;
      transition: border-color 0.2s;
    }
    .hooks-search-input:focus {
      border-color: #0f766e;
    }
    .hooks-category-pills {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      align-items: center;
    }
    .hook-cat-pill {
      padding: 6px 12px;
      font-size: 0.78rem;
      font-weight: 600;
      border-radius: 9999px;
      border: 1px solid var(--border-subtle);
      background: var(--bg-surface);
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.15s;
    }
    .hook-cat-pill:hover {
      color: var(--text-main);
      border-color: var(--border-highlight);
    }
    .hook-cat-pill.active {
      background: #0f766e;
      color: #fff;
      border-color: #0f766e;
    }
    .hooks-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
      gap: 14px;
      max-height: 600px;
      overflow-y: auto;
      padding-right: 4px;
    }
    .hook-item-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 16px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .hook-item-card:hover {
      border-color: #0f766e;
      box-shadow: 0 4px 14px rgba(15, 118, 110, 0.1);
    }
    .hook-meta-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }
    .hook-tag {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: 4px;
      text-transform: uppercase;
    }
    .hook-tag.action { background: rgba(15, 118, 110, 0.15); color: #0f766e; }
    .hook-tag.filter { background: rgba(99, 102, 241, 0.15); color: #6366f1; }
    .hook-tag.helper { background: rgba(217, 119, 6, 0.15); color: #d97706; }
    .hook-name-text {
      font-family: var(--font-mono);
      font-size: 0.88rem;
      font-weight: 700;
      color: var(--text-main);
      word-break: break-all;
    }
    .hook-desc-text {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin: 8px 0 14px;
      line-height: 1.45;
    }
    .hook-copy-btn {
      align-self: flex-start;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 12px;
      font-size: 0.75rem;
      font-weight: 600;
      border-radius: 6px;
      border: 1px solid var(--border-subtle);
      background: var(--bg-card);
      color: var(--text-main);
      cursor: pointer;
      transition: all 0.15s;
    }
    .hook-copy-btn:hover {
      background: #0f766e;
      color: #fff;
      border-color: #0f766e;
    }

    /* Floating Toast Alerts */
    .omnify-toast-container {
      position: fixed;
      bottom: 28px;
      right: 28px;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      gap: 10px;
      pointer-events: none;
    }
    .omnify-toast {
      pointer-events: auto;
      background: #0f172a;
      color: #ffffff;
      padding: 12px 18px;
      border-radius: 10px;
      font-size: 0.85rem;
      font-weight: 600;
      box-shadow: 0 10px 25px rgba(0,0,0,0.3);
      display: flex;
      align-items: center;
      gap: 10px;
      border-left: 4px solid #0f766e;
      animation: toastSlideUp 0.3s ease-out;
      max-width: 380px;
    }
    @keyframes toastSlideUp {
      from { transform: translateY(20px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    /* ==========================================================================
       Docs Polish v1.1 — accessibility, readability & navigation
       ========================================================================== */
    :focus-visible {
      outline: 2px solid var(--brand-emerald, #0f766e);
      outline-offset: 2px;
      border-radius: 4px;
    }
    ::selection { background: rgba(15, 118, 110, 0.18); }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
      }
    }

    /* Reading rhythm for tables */
    table.doc-table td, table.doc-table th { line-height: 1.5; }
    table.doc-table tbody tr:nth-child(even) { background: rgba(15, 118, 110, 0.035); }
    table.doc-table tbody tr:hover { background: var(--bg-card-hover, rgba(15, 118, 110, 0.06)); }

    /* Heading anchor links */
    .heading-anchor {
      opacity: 0;
      margin-left: 8px;
      color: var(--text-dim, #64748b);
      text-decoration: none;
      font-weight: 400;
      transition: opacity 0.15s ease;
    }
    h2:hover > .heading-anchor, h3:hover > .heading-anchor,
    .heading-anchor:focus-visible { opacity: 1; }
    .heading-anchor:hover { color: var(--brand-emerald, #0f766e); }

    /* Back-to-top button */
    .to-top-btn {
      position: fixed; right: 24px; bottom: 24px; z-index: 60;
      width: 42px; height: 42px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      background: var(--brand-emerald, #0f766e); color: #fff;
      border: none; cursor: pointer; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
      opacity: 0; visibility: hidden; transform: translateY(10px);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }
    .to-top-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
    .to-top-btn:hover { filter: brightness(1.08); }

    /* Scroll progress indicator */
    .scroll-progress {
      position: fixed; top: 0; left: 0; height: 3px; width: 0%;
      background: linear-gradient(90deg, var(--brand-forest-dark, #134e4a), var(--brand-emerald, #0f766e));
      z-index: 70; pointer-events: none;
    }

    /* Skip link */
    .skip-link {
      position: absolute; left: -9999px; top: 0; z-index: 100;
      background: var(--brand-emerald, #0f766e); color: #fff;
      padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
    }
    .skip-link:focus { left: 0; }

    /* Print */
    @media print {
      .top-header, .docs-sidebar, .docs-toc, .to-top-btn, .scroll-progress,
      .search-modal, .omnify-toast-container, .ambient-glow-top { display: none !important; }
      .docs-main { padding: 0 !important; }
      body { background: #fff !important; color: #000 !important; }
      .code-wrapper, .table-container { break-inside: avoid; }
    }

  

/* User Guide Additions */

    /* Website Palette (Forest Green, Emerald, Mint & Obsidian) */
    :root {
      --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    }

    h1, h2, h3, h4, h5, h6, .brand-title, .doc-hero h1 {
      font-family: var(--font-heading);
    }

    /* Light Mode (Omnify Website Color Palette) */
    :root[data-theme="light"] {
      --bg-body: #F7FCF9;
      --bg-surface: #FFFFFF;
      --bg-card: #FFFFFF;
      --bg-card-hover: #EFF8F2;
      --bg-subtle: #EFF8F2;
      --bg-glass: rgba(255, 255, 255, 0.92);
      --bg-code: #0D1B12;
      --border-subtle: #D4E8DC;
      --border-highlight: #BCE0CB;
      --border-accent: #22A06B;

      --text-main: #0D1B12;
      --text-muted: #3D5147;
      --text-dim: #64748b;

      --brand-forest-dark: #134e4a;
      --brand-forest: #0f766e;
      --brand-forest-mid: #0d9488;
      --brand-forest-light: #14b8a6;
      --brand-emerald: #0f766e;
      --brand-emerald-vivid: #14b8a6;
      --brand-mint-light: #99f6e4;
      --brand-mint-pale: #f0fdfa;
      --brand-amber: #D97706;
      --brand-rose: #DC2626;

      --brand-gradient: linear-gradient(135deg, #134e4a 0%, #0f766e 45%, #0d9488 100%);
      --brand-button-gradient: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
      --hero-gradient: linear-gradient(160deg, #134e4a 0%, #0f766e 40%, #0d9488 100%);
      --glow-emerald: 0 0 35px -5px rgba(15, 118, 110, 0.25);
      --grid-pattern: radial-gradient(rgba(15, 118, 110, 0.08) 1px, transparent 1px);
    }

    /* Dark Mode (Teal Slate & Vivid Mint) */
    :root[data-theme="dark"] {
      --bg-body: #091312;
      --bg-surface: #0f1d1c;
      --bg-card: #132726;
      --bg-card-hover: #173230;
      --bg-subtle: #152b29;
      --bg-glass: rgba(15, 29, 28, 0.90);
      --bg-code: #050e0d;
      --border-subtle: rgba(153, 246, 228, 0.12);
      --border-highlight: rgba(45, 212, 191, 0.28);
      --border-accent: #14b8a6;

      --text-main: #F4FAF6;
      --text-muted: #99f6e4;
      --text-dim: #5eead4;

      --brand-forest-dark: #042f2e;
      --brand-forest: #0f766e;
      --brand-forest-mid: #14b8a6;
      --brand-forest-light: #2dd4bf;
      --brand-emerald: #14b8a6;
      --brand-emerald-vivid: #5eead4;
      --brand-mint-light: #99f6e4;
      --brand-mint-pale: #134e4a;
      --brand-amber: #FBBF24;
      --brand-rose: #F87171;

      --brand-gradient: linear-gradient(135deg, #0f766e 0%, #14b8a6 50%, #2dd4bf 100%);
      --brand-button-gradient: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
      --hero-gradient: linear-gradient(160deg, #042f2e 0%, #134e4a 40%, #0f766e 100%);
      --glow-emerald: 0 0 35px -5px rgba(20, 184, 166, 0.2);
      --grid-pattern: radial-gradient(rgba(20, 184, 166, 0.08) 1px, transparent 1px);
    }

    html {
      scroll-behavior: smooth;
    }

    section[id], [id] {
      scroll-margin-top: 100px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-body);
      color: var(--text-main);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
      background-image: var(--grid-pattern);
      background-size: 28px 28px;
      background-position: top center;
    }

    /* Ambient Background Glow */
    .ambient-glow-top {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 1100px;
      height: 480px;
      background: radial-gradient(50% 50% at 50% 0%, rgba(34, 160, 107, 0.12) 0%, rgba(11, 81, 53, 0.06) 50%, transparent 100%);
      pointer-events: none;
      z-index: 0;
    }

    /* Sticky Top Header */
    .top-header {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      background: var(--bg-glass);
      border-bottom: 1px solid var(--border-subtle);
      height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 28px;
    }

    .brand-wrap {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: var(--text-main);
    }

    .brand-icon {
      width: 34px;
      height: 34px;
      border-radius: 9px;
      background: var(--brand-button-gradient);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(34, 160, 107, 0.3);
      color: #fff;
      font-weight: 800;
      font-size: 1.1rem;
    }

    .brand-text {
      font-weight: 800;
      font-size: 1.15rem;
      letter-spacing: -0.03em;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .brand-version-pill {
      font-family: var(--font-mono);
      font-size: 0.7rem;
      font-weight: 600;
      padding: 2px 7px;
      border-radius: 9999px;
      background: rgba(34, 160, 107, 0.12);
      color: var(--brand-emerald);
      border: 1px solid rgba(34, 160, 107, 0.25);
    }

    /* Doc Mode Switcher Segmented Control */
    .doc-switcher {
      display: flex;
      align-items: center;
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 3px;
      gap: 2px;
    }

    .switcher-btn {
      padding: 6px 14px;
      font-size: 0.82rem;
      font-weight: 600;
      text-decoration: none;
      color: var(--text-muted);
      border-radius: 7px;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .switcher-btn:hover {
      color: var(--text-main);
    }

    .switcher-btn.active {
      background: var(--bg-card);
      color: var(--brand-emerald);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      border: 1px solid var(--border-subtle);
    }

    .header-right {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .header-nav-link {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 0.84rem;
      font-weight: 600;
      color: var(--text-muted);
      text-decoration: none;
      padding: 7px 12px;
      border-radius: 8px;
      transition: all 0.2s ease;
      border: 1px solid transparent;
    }

    .header-nav-link:hover {
      color: var(--brand-emerald);
      background: var(--bg-card-hover);
      border-color: var(--border-subtle);
    }

    .search-btn {
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 9px;
      padding: 7px 14px;
      color: var(--text-muted);
      font-size: 0.85rem;
      cursor: pointer;
      transition: all 0.2s;
      font-family: inherit;
    }

    .search-btn:hover {
      border-color: var(--border-highlight);
      color: var(--text-main);
      background: var(--bg-card-hover);
    }

    .kbd-shortcut {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 5px;
      padding: 1px 6px;
      font-size: 0.7rem;
      font-family: var(--font-mono);
      color: var(--text-dim);
    }

    .icon-btn {
      background: transparent;
      border: 1px solid var(--border-subtle);
      border-radius: 9px;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.2s;
    }

    .icon-btn:hover {
      color: var(--text-main);
      border-color: var(--border-highlight);
      background: var(--bg-card);
    }

    .github-link {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-subtle);
      border-radius: 9px;
      padding: 7px 14px;
      color: var(--text-main);
      font-size: 0.85rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.2s;
    }

    .github-link:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: var(--border-highlight);
      transform: translateY(-1px);
    }

    /* Layout Structure */
    .docs-layout {
      position: relative;
      display: flex;
      max-width: 1560px;
      margin: 0 auto;
      z-index: 1;
    }

    /* Left Sidebar */
    .docs-sidebar {
      width: 290px;
      flex-shrink: 0;
      position: sticky;
      top: 68px;
      height: calc(100vh - 68px);
      overflow-y: auto;
      border-right: 1px solid var(--border-subtle);
      padding: 24px 16px 40px;
      background: transparent;
      scrollbar-width: thin;
      scrollbar-color: var(--border-subtle) transparent;
    }

    .sidebar-group {
      margin-bottom: 24px;
    }

    .sidebar-heading {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-dim);
      padding: 6px 12px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .sidebar-items {
      list-style: none;
      margin-top: 4px;
    }

    .sidebar-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 7px 12px;
      border-radius: 7px;
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.86rem;
      font-weight: 500;
      transition: all 0.15s ease;
      line-height: 1.4;
    }

    .sidebar-link:hover {
      color: var(--text-main);
      background: var(--bg-card);
    }

    .sidebar-link.active {
      color: var(--brand-emerald);
      background: rgba(34, 160, 107, 0.1);
      font-weight: 600;
    }

    .sidebar-tag {
      font-size: 0.68rem;
      font-family: var(--font-mono);
      padding: 1px 5px;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-dim);
    }

    /* Main Content */
    .docs-main {
      flex: 1;
      min-width: 0;
      padding: 40px 56px 100px;
    }

    @media (max-width: 1180px) {
      .docs-main { padding: 32px 24px 80px; }
    }

    /* Hero Header */
    .doc-hero {
      margin-bottom: 56px;
      padding-bottom: 40px;
      border-bottom: 1px solid var(--border-subtle);
    }

    .hero-badge-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 4px 14px;
      border-radius: 9999px;
      background: rgba(34, 160, 107, 0.12);
      border: 1px solid rgba(34, 160, 107, 0.28);
      color: var(--brand-emerald);
      font-size: 0.8rem;
      font-weight: 600;
      margin-bottom: 16px;
    }

    .hero-title {
      font-size: 2.75rem;
      font-weight: 800;
      letter-spacing: -0.04em;
      line-height: 1.15;
      margin-bottom: 16px;
      color: var(--text-main);
    }

    .hero-description {
      font-size: 1.15rem;
      color: var(--text-muted);
      max-width: 820px;
      line-height: 1.6;
    }

    .hero-meta-bar {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-top: 20px;
      flex-wrap: wrap;
    }

    .hero-ext-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      border-radius: 9px;
      font-size: 0.85rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.2s ease;
    }

    .hero-ext-btn.primary {
      background: var(--brand-button-gradient);
      color: #fff;
      box-shadow: 0 4px 14px rgba(34, 160, 107, 0.3);
    }

    .hero-ext-btn.primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(34, 160, 107, 0.4);
    }

    .hero-ext-btn.secondary {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      color: var(--text-main);
    }

    .hero-ext-btn.secondary:hover {
      border-color: var(--border-highlight);
      background: var(--bg-card-hover);
    }

    /* Section Styling */
    .doc-section {
      margin-bottom: 72px;
      padding-bottom: 48px;
      border-bottom: 1px solid var(--border-subtle);
    }

    .section-header {
      margin-bottom: 28px;
    }

    .section-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 8px;
    }

    .section-badge {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      padding: 2px 8px;
      border-radius: 6px;
      background: rgba(34, 160, 107, 0.12);
      color: var(--brand-emerald);
      border: 1px solid rgba(34, 160, 107, 0.25);
    }

    .section-title {
      font-size: 1.95rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .section-summary {
      font-size: 1.05rem;
      color: var(--text-muted);
    }

    .section-content h3 {
      font-size: 1.35rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin: 32px 0 14px;
      color: var(--text-main);
    }

    .section-content p {
      margin-bottom: 16px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    .lead-text {
      font-size: 1.1rem;
      line-height: 1.75;
      color: var(--text-main);
      margin-bottom: 24px;
    }

    /* Grid Cards */
    .grid-cards-3 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 18px;
      margin: 24px 0 32px;
    }

    .grid-cards-2 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 18px;
      margin: 24px 0 32px;
    }

    .feature-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 22px;
      transition: all 0.2s ease;
    }

    .feature-card:hover {
      border-color: var(--border-highlight);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

    .feature-card-icon {
      font-size: 1.75rem;
      margin-bottom: 12px;
    }

    .feature-card h4 {
      font-size: 1.05rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--text-main);
    }

    .feature-card p {
      font-size: 0.9rem;
      margin-bottom: 0;
      color: var(--text-muted);
      line-height: 1.55;
    }

    /* UI Mockup Window Styles */
    .ui-mockup-window {
      margin: 32px 0;
      border: 1px solid var(--border-subtle);
      border-radius: 14px;
      overflow: hidden;
      background: var(--bg-card);
      box-shadow: 0 12px 36px rgba(11, 81, 53, 0.08);
      transition: all 0.2s ease;
    }

    .ui-mockup-window:hover {
      border-color: var(--border-highlight);
      box-shadow: 0 16px 48px rgba(11, 81, 53, 0.12);
    }

    .ui-mockup-header {
      background: var(--bg-surface);
      border-bottom: 1px solid var(--border-subtle);
      padding: 10px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .ui-mockup-dots {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      display: inline-block;
    }

    .dot-red { background: #EF4444; }
    .dot-yellow { background: #F59E0B; }
    .dot-green { background: #10B981; }

    .ui-mockup-address {
      background: var(--bg-subtle);
      border: 1px solid var(--border-subtle);
      border-radius: 6px;
      padding: 4px 14px;
      font-family: var(--font-mono);
      font-size: 0.75rem;
      color: var(--text-dim);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .ui-mockup-badge {
      font-size: 0.7rem;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 9999px;
      background: rgba(34, 160, 107, 0.12);
      color: var(--brand-emerald);
      border: 1px solid rgba(34, 160, 107, 0.25);
    }

    .ui-mockup-body {
      padding: 24px;
      background: var(--bg-card);
    }

    .ui-mockup-caption {
      padding: 12px 20px;
      background: var(--bg-surface);
      border-top: 1px solid var(--border-subtle);
      font-size: 0.85rem;
      color: var(--text-dim);
      font-style: italic;
    }

    /* Sub-components for UI Mockups */
    .mockup-wizard {
      max-width: 720px;
      margin: 0 auto;
    }

    .wizard-stepper {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 24px;
    }

    .step {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.82rem;
      color: var(--text-dim);
      font-weight: 600;
    }

    .step.active {
      color: var(--brand-emerald);
    }

    .step.completed {
      color: var(--brand-forest);
    }

    .step-num {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
    }

    .step.active .step-num {
      background: var(--brand-emerald);
      color: #fff;
      border-color: var(--brand-emerald);
    }

    .step.completed .step-num {
      background: var(--brand-forest);
      color: #fff;
      border-color: var(--brand-forest);
    }

    .step-connector {
      flex: 1;
      height: 2px;
      background: var(--border-subtle);
      margin: 0 10px;
    }

    .step-connector.completed {
      background: var(--brand-forest);
    }

    .wizard-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 24px;
    }

    .wizard-card-header h4 {
      margin: 0 0 4px;
      font-size: 1.1rem;
      font-weight: 700;
    }

    .wizard-card-header p {
      font-size: 0.85rem;
      color: var(--text-dim);
      margin-bottom: 20px;
    }

    .mockup-form-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
      margin-bottom: 20px;
    }

    .mockup-field label {
      display: block;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--text-muted);
      margin-bottom: 6px;
    }

    .mockup-input-text, .mockup-input-select {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 7px;
      padding: 8px 12px;
      font-size: 0.85rem;
      color: var(--text-main);
    }

    .wizard-actions {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid var(--border-subtle);
      padding-top: 16px;
      margin-top: 20px;
    }

    .btn-mockup {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 16px;
      border-radius: 7px;
      font-size: 0.84rem;
      font-weight: 600;
      cursor: pointer;
      user-select: none;
      transition: all 0.2s ease;
    }

    .btn-mockup.btn-primary {
      background: var(--brand-button-gradient);
      color: #fff;
    }

    .btn-mockup.btn-outline {
      background: transparent;
      border: 1px solid var(--border-subtle);
      color: var(--text-main);
    }

    .btn-mockup.btn-outline.danger {
      color: var(--brand-rose);
      border-color: rgba(220, 38, 38, 0.3);
    }

    .btn-xs {
      display: inline-block;
      padding: 3px 8px;
      font-size: 0.72rem;
      font-weight: 600;
      border-radius: 5px;
      background: var(--bg-subtle);
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      cursor: pointer;
    }

    .btn-xs.danger {
      color: var(--brand-rose);
    }

    .mockup-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 18px;
    }

    .mockup-pills {
      display: flex;
      gap: 6px;
    }

    .mockup-pill {
      font-size: 0.75rem;
      padding: 3px 10px;
      border-radius: 9999px;
      background: var(--bg-subtle);
      border: 1px solid var(--border-subtle);
      color: var(--text-dim);
      font-weight: 600;
    }

    .mockup-pill.active {
      background: var(--brand-forest);
      color: #fff;
      border-color: var(--brand-forest);
    }

    .mockup-kpi-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 14px;
      margin-bottom: 20px;
    }

    .kpi-box {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 16px;
    }

    .kpi-label {
      display: block;
      font-size: 0.78rem;
      color: var(--text-dim);
      font-weight: 600;
      margin-bottom: 4px;
    }

    .kpi-val {
      display: block;
      font-size: 1.45rem;
      font-weight: 800;
      color: var(--text-main);
      margin-bottom: 4px;
    }

    .kpi-trend {
      font-size: 0.72rem;
      font-weight: 600;
    }

    .kpi-trend.up {
      color: var(--brand-emerald);
    }

    .mockup-split-2 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 16px;
    }

    .mockup-card-panel {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 18px;
    }

    .panel-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
      font-size: 0.88rem;
    }

    .panel-link {
      font-size: 0.75rem;
      color: var(--brand-emerald);
      font-weight: 600;
      cursor: pointer;
    }

    .mockup-table-mini {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .table-mini-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 0;
      border-bottom: 1px solid var(--border-subtle);
      font-size: 0.82rem;
    }

    .table-mini-row.header {
      font-weight: 700;
      color: var(--text-dim);
      font-size: 0.72rem;
      text-transform: uppercase;
      border-bottom: 2px solid var(--border-subtle);
    }

    .quick-action-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .qa-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 8px 12px;
      border-radius: 8px;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
    }

    .qa-icon {
      font-size: 1.25rem;
    }

    .qa-title {
      font-size: 0.84rem;
      font-weight: 700;
      color: var(--text-main);
    }

    .qa-desc {
      font-size: 0.72rem;
      color: var(--text-dim);
    }

    .mockup-toolbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
      flex-wrap: wrap;
      gap: 10px;
    }

    .mockup-tabs-bar {
      display: flex;
      gap: 6px;
    }

    .m-tab {
      font-size: 0.78rem;
      padding: 5px 12px;
      border-radius: 6px;
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      font-weight: 600;
    }

    .m-tab.active {
      background: var(--brand-forest);
      color: #fff;
      border-color: var(--brand-forest);
    }

    .m-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #ecfdf5;
      color: #047857;
      font-size: 0.7rem;
      font-weight: 700;
      padding: 1px 7px;
      border-radius: 9999px;
      margin-left: 6px;
    }

    .portal-kpi-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      margin-bottom: 18px;
    }

    @media (max-width: 768px) {
      .portal-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .portal-kpi-card {
      background: #ffffff;
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 12px 14px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    }

    .portal-kpi-label {
      font-size: 0.72rem;
      text-transform: uppercase;
      font-weight: 700;
      color: var(--text-dim);
      margin-bottom: 4px;
    }

    .portal-kpi-value {
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--text-main);
      line-height: 1.2;
    }

    .portal-kpi-sub {
      font-size: 0.72rem;
      color: #059669;
      font-weight: 600;
      margin-top: 2px;
    }

    .mockup-data-table {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      overflow: hidden;
      font-size: 0.82rem;
    }

    .table-head {
      display: flex;
      align-items: center;
      padding: 10px 16px;
      background: var(--bg-subtle);
      border-bottom: 1px solid var(--border-subtle);
      font-weight: 700;
      color: var(--text-dim);
      font-size: 0.72rem;
      text-transform: uppercase;
    }

    .table-row {
      display: flex;
      align-items: center;
      padding: 12px 16px;
      border-bottom: 1px solid var(--border-subtle);
      color: var(--text-main);
    }

    .table-row:last-child {
      border-bottom: none;
    }

    .p-title {
      font-weight: 700;
      font-size: 0.88rem;
    }

    .p-sku {
      font-size: 0.72rem;
      color: var(--text-dim);
    }

    .editor-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      margin-bottom: 16px;
    }

    .editor-title-input {
      flex: 1;
      font-size: 1.15rem;
      font-weight: 700;
      padding: 8px 14px;
      border-radius: 8px;
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      color: var(--text-main);
    }

    .editor-tabs {
      display: flex;
      gap: 4px;
      border-bottom: 1px solid var(--border-subtle);
      margin-bottom: 16px;
    }

    .e-tab {
      padding: 8px 14px;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--text-dim);
      border-bottom: 2px solid transparent;
    }

    .e-tab.active {
      color: var(--brand-emerald);
      border-bottom-color: var(--brand-emerald);
    }

    .file-locker-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 14px;
      border-radius: 8px;
      background: var(--bg-subtle);
      border: 1px solid var(--border-subtle);
      margin-bottom: 8px;
    }

    .tag-cloud-preview {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .tag-pill {
      font-size: 0.78rem;
      padding: 5px 12px;
      border-radius: 9999px;
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      color: var(--brand-forest-light);
    }

    .risk-badge-banner {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      border-radius: 8px;
      background: rgba(34, 160, 107, 0.12);
      border: 1px solid rgba(34, 160, 107, 0.3);
      color: var(--text-main);
      font-size: 0.85rem;
    }

    .gateway-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 16px;
      border-bottom: 1px solid var(--border-subtle);
      background: var(--bg-surface);
    }

    .gateway-row:last-child {
      border-bottom: none;
    }

    .g-icon {
      font-size: 1.5rem;
    }

    .mockup-chart-bars {
      display: flex;
      align-items: flex-end;
      gap: 16px;
      height: 120px;
      padding-top: 20px;
    }

    .chart-col {
      flex: 1;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      gap: 6px;
      font-size: 0.72rem;
      color: var(--text-dim);
    }

    .bar-fill {
      width: 100%;
      background: var(--brand-button-gradient);
      border-radius: 4px 4px 0 0;
      min-height: 8px;
    }

    .storefront-grid-3 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 16px;
    }

    .store-product-card {
      position: relative;
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .product-badge-sale {
      position: absolute;
      top: 8px;
      left: 8px;
      font-size: 0.68rem;
      font-weight: 700;
      padding: 2px 6px;
      border-radius: 4px;
      background: var(--brand-rose);
      color: #fff;
    }

    .product-card-img {
      height: 140px;
      background: var(--bg-subtle);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      border-radius: 9px 9px 0 0;
    }

    .product-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.25s ease;
    }

    .store-product-card:hover .product-card-img img {
      transform: scale(1.04);
    }

    .product-card-body {
      padding: 14px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .product-cat-tag {
      font-size: 0.7rem;
      color: var(--text-dim);
      font-weight: 600;
    }

    .product-card-title {
      font-size: 0.92rem;
      font-weight: 700;
      margin: 0;
    }

    .product-stars {
      color: #FBBF24;
      font-size: 0.75rem;
    }

    .product-price-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 4px 0 8px;
    }

    .price-current {
      font-weight: 800;
      font-size: 1.1rem;
      color: var(--text-main);
    }

    .price-old {
      font-size: 0.85rem;
      color: var(--text-dim);
    }

    .product-gallery-mock {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 16px;
      text-align: center;
    }

    .main-gallery-preview {
      height: 220px;
      background: var(--bg-subtle);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      margin-bottom: 12px;
    }

    .main-gallery-preview img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .gallery-thumbs {
      display: flex;
      justify-content: center;
      gap: 8px;
    }

    .thumb {
      width: 44px;
      height: 44px;
      border-radius: 6px;
      border: 1px solid var(--border-subtle);
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--bg-card);
      overflow: hidden;
      cursor: pointer;
    }

    .thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .thumb.active {
      border-color: var(--brand-emerald);
      box-shadow: 0 0 0 1px var(--brand-emerald);
    }

    .product-meta-mock {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .qty-stepper {
      font-family: var(--font-mono);
      font-size: 0.8rem;
      padding: 3px 8px;
      border-radius: 5px;
      background: var(--bg-subtle);
      border: 1px solid var(--border-subtle);
    }

    /* Tables */
    .doc-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      margin: 24px 0 32px;
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      overflow: hidden;
      font-size: 0.9rem;
    }

    .doc-table th, .doc-table td {
      padding: 12px 16px;
      text-align: left;
      border-bottom: 1px solid var(--border-subtle);
    }

    .doc-table th {
      background: var(--bg-surface);
      color: var(--text-main);
      font-weight: 600;
      font-size: 0.82rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .doc-table tr:last-child td {
      border-bottom: none;
    }

    .doc-table td {
      color: var(--text-muted);
    }

    /* Callouts */
    .callout {
      display: flex;
      gap: 16px;
      padding: 18px 20px;
      border-radius: 12px;
      margin: 24px 0;
      font-size: 0.92rem;
      line-height: 1.6;
    }

    .callout-icon {
      font-size: 1.35rem;
      flex-shrink: 0;
    }

    .callout.tip {
      background: rgba(34, 160, 107, 0.08);
      border: 1px solid rgba(34, 160, 107, 0.25);
      color: var(--text-main);
    }

    .callout.warning {
      background: rgba(217, 119, 6, 0.08);
      border: 1px solid rgba(217, 119, 6, 0.25);
      color: var(--text-main);
    }

    /* Badges */
    .badge {
      display: inline-block;
      padding: 3px 8px;
      border-radius: 6px;
      font-size: 0.75rem;
      font-weight: 600;
      font-family: var(--font-mono);
    }

    .badge.success { background: rgba(34, 160, 107, 0.15); color: var(--brand-emerald); }
    .badge.info { background: rgba(18, 99, 67, 0.15); color: var(--brand-forest-light); }
    .badge.warning { background: rgba(217, 119, 6, 0.15); color: var(--brand-amber); }
    .badge.danger { background: rgba(220, 38, 38, 0.15); color: var(--brand-rose); }
    .badge.neutral { background: rgba(255, 255, 255, 0.08); color: var(--text-dim); }

    /* Lists */
    .styled-list {
      margin: 16px 0 24px 20px;
      color: var(--text-muted);
    }

    .styled-list li {
      margin-bottom: 8px;
      line-height: 1.6;
    }

    code {
      font-family: var(--font-mono);
      font-size: 0.85em;
      padding: 2px 6px;
      border-radius: 5px;
      background: rgba(34, 160, 107, 0.08);
      color: var(--brand-emerald);
      border: 1px solid rgba(34, 160, 107, 0.2);
    }

    /* Right Rail TOC */
    .docs-toc {
      width: 240px;
      flex-shrink: 0;
      position: sticky;
      top: 68px;
      height: calc(100vh - 68px);
      overflow-y: auto;
      padding: 32px 16px 40px;
      border-left: 1px solid var(--border-subtle);
    }

    .toc-title {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-dim);
      margin-bottom: 12px;
      padding-left: 10px;
    }

    .toc-list {
      list-style: none;
    }

    .toc-link {
      display: block;
      padding: 6px 10px;
      font-size: 0.8rem;
      color: var(--text-muted);
      text-decoration: none;
      border-radius: 6px;
      line-height: 1.4;
      transition: all 0.15s ease;
    }

    .toc-link:hover {
      color: var(--text-main);
      background: var(--bg-card);
    }

    .toc-link.active {
      color: var(--brand-emerald);
      font-weight: 600;
      background: rgba(34, 160, 107, 0.08);
    }

    /* FAQ Item */
    .faq-item {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 20px;
      margin-bottom: 16px;
    }

    .faq-item h4 {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 8px;
    }

    .faq-item p {
      margin-bottom: 0;
      font-size: 0.92rem;
      color: var(--text-muted);
    }

    /* Search Modal */
    .search-modal {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(8px);
      z-index: 100;
      display: none;
      align-items: flex-start;
      justify-content: center;
      padding-top: 15vh;
    }

    .search-modal.active {
      display: flex;
    }

    .search-dialog {
      background: var(--bg-surface);
      border: 1px solid var(--border-highlight);
      border-radius: 14px;
      width: 90%;
      max-width: 620px;
      overflow: hidden;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    }

    .search-input-wrap {
      display: flex;
      align-items: center;
      padding: 16px 20px;
      border-bottom: 1px solid var(--border-subtle);
      gap: 12px;
    }

    .search-input {
      flex: 1;
      background: transparent;
      border: none;
      outline: none;
      font-size: 1.05rem;
      color: var(--text-main);
      font-family: inherit;
    }

    .search-results {
      max-height: 420px;
      overflow-y: auto;
      padding: 12px;
    }

    .search-result-item {
      display: block;
      padding: 12px 16px;
      border-radius: 8px;
      text-decoration: none;
      transition: background 0.15s ease;
      color: inherit;
    }

    .search-result-item:hover {
      background: var(--bg-card);
    }

    .search-result-title {
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--brand-emerald);
      margin-bottom: 4px;
    }

    .search-result-snippet {
      font-size: 0.82rem;
      color: var(--text-dim);
      line-height: 1.4;
    }

    @media (max-width: 980px) {
      .docs-toc { display: none; }
      .docs-sidebar { display: none; }
      .docs-main { padding: 24px 16px 60px; }
      .hero-title { font-size: 2.1rem; }
    }

    /* ==========================================================================
       Docs Polish v1.1 — accessibility, readability & navigation
       ========================================================================== */
    :focus-visible {
      outline: 2px solid var(--brand-emerald, #0f766e);
      outline-offset: 2px;
      border-radius: 4px;
    }
    ::selection { background: rgba(15, 118, 110, 0.18); }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
      }
    }

    table.doc-table td, table.doc-table th { line-height: 1.5; }
    table.doc-table tbody tr:nth-child(even) { background: rgba(15, 118, 110, 0.035); }
    table.doc-table tbody tr:hover { background: var(--bg-card-hover, rgba(15, 118, 110, 0.06)); }

    .heading-anchor {
      opacity: 0;
      margin-left: 8px;
      color: var(--text-dim, #64748b);
      text-decoration: none;
      font-weight: 400;
      transition: opacity 0.15s ease;
    }
    h2:hover > .heading-anchor, h3:hover > .heading-anchor,
    .heading-anchor:focus-visible { opacity: 1; }
    .heading-anchor:hover { color: var(--brand-emerald, #0f766e); }

    .to-top-btn {
      position: fixed; right: 24px; bottom: 24px; z-index: 60;
      width: 42px; height: 42px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      background: var(--brand-emerald, #0f766e); color: #fff;
      border: none; cursor: pointer; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
      opacity: 0; visibility: hidden; transform: translateY(10px);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }
    .to-top-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
    .to-top-btn:hover { filter: brightness(1.08); }

    .scroll-progress {
      position: fixed; top: 0; left: 0; height: 3px; width: 0%;
      background: linear-gradient(90deg, var(--brand-forest-dark, #134e4a), var(--brand-emerald, #0f766e));
      z-index: 70; pointer-events: none;
    }

    .skip-link {
      position: absolute; left: -9999px; top: 0; z-index: 100;
      background: var(--brand-emerald, #0f766e); color: #fff;
      padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
    }
    .skip-link:focus { left: 0; }

    @media print {
      .top-header, .docs-sidebar, .docs-toc, .to-top-btn, .scroll-progress,
      .search-modal, .toast-container, .omnify-toast-container, .ambient-glow-top { display: none !important; }
      .docs-main { padding: 0 !important; }
      body { background: #fff !important; color: #000 !important; }
      .ui-mockup-window, .doc-table { break-inside: avoid; }
    }
  