/* =========================================================================
   iBestDevice 行业门户 · 设计系统
   定位：面向 B2B 行业信息门户，信息密度高、层级清晰、数据前置
   主题：浅色专业风（深蓝主色 + 青绿辅色），全部颜色走 CSS 变量便于换肤
   ========================================================================= */

:root {
  /* 品牌与语义色 */
  --brand: #0b3d91;
  --brand-700: #093273;
  --brand-600: #1256c4;
  --brand-500: #2f6feb;
  --brand-050: #eef4ff;
  --brand-025: #f7faff;
  --accent: #0f9d8f;
  --accent-050: #e8f7f5;
  --warn: #d9741f;
  --warn-050: #fdf2e6;
  --violet: #8a5cf6;
  --violet-050: #f2ecfe;
  /* 中国市场约定：涨=红，跌=绿 */
  --up: #d93026;
  --down: #12a150;

  /* 文本与线条 */
  --ink: #10192b;
  --ink-2: #3d4a60;
  --ink-3: #6b7791;
  --ink-4: #93a0b8;
  --line: #e3e8f0;
  --line-2: #eef1f7;

  /* 背景 */
  --bg: #ffffff;
  --bg-2: #f6f8fc;
  --bg-3: #eff3fa;
  --bg-inverse: #0a1730;

  /* 尺寸 */
  --wrap: 1220px;
  --wrap-narrow: 900px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --shadow-1: 0 1px 2px rgba(16, 25, 43, .06), 0 2px 8px rgba(16, 25, 43, .05);
  --shadow-2: 0 4px 14px rgba(16, 25, 43, .09), 0 2px 4px rgba(16, 25, 43, .05);
  --shadow-3: 0 14px 40px rgba(11, 61, 145, .14);
  --header-h: 64px;

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, "Courier New", monospace;
}

/* ------------------------------------------------------------------ Reset */
* { box-sizing: border-box; }
/* 关键：任何显式 display 规则都不应覆盖 hidden 语义（筛选/标签页/降级视图依赖它） */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-500); text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 30px; }
h2 { font-size: 21px; }
h3 { font-size: 16px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
code, kbd { font-family: var(--mono); font-size: .88em; background: var(--bg-3); padding: 1px 5px; border-radius: 5px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: var(--wrap-narrow); }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.todo { color: var(--warn); background: var(--warn-050); border-radius: 4px; padding: 0 5px; font-size: .9em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; border-radius: 4px; }

/* ------------------------------------------------------------------ Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; flex: none; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-500) 100%);
  color: #fff; font-weight: 800; font-size: 14px;
  display: grid; place-items: center; letter-spacing: -.5px;
  box-shadow: 0 3px 10px rgba(11, 61, 145, .28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.brand-text em { font-style: normal; font-size: 11px; color: var(--ink-3); letter-spacing: .16em; }
.brand-lg .brand-mark { width: 40px; height: 40px; font-size: 16px; }
.brand-lg .brand-text strong { font-size: 18px; }

.main-nav { display: flex; align-items: center; gap: 3px; flex: 1; overflow: hidden; }
.main-nav a {
  padding: 7px 12px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--ink-2); white-space: nowrap; transition: background .15s, color .15s;
}
.main-nav a:hover { background: var(--brand-050); color: var(--brand); text-decoration: none; }
.main-nav a[aria-current="page"] { background: var(--brand-050); color: var(--brand); font-weight: 600; }
.header-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.nav-search {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2);
  color: var(--ink-3); font-size: 13px; cursor: pointer; transition: .15s;
}
.nav-search:hover { border-color: var(--brand-500); color: var(--brand); background: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 8px 6px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink-2); border-radius: 2px; }
.header-progress { height: 2px; background: linear-gradient(90deg, var(--brand-500), var(--accent)); width: 0; transition: width .12s linear; }

/* ------------------------------------------------------------------ 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 18px; border-radius: 9px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: .15s; text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 3px 10px rgba(11, 61, 145, .22); }
.btn-primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand-500); color: var(--brand); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #0c8478; color: #fff; }
.btn-sm { padding: 6px 13px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 13px 28px; font-size: 16px; border-radius: 11px; }
.btn-block { width: 100%; }

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 420px at 12% -10%, rgba(47, 111, 235, .30), transparent 62%),
    radial-gradient(900px 380px at 92% 8%, rgba(15, 157, 143, .24), transparent 60%),
    linear-gradient(160deg, #071a3a 0%, #0b2f6e 55%, #0d3f8c 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .32; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 40%, transparent 100%);
}
.hero-inner { position: relative; z-index: 2; padding-top: 54px; padding-bottom: 46px; }
.hero-slim .hero-inner { padding-top: 30px; padding-bottom: 26px; }
.hero h1 { font-size: 36px; letter-spacing: -.02em; margin-bottom: 14px; }
.hero-sub { font-size: 16px; color: rgba(255, 255, 255, .82); max-width: 760px; margin-bottom: 24px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding: 5px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  letter-spacing: .04em;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #5ef2c0; box-shadow: 0 0 0 4px rgba(94, 242, 192, .22); }
.hero-search { max-width: 660px; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; margin-top: 34px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .14); overflow: hidden;
}
.hero-stats .stat {
  background: rgba(9, 26, 58, .55); padding: 16px 18px; border: 0; box-shadow: none;
}
.hero-stats .stat-v { color: #fff; font-size: 26px; }
.hero-stats .stat-l { color: rgba(255, 255, 255, .74); }
.hero-stats .stat-h { color: rgba(255, 255, 255, .5); }

/* 行业 Hero（子页） */
.hero-industry .hero-inner { padding-top: 34px; padding-bottom: 30px; }
.hero-industry h1 { font-size: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: rgba(255,255,255,.78); }
.hero-meta strong { color: #fff; font-weight: 600; }

/* ------------------------------------------------------------------ 搜索框 */
.search-box { display: flex; gap: 10px; align-items: stretch; }
.search-box input {
  flex: 1; min-width: 0; padding: 14px 18px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .96);
  color: var(--ink); font-size: 15px; box-shadow: var(--shadow-2);
}
.search-box input::placeholder { color: var(--ink-4); }
.search-box .btn { padding: 0 26px; border-radius: 12px; }
.search-inline input { border-color: var(--line); box-shadow: none; background: #fff; }
.quick-terms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; font-size: 13px; }
.quick-terms a {
  padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .9); border: 1px solid rgba(255, 255, 255, .2);
}
.quick-terms a:hover { background: rgba(255, 255, 255, .24); color: #fff; text-decoration: none; }
.quick-terms.in-light a { background: var(--bg-3); color: var(--ink-2); border-color: var(--line); }
.quick-terms.in-light a:hover { background: var(--brand-050); color: var(--brand); }

/* 搜索浮层 */
.search-overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(10, 23, 48, .5);
  backdrop-filter: blur(3px); display: grid; place-items: start center; padding-top: 96px;
}
.search-overlay[hidden] { display: none; }
.search-panel {
  width: min(720px, calc(100% - 32px)); background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3); padding: 20px; max-height: 72vh; overflow: auto;
}
.search-row { display: flex; gap: 10px; }
.search-row input {
  flex: 1; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px;
}
.search-results { margin-top: 16px; }
.search-group { margin-bottom: 16px; }
.search-group h3 { font-size: 12.5px; color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.search-group li { border-radius: 9px; }
.search-group li a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink); }
.search-group li a:hover { background: var(--brand-050); text-decoration: none; }
.search-group li a small { color: var(--ink-3); display: block; font-size: 12.5px; }
.search-tip { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-4); }

/* ------------------------------------------------------------------ 通用区块 */
.sec { padding: 44px 0; }
.sec-alt { background: var(--bg-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.sec-head h2 { font-size: 22px; }
.sec-head h2::before {
  content: ""; display: inline-block; width: 4px; height: 17px; margin-right: 10px;
  background: linear-gradient(180deg, var(--brand-500), var(--accent)); border-radius: 3px; vertical-align: -1px;
}
.sec-sub { margin: 6px 0 0; color: var(--ink-3); font-size: 14px; }
.sec-actions { display: flex; gap: 10px; flex: none; }

/* ------------------------------------------------------------------ 卡片 */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid-6 { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; transition: border-color .16s, box-shadow .16s, transform .16s;
  display: flex; flex-direction: column;
}
.card:hover { border-color: rgba(47, 111, 235, .45); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card-flat:hover { transform: none; }
.card h3 { font-size: 16px; margin-bottom: 8px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--brand-600); text-decoration: none; }
.card p { color: var(--ink-2); font-size: 13.5px; margin-bottom: 12px; }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--ink-3); border-top: 1px dashed var(--line-2); }
.card-kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-500); margin-bottom: 8px; }

/* 行业卡 */
.industry-card { position: relative; overflow: hidden; }
.industry-card .ic-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.industry-card .ic-ico {
  width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; color: #fff; font-size: 15px; letter-spacing: -.5px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-500) 100%);
}
.industry-card.pending .ic-ico { background: linear-gradient(135deg, #8fa0b8 0%, #b3bfd0 100%); }
.industry-card .ic-name { font-size: 17px; font-weight: 700; }
.industry-card .ic-en { font-size: 12px; color: var(--ink-3); }
.industry-card .ic-metrics { display: flex; gap: 18px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.industry-card .ic-metrics div { font-size: 12.5px; color: var(--ink-3); }
.industry-card .ic-metrics b { display: block; font-size: 18px; color: var(--ink); font-weight: 700; }
.badge-pending {
  position: absolute; top: 14px; right: 14px; font-size: 11.5px; font-weight: 600;
  padding: 3px 9px; border-radius: 999px; background: var(--warn-050); color: var(--warn);
}
.badge-live { position: absolute; top: 14px; right: 14px; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--accent-050); color: #0b7a6f; }
.badge-demo { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 4px; background: var(--warn-050); color: var(--warn); border: 1px solid #f3ddc0; vertical-align: 2px; margin-left: 6px; }

/* 企业卡 */
.company-card .cc-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.company-card .cc-logo {
  width: 42px; height: 42px; flex: none; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; font-size: 15px; color: var(--brand);
  background: var(--brand-050); border: 1px solid #d9e6ff;
}
.company-card .cc-title { font-size: 15.5px; font-weight: 700; margin: 0 0 4px; }
.company-card .cc-title a { color: var(--ink); }
.company-card .cc-title a:hover { color: var(--brand-600); text-decoration: none; }
.company-card .cc-loc { font-size: 12.5px; color: var(--ink-3); }
.company-card .cc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 12.5px; color: var(--ink-3); }

/* 标签 */
.tag {
  display: inline-block; font-size: 12px; padding: 2px 9px; border-radius: 6px;
  background: var(--bg-3); color: var(--ink-2); margin: 0 6px 6px 0; white-space: nowrap;
}
.tag-brand { background: var(--brand-050); color: var(--brand); }
.tag-accent { background: var(--accent-050); color: #0b7a6f; }
.tag-warn { background: var(--warn-050); color: var(--warn); }
.tag-violet { background: var(--violet-050); color: #6d3fd6; }
.tag-outline { background: #fff; border: 1px solid var(--line); }
.claim-badge { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--accent-050); color: #0b7a6f; }
.claim-badge.no { background: var(--bg-3); color: var(--ink-3); }

/* ------------------------------------------------------------------ 数据卡 */
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat-v { font-size: 27px; font-weight: 800; letter-spacing: -.02em; color: var(--brand); line-height: 1.2; }
.stat-v small { font-size: 14px; font-weight: 600; }
.stat-l { font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.stat-h { font-size: 11.5px; color: var(--ink-4); margin-top: 4px; }
.stat-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat-row-4 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

/* 数据条（区域分布） */
.bar-list li { margin-bottom: 12px; }
.bar-list .bl-top { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 5px; }
.bar-list .bl-top b { font-weight: 600; }
.bar-list .bl-track { height: 8px; border-radius: 999px; background: var(--bg-3); overflow: hidden; }
.bar-list .bl-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand-500), var(--accent)); transition: width .6s ease; }

/* ------------------------------------------------------------------ 列表/表格 */
.list-plain li { padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.list-plain li:last-child { border-bottom: 0; }
.list-plain .lp-title { font-weight: 600; }
.list-plain .lp-meta { font-size: 12.5px; color: var(--ink-3); }
.list-dot li { position: relative; padding-left: 18px; margin-bottom: 9px; color: var(--ink-2); font-size: 14px; }
.list-dot li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data { font-size: 13.5px; min-width: 620px; }
table.data th, table.data td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.data th { background: var(--bg-2); font-weight: 600; color: var(--ink-2); white-space: nowrap; font-size: 12.5px; letter-spacing: .02em; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--brand-025); }
table.data code { white-space: nowrap; }

/* ------------------------------------------------------------------ 资讯 */
.news-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
.news-lead { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.news-lead .nl-img { aspect-ratio: 16 / 8.4; background: linear-gradient(135deg, #0b3d91, #2f6feb 55%, #0f9d8f); position: relative; }
.news-lead .nl-img::after {
  content: ""; position: absolute; inset: 0; opacity: .3;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.14) 0 10px, transparent 10px 20px);
}
.news-lead .nl-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.news-lead h3 { font-size: 19px; margin-bottom: 10px; }
.news-lead h3 a { color: var(--ink); }
.news-side li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line-2); }
.news-side li:last-child { border-bottom: 0; }
.news-side .ns-idx { flex: none; width: 24px; font-weight: 800; color: var(--brand-500); font-size: 15px; line-height: 1.5; }
.news-side .ns-t { font-size: 14px; font-weight: 600; }
.news-side .ns-t a { color: var(--ink); }
.news-side .ns-m { font-size: 12px; color: var(--ink-3); margin-top: 3px; display: flex; gap: 10px; flex-wrap: wrap; }

.news-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.news-item:last-child { border-bottom: 0; }
.news-item .ni-body { flex: 1; min-width: 0; }
.news-item h3 { font-size: 16.5px; margin-bottom: 7px; }
.news-item h3 a { color: var(--ink); }
.news-item h3 a:hover { color: var(--brand-600); text-decoration: none; }
.news-item .ni-sum { color: var(--ink-2); font-size: 13.5px; margin-bottom: 9px; }
.ni-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12.5px; color: var(--ink-3); align-items: center; }
.imp { display: inline-flex; align-items: center; gap: 5px; }
.imp-bar { width: 46px; height: 5px; border-radius: 999px; background: var(--bg-3); overflow: hidden; }
.imp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-500), var(--warn)); }

.ai-flag {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600;
  padding: 2px 8px; border-radius: 999px; background: var(--violet-050); color: #6d3fd6;
}
.ai-note { display: flex; gap: 9px; align-items: flex-start; padding: 11px 14px; border-radius: 9px; background: var(--violet-050); color: #5a3bb0; font-size: 13px; margin: 16px 0; }

/* ------------------------------------------------------------------ 供需 */
.sd-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; display: flex; gap: 16px; }
.sd-item:hover { border-color: rgba(47,111,235,.4); box-shadow: var(--shadow-1); }
.sd-side { flex: none; width: 62px; text-align: center; }
.sd-kind { display: block; font-size: 12px; font-weight: 700; padding: 3px 0; border-radius: 6px; }
.sd-kind.supply { background: var(--brand-050); color: var(--brand); }
.sd-kind.demand { background: var(--warn-050); color: var(--warn); }
.sd-top { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 7px; }
.sd-title { font-size: 16px; font-weight: 700; }
.sd-top-flag { font-size: 11.5px; font-weight: 700; color: var(--up); background: #fdeceb; padding: 1px 7px; border-radius: 4px; flex: none; margin-top: 3px; }
.sd-body { flex: 1; min-width: 0; }
.sd-detail { color: var(--ink-2); font-size: 13.5px; margin-bottom: 10px; }
.sd-contact { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; padding: 9px 12px; background: var(--bg-2); border-radius: 8px; }
.sd-contact .locked { color: var(--ink-4); }
.sd-lock { display: inline-flex; align-items: center; gap: 5px; }

/* ------------------------------------------------------------------ 筛选与排序 */
.filter-bar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 20px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; padding: 8px 0; }
.filter-row + .filter-row { border-top: 1px dashed var(--line-2); }
.filter-label { font-size: 13px; color: var(--ink-3); flex: none; width: 62px; }
.filter-opts { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-opts button {
  padding: 4px 12px; border-radius: 999px; border: 1px solid transparent; background: var(--bg-2);
  color: var(--ink-2); font-size: 13px; cursor: pointer; transition: .15s;
}
.filter-opts button:hover { background: var(--brand-050); color: var(--brand); }
.filter-opts button[aria-pressed="true"] { background: var(--brand); color: #fff; font-weight: 600; }
.sort-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.sort-opts { display: flex; gap: 6px; }
.sort-opts button { background: none; border: 0; padding: 5px 11px; border-radius: 7px; color: var(--ink-3); font-size: 13.5px; cursor: pointer; }
.sort-opts button[aria-pressed="true"] { background: var(--brand-050); color: var(--brand); font-weight: 600; }
.result-count { font-size: 13.5px; color: var(--ink-3); }
.result-count b { color: var(--ink); }
.empty-state { text-align: center; padding: 48px 20px; color: var(--ink-3); }

/* ------------------------------------------------------------------ 企业微官网 */
.company-hero { position: relative; background: linear-gradient(140deg, #071a3a, #0b3d91 60%, #1256c4); color: #fff; }
.company-hero .ch-inner { position: relative; z-index: 2; padding-top: 38px; padding-bottom: 34px; display: flex; gap: 22px; align-items: flex-start; }
.company-hero .ch-logo {
  width: 76px; height: 76px; flex: none; border-radius: 18px; display: grid; place-items: center;
  font-size: 26px; font-weight: 800; background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px);
}
.company-hero h1 { font-size: 27px; margin-bottom: 8px; }
.company-hero .ch-slogan { color: rgba(255,255,255,.8); font-size: 14.5px; margin-bottom: 12px; }
.company-hero .ch-tags .tag { background: rgba(255,255,255,.15); color: #fff; }
.company-hero .ch-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.company-hero .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.34); }
.company-hero .btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; background: #fff; }
.info-grid .ig-cell { background: #fff; padding: 14px 16px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.info-grid .ig-cell:nth-last-child(-n+1) { border-bottom: 0; }
.info-grid .ig-k { font-size: 12.5px; color: var(--ink-3); margin-bottom: 3px; }
.info-grid .ig-v { font-size: 14.5px; font-weight: 600; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.side-card h3 { font-size: 15px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; align-items: start; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 18px); }
.prose { font-size: 15px; color: var(--ink-2); }
.prose p { margin-bottom: 14px; }
.prose h2 { color: var(--ink); margin: 30px 0 12px; font-size: 20px; }
.prose h3 { color: var(--ink); margin: 22px 0 10px; }
.prose ul { margin: 0 0 16px; padding-left: 2px; }
.prose ul li { position: relative; padding-left: 18px; margin-bottom: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 3px; top: .66em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500); }
.prose blockquote { margin: 16px 0; padding: 12px 16px; border-left: 3px solid var(--brand-500); background: var(--brand-025); border-radius: 0 8px 8px 0; color: var(--ink-2); }
.img-slot {
  border-radius: var(--radius); border: 1px dashed #cdd8ea; background:
    linear-gradient(135deg, var(--bg-3), var(--brand-025));
  display: grid; place-items: center; color: var(--ink-4); font-size: 13px; min-height: 180px;
}

/* ------------------------------------------------------------------ 地图页 */
.map-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 0; height: calc(100vh - var(--header-h) - 60px); min-height: 560px; border-top: 1px solid var(--line); }
.map-panel { border-right: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.map-panel .mp-head { padding: 16px; border-bottom: 1px solid var(--line-2); }
.map-panel .mp-head h2 { font-size: 16px; margin-bottom: 10px; }
.map-panel .mp-list { overflow: auto; flex: 1; padding: 6px 10px 16px; }
.map-panel .mp-city { padding: 10px 10px 6px; font-size: 12.5px; color: var(--ink-3); font-weight: 700; letter-spacing: .06em; display: flex; justify-content: space-between; }
.map-panel .mp-item { padding: 10px; border-radius: 9px; cursor: pointer; }
.map-panel .mp-item:hover, .map-panel .mp-item.active { background: var(--brand-050); }
.map-panel .mp-name { font-size: 13.5px; font-weight: 600; }
.map-panel .mp-sub { font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-stage { position: relative; background: var(--bg-2); overflow: hidden; }
#tmap, .map-canvas { position: absolute; inset: 0; }
.map-fallback { position: absolute; inset: 0; overflow: auto; padding: 26px; background: linear-gradient(180deg, var(--brand-025), var(--bg-2)); }
.map-fallback[hidden] { display: none; }
.map-toolbar { position: absolute; left: 16px; top: 16px; z-index: 5; display: flex; gap: 8px; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 10px; padding: 6px; box-shadow: var(--shadow-2); }
.map-toolbar button { border: 0; background: none; padding: 6px 12px; border-radius: 7px; font-size: 13px; cursor: pointer; color: var(--ink-2); }
.map-toolbar button[aria-pressed="true"] { background: var(--brand); color: #fff; font-weight: 600; }
.map-legend { position: absolute; right: 16px; bottom: 16px; z-index: 5; background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 12.5px; box-shadow: var(--shadow-2); }
.map-legend .lg-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.map-legend .lg-dot { width: 11px; height: 11px; border-radius: 50%; }
.map-info { position: absolute; right: 16px; top: 16px; z-index: 6; width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-3); padding: 16px; }
.map-info[hidden] { display: none; }
.map-info h3 { font-size: 15px; margin-bottom: 6px; }
.map-info .mi-close { position: absolute; right: 10px; top: 8px; border: 0; background: none; font-size: 18px; color: var(--ink-4); cursor: pointer; line-height: 1; }

/* 省市分布看板（无地图 key 时的合规降级视图） */
.region-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.region-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.region-card h3 { font-size: 15.5px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: baseline; }
.region-card h3 span { font-size: 12.5px; color: var(--ink-3); font-weight: 500; }

/* ------------------------------------------------------------------ 产业链图谱 */
.chain-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.chain-stage { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #fff, var(--brand-025)); overflow: hidden; }
.chain-svg { display: block; width: 100%; height: auto; cursor: grab; }
.chain-svg:active { cursor: grabbing; }
.chain-node rect { transition: filter .15s; cursor: pointer; }
.chain-node:hover rect { filter: brightness(.96); }
.chain-node text { pointer-events: none; font-family: var(--font); }
.chain-edge { stroke: #c2cfe4; stroke-width: 1.4; fill: none; }
.chain-detail { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.chain-detail h3 { font-size: 16px; margin-bottom: 8px; }
.chain-layer-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--ink-2); }
.chain-layer-legend span { display: inline-flex; align-items: center; gap: 7px; }
.chain-layer-legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }

/* ------------------------------------------------------------------ 时间轴 */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: linear-gradient(180deg, var(--brand-500), var(--accent)); border-radius: 2px; }
.timeline li { position: relative; margin-bottom: 18px; }
.timeline li::before { content: ""; position: absolute; left: -24px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--brand-500); }
.timeline .tl-time { font-size: 12.5px; color: var(--brand-600); font-weight: 600; }

/* ------------------------------------------------------------------ Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs button {
  border: 0; background: none; padding: 11px 16px; font-size: 14.5px; color: var(--ink-3);
  cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; font-weight: 500;
}
.tabs button[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); font-weight: 700; }
.tabs button:hover { color: var(--brand); }
/* 链接型标签（栏目录航） */
.tabs a {
  display: inline-block; padding: 11px 16px; font-size: 14.5px; color: var(--ink-3);
  border-bottom: 2px solid transparent; white-space: nowrap; font-weight: 500; margin-bottom: -1px;
}
.tabs a:hover { color: var(--brand); text-decoration: none; }
.tabs a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); font-weight: 700; }

/* ------------------------------------------------------------------ 表单 */
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.span-2 { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--up); margin-left: 3px; }
.field input, .field select, .field textarea {
  padding: 10px 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 14px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-500); outline: none; box-shadow: 0 0 0 3px rgba(47,111,235,.13); }
.field .hint { font-size: 12px; color: var(--ink-4); }
.checkline { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--ink-2); }
.checkline input { margin-top: 3px; }

/* ------------------------------------------------------------------ 通知条 */
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13.5px; line-height: 1.65; margin-bottom: 18px; }
.notice-info { background: var(--brand-050); color: #12448f; border: 1px solid #d6e4ff; }
.notice-warn { background: var(--warn-050); color: #8a5210; border: 1px solid #f3ddc0; }
.notice-accent { background: var(--accent-050); color: #0b6b62; border: 1px solid #cdeee9; }
.notice-ico {
  flex: none; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; font-style: italic; background: currentColor; color: #fff; margin-top: 2px;
}
.notice-info .notice-ico { color: #12448f; }
.notice-warn .notice-ico { color: #8a5210; }
.notice-accent .notice-ico { color: #0b6b62; }

/* ------------------------------------------------------------------ 面包屑 */
.crumb { padding: 16px 0 0; font-size: 13px; color: var(--ink-3); }
.crumb ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumb li + li::before { content: "/"; margin-right: 6px; color: var(--ink-4); }
.crumb a { color: var(--ink-3); }
.crumb a:hover { color: var(--brand-600); }

/* ------------------------------------------------------------------ Footer */
.site-footer { background: var(--bg-inverse); color: rgba(255, 255, 255, .68); padding: 46px 0 26px; margin-top: 0; font-size: 13.5px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 40px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text em { color: rgba(255,255,255,.5); }
.fbrand p { margin: 14px 0 10px; line-height: 1.7; }
.fbrand-org { color: rgba(255, 255, 255, .82); font-weight: 600; }
.fbrand-contact li { margin-bottom: 4px; }
.fbrand-contact .tip { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 10px; margin-left: 5px; cursor: help; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.fg h3 { color: #fff; font-size: 13.5px; margin-bottom: 12px; letter-spacing: .04em; }
.fg li { margin-bottom: 8px; }
.footer-bottom { padding-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: space-between; font-size: 12.5px; }
.footer-bottom p { margin: 0; }
.site-footer .muted { color: rgba(255, 255, 255, .5); }

/* ------------------------------------------------------------------ 首页专用 */
.industry-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.chain-rail { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.chain-rail .cr-card {
  flex: 0 0 240px; scroll-snap-align: start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column;
}
.chain-rail .cr-card .cr-idx { font-size: 12px; font-weight: 800; color: var(--brand-500); letter-spacing: .08em; margin-bottom: 8px; }
.chain-rail .cr-card h3 { font-size: 15px; margin-bottom: 7px; }
.chain-rail .cr-card p { font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.chain-rail .cr-card .cr-foot { margin-top: auto; font-size: 12px; color: var(--ink-3); }
.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pillar .p-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; margin-bottom: 12px; background: var(--brand-050); }
.pillar h3 { margin-bottom: 8px; }
.pillar p { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.flow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.flow .step { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; font-size: 13.5px; font-weight: 600; }
.flow .step small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; margin-top: 2px; }
.flow .arrow { color: var(--brand-500); font-weight: 700; }

/* ------------------------------------------------------------------ 分页/工具 */
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager span { padding: 7px 13px; border: 1px solid var(--line); border-radius: 8px; font-size: 13.5px; color: var(--ink-2); background: #fff; }
.pager span[aria-current="page"] { background: var(--brand); color: #fff; border-color: var(--brand); font-weight: 600; }
.pager a:hover { border-color: var(--brand-500); color: var(--brand); text-decoration: none; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13.5px; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; }
.divider { height: 1px; background: var(--line-2); margin: 24px 0; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 5px 13px; border-radius: 999px; background: var(--bg-3); font-size: 13px; color: var(--ink-2); }
.pill:hover { background: var(--brand-050); color: var(--brand); text-decoration: none; }
.source-note { font-size: 12px; color: var(--ink-4); margin-top: 22px; padding-top: 14px; border-top: 1px dashed var(--line-2); }

/* ------------------------------------------------------------------ 后台演示 */
.admin-shell { display: grid; grid-template-columns: 226px minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); background: var(--bg-2); }
.admin-side { background: #fff; border-right: 1px solid var(--line); padding: 20px 14px; }
.admin-side .as-title { font-size: 12px; color: var(--ink-4); letter-spacing: .1em; margin: 16px 8px 8px; }
.admin-side a { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 9px; color: var(--ink-2); font-size: 14px; }
.admin-side a:hover { background: var(--brand-050); color: var(--brand); text-decoration: none; }
.admin-side a.active { background: var(--brand); color: #fff; font-weight: 600; }
.admin-main { padding: 26px; }
.admin-main h1 { font-size: 22px; margin-bottom: 6px; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin: 20px 0; }
.admin-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.admin-panel h2 { font-size: 16px; margin-bottom: 14px; }
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.status-dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ------------------------------------------------------------------ 响应式 */
@media (max-width: 1080px) {
  .two-col { grid-template-columns: 1fr; }
  .sticky-col { position: static; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .news-hero { grid-template-columns: 1fr; }
  .map-layout { grid-template-columns: 1fr; height: auto; }
  .map-panel { border-right: 0; border-bottom: 1px solid var(--line); max-height: 320px; }
  .map-stage { height: 460px; }
}
@media (max-width: 900px) {
  .main-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h); flex-direction: column;
    align-items: stretch; background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px; gap: 2px; display: none; box-shadow: var(--shadow-2);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-search span { display: none; }
  .hero h1 { font-size: 27px; }
  .hero-inner { padding-top: 38px; padding-bottom: 32px; }
  .sec { padding: 34px 0; }
  .header-actions-md { display: none; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { border-right: 0; border-bottom: 1px solid var(--line); display: flex; gap: 6px; overflow-x: auto; }
  .admin-side .as-title { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .hero h1 { font-size: 23px; }
  .search-box { flex-direction: column; }
  .search-box .btn { padding: 12px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stat-v { font-size: 23px; }
  .company-hero .ch-inner { flex-direction: column; }
  .sd-item { flex-direction: column; }
  .sd-side { width: auto; display: flex; gap: 8px; align-items: center; }
}

@media print {
  .site-header, .site-footer, .map-toolbar, .search-overlay { display: none; }
}
