/* ==========================================================
   企业服务能力平鉴平台 — 基础样式
   版式参照：1200px 定宽 / 导航 50px / 列表项 40px
   ========================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --pri: #1c5db3;        /* 政务蓝主色 */
  --pri-dark: #0f3f7e;
  --pri-light: #eef4fc;
  --navy: #0e2a52;
  --text: #1f2329;
  --text-2: #556070;
  --text-3: #8a9099;
  --line: #e3e8f0;
  --line-2: #edf1f7;
  --bg: #f3f6fa;
  --w: 1200px;
}

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

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

a { color: inherit; text-decoration: none; transition: color .18s; }
li { list-style: none; }
img { display: block; max-width: 100%; }
button, input, select { font-family: inherit; font-size: inherit; outline: none; }

.w1200 { width: var(--w); margin: 0 auto; }
.clearfix::after { content: ""; display: block; clear: both; }
.flex { display: flex; }

/* ---------- 顶部服务条 ---------- */
.topbar {
  height: 36px;
  background: var(--navy);
  color: rgba(255,255,255,.72);
  font-size: 12px;
}
.topbar .w1200 {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar a { color: rgba(255,255,255,.72); }
.topbar a:hover { color: #fff; }
.topbar .tl { display: flex; align-items: center; gap: 18px; }
.topbar .tr { display: flex; align-items: center; gap: 16px; }
.topbar .hot {
  display: flex; align-items: center; gap: 6px;
  color: #fff; font-weight: 600; letter-spacing: .5px;
}
.topbar .hot svg { opacity: .9; }
.topbar .sep { width: 1px; height: 12px; background: rgba(255,255,255,.2); }

/* ---------- 头部 ---------- */
.header { background: #fff; }
.header .w1200 {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo { display: flex; align-items: center; gap: 13px; flex: none; }
.logo .mark {
  width: 46px; height: 46px; flex: none;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--pri) 0%, var(--pri-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(28,93,179,.24);
}
.logo .txt .n {
  font-size: 23px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--navy); line-height: 1.25;
}
.logo .txt .e {
  font-size: 10.5px; letter-spacing: 1.4px; color: var(--text-3);
  text-transform: uppercase; margin-top: 1px;
}

/* 搜索 */
.search { display: flex; align-items: stretch; height: 42px; flex: none; }
.search select {
  width: 118px;
  border: 2px solid var(--pri);
  border-right: none;
  background: #fff;
  color: var(--text-2);
  padding: 0 10px;
  font-size: 13.5px;
  cursor: pointer;
  border-radius: 2px 0 0 2px;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238a9099'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.search input {
  width: 330px;
  border: 2px solid var(--pri);
  border-right: none;
  padding: 0 14px;
  font-size: 14px;
  color: var(--text);
  border-radius: 2px 0 0 2px;
}
.search input::placeholder { color: #a8adb5; }
.search button {
  width: 92px;
  background: var(--pri);
  color: #fff;
  border: none;
  font-size: 15px;
  letter-spacing: 3px;
  cursor: pointer;
  border-radius: 0 2px 2px 0;
  transition: background .18s;
}
.search button:hover { background: var(--pri-dark); }

/* ---------- 主导航（深蓝通栏） ---------- */
.nav {
  background: linear-gradient(90deg, #0e2a52 0%, #143a6e 100%);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 18px rgba(14,42,82,.18);
}
.nav ul { display: flex; }
.nav li { position: relative; }
.nav li > a {
  display: block;
  height: 52px;
  line-height: 52px;
  padding: 0 24px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255,255,255,.86);
  position: relative;
}
.nav li > a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 0; height: 3px;
  background: #7db1f2;
  border-radius: 2px 2px 0 0;
  transition: width .2s;
}
.nav li > a:hover { color: #fff; }
.nav li > a:hover::after { width: 100%; }
.nav li.active > a { color: #fff; }
.nav li.active > a::after { width: 100%; }

.nav .subnav {
  position: absolute;
  top: 52px; left: 50%;
  transform: translateX(-50%);
  min-width: 138px;
  background: #fff;
  border-top: 2px solid var(--pri);
  box-shadow: 0 6px 20px rgba(14,42,82,.14);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transition: all .2s;
  z-index: 20;
}
.nav li:hover .subnav { opacity: 1; visibility: visible; }
.nav .subnav a {
  display: block;
  padding: 0 18px;
  height: 38px;
  line-height: 38px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-2);
  white-space: nowrap;
}
.nav .subnav a:hover { background: var(--pri-light); color: var(--pri); }

/* ---------- 首页 Hero：左文案 + 右查询卡 ---------- */
.hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(125,177,242,.28) 0%, transparent 42%),
    radial-gradient(circle at 6% 96%, rgba(125,177,242,.16) 0%, transparent 40%),
    linear-gradient(115deg, #0e2a52 0%, #163f7a 52%, #1c5db3 100%);
  position: relative;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  right: -120px; top: -160px;
  width: 420px; height: 420px;
  border: 1px solid rgba(255,255,255,.12);
}
.hero::after {
  right: 180px; bottom: -190px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,.05);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 380px;
  padding: 48px 0;
  position: relative;
  z-index: 2;
}
.hero .kick {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 4px;
  padding: 5px 14px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 20px;
  margin-bottom: 20px;
  color: rgba(255,255,255,.92);
}
.hero h2 {
  font-size: 40px;
  line-height: 1.35;
  letter-spacing: 2px;
  font-weight: 700;
  color: #fff;
}
.hero .hero-p {
  margin-top: 14px;
  font-size: 15.5px;
  color: rgba(255,255,255,.78);
  letter-spacing: 1px;
  line-height: 1.9;
}
.hero .ln {
  width: 56px; height: 3px; background: rgba(255,255,255,.8);
  margin-top: 24px; border-radius: 2px;
}
.hero-acts { display: flex; gap: 14px; margin-top: 28px; }
.hero-acts a {
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all .2s;
}
.hero-acts .b1 { background: #fff; color: var(--pri-dark); }
.hero-acts .b1:hover { background: var(--pri-light); transform: translateY(-2px); }
.hero-acts .b2 { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.hero-acts .b2:hover { background: rgba(255,255,255,.12); }

.hero-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 34px 26px;
  box-shadow: 0 24px 60px rgba(4,20,44,.35);
}
.hero-card .hch { display: flex; align-items: center; gap: 10px; }
.hero-card .hch svg { color: var(--pri); }
.hero-card .hch b { font-size: 20px; color: var(--navy); letter-spacing: 1.5px; }
.hero-card .hcp { font-size: 12.5px; color: var(--text-3); margin-top: 8px; line-height: 1.7; }
.hero-card form { display: flex; gap: 10px; margin-top: 18px; }
.hero-card input {
  flex: 1; height: 48px; min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.hero-card input:focus { border-color: var(--pri); box-shadow: 0 0 0 3px rgba(28,93,179,.1); outline: none; }
.hero-card button {
  width: 110px; height: 48px; flex: none;
  background: var(--pri);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  letter-spacing: 3px;
  cursor: pointer;
  transition: background .2s;
}
.hero-card button:hover { background: var(--pri-dark); }
.hero-card .hqtips {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px dashed var(--line-2);
  font-size: 12px; color: var(--text-3);
  line-height: 2;
}
.hero-card .hqtips a { color: var(--text-2); margin-right: 10px; }
.hero-card .hqtips a:hover { color: var(--pri); }

/* ---------- 通用区块 ---------- */
.section { padding: 26px 0; }
.section.gray { background: transparent; }

/* 内容卡片容器：两栏 / 三栏内的每个板块都是一张白卡 */
.col2 > div, .col3 > div {
  background: #fff;
  border-radius: 10px;
  padding: 24px 26px 18px;
  box-shadow: 0 2px 16px rgba(14,42,82,.06);
}

/* 栏目标题条 */
.blk-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 13px;
  margin-bottom: 16px;
  position: relative;
}
.blk-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 62px; height: 3px;
  background: var(--pri);
  border-radius: 2px;
}
.blk-title h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--navy);
  padding-left: 14px;
  position: relative;
}
.blk-title h3::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 17px;
  background: var(--pri);
}
.blk-title .more {
  font-size: 12.5px;
  color: var(--text-3);
  display: flex; align-items: center; gap: 3px;
}
.blk-title .more:hover { color: var(--pri); }

/* 资讯列表 */
.infolist li { border-bottom: 1px dashed var(--line-2); }
.infolist li:last-child { border-bottom: none; }
.infolist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 40px;
  font-size: 14px;
  color: var(--text-2);
}
.infolist a:hover { color: var(--pri); }
.infolist .tit {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
  padding-left: 12px;
}
.infolist .tit::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #c4c9d1;
  transform: translateY(-50%);
}
.infolist a:hover .tit::before { background: var(--pri); }
.infolist .time {
  flex: none;
  font-size: 12.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.infolist li.hot .tit { font-weight: 700; color: var(--navy); }
.infolist li.hot .tit::after {
  content: "置顶";
  display: inline-block;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  padding: 2px 4px;
  margin-left: 7px;
  color: #fff;
  background: var(--pri);
  border-radius: 2px;
  vertical-align: 2px;
}

/* 图文推荐 */
.picnews { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.picnews .item { display: block; }
.picnews .ph {
  height: 132px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 12px;
}
.picnews .ph span {
  position: relative; z-index: 2;
  color: #fff; font-size: 13.5px; font-weight: 600;
  line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.picnews .ph::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,43,70,.82) 0%, rgba(15,43,70,.1) 62%);
}
.picnews .item:hover .ph span { color: #dbe9fb; }
.picnews .ph.plain::after { display: none; }

/* ---------- 专题入口宫格 ---------- */
.entries {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.entry {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 26px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all .22s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(14,42,82,.05);
}
.entry::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 3px; height: 100%;
  background: var(--pri);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .22s;
}
.entry:hover {
  border-color: #cdddf3;
  box-shadow: 0 8px 24px rgba(15,43,70,.09);
  transform: translateY(-2px);
}
.entry:hover::before { transform: scaleY(1); }
.entry .ico {
  width: 50px; height: 50px; flex: none;
  border-radius: 50%;
  background: var(--pri-light);
  color: var(--pri);
  display: flex; align-items: center; justify-content: center;
  transition: all .22s;
}
.entry:hover .ico { background: var(--pri); color: #fff; }
.entry .tt b { display: block; font-size: 16px; color: var(--navy); letter-spacing: .5px; }
.entry .tt span { font-size: 12px; color: var(--text-3); letter-spacing: .3px; }

/* ---------- 两栏/三栏 ---------- */
.col2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.col3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
/* grid 子项默认 min-width:auto，长标题会把 1fr 撑爆导致整页横向溢出 */
.col2 > *, .col3 > * { min-width: 0; }

/* ---------- 通栏广告条 ---------- */
.adbar {
  height: 100px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  color: #fff;
  background: linear-gradient(100deg, #0e2a52 0%, #1c5db3 60%, #2f6fc4 100%);
  overflow: hidden;
  position: relative;
}
.adbar::before {
  content: "";
  position: absolute; right: -40px; top: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
}
.adbar::after {
  content: "";
  position: absolute; right: 90px; top: -20px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.adbar .l { position: relative; z-index: 2; }
.adbar .l b { font-size: 21px; letter-spacing: 1.5px; display: block; }
.adbar .l span { font-size: 13px; color: rgba(255,255,255,.72); letter-spacing: .5px; }
.adbar .btn {
  position: relative; z-index: 2;
  background: #fff;
  color: var(--pri);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 2px;
  letter-spacing: 1px;
  transition: all .2s;
  white-space: nowrap;
}
.adbar .btn:hover { background: var(--pri-light); transform: translateX(2px); }

/* ---------- 查询区 ---------- */
.qbox {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 34px 40px;
  box-shadow: 0 12px 40px rgba(14,42,82,.08);
}
.qbox .hd { text-align: center; margin-bottom: 24px; }
.qbox .hd h3 { font-size: 22px; color: var(--navy); letter-spacing: 1.5px; }
.qbox .hd p { font-size: 13px; color: var(--text-3); margin-top: 6px; letter-spacing: .5px; }
.qform { display: flex; gap: 10px; max-width: 760px; margin: 0 auto; }
.qform select {
  width: 150px; height: 48px;
  border: 1px solid var(--line);
  background: #fafbfc;
  padding: 0 14px;
  color: var(--text-2);
  border-radius: 2px;
  cursor: pointer;
}
.qform input {
  flex: 1;
  height: 48px;
  border: 1px solid var(--line);
  padding: 0 16px;
  border-radius: 2px;
}
.qform input:focus { border-color: #a8c6ec; }
.qform button {
  width: 118px; height: 48px;
  background: var(--pri);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-size: 15px;
  letter-spacing: 3px;
  cursor: pointer;
  transition: background .2s;
}
.qform button:hover { background: var(--pri-dark); }
.qtips {
  text-align: center;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-3);
}
.qtips a { color: var(--text-2); margin: 0 7px; }
.qtips a:hover { color: var(--pri); }

/* ---------- 友情链接 ---------- */
.links { padding: 26px 0; border-top: 1px solid var(--line); }
.links .lb {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 700; color: var(--navy);
  margin-bottom: 14px;
}
.links .lb::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.links .ls { display: flex; flex-wrap: wrap; gap: 8px 0; }
.links .ls a {
  font-size: 13px;
  color: var(--text-3);
  padding: 0 12px;
  border-right: 1px solid var(--line);
  line-height: 1.2;
}
.links .ls a:last-child { border-right: none; }
.links .ls a:hover { color: var(--pri); }

/* ---------- 页脚 ---------- */
.footer {
  background: linear-gradient(180deg, #0e2a52 0%, #0a1f3e 100%);
  color: rgba(255,255,255,.6);
  font-size: 13px;
  padding: 44px 0 28px;
}
.footer .cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer .f-logo {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.footer .f-logo .mark {
  width: 38px; height: 38px;
  border-radius: 4px;
  background: var(--pri);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.footer .f-logo b { font-size: 17px; color: #fff; letter-spacing: 1px; }
.footer .desc { line-height: 1.9; font-size: 12.5px; }
.footer h4 {
  font-size: 14px; color: #fff; font-weight: 700;
  margin-bottom: 16px; letter-spacing: .5px;
}
.footer .fl li { margin-bottom: 10px; }
.footer .fl a { color: rgba(255,255,255,.6); font-size: 13px; }
.footer .fl a:hover { color: #fff; }
.footer .contact li { margin-bottom: 12px; font-size: 13px; }
.footer .contact b { color: #fff; }
.footer .tel { font-size: 20px; color: #fff; font-weight: 700; letter-spacing: .5px; }
.footer .btm {
  text-align: center;
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(255,255,255,.42);
  line-height: 2;
}
.footer .btm a { color: rgba(255,255,255,.42); }
.footer .btm a:hover { color: #fff; }
.footer .btm .demo {
  display: inline-block;
  margin-top: 8px;
  font-size: 11.5px;
  color: rgba(255,255,255,.3);
  border: 1px solid rgba(255,255,255,.14);
  padding: 1px 10px;
  border-radius: 2px;
}

/* ==========================================================
   内页
   ========================================================== */
.nbanner {
  height: 130px;
  background:
    radial-gradient(circle at 90% 20%, rgba(125,177,242,.25) 0%, transparent 45%),
    linear-gradient(110deg, #0e2a52 0%, #163f7a 60%, #1c5db3 100%);
  position: relative;
  overflow: hidden;
}
.nbanner::before {
  content: "";
  position: absolute; right: 60px; top: -60px;
  width: 250px; height: 250px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
}
.nbanner::after {
  content: "";
  position: absolute; left: 36%; bottom: -168px;
  width: 210px; height: 210px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.nbanner .w1200 { height: 100%; display: flex; align-items: center; position: relative; z-index: 2; }
.nbanner h2 { color: #fff; font-size: 27px; letter-spacing: 2px; }
.nbanner .en {
  color: rgba(255,255,255,.42); font-size: 11.5px;
  letter-spacing: 2.4px; text-transform: uppercase; margin-top: 5px;
}

.crumb {
  height: 48px;
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--text-3);
  border-bottom: 1px solid var(--line-2);
}
.crumb a { color: var(--text-3); }
.crumb a:hover { color: var(--pri); }
.crumb i { color: #c4c9d1; font-style: normal; }

.inner { padding: 34px 0 60px; }
.layout { display: grid; grid-template-columns: 232px 1fr; gap: 38px; align-items: start; }
.layout.noside { grid-template-columns: 1fr; }
/* 同 col2/col3：grid 子项 min-width:auto 会让长标题把列撑出容器 */
.layout > * { min-width: 0; }

/* 通栏热线条（无二级栏目时替代侧栏） */
.hotline {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 26px; padding: 20px 28px;
  border: 1px solid var(--line); border-left: 3px solid var(--pri);
  background: #fff; border-radius: 3px;
}
.hotline .hl b { display: block; font-size: 15px; color: var(--navy); margin-bottom: 5px; }
.hotline .hl span { font-size: 12.5px; color: var(--text-3); }
.hotline .tel {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 700; color: var(--pri);
  font-variant-numeric: tabular-nums;
}
.hotline .tel em { font-style: normal; }

/* 自动发布标识 */
.artlist .tag.tauto, .alist .tag.tauto, .tag.tauto { background: #2c6392; color: #fff; }
.tag.tauto::before { content: "⚡ "; font-size: 10px; }

/* 自动发布管理页 */
.colcards { display: grid; gap: 14px; }
.acard {
  border: 1px solid var(--line); border-radius: 3px; background: #fff;
  padding: 22px 26px;
}
.acard .ach { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.acard .ach b { font-size: 16px; color: var(--navy); }
.acard .st { font-size: 12px; padding: 3px 10px; border-radius: 2px; }
.acard .st.on { background: #e8f4ec; color: #1e7e46; }
.acard .st.off { background: #f3f4f6; color: #98a0aa; }
.acard dl { display: grid; grid-template-columns: 92px 1fr; row-gap: 12px; font-size: 13.5px; }
.acard dt { color: var(--text-3); }
.acard dd { color: var(--text-1, #333); line-height: 1.8; }
.acard dd.muted, .acard .muted { color: var(--text-3); }
.acard dd i {
  display: inline-block; font-style: normal; font-size: 12px;
  background: #f5f6f8; border: 1px solid var(--line); border-radius: 2px;
  padding: 2px 8px; margin: 0 6px 4px 0; color: var(--text-2);
}
.acard code { background: #f5f6f8; padding: 1px 6px; border-radius: 2px; font-size: 12.5px; }
.alist { border: 1px solid var(--line); border-radius: 3px; background: #fff; overflow: hidden; }
.alist li { border-bottom: 1px solid var(--line-2, #eee); }
.alist li:last-child { border-bottom: none; }
.alist a { display: flex; justify-content: space-between; gap: 16px; padding: 11px 18px; font-size: 13px; align-items: center; }
.alist .tit { flex: 1; color: var(--text-1, #333); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alist .time { color: var(--text-3); font-size: 12px; flex: none; }

/* 侧栏 */
.side { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: #fff; }
.side .sh {
  height: 54px;
  background: linear-gradient(100deg, var(--navy) 0%, #1d4a74 100%);
  color: #fff;
  display: flex; align-items: center;
  padding: 0 20px;
  font-size: 16px; font-weight: 700; letter-spacing: 1.5px;
}
.side li a {
  display: block;
  height: 46px; line-height: 46px;
  padding: 0 20px 0 30px;
  font-size: 14px;
  color: var(--text-2);
  border-bottom: 1px solid var(--line-2);
  position: relative;
}
.side li:last-child a { border-bottom: none; }
.side li a::before {
  content: "";
  position: absolute; left: 16px; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #c4c9d1;
  transform: translateY(-50%);
}
.side li a:hover { background: #fafbfc; color: var(--pri); }
.side li.on a {
  background: var(--pri-light);
  color: var(--pri);
  font-weight: 700;
  border-left: 3px solid var(--pri);
  padding-left: 27px;
}
.side li.on a::before { background: var(--pri); }

.sbox {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 20px;
  background: linear-gradient(160deg, #fafcff 0%, #fff 100%);
  text-align: center;
}
.side .sbox b, .sbox b { display: block; font-size: 14px; color: var(--navy); }
.side .sbox .t, .sbox .t { font-size: 19px; color: var(--pri); font-weight: 700; margin: 8px 0 4px; letter-spacing: .5px; }
.side .sbox span, .sbox span { font-size: 12px; color: var(--text-3); }

/* 列表页 */
.ptitle {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 12px; margin-bottom: 4px;
}
.ptitle h3 { font-size: 19px; color: var(--navy); letter-spacing: 1px; }
.ptitle .cnt { font-size: 12.5px; color: var(--text-3); }

.artlist li { border-bottom: 1px dashed var(--line-2); }
.artlist a {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 18px 4px;
  transition: background .18s;
}
.artlist a:hover { background: #fafbfc; }
.artlist .dt {
  flex: none; width: 74px; text-align: center;
  border-right: 1px solid var(--line-2);
  padding-right: 14px;
}
.artlist .dt b { display: block; font-size: 22px; color: var(--navy); line-height: 1.2; font-variant-numeric: tabular-nums; }
.artlist .dt span { font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
.artlist .ct { flex: 1; min-width: 0; }
.artlist .ct h4 {
  font-size: 15.5px; color: var(--text); font-weight: 400;
  margin-bottom: 6px; line-height: 1.55;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.artlist a:hover .ct h4 { color: var(--pri); }
.artlist .ct p {
  font-size: 13px; color: var(--text-3);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.6;
}
.artlist .tag {
  display: inline-block;
  font-size: 11px;
  color: var(--pri);
  background: var(--pri-light);
  padding: 1px 7px;
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: 1px;
}

/* 分页 */
.pager { display: flex; justify-content: center; gap: 7px; margin-top: 34px; }
.pager a, .pager span {
  min-width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-2);
  border-radius: 2px;
  padding: 0 11px;
}
.pager a:hover { border-color: var(--pri); color: var(--pri); }
.pager .on { background: var(--pri); border-color: var(--pri); color: #fff; }

/* 详情页 */
.article { max-width: 100%; }
.article .ah { text-align: center; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); margin-bottom: 26px; }
.article .ah h1 {
  font-size: 25px; line-height: 1.6; color: var(--navy);
  letter-spacing: .5px; font-weight: 700;
}
.article .am {
  margin-top: 14px;
  font-size: 12.5px; color: var(--text-3);
  display: flex; justify-content: center; gap: 22px;
}
.article .ab { font-size: 15px; line-height: 2; color: #333940; }
.article .ab p { margin-bottom: 18px; text-indent: 2em; }
.article .ab h3 {
  font-size: 17px; color: var(--navy);
  margin: 26px 0 14px; padding-left: 11px;
  border-left: 3px solid var(--pri);
  text-indent: 0; font-weight: 700;
}
.article .ab ul { margin: 0 0 18px 26px; }
.article .ab li { list-style: disc; margin-bottom: 8px; color: #333940; }
.article .ab .quote {
  background: #fafbfc;
  border-left: 3px solid var(--pri);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 18px;
  text-indent: 0;
}
.article .apn {
  display: flex; justify-content: space-between; gap: 30px;
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--line-2);
  font-size: 13.5px; color: var(--text-2);
}
.article .apn a { color: var(--text-2); max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article .apn a:hover { color: var(--pri); }

/* ==========================================================
   查询结果
   ========================================================== */
.qresult { max-width: 960px; margin: 0 auto; }
.cert {
  background: #fff;
  border: 1px solid #e3d9d9;
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 12px 44px rgba(15,43,70,.09);
  position: relative;
}
.cert::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pri) 0%, #5b8fd9 50%, var(--navy) 100%);
}
.cert .ch {
  padding: 30px 40px 22px;
  border-bottom: 1px solid var(--line-2);
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 30px;
}
.cert .ch h2 { font-size: 21px; color: var(--navy); letter-spacing: 1px; line-height: 1.5; }
.cert .ch .sub { font-size: 13px; color: var(--text-3); margin-top: 7px; }
.cert .stamp {
  flex: none;
  width: 92px; height: 92px;
  border: 2px solid var(--pri);
  border-radius: 50%;
  color: var(--pri);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transform: rotate(-11deg);
  opacity: .82;
  text-align: center;
}
.cert .stamp b { font-size: 12px; letter-spacing: 1px; line-height: 1.35; }
.cert .stamp span { font-size: 10px; margin-top: 3px; letter-spacing: .5px; }

.cert .cbody { display: grid; grid-template-columns: 1fr; gap: 0; padding: 26px 38px 32px; }
.cert dl { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0; }
.cert dt {
  padding: 11px 0;
  font-size: 13.5px;
  color: var(--text-3);
  border-bottom: 1px dashed var(--line-2);
  white-space: nowrap;
}
.cert dd {
  padding: 11px 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text);
  border-bottom: 1px dashed var(--line-2);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.cert dd b { font-size: 15px; color: var(--pri); letter-spacing: .5px; }
.cert .qr { text-align: center; }
.cert .qr .box {
  width: 152px; height: 152px;
  border: 1px solid var(--line);
  padding: 8px;
  background: #fff;
  margin-bottom: 8px;
}
.cert .qr .box svg { width: 100%; height: 100%; display: block; }
.cert .qr span { font-size: 11.5px; color: var(--text-3); line-height: 1.6; display: block; }

.cert .cfoot {
  background: #fafbfc;
  border-top: 1px solid var(--line-2);
  padding: 14px 40px;
  font-size: 12px;
  color: var(--text-3);
  display: flex; justify-content: space-between; gap: 20px;
}

/* 窄屏：字段改为「标签在上、内容在下」，长证书名称独占整行 */
@media (max-width: 620px) {
  .cert .ch { padding: 22px 20px 16px; gap: 14px; }
  .cert .ch h2 { font-size: 18px; letter-spacing: .5px; line-height: 1.45; }
  .cert .ch .sub { font-size: 12px; margin-top: 6px; }
  .cert .stamp { width: 70px; height: 70px; }
  .cert .stamp b { font-size: 10.5px; letter-spacing: .5px; }
  .cert .stamp span { font-size: 9px; }
  .cert .cbody { padding: 6px 20px 18px; }
  .cert dl { grid-template-columns: 1fr; }
  .cert dt {
    padding: 12px 0 0;
    border-bottom: 0;
    font-size: 12px;
    letter-spacing: .3px;
  }
  .cert dd {
    padding: 3px 0 12px;
    font-size: 14px;
    line-height: 1.65;
  }
  .cert .cfoot { padding: 12px 20px; flex-direction: column; gap: 6px; }
}

/* 无记录 */
.empty {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 56px 40px 48px;
  text-align: center;
}
.empty .ico {
  width: 76px; height: 76px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #f7f8fa;
  display: flex; align-items: center; justify-content: center;
  color: #b9bfc8;
}
.empty h3 { font-size: 19px; color: var(--navy); letter-spacing: .5px; }
.empty p { font-size: 13.5px; color: var(--text-3); margin-top: 10px; }
.empty .kw { color: var(--pri); font-weight: 700; }
.empty .cta {
  margin-top: 26px;
  display: inline-flex; gap: 12px;
}
.empty .cta a {
  padding: 11px 28px;
  border-radius: 2px;
  font-size: 14px;
  letter-spacing: 1px;
}
.empty .cta .p {
  background: var(--pri);
  color: #fff;
  font-weight: 700;
}
.empty .cta .p:hover { background: var(--pri-dark); }
.empty .cta .s {
  border: 1px solid var(--line);
  color: var(--text-2);
}
.empty .cta .s:hover { border-color: var(--pri); color: var(--pri); }
.empty .hint {
  margin-top: 30px; padding-top: 24px;
  border-top: 1px dashed var(--line-2);
  font-size: 12.5px; color: var(--text-3);
}
.empty .hint a { color: var(--text-2); margin: 0 6px; }
.empty .hint a:hover { color: var(--pri); }

/* 面包屑返回 */
.backline { display: flex; justify-content: center; margin-top: 26px; }
.backline a { font-size: 13px; color: var(--text-3); }
.backline a:hover { color: var(--pri); }

/* 关于我们 */
.about-hero { display: grid; grid-template-columns: 1fr 1.35fr; gap: 44px; align-items: center; }
.about-hero .visual {
  height: 300px;
  border-radius: 4px;
  background: linear-gradient(135deg, #0f2b46 0%, #1d4f7c 60%, #2f6ea8 100%);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.about-hero .visual::before {
  content: "";
  position: absolute; left: -60px; bottom: -90px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.about-hero .visual::after {
  content: "";
  position: absolute; right: -30px; top: -50px;
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
}
.about-hero .visual b {
  position: relative; z-index: 2;
  color: #fff; font-size: 26px; letter-spacing: 5px;
  font-weight: 700;
}
.about-hero h2 { font-size: 25px; color: var(--navy); letter-spacing: 1px; margin-bottom: 16px; }
.about-hero p { font-size: 14.5px; color: var(--text-2); line-height: 2; margin-bottom: 12px; }


/* 流程 */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-top: 12px; }
.flow .fi {
  text-align: center;
  padding: 24px 12px;
  position: relative;
}
.flow .fi::after {
  content: "";
  position: absolute;
  right: -6px; top: 44px;
  width: 12px; height: 12px;
  border-top: 1px solid #d8dce2;
  border-right: 1px solid #d8dce2;
  transform: rotate(45deg);
}
.flow .fi:last-child::after { display: none; }
.flow .n {
  width: 40px; height: 40px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #cdddf3;
  color: var(--pri);
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.flow b { display: block; font-size: 14px; color: var(--navy); margin-bottom: 5px; }
.flow span { font-size: 12px; color: var(--text-3); line-height: 1.6; display: block; }

/* 联系方式 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ccard { border: 1px solid var(--line); border-radius: 4px; padding: 26px; background: #fff; }
.ccard .ico { width: 42px; height: 42px; border-radius: 4px; background: var(--pri-light); color: var(--pri); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.ccard b { display: block; font-size: 15px; color: var(--navy); margin-bottom: 8px; }
.ccard p { font-size: 13.5px; color: var(--text-2); line-height: 1.9; }

/* ---------- 证书查询栏目页 ---------- */
.ctypes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; align-items: stretch; }
.ctypes.c3 { grid-template-columns: repeat(3, 1fr); }
.ctype { height: 100%; }
.ctype {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px 20px;
  background: #fff;
  transition: all .22s;
  display: block;
}
.ctype:hover { border-color: #cdddf3; box-shadow: 0 8px 22px rgba(15,43,70,.08); transform: translateY(-2px); }
.ctype.on { border-color: var(--pri); box-shadow: 0 8px 22px rgba(28,93,179,.14); }
.ctype.on::after { content: "当前选择"; display: inline-block; margin-top: 8px; font-size: 11.5px; color: #fff; background: var(--pri); padding: 2px 8px; border-radius: 2px; }
.ctype .ico {
  width: 42px; height: 42px; border-radius: 4px;
  background: var(--pri-light); color: var(--pri);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.ctype b { display: block; font-size: 15.5px; color: var(--navy); margin-bottom: 6px; }
.ctype p { font-size: 12.5px; color: var(--text-3); line-height: 1.7; }
.ctype .cnt { font-size: 12px; color: var(--pri); margin-top: 10px; display: block; }

.notice {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fafbfc;
  padding: 26px 30px;
  margin-top: 26px;
}
.notice h4 { font-size: 15px; color: var(--navy); margin-bottom: 14px; padding-left: 10px; border-left: 3px solid var(--pri); }
.notice ol { margin-left: 20px; }
.notice li { font-size: 13.5px; color: var(--text-2); line-height: 1.9; list-style: decimal; }

/* 空状态 */
.noresult { padding: 60px 0; text-align: center; color: var(--text-3); font-size: 14px; }

/* ---------- 入场动画 ---------- */
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式降级 ---------- */
@media (max-width: 1240px) {
  .w1200, .nbanner .w1200 { width: 96%; }
  .section { padding: 34px 0; }
  .col2, .col3 { gap: 26px; }
}
@media (max-width: 900px) {
  .header .w1200 { height: auto; flex-direction: column; gap: 16px; padding: 18px 0; }
  .search { width: 100%; }
  .search input { flex: 1; width: auto; }
  .nav ul { overflow-x: auto; }
  .nav li > a { padding: 0 15px; font-size: 14px; white-space: nowrap; }
  .entries, .col2, .col3, .cards { grid-template-columns: 1fr 1fr; }
  .ctypes, .ctypes.c3 { grid-template-columns: 1fr 1fr; }
  .layout { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; }
  .hero h2 { font-size: 28px; }
  .hero-acts a { padding: 11px 22px; }
  .flow { grid-template-columns: 1fr 1fr 1fr; }
  .flow .fi::after { display: none; }
  .about-hero, .cert .cbody, .footer .cols { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .adbar { height: auto; padding: 22px; flex-direction: column; gap: 14px; text-align: center; }
}
@media (max-width: 620px) {
  /* 顶部信息条：只留服务热线并居中，避免文字挤压重叠 */
  .topbar { height: auto; padding: 7px 0; }
  .topbar .w1200 { height: auto; flex-direction: column; gap: 3px; justify-content: center; }
  .topbar .tl { display: none; }
  .topbar .tr { gap: 0; font-size: 11.5px; }
  .topbar .tr .sep, .topbar .tr > span:last-child { display: none; }
  /* 主导航：6 项换两行三等分，不再横向截断 */
  .nav ul { flex-wrap: wrap; overflow-x: visible; }
  .nav li { flex: 0 0 33.3333%; }
  .nav li > a {
    height: 42px; line-height: 42px; padding: 0 4px;
    font-size: 13.5px; letter-spacing: 0; text-align: center;
  }
  .nav li > a::after { bottom: -2px; height: 2px; }
  .logo .txt .n { font-size: 19px; letter-spacing: .5px; }
  .logo .txt .e { display: none; }
  .hero-grid { padding: 30px 0; min-height: 0; }
  .hero h2 { font-size: 23px; }
  .hero .hero-p { font-size: 13.5px; }
  .hero-card { padding: 22px 18px 20px; }
  .hero-card form { flex-direction: column; }
  .hero-card button { width: 100%; }
  .entries, .col2, .col3, .cards, .flow { grid-template-columns: 1fr; }
  .ctypes, .ctypes.c3 { grid-template-columns: 1fr; }
  .qform { flex-direction: column; }
  .qform select, .qform button { width: 100%; }
  .artlist a { flex-direction: column; gap: 6px; align-items: stretch; }
  .artlist .ct { width: 100%; min-width: 0; }
  .artlist .dt { border-right: none; display: flex; align-items: baseline; gap: 8px; width: auto; }
  .artlist .dt b { font-size: 15px; }
}

/* ================= 后台管理控件 ================= */
.alogin { display: flex; justify-content: center; padding: 60px 0 20px; }
.alogin .alcard { width: 380px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 34px 36px 26px; }
.alerr { color: var(--pri); font-size: 13px; margin: 0 0 12px; }
.ainput {
  width: 100%; padding: 9px 12px; font-size: 13.5px; color: var(--text);
  border: 1px solid var(--line-2); border-radius: 4px; outline: none;
  background: #fff; box-sizing: border-box; font-family: inherit;
}
.ainput:focus { border-color: var(--pri); }
.ainput.sm { width: 96px; padding: 6px 10px; display: inline-block; }
textarea.ainput { resize: vertical; line-height: 1.6; font-size: 12.5px; }
.acard dl input.ainput, .acard dl textarea.ainput { margin: 2px 0; }
.abtns { margin-top: 16px; display: flex; gap: 12px; }
.abtn {
  padding: 9px 22px; font-size: 13.5px; font-weight: 700; cursor: pointer;
  color: #fff; background: var(--pri); border: none; border-radius: 4px;
  transition: opacity .2s;
}
.abtn:hover { opacity: .88; }
.abtn:disabled { opacity: .5; cursor: default; }
.abtn.warn { background: #0f2b46; }
.abtn.full { width: 100%; margin-top: 14px; }
.switch { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); cursor: pointer; user-select: none; }
.switch input { display: none; }
.switch span {
  width: 34px; height: 18px; border-radius: 9px; background: #c9cfd6;
  position: relative; transition: background .2s; flex: none;
}
.switch span::after {
  content: ""; position: absolute; left: 2px; top: 2px;
  width: 14px; height: 14px; border-radius: 50%; background: #fff;
  transition: transform .2s;
}
.switch input:checked + span { background: var(--pri); }
.switch input:checked + span::after { transform: translateX(16px); }
.loglist { list-style: none; margin: 0; padding: 4px 0; max-height: 420px; overflow: auto; }
.loglist li { padding: 8px 18px; font-size: 12.8px; color: var(--text-2); line-height: 1.7; border-bottom: 1px dashed var(--line-2); }
.loglist li:last-child { border-bottom: none; }
.loglist li .lt { color: var(--text-3); margin-right: 10px; font-variant-numeric: tabular-nums; }
.loglist li.warn { color: #b06a00; }
.acard.ok { border-color: #bfe3cd; background: #f4fbf6; }
.acard .alist { margin: 0; padding: 0; list-style: none; }
.acard .alist li { display: flex; align-items: center; border-bottom: 1px dashed var(--line-2); }
.acard .alist li:last-child { border-bottom: none; }
.acard .alist li > a { flex: 1; min-width: 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 9px 0 9px 18px; }
.acard .alist .tit { font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acard .alist .time { font-size: 12px; color: var(--text-3); flex: none; }
.adel {
  flex: none; width: 26px; height: 26px; margin-right: 12px; border: 1px solid var(--line-2);
  border-radius: 50%; background: #fff; color: var(--text-3); font-size: 15px; line-height: 1;
  cursor: pointer; transition: all .2s;
}
.adel:hover { color: #fff; background: var(--pri); border-color: var(--pri); }
.ptitle .ainput.sm { vertical-align: middle; }

/* ==========================================================
   后台 · 当前登录条 / 账号管理
   ========================================================== */
.awho {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--pri);
  border-radius: 3px; padding: 12px 18px; margin-bottom: 18px;
}
.awho-l { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); flex-wrap: wrap; }
.awho-l b { color: var(--navy); font-size: 14.5px; }
.awho-dot { width: 7px; height: 7px; border-radius: 50%; background: #1e7e46; box-shadow: 0 0 0 3px rgba(30,126,70,.12); flex: none; }
.awho-acc { color: var(--text-3); font-size: 12px; }
.awho-acc::before { content: "账号 "; }
.awho-r { display: flex; gap: 8px; }

.utag {
  font-style: normal; font-size: 11px; line-height: 1.7; padding: 0 7px;
  border-radius: 2px; background: #eef1f5; color: #5a6673; white-space: nowrap;
}
.utag.super { background: #fdecef; color: #b3243b; }
.utag.me { background: #e8f4ec; color: #1e7e46; }
.utag.off { background: #f3f4f6; color: #8d949e; }

.uitem { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 18px; width: 100%; }
.umain { flex: 1; min-width: 0; }
.utop { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.utop b { font-size: 13.5px; color: var(--text-1, #333); font-weight: 700; }
.usub { font-size: 12px; color: var(--text-3); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ubtns { display: flex; gap: 8px; flex: none; }
.minibtn {
  border: 1px solid var(--line-2); background: #fff; color: var(--text-2);
  font-size: 12px; padding: 4px 12px; border-radius: 2px; cursor: pointer; transition: all .18s;
  font-family: inherit;
}
.minibtn:hover { border-color: var(--navy); color: var(--navy); }
.minibtn.danger:hover { border-color: var(--pri); color: var(--pri); }
.minibtn:disabled { opacity: .5; cursor: default; }

@media (max-width: 620px) {
  .awho { padding: 10px 12px; }
  .uitem { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 14px; }
  .ubtns { width: 100%; }
  .minibtn { flex: 1; }
}

/* ==========================================================
   页脚管理员登录入口 + 登录弹层
   ========================================================== */
.footer .btm .demo,
.footer .btm .fentry {
  display: inline-block;
  margin-top: 10px;
  padding: 2px 10px;
  line-height: 1.7;
  font-size: 11.5px;
  border-radius: 2px;
  vertical-align: top;
}
.footer .btm .demo { color: rgba(255,255,255,.3); border: 1px solid rgba(255,255,255,.14); }
.footer .btm .fentry { border: 1px solid rgba(255,255,255,.24); margin-left: 8px; }
.footer .btm .fentry a,
.footer .btm .fentry .flink {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; line-height: inherit;
  color: rgba(255,255,255,.55);
}
.footer .btm .fentry a.lg,
.footer .btm .fentry .flink.lg { color: #fff; font-weight: 700; letter-spacing: .3px; }
.footer .btm .fentry a:hover,
.footer .btm .fentry .flink:hover { color: #fff; }
.footer .btm .fentry i { font-style: normal; margin: 0 7px; color: rgba(255,255,255,.22); }

body.lg-open { overflow: hidden; }
#lgmask {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(6,18,32,.58);
  animation: lgFade .18s ease;
}
@keyframes lgFade { from { opacity: 0; } to { opacity: 1; } }
#lgmask .lgbox {
  width: 100%; max-width: 402px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 26px 70px rgba(3,14,26,.34);
  overflow: hidden;
  animation: lgUp .22s cubic-bezier(.2,.8,.3,1);
}
@keyframes lgUp { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
#lgmask .lgh {
  position: relative;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 22px 46px 18px 24px;
  background: linear-gradient(135deg, #0f2b46, #1d4f7c);
  color: #fff;
}
#lgmask .lgh .mark {
  flex: 0 0 40px; width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.14);
  border-radius: 5px;
}
#lgmask .lgh .mark svg { width: 22px; height: 22px; }
#lgmask .lgh h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; letter-spacing: .5px; }
#lgmask .lgh p { margin: 0; font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.75); }
#lgmask .lgx {
  position: absolute; right: 12px; top: 10px;
  width: 28px; height: 28px; line-height: 26px; text-align: center;
  font-size: 20px; color: rgba(255,255,255,.65); text-decoration: none;
  border: 0; background: none; padding: 0; cursor: pointer;
  border-radius: 3px;
}
#lgmask .lgx:hover { color: #fff; background: rgba(255,255,255,.12); }
#lgmask form { padding: 22px 24px 4px; }
#lgmask label { display: block; margin: 0 0 7px; font-size: 12.5px; color: var(--text-2); }
#lgmask input {
  width: 100%; height: 42px;
  padding: 0 12px; margin-bottom: 15px;
  border: 1px solid var(--line-2); border-radius: 3px;
  font-size: 14px; color: var(--text); background: #fbfcfd;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
#lgmask input:focus { border-color: var(--pri); background: #fff; box-shadow: 0 0 0 3px rgba(28,93,179,.08); }
#lgmask .lgerr { min-height: 17px; margin: -6px 0 8px; font-size: 12.5px; color: var(--pri); }
#lgmask button {
  width: 100%; height: 44px; border: 0; border-radius: 3px;
  background: var(--pri); color: #fff;
  font-size: 15px; letter-spacing: 3px; cursor: pointer;
  transition: background .2s;
}
#lgmask button:hover { background: var(--pri-dark); }
#lgmask button:disabled { background: #d8a4ac; cursor: default; letter-spacing: 1px; }
#lgmask .lgf {
  margin-top: 14px; padding: 14px 24px 18px;
  border-top: 1px solid var(--line);
  font-size: 11.5px; line-height: 1.75; color: var(--text-3);
}
@media (max-width: 620px) {
  .footer .btm .fentry { margin-left: 0; }
  #lgmask { padding: 14px; }
  #lgmask .lgh { padding: 18px 44px 15px 18px; }
  #lgmask form { padding: 18px 18px 2px; }
  #lgmask .lgf { padding: 12px 18px 16px; }
}

/* ==========================================================
   后台管理控制台（侧边栏 + 视图区）
   ========================================================== */
.adm { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 20px; align-items: start; padding-bottom: 10px; }

/* 侧边栏 */
.adm-side {
  position: sticky; top: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; box-shadow: 0 8px 26px rgba(15,43,70,.05);
}
.adm-brand { padding: 18px 20px 14px; border-bottom: 1px solid var(--line-2); }
.adm-brand b { display: block; font-size: 15.5px; color: var(--navy); letter-spacing: 1px; }
.adm-brand span { font-size: 10.5px; color: var(--text-3); letter-spacing: 1.6px; }
.adm-user { display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: #fafbfc; border-bottom: 1px solid var(--line-2); }
.adm-user .au-ava {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--navy), #2c6392); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
}
.adm-user .au-info { min-width: 0; }
.adm-user .au-info b { display: block; font-size: 13.5px; color: var(--navy); line-height: 1.4; }
.adm-user .au-info span { display: block; font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-nav { padding: 8px 0; }
.adm-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px; font-size: 13.5px; color: var(--text-2);
  border-left: 3px solid transparent; transition: all .18s;
}
.adm-nav a svg { flex: none; opacity: .72; }
.adm-nav a:hover { background: #fafbfc; color: var(--navy); }
.adm-nav a.on { background: var(--pri-light); color: var(--pri); border-left-color: var(--pri); font-weight: 700; }
.adm-nav a.on svg { opacity: 1; }
.adm-side-foot { padding: 12px 16px 16px; border-top: 1px solid var(--line-2); display: flex; gap: 8px; }
.adm-side-foot .minibtn { flex: 1; text-align: center; }

/* 视图区 */
.adm-body { min-width: 0; text-align: left; }
.adm-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding-bottom: 14px; margin-bottom: 18px; border-bottom: 2px solid var(--navy);
}
.adm-head h1 { font-size: 22px; color: var(--navy); letter-spacing: 1px; line-height: 1.3; }
.adm-head p { font-size: 12.5px; color: var(--text-3); margin-top: 3px; }
.adm-actions { display: flex; gap: 10px; flex: none; align-items: center; }

/* 指标卡 */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 18px 20px 16px; position: relative; overflow: hidden;
}
.stat::after { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--navy); opacity: .18; }
.stat span { display: block; font-size: 12.5px; color: var(--text-3); }
.stat b { display: block; margin-top: 6px; font-size: 27px; line-height: 1.2; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat b i { font-size: 12px; font-style: normal; color: var(--text-3); margin-left: 4px; font-weight: 400; }
.stat.ok::after { background: #0a8f4d; opacity: .55; }
.stat.ok b { color: #0a8f4d; }
.stat.hl::after { background: var(--pri); opacity: .7; }
.stat.hl b { color: var(--pri); }
.stat.warn::after { background: #c8811a; opacity: .6; }
.stat.warn b { color: #a86a12; }

/* 可点击筛选的指标卡 */
.stat.click {
  display: block; width: 100%; text-align: left; font: inherit;
  cursor: pointer; transition: border-color .18s, box-shadow .18s, transform .12s;
}
.stat.click:hover { border-color: #c3d0de; box-shadow: 0 8px 20px rgba(15,43,70,.08); }
.stat.click:active { transform: translateY(1px); }
.stat.click.on { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(15,43,70,.08); }
.stat.click.on::before {
  content: "筛选中"; position: absolute; right: 10px; top: 10px;
  font-size: 10.5px; line-height: 1.7; padding: 0 6px;
  color: var(--navy); background: #eef3f9; border-radius: 8px;
}
/* 当前筛选标签 */
.fchip {
  display: inline-block; margin-right: 8px; padding: 2px 10px;
  background: #eef3f9; color: #2c6392; border-radius: 10px; font-size: 12px;
}
.fchip a { color: #b02a1f; text-decoration: underline; }

/* 面板 */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 20px 22px; }
.panel.no-pad { padding: 0; overflow: hidden; }
.panel.tip {
  background: #f8fafc; border-color: #dfe6ee; color: var(--text-2);
  font-size: 13px; line-height: 1.9;
}
.panel.tip b { color: var(--navy); }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-h b { font-size: 15.5px; color: var(--navy); }
.panel-h > span { font-size: 12.5px; color: var(--text-3); }
.panel-h .ph-tools { display: flex; gap: 10px; align-items: center; }
.panel-h .more { font-size: 12.5px; color: var(--text-3); }
.panel-h .more:hover { color: var(--pri); }

/* 表单栅格 */
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.fgrid.one { grid-template-columns: 1fr; }
.fitem { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fitem > span { font-size: 12.5px; color: var(--text-3); }
.fitem.wide { grid-column: 1 / -1; }
.fitem .fv { font-size: 13.5px; color: var(--text); font-weight: 600; }
.finline { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.fhint { font-size: 12px; color: var(--text-3); line-height: 1.8; margin: 10px 0 0; }
.fhint a { color: var(--pri); text-decoration: underline; margin-left: 6px; }
.fhint a.q { color: var(--text-2); margin-left: 12px; }
.fsw { display: flex; align-items: center; height: 38px; }

/* 栏目标题卡 */
.colcards { display: grid; gap: 16px; }
.colcard { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 18px 22px 16px; }
.colcard:hover { border-color: #dfe4ea; box-shadow: 0 8px 24px rgba(15,43,70,.05); }
.cc-h { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px dashed var(--line); }
.cc-t { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cc-t b { font-size: 15.5px; color: var(--navy); }
.cc-id { font-size: 11.5px; color: var(--text-3); font-family: Consolas, Menlo, monospace; }
.cc-tools { display: flex; gap: 6px; flex: none; }
.cc-foot { display: flex; gap: 10px; margin-top: 16px; }

/* 内联表单（证书 / 账号） */
.inlineform { border: 1px solid #dfe6ee; background: #fbfcfe; border-radius: 6px; padding: 18px 20px 16px; margin-bottom: 18px; }
.inlineform.dead { border-color: #f0d9d4; background: #fdf8f6; }
.if-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.if-h b { font-size: 14.5px; color: var(--navy); }

/* 证书预设：类型卡片 + 名称多行编辑 */
.preset-list { display: grid; gap: 14px; padding: 4px 0 2px; }
.preset { border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 14px 16px 16px; }
.preset-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.preset-h .ainput { flex: 1; min-width: 0; font-weight: 600; }
.preset-n { flex: none; font-size: 12px; color: var(--text-3); white-space: nowrap; }
.preset-ta { width: 100%; min-height: 96px; resize: vertical; line-height: 1.9; font-size: 13px; font-family: inherit; overflow-y: auto; }
.preset-tip { font-size: 12.5px; color: #0a8f4d; margin-left: 10px; }
@media (max-width: 620px) {
  .preset-h { flex-wrap: wrap; gap: 8px; }
  .preset-h .ainput { flex: 1 0 100%; }
  .preset-h .minibtn { flex: none; }
  .preset-n { margin-left: 0; margin-right: auto; }
  .preset-ta { font-size: 12.5px; line-height: 1.8; min-height: 88px; }
}

/* 数据表 */
.dtable { width: 100%; border-collapse: collapse; }
.dtable th {
  text-align: left; font-weight: 600; font-size: 12.5px; color: var(--text-3);
  background: #fafbfc; padding: 11px 16px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.dtable td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); font-size: 13px; vertical-align: middle; }
.dtable tbody tr:last-child td { border-bottom: none; }
.dtable tbody tr:hover td { background: #fafbfc; }
.dtable .dtitle { color: var(--text); display: inline-block; line-height: 1.6; }
.dtable .dtitle:hover { color: var(--pri); }
.dtable .dnum { color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 12.5px; }
.dtable .ddead { color: #b02a1f; font-weight: 700; }
.dtable .dcell b { display: block; font-size: 13px; color: var(--text); font-weight: 600; }
.dtable .dcell span { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; }
.dtable .dops { display: flex; gap: 6px; flex-wrap: wrap; }
.dtable .dcell .bdg { margin-left: 8px; }

/* 徽标 */
.bdg {
  display: inline-block; padding: 2px 9px; border-radius: 10px;
  font-size: 11.5px; font-style: normal; line-height: 1.7; white-space: nowrap;
}
.bdg.on { background: #e8f6ee; color: #0a7f45; }
.bdg.off { background: #fdecea; color: #b02a1f; }
.bdg.warn { background: #fdf4e3; color: #a86a12; }
.bdg.me { background: #eef3f9; color: #2c6392; margin-left: 8px; }
/* 证书类型标签（后台证书库） */
.bdg.dg { background: #f2eef8; color: #5b3f9e; padding: 1px 8px; margin-right: 2px; }

.view-foot { font-size: 12px; color: var(--text-3); margin: 10px 2px 0; line-height: 1.8; }
.runres { font-size: 13px; }
.runres .rr-h { font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.runres.ok .rr-h { color: #0a7f45; }
.runres .loglist li.warn { color: #a86a12; }

/* 后台小按钮 */
.minibtn {
  padding: 5px 12px; font-size: 12.5px; color: var(--text-2);
  background: #fff; border: 1px solid var(--line); border-radius: 3px;
  cursor: pointer; transition: all .18s; font-family: inherit;
}
.minibtn:hover { color: var(--navy); border-color: #c9d2dc; background: #fafbfc; }
.minibtn.danger:hover { color: #fff; background: var(--pri); border-color: var(--pri); }
.minibtn:disabled { opacity: .45; cursor: default; }
.abtn.ghost { background: #fff; color: var(--text-2); border: 1px solid var(--line); }
.abtn.ghost:hover { color: var(--navy); border-color: #c9d2dc; background: #fafbfc; }
.abtn:disabled { opacity: .6; cursor: default; }

@media (max-width: 1024px) {
  .adm { grid-template-columns: 1fr; }
  .adm-side { position: static; }
  .adm-nav { display: flex; overflow-x: auto; padding: 6px 8px; }
  .adm-nav a { border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; padding: 9px 14px; }
  .adm-nav a.on { border-left: none; border-bottom-color: var(--pri); }
  .adm-side-foot { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .dtable th, .dtable td { padding: 10px 12px; }
}
@media (max-width: 620px) {
  .adm-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .adm-head h1 { font-size: 19px; }
  .adm-actions { width: 100%; }
  .adm-actions .abtn { flex: 1; padding: 9px 12px; font-size: 13px; }
  .stats { gap: 10px; }
  .stat { padding: 14px 14px 12px; }
  .stat b { font-size: 22px; }
  .panel { padding: 16px 14px; }
  .colcard { padding: 16px 14px; }
  .cc-h { flex-wrap: wrap; }
  .dtable { display: block; overflow-x: auto; white-space: nowrap; }
}

/* 控制台细节修正 */
.panel-h .ph-tools { flex: 1; justify-content: flex-end; }
.panel-h .ph-tools .ainput { width: 300px; max-width: 100%; }
.minibtn { white-space: nowrap; }
.dtable .dops { flex-wrap: nowrap; }
.dtable .dops .minibtn { padding: 4px 10px; }
.dtable th:last-child { white-space: nowrap; }
.colcard textarea.ainput { font-size: 12.5px; line-height: 1.7; }
@media (max-width: 620px) {
  .panel-h .ph-tools { width: 100%; }
  .panel-h .ph-tools .ainput { width: 100%; }
}
.dtable .dcode { font-family: Consolas, Menlo, monospace; font-size: 11.5px; letter-spacing: .2px; }
.dtable .dcell .dtitle { display: inline; }
