:root{
  --brand:#4D6BFE;
  --brand-dark:#2f4bd8;
  --ink:#0e1526;
  --ink-2:#4a5468;
  --line:#e3e8f2;
  --bg:#f6f8fd;
  --panel:#ffffff;
  --accent:#0e1526;
  --radius:10px;
  --shadow:0 1px 2px rgba(14,21,38,.05),0 8px 24px rgba(14,21,38,.05);
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",Roboto,Helvetica,Arial,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:var(--bg);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--brand);text-decoration:none}

/* ============ 左侧控制台 ============ */
.console{
  position:fixed;
  top:0;left:0;bottom:0;
  width:340px;
  padding:36px 32px 28px;
  background:linear-gradient(180deg,#0e1526 0%,#131d36 60%,#0e1526 100%);
  color:#e8edfb;
  display:flex;
  flex-direction:column;
  gap:22px;
  overflow-y:auto;
  border-right:1px solid rgba(255,255,255,.06);
}
.brand{
  display:flex;align-items:center;gap:10px;
  font-weight:650;font-size:15px;letter-spacing:.2px;
}
.brand img{display:block;border-radius:6px}

.console h1{
  margin:0;
  font-size:30px;
  line-height:1.28;
  font-weight:750;
  letter-spacing:-.5px;
}
.lead{
  margin:0;
  font-size:14px;
  line-height:1.75;
  color:#a9b6d6;
}

.cta-block{margin-top:4px}
.btn-primary{
  display:block;width:100%;
  padding:13px 18px;
  font:inherit;font-weight:650;font-size:15px;
  color:#fff;
  background:var(--brand);
  border:none;border-radius:var(--radius);
  cursor:pointer;
  transition:background .18s ease,transform .18s ease;
}
.btn-primary:hover:not(:disabled){background:var(--brand-dark)}
.btn-primary:focus-visible{outline:2px solid #fff;outline-offset:3px}
.btn-primary:disabled{
  background:rgba(77,107,254,.22);
  color:#8ea2e8;
  cursor:not-allowed;
  border:1px dashed rgba(142,162,232,.45);
}
.cta-note{
  margin:10px 0 0;
  font-size:12px;
  line-height:1.6;
  color:#7d8cb0;
}

.meta{
  margin:0;
  display:grid;
  grid-template-columns:repeat(3,max-content);
  justify-content:space-between;
  gap:10px;
  padding:14px 0;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.meta div{display:flex;flex-direction:column;gap:2px}
.meta dt{font-size:11px;color:#7d8cb0;letter-spacing:.4px}
.meta dd{margin:0;font-size:12.5px;color:#dfe6fa;font-weight:600;white-space:nowrap}

.toc{display:flex;flex-direction:column;gap:2px}
.toc a{
  color:#a9b6d6;
  font-size:13.5px;
  padding:7px 10px;
  border-radius:6px;
  border-left:2px solid transparent;
  transition:color .16s ease,background .16s ease,border-color .16s ease;
}
.toc a:hover{color:#fff;background:rgba(255,255,255,.06);border-left-color:var(--brand)}

.foot{margin:auto 0 0;font-size:12px;color:#63719a}

/* ============ 右侧内容流 ============ */
.stream{
  margin-left:340px;
  padding:56px 64px 40px;
  max-width:1080px;
}
.panel{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:40px 44px;
  margin-bottom:26px;
}
.eyebrow{
  margin:0 0 12px;
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:1.2px;
  color:var(--brand);
  text-transform:uppercase;
}
.panel h2{
  margin:0 0 8px;
  font-size:26px;
  line-height:1.35;
  font-weight:730;
  letter-spacing:-.3px;
}
.sub{margin:0 0 26px;color:var(--ink-2);font-size:14.5px}

/* 参数表 */
.spec-table{
  margin-top:26px;
  border-top:1px solid var(--line);
}
.spec-row{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:24px;
  padding:16px 4px;
  border-bottom:1px solid var(--line);
  font-size:14.5px;
}
.spec-head{
  font-family:var(--mono);
  font-size:11.5px;
  letter-spacing:1px;
  color:#8a94a8;
  padding-bottom:10px;
}
.spec-name{font-weight:650;color:var(--ink)}
.spec-row span:last-child{color:var(--ink-2)}

/* 时间线 */
.steps{
  list-style:none;
  margin:26px 0 0;
  padding:0;
  position:relative;
}
.steps::before{
  content:"";
  position:absolute;
  left:17px;top:10px;bottom:10px;
  width:2px;
  background:linear-gradient(180deg,var(--brand),#c9d4f7);
}
.steps li{
  position:relative;
  display:flex;
  gap:20px;
  padding-bottom:26px;
}
.steps li:last-child{padding-bottom:0}
.step-no{
  flex:0 0 36px;height:36px;
  display:flex;align-items:center;justify-content:center;
  background:#fff;
  border:2px solid var(--brand);
  color:var(--brand);
  border-radius:50%;
  font-family:var(--mono);
  font-size:14px;font-weight:700;
  z-index:1;
}
.steps h3{margin:4px 0 4px;font-size:16px;font-weight:680}
.steps p{margin:0;font-size:14px;color:var(--ink-2)}

/* 场景列表 */
.scene-list{
  list-style:none;
  margin:26px 0 0;
  padding:0;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.scene-list li{
  display:flex;
  gap:14px;
  padding:18px;
  background:#f9fbff;
  border:1px solid var(--line);
  border-left:3px solid var(--brand);
  border-radius:8px;
  transition:background .18s ease,transform .18s ease;
}
.scene-list li:hover{background:#f1f5ff;transform:translateY(-1px)}
.scene-tag{
  flex:0 0 auto;
  font-family:var(--mono);
  font-size:11.5px;
  font-weight:700;
  color:var(--brand);
  background:rgba(77,107,254,.1);
  border-radius:4px;
  padding:2px 8px;
  align-self:flex-start;
  margin-top:2px;
}
.scene-list p{margin:0;font-size:14px;color:var(--ink-2)}

/* 引文块 */
.panel-quote{
  background:linear-gradient(135deg,#0e1526,#182446);
  border-color:#182446;
  color:#e8edfb;
}
.panel-quote blockquote{
  margin:0;
  font-size:22px;
  line-height:1.6;
  font-weight:600;
  letter-spacing:-.2px;
}
.panel-quote blockquote::before{
  content:"";
  display:block;
  width:36px;height:3px;
  background:var(--brand);
  margin-bottom:20px;
  border-radius:2px;
}

/* FAQ */
details{
  border-bottom:1px solid var(--line);
  padding:16px 2px;
}
details:first-of-type{border-top:1px solid var(--line);margin-top:22px}
summary{
  cursor:pointer;
  font-weight:650;
  font-size:15px;
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
summary::-webkit-details-marker{display:none}
summary::after{
  content:"+";
  font-family:var(--mono);
  color:var(--brand);
  font-size:18px;
  line-height:1;
  transition:transform .18s ease;
}
details[open] summary::after{transform:rotate(45deg)}
details p{margin:10px 0 0;font-size:14px;color:var(--ink-2)}

.stream-foot{
  padding:8px 4px 24px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
  font-size:12.5px;
  color:#8a94a8;
}
.stream-foot p{margin:0}
.foot-note{font-family:var(--mono);letter-spacing:.6px}

/* ============ 响应式 ============ */
@media (max-width:1024px){
  .console{position:static;width:auto;padding:32px 28px 26px}
  .stream{margin-left:0;padding:32px 28px 32px;max-width:none}
  .toc{flex-direction:row;flex-wrap:wrap;gap:4px}
  .foot{margin:8px 0 0}
}
@media (max-width:768px){
  .console h1{font-size:26px}
  .stream{padding:24px 16px 28px}
  .panel{padding:28px 22px;margin-bottom:18px}
  .panel h2{font-size:21px}
  .spec-row{grid-template-columns:1fr;gap:4px;padding:14px 2px}
  .spec-head{display:none}
  .scene-list{grid-template-columns:1fr}
  .panel-quote blockquote{font-size:18px}
  .stream-foot{flex-direction:column}
}
