@import url(style.css);

.docs-shell {
  width: min(100%, 1760px);
}

.site-nav-shell {
  width: min(100%, 1760px);
}

.docs-sidebar-column {
  display: none;
}

.docs-sidebar {
  position: sticky;
  top: 84px;
  max-height: calc(100vh - 108px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.9rem 0.8rem 1rem;
  border-radius: 18px;
  background: rgba(18, 20, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
}

.docs-sidebar-title {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(156, 163, 175, 0.92);
}

.docs-tree-list,
.docs-tree-article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-tree-list-nested,
.docs-tree-article-list {
  margin-left: 0.85rem;
  padding-left: 0.7rem;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.docs-tree-item + .docs-tree-item,
.docs-tree-article-item + .docs-tree-article-item {
  margin-top: 0.22rem;
}

.docs-tree-link,
.docs-tree-article-link {
  display: block;
  border-radius: 10px;
  padding: 0.38rem 0.56rem;
  color: rgba(219, 220, 226, 0.82);
  text-decoration: none;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition: background-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease;
}

.docs-tree-link:hover,
.docs-tree-article-link:hover {
  background: rgba(59, 130, 246, 0.1);
  color: rgba(248, 251, 255, 0.96);
  transform: translateX(2px);
}

.docs-tree-link.is-active,
.docs-tree-article-link.is-active {
  background: rgba(59, 130, 246, 0.14);
  color: #f8fbff;
}

.docs-tree-link {
  font-size: 0.94rem;
  font-weight: 600;
}

.docs-tree-article-link {
  font-size: 0.88rem;
  color: rgba(156, 163, 175, 0.96);
}

.docs-content-panel {
  border-radius: 22px;
  padding: 1.55rem 1.75rem 1.85rem;
  background: linear-gradient(
    180deg,
    rgba(28, 30, 34, 0.82) 0%,
    rgba(22, 24, 28, 0.72) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
}

.docs-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: rgba(156, 163, 175, 0.9);
  font-size: 0.94rem;
}

.docs-breadcrumb-link,
.docs-breadcrumb-current {
  text-decoration: none;
}

.docs-breadcrumb-link {
  color: #79b8ff;
}

.docs-breadcrumb-link:hover {
  color: #a6d1ff;
}

.docs-breadcrumb-separator {
  color: rgba(156, 163, 175, 0.55);
}

.docs-breadcrumb-current {
  color: rgba(219, 220, 226, 0.84);
}

.docs-overline {
  margin: 0 0 0.5rem;
  color: rgba(121, 184, 255, 0.92);
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.docs-page-title,
.article-page-title {
  display: block;
  margin: 0;
  padding: 0;
  color: #edf2f7;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.docs-page-title::before,
.docs-page-title::after,
.article-page-title::before,
.article-page-title::after {
  content: none;
}

.docs-page-title {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
}

.article-page-title {
  font-size: clamp(2.6rem, 4.4vw, 4.8rem);
  margin-bottom: 0.75rem;
}

.docs-page-subtitle {
  margin: 0.8rem 0 0;
  max-width: 58rem;
  color: rgba(156, 163, 175, 0.96);
  font-size: 1.02rem;
  line-height: 1.7;
}

.docs-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0 1rem;
}

.docs-section-title {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(156, 163, 175, 0.92);
}

.docs-section-caption {
  color: rgba(121, 184, 255, 0.92);
  font-size: 0.88rem;
}

.docs-section-title,
.docs-category-name,
.docs-article-title {
  display: block;
  padding: 0;
}

.docs-section-title::before,
.docs-section-title::after,
.docs-category-name::before,
.docs-category-name::after,
.docs-article-title::before,
.docs-article-title::after {
  content: none;
}

.docs-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.docs-category-card {
  display: block;
  height: 100%;
  padding: 1.15rem 1.15rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(24, 26, 31, 0.78);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.docs-category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(121, 184, 255, 0.28);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.docs-category-name {
  margin: 0;
  color: #edf2f7;
  font-size: 1.05rem;
  font-weight: 600;
}

.docs-category-meta,
.docs-article-meta {
  color: rgba(156, 163, 175, 0.88);
  font-size: 0.84rem;
}

.docs-category-meta {
  display: block;
  margin-top: 0.55rem;
}

.docs-category-path {
  display: block;
  margin-top: 0.8rem;
  color: rgba(121, 184, 255, 0.86);
  font-size: 0.86rem;
}

.docs-article-list {
  display: grid;
  gap: 0.8rem;
}

.docs-article-row {
  display: block;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  text-decoration: none;
  background: rgba(24, 26, 31, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.docs-article-row:hover {
  transform: translateY(-1px);
  border-color: rgba(121, 184, 255, 0.24);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.docs-article-title {
  margin: 0;
  color: #edf2f7;
  font-size: 1.02rem;
  font-weight: 600;
}

.docs-article-summary {
  margin: 0.5rem 0 0;
  color: rgba(156, 163, 175, 0.96);
  line-height: 1.65;
}

.docs-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.7rem;
}

.docs-empty-state {
  padding: 1.2rem 1.1rem;
  border-radius: 14px;
  background: rgba(24, 26, 31, 0.56);
  color: rgba(156, 163, 175, 0.96);
}

@media (min-width: 1200px) {
  .docs-sidebar-column {
    display: block;
    align-self: stretch;
  }
}

@media (max-width: 991.98px) {
  .docs-content-panel {
    padding: 1.35rem 1.2rem 1.5rem;
    border-radius: 16px;
  }

  .docs-page-title,
  .article-page-title {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }
}
