:root{
  --about-navy:#0b1220;
  --about-navy-2:#111827;
  --about-blue:#2563eb;
  --about-text:#111827;
  --about-muted:#64748b;
  --about-line:#dbe3ef;
  --about-bg:#f6f8fc;
  --about-panel:#ffffff;
}

*{box-sizing:border-box}

body.about-page{
  margin:0;
  background:var(--about-bg);
  color:var(--about-text);
  font-family:Arial,"Microsoft YaHei",sans-serif;
  font-size:15px;
  line-height:1.7;
}

.docs-topbar{
  height:64px;
  display:flex;
  align-items:center;
  gap:28px;
  padding:0 28px;
  background:var(--about-navy);
  color:#fff;
  position:sticky;
  top:0;
  z-index:50;
  box-shadow:0 10px 28px rgba(15,23,42,.18);
}

.docs-brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
  text-decoration:none;
  font-size:21px;
  font-weight:900;
  white-space:nowrap;
}

.docs-brand img{
  width:28px;
  height:28px;
  object-fit:contain;
}

.docs-nav{
  display:flex;
  align-items:center;
  gap:4px;
  flex:1;
  min-width:0;
}

.docs-nav a{
  height:64px;
  display:flex;
  align-items:center;
  padding:0 13px;
  color:#dbeafe;
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  border-bottom:2px solid transparent;
  white-space:nowrap;
}

.docs-nav a:hover,
.docs-nav a.active{
  color:#fff;
  border-bottom-color:#60a5fa;
  background:rgba(255,255,255,.08);
}

.docs-action{
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border-radius:7px;
  background:#2563eb;
  color:#fff;
  text-decoration:none;
  font-weight:900;
  white-space:nowrap;
}

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

.docs-sidebar{
  position:sticky;
  top:64px;
  height:calc(100vh - 64px);
  overflow:auto;
  padding:22px 16px 28px;
  border-right:1px solid var(--about-line);
  background:#fff;
}

.docs-mobile-toggle{
  display:none;
  width:100%;
  height:42px;
  align-items:center;
  justify-content:space-between;
  border:1px solid var(--about-line);
  border-radius:8px;
  background:#fff;
  color:#0f172a;
  padding:0 14px;
  font-weight:900;
  cursor:pointer;
}

.docs-group{
  margin-bottom:12px;
}

.docs-group-toggle{
  width:100%;
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border:0;
  border-radius:8px;
  background:#fff;
  color:#0f172a;
  padding:0 10px;
  font-size:15px;
  font-weight:900;
  cursor:pointer;
  text-align:left;
}

.docs-group-toggle:hover{
  background:#f1f5f9;
}

.docs-chevron{
  color:#64748b;
  transition:transform .18s ease;
}

.docs-group.is-collapsed .docs-chevron{
  transform:rotate(-90deg);
}

.docs-list{
  display:grid;
  gap:2px;
  margin:4px 0 0;
  padding:0;
  list-style:none;
}

.docs-group.is-collapsed .docs-list{
  display:none;
}

.docs-link{
  display:block;
  border-radius:7px;
  padding:8px 10px 8px 18px;
  color:#334155;
  text-decoration:none;
  font-size:14px;
  line-height:1.4;
  overflow-wrap:anywhere;
}

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

.docs-link.active{
  background:#e5e7eb;
  color:#0f172a;
  font-weight:900;
}

.docs-content{
  min-width:0;
  padding:38px 48px 70px;
}

.docs-article{
  max-width:880px;
}

.docs-kicker{
  display:inline-flex;
  align-items:center;
  margin-bottom:12px;
  padding:5px 10px;
  border-radius:999px;
  background:#e0ecff;
  color:#1d4ed8;
  font-size:13px;
  font-weight:900;
}

.docs-content h1{
  margin:0 0 16px;
  color:#0f172a;
  font-size:38px;
  line-height:1.16;
  letter-spacing:0;
}

.docs-lead{
  max-width:780px;
  margin:0 0 28px;
  color:#475569;
  font-size:17px;
}

.docs-section{
  scroll-margin-top:88px;
  margin:34px 0;
  padding:26px 0 4px;
  border-top:1px solid var(--about-line);
}

.docs-section h2,
.docs-section h3{
  margin:0 0 12px;
  color:#0f172a;
  line-height:1.28;
}

.docs-section h2{
  font-size:27px;
}

.docs-section h3{
  font-size:22px;
}

.docs-section p{
  margin:0 0 12px;
  color:#475569;
}

.docs-callout{
  margin:18px 0;
  padding:14px 16px;
  border:1px solid #bfdbfe;
  border-radius:8px;
  background:#eff6ff;
  color:#1e3a8a;
}

.docs-content img{
  display:block;
  max-width:100%;
  height:auto;
  border-radius:8px;
  border:1px solid var(--about-line);
}

.docs-footer-note{
  margin-top:34px;
  color:#64748b;
  font-size:13px;
}

.tutorial-section{
  padding-top:28px;
}

.tutorial-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.tutorial-card{
  min-width:0;
  min-height:210px;
  display:flex;
  flex-direction:column;
  padding:24px;
  border:1px solid var(--about-line);
  border-radius:8px;
  background:#fff;
}

.tutorial-card h2{
  margin:0 0 12px;
  font-size:21px;
}

.tutorial-card h2 a{
  color:var(--about-blue);
  text-decoration:none;
  overflow-wrap:anywhere;
}

.tutorial-card h2 a:hover{
  text-decoration:underline;
}

.tutorial-card p{
  margin:0 0 18px;
  color:#475569;
}

.tutorial-read-more{
  margin-top:auto;
  color:var(--about-blue);
  text-decoration:none;
  font-size:14px;
  font-weight:800;
}

.tutorial-read-more:hover{
  text-decoration:underline;
}

.docs-page-nav{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:38px;
  padding-top:22px;
  border-top:1px solid var(--about-line);
}

.docs-page-nav a{
  min-width:0;
  padding:13px 15px;
  border:1px solid var(--about-line);
  border-radius:8px;
  background:#fff;
  color:#1d4ed8;
  text-decoration:none;
  font-weight:800;
  overflow-wrap:anywhere;
}

.docs-page-nav a:last-child{
  text-align:right;
}

.docs-page-nav a:hover{
  border-color:#93c5fd;
  background:#eff6ff;
}

.docs-page-nav .is-placeholder{
  visibility:hidden;
}

@media(max-width:980px){
  .docs-topbar{
    height:auto;
    min-height:64px;
    align-items:flex-start;
    flex-wrap:wrap;
    padding:12px 16px;
  }

  .docs-nav{
    order:3;
    width:100%;
    overflow-x:auto;
  }

  .docs-nav a{
    height:40px;
    padding:0 11px;
  }

  .docs-shell{
    display:block;
  }

  .docs-sidebar{
    position:sticky;
    top:0;
    height:auto;
    max-height:70vh;
    padding:12px 14px;
    border-right:0;
    border-bottom:1px solid var(--about-line);
    z-index:30;
  }

  .docs-mobile-toggle{
    display:flex;
  }

  .docs-sidebar-list{
    display:none;
    margin-top:12px;
  }

  .docs-sidebar.is-open .docs-sidebar-list{
    display:block;
  }

  .docs-content{
    padding:28px 18px 56px;
  }

  .docs-content h1{
    font-size:30px;
  }

  .tutorial-grid{
    grid-template-columns:1fr;
  }

  .tutorial-card{
    min-height:0;
  }

  .docs-page-nav{
    grid-template-columns:1fr;
  }

  .docs-page-nav a:last-child{
    text-align:left;
  }

  .docs-page-nav .is-placeholder{
    display:none;
  }
}
