/* ==========================================================================
   常州道海网络科技有限公司 —— 全站样式
   设计基调：商务蓝 + 中性灰，克制的装饰，无渐变滥用
   ========================================================================== */

:root {
  --c-primary: #1c4b82;
  --c-primary-d: #143a68;
  --c-primary-l: #e9f0f8;
  --c-primary-ll: #f4f8fc;
  --c-accent: #b07d34;
  --c-accent-l: #fbf4e8;
  --c-teal: #17695f;
  --c-teal-l: #e8f3f1;

  --c-ink: #1a2431;
  --c-ink-2: #46566b;
  --c-ink-3: #78889c;
  --c-ink-4: #9aa8b9;

  --c-line: #e3e9f1;
  --c-line-2: #eef2f7;
  --c-bg: #f5f7fa;
  --c-white: #fff;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;

  --sh-1: 0 1px 2px rgba(26, 36, 49, .05);
  --sh-2: 0 2px 8px rgba(26, 36, 49, .06);
  --sh-3: 0 6px 20px rgba(26, 36, 49, .08);
  --sh-4: 0 12px 34px rgba(26, 36, 49, .12);

  --wrap: 1180px;
  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
          "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-ink);
  background: var(--c-bg);
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; border: 0; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-d); }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.4; letter-spacing: -.2px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }
table { border-collapse: collapse; width: 100%; }

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

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.hd-in { display: flex; align-items: center; gap: 26px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__logo { width: 40px; height: 40px; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-size: 16.5px; font-weight: 700; color: var(--c-ink); letter-spacing: .2px; white-space: nowrap; }
.brand__sub { font-size: 11px; color: var(--c-ink-3); letter-spacing: 2.4px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.nav a {
  position: relative; padding: 9px 15px; border-radius: var(--r-sm);
  font-size: 15px; color: var(--c-ink-2); font-weight: 500;
}
.nav a:hover { background: var(--c-primary-ll); color: var(--c-primary); }
.nav a.on { color: var(--c-primary); font-weight: 700; }
.nav a.on::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--c-primary);
}
.nav .nav-m { display: none; }

.hd-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.hd-user { display: flex; align-items: center; gap: 9px; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--c-primary-l); color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; border: 1px solid #d6e3f2;
}
.hd-user__name { font-size: 14px; color: var(--c-ink-2); max-width: 120px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }

.nav-toggle { display: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 20px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background .16s, border-color .16s, color .16s, box-shadow .16s, transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn--pri { background: var(--c-primary); color: #fff; box-shadow: 0 2px 8px rgba(28, 75, 130, .22); }
.btn--pri:hover { background: var(--c-primary-d); color: #fff; box-shadow: 0 4px 14px rgba(28, 75, 130, .28); }
.btn--ghost { background: #fff; color: var(--c-primary); border-color: #c9d9ea; }
.btn--ghost:hover { background: var(--c-primary-ll); border-color: #a9c2de; color: var(--c-primary-d); }
.btn--line { background: transparent; color: var(--c-ink-2); border-color: var(--c-line); }
.btn--line:hover { background: #fff; border-color: #cfd8e4; color: var(--c-ink); }
.btn--sm { padding: 7px 14px; font-size: 13.5px; }
.btn--lg { padding: 13px 30px; font-size: 16px; }
.btn--blk { width: 100%; }
.btn--danger { background: #fff; color: #a4373a; border-color: #e8c9ca; }
.btn--danger:hover { background: #fdf5f5; color: #8d2c2f; }
.btn--ok { background: var(--c-teal); color: #fff; }
.btn--ok:hover { background: #12564e; color: #fff; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- 通用块 ---------- */
.panel {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.sec { padding: 62px 0; }
.sec--tight { padding: 44px 0; }
.sec--white { background: #fff; }

.sec-head { margin-bottom: 30px; }
.sec-head--center { text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 2.6px; color: var(--c-primary);
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--c-primary); opacity: .5; }
.sec-title { font-size: 29px; letter-spacing: -.4px; }
.sec-desc { margin-top: 12px; color: var(--c-ink-2); font-size: 15.5px; }
.sec-head--center .sec-desc { margin-left: auto; margin-right: auto; }

.sec-more { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.link-more { font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.link-more svg { width: 15px; height: 15px; }

/* ---------- 首屏 ---------- */
.hero { position: relative; background: #fff; border-bottom: 1px solid var(--c-line); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 340px at 88% -8%, #e8f0f9 0%, rgba(232, 240, 249, 0) 62%),
    radial-gradient(520px 300px at 4% 104%, #eef4f9 0%, rgba(238, 244, 249, 0) 60%);
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 52px; align-items: center; padding: 60px 0 54px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 10px;
  background: var(--c-primary-l); border: 1px solid #d5e3f1; border-radius: 999px;
  font-size: 13px; color: var(--c-primary-d); font-weight: 600; margin-bottom: 20px;
}
.hero__badge svg { width: 15px; height: 15px; }
.hero h1 { font-size: 35px; line-height: 1.34; letter-spacing: -.8px; }
.hero h1 em { font-style: normal; color: var(--c-primary); }
.hero__lead { margin-top: 18px; font-size: 16.5px; color: var(--c-ink-2); max-width: 560px; }
.hero__acts { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats {
  margin-top: 34px; padding-top: 24px; border-top: 1px dashed var(--c-line);
  display: flex; gap: 44px; flex-wrap: wrap;
}
.hstat__n { font-size: 25px; font-weight: 700; color: var(--c-primary); letter-spacing: -.5px; }
.hstat__n i { font-style: normal; font-size: 14px; font-weight: 600; margin-left: 2px; color: var(--c-ink-3); }
.hstat__l { font-size: 13px; color: var(--c-ink-3); margin-top: 2px; }

.hero__art { position: relative; }
.hero__frame {
  border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--c-line);
  box-shadow: var(--sh-4); background: #fff;
}
.hero__frame img { width: 100%; height: 340px; object-fit: cover; }
.hero__chip {
  position: absolute; left: -14px; bottom: 26px; display: flex; align-items: center; gap: 11px;
  padding: 12px 17px; background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-md); box-shadow: var(--sh-3);
}
.hero__chip svg { width: 26px; height: 26px; flex: none; }
.hero__chip b { display: block; font-size: 13.5px; }
.hero__chip span { font-size: 12px; color: var(--c-ink-3); }

/* ---------- 类目 ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat {
  display: block; padding: 22px 20px; background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); transition: border-color .18s, box-shadow .18s, transform .18s;
}
.cat:hover { border-color: #c3d6ea; box-shadow: var(--sh-3); transform: translateY(-3px); }
.cat__ic {
  width: 46px; height: 46px; border-radius: 11px; background: var(--c-primary-ll);
  border: 1px solid #e0eaf5; display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.cat__ic svg { width: 23px; height: 23px; stroke: var(--c-primary); fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cat__n { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cat__c { font-size: 12px; color: var(--c-ink-4); font-weight: 500; }
.cat__d { margin-top: 7px; font-size: 13.5px; color: var(--c-ink-3); line-height: 1.66; }

/* ---------- 信息卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .2s, border-color .2s, transform .2s;
}
.card:hover { box-shadow: var(--sh-3); border-color: #cddbeb; transform: translateY(-3px); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #eef2f6; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.045); }
.card__tag {
  position: absolute; left: 12px; top: 12px; padding: 4px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .95); color: var(--c-primary-d);
  font-size: 12px; font-weight: 700; box-shadow: var(--sh-1);
}
.card__body { padding: 17px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card__title {
  font-size: 16.5px; line-height: 1.5; margin-bottom: 9px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card:hover .card__title { color: var(--c-primary); }
.card__sum {
  font-size: 13.8px; color: var(--c-ink-3); line-height: 1.7; margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__meta {
  margin-top: auto; padding-top: 13px; border-top: 1px solid var(--c-line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 12.5px; color: var(--c-ink-4);
}
.card__pub { display: flex; align-items: center; gap: 6px; min-width: 0; }
.card__pub span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__pub svg { width: 13px; height: 13px; flex: none; stroke: var(--c-ink-4); fill: none;
  stroke-width: 1.8; }

/* ---------- 列表页工具条 ---------- */
.page-head { background: #fff; border-bottom: 1px solid var(--c-line); padding: 34px 0 30px; }
.page-head--slim { padding: 20px 0 18px; }
.page-head--slim .crumb { margin-bottom: 0; }
.crumb { font-size: 13px; color: var(--c-ink-4); margin-bottom: 12px; }
.crumb a { color: var(--c-ink-3); }
.crumb a:hover { color: var(--c-primary); }
.crumb i { font-style: normal; margin: 0 7px; color: var(--c-ink-4); }
.page-head h1 { font-size: 28px; }
.page-head p { margin: 10px 0 0; color: var(--c-ink-2); max-width: 780px; }

.toolbar {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 16px 18px; margin-bottom: 22px; box-shadow: var(--sh-1);
}
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.filters:last-child { margin-bottom: 0; }
.fchip {
  padding: 6px 15px; border-radius: 999px; border: 1px solid var(--c-line);
  background: #fff; font-size: 13.5px; color: var(--c-ink-2); cursor: pointer; font-weight: 500;
  transition: all .15s;
}
.fchip:hover { border-color: #b9cde3; color: var(--c-primary); background: var(--c-primary-ll); }
.fchip.on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 600; }
.fchip i { font-style: normal; opacity: .68; margin-left: 4px; font-size: 12px; }

.searchbar { display: flex; gap: 10px; }
.searchbar .field { flex: 1; }
.field {
  position: relative; display: flex; align-items: center;
  border: 1px solid var(--c-line); border-radius: var(--r-sm); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field:focus-within { border-color: #9dbde0; box-shadow: 0 0 0 3px rgba(28, 75, 130, .09); }
.field svg { width: 17px; height: 17px; margin-left: 12px; flex: none;
  stroke: var(--c-ink-4); fill: none; stroke-width: 1.9; }
.field input {
  flex: 1; border: 0; outline: 0; background: transparent; padding: 11px 14px 11px 9px; font-size: 14.5px;
}
.field input::placeholder { color: var(--c-ink-4); }

.result-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 16px; font-size: 13.5px; color: var(--c-ink-3);
}
.result-bar b { color: var(--c-ink); }
.select {
  border: 1px solid var(--c-line); border-radius: var(--r-sm); background: #fff;
  padding: 8px 12px; font-size: 13.5px; outline: 0; cursor: pointer; color: var(--c-ink-2);
}
.select:focus { border-color: #9dbde0; }

.empty {
  padding: 64px 24px; text-align: center; background: #fff;
  border: 1px dashed var(--c-line); border-radius: var(--r-lg); color: var(--c-ink-3);
}
.empty svg { width: 52px; height: 52px; margin: 0 auto 16px; stroke: var(--c-ink-4);
  fill: none; stroke-width: 1.4; }
.empty h3 { font-size: 17px; color: var(--c-ink-2); margin-bottom: 8px; }

.pager { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 34px; }
.pager button {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: var(--r-sm);
  border: 1px solid var(--c-line); background: #fff; color: var(--c-ink-2);
  font-size: 14px; cursor: pointer; font-weight: 500;
}
.pager button:hover:not([disabled]) { border-color: #b9cde3; color: var(--c-primary); }
.pager button.on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 700; }
.pager button[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- 详情页 ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 26px; align-items: start; }

.art { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; }
.art__hd { padding: 26px 30px 22px; border-bottom: 1px solid var(--c-line-2); }
.art__tags { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 13px; }
.tg {
  padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: var(--c-primary-l); color: var(--c-primary-d);
}
.tg--warm { background: var(--c-accent-l); color: #8d6220; }
.tg--teal { background: var(--c-teal-l); color: var(--c-teal); }
.art__title { font-size: 26px; line-height: 1.44; letter-spacing: -.3px; }
.art__sub { margin-top: 14px; display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 13px; color: var(--c-ink-3); }
.art__sub span { display: inline-flex; align-items: center; gap: 6px; }
.art__sub svg { width: 14px; height: 14px; stroke: var(--c-ink-4); fill: none; stroke-width: 1.8; }
.art__fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.art__bd { padding: 28px 30px 34px; }
.art__bd h3 {
  font-size: 17px; margin: 26px 0 12px; padding-left: 12px; position: relative;
}
.art__bd h3:first-child { margin-top: 0; }
.art__bd h3::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 16px; border-radius: 2px; background: var(--c-primary);
}
.art__bd p { color: #33404f; }
.art__bd ul { color: #33404f; }
.art__bd li::marker { color: var(--c-primary); }
.lead-p { font-size: 15.5px; color: var(--c-ink-2) !important; padding: 16px 18px;
  background: var(--c-primary-ll); border-left: 3px solid var(--c-primary);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; }

.facts { margin: 22px 0 4px; }
.facts table { font-size: 14.5px; }
.facts th, .facts td { padding: 11px 14px; border: 1px solid var(--c-line-2); text-align: left; }
.facts th { background: #fafcfe; color: var(--c-ink-2); font-weight: 600; width: 150px; white-space: nowrap; }
.facts td { color: #33404f; }

/* 侧栏 */
.side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; }
.sbox { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-1); }
.sbox__hd {
  padding: 14px 18px; border-bottom: 1px solid var(--c-line-2); font-size: 14.5px;
  font-weight: 700; display: flex; align-items: center; gap: 8px; background: #fbfcfe;
}
.sbox__hd svg { width: 16px; height: 16px; stroke: var(--c-primary); fill: none; stroke-width: 1.8; }
.sbox__bd { padding: 18px; }

.pub-row { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0;
  border-bottom: 1px dashed var(--c-line); }
.pub-row:first-child { padding-top: 0; }
.pub-row:last-child { border-bottom: 0; padding-bottom: 0; }
.pub-row__k { font-size: 13px; color: var(--c-ink-3); width: 68px; flex: none; padding-top: 2px; }
.pub-row__v { font-size: 14.5px; font-weight: 600; word-break: break-all; }

.phone-locked { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.phone-locked b { font-size: 16px; letter-spacing: .6px; font-family: Consolas, Menlo, monospace; }
.phone-locked a { font-size: 13.5px; font-weight: 600; }

.note-list { margin: 0; padding: 0; list-style: none; }
.note-list li { position: relative; padding-left: 20px; font-size: 13.8px;
  color: var(--c-ink-2); line-height: 1.75; margin-bottom: 10px; }
.note-list li:last-child { margin-bottom: 0; }
.note-list li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--c-primary); opacity: .45;
}

.side-links { display: flex; flex-direction: column; }
.side-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 0; border-bottom: 1px dashed var(--c-line); font-size: 14px; color: var(--c-ink-2);
}
.side-links a:last-child { border-bottom: 0; }
.side-links a:hover { color: var(--c-primary); }
.side-links span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-links i { font-style: normal; color: var(--c-ink-4); font-size: 12px; flex: none; }

/* ---------- 表单 ---------- */
.form-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
.form-page--narrow { grid-template-columns: minmax(0, 560px); justify-content: center; }

.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgrid .frow--full { grid-column: 1 / -1; }
.frow { margin-bottom: 16px; }
.frow--last { margin-bottom: 0; }
.flabel { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--c-ink); }
.flabel i { font-style: normal; color: #b4453f; margin-left: 3px; }
.flabel small { font-weight: 400; color: var(--c-ink-4); margin-left: 6px; font-size: 12.5px; }
.fhint { margin-top: 6px; font-size: 12.5px; color: var(--c-ink-4); }

.input, .textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--c-line); border-radius: var(--r-sm);
  background: #fff; outline: 0; font-size: 14.5px; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .textarea:focus { border-color: #9dbde0; box-shadow: 0 0 0 3px rgba(28, 75, 130, .09); }
.input[readonly] { background: #f7f9fc; color: var(--c-ink-3); }
.textarea { resize: vertical; min-height: 130px; line-height: 1.75; }
.textarea--lg { min-height: 220px; }
select.input { cursor: pointer; }

.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px;
  border: 1px solid var(--c-line); border-radius: 999px; font-size: 13.5px;
  cursor: pointer; user-select: none; background: #fff; transition: all .15s;
}
.check:hover { border-color: #b9cde3; }
.check input { margin: 0; accent-color: var(--c-primary); }
.check.on { border-color: var(--c-primary); background: var(--c-primary-l); color: var(--c-primary-d);
  font-weight: 600; }

.agree { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px;
  color: var(--c-ink-2); line-height: 1.7; cursor: pointer; }
.agree input { margin: 3px 0 0; flex: none; accent-color: var(--c-primary); width: 15px; height: 15px; }
.agree a { text-decoration: underline; text-underline-offset: 3px; }

.form-msg {
  display: none; padding: 10px 14px; border-radius: var(--r-sm); font-size: 13.5px; margin-bottom: 16px;
}
.form-msg.on { display: block; }
.form-msg--err { background: #fdf3f3; color: #94302f; border: 1px solid #f0d5d4; }
.form-msg--ok { background: var(--c-teal-l); color: #12564e; border: 1px solid #cbe4e0; }

/* ---------- 认证页 ---------- */
.auth-wrap { min-height: calc(100vh - 74px); display: flex; align-items: center; justify-content: center;
  padding: 46px 22px; background:
    radial-gradient(700px 320px at 80% 6%, #e9f1f9 0%, rgba(233, 241, 249, 0) 60%), var(--c-bg); }
.auth-card { width: 100%; max-width: 470px; background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-xl); box-shadow: var(--sh-4); padding: 36px 38px 32px; }
.auth-card--wide { max-width: 540px; }
.auth-head { text-align: center; margin-bottom: 26px; }
.auth-head .brand__logo { width: 52px; height: 52px; margin: 0 auto 14px; }
.auth-head h1 { font-size: 23px; }
.auth-head p { margin: 9px 0 0; font-size: 14px; color: var(--c-ink-3); }
.auth-foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--c-line-2);
  text-align: center; font-size: 13.8px; color: var(--c-ink-3); }
.auth-foot a { font-weight: 600; }
.auth-tip { margin-top: 16px; padding: 11px 14px; background: var(--c-primary-ll);
  border: 1px solid #e0eaf5; border-radius: var(--r-sm); font-size: 12.8px; color: var(--c-ink-2); }

/* ---------- 状态徽标 ---------- */
.st { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px;
  border-radius: 999px; font-size: 12px; font-weight: 700; }
.st--pending { background: #fdf6e8; color: #96681c; border: 1px solid #f0e0bd; }
.st--approved { background: var(--c-teal-l); color: #12564e; border: 1px solid #cbe4e0; }
.st--rejected { background: #fdf3f3; color: #94302f; border: 1px solid #f0d5d4; }
.st--hidden { background: #f2f4f7; color: #5a6779; border: 1px solid #e1e6ec; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- 表格 ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; }
.tbl { font-size: 14px; min-width: 860px; }
.tbl th, .tbl td { padding: 13px 16px; border-bottom: 1px solid var(--c-line-2); text-align: left;
  vertical-align: middle; }
.tbl th { background: #fafcfe; font-size: 13px; font-weight: 700; color: var(--c-ink-2); white-space: nowrap; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: #fcfdff; }
.tbl .t-title { font-weight: 600; color: var(--c-ink); max-width: 320px; }
.tbl .t-title a:hover { color: var(--c-primary); }
.tbl .t-act { display: flex; gap: 7px; flex-wrap: wrap; }
.tbl .t-muted { color: var(--c-ink-3); font-size: 13px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--c-line); margin-bottom: 22px; }
.tab {
  padding: 11px 18px; font-size: 14.5px; font-weight: 600; color: var(--c-ink-3);
  border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; border-top: 0;
  border-left: 0; border-right: 0; cursor: pointer;
}
.tab:hover { color: var(--c-primary); }
.tab.on { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.tab i { font-style: normal; margin-left: 6px; padding: 1px 7px; border-radius: 999px;
  background: #f0f3f7; font-size: 12px; color: var(--c-ink-3); }
.tab.on i { background: var(--c-primary-l); color: var(--c-primary); }

/* ---------- 统计条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 18px 20px; box-shadow: var(--sh-1); }
.stat__n { font-size: 26px; font-weight: 700; color: var(--c-primary); letter-spacing: -.6px; }
.stat__n small { font-size: 14px; color: var(--c-ink-3); font-weight: 600; margin-left: 2px; }
.stat__l { font-size: 13px; color: var(--c-ink-3); margin-top: 3px; }
.stat--warn .stat__n { color: #96681c; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 24px 20px 22px; background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.step__n {
  width: 34px; height: 34px; border-radius: 9px; background: var(--c-primary-l);
  color: var(--c-primary-d); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; margin-bottom: 14px; border: 1px solid #dbe7f3;
}
.step h4 { font-size: 15.5px; margin-bottom: 7px; }
.step p { margin: 0; font-size: 13.5px; color: var(--c-ink-3); line-height: 1.7; }
.step::after {
  content: ""; position: absolute; right: -14px; top: 41px; width: 8px; height: 8px;
  border-top: 1.6px solid #c9d5e3; border-right: 1.6px solid #c9d5e3; transform: rotate(45deg);
}
.step:last-child::after { display: none; }

/* ---------- 富文本页（协议 / 关于） ---------- */
.doc { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 38px 46px 44px; box-shadow: var(--sh-1); }
.doc h2 { font-size: 20px; margin: 30px 0 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--c-line-2); }
.doc h2:first-of-type { margin-top: 0; }
.doc h3 { font-size: 16px; margin: 22px 0 10px; }
.doc p, .doc li { color: #33404f; font-size: 14.5px; }
.doc ul { padding-left: 20px; }
.doc .doc-meta { font-size: 13px; color: var(--c-ink-4); padding-bottom: 20px;
  border-bottom: 1px solid var(--c-line-2); margin-bottom: 26px; }
.doc .doc-lead { padding: 16px 18px; background: var(--c-primary-ll); border-radius: var(--r-sm);
  border-left: 3px solid var(--c-primary); font-size: 14.5px; color: var(--c-ink-2); }

/* 关于页 */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); gap: 44px;
  align-items: center; }
.about-fig { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--c-line);
  box-shadow: var(--sh-3); }
.about-fig img { width: 100%; height: 430px; object-fit: cover; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.info-item { padding: 16px 18px; background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-md); }
.info-item dt { font-size: 12.5px; color: var(--c-ink-4); margin-bottom: 5px; }
.info-item dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--c-ink); }

/* ---------- 页脚 ---------- */
.site-footer { background: #16283f; color: #a9b8ca; margin-top: auto; }
.ft-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px;
  padding: 46px 0 34px; }
.ft-brand { display: flex; align-items: flex-start; gap: 12px; }
.ft-brand .brand__logo { width: 38px; height: 38px; }
.ft-brand__name { font-size: 15.5px; font-weight: 700; color: #fff; line-height: 1.45; }
.ft-brand p { font-size: 13.2px; line-height: 1.8; margin: 12px 0 0; color: #93a5ba; }
.ft-col h4 { font-size: 14px; color: #fff; margin-bottom: 15px; font-weight: 700; }
.ft-col a, .ft-col span { display: block; font-size: 13.4px; color: #a9b8ca; padding: 4px 0; }
.ft-col a:hover { color: #fff; }
.ft-bottom {
  border-top: 1px solid #253c58; padding: 18px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.8px; color: #8296ad;
}
.ft-bottom__l { display: flex; gap: 18px; flex-wrap: wrap; }
.ft-icp { display: inline-flex; align-items: center; gap: 7px; }
.ft-icp a { color: #a9b8ca; }
.ft-icp a:hover { color: #fff; }

/* ---------- 工具类 ---------- */
.mt0 { margin-top: 0; } .mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; } .mt48 { margin-top: 48px; }
.mb0 { margin-bottom: 0; } .mb8 { margin-bottom: 8px; } .mb16 { margin-bottom: 16px; }
.mb24 { margin-bottom: 24px; } .mb32 { margin-bottom: 32px; }
.tc { text-align: center; } .tr { text-align: right; }
.muted { color: var(--c-ink-3); } .small { font-size: 13px; }
.flex { display: flex; } .between { justify-content: space-between; } .aic { align-items: center; }
.gap8 { gap: 8px; } .gap12 { gap: 12px; } .gap16 { gap: 16px; } .wrap-f { flex-wrap: wrap; }
.hide { display: none !important; }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.callout {
  display: flex; gap: 13px; padding: 16px 18px; border-radius: var(--r-md);
  background: var(--c-primary-ll); border: 1px solid #e0eaf5;
}
.callout svg { width: 20px; height: 20px; flex: none; margin-top: 2px;
  stroke: var(--c-primary); fill: none; stroke-width: 1.8; }
.callout p { margin: 0; font-size: 13.6px; color: var(--c-ink-2); line-height: 1.72; }
.callout b { color: var(--c-ink); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 34px; padding: 44px 0; }
  .hero__art { order: -1; }
  .hero__frame img { height: 280px; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .side { position: static; }
  .form-page { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 74px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--c-line);
    padding: 8px 16px 14px; box-shadow: var(--sh-3);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; border-bottom: 1px solid var(--c-line-2); }
  .nav a.on::after { display: none; }
  .nav .nav-m { display: block; }
  .nav .nav-m:first-of-type { margin-top: 8px; }
  .nav .nav-m[href$="login.html"], .nav .nav-m[href$="register.html"],
  .nav .nav-m[href$="account.html"], .nav .nav-m[href$="admin.html"] { color: var(--c-primary); font-weight: 600; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 38px; height: 38px; border: 1px solid var(--c-line); border-radius: var(--r-sm);
    background: #fff; cursor: pointer; padding: 0 9px;
  }
  .nav-toggle span { height: 1.8px; background: var(--c-ink-2); border-radius: 2px; }
  .hd-right .btn--line { display: none; }
  .brand__name { font-size: 15px; white-space: normal; }
  .brand__sub { display: none; }

  .hero h1 { font-size: 27px; }
  .hero__lead { font-size: 15px; }
  .hero__stats { gap: 26px; }
  .sec { padding: 42px 0; }
  .sec-title { font-size: 23px; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat { padding: 17px 15px; }
  .cards, .cards--2 { grid-template-columns: 1fr; }
  .art__hd, .art__bd { padding-left: 18px; padding-right: 18px; }
  .art__title { font-size: 21px; }
  .doc { padding: 26px 20px 32px; }
  .fgrid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .steps { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr; gap: 22px; padding: 34px 0 24px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; }
  .auth-card { padding: 28px 20px 24px; }
  .form-page--narrow { grid-template-columns: 1fr; }
  .searchbar { flex-direction: column; }
  .result-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media print {
  .site-header, .site-footer, .side, .toolbar, .pager { display: none !important; }
  body { background: #fff; }
}
