.docs-shell {
  background: #f8fafc;
  padding: 42px 0 60px;
}

.docs-layout {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
}

.docs-sidebar {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  position: sticky;
  top: 102px;
  max-height: calc(100vh - 130px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.docs-sidebar-head {
  padding: 18px;
  border-bottom: 1px solid #eef2f7;
}

.docs-sidebar-head h3 {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #0e1e3a;
  font-size: 30px;
  line-height: 1.05;
}

.docs-search-wrap {
  position: relative;
  margin-top: 12px;
}

.docs-search-icon {
  position: absolute;
  left: 11px;
  top: 11px;
  width: 16px;
  height: 16px;
  color: #94a3b8;
}

.docs-search-input {
  width: 100%;
  border: 1px solid #dbe2eb;
  border-radius: 10px;
  font-size: 14px;
  padding: 10px 12px 10px 34px;
  outline: none;
  background: #f8fafc;
}

.docs-search-input:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
  background: #fff;
}

.docs-sidebar-body {
  padding: 14px 12px 18px;
  overflow-y: auto;
}

.docs-nav-group {
  margin-bottom: 16px;
}

.docs-nav-title {
  margin: 0 0 8px;
  padding: 0 8px;
  color: #94a3b8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.docs-nav-link {
  display: block;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 10px;
  padding: 8px 10px;
  text-decoration: none;
}

.docs-nav-link:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.docs-nav-link.is-active {
  background: #e8f1ff;
  color: #1a73e8;
}

.docs-main {
  min-width: 0;
}

.docs-hero {
  background: linear-gradient(180deg, #eef5ff 0%, #ffffff 72%);
  border: 1px solid #dbeafe;
  border-radius: 20px;
  padding: 30px 24px;
  margin-bottom: 18px;
}

.docs-hero h1 {
  margin: 0 0 10px;
  font-family: 'Poppins', sans-serif;
  color: #0e1e3a;
  font-size: 44px;
  line-height: 1.08;
}

.docs-hero p {
  margin: 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.75;
  max-width: 920px;
}

.docs-main-search {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 16px;
}

.docs-main-input {
  flex: 1;
  min-width: 260px;
  border: 1px solid #dbe2eb;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
}

.docs-main-input:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}

.docs-main-search button {
  border: 0;
  border-radius: 12px;
  background: #1a73e8;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 0 20px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(26, 115, 232, 0.22);
}

.docs-main-search button:hover {
  background: #1667d2;
}

.docs-article-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 24px;
}

.docs-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #64748b;
  font-size: 13px;
}

.docs-breadcrumbs a {
  color: #64748b;
  text-decoration: none;
}

.docs-breadcrumbs a:hover {
  color: #1a73e8;
}

.docs-article-card h2 {
  margin: 0 0 12px;
  font-family: 'Poppins', sans-serif;
  color: #0e1e3a;
  font-size: 38px;
  line-height: 1.1;
}

.docs-article-intro {
  margin: 0 0 16px;
  color: #334155;
  font-size: 18px;
  line-height: 1.75;
}

.docs-article-card h3 {
  margin: 20px 0 8px;
  font-size: 20px;
  color: #0e1e3a;
  font-family: 'Poppins', sans-serif;
}

.docs-article-card p {
  margin: 0 0 12px;
  color: #475569;
  font-size: 16px;
  line-height: 1.75;
}

.docs-list {
  margin: 0 0 14px;
  padding-left: 20px;
  color: #334155;
  line-height: 1.75;
}

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

.docs-note {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 14px 0;
  font-size: 14px;
  line-height: 1.6;
}

.docs-code-block {
  margin: 14px 0 18px;
  border: 1px solid #273d68;
  border-radius: 12px;
  overflow: hidden;
  background: #0e1e3a;
}

.docs-code-header {
  border-bottom: 1px solid #273d68;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 12px;
}

.docs-code-block pre {
  margin: 0;
  padding: 12px 14px;
  color: #e2e8f0;
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.docs-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.docs-topic-card {
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  text-decoration: none;
  background: #fff;
}

.docs-topic-card:hover {
  border-color: #1a73e8;
  box-shadow: 0 14px 26px rgba(14, 30, 58, 0.08);
}

.docs-topic-group {
  margin: 0 0 6px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-topic-card h3 {
  margin: 0 0 8px;
  color: #0e1e3a;
  font-size: 17px;
}

.docs-topic-card p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.docs-footer-links {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #edf2f7;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.docs-pill-link {
  border: 1px solid #dbe1ea;
  border-radius: 999px;
  padding: 8px 12px;
  color: #475569;
  text-decoration: none;
  font-size: 13px;
}

.docs-pill-link:hover {
  border-color: #1a73e8;
  color: #1a73e8;
}

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

  .docs-sidebar {
    position: static;
    max-height: none;
  }

  .docs-hero h1 {
    font-size: 34px;
  }

  .docs-hero p {
    font-size: 16px;
  }

  .docs-article-card h2 {
    font-size: 31px;
  }
}
