/* ==========================================================
   未燃防爆智库 · 设计系统  site.css
   主题：浅色 / 工业深蓝 + 安全橙
   ========================================================== */

:root {
  /* 品牌 */
  --brand-900: #0A2540;
  --brand-800: #0E2F55;
  --brand-700: #123A6B;
  --brand-600: #1657A8;
  --brand-500: #1E6FD9;
  --brand-400: #4A90E2;
  --brand-100: #E8F1FC;
  --brand-50: #F2F7FE;

  --accent: #F26B21;
  --accent-600: #DA5A14;
  --accent-300: #F9A874;
  --accent-soft: #FFF2E8;

  --amber: #E8A317;
  --amber-soft: #FEF6E4;

  --sea: #0E8C96;
  --sea-deep: #0A6169;
  --sea-soft: #E4F4F5;

  --violet: #6D5AE0;
  --violet-deep: #4B3AAE;
  --violet-soft: #EFECFD;

  /* 中性 */
  --ink-900: #0B1B2B;
  --ink-800: #16283C;
  --ink-700: #263B52;
  --ink-500: #4A6076;
  --ink-400: #6B7F94;
  --ink-300: #97A8B9;
  --ink-200: #C2CEDB;

  --line: #E2E8F0;
  --line-soft: #EDF1F6;
  --bg: #F5F8FC;
  --bg-alt: #EEF3F9;
  --paper: #FFFFFF;

  /* 语义 */
  --ok: #12855B;
  --ok-soft: #E6F6EF;
  --warn: #B4790A;
  --warn-soft: #FEF6E4;
  --danger: #C93B3B;
  --danger-soft: #FDECEC;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-xs: 0 1px 2px rgba(11, 27, 43, .05);
  --shadow-sm: 0 2px 8px rgba(11, 27, 43, .06);
  --shadow: 0 6px 20px rgba(11, 27, 43, .08);
  --shadow-lg: 0 16px 44px rgba(11, 27, 43, .12);

  --container: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, "Courier New", monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-500); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.container-narrow { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 22px; }

/* ---------------- 顶栏 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 26px; height: 66px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 36px; height: 36px; flex-shrink: 0; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.18); object-fit: cover; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-size: 17px; font-weight: 800; color: var(--ink-900); letter-spacing: .3px; }
.logo-sub { font-size: 10.5px; color: var(--ink-300); letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 8px; font-size: 14.5px; font-weight: 600;
  color: var(--ink-500); white-space: nowrap;
}
.nav a:hover { background: var(--brand-50); color: var(--brand-700); }
.nav a.active { color: var(--brand-700); background: var(--brand-100); }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff;
  border-radius: 9px; cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 17px; height: 2px; background: var(--ink-700); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 2px; background: var(--ink-700);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 18px; border-radius: 10px; font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: .18s ease;
  font-family: inherit; line-height: 1.4; white-space: nowrap;
}
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 2px 10px rgba(22, 87, 168, .25); }
.btn-primary:hover { background: var(--brand-700); color: #fff; transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 2px 10px rgba(242, 107, 33, .25); }
.btn-accent:hover { background: var(--accent-600); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink-700); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand-400); color: var(--brand-700); background: var(--brand-50); }
.btn-light { background: rgba(255,255,255,.13); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-light:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-sm { padding: 7px 13px; font-size: 13.5px; border-radius: 8px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------------- 首页 Hero ---------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #0A2540 0%, #123A6B 52%, #1657A8 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 85% 70% at 68% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 68% 30%, #000 30%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; right: -180px; top: -140px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(242,107,33,.28), transparent 62%); pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 76px 0 84px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  font-size: 12.5px; font-weight: 600; color: #D6E6FA; letter-spacing: .4px; margin-bottom: 20px;
}
.hero-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-300); display: block; }
.hero h1 {
  margin: 0 0 18px; font-size: 42px; line-height: 1.24; font-weight: 800; letter-spacing: -.5px;
}
.hero h1 em { font-style: normal; color: var(--accent-300); }
.hero p.lead { margin: 0 0 30px; font-size: 17px; line-height: 1.85; color: #C9DCF3; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: #A9C4E4; }
.hero-points span { display: inline-flex; align-items: center; gap: 6px; }
.hero-points svg { flex-shrink: 0; }

.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg); padding: 24px; backdrop-filter: blur(8px);
}
.hero-card h3 { margin: 0 0 4px; font-size: 16px; color: #fff; font-weight: 700; }
.hero-card .hc-sub { font-size: 12.5px; color: #9FBEE2; margin-bottom: 18px; }
.hc-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 11px; }
.hc-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: #CFE0F4; line-height: 1.6; }
.hc-list b { color: #fff; font-weight: 700; }
.hc-num {
  flex-shrink: 0; width: 21px; height: 21px; border-radius: 6px; margin-top: 1px;
  background: rgba(242,107,33,.22); border: 1px solid rgba(242,107,33,.45);
  color: var(--accent-300); font-size: 11.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.hero-qr {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 14px; border-radius: var(--radius);
  background: rgba(0,0,0,.16); border: 1px solid rgba(255,255,255,.14);
}
.hero-qr img { width: 82px; height: 82px; border-radius: 8px; background: #fff; padding: 4px; flex-shrink: 0; }
.hq-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 7px; }
.hero-qr .hq-t { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 0; }
.hero-qr .hq-d { font-size: 11.6px; color: #9FBEE2; line-height: 1.55; }

/* 双码并排（关于页等浅色卡片内） */
.qr-duo { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 36px; }
.qr-item { flex: 1 1 170px; max-width: 210px; display: flex; flex-direction: column; align-items: center; }
.qr-item img {
  width: 170px; height: 170px; border-radius: 14px; border: 1px solid var(--line);
  padding: 8px; background: #fff; box-sizing: border-box;
}
.qr-item h3 { margin: 16px 0 6px; font-size: 16px; }
.qr-item p { font-size: 13.4px; color: var(--ink-400); line-height: 1.8; margin: 0; }

/* 数据条 */
.hero-stats {
  position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.13);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero-stats div { padding: 20px 24px; border-right: 1px solid rgba(255,255,255,.1); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats b { display: block; font-size: 25px; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.hero-stats span { font-size: 12.5px; color: #9FBEE2; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 76px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.6px;
  color: var(--accent); text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 { margin: 0 0 12px; font-size: 29px; font-weight: 800; color: var(--ink-900); letter-spacing: -.4px; line-height: 1.35; }
.section-head p { margin: 0; font-size: 15.5px; color: var(--ink-400); line-height: 1.8; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; transition: .2s ease; display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--brand-100); }
.card-icon {
  width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-100); color: var(--brand-600); margin-bottom: 15px; flex-shrink: 0;
}
.card-icon.accent { background: var(--accent-soft); color: var(--accent); }
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: var(--ink-900); }
.card p { margin: 0; font-size: 14px; color: var(--ink-400); line-height: 1.75; flex: 1; }
.card .card-foot { margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--brand-600); display: flex; align-items: center; gap: 6px; }
.card .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag {
  font-size: 11.5px; padding: 3px 9px; border-radius: 6px; background: var(--bg-alt);
  color: var(--ink-500); font-weight: 600; border: 1px solid var(--line-soft);
}
.tag.brand { background: var(--brand-100); color: var(--brand-700); border-color: #CFE2F8; }
.tag.accent { background: var(--accent-soft); color: var(--accent-600); border-color: #FBD9C2; }
.tag.violet { background: var(--violet-soft); color: var(--violet-deep); border-color: #DCD6FA; }
a.tag { text-decoration: none; }
a.tag:hover { filter: brightness(.96); }

/* 系列大卡（两支系列） */
.series-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--paper); padding: 28px; display: block;
  transition: .2s ease;
}
.series-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.series-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-700));
}
.series-card.accent::before { background: linear-gradient(180deg, var(--accent), var(--accent-600)); }
.series-card.alt::before { background: linear-gradient(180deg, var(--amber), #9C6F07); }
.series-card.sea::before { background: linear-gradient(180deg, var(--sea), var(--sea-deep)); }
.series-card.violet::before { background: linear-gradient(180deg, var(--violet), var(--violet-deep)); }
.series-card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; color: var(--ink-900); }
.series-card .sc-meta { font-size: 12.5px; color: var(--ink-300); font-weight: 600; letter-spacing: .3px; margin-bottom: 12px; }
.series-card p { margin: 0 0 16px; font-size: 14.2px; color: var(--ink-400); line-height: 1.8; }
.sc-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 7px; }
.sc-list li { font-size: 13.5px; color: var(--ink-500); padding-left: 18px; position: relative; line-height: 1.6; }
.sc-list li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--brand-400);
}
.series-card.accent .sc-list li::before { background: var(--accent-300); }
.series-card.alt .sc-list li::before { background: var(--amber); }
.series-card.sea .sc-list li::before { background: var(--sea); }
.series-card.violet .sc-list li::before { background: var(--violet); }

/* 六字诀 */
.mnemonic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.mn-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 16px; text-align: center; transition: .2s ease;
}
.mn-item:hover { border-color: var(--brand-400); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.mn-char {
  font-size: 27px; font-weight: 800; color: var(--brand-700); letter-spacing: 2px;
  margin-bottom: 9px; font-family: var(--font);
}
.mn-item .mn-t { font-size: 13.5px; font-weight: 700; color: var(--ink-800); margin-bottom: 5px; }
.mn-item .mn-d { font-size: 12px; color: var(--ink-400); line-height: 1.6; }
.mn-item .mn-c { font-size: 11px; color: var(--ink-300); margin-top: 8px; font-family: var(--font-mono); }

/* 步骤 */
.steps { counter-reset: s; display: grid; gap: 16px; }
.step { display: flex; gap: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.step-n {
  counter-increment: s; flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand-100); color: var(--brand-700); font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.step-n::before { content: counter(s, decimal-leading-zero); }
.step h4 { margin: 0 0 5px; font-size: 15.5px; font-weight: 700; color: var(--ink-900); }
.step p { margin: 0; font-size: 13.8px; color: var(--ink-400); line-height: 1.75; }

/* 业务 */
.biz-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.biz-card .biz-tag {
  position: absolute; right: 18px; top: 18px; font-size: 11px; font-weight: 700;
  color: var(--accent-600); background: var(--accent-soft); padding: 3px 9px; border-radius: 6px;
}
.biz-card h3 { margin: 0 0 10px; font-size: 18px; font-weight: 800; color: var(--ink-900); }
.biz-card > p { margin: 0 0 16px; font-size: 14px; color: var(--ink-400); line-height: 1.8; }
.biz-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; flex: 1; }
.biz-list li { font-size: 13.6px; color: var(--ink-500); display: flex; gap: 9px; align-items: flex-start; line-height: 1.65; }
.biz-list svg { flex-shrink: 0; margin-top: 4px; }

/* 公众号引流条 */
.cta-band {
  background: linear-gradient(120deg, #0E2F55 0%, #123A6B 58%, #1A4E8F 100%);
  border-radius: var(--radius-xl); padding: 40px 44px; color: #fff;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -90px; bottom: -120px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(242,107,33,.3), transparent 65%);
}
.cta-band h2 { margin: 0 0 10px; font-size: 25px; font-weight: 800; letter-spacing: -.3px; }
.cta-band p { margin: 0 0 6px; font-size: 14.8px; color: #C4D9F2; line-height: 1.8; max-width: 560px; }
.cta-band .cta-hint { font-size: 12.8px; color: #8FB0D8; }
.cta-qr { position: relative; z-index: 2; text-align: center; }
.cta-qr img { width: 156px; height: 156px; border-radius: 14px; background: #fff; padding: 8px; box-shadow: var(--shadow-lg); }
.cta-qr .qr-label { font-size: 12.5px; color: #C4D9F2; margin-top: 10px; font-weight: 600; letter-spacing: .3px; }

/* ---------------- 内页头部 ---------------- */
.page-hero {
  background: linear-gradient(135deg, #0A2540 0%, #123A6B 100%);
  color: #fff; padding: 54px 0 50px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 70% 90% at 80% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 20%, #000 20%, transparent 75%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin: 0 0 12px; font-size: 32px; font-weight: 800; letter-spacing: -.4px; }
.page-hero p { margin: 0; font-size: 15.5px; color: #C4D9F2; max-width: 720px; line-height: 1.8; }
.breadcrumb { font-size: 13px; color: #8FB0D8; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.breadcrumb a { color: #B7CFEC; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span.sep { color: #5C7EA6; }

/* ---------------- 文档页布局 ---------------- */
.doc-layout {
  display: grid; grid-template-columns: 268px minmax(0, 1fr);
  gap: 42px; align-items: start; padding: 40px 0 80px;
}
.doc-side { position: sticky; top: 86px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 4px; }
.doc-side::-webkit-scrollbar { width: 5px; }
.doc-side::-webkit-scrollbar-thumb { background: var(--ink-200); border-radius: 3px; }
.side-group { margin-bottom: 22px; }
.side-group-title {
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; color: var(--ink-300);
  text-transform: uppercase; padding: 0 10px 8px;
}
.side-link {
  display: block; padding: 7px 11px; border-radius: 8px; font-size: 13.6px; color: var(--ink-500);
  line-height: 1.55; border-left: 2px solid transparent; margin-bottom: 1px;
}
.side-link:hover { background: var(--bg-alt); color: var(--brand-700); }
.side-link.active { background: var(--brand-100); color: var(--brand-700); font-weight: 700; border-left-color: var(--brand-600); }
.side-num { display: inline-block; width: 20px; color: var(--ink-300); font-family: var(--font-mono); font-size: 12px; }
.side-link.active .side-num { color: var(--brand-500); }
.side-link.side-more { color: var(--violet-deep); font-weight: 700; font-size: 13.2px; background: var(--violet-soft); margin-top: 4px; }
.side-link.side-more:hover { background: #E5E0FB; color: var(--violet-deep); }

.doc-main { min-width: 0; }
.doc-article {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 46px 52px; box-shadow: var(--shadow-xs);
}
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12.8px; color: var(--ink-300); margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.doc-meta b { color: var(--ink-500); font-weight: 700; }

/* 文章正文排版 */
.prose { font-size: 16.4px; line-height: 1.92; color: var(--ink-700); }
.prose > *:first-child { margin-top: 0; }
.prose h1 { font-size: 30px; font-weight: 800; color: var(--ink-900); letter-spacing: -.4px; line-height: 1.35; margin: 0 0 22px; }
.prose h2 {
  font-size: 22px; font-weight: 800; color: var(--ink-900); margin: 46px 0 16px;
  padding-left: 15px; border-left: 4px solid var(--accent); line-height: 1.45;
}
.prose h3 { font-size: 18px; font-weight: 700; color: var(--ink-800); margin: 32px 0 12px; }
.prose h4 { font-size: 16px; font-weight: 700; color: var(--ink-800); margin: 24px 0 10px; }
.prose p { margin: 0 0 17px; }
.prose strong { color: var(--ink-900); font-weight: 700; }
.prose em { font-style: normal; color: var(--accent-600); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--brand-500); font-weight: 700; }
.prose hr { border: 0; border-top: 1px dashed var(--line); margin: 40px 0; }
.prose a { color: var(--brand-600); border-bottom: 1px solid #B9D3F0; }
.prose code {
  font-family: var(--font-mono); font-size: .88em; background: var(--bg-alt);
  padding: 2px 6px; border-radius: 5px; color: var(--brand-700); border: 1px solid var(--line-soft);
}
.prose pre { background: #0E2338; color: #D7E5F5; padding: 18px 20px; border-radius: var(--radius); overflow-x: auto; font-size: 13.5px; line-height: 1.7; }
.prose pre code { background: none; border: 0; color: inherit; padding: 0; }

.prose blockquote {
  margin: 0 0 22px; padding: 18px 22px; background: var(--brand-50);
  border-left: 4px solid var(--brand-500); border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-500); font-size: 15.2px; line-height: 1.85;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote strong { color: var(--brand-700); }

/* 标准条款卡片 */
.clause-card {
  margin: 0 0 24px; padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--accent-soft); border-left: 4px solid var(--accent);
  font-size: 15px; line-height: 1.85; color: var(--ink-500);
}
.clause-card .cc-tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: 1px; color: var(--accent-600);
  margin-bottom: 8px;
}
.clause-card p:last-child { margin-bottom: 0; }
.clause-card strong { color: var(--ink-800); }

/* 图示说明（文中图片位的文字化表达：图号 + 画面说明） */
.figure-slot {
  margin: 26px 0; padding: 20px 24px; border: 1px solid var(--line);
  border-left: 3px solid var(--brand-400); border-radius: 0 var(--radius) var(--radius) 0;
  background: linear-gradient(180deg, #FBFDFF, #F5F9FE);
}
.figure-slot figcaption { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 9px; }
.figure-slot .fs-tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; flex: none;
  color: var(--brand-600); background: var(--brand-100); padding: 3px 9px; border-radius: 6px;
}
.figure-slot .fs-title { font-size: 14.5px; font-weight: 700; color: var(--ink-800); }
.figure-slot .fs-desc { font-size: 13.6px; color: var(--ink-400); line-height: 1.8; margin: 0; }

/* 文章真实插图（与图示卡同位置、同图号体系） */
.article-figure { margin: 28px 0; }
.article-figure img {
  display: block; width: 100%; height: auto; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff;
  box-shadow: 0 2px 10px rgba(10, 37, 64, .06);
}
.article-figure figcaption {
  margin-top: 10px; text-align: center;
  font-size: 13.2px; font-weight: 600; color: var(--ink-500); line-height: 1.6;
}

/* 表格 */
.table-wrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.prose table, .data-table { width: 100%; border-collapse: collapse; font-size: 13.8px; background: #fff; }
.prose thead th, .data-table thead th {
  background: var(--bg-alt); color: var(--ink-800); font-weight: 700; text-align: left;
  padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: 13.2px;
}
.prose tbody td, .data-table tbody td { padding: 10px 14px; border-bottom: 1px solid var(--line-soft); color: var(--ink-500); vertical-align: top; }
.prose tbody tr:last-child td, .data-table tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:nth-child(even), .data-table tbody tr:nth-child(even) { background: #FAFCFE; }
.prose tbody td strong, .data-table tbody td strong { color: var(--ink-800); }

/* 上一篇/下一篇 */
.doc-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.doc-nav a {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; transition: .18s ease;
}
.doc-nav a:hover { border-color: var(--brand-400); box-shadow: var(--shadow-sm); }
.doc-nav a.prev { text-align: left; }
.doc-nav .dn-label { font-size: 11.5px; color: var(--ink-300); font-weight: 700; letter-spacing: .6px; margin-bottom: 6px; }
.doc-nav .dn-title { font-size: 14.5px; font-weight: 700; color: var(--ink-800); line-height: 1.5; }
.doc-nav a.next { text-align: right; }

/* 文章底部引流 */
.article-cta {
  margin-top: 30px; padding: 24px 26px; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #F2F7FE, #EAF3FE); border: 1px solid #D6E6F8;
  display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.article-cta .ac-t { font-size: 16.5px; font-weight: 800; color: var(--brand-800); margin-bottom: 6px; }
.article-cta .ac-d { font-size: 13.8px; color: var(--ink-400); line-height: 1.7; max-width: 520px; }
.article-cta img { width: 92px; height: 92px; border-radius: 10px; background: #fff; padding: 5px; border: 1px solid var(--line); }

/* 延伸阅读（深读系列 → 速查篇 / 工具 / 姊妹篇） */
.related-box {
  margin-top: 30px; padding: 22px 26px; border-radius: var(--radius-lg);
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--violet);
}
.related-box .rb-t { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; color: var(--violet-deep); margin-bottom: 14px; }
.related-box .rb-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }
.related-box .rb-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 13.8px; color: var(--ink-600); padding: 11px 14px; border-radius: 9px;
  background: var(--bg-alt); border: 1px solid var(--line-soft); transition: .18s ease;
}
.related-box .rb-list a:hover { background: var(--violet-soft); border-color: #DCD6FA; color: var(--violet-deep); }
.related-box .rb-list a span { color: var(--ink-300); flex: none; }
@media (max-width: 860px) { .related-box .rb-list { grid-template-columns: 1fr; } }

/* 目录（右侧） */
.doc-toc { position: sticky; top: 86px; font-size: 13px; }
.doc-toc .toc-title { font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; color: var(--ink-300); margin-bottom: 12px; }
.doc-toc a { display: block; padding: 5px 0 5px 12px; color: var(--ink-400); border-left: 2px solid var(--line); line-height: 1.55; }
.doc-toc a:hover { color: var(--brand-600); border-left-color: var(--brand-400); }
.doc-toc a.h3 { padding-left: 24px; font-size: 12.4px; }
.doc-toc a.active { color: var(--brand-700); font-weight: 700; border-left-color: var(--brand-600); }
.doc-layout.has-toc { grid-template-columns: 262px minmax(0, 1fr) 210px; }

/* ---------------- 工具页 ---------------- */
.tool-shell { padding: 34px 0 76px; }
.tool-tabs {
  display: flex; flex-wrap: wrap; gap: 7px; padding: 6px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 14px; margin-bottom: 24px;
}
.tool-tabs button {
  flex: 1 1 auto; min-width: 118px; padding: 10px 14px; border: 0; background: transparent;
  border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ink-500); cursor: pointer;
  font-family: inherit; transition: .16s ease; white-space: nowrap;
}
.tool-tabs button:hover { background: var(--bg-alt); color: var(--brand-700); }
.tool-tabs button.active { background: var(--brand-600); color: #fff; box-shadow: 0 2px 8px rgba(22,87,168,.25); }

.tool-panel { display: none; }
.tool-panel.active { display: block; animation: fade .22s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.panel-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 22px; align-items: start; }
.form-card, .result-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;
}
.form-card h3, .result-card h3 {
  margin: 0 0 18px; font-size: 15.5px; font-weight: 700; color: var(--ink-900);
  padding-bottom: 13px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: 8px;
}
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13.2px; font-weight: 600; color: var(--ink-500); margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--ink-300); font-size: 12.2px; }
.field input, .field select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 14.2px; font-family: inherit; color: var(--ink-800); background: #fff; transition: .15s ease;
}
.field input:focus, .field select:focus { outline: 0; border-color: var(--brand-400); box-shadow: 0 0 0 3px rgba(30,111,217,.13); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.form-actions { display: flex; gap: 10px; margin-top: 20px; }

.result-empty { color: var(--ink-300); font-size: 14px; text-align: center; padding: 46px 16px; line-height: 1.8; }
.kv-list { display: grid; gap: 9px; }
.kv {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 11px 14px; background: var(--bg); border-radius: 9px; border: 1px solid var(--line-soft);
}
.kv .k { font-size: 13.4px; color: var(--ink-500); }
.kv .v { font-size: 14.6px; font-weight: 700; color: var(--brand-700); font-family: var(--font-mono); text-align: right; }
.kv.ok { background: var(--ok-soft); border-color: #C6EBDA; }
.kv.ok .v { color: var(--ok); }
.kv.bad { background: var(--danger-soft); border-color: #F6CFCF; }
.kv.bad .v { color: var(--danger); }
.kv.hl { background: var(--brand-100); border-color: #CFE2F8; }

.verdict { padding: 15px 18px; border-radius: var(--radius); font-size: 14.5px; font-weight: 700; margin-bottom: 16px; line-height: 1.7; }
.verdict.ok { background: var(--ok-soft); color: var(--ok); border: 1px solid #C6EBDA; }
.verdict.bad { background: var(--danger-soft); color: var(--danger); border: 1px solid #F6CFCF; }
.verdict.info { background: var(--brand-50); color: var(--brand-700); border: 1px solid #D6E6F8; font-weight: 600; }
.verdict.warn { background: var(--warn-soft); color: var(--warn); border: 1px solid #F2E0B0; font-weight: 600; }
.result-note { margin-top: 16px; font-size: 12.8px; color: var(--ink-400); line-height: 1.75; padding-top: 14px; border-top: 1px dashed var(--line); }
.result-note b { color: var(--ink-500); }

/* 标志解读结果 */
.flag-parts { display: grid; gap: 10px; }
.flag-part {
  display: flex; gap: 14px; align-items: flex-start; padding: 13px 16px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line-soft); border-left: 3px solid var(--brand-500);
}
.flag-part .fp-code {
  flex-shrink: 0; font-family: var(--font-mono); font-size: 15px; font-weight: 700;
  color: var(--brand-700); min-width: 58px;
}
.flag-part .fp-text { font-size: 13.8px; color: var(--ink-500); line-height: 1.72; }
.flag-part.t-ex { border-left-color: var(--ink-300); }
.flag-part.t-proof-type { border-left-color: var(--accent); }
.flag-part.t-category { border-left-color: var(--brand-600); }
.flag-part.t-temperature { border-left-color: var(--amber); }
.flag-part.t-epl { border-left-color: var(--ok); }
.flag-raw {
  font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--ink-900);
  padding: 16px 18px; background: var(--brand-50); border-radius: var(--radius); text-align: center;
  margin-bottom: 18px; letter-spacing: .5px; word-break: break-all; border: 1px dashed #C6DAF2;
}
.example-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.example-chips button {
  padding: 5px 11px; border-radius: 7px; border: 1px solid var(--line); background: #fff;
  font-size: 12.4px; font-family: var(--font-mono); color: var(--ink-500); cursor: pointer; transition: .15s;
}
.example-chips button:hover { border-color: var(--brand-400); color: var(--brand-700); background: var(--brand-50); }

/* 表格查询 */
.table-search { margin-bottom: 16px; }
.table-list { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.table-list button {
  padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff;
  font-size: 12.8px; color: var(--ink-500); cursor: pointer; font-family: inherit; transition: .15s; text-align: left;
}
.table-list button:hover { border-color: var(--brand-400); color: var(--brand-700); }
.table-list button.active { background: var(--brand-100); border-color: var(--brand-400); color: var(--brand-700); font-weight: 700; }
.table-title { font-size: 15.5px; font-weight: 700; color: var(--ink-900); margin-bottom: 6px; }
.table-note { font-size: 12.8px; color: var(--ink-400); line-height: 1.7; margin-bottom: 14px; }
.table-scroll { overflow: auto; max-height: 620px; border: 1px solid var(--line); border-radius: var(--radius); }
.table-scroll table { border-collapse: separate; border-spacing: 0; font-size: 13.2px; width: 100%; }
.table-scroll th {
  position: sticky; top: 0; z-index: 2; background: var(--bg-alt); color: var(--ink-800); font-weight: 700;
  padding: 10px 13px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; font-size: 12.8px;
}
.table-scroll td { padding: 9px 13px; border-bottom: 1px solid var(--line-soft); color: var(--ink-500); white-space: nowrap; }
.table-scroll tbody tr:hover td { background: var(--brand-50); }
.table-scroll tr.hit td { background: #FFF6E8; }

/* 曲线 canvas */
.curve-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-top: 16px; }
.curve-box canvas { width: 100%; height: 260px; display: block; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #0B1F33; color: #93A9C2; padding: 52px 0 26px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.09); }
.site-footer .logo-name { color: #fff; }
.site-footer .logo-sub { color: #6B87A5; }
.footer-desc { font-size: 13.4px; line-height: 1.85; color: #8DA4BE; margin: 14px 0 0; max-width: 330px; }
.footer-col h4 { margin: 0 0 14px; font-size: 13.5px; font-weight: 700; color: #fff; letter-spacing: .4px; }
.footer-col a, .footer-col p { display: block; font-size: 13.2px; color: #8DA4BE; margin: 0 0 9px; line-height: 1.6; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 12.4px; color: #6B87A5; }
.footer-bottom p { margin: 0; line-height: 1.7; max-width: 720px; }
.footer-center { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.footer-center .fb-note { font-size: 12px; color: #54718F; margin-bottom: 12px; }
.footer-center .fb-line { margin: 0 0 7px; color: #7E97B2; }
.footer-center .fb-line a { color: #7E97B2; text-decoration: none; border-bottom: 1px dotted #4A6584; }
.footer-center .fb-line a:hover { color: #C9D8EA; }
.footer-beian { flex-basis: 100%; font-size: 12px; color: #5E7A99; display: flex; gap: 14px; flex-wrap: wrap; }
.footer-beian a { color: #5E7A99; text-decoration: none; border-bottom: 1px dotted #4A6584; }
.footer-beian a:hover { color: #C9D8EA; }
.footer-qr { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.footer-qr img { width: 78px; height: 78px; border-radius: 8px; background: #fff; padding: 4px; }

/* 悬浮公众号条 */
.float-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 12px; display: flex; gap: 12px; align-items: center; max-width: 300px;
  transform: translateY(120%); transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.float-cta.show { transform: none; }
.float-cta img { width: 64px; height: 64px; border-radius: 8px; flex-shrink: 0; }
.float-cta .fc-t { font-size: 13.4px; font-weight: 700; color: var(--ink-900); margin-bottom: 3px; }
.float-cta .fc-d { font-size: 12px; color: var(--ink-400); line-height: 1.5; }
.float-cta .fc-close {
  position: absolute; right: 6px; top: 6px; width: 20px; height: 20px; border: 0; background: var(--bg-alt);
  border-radius: 50%; cursor: pointer; color: var(--ink-400); font-size: 13px; line-height: 1; padding: 0;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .doc-layout.has-toc { grid-template-columns: 240px minmax(0, 1fr); }
  .doc-toc { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 66px; }
  .hero h1 { font-size: 36px; }
  .panel-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .mnemonic { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .header-inner { height: 60px; gap: 14px; }
  .nav {
    position: fixed; left: 0; right: 0; top: 60px; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 18px 18px; gap: 2px;
    box-shadow: var(--shadow); display: none; max-height: calc(100vh - 60px); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 12px; font-size: 15px; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-cta .btn { display: none; }
  .doc-layout, .doc-layout.has-toc { grid-template-columns: 1fr; gap: 22px; }
  .doc-side {
    position: static; max-height: none; background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 16px; overflow: visible;
  }
  .doc-article { padding: 28px 22px; }
  .prose { font-size: 16px; }
  .prose h1 { font-size: 25px; }
  .prose h2 { font-size: 20px; margin-top: 36px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats div:nth-child(2) { border-right: 0; }
  .hero-stats div { border-bottom: 1px solid rgba(255,255,255,.1); }
  .section { padding: 54px 0; }
  .section-head h2 { font-size: 24px; }
  .cta-band { grid-template-columns: 1fr; padding: 30px 24px; gap: 26px; text-align: center; }
  .cta-qr img { width: 136px; height: 136px; }
  .doc-nav { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .page-hero h1 { font-size: 25px; }
  .mnemonic { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .float-cta { display: none; }
  .article-cta { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 26px; }
  .hero-points { gap: 6px 14px; font-size: 12.6px; }
  .container { padding: 0 16px; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .tool-tabs button { min-width: 100%; }
  .section { padding: 42px 0; }
  .doc-article { padding: 24px 16px; }
  .doc-side { padding: 14px; }
  .hero-card { padding: 18px 15px; }
  .hero-qr { padding: 12px 10px; gap: 10px; }
  .hero-qr img { width: 74px; height: 74px; }
  .mnemonic { grid-template-columns: 1fr; }
  .qr-duo { gap: 24px 20px; }
  .qr-item img { width: 150px; height: 150px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .page-hero { padding-top: 30px; }
}

/* ============================ 公众号文章（导入内容） ============================ */
.wx-article .prose p { margin: 0 0 1.1em; }
.wx-article .prose img.wx-img {
  display: block; max-width: 100%; height: auto; margin: 22px auto;
  border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.wx-article .prose p > img.wx-img:only-child { margin: 24px auto; }
.wx-article .prose h2 { margin-top: 34px; }
.wx-article .prose h3 { margin-top: 28px; }
.wx-article .prose strong { color: var(--ink-900); }
.wx-article .prose a { color: var(--brand-600); word-break: break-all; }
.wx-article .prose ul, .wx-article .prose ol { margin: 0 0 1.1em 1.4em; }
.wx-article .prose li { margin-bottom: .45em; }
.wx-article .prose blockquote { border-left: 3px solid var(--brand-400); background: var(--brand-50); padding: 12px 18px; margin: 20px 0; border-radius: 0 10px 10px 0; }

/* 列表页行卡片 */
.wx-row { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; }
.wx-row-date { flex-shrink: 0; width: 74px; font-family: var(--font-mono); font-size: 12.6px; font-weight: 700; color: var(--brand-600); padding-top: 3px; letter-spacing: -.3px; }
.wx-row-main { min-width: 0; flex: 1; }
.wx-row-main h3 { margin-bottom: 6px; }
.wx-row-main p { font-size: 13.4px; margin: 0; }
.wx-row .card-foot { flex-shrink: 0; align-self: center; margin-top: 0; }
a.tag { text-decoration: none; transition: all .18s ease; }
a.tag:hover { border-color: var(--brand-400); color: var(--brand-700); background: var(--brand-50); }
@media (max-width: 520px) {
  .wx-row { flex-wrap: wrap; }
  .wx-row-date { width: auto; }
}

/* ============================ 隔爆外壳 “d” 参数查询 ============================ */
.fp-card { padding: 28px 30px; margin-bottom: 24px; }
.fp-head h2 { font-size: 21px; font-weight: 800; color: var(--ink-900); margin: 0 0 8px; letter-spacing: -.3px; }
.fp-head p { font-size: 14px; color: var(--ink-500); line-height: 1.8; margin: 0 0 20px; }
.fp-classes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.fp-cls { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-size: 14.4px; font-weight: 700; color: var(--ink-700); transition: all .18s ease; }
.fp-cls span { font-size: 11.6px; font-weight: 500; color: var(--ink-400); }
.fp-cls:hover { border-color: var(--brand-400); }
.fp-cls.active { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.fp-cls.active span { color: rgba(255,255,255,.75); }
.fp-query { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin-bottom: 18px; }
.fp-query .field { display: flex; flex-direction: column; gap: 6px; min-width: 172px; }
.fp-query label { font-size: 12.6px; font-weight: 700; color: var(--ink-500); }
.fp-query select { height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 14px; color: var(--ink-800); font-family: inherit; }
.fp-query select:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 3px rgba(30,111,217,.12); }
.fp-result { padding: 16px 20px; border-radius: 12px; background: var(--brand-50); border: 1px solid #DCE9F8; color: var(--ink-600); font-size: 14.4px; line-height: 1.85; margin-bottom: 22px; }
.fp-result.ok { background: #EFFAF3; border-color: #C7EBD5; color: #1F6B41; }
.fp-result.warn { background: #FFF8EF; border-color: #FBD9C2; color: #9A4E12; }
.fp-big { font-size: 19px; }
.fp-src { display: inline-block; margin-left: 10px; font-size: 12px; color: var(--ink-400); font-weight: 500; }
.fp-sub { margin-top: 8px; font-size: 13.2px; color: inherit; opacity: .88; line-height: 1.8; }
.fp-pane { display: none; }
.fp-pane.active { display: block; }
.fp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.fp-tab { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13.4px; font-weight: 600; color: var(--ink-600); cursor: pointer; transition: all .18s ease; font-family: inherit; }
.fp-tab:hover { border-color: var(--brand-400); color: var(--brand-700); }
.fp-tab.active { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.fp-grp-pane { display: none; }
.fp-grp-pane.active { display: block; }
.fp-h4 { font-size: 15.6px; font-weight: 800; color: var(--ink-800); margin: 26px 0 12px; }
.fp-h4:first-child { margin-top: 0; }
.fp-sec { margin-bottom: 6px; }
.fp-table-block { margin-bottom: 18px; }
.fp-cap { font-size: 13.4px; font-weight: 700; color: var(--brand-700); margin-bottom: 8px; }
.fp-note { font-size: 13px; color: var(--ink-500); line-height: 1.8; margin: 10px 0 0; }
.fp-list { margin: 8px 0 0 1.2em; font-size: 13.8px; line-height: 1.9; color: var(--ink-600); }
.fp-list li { margin-bottom: 5px; }
.data-table .hl-row { background: #FBFDFF; }
.data-table .fp-t { color: var(--brand-700); font-weight: 600; }
@media (max-width: 520px) {
  .fp-card { padding: 22px 18px; }
  .fp-query .field { min-width: 100%; }
}

@media print {
  .site-header, .site-footer, .float-cta, .doc-side, .doc-toc, .article-cta, .doc-nav { display: none; }
  .doc-layout, .doc-layout.has-toc { grid-template-columns: 1fr; }
  .doc-article { border: 0; padding: 0; box-shadow: none; }
}
