/* ============ 洗消汇 - 全站样式 ============ */
:root {
  --primary: #0A2558;
  --secondary: #1E5FBF;
  --accent: #FF6B35;
  --bg: #F5F7FA;
  --text: #1F2937;
  --muted: #6B7280;
  --white: #FFFFFF;
  --success: #10B981;
  --danger: #EF4444;
  --border: #E5E7EB;
  --shadow: 0 2px 8px rgba(10, 37, 88, 0.08);
  --shadow-lg: 0 8px 24px rgba(10, 37, 88, 0.14);
  --radius: 8px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: clamp(14px, 0.55vw + 12.5px, 16px); }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text); background: var(--white); font-size: 1rem; line-height: 1.7;
  min-width: 320px;
}
a { color: var(--secondary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
/* 前台主容器（v6.18.7，2026-09-17）：老板反馈「前台显示太满」。
   原 max-width:min(1440px,97vw) 在 1920 屏占 75%、距边仅 264px；且窗口<1485px 时 97vw
   令留白骤降到 ~20px。改为 1280px 版心 + 92vw 上限 + 更大的左右内边距，
   保证任何窗口宽度下左右都有明显留白（参考仪器信息网的版心留白感）。后台不用此容器，满屏不变。 */
.container { max-width: min(1280px, 92vw); margin: 0 auto; padding: 0 clamp(18px, 2.6vw, 40px); }

h1 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 700; line-height: 1.3; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; }
h3 { font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 500; }

/* ---------- 顶部导航 ---------- */
header.site-header {
  background: #fff; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow);
}
.nav-wrap { position: relative; display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; font-size: 24px; font-weight: 700; color: var(--primary); white-space: nowrap; letter-spacing: 1px; text-decoration: none; }
/* 2026-10-17 #168：站标改成图片字标（字标-横版）。48px 高＝中文字 34px、英文副标 10px，
   在 68px 的头部里上下各留 10px；宽度按原图比例 2.314:1 自动（≈111px）。
   ⛔ 别写死 width，窄屏时只改 height，比例才不会变形。 */
.logo img { display: block; height: var(--logo-h, 48px); width: auto; max-width: none; }
.logo { flex-shrink: 0; }
.logo:focus-visible { outline: 2px solid var(--secondary); outline-offset: 4px; border-radius: 4px; }
nav.main-nav { display: flex; gap: 4px; align-items: center; justify-content: center; position: absolute; left: 50%; transform: translateX(-50%); }
nav.main-nav > a,
.nav-item-dd > a {
  padding: 8px 10px; color: var(--text); font-size: 1rem; border-radius: 6px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px; text-decoration: none;
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}
nav.main-nav > a:hover, nav.main-nav > a.active,
.nav-item-dd > a:hover, .nav-item-dd > a.active {
  color: var(--accent);
}
.caret { font-size: 11px; opacity: .7; margin-top: 1px; }
.nav-item-dd { position: relative; }
.dd-panel {
  position: absolute; top: 100%; left: 0; min-width: 200px; padding: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 12px 28px rgba(10,37,88,.16); opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  z-index: 200; display: grid; gap: 2px;
}
.nav-item-dd:hover .dd-panel,
.nav-item-dd:focus-within .dd-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-panel a {
  display: block; padding: 8px 12px; border-radius: 6px; font-size: 14px; color: var(--text); white-space: nowrap;
}
.dd-panel a:hover { background: rgba(30,95,191,.08); color: var(--secondary); }
.nav-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.nav-actions .btn { padding: 6px 14px; font-size: 0.875rem; }
/* 2026-09-14 v6.11.2（老板：「查看前台需要在前台显示昵称」）：
   前台页头登录态显示账号昵称（口径同后台顶栏 nickname → display_name → company → email）。
   超管态专用「身份牌」——它**不是链接**（见 common.js renderHeader 注释：v6.7 特意收敛掉了
   门户上的后台入口），所以做成浅灰圆角片，别和右侧动作按钮抢视觉。 */
.nav-me {
  display: inline-flex; align-items: center; height: 31px; padding: 0 12px;
  border-radius: 999px; background: #EEF2F7; color: #334155;
  font-size: 13px; font-weight: 600; max-width: 150px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hamburger { display: none; background: none; border: none; font-size: 26px; color: var(--primary); }

/* 2026-09-10：宽屏(≥1024px)主导航改为正常流内项，不再绝对定位居中。
   原 left:50%+translateX(-50%) 使导航脱离文档流，不与右侧 nav-actions 避让：
   登录后按钮变宽（超管 3 个按钮合计 394px）时直接压在一起 ——
   实测 1440px 重叠 54px、1280px 重叠 182px、1024px 重叠 262px（笔电常见档位）。
   改为 flex:1 + 自身居中后，导航占据 logo 与按钮之间的剩余空间，天然不重叠且视觉仍居中。 */
@media (min-width: 1024px) {
  nav.main-nav {
    position: static; left: auto; transform: none;
    flex: 1 1 auto; min-width: 0; justify-content: center;
  }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 10px 22px; border-radius: var(--radius); border: none;
  font-size: 15px; font-weight: 500; transition: all .25s var(--ease); text-align: center; line-height: 1.5;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #e55a28; color: #fff; transform: scale(1.02); box-shadow: 0 6px 16px rgba(255,107,53,.35); }
.btn-blue { background: var(--secondary); color: #fff; }
.btn-blue:hover { background: #174b99; color: #fff; transform: scale(1.02); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { background: #fff; color: var(--secondary); border: 1px solid var(--secondary); }
.btn-outline:hover { background: var(--secondary); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 6px; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #0b9e6d; color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #d32f2f; color: #fff; }
.btn-grey { background: #e5e7eb; color: var(--muted); }
.btn-grey:hover { background: #d1d5db; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #0A2558 0%, #123a85 55%, #1E5FBF 100%);
  color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.08) 0, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(30,95,191,.35) 0, transparent 45%),
    repeating-linear-gradient(115deg, transparent 0 60px, rgba(255,255,255,.03) 60px 62px);
}
.hero .container { position: relative; z-index: 1; text-align: center; }
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero .sub { font-size: 18px; color: #cdd8ee; margin-bottom: 36px; letter-spacing: 1px; }
.hero-search { display: flex; max-width: 640px; margin: 0 auto 28px; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-search input { flex: 1; padding: 15px 20px; border: none; font-size: 16px; outline: none; }
.hero-search button { padding: 0 34px; background: var(--accent); color: #fff; border: none; font-size: 16px; font-weight: 500; }
.hero-search button:hover { background: #e55a28; }
.hero-cta { display: flex; gap: 14px; justify-content: center; }
.hero-stats { display: flex; gap: 56px; justify-content: center; margin-top: 52px; }
.hero-stats .num { font-size: 30px; font-weight: 700; color: #fff; }
.hero-stats .lbl { font-size: 13px; color: #9fb4d8; }

/* ---------- 区块 ---------- */
.section { padding: 40px 0; }
.section.alt { background: var(--bg); }
.section-head { text-align: center; margin-bottom: 30px; }
/* 首页板块间距压缩 + 去灰底（老板要求更紧凑、统一白底） */
.home .section { padding: 12px 0; }
.home .section.alt { background: #fff; }
.home .section-head { margin-bottom: 12px; }
.home .hero { padding: 44px 0 50px; }
/* 首页板块标题区上下留白再压缩（2026-09-28 老板反馈「上下留白太多」）
   广告卡底→板块标题 = 0(ad-slot) + 8(ad-band) + 12(section padding-top) ≈ 20px（原 50px）
   标题区内部：h2 行高 1.7→1.3、下间距 10→6px、橙色下标线 14→10px */
.home .ad-slot { margin: 0; }
.home .ad-band { margin: 10px 0 8px; }
.home .section-head h2 { margin-bottom: 6px; line-height: 1.3; }
.home .section-head .line { margin-top: 10px; }
.section-head h2 { color: var(--primary); margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 15px; }
.section-head .line { width: 56px; height: 4px; background: var(--accent); margin: 14px auto 0; border-radius: 2px; }

/* 分类网格 */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px;
  transition: all .3s var(--ease); display: block; color: var(--text); position: relative;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(30,95,191,.4); color: var(--text); }
.cat-card .ico { font-size: 34px; margin-bottom: 14px; }
.cat-card h3 { color: var(--primary); margin-bottom: 8px; }
.cat-card p { color: var(--muted); font-size: 14px; }
.cat-card .cnt { position: absolute; top: 22px; right: 22px; font-size: 12px; color: var(--secondary); background: rgba(30,95,191,.08); padding: 2px 10px; border-radius: 20px; }

/* 行业解决方案卡片（照抄参考站：5×2 网格，顶部实景图 + 三段说明 + 蓝色 CTA） */
.industry-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.industry-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; color: var(--text); text-decoration: none;
  transition: all .3s var(--ease);
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(30,95,191,.3); color: var(--text); }
.industry-card .ind-img {
  height: 130px; background-color: #e8eef7; background-size: cover; background-position: center;
}
.industry-card .ind-body { padding: 14px 14px 12px; flex: 1; }
.industry-card .ind-body h3 { color: var(--primary); font-size: 17px; margin-bottom: 10px; }
.industry-card .ind-row { display: flex; gap: 8px; margin-bottom: 8px; align-items: flex-start; }
.industry-card .ind-row:last-child { margin-bottom: 0; }
.industry-card .ind-ico {
  width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0; margin-top: 1px;
}
.industry-card .ind-ico-green { background: rgba(16,185,129,.12); }
.industry-card .ind-ico-blue { background: rgba(30,95,191,.12); }
.industry-card .ind-ico-orange { background: rgba(255,107,53,.12); }
.industry-card .ind-row b { font-size: 13px; color: var(--primary); display: block; line-height: 1.3; margin-bottom: 2px; }
.industry-card .ind-row p { font-size: 12px; color: var(--muted); line-height: 1.5; }
.industry-card .ind-cta {
  background: var(--primary); color: #fff; text-align: center; padding: 10px 12px;
  font-size: 13px; font-weight: 500; transition: background .2s;
}
.industry-card:hover .ind-cta { background: var(--secondary); }

/* 产品卡片 */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: all .3s var(--ease); display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card .thumb {
  height: 170px; background: linear-gradient(160deg, #eef3fb, #dde7f5); display: flex; align-items: center; justify-content: center;
  font-size: 52px; color: #7d9bc9;
}
.product-card .body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-card h3 { font-size: 16px; font-weight: 600; line-height: 1.45; }
.product-card h3 a { color: var(--text); }
.product-card h3 a:hover { color: var(--secondary); }
.product-card .brand { font-size: 13px; }
.product-card .brand a { color: var(--secondary); font-weight: 500; }
.product-card .scenes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag { font-size: 12px; color: var(--muted); background: var(--bg); border-radius: 4px; padding: 2px 8px; }
.tag-blue { color: var(--secondary); background: rgba(30,95,191,.08); }

/* 通用卡片 */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.solution-card { transition: all .3s var(--ease); display: block; color: var(--text); }
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.solution-card .cover { height: 150px; border-radius: var(--radius) var(--radius) 0 0; display: flex; align-items: center; justify-content: center; font-size: 44px; color: #7d9bc9; background: linear-gradient(160deg, #eef3fb, #dde7f5); }
.solution-card h3 { margin: 14px 0 8px; }
.solution-card p { color: var(--muted); font-size: 14px; }

/* 平台优势 */
.adv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; text-align: center; }
.adv-grid .ico {
  width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(30,95,191,.12), rgba(10,37,88,.12));
  display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.adv-grid h3 { color: var(--primary); margin-bottom: 6px; }
.adv-grid p { color: var(--muted); font-size: 14px; }

/* 列表页布局 */
.page-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
/* 网格子项默认 min-width:auto（= min-content），会把轨道顶破 → 显式归零 */
.page-layout > * { min-width: 0; }
.sidebar .box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 20px; overflow: hidden; }
.sidebar .box h3 { padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--primary); font-size: 16px; background: var(--bg); }
.sidebar .box a, .sidebar .box .filter-item {
  display: block; padding: 10px 18px; color: var(--text); font-size: 14px; border-left: 3px solid transparent;
}
.sidebar .box a:hover, .sidebar .box a.active { background: rgba(30,95,191,.06); color: var(--secondary); border-left-color: var(--accent); font-weight: 500; }
.filter-item { cursor: pointer; }
.filter-item.active { color: var(--secondary); font-weight: 500; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
.toolbar .search { display: flex; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.toolbar .search input { border: none; padding: 9px 14px; width: 240px; outline: none; }
.toolbar .search button { border: none; background: var(--secondary); color: #fff; padding: 0 18px; }
.result-info { color: var(--muted); font-size: 13px; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* 详情页 */
.detail-hero { background: linear-gradient(135deg, #0A2558, #1E5FBF); color: #fff; padding: 44px 0; }
.detail-hero h1 { font-size: 30px; margin-bottom: 8px; }
.detail-hero .desc { color: #cdd8ee; max-width: 920px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--secondary); }
/* minmax(0,1fr) 而非 1fr：否则主栏 min-content 过宽会把整列撑破容器(响应式溢出主因) */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
@media (max-width: 1023px) { .detail-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
@media (max-width: 767px)  { .detail-layout { gap: 16px; } .spec-table td:first-child { width: 104px; } }
.detail-main .card { margin-bottom: 20px; }
.detail-main h2 { font-size: 22px; color: var(--primary); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid rgba(10,37,88,.08); }
/* 2026-09-10：table-layout:fixed —— 否则某列内容(如公司全称+审核徽章)的 min-content
   会把整张表顶出卡片（member.html 在 375px 实测溢出到 414px）。固定布局 + 允许断行后彻底收敛。 */
.spec-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.spec-table td { padding: 10px 14px; border: 1px solid var(--border); font-size: 14px; overflow-wrap: anywhere; word-break: break-word; }
.spec-table td:first-child { background: var(--bg); color: var(--muted); width: 160px; font-weight: 500; }
.feature-list li { padding: 6px 0 6px 26px; position: relative; color: #374151; }
.feature-list li::before { content: "✔"; position: absolute; left: 0; color: var(--success); font-size: 14px; }
.steps li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--border); }
.steps li:last-child { border-bottom: none; }
.steps .no { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.steps .meta { font-size: 13px; color: var(--muted); margin-top: 4px; }
.supplier-card { position: sticky; top: 92px; }
.supplier-card .co { font-size: 18px; font-weight: 600; color: var(--primary); margin: 10px 0 4px; }
.supplier-card .row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14px; border-bottom: 1px dashed var(--border); }
.supplier-card .row span:first-child { color: var(--muted); }

/* 资讯/课堂 */
.news-list li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 4px; border-bottom: 1px dashed var(--border); }
.news-list li a { color: var(--text); font-size: 15.5px; flex: 1; }
.news-list li a:hover { color: var(--secondary); }
.news-list .date { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* ============ 资讯详情:来源与查看原文 ============ */
.src-pill { display: inline-block; background: #EEF4FF; color: var(--secondary); font-size: 13px; font-weight: 500; padding: 3px 12px; border-radius: 12px; }
.news-source-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding: 20px 24px; background: linear-gradient(135deg, #F8FAFF, #EEF4FF); border-left: 4px solid var(--secondary); border-radius: 8px; }
.nsb-left { flex: 1; min-width: 0; }
.nsb-label { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; letter-spacing: .5px; }
.nsb-name { font-size: 16px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.nsb-url { font-size: 12.5px; color: var(--muted); word-break: break-all; line-height: 1.5; }
.nsb-right { flex-shrink: 0; }
@media (max-width: 767px) {
  .news-source-box { padding: 16px 18px; }
  .nsb-right { width: 100%; }
  .nsb-right .btn { width: 100%; text-align: center; }
}

/* ============ 资讯速递(首页板块) ============ */
.footer-brand { color: inherit; text-decoration: none; }
.footer-brand:hover { color: var(--secondary); }
.news-feed-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.news-feed-titles h2 { color: var(--primary); margin-bottom: 8px; font-size: 26px; font-weight: 700; }
.news-feed-titles p { color: var(--muted); font-size: 15px; }
.news-feed-more { color: var(--secondary); font-size: 15px; text-decoration: none; font-weight: 500; flex-shrink: 0; padding-top: 6px; }
.news-feed-more i { font-style: normal; margin-left: 2px; transition: transform .2s; display: inline-block; }
.news-feed-more:hover { color: var(--primary); }
.news-feed-more:hover i { transform: translateX(3px); }

.news-feed { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.news-headline { display: flex; align-items: flex-start; gap: 14px; padding: 22px 26px; background: linear-gradient(135deg, #F8FAFF, #EEF4FF); border-left: 4px solid var(--secondary); border-radius: 8px; text-decoration: none; color: var(--text); transition: box-shadow .2s, transform .2s; }
.news-headline:hover { box-shadow: 0 8px 22px rgba(10,37,88,.10); transform: translateY(-2px); }
.news-headline-tag { background: linear-gradient(135deg, #F59E0B, #EF6C00); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 12px; flex-shrink: 0; align-self: flex-start; margin-top: 2px; }
.news-headline-body { flex: 1; min-width: 0; }
.news-headline-body h3 { font-size: 18px; color: var(--primary); margin-bottom: 8px; line-height: 1.5; font-weight: 700; }
.news-headline-body h3:hover { color: var(--secondary); }
.news-headline-body p { color: #4B5563; font-size: 14.5px; line-height: 1.6; margin-bottom: 10px; }
.news-meta { display: flex; gap: 16px; font-size: 13px; color: var(--muted); align-items: center; }
.news-item .news-meta { justify-content: space-between; gap: 12px; margin-top: auto; }
.news-source { color: var(--secondary); font-weight: 500; }

.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.news-item { display: flex; flex-direction: column; padding: 18px 22px; background: #fff; border: 1px solid #E5E9F2; border-radius: 8px; text-decoration: none; color: var(--text); transition: box-shadow .2s, transform .2s, border-color .2s; }
.news-item:hover { box-shadow: 0 6px 18px rgba(10,37,88,.10); transform: translateY(-2px); border-color: #C7D2E5; }
.news-item-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.news-item-head .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); flex-shrink: 0; margin-top: 8px; }
.news-item-head h4 { font-size: 15px; color: var(--primary); line-height: 1.5; font-weight: 600; flex: 1; }
.news-item-head h4:hover { color: var(--secondary); }
.news-item p { color: #6B7280; font-size: 13.5px; line-height: 1.6; margin-bottom: 10px; flex: 1; }

@media (max-width: 1199px) { .news-headline-body h3 { font-size: 17px; } .news-headline { padding: 18px 22px; } }
@media (max-width: 1023px) { .news-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
@media (max-width: 767px) {
  .news-feed-head { flex-direction: column; gap: 10px; }
  .news-feed-more { align-self: flex-end; }
  .news-headline { padding: 16px 18px; gap: 10px; }
  .news-headline-tag { font-size: 11px; padding: 3px 10px; }
  .news-headline-body h3 { font-size: 16px; }
  .news-headline-body p { font-size: 13.5px; }
  .news-item { padding: 14px 16px; }
  .news-item-head h4 { font-size: 14px; }
}
.article { max-width: 920px; margin: 0 auto; }
.article h2 { margin: 18px 0 12px; font-size: 22px; color: var(--primary); }
.article p { margin-bottom: 14px; color: #374151; }
.article .meta { color: var(--muted); font-size: 13px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }

/* 表单 */
.form-card { max-width: 560px; margin: 0 auto; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--text); }
.form-group label .req { color: var(--danger); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius); outline: none; transition: border .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(30,95,191,.1); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.otp-row { display: flex; gap: 10px; }
.otp-row input { flex: 1; }
.role-tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.role-tab { flex: 1; padding: 14px; border: 2px solid var(--border); border-radius: var(--radius); text-align: center; cursor: pointer; background: #fff; transition: all .2s; }
.role-tab.active { border-color: var(--accent); background: rgba(255,107,53,.05); }
.role-tab .rt { font-weight: 600; display: block; }
.role-tab .rd { font-size: 12px; color: var(--muted); }

/* 徽章 */
.badge { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 20px; font-weight: 500; }
.badge-pending { background: #FEF3C7; color: #B45309; }
.badge-pass { background: #D1FAE5; color: #065F46; }
.badge-reject { background: #FEE2E2; color: #991B1B; }
.badge-blue { background: rgba(30,95,191,.1); color: var(--secondary); }

/* 页脚 */
footer.site-footer { background: var(--primary); color: #cfdcf2; padding: 20px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 26px; padding-bottom: 12px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 6px; }
.footer-grid a { display: block; color: #d4e0f6; font-size: 14px; padding: 1px 0; line-height: 1.5; }
.footer-grid a:hover { color: #fff; }
/* 页脚首列标题「洗消汇」是带链接的 h4，之前被 .footer-grid a 的 14px/淡蓝灰覆盖，
   导致与右侧「快速链接」「关于平台」两个纯文字 h4（16px/白/加粗）字体不一致 —— 这里强制拉齐。 */
.footer-grid h4 a.footer-brand { display: inline; color: #fff; font-size: inherit; font-weight: 700; line-height: inherit; padding: 0; }
.footer-grid h4 a.footer-brand:hover { color: var(--secondary); }
.footer-grid p { font-size: 14px; line-height: 1.58; color: #cfdcf2; }
/* 联系列里的邮箱是 <a>，被 .footer-grid a 的 display:block 顶到下一行、还多出一段块间距
   —— 这里改回行内，让「商务邮箱：xxx」并在同一行（2026-10-11 老板要求压缩空格）。 */
.footer-grid p a { display: inline; padding: 0; }
/* 页脚联系列里的邮箱：深蓝底上用亮蓝 + 下划线，之前用 --secondary(#1E5FBF) 几乎看不见 */
.footer-grid p a.ft-mail { color: #8ec5ff; text-decoration: underline; text-underline-offset: 2px; }
.footer-grid p a.ft-mail:hover { color: #b7dbff; }
.copyright { border-top: 1px solid rgba(255,255,255,.14); padding: 9px 0; font-size: 13px; text-align: center; color: #c3d2eb; }
.copyright .beian-link { color: #cfe0fb; text-decoration: underline; text-underline-offset: 2px; }
.copyright .beian-link:hover { color: #fff; }

/* 面包屑页头 */
.page-head { background: linear-gradient(135deg, #0A2558, #1E5FBF); color: #fff; padding: 40px 0; }
.page-head h1 { font-size: 28px; color: #fff; }
.page-head p { color: #cdd8ee; font-size: 14px; margin-top: 6px; }

/* 提示 */
.toast {
  position: fixed; top: 90px; left: 50%; transform: translateX(-50%); z-index: 999;
  background: var(--primary); color: #fff; padding: 12px 26px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .3s;
}
.toast.show { opacity: 1; }

/* ---------- 管理后台 ---------- */
.admin-body { background: var(--bg); }
/* 2026-09-11 老板反馈「字体缩小，内容紧凑」：后台外壳整体收一档。
   侧栏 230→208px（主区多出 22px）、侧栏留白与导航字号收一档。
   只改数值不改结构，所有后台页一致生效。 */
/* 2026-10-12 #89：侧栏 208 → 232px。
   加了数字角标后，三级子项那一档（缩进 36px + 圆点 16px + 角标 ~30px + 拖拽手柄 15px）
   留给文字只剩约 66px ≈ 5.2 个汉字 ——「注册企业审核」「解决方案发布」这种 6 字项名
   会被省略号吃掉（实测截图确认）。与其为省空间去砍老板点名的名词（发酵工程网就是这么写的），
   不如把侧栏加宽 24px；窄屏本来是单列布局（见文件末尾的 max-width 断点），不受影响。 */
.admin-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.admin-side {
  background: var(--primary); color: #cdd8ee; padding: 10px 0 14px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  /* 2026-10-13 #103「铺满」预留变量：由 admin-common.js 的 fillSide() 按实测剩余空间写入，
     条目内边距各加 --xx-fill-a、分组标题上边距加 --xx-fill-g（两处默认都是 0px，
     即 JS 没跑或内容已装满时，看起来与改版前完全一致）。 */
  --xx-fill-a: 0px;
  --xx-fill-g: 0px;
}
.admin-side .brand { padding: 2px 16px 10px; border-bottom: 1px solid rgba(255,255,255,.09); margin-bottom: 2px; }
.admin-side .brand b { color: #fff; font-size: 16px; letter-spacing: .2px; }
.admin-side .brand small { display: block; font-size: 9.5px; color: #6f88b0; letter-spacing: 1.4px; margin-top: 1px; }
/* 2026-09-13 老板「分类显示不够直观和专业，参考截图美化」（v5.9.19）：
   ① 每个菜单项加内联 SVG 图标（stroke=currentColor，激活项文字变白时图标同步变白）；
   ② 激活项从「几乎看不见的半透明底」改为「实心蓝块 + 圆角 + 投影」，一眼可辨；
   ③ 一级分区标题改「浅蓝小字 + 上方细分隔线」，与二级菜单项拉开层次；
   ④ 三级子项用圆点标记并再缩进一档。
   沿革：v5.9.8 一级/二级区分、v5.9.9 字号收一档；本次只做视觉美化，DOM 结构不变。 */
/* ⛔ 2026-10-11：本规则必须「自足」—— background / border / 圆角都要显式声明。
   广告发布页曾用通用类名 .grp 做自己的白色分组卡片，把侧栏这几个分组标题染成白块。
   以后任何页面误用 .grp，也只会覆盖同名属性，不会再影响侧栏外观。 */
.admin-side .grp {
  /* #100 老板「字体需要一致」+ 完全借鉴发酵工程网：分组标题与菜单项**同一套字体规格**
     （12.6px / 400 / #C7D4EA / 无字距），层级改由「顶格起笔 + 上方细分隔线 + 组间留白」表达。 */
  font-size: 12.6px; color: #C7D4EA; letter-spacing: normal; font-weight: 400;
  margin: calc(9px + var(--xx-fill-g)) 8px 2px; padding: 7px 8px 0 4px;
  background: transparent; border: 0; border-top: 1px solid rgba(255,255,255,.07);
  border-radius: 0; overflow: visible; box-shadow: none;
}
.admin-side .brand + .grp { margin-top: 2px; padding-top: 3px; border-top: 0; }
/* 2026-10-12 老板：「级别要清晰，间距要确保不通过下拉框可以全部显示，
   另外字体可以完全一致，但是左右间隔判断级别。」
   ① 字体一致性：菜单项**各级同字号**（12.6px），不再用字号区分层级；
      层级完全由「左右缩进」表达 —— 缩进梯度 一级 8px → 二级 36px → 三级 68px（每级 +30px 上下）。
   ② 纵向压缩：条目上下内边距 7px→5px、分区标题上下留白收一档，
      新增 5 个「已发布」子项后整条菜单仍能在常规屏高下**一次看完**（不折叠、不滚动、不做下拉）。 */
.admin-side a {
  display: flex; align-items: center; gap: 9px;
  margin: 1px 8px; padding: calc(5px + var(--xx-fill-a)) 10px; border-radius: 7px;
  color: #C7D4EA; font-size: 12.6px; line-height: 1.35;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.admin-side a .ic { flex: 0 0 16px; display: inline-flex; align-items: center; justify-content: center; }
.admin-side a .ic svg { width: 15px; height: 15px; display: block; opacity: .85; }
.admin-side a .tx { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-side a:hover { background: rgba(255,255,255,.09); color: #fff; }
.admin-side a:hover .ic svg { opacity: 1; }
.admin-side a.active { background: var(--secondary); color: #fff; font-weight: 600; box-shadow: 0 3px 10px rgba(30,95,191,.45); }
.admin-side a.active .ic svg { opacity: 1; }
/* 三级子分组头（管理控制台 → 审核）：文字与二级项文字左对齐，读作子分区标签。
   ⛔ 2026-09-13 v5.9.34 老板「字体调整一致」：本行此前是 10.5px / #9FB6D8 / 字距 .8px，
   而它的一级分区标题 .grp 是 10px / #8CA3C8 / 字距 1.3px —— 同为「分组标题」却两套规格，
   且次级比一级还大还亮，层级读起来是反的。现四项（字号·字重·字距·颜色）全部对齐 .grp，
   层级改由「缩进（43px 起笔，与二级项文字同线）+ 上方间距」表达。
   实测基线见 _v5934_probe.cjs --before（grp 10/1.3/#8CA3C8 ↔ subgrp 10.5/.8/#9FB6D8）。 */
/* #100/#105 层级梯度（文字左缘）：分组标题 12px → 菜单项 / 二级目录标题 43px → 三级子项 75px → 四级 107px。
   字体四级完全相同，级别只看缩进。padding-right 31px = 菜单行「padding-right 10px + gap 9px + 手柄左距 2px + 手柄宽 10px」，
   好让二级标题上的合计徽章与菜单行徽章落在**同一条右缘 193px**（老板：「数据靠右对齐」）。
   ⛔ 2026-10-13 #105 老板（截图指着侧栏）：「用户管理（和）整体运行数据是一个级别」——
      即「二级目录标题」的文字左缘必须与「一级菜单项」的文字左缘**同一档**（菜单项文字 = 8 + padding-left 10 + 图标 16 + gap 9 = 43px），
      所以这里的 padding-left 由 48px（→56px）改为 **35px（→43px）**。
      这条与发酵工程网 2026-10-12 的定稿完全一致（那边 `.subgrp{padding-left:36px}` 与 `.admin-side a{padding-left:12px}` 同样落在 44px）；
      区分「菜单项 vs 二级目录标题」不再靠缩进，而靠**有没有图标**（菜单项有 15px 图标、目录标题没有）。
      三级子项（圆点 58px 起）不动 —— 与发酵工程网的三级圆点位置一模一样。 */
.admin-side .subgrp { font-size: 12.6px; color: #C7D4EA; letter-spacing: normal; font-weight: 400; margin: calc(6px + var(--xx-fill-g)) 8px 1px; padding: 0 31px 0 35px; border-radius: 6px; }
.admin-side .subgrp:hover { background: rgba(255,255,255,.07); color: #fff; }
/* 三 / 四级子项：圆点标记 + 缩进分级别（2026-10-12：缩进梯度拉开，层级一眼可辨）
   实测起笔位置（文字左边缘）：菜单项 / 二级目录标题 43px、圆点 58px → 三级文字 75px → 四级文字 107px。
   圆点比一级图标小一圈，读作「子项」，同时不再靠字号变化区分。 */
.admin-side a.subitem { margin-left: 40px; }
.admin-side a.subitem2 { margin-left: 72px; }
.admin-side a.subitem .ic svg,
.admin-side a.subitem2 .ic svg { width: 7px; height: 7px; opacity: .85; }
/* 2026-10-12 屏高自适应密度（老板：「间距要确保不通过下拉框可以全部显示」）
   背景：新增「已发布 → 全部 / 产品 / 解决方案 / 需求 / 广告」5 个子项后，侧栏条目 20→24 条，
        默认密度自然高约 962px；屏幕矮一点的窗口就会出滚动条，等于「看不到全部」。
   做法：**字号不动**（老板要求各级字体一致），只按**视口高度**收纵向内边距，四档逐级变紧：
        · 默认（视口 ≥ 971px）空气感正常；
        · ≤970px 条目 5→4px、分组标题上下各收 1~3px；
        · ≤895px 再收到 3px、子分组标题留白最小；
        · ≤830px 条目 2px（几乎只剩文字本身）；
        · ≤770px 第五档：条目 1px + 品牌区副标题隐去，专治 1366×768 笔记本（浏览器地址栏占掉后可视高约 660~700px）。
   ⛔ 只改纵向；横向缩进（分级别用的那个）一个字都不动。
   2026-10-13 #100 复核（`_tools/_cd100_budget.cjs`，超管 25 条全展开，量 `scrollHeight` vs `clientHeight`）：
     字体统一（.grp/.subgrp 10px→12.6px）+ 新增「分类访问统计」一行后，**原断点全部溢出**（最松档 scrollHeight 1105）。
     现按「每档实测高度」反推断点：1105 / 1017 / 952 / 877 / 778 → 阈值 **1110 / 1016 / 951 / 876 / 777**
     （阈值 = 该档高度 + 1px 余量，保证只要落进这一档就**一定**不滚动），并新增第五档压到 ~690 以内。
     改侧栏任何纵向尺寸后，**必须重跑 `_cd100_budget.cjs` 重新标定这五个数**。
   ⭐ 2026-10-13 #103：以上五档只解决「装不下时怎么收」，本档之外还差一半 ——
     老板看的是**条目少于视口高度**的场景：「底部还有空间，请调整间距，铺满页面」。
     故每一档的内边距都改成 `calc(基准 + var(--xx-fill-a/g))`：基准仍是本档原值
     （上面五个数一个没动，密度断点无需重标定），增量由 `fillSide()` 按实测剩余空间写入。 */
@media (max-height: 1110px) {
  .admin-side { padding: 8px 0 10px; }
  .admin-side .brand { padding: 2px 16px 8px; }
  .admin-side a { padding: calc(4px + var(--xx-fill-a)) 10px; }
  .admin-side .grp { margin: calc(6px + var(--xx-fill-g)) 8px 0; padding: 6px 8px 0 4px; }
  .admin-side .subgrp { margin: calc(4px + var(--xx-fill-g)) 8px 0; }
}
@media (max-height: 1016px) {
  .admin-side a { padding: calc(3px + var(--xx-fill-a)) 10px; }
  .admin-side .grp { margin: calc(5px + var(--xx-fill-g)) 8px 0; padding: 5px 8px 0 4px; }
  .admin-side .subgrp { margin: calc(3px + var(--xx-fill-g)) 8px 0; }
}
@media (max-height: 951px) {
  .admin-side { padding: 5px 0 6px; }
  .admin-side .brand { padding: 1px 16px 6px; }
  .admin-side a { padding: calc(2px + var(--xx-fill-a)) 10px; }
  .admin-side .grp { margin: calc(4px + var(--xx-fill-g)) 8px 0; padding: 4px 8px 0 4px; }
  .admin-side .subgrp { margin: calc(2px + var(--xx-fill-g)) 8px 0; }
}
@media (max-height: 876px) {
  .admin-side { padding: 3px 0 4px; }
  .admin-side .brand { padding: 0 16px 3px; }
  .admin-side .brand small { display: none; }
  .admin-side a { padding: calc(1px + var(--xx-fill-a)) 10px; }
  .admin-side .grp { margin: calc(2px + var(--xx-fill-g)) 8px 0; padding: 2px 8px 0 4px; }
  .admin-side .subgrp { margin: calc(1px + var(--xx-fill-g)) 8px 0; }
}
/* 2026-10-13 #100 第五档（新增）：1366×768 笔记本（浏览器地址栏占掉后可视高约 660~700px）专用，
   条目内边距归零 + 行高 1.15，横向缩进与字号一个字不动。 */
@media (max-height: 777px) {
  .admin-side { padding: 2px 0 2px; }
  .admin-side .brand { padding: 0 16px 2px; }
  .admin-side a { padding: var(--xx-fill-a) 10px; line-height: 1.15; }
  .admin-side .grp { margin: calc(1px + var(--xx-fill-g)) 8px 0; padding: 1px 8px 0 4px; }
  .admin-side .subgrp { margin: var(--xx-fill-g) 8px; }
}
/* v6.23.3 侧栏可直接拖拽排序（老板：「左侧也需要通过拖动实现排序修改」）
   行尾「⠿」手柄默认淡显、hover 变亮；拖动中的源行半透明；
   落点行按三分区高亮：上/下 3px 蓝线 = 前移 / 后移，整圈蓝框 = 缩进为子项。
   手柄整块只有 11px，不占地方也不抢视线（hover 才亮起来）。 */
/* 2026-10-12 #89 侧栏数字角标（参考发酵工程网）
   每个目录后带一个真库计数：待办类琥珀色（warn）、存量类灰白色；0 不显示（免得满屏 0 抢视线）。
   徽章挂点 .mb 由 linkFor 显式留出，保证排在「文字右侧、拖拽手柄左侧」。
   ⛔ .admin-side a.active 那档要单独调色 —— 激活项是实心蓝底，默认的 rgba(255,255,255,.14) 会糊在里面。 */
/* #100 数据靠右对齐：徽章槽内右对齐 + 保底宽度，1 位数与 3 位数右缘仍在同一条线上 */
.admin-side a .mb { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: flex-end; min-width: 24px; }
.admin-side a .mb:empty { display: none; }
.admin-side .menu-badge {
  margin-left: 6px; font-size: 11px; line-height: 15px; padding: 0 6px;
  border-radius: 9px; background: rgba(255,255,255,.14); color: #D7E2F5;
  font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums;
}
.admin-side .menu-badge.warn { background: rgba(245,158,11,.25); color: #FBD38D; }
.admin-side a.active .menu-badge { background: rgba(255,255,255,.26); color: #fff; }
.admin-side a.active .menu-badge.warn { background: rgba(255,224,130,.30); color: #FFF6DC; }
/* 子分组标题上的合计（.subgrp 不是 flex，用 float 靠右；右缘与菜单行徽章同线，见上方 padding-right 23px） */
.admin-side .subgrp .menu-badge { float: right; margin: 0 0 0 6px; }
/* #100 手柄定宽 10px（原先是 auto，宽度随字形 8.3px 浮动，导致徽章右缘算不准、
   与二级标题上的合计徽章差 6.3px）。定宽后：徽章右缘 = 224 - 10(内边距) - 9(gap) - (2+10)(手柄) = 193px */
.admin-side a .xx-grip { flex: 0 0 10px; width: 10px; text-align: center; margin-left: 2px; font-size: 11px; line-height: 1; color: #8CA3C8; opacity: .34; cursor: grab; user-select: none; }
.admin-side a:hover .xx-grip { opacity: .95; color: #fff; }
.admin-side a .xx-grip:active { cursor: grabbing; }
.admin-side a.xx-dragging { opacity: .45; }
.admin-side a.xx-drop-before { box-shadow: inset 0 3px 0 #7FB2FF; }
.admin-side a.xx-drop-after { box-shadow: inset 0 -3px 0 #7FB2FF; }
.admin-side a.xx-drop-child { box-shadow: inset 0 0 0 2px #7FB2FF; background: rgba(255,255,255,.13); }
.admin-main { padding: 16px 20px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.admin-topbar h1 { font-size: 19px; color: var(--primary); }
.admin-user { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.admin-user b { color: var(--text); }
/* 悬停条高度（2026-10-11）：所有后台页共用；页面里第二条悬停条（排序管理页的组切换条）
   用 var(--admin-top-h) 对齐到它的下沿。
   ⛔ 只改这一个数就够，别在页面里硬编码数字：后台整体 zoom:0.88，
      两条悬停条在同一个缩放坐标系里，写死的 px 一旦对不上就会出现「压住」或「留缝」。 */
:root { --admin-top-h: 56px; }

/* ---------- 后台顶栏悬停（2026-10-11 老板：「顶部需要悬停」；全后台统一） ----------
   效果：左侧导航一直悬在左边，现在「排序管理 / 用户管理 …」这行标题栏也一直悬在顶部。
   ⛔ 为什么要负外边距：.admin-main 有 16px 20px 内边距，顶栏是它的直属子元素；
      滚动时正文会从左右各 20px 的空隙里露出来 → 用 margin:-16px -20px 让底色铺满整幅宽。
   ⛔ 为什么必须给底色：顶栏本身是透明的，不铺底色就会「文字叠文字」。
   ⛔ 为什么 top:0 就够：这个 sticky 的滚动容器就是视口（桌面档 .admin-main 没有 overflow）。
      ≤1023px 时 .admin-main 会变成横向滚动容器（见本文件下方 @media 1023 那一条），
      sticky 会失效 → 文件末尾用断点把它关掉，还原成原来的静态排版，不留多余底色与间距。 */
.admin-main > #admin-top {
  position: sticky; top: 0; z-index: 60;
  background: var(--bg);
  margin: -16px -20px 16px;
  padding: 13px 20px 9px;
  /* 高度与 --admin-top-h 对齐：下方别的悬停条靠这个数决定下移多少。
     用 min-height 而不是 height —— 万一顶栏内容变高，多条 1px 只是多压住一点，
     而「留缝」会让列表从缝里穿过去，那才是看得见的故障。 */
  min-height: var(--admin-top-h, 56px);
}
/* 顶栏内层原本自带 16px（settings 页 14px）下边距；改由上面那条统一管，避免两处相乘 */
.admin-main > #admin-top .admin-topbar { margin-bottom: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.stat-card .num { font-size: 32px; font-weight: 700; color: var(--primary); }
.stat-card .lbl { color: var(--muted); font-size: 13px; margin-top: 4px; }
.stat-card .ico { float: right; font-size: 26px; opacity: .8; }
/* flex-wrap:wrap —— 窄屏 tab 不换行是 news 页横向溢出的根因(实测 480 > 376) */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 18px; }
.tabs button { background: none; border: none; padding: 10px 20px; font-size: 15px; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
@media (max-width: 640px) { .tabs button { padding: 9px 13px; font-size: 14px; } }
.tabs button.active { color: var(--secondary); border-bottom-color: var(--accent); font-weight: 600; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table th { background: var(--bg); text-align: left; padding: 12px 16px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.data-table td { padding: 13px 16px; border-top: 1px solid var(--border); font-size: 14px; vertical-align: top; }
.data-table tr:hover td { background: rgba(30,95,191,.03); }
.data-table .ops { display: flex; gap: 8px; flex-wrap: wrap; }
.ai-panel { background: #fff; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); margin-bottom: 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ai-panel .ai-ico { font-size: 26px; }
.ai-panel .ai-txt { flex: 1; min-width: 200px; }
.ai-panel .ai-txt b { color: var(--primary); }
.ai-panel .ai-txt span { display: block; font-size: 13px; color: var(--muted); }
.drag-row { cursor: grab; }
.drag-row.dragging { opacity: .4; }
.drag-handle { color: #b6c2d6; font-size: 16px; user-select: none; margin-right: 6px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.quick-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; display: flex; align-items: center; gap: 12px; cursor: grab; transition: box-shadow .2s; }
.quick-item:hover { box-shadow: var(--shadow); }
.quick-item .qi { font-size: 22px; }
.quick-item b { font-size: 14px; display: block; }
.quick-item span { font-size: 12px; color: var(--muted); }
.switch { position: relative; width: 38px; height: 20px; background: #d1d5db; border-radius: 20px; transition: background .2s; border: none; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: left .2s; }
.switch.on { background: var(--success); }
.switch.on::after { left: 20px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1199px) {
  .industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* 1023px 以下:主导航折叠为汉堡菜单（见本文件后部 @media max-width:1023px 折叠块），字号线自适应 */
@media (max-width: 1023px) {
  html { font-size: clamp(13px, 1.45vw + 8px, 15px); }
  .nav-wrap { gap: 8px; }
  .logo { font-size: clamp(18px, 2vw, 22px); }
  .logo img { height: calc(var(--logo-h, 48px) * 0.84); }
  nav.main-nav > a,
  .nav-item-dd > a {
    padding: 6px 8px; font-size: clamp(13px, 1.3vw, 15px); white-space: nowrap;
  }
  .nav-actions { gap: 6px; flex-shrink: 0; }
  .nav-actions .btn { padding: 5px 10px; font-size: 0.8125rem; }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 2026-09-10：1023px 及以下后台宽表（供应商审核 / 内容审核 / 用户管理 / 员工工作台 /
     留言 / 需求）列数多、无法压缩，此前会把整页撑出横向滚动（768 档实测 846~968px > 769px）。
     让主区自己做横向滚动容器：表格保持完整列宽，页面本体不再横向溢出。 */
  .admin-main { overflow-x: auto; }
}
/* 768px 以下:内容区单列 */
@media (max-width: 767px) {
  .nav-actions .btn-ghost-nav { display: none; }
  /* v6.11.2：窄屏把昵称牌收窄，别把「管理后台」挤出屏幕（375 档实测见 _frontnick_probe.py） */
  .nav-me { max-width: 92px; padding: 0 9px; font-size: 12px; }
  /* 2026-09-10：会员中心 .page-layout 原本无断点，260px 侧栏 + 28px 间距
     在 375px 下把主区挤到只剩 87px，表格被顶出屏幕（实测右边界 488px）。改为单列。 */
  .page-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .sidebar { position: static; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 26px; }
  .grid, .grid.cols-3, .cat-grid, .adv-grid, .stat-grid, .footer-grid, .quick-grid { grid-template-columns: minmax(0, 1fr); }
  .industry-grid { grid-template-columns: minmax(0, 1fr); }
  .cat-panel-grid { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 32px 0; }
  .form-group input, .form-group select, .btn { min-height: 44px; }
  .toolbar .search input { width: 150px; }
  .admin-layout { grid-template-columns: minmax(0, 1fr); }
  /* v5.9.19：侧栏改 flex 行 + 图标后，窄屏不再用 inline-block（会与图标列打架），
     改为整行铺开 + 限高滚动，避免二十多行导航把手机首屏占满。
     ⚠️ 旧规则「窄屏把 .admin-side a 的 padding-left 复位 17px」随之作废（已不再适用）。 */
  .admin-side {
    position: static; height: auto; max-height: 58vh; padding: 10px 0 12px;
    border-bottom: 1px solid rgba(255,255,255,.12);   /* 划出「这是可滚动的导航区」的分界 */
  }
  .admin-side .grp { margin: 9px 8px 3px; padding: 8px 8px 0; }
  .admin-side a { padding: 6px 10px; }
  /* 手机端：顶栏标题与账号区改纵向堆叠，避免「管理控制台」被挤成两行 */
  .admin-topbar { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
  .admin-topbar h1 { font-size: 19px; }
  .admin-user { flex-wrap: wrap; gap: 8px; font-size: 13px; }
  .otp-row { flex-direction: column; }
  .industry-card .ind-img { height: 160px; }
  .std-list-card { padding: 16px; }
}

/* 2026-09-10：1023px 及以下页头统一折叠为汉堡菜单。
   原因：768~1023 档原先保留完整主导航 + 登录后 nav-actions(超管为「供应商中心/管理后台/邮箱」
   三个按钮)，实测 nav-wrap 内容需 807px 而容器只有 714px，右边界溢出到 963px。
   折叠后导航进入下拉，nav-actions 有充足空间，各角色入口都不丢失。
   必须放在 max-width:767px 块之后：同特异性下后者胜出，否则这里会被覆盖而永不生效。 */
@media (max-width: 1023px) {
  .hamburger { display: block; }
  nav.main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column;
    padding: 10px 16px 16px; box-shadow: var(--shadow-lg); gap: 2px; transform: none;
    justify-content: flex-start; align-items: stretch; flex: none;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav > a,
  .nav-item-dd > a { padding: 11px 4px; font-size: 15px; text-align: left; border-bottom: 1px solid var(--border); }
}

/* ========== 产品中心页(工业风：蓝图网格 Hero + 目录式双 tab + 左索引 + 右产品目录) ========== */
.prod-hero {
  /* 蓝图网格底纹：两层 1px 细线叠加在深蓝渐变上，工业图纸质感 */
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 28px 100%,
    linear-gradient(135deg, #0A2558 0%, #1E5FBF 100%);
  color: #fff; padding: 50px 0 56px;
  border-bottom: 3px solid var(--accent);
}
.prod-hero h1 { color: #fff; font-size: 38px; margin: 0 0 10px; font-weight: 700; letter-spacing: .02em; }
.prod-hero p { color: rgba(255,255,255,.82); font-size: 15px; margin: 0 0 22px; line-height: 1.7; }
.prod-hero-tabs { display: flex; flex-direction: column; gap: 8px; }
.prod-hero-tabs .tab-row { display: flex; flex-wrap: wrap; gap: 6px; }
.prod-tab {
  border: 1px solid rgba(255,255,255,.20); background: rgba(255,255,255,.06);
  color: #fff; padding: 7px 13px; border-radius: 5px; font-size: 13px; cursor: pointer;
  letter-spacing: .02em;
  transition: all .2s;
}
.prod-tab:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.38); }
/* 选中 tab：白底 + 底部橙色钢条，像设备铭牌的高亮挡位 */
.prod-tab.active {
  background: #fff; color: var(--primary); font-weight: 600; border-color: #fff;
  box-shadow: inset 0 -3px 0 var(--accent);
}
.prod-body { background: #F5F7FB; padding: 24px 0 56px; }
.prod-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; align-items: start; }
.prod-aside { background: #fff; border-radius: 8px; border: 1px solid var(--border); border-top: 3px solid var(--secondary); padding: 18px; position: sticky; top: 14px; max-height: calc(100vh - 28px); overflow-y: auto; box-shadow: 0 1px 2px rgba(10,37,88,.04); }
.prod-aside::-webkit-scrollbar { width: 6px; }
.prod-aside::-webkit-scrollbar-thumb { background: #D7DEEB; border-radius: 4px; }
.prod-search { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; background: #F8FAFD; margin-bottom: 14px; }
.prod-search:focus-within { border-color: var(--secondary); background: #fff; }
.prod-search input { border: 0; outline: 0; flex: 1; font-size: 13.5px; background: transparent; }
.prod-aside-title { font-size: 11.5px; color: #8A94A8; margin: 8px 0 8px; font-weight: 700; letter-spacing: .14em; }
.prod-aside-list { max-height: 320px; overflow-y: auto; margin-bottom: 12px; }
.prod-aside-list::-webkit-scrollbar { width: 4px; }
.prod-aside-list::-webkit-scrollbar-thumb { background: #D7DEEB; border-radius: 4px; }
.prod-aside-item {
  padding: 7px 8px; cursor: pointer; font-size: 13px; color: #4B5563;
  border-radius: 4px; transition: background .15s, color .15s; line-height: 1.5;
  font-variant-numeric: tabular-nums;
  /* 两行截断：单行省略会截掉分类名尾部(218px 容器 / 239px 内容) */
  overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
}
.prod-aside-item:hover { background: #F4F8FE; color: var(--secondary); }
.prod-aside-item.active { background: #EAF2FE; color: var(--primary); font-weight: 600; }

/* #213 左侧「分类目录」树（替代原来把 582 个产品名全抄一遍的索引）
   层级：全部产品 → 8 个一级分类 → 子项。▸ 只管展开，分类名/子项管筛选。 */
.ct-all, .ct-cat-head {
  display: flex; align-items: center; gap: 6px; padding: 6px 8px;
  border-radius: 4px; cursor: pointer; font-size: 13px; color: #374151;
  transition: background .15s, color .15s;
}
.ct-all { font-size: 12.5px; color: #6B7280; margin-bottom: 4px; }
.ct-all:hover, .ct-cat-head:hover { background: #F4F8FE; color: var(--secondary); }
.ct-all.active, .ct-cat-head.active { background: #EAF2FE; color: var(--primary); font-weight: 600; }
/* 选中了子项时：分类行不再抢高亮，只把字色点亮，表示「就在这一层里」 */
.ct-cat-head.sel { color: var(--primary); font-weight: 600; }
.ct-cat-head.zero { color: #C3CAD8; }
.ct-cat { margin-bottom: 2px; }
.ct-arrow { flex: none; width: 12px; font-size: 11px; color: #9AA6BD; }
.ct-arrow:hover { color: var(--secondary); }
.ct-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-n { flex: none; margin-left: auto; font-size: 11.5px; color: #9AA6BD; font-variant-numeric: tabular-nums; }
.ct-subs { padding: 2px 0 6px 20px; }
.ct-sub {
  display: flex; align-items: center; gap: 6px; padding: 4px 8px;
  border-radius: 4px; cursor: pointer; font-size: 12.5px; color: #6B7280;
  transition: background .15s, color .15s;
}
.ct-sub:hover { background: #F4F8FE; color: var(--secondary); }
.ct-sub.active { background: #EAF2FE; color: var(--primary); font-weight: 600; }
.ct-sub.zero { color: #C3CAD8; }   /* 当前行业/关键词下该子项没有产品 */
.prod-main-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding: 0 4px; }
.prod-main-head .result-info { font-size: 13.5px; color: #6B7280; }
.prod-main-head .result-info b { color: var(--primary); font-size: 15px; }

/* ---- 产品卡片墙（参考首页八大品类卡片：大封面 + 深蓝标题 + 灰简介 + 蓝标签 chips + 橙行业行） ---- */
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pc-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; color: var(--text); text-decoration: none;
  box-shadow: 0 1px 3px rgba(10,37,88,.05);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.pc-card:hover { border-color: #C5D3EA; box-shadow: 0 10px 24px rgba(10,37,88,.12); transform: translateY(-3px); }
.pc-card.flash { animation: pcFlash 1.2s var(--ease); }
@keyframes pcFlash { 0%, 55% { background: #EAF2FE; } 100% { background: #fff; } }
/* 封面：浅蓝天空底；无图回退图标/名称首字（同参考图的浅蓝大字符占位） */
.pc-cover {
  height: 150px; flex: none; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #F4F8FE 0%, #E9F1FC 100%);
  border-bottom: 1px solid #EDF2FA;
}
.pc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s var(--ease); }
.pc-card:hover .pc-cover img { transform: scale(1.04); }
.pc-glyph { font-size: 42px; line-height: 1; opacity: .55; filter: saturate(.35); }
.pc-glyph.pc-glyph-char { font-size: 40px; font-weight: 700; color: #9FBCE4; opacity: 1; filter: none; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
/* 卡身：标题行 / 两行简介 / 蓝标签 / 橙行业 */
.pc-body { display: flex; flex-direction: column; gap: 8px; padding: 13px 15px 14px; flex: 1; min-width: 0; }
.pc-titlerow { display: flex; align-items: center; gap: 8px; min-width: 0; }
/* 两行截断：单行省略会把长产品名截掉近一半(如 144px 容器 / 240px 内容)，信息不完整 */
.pc-title {
  flex: 1 1 auto; min-width: 0; margin: 0;
  font-size: 15px; font-weight: 700; color: var(--primary); line-height: 1.4;
  overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
}
.pc-card:hover .pc-title { color: var(--secondary); }
.pc-body .demo-mark { flex: none; background: rgba(10,37,88,.55); color: #fff; padding: 2px 7px; border-radius: 3px; font-size: 11px; }
.pc-desc {
  margin: 0; font-size: 12.5px; color: #7B869C; line-height: 1.6; min-height: 40px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-tag {
  font-size: 11.5px; font-weight: 500; color: #2B6CD4; background: #EAF2FE;
  border: 1px solid #D5E4FB; padding: 2px 9px; border-radius: 3px; white-space: nowrap;
}
.pc-inds { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: auto; padding-top: 2px; }
.pc-ind { font-size: 12px; color: #E07A1F; white-space: nowrap; }
.pc-ind::before { content: "▍"; font-size: 10px; margin-right: 2px; opacity: .7; }
/* 空态：工业「无料」面板 */
.prod-grid .empty { grid-column: 1 / -1; border: 1px dashed #C7D2E5; border-radius: 8px; background: rgba(255,255,255,.6); }
/* 响应式：3 列 → 2 列 → 1 列（≤767 由下方既有断点收成 1 列） */
@media (max-width: 1199px) { .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .prod-layout { grid-template-columns: minmax(0, 1fr); } .prod-aside { position: static; max-height: none; } .prod-hero h1 { font-size: 28px; } }
@media (max-width: 767px)  { .prod-grid { grid-template-columns: minmax(0, 1fr); } .pc-cover { height: 170px; } .prod-hero { padding: 36px 0 40px; } .prod-hero h1 { font-size: 22px; } }

/* ========== 解决方案页(图2 双栏:左列表 + 右详情) ========== */
.solu-hero {
  background: linear-gradient(135deg, #0A2558 0%, #1E5FBF 100%);
  color: #fff; padding: 56px 0 64px;
}
.solu-hero h1 { color: #fff; font-size: 38px; margin: 0 0 12px; font-weight: 700; }
.solu-hero p { color: rgba(255,255,255,.82); font-size: 15px; margin: 0 0 28px; max-width: 980px; line-height: 1.7; }
/* 行业方案页专属 hero：更紧凑，p 后无 chips 不留底边距 */
.solu-hero.is-hero { padding: 38px 0 42px; }
.solu-hero.is-hero h1 { font-size: 30px; margin-bottom: 10px; }
.solu-hero.is-hero p { margin-bottom: 0; font-size: 14.5px; }
.chip-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-tabs button {
  border: 0; background: rgba(255,255,255,.08); color: #fff;
  padding: 8px 16px; border-radius: 999px; font-size: 14px; cursor: pointer;
  transition: all .2s; border: 1px solid rgba(255,255,255,.12);
}
.chip-tabs button:hover { background: rgba(255,255,255,.18); }
.chip-tabs button.active { background: #fff; color: var(--primary); font-weight: 600; border-color: #fff; }
.solu-body { background: #F5F7FB; padding: 28px 0 56px; }
.solu-search { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 999px; background: #fff; margin-bottom: 6px; }
.solu-search input { border: 0; outline: 0; flex: 1; font-size: 14px; background: transparent; }
.solu-search .icon { color: #9AA6BD; }

/* 2026-09-10 清理：旧「左列表(.solu-layout/.solu-left/.solu-item) + 右详情(.solu-right/.sr-head)」
   分栏布局已于 2026-09-06 改为全部平铺 + 独立详情页，以下 50 余行选择器全站 0 引用，已删除。
   保留 .solu-body/.solu-search/.solu-hero 与新的 .sol-row 系列。 */

@media (max-width: 1023px) { .solu-hero h1 { font-size: 30px; } }
@media (max-width: 767px)  { .solu-hero { padding: 40px 0 48px; } .solu-hero h1 { font-size: 24px; } }

/* ========== 行业方案页（industry-solutions.html，左分类 + 居中目录列表） ========== */
/* minmax(0,1fr)：方案目录行的 min-content 很宽，用裸 1fr 会被撑破(手机端实测溢出 144px) */
.is-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: start; max-width: 1360px; margin: 0 auto; }
/* ⛔ 防错行：广告位是后插入的子元素，若不独占整行会顶掉两列布局
   （原故障：ad-slot 占掉左列 → 行业列表被挤到右列、方案目录掉到左下窄列） */
.is-layout > .ad-slot { grid-column: 1 / -1; margin: 0 0 16px; }
.is-layout > .ad-slot.ad-empty { display: none; }
.is-side { background: #fff; border-radius: 12px; border: 1px solid var(--border); padding: 16px 10px; box-shadow: 0 1px 2px rgba(10,37,88,.04); position: sticky; top: 12px; max-height: calc(100vh - 32px); overflow-y: auto; }
.is-side h4 { font-size: 13px; color: var(--muted); margin: 12px 12px 6px; font-weight: 600; letter-spacing: .3px; }
.is-side .is-ind-btn { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: #4B5563; cursor: pointer; border: 0; background: transparent; width: 100%; text-align: left; margin-bottom: 2px; }
.is-side .is-ind-btn:hover { background: #F4F8FE; color: var(--primary); }
.is-side .is-ind-btn.active { background: #EAF2FE; color: var(--primary); font-weight: 600; }
.is-side .is-ind-btn .cnt { font-size: 12px; color: var(--muted); background: #F1F5FB; padding: 1px 8px; border-radius: 999px; }
.is-side .is-ind-btn.active .cnt { background: #D6E4FB; color: var(--primary); }
.is-side .is-sub-list { padding: 4px 12px 4px 24px; border-left: 1px dashed #E5E9F2; margin-left: 12px; }
.is-side .is-sub-btn { display: flex; justify-content: space-between; padding: 6px 10px; font-size: 13px; color: #6B7280; cursor: pointer; border: 0; background: transparent; width: 100%; text-align: left; border-radius: 6px; margin-bottom: 2px; }
.is-side .is-sub-btn:hover { background: #F4F8FE; color: var(--primary); }
.is-side .is-sub-btn.active { background: #EAF2FE; color: var(--secondary); font-weight: 600; }
.is-side .is-sub-btn .cnt { font-size: 11px; color: var(--muted); }
.is-side .is-sub-btn .cnt.cnt-zero { opacity: .38; }
.is-side .is-sub-btn.active .cnt.cnt-zero { opacity: .6; }
.is-side .is-sub-btn.active .cnt { color: var(--secondary); }
.is-side .is-ind-block { padding: 4px 0; }
.is-side .is-ind-block + .is-ind-block { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }

.is-main { background: #fff; border-radius: 12px; border: 1px solid var(--border); padding: 22px 26px; box-shadow: 0 1px 2px rgba(10,37,88,.04); min-height: 340px; }
.is-main .is-head { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px; flex-wrap: wrap; gap: 12px; }
.is-main .is-head h2 { margin: 0; font-size: 20px; color: var(--primary); font-weight: 700; }
.is-main .is-head .crumb { font-size: 13px; color: var(--muted); margin-top: 4px; }
.is-main .is-head .crumb b { color: var(--primary); }
.is-main .is-head .stat { font-size: 13px; color: var(--muted); }
.is-main .is-head .stat b { color: var(--primary); font-weight: 700; }

/* ---- 方案目录列表（紧凑横条，仿标准法规列表两行式） ---- */
.sol-list-wrap { width: 100%; max-width: 1200px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px 26px; box-shadow: 0 1px 2px rgba(10,37,88,.04); }
.sol-list-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.sol-list-head h2 { margin: 0; font-size: 20px; color: var(--primary); font-weight: 700; }
.sol-list-count { font-size: 13px; color: var(--muted); margin-top: 4px; display: block; }
.sol-rows { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.sol-row {
  display: block; padding: 0; background: #fff;
  border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); transition: all .22s var(--ease);
  overflow: hidden; border-left: 4px solid transparent;
  box-shadow: 0 1px 2px rgba(10,37,88,.04); text-decoration: none;
}
.sol-row:hover {
  border-left-color: var(--secondary);
  box-shadow: 0 8px 22px rgba(10,37,88,.10);
  transform: translateY(-1px); color: var(--text);
}
.sol-row-1 {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px 10px; border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #FAFBFD 0%, #ffffff 100%);
  /* ⛔ 2026-10-23 #208：同一列表里，有「发布 日期」胶囊的条目第 1 行是 52px、
     没有日期的是 48px ⇒ 同列表卡片高矮差 4px（肉制品页实测 98 / 102 两种高度混排）。
     给第 1 行兜一个最小高度，全部条目对齐（border-box 已全局生效，52 含上下 padding）。 */
  min-height: 52px;
}
.sol-title {
  /* #212：改 0 1 auto（原 flex:1 会把标题撑满整行 ⇒ 后面的子类标签被顶到行末，不贴着题目）。
     标题按内容宽度占位、空间不足时才省略号收缩，标签紧跟其后，日期由 .sol-meta 的 margin-left:auto 顶到行末。 */
  flex: 0 1 auto; min-width: 0; font-size: 16px; font-weight: 600;
  color: var(--primary); line-height: 1.45;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sol-row:hover .sol-title { color: var(--secondary); }
.sol-meta { display: flex; align-items: center; gap: 10px; flex: none; font-size: 12.5px; color: var(--muted); white-space: nowrap; margin-left: auto; }
.sol-meta .sol-ind {
  color: #B45309; background: #FEF3C7; padding: 3px 12px; border-radius: 999px; font-weight: 600;
}
.sol-meta .sol-date { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; background: var(--bg); border-radius: 4px; color: var(--muted); }
/* v6.17.3（2026-09-15）老板要求：单条方案「恰好两行」——
   第 1 行 = 状态 + 标题 + 行业 + 日期；第 2 行 = 摘要 + 子类标签 + 查看详情。
   ⛔ 摘要改单行省略（原 clamp 2 行会把条目撑成 3~4 行）；子类标签由独立第 3 行并入本行右侧。
   ⛔ 三处调用同一套（industry-solutions.html / solutions.html / search.html），改这里三页同步生效。 */
.sol-row-2 { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 20px 13px; }
.sol-row-2 .sol-desc {
  margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.7;
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sol-row-2 .sol-go { flex: none; color: var(--secondary); font-size: 13px; white-space: nowrap; padding-top: 2px; font-weight: 500; opacity: .85; }
.sol-row:hover .sol-go { color: var(--accent); opacity: 1; }
/* 子类标签：v6.17.3 起并入某一行内部（原为独立第 3 行）；#212 从 .sol-row-2 挪到 .sol-row-1 紧跟标题。
   ⛔ 仍是「每条恰好两行」：标签在行内，不新增行。三处调用同一套（industry-solutions / solutions / search）。
   ⛔ 本规则必须排在下面 max-width 媒体查询【之前】，否则同特异性下会被反压，窄屏 display:none 失效 */
.sol-subtags { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; flex: none; }
.sol-sub { font-size: 11.5px; color: #6B7280; background: #F1F5FB; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
/* 窄屏：状态+标题+行业+日期挤一行会溢出 → 收起日期、压缩内边距；标题改两行避免截字 */
@media (max-width: 767px) {
  .sol-list-wrap { padding: 16px 14px; }
  .sol-row-1 { gap: 10px; padding: 12px 14px 10px; }
  .sol-title {
    font-size: 15px; white-space: normal; overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
  }
  .sol-meta { gap: 8px; }
  .sol-meta .sol-date { display: none; }
  .sol-row-2 { padding: 10px 14px 12px; }
  /* v6.17.3 窄屏同样保持「两行/条」：子类标签不上第 3 行，直接收起（窄屏本就从左侧分类进入） */
  .sol-subtags { display: none; }
  /* 窄屏摘要放回 2 行：390px 下单行只剩 ~13 字，截得太狠（桌面端严格 1 行不变） */
  .sol-row-2 .sol-desc {
    white-space: normal; display: -webkit-box;
    -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
  }
}

.is-empty { text-align: center; padding: 60px 0; color: #9AA6BD; font-size: 14px; }
.is-empty .em-icon { font-size: 36px; opacity: .5; margin-bottom: 10px; }

@media (max-width: 1199px) { .is-layout { grid-template-columns: 240px minmax(0, 1fr); } }
@media (max-width: 1023px) { .is-layout { grid-template-columns: minmax(0, 1fr); } .is-side { position: static; max-height: none; } }
@media (max-width: 767px)  {
  .is-main { padding: 16px; }
  .is-main .is-head { flex-direction: column; align-items: flex-start; }
  .is-side { padding: 12px 8px; }
}

/* ============ 主页产品中心(图1 风格:4×2 卡片 / 浅蓝图标方块 / 蓝圆点列表) ============ */
.cat-panel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat-panel-card {
  background: #fff; border: 1px solid #E5E9F2; border-radius: 12px; padding: 20px 20px 18px;
  display: block; color: var(--text); position: relative; transition: border-color .2s, box-shadow .2s;
  box-shadow: 0 1px 2px rgba(10,37,88,.04); cursor: pointer; box-sizing: border-box; min-width: 0; overflow: hidden;
}
.cat-panel-card:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }
.cat-panel-card:hover { border-color: #C5D3EA; box-shadow: 0 4px 16px rgba(10,37,88,.08); }
.cat-panel-card .cp-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-right: 20px; }
.cat-panel-card .cp-icon {
  width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: #EEF4FF; color: var(--secondary); flex-shrink: 0;
}
.cat-panel-card .cp-icon svg { width: 22px; height: 22px; }
.cat-panel-card .cp-title { font-size: 16px; font-weight: 700; color: var(--primary); flex: 1; line-height: 1.35; min-width: 0; }
.cat-panel-card .cp-count { flex-shrink: 0; font-size: 12px; font-weight: 500; color: var(--secondary); background: #EEF4FF; border-radius: 10px; padding: 2px 9px; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s; }
.cat-panel-card:hover .cp-count { background: var(--secondary); color: #fff; }
.cat-panel-card .cp-arrow {
  position: absolute; top: 24px; right: 18px; color: #B6C2D6; font-size: 22px; line-height: 1;
  transition: color .2s, transform .2s;
}
.cat-panel-card:hover .cp-arrow { color: var(--accent); transform: translateX(3px); }
.cat-panel-card ul { margin: 0; padding: 0; list-style: none; }
/* 4 列卡片下子项改单列：2 列会把 10 字以上的子项名截断 */
.cat-panel-card .cp-subs { display: grid; grid-template-columns: minmax(0, 1fr); }
.cat-panel-card ul li {
  position: relative; padding: 4px 0 4px 14px; font-size: 13.5px; color: #4B5563; line-height: 1.5;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cat-panel-card ul li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--secondary); opacity: 0.65;
}
.cat-panel-card ul li a { color: #4B5563; text-decoration: none; transition: color .15s; }
.cat-panel-card ul li a:hover { color: var(--secondary); }
@media (max-width: 1199px) { .cat-panel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .cat-panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cat-panel-card .cp-subs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px)  { .cat-panel-grid { grid-template-columns: minmax(0, 1fr); } .cat-panel-card .cp-subs { grid-template-columns: minmax(0, 1fr); } }

/* ========== 合作伙伴板块(图N 风格:6 列卡片 / 白底浅边框 / logo 方块 + 蓝色名称) ========== */
/* 首页合作企业品牌墙(参考仪器信息网):白净无框,logo 直接落地,hover 浮起白卡 */
.partner-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px 14px; }
/* #178：一格 = 一块牌匾。原来牌匾下面还跟一行灰字企业名，跟牌匾里的名字重复，已删；
   ⇒ 卡片上下留白改成对称的 10px（原来「上 12 下 10」是因为下面还有字，现在多余）。 */
.partner-card { display: flex; flex-direction: column; align-items: center; background: transparent; border: 1px solid transparent; border-radius: 10px; padding: 10px 8px; text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s, background .2s; }
.partner-card:hover { background: #fff; box-shadow: 0 6px 18px rgba(10,37,88,.10); transform: translateY(-2px); border-color: #E5E9F2; }
/* #176 老板要「占比再大」⇒ 占位标不再收成小胶囊，改为铺满整格宽度（原来只占格子约 55%） */
.partner-card .pc-logo { width: 100%; height: 78px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
/* 有真图 logo 的企业：同样铺成整格大小的白底牌匾，跟蓝色占位块尺寸一致，整面墙才齐 */
.partner-card .pc-logo img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border: 1px solid #E6EFFB; border-radius: 12px; padding: 7px; box-sizing: border-box; }
/* #178：牌匾高度由 58px 提到「撑满整格」78px（跟真图牌匾完全一样高），
   字也跟着放大：现在名字是格子里唯一的字，17px 在 78px 高的块里显得又小又空。
   ⛔ height 必须写 100% 而不是 78px：小屏断点下 .pc-logo 会降到 62px，写死 78 会溢出被裁。 */
.partner-card .pc-logo .pc-placeholder { width: 100%; max-width: 100%; height: 100%; padding: 0 8px; border-radius: 12px; background: linear-gradient(135deg, #1E5FBF, #0A2558); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 21px; font-weight: 600; letter-spacing: .5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* #202：牌匾里改放**首字**（品牌名的前 2 字）⇒ 字放大、字距拉开，让它像个「标识」而不是一行字。 */
.partner-card .pc-logo .pc-placeholder { font-size: 28px; letter-spacing: 2px; font-weight: 700; }
/* #202：牌匾下面那行品牌名（参考仪器信息网「上标 + 下字」）。
   ⛔ white-space:nowrap + ellipsis：6 列窄格放长名字会换行把整面墙顶歪，宁可截断（全名在 title 里）。 */
.partner-card .pc-name { margin-top: 8px; width: 100%; max-width: 100%; font-size: 13px; line-height: 1.35; color: #374151; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.partner-card:hover .pc-name { color: #0A2558; }
/* 2026-10-12 老板指令：品牌墙占位胶囊统一蓝色（原「虫害防控＝绿系」已删，不再按行业变色） */
/* 需求：合作企业页品牌墙固定「每行 6 个 × 共 5 行」(30 家)。
   故 ≥1024px 一律锁 6 列（原先 1199px 会降成 5 列，导致桌面窗口一缩小就变 6 行），
   仅在平板/手机断点下才降列，避免小屏卡片被压扁。 */
@media (max-width: 1023px) { .partner-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .partner-card { padding: 8px 6px; } .partner-card .pc-logo { height: 62px; } .partner-card .pc-logo .pc-placeholder { height: 100%; border-radius: 10px; font-size: 22px; } .partner-card .pc-name { margin-top: 6px; font-size: 12px; } }
@media (max-width: 480px)  { .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 需求对接:断点统一放在基础规则之后(原 815-816 行断点被下方基础定义覆盖,永不生效,已删除) */

/* ========== 推荐产品(参考仪器信息网 netshow 卡片式:logo+蓝名+型号+橙价+双按钮) ========== */
.featured-grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
/* 断点后置修复：此前断点写在文件前部,被本行基础规则同特异性覆盖→小屏仍 6 列(手机卡片仅 45px) */
@media (max-width: 1199px) { .featured-grid-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .featured-grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- 产品卡片（首页推荐产品 / featured-products / partner-detail 热销精品 共用）---- */
.pcard-wrap {
  display: block; text-decoration: none; color: var(--text);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all .3s var(--ease);
}
.pcard-wrap:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.pcard { display: flex; flex-direction: column; padding: 0 0 12px; }
.pcard-logo {
  height: 82px; display: flex; align-items: center; justify-content: center;
  padding: 10px; background: #fff; border-bottom: 1px solid #eef1f6; overflow: hidden;
}
.pcard-logo-img { max-width: 86%; max-height: 100%; object-fit: contain; }
.pcard-logo-ph {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
}
.pcard-name { font-size: 14px; font-weight: 600; color: var(--secondary); line-height: 1.45; padding: 10px 12px 0; min-height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-model { font-size: 12px; color: var(--muted); padding: 6px 12px 0; }
.pcard-price { font-size: 15px; font-weight: 700; color: var(--accent); padding: 8px 12px 10px; }
.pcard-acts { display: flex; gap: 8px; padding: 0 10px; margin-top: auto; }
.pcard-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  height: 32px; font-size: 13px; border-radius: 6px; transition: all .2s;
  cursor: pointer; user-select: none;
}
.pcard-btn-main { background: var(--secondary); color: #fff; }
.pcard-btn-main:hover { background: var(--primary); color: #fff; }
.pcard-btn-o { background: #fff; color: var(--secondary); border: 1px solid var(--secondary); }
.pcard-btn-o:hover { background: var(--secondary); color: #fff; }
/* 窄屏下卡片名称行高收敛，避免截断失真 */
@media (max-width: 767px) {
  .pcard-logo { height: 64px; }
  .pcard-name { min-height: 36px; }
  .pcard-btn { height: 30px; font-size: 12px; }
}
.btn-primary.btn-lg { padding: 12px 32px; font-size: 16px; }

/* ========== 供需对接(图6 风格:左右两栏) ========== */
.demand-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
/* 断点后置修复：原断点写在本基础规则之前被覆盖→小屏仍两列挤压 */
@media (max-width: 1199px) { .demand-layout { gap: 16px; } .demand-scroll-box, .demand-publish-box { padding: 20px 22px; } }
@media (max-width: 1023px) { .demand-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.demand-scroll-box,
.demand-publish-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.demand-scroll-box .ds-head,
.demand-publish-box .dp-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.demand-scroll-box .ds-head .ico,
.demand-publish-box .dp-head .ico { font-size: 20px; }
.demand-scroll-box .ds-head .ico { color: var(--secondary); }
.demand-publish-box .dp-head .ico { color: var(--accent); }
.demand-scroll-box .ds-head h3,
.demand-publish-box .dp-head h3 { font-size: 17px; color: var(--primary); margin: 0; flex: 1; font-weight: 600; }
.demand-scroll-box .ds-total { color: var(--muted); font-size: 13px; }
.demand-scroll-box .ds-head { margin-bottom: 14px; }
.demand-publish-box .dp-head { margin-bottom: 16px; }
.demand-scroll {
  height: 560px; overflow: hidden; position: relative;
  mask-image: linear-gradient(to bottom, transparent 0, black 24px, black calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 24px, black calc(100% - 24px), transparent 100%);
}
.demand-scroll-inner { display: flex; flex-direction: column; animation: scroll-y 36s linear infinite; }
.demand-scroll:hover .demand-scroll-inner { animation-play-state: paused; }
@keyframes scroll-y {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.demand-item {
  padding: 14px 0; border-bottom: 1px dashed var(--border); display: flex; gap: 14px; align-items: flex-start;
}
.demand-item:last-child { border-bottom: none; }
.demand-item .di-main { flex: 1; min-width: 0; }
.demand-item .di-tags { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.demand-item .di-tags .date { font-size: 12px; color: var(--muted); margin-left: auto; }
.demand-item .di-title { font-size: 15.5px; font-weight: 600; color: var(--primary); margin-bottom: 6px; line-height: 1.5; }
.demand-item .di-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.demand-item .di-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #4B5563; flex-wrap: wrap; gap: 8px; }
.demand-item .di-meta b { color: var(--secondary); font-weight: 500; }
.demand-item .di-meta .di-contact { display: flex; gap: 10px; align-items: center; }
.demand-item .di-meta .di-contact span { color: var(--muted); }
.demand-publish-box .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demand-publish-box .form-group { margin-bottom: 14px; }
.demand-publish-box textarea { min-height: 90px; }
.demand-publish-box .btn { width: 100%; padding: 12px; font-size: 15px; }

/* ========== 标准法规(图7 风格:大卡片 + 列表条目) ========== */
.std-list-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px; margin: 0 auto; }
.std-list-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.std-list-head .ico { font-size: 22px; color: var(--secondary); }
.std-list-head h2 { font-size: 22px; color: var(--primary); margin: 0; flex: 1; }
.std-list-head .more { font-size: 14px; color: var(--secondary); }
.std-list-head .more:hover { color: var(--accent); }
.std-feature-card {
  display: block; padding: 22px 24px; border-left: 4px solid var(--secondary); background: linear-gradient(135deg, #F0F6FF, #F8FAFD);
  border-radius: var(--radius); margin-bottom: 14px; color: var(--text); transition: all .2s var(--ease);
}
.std-feature-card:hover { transform: translateX(2px); box-shadow: var(--shadow); color: var(--text); }
.std-feature-card .sf-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }
.std-feature-card .sf-tags .badge { font-size: 11px; }
.std-feature-card .sf-tags .tag { font-size: 12px; }
.std-feature-card .sf-tags .status-now { background: #D1FAE5; color: #065F46; }
.std-feature-card h3 { font-size: 19px; color: var(--primary); margin-bottom: 8px; }
.std-feature-card p { font-size: 14px; color: #374151; line-height: 1.7; margin-bottom: 12px; }
.std-feature-card .sf-meta { display: flex; gap: 20px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.std-feature-card .sf-meta b { color: #4B5563; }
.std-row-item {
  display: block; padding: 18px 20px; border-left: 3px solid transparent; border-radius: 8px;
  margin-bottom: 4px; color: var(--text); transition: all .2s var(--ease);
}
.std-row-item:hover { background: rgba(30,95,191,.04); border-left-color: var(--accent); color: var(--text); }
.std-row-item .sr-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; align-items: center; }
.std-row-item .sr-tags .tag { font-size: 12px; }
.std-row-item .sr-right { float: right; color: var(--secondary); font-size: 13px; margin-top: 14px; }
.std-row-item h3 { font-size: 16px; color: var(--primary); margin-bottom: 6px; line-height: 1.5; }
.std-row-item p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.std-row-item .sr-meta { display: flex; gap: 16px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.std-row-item .sr-meta b { color: #4B5563; }

/* ========== 标准法规列表 —— 两行卡片(题目+时间+状态 / 标准内容) ========== */
.std-rows {
  display: grid; gap: 18px; margin: 0 auto;
}
.std-row {
  display: block; padding: 0; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); transition: all .22s var(--ease);
  overflow: hidden; border-left: 4px solid transparent;
  box-shadow: 0 1px 2px rgba(10,37,88,.04);
}
.std-row:hover {
  border-left-color: var(--secondary);
  box-shadow: 0 10px 26px rgba(10,37,88,.10);
  transform: translateY(-1px); color: var(--text);
}
/* 第一行:题目 + 时间 + 标准状态 */
.std-row-1 {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 18px 24px 14px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #FAFBFD 0%, #ffffff 100%);
}
.std-title-text {
  flex: 1; min-width: 0;
  font-size: 17px; font-weight: 600; color: var(--primary); line-height: 1.45;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.std-row:hover .std-title-text { color: var(--secondary); }
.std-row-meta {
  display: flex; align-items: center; gap: 12px; flex: none;
  font-size: 13px; color: var(--muted); white-space: nowrap;
}
.std-row-meta .std-no {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  color: var(--secondary); font-size: 12.5px;
  padding: 3px 9px; background: rgba(30,95,191,.10); border-radius: 4px;
}
.std-row-meta .std-date {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; background: var(--bg); border-radius: 4px; color: var(--muted);
}
.std-row-meta .std-date .ico { font-size: 13px; opacity: .75; }
.std-state { padding: 4px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 500; flex: none; }
.std-state.status-now { background: #D1FAE5; color: #065F46; }
.std-state.status-rec { background: #DBEAFE; color: #1E40AF; }

/* ——— 标准状态徽章（全站统一）：颜色严格跟随真实状态 ———
   现行=绿 / 即将实施=橙 / 废止=红 / 其他=蓝。
   注意：标准详情页 hero 是深蓝渐变底，浅色药丸在深底上对比度足够，故深浅底共用一套色值。 */
.sd-state {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: 3px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; line-height: 1.7;
}
.sd-state.status-now  { background: #D1FAE5; color: #065F46; }
.sd-state.status-soon { background: #FEF3C7; color: #92400E; }
.sd-state.status-abo  { background: #FEE2E2; color: #991B1B; }
.sd-state.status-rec  { background: #DBEAFE; color: #1E40AF; }
/* 第二行:标准的内容 */
.std-row-2 {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 18px; padding: 16px 24px 20px;
}
.std-row-2 .std-desc {
  margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.75;
  flex: 1; min-width: 0;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.std-row-2 .std-go {
  flex: none; color: var(--secondary); font-size: 13.5px;
  white-space: nowrap; opacity: .85; padding-top: 2px; font-weight: 500;
}
.std-row:hover .std-go { color: var(--accent); opacity: 1; }

/* ---------- 标准卡片（紧凑两行式：标题行 / 摘要行）----------
   2026-09-04 重构：原四段式（标签行+标题+两行摘要+元信息行）单卡过高、
   列表一屏仅可见 4~5 条。改为两行：上行「状态·编号·标题·范围」，
   下行「摘要·发布/实施」。单卡高度由约 150px 压到约 64px。
   列表页与标准详情页「相关推荐」共用此卡片。 */
.std-rows.std-cards {
  display: flex; flex-direction: column; gap: 8px;
  width: 100%; margin: 0 auto;
}
.std-card {
  display: block; position: relative;
  background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--secondary);
  border-radius: 8px; padding: 10px 38px 10px 14px;
  color: var(--text); text-decoration: none;
  box-shadow: 0 1px 2px rgba(10,37,88,.04);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
  overflow: hidden;
}
.std-card:hover {
  border-left-color: var(--accent);
  box-shadow: 0 6px 16px rgba(10,37,88,.10);
  transform: translateY(-1px);
}
/* 第一行：状态 + 标准号 + 标题 + 适用范围 + 发布/实施日期
   2026-09-05：发布/实施日期由第二行上提到第一行右端（用户要求），
   与编号、状态同处「身份信息区」，一眼可比对新旧版本；第二行只留级别 + 摘要。 */
.std-card-l1 { display: flex; align-items: center; gap: 8px; min-width: 0; margin-bottom: 3px; }
.std-card-l1 .sd-state { flex: none; }
.std-card-no {
  flex: none; white-space: nowrap;
  font-family: ui-monospace, "SF Mono", Consolas, Menlo, monospace;
  font-size: 12px; font-weight: 600; letter-spacing: .2px;
  color: var(--secondary); background: rgba(30,95,191,.08);
  padding: 2px 7px; border-radius: 4px;
}
.std-card-title {
  flex: 1 1 auto; min-width: 0; margin: 0;
  font-size: 15px; font-weight: 600; color: var(--primary); line-height: 1.45;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.std-card:hover .std-card-title { color: var(--secondary); }
.std-card-scope {
  flex: none; white-space: nowrap;
  font-size: 11.5px; padding: 2px 8px; border-radius: 4px;
  background: var(--bg); color: var(--muted);
}
.std-card-scope.tag-blue   { background: #EAF2FE; color: var(--secondary); }
.std-card-scope.tag-orange { background: #FFEFE0; color: #C2410C; }
.std-card-scope.tag-red    { background: #FEE2E2; color: #B91C1C; }
.std-card-scope.tag-grey   { background: #F1F3F8; color: #5B6573; }
/* 第二行：级别 + 摘要 */
.std-card-l2 { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.std-card-lv {
  flex: none; white-space: nowrap;
  font-size: 11px; line-height: 1.5; color: #6B7480;
  background: #F1F3F8; padding: 1px 6px; border-radius: 3px;
}
.std-card-desc {
  flex: 1 1 auto; min-width: 0; margin: 0;
  font-size: 12.5px; color: var(--muted); line-height: 1.55;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* 发布 / 实施日期：现在位于第一行右端 */
.std-card-dates {
  flex: none; white-space: nowrap;
  font-size: 11.5px; color: #98A1B0; font-variant-numeric: tabular-nums;
}
.std-card-dates .lb { color: #B3BAC5; }
.std-card-dates .dt { color: #7A8494; }
.std-card-arrow {
  position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
  font-size: 20px; color: var(--muted); opacity: .3; line-height: 1;
  transition: all .18s var(--ease);
}
.std-card:hover .std-card-arrow { color: var(--accent); opacity: 1; transform: translateY(-50%) translateX(3px); }

@media (max-width: 860px) {
  .std-card { padding: 10px 14px; }
  .std-card-arrow { display: none; }
  .std-card-scope { display: none; }
  /* 窄屏放不下「状态+编号+标题+日期」一行：换行，标题独占一行 */
  .std-card-l1 { flex-wrap: wrap; row-gap: 3px; }
  .std-card-l1 .sd-state { order: 1; }
  .std-card-no { order: 2; }
  .std-card-dates { order: 3; margin-left: auto; }
  .std-card-title { order: 4; flex: 1 1 100%; white-space: normal; }
  .std-card-l2 { display: block; }
  .std-card-lv { display: inline-block; margin-right: 6px; }
  /* 描述单行省略在手机上会裁掉 2/3 内容(905px 截到 319px) → 放开为两行截断 */
  .std-card-desc {
    white-space: normal; overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
  }
}

/* 头栏扩展 */
.std-list-head .sub { font-size: 13.5px; color: var(--muted); }
.std-list-head .count {
  font-size: 13px; color: var(--muted); margin-left: auto; padding: 4px 12px;
  background: var(--bg); border-radius: 999px; white-space: nowrap;
}
/* 窄屏：图标+标题+副标题+计数 一行放不下 → 允许换行，副标题独占一行 */
@media (max-width: 900px) {
  .std-list-head { flex-wrap: wrap; row-gap: 6px; }
  .std-list-head h2 { flex: 1 1 auto; min-width: 0; font-size: 19px; }
  .std-list-head .sub { flex: 1 1 100%; order: 3; }
  .std-list-head .count { margin-left: 0; order: 2; }
}
.std-list-head .more { font-size: 13px; color: var(--secondary); }
.std-list-head .more:hover { color: var(--accent); }
/* 空状态 */
.empty {
  text-align: center; color: var(--muted); padding: 60px 0;
  background: #fff; border: 1px dashed var(--border); border-radius: var(--radius);
  margin: 0 auto;
}

/* ========== 首页「标准法规」板块 —— 2 列紧凑网格（整卡可点击） ========== */
.home-std-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  margin: 0 auto;
}
.home-std-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--secondary);
  border-radius: 8px; padding: 13px 16px 12px;
  color: var(--text); text-decoration: none;
  transition: all .2s var(--ease); min-height: 126px;
  position: relative;
}
.home-std-card:hover {
  border-left-color: var(--accent);
  box-shadow: 0 6px 18px rgba(10,37,88,.10);
  transform: translateY(-2px); color: var(--text);
}
.home-std-head { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; flex-wrap: wrap; }
.home-std-no {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 12px; padding: 2px 7px;
  background: rgba(30,95,191,.10); color: var(--secondary); border-radius: 4px;
}
.home-std-head .tag { font-size: 11.5px; padding: 1.5px 9px; border-radius: 999px; font-weight: 500; }
.home-std-head .tag-green { background: #DCFCE7; color: #166534; }
.home-std-head .tag-blue  { background: #EAF2FE; color: var(--secondary); }
.home-std-head .tag-grey  { background: #F1F3F8; color: #5B6573; }
.home-std-head .tag-red   { background: #FEE2E2; color: #B91C1C; }
.home-std-head .tag-orange{ background: #FFEFE0; color: #C2410C; }
.home-std-scope { font-weight: 500; }
.home-std-state { padding: 1.5px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 500; }
.home-std-state.status-now { background: #D1FAE5; color: #065F46; }
.home-std-state.status-rec { background: #DBEAFE; color: #1E40AF; }
.home-std-newwin {
  font-size: 12px; color: var(--muted); opacity: .6;
  width: 18px; height: 18px; line-height: 16px; text-align: center;
  border: 1px solid var(--border); border-radius: 3px; flex-shrink: 0;
}
.home-std-card:hover .home-std-newwin { color: var(--secondary); border-color: var(--secondary); opacity: 1; }
.home-std-title {
  font-size: 14px; font-weight: 600; color: var(--primary); margin: 0 0 6px;
  line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.home-std-card:hover .home-std-title { color: var(--secondary); }
.home-std-desc {
  margin: 0 0 8px; font-size: 12.5px; color: var(--muted); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
/* 发布 / 实施：已从卡片末行上移到第一行右端（与标准列表页 .std-card-dates 同一口径） */
.home-std-dates {
  margin-left: auto; white-space: nowrap;
  font-size: 11.5px; color: #98A1B0; font-variant-numeric: tabular-nums;
}
.home-std-dates .lb { color: #B3BAC5; }
.home-std-dates .dt { color: #7A8494; }
.home-std-dates .sep { margin: 0 5px; color: #D5DAE2; }
/* 窄屏：第一行放不下时日期整体换行，避免被截断 */
@media (max-width: 620px) {
  .home-std-dates { margin-left: 0; flex-basis: 100%; order: 9; }
  .home-std-newwin { margin-left: auto; }
}
@media (max-width: 760px) {
  .home-std-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .std-row-1 { flex-direction: column; align-items: flex-start; gap: 10px; }
  .std-row-meta { flex-wrap: wrap; }
  .std-list-head .count { margin-left: 0; }
}

/* ========== 标准详情(图8 风格:左侧筛选+列表 + 右侧详情面板) ========== */
.std-page-head { background: linear-gradient(135deg, #0A2558, #1E5FBF); color: #fff; padding: 32px 0; }
.std-page-head h1 { color: #fff; font-size: 30px; margin-bottom: 8px; }
.std-page-head p { color: #cdd8ee; font-size: 14px; }
.std-page-head .std-search-row { display: flex; align-items: center; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.std-page-head .std-search-row .search-box { display: flex; flex: 1; min-width: 320px; max-width: 460px; background: #fff; border-radius: 6px; overflow: hidden; }
.std-page-head .std-search-row .search-box input { flex: 1; padding: 9px 14px; border: none; outline: none; font-size: 14px; color: var(--text); min-width: 0; }
.std-page-head .std-search-row .search-box button { background: var(--secondary); color: #fff; border: none; padding: 0 18px; cursor: pointer; flex: none; }
/* 窄屏：320px 最小宽会撑破手机视口 → 放开并整行铺满 */
@media (max-width: 640px) {
  .std-page-head .std-search-row .search-box { min-width: 0; max-width: none; width: 100%; flex-basis: 100%; }
}
.std-page-head .std-total-box { background: rgba(255,255,255,.1); padding: 8px 16px; border-radius: 6px; font-size: 13px; }
.std-page-head .std-total-box b { color: #fff; font-size: 22px; display: block; line-height: 1.2; }
.std-layout { display: grid; grid-template-columns: 320px minmax(0,1fr); gap: 22px; align-items: start; }
.std-side { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 0; }
.std-side .ss-grp { padding: 14px 22px 8px; border-bottom: 1px solid var(--border); }
.std-side .ss-grp:last-child { border-bottom: none; }
.std-side .ss-label { font-size: 13px; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.std-side .ss-chips { display: flex; flex-wrap: wrap; gap: 6px; }
/* 左侧筛选 chip：2026-09-05 补齐悬停反馈，2026-09-08 再加强（老板：悬停分类选项框要有明确感知）
   现悬停 = 深一档蓝底 + 缩放放大 1.06 + 加粗 + 投影加深，一眼可见；
   并区分 :active / :focus-visible / 选中态 hover。列表页与详情页左侧筛选共用。 */
.std-side .ss-chip {
  padding: 4px 11px; border: 1px solid var(--border); border-radius: 20px;
  font-size: 12.5px; line-height: 1.6; color: var(--text); background: #fff;
  cursor: pointer; user-select: none; -webkit-user-select: none;
  transition: background-color .16s var(--ease), border-color .16s var(--ease),
              color .16s var(--ease), box-shadow .16s var(--ease), transform .16s var(--ease);
}
.std-side .ss-chip:hover {
  background: #D8E7FD; border-color: var(--secondary); color: var(--secondary);
  transform: translateY(-1px) scale(1.06); box-shadow: 0 4px 12px rgba(30,95,191,.25);
  font-weight: 600;
}
.std-side .ss-chip:active { transform: translateY(0) scale(1); box-shadow: none; }
.std-side .ss-chip:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }
.std-side .ss-chip.active {
  background: var(--secondary); color: #fff; border-color: var(--secondary);
  font-weight: 600; box-shadow: 0 2px 6px rgba(30,95,191,.22);
}
.std-side .ss-chip.active:hover {
  background: #1A55AD; border-color: #1A55AD; color: #fff;
  transform: translateY(-1px); box-shadow: 0 4px 10px rgba(30,95,191,.30);
}
/* 计数角标：常态淡、悬停/选中时略微提亮，不抢主文案 */
.std-side .ss-chip .ct {
  margin-left: 3px; font-weight: 400; opacity: .6; font-variant-numeric: tabular-nums;
}
.std-side .ss-chip:hover .ct { opacity: .85; }
.std-side .ss-chip.active .ct { opacity: .8; }
.std-list-area { display: flex; flex-direction: column; gap: 14px; }
.std-list-area .sl-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; cursor: pointer; transition: all .2s var(--ease); border-left: 4px solid transparent; text-decoration: none; color: inherit; }
.std-list-area .sl-newwin { margin-left: auto; font-size: 12px; color: var(--muted); opacity: .75; }
.std-list-area .sl-card:hover .sl-newwin { color: var(--secondary); opacity: 1; }
.std-list-area .sl-card:hover { border-left-color: var(--secondary); transform: translateX(2px); }
.std-list-area .sl-card.active { border-left-color: var(--accent); background: linear-gradient(135deg, #FFF8F4, #FFFCFA); }
.std-list-area .sl-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; align-items: center; }
.std-list-area .sl-tags .tag { font-size: 12px; }
.std-list-area .sl-tags .status-now { background: #D1FAE5; color: #065F46; padding: 2px 10px; border-radius: 20px; font-size: 12px; }
.std-list-area h3 { font-size: 16px; color: var(--primary); margin-bottom: 6px; }
.std-list-area p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.std-list-area .sl-meta { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin-top: 8px; }
.std-detail-side { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; position: sticky; top: 92px; }
/* 断点后置修复：原断点写在文件前部被本基础规则覆盖→小屏侧栏仍 sticky 双列 */
@media (max-width: 1199px) { .std-detail-side { position: static; } }
@media (max-width: 1023px) { .std-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px)  { .std-detail-side { padding: 16px; } }
.std-detail-side .sd-back { color: var(--secondary); font-size: 13px; margin-bottom: 12px; }
.std-detail-side .sd-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }
.std-detail-side .sd-tags .tag { font-size: 12px; }
.std-detail-side .sd-tags .status-now { background: #D1FAE5; color: #065F46; padding: 2px 10px; border-radius: 20px; font-size: 12px; }
.std-detail-side h2 { font-size: 20px; color: var(--primary); margin-bottom: 12px; line-height: 1.4; }
.std-detail-side .sd-meta { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.std-detail-side .sd-meta b { color: #4B5563; }
.std-detail-side h3 { font-size: 15px; color: var(--primary); margin: 16px 0 8px; font-weight: 600; }
.std-detail-side .sd-block { background: var(--bg); padding: 12px 16px; border-radius: 6px; font-size: 13.5px; color: #374151; line-height: 1.7; }
.std-detail-side .sd-list { padding-left: 22px; margin: 8px 0; }
.std-detail-side .sd-list li { padding: 3px 0; font-size: 13.5px; color: #374151; line-height: 1.7; list-style: disc; }
.std-detail-side .sd-download {
  display: block; width: 100%; text-align: left; cursor: pointer; font: inherit;
  margin-top: 22px; padding: 14px 18px; background: linear-gradient(135deg, #E8F2FF, #F5FAFF);
  border: 1px solid #DCE7F5; border-radius: 8px; color: var(--secondary); text-decoration: none; transition: all .2s;
}
.std-detail-side .sd-download:hover { background: var(--secondary); color: #fff; transform: translateY(-2px); }
.std-detail-side .sd-download .dwn-head { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.std-detail-side .sd-download .dwn-head .ico { font-size: 18px; }
.std-detail-side .sd-download .dwn-sub { font-size: 12px; opacity: .8; }

/* ========== 后台 板块名称管理 ========== */
.section-block { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 22px; }
.section-block h3 { color: var(--primary); margin-bottom: 4px; }
.section-block .sb-hint { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.section-block .name-row { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.section-block .name-row:last-child { border-bottom: none; }
.section-block .name-row .lbl { color: var(--text); font-size: 14px; font-weight: 500; }
.section-block .name-row .lbl small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 2px; }
.section-block .name-row input { width: 100%; padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; outline: none; }
.section-block .name-row input:focus { border-color: var(--secondary); }
.section-block .name-row .reset { color: var(--muted); font-size: 12px; padding: 6px 10px; cursor: pointer; border: none; background: none; }
.section-block .name-row .reset:hover { color: var(--secondary); }
.section-block .save-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.section-block .save-bar .hint { color: var(--muted); font-size: 13px; }
.section-block .save-bar .actions { display: flex; gap: 8px; }

/* ========== 右侧悬浮快捷按钮组（全站通用，common.js 自动注入） ========== */
.xx-side-tools {
  position: fixed; right: 24px; bottom: 36px; z-index: 999;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  pointer-events: none;
  /* 2026-09-11 老板要求：可拖拽改变位置 */
  touch-action: none;                 /* 拖动时不触发页面滚动 */
  -webkit-user-select: none; user-select: none;
}
.xx-side-tools > * { pointer-events: auto; }

/* 拖拽中：整组半透明 + 抓取光标 + 取消 hover 位移（否则会跟手抖） */
.xx-side-tools.dragging { opacity: .93; }
.xx-side-tools.dragging,
.xx-side-tools.dragging .xx-side-btn { cursor: grabbing !important; }
.xx-side-tools.dragging .xx-side-btn { transition: none !important; transform: none !important; }
.xx-side-tools.dragging .xx-side-btn:hover {
  background: #fff; color: #1E5FBF;
  box-shadow: 0 10px 28px rgba(15, 63, 140, .3), 0 2px 5px rgba(0, 0, 0, .12);
}
.xx-side-tools.dragging .xx-side-btn:hover .xx-side-ico { background: rgba(30, 95, 191, .12); color: #1E5FBF; }

.xx-side-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px;
  border: none; outline: none; cursor: pointer;
  background: #fff; color: #1E5FBF;
  border-radius: 22px; box-shadow: 0 4px 14px rgba(15, 63, 140, .14), 0 1px 3px rgba(0, 0, 0, .08);
  font-size: 14px; font-weight: 500; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, opacity .22s ease, visibility .22s ease;
}
.xx-side-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(30, 95, 191, .12); color: #1E5FBF;
  transition: background .18s ease, color .18s ease;
}
.xx-side-btn:hover {
  background: #1E5FBF; color: #fff;
  box-shadow: 0 8px 22px rgba(15, 63, 140, .28), 0 2px 4px rgba(0, 0, 0, .12);
  transform: translateY(-2px);
}
.xx-side-btn:hover .xx-side-ico { background: rgba(255, 255, 255, .22); color: #fff; }
.xx-side-btn:active { transform: translateY(0) scale(.97); }

/* 「返回顶部」—— 默认不显示，滚动 > 400px 淡入 */
.xx-back-top {
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
}
.xx-back-top.show {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
.xx-back-top.show:hover { transform: translateY(-2px); }

@media (max-width: 640px) {
  .xx-side-tools { right: 12px; bottom: 24px; gap: 10px; }
  .xx-side-btn { height: 36px; padding: 0 14px; font-size: 13px; }
  .xx-side-ico { width: 20px; height: 20px; }
}

/* ============ 首页云课堂：分类统计行 + 课程大卡（紧凑专业版） ============ */
/* 分类行：紧凑横条(图标+名称左对齐,数量右对齐)，不再用大竖卡 */
.cr-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.cr-cat {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #EDF0F5; border-radius: 10px;
  padding: 11px 14px; text-align: left; color: inherit;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.cr-cat:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(10, 37, 88, .09); border-color: #DCE5F2; color: inherit; }
.cr-cat-ico { font-size: 20px; line-height: 1; flex: none; }
.cr-cat-name { font-size: 14px; font-weight: 700; color: var(--text); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-cat-n { font-size: 12px; color: var(--muted); flex: none; }
.cr-cat-n b { color: var(--secondary); font-weight: 700; }

/* 课程卡：封面压矮 + 去掉通栏大按钮(改为 meta 行右侧轻量链接)，整体收紧扣专业 */
.cr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cr-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid #EDF0F5; border-radius: 10px; overflow: hidden; color: inherit;
  box-shadow: 0 1px 3px rgba(10, 37, 88, .05);
  transition: box-shadow .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease);
}
.cr-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(10, 37, 88, .11); border-color: #DCE5F2; color: inherit; }
.cr-cover { position: relative; height: 132px; overflow: hidden; background: #F1F3F8; flex: none; }
.cr-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.cr-card:hover .cr-cover img { transform: scale(1.04); }
.cr-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 11px; line-height: 1.5; font-weight: 600;
  padding: 1px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); box-shadow: 0 1px 4px rgba(10, 37, 88, .16);
}
.cr-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 11px 13px 12px; }
.cr-title { font-size: 14.5px; font-weight: 700; color: var(--text); line-height: 1.45; }
.cr-desc {
  margin-top: 5px; font-size: 12.5px; color: var(--muted); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cr-meta { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.cr-dur { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cr-dur svg { width: 12px; height: 12px; flex: none; }
.cr-level { font-size: 11px; line-height: 1.6; font-weight: 600; padding: 0 8px; border-radius: 999px; }
/* 轻量「开始学习」链接：代替原来的通栏大按钮，视觉不抢主体 */
.cr-go { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--secondary); white-space: nowrap; transition: color .18s var(--ease); }
.cr-card:hover .cr-go { color: var(--accent); }

@media (max-width: 900px) {
  .cr-cats { gap: 10px; }
  .cr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 600px) {
  /* 单列三条横条：3 列时 6 字分类名(75px)放不进 60px 会被截字 */
  .cr-cats { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cr-cat { padding: 10px 12px; gap: 8px; }
  .cr-cat-ico { font-size: 18px; }
  .cr-cat-name { font-size: 13.5px; }
  .cr-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cr-cover { height: 150px; }
}

/* ============ 商家简称（商标简称）徽标 ============
   用于解决方案与产品卡片/详情，展示合作企业商标简称；
   带 .bb-link 时可点击，在新窗口打开 partner-detail.html 企业主页 */
.brand-badge {
  display: inline-flex; align-items: center; gap: 4px;
  flex: none; /* 关键：徽章在 flex 行内被压扁到 19px(内容 77px) 会导致文字被裁掉，禁止收缩 */
  max-width: 100%; padding: 2px 9px; border-radius: 999px;
  background: #FFF0E8; border: 1px solid #FFD6BE;
  color: #C2570A; font-size: 12px; line-height: 1.7;
  font-weight: 600; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  text-decoration: none !important;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.brand-badge.bb-sm { padding: 1px 8px; font-size: 11.5px; }
.brand-badge.bb-link { cursor: pointer; }
.brand-badge.bb-link:hover {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 4px 12px rgba(255, 107, 53, .3);
}
.brand-badge.bb-link:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }
.brand-badge .bb-go { font-style: normal; font-size: 10.5px; opacity: .8; line-height: 1; }
.brand-badge.bb-link:hover .bb-go { opacity: 1; }

/* 详情页「进入企业主页」按钮 */
.brand-home-btn { margin-top: 10px; }
.brand-home-btn.bb-block { display: block; width: 100%; text-align: center; }

/* 2026-09-10 清理：以下选择器对应 2026-09-06 前的旧卡片/旧方案详情版式，全站 0 引用已删除
   （.solu-item .meta .brand-badge / .pc-brand / .featured-card-6 .fc-partner / .sr-brand / .sr-brand .lbl） */

/* 解决方案详情页头部的方案提供方 */
.sd-brand {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .92);
}
.sd-brand .lbl { color: rgba(255, 255, 255, .7); font-size: 13px; }
.sd-brand .brand-badge { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .35); color: #fff; }
.sd-brand .brand-badge.bb-link:hover { background: var(--accent); border-color: var(--accent); }
/* 其他解决方案卡片 */
.os-card { position: relative; }
.os-card .os-brand { margin-top: 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.os-card .os-sum { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* ============ R2 合作企业主页（版式参考仪器信息网商家主页） ============ */
.pd-top { background: #F6F8FC; padding: 18px 0 22px; border-bottom: 1px solid #E5E9F2; }
.pd-card { background: #fff; border: 1px solid #E5E9F2; border-radius: 12px; padding: 20px 22px; box-shadow: 0 1px 3px rgba(10, 37, 88, .05); }
.pd-card-top { display: flex; align-items: flex-start; gap: 16px; }
.pd-logo { width: 72px; height: 72px; flex: none; border-radius: 12px; border: 1px solid #EDF0F5; background: #FAFBFD; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700; color: var(--secondary); overflow: hidden; }
.pd-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pd-id { flex: 1; min-width: 0; }
.pd-name { margin: 0 0 8px; font-size: 22px; color: var(--primary); font-weight: 700; line-height: 1.3; }
.pd-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pd-medal { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 4px; font-size: 12.5px; font-weight: 700; }
.pd-medal.gold   { background: #FFF4E0; color: #B45309; border: 1px solid #F5DEA8; }
.pd-medal.silver { background: #F1F3F8; color: #4B5563; border: 1px solid #DDE3EC; }
.pd-medal.bronze { background: #FFF0E8; color: #C2570A; border: 1px solid #FFD6BE; }
.pd-medal.new    { background: #EAF2FE; color: var(--secondary); border: 1px solid #C7DDFB; }
.pd-verified { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #0F9960; font-weight: 600; }
.pd-verified.off { color: var(--muted); }
.pd-verified em { font-style: normal; font-weight: 400; color: var(--muted); }
.pd-actions { display: flex; gap: 8px; flex: none; }

.pd-kw { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding-top: 14px; border-top: 1px dashed #E5E9F2; }
.pd-kw-label { flex: none; font-size: 13px; color: var(--muted); font-weight: 600; padding-top: 3px; }
.pd-kw-list { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.pd-chip { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #F4F8FE; border: 1px solid #E1EBFA; color: var(--secondary); font-size: 13px; }
.pd-chip:hover { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.pd-stats { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed #E5E9F2; }
.pd-stat { font-size: 13px; color: var(--muted); }
.pd-stat b { display: block; font-size: 18px; color: var(--primary); font-weight: 700; margin-bottom: 2px; }
.pd-desc { color: #374151; line-height: 1.85; margin: 0; }
.pd-count { float: right; font-size: 12.5px; font-weight: 400; color: var(--muted); }

/* 热销精品：网格卡片式（参考仪器信息网 netshow · 复用 .pcard 卡片）
   auto-fill 自适应列数：产品少于列数时自动收敛，避免留下空列大片空白 */
.pd-prods { display: flex; flex-direction: column; gap: 10px; }
.pd-prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
/* 保留旧横条样式（部分页面仍可引用） */
.pd-prod { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #EDF0F5; border-radius: 10px; background: #fff; transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.pd-prod:hover { border-color: #DCE5F2; box-shadow: 0 4px 14px rgba(10, 37, 88, .08); }
.pd-prod-link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.pd-prod-ico { width: 48px; height: 48px; flex: none; border-radius: 8px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.pd-prod-main { min-width: 0; flex: 1; }
.pd-prod-name { display: block; font-size: 14.5px; font-weight: 600; color: var(--primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-prod-sub { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-prod-sub b { font-weight: 400; color: #9AA6BD; margin-right: 4px; }
.pd-prod-sub b:not(:first-child) { margin-left: 10px; }
.pd-prod-tags { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.pd-prod-tags i { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 3px; background: var(--bg); color: var(--muted); }
.pd-prod-side { flex: none; display: flex; align-items: center; gap: 8px; }
.pd-price { font-size: 14px; font-weight: 700; color: var(--accent); }
.pd-act { font-size: 12.5px; padding: 5px 12px; border-radius: 6px; border: 1px solid var(--secondary); color: var(--secondary); }
.pd-act:hover { background: var(--secondary); color: #fff; }
.pd-act-o { border-color: #D5DAE2; color: var(--muted); }
.pd-act-o:hover { background: #F1F3F8; color: var(--text); border-color: #D5DAE2; }

/* ---- 双竖条区块标题（「ll」蓝条 + 标题 + 右侧「更多 ›」）---- */
/* 区块标题条（参照仪器信息网 SH123165：浅蓝底 + 左侧深蓝小方块图标 + 深色标题 + 右侧「更多>」） */
.sec-bar2 {
  display: flex; align-items: center; gap: 10px; margin: 0 0 16px;
  padding: 9px 12px 9px 10px; background: #EAF3FC; border-radius: 4px; position: relative;
  scroll-margin-top: 76px;
}
.sec-bar2::before {
  content: ""; width: 18px; height: 18px; flex: 0 0 18px;
  background: var(--secondary); border-radius: 3px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.55);
}
.sec-bar2 .sb-title { color: var(--primary); font-size: 16px; font-weight: 700; letter-spacing: .5px; }
.sec-bar2 .sb-more { margin-left: auto; color: #4B76B8; font-size: 12.5px; text-decoration: none; padding-right: 2px; }
.sec-bar2 .sb-more:hover { color: var(--secondary); text-decoration: underline; }
/* 左尖角装饰（保留兼容，不再默认使用） */
.sec-bar2 .sb-tri { width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-right: 8px solid #fff; }

/* ---- 企业头部横幅（参照 SH123165：浅蓝渐变 + 白底方块 logo + 名称 + 蓝 V + 主营 + 右侧大电话） ---- */
.pd-hero {
  background: linear-gradient(135deg, #E8F2FE 0%, #D6E8FC 60%, #C9E0FB 100%);
  border: 1px solid #C7DDF6; border-radius: 10px;
  padding: 22px 24px; margin-top: 14px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.pd-hero-logo {
  width: 84px; height: 84px; flex: 0 0 84px; border-radius: 10px; background: #fff;
  border: 1px solid #D8E6F8; display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-size: 30px; font-weight: 800; color: var(--secondary);
  box-shadow: 0 4px 14px rgba(30,95,191,.10);
}
.pd-hero-logo img { width: 100%; height: 100%; object-fit: contain; }
.pd-hero-id { flex: 1 1 320px; min-width: 260px; }
.pd-hero-name { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.pd-hero-name h1 { margin: 0; font-size: 24px; color: var(--primary); line-height: 1.25; }
.pd-vbadge {
  display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto;
  padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, #2E78D8, var(--secondary));
  box-shadow: 0 2px 8px rgba(30,95,191,.28);
}
.pd-vbadge i { font-style: normal; font-size: 11px; background: #fff; color: var(--secondary); border-radius: 50%; width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.pd-hero-main { font-size: 13.5px; color: #3A5578; line-height: 1.8; }
.pd-hero-main .pd-chip { background: rgba(255,255,255,.75); border-color: #BCD5F3; }
.pd-hero-right { text-align: right; margin-left: auto; }
.pd-hero-phone { font-size: 26px; font-weight: 800; color: var(--accent); letter-spacing: .5px; white-space: nowrap; }
.pd-hero-phone-note { font-size: 12px; color: #6B87AB; margin-top: 4px; }
/* #184b 企业官网（老板 2026-10-19：「电话下边」）—— 横幅右侧、电话说明下方，右对齐。
   ⛔ 这一块很窄：前缀用浅灰小字，网址允许折行；不要加「点击在新窗口打开」这种提示，
      8 个字就会把这一行顶成两行，把电话挤上去。 */
.pd-hero-site { margin-top: 7px; max-width: 300px; margin-left: auto; font-size: 12.5px; line-height: 1.45; color: #4B5563; text-align: right; }
.pd-hero-site .pd-site-k { color: #6B87AB; }
.pd-hero-site a { color: #1E5FBF; text-decoration: none; word-break: break-all; }
.pd-hero-site a:hover { text-decoration: underline; }

/* ---- 企业内导航条 ----
   2026-10-12 老板：「公司介绍/产品中心/解决方案/留言咨询 导航太丑」。
   改前：整条深蓝底白字，当前项是「白底蓝字 + 上圆角」⇒ 蓝条上缺一块白牙，且文字右侧留出大片纯蓝，
        视觉比上方浅蓝横幅还重，头重脚轻。
   改后：白底选项卡 —— 常规态深蓝灰字、悬停浅蓝底、当前项蓝色加粗 + 3px 蓝色下划线（无白块、通条连续）；
        整条只留一条 1px 下边框与正文区分，右侧空白变成干净的页面留白。 */
.pd-nav { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 14px; display: flex; flex-wrap: wrap; gap: 4px; }
.pd-nav a {
  color: #3A5578; text-decoration: none; font-size: 14.5px; font-weight: 600;
  padding: 12px 20px; position: relative; border-radius: 6px 6px 0 0;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.pd-nav a:hover { color: var(--secondary); background: #F2F7FE; }
.pd-nav a.on { color: var(--secondary); font-weight: 700; }
.pd-nav a.on::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px;
  background: var(--secondary); border-radius: 3px 3px 0 0;
}

/* ---- 产品卡 thumb 模式（企业详情页：顶部产品图区，参照 SH123165） ---- */
.pcard-thumb {
  height: 132px; border-radius: 8px; margin-bottom: 10px;
  background: linear-gradient(160deg, #F4F9FF, #E9F2FD);
  border: 1px solid #E3EEFB; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.pcard-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pcard-thumb-ico { font-size: 52px; line-height: 1; filter: drop-shadow(0 4px 8px rgba(30,95,191,.18)); }
.pcard-thumb-ph { font-size: 40px; font-weight: 800; color: #9FC0EA; }
.pcard-thumb-mode .pcard-name { min-height: 40px; }

/* ---- 侧栏企业名片头（留言表单上方，参照 SH123165 右栏） ---- */
.pmf-brand { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.pmf-brand-logo {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 8px; background: #F2F7FE; border: 1px solid #DCE9F8;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-size: 18px; font-weight: 800; color: var(--secondary);
}
.pmf-brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.pmf-brand-name { font-size: 14px; font-weight: 700; color: var(--primary); line-height: 1.4; }
.pmf-brand-btn { margin-top: 10px; }

/* ---- 右栏旧卡样式清理 + 新布局 ---- */
/* 已删卡片的死样式一并清除：pd-auth-*（工商核实卡→改名称行徽章）/ pd-contact（→移主栏后又整体删除）
   / pd-side-kw（主营方向卡）/ pd-peers（同类企业卡）。保留仍被引用的 .pd-hint。 */
.pd-hint { display: block; font-size: 11px; color: #9AA6BD; margin-top: 2px; }

/* 企业名称行「已认证」徽章（原右栏工商核实卡压缩而来；title 悬停显示校验时间） */
.pd-cbadge {
  display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto;
  font-size: 12.5px; font-weight: 600; color: #0B7A3B;
  background: #E8F7EE; border: 1px solid #BFE8CF; border-radius: 999px; padding: 3px 10px;
  cursor: help; white-space: nowrap;
}
.pd-cbadge i { font-style: normal; font-size: 11px; color: #fff; background: var(--success); border-radius: 50%; width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }

/* 主栏「联系方式」板块（原右栏卡移入，横向信息条 + 右侧 CTA） */

/* 留言卡悬浮跟随（老板要求：滚动页面始终显示）。aside 拉伸到与左栏等高，为 sticky 提供滚动空间；
   top=88px 避开 sticky 头部(76px)+间距；max-height 防止矮视口下「提交」按钮被截断（超出时卡内滚动）。
   小屏布局为单列时取消悬浮，避免遮挡内容。 */
.pd-aside { align-self: stretch; }
.pd-msg-sticky { position: sticky; top: 88px; max-height: calc(100vh - 104px); overflow-y: auto; }
@media (max-width: 1023px) { .pd-msg-sticky { position: static; max-height: none; overflow: visible; } .pd-aside { align-self: auto; } }

/* ---- 侧栏「留言咨询」表单（统计到对应合作企业 + 超管）---- */
.pd-msg-form .pmf-tip {
  display: flex; align-items: flex-start; gap: 6px; font-size: 12px; color: var(--secondary);
  background: #EEF5FE; border: 1px solid #DCE9FC; border-radius: 6px; padding: 8px 10px; margin-bottom: 12px; line-height: 1.6;
}
.pd-msg-form .pmf-tip i { font-style: normal; color: var(--accent); }
.pd-msg-form .pmf-field { margin-bottom: 12px; }
.pd-msg-form .pmf-label { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--primary); margin-bottom: 6px; font-weight: 500; }
.pd-msg-form .pmf-label b { color: var(--accent); font-weight: 700; }
.pd-msg-form .pmf-in {
  width: 100%; height: 38px; padding: 0 12px; font-size: 13.5px; color: var(--text);
  border: 1px solid #D5DAE2; border-radius: 6px; box-sizing: border-box; outline: none;
  transition: border-color .2s;
}
.pd-msg-form .pmf-in:focus { border-color: var(--secondary); }
.pd-msg-form .pmf-in::placeholder { color: #A7B0C0; }
.pd-msg-form textarea.pmf-in { height: auto; min-height: 72px; padding: 9px 12px; resize: vertical; line-height: 1.6; }
.pd-msg-form .pmf-sub {
  width: 100%; height: 42px; border: none; border-radius: 6px; cursor: pointer;
  background: var(--secondary); color: #fff; font-size: 15px; font-weight: 600;
  transition: background .2s;
}
.pd-msg-form .pmf-sub:hover { background: var(--primary); }
.pd-msg-form .pmf-note { font-size: 11.5px; color: #A7B0C0; line-height: 1.6; margin-top: 8px; text-align: center; }
.pd-msg-form .pmf-ok { font-size: 12.5px; color: var(--success); line-height: 1.6; margin-top: 8px; text-align: center; }
.pd-msg-form .pmf-err { font-size: 12.5px; color: #E53935; line-height: 1.6; margin-top: 8px; text-align: center; }

@media (max-width: 900px) {
  .pd-card-top { flex-wrap: wrap; }
  .pd-actions { width: 100%; }
  .pd-actions .btn { flex: 1; }
}
@media (max-width: 640px) {
  .pd-card { padding: 16px; }
  .pd-logo { width: 56px; height: 56px; font-size: 24px; }
  .pd-name { font-size: 19px; }
  .pd-prod { flex-wrap: wrap; }
  .pd-prod-side { width: 100%; justify-content: flex-start; margin-top: 2px; }
  .pd-stats { gap: 14px; }
  .pd-stat b { font-size: 16px; }
  /* 规格行单行省略会截字 → 放开为两行截断 */
  .pd-prod-sub {
    white-space: normal; overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
  }
}

/* ==== v4.4 商家版产品详情页 partner-product.html（对标仪器 netshow C720495） ==== */
/* 店铺导航：蓝底白字横条，与参考页一致 */
.pp-nav { background: var(--secondary); }
.pp-nav-in { display: flex; gap: 0; }
.pp-nav-in a { color: #fff; font-size: 14.5px; font-weight: 600; padding: 11px 22px; text-decoration: none; position: relative; }
.pp-nav-in a:hover { background: rgba(255,255,255,.14); }
/* 面包屑 */
.pp-crumb { font-size: 13px; color: var(--muted); margin: 4px 0 14px; }
.pp-crumb a { color: var(--secondary); text-decoration: none; }
.pp-crumb a:hover { text-decoration: underline; }
/* 产品信息卡：左图右属性 */
.pp-info { display: flex; gap: 24px; padding: 24px; }
.pp-img { flex: 0 0 300px; height: 300px; background: #F7FAFD; border: 1px solid #E5EDF8; border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pp-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pp-img-ph { font-size: 84px; opacity: .8; }
.pp-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pp-title { font-size: 21px; font-weight: 700; color: var(--primary); line-height: 1.4; margin: 0 0 14px; }
.pp-attr { display: flex; font-size: 13.5px; line-height: 2.1; }
.pp-attr .k { flex: 0 0 84px; color: var(--muted); }
.pp-attr .v { color: #374151; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-attr-price .v b.pp-price { color: #E02020; font-size: 17px; }
.pp-cta { display: flex; gap: 14px; margin-top: 18px; }
.pp-btn-ask { flex: 0 0 auto; background: #FF6B35; color: #fff; font-size: 15px; font-weight: 700; padding: 10px 34px; border-radius: 4px; text-decoration: none; }
.pp-btn-ask:hover { background: #F05A24; }
.pp-btn-tel { flex: 0 0 auto; border: 1px solid var(--secondary); color: var(--secondary); font-size: 14.5px; font-weight: 600; padding: 10px 22px; border-radius: 4px; text-decoration: none; }
.pp-btn-tel:hover { background: #F0F6FE; }
.pp-quick { margin-top: 14px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pp-q { color: var(--secondary); background: #F0F6FE; border: 1px solid #D5E4F9; border-radius: 999px; padding: 3px 12px; text-decoration: none; font-size: 12.5px; }
.pp-q:hover { background: var(--secondary); color: #fff; }
/* 标签 */
.pp-tags { display: flex; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.pp-tags-k { font-size: 13px; color: var(--muted); }
.pp-tag { font-size: 12.5px; color: #4B76B8; background: #F4F8FE; border: 1px solid #E0EBF9; border-radius: 4px; padding: 4px 12px; text-decoration: none; }
.pp-tag:hover { border-color: var(--secondary); color: var(--secondary); }
/* 产品介绍 */
.pp-intro { padding: 20px 24px; }
.pp-sec { padding: 12px 0; border-bottom: 1px dashed #E5EDF8; }
.pp-sec:last-child { border-bottom: none; }
.pp-sec h4 { font-size: 15px; color: var(--primary); margin: 0 0 10px; padding-left: 9px; border-left: 3px solid var(--secondary); line-height: 1.3; }
.pp-sec p { font-size: 14px; color: #374151; line-height: 1.9; margin: 0; }
.pp-sec .spec-table td { font-size: 13.5px; padding: 8px 10px; border-bottom: 1px solid #F0F4FA; }
.pp-sec .spec-table td:first-child { width: 160px; color: var(--muted); background: #FAFCFE; }
.pp-feats { margin: 0; padding-left: 20px; }
.pp-feats li { font-size: 14px; color: #374151; line-height: 2; }
/* 响应式（紧贴基础规则之后，项目约定） */
@media (max-width: 1023px) {
  .pp-info { flex-direction: column; }
  .pp-img { flex: none; width: 100%; height: 260px; }
  .pp-nav-in { overflow-x: auto; }
  .pp-nav-in a { padding: 11px 16px; white-space: nowrap; }
}
@media (max-width: 767px) {
  .pp-title { font-size: 18px; }
  .pp-attr .k { flex-basis: 72px; }
  .pp-cta { flex-wrap: wrap; }
  .pp-img { height: 210px; }
}

/* ==== 客户咨询汇总前台样式已随板块下线删除（2026-09-08，信息仅在后台显示） ==== */

/* ==== 留言管理页「按企业汇总」卡（admin/messages.html） ==== */
.sum-box { margin: 0 0 14px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.sum-title { font-size: 13.5px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.sum-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sum-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; background: #F7FAFE; border: 1px solid #E8EFF9; border-radius: 999px; padding: 5px 12px; max-width: 100%; }
.sum-chip b { color: var(--primary); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sum-chip i { font-style: normal; color: #4B76B8; flex: none; }
.sum-chip em { font-style: normal; color: #fff; background: #FF6B35; border-radius: 999px; padding: 1px 8px; font-size: 11px; flex: none; }
.sum-chip u { text-decoration: none; color: var(--muted); font-size: 11.5px; flex: none; }
.sum-chip.has-unread { border-color: #FFD3BE; background: #FFF7F3; }

/* ==== 人员与权限（admin/settings.html，2026-09-09） ==== */
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, minmax(0, 1fr))); gap: 10px; }
.perm-mod { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; background: #FCFDFF; }
.perm-mod h5 { font-size: 13px; margin: 0 0 8px; color: var(--primary); display: flex; align-items: center; gap: 6px; }
.perm-mod h5 em { font-style: normal; font-size: 11px; color: #FF6B35; background: #FFF1EB; border-radius: 4px; padding: 1px 6px; flex: none; }
.perm-act { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.perm-act label { font-size: 13px; color: #374151; display: flex; align-items: center; gap: 5px; cursor: pointer; white-space: nowrap; }
.perm-act input { margin: 0; }
.scope-extra { margin-top: 12px; display: none; }
.scope-extra.show { display: block; }
.perm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.perm-tags span { font-size: 11.5px; background: #F4F8FE; color: #4B76B8; border-radius: 4px; padding: 2px 7px; }
.xx-mask { position: fixed; inset: 0; background: rgba(15,23,42,.45); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow: auto; z-index: 1200; }
.xx-modal { background: #fff; border-radius: 12px; width: 100%; max-width: 720px; box-shadow: 0 12px 40px rgba(15,23,42,.25); }
.xx-modal-hd { padding: 15px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.xx-modal-hd b { font-size: 15px; color: var(--primary); }
.xx-modal-bd { padding: 16px 20px; max-height: calc(100vh - 280px); overflow: auto; }
.xx-modal-ft { padding: 13px 20px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.xx-close { border: none; background: transparent; font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer; }
@media (max-width: 767px) {
  .perm-grid { grid-template-columns: minmax(0, 1fr); }
  .xx-mask { padding: 16px 10px; }
}

/* ==== 后台表格长文本列收窄（2026-09-09 老板反馈"右侧太宽"） ==== */
.data-table td.col-long { max-width: 200px; font-size: 13px; color: #6B7280; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-all; }
.data-table td .cell-2l { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-all; }

/* 2026-09-13 老板「显示的紧凑一些，需求的内容争取全部显示」（admin/needs.html 需求管理）
   改前：「其他信息」单元格复用通用的 .col-long —— 列本身有 316 CSS px 宽，
   文字却被 max-width:200px 关进一条 200px 的窄栏，29 字折成 3 行，第 3 行再被 2 行 clamp 裁掉
   （实测 cell 高 70.5 CSS px、内容 94 CSS px，视觉上就是「说一半被切」）。
   现在：整表专属 .need-table —— 列宽交给 colgroup（其他信息拿 34%）、其他信息不限宽不截断、
   行高收一档（padding 10.75→7、line-height→1.5），一行能放下就一行，放不下就整段铺开。
   ⛔ 只挂 .need-table，不动 .data-table / .col-long 通用规则（published.html 还在用 .col-long）。
   ⛔ 选择器必须写到 `table.data-table.need-table` 这么长：admin-fluid.css 在 ≤1023px 有
      `.admin-main .data-table td{padding:7px 9px!important}`，特异性 (0,2,1)；
      写成 `.admin-main table.need-table td` 也是 (0,2,1)，同级下会被后加载的 admin-fluid 顶掉。 */
.admin-main table.data-table.need-table { table-layout: fixed; }
.admin-main table.data-table.need-table th { padding: 8px 12px !important; }
.admin-main table.data-table.need-table td { padding: 7px 12px !important; line-height: 1.5; }
.admin-main table.data-table.need-table td.need-info {
  max-width: none;            /* 关键：解掉 .col-long 的 200px 枷锁，让文字用满整列 */
  -webkit-line-clamp: none;   /* 不截断，多少行都铺开 */
  display: table-cell;        /* ⛔ 显式复位：td 上写 clamp 全家桶（-webkit-box）会干掉表格格行为 */
  font-size: 13px !important; /* 次要信息收一档；!important 压 admin-fluid 的 --af-base */
  color: #4B5563;
  overflow-wrap: anywhere;
  word-break: break-word;
}
/* 2026-09-14 v6.6（admin/needs.html 需求管理）：本页从"只读演示数据"改造成真正的审核工作台，
   列表新增「操作」列（详情 / 通过 / 驳回 / 下架 / 上架 / 重置）。
   ⛔ 操作列按钮必须 nowrap 一排 —— .ops 默认 flex + wrap，列宽不够会竖排把行高从 37 撑到 90+
      （audit-content.html 的 .cd-table / 用户管理的 .u-ops 都踩过同一个坑）。 */
.admin-main table.data-table.need-table td .need-ops {
  display: flex; gap: 6px; flex-wrap: nowrap; white-space: nowrap;
}
.admin-main table.data-table.need-table td .need-ops .btn-sm {
  padding: 4px 9px; font-size: 12.5px; white-space: nowrap;
}
/* #126/#128 需求表的字号档（2026-10-15）
   原来只写在 needs.html 页内样式里（#126 字体压缩），现在 published.html 的「已发布 → 需求」
   也要用同一张表（老板：「需求的已发布和待发布格式要对齐。以待发布为准。」）
   ⇒ 统一提到这里，两页共用、只有一处维护。
   ⛔ 必须带 !important 且写在上面那条 `.need-table td{padding:7px 12px!important;line-height:1.5}` 之后：
      admin-fluid.css 的 `.admin-main .data-table td{font-size:var(--af-base)!important}` 会顶掉字体大小。 */
.admin-main table.data-table.need-table th { font-size: 12px !important; padding: 7px 10px !important; }
.admin-main table.data-table.need-table td { font-size: 12.5px !important; padding: 6px 10px !important; line-height: 1.45; }
.admin-main table.data-table.need-table td.need-info { font-size: 11.5px !important; }
.admin-main table.data-table.need-table td .need-ops .btn-sm { font-size: 11.5px !important; padding: 3px 8px !important; }
/* 详情行（点「▾ 详情」展开）：整行铺开，浅色底与数据行区分。
   ⛔ 基础规则 `.need-table td{padding:7px 12px!important}` 特异性 (0,3,2)，
      这里写到 (0,4,3) 才压得住（同为 !important 时比特异性）。 */
.admin-main table.data-table.need-table tr.need-detail > td {
  background: #FAFBFE; padding: 8px 12px 12px !important;
}
.admin-main table.data-table.need-table tr.need-detail .nd-box { max-width: 1120px; }
.admin-main table.data-table.need-table tr.need-detail .nd-ops {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px;
  padding-top: 10px; border-top: 1px dashed #D7DEEB;
}
@media (max-width: 767px) {
  /* 手机端列太窄，固定布局反而难读：回到自动布局（与 table.cd-table 同一策略） */
  .admin-main table.data-table.need-table { table-layout: auto; }
}
@media (max-width: 1180px) {
  /* 窄屏策略同 .cd-table / .reg-table / .user-table：**不压缩列宽**，
     保持桌面列宽由 .tbl-wrap 横向滚动兜底（避免整页出滚动条）。 */
  .admin-main .tbl-wrap > table.data-table.need-table { min-width: 1080px; }
}

/* 2026-09-13 老板「内容页面左侧还是空，要紧凑一些，需要多显示备注的信息」
   （admin/ai-audit.html AI 智能审核）
   改前：#table 没有任何列宽约束，浏览器 auto 布局按内容比例把宽度平摊 ——
   实测（视口 1841）「类型 / 标题 / 提交方」三列拿到 112 / 334 / 318 px，
   而它们的内容只占 49 / 181 / 174 px → 左边三列合计约 350 px 是纯空白；
   真正要读的长文本「AI 分析意见」只分到 368 px（30~44 字的意见被迫折 2~3 行），
   行高被撑到 50~62 px，一屏只能看 7 行。
   现在：整表专属 .ai-table —— 小列给固定 px、「AI 分析意见」不写宽度（吃满剩余 ~760 px），
   长意见一句话铺开；行内距收一档（padding 11.5→7、line-height→1.5）。
   ⛔ 只挂 .ai-table，不动 .data-table 通用规则（其他页也引本文件）。
   ⛔ 选择器必须写到 `table.data-table.ai-table`：admin-fluid.css 在 ≤1023px 有
      `.admin-main .data-table td{padding:7px 9px!important}`，特异性 (0,2,1)，写短了会被顶掉。 */
.admin-main table.data-table.ai-table { table-layout: fixed; }
.admin-main table.data-table.ai-table th { padding: 8px 12px !important; font-size: 12.5px !important; }
.admin-main table.data-table.ai-table td { padding: 7px 12px !important; line-height: 1.5; vertical-align: middle; font-size: 12.5px !important; }
/* ⛔ 上面这条 font-size:12.5px!important 是必须的：admin-fluid.css 的
   `.data-table td{font-size:var(--af-base)!important}` 会把正文顶到 14.2px，
   而列宽是按 12.5px 算的 —— 字号一涨，「类型」标签与状态/建议徽章就各自折成两行，
   行高反而从 37 涨到 58px（实测踩过）。 */
/* 标题列：加粗成行首重点，长标题换行不溢出 */
.admin-main table.data-table.ai-table td.ai-ttl { font-weight: 600; color: #243044; overflow-wrap: anywhere; }
/* 提交方：次要信息收一档 */
.admin-main table.data-table.ai-table td.ai-firm { font-size: 12.5px !important; color: #4B5563; }
/* AI 分析意见（老板口中的「备注」）：这是本页最该看清的一列，放宽 + 不截断 + 颜色加深一档 */
.admin-main table.data-table.ai-table td.ai-why {
  font-size: 12.5px !important;   /* 压 admin-fluid 的 --af-base */
  color: #4B5563;
  overflow-wrap: anywhere;
  word-break: break-word;
}
/* 操作列两个按钮并排（.ops 默认 flex+wrap，列宽不够会竖排把行撑高） */
.admin-main table.data-table.ai-table td .ops { flex-wrap: nowrap; gap: 6px; }
@media (max-width: 1100px) {
  /* 窄屏：固定列宽会把「分析意见」压成一条细缝 → 交还自动布局，并收起「提交方」列 */
  .admin-main table.data-table.ai-table { table-layout: auto; }
  .admin-main table.data-table.ai-table col { width: auto !important; }
  .admin-main table.data-table.ai-table .ai-firm { display: none; }
}
@media (max-width: 900px) {
  /* 平板/手机：只留「标题 / 状态 / 建议 / 分析意见 / 操作」——类型栏 2~4 个字，标题里基本能看出来 */
  .admin-main table.data-table.ai-table .ai-type { display: none; }
}

/* 2026-09-13 v5.9.36 老板「调整一下，一行显示，显示的紧凑一些」
   （admin/audit-content.html 发布产品审核 / 发布解决方案审核）
   改前实测（视口 1598，布局 px）：这一页**原本没有任何 .cd-table 规则** → 落回 admin-fluid 的
   通用 .data-table：正文被 --af-base 顶到 14.2px、padding 11.59px、行高 72px；
   colgroup 的百分比又没人管溢出 —— 「品牌 / 提交方」只分到 185px（公司名最长 13 字 ≈ 210px）
   折 2 行、「提交时间」139px 也折 2 行、「标题 / 摘要」3 行；
   而「操作」独占 370px（三按钮内容只需 ≈ 200px），白扔 170px。
   现在：整表专属 .cd-table —— 小列固定 px、「标题 / 摘要」不写宽度吃满剩余（约 600px），
   每个数据格一律 nowrap + 省略号（保证一行），行高 72 → 约 44px。
   ⛔ 选择器必须写到 `table.data-table.cd-table`：admin-fluid.css 在 ≤1023px 有
      `.admin-main .data-table td{padding:7px 9px!important}`（特异性 0,2,1），写短了会被顶掉。 */
.admin-main table.data-table.cd-table { table-layout: fixed; }
.admin-main table.data-table.cd-table th { padding: 7px 10px !important; font-size: 12.5px !important; white-space: nowrap; }
.admin-main table.data-table.cd-table td {
  padding: 6px 10px !important; line-height: 1.35; vertical-align: middle;
  /* ⛔ 必须 !important：admin-fluid 的 `--af-base` 会把表格正文顶到 14.2px，
     而列宽是按 12.5px 算的 —— 字号一涨就处处折行、行高反涨（.ai-table 已踩过一次）。 */
  font-size: 12.5px !important;
  white-space: nowrap;
}
/* 会溢出的两格：单行 + 省略号，全文走 title 悬停（详情面板里也有完整值） */
.admin-main table.data-table.cd-table td.cd-firm,
.admin-main table.data-table.cd-table td.cd-time { overflow: hidden; text-overflow: ellipsis; }
/* 标题 / 摘要：各自一行。
   ⛔ 标题已从「行内 + <br>」改成块级 —— <br> 留在块级元素之间会多渲染出一个空行（约 17px），
      所以 markup 里那个 <br> 一并删掉了。 */
.admin-main table.data-table.cd-table a.cd-title {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #243044;
}
.admin-main table.data-table.cd-table a.cd-title b { font-size: 13px; font-weight: 600; }
.admin-main table.data-table.cd-table small.cd-sub {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: #6B7280 !important; font-size: 11.5px; line-height: 1.3;
}
/* 操作列按钮并排（.ops 默认 flex + wrap，列宽不够会竖排把行撑高）。
   本页按钮收一档：三按钮合计 238 → 192px，正好把省下的宽度还给「品牌 / 提交方」。 */
.admin-main table.data-table.cd-table td .ops { flex-wrap: nowrap; gap: 6px; }
.admin-main table.data-table.cd-table td .ops .btn-sm { padding: 5px 10px; font-size: 12.5px; }
/* 驳回原因 / 重提次数：重要信息，允许独占一行（不受上面 nowrap 约束），该涨行高就涨 */
.admin-main table.data-table.cd-table td .cd-rej {
  white-space: normal; overflow: hidden; text-overflow: ellipsis;
  font-size: 11px; color: #C0392B; margin-top: 3px;
}
.admin-main table.data-table.cd-table td .cd-rej2 { white-space: normal; font-size: 11px; color: #B45309; margin-top: 2px; }
@media (max-width: 1499px) {
  /* 1181~1499 这段（含 1280 / 1440 常见笔电）：把「品牌 / 提交方」压到 18.5% 只有 187px，
     装不下「徽章 + 14 字公司名」→ 收起品牌徽章（它基本是公司名的前缀，详情面板里有），
     优先保证老板要的「公司名一行」。 */
  .admin-main table.data-table.cd-table .cd-brand { display: none; }
}
@media (max-width: 1180px) {
  /* 窄屏策略：**不压缩列宽** —— 表格保持桌面列宽，由 .tbl-wrap 容器内横向滚动兜底
     （与 admin-suppliers.html 的 `.tbl-wrap > .data-table{min-width:900px}` 同一策略）。
     ⛔ 一开始试过「窄屏换自动布局 + 让文字自然折行」，结果是操作列被挤到 118px、
        「✓ 通过 / ✗ 驳回」两个按钮各自占一行、行高从 46 顶到 67~107px（实测 1180 视口）——
        因为自动布局在 min-content 之和（1065px）超过容器（937px）时会按比例削所有列，
        连「按钮不许折行」这条硬约束都保不住。
     ⛔ 也不在窄屏隐藏整列：colgroup 是 8 列，隐藏单元格会让其后所有列错位（表格类布局的老坑）。 */
  .admin-main .tbl-wrap > table.data-table.cd-table { min-width: 1050px; }
}
@media (max-width: 900px) {
  /* 手机（≤900）：这里**不隐藏「类型」列**了 —— 窄屏保持桌面列宽 + 容器横向滚动，
     隐藏单元格会让 colgroup 的 8 列与行的 7 格错位（见上一条注释）。 */
}

/* ============================================================================
   注册企业审核列表（admin/audit-suppliers.html）v6.1 老板「显示的紧凑一些」
   ----------------------------------------------------------------------------
   改前实测（视口 1280；正文被 admin-fluid 顶到 14.2px / padding 9.84px / 行高 24.14px）：
     内容行 **93.3px**（「查看详情 / ↩ 重置待审核」两按钮竖排 + 公司名 3 行），
     驳回原因行 45px；1598 视口下也有 70px。
   ⛔ 两个连锁坑（本项目复现过多次）：
     ① admin-fluid.css 第 55~62 行 `.data-table td{font-size:var(--af-base)!important;padding:clamp(...)!important}`
        （另有第 212~213 行 `.admin-main .data-table td{padding:7px 9px!important}`）→
        本页改前**没有任何专属规则**，全部落回通用档；想压字号/内边距**必须自己写 !important**。
     ② `.data-table td{overflow-wrap:anywhere}` 让「查看详情」「已拒绝」这类短词也能自由断行，
        列一窄就折 → 行高翻倍。本页改为 `white-space:nowrap` + 固定列宽兜住。
   现在：整表 `.reg-table` —— colgroup 固定列宽 + `table-layout:fixed`，
        「企业名称」不写宽度吃满剩余（公司名最长 14 字 ≈175px，真库实测）；
        字号 12.5px、内边距 6px 10px、行高 1.35；徽章收一档到 11.5px。
   ⛔ 选择器写到 `table.data-table.reg-table` 是为了压过上面的 !important（同 .cd-table 的做法）。 */
.admin-main table.data-table.reg-table { table-layout: fixed; }
.admin-main table.data-table.reg-table th {
  padding: 7px 10px !important; font-size: 12.5px !important; white-space: nowrap;
}
.admin-main table.data-table.reg-table td {
  padding: 6px 10px !important; line-height: 1.35; vertical-align: middle;
  font-size: 12.5px !important;      /* ⛔ 必须 !important：--af-base 会把正文顶到 14.2px */
  white-space: nowrap;               /* ⛔ 配套 table-layout:fixed 才安全（自动布局下会顶宽表格） */
  overflow: hidden; text-overflow: ellipsis;
}
/* 徽章收一档：4 字品牌 + 2 个行业标签 + 状态，墨迹宽度是行业/品牌两列的唯一定宽依据 */
.admin-main table.data-table.reg-table td .badge { font-size: 11.5px; padding: 1px 6px; }
/* 首列（展开箭头）：列窄、左右不留 10px —— 改前实测 avail 只有 10px、箭头墨迹 15.9px 被裁掉一半 */
.admin-main table.data-table.reg-table th:first-child,
.admin-main table.data-table.reg-table td:first-child { padding-left: 4px !important; padding-right: 4px !important; }
/* 企业名称：公司名 + 邮箱各占一行、各自单行省略（悬停看全文，title 由页面写入）
   字号跟正文一致（12.5px）：公司名最长 14 字「格林生物科技（广州）有限公司」≈175px，
   1280 视口下可用约 190px —— 用 13px 会到 182px 逼近边缘，一有长地名就折/裁。 */
.admin-main table.data-table.reg-table b.rg-name {
  display: block; font-size: 12.5px; font-weight: 600; color: #243044;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.admin-main table.data-table.reg-table small.rg-mail {
  display: block; font-size: 11.5px; line-height: 1.3; color: #6B7280;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* 品牌 / Logo：徽章与 20px 小图**同一行**（改前是 48×48 图 + margin-top:6px，单这一张图就把行高撑到 70+）。
   列宽只按「4 字徽章」定；万一有申请带 logo，徽章让位显示省略号（`flex:0 1 auto`），绝不撑宽或换行。 */
.admin-main table.data-table.reg-table td.rg-brand { display: flex; align-items: center; gap: 6px; }
.admin-main table.data-table.reg-table td.rg-brand .badge { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.admin-main table.data-table.reg-table td.rg-brand img {
  flex: none; width: 20px; height: 20px; object-fit: contain;
  border: 1px solid #E5E9F2; border-radius: 4px; background: #fff;
}
/* 操作列：两/三个按钮一排（.ops 默认 flex-wrap:wrap，列一窄就竖排把行撑高） */
.admin-main table.data-table.reg-table td .ops { flex-wrap: nowrap; gap: 5px; }
.admin-main table.data-table.reg-table td .ops .btn-sm { padding: 5px 9px; font-size: 12.5px; white-space: nowrap; }
/* 驳回原因行（colspan）：改前 4/16/11px，压到 3/12/5px */
.admin-main table.data-table.reg-table td.rej-line { padding: 3px 12px 5px !important; font-size: 12px; }
@media (max-width: 1180px) {
  /* 窄屏策略同 .cd-table：**不压缩列宽**，保持桌面列宽由 .tbl-wrap 横向滚动兜底。
     ⛔ 试过窄屏放开 nowrap 让它自然折行：操作列被挤到 167px、两按钮各占一行、行高 91.6px（实测 1200 视口）。 */
  .admin-main .tbl-wrap > table.data-table.reg-table { min-width: 1190px; }
}

/* ============================================================
   用户管理表 .user-table（2026-09-14 v6.2 老板「超管要能删僵尸账号」）
   背景：操作列从 1 个按钮变成「禁用 + 删除」两个之后，自动布局把宽度从别处抢：
        1440 实测邮箱折成三段（demo-supplier@xixiaohui.exam / ple）、角色折两行、
        注册时间折两行、资料完整度进度条被压到看不见。
   做法：照 v6.1 `.reg-table` 同款 —— colgroup 固定列宽 + table-layout:fixed，
        窄屏不压列宽，交给 .tbl-wrap 横向滚动。
   ⛔ 2026-10-15 #129 起列宽改为**百分比**（见 admin/users.html 的 COLS 注释）：
        旧版「首列不写宽度吃满剩余」在 1920 屏下让首列涨到 818px（企业）/1081px（员工），
        中间一大片空白。百分比方案下本文件的 nowrap / 省略号规则仍然必需（窄屏靠它兜底）。
   ⛔ 选择器必须写到 `table.data-table.user-table`，否则压不过 admin-fluid.css 的 !important。
   ⛔ 这里的 nowrap 只在 table-layout:fixed 下安全（自动布局下会顶宽整张表）。 */
.admin-main table.data-table.user-table { table-layout: fixed; }
.admin-main table.data-table.user-table th {
  padding: 7px 10px !important; font-size: 12.5px !important; white-space: nowrap;
}
.admin-main table.data-table.user-table td {
  padding: 6px 10px !important; line-height: 1.4; vertical-align: middle;
  font-size: 12.5px !important;      /* ⛔ 必须 !important：--af-base 会把正文顶到 14.2px */
  white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
/* 首列公司名链接：长了出省略号，不折行（title 由页面写入） */
.admin-main table.data-table.user-table td a.u-co {
  display: inline-block; max-width: 100%; vertical-align: bottom;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* 邮箱列：允许在任何位置断行（长邮箱若 also nowrap 会整列被裁） */
.admin-main table.data-table.user-table td.u-mail { white-space: normal; overflow-wrap: anywhere; }
/* 行业列：多值顿号串（「清洗设备、清洗药剂、清洁工具、消毒服务、其他」25 字 ≈312px）
   ⛔ 不能放开折行 —— 实测允许折行时行高从 48.3 涨到 83.1px。改为单行省略号，全文走 title。 */
.admin-main table.data-table.user-table td.u-ind { white-space: nowrap; }
/* 审核徽章收一档（与 .reg-table 一致） */
.admin-main table.data-table.user-table td .badge { font-size: 11.5px; padding: 1px 6px; }
/* 操作列：两个按钮一排，不竖排、不换行 */
.admin-main table.data-table.user-table td .u-ops { flex-wrap: nowrap; gap: 5px; }
.admin-main table.data-table.user-table td .u-ops .btn-sm { padding: 5px 9px; font-size: 12.5px; white-space: nowrap; }
/* 注册时间列下方的「从未登录」 */
.admin-main table.data-table.user-table td .u-never { font-size: 11px; }
@media (max-width: 1180px) {
  /* 窄屏策略同 .cd-table / .reg-table：**不压缩列宽**，保持桌面列宽由 .tbl-wrap 横向滚动兜底。
     1247px 是「按百分比分完后仍能看」的地板线（#129 后列宽是百分比，此处只是抬高表宽下限）：
        企业表 → 公司名称 162 / 邮箱 231 / 操作 143；个人表 → 单位名称 162 / 邮箱 212 / 操作 131。
     ⛔ 阈值定 1180（而非 1280）：1280 视口下若也走 min-width，表格会比容器宽 ~90px →
        出横向滚动条、**操作列（含删除按钮）被截掉一半**（实测截图确认）。
     1280 视口下公司名称列约 142px → 10 字以上公司名走省略号（title 带全名），属预期取舍。 */
  .admin-main .tbl-wrap > table.data-table.user-table { min-width: 1247px; }
}

/* 2026-09-13 v5.9.33 老板「AI 审核是工具，无需单独显示。需要在产品发布审核、需求发布审核、
   解决方案发布审核下使用。客户的注册审核无需 AI 审核。」
   → AI 初筛不再单独占页面，改成嵌在各审核页页头 .ai-panel 里的**工具条**：
     「🤖 AI 初筛 [本地规则引擎] 本页 N 条 → 通过 x · 退回补充 y · 驳回 z」+「🤖 AI 全量初筛」按钮。
     用在 admin/audit-content.html（发布产品审核 / 发布解决方案审核）与 admin/needs.html（需求发布审核）。
   ⛔ admin/audit-suppliers.html（注册企业审核）不接 AI —— 不引用 .ai-tool，也不加载 ai-rules.js。 */
.ai-panel .ai-tool { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ai-panel .ai-sum { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ai-panel .ai-sum b { color: var(--primary); font-weight: 600; }
.ai-sum .ai-n { font-weight: 600; }
.ai-sum .ai-n.pass { color: #10B981; }
.ai-sum .ai-n.pend { color: #B45309; }
.ai-sum .ai-n.rej { color: #EF4444; }
/* 结论来源小标签：本地规则引擎给的建议（非大模型结论），避免把「模拟」看成「真 AI」 */
.ai-src {
  display: inline-block; margin-left: 6px; padding: 1px 5px; border-radius: 4px;
  font-size: 10.5px; line-height: 1.5; color: #6B7280;
  background: #EEF2F8; border: 1px solid #E1E8F2; vertical-align: middle;
}
/* AI 初筛单元格：只放徽章（意见走 title 悬停，不铺文字、不撑行高）
   ⛔ nowrap 是必须的：徽章 + 「规则」小标签一共 ~90px，列宽 ~11%（1440 下约 128px），
      留 wrap 会在临界宽度把标签挤到第二行 —— 实测需求页行高被撑到 58px。 */
.ai-cell { display: inline-flex; align-items: center; flex-wrap: nowrap; }
.admin-main table.data-table.need-table td.need-ai { vertical-align: middle; }
@media (max-width: 1100px) {
  /* 窄屏页头太挤：统计行收起，只留「全量初筛」按钮（按钮本身会随 .ai-panel 换行） */
  .ai-panel .ai-sum { display: none; }
}
/* 2026-09-13 老板「驳回原因一行显示」（注册企业审核列表的收起行）
   改前这条复用 .col-long：⛔ 关键是 `display:-webkit-box` 写在了 <td> 上 ——
   它会把 td 的 table-cell 行为整个干掉，colspan="9" 直接失效，单元格只拿到 400px
   （实测表格 1524px、这格 400px），于是一句话被挤成两三行、再被 clamp 切掉半行。
   现在：clamp 挪到内层 .rej-txt 上，td 保持正常单元格 → 铺满整行 + 只留 1 行 + 省略号，
   全文走 title 悬停（展开详情面板里也有完整原因）。
   ⚠️ 千万别在 td 上写 white-space:nowrap：会把 min-content 顶成一整句而撑宽表格
      （.tbl-wrap 出横向滚动条）。靠 word-break:break-all 把 min-content 收到 1 个字。 */
.data-table td.rej-line {
  max-width: none;
  padding: 4px 16px 11px;
  font-size: 13px;
}
.data-table td.rej-line .rej-txt {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-all;
}
.data-table td.rej-line .rej-more { color: #9CA3AF; }

/* ==== 头部「登录/注册」下拉（2026-09-09 老板参考截图定制） ==== */
.login-dd > a { display: inline-flex; align-items: center; gap: 4px; }
.login-dd-panel { left: auto; right: 0; min-width: 240px; }
.login-dd-panel a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; white-space: normal; }
.login-dd-panel .dd-ico { font-size: 22px; flex: none; line-height: 1; }
.login-dd-panel b { display: block; font-size: 14px; color: var(--text); font-weight: 600; }
.login-dd-panel small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.login-dd-panel a:hover b { color: var(--secondary); }
.login-dd.open .dd-panel { opacity: 1; visibility: visible; transform: translateY(0); }
/* 手机端：原「登录」按钮因 btn-ghost-nav 被隐藏，但下拉式「登录/注册」是唯一入口，必须保留 */
@media (max-width: 767px) {
  .login-dd .btn-ghost-nav { display: inline-flex; }
  .login-dd-panel { position: fixed; left: 12px; right: 12px; top: 64px; min-width: 0; }
}


/* ==========================================================================
   全站搜索结果页 search.html（v6.14 · 2026-09-15）
   老板要求：搜「肉制品」按「产品 → 解决方案 → 行业动态 → 展会信息」顺序展示。
   ⛔ 只做本页专属样式，复用既有 .prod-grid/.pc-card/.sol-rows/.sol-row/.news-list/.is-empty/.card，
      不新造同类组件（避免同一视觉出现两套实现）。
   ⛔ 媒体查询全部用 max-width，追加在本文件末尾 → 天然满足「min-width 必须排在所有 max-width 之后」。
   ========================================================================== */

/* ---------- 顶部搜索区 ---------- */
.srch-hero { background: linear-gradient(135deg, #0A2558, #1E5FBF); color: #fff; padding: 34px 0 30px; }
.srch-hero h1 { font-size: 26px; color: #fff; margin-bottom: 16px; }
.srch-form {
  display: flex; align-items: center; gap: 10px; max-width: 780px;
  background: #fff; border-radius: 10px; padding: 6px 6px 6px 16px;
  box-shadow: 0 8px 24px rgba(10, 37, 88, .16);
}
.srch-form .icon { color: #9AA6BD; font-size: 16px; flex: none; }
.srch-form input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-size: 15px; color: var(--text); padding: 10px 0;
}
.srch-form button {
  flex: none; background: var(--accent); color: #fff; border: 0; border-radius: 8px;
  padding: 11px 26px; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: filter .18s var(--ease);
}
.srch-form button:hover { filter: brightness(1.06); }

/* 热门行业 / 热门搜索 快捷词 */
.srch-hot { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.srch-hot-lb { font-size: 12.5px; color: #cdd8ee; }
.srch-hotb {
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  color: #eaf1fb; font-size: 12.5px; padding: 4px 12px; border-radius: 999px;
  cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease);
}
.srch-hotb:hover { background: rgba(255, 255, 255, .24); }
.srch-hotb.active { background: #fff; color: var(--secondary); border-color: #fff; font-weight: 600; }

/* ---------- 汇总条 + 四段锚点 ---------- */
.srch-body { padding-top: 22px; }
.srch-sum {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 18px; font-size: 14px; color: var(--muted); margin-bottom: 12px;
}
.srch-sum b { color: var(--secondary); }
.srch-welcome { display: flex; flex-direction: column; gap: 6px; }
.srch-welcome b { font-size: 16px; color: var(--text); }
.srch-welcome span { font-size: 13.5px; color: var(--muted); }
.srch-indtag {
  display: inline-block; margin-left: 10px; background: rgba(30, 95, 191, .08);
  color: var(--secondary); font-size: 12.5px; padding: 2px 10px; border-radius: 999px;
}
.srch-anchor { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.srch-anchor:empty { display: none; }
.srch-chip {
  display: inline-flex; align-items: center; gap: 6px; background: #fff;
  border: 1px solid var(--border); border-radius: 999px; padding: 5px 14px;
  font-size: 13px; color: var(--text); text-decoration: none;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.srch-chip:hover { border-color: var(--secondary); color: var(--secondary); }
.srch-chip b { color: var(--secondary); }
.srch-chip i { font-style: normal; color: var(--muted); }
.srch-chip-0 { opacity: .55; }

/* ---------- 四段区块 ---------- */
.srch-sec { margin-bottom: 30px; scroll-margin-top: 14px; }
.srch-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 2px solid var(--border);
}
.srch-head h2 { font-size: 19px; display: flex; align-items: center; gap: 9px; }
.srch-n {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 24px; height: 24px; border-radius: 6px; background: var(--secondary);
  color: #fff; font-size: 13px; font-weight: 700;
}
.srch-cnt { font-size: 13px; font-weight: 400; color: var(--muted); }
.srch-more { margin-left: auto; font-size: 13px; color: var(--secondary); white-space: nowrap; }
.srch-more:hover { text-decoration: underline; }
.srch-tip { display: block; font-size: 13px; color: var(--muted); text-align: center; padding: 0 0 22px; }
.srch-tip a { color: var(--secondary); }
/* 空段的资讯列表项：⛔ 选择器必须带 li（.news-list li 是 0,1,1，裸 .news-empty 只有 0,1,0 会输） */
.news-list li.news-empty {
  justify-content: center; color: #9AA6BD; font-size: 14px;
  padding: 34px 4px; border-bottom: 0;
}

/* ---------- 响应式（max-width，追加在文件末尾即可） ---------- */
@media (max-width: 1023px) {
  .srch-hero h1 { font-size: 22px; }
  .srch-head { flex-wrap: wrap; }
  .srch-more { width: 100%; margin-left: 0; }
}
@media (max-width: 767px) {
  .srch-hero { padding: 26px 0 22px; }
  .srch-hero h1 { font-size: 20px; margin-bottom: 12px; }
  .srch-form { padding-left: 12px; }
  .srch-form input { font-size: 14px; }
  .srch-form button { padding: 10px 16px; font-size: 14px; }
  .srch-hot-lb { width: 100%; }
  .srch-sum { padding: 12px 14px; }
  .srch-sec { margin-bottom: 24px; }
  .srch-head h2 { font-size: 17px; }
}

/* ============================================================
   留言统计面板 .mi-*（v6.15，2026-09-15 老板：「该页面需要有统计功能，
   可以统计留言的类型（产品，技术），分布（省份），行业分布等」）
   落点：admin/messages.html；口径在 assets/js/msg-insight.js。
   注意：
     · 面板在 .admin-main 内 → 自动吃后台密度档 --af-zoom(0.88)，不重复缩放；
     · ⛔ admin-fluid.css 有 `.admin-main button{font-size:var(--af-sm)!important}`，
       .mi-row / .mi-chip 都是 button，要自己定字号必须提到 (0,2,0) 特异性 + !important
       （写在 style.css 也赢，因为类数 2 > 1）；
     · 子元素 .mi-k/.mi-n/.mi-p 是 span，直接写 font-size 即可（子元素显式值永远压过继承）；
     · 条形宽度 = 占全量比例，不做归一化放大（只有 1 条时不该看着占满）；
     · 大区（华东/华北）用斜纹浅条 + 「大区」角标，未知/未识别用灰条，不冒充精确值。
   ============================================================ */
.mi-panel { background: #fff; border: 1px solid #E3E9F2; border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.mi-kpi { display: flex; flex-wrap: wrap; gap: 6px 20px; padding-bottom: 8px; margin-bottom: 9px; border-bottom: 1px dashed #E3E9F2; }
.mi-ksi { display: inline-flex; align-items: baseline; gap: 5px; }
.mi-ksi i { font-style: normal; font-size: var(--af-sm); color: #6B7280; }
.mi-ksi b { font-size: var(--af-lg); font-weight: 700; color: #1D4ED8; line-height: 1.1; }
.mi-ksi u { text-decoration: none; font-size: var(--af-xs); color: #9CA3AF; }
.mi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 18px; }
.mi-card { min-width: 0; }
.mi-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 5px; }
.mi-head b { font-size: var(--af-sm); font-weight: 700; color: #1F2937; }
.mi-head span { font-size: var(--af-xs); color: #9CA3AF; }
.mi-rows { display: flex; flex-direction: column; gap: 2px; }
.mi-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) 26px 34px; align-items: center; gap: 7px; width: 100%; background: none; border: 0; padding: 2px 4px; border-radius: 5px; cursor: pointer; text-align: left; font-family: inherit; }
.mi-row:hover { background: #F3F7FF; }
.mi-row.on { background: #E8F0FE; box-shadow: inset 0 0 0 1px #93B4F7; }
.mi-k { font-size: var(--af-sm); color: #374151; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mi-k u { text-decoration: none; margin-left: 3px; font-size: var(--af-xs); color: #9CA3AF; }
.mi-bar { height: 7px; border-radius: 4px; background: #EEF2F8; overflow: hidden; }
.mi-bar > i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #60A5FA, #2563EB); }
.mi-row.mi-area .mi-bar > i { background: repeating-linear-gradient(45deg, #A5C4F5 0 4px, #DCE7FA 4px 8px); }
.mi-row.mi-none .mi-bar > i { background: #D1D5DB; }
.mi-n { font-size: var(--af-sm); font-weight: 700; color: #1F2937; text-align: right; }
.mi-p { font-size: var(--af-xs); color: #6B7280; text-align: right; }
.mi-empty { font-size: var(--af-xs); color: #9CA3AF; }
.mi-note { margin-top: 8px; padding-top: 6px; border-top: 1px dashed #E3E9F2; font-size: var(--af-xs); color: #9CA3AF; line-height: 1.65; }
.mi-note b { color: #2563EB; }
.mi-active { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.mi-clabel { font-size: var(--af-xs); color: #9CA3AF; }
.admin-main .mi-chip { background: #E8F0FE; border: 1px solid #93B4F7; color: #1D4ED8; border-radius: 12px; padding: 1px 8px; cursor: pointer; font-size: var(--af-xs) !important; }
.admin-main .mi-chip:hover { background: #DCE7FA; }
.admin-main .mi-chip.mi-clearall { background: #fff; border-color: #E3E9F2; color: #6B7280; }
.mi-badge { display: inline-block; padding: 0 6px; border: 1px solid transparent; border-radius: 9px; font-size: var(--af-xs); line-height: 1.5; white-space: nowrap; }
.mi-b-prod { background: #EAF3FF; border-color: #C7DDFB; color: #1D4ED8; }
.mi-b-tech { background: #EAFBF1; border-color: #BFEBD3; color: #047857; }
.mi-b-coop { background: #FFF6E8; border-color: #FBE2B7; color: #B45309; }
.mi-b-other { background: #F3F4F6; border-color: #E5E7EB; color: #6B7280; }
.mi-celltag { display: block; margin-top: 2px; font-size: var(--af-xs); color: #9CA3AF; }
@media (max-width: 1023px) {
  .mi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .mi-kpi { gap: 4px 12px; }
  .mi-row { grid-template-columns: 62px minmax(0, 1fr) 24px 30px; gap: 5px; }
}

/* 内容审核：企业/账户筛选条（v6.16） */
.firm-filter { display: flex; align-items: center; gap: 8px; margin: -6px 0 16px; flex-wrap: wrap; }
.firm-filter .ff-l { font-size: 13px; color: #6B7280; font-weight: 600; white-space: nowrap; }
.firm-filter select { height: 34px; padding: 0 30px 0 11px; border: 1px solid #CBD5E1; border-radius: 6px; background-color: #fff; color: #334155; font-weight: 500; cursor: pointer; }
.firm-filter select:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(30, 95, 191, .12); }
.firm-filter .ff-n { font-size: 12px; color: #9AA6BD; }
@media (max-width: 767px) {
  .firm-filter { margin: 0 0 14px; }
  .firm-filter select { max-width: 100%; }
}

/* ============ v6.17.4 解决方案详情页版式精修 ============
   背景：老板看「瓜果蔬菜花卉种子消毒技术应用方案」预览页觉得不美观。实测根因 =
   设备/收益数据为空仍渲染「未填写…」大字空框（145px / 276px），收益是一条条又宽又空的
   绿边盒子，「其他解决方案」6 张卡挤在 749px 主栏里（每张仅 217px），hero 与内容间
   有 108px 空白带，侧栏还印「涉及设备 0 类」。以下全部收窄到 .sd-section 作用域，
   不影响 product-detail / invest 等同样引用 .steps / .supplier-card 的页面。 */
.sd-hero { padding: 34px 0 30px; }
.sd-hero h1 { font-size: 28px; line-height: 1.35; margin-bottom: 10px; }
.sd-hero .desc { font-size: 15px; line-height: 1.8; }
.sd-section { padding: 32px 0 56px; }
.sd-section .detail-main .card { margin-bottom: 18px; padding: 22px 24px; }
.sd-section .detail-main h2 { font-size: 20px; margin-bottom: 14px; padding-bottom: 10px; }
.sd-bg { color: #374151; font-size: 14.5px; line-height: 1.9; margin: 0; white-space: pre-wrap; }
.sd-blank { color: var(--muted); font-size: 14px; line-height: 1.9; text-align: center; }

/* 工艺流程：行更紧 + 耗时/温度改小徽章 */
.sd-section .steps li { padding: 14px 0; }
.sd-section .steps li > .bd { flex: 1; min-width: 0; }
.sd-section .steps li h3 { font-size: 15.5px; color: var(--primary); }
.sd-section .steps li .ds { color: #374151; font-size: 14px; line-height: 1.75; margin: 4px 0 0; }
.sd-section .steps .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; font-size: 12px; }
.sd-section .steps .meta span { color: #4B5563; background: #F1F5FB; border-radius: 4px; padding: 2px 9px; }

/* 设备介绍：紧凑磁贴（原为 34px emoji 大卡） */
.sd-equip { display: grid; grid-template-columns: repeat(auto-fit, minmax(164px, 1fr)); gap: 12px; }
.sd-eq { border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; }
.sd-eq .nm { font-size: 14.5px; font-weight: 600; color: var(--primary); line-height: 1.5; }
.sd-eq .ds { font-size: 13px; color: var(--muted); margin-top: 5px; line-height: 1.65; }
.sd-eq .sp { display: inline-block; margin-top: 9px; font-size: 12px; color: var(--secondary); background: rgba(30, 95, 191, .08); border-radius: 4px; padding: 2px 8px; }

/* 方案收益：两列紧凑项（原为又宽又空的绿边盒子） */
.sd-savings { display: grid; grid-template-columns: repeat(auto-fit, minmax(222px, 1fr)); gap: 12px; }
.sd-save { display: flex; gap: 10px; align-items: flex-start; background: #F8FAFC; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; }
.sd-save .ic { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(16, 185, 129, .14); color: #059669; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-top: 1px; }
.sd-save b { display: block; font-size: 14px; color: #065F46; line-height: 1.5; }
.sd-save p { margin: 3px 0 0; font-size: 13px; color: #4B5563; line-height: 1.65; }

/* 侧栏 */
.sd-prov { margin-top: 10px; }
.sd-prov-name { display: block; font-size: 16px; font-weight: 600; color: var(--primary); line-height: 1.5; }
.sd-block { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #E2E8F0; }
.sd-cap { display: block; font-size: 13.5px; color: var(--primary); margin-bottom: 8px; }
.sd-section .supplier-card .row:last-child { border-bottom: none; }
.sd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sd-feats { margin: 0; }
.sd-feats li { font-size: 13.5px; padding: 5px 0 5px 24px; }

/* 其他解决方案：整幅三列 */
.sd-others { background: var(--bg); }
.sd-others-h { font-size: 22px; color: var(--primary); margin-bottom: 20px; }
.sd-others .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sd-o { display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: all .3s var(--ease); }
.sd-o:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(30, 95, 191, .3); color: var(--text); }
.sd-o .cover { height: 116px; display: flex; align-items: center; justify-content: center; font-size: 40px; color: #7d9bc9; background: linear-gradient(160deg, #eef3fb, #dde7f5); }
.sd-o .bd { padding: 14px 16px 16px; }
.sd-o h3 { font-size: 15px; line-height: 1.5; margin: 0 0 8px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sd-o .os-brand { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.sd-o .os-sum { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 1023px) {
  .sd-others .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .sd-hero { padding: 24px 0 22px; }
  .sd-hero h1 { font-size: 22px; }
  .sd-section { padding: 22px 0 40px; }
  .sd-section .detail-main .card { padding: 18px 16px; }
  .sd-others .grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* ============ v6.17.5 方案详情六段格式（行业挑战 / 方案介绍 / 技术应用原理 / 价值优势 / 应用场景） ============
   作用域全部限定 .sd-section，不触碰 product-detail / invest 共用的 .steps / .supplier-card / .feature-list。 */
.sd-section .sd-list { margin: 0; padding-left: 22px; }
.sd-section .sd-list li { font-size: 14.5px; color: #374151; line-height: 1.9; padding: 2px 0; }

.sd-section .sd-kv { display: flex; gap: 14px; padding: 10px 0; border-top: 1px dashed #EEF1F6; }
.sd-section .sd-kv:first-child { border-top: none; }
.sd-section .sd-kv .sd-k { flex: none; width: 116px; font-size: 14px; font-weight: 700; color: var(--primary); line-height: 1.7; }
.sd-section .sd-kv .sd-v { margin: 0; flex: 1; min-width: 0; font-size: 14.5px; color: #374151; line-height: 1.85; }

.sd-section .sd-tech { display: flex; flex-direction: column; gap: 14px; }
.sd-section .sd-tc { display: flex; gap: 12px; align-items: flex-start; background: #F8FAFC; border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; }
.sd-section .sd-tc-ic { flex: none; font-size: 16px; line-height: 1.6; }
.sd-section .sd-tc b { display: block; font-size: 14.5px; color: var(--primary); margin-bottom: 3px; }
.sd-section .sd-tc p { margin: 0; font-size: 14px; color: #4B5563; line-height: 1.75; }

/* 方案价值优势：单列行式，每一条一行（标签 + 说明同行） */
.sd-section .sd-adv { display: flex; flex-direction: column; }
.sd-section .sd-av { display: flex; gap: 14px; align-items: baseline; padding: 9px 0; border-top: 1px dashed #EEF1F6; }
.sd-section .sd-av:first-child { border-top: none; }
.sd-section .sd-av b { flex: none; width: 96px; font-size: 14px; font-weight: 700; color: #065F46; line-height: 1.85; }
.sd-section .sd-av p { margin: 0; flex: 1; min-width: 0; font-size: 14.5px; color: #374151; line-height: 1.85; }

@media (max-width: 767px) {
  .sd-section .sd-kv { flex-direction: column; gap: 2px; }
  .sd-section .sd-kv .sd-k { width: auto; }
  .sd-section .sd-av { flex-direction: column; gap: 2px; }
  .sd-section .sd-av b { width: auto; }
}

/* ============ v6.18.0 产品详情：留言卡悬浮跟随 + 左栏字号层级 ============
   老板（2026-09-16）：「留言咨询需要悬停」「左侧的字体大小不合适」。
   ① 悬停失效根因：原 .supplier-card 上的 position:sticky 被 .detail-layout{align-items:start}
      废掉——aside 高度收缩成卡片高度，sticky 没有位移空间（实测滚动前后卡片 top 恒为 376px）。
      改为拆卡：供应商卡随页面正常滚走，留言卡独立成卡并悬浮跟随
      （.pd-aside 让 aside 拉伸到与左栏等高，为 sticky 提供滚动空间；.pd-msg-sticky 见上文 1683 行）。
   ② 左栏字号原为 正文 16 / 规格表 14 / 应用领域标签 12 三档不统一，且标签 12px 比右栏
      表单 label(13px) 还小 → 统一为 16 / 15 / 13。
   ⛔ 以下全部限定 .pd-aside / .pd-main，绝不动 .supplier-card / .spec-table / .tag 的全局定义
      （solution-detail / invest / partner-product / member 共用）。 */
.pd-aside .supplier-card { position: static; top: auto; }
.pd-main .spec-table td { font-size: 15px; }
.pd-main .card .tag { font-size: 13px; padding: 3px 9px; }

/* ============ v6.18.1 首页产品中心分类卡：注册量排序标记 ============
   老板（2026-09-16）：分类卡片的子项「刚开始没有信息时按演示显示，
   大于 200 条信息时按注册的数量排序展示」。
   ⛔ 排序逻辑全在 assets/js/cat-custom.js（阈值 200），CSS 只加两个新类，不覆盖
      .cp-head / .cp-title / .cp-count 的既有定义（那套是卡片头部布局，动它会挤标题）。
   ① .cp-rank —— 排序态才出现的降序标记。做成单字符「↓」小徽章而不是文字徽章：
      卡片头部已有 icon(40px)+标题+「更多 ›」徽章，视口 1080 时每列仅约 250px 宽，
      再加一个约 70px 的文字徽章会把 4 字标题挤换行（实测算过，故改图标式，说明走 title）。
   ② .cp-n —— 子项右侧的注册条数（同样仅排序态渲染，避免演示态多出 0 值噪声）。 */
.cat-panel-card .cp-rank {
  flex-shrink: 0; width: 18px; height: 18px; border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; line-height: 1; color: #B45309;
  background: #FEF3C7; border: 1px solid #FDE68A; cursor: help;
}
.cat-panel-card ul li .cp-n {
  float: right; margin-left: 8px; font-size: 11.5px; font-weight: 600;
  color: #9AA6BD; font-variant-numeric: tabular-nums;
}

/* ============ v6.18.1 厂商自助提报新品类（supplier-portal.html 弹窗） ============ */
.cat-apply-btn { margin-top: 8px; }
.cat-apply-hint { display: block; margin-top: 6px; font-size: 12px; color: #9AA6BD; line-height: 1.5; }
.cat-propose-mask {
  position: fixed; inset: 0; z-index: 999; background: rgba(15, 23, 42, .45);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.cat-propose-modal {
  width: min(460px, 94vw); background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .28); animation: cpmIn .16s ease-out;
}
@keyframes cpmIn { from { transform: translateY(8px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.cat-propose-modal .cpm-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid #EEF1F6; font-size: 16px;
}
.cat-propose-modal .cpm-head .cpm-x {
  border: 0; background: transparent; font-size: 22px; line-height: 1; color: #9AA6BD; cursor: pointer;
}
.cat-propose-modal .cpm-body { padding: 16px 18px; }
.cat-propose-modal .cpm-body .form-group { margin-bottom: 14px; }
.cat-propose-modal .cpm-body label { display: block; font-size: 13px; color: #475569; margin-bottom: 6px; font-weight: 600; }
.cat-propose-modal .cpm-body input,
.cat-propose-modal .cpm-body select,
.cat-propose-modal .cpm-body textarea {
  width: 100%; box-sizing: border-box; padding: 9px 11px; border: 1px solid #D8DEE9;
  border-radius: 8px; font-size: 14px; font-family: inherit; background: #fff; color: #1F2937;
}
.cat-propose-modal .cpm-body textarea { resize: vertical; }
.cat-propose-modal .cpm-radios { display: flex; flex-direction: column; gap: 8px; }
.cat-propose-modal .cpm-radio { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #334155; cursor: pointer; }
.cat-propose-modal .cpm-radio input { width: auto; }
.cat-propose-tip { margin: 4px 0 0; font-size: 12px; color: #9AA6BD; line-height: 1.6; }
.cat-propose-modal .cpm-acts { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 18px; border-top: 1px solid #EEF1F6; }

/* ===== 断点覆盖（2026-10-11 后台顶栏悬停）=====
   ≤1023px 时主区 .admin-main 自己做横向滚动容器 → sticky 失效；
   这里显式还原成静态排版（位置/层级/底色/外边距/内边距一起还回去），窄屏保持原样。 */
@media (max-width: 1023px) {
  .admin-main > #admin-top {
    position: static; z-index: auto; background: transparent;
    margin: 0; padding: 0;
  }
}

/* 搜索结果关键词高亮（2026-10-12 搜索优化） */
.srch-hl { color: #C2410C; background: #FFF3E6; padding: 0 2px; border-radius: 2px; font-weight: 600; }

/* ===== 2026-10-17 #175 方案详情页重构：企业导航条 / 方案概览 / 产品介绍 / 右栏留言悬浮 =====
   老板三条需求：①要企业导航信息 + 面包屑 ②产品介绍放到页面主体区 ③右栏留言咨询要能悬停跟随。
   ⛔ 只新增类名（sd-*），不改 .detail-layout / .pd-* / .pcard* 的既有定义，避免影响企业主页与产品页。 */
/* 面包屑末级（方案名可能很长）：单行省略，避免把面包屑压成两行 */
.breadcrumb .bc-cur { display: inline-block; max-width: 560px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; color: #D6E4F7; }

/* —— 企业导航条（白底通栏，贴着蓝色 hero 下面）—— */
.sd-bar { background: #fff; border-bottom: 1px solid var(--border); }
.sd-bar-in { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.sd-firm { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; max-width: 330px; min-width: 0; }
.sd-firm-logo {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 8px; background: #F2F7FE; border: 1px solid #DCE9F8;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-size: 16px; font-weight: 800; color: var(--secondary);
}
.sd-firm-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sd-firm-txt { display: flex; flex-direction: column; min-width: 0; }
.sd-firm-txt b { font-size: 14.5px; font-weight: 700; color: var(--primary); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-firm-txt i { font-style: normal; font-size: 12px; color: #8A99B3; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-firm:hover .sd-firm-txt b { color: var(--secondary); }
.sd-tabs { display: flex; flex-wrap: wrap; gap: 2px; margin-left: auto; }
.sd-tabs a {
  position: relative; color: #3A5578; text-decoration: none; font-size: 14.5px; font-weight: 600;
  padding: 21px 16px; transition: color .2s var(--ease), background .2s var(--ease);
}
.sd-tabs a:hover { color: var(--secondary); background: #F2F7FE; }
.sd-tabs a.on { color: var(--secondary); font-weight: 700; }
.sd-tabs a.on::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px;
  background: var(--secondary); border-radius: 3px 3px 0 0;
}
.sd-firm-btn { flex: 0 0 auto; }

/* 锚点跳转时给 sticky 站头留出空档（否则标题被站头盖住） */
#sec-overview, #sec-flow, #sec-prods, #sec-save, #sec-msg { scroll-margin-top: 96px; }

/* —— 方案概览（原右栏「方案概要」搬到正文第一屏）—— */
.sd-ov-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.sd-ov-stat { background: #F7FAFF; border: 1px solid #E6EFFB; border-radius: 10px; padding: 12px 10px; text-align: center; }
.sd-ov-stat b { display: block; font-size: 22px; font-weight: 800; color: var(--secondary); line-height: 1.2; }
.sd-ov-stat span { display: block; margin-top: 2px; font-size: 12.5px; color: #6B7A93; }
.sd-ov-row { display: flex; gap: 12px; padding: 11px 0; border-top: 1px dashed #EBEFF6; }
.sd-ov-k { flex: 0 0 72px; font-size: 13.5px; font-weight: 700; color: var(--primary); line-height: 1.9; }
.sd-ov-v { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: #374151; line-height: 1.9; }
.sd-adv { display: inline-flex; align-items: center; gap: 5px; color: #0F5132; }
.sd-adv::before { content: "✔"; color: #10B981; font-size: 12px; }

/* —— 产品介绍（主栏）—— */
.sd-lead { font-size: 13.5px; color: #6B7A93; margin: -6px 0 14px; }

/* —— #185 方案特点 / 收益分析（老板 2026-10-19：「方案题目、方案内容、方案特点、收益分析」）——
   特点用两栏 ✓ 列表（4 条正好 2×2，不落孤儿）；收益用左蓝条小卡，指标名在上、口径在下。
   ⛔ 没数据的方案整张卡不渲染（不摆「待补充」）。 */
.sd-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.sd-feats li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; line-height: 1.7; color: #374151; }
.sd-feats li i {
  flex: 0 0 auto; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%;
  background: #E8F2FE; color: #1E5FBF; font-style: normal; font-size: 11px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.sd-bens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sd-ben { border-left: 3px solid var(--secondary); background: #F7FAFF; border-radius: 0 8px 8px 0; padding: 11px 14px; }
.sd-ben-k { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.sd-ben-v { font-size: 13.5px; line-height: 1.7; color: #4B5563; }
@media (max-width: 767px) { .sd-feats, .sd-bens { grid-template-columns: 1fr; } }

.sd-prod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
/* 4 项时 2×2 才整齐（3 列会落单个孤儿卡）；中小屏再退回自动铺 */
@media (max-width: 1023px) { .sd-prod-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); } }
.sd-prod {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.sd-prod:hover { box-shadow: 0 8px 20px rgba(10,37,88,.09); transform: translateY(-2px); border-color: #DCE9F8; }
.sd-prod-thumb {
  height: 108px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #F4F9FF, #E9F2FD);
}
/* 无产品图时的首字方块（和品牌墙占位胶囊同一套语言，不用 emoji） */
.sd-prod-ph {
  width: 56px; height: 56px; border-radius: 14px; background: #fff; border: 1px solid #DCE9F8;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; color: var(--secondary);
  box-shadow: 0 4px 12px rgba(30,95,191,.10);
}
.sd-prod-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sd-prod-body h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin: 0; }
.sd-prod-body p { font-size: 13px; color: #5B6B84; line-height: 1.7; margin: 0; }
.sd-prod-body .tag { align-self: flex-start; }
.sd-prod-ask {
  margin-top: auto; align-self: flex-start; border: 1px solid var(--secondary); background: #fff; color: var(--secondary);
  border-radius: 6px; font-size: 12.5px; font-weight: 600; padding: 5px 12px; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.sd-prod-ask:hover { background: var(--secondary); color: #fff; }
.sd-prod-more { margin-top: 16px; text-align: right; }

/* —— 右栏留言咨询：整卡 sticky 跟随滚动（aside 拉伸到与左栏等高才有滚动空间）—— */
.sd-aside { align-self: stretch; }
.sd-msg { position: sticky; top: 88px; max-height: calc(100vh - 104px); overflow-y: auto; }
.sd-msg-to { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #6B7A93; margin: -4px 0 10px; }
.sd-msg-to b { font-size: 13px; color: var(--primary); font-weight: 700; }

@media (max-width: 1023px) {
  .sd-msg { position: static; max-height: none; overflow: visible; }
  .sd-aside { align-self: auto; }
  .sd-tabs { margin-left: 0; }
  .sd-bar-in { flex-wrap: wrap; padding: 8px 0; row-gap: 4px; }
  .sd-tabs { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .sd-tabs a { padding: 10px 12px; white-space: nowrap; }
  .sd-firm-btn { margin-left: auto; }
}
@media (max-width: 767px) {
  .sd-ov-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-ov-row { flex-direction: column; gap: 4px; }
  .sd-ov-k { flex: none; }
  .breadcrumb .bc-cur { max-width: 180px; }
  .sd-prod-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
}
