/* ============================================================
   style.css - 新能源助手 全站样式（深色框架 + 浅色正文 v46）
   设计语言：近黑深蓝底 + 霓虹绿/青强调 + 玻璃拟态 + 发光
   ============================================================ */
* { box-sizing: border-box; }

/* ============ 设计令牌 (Design Tokens) ============ */
:root {
  /* —— 背景层级（浅色正文） —— */
  --bg: #eef2f7;
  --bg-2: #e7edf4;
  --surface: #ffffff;          /* 卡片表面 */
  --surface-2: #f4f7fb;        /* 次表面 / 悬停 / 表头 */
  --surface-3: #eef3f9;        /* 三级表面 */
  --surface-hover: #eef6ff;

  /* —— 边框（浅灰） —— */
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-soft: #edf1f6;

  /* —— 文字层级（深） —— */
  --text: #0f1f33;             /* 主文字 */
  --text-2: #475569;           /* 次文字 */
  --text-3: #94a3b8;           /* 弱文字 / 占位 */
  --text-dim: #64748b;

  /* —— 品牌 / 强调（翠绿/青，适配浅底） —— */
  --brand: #0e9f6e;            /* 翠绿（主强调） */
  --brand-2: #0ea5e9;          /* 科技青（次强调） */
  --brand-3: #2563eb;          /* 亮蓝 */
  --brand-soft: rgba(14,159,110,.10);
  --brand-soft-2: rgba(14,159,110,.16);
  --brand-glow: rgba(14,159,110,.28);
  --cyan-soft: rgba(14,165,233,.10);
  --cyan-glow: rgba(14,165,233,.22);

  /* —— 渐变 —— */
  --header-grad: linear-gradient(135deg, #0a1426 0%, #0d2436 48%, #0a2a22 100%);
  --hero-grad: linear-gradient(100deg, #ecfdf5 0%, #f0fdfa 48%, #eff6ff 100%);

  /* —— 阴影（浅底柔和投影） —— */
  --shadow-sm: 0 1px 2px rgba(15,23,42,.08);
  --shadow: 0 8px 24px -10px rgba(15,23,42,.18);
  --shadow-glow: 0 0 0 1px rgba(14,159,110,.25), 0 10px 30px -12px rgba(14,159,110,.30);
  --shadow-cyan: 0 0 0 1px rgba(14,165,233,.22), 0 10px 30px -12px rgba(14,165,233,.28);
  --shadow-lg: 0 20px 50px -18px rgba(15,23,42,.30);

  /* —— 圆角 —— */
  --radius: 12px; --radius-lg: 16px; --radius-sm: 8px;

  /* —— 语义状态色（适配浅底，深色调保证可读） —— */
  --green-400:#16a34a; --green-500:#22c55e; --green-600:#16a34a;
  --green-700:#15803d; --green-800:#166534; --green-900:#14532d;
  --emerald-400:#10b981; --emerald-500:#10b981; --emerald-600:#059669;
  --amber-400:#f59e0b; --amber-500:#d97706; --amber-600:#b45309;
  --sky-500:#0ea5e9; --sky-600:#0284c7; --sky-400:#38bdf8;
  --violet-400:#8b5cf6; --violet-500:#7c3aed;
  --red-500:#dc2626; --red-600:#dc2626; --red-700:#b91c1c;
  --navy-900:#0a1120; --navy-800:#0d1424; --navy-700:#13203a;

  /* —— slate 阶梯（浅底灰阶，兼容既有用法） —— */
  --slate-50:#f8fafc; --slate-100:#f1f5f9; --slate-200:#e2e8f0;
  --slate-300:#cbd5e1; --slate-400:#94a3b8; --slate-500:#64748b;
  --slate-600:#475569; --slate-700:#334155; --slate-800:#1e293b; --slate-900:#0f172a;

  /* —— 字体 / 等宽 —— */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, "Courier New", monospace;

  /* —— 深色框架专用霓虹色（仅用于 header/footer/nav 等深色区域） —— */
  --neon: #34d399; --neon-2: #22d3ee; --neon-soft: rgba(52,211,153,.14);

  /* —— 品牌文字色（随主题翻转：浅色深绿 / 暗色亮薄荷，根治暗色下"黑字看不清"） —— */
  --ink: #0e7a52;        /* 主品牌文字（标签/标题/数值） */
  --ink-2: #0e8a5d;     /* 次品牌文字（高亮/状态） */
  --ink-cyan: #0e7490;  /* 青色品牌文字（区域/链接类） */
  --ink-violet: #6d28d9; /* 紫色状态文字（报告类） */
  --ink-blue: #1d4ed8;  /* 蓝色状态文字（下载类） */
}

body {
  font-family: var(--font-sans);
  background:
    radial-gradient(1100px 560px at 82% -12%, rgba(14,159,110,.07), transparent 60%),
    radial-gradient(900px 520px at -8% 8%, rgba(14,165,233,.06), transparent 55%),
    linear-gradient(180deg, #eef2f7 0%, #e7edf4 100%);
  background-attachment: fixed;
  color: var(--text);
  margin: 0; min-height: 100vh; line-height: 1.6;
}
a { color: var(--brand); text-decoration: none; transition: color .12s; }
a:hover { color: var(--ink); text-decoration: underline; }
.num, .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.header-inner { max-width: none; margin: 0 auto; padding: 0 16px; position: relative; }

/* ============ 顶部声明条 ============ */
.disclaimer-bar {
  background: rgba(13,20,36,.94);
  border-bottom: 1px solid rgba(122,163,214,.22);
  font-size: 12px; color: #aab8cc;
  padding: 6px 0; letter-spacing: .2px;
}
.disclaimer-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--neon); margin-right: 6px; vertical-align: middle;
  box-shadow: 0 0 8px rgba(52,211,153,.6);
}

/* ============ 页眉（深色科技渐变 + Logo） ============ */
.header {
  background: var(--header-grad);
  color: #fff; padding: 12px 0 0;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: visible;
  border-bottom: 1px solid rgba(122,163,214,.32);
}
.header::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52,211,153,.16), transparent 70%);
  pointer-events: none;
}
.header::before {
  content: ""; position: absolute; left: -40px; bottom: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.10), transparent 70%);
  pointer-events: none;
}
.brand-row { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.brand-logo { flex: 0 0 auto; width: 76px; height: 76px; border-radius: 50%; filter: drop-shadow(0 2px 10px rgba(52,211,153,.45)); }
.header h1 { font-size: 30px; font-weight: 800; margin: 0; letter-spacing: 3px; line-height: 1.2;
  background: linear-gradient(115deg, #ffffff 5%, #c9f7df 30%, #86efac 55%, #5eead4 82%, #22d3ee 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 10px rgba(52,211,153,.5));
  font-family: "PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif;
}
.header h1::after {
  content: ""; display: block; width: 52px; height: 3px; margin-top: 5px; border-radius: 3px;
  background: linear-gradient(90deg, #34d399, #22d3ee);
  box-shadow: 0 0 8px var(--brand-glow);
}
.header p { color: #bdebd2; font-size: 12.5px; margin: 8px 0 0; }
.header-badges { position: absolute; top: 0; right: 16px; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; z-index: 1; align-items: center; }
.header-badges .badge { display: inline-flex; align-items: center; justify-content: center; text-align: center; background: rgba(255,255,255,.08); color: #d7f5e3; border: 1px solid rgba(255,255,255,.18); font-size: 11.5px; padding: 8px 6px; border-radius: 999px; backdrop-filter: blur(4px); }
.header-badges .badge-ico { margin-right: 4px; }

/* 用户导航 */
.user-nav-login {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(135deg, #07C160, #1aad19);
  color: #fff; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: all .15s;
  box-shadow: 0 4px 12px rgba(7,193,96,.3);
}
.user-nav-login:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(7,193,96,.45); text-decoration: none; color: #fff; }
.user-nav { position: relative; display: inline-block; }
.user-nav-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px 4px 4px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #d7f5e3; text-decoration: none; transition: all .15s; cursor: pointer;
}
.user-nav-trigger:hover { background: rgba(255,255,255,.12); }
.user-nav-avatar {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(52,211,153,.5);
}
.user-nav-avatar.avatar-emoji {
  font-size: 16px; line-height: 1; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1);
}
.user-nav-name { font-size: 13px; font-weight: 500; max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-nav-dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 150px;
  margin-top: 0;
  background: rgba(15,23,42,.96); border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px; padding: 6px 0; box-shadow: 0 10px 30px rgba(0,0,0,.4);
  backdrop-filter: blur(10px); z-index: 1000;
}
/* 点击打开时显示 */
.user-nav.user-nav-open .user-nav-dropdown { display: block; }
.user-nav-dropdown a {
  display: block; padding: 8px 16px; color: rgba(255,255,255,.75);
  text-decoration: none; font-size: 13px; transition: all .12s;
}
.user-nav-dropdown a:hover { background: rgba(52,211,153,.15); color: #34d399; }
.user-nav-points { font-size: 12px; color: #fbbf24; margin-left: 4px; }
.user-nav-profile { padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 6px; }
.user-nav-level { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 12px; width: fit-content; }
.user-nav-level.registered { background: rgba(59,130,246,.2); color: #60a5fa; }
.user-nav-level.member { background: rgba(245,158,11,.2); color: #fbbf24; }
.user-nav-level.vip { background: rgba(168,85,247,.2); color: #c084fc; }
.user-nav-points-sm { font-size: 12px; color: rgba(255,255,255,.6); }

/* 页眉内联搜索框 */
.hd-search { display: flex; align-items: center; background: rgba(8,14,26,.55); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 2px 4px 2px 12px; }
.hd-search input { background: transparent; border: 0; color: #e8eef7; font-size: 12.5px; font-family: inherit; width: 150px; outline: none; }
.hd-search input::placeholder { color: #8aa0b8; }
.hd-search button { background: rgba(52,211,153,.22); border: 0; color: #d7f5e3; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 13px; transition: background .15s; }
.hd-search button:hover { background: rgba(52,211,153,.4); }

/* ============ 模块导航 ============ */
.nav-bar {
  max-width: none; margin: 8px auto 0; padding: 0 12px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 4px;
  position: relative; z-index: 1;
}
.nav-ext {
  flex: 1 1 auto; justify-content: center;
  display: inline-flex; align-items: center; padding: 8px 10px; font-size: 13.5px; font-weight: 500;
  border: none; background: transparent; color: #cfe9da;
  border-radius: 8px 8px 0 0; cursor: pointer; position: relative;
  transition: background .15s, color .15s; text-decoration: none; white-space: nowrap;
}
.nav-ext .icon { width: 12px; height: 12px; margin-right: 3px; vertical-align: -2px; }
.nav-ext:hover { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
.nav-ext.active {
  background: rgba(52,211,153,.14); color: var(--neon); font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--neon);
}
.nav-ext.active::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 0;
  height: 2px; background: var(--neon); border-radius: 2px; box-shadow: 0 0 8px var(--brand-glow);
}

/* ============ 后台头部（深科技渐变，与前台一致） ============ */
.wrap { max-width: none; margin: 0 auto; padding: 0 16px; }
main.wrap { padding: 24px 16px; }
.site-header {
  background: var(--header-grad);
  color: #fff; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden; border-bottom: 1px solid rgba(122,163,214,.32);
}
.site-header .nav {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; padding-top: 12px; padding-bottom: 12px;
}
.site-header .brand {
  color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .5px;
  text-decoration: none; text-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.site-header .brand:hover { color: #fff; text-decoration: none; opacity: .92; }
.site-header nav { display: flex; align-items: center; gap: 14px; font-size: 13px; }
.site-header nav a { color: #cfe9da; text-decoration: none; }
.site-header nav a:hover { color: #fff; text-decoration: underline; }
.site-header nav span { color: #bdebd2 !important; }

/* ============ 主区 ============ */
.main { max-width: none; margin: 0 auto; padding: 22px 12px; }
.panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; margin: 0 0 20px; box-shadow: var(--shadow);
  position: relative;
}
.panel::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px;
  border-radius: 3px; background: linear-gradient(180deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 10px var(--brand-glow); opacity: .8;
}
.panel-row { display:flex; flex-wrap:wrap; gap:20px; align-items:flex-start; }
.panel-row > .panel { flex:1 1 340px; margin-bottom:20px; }
@media (max-width: 640px) { .panel-row { flex-direction:column; } .panel-row > .panel { flex-basis:auto; } }
/* 后台维护工具页：紧凑双列网格，同行卡片等高填充，消除列内空缺 */
.tools-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; align-items:stretch; }
.tools-grid > .panel { margin:0; padding:16px 18px; }
.tools-grid > .panel h3 { margin:0 0 10px; }
.tools-grid .span2 { grid-column:1 / -1; }
.tools-grid .o1 { order:1; } .tools-grid .o2 { order:2; } .tools-grid .o3 { order:3; }
.tools-grid .o4 { order:4; } .tools-grid .o5 { order:5; } .tools-grid .o5b { order:5.5; } .tools-grid .o6 { order:6; } .tools-grid .o7 { order:7; } .tools-grid .o8 { order:8; }
@media (max-width: 900px) { .tools-grid { grid-template-columns:1fr; } .tools-grid .span2 { grid-column:auto; } }
.panel h2 { margin: 0 0 10px; font-size: 20px; color: var(--text); letter-spacing: .2px; padding-left: 12px; }
.panel h2 .tag { vertical-align: 3px; }
.panel h3 { margin: 16px 0 8px; font-size: 16px; color: var(--text); }
.note { font-size: 13px; color: var(--text-3); line-height: 1.7; word-break: normal; overflow-wrap: anywhere; }
.note a { word-break: break-all; overflow-wrap: anywhere; }
.tag { display: inline-block; background: var(--brand-soft); color: var(--ink); border: 1px solid rgba(52,211,153,.3); border-radius: 20px; padding: 1px 10px; font-size: 12px; margin-left: 6px; vertical-align: middle; }
.tool-count { display: inline-block; font-size: 12px; font-weight: 400; color: var(--text-3); background: var(--surface-2); border: 1px solid var(--border); border-radius: 20px; padding: 1px 10px; margin-left: 8px; vertical-align: middle; }
.top-flag { margin-right: 2px; }
.pill { display: inline-block; background: var(--surface-2); border: 1px solid var(--border); border-radius: 20px; padding: 0 8px; font-size: 12px; color: var(--text-2); margin-left: 6px; }

/* ============ AI 工具评价 ============ */
.ai-review { display: flex; align-items: center; gap: 8px; background: var(--brand-soft); border: 1px solid rgba(52,211,153,.25); border-radius: 8px; padding: 7px 10px; font-size: 12.5px; line-height: 1.6; color: var(--text-2); }
.star-gold { color: #fbbf24; font-weight: 700; letter-spacing: 1px; white-space: nowrap; }
.star-dim { color: var(--slate-400); }
.rv-text { color: var(--text-2); }

/* ============ 信心指数徽章 ============ */
.conf-badge { display: inline-block; font-size: 12px; font-weight: 400; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: 20px; padding: 1px 10px; margin-left: 8px; vertical-align: middle; }
.conf-badge b { font-weight: 700; }
.conf-high { background: rgba(52,211,153,.16); color: var(--ink-2); border-color: rgba(52,211,153,.35); }
.conf-mid { background: rgba(251,191,36,.14); color: #b45309; border-color: rgba(251,191,36,.32); }
.conf-low { background: rgba(248,113,113,.14); color: #b91c1c; border-color: rgba(248,113,113,.32); }

/* ============ 首页模块卡片 ============ */
.hero {
  border: 1px solid rgba(52,211,153,.28);
  border-radius: var(--radius-lg);
  padding: 42px 36px; margin-bottom: 22px;
  color: #e8f5ff; box-shadow: 0 20px 50px -18px rgba(0,0,0,.5), 0 0 0 1px rgba(34,211,238,.10), 0 0 40px rgba(52,211,153,.10);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("../images/hero-banner.jpg") center/cover no-repeat;
  filter: brightness(1.14) saturate(1.06);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(100deg, rgba(8,24,48,.58) 0%, rgba(10,34,56,.46) 48%, rgba(8,28,46,.42) 100%),
    radial-gradient(900px 420px at 90% 10%, rgba(52,211,153,.14), transparent 55%),
    radial-gradient(800px 380px at 10% 90%, rgba(34,211,238,.10), transparent 50%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: auto, auto, auto, 50px 50px, 50px 50px;
  pointer-events: none;
}
.hero-grid { display: flex; gap: 26px; align-items: center; justify-content: space-between; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-main { flex: 1 1 460px; min-width: 280px; }
.hero h2 {
  margin: 0 0 10px; font-size: 30px; letter-spacing: .5px;
  background: linear-gradient(110deg, #ffffff 15%, #a7f3d0 65%, #67e8f9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,.55));
  position: relative; display: inline-block;
}
.hero h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 8px; border-radius: 4px; background: linear-gradient(90deg, #34d399, #22d3ee); box-shadow: 0 0 8px rgba(52,211,153,.45); }
.header h1 .site-url { font-size: 15px; font-weight: 600; letter-spacing: 0; margin-left: 12px; vertical-align: middle; color: #67e8f9; -webkit-text-fill-color: #67e8f9; background: none; -webkit-background-clip: border-box; background-clip: border-box; text-shadow: 0 0 10px rgba(34,211,238,.55); filter: none; }
.hero .hero-sub { font-size: 13px; color: #34d399; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 6px; font-weight: 700; text-shadow: 0 0 10px rgba(52,211,153,.45); }
.hero p { margin: 0 0 8px; color: #d1e7f2; font-size: 14px; line-height: 1.9; text-shadow: 0 1px 5px rgba(0,0,0,.5); }
.hero .hero-note { font-size: 12.5px; color: #9cc5d8; }
.hero .btn { background: linear-gradient(90deg, #0e9f6e, #10b981); color: #fff; font-weight: 700; border: none; box-shadow: 0 4px 14px rgba(14,159,110,.35); }
.hero .btn:hover { background: #34d399; color: #052e1f; box-shadow: 0 0 22px rgba(52,211,153,.55); transform: translateY(-1px); }
.hero .btn.ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.hero .btn.ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(52,211,153,.65); box-shadow: 0 0 18px rgba(52,211,153,.25); }
.hero-cta { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-stats { flex: 0 0 auto; display: grid; grid-template-columns: repeat(2, minmax(100px, 1fr)); gap: 10px; }
.stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 9px 12px; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); backdrop-filter: blur(10px); }
.stat b { display: block; font-size: 19px; color: #4ade80; font-weight: 800; font-variant-numeric: tabular-nums; text-shadow: 0 0 12px rgba(74,222,128,.55); }
.stat span { font-size: 11px; color: #dceef7; font-weight: 600; }
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.mod-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 18px; box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s, border-color .12s;
  display: block; color: inherit; position: relative; overflow: hidden;
}
.mod-card::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, var(--brand-soft), transparent 70%); opacity: .6; pointer-events: none;
}
.mod-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); border-color: var(--border-strong); text-decoration: none; }
.mod-card .ic { width: 26px; height: 26px; color: var(--brand); }
.mod-card .ic-wrap { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); border: 1px solid rgba(52,211,153,.28); display: flex; align-items: center; justify-content: center; margin-bottom: 2px; transition: background .15s; }
.mod-card:hover .ic-wrap { background: var(--brand-soft-2); }
.mod-card h3 { margin: 8px 0 6px; font-size: 16px; color: var(--text); }
.mod-card p { margin: 0; font-size: 12.5px; color: var(--text-3); line-height: 1.6; }
.mod-card .st { display: inline-block; margin-top: 10px; font-size: 11.5px; padding: 2px 9px; border-radius: 999px; }
.st-done { background: var(--brand-soft); color: var(--ink-2); border: 1px solid rgba(52,211,153,.3); }
.st-plan { background: var(--surface-2); color: var(--text-3); border: 1px solid var(--border); }
.st-link { background: rgba(34,211,238,.16); color: var(--ink-cyan); border: 1px solid rgba(34,211,238,.3); }

/* ============ 地图区（机制电价模块） ============ */
.map-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin: 0 0 20px; box-shadow: var(--shadow); }
.map-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.map-title h2 { margin: 0; font-size: 19px; color: var(--text); }
.map-layout { display: flex; gap: 18px; align-items: flex-start; }
.map-main { flex: 1 1 auto; min-width: 0; position: relative; }
.map-side { flex: 0 0 300px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 16px 18px; position: sticky; top: 16px; }
.map-side .side-head { font-size: 12.5px; color: var(--text-3); letter-spacing: .3px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.map-side .side-head .lock-txt.on { color: var(--ink); font-weight: 700; font-size: 13px; }
.map-side .side-prov { font-size: 20px; font-weight: 700; color: var(--brand); margin-bottom: 4px; }
.side-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.side-row span { color: var(--text-3); }
.side-row b { color: var(--text); font-variant-numeric: tabular-nums; }
.side-row b small { font-weight: 400; color: var(--text-3); font-size: 12px; }
.side-empty { color: var(--text-3); font-size: 13px; line-height: 1.8; }
@media (max-width: 900px) { .map-layout { flex-direction: column; } .map-side { flex: 1 1 auto; width: 100%; position: static; } }
#mapSvg { width: 100%; height: auto; display: block; }
#mapSvg .prov { stroke: rgba(122,163,214,.45); stroke-width: .8; cursor: pointer; transition: fill .15s, opacity .15s; }
#mapSvg .prov:hover { stroke: var(--brand); stroke-width: 1.6; opacity: .92; }
#mapSvg .prov.sel { stroke: var(--brand); stroke-width: 1.6; }
#mapSvg .prov.locked { stroke: var(--ink); stroke-width: 2.4; opacity: 1; }
#mapSvg .prov.locked:hover { stroke: var(--ink); stroke-width: 2.4; opacity: 1; }
#mapSvg .prov-label { font-size: 9px; fill: var(--text-2); pointer-events: none; }
#mapSvg .south-label { font-size: 10px; fill: var(--text-3); }
#mapSvg .jd { fill: none; stroke: rgba(150,170,200,.4); stroke-width: 1; stroke-dasharray: 4 3; }
#mapTooltip { position: absolute; display: none; background: rgba(8,14,26,.96); color: #fff; border: 1px solid var(--border-strong); border-radius: 8px; padding: 8px 11px; font-size: 13px; pointer-events: none; z-index: 50; box-shadow: var(--shadow-lg); max-width: 230px; }
#mapTooltip b { display: block; font-size: 14px; margin-bottom: 3px; color: var(--neon); }
.legend { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 12px; color: var(--text-3); margin-top: 8px; }
.legend .sw { width: 16px; height: 12px; border-radius: 3px; border: 1px solid rgba(255,255,255,.1); }

/* ============ 数据表 ============ */
.data { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 6px; }
.data th { background: var(--surface-2); text-align: left; padding: 8px 10px; border-bottom: 2px solid var(--border-strong); white-space: nowrap; color: var(--text-2); font-weight: 600; }
.data td { padding: 8px 10px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.data tbody tr:nth-child(even) td { background: rgba(255,255,255,.02); }
.data tr:hover td { background: var(--brand-soft); }
.data .num { text-align: right; font-variant-numeric: tabular-nums; color: var(--text); }
.data a { color: var(--brand); }
@media (max-width: 640px) {
  .data { display: block; overflow-x: auto; width: 100%; }
}

/* ============ 按钮与表单 ============ */
.btn { display: inline-block; background: var(--brand); color: #ffffff; border: 0; border-radius: 8px; padding: 8px 16px; font-size: 14px; cursor: pointer; text-decoration: none; font-weight: 600; transition: background .15s, transform .12s, box-shadow .15s, color .15s; }
.btn:hover { background: #0e8a5d; text-decoration: none; transform: translateY(-1px); box-shadow: 0 0 18px var(--brand-glow); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.btn.ghost { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
.btn.ghost:hover { background: var(--brand-soft); box-shadow: none; }
.btn.small { padding: 4px 10px; font-size: 12px; border-radius: 6px; }
.btn.danger { background: var(--red-600); color: #fff; }
.btn.danger:hover { background: #b91c1c; box-shadow: 0 0 16px rgba(248,113,113,.4); }
.btn.gray { background: var(--slate-400); color: #0b1220; }
.fld { display: flex; flex-direction: column; gap: 4px; margin: 12px 0; }
.fld label { font-size: 13px; color: var(--text-3); }
.fld input, .fld select, .fld textarea { padding: 9px 11px; border: 1px solid var(--border-strong); border-radius: 8px; font-size: 14px; font-family: inherit; background: var(--surface-2); color: var(--text); }
.fld textarea { min-height: 90px; resize: vertical; }
.fld .req { color: var(--red-500); }
.fld input:focus, .fld select:focus, .fld textarea:focus, .fb-row select:focus, .fb-row input:focus, .fb-row textarea:focus, .std-sel:focus, .t-in:focus, .search-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* ============ 后台 ============ */
.admin-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.admin-head h1 { font-size: 20px; margin: 0; color: var(--text); }
.admin-tabs { display: flex; gap: 6px; margin: 0 0 12px; flex-wrap: wrap; }
.admin-tabs a { padding: 7px 14px; border-radius: 8px; font-size: 13px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); text-decoration: none; }
.admin-tabs a:hover { border-color: var(--brand); color: var(--ink); }
.admin-tabs a.on { background: var(--brand); color: #ffffff; border-color: var(--brand); font-weight: 600; box-shadow: 0 0 14px var(--brand-glow); }

/* 后台筛选控件（替代各页内联样式，统一样式 + 焦点态） */
.f-select, .f-input { padding: 7px 10px; border: 1px solid var(--border-strong); border-radius: 8px; font-size: 13.5px; font-family: inherit; background: var(--surface-2); color: var(--text); transition: border-color .12s, box-shadow .12s; }
.f-select:focus, .f-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.f-input { min-width: 180px; }
.f-toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }

/* 表格长文本省略（操作列/长字段列使用） */
.data td .ellip { display: inline-block; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.data td .ellip.wide { max-width: 340px; }

/* 后台列表操作列：编辑/加入清单/删除等按钮单行不换行，收紧单元格内边距 */
.data td.c-op { white-space: nowrap; padding: 8px 6px; }
.data td.c-op form { display: inline-block; margin: 0; }
.data td.c-op .btn.small { padding: 4px 8px; }
/* 后台列表日期列（公布日期/更新/发布日期/开标日期）：禁止换行，等宽数字对齐 */
.data td.c-date, .data th.c-date { white-space: nowrap; font-variant-numeric: tabular-nums; }
.data th.c-date { text-align: center; }
.data td.c-date { text-align: center; color: var(--text); }

/* 空态友好提示 */
.data-empty { text-align: center; padding: 34px 12px !important; color: var(--text-3); font-size: 13.5px; line-height: 1.8; }
.data-empty .empty-ico { font-size: 34px; display: block; margin-bottom: 8px; opacity: .55; }
.demo-banner { background: rgba(251,191,36,.10); border: 1px solid rgba(251,191,36,.3); color: #b45309; border-radius: 8px; padding: 10px 14px; font-size: 13px; margin: 0 0 12px; }
.ok { color: var(--brand); font-weight: 600; }
.bad { color: var(--red-600); font-weight: 600; }
.warn { color: var(--amber-500); font-weight: 600; }

/* ============ 详情页 ============ */
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 14px 0; }
.detail-card { background: var(--brand-soft); border: 1px solid rgba(52,211,153,.25); border-radius: 10px; padding: 14px 16px; }
.detail-card .k { font-size: 12px; color: var(--text-3); }
.detail-card .v { font-size: 22px; font-weight: 700; color: var(--ink); margin-top: 2px; }
.detail-card .v small { font-size: 13px; color: var(--text-3); font-weight: 400; }
.bid-box { background: var(--brand-soft); border: 1px solid rgba(52,211,153,.25); border-radius: 10px; padding: 14px 16px; margin: 12px 0; font-size: 14px; white-space: pre-line; color: var(--text-2); }
.raw { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; font-size: 12px; color: var(--text-2); max-height: 130px; overflow: auto; white-space: pre-wrap; word-break: break-all; }
.confirm-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.confirm-form input { padding: 7px 10px; border: 1px solid var(--border-strong); border-radius: 8px; font-size: 13px; width: 110px; background: var(--surface-2); color: var(--text); }

/* ============ 页脚（深色科技风） ============ */
.site-footer { background: linear-gradient(180deg, #0a1120 0%, #070b14 100%); color: #94a3b8; margin-top: 0px; padding: 32px 0 24px; font-size: 12.5px; border-top: 1px solid rgba(122,163,214,.32); position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--neon), var(--neon-2), transparent); opacity: .6; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.footer-col h4 { color: #fff; font-size: 13.5px; margin: 0 0 10px; }
.footer-col ul { margin: 0; padding: 0; list-style: none; line-height: 1.9; color: #94a3b8; }
.footer-col li::before { content: "· "; color: var(--neon); }
.footer-col a { color: #cbd5e1; }
.footer-col a:hover { color: var(--neon); text-decoration: underline; }
.footer-copy { text-align: center; color: #64748b; margin-top: 22px; font-size: 12px; border-top: 1px solid rgba(122,163,214,.18); padding-top: 16px; }
.footer-copy .footer-icp { color: #64748b; }
.footer-copy a { color: #7aa3d6; text-decoration: none; }
.footer-copy a:hover { color: #a7c6f0; text-decoration: underline; }

/* ============ 新能源政策研究模块 ============ */
.pol-tabs { display: flex; gap: 8px; margin: 0 0 16px; flex-wrap: wrap; }
.pol-tabs button { padding: 9px 20px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); border-radius: 10px; font-size: 14px; cursor: pointer; font-family: inherit; transition: all .15s; }
.pol-tabs button:hover { border-color: var(--brand); color: var(--ink); }
.pol-tabs button.on { background: var(--brand); color: #ffffff; border-color: var(--brand); font-weight: 600; box-shadow: 0 0 14px var(--brand-glow); }
.pol-hint { font-size: 12.5px; color: var(--text-3); margin: 0 0 12px; }
.pol-sec { display: none; }
.pol-sec.on { display: block; }

.pol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
/* 政策研究页专用：一条一行（覆盖 auto-fill 多列），并配序号便于查看 */
.pol-single { grid-template-columns: 1fr; }
.pol-no { display: inline-block; min-width: 26px; margin-right: 9px; padding: 1px 8px; background: var(--brand-soft); color: var(--ink); border: 1px solid rgba(52,211,153,.28); border-radius: 8px; font-size: 12.5px; font-weight: 700; font-family: var(--font-mono); text-align: center; vertical-align: middle; }
.pol-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .12s, box-shadow .12s, border-color .12s; }
.pol-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); border-color: var(--border-strong); }
.pol-card .pc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pol-card h3 { margin: 0; font-size: 15.5px; color: var(--text); line-height: 1.45; }
.pol-card h3 a { color: var(--text); }
.pol-card h3 a:hover { color: var(--brand); text-decoration: underline; }
/* 「查看详情」按钮移至标题前（位于 h3 内）：需压过上方 .pol-card h3 a 的颜色与 hover，
   否则绿底按钮会被染成绿字而不可读 */
.pol-card h3 .btn.small { vertical-align: middle; margin-right: 6px; }
.pol-card h3 .btn.small:hover { color: #ffffff; text-decoration: none; }
.pol-card h3 .pc-title { margin-left: 2px; }
/* 「来源 ↗」移至 pc-meta 内、发布单位之前：用品牌色与其余元信息（继承 text-3）区分 */
.pol-card .pc-meta .pol-src { color: var(--ink); }
.pol-card .pc-meta .pol-src:hover { color: var(--ink-2); text-decoration: underline; }
/* 两个分类 tab 移入大标题（替换原「国家 + 地方」标签）并行内排布；
   .pol-tabs 本体被 search.asp 共用，故用附加类覆盖，不改动原规则 */
.panel h2.pol-h2-tabs { margin-bottom: 16px; }
.pol-tabs-h2 { display: inline-flex; margin: 0 0 0 10px; vertical-align: middle; }
.pol-card .pc-meta { font-size: 12px; color: var(--text-3); margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.pol-card .pc-sum { font-size: 13px; color: var(--text-2); line-height: 1.7; margin: 10px 0 0; flex: 1; }
.pol-card .pc-foot { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.pol-cat { display: inline-block; background: var(--brand-soft); color: var(--ink); border: 1px solid rgba(52,211,153,.3); border-radius: 20px; padding: 1px 10px; font-size: 12px; white-space: nowrap; }
.pol-region { display: inline-block; background: rgba(34,211,238,.16); color: var(--ink-cyan); border: 1px solid rgba(34,211,238,.32); border-radius: 20px; padding: 1px 10px; font-size: 12px; white-space: nowrap; }
.pol-docno { font-size: 12px; color: var(--text-3); }
.pol-src { font-size: 12px; color: var(--text-2); }

/* ============ 规程规范模块 ============ */
.std-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 4px 0 14px; }
.std-search { flex: 1; min-width: 220px; padding: 9px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; font-family: inherit; background: var(--surface-2); color: var(--text); }
.std-search:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.std-pills { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
.std-pill { padding: 6px 14px; border-radius: 20px; font-size: 13px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; font-family: inherit; transition: all .15s; }
.std-pill:hover { border-color: var(--brand); color: var(--ink); }
.std-pill.on { background: var(--brand); color: #ffffff; border-color: var(--brand); font-weight: 600; }
.std-pill .cnt { opacity: .7; margin-left: 4px; font-size: 12px; }

.std-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.std-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0; box-shadow: var(--shadow); display: block; transition: border-color .12s, box-shadow .12s; overflow: hidden; }
.std-card:hover { border-color: var(--brand); box-shadow: var(--shadow-glow); }
.std-card .std-list-link { display: block; padding: 12px 16px; font-size: 15px; color: var(--text); line-height: 1.55; text-decoration: none; transition: background .12s, color .12s; }
.std-card .std-list-link:hover { color: var(--brand); background: var(--brand-soft); text-decoration: underline; }
.std-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.std-no { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--ink); background: var(--brand-soft); border: 1px solid rgba(52,211,153,.28); border-radius: 8px; padding: 3px 9px; white-space: nowrap; }
.std-title { margin: 10px 0 0; font-size: 15.5px; color: var(--text); line-height: 1.5; }
.std-title a { color: inherit; text-decoration: none; }
.std-title a:hover { color: var(--brand); text-decoration: underline; }
.std-meta { font-size: 12px; color: var(--text-3); margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.std-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* 状态徽章 */
.s-badge { display: inline-block; font-size: 12px; border-radius: 20px; padding: 1px 10px; white-space: nowrap; font-weight: 600; }
.s-current { background: rgba(52,211,153,.16); color: var(--ink-2); border: 1px solid rgba(52,211,153,.32); }
.s-repealed { background: rgba(248,113,113,.16); color: #b91c1c; border: 1px solid rgba(248,113,113,.32); }
.s-draft { background: rgba(251,191,36,.14); color: #b45309; border: 1px solid rgba(251,191,36,.32); }
.draft-mark { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 600; color: #b45309; background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.35); border-radius: 4px; padding: 0 5px; }
.draft-chip { background: rgba(251,191,36,.1) !important; color: #b45309 !important; border: 1px solid rgba(251,191,36,.35) !important; }

/* 核验级别徽章 */
.v-badge { display: inline-block; font-size: 11.5px; border-radius: 6px; padding: 1px 8px; white-space: nowrap; }
.v-official { background: var(--brand-soft); color: var(--ink); border: 1px solid rgba(52,211,153,.3); }
.v-platform { background: rgba(34,211,238,.14); color: var(--ink-cyan); border: 1px solid rgba(34,211,238,.3); }
.v-pending { background: rgba(251,191,36,.14); color: #b45309; border: 1px solid rgba(251,191,36,.32); }

/* 详情页 */
.std-detail { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.std-detail h1 { font-size: 21px; color: var(--text); margin: 0 0 4px; line-height: 1.4; }
.std-org { font-size: 13px; color: var(--text-3); margin: 0 0 14px; }
.std-kv { display: grid; grid-template-columns: 96px 1fr; gap: 8px 14px; margin: 14px 0; font-size: 13.5px; }
.std-kv dt { color: var(--text-3); }
.std-kv dd { margin: 0; color: var(--text); line-height: 1.65; }
.std-kv .mono { font-family: var(--font-mono); }
.std-sec { margin: 18px 0 0; }
.std-sec h2 { font-size: 15px; color: var(--ink); border-left: 3px solid var(--brand); padding-left: 10px; margin: 0 0 8px; }
.std-points { font-size: 13.5px; color: var(--text-2); line-height: 1.8; white-space: pre-wrap; background: var(--brand-soft); border: 1px solid rgba(52,211,153,.25); border-radius: 10px; padding: 14px 16px; margin: 0; }
.std-back { display: inline-block; margin: 0 0 14px; color: var(--brand); text-decoration: none; font-size: 14px; }
.std-back:hover { text-decoration: underline; }

/* 技术路线卡片：补充字段 */
.std-sub { font-size: 13px; color: var(--text-3); margin: 4px 0 0; font-style: italic; }
.std-desc { font-size: 12.5px; color: var(--text-3); line-height: 1.65; margin: 10px 0 0; flex: 1; }

/* 成熟度徽章（技术路线） */
.m-badge { display: inline-block; font-size: 11.5px; border-radius: 20px; padding: 1px 10px; white-space: nowrap; font-weight: 600; }
.m-hot   { background: rgba(248,113,113,.16); color: #b91c1c; border: 1px solid rgba(248,113,113,.32); }
.m-scale { background: rgba(52,211,153,.16); color: var(--ink-2); border: 1px solid rgba(52,211,153,.32); }
.m-demo  { background: rgba(34,211,238,.14); color: var(--ink-cyan); border: 1px solid rgba(34,211,238,.3); }
.m-lab   { background: rgba(167,139,250,.16); color: #6d28d9; border: 1px solid rgba(167,139,250,.32); }

/* 详情页双栏对比（优势 / 局限） */
.std-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 12px 0 0; }
.std-card2 { background: var(--brand-soft); border: 1px solid rgba(52,211,153,.25); border-radius: 10px; padding: 14px 16px; }
.std-card2 h3 { margin: 0 0 8px; font-size: 14px; }
.std-card2 h3.good { color: var(--ink-2); }
.std-card2 h3.bad  { color: #b91c1c; }
.std-card2 .std-points { background: var(--surface); border-color: var(--border); }
@media (max-width: 640px) { .std-grid2 { grid-template-columns: 1fr; } }

/* 地图侧：归纳显示区 */
.map-side .pol-summary { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin: 10px 0 14px; }
.map-side .pol-summary .ps-line { font-size: 13px; color: var(--text-2); line-height: 1.7; }
.map-side .pol-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px; }
.map-side .pol-chip { background: var(--brand-soft); border: 1px solid rgba(52,211,153,.28); border-radius: 20px; padding: 2px 10px; font-size: 12px; color: var(--ink); }
.map-side .pol-latest { list-style: none; margin: 8px 0 0; padding: 0; }
.map-side .pol-latest li { font-size: 12.5px; padding: 6px 0; border-bottom: 1px dashed var(--border); line-height: 1.5; }
.map-side .pol-latest li:last-child { border-bottom: none; }
.map-side .pol-latest a { color: var(--ink); }

/* 省份选择网格 */
.prov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 14px 0 4px; }
.prov-btn { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 12px; border: 1px solid var(--border); background: var(--surface); border-radius: 10px; font-size: 13.5px; cursor: pointer; font-family: inherit; color: var(--text-2); transition: all .15s; }
.prov-btn:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--ink); }
.prov-btn.on { border-color: var(--brand); background: var(--brand); color: #ffffff; box-shadow: 0 0 12px var(--brand-glow); }
.prov-btn.on.locked { box-shadow: 0 0 0 3px rgba(52,211,153,.2); }
.prov-btn .cnt { font-size: 12px; background: var(--brand-soft); color: var(--ink); border-radius: 999px; padding: 0 8px; }
.prov-btn.on .cnt { background: rgba(5,46,31,.3); color: #d7f5e3; }

/* 侧栏「查看全部政策」按钮 */
.side-all-btn { width: 100%; margin-top: 14px; text-align: center; }

/* 政策归纳面板：锁定状态 */
.map-side.locked { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.lock-btn {
  flex: 0 0 auto; cursor: pointer; font-family: inherit; font-size: 12px; line-height: 1;
  padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(52,211,153,.4);
  background: var(--surface); color: var(--ink); transition: all .15s;
}
.lock-btn:hover { border-color: var(--brand); background: var(--brand-soft); }
.lock-btn.on { background: var(--brand); border-color: var(--brand); color: #ffffff; }
.lock-btn.on:hover { background: #0e8a5d; }

/* ============ 全部政策弹层（Modal） ============ */
.modal-overlay { position: fixed; inset: 0; background: rgba(5,8,16,.72); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; backdrop-filter: blur(3px); }
.modal-overlay[hidden] { display: none; }
.modal { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); max-width: 880px; width: 100%; max-height: 86vh; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); overflow: hidden; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal-head h3 { margin: 0; font-size: 17px; color: var(--text); }
.modal-close { border: 0; background: var(--surface-2); color: var(--text-2); width: 34px; height: 34px; border-radius: 8px; font-size: 22px; line-height: 1; cursor: pointer; transition: background .15s, color .15s; }
.modal-close:hover { background: var(--red-600); color: #fff; }
.modal-body { padding: 18px 20px; overflow: auto; }
.pol-modal-list { display: grid; grid-template-columns: 1fr; gap: 12px; }

/* 详情页附件 */
.attach-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.attach-item { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; background: var(--surface-2); }
.attach-item .fi-ico { font-size: 20px; }
.attach-item .fi-name { flex: 1; font-size: 13.5px; color: var(--text-2); word-break: break-all; }
.attach-item .fi-size { font-size: 12px; color: var(--text-3); }

/* 后台上传 */
.upzone { border: 1.5px dashed var(--border-strong); border-radius: 12px; padding: 18px; text-align: center; background: var(--surface-2); margin: 6px 0 12px; }
.upzone .up-btn { display: inline-block; background: var(--brand); color: #ffffff; border-radius: 8px; padding: 8px 18px; font-size: 14px; cursor: pointer; font-weight: 600; }
.upzone input[type=file] { display: none; }
.up-note { font-size: 12px; color: var(--text-3); margin-top: 8px; }

/* ===== 规程规范 · 列表视图（分页 50/页） ===== */
.std-sel { padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; font-family: inherit; background: var(--surface-2); color: var(--text); }
.std-result { font-size: 13px; color: var(--text-3); margin: 0 0 12px; }
.std-result b { color: var(--text); }
.std-list { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 13.5px; }
.std-list thead th { background: var(--surface-2); color: var(--text-2); text-align: left; padding: 10px 12px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.std-list tbody td { padding: 9px 12px; border-top: 1px solid var(--border); vertical-align: middle; color: var(--text-2); }
.std-list tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }
.std-list tbody tr:hover { background: var(--brand-soft); }
.std-list .std-name { font-weight: 500; color: var(--text); }
.std-list .std-name a { color: inherit; text-decoration: none; }
.std-list .std-name a:hover { color: var(--brand); text-decoration: underline; }
.std-list .mono { font-family: var(--font-mono); color: var(--text-3); white-space: nowrap; }
.std-list .c-status, .std-list .c-date, .std-list .c-cat, .std-list .c-op, .std-list .c-no { white-space: nowrap; }
.std-list .c-op { text-align: right; }
.std-empty { text-align: center; color: var(--text-3); padding: 28px 0 !important; }
.std-pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 18px 0 4px; }
.std-pager .pg { display: inline-block; min-width: 34px; text-align: center; padding: 6px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; color: var(--text-2); text-decoration: none; transition: all .12s; }
.std-pager .pg:hover { border-color: var(--brand); color: var(--ink); background: var(--brand-soft); }
.std-pager .pg.cur { background: var(--brand); color: #ffffff; border-color: var(--brand); font-weight: 600; }
.std-pager .pg-ell { color: var(--text-3); padding: 0 4px; }
@media (max-width: 640px) { .std-list { display: block; overflow-x: auto; white-space: nowrap; } .std-toolbar { flex-direction: column; align-items: stretch; } .std-toolbar .std-search, .std-toolbar .std-sel { width: 100%; } }

/* ---- 标签 / 用途 / 清单 扩展样式 ---- */
.std-facets { margin: 4px 0 14px; display: flex; flex-direction: column; gap: 8px; }
.facet-group { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.facet-label { font-size: 12.5px; color: var(--text-3); margin-right: 4px; white-space: nowrap; }
.std-pill { display: inline-block; padding: 5px 12px; border-radius: 20px; font-size: 13px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; text-decoration: none; transition: all .15s; }
.std-pill:hover { border-color: var(--brand); color: var(--ink); }
.std-pill.on { background: var(--brand); color: #ffffff; border-color: var(--brand); font-weight: 600; }
.std-pill .cnt { opacity: .65; margin-left: 3px; font-size: 12px; }

.std-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.tag-mini { display: inline-block; padding: 1px 8px; border-radius: 12px; font-size: 11.5px; line-height: 1.7; white-space: nowrap; }
.tag-mini.t-subj { background: rgba(34,211,238,.14); color: var(--ink-cyan); }
.tag-mini.t-purp { background: rgba(251,191,36,.14); color: #b45309; }
.tag-mini.t-list { background: var(--brand-soft); color: var(--ink); text-decoration: none; }
.tag-mini.t-list:hover { background: var(--brand-soft-2); }

/* 后台标签 chips / 清单弹窗 */
.tag-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tag-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border: 1px solid var(--border); border-radius: 18px; font-size: 13px; cursor: pointer; background: var(--surface); color: var(--text-2); transition: all .12s; }
.tag-chip:hover { border-color: var(--brand); }
.tag-chip input { margin: 0; accent-color: var(--brand); }
.tag-chip:has(input:checked) { background: var(--brand-soft); border-color: var(--brand); color: var(--ink); font-weight: 600; }

.chk-popup { display: none; position: fixed; inset: 0; background: rgba(5,8,16,.6); z-index: 50; align-items: center; justify-content: center; padding: 20px; }
.chk-popup-box { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px; padding: 18px 20px; max-width: 640px; width: 100%; max-height: 80vh; overflow: auto; box-shadow: var(--shadow-lg); }
.chk-popup-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.chk-popup-head strong { font-size: 15px; color: var(--text); }
.chk-close { border: 0; background: var(--surface-2); color: var(--text-2); width: 28px; height: 28px; border-radius: 8px; font-size: 18px; cursor: pointer; line-height: 1; }
.chk-popup-foot { margin-top: 14px; text-align: right; }

/* 后台标签 / 清单管理 */
.tag-manage { display: inline-flex; align-items: center; gap: 4px; margin: 0 6px 6px 0; }
.tag-manage .x { border: 0; background: transparent; color: var(--red-600); cursor: pointer; font-size: 15px; padding: 0 4px; }
.list-manage { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--border); }
.lm-info { min-width: 220px; }
.lm-cnt { color: var(--text-3); font-size: 12.5px; margin-left: 6px; }
.lm-acts { display: flex; align-items: center; gap: 6px; }

/* ===== 规程规范 · 清单直接展示块 ===== */
.std-lists-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 6px 0 16px; }
@media (max-width: 900px) { .std-lists-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .std-lists-grid { grid-template-columns: repeat(2, 1fr); } }
.std-card.std-more { border-style: dashed; border-color: rgba(52,211,153,.4); background: var(--brand-soft); }
.std-card.std-more .std-list-link { color: var(--ink); text-align: center; font-weight: 600; }
.std-card.std-more .std-list-link:hover { background: var(--brand-soft-2); }
.std-export-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 6px; }

/* 标签勾选框（分类标签 OR / 用途标签 AND） */
.chk { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--border); background: var(--surface); border-radius: 20px; font-size: 13px; color: var(--text-2); cursor: pointer; transition: all .15s; user-select: none; }
.chk:hover { border-color: var(--brand); color: var(--ink); }
.chk input { margin: 0; width: 15px; height: 15px; accent-color: var(--brand); cursor: pointer; }
.chk .cnt { opacity: .65; font-size: 12px; color: var(--text-3); }
.chk:has(input:checked) { background: var(--brand-soft); border-color: var(--brand); color: var(--ink); font-weight: 600; }
.chk:has(input:checked) .cnt { opacity: .85; color: var(--ink); }

/* 分页跳页输入 */
.jump-form { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); margin-left: 4px; }
.jump-input { width: 72px; padding: 6px 8px; border: 1px solid var(--border-strong); border-radius: 8px; font-size: 13px; text-align: center; font-family: inherit; background: var(--surface-2); color: var(--text); }
.jump-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* 后台列表：批量勾选 */
.c-sel { width: 34px; text-align: center; }
.c-sel input[type=checkbox] { width: 15px; height: 15px; accent-color: var(--brand); cursor: pointer; }
.batch-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; padding: 8px 12px; background: var(--brand-soft); border: 1px solid rgba(52,211,153,.25); border-radius: 10px; }
.batch-bar .chk { padding: 3px 10px; }
.batch-bar button:disabled { opacity: .5; cursor: not-allowed; }

/* 维护工具入口卡片 */
.tool-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tool-link { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .12s, box-shadow .12s, border-color .12s; font-size: 15px; font-weight: 600; color: var(--text); }
.tool-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); border-color: var(--brand); }
.tool-link span { font-size: 12.5px; font-weight: 400; color: var(--text-3); }

/* ===== 后台总览 · 模块卡片（紧凑版：宽屏一排 5 个） ===== */
.dash-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.dash-card { display: flex; flex-direction: column; gap: 3px; padding: 12px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-sm); text-decoration: none; position: relative; transition: transform .12s, box-shadow .12s, border-color .12s; }
.dash-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); border-color: var(--brand); }
.dash-ico { font-size: 20px; line-height: 1; }
.dash-name { font-size: 14px; font-weight: 700; color: var(--text); }
.dash-cnt { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--ink); background: var(--brand-soft); border: 1px solid rgba(52,211,153,.28); border-radius: 7px; padding: 1px 7px; align-self: flex-start; }
.dash-desc { font-size: 11.5px; color: var(--text-3); line-height: 1.45; }
.dash-warn { position: absolute; top: 8px; right: 8px; font-size: 10.5px; font-weight: 700; color: #fff; background: #f59e0b; border-radius: 20px; padding: 2px 8px; box-shadow: 0 0 10px rgba(245,158,11,.45); white-space: nowrap; }
@media (max-width: 1100px) { .dash-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .dash-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px)  { .dash-grid { grid-template-columns: 1fr; } }
.dash-cols { display: grid; grid-template-columns: 320px 1fr; gap: 14px; margin-top: 14px; align-items: start; }
@media (max-width: 900px) { .dash-cols { grid-template-columns: 1fr; } }
.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quick-links a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; font-size: 13.5px; color: var(--text-2); text-decoration: none; transition: all .12s; }
.quick-links a:hover { border-color: var(--brand); color: var(--ink); background: var(--brand-soft); transform: translateY(-1px); box-shadow: 0 2px 8px rgba(14,159,110,.12); }
.quick-links .ql-ico { width: 30px; height: 30px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; background: var(--brand-soft); border: 1px solid rgba(52,211,153,.25); border-radius: 8px; }

/* ===== 机制电价地图 · 省份详情弹层 ===== */
.modal-mask { position: fixed; inset: 0; background: rgba(5,8,16,.7); display: none; align-items: flex-start; justify-content: center; padding: 6vh 16px; z-index: 1000; overflow-y: auto; backdrop-filter: blur(3px); }
.modal-mask.show { display: flex; }
.modal-box { position: relative; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px; max-width: 720px; width: 100%; box-shadow: var(--shadow-lg); padding: 26px 28px; animation: modalIn .18s ease-out; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: none; background: transparent; font-size: 26px; line-height: 1; color: var(--text-3); cursor: pointer; border-radius: 8px; transition: background .12s, color .12s; }
.modal-close:hover { background: var(--surface-2); color: var(--text); }
.modal-loading { color: var(--text-3); padding: 24px 4px; text-align: center; }
.modal-province h2 { margin: 0 0 14px; font-size: 20px; color: var(--text); padding-right: 40px; }
.modal-province p.note { font-size: 13.5px; color: var(--text-3); }

/* ===== 通用筛选条（工程/设备/造价模块） ===== */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 4px 0 14px; }
.cat-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.cat-pills button { padding: 6px 14px; border-radius: 20px; font-size: 13px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; font-family: inherit; transition: all .15s; }
.cat-pills button:hover { border-color: var(--brand); color: var(--ink); }
.cat-pills button.on { background: var(--brand); color: #ffffff; border-color: var(--brand); font-weight: 600; }
.cat-pills button .cnt { opacity: .65; margin-left: 3px; font-size: 11.5px; }
.search-input { flex: 1; min-width: 220px; padding: 9px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; font-family: inherit; background: var(--surface-2); color: var(--text); }
.search-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* ===== 详情键值表（通用） ===== */
table.kv { width: 100%; border-collapse: collapse; margin-top: 14px; }
table.kv th, table.kv td { border: 1px solid var(--border); padding: 9px 12px; font-size: 13.5px; text-align: left; vertical-align: top; }
table.kv th { background: var(--surface-2); color: var(--text-2); width: 110px; font-weight: 600; white-space: nowrap; }
table.kv tbody tr:nth-child(odd) td { background: rgba(255,255,255,.02); }

/* ===== SVG 图标系统 ===== */
.icon { width: 1em; height: 1em; vertical-align: -.12em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* ===== 首页三大新区（高频速查 / 行业指标 / 最新动态） ===== */
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.quick-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.quick-col h3 { margin: 0 0 10px; font-size: 14.5px; color: var(--text); display: flex; align-items: center; justify-content: space-between; }
.quick-col h3 .more { font-size: 12px; color: var(--brand); font-weight: 400; }
table.q-table { font-size: 13px; width: 100%; border-collapse: collapse; }
table.q-table th { padding: 6px 8px; font-size: 12px; color: var(--text-3); text-align: left; border-bottom: 1px solid var(--border); }
table.q-table td { padding: 6px 8px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.std-quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.std-quick-links a { display: block; background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px; padding: 9px 12px; font-size: 13px; color: var(--text-2); transition: all .15s; }
.std-quick-links a:hover { border-color: var(--brand); color: var(--ink); background: var(--brand-soft); text-decoration: none; }
.cost-quick { list-style: none; margin: 0; padding: 0; }
.cost-quick li { display: flex; align-items: baseline; gap: 8px; padding: 7px 2px; border-bottom: 1px dashed var(--border); font-size: 13px; }
.cost-quick li:last-child { border-bottom: none; }
.cost-quick .cq-name { flex: 1; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cost-quick .cq-price { font-family: var(--font-mono); font-weight: 700; color: var(--brand); white-space: nowrap; }
.cost-quick .cq-date { color: var(--text-3); font-size: 11.5px; white-space: nowrap; }

.ind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.ind-card { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: 12px; padding: 16px 10px; text-align: center; }
.ind-card b { display: block; font-size: 27px; color: var(--ink); font-variant-numeric: tabular-nums; text-shadow: 0 0 12px var(--brand-glow); }
.ind-card span { font-size: 12px; color: var(--text-3); }

.feed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
@media (max-width: 900px) { .feed-grid { grid-template-columns: 1fr; } }
.feed-col { min-width: 0; }
.feed-col h3 { margin: 0 0 8px; font-size: 14.5px; color: var(--text); }
.feed-list { list-style: none; margin: 0; padding: 0; }
.feed-list li { display: flex; align-items: baseline; gap: 8px; padding: 6px 2px; border-bottom: 1px dashed var(--border); font-size: 13px; min-width: 0; }
.feed-list li:last-child { border-bottom: none; }
.feed-list a { flex: 1; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.feed-list a:hover { color: var(--brand); }
.feed-list .fd { color: var(--text-3); font-size: 11.5px; white-space: nowrap; }

/* ===== 工具页（换算 / 速查 / 门户） ===== */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.tool-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.tool-card h3 { margin: 0 0 4px; font-size: 15px; color: var(--text); }
.tool-card label { display: flex; align-items: center; gap: 8px; margin: 8px 0; font-size: 13px; color: var(--text-2); }
.t-in { flex: 1; min-width: 90px; padding: 7px 10px; border: 1px solid var(--border-strong); border-radius: 8px; font-size: 14px; font-family: var(--font-mono); background: var(--surface-2); color: var(--text); }
.t-in:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.t-sel { padding: 7px 8px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-family: inherit; background: var(--surface-2); color: var(--text); }
.t-out { margin-top: 10px; padding: 10px 12px; background: var(--brand-soft); border: 1px solid rgba(52,211,153,.25); border-radius: 9px; font-size: 13.5px; color: var(--text-2); }
.t-out b { color: var(--ink); font-family: var(--font-mono); }
.tool-links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.tool-link { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; transition: all .15s; color: inherit; }
.tool-link:hover { border-color: var(--brand); box-shadow: var(--shadow-glow); text-decoration: none; transform: translateY(-1px); }
.tool-link .icon { width: 34px; height: 34px; color: var(--brand); background: var(--brand-soft); border-radius: 10px; padding: 7px; box-sizing: border-box; }
.tool-link b { display: block; font-size: 15px; color: var(--text); }
.tool-link em { display: block; font-style: normal; font-size: 12.5px; color: var(--text-3); margin-top: 3px; }

/* ===== 术语知识卡 ===== */
.terms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.term-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 0; }
.term-card summary { cursor: pointer; padding: 11px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink); list-style: none; position: relative; padding-right: 30px; }
.term-card summary::-webkit-details-marker { display: none; }
.term-card summary::after { content: "＋"; position: absolute; right: 14px; color: var(--brand); font-weight: 400; }
.term-card[open] summary::after { content: "－"; }
.term-card summary:hover { background: var(--brand-soft); }
.term-card p { margin: 0; padding: 0 14px 12px; font-size: 13px; color: var(--text-2); line-height: 1.75; border-top: 1px dashed var(--border); padding-top: 10px; }

/* ===== 相关推荐 ===== */
.rel-list { list-style: none; margin: 0; padding: 0; }
.rel-list li { padding: 6px 2px; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.rel-list li:last-child { border-bottom: none; }
.rel-list a { color: var(--text-2); }
.rel-list a:hover { color: var(--brand); }

/* ===== 信息反馈 ===== */
.fb-form { margin-top: 6px; }
.fb-row { margin-bottom: 16px; }
.fb-row > label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.fb-row .req { color: var(--red-500); }
.fb-row select, .fb-row input[type=text] { width: 100%; max-width: 480px; padding: 9px 12px; border: 1px solid var(--border-strong); border-radius: 9px; font-size: 14px; font-family: inherit; background: var(--surface-2); color: var(--text); }
.fb-row textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 9px; font-size: 14px; font-family: inherit; resize: vertical; background: var(--surface-2); color: var(--text); }
.fb-type { display: flex; gap: 18px; }
.fb-radio { display: flex; align-items: center; gap: 6px; font-weight: 400 !important; cursor: pointer; }
.fb-acts { display: flex; gap: 10px; margin-top: 6px; }
.fb-success { background: var(--brand-soft); border: 1px solid rgba(52,211,153,.3); border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; }
.fb-success b { color: var(--ink); }
.fb-success p { margin: 6px 0 0; font-size: 13px; color: var(--text-2); }
.fb-error { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.32); border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; }
.fb-error b { color: var(--red-600); }
.fb-error p { margin: 6px 0 0; font-size: 13px; color: var(--text-2); }

/* 后台反馈列表 */
.fb-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; color: #ffffff; }
.fb-badge.fb-t-sug { background: var(--brand-2); }
.fb-badge.fb-t-bug { background: var(--red-600); color: #fff; }
.fb-st { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; }
.fb-st-pending { background: rgba(251,191,36,.14); color: #b45309; }
.fb-st-done { background: var(--brand-soft); color: var(--ink); }
.fb-st-closed { background: var(--surface-2); color: var(--text-3); }
.fb-ip { font-size: 10.5px; color: var(--text-3); margin-top: 3px; }
.fb-body { font-size: 13.5px; color: var(--text-2); }
.modal-mask.show { display: flex; }

/* ===== 通用分页条（工程/设备/造价等列表页） ===== */
.pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin-top: 16px; }
.pager .pg { display: inline-block; min-width: 34px; text-align: center; padding: 6px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; color: var(--text-2); text-decoration: none; transition: all .12s; }
.pager .pg:hover { border-color: var(--brand); color: var(--ink); background: var(--brand-soft); }
.pager .pg.cur { background: var(--brand); color: #ffffff; border-color: var(--brand); font-weight: 600; }
.pager .pg-ell { color: var(--text-3); padding: 0 4px; }
.pager .pg-info { font-size: 12.5px; color: var(--text-3); margin-right: 8px; }
/* 海外观察：分页用 button（站点 .pg 原为 <a> 设计），需重置外观与禁用态 */
.pager button.pg { background: var(--surface); cursor: pointer; font-family: inherit; }
.pager button.pg[disabled] { opacity: .45; cursor: default; }
.pager button.pg[disabled]:hover { border-color: var(--border); color: var(--text-2); background: var(--surface); }

/* ===== 键盘可访问性 ===== */
a:focus-visible, .btn:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }

/* 卡片悬停过渡统一 */
.pol-card, .std-card, .mod-card, .tool-link, .dash-card { will-change: transform; }

/* 空状态提示卡片化 */
.note-empty { display: block; text-align: center; padding: 26px 16px; color: var(--text-3); background: var(--surface); border: 1px dashed var(--border-strong); border-radius: 10px; font-size: 13.5px; }

/* 移动端：面板内边距收紧 */
@media (max-width: 640px) { .panel { padding: 16px 14px; } .hero { padding: 24px 18px; } .pol-card { padding: 14px; } .pager { gap: 4px; } .pager .pg { min-width: 30px; padding: 5px 8px; font-size: 12.5px; } }

/* 滚动条美化（WebKit） */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 5px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; background-clip: content-box; }

/* ============================================================
   技术路线模块：三大分类 Tab + 市场占比图表
   ============================================================ */
.tr-tabs { display: flex; gap: 8px; margin: 0 0 20px; flex-wrap: wrap; }
.tr-tab {
  flex: 1 1 auto; min-width: 120px;
  padding: 14px 20px; font-size: 16px; font-weight: 600;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2);
  border-radius: 12px; cursor: pointer; font-family: inherit;
  transition: all .18s; text-align: center; position: relative; overflow: hidden;
}
.tr-tab:hover { border-color: var(--brand); color: var(--ink); background: var(--brand-soft); }
.tr-tab.on { border-color: var(--brand); background: var(--brand); color: #ffffff; box-shadow: 0 0 18px var(--brand-glow); }
.tr-tab .tr-tab-sub { display: block; font-size: 12px; font-weight: 400; margin-top: 3px; opacity: .8; }
.tr-tab.on .tr-tab-sub { opacity: .9; }

.tr-sec { display: none; }
.tr-sec.on { display: block; animation: trFade .25s ease-out; }
@keyframes trFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 20px; }
.tr-stat { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; text-align: center; }
.tr-stat b { display: block; font-size: 24px; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.3; text-shadow: 0 0 10px var(--brand-glow); }
.tr-stat b small { font-size: 13px; color: var(--text-3); font-weight: 400; }
.tr-stat span { font-size: 12px; color: var(--text-3); display: block; margin-top: 2px; }

.tr-chart-area { display: flex; gap: 24px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; margin: 0 0 20px; }
.tr-chart-left { flex: 1 1 auto; min-width: 0; }
.tr-chart-right { flex: 0 0 340px; min-width: 0; }
@media (max-width: 640px) { .tr-chart-area { flex-direction: column; width: 100%; box-sizing: border-box; } .tr-chart-left { width: 100%; min-width: 0; } .tr-chart-right { flex: 1 1 auto; width: 100%; min-width: 0; } }

.tr-chart-title { font-size: 14px; font-weight: 600; color: var(--text); margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.tr-chart-title .tr-year { font-size: 12px; color: var(--text-3); font-weight: 400; }
.tr-bar-row { display: flex; align-items: center; gap: 10px; margin: 7px 0; }
.tr-bar-label { width: 88px; font-size: 13px; color: var(--text-2); text-align: right; flex-shrink: 0; font-weight: 500; }
.tr-bar-track { flex: 1; height: 26px; background: var(--surface-2); border-radius: 6px; overflow: hidden; position: relative; }
.tr-bar-fill { height: 100%; border-radius: 6px; transition: width .6s ease-out; display: flex; align-items: center; justify-content: flex-end; padding-right: 8px; box-shadow: 0 0 12px rgba(52,211,153,.25) inset; }
.tr-bar-fill span { font-size: 12px; font-weight: 700; color: #06281a; text-shadow: 0 1px 2px rgba(255,255,255,.25); }
.tr-bar-trend { width: 72px; font-size: 11.5px; color: var(--text-3); flex-shrink: 0; }
.tr-bar-trend b { color: var(--brand); }
.tr-bar-trend .down { color: var(--red-600); }

/* CSS 圆环图（conic-gradient 内联，.tr-donut 内圈随主题） */
.tr-donut-wrap { display: flex; flex-direction: column; align-items: center; }
.tr-donut { width: 160px; height: 160px; border-radius: 50%; position: relative; box-shadow: 0 2px 16px rgba(0,0,0,.5); }
.tr-donut::after { content: ""; position: absolute; inset: 32px; background: var(--surface); border-radius: 50%; box-shadow: inset 0 1px 6px rgba(0,0,0,.5); }
.tr-donut-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 1; pointer-events: none; }
.tr-donut-label b { font-size: 20px; color: var(--ink); font-weight: 700; }
.tr-donut-label span { font-size: 11px; color: var(--text-3); }
.tr-legend { list-style: none; margin: 14px 0 0; padding: 0; width: 100%; }
.tr-legend li { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); padding: 3px 0; }
.tr-legend .sw { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.tr-legend b { margin-left: auto; color: var(--text); font-variant-numeric: tabular-nums; }

.tr-analysis { background: var(--brand-soft); border: 1px solid rgba(52,211,153,.25); border-left: 4px solid var(--brand); border-radius: 10px; padding: 16px 20px; margin: 0 0 20px; font-size: 13.5px; color: var(--text-2); line-height: 1.85; }
.tr-analysis h3 { margin: 0 0 8px; font-size: 15px; color: var(--ink); }
.tr-analysis .tr-trend-tag { display: inline-block; font-size: 11.5px; padding: 1px 8px; border-radius: 4px; margin-left: 4px; }
.tr-trend-up { background: rgba(52,211,153,.16); color: var(--ink-2); }
.tr-trend-down { background: rgba(248,113,113,.16); color: #b91c1c; }
.tr-trend-flat { background: rgba(148,163,184,.16); color: #cbd5e1; }

.tr-sec .std-toolbar { margin: 4px 0 14px; }
.tr-src-note { font-size: 12px; color: var(--text-dim); margin: 10px 0 0; line-height: 1.7; }

/* 装机数据：纵向柱状图（历年趋势） */
.id-vchart { display: flex; align-items: flex-end; gap: 10px; height: 200px; padding: 28px 6px 0; border-bottom: 2px solid var(--border-strong); position: relative; }
.id-vbar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.id-vbar-fill { width: 100%; max-width: 46px; border-radius: 6px 6px 0 0; transition: height .6s ease-out; position: relative; min-height: 4px; box-shadow: 0 0 14px rgba(52,211,153,.2); }
.id-vbar-fill span { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 11.5px; font-weight: 700; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.id-vbar-label { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }

/* 装机数据：省份排行表 */
.id-prov-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.id-prov-table th { background: var(--surface-2); padding: 8px 12px; text-align: left; font-weight: 600; color: var(--text-2); border-bottom: 2px solid var(--border-strong); font-size: 12px; }
.id-prov-table td { padding: 7px 12px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.id-prov-table .rank { width: 36px; text-align: center; font-weight: 700; color: var(--brand); }
.id-prov-table .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--text); }
.id-prov-bar { width: 100px; height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; display: inline-block; vertical-align: middle; }
.id-prov-bar-fill { height: 100%; border-radius: 4px; box-shadow: 0 0 8px rgba(52,211,153,.3); }

/* 装机数据：双指标对比卡 */
.id-dual-stat { display: flex; gap: 16px; flex-wrap: wrap; }
.id-dual-stat .tr-stat { flex: 1 1 200px; }

/* v31 丰富图表样式 */
.id-compare-chart { display:flex; align-items:flex-end; gap:6px; height:200px; padding:28px 4px 0; border-bottom:2px solid var(--border-strong); position:relative; }
.id-compare-group { flex:1; display:flex; align-items:flex-end; gap:3px; height:100%; justify-content:center; }
.id-compare-bar { width:18px; border-radius:4px 4px 0 0; transition:height .6s ease-out; position:relative; min-height:4px; box-shadow: 0 0 12px rgba(52,211,153,.2); }
.id-compare-bar span { position:absolute; top:-20px; left:50%; transform:translateX(-50%); font-size:10.5px; font-weight:700; color:var(--text); white-space:nowrap; font-variant-numeric:tabular-nums; }
.id-compare-label { font-size:11px; color:var(--text-3); text-align:center; margin-top:5px; font-variant-numeric:tabular-nums; }
.id-compare-legend { display:flex; gap:16px; justify-content:center; margin-top:10px; font-size:12px; color:var(--text-2); }
.id-compare-legend .sw { display:inline-block; width:12px; height:12px; border-radius:3px; margin-right:4px; vertical-align:middle; }

.id-growth-badge { display:inline-flex; align-items:center; gap:3px; font-size:11px; font-weight:700; padding:2px 7px; border-radius:10px; }
.id-growth-badge.up { background:rgba(52,211,153,.16); color: var(--ink-2); }
.id-growth-badge.down { background:rgba(248,113,113,.16); color:#b91c1c; }
.id-growth-badge.flat { background:rgba(148,163,184,.16); color:#64748b; }

.id-cumulative-row { display:flex; align-items:center; gap:8px; margin:4px 0; font-size:12px; color:var(--text-2); }
.id-cumulative-track { flex:1; height:6px; background:var(--surface-2); border-radius:3px; overflow:hidden; }
.id-cumulative-fill { height:100%; border-radius:3px; transition:width .6s ease-out; box-shadow:0 0 8px rgba(52,211,153,.3); }

.tr-eff-row { display:flex; align-items:center; gap:10px; margin:6px 0; }
.tr-eff-label { width:88px; font-size:13px; color:var(--text-2); text-align:right; flex-shrink:0; font-weight:500; }
.tr-eff-track { flex:1; height:22px; background:var(--surface-2); border-radius:5px; overflow:hidden; position:relative; }
.tr-eff-fill { height:100%; border-radius:5px; transition:width .6s ease-out; display:flex; align-items:center; padding-left:8px; box-shadow:0 0 12px rgba(52,211,153,.25) inset; }
.tr-eff-fill span { font-size:11.5px; font-weight:700; color:#06281a; text-shadow:0 1px 2px rgba(255,255,255,.25); }
.tr-eff-trend { width:60px; font-size:11px; color:var(--text-3); flex-shrink:0; font-variant-numeric:tabular-nums; }

.tr-yoy-compare { display:flex; gap:4px; align-items:flex-end; height:100%; }
.tr-yoy-bar { width:14px; border-radius:3px 3px 0 0; min-height:3px; position:relative; transition:height .6s ease-out; box-shadow:0 0 10px rgba(52,211,153,.2); }
.tr-yoy-bar span { position:absolute; top:-18px; left:50%; transform:translateX(-50%); font-size:10px; font-weight:700; white-space:nowrap; font-variant-numeric:tabular-nums; color:var(--text); }

.tr-chart-area + .tr-chart-area { margin-top:20px; }

.tr-update-tag { display:inline-block; font-size:11px; padding:2px 8px; border-radius:4px; background:var(--brand-soft); color: var(--ink); font-weight:600; margin-left:8px; }

/* v32 专业化样式 */
.id-caliber { display:flex; gap:8px; flex-wrap:wrap; padding:10px 14px; background:var(--surface); border:1px solid var(--border); border-radius:8px; font-size:12px; color:var(--text-2); margin:0 0 18px; line-height:1.8; }
.id-caliber b { color:var(--text); }
.id-caliber .cal-tag { flex-shrink:0; font-weight:700; color:var(--brand); }
.id-caliber code { background:var(--surface-2); padding:1px 6px; border-radius:4px; font-size:11px; color:var(--text-2); }

/* 同比增速折线图（SVG） */
.id-line-chart { position:relative; height:170px; padding:10px 4px 24px; }
.id-line-chart svg { width:100%; height:150px; overflow:visible; }
.id-line-chart .grid-line { stroke:var(--border); stroke-width:1; stroke-dasharray:4 4; }
.id-line-chart .axis-line { stroke:var(--border-strong); stroke-width:1.5; }
.id-line-chart .data-line { fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; filter: drop-shadow(0 0 4px var(--brand-glow)); }
.id-line-chart .data-dot { stroke:var(--surface); stroke-width:1.5; }
.id-line-chart .dot-label { font-size:10.5px; font-weight:700; fill:var(--text); text-anchor:middle; }
.id-line-chart .year-label { font-size:11px; fill:var(--text-3); text-anchor:middle; }
/* ===== 海外观察 oversea_v.asp ===== */
.ov-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 14px; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; }
.ov-filter label { font-size: 12.5px; color: var(--text-3); display: inline-flex; align-items: center; gap: 6px; }
.ov-filter select, .ov-filter input { padding: 6px 10px; border: 1px solid var(--border-strong); border-radius: 8px; font-size: 13px; font-family: inherit; background: var(--surface); color: var(--text); }
.ov-filter input { min-width: 230px; }
.ov-filter select:focus, .ov-filter input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.ov-count { margin-left: auto; font-size: 12.5px; color: var(--text-3); }
.ov-count b { color: var(--ink); font-size: 14px; }
.ov-chk { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; user-select: none; }
.ov-chk input { width: auto; min-width: 0; margin: 0; padding: 0; box-shadow: none; }
.ov-mix { display: flex; flex-direction: column; gap: 9px; }
.ov-mix-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.ov-mix-name { width: 66px; flex-shrink: 0; color: var(--text-2); }
.ov-mix-track { flex: 1; height: 14px; background: var(--surface-2); border-radius: 7px; overflow: hidden; }
.ov-mix-track i { display: block; height: 100%; border-radius: 7px; }
.ov-mix-val { width: 122px; flex-shrink: 0; text-align: right; color: var(--text-3); font-variant-numeric: tabular-nums; }
.ov-list { display: flex; flex-direction: column; gap: 10px; }
.ov-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; background: var(--surface); transition: border-color .12s, box-shadow .12s; }
.ov-item:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.ov-top { display: flex; align-items: flex-start; gap: 9px; }
.ov-no { display: inline-block; min-width: 26px; padding: 1px 7px; background: var(--brand-soft); color: var(--ink); border: 1px solid rgba(52,211,153,.28); border-radius: 8px; font-size: 12px; font-weight: 700; text-align: center; font-family: var(--font-mono); flex-shrink: 0; }
.ov-cty { display: inline-block; padding: 1px 9px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 20px; font-size: 12px; color: var(--text-2); white-space: nowrap; flex-shrink: 0; }
.ov-top h3 { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text); flex: 1; min-width: 0; font-weight: 600; }
.ov-dl { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: 11.5px; font-weight: 600; white-space: nowrap; flex-shrink: 0; background: var(--surface-2); color: var(--text-3); }
.ov-dl.hot { background: rgba(248,113,113,.16); color: #b91c1c; }
.ov-dl.warn { background: rgba(245,158,11,.16); color: #b45309; }
.ov-dl.over { background: rgba(148,163,184,.18); color: var(--text-3); }
.ov-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--text-3); margin-top: 7px; }
.ov-tags { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 640px) {
  .ov-top { flex-wrap: wrap; }
  .ov-top h3 { flex: 1 1 100%; order: 3; }
  .ov-mix-val { width: auto; }
  .ov-filter input { min-width: 160px; }
  .ov-count { margin-left: 0; }
}

/* 专业参数对比表 */
.id-spec-table { width:100%; border-collapse:collapse; font-size:13px; }
.id-spec-table th { background:var(--brand-soft); padding:8px 10px; text-align:center; font-weight:700; color: var(--ink); border-bottom:2px solid rgba(52,211,153,.3); font-size:12px; }
.id-spec-table th:first-child { text-align:left; }
.id-spec-table td { padding:7px 10px; border-bottom:1px solid var(--border); color:var(--text-2); text-align:center; }
.id-spec-table td:first-child { text-align:left; font-weight:600; color:var(--text); }
.id-spec-table tr:hover td { background:var(--brand-soft); }
.id-spec-table .cell-hot { color:var(--brand); font-weight:700; }
.id-spec-table .cell-warn { color:var(--red-600); font-weight:600; }

.id-metric-note { font-size:11.5px; color:var(--text-dim); margin:6px 0 0; line-height:1.7; }

/* 趋势标识（页面顶部 KPI 条） */
.id-kpi { display:flex; gap:14px; flex-wrap:wrap; align-items:center; margin:14px 0 4px; padding:10px 14px; background:linear-gradient(90deg,var(--brand-soft),var(--surface)); border:1px solid rgba(52,211,153,.25); border-radius:10px; }
.id-kpi-item { display:flex; flex-direction:column; gap:2px; padding-right:14px; border-right:1px solid var(--border); }
.id-kpi-item:last-child { border-right:0; }
.id-kpi-item b { font-size:18px; color: var(--ink); font-variant-numeric:tabular-nums; line-height:1.2; text-shadow:0 0 10px var(--brand-glow); }
.id-kpi-item b small { font-size:11px; color:var(--text-3); font-weight:400; }
.id-kpi-item span { font-size:11px; color:var(--text-3); }

/* 技术路线成熟度阶段条 */
.tr-maturity { display:flex; gap:6px; margin:0 0 20px; }
.tr-maturity-step { flex:1; padding:10px 8px; border-radius:8px; border:1px solid var(--border); background:var(--surface); text-align:center; }
.tr-maturity-step .m-step-name { font-size:12px; font-weight:700; color:var(--text-3); display:block; }
.tr-maturity-step .m-step-range { font-size:10.5px; color:var(--text-dim); display:block; margin-top:2px; }
.tr-maturity-step .m-tech { font-size:11px; margin-top:6px; padding:2px 4px; border-radius:4px; display:inline-block; line-height:1.5; }
.tr-maturity-step.active { border-color:var(--brand); background:var(--brand-soft); box-shadow:0 0 0 3px var(--brand-soft); }
.tr-maturity-step.active .m-step-name { color: var(--ink); }
.tr-maturity-step.active .m-tech { background:var(--surface); color: var(--ink); font-weight:600; }

/* 技术路线专业参数表 */
.tr-param-table { width:100%; border-collapse:collapse; font-size:12.5px; }
.tr-param-table th { background:var(--surface-2); padding:7px 8px; text-align:center; font-weight:700; color:var(--text-2); border-bottom:2px solid var(--border-strong); font-size:12px; }
.tr-param-table th:first-child { text-align:left; }
.tr-param-table td { padding:6px 8px; border-bottom:1px solid var(--border); color:var(--text-2); text-align:center; line-height:1.6; }
.tr-param-table td:first-child { text-align:left; font-weight:600; color:var(--text); white-space:nowrap; }
.tr-param-table .p-hot { color:var(--brand); font-weight:700; }
.tr-param-table .p-warn { color:var(--red-600); }
.tr-param-table tr:last-child td { border-bottom:0; }
@media (max-width: 640px) {
  .tr-param-table { display: block; overflow-x: auto; width: 100%; }
}

/* 技术路线代表厂商标签 */
.tr-vendors { display:flex; flex-wrap:wrap; gap:6px; margin-top:4px; }
.tr-vendor-tag { font-size:11px; padding:2px 8px; border-radius:12px; background:var(--brand-soft); color: var(--ink); border:1px solid rgba(52,211,153,.28); font-weight:500; }

/* ===== v33 后台管理增强 ===== */
/* 数据量水平条形图（总览页） */
.adm-bar-row { display:flex; align-items:center; gap:10px; margin:7px 0; }
.adm-bar-label { width:90px; font-size:13px; color:var(--text-2); text-align:right; flex-shrink:0; font-weight:500; }
.adm-bar-track { flex:1; height:24px; background:var(--surface-2); border-radius:6px; overflow:hidden; position:relative; }
.adm-bar-fill { height:100%; border-radius:6px; display:flex; align-items:center; justify-content:flex-end; padding-right:8px; transition:width .6s ease-out; box-shadow:0 0 12px rgba(52,211,153,.2); }
.adm-bar-fill span { font-size:12px; font-weight:700; color:#06281a; text-shadow:0 1px 2px rgba(255,255,255,.25); }
.adm-bar-cnt { width:44px; font-size:12px; color:var(--text-3); font-variant-numeric:tabular-nums; flex-shrink:0; }

/* 后台近7日 PV 趋势折线（SVG） */
.adm-trend { position:relative; }
.adm-trend svg { width:100%; height:150px; overflow:visible; }
.adm-trend .grid-line { stroke:var(--border); stroke-width:1; stroke-dasharray:4 4; }
.adm-trend .axis-line { stroke:var(--border-strong); stroke-width:1.5; }
.adm-trend .data-line { fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; filter: drop-shadow(0 0 4px var(--brand-glow)); }
.adm-trend .data-dot { stroke:var(--surface); stroke-width:1.5; }
.adm-trend .dot-label { font-size:10.5px; font-weight:700; fill:var(--text); text-anchor:middle; }
.adm-trend .day-label { font-size:10.5px; fill:var(--text-3); text-anchor:middle; }

/* 日志清理条 */
.adm-clean-bar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:10px 14px; background:var(--surface); border:1px solid var(--border); border-radius:8px; margin:12px 0; font-size:12.5px; color:var(--text-2); }
.adm-clean-bar b { color:var(--red-600); }


/* ============ 设计工具集门户：模块清单网格 ============ */
.tk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.tk-item { display: block; padding: 7px 10px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: 8px; text-decoration: none; color: inherit; transition: all .14s; }
.tk-item:hover { border-color: var(--brand); border-left-color: var(--brand); background: var(--brand-soft); box-shadow: var(--shadow-sm); transform: translateX(2px); text-decoration: none; }
.tk-item b { display: block; font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-item em { display: block; font-style: normal; font-size: 12px; color: var(--text-3); margin-top: 3px; line-height: 1.55; }
/* 门户重点工具：不同颜色醒目标注（集电线路 / 8760h源荷储 / 风光储综合） */
.tk-item.hl-1 { border-left-color:#f97316; background:#fff7ed; }
.tk-item.hl-1 b { color:#c2410c; }
.tk-item.hl-1:hover { background:#ffedd5; border-color:#f97316; }
.tk-item.hl-2 { border-left-color:#0ea5e9; background:#f0f9ff; }
.tk-item.hl-2 b { color:#0369a1; }
.tk-item.hl-2:hover { background:#e0f2fe; border-color:#0ea5e9; }
.tk-item.hl-3 { border-left-color:#8b5cf6; background:#f5f3ff; }
.tk-item.hl-3 b { color:#6d28d9; }
.tk-item.hl-3:hover { background:#ede9fe; border-color:#8b5cf6; }
/* 电网侧独立储能：绿色醒目标注（区别于橙/蓝/紫） */
.tk-item.hl-gridstorage { border-left-color:#0e9f6e; background:#ecfdf5; }
.tk-item.hl-gridstorage b { color:#047857; }
.tk-item.hl-gridstorage:hover { background:#d1fae5; border-color:#0e9f6e; }
.tk-item.hl-terms { border-left-color:#e11d48; background:#fff1f2; }
.tk-item.hl-terms b { color:#9f1239; }
.tk-item.hl-terms:hover { background:#ffe4e6; border-color:#e11d48; }
.tk-item.hl-shortcircuit { border-left-color:#d97706; background:#fffbeb; }
.tk-item.hl-shortcircuit b { color:#b45309; }
.tk-item.hl-shortcircuit:hover { background:#fef3c7; border-color:#d97706; }
.tk-item.hl-dccable { border-left-color:#0d9488; background:#f0fdfa; }
.tk-item.hl-dccable b { color:#0f766e; }
.tk-item.hl-dccable:hover { background:#ccfbf1; border-color:#0d9488; }
/* 站用电计算：玫瑰红（新增工具醒目标注） */
.tk-item.hl-loadstation { border-left-color:#db2777; background:#fdf2f8; }
.tk-item.hl-loadstation b { color:#be185d; }
.tk-item.hl-loadstation:hover { background:#fce7f3; border-color:#db2777; }
/* 接地系统计算：靛蓝（新增工具醒目标注） */
.tk-item.hl-ground { border-left-color:#4f46e5; background:#eef2ff; }
.tk-item.hl-ground b { color:#4338ca; }
.tk-item.hl-ground:hover { background:#e0e7ff; border-color:#4f46e5; }
/* 光伏资源发电量地图（综合与经济首位）：日光金 */
.tk-item.hl-pvmap { border-left-color:#eab308; background:#fefce8; }
.tk-item.hl-pvmap b { color:#a16207; }
.tk-item.hl-pvmap:hover { background:#fef9c3; border-color:#eab308; }

/* 工具集入口（7 大项）：去彩色，灰度浅底 + 纯黑字 */
.tk-item.tk-set { border-left-color:#9aa0a6; background:#f3f4f6; }
.tk-item.tk-set b { color:#000; }
.tk-item.tk-set:hover { background:#e4e6e9; border-color:#9aa0a6; }
@media (max-width: 1100px) { .tk-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 900px) { .tk-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .tk-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .tk-grid { grid-template-columns: repeat(2, 1fr); } }

/* —— 设计工具集总览：我的工具（收藏 / 最近使用） —— */
.tl-my .tl-quick { margin: 2px 0 4px; }
.tl-my .tl-block { margin-bottom: 12px; }
.tl-my .tl-block-title {
  font-size: 13px; font-weight: 700; color: var(--green-600);
  display: flex; align-items: center; gap: 6px; margin-bottom: 8px;
}
.tl-my .tl-block-title .tl-ico { font-size: 14px; }
.tl-my .tl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-my .tl-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--green-600); font-size: 12.5px; font-weight: 500;
  padding: 6px 12px; border-radius: 999px; text-decoration: none;
  box-shadow: var(--shadow-sm); transition: all .14s;
}
.tl-my .tl-chip:hover { border-color: var(--brand); background: var(--brand-soft); transform: translateY(-1px); text-decoration: none; }
.tl-my .tl-chip .tl-x {
  margin-left: 2px; color: var(--slate-400); font-size: 13px; line-height: 1;
  border-radius: 50%; width: 16px; height: 16px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.tl-my .tl-chip .tl-x:hover { background: var(--red-600); color: #fff; }
.tl-my .tl-chip-empty { font-size: 12px; color: var(--slate-400); padding: 2px 0; }

/* ============ 中等屏适配（手机"电脑版/桌面模式"约 768–1100 视口）============
   说明：手机开启"桌面模式"后通常按 980px 左右渲染，比真桌面窄但又不是移动端。
   这里把导航字号/间距缩小；布局与桌面一致：自动换行、两端对齐布满整行；
   hero 保持桌面左右布局，统计卡固定 2 列，避免 auto-fit 造成的不规则换行。 */
@media (max-width: 1100px) {
  /* 导航：紧凑自动换行，宽窄屏均布满整行 */
  .nav-bar {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2px;
    padding-top: 2px;
    padding-bottom: 6px;
  }
  .nav-ext {
    font-size: 11.5px;
    padding: 6px 6px;
    border-radius: 6px;
    white-space: nowrap;
  }
  .nav-ext .icon { width: 10px; height: 10px; margin-right: 3px; }
  .nav-ext::after,
  .nav-ext.active::after { display: none; }
  .nav-ext.active { box-shadow: inset 0 0 0 1px var(--neon); }

  /* 页眉右侧徽章/搜索：强制回到文档流，避免和品牌描述重叠；整体紧凑 */
  .header .header-badges {
    position: static;
    margin-top: 4px;
    gap: 6px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .header .header-badges .badge { font-size: 10.5px; padding: 3px 7px; }
  .header .hd-search input { width: 120px; font-size: 11px; }
  .header .hd-search button { width: 24px; height: 24px; font-size: 12px; }

  /* 首页 Hero：保持桌面左右布局，不再强制竖排；统计卡恢复 2 列固定，避免不规则换行 */
  .hero-grid { flex-direction: row; align-items: center; gap: 18px; }
  .hero-main { flex: 1 1 320px; min-width: 260px; }
  .hero h2 { font-size: 26px; }
  .hero p { font-size: 13px; }
  .hero .hero-stats {
    flex: 0 0 auto;
    grid-template-columns: repeat(2, minmax(90px, 1fr));
    gap: 8px;
  }
  .hero .stat { padding: 7px 9px; }
  .hero .stat b { font-size: 16px; }
  .hero .stat span { font-size: 10px; }

  /* 高频速查：原 auto-fit(minmax 300) 在 ~980 下只放得下 2 列，第 3 个被挤到下一行（2+1 换行）。
     改为固定 3 列一行，允许收缩避免溢出；表格字号略缩、单元格可换行。 */
  .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .quick-col { min-width: 0; }
  .quick-col .q-table { width: 100%; font-size: 11.5px; }
  .quick-col .q-table th, .quick-col .q-table td { padding: 5px 6px; white-space: normal; }
  .std-quick-links { grid-template-columns: 1fr 1fr; gap: 6px; }
  .std-quick-links a { padding: 7px 9px; font-size: 12px; }

  /* footer：原 auto-fit(minmax 260) 在 ~980 下只放 3 列，第 4 个孤行（均匀换行）。改为固定 2×2 均衡。 */
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* 980px 以下的“窄桌面/折叠屏”模式：高频速查 3 列会被压到字都竖排，改为单列阅读 */
@media (max-width: 900px) {
  .quick-grid { grid-template-columns: 1fr; }
}

/* 更窄视口（小平板竖屏或浏览器缩放）footer 也单列 */
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* 用户等级样式 */
.level-registered { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; background: rgba(59,130,246,.2); color: #60a5fa; border: 1px solid rgba(59,130,246,.4); }
.level-member { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; background: rgba(245,158,11,.2); color: #fbbf24; border: 1px solid rgba(245,158,11,.4); }
.level-vip { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; background: rgba(168,85,247,.2); color: #c084fc; border: 1px solid rgba(168,85,247,.4); }

/* 后台用户管理按钮 */
.btn-sm { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 12px; text-decoration: none; border: 1px solid #cbd5e1; background: #f1f5f9; color: #0f172a; transition: all .15s; cursor: pointer; }
.btn-sm:hover { background: #e2e8f0; }
.btn-view { background: rgba(59,130,246,.2); color: #60a5fa; border-color: rgba(59,130,246,.4); }
.btn-view:hover { background: rgba(59,130,246,.3); }
.btn-toggle { background: rgba(245,158,11,.2); color: #fbbf24; border-color: rgba(245,158,11,.4); }
.btn-toggle:hover { background: rgba(245,158,11,.3); }
.btn-delete { background: rgba(239,68,68,.2); color: #f87171; border-color: rgba(239,68,68,.4); }
.btn-delete:hover { background: rgba(239,68,68,.3); }

/* 后台用户管理样式 */
.search-box { margin-bottom: 20px; }
.search-box input { padding: 8px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; background: rgba(255,255,255,.08); color: #fff; font-size: 13px; }
.user-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.user-table th, .user-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.user-table th { background: #f1f5f9; font-weight: 600; color: var(--text); }
.user-table td { color: var(--text); }
.avatar-sm { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: inline-block; vertical-align: middle; }
.avatar-emoji-sm { line-height: 1; overflow: hidden; }
.status-active { color: #34d399; font-weight: 600; }
.status-disabled { color: #f87171; }
.pagination { display: flex; gap: 8px; align-items: center; margin-top: 20px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 6px 12px; border-radius: 6px; text-decoration: none; font-size: 13px; }
.pagination a { background: rgba(255,255,255,.08); color: #d7f5e3; border: 1px solid rgba(255,255,255,.2); }
.pagination a:hover { background: rgba(52,211,153,.2); border-color: #34d399; }
.pagination .current { background: rgba(52,211,153,.3); color: #34d399; border: 1px solid #34d399; }

/* 普通登录/注册导航样式 */
.nav-divider { color: rgba(255,255,255,.3); margin: 0 8px; }
.user-nav-register {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid rgba(52,211,153,.5);
  border-radius: 8px;
  background: rgba(52,211,153,.1);
  color: #34d399;
  font-size: 13px;
  text-decoration: none;
  transition: all .15s;
  margin-left: 8px;
}
.user-nav-register:hover {
  background: rgba(52,211,153,.2);
  border-color: #34d399;
  transform: translateY(-1px);
}

/* 验证码 iframe 样式 */

/* 登录/注册页面样式 */
.page-center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 40px 20px;
}

.auth-card {
  background: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 40px 32px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-header h2 {
  margin: 0 0 8px;
  font-size: 24px;
  color: #1a1a1a;
  font-weight: 600;
}

.auth-header p {
  margin: 0;
  color: rgba(0,0,0,.55);
  font-size: 13px;
}

.auth-body {
  width: 100%;
}

.auth-footer {
  margin-top: 24px;
  text-align: center;
}

.auth-footer .divider {
  color: rgba(0,0,0,.4);
  font-size: 12px;
  margin: 16px 0;
  position: relative;
}

.auth-footer .divider::before,
.auth-footer .divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: rgba(0,0,0,.1);
}

.auth-footer .divider::before { left: 0; }
.auth-footer .divider::after { right: 0; }

.auth-link {
  margin-top: 16px;
  color: rgba(0,0,0,.5);
  font-size: 13px;
}

.auth-link a {
  color: #3b82f6;
  text-decoration: none;
}

.auth-link a:hover {
  text-decoration: underline;
}

/* 表单样式 */
.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: flex;
  gap: 14px;
}

.form-row .form-group {
  flex: 1;
  min-width: 0;
}

.form-group label {
  display: block;
  color: rgba(0,0,0,.7);
  font-size: 13px;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 10px;
  background: #f5f5f5;
  color: #1a1a1a;
  font-size: 15px;
  box-sizing: border-box;
  transition: all .15s;
}

.form-group input:focus {
  outline: none;
  border-color: rgba(52,211,153,.6);
  background: #fff;
}

.form-group input::placeholder {
  color: rgba(0,0,0,.4);
}

.captcha-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.captcha-row input {
  flex: 1;
  max-width: 120px;
  height: 36px;
}

.captcha-img {
  width: 80px;
  height: 30px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,.2);
  overflow: hidden;
}

.captcha-img:hover {
  opacity: .8;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .15s;
}

.btn-primary {
  width: 100%;
  padding: 13px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #34d399, #059669);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(52,211,153,.3);
}

.btn-wx {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(7,193,96,.4);
  border-radius: 10px;
  background: rgba(7,193,96,.08);
  color: #07C160;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  transition: all .15s;
  margin-bottom: 16px;
}

.btn-wx:hover {
  background: rgba(7,193,96,.15);
  border-color: #07C160;
}

/* 错误和成功消息 */
.err-msg {
  color: #dc2626;
  font-size: 13px;
  margin-bottom: 16px;
  padding: 10px 12px;
  background: #fee2e2;
  border: 1px solid #f87171;
  border-radius: 8px;
}

.success-msg {
  color: #16a34a;
  font-size: 13px;
  margin-bottom: 16px;
  padding: 10px 12px;
  background: #dcfce7;
  border: 1px solid #4ade80;
}

.req {
  color: #ef4444;
}

.note {
  color: rgba(0,0,0,.5);
  font-size: 11px;
  margin-top: 4px;
}

/* ============================================================
   v67 增补：可访问性 / 暗色模式 / 移动端导航 / 打印 / 空状态
   ============================================================ */

/* —— 全局焦点可见性 —— */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* —— 顶栏吸顶（滚动后 compact） —— */
.header.stuck { position: fixed; top: 0; left: 0; right: 0; z-index: 900; box-shadow: var(--shadow); animation: headerIn .18s ease; padding: 0; }
/* 悬浮简洁菜单：仅保留导航，其余（Logo/标题/搜索/主题切换/登录注册）全部隐藏 */
.header.stuck .brand-row,
.header.stuck .disclaimer-bar,
.header.stuck .header-badges { display: none; }
.header.stuck .nav-bar { margin-top: 0; padding-top: 7px; padding-bottom: 7px; }
.header.stuck .nav-ext { padding: 6px 10px; font-size: 13px; }
@keyframes headerIn { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.header.stuck + * { margin-top: 0; }

/* —— 回到顶部 —— */
.back-top { position: fixed; right: 18px; bottom: 24px; z-index: 950; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface); color: var(--brand); font-size: 18px; cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-2px); border-color: var(--brand); }

/* —— 暗色模式：变量覆盖（跟随系统 + 手动切换） —— */
html[data-theme="dark"] {
  --bg: #0b1220; --bg-2: #0e1728;
  --surface: #121c2e; --surface-2: #16223a; --surface-3: #1a2842; --surface-hover: #1b2a45;
  --border: #24334e; --border-strong: #33456a; --border-soft: #1c2a44;
  --text: #e6edf7; --text-2: #a8b8cf; --text-3: #6b7d99; --text-dim: #8496b0;
  --brand: #34d399; --brand-2: #38bdf8; --brand-3: #60a5fa;
  --brand-soft: rgba(52,211,153,.12); --brand-soft-2: rgba(52,211,153,.18);
  --brand-glow: rgba(52,211,153,.30); --cyan-soft: rgba(56,189,248,.12); --cyan-glow: rgba(56,189,248,.24);
  --hero-grad: linear-gradient(100deg, #0d2419 0%, #0c2226 48%, #0d1e33 100%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4); --shadow: 0 8px 24px -10px rgba(0,0,0,.55);
  --shadow-glow: 0 0 0 1px rgba(52,211,153,.28), 0 10px 30px -12px rgba(52,211,153,.32);
  --shadow-cyan: 0 0 0 1px rgba(56,189,248,.24), 0 10px 30px -12px rgba(56,189,248,.30);
  --shadow-lg: 0 20px 50px -18px rgba(0,0,0,.65);
  /* 品牌文字色在暗色下翻为亮薄荷/亮青/亮紫，确保深色表面可读 */
  --ink: #5eead4; --ink-2: #6ee7b7; --ink-cyan: #67e8f9; --ink-violet: #c4b5fd; --ink-blue: #93c5fd;
  color-scheme: dark;
  /* 海外观察：截止日徽标在深色表面上需用亮色，否则深红/深黄不可读 */
  .ov-dl.hot { color: #fca5a5; }
  .ov-dl.warn { color: #fcd34d; }
}
/* 后台/用户中心：深青状态色在暗色表面下翻亮，避免"黑字看不清" */
html[data-theme="dark"] .summary-cards .c-calc .card-num,
html[data-theme="dark"] .stat-calc .stat-num { color: var(--ink-cyan); }
html[data-theme="dark"] img { filter: brightness(.92); }
.theme-toggle { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.10); color: #fff; cursor: pointer; font-size: 15px; line-height: 1; transition: all .15s; }
.theme-toggle:hover { background: rgba(255,255,255,.22); transform: rotate(14deg); }

/* —— 移动端导航：不再折叠汉堡，导航自动换行均布满整行（与桌面一致） —— */
.nav-toggle { display: none; }

/* —— 数据表格移动端（≤640px 横向滚动） —— */
@media (max-width: 640px) {
  .data { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .data tr { display: table-row; }
}

/* —— 空状态 —— */
.empty-state { text-align: center; padding: 42px 16px; color: var(--text-3); }
.empty-state .es-ico { font-size: 34px; display: block; margin-bottom: 10px; }
.empty-state .es-hint { font-size: 13px; margin-top: 6px; }

/* —— 打印样式 —— */
@media print {
  .disclaimer-bar, .nav-bar, .nav-toggle, .back-top, .theme-toggle, .hd-search, .user-nav,
  .pager, .toolbar, .btn, footer .footer-links { display: none !important; }
  .header { position: static; box-shadow: none; }
  body { background: #fff; }
  .panel, .pol-card { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
  a[href]:after { content: " (" attr(href) ")"; font-size: 10px; color: #666; }
}

/* —— 最近更新条 —— */
.fresh-line { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin: 10px 0 0;
  font-size: 12.5px; color: var(--text-2); }
.fresh-line .fl-item { display: inline-flex; align-items: center; gap: 5px; }
.fresh-line .fl-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 6px var(--brand-glow); }

/* —— 吸顶时补偿 main 顶部（header.stuck 为 fixed） —— */
.header.stuck ~ .main { padding-top: 44px; }
@media (max-width: 900px) { .header.stuck ~ .main { padding-top: 40px; } }
