/* ===== 北京埃尔维质量认证中心有限公司官网 全局样式 ===== */

/* ===== 网页字体（两级回退，2026-09-29 起） =====
   思源黑体（Noto Sans SC）/ 思源宋体（Noto Serif SC），均为可变字体（字重 100–900）。
   授权：SIL Open Font License 1.1 —— 免费商用、可嵌入网页、可再分发。
   来源与子集化说明见 fonts/README.txt，许可证原文见 fonts/OFL-Noto*.txt。

   ★ 两级子集的用意（首屏提速）：
     -first   ：按「站点模板用字 ∪ 首页内容用字」子集化，只有 ~325/419 KB，覆盖全站可见文案；
     -subset  ：原有的 GB2312 全集子集，作为兜底，任何时候都不会缺字。
   浏览器按字符逐个回退：页面文字被 -first 全覆盖时**只下载 -first**；
   一旦出现 -first 里没有的字（例如详情页里后台录入的生僻字），才继续下载 -subset。
   两个文件是同一套字形的子集，混用时视觉完全一致，不会出现字体跳变。 */
@font-face {
  font-family: "EWC Sans First";
  src: url("../fonts/NotoSansSC-first.woff2") format("woff2-variations"),
       url("../fonts/NotoSansSC-first.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EWC Serif First";
  src: url("../fonts/NotoSerifSC-first.woff2") format("woff2-variations"),
       url("../fonts/NotoSerifSC-first.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EWC Sans";
  src: url("../fonts/NotoSansSC-subset.woff2") format("woff2-variations"),
       url("../fonts/NotoSansSC-subset.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EWC Serif";
  src: url("../fonts/NotoSerifSC-subset.woff2") format("woff2-variations"),
       url("../fonts/NotoSerifSC-subset.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #0c3d6e;
  --primary-light: #185fa5;
  --primary-dark: #07294d;
  --accent: #c8a24b;
  --bg: #f4f6f9;
  --white: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --border: #e3e8ef;
  --red: #c0392b;
  --green: #1e8449;

  /* 字体栈：先西文、后中文 —— 浏览器按字符逐个匹配，西文字体不含汉字会自动落到中文字体。
     "… First" 是首屏小子集，放在 full 子集之前：文字被它覆盖时就不再下载大文件。 */
  --font-sans: "Segoe UI", "EWC Sans First", "EWC Sans", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "EWC Serif First", "EWC Serif", "Songti SC", "SimSun", Georgia, serif;
}

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

body {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

/* 表单控件默认使用浏览器内置字体，不会继承 body 字体 → 显式继承，保证按钮/输入框与全站一致 */
button, input, select, textarea, optgroup { font-family: inherit; }

a { text-decoration: none; color: var(--primary); transition: color .2s; }
a:hover { color: var(--accent); }
ul { list-style: none; }
img { max-width: 100%; }

.container { max-width: 1100px; width: 100%; margin: 0 auto; padding: 0 16px; }

/* ===== 顶部工具条 ===== */
.topbar { background: var(--primary-dark); color: #b8c9dd; font-size: 12px; }
.topbar .container { display: flex; justify-content: space-between; height: 34px; align-items: center; }
.topbar a { color: #b8c9dd; margin-left: 14px; }
.topbar a:hover { color: #fff; }
.topbar .welcome { color: #8fa8c4; }

/* ===== 页头 Logo 区 ===== */
.header { background: var(--white); border-bottom: 3px solid var(--accent); }
.header .container { display: flex; align-items: center; padding: 14px 0; }
.logo { display: flex; align-items: center; }
.logo a { display: inline-block; }
.logo-img {
  display: block;
  max-height: 76px;
  width: auto;
  max-width: 100%;
}
.header-right { margin-left: auto; text-align: right; font-size: 12px; color: var(--text-light); flex-shrink: 0; padding-left: 16px; }
.header-right .tel { font-size: 20px; color: var(--primary); font-weight: 700; letter-spacing: 1px; }

@media (max-width: 768px) {
  .header .container { flex-wrap: wrap; justify-content: center; padding: 12px 0; }
  .logo { width: 100%; justify-content: center; margin-bottom: 10px; }
  .logo-img { max-height: 60px; }
  .header-right { width: 100%; text-align: center; padding-left: 0; }
}

/* ===== 主导航 ===== */
.nav { background: var(--primary); position: relative; z-index: 1000; }
.nav .container { display: flex; align-items: center; min-height: 46px; }
.nav-menu { display: flex; flex-wrap: nowrap; flex: 1; }
.nav a {
  color: #fff; padding: 0 18px; height: 46px; line-height: 46px;
  font-size: 15px; display: block; position: relative; white-space: nowrap;
}
.nav a:hover, .nav a.active { background: var(--primary-light); }
.nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 3px; background: var(--accent);
}
.nav-toggle {
  display: none;
  background: transparent; border: none; color: #fff;
  font-size: 22px; cursor: pointer; padding: 6px 10px; margin-left: auto;
}
.nav-toggle:hover { color: var(--accent); }

/* 移动端：汉堡菜单 */
@media (max-width: 900px) {
  .nav .container { position: relative; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--primary); flex-direction: column;
    box-shadow: 0 6px 12px rgba(0,0,0,.15);
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-menu.open { display: flex; }
  .nav a {
    width: 100%; border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 0 16px;
  }
  .nav a.active::after { left: 10px; right: 10px; }
}

/* ===== 轮播 ===== */
.banner { position: relative; overflow: hidden; height: 340px; background: var(--primary); }
.banner .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; display: flex; align-items: center; justify-content: center; }
.banner .slide.active { opacity: 1; }
.banner .slide-content { text-align: center; color: #fff; }
.banner .slide-content h2 { font-family: var(--font-serif); font-size: 36px; font-weight: 500; letter-spacing: 4px; margin-bottom: 14px; }
.banner .slide-content p { font-size: 16px; color: #b8c9dd; letter-spacing: 2px; }
.banner .dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.banner .dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; }
.banner .dots span.active { background: var(--accent); }
.banner .slide.has-img { background-size: cover; background-position: center; }
.banner .slide.has-img::after { content: ""; position: absolute; inset: 0; background: rgba(7, 41, 77, .45); }
.banner .slide.has-img .slide-content { position: relative; z-index: 2; }

/* ===== 首页功能区 ===== */
.home-section { padding: 34px 0; }
.section-title { display: flex; align-items: center; margin-bottom: 20px; }
.section-title h2 { font-size: 20px; color: var(--primary); font-weight: 700; padding-left: 12px; border-left: 4px solid var(--accent); }
.section-title .more { margin-left: auto; font-size: 13px; }

.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.panel { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 22px; }
.panel h3 { font-size: 16px; color: var(--primary); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }

/* 新闻列表 */
.news-list li { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--border); }
.news-list li:last-child { border-bottom: none; }
.news-list a { color: var(--text); max-width: 78%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list a:hover { color: var(--primary); }
.news-list .date { font-size: 12px; color: var(--text-light); flex-shrink: 0; }
.news-list .tag { font-size: 11px; color: var(--accent); border: 1px solid var(--accent); border-radius: 3px; padding: 0 4px; margin-right: 8px; flex-shrink: 0; }

/* 公告栏 */
.notice { background: #fdf9ef; border: 1px solid #f0e4c3; border-radius: 8px; padding: 16px 20px; margin-bottom: 24px; }
.notice h3 { font-size: 15px; color: #8a6d1a; margin-bottom: 10px; }
.notice li { padding: 5px 0; font-size: 13px; }
.notice li a { color: var(--text); }
.notice li a:hover { color: var(--primary); }
.notice li .date { float: right; color: var(--text-light); font-size: 12px; }

/* 查询快捷入口 */
.search-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.search-card { border: 1px solid var(--border); border-radius: 8px; padding: 18px; background: var(--white); text-align: center; transition: box-shadow .2s; }
.search-card:hover { box-shadow: 0 4px 14px rgba(12,61,110,.12); }
.search-card .icon { font-size: 30px; margin-bottom: 8px; }
.search-card h4 { font-size: 15px; color: var(--primary); margin-bottom: 6px; }
.search-card p { font-size: 12px; color: var(--text-light); }
.search-card .btn { display: inline-block; margin-top: 10px; }

/* 服务卡片 */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 20px; text-align: center; }
.service-card .icon { font-size: 28px; margin-bottom: 10px; }
.service-card h4 { font-size: 15px; color: var(--primary); margin-bottom: 8px; }
.service-card p { font-size: 12px; color: var(--text-light); }

/* 按钮 */
.btn {
  display: inline-block; background: var(--primary); color: #fff !important;
  padding: 7px 22px; border-radius: 4px; font-size: 13px; border: none; cursor: pointer;
}
.btn:hover { background: var(--primary-light); }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: #b3913c; }
.btn-outline { background: transparent; color: var(--primary) !important; border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff !important; }
.btn-sm { padding: 4px 14px; font-size: 12px; }

/* ===== 内页通用 ===== */
.page { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 28px; margin: 24px 0 40px; min-height: 420px; }
.crumbs { font-size: 13px; color: var(--text-light); padding: 14px 0 0; }
.crumbs a { color: var(--primary); }
.page-title { font-size: 20px; color: var(--primary); font-weight: 700; padding: 16px 0 14px; border-bottom: 2px solid var(--primary); margin-bottom: 20px; }

/* 查询表单 */
.search-form { background: #f7fafd; border: 1px solid var(--border); border-radius: 8px; padding: 24px; margin-bottom: 20px; }
.search-form .row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.search-form .row:last-child { margin-bottom: 0; }
.search-form label { width: 96px; text-align: right; font-size: 13px; color: var(--text-light); }
.search-form input[type="text"], .search-form input[type="password"], .search-form select {
  width: 240px; height: 34px; border: 1px solid #c9d4e0; border-radius: 4px; padding: 0 10px; font-size: 13px;
  font-family: inherit; background: #fff;
}
.search-form input:focus, .search-form select:focus { outline: none; border-color: var(--primary-light); }
.search-form .btn { height: 34px; line-height: 34px; padding: 0 26px; }

/* 结果表格 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: 6px; }
.table-wrap .result-table { min-width: 1280px; }
.result-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.result-table th { background: var(--primary); color: #fff; padding: 10px 8px; font-weight: 500; text-align: center; white-space: nowrap; }
.result-table td { border: 1px solid var(--border); padding: 9px 8px; text-align: center; color: var(--text); vertical-align: middle; }
.result-table tr:nth-child(even) td { background: #f8fafc; }
.result-table tr:hover td { background: #eef4fb; }
.result-empty { text-align: center; padding: 40px 0; color: var(--text-light); }
.result-summary { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.result-summary b { color: var(--primary); }

/* 详情页 */
.detail-title { text-align: center; font-size: 20px; color: var(--primary); padding: 10px 0; }
.detail-meta { text-align: center; color: var(--text-light); font-size: 12px; padding: 8px 0 18px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.detail-content { font-size: 14px; line-height: 2; color: #444; }
.detail-content p { margin-bottom: 12px; text-indent: 2em; }

/* ===== 公开文件栏目页 ===== */
.docs-layout { display: flex; gap: 22px; align-items: flex-start; }
.docs-side { width: 250px; flex-shrink: 0; }
.docs-cat {
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  padding: 13px 16px; margin-bottom: 10px; cursor: pointer; transition: all .2s;
}
.docs-cat:hover { border-color: var(--primary); }
.docs-cat.active { background: var(--primary); border-color: var(--primary); }
.docs-cat-name { font-size: 14px; color: var(--primary); font-weight: 700; }
.docs-cat.active .docs-cat-name { color: #fff; }
.docs-cat-desc { font-size: 12px; color: var(--text-light); margin-top: 4px; line-height: 1.6; }
.docs-cat.active .docs-cat-desc { color: #b8c9dd; }

.docs-main { flex: 1; min-width: 0; }
.docs-head { background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 8px; padding: 20px 24px; margin-bottom: 16px; }
.docs-head-title { font-size: 19px; color: #fff; font-weight: 700; }
.docs-head-desc { font-size: 13px; color: #b8c9dd; margin-top: 6px; line-height: 1.7; }
.docs-item {
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  padding: 16px 20px; margin-bottom: 12px; cursor: pointer; transition: box-shadow .2s;
}
.docs-item:hover { box-shadow: 0 3px 12px rgba(12,61,110,.1); }
.docs-item.open { border-color: var(--primary); }
.docs-item-title { font-size: 15px; color: var(--primary); font-weight: 600; }
.docs-item-meta { font-size: 12px; color: var(--text-light); margin: 6px 0 10px; }
.docs-item-content { font-size: 14px; color: var(--text); line-height: 1.9; padding: 14px 16px; background: #f8fafc; border-radius: 6px; }
.docs-item-content p { margin-bottom: 8px; }
.docs-files { margin-top: 12px; border-top: 1px dashed var(--border); padding-top: 10px; }
.docs-files-title { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.docs-file {
  display: inline-block; background: #e8f0fa; color: var(--primary); border-radius: 4px;
  padding: 6px 14px; margin: 0 10px 8px 0; font-size: 13px;
}
.docs-file:hover { background: var(--primary); color: #fff; }

@media (max-width: 768px) {
  .docs-layout { flex-direction: column; }
  .docs-side { width: 100%; }
}

/* ===== 认证资质页 ===== */
.qual-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 24px; }
.qual-tab {
  padding: 10px 30px; border-radius: 24px; cursor: pointer; font-size: 15px;
  background: var(--white); border: 1px solid var(--border); color: var(--primary);
  transition: all .2s;
}
.qual-tab:hover { border-color: var(--primary); }
.qual-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.qual-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.qual-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: 18px; text-align: center; cursor: pointer; transition: box-shadow .2s;
}
.qual-card:hover { box-shadow: 0 6px 20px rgba(12,61,110,.14); }
.qual-card-img { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: #f8fafc; }
.qual-card-img img { display: block; width: 100%; height: auto; }
.qual-card-title { font-size: 15px; color: var(--primary); font-weight: 600; margin-top: 12px; }
.qual-card-note { font-size: 12px; color: var(--text-light); margin-top: 6px; line-height: 1.6; }
.qual-card-tip { font-size: 12px; color: var(--accent); margin-top: 8px; }

@media (max-width: 768px) {
  .qual-grid { grid-template-columns: 1fr; }
}

/* 灯箱 */
.lightbox {
  display: none; position: fixed; inset: 0; background: rgba(7,41,77,.88); z-index: 200;
  align-items: center; justify-content: center; flex-direction: column; cursor: zoom-out;
}
.lightbox.show { display: flex; }
.lightbox img { max-width: 90%; max-height: 82vh; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.lightbox-caption { color: #fff; margin-top: 14px; font-size: 14px; }
/* 灯箱左右切换按钮（多图时显示） */
.lightbox-nav { display: none; gap: 14px; margin-top: 16px; cursor: default; }
.lightbox-nav button {
  padding: 8px 22px; border-radius: 20px; border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.12); color: #fff; font-size: 13px; cursor: pointer; transition: all .2s;
}
.lightbox-nav button:hover { background: rgba(255,255,255,.26); border-color: #fff; }

/* ===== 多图：平铺网格 + 点击放大（前台资质证书 / 认证业务「证书样本」） ===== */
.qual-img-cell { cursor: zoom-in; }
.qual-img-count {
  font-size: 12px; color: #fff; background: var(--primary-light); border-radius: 10px;
  padding: 1px 8px; margin-left: 8px; font-weight: 400; vertical-align: middle;
}
.qual-card-img.qual-img-multi {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px;
}
.qual-card-img.qual-img-multi .qual-img-cell {
  border: 1px solid var(--border); border-radius: 5px; overflow: hidden; background: #fff;
}
/* 覆盖下方「单图放大」规则：多图时不限高，避免每张都占满 70vh */
.qual-card-img.qual-img-multi .qual-img-cell img { max-height: none; height: auto; object-fit: contain; margin: 0; }

.img-grid { display: grid; gap: 14px; justify-content: center; }
.img-grid:not(.is-multi) { grid-template-columns: minmax(0, 460px); }
.img-grid.is-multi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.img-cell { cursor: zoom-in; }
.img-cell img { width: 100%; }
@media (max-width: 640px) {
  .qual-card-img.qual-img-multi { grid-template-columns: 1fr; }
  .img-grid.is-multi { grid-template-columns: 1fr; }
}

/* ===== 多图上传：缩略图列表（后台证书弹窗 / 认证项目分区编辑共用） ===== */
.up-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.up-item {
  position: relative; width: 108px; height: 84px; border: 1px solid #d5dde7; border-radius: 6px;
  overflow: hidden; background: #fafcff;
}
.up-item.is-first { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(12,61,110,.14); }
.up-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.up-del {
  position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; line-height: 16px;
  text-align: center; border-radius: 50%; background: rgba(192,57,43,.9); color: #fff;
  font-size: 13px; cursor: pointer; user-select: none;
}
.up-del:hover { background: #c0392b; }
.up-badge {
  position: absolute; top: 2px; left: 2px; background: var(--primary); color: #fff;
  font-size: 10px; padding: 1px 5px; border-radius: 3px;
}
.up-first {
  position: absolute; left: 0; right: 0; bottom: 0; background: rgba(12,61,110,.82); color: #fff;
  font-size: 11px; text-align: center; line-height: 20px; cursor: pointer;
}
.up-first:hover { background: var(--primary); }
.up-empty {
  margin-top: 10px; border: 1px dashed #c9d4e0; border-radius: 6px; background: #fafcff;
  padding: 14px; font-size: 12px; color: #a6b2c2; text-align: center;
}
.up-tip { font-size: 12px; color: #8a94a6; margin-top: 8px; line-height: 1.6; }

/* 法规库列表 */
.law-group { margin-bottom: 26px; }
.law-group h3 { font-size: 15px; color: var(--primary); padding: 10px 14px; background: #f0f5fb; border-left: 4px solid var(--primary); margin-bottom: 10px; }
.law-group li { padding: 8px 4px; border-bottom: 1px dashed var(--border); display: flex; justify-content: space-between; }
.law-group li a { color: var(--text); }
.law-group li a:hover { color: var(--primary); }
.law-group .date { font-size: 12px; color: var(--text-light); }

/* 卡片列表（培训/招聘/分站） */
.card-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card-item { border: 1px solid var(--border); border-radius: 8px; padding: 18px 20px; background: #fbfcfe; }
.card-item h4 { font-size: 15px; color: var(--primary); margin-bottom: 6px; }
.card-item p { font-size: 13px; color: var(--text-light); margin-bottom: 4px; }
.card-item .price { color: var(--red); font-weight: 700; font-size: 15px; }
.card-item .tags span { display: inline-block; font-size: 11px; color: var(--primary); background: #e8f0fa; border-radius: 3px; padding: 1px 6px; margin: 4px 6px 0 0; }

/* 登录页 */
.login-wrap { display: flex; justify-content: center; padding: 50px 0; }
.login-box { width: 420px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 34px; }
.login-box h2 { text-align: center; color: var(--primary); font-size: 19px; margin-bottom: 6px; }
.login-box .sub { text-align: center; color: var(--text-light); font-size: 12px; margin-bottom: 24px; }
.login-box .row { margin-bottom: 18px; }
.login-box label { display: block; font-size: 13px; color: var(--text-light); margin-bottom: 6px; }
.login-box input[type="text"], .login-box input[type="password"] {
  width: 100%; height: 38px; border: 1px solid #c9d4e0; border-radius: 4px; padding: 0 10px; font-size: 14px;
}
.login-box input:focus { outline: none; border-color: var(--primary-light); }
.captcha-row { display: flex; gap: 10px; }
.captcha-row input { flex: 1; }
.captcha-box { width: 100px; height: 38px; border: 1px solid #c9d4e0; border-radius: 4px; cursor: pointer; background: #f0f4f9; display:flex;align-items:center;justify-content:center; font-size:18px; font-weight:700; letter-spacing:3px; color:var(--primary); font-style:italic; }
.login-msg { font-size: 13px; min-height: 20px; margin-bottom: 10px; text-align: center; }
.login-msg.ok { color: var(--green); }
.login-msg.err { color: var(--red); }
.login-box .btn { width: 100%; height: 40px; line-height: 40px; font-size: 15px; }
.login-tips { margin-top: 16px; font-size: 12px; color: var(--text-light); background: #f7fafd; border-radius: 4px; padding: 10px 12px; }
.login-tips b { color: var(--accent); }

/* 留言/咨询表单 */
.contact-form label { display: block; font-size: 13px; color: var(--text-light); margin: 14px 0 6px; }
.contact-form input[type="text"], .contact-form textarea, .contact-form select {
  width: 100%; border: 1px solid #c9d4e0; border-radius: 4px; padding: 9px 10px; font-size: 13px; font-family: inherit;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-light); }
.contact-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.contact-item { text-align: center; padding: 18px 10px; background: #f7fafd; border-radius: 8px; }
.contact-item .icon { font-size: 26px; margin-bottom: 8px; }
.contact-item h4 { font-size: 13px; color: var(--primary); margin-bottom: 4px; }
.contact-item p { font-size: 12px; color: var(--text-light); }

/* 分站 */
.branch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.branch-item { border: 1px solid var(--border); border-radius: 6px; text-align: center; padding: 18px 8px; background: #fbfcfe; }
.branch-item h4 { font-size: 14px; color: var(--primary); margin-bottom: 6px; }
.branch-item p { font-size: 12px; color: var(--text-light); }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 22px; }
.pagination a, .pagination span {
  display: inline-block; min-width: 30px; height: 30px; line-height: 30px; text-align: center;
  border: 1px solid var(--border); border-radius: 4px; font-size: 13px; color: var(--text); background: #fff;
}
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== 审核员后台管理界面 ===== */
.admin-body { background: #eef1f6; }
.admin-top {
  background: var(--primary-dark); color: #fff; height: 56px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 28px;
}
.admin-top .brand { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; letter-spacing: 1px; }
.admin-top .brand .logo-icon { width: 34px; height: 34px; font-size: 15px; border-radius: 8px; }
.admin-top .user-info { display: flex; align-items: center; gap: 16px; font-size: 13px; color: #b8c9dd; }
.admin-top .user-info b { color: #fff; }
.admin-top .btn-outline { color: #b8c9dd !important; border-color: #5a7596; }
.admin-top .btn-outline:hover { background: #5a7596; color: #fff !important; }

.admin-wrap { display: flex; min-height: calc(100vh - 56px); }
.admin-side {
  width: 210px; background: var(--white); border-right: 1px solid var(--border);
  padding: 16px 0; flex-shrink: 0;
  /* 菜单项较多时自身滚动，避免把整个后台页面撑高（右侧主框架才能精确铺满可视区） */
  max-height: calc(100vh - 56px); overflow-y: auto;
}
.admin-side .menu-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 24px;
  color: var(--text); font-size: 14px; cursor: pointer; border-left: 3px solid transparent;
}
.admin-side .menu-item:hover { background: #f0f5fb; color: var(--primary); }
.admin-side .menu-item.active { background: #e8f0fa; color: var(--primary); border-left-color: var(--primary); font-weight: 500; }
.admin-side .menu-icon { width: 18px; text-align: center; }

.admin-main { flex: 1; padding: 24px 28px; min-width: 0; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-panel-title { font-size: 17px; color: var(--primary); font-weight: 500; margin-bottom: 18px; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.admin-bar .tools { display: flex; gap: 10px; align-items: center; }
.admin-bar input[type="text"], .admin-bar select {
  height: 32px; border: 1px solid #c9d4e0; border-radius: 4px; padding: 0 10px; font-size: 13px; background: #fff;
}
.admin-toolbar-btn { background: var(--primary); color: #fff !important; border: none; border-radius: 4px; padding: 7px 16px; font-size: 13px; cursor: pointer; }
.admin-toolbar-btn:hover { background: var(--primary-light); }
.admin-toolbar-btn.danger { background: var(--red); }
.admin-toolbar-btn.danger:hover { background: #a93226; }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.stat-card .num { font-size: 30px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.stat-card .label { font-size: 13px; color: var(--text-light); margin-top: 6px; }

/* 工作台分布图 */
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.chart-row { display: flex; align-items: center; margin-bottom: 10px; font-size: 13px; }
.chart-name { width: 170px; color: var(--text); flex-shrink: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-bar { flex: 1; height: 16px; background: #eef2f7; border-radius: 8px; overflow: hidden; margin: 0 10px; }
.chart-fill { height: 100%; background: linear-gradient(90deg, var(--primary-light), var(--primary)); border-radius: 8px; }
.chart-num { width: 60px; text-align: right; color: var(--primary); font-weight: 700; flex-shrink: 0; }

/* 分页器 */
.pager { display: flex; align-items: center; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.pager-info { font-size: 13px; color: var(--text-light); margin-right: 8px; }
.pager-btn {
  min-width: 30px; height: 30px; padding: 0 8px; border: 1px solid #c9d4e0; border-radius: 4px;
  background: #fff; color: var(--primary); font-size: 13px; cursor: pointer;
}
.pager-btn:hover { border-color: var(--primary); }
.pager-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pager-btn.disabled { opacity: .45; cursor: not-allowed; }

/* 面板数据源标注 */
.panel-db { font-size: 12px; color: var(--text-light); font-weight: 400; margin-left: 8px; }

/* 操作按钮（行内） */
.op-btn { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 3px; cursor: pointer; margin: 0 2px; }
.op-btn.edit { background: #e8f0fa; color: var(--primary); }
.op-btn.edit:hover { background: #d3e4f5; }
.op-btn.del { background: #fdecea; color: var(--red); }
.op-btn.del:hover { background: #f8d7d3; }

/* 模态框 */
.modal-mask {
  display: none; position: fixed; inset: 0; background: rgba(7,41,77,.5);
  z-index: 100; align-items: center; justify-content: center;
}
.modal-mask.show { display: flex; }
.modal-box {
  background: #fff; border-radius: 10px; width: 620px; max-width: 94%;
  max-height: 90vh; overflow-y: auto; padding: 26px 30px;
}
.modal-box h3 { font-size: 16px; color: var(--primary); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.modal-form .mf-row { display: flex; align-items: flex-start; margin-bottom: 12px; }
.modal-form .mf-label { width: 92px; text-align: right; padding-right: 12px; font-size: 13px; color: var(--text-light); line-height: 32px; flex-shrink: 0; }
.modal-form .mf-input { flex: 1; }
.modal-form input[type="text"], .modal-form select, .modal-form textarea {
  width: 100%; border: 1px solid #c9d4e0; border-radius: 4px; padding: 7px 10px; font-size: 13px; font-family: inherit;
}
.modal-form textarea { min-height: 90px; resize: vertical; }
.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus { outline: none; border-color: var(--primary-light); }
.modal-footer { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.modal-footer .btn { min-width: 100px; height: 36px; line-height: 36px; padding: 0; text-align: center; }

/* 留言详情样式 */
.msg-item { background: #fbfcfe; border: 1px solid var(--border); border-radius: 8px; padding: 16px 20px; margin-bottom: 12px; }
.msg-item .msg-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; }
.msg-item .msg-head b { color: var(--primary); }
.msg-item .msg-topic { display: inline-block; font-size: 11px; background: #e8f0fa; color: var(--primary); border-radius: 3px; padding: 1px 8px; margin-left: 8px; }
.msg-item .msg-content { font-size: 13px; color: #444; margin-bottom: 8px; }
.msg-item .msg-meta { font-size: 12px; color: var(--text-light); display: flex; justify-content: space-between; align-items: center; }

/* ===== 页脚 ===== */
.footer { background: var(--primary-dark); color: #8fa8c4; font-size: 12px; }
.footer .container { padding: 28px 0; text-align: center; }
.footer .links { margin-bottom: 10px; }
.footer .links a { color: #b8c9dd; margin: 0 10px; }
.footer .links a:hover { color: #fff; }
.footer .icp { margin-top: 6px; }
.footer .icp a { color: #8fa8c4; }

/* 页脚友情链接（同步自原网站底部） */
.friend-links { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.friend-links-title { font-size: 13px; color: #b8c9dd; letter-spacing: 3px; margin-bottom: 14px; }
.friend-links-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.friend-links-list a { display: inline-flex; align-items: center; background: #fff; border-radius: 6px; padding: 6px 10px; opacity: .92; transition: opacity .2s, transform .2s; }
.friend-links-list a:hover { opacity: 1; transform: translateY(-2px); }
.friend-links-list img { height: 34px; width: auto; display: block; }

/* 响应式 */
@media (max-width: 1100px) {
  .container { width: 96%; }
  .home-grid, .card-list { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info, .branch-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 审核员专区样式 ===== */
.ass-body { background: #f4f6f9; font-family: var(--font-sans); font-size: 14px; color: #333; margin: 0; }
.ass-top { background: var(--white); border-bottom: 3px solid var(--accent); }
.ass-top-inner { max-width: 1100px; margin: 0 auto; padding: 16px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.ass-top-brand { display: flex; align-items: center; gap: 12px; }
.ass-logo { width: 44px; height: 44px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 18px; font-weight: 700; font-style: italic; display: flex; align-items: center; justify-content: center; }
.ass-brand-text { font-size: 20px; font-weight: 700; color: var(--primary); letter-spacing: 2px; }
.ass-brand-sub { display: block; font-size: 11px; font-weight: 400; color: #999; letter-spacing: 1px; margin-top: 2px; }
.ass-user { font-size: 13px; color: #666; }
.ass-user b { color: var(--primary); }
.ass-role { color: #999; margin: 0 10px 0 4px; }
.ass-link { color: var(--primary); margin-left: 12px; }
.ass-link:hover { color: var(--accent); }
.ass-nav { background: var(--primary); }
.ass-nav-inner { max-width: 1100px; margin: 0 auto; display: flex; }
.ass-nav a { color: #fff; padding: 0 24px; height: 44px; line-height: 44px; font-size: 15px; position: relative; }
.ass-nav a:hover, .ass-nav a.active { background: var(--primary-light); }
.ass-nav a.active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; background: var(--accent); }
.ass-main { max-width: 1100px; margin: 24px auto; padding: 0 16px; }
.ass-welcome { background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 10px; padding: 26px 30px; color: #fff; margin-bottom: 22px; }
.ass-welcome h2 { font-size: 22px; font-weight: 600; letter-spacing: 1px; }
.ass-welcome p { color: #b8c9dd; font-size: 13px; margin-top: 8px; }
.ass-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.ass-quick-card { background: #fff; border: 1px solid #e3e8ef; border-radius: 10px; padding: 22px; text-align: center; transition: box-shadow .2s; cursor: pointer; }
.ass-quick-card:hover { box-shadow: 0 5px 18px rgba(12,61,110,.12); }
.ass-quick-card .icon { font-size: 30px; margin-bottom: 8px; }
.ass-quick-card h4 { font-size: 15px; color: var(--primary); margin-bottom: 6px; }
.ass-quick-card p { font-size: 12px; color: #888; }
.ass-quick-card a { color: var(--primary); }
.ass-panel { background: #fff; border: 1px solid #e3e8ef; border-radius: 10px; padding: 22px; margin-bottom: 22px; }
.ass-panel-title { font-size: 16px; color: var(--primary); font-weight: 600; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #eef2f7; display: flex; justify-content: space-between; align-items: center; }
.ass-panel-title .more { font-size: 12px; color: #999; font-weight: 400; }
.ass-news li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed #eef2f7; font-size: 13px; }
.ass-news li:last-child { border-bottom: none; }
.ass-news a { color: #333; max-width: 78%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ass-news a:hover { color: var(--primary); }
.ass-news .date { color: #999; font-size: 12px; flex-shrink: 0; }
.ass-foot { background: var(--primary-dark); color: #8fa8c4; text-align: center; font-size: 12px; padding: 20px; margin-top: 30px; line-height: 1.9; }

/* 审核员专区表格/表单 */
.ass-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.ass-tab { padding: 7px 18px; border-radius: 18px; background: #fff; border: 1px solid #e3e8ef; color: var(--primary); font-size: 13px; cursor: pointer; }
.ass-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.ass-msg-item { border: 1px solid #eef2f7; border-radius: 8px; padding: 14px 18px; margin-bottom: 12px; background: #fafbfd; }
.ass-msg-head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.ass-msg-head b { color: var(--primary); }
.ass-msg-content { font-size: 13px; color: #555; line-height: 1.8; }
.ass-msg-meta { font-size: 12px; color: #999; margin-top: 8px; }
.ass-form label { display: block; font-size: 13px; color: #666; margin: 14px 0 6px; }
.ass-form input[type="text"], .ass-form input[type="password"], .ass-form textarea, .ass-form select {
  width: 100%; height: 40px; border: 1px solid #d5dde7; border-radius: 6px; padding: 0 12px; font-size: 14px; box-sizing: border-box;
}
.ass-form textarea { height: 100px; padding: 10px 12px; }
.ass-form input:focus, .ass-form textarea:focus, .ass-form select:focus { outline: none; border-color: var(--primary); }

@media (max-width: 768px) {
  .ass-quick { grid-template-columns: 1fr; }
  .ass-nav-inner { flex-wrap: wrap; }
  .ass-nav a { padding: 0 16px; }
}

/* ===== 后台侧边子菜单（系统设置目录下 7 子项） ===== */
.menu-dir { cursor: pointer; }
.menu-dir .dir-arrow { float: right; color: #8fa8c4; font-size: 12px; }
.menu-sub { display: block; padding: 9px 16px 9px 38px; font-size: 13px; color: #4a6a8c; background: #f3f7fb; text-decoration: none; }
.menu-sub:hover { background: #e3edf7; color: #0c3d6e; }
.menu-sub.active { background: #dce9f6; color: #0c3d6e; font-weight: 600; border-left: 3px solid var(--primary); padding-left: 35px; }
.menu-sub .menu-icon.sub { font-size: 12px; margin-right: 6px; color: #4a6a8c; }
.menu-sub.active .menu-icon.sub { color: #0c3d6e; }

/* ===== 内部留言板 ===== */
.fb-user-head { background: linear-gradient(135deg,#0c3d6e,#185fa5); color: #fff; border-radius: 8px; padding: 16px 20px; font-size: 14px; margin-bottom: 18px; }
.fb-user-form { background: #fafbfd; border: 1px solid #e3e8ef; border-radius: 10px; padding: 18px 22px; margin-bottom: 24px; }
.fb-row { display: flex; align-items: flex-start; margin-bottom: 12px; }
.fb-row label { width: 90px; text-align: right; padding-right: 12px; font-size: 13px; color: #666; line-height: 34px; flex-shrink: 0; }
.fb-row input[type=text], .fb-row select, .fb-row textarea { flex: 1; height: 34px; border: 1px solid #c9d4e0; border-radius: 5px; padding: 0 10px; font-size: 13px; box-sizing: border-box; }
.fb-row textarea { height: 110px; padding: 8px 10px; }
.fb-sec-title { font-size: 15px; color: #0c3d6e; font-weight: 700; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid #eef2f7; }
.fb-item { border: 1px solid #eef2f7; border-radius: 8px; padding: 14px 18px; margin-bottom: 12px; background: #fff; }
.fb-item-h { display: flex; justify-content: space-between; align-items: center; }
.fb-item-h b { color: #0c3d6e; }
.fb-item-meta { font-size: 12px; color: #999; margin: 6px 0; }
.fb-item-c { font-size: 13px; color: #555; line-height: 1.9; }
.fb-op { margin-top: 10px; border-top: 1px dashed #eef2f7; padding-top: 8px; }
.fb-admin-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.fb-admin-bar select, .fb-admin-bar input[type=text] { height: 30px; border: 1px solid #c9d4e0; border-radius: 4px; padding: 0 8px; font-size: 13px; }
.rbac-op.v { background: #f0f2f5; color: #445; }
.rbac-op.v:hover { background: #e2e7ee; }

/* ===== 通用弹窗（admin.html 复用 RBAC 弹窗结构：详情 / 导入） ===== */
.rbac-modal { position: fixed; inset: 0; background: rgba(7,41,77,.5); z-index: 100; display: none; align-items: flex-start; justify-content: center; overflow: auto; padding: 30px 0; }
.rbac-modal.show { display: flex; }
.rbac-modal-box { background: #fff; border-radius: 10px; width: 720px; max-width: 94%; padding: 22px 26px; box-shadow: 0 18px 50px rgba(7,41,77,.28); }
.rbac-modal-box h3 { font-size: 16px; color: var(--primary); border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 16px; }
.rbac-modal-foot { text-align: right; margin-top: 18px; }
.rbac-modal-foot .btn { margin-left: 8px; min-width: 88px; height: 34px; line-height: 34px; padding: 0; }
.rbac-btn { background: var(--primary); color: #fff; border: none; border-radius: 4px; padding: 7px 14px; font-size: 13px; cursor: pointer; }
.rbac-btn:hover { background: var(--primary-light); }
.rbac-btn.o { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.rbac-btn:disabled { opacity: .45; cursor: not-allowed; }

/* 操作列：详情按钮 */
.op-btn.view { background: #eef2f7; color: #43536a; }
.op-btn.view:hover { background: #e2e8f2; }

/* 后台内容「草稿 / 发布」状态标签 */
.pub-tag { display: inline-block; font-size: 12px; line-height: 18px; padding: 1px 8px; border-radius: 10px; white-space: nowrap; }
.pub-tag.on { background: #e8f5e9; color: #1e8449; }
.pub-tag.draft { background: #fff7e6; color: #b9770e; }
.pub-tag.edited { background: #e8f0fa; color: #185fa5; }
.pub-tag.off { background: #f0f2f5; color: #8a94a6; }

/* 后台表单：同一行放两个输入框 */
.mf-inline { display: flex; gap: 8px; }
.mf-inline > input[type="text"] { flex: 1 1 0; min-width: 0; }

/* 后台表单：培训开班班次子表单（可增删行） */
.batch-row { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.batch-row > input[type="text"] { min-width: 0; }
.batch-row .b-date { flex: 1.3 1 0; }
.batch-row .b-location { flex: 1 1 0; }
.batch-row .b-seats { flex: 0.8 1 0; }
.batch-row .b-note { flex: 1.2 1 0; }

/* 前台培训页：适合对象 / 培训内容 / 开班班次 */
.tr-target { font-size: 13px; color: #555; line-height: 1.8; margin-top: 6px; }
.tr-block { margin-top: 10px; font-size: 13px; color: #333; }
.tr-block > b { display: block; margin-bottom: 6px; color: #0c3d6e; }
.tr-outline { margin: 0; padding-left: 20px; line-height: 1.9; color: #555; }
.tr-outline li { list-style: disc; }
.tr-deadline { font-size: 12px; color: #b9770e; margin-top: 6px; }
.batch-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 4px; }
.batch-table th, .batch-table td { border: 1px solid #e3e8ef; padding: 5px 8px; text-align: left; }
.batch-table th { background: #f6f8fb; color: #0c3d6e; font-weight: 600; }

/* 前台分站页：联系方式补充信息 */
.branch-item .br-meta { font-size: 12px; color: #666; line-height: 1.7; }
.branch-item .br-actions { margin-top: 8px; }

/* 前台招聘 / 投递页 */
.job-meta { font-size: 13px; color: #555; margin-top: 6px; }
.apply-job { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px 26px; margin-bottom: 20px; }
.apply-job h3 { font-size: 18px; color: var(--primary); margin: 8px 0 4px; }
.apply-form { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px 26px; }
.apply-form h3 { font-size: 15px; color: var(--primary); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid #eef2f7; }
.af-row { display: flex; align-items: flex-start; margin-bottom: 14px; }
.af-row > label { width: 96px; flex-shrink: 0; text-align: right; padding-right: 14px; font-size: 13px; color: #666; line-height: 34px; }
.af-row > label i { color: var(--red); font-style: normal; }
.af-row > *:not(label) { flex: 1; min-width: 0; }
.af-row input[type="text"], .af-row select, .af-row textarea {
  width: 100%; border: 1px solid #c9d4e0; border-radius: 4px; padding: 7px 10px; font-size: 13px; font-family: inherit; box-sizing: border-box;
}
.af-row textarea { height: 84px; resize: vertical; }
.af-row.af-2 { gap: 14px; }
.af-row.af-2 > div { flex: 1; min-width: 0; }
.af-row.af-2 label { display: block; font-size: 12px; color: #8a94a6; margin-bottom: 5px; }
.af-tip { font-size: 12px; color: #8a94a6; margin-top: 6px; line-height: 1.7; }
.af-actions { margin-top: 8px; padding-left: 96px; }
.af-msg { font-size: 13px; margin-top: 12px; padding-left: 96px; min-height: 20px; }
.af-msg.err { color: var(--red); }
.apply-ok { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 40px 30px; text-align: center; }
.apply-ok h3 { font-size: 18px; color: var(--primary); margin: 14px 0 10px; }
.apply-ok p { font-size: 13px; color: #555; line-height: 2; }
.ao-icon { width: 56px; height: 56px; line-height: 56px; border-radius: 50%; background: #e8f5e9; color: #1e8449; font-size: 28px; margin: 0 auto; }

/* ===== 后台招聘管理（recruit.html） ===== */
.rc-body { background: #f4f6f9; padding: 16px 18px 26px; font-size: 13px; }
.rc-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.rc-head-left { display: flex; align-items: center; gap: 10px; }
.rc-head h2 { font-size: 17px; color: var(--primary); }
.rc-role { font-size: 12px; padding: 2px 10px; border-radius: 10px; background: #e8f0fa; color: #185fa5; }
.rc-role.hr { background: #e8f5e9; color: #1e8449; }
.rc-role.iv { background: #fff7e6; color: #b9770e; }
.rc-scope { font-size: 12px; color: #8a94a6; margin-right: 8px; }
.rc-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rc-tab { border: 1px solid #dbe3ec; background: #fff; color: #43536a; font-size: 13px; padding: 6px 14px; border-radius: 16px; cursor: pointer; font-family: inherit; }
.rc-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.rc-page { display: none; }
.rc-page.active { display: block; }
.rc-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.rc-toolbar select, .rc-toolbar input[type="text"] { height: 34px; border: 1px solid #c9d4e0; border-radius: 4px; padding: 0 10px; font-size: 13px; font-family: inherit; background: #fff; }
.rc-toolbar input[type="text"] { min-width: 200px; }
.rc-hint { font-size: 12px; color: #8a94a6; line-height: 1.9; background: #f7f9fc; border: 1px dashed #dbe3ec; border-radius: 6px; padding: 9px 12px; margin-top: 10px; }
.rc-subtabs { display: flex; gap: 4px; margin-bottom: 12px; border-bottom: 1px solid #e3e8ef; }
.rc-subtab { border: none; background: none; font-size: 13px; color: #43536a; padding: 8px 16px; cursor: pointer; border-bottom: 2px solid transparent; font-family: inherit; }
.rc-subtab.active { color: var(--primary); font-weight: 700; border-bottom-color: var(--primary); }
.rc-body .result-table { background: #fff; }
.rc-cards { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.rc-card { flex: 1 1 150px; background: #fff; border: 1px solid #e3e8ef; border-radius: 8px; padding: 16px 18px; }
.rc-card .n { font-size: 26px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.rc-card .l { font-size: 12px; color: #8a94a6; margin-top: 4px; }
.rc-panel { background: #fff; border: 1px solid #e3e8ef; border-radius: 8px; padding: 18px 20px; margin-bottom: 16px; }
.rc-panel h3 { font-size: 14px; color: var(--primary); margin-bottom: 14px; }
.rc-funnel, .rc-bars { display: flex; flex-direction: column; gap: 10px; }
.rc-fl-row { display: flex; align-items: center; gap: 10px; }
.rc-fl-name { width: 96px; flex-shrink: 0; font-size: 13px; color: #43536a; text-align: right; }
.rc-fl-bar { flex: 1; height: 18px; background: #f0f3f8; border-radius: 9px; overflow: hidden; }
.rc-fl-bar > i { display: block; height: 100%; background: linear-gradient(90deg, #185fa5, #0c3d6e); border-radius: 9px; }
.rc-fl-num { width: 48px; text-align: right; font-weight: 700; color: var(--primary); }
.rc-fl-rate { width: 52px; text-align: right; font-size: 12px; color: #8a94a6; }
.rc-mini-bar { display: inline-block; width: 80px; height: 8px; background: #f0f3f8; border-radius: 4px; overflow: hidden; vertical-align: middle; margin-right: 6px; }
.rc-mini-bar > i { display: block; height: 100%; background: #1e8449; }
.rc-kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 8px 18px; background: #f7f9fc; border-radius: 6px; padding: 12px 14px; }
.rc-kv > div { display: flex; gap: 8px; font-size: 13px; }
.rc-kv > div > span { color: #8a94a6; flex-shrink: 0; width: 72px; }
.rc-kv > div > b { color: #333; font-weight: 600; word-break: break-all; }
.rc-sec { margin-top: 16px; }
.rc-sec h4 { font-size: 13px; color: var(--primary); margin-bottom: 8px; }
.rc-btnrow { display: flex; flex-wrap: wrap; gap: 8px; }
.rc-timeline { border-left: 2px solid #e3e8ef; padding-left: 14px; }
.rc-tl-item { margin-bottom: 12px; }
.rc-tl-time { font-size: 12px; color: #8a94a6; }
.rc-tl-text { font-size: 13px; color: #333; line-height: 1.8; margin-top: 2px; }
.rc-dict-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.rc-dict-card { background: #fff; border: 1px solid #e3e8ef; border-radius: 8px; padding: 16px 18px; }
.rc-dict-card h4 { font-size: 13px; color: var(--primary); margin-bottom: 10px; }
.rc-dict-card ul { margin-bottom: 10px; }
.rc-dict-card li { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #333; padding: 5px 0; border-bottom: 1px dashed #eef2f7; }
.rc-mask { display: none; position: fixed; inset: 0; background: rgba(7,41,77,.5); z-index: 200; align-items: flex-start; justify-content: center; overflow: auto; padding: 34px 16px; }
.rc-mask.show { display: flex; }
.rc-box { width: 560px; max-width: 100%; background: #fff; border-radius: 10px; padding: 0 0 16px; }
.rc-box.rc-box-wide { width: 880px; }
.rc-box-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid #eef2f7; }
.rc-box-head h3 { font-size: 15px; color: var(--primary); }
.rc-box-close { cursor: pointer; color: #8a94a6; font-size: 16px; line-height: 1; }
.rc-box-body { padding: 18px 22px; max-height: 62vh; overflow: auto; }
.rc-box-foot { padding: 0 22px; text-align: right; }
.rc-box-foot .rbac-btn { margin-left: 8px; }
.rc-toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px); background: #2f3b4d; color: #fff; font-size: 13px; padding: 9px 20px; border-radius: 18px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 300; }
.rc-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.rc-toast.ok { background: #1e8449; }

/* 详情字段表（表1 全部字段） */
.kv-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.kv-table th, .kv-table td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; word-break: break-all; line-height: 1.8; }
.kv-table th { background: #f5f8fc; color: var(--primary); width: 132px; white-space: nowrap; font-weight: 500; }
.kv-table td { color: var(--text); }
.kv-empty { color: #bbb; }

/* 批量导入弹窗 */
.ci-mask { position: fixed; inset: 0; background: rgba(7,41,77,.5); z-index: 110; display: none; align-items: flex-start; justify-content: center; overflow: auto; padding: 30px 0; }
.ci-mask.show { display: flex; }
.ci-box { background: #fff; border-radius: 10px; width: 860px; max-width: 95%; padding: 22px 26px; box-shadow: 0 18px 50px rgba(7,41,77,.28); }
.ci-box h3 { font-size: 16px; color: var(--primary); border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 12px; }
.ci-tip { font-size: 12px; color: #8a94a6; line-height: 1.9; background: #f7f9fc; border: 1px dashed #d5dde7; border-radius: 6px; padding: 10px 12px; }
.ci-tools { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 10px; }
.ci-box textarea { width: 100%; height: 150px; border: 1px solid #d5dde7; border-radius: 6px; padding: 8px 10px; font-size: 12px; font-family: Consolas, Menlo, monospace; box-sizing: border-box; resize: vertical; }
.ci-box textarea:focus { outline: none; border-color: var(--primary-light); }
.ci-foot { text-align: right; margin-top: 14px; }
.ci-foot .rbac-btn { margin-left: 8px; }
.ci-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 10px; }
.ci-table th, .ci-table td { border: 1px solid var(--border); padding: 6px 8px; text-align: left; }
.ci-table th { background: #f5f8fc; color: var(--primary); white-space: nowrap; }
.ci-bad td { background: #fdecea; }
.ci-ok { color: #1e8449; }
.ci-err { color: var(--red); }

/* ===== 认证资质页：单列大图 + 放大按钮 ===== */
.qual-grid { display: grid; grid-template-columns: 1fr; gap: 26px; max-width: 780px; margin: 0 auto; }
.qual-card-img { cursor: zoom-in; }
.qual-card-img img { max-height: 70vh; object-fit: contain; margin: 0 auto; }
.qual-zoom-btn {
  margin-top: 12px; background: var(--primary); color: #fff; border: none; border-radius: 6px;
  padding: 9px 24px; font-size: 13px; cursor: pointer; font-family: inherit;
}
.qual-zoom-btn:hover { background: var(--primary-light); }

/* ===== 获证企业查询：提示与必填标记 ===== */
.search-form .req { color: var(--red); }
.search-tip { font-size: 13px; min-height: 20px; margin-top: 4px; color: var(--red); }
.search-tip.ok { color: var(--green); }
.search-note { font-size: 12px; color: var(--text-light); line-height: 1.9; margin-top: 8px; }

/* ===== 后台：企业简介管理 ===== */
.intro-editor { border: 1px solid var(--border); border-radius: 8px; padding: 16px; background: #fbfcfe; }
.intro-editor textarea {
  width: 100%; min-height: 240px; border: 1px solid #c9d4e0; border-radius: 6px;
  padding: 10px 12px; font-size: 14px; line-height: 1.9; font-family: inherit; box-sizing: border-box; resize: vertical;
}
.intro-editor textarea:focus { outline: none; border-color: var(--primary-light); }
.intro-counter { font-size: 12px; color: var(--text-light); margin-top: 8px; }
.intro-counter b { color: var(--primary); }
.intro-counter.over { color: var(--red); }
.intro-counter.over b { color: var(--red); }
.intro-preview { margin-top: 16px; border: 1px dashed var(--border); border-radius: 8px; padding: 14px 16px; background: #fff; }
.intro-preview h4 { font-size: 13px; color: var(--primary); font-weight: 500; margin-bottom: 8px; }
.intro-preview p { font-size: 13px; line-height: 2; color: #444; margin-bottom: 8px; }
.intro-preview p:last-child { margin-bottom: 0; }

/* ============================================================
   全站框架改版：信息分层（分组下拉导航 / 业务导航条 / 新版首页 / 深色多栏页脚）
   ============================================================ */

/* ---- 分组下拉导航 ---- */
.nav-menu { align-items: stretch; }
.nav-group { position: relative; display: flex; }
.nav .nav-link {
  color: #fff; padding: 0 18px; height: 46px; line-height: 46px;
  font-size: 15px; display: block; position: relative; white-space: nowrap;
}
.nav .nav-link:hover, .nav .nav-link.active { background: var(--primary-light); }
.nav .nav-link.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 3px; background: var(--accent);
}
.nav-caret {
  display: inline-block; width: 0; height: 0; margin-left: 7px; vertical-align: middle;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, .8);
}
.nav-drop {
  position: absolute; top: 100%; left: 0; min-width: 178px;
  background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--accent);
  border-radius: 0 0 8px 8px; box-shadow: 0 10px 26px rgba(7, 41, 77, .16);
  padding: 6px 0; z-index: 1200;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-group:hover .nav-drop, .nav-group.open .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .nav-drop a {
  display: block; height: auto; line-height: 1.6; padding: 10px 18px;
  font-size: 14px; color: var(--text); border-bottom: none;
}
.nav .nav-drop a:hover { background: #f0f5fb; color: var(--primary); }
.nav .nav-drop a.drop-active { background: #f6f9fd; color: var(--primary); font-weight: 500; }

/* ---- 业务大类导航条 ---- */
.bizbar { background: #eef3f9; border-bottom: 1px solid var(--border); }
.bizbar .container { display: flex; }
.bizbar .biz-item {
  flex: 1; text-align: center; padding: 12px 8px; text-decoration: none;
  border-right: 1px solid #dfe7f0; transition: background .2s;
}
.bizbar .biz-item:first-child { border-left: 1px solid #dfe7f0; }
.bizbar .biz-item b { display: block; font-size: 15px; color: var(--primary); font-weight: 500; }
.bizbar .biz-item span { display: block; font-size: 12px; color: var(--text-light); margin-top: 3px; }
.bizbar .biz-item:hover { background: #fff; }
.bizbar .biz-item:hover b { color: var(--primary-light); }

/* ---- 首页：新闻中心 + 快捷查询 ---- */
.home-row { display: grid; grid-template-columns: 1fr 372px; gap: 24px; margin-top: 24px; }
.news-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.news-tabs button {
  background: none; border: none; font-family: inherit; font-size: 14px; cursor: pointer;
  color: var(--text-light); padding: 8px 14px; margin-bottom: -1px;
  border-bottom: 2px solid transparent;
}
.news-tabs button.active { color: var(--primary); border-bottom-color: var(--accent); font-weight: 500; }
.quick-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quick-item {
  display: block; text-decoration: none; text-align: center;
  border: 1px solid var(--border); border-radius: 8px; padding: 16px 8px; background: #fbfcfe;
  transition: border-color .2s, box-shadow .2s;
}
.quick-item .qi-icon { font-size: 22px; line-height: 1; }
.quick-item b { display: block; font-size: 14px; color: var(--primary); font-weight: 500; margin: 8px 0 3px; }
.quick-item span { font-size: 12px; color: var(--text-light); }
.quick-item:hover { border-color: var(--primary); background: #fff; box-shadow: 0 4px 14px rgba(12, 61, 110, .1); }

/* ---- 首页：认证业务矩阵 ---- */
.biz-matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.biz-col { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.biz-col-head { background: var(--primary); color: #fff; padding: 13px 16px; }
.biz-col-head b { display: block; font-size: 15px; font-weight: 500; }
.biz-col-head span { display: block; font-size: 11px; color: #b8c9dd; margin-top: 3px; }
.biz-col ul { padding: 10px 16px 14px; }
.biz-col li { border-bottom: 1px dashed var(--border); }
.biz-col li:last-child { border-bottom: none; }
.biz-col li a { display: block; padding: 7px 0 7px 12px; font-size: 13px; color: var(--text); position: relative; }
.biz-col li a::before { content: ""; position: absolute; left: 0; top: 14px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.biz-col li a:hover { color: var(--primary); }

/* ---- 首页：客户服务中心 ---- */
.srv-entries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.srv-entry {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.srv-entry .se-icon {
  width: 44px; height: 44px; border-radius: 50%; background: #eef3f9; color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.srv-entry b { display: block; font-size: 14px; color: var(--primary); font-weight: 500; }
.srv-entry span { display: block; font-size: 12px; color: var(--text-light); margin-top: 3px; }
.srv-entry:hover { border-color: var(--primary); box-shadow: 0 4px 14px rgba(12, 61, 110, .1); }

/* ---- 深色多栏页脚 ---- */
.footer .foot-main { display: flex; gap: 46px; text-align: left; padding: 34px 0 26px; }
.footer .foot-brand { width: 262px; flex-shrink: 0; }
.footer .foot-brand .fb-name { font-size: 16px; color: #fff; font-weight: 500; margin-bottom: 12px; }
.footer .foot-brand p { line-height: 2; color: #8fa8c4; }
.footer .foot-cols { display: flex; flex: 1; gap: 26px; }
.footer .foot-col { flex: 1; }
.footer .foot-col h4 { font-size: 13px; color: #fff; font-weight: 500; letter-spacing: 1px; margin-bottom: 12px; }
.footer .foot-col a { display: block; color: #8fa8c4; font-size: 12px; margin-bottom: 8px; }
.footer .foot-col a:hover { color: var(--accent); }
.footer .foot-bottom { text-align: center; border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 0 2px; line-height: 2; }

/* ---- 新框架响应式 ---- */
@media (max-width: 1100px) {
  .home-row { grid-template-columns: 1fr 320px; }
  .biz-matrix, .srv-entries { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-group { display: block; }
  .nav .nav-link { padding: 0 16px; }
  .nav .nav-link.active::after { left: 10px; right: 10px; }
  .nav-drop {
    position: static; opacity: 1; visibility: visible; transform: none; transition: none;
    box-shadow: none; border: none; border-radius: 0; background: rgba(255, 255, 255, .07);
    padding: 0; display: none;
  }
  .nav-group.open .nav-drop { display: block; }
  .nav .nav-drop a { color: #cfe0f2; padding: 0 28px; height: 42px; line-height: 42px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav .nav-drop a:hover, .nav .nav-drop a.drop-active { background: rgba(255, 255, 255, .1); color: #fff; }
  .nav-caret { float: right; margin-top: 20px; }
  .bizbar .container { flex-wrap: wrap; }
  .bizbar .biz-item { flex: 0 0 50%; border-bottom: 1px solid #dfe7f0; }
  .home-row { grid-template-columns: 1fr; }
  .footer .foot-main { flex-direction: column; gap: 24px; }
  .footer .foot-brand { width: auto; }
  .footer .foot-cols { flex-wrap: wrap; gap: 20px; }
  .footer .foot-col { flex: 0 0 45%; }
}
@media (max-width: 600px) {
  .biz-matrix, .srv-entries { grid-template-columns: 1fr; }
  .footer .foot-col { flex: 0 0 100%; }
}

/* ---- 公司简介详情页 ---- */
.about-banner {
  position: relative; height: 260px; background-size: cover; background-position: center;
  background-image: linear-gradient(120deg, #07294d, #0c3d6e 55%, #185fa5);
  display: flex; align-items: center;
}
.about-banner.has-img::after { content: ""; position: absolute; inset: 0; background: rgba(7, 41, 77, .42); }
.about-banner-inner { position: relative; z-index: 2; color: #fff; width: 100%; }
.about-banner h1 { font-family: var(--font-serif); font-size: 34px; font-weight: 500; letter-spacing: 6px; margin-bottom: 12px; }
.about-banner p { font-size: 15px; color: #cfdcec; letter-spacing: 2px; }

.about-page { padding: 26px 40px 40px; }
.about-h2 {
  font-size: 20px; color: var(--primary); font-weight: 700;
  padding-left: 12px; border-left: 4px solid var(--accent);
  margin: 26px 0 16px;
}
.about-h2:first-child { margin-top: 4px; }
.about-page > p { font-size: 14px; line-height: 2.1; color: #444; text-indent: 2em; margin-bottom: 14px; }
.about-page > p.about-lead { text-indent: 0; color: var(--text-light); }

.biz-block { border: 1px solid var(--border); border-radius: 8px; padding: 18px 22px 16px; margin-bottom: 16px; background: #fbfcfe; }
.biz-block h3 { font-size: 16px; color: var(--primary); font-weight: 500; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.biz-no {
  width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff;
  font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.biz-sub { font-size: 13px; color: var(--text-light); margin-bottom: 10px; }
.biz-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.biz-tags li {
  font-size: 13px; color: var(--primary); background: #eef3f9;
  border: 1px solid #dbe6f2; border-radius: 4px; padding: 5px 12px;
}
.biz-more { font-size: 13px; color: var(--text-light); margin-top: 10px; }

/* ---- 首页：可点击的栏目标题 ---- */
.section-title h2 a { color: inherit; }
.section-title h2 a:hover { color: var(--primary-light); }

@media (max-width: 768px) {
  .about-banner { height: 180px; }
  .about-banner h1 { font-size: 24px; letter-spacing: 3px; }
  .about-page { padding: 20px 16px 26px; }
  .biz-tags { gap: 6px; }
}

/* ---- 后台：企业简介 Banner 维护 ---- */
.intro-banner-box { border: 1px solid var(--border); border-radius: 8px; padding: 16px 18px; margin-bottom: 20px; background: #fbfcfe; }
.ib-title { font-size: 14px; color: var(--primary); font-weight: 500; margin-bottom: 12px; }
.ib-row { display: flex; gap: 20px; align-items: flex-start; }
.ib-preview {
  width: 320px; height: 76px; flex-shrink: 0; border: 1px dashed #c9d4e0; border-radius: 6px;
  background: #f4f6f9; display: flex; align-items: center; justify-content: center;
  overflow: hidden; color: #8a94a6; font-size: 12px; text-align: center; line-height: 1.7;
}
.ib-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ib-fields { flex: 1; min-width: 0; }
.ib-tip { font-size: 12px; color: #8a94a6; margin-top: 6px; }
.ib-actions { margin-top: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ib-updated { font-size: 12px; color: #8a94a6; }

/* ---- 后台：轮播图管理 ---- */
.sl-thumb { width: 108px; height: 42px; border-radius: 4px; overflow: hidden; background: #eef1f6; }
.sl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sl-thumb-color { display: flex; align-items: center; justify-content: center; }
.sl-thumb-color span { color: #fff; font-size: 11px; }
.sl-sub { font-size: 12px; color: #8a94a6; margin-top: 3px; }
.sl-edit-img {
  width: 100%; height: 96px; border: 1px dashed #c9d4e0; border-radius: 6px; background: #f4f6f9;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  color: #8a94a6; font-size: 12px;
}
.sl-edit-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .ib-row { flex-direction: column; }
  .ib-preview { width: 100%; height: 110px; }
}

/* =========================================================================
   后台：认证业务管理（biz-admin.html）
   ========================================================================= */
.bz-form { display: flex; flex-direction: column; gap: 10px; }
.bz-frow { display: flex; align-items: flex-start; gap: 12px; }
.bz-frow > label {
  width: 92px; flex-shrink: 0; text-align: right; font-size: 13px; color: #5b6b80;
  line-height: 34px;
}
.bz-frow > input, .bz-frow > select, .bz-frow > textarea, .bz-frow > .bz-imgprev {
  flex: 1; min-width: 0; height: 34px; border: 1px solid #c9d4e0; border-radius: 5px;
  padding: 0 10px; font-size: 13px; font-family: inherit; background: #fff; box-sizing: border-box;
}
.bz-frow > textarea { height: auto; min-height: 64px; padding: 8px 10px; line-height: 1.75; resize: vertical; }
.bz-frow > .bz-imgprev {
  height: auto; min-height: 34px; border-style: dashed; background: #f8fafc;
  display: flex; align-items: center; justify-content: center; padding: 8px;
  font-size: 12px; color: #8a94a6; overflow: hidden;
}
.bz-frow > .bz-imgprev img { max-height: 120px; max-width: 100%; border-radius: 4px; display: block; }

.bz-sec { border: 1px solid #e3e8ef; border-radius: 8px; margin-bottom: 12px; background: #fbfcfe; }
.bz-sec-h {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px; background: #eef3f9; border-bottom: 1px solid #e3e8ef;
  border-radius: 8px 8px 0 0;
}
.bz-sec-n {
  width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; text-align: center; line-height: 20px; flex-shrink: 0;
}
.bz-sec-h b { font-size: 13px; color: var(--primary); }
.bz-sec-t { font-size: 11px; color: #8a94a6; background: #fff; border-radius: 8px; padding: 1px 8px; }
.bz-sec-ops { margin-left: auto; }
.bz-sec > .bz-form { padding: 14px; }
.bz-sec .bz-frow > label { width: 76px; }

/* =========================================================================
   后台：目录菜单展开 / 折叠（招聘管理、认证业务管理、系统设置）
   ========================================================================= */
.admin-side .menu-dir { position: relative; user-select: none; }
.admin-side .menu-dir .dir-arrow {
  margin-left: 8px; color: #8fa8c4; font-size: 10px; line-height: 1;
  transition: transform .18s ease; transform: rotate(-90deg);
}
.admin-side .menu-dir.open .dir-arrow { transform: rotate(0deg); color: var(--primary); }
.admin-side .menu-dir.active { background: #e8f0fa; color: var(--primary); border-left-color: var(--primary); font-weight: 500; }
.admin-side .menu-dir.open { background: #f4f8fd; }
.admin-side .menu-count {
  margin-left: auto; font-size: 11px; color: #8a94a6; background: #eef2f7;
  border-radius: 8px; padding: 0 6px; line-height: 16px;
}
.admin-side .menu-dir.open .menu-count,
.admin-side .menu-dir.active .menu-count { background: #dce9f6; color: #0c3d6e; }
.menu-subs { display: none; }
.menu-subs.open { display: block; }

/* =========================================================================
   后台：主框架铺满可视区（去掉外框与标题栏，修「页面显示不全」）
   ========================================================================= */
.admin-main.frame-mode { padding: 0; }
.frame-host {
  height: calc(100vh - 56px);
  display: flex; flex-direction: column;
  background: #f4f6f9; overflow: hidden;
}
.frame-host iframe {
  flex: 1 1 auto; width: 100%; height: 100%;
  border: 0; border-radius: 0; display: block; background: #f4f6f9;
}

/* 招聘 / 系统管理内嵌：表格允许横向滚动，避免列被裁掉 */
.rc-scroll { width: 100%; overflow-x: auto; }
.rc-scroll > .result-table { min-width: 100%; }

/* =========================================================================
   前台：认证业务（列表页 biz.html / 详情页 biz-detail.html）
   ========================================================================= */
.biz-layout { display: grid; grid-template-columns: 226px 1fr; gap: 22px; align-items: start; }
.biz-side {
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 0; position: sticky; top: 12px;
}
.biz-side-h {
  font-size: 15px; color: #fff; background: var(--primary); font-weight: 500;
  padding: 12px 18px; border-radius: 8px 8px 0 0; margin: -6px 0 6px;
}
.biz-side a, .biz-side .biz-side-item {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 18px; font-size: 14px; color: var(--text);
  border-left: 3px solid transparent; cursor: pointer;
}
.biz-side a:hover, .biz-side .biz-side-item:hover { background: #f0f5fb; color: var(--primary); }
.biz-side .biz-side-item.active { background: #e8f0fa; color: var(--primary); border-left-color: var(--primary); font-weight: 600; }
.biz-side .biz-side-item .bs-icon { width: 18px; text-align: center; }
.biz-side .biz-side-item .bs-n { margin-left: auto; font-size: 12px; color: #8a94a6; }
.biz-side .biz-side-item.active .bs-n { color: #185fa5; }
/* 详情页左侧：内容分区目录 */
.biz-side .biz-sec-item {
  display: block; padding: 12px 18px 12px 30px; font-size: 14px; color: var(--text);
  border-left: 3px solid transparent; cursor: pointer; position: relative;
}
.biz-side .biz-sec-item::before {
  content: ""; position: absolute; left: 16px; top: 18px;
  width: 5px; height: 5px; border-radius: 50%; background: #c3d2e2;
}
.biz-side .biz-sec-item:hover { background: #f0f5fb; color: var(--primary); }
.biz-side .biz-sec-item.active { background: #e8f0fa; color: var(--primary); border-left-color: var(--primary); font-weight: 600; }
.biz-side .biz-sec-item.active::before { background: var(--primary); }
.biz-side-foot { border-top: 1px dashed var(--border); margin-top: 6px; padding: 12px 18px 8px; font-size: 12px; color: var(--text-light); line-height: 1.9; }

.biz-main { min-width: 0; }
.biz-hero {
  background: linear-gradient(135deg, #0c3d6e 0%, #185fa5 100%);
  color: #fff; border-radius: 8px; padding: 26px 30px; margin-bottom: 20px;
}
.biz-hero h1 { font-family: var(--font-serif); font-size: 24px; font-weight: 600; letter-spacing: .5px; }
.biz-hero .bh-en { font-size: 12px; color: #a9c4de; letter-spacing: 1px; margin-top: 6px; text-transform: uppercase; }
.biz-hero .bh-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.biz-hero .bh-meta span {
  font-size: 12px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  border-radius: 4px; padding: 3px 10px;
}
.biz-hero .bh-crumb { font-size: 12px; color: #b8c9dd; margin-bottom: 10px; }
.biz-hero .bh-crumb a { color: #dbe8f5; }

/* 列表页：按一级目录分组 */
.biz-group { margin-bottom: 26px; }
.biz-group-h {
  display: flex; align-items: baseline; gap: 10px;
  border-bottom: 2px solid var(--primary); padding-bottom: 9px; margin-bottom: 14px;
}
.biz-group-h b { font-size: 17px; color: var(--primary); }
.biz-group-h span { font-size: 12px; color: var(--text-light); letter-spacing: .5px; }
.biz-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.biz-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: 8px; padding: 16px 18px;
  background: #fbfcfe; transition: box-shadow .15s ease, transform .15s ease;
}
.biz-card:hover { box-shadow: 0 4px 14px rgba(12,61,110,.10); transform: translateY(-2px); }
.biz-card b { font-size: 15px; color: var(--primary); line-height: 1.5; }
.biz-card .bc-en { font-size: 11px; color: #9aa9bb; letter-spacing: .6px; margin-top: 3px; }
.biz-card .bc-std { font-size: 12px; color: #5b6b80; margin-top: 9px; line-height: 1.7; }
.biz-card .bc-more { margin-top: auto; padding-top: 12px; font-size: 12px; color: var(--primary); }
.biz-card .bc-more::after { content: " →"; }

/* 详情页内容区 */
.biz-sec { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 24px 28px; }
.biz-sec-h {
  font-size: 17px; color: var(--primary); font-weight: 600;
  padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid #eef2f7;
  display: flex; align-items: center; gap: 9px;
}
.biz-sec-h::before { content: ""; width: 4px; height: 16px; background: var(--accent); border-radius: 2px; }
.biz-sec p.biz-text { font-size: 14px; line-height: 2.05; color: #444; text-align: justify; }
.biz-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 22px; }
.biz-bullets li {
  font-size: 14px; color: #444; line-height: 1.9; padding-left: 16px; position: relative;
}
.biz-bullets li::before {
  content: ""; position: absolute; left: 2px; top: 11px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--primary-light);
}
.biz-steps { counter-reset: bs; }
.biz-steps li {
  counter-increment: bs; position: relative;
  padding: 11px 0 11px 46px; border-bottom: 1px dashed var(--border);
  font-size: 14px; color: #444; line-height: 1.8;
}
.biz-steps li:last-child { border-bottom: none; }
.biz-steps li::before {
  content: counter(bs); position: absolute; left: 0; top: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  background: #e8f0fa; color: var(--primary); font-size: 13px; font-weight: 700;
  text-align: center; line-height: 28px;
}
.biz-steps li::after {
  content: ""; position: absolute; left: 13.5px; top: 38px; bottom: -1px;
  width: 1px; background: #dbe6f2;
}
.biz-steps li:last-child::after { display: none; }
.biz-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.biz-table th {
  background: #eef3f9; color: var(--primary); font-weight: 600;
  padding: 10px 12px; border: 1px solid #dbe4ee; text-align: left; white-space: nowrap;
}
.biz-table td { padding: 10px 12px; border: 1px solid #e6ecf3; color: #444; line-height: 1.75; vertical-align: top; }
.biz-table tbody tr:nth-child(even) td { background: #fafcfe; }
.biz-figure { text-align: center; }
.biz-figure img {
  max-width: 460px; width: 100%; border: 1px solid #e6ecf3; border-radius: 6px;
  padding: 8px; background: #fff; box-shadow: 0 2px 10px rgba(12,61,110,.07);
}
.biz-figure figcaption { font-size: 12px; color: var(--text-light); margin-top: 10px; line-height: 1.8; }
.biz-empty-figure {
  border: 1px dashed #c9d4e0; border-radius: 6px; background: #f8fafc;
  padding: 42px 20px; color: #8a94a6; font-size: 13px; text-align: center; line-height: 2;
}
.biz-other { margin-top: 22px; }
.biz-other h4 { font-size: 14px; color: var(--primary); margin-bottom: 12px; }
.biz-other ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 18px; }
.biz-other li a { font-size: 13px; color: #4a6a8c; }
.biz-other li a:hover { color: var(--primary); text-decoration: underline; }
.biz-cta { margin-top: 20px; text-align: center; }
.biz-cta .btn { margin: 0 6px; }

@media (max-width: 1100px) {
  .biz-cards, .biz-other ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .biz-layout { grid-template-columns: 1fr; }
  .biz-side { position: static; }
  .biz-cards, .biz-other ul { grid-template-columns: 1fr; }
  .biz-bullets { grid-template-columns: 1fr; }
}

