@charset "UTF-8";
/* ==========================================================================
   第 25 站 · 安装向导（Setup Wizard）
   浅灰面板 + 蓝色标题栏 + 分段进度 + 文件信息等宽行
   ========================================================================== */

:root {
  --shell: #dfe3e8;
  --shell-2: #cfd5dc;
  --panel: #f2f4f6;
  --card: #ffffff;

  --navy: #17365d;
  --navy-2: #24527f;
  --navy-3: #0f2440;

  --ink: #1b2530;
  --ink-2: #3d4b5a;
  --muted: #6d7b8a;

  --line: #c3ccd6;
  --line-2: #dde3e9;

  --go: #2f8f4e;
  --go-2: #3fa961;
  --warn: #b8791c;
  --warn-bg: #fdf3e0;
  --stop: #a63a2c;
  --stop-bg: #fbeeec;

  --mono: "Consolas", "SFMono-Regular", "Menlo", monospace;
  --sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", -apple-system, sans-serif;

  --fs-xs: 0.78rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;

  --wrap: 1120px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-md);
  line-height: 1.78;
  color: var(--ink);
  background: var(--shell);
  /* 面板底：极淡的斜向细纹，像机箱塑料表面 */
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.5) 0 2px,
    rgba(255, 255, 255, 0) 2px 4px
  );
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

a { color: var(--navy-2); text-decoration: none; border-bottom: 1px solid rgba(36, 82, 127, 0.3); }
a:hover { border-bottom-color: var(--navy-2); }

img, svg { max-width: 100%; }

/* ---------- 顶栏：一条深色机箱条 ---------- */
.topbar {
  background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 52%, var(--navy-3) 100%);
  border-bottom: 3px solid #0a1a2e;
  position: sticky;
  top: 0;
  z-index: 40;
}

.topbar-in {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-height: 62px;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  border-bottom: 0;
  flex: 0 0 auto;
}
.brand:hover { border-bottom: 0; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffffff 0%, #d7e2ee 100%);
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}

.brand-name {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
}
.brand-name span {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: #a8c2dc;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  margin-left: auto;
}

.nav a {
  color: #d3e2f0;
  font-size: 0.86rem;
  padding: 0.3rem 0.6rem;
  border-bottom: 0;
  border-radius: 3px;
}
.nav a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-bottom: 0; }
.nav a[aria-current="page"] {
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}

.topcta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #12314f;
  background: linear-gradient(180deg, #f6fbff 0%, #cadcee 100%);
  border: 1px solid #93b2d0;
  border-bottom-color: #7a9cbd;
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}
.topcta:hover { border-bottom-color: #7a9cbd; background: linear-gradient(180deg, #fff 0%, #d9e8f6 100%); }
.topcta::before { content: "↓"; font-family: var(--mono); font-weight: 700; }

/* ---------- 首屏 ---------- */
.hero { padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(2rem, 4vw, 3rem); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}

.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--navy-2);
  background: #e4ecf4;
  border: 1px solid #b9cbdb;
  border-radius: 2px;
  padding: 0.22rem 0.55rem;
  margin-bottom: 1rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy-3);
}

h1 em {
  font-style: normal;
  color: var(--go);
  box-shadow: inset 0 -0.42em 0 rgba(47, 143, 78, 0.16);
}

.h1-eye {
  display: block;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: #55636f;
  margin-bottom: 0.42rem;
}

.lead {
  margin: 0 0 1.5rem;
  font-size: 1.03rem;
  line-height: 1.85;
  color: var(--ink-2);
  max-width: 40em;
}

.acts { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.58rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  background: linear-gradient(180deg, #ffffff 0%, #e4eaf0 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.btn:hover { border-color: #a6b4c2; }

.btn-solid {
  color: #fff;
  background: linear-gradient(180deg, var(--go-2) 0%, #26763f 100%);
  border-color: #1f6034;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 2px 4px -2px rgba(0, 0, 0, 0.35);
}
.btn-solid:hover { border-color: #1f6034; background: linear-gradient(180deg, #46b46a 0%, #2a7f45 100%); }

/* ---------- 向导窗口（首屏右侧） ---------- */
.wizard {
  background: var(--panel);
  border: 1px solid #9aa8b6;
  border-radius: 5px;
  box-shadow: 0 18px 34px -22px rgba(12, 28, 46, 0.55), 0 2px 0 rgba(255, 255, 255, 0.6) inset;
  overflow: hidden;
}

.wz-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.6rem;
  background: linear-gradient(180deg, #2f6296 0%, #1b4472 55%, #143257 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wz-bar .wz-ico {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 2px;
  background: #fff;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
}

.wz-bar .wz-x {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #b9d0e6;
}

.wz-body { padding: 1rem 1.05rem 1.1rem; background: var(--card); }

.wz-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-3);
  margin: 0 0 0.2rem;
}

.wz-sub {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 0.9rem;
}

/* 文件信息行 */
.file-list {
  border-top: 1px solid var(--line-2);
  margin-bottom: 0.95rem;
}

.file {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.46rem 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 0.8rem;
}

.file dt {
  flex: 0 0 5.2rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.file dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink);
  word-break: break-all;
}

.file dd.ok { color: var(--go); font-weight: 700; }

/* 分段进度条 */
.gauge {
  display: flex;
  gap: 3px;
  margin-bottom: 0.55rem;
}

.gauge i {
  flex: 1;
  height: 9px;
  background: #d9e0e7;
  border: 1px solid #c7d0d9;
  border-radius: 1px;
}

.gauge i.done { background: linear-gradient(180deg, var(--go-2), #2a7f45); border-color: #236a3a; }
.gauge i.now { background: linear-gradient(180deg, #f0c65b, #d9a327); border-color: #b98d1c; }

.gauge-x {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--muted);
  margin-bottom: 0.95rem;
}

.wz-foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.7rem;
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.wz-foot .hint {
  font-size: 0.72rem;
  color: var(--muted);
  margin-right: auto;
}

.wz-btn {
  padding: 0.32rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-2);
  background: linear-gradient(180deg, #fff, #e2e8ee);
  border: 1px solid #b3c0cc;
  border-radius: 3px;
}
.wz-btn.primary {
  color: #fff;
  background: linear-gradient(180deg, var(--go-2), #26763f);
  border-color: #1f6034;
}

/* ---------- 指标带 ---------- */
.strip {
  background: var(--navy-3);
  color: #cfdcea;
  border-top: 3px solid #0a1a2e;
  border-bottom: 1px solid #0a1a2e;
}

.strip-in {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.metric {
  background: var(--navy-3);
  padding: 0.95rem 1.1rem 1rem;
  border-left: 1px solid #24405f;
}

.metric:first-child { border-left: 0; }

.metric b {
  display: block;
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.metric span {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #9db4ca;
  margin-top: 0.3rem;
  line-height: 1.5;
}

/* ---------- 正文区 ---------- */
.sec { padding: clamp(2.2rem, 5vw, 3.4rem) 0 0; }

.sec-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--navy-2);
  padding: 0.16rem 0.5rem;
  border-radius: 2px;
  margin-bottom: 0.6rem;
}

h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.3rem, 2.4vw, 1.62rem);
  line-height: 1.35;
  font-weight: 800;
  color: var(--navy-3);
}

.sec-sub {
  margin: 0 0 1.6rem;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 44em;
}

/* 条目正文限宽：整行 1000px 时一行过长，读到行尾容易串行 */
.item > div:not(.item-no) { max-width: 44em; }

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy-3);
  line-height: 1.45;
}

p { margin: 0 0 1rem; }

/* 编号条目 */
.item {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 0 0.9rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.item:last-child { border-bottom: 1px solid var(--line); }

.item-no {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--navy-2);
  letter-spacing: 0.06em;
  padding-top: 0.2rem;
}

.item > div > p:last-child { margin-bottom: 0; }

/* 卡片 */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 1px 0 #fff inset;
}

.card p:last-child { margin-bottom: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.g2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.4rem 0 0;
}

.g2 > div {
  border-top: 2px solid var(--navy-2);
  padding-top: 0.7rem;
}

.g2 p { font-size: 0.92rem; color: var(--ink-2); margin-bottom: 0; }

/* 表格 */
.tbl-wrap {
  overflow-x: auto;
  margin: 1.3rem 0 0;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 4px;
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 34rem;
}

.tbl thead th {
  background: var(--navy);
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  padding: 0.6rem 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tbl td {
  padding: 0.6rem 0.75rem;
  border-top: 1px solid var(--line-2);
  color: var(--ink-2);
  vertical-align: top;
}

.tbl tbody tr:nth-child(even) { background: #f8fafb; }

.tbl .yes { color: var(--go); font-weight: 700; }
.tbl .no { color: var(--stop); font-weight: 700; }
.tbl .mid { color: var(--warn); font-weight: 700; }

/* 提示块 */
.note {
  border-left: 3px solid var(--navy-2);
  background: #eef3f8;
  padding: 0.85rem 1rem;
  margin: 1.3rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.note p:last-child { margin-bottom: 0; }
.note b { color: var(--navy-3); }

.warnbox {
  border: 1px solid #e6c98d;
  border-left: 3px solid var(--warn);
  background: var(--warn-bg);
  padding: 0.85rem 1rem;
  margin: 1.3rem 0 0;
  font-size: 0.92rem;
  color: #6d4a12;
}
.warnbox p:last-child { margin-bottom: 0; }
.warnbox b { color: #523709; }

/* 步骤条 */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 1.4rem 0 0;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.8rem 0.9rem;
  position: relative;
}

.step b {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.step strong { display: block; font-size: 0.92rem; color: var(--navy-3); margin-bottom: 0.25rem; }
.step span { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.55; }

/* 页脚 */
.foot {
  margin-top: clamp(2.6rem, 6vw, 4rem);
  background: var(--navy-3);
  color: #a9bfd4;
  font-size: 0.84rem;
  border-top: 3px solid #0a1a2e;
}

.foot-in {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  padding-top: 1.6rem;
  padding-bottom: 1.4rem;
}

.foot-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }

/* 页脚链接是 flex 项，border-bottom 会落到行框底部变成悬空短线，改用紧贴文字的下划线 */
.foot a {
  color: #cfe0ef;
  border-bottom: 0;
  text-decoration: underline;
  text-decoration-color: rgba(207, 224, 239, 0.35);
  text-underline-offset: 3px;
}
.foot a:hover { text-decoration-color: #cfe0ef; }

.foot-note { max-width: 30em; font-size: 0.78rem; color: #8aa4bc; line-height: 1.7; }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  border-top: 1px solid #24405f;
  padding: 0.8rem 0 1.1rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: #7c96ae;
}

/* 内页头 */
.page-head { padding: clamp(1.9rem, 4vw, 2.8rem) 0 0.4rem; }

.page-head h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  margin-bottom: 0.8rem;
}

.crumb {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.crumb a { border-bottom: 0; color: var(--muted); }
.crumb a:hover { color: var(--navy-2); border-bottom: 0; }
.crumb span { margin: 0 0.4rem; color: #aeb9c4; }

/* 404 */
.err { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.err .no {
  font-family: var(--mono);
  font-size: clamp(3.4rem, 9vw, 5.4rem);
  font-weight: 700;
  color: #c3cedb;
  line-height: 1;
  margin: 0 0 0.6rem;
}
.err h1 { margin-bottom: 0.7rem; }
.err p { color: var(--ink-2); max-width: 40em; }
.err .acts { margin-top: 1.4rem; }
.err .note { text-align: left; margin-top: 2rem; max-width: 46em; }

/* 不可断短语 */
.nb { display: inline-block; }

/* ---------- 窄屏 ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .wizard { max-width: 460px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }

  .topbar-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.45rem 0.7rem;
    min-height: 0;
    padding-top: 0.55rem;
  }
  .nav { grid-column: 1 / -1; grid-row: 2; margin-left: 0; gap: 0.1rem; }
  .nav a { font-size: 0.82rem; padding: 0.28rem 0.42rem; }
  .topcta { justify-self: end; padding: 0.38rem 0.7rem; font-size: 0.8rem; }
  .brand-name { font-size: 0.94rem; }
  .brand-mark { width: 30px; height: 30px; font-size: 0.78rem; }

  .strip-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid, .g2 { grid-template-columns: minmax(0, 1fr); }
  .item { grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0 0.7rem; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .wizard { max-width: 100%; }
}

@media (max-width: 420px) {
  .file { flex-wrap: wrap; gap: 0.1rem 0.6rem; }
  .file dt { flex: 0 0 100%; }
  .strip-in { grid-template-columns: minmax(0, 1fr); }
}

/* 减少动态 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
