/* Dedicated integration guide page, built on the shared SeedRouter docs system. */
html { scroll-behavior: smooth; }

.guide-layout { align-items: start; }

.guide-content { min-width: 0; }
.guide-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-5);
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 12px;
}
.guide-breadcrumb a { color: var(--text-muted) !important; }
.guide-breadcrumb strong { color: var(--text); font-weight: 500; }
.guide-content > section:first-of-type > h1,
.guide-content > h1 {
  max-width: 17ch;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.guide-content h2 { margin-top: 64px; }
.guide-content h3 { margin-top: 34px; font-size: 19px; }
.guide-content h4 { margin: 26px 0 8px; font-size: 16px; }
.guide-content section[id] { scroll-margin-top: calc(var(--nav-height) + 24px); }
.guide-content h2 a,
.guide-content h3 a,
.guide-content h4 a { color: inherit !important; border-bottom: 0 !important; }
.guide-content section.level1 > h1 + section.level2 { margin-top: 0; }

.guide-content table {
  width: 100%;
  margin: var(--space-5) 0;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  overflow: hidden;
}
.guide-content th,
.guide-content td {
  padding: 11px 12px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.guide-content th:last-child,
.guide-content td:last-child { border-right: 0; }
.guide-content tr:last-child td { border-bottom: 0; }
.guide-content th {
  background: var(--accents-1);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.guide-content tbody tr:hover { background: rgba(54, 112, 92, 0.04); }

.guide-content blockquote {
  margin: var(--space-5) 0;
  padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(0, 112, 243, 0.05);
  color: var(--text-muted);
}
.guide-content blockquote p { margin: 0; }

.guide-content pre {
  position: relative;
  margin: var(--space-5) 0;
  padding: 46px var(--space-5) var(--space-5);
  overflow-x: auto;
  border: 1px solid #1f1f1f;
  border-radius: var(--radius-md);
  background: #0a0a0a;
  color: #e8e8e8;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
}
.guide-content pre code {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}
.guide-code-copy {
  position: absolute;
  top: 9px;
  right: 10px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  color: #ccc;
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
}
.guide-code-copy:hover { background: rgba(255,255,255,.12); color: #fff; }
.guide-code-copy.is-copied { border-color: var(--brand); color: var(--brand); }

.guide-toc__link {
  display: block;
  padding: 5px 0;
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.35;
  text-decoration: none;
}
.guide-toc__link:hover,
.guide-toc__link.is-active { color: var(--text); }
.guide-toc__link--sub { padding-left: 12px; font-size: 11px; }

.guide-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

@media (max-width: 720px) {
  .guide-content > section:first-of-type > h1,
  .guide-content > h1 { font-size: 34px; }
  .guide-content h2 { margin-top: 48px; }
  .guide-content table { display: block; overflow-x: auto; white-space: normal; }
  .guide-content pre { padding-left: 16px; padding-right: 16px; }
}
