/* ===================================================================
   北京冀思数据科技有限公司 — 软件开发信息发布平台
   样式表
   =================================================================== */

:root {
  --brand: #1d4ed8;
  --brand-dark: #16357f;
  --brand-soft: #eef3fe;
  --ink: #141821;
  --ink-2: #3d4657;
  --ink-3: #6b7484;
  --line: #e2e6ee;
  --line-soft: #eef1f6;
  --bg: #f6f8fb;
  --white: #ffffff;
  --amber: #b8860b;
  --amber-soft: #fdf7e8;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(20, 24, 33, .06);
  --shadow: 0 6px 20px rgba(20, 24, 33, .07);
  --shadow-lg: 0 14px 40px rgba(20, 24, 33, .1);
  --wrap: 1200px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans CN", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; letter-spacing: .2px; }

img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.icon { width: 18px; height: 18px; flex: none; display: block; }
.icon-sm { width: 15px; height: 15px; }
.icon-lg { width: 26px; height: 26px; }

/* ------------------------------ 页头 ------------------------------ */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 84px;
}

.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; justify-content: center; }
.brand__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .5px;
  line-height: 1.25;
  white-space: nowrap;
}
.brand__sub {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 2.4px;
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink-2);
  padding: 9px 15px;
  border-radius: 8px;
  font-size: 15px;
  transition: background .16s, color .16s;
  white-space: nowrap;
}
.nav a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.nav a.is-active { color: var(--brand); font-weight: 600; background: var(--brand-soft); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 14px;
  font-family: var(--font);
  cursor: pointer;
  transition: all .16s;
  white-space: nowrap;
  line-height: 1.5;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--lg { padding: 13px 30px; font-size: 15.5px; border-radius: 9px; }
.btn--block { width: 100%; }
.btn--amber { background: var(--amber); color: #fff; }
.btn--amber:hover { background: #9a6f09; color: #fff; }

.user-menu { position: relative; }
.user-menu__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink-2);
}
.user-menu__btn:hover { border-color: var(--brand); color: var(--brand); }
.user-menu__drop {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 176px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 80;
}
.user-menu.is-open .user-menu__drop { display: block; }
.user-menu__drop a {
  display: block;
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--ink-2);
  font-size: 14px;
}
.user-menu__drop a:hover { background: var(--brand-soft); color: var(--brand-dark); }

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

/* ------------------------------ 主视觉 ------------------------------ */

.hero {
  background:
    linear-gradient(120deg, rgba(22, 53, 127, .96) 0%, rgba(29, 78, 216, .92) 55%, rgba(37, 99, 235, .88) 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 12px);
  color: #fff;
  padding: 74px 0 66px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 68%);
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 38px;
  line-height: 1.4;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.hero p.lead {
  font-size: 16.5px;
  color: rgba(255,255,255,.9);
  margin: 0 0 30px;
  max-width: 680px;
  line-height: 1.9;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn--ghost {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
.hero .btn--ghost:hover { background: rgba(255,255,255,.22); color: #fff; border-color: #fff; }

.hero__stats {
  display: flex;
  gap: 46px;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.2);
  flex-wrap: wrap;
}
.hero__stat b { display: block; font-size: 26px; letter-spacing: .5px; }
.hero__stat span { font-size: 13.5px; color: rgba(255,255,255,.78); }

/* ------------------------------ 区块 ------------------------------ */

.section { padding: 62px 0; }
.section--tight { padding: 46px 0; }
.section--white { background: var(--white); }

.section-head { margin-bottom: 34px; }
.section-head--center { text-align: center; }
.section-head h2 {
  font-size: 26px;
  color: var(--ink);
  letter-spacing: .6px;
}
.section-head .eyebrow {
  font-size: 13px;
  color: var(--brand);
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 10px;
}
.section-head p {
  color: var(--ink-3);
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.9;
  max-width: 720px;
}
.section-head--center p { margin-left: auto; margin-right: auto; }

/* ------------------------------ 类目卡 ------------------------------ */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: all .18s;
  display: block;
  color: inherit;
}
.cat-card:hover {
  border-color: #c3d3f7;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.cat-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
.cat-card__icon svg { width: 22px; height: 22px; }
.cat-card h4 { font-size: 16px; margin-bottom: 7px; }
.cat-card p { color: var(--ink-3); font-size: 13.5px; margin: 0; line-height: 1.7; }

/* ------------------------------ 资讯卡 ------------------------------ */

.info-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--font);
  transition: all .16s;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}
.search-box { position: relative; }
.search-box input {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px 9px 40px;
  font-size: 14px;
  font-family: var(--font);
  width: 268px;
  outline: none;
  color: var(--ink);
}
.search-box input:focus { border-color: var(--brand); }
.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--ink-3);
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.list-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .18s;
}
.list-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d6deee; }
.list-card__media {
  position: relative;
  height: 178px;
  overflow: hidden;
  background: var(--line-soft);
}
.list-card__media img { width: 100%; height: 100%; object-fit: cover; }
.list-card__cat {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(20, 24, 33, .74);
  color: #fff;
  font-size: 12px;
  border-radius: 5px;
  padding: 4px 10px;
  letter-spacing: .5px;
  backdrop-filter: blur(2px);
}
.list-card__fee {
  position: absolute;
  right: 12px;
  top: 12px;
  background: var(--amber);
  color: #fff;
  font-size: 12.5px;
  border-radius: 5px;
  padding: 4px 11px;
  font-weight: 600;
  letter-spacing: .3px;
}
.list-card__body { padding: 19px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.list-card__title {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 13px;
  min-height: 52px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-card__title:hover { color: var(--brand); }
.list-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  margin-top: auto;
  font-size: 13px;
  color: var(--ink-3);
}
.list-card__pub { display: flex; align-items: center; gap: 7px; min-width: 0; }
.list-card__pub span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
}
.list-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand);
  color: #fff;
  border-radius: 7px;
  padding: 8px 15px;
  font-size: 13.5px;
}
.list-card__btn:hover { background: var(--brand-dark); color: #fff; }
.list-card__btn--done { background: #eef2f8; color: var(--brand); }

.empty-state {
  text-align: center;
  padding: 70px 20px;
  color: var(--ink-3);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
}
.empty-state__icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.empty-state__icon svg { width: 28px; height: 28px; }

/* ------------------------------ 详情页 ------------------------------ */

.crumb {
  font-size: 13.5px;
  color: var(--ink-3);
  padding: 22px 0 0;
}
.crumb a { color: var(--ink-3); }
.crumb a:hover { color: var(--brand); }
.crumb span { margin: 0 8px; color: #b9c0cd; }

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 30px;
  align-items: start;
  padding: 22px 0 70px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.panel__head {
  padding: 20px 26px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel__head h3 { font-size: 16px; }
.panel__body { padding: 24px 26px; }

.detail-title {
  font-size: 27px;
  line-height: 1.55;
  letter-spacing: .4px;
  margin-bottom: 18px;
}
.detail-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 13px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.tag--amber { background: var(--amber-soft); color: var(--amber); }
.tag--plain { background: #f3f5f9; color: var(--ink-2); }

.detail-hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 26px;
  background: var(--line-soft);
}
.detail-hero img { width: 100%; max-height: 400px; object-fit: cover; }

.prose { color: var(--ink-2); font-size: 15.5px; line-height: 2.05; }
.prose p { margin: 0 0 17px; }
.prose p:last-child { margin-bottom: 0; }

/* 锁定区 */
.locked {
  position: relative;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fc 100%);
  overflow: hidden;
}
.locked__veil { position: relative; height: 148px; overflow: hidden; padding: 22px 26px; }
.locked__veil::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(246,248,251,.2) 0%, rgba(246,248,251,.72) 42%, #f4f7fc 82%);
}
.locked__ghost {
  color: #aeb7c6;
  font-size: 15px;
  line-height: 2.1;
  filter: blur(3.4px);
  user-select: none;
  pointer-events: none;
}
.locked__cta {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 4px 26px 34px;
}
.locked__cta h4 { font-size: 18px; margin-bottom: 10px; }
.locked__cta p { color: var(--ink-3); font-size: 14px; margin: 0 0 20px; }
.locked__price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--amber);
  font-weight: 700;
  font-size: 30px;
  margin-bottom: 18px;
}
.locked__price small { font-size: 15px; font-weight: 600; }
.locked__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.unlocked-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0f7f1;
  border: 1px solid #d3e8d7;
  color: #2f6b3d;
  border-radius: 9px;
  padding: 13px 18px;
  font-size: 14px;
  margin-bottom: 22px;
}

/* 收款区 */
.pay-box {
  border: 1px solid #e7d9b3;
  background: var(--amber-soft);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 20px;
}
.pay-box h4 { font-size: 16px; color: #8a6508; margin-bottom: 10px; }
.pay-box ol { margin: 0 0 18px; padding-left: 20px; color: #7a6218; font-size: 14.5px; line-height: 2; }
.pay-qr {
  width: 216px;
  margin: 0 auto 16px;
  border: 1px solid #e2d3aa;
  border-radius: 10px;
  background: #fff;
  padding: 12px;
  text-align: center;
}
.pay-qr svg { width: 100%; height: auto; }
.pay-qr__cap { font-size: 13px; color: #8a6508; margin-top: 10px; }

/* 侧栏 */
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 20px;
}
.side-card h3 {
  font-size: 15.5px;
  margin-bottom: 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 9px;
}
.side-rows { display: flex; flex-direction: column; gap: 1px; }
.side-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 14px;
}
.side-row:last-child { border-bottom: none; }
.side-row__icon { color: var(--brand); margin-top: 3px; }
.side-row__k { color: var(--ink-3); flex: none; width: 74px; font-size: 13.5px; }
.side-row__v { color: var(--ink-2); word-break: break-all; }
.phone-full { font-weight: 600; color: var(--ink); letter-spacing: .6px; }
.phone-lock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-3);
  font-size: 13.5px;
}

.side-note {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.95;
}
.side-note b { color: var(--ink-2); display: block; margin-bottom: 6px; font-size: 14px; }

.side-links { display: flex; flex-direction: column; gap: 2px; }
.side-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-soft);
  color: var(--ink-2);
  font-size: 14px;
}
.side-links a:last-child { border-bottom: none; }
.side-links a:hover { color: var(--brand); }
.side-links a span {
  margin-left: auto;
  color: var(--ink-3);
  font-size: 13px;
  flex: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 150px;
}

/* ------------------------------ 表单 ------------------------------ */

.auth-wrap {
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background:
    linear-gradient(180deg, #f6f8fb 0%, #eef2f9 100%);
}
.auth-card {
  width: 100%;
  max-width: 468px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 40px 42px 36px;
}
.auth-card__head { text-align: center; margin-bottom: 30px; }
.auth-card__mark { width: 52px; height: 52px; margin: 0 auto 16px; }
.auth-card__mark svg { width: 100%; height: 100%; }
.auth-card__head h2 { font-size: 22px; margin-bottom: 9px; }
.auth-card__head p { color: var(--ink-3); font-size: 14px; margin: 0; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 8px;
  font-weight: 500;
}
.field label i { color: #d9453a; font-style: normal; margin-left: 3px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 14px;
  font-size: 14.5px;
  font-family: var(--font);
  color: var(--ink);
  outline: none;
  background: #fff;
  transition: border-color .16s, box-shadow .16s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, .1);
}
.field textarea { resize: vertical; min-height: 128px; line-height: 1.85; }
.field__hint { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }

.check-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.7;
  cursor: pointer;
  user-select: none;
}
.check-line input { width: 16px; height: 16px; margin: 3px 0 0; flex: none; accent-color: var(--brand); cursor: pointer; }
.check-line a { color: var(--brand); }

.alert {
  border-radius: 9px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 18px;
  display: none;
}
.alert.is-show { display: block; }
.alert--err { background: #fdf1f0; border: 1px solid #f3d4d1; color: #b03028; }
.alert--ok { background: #f0f7f1; border: 1px solid #d3e8d7; color: #2f6b3d; }

.auth-foot { text-align: center; margin-top: 22px; font-size: 14px; color: var(--ink-3); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ------------------------------ 数据表 ------------------------------ */

.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.data-table th {
  background: #f7f9fc;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  padding: 14px 15px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table td {
  padding: 15px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--ink-2);
  vertical-align: middle;
  word-break: break-word;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #fafbfe; }
.data-table .t-title { color: var(--ink); font-weight: 500; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  padding: 4px 11px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.status-pill--pending { background: var(--amber-soft); color: var(--amber); }
.status-pill--approved { background: #eef7f0; color: #2f6b3d; }
.status-pill--rejected { background: #fdf1f0; color: #b03028; }

/* ------------------------------ 管理台 ------------------------------ */

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 22px;
  flex-wrap: wrap;
}
.admin-head h2 { font-size: 22px; }
.admin-head p { color: var(--ink-3); font-size: 14px; margin: 8px 0 0; }
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--font);
  color: var(--ink-2);
}
.admin-tab.is-active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.admin-tab b { margin-left: 6px; font-weight: 700; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.stat-card b { display: block; font-size: 27px; color: var(--ink); letter-spacing: .5px; }
.stat-card span { font-size: 13.5px; color: var(--ink-3); }

.row-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.mini-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font);
  color: var(--ink-2);
  white-space: nowrap;
}
.mini-btn:hover { border-color: var(--brand); color: var(--brand); }
.mini-btn--ok { border-color: #c9e2cf; color: #2f6b3d; background: #f4fbf6; }
.mini-btn--ok:hover { border-color: #2f6b3d; color: #2f6b3d; }
.mini-btn--no { border-color: #f0d3d0; color: #b03028; background: #fdf5f4; }
.mini-btn--no:hover { border-color: #b03028; color: #b03028; }

/* ------------------------------ 页脚 ------------------------------ */

.site-footer {
  background: #161b26;
  color: #a9b2c1;
  padding: 52px 0 0;
  margin-top: 20px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1.35fr;
  gap: 38px;
  padding-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand__mark { width: 40px; height: 40px; flex: none; }
.footer-brand__mark svg { width: 100%; height: 100%; }
.footer-brand__name { color: #fff; font-size: 16.5px; font-weight: 600; line-height: 1.4; }
.site-footer p { line-height: 1.95; margin: 0 0 12px; color: #8d97a5; font-size: 13.5px; }
.site-footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: #a9b2c1; font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.footer-rows { display: flex; flex-direction: column; gap: 11px; }
.footer-row { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: #a9b2c1; }
.footer-row svg { color: #6f7a8c; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid #262d3b;
  padding: 22px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #7d8899;
}
.footer-bottom a { color: #9aa4b4; }
.footer-bottom a:hover { color: #fff; }

/* ------------------------------ 其他 ------------------------------ */

.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 42px 0 38px;
}
.page-hero h1 { font-size: 27px; margin-bottom: 12px; }
.page-hero p { color: var(--ink-3); margin: 0; font-size: 15px; max-width: 800px; line-height: 1.9; }

.prose-page { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 52px; }
.prose-page h2 { font-size: 20px; margin: 32px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.prose-page h2:first-child { margin-top: 0; }
.prose-page h3 { font-size: 16px; margin: 22px 0 10px; }
.prose-page p, .prose-page li { color: var(--ink-2); font-size: 15px; line-height: 2; }
.prose-page ul, .prose-page ol { padding-left: 22px; margin: 0 0 16px; }
.prose-page li { margin-bottom: 8px; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.value-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 17px;
}
.value-card__icon svg { width: 23px; height: 23px; }
.value-card h4 { font-size: 16.5px; margin-bottom: 10px; }
.value-card p { color: var(--ink-3); font-size: 14px; margin: 0; line-height: 1.9; }

.stat4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat4-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; text-align: center; }
.stat4-item b { display: block; font-size: 28px; color: var(--brand); letter-spacing: .5px; }
.stat4-item span { font-size: 13.5px; color: var(--ink-3); }

.pub-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pub-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px; position: relative; }
.pub-step__no {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
  margin-bottom: 15px;
}
.pub-step h4 { font-size: 15.5px; margin-bottom: 9px; }
.pub-step p { color: var(--ink-3); font-size: 13.5px; margin: 0; line-height: 1.8; }

.cta-band {
  background: linear-gradient(115deg, #16357f 0%, #1d4ed8 100%);
  border-radius: 16px;
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #fff;
  flex-wrap: wrap;
}
.cta-band h3 { font-size: 23px; margin-bottom: 10px; color: #fff; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); font-size: 15px; }
.cta-band .btn--ghost { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.45); color: #fff; }
.cta-band .btn--ghost:hover { background: #fff; color: var(--brand-dark); border-color: #fff; }

.toast {
  position: fixed;
  left: 50%;
  top: 96px;
  transform: translate(-50%, -14px);
  background: #1d2530;
  color: #fff;
  padding: 12px 24px;
  border-radius: 9px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  opacity: 0;
  transition: opacity .22s, transform .22s;
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------ 响应式 ------------------------------ */

@media (max-width: 1080px) {
  .cat-grid, .list-grid, .pub-steps, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .stat-row, .stat4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .brand__name { font-size: 17px; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0; right: 0; top: 84px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 14px 20px;
    gap: 2px;
    box-shadow: var(--shadow);
  }
  .nav.is-open a { padding: 12px 14px; }
  .site-header__inner { height: 74px; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 15.5px; }
  .brand__sub { display: none; }
  .hero h1 { font-size: 27px; }
  .hero { padding: 52px 0 46px; }
  .hero__stats { gap: 26px; }
  .hero__stat b { font-size: 21px; }
  .section { padding: 44px 0; }
  .prose-page { padding: 28px 22px; }
  .auth-card { padding: 32px 24px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 26px; }
  .search-box input { width: 100%; }
  .info-toolbar { flex-direction: column; align-items: stretch; }
  .data-table th, .data-table td { padding: 12px 10px; font-size: 13px; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .cat-grid, .list-grid, .pub-steps, .value-grid, .stat-row, .stat4, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 23px; }
  .detail-title { font-size: 21px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .header-actions .btn span { display: none; }
}
