@charset "UTF-8";
/* ==========================================================================
   第 26 站 · 分拣格（Sorting Rack）
   金属格架 + 马尼拉纸质标签 + 橙色编号
   ========================================================================== */

:root {
  --rack: #cfd4d8;
  --rack-2: #b9c0c6;
  --cell: #fbfbfa;
  --cell-in: #eef0f1;
  --label: #f0e6cc;
  --label-2: #e5d9ba;

  --ink: #1f242a;
  --ink-2: #3a434c;
  --muted: #6b7681;

  --line: #b2bac2;
  --line-2: #dadee2;

  --navy: #1e3a5f;
  --orange: #c2571f;
  --orange-2: #a8481a;
  --green: #2e7d4f;
  --amber: #a97a12;

  --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;

  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.78;
  color: var(--ink);
  background: var(--rack);
  /* 金属拉丝：极细的横向渐变条纹 */
  background-image: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.42) 0 1px,
    rgba(255, 255, 255, 0) 1px 3px
  );
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

a { color: var(--navy); text-decoration: none; border-bottom: 1px solid rgba(30, 58, 95, 0.32); }
a:hover { border-bottom-color: var(--navy); }

img, svg { max-width: 100%; }

/* ---------- 顶栏：一条深色横梁 ---------- */
.topbar {
  background: #232a31;
  background-image: linear-gradient(180deg, #2c353d 0%, #232a31 55%, #1a2026 100%);
  border-bottom: 3px solid #12171b;
  position: sticky;
  top: 0;
  z-index: 40;
}

.topbar-in {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 62px;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #f2f4f6;
  border-bottom: 0;
  flex: 0 0 auto;
}
.brand:hover { border-bottom: 0; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 30px;
  border-radius: 2px;
  background: var(--label);
  color: #4a3d1e;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255, 255, 255, 0.1);
}

.brand-name {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.22;
}
.brand-name span {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: #9aa6b1;
}

.nav { display: flex; flex-wrap: wrap; gap: 0.12rem; margin-left: auto; }

.nav a {
  color: #c8d1d9;
  font-size: 0.86rem;
  padding: 0.3rem 0.58rem;
  border-bottom: 0;
  border-radius: 2px;
}
.nav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-bottom: 0; }
.nav a[aria-current="page"] {
  background: var(--orange);
  color: #fff;
  font-weight: 700;
}

.topcta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  background: var(--orange);
  border: 1px solid var(--orange-2);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.topcta:hover { background: var(--orange-2); border-bottom-color: var(--orange-2); }
.topcta::before { content: "↓"; font-family: var(--mono); }

/* ---------- 首屏 ---------- */
.hero { padding: clamp(2.2rem, 5vw, 3.4rem) 0 clamp(2rem, 4vw, 2.8rem); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(1.6rem, 3.6vw, 2.8rem);
  align-items: start;
}

.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: #5b4a22;
  background: var(--label);
  border: 1px solid #c9b98d;
  border-radius: 1px;
  /* 末字的字距会把内容顶向右侧，右内距补偿一格 */
  padding: 0.22rem 0.85rem 0.22rem 0.55rem;
  margin-bottom: 1rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.78rem, 3.5vw, 2.42rem);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #1a2026;
}

h1 em {
  font-style: normal;
  color: var(--orange);
  box-shadow: inset 0 -0.42em 0 rgba(194, 87, 31, 0.15);
}

.h1-eye {
  display: block;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: #4d5761;
  margin-bottom: 0.42rem;
}

.lead {
  margin: 0 0 1.4rem;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--ink-2);
  max-width: 40em;
}

.acts { display: flex; flex-wrap: wrap; gap: 0.55rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #232a31;
  background: #f4f6f7;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 #fff;
}
.btn:hover { border-color: #97a2ac; background: #fbfcfc; }

.btn-solid {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.btn-solid:hover { background: var(--orange-2); border-color: var(--orange-2); }

/* ---------- 分拣格架 ---------- */
.rack {
  background: var(--rack-2);
  border: 1px solid #9aa4ad;
  border-radius: 3px;
  padding: 7px;
  box-shadow: 0 14px 28px -20px rgba(20, 28, 36, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.rack-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0.3rem 0.5rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: #4c565f;
}
.rack-head b { color: var(--orange); font-weight: 700; }
.rack-head span:last-child { margin-left: auto; }

.rack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.slot {
  background: var(--cell);
  border: 1px solid #b8c0c7;
  border-radius: 1px;
  box-shadow: inset 0 2px 4px -3px rgba(0, 0, 0, 0.35);
  padding: 0.55rem 0.6rem 0.6rem;
  min-height: 92px;
}

.slot-lab {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: #5b4a22;
  background: var(--label);
  border: 1px solid var(--label-2);
  padding: 0.05rem 0.34rem;
  margin-bottom: 0.32rem;
}

.slot-t { display: block; font-size: 0.9rem; font-weight: 800; color: #1a2026; margin-bottom: 0.1rem; }
.slot-d { display: block; font-family: var(--mono); font-size: 0.68rem; color: var(--muted); }

.slot-tag {
  display: inline-block;
  margin-top: 0.4rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  padding: 0.06rem 0.36rem;
  border-radius: 1px;
}
.slot-tag.pass { color: #1e5c39; background: #dcefe2; border: 1px solid #b6d8c3; }
.slot-tag.gate { color: #7c3c0c; background: #fbe6d8; border: 1px solid #e6c3a8; }
.slot-tag.only { color: #7a1f16; background: #f7dcd8; border: 1px solid #e0b4ad; }

/* ---------- 数据带 ---------- */
.strip {
  background: #232a31;
  color: #cfd8df;
  border-top: 3px solid #12171b;
  border-bottom: 1px solid #12171b;
}

.strip-in {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.metric {
  background: #232a31;
  padding: 0.95rem 1.1rem 1rem;
  border-left: 1px solid #3a444d;
}
.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: #9fadb8;
  margin-top: 0.3rem;
  line-height: 1.5;
}

/* ---------- 正文 ---------- */
.sec { padding: clamp(2.2rem, 5vw, 3.3rem) 0 0; }

.sec-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--navy);
  padding: 0.14rem 0.48rem;
  border-radius: 1px;
  margin-bottom: 0.6rem;
}

h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.28rem, 2.3vw, 1.58rem);
  line-height: 1.36;
  font-weight: 800;
  color: #1a2026;
}

.sec-sub {
  margin: 0 0 1.5rem;
  font-size: 0.94rem;
  color: var(--muted);
  max-width: 44em;
}

h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 800;
  color: #1a2026;
  line-height: 1.45;
}

p { margin: 0 0 1rem; }

/* 编号条目 */
.item {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  gap: 0 0.9rem;
  padding: 1.05rem 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.74rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
  padding-top: 0.2rem;
}

.item > div:not(.item-no) { max-width: 44em; }
.item > div > p:last-child { margin-bottom: 0; }

/* 卡片 */
.card {
  background: var(--cell);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1rem 1.1rem;
  box-shadow: inset 0 1px 0 #fff;
}
.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.3rem 0 0; }
.g2 > div { border-top: 2px solid var(--navy); padding-top: 0.65rem; }
.g2 p { font-size: 0.92rem; color: var(--ink-2); margin-bottom: 0; }

/* 表格 */
.tbl-wrap {
  overflow-x: auto;
  margin: 1.2rem 0 0;
  border: 1px solid var(--line);
  background: var(--cell);
  border-radius: 2px;
}

.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.58rem 0.72rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.tbl td { padding: 0.58rem 0.72rem; border-top: 1px solid var(--line-2); color: var(--ink-2); vertical-align: top; }
.tbl tbody tr:nth-child(even) { background: #f7f8f9; }
.tbl .yes { color: var(--green); font-weight: 700; }
.tbl .no { color: #a3341f; font-weight: 700; }
.tbl .mid { color: var(--amber); font-weight: 700; }

/* 提示 */
.note {
  border-left: 3px solid var(--navy);
  background: #eaeef2;
  padding: 0.8rem 1rem;
  margin: 1.2rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.note p:last-child { margin-bottom: 0; }
.note b { color: #1a2026; }

.warnbox {
  border: 1px solid #e2c4a8;
  border-left: 3px solid var(--orange);
  background: #fbeee4;
  padding: 0.8rem 1rem;
  margin: 1.2rem 0 0;
  font-size: 0.92rem;
  color: #6d3a13;
}
.warnbox p:last-child { margin-bottom: 0; }
.warnbox b { color: #4f2a0d; }

/* 平台步进（一格一格的横向流程） */
.lanes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.55rem; margin: 1.3rem 0 0; }

.lane {
  background: var(--cell);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  padding: 0.75rem 0.8rem 0.85rem;
}
.lane b { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.28rem; }
.lane strong { display: block; font-size: 0.9rem; color: #1a2026; margin-bottom: 0.22rem; }
.lane span { display: block; font-size: 0.79rem; color: var(--muted); line-height: 1.55; }

/* 页脚 */
.foot {
  margin-top: clamp(2.5rem, 6vw, 3.8rem);
  background: #232a31;
  color: #a9b6c0;
  font-size: 0.84rem;
  border-top: 3px solid #12171b;
}

.foot-in {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.3rem;
}

.foot-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }

/* 页脚链接是 flex 项，border-bottom 会落到行框底部变成悬空短线 */
.foot a {
  color: #d3dfe8;
  border-bottom: 0;
  text-decoration: underline;
  text-decoration-color: rgba(211, 223, 232, 0.35);
  text-underline-offset: 3px;
}
.foot a:hover { text-decoration-color: #d3dfe8; }

.foot-note { max-width: 30em; font-size: 0.78rem; color: #8b98a3; line-height: 1.7; }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  border-top: 1px solid #3a444d;
  padding: 0.78rem 0 1.05rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: #7c8892;
}

/* 内页头 */
.page-head { padding: clamp(1.8rem, 4vw, 2.6rem) 0 0.4rem; }
.page-head h1 { font-size: clamp(1.55rem, 3.1vw, 2.05rem); margin-bottom: 0.75rem; }

.crumb {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.crumb a { border-bottom: 0; color: var(--muted); }
.crumb a:hover { color: var(--navy); border-bottom: 0; }
.crumb span { margin: 0 0.4rem; color: #a2acb5; }

/* 404 */
.err { padding: clamp(3rem, 8vw, 5rem) 0; }
.err .no {
  font-family: var(--mono);
  font-size: clamp(3.2rem, 8.5vw, 5rem);
  font-weight: 700;
  color: #b3bcc4;
  line-height: 1;
  margin: 0 0 0.6rem;
}
.err p { color: var(--ink-2); max-width: 40em; }
.err .acts { margin-top: 1.3rem; }
.err .note { text-align: left; margin-top: 1.9rem; max-width: 46em; }

.nb { display: inline-block; }

/* ---------- 窄屏 ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .rack { max-width: 470px; }
  .lanes { 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.08rem; }
  .nav a { font-size: 0.8rem; padding: 0.26rem 0.3rem; }
  .topcta { justify-self: end; padding: 0.38rem 0.68rem; font-size: 0.8rem; }
  .brand-name { font-size: 0.94rem; }
  .brand-mark { width: 30px; height: 26px; font-size: 0.74rem; }

  .strip-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid, .g2 { grid-template-columns: minmax(0, 1fr); }
  .item { grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0 0.7rem; }
  .lanes { grid-template-columns: minmax(0, 1fr); }
  .rack { max-width: 100%; }
}

@media (max-width: 420px) {
  .nav a { font-size: 0.74rem; padding: 0.24rem 0.22rem; }
  .rack-grid { grid-template-columns: minmax(0, 1fr); }
  .strip-in { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
