:root {
    --bg-page: #f5f5f7;
    --bg-main: #ffffff;
    --bg-soft: #f9fafb;
    --border-subtle: #e5e7eb;
    --border-strong: #d1d5db;
    --text-main: #111827;
    --text-muted: #6b7280;
    --accent: #1d4ed8;
    --accent-soft: #e0ecff;
    --radius: 10px;
    --radius-lg: 16px;
    --transition: 0.18s ease-out;
  }

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

  body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
    background: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  .container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
  }

 
  header {
    border-bottom: 1px solid var(--border-subtle);
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .header-inner {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
  }



  .logo-text-main {
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .logo-text-sub {
    font-size: 0.74rem;
    color: var(--text-muted);
  }

  .nav-top {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.9rem;
  }

  .nav-top a {
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    color: #4b5563;
    text-transform: capitalize;
    transition: border-color var(--transition), color var(--transition);
  }

  .nav-top a:hover {
    border-color: var(--accent);
    color: var(--accent);
  }

  .nav-top .docs-active {
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 500;
  }

 

  .docs-hero {
    padding: 32px 0 20px;
  }

  .docs-breadcrumb {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
  }

  .docs-breadcrumb a {
    color: #4b5563;
  }

  .docs-breadcrumb a:hover {
    color: var(--accent);
    text-decoration: underline;
  }

  .docs-breadcrumb-sep {
    margin: 0 4px;
  }

  .docs-hero-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
  }

  .docs-hero-title {
    font-size: 1.7rem;
  }

  .docs-hero-label {
    font-size: 0.78rem;
    padding: 3px 9px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--accent);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
  }

  .docs-hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 640px;
  }

  .docs-hero-meta {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }

  .docs-hero-meta span::before {
    content: "•";
    margin-right: 6px;
    color: #9ca3af;
  }

  .docs-hero-meta span:first-child::before {
    content: "";
    margin-right: 0;
  }

 

  .docs-shell {
    margin-top: 18px;
    margin-bottom: 40px;
  }

  .docs-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.25fr) minmax(0, 1fr) minmax(0, 0.22fr);
    gap: 20px;
    align-items: flex-start;
  }

 

  .docs-sidebar {
    position: sticky;
    top: 80px;
    align-self: flex-start;
  }

  .docs-nav-title {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-bottom: 8px;
  }

  .docs-nav-section {
    margin-bottom: 14px;
  }

  .docs-nav-section-title {
    font-size: 0.86rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
  }

  .docs-nav-list {
    list-style: none;
    padding-left: 0;
    border-left: 1px solid var(--border-subtle);
    margin-left: 3px;
  }

  .docs-nav-item {
    font-size: 0.86rem;
  }

  .docs-nav-link {
    display: block;
    padding: 4px 4px 4px 10px;
    color: #4b5563;
    border-radius: 6px;
    margin: 1px 0;
    transition: background var(--transition), color var(--transition), transform var(--transition);
  }

  .docs-nav-link:hover {
    background: #f3f4f6;
    color: var(--accent);
    transform: translateX(1px);
  }

  .docs-nav-link.is-active {
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 500;
  }

 

  .docs-content {
    background: var(--bg-main);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 22px 22px 24px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  }

  .docs-section {
    margin-bottom: 26px;
  }

  .docs-section:last-child {
    margin-bottom: 0;
  }

  .docs-section h2 {
    font-size: 1.25rem;
    margin-bottom: 4px;
  }

  .docs-section h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    margin-top: 14px;
  }

  .docs-lead {
    font-size: 0.94rem;
    color: var(--text-muted);
    margin-bottom: 10px;
  }

  .docs-text {
    font-size: 0.9rem;
    color: #374151;
  }

  .docs-text + .docs-list,
  .docs-text + .docs-steps {
    margin-top: 6px;
  }

  .docs-list,
  .docs-steps {
    font-size: 0.9rem;
    color: #374151;
    padding-left: 18px;
    margin-bottom: 8px;
  }

  .docs-list li,
  .docs-steps li {
    margin-bottom: 4px;
  }

  .docs-note {
    border-radius: var(--radius);
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    padding: 8px 10px;
    font-size: 0.86rem;
    color: #1e3a8a;
    margin-top: 6px;
  }

  .docs-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.82rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-subtle);
    background: var(--bg-soft);
    padding: 9px 11px;
    white-space: pre;
    overflow-x: auto;
    margin-top: 6px;
    color: #111827;
  }

  .docs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 0.88rem;
  }

  .docs-table th,
  .docs-table td {
    border: 1px solid var(--border-subtle);
    padding: 6px 8px;
    text-align: left;
  }

  .docs-table th {
    background: var(--bg-soft);
    font-weight: 500;
  }

  .docs-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.78rem;
    background: #f3f4f6;
    color: #374151;
  }

  .docs-tag--warning {
    background: #fef3c7;
    color: #92400e;
  }

  .docs-tag--danger {
    background: #fee2e2;
    color: #b91c1c;
  }

 

  .docs-aside {
    position: sticky;
    top: 80px;
    align-self: flex-start;
    font-size: 0.82rem;
    color: var(--text-muted);
  }

  .docs-aside-box {
    border-radius: var(--radius);
    border: 1px solid var(--border-subtle);
    background: #ffffff;
    padding: 10px 11px;
    margin-bottom: 10px;
  }

  .docs-aside-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #4b5563;
  }

  .docs-aside-list {
    list-style: none;
    padding-left: 0;
  }

  .docs-aside-list li {
    margin-bottom: 4px;
  }

  .docs-aside-link {
    color: #4b5563;
  }

  .docs-aside-link:hover {
    color: var(--accent);
  }

  .docs-aside-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
  }

 

  .docs-content,
  .docs-sidebar,
  .docs-aside {
    opacity: 0;
    transform: translateY(6px);
    animation: docsFadeIn 0.5s ease-out forwards;
  }

  .docs-sidebar {
    animation-delay: 0.08s;
  }

  .docs-content {
    animation-delay: 0.12s;
  }

  .docs-aside {
    animation-delay: 0.18s;
  }

  @keyframes docsFadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

 

  @media (max-width: 980px) {
    .docs-layout {
      grid-template-columns: minmax(0, 0.28fr) minmax(0, 1fr);
    }

    .docs-aside {
      display: none;
    }
  }

  @media (max-width: 780px) {
    .docs-layout {
      grid-template-columns: minmax(0, 1fr);
    }

    .docs-sidebar {
      position: static;
      order: -1;
      margin-bottom: 8px;
    }

    .docs-content {
      padding: 18px 14px 20px;
    }
  }

  @media (max-width: 640px) {
    .header-inner {
      height: 60px;
    }

    .nav-top {
      display: none;
    }

    .docs-hero {
      padding-top: 24px;
    }
  }