html, body.docs-body {
  height: auto;
  overflow-x: hidden;
  background: var(--paper, #F8F7F4);
  color: var(--ink, #111111);
  font-family: 'Noto Sans SC', var(--font-sans, system-ui, -apple-system, sans-serif);
}

.docs-main {
  padding: calc(var(--header-height, 68px) + 36px) 0 96px;
  min-height: calc(100vh - 160px);
}

.docs-main .wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.docs-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line, rgba(0, 0, 0, 0.08));
}

.docs-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand, #0052FF);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.docs-header h1 {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--ink, #111111);
}

.docs-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted, #666666);
  margin-top: 6px;
}

.docs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted, #666666);
}

.docs-section {
  margin-top: 48px;
}

.docs-section h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line, rgba(0, 0, 0, 0.06));
  color: var(--ink, #111111);
}

.docs-section h3 {
  font-size: clamp(16px, 2.5vw, 19px);
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.docs-section p, .docs-section li {
  font-size: 15px;
  line-height: 1.75;
  color: #2b2b2b;
}

.docs-section ul, .docs-section ol {
  padding-left: 22px;
  margin: 12px 0 18px;
}

.docs-section li {
  margin-bottom: 6px;
}

.callout {
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.callout-info {
  border-left: 4px solid var(--brand, #0052FF);
  background: rgba(0, 82, 255, 0.03);
}

.callout-warning {
  border-left: 4px solid #F59E0B;
  background: rgba(245, 158, 11, 0.04);
}

.callout-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.callout p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

pre {
  background: #18191E;
  color: #E2E8F0;
  padding: 16px;
  border-radius: 10px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.55;
  margin: 14px 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
}

p code, li code {
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: #c7254e;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

th, td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  line-height: 1.5;
}

th {
  background: #F4F4F6;
  font-weight: 600;
  color: #333333;
}

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

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.badge-green {
  background: #DEF7EC;
  color: #03543F;
}

.badge-yellow {
  background: #FEF08A;
  color: #854D0E;
}

.badge-blue {
  background: #E1EFFE;
  color: #1E429F;
}

@media (max-width: 640px) {
  .docs-main {
    padding-top: calc(var(--header-height, 68px) + 20px);
  }
  .docs-main .wrap {
    padding: 0 16px;
  }
  pre {
    padding: 12px;
    font-size: 12.5px;
  }
  th, td {
    padding: 10px 10px;
    font-size: 13px;
  }
}
