/* 锚点跳转留出 header(76) + anchorbar(48) 的高度，否则标题会钻到吸顶条下面 */
html { scroll-behavior: smooth; scroll-padding-top: 132px; }
@media (max-width: 767px) { html { scroll-padding-top: 118px; } }

/* ============================================================
   NDIR 气体分析仪滤光片专题页  /ndir-gas-analyzer-filter
   与 ICD / 血氧仪 / 红外测温枪 / 分光光度计 / 色差仪同一套设计语言（深蓝 + 青色），
   作用域统一挂在 .ndir-page；最后统一由 mobile.css 兜底（mobile.css 必须垫在本文件之后加载）
   ============================================================ */
.ndir-page {
    --head: 76px;
    --navy: #0F1E3D; --navy-2: #16294C; --cyan: #00B4D8; --cyan-dim: rgba(0,180,216,.12);
    --ink: #333333; --ink-2: #5B6472; --line: #E5E9EF; --zebra: #F5F7FA;
    --ok: #2FA96B; --warn: #F2B233; --blue: #2E7DF6; --red: #E4572E;
    --container: 1280px; --sp: 76px; --r-card: 8px; --r-btn: 4px;
    --shadow: 0 6px 18px rgba(6,18,38,.10);
    --font: "Source Han Sans SC","Noto Sans SC","Microsoft YaHei",Inter,Helvetica,"Helvetica Neue",Arial,sans-serif;
}
.ndir-page * { box-sizing: border-box; }
.ndir-page {
    font-family: var(--font); color: var(--ink); background: #fff;
    font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased;
}
.ndir-page img { max-width: 100%; height: auto; display: block; }
.ndir-page picture { display: block; }
.ndir-page a { color: var(--cyan); text-decoration: none; }
.ndir-page h1, .ndir-page h2, .ndir-page h3, .ndir-page h4 {
    margin: 0; font-weight: 600; color: var(--navy-2); line-height: 1.35;
}
.ndir-page p { margin: 0; }
.ndir-page .container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.ndir-page .sec { padding: var(--sp) 0; }
.ndir-page .sec--tint { background: var(--zebra); }
.ndir-page .sec-head { max-width: 860px; margin: 0 auto 34px; text-align: center; }
.ndir-page .sec-head h2 { font-size: 26px; letter-spacing: .2px; }
.ndir-page .sec-head p { margin-top: 12px; color: var(--ink-2); font-size: 15px; line-height: 1.85; }

/* ---------- 按钮 ---------- */
.ndir-page .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 24px; border-radius: var(--r-btn);
    font-size: 15px; font-weight: 600; border: 1px solid transparent; cursor: pointer;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.ndir-page .btn--primary { background: var(--cyan); color: #fff; }
.ndir-page .btn--primary:hover { background: #0097ba; }
.ndir-page .btn--ghost { background: transparent; color: var(--cyan); border-color: var(--cyan); }
.ndir-page .btn--ghost:hover { background: var(--cyan-dim); }
.ndir-page .btn--sm { height: 34px; padding: 0 15px; font-size: 13.5px; }

/* ---------- M1 锚点条 ---------- */
.ndir-page .anchorbar {
    position: sticky; top: var(--head); z-index: 60;
    background: var(--navy); height: 48px; box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.ndir-page .anchorbar__inner {
    max-width: var(--container); margin: 0 auto; padding: 0 32px; height: 48px;
    display: flex; align-items: center; gap: 6px;
}
.ndir-page .anchorbar__list {
    display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0;
    flex: 1; min-width: 0; overflow: hidden;
}
.ndir-page .anchorbar a {
    color: #fff; opacity: .8; font-size: 13.5px; padding: 0 11px; height: 48px;
    display: flex; align-items: center; position: relative; white-space: nowrap;
    transition: opacity .2s ease, color .2s ease;
}
.ndir-page .anchorbar a::after {
    content: ""; position: absolute; left: 11px; right: 11px; bottom: 0; height: 2px;
    background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.ndir-page .anchorbar a:hover { opacity: 1; }
.ndir-page .anchorbar a.is-active { color: var(--cyan); opacity: 1; }
.ndir-page .anchorbar a.is-active::after { transform: scaleX(1); }
.ndir-page .anchorbar__cta { margin-left: auto; flex: none; }
.ndir-page .anchorbar__burger {
    display: none; flex: none; width: 40px; height: 34px; border: 0; background: transparent;
    cursor: pointer; padding: 8px 6px; margin-right: -6px;
}
.ndir-page .anchorbar__burger i { display: block; height: 2px; background: #fff; border-radius: 2px; margin: 4px 0; transition: transform .3s ease; }
.ndir-page .anchorbar.is-open .anchorbar__burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ndir-page .anchorbar.is-open .anchorbar__burger i:nth-child(2) { opacity: 0; }
.ndir-page .anchorbar.is-open .anchorbar__burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- M2 首屏（与 /solutions 共用同一套 banner 机制，单栏） ---------- */
.ndir-page .hero {
    background:
        radial-gradient(1100px 460px at 76% 0%, rgba(0,180,216,.18), transparent 62%),
        linear-gradient(100deg, rgba(7,26,51,.94) 0%, rgba(7,26,51,.86) 40%, rgba(7,26,51,.58) 72%, rgba(7,26,51,.30) 100%),
        var(--hero-bg, url("/static/img/sol/banner.jpg")) 74% center / cover no-repeat,
        #071a33;
    color: #fff; padding: 36px 0 44px;
    min-height: 480px; display: flex; align-items: center;
}
.ndir-page .hero__inner {
    max-width: var(--container); width: 100%; margin: 0 auto; padding: 0 32px; display: grid;
    grid-template-columns: minmax(0, 1fr); gap: 52px; align-items: center;
}
/* ★ common.css 有全局 .crumbs 浅底 → 深蓝首屏上会显示成一条白条，必须显式清掉 */
.ndir-page .crumbs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
    font-size: 12.5px; color: rgba(255,255,255,.55); margin-bottom: 18px;
    background: none; border: 0; padding: 0; height: auto;
}
.ndir-page .crumbs a { color: rgba(255,255,255,.72); }
.ndir-page .crumbs a:hover { color: var(--cyan); }
.ndir-page .crumbs__sep { opacity: .5; }
.ndir-page .crumbs [aria-current] { color: rgba(255,255,255,.9); }
.ndir-page .eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .1em;
    color: var(--cyan); font-weight: 600; margin-bottom: 12px; text-transform: uppercase;
}
.ndir-page .eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--cyan); display: block; }
.ndir-page .hero h1 { color: #fff; font-size: 36px; font-weight: 600; letter-spacing: .3px; }
.ndir-page .hero__sub { margin-top: 16px; color: rgba(255,255,255,.86); font-size: 16.5px; max-width: 46ch; }
.ndir-page .hero__lead { margin-top: 14px; color: rgba(255,255,255,.66); font-size: 14.5px; max-width: 54ch; line-height: 1.85; }
.ndir-page .hero__stats { display: flex; gap: 38px; margin-top: 26px; flex-wrap: wrap; }
.ndir-page .hero__stat b {
    display: block; color: var(--cyan); font-size: 26px; font-weight: 600; line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.ndir-page .hero__stat span { display: block; margin-top: 5px; font-size: 12.5px; color: rgba(255,255,255,.7); max-width: 24ch; }
.ndir-page .hero__actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.ndir-page .hero__text { max-width: 720px; }
.ndir-page .hero__figure { display: none; }

/* 首屏关键词 chips */
.ndir-page .kw-chips {
    list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px;
}
.ndir-page .kw-chip {
    font-size: 12.5px; color: rgba(255,255,255,.86); padding: 5px 12px; border-radius: 999px;
    background: rgba(0,180,216,.12); border: 1px solid rgba(0,180,216,.4); line-height: 1.5;
}

/* ---------- M3 技术定义 ---------- */
.ndir-page .def-body { max-width: 900px; margin: 0 auto; }
.ndir-page .def-body p { font-size: 15.5px; color: var(--ink); line-height: 2; }
.ndir-page .def-body p + p { margin-top: 18px; }
.ndir-page .def-body p:first-child { font-size: 16px; color: var(--navy-2); }
.ndir-page .note-line {
    max-width: 900px; margin: 22px auto 0; display: flex; gap: 9px; align-items: flex-start;
    font-size: 13.5px; color: var(--ink-2); background: var(--cyan-dim);
    border-left: 3px solid var(--cyan); padding: 12px 16px; border-radius: 0 4px 4px 0;
    line-height: 1.8;
}
.ndir-page .note-line svg { flex: none; margin-top: 3px; color: var(--cyan); }

/* ---------- M4 工作原理 ---------- */
.ndir-page .prin-grid {
    display: grid; grid-template-columns: minmax(0,1.34fr) minmax(0,.66fr); gap: 26px; align-items: start;
}
.ndir-page .prin-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ndir-page .prin-step {
    display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 14px; align-items: start;
    background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--cyan);
    border-radius: 0 var(--r-card) var(--r-card) 0; padding: 18px 20px;
}
.ndir-page .prin-step__no {
    font-size: 18px; font-weight: 700; color: var(--cyan); opacity: .55;
    font-variant-numeric: tabular-nums; line-height: 1.6;
}
.ndir-page .prin-step h3 { font-size: 16px; }
.ndir-page .prin-step p { margin-top: 7px; font-size: 14px; color: var(--ink-2); line-height: 1.85; }

/* 吸收公式卡（右栏，深蓝底） */
.ndir-page .formula-card {
    background: linear-gradient(160deg, #0F1E3D 0%, #16294C 100%);
    border-radius: var(--r-card); padding: 24px 22px; color: #fff;
    box-shadow: 0 8px 22px rgba(6,18,38,.14);
}
.ndir-page .formula-card__label {
    font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
    color: rgba(255,255,255,.55); font-weight: 600;
}
.ndir-page .formula-card__eq {
    margin-top: 14px; font-size: 17px; line-height: 1.6; color: #7FD3E8;
    font-family: Consolas, "Courier New", monospace; letter-spacing: .01em;
    word-break: break-word;
}
.ndir-page .formula-card__legend {
    margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14);
    font-size: 12.5px; line-height: 1.9; color: rgba(255,255,255,.78);
}
.ndir-page .formula-card__note {
    margin-top: 14px; font-size: 12.5px; line-height: 1.9; color: rgba(255,255,255,.58);
}

.ndir-page .svg-figure { width: 100%; height: auto; display: block; border-radius: 8px; }
.ndir-page .spec-figure {
    margin: 32px auto 0; max-width: 940px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-card); padding: 12px 12px 0;
}
.ndir-page .spec-figure figcaption {
    padding: 12px 8px 14px; font-size: 12.5px; color: var(--ink-2); text-align: center; line-height: 1.85;
}
.ndir-page .spec-figure .fig-path { display: block; color: var(--navy-2); font-weight: 600; margin-bottom: 5px; }

/* ---------- 通用表格（M5 / M6 / M8 / M10） ---------- */
.ndir-page .tbl-wrap { max-width: 1080px; margin: 0 auto; overflow-x: auto; }
.ndir-page .role-table, .ndir-page .spec-table {
    width: 100%; border-collapse: collapse; background: #fff;
    border: 1px solid var(--line); font-size: 14px;
}
.ndir-page .role-table thead th, .ndir-page .spec-table thead th {
    background: var(--navy); color: #fff; font-weight: 600; text-align: left;
    padding: 13px 18px; font-size: 14px;
}
.ndir-page .role-table tbody th {
    width: 20%; text-align: left; padding: 14px 18px; background: var(--zebra);
    border-top: 1px solid var(--line); font-weight: 600; color: var(--navy-2);
    font-size: 13.5px; vertical-align: top;
}
.ndir-page .role-table tbody td { padding: 14px 18px; border-top: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.ndir-page .role-table--scene tbody th { width: 22%; }
.ndir-page .spec-table tbody th {
    width: 20%; text-align: left; padding: 12px 16px; background: var(--zebra);
    border-top: 1px solid var(--line); font-weight: 600; color: var(--navy-2);
    font-size: 13.5px; vertical-align: top;
}
.ndir-page .spec-table tbody td { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
/* 三列版：定制内容窄一点、技术解释宽一点（★ 只在 ≥768 生效，否则手机上 block 后宽度仍被限死在 18/32/50%） */
@media (min-width: 768px) {
    .ndir-page .spec-table--3 tbody th { width: 18%; }
    .ndir-page .spec-table--3 tbody td:nth-child(2) { width: 32%; }
    .ndir-page .spec-table--3 tbody td:nth-child(3) { width: 50%; }
    /* M6 波段表是四列：类型 / 标称波长 / 应用 / 说明 */
    .ndir-page .spec-table--4 tbody th { width: 22%; }
    .ndir-page .spec-table--4 tbody td:nth-child(2) { width: 20%; white-space: nowrap; }
    .ndir-page .spec-table--4 tbody td:nth-child(3) { width: 20%; }
    .ndir-page .spec-table--4 tbody td:nth-child(4) { width: 38%; }
}
/* 标称波长用等宽数字，纵向对得齐 */
.ndir-page .spec-table .wl { font-variant-numeric: tabular-nums; color: var(--navy-2); font-weight: 600; }

/* ---------- M7 产品方案 ---------- */
.ndir-page .sol-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.ndir-page .sol-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
    padding: 24px 24px 22px; display: flex; flex-direction: column;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.ndir-page .sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--cyan); }
.ndir-page .sol-card__tag {
    display: inline-block; align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
    color: var(--cyan); background: var(--cyan-dim); border-radius: 3px; padding: 3px 9px; margin-bottom: 12px;
}
.ndir-page .sol-card h3 { font-size: 18px; }
.ndir-page .sol-card__desc { margin-top: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.9; }
.ndir-page .sol-card__focus {
    margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--line);
}
.ndir-page .sol-card__focus dt { font-size: 12px; font-weight: 600; color: var(--navy-2); letter-spacing: .04em; }
.ndir-page .sol-card__focus dd { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }

/* ---------- M8 配图（两幅，单列通栏） ----------
   ★ 不要并排两列：SVG viewBox 是 800×340，并排后每幅只剩 ~440px，
     里面的 10.5–11px 标注会缩到 6px 看不见。单列最大 900 让标注保持可读。 */
.ndir-page .fig-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; margin-top: 26px; max-width: 900px; margin-left: auto; margin-right: auto; }
.ndir-page .fig-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 10px 10px 0; }
.ndir-page .fig-card figcaption { padding: 9px 6px 12px; font-size: 12.5px; color: var(--ink-2); line-height: 1.75; }

/* ---------- M9 选型四问 ---------- */
.ndir-page .pick-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.ndir-page .pick-card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
    padding: 24px 24px 22px 24px;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.ndir-page .pick-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--cyan); }
.ndir-page .pick-card__no {
    display: inline-flex; align-items: center; justify-content: center; height: 24px; padding: 0 10px;
    border-radius: 3px; background: var(--cyan-dim); color: var(--cyan);
    font-size: 12px; font-weight: 700; letter-spacing: .06em; margin-bottom: 12px;
}
.ndir-page .pick-card h3 { font-size: 17px; line-height: 1.5; }
.ndir-page .pick-card p { margin-top: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.9; }

/* ---------- M11 定制流程（6 步） ---------- */
.ndir-page .flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px; }
.ndir-page .flow--six { grid-template-columns: repeat(6, minmax(0,1fr)); }
.ndir-page .flow__step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 16px 26px; }
.ndir-page .flow__step::after {
    content: "›"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%);
    color: var(--cyan); font-size: 22px; font-weight: 700; line-height: 1;
}
.ndir-page .flow__step:last-child::after { content: none; }
.ndir-page .flow__no {
    display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
    border-radius: 50%; background: var(--cyan-dim); color: var(--cyan); font-size: 14px; font-weight: 700; margin-bottom: 10px;
}
.ndir-page .flow__step h3 { font-size: 15px; }
.ndir-page .flow__step p { margin-top: 7px; font-size: 12.5px; color: var(--ink-2); line-height: 1.8; }

/* ---------- M12 FAQ ---------- */
.ndir-page .faq { max-width: 900px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: #fff; }
.ndir-page .faq__item + .faq__item { border-top: 1px solid var(--line); }
.ndir-page .faq__q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    background: none; border: 0; padding: 18px 22px; font-family: inherit; font-size: 15.5px;
    font-weight: 600; color: var(--navy-2); text-align: left; cursor: pointer; line-height: 1.6;
}
.ndir-page .faq__q:hover { color: var(--cyan); }
.ndir-page .faq__q i { flex: none; width: 18px; height: 18px; position: relative; }
.ndir-page .faq__q i::before, .ndir-page .faq__q i::after { content: ""; position: absolute; background: var(--cyan); transition: transform .3s ease; }
.ndir-page .faq__q i::before { left: 0; top: 8px; width: 18px; height: 2px; }
.ndir-page .faq__q i::after { left: 8px; top: 0; width: 2px; height: 18px; }
.ndir-page .faq__q[aria-expanded="true"] i::after { transform: rotate(90deg); }
.ndir-page .faq__q[aria-expanded="true"] { color: var(--cyan); }
.ndir-page .faq__a { overflow: hidden; height: 0; transition: height .3s ease; }
.ndir-page .faq__a > div { padding: 0 22px 20px; font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }

/* ---------- M13 相关产品（6 入口，无表单） ---------- */
.ndir-page .related { background: #fff; border-top: 1px solid var(--line); }
.ndir-page .rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; max-width: 980px; margin: 0 auto; }
.ndir-page .rel-card {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: var(--zebra); border: 1px solid var(--line); border-radius: var(--r-card);
    padding: 16px 18px; color: var(--navy-2); font-size: 14px; font-weight: 600; line-height: 1.6;
    transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.ndir-page .rel-card svg { flex: none; color: var(--cyan); transition: transform .25s ease; }
.ndir-page .rel-card:hover { background: #fff; border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.ndir-page .rel-card:hover svg { transform: translateX(3px); }

/* ---------- 入场动画 ---------- */
.ndir-page .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.ndir-page .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .ndir-page * { animation: none !important; transition: none !important; }
    .ndir-page .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   本页专有区块
   M5 双通道：正文 / 三列对比表 / 强调条
   ============================================================ */
.ndir-page .match-body { max-width: 980px; margin: 0 auto; }
.ndir-page .match-body p { font-size: 15px; color: var(--ink); line-height: 2; }
.ndir-page .match-body p + p { margin-top: 15px; }
.ndir-page .match-body--after { margin-top: 22px; }

.ndir-page .tbl-wrap--type { margin-top: 26px; max-width: 980px; }
.ndir-page .role-table--type3 tbody td { color: var(--ink-2); }
.ndir-page .role-table--type3 tbody th { width: 20%; }

.ndir-page .uv-alert {
    max-width: 980px; margin: 22px auto 0;
    display: flex; align-items: flex-start; gap: 10px;
    background: rgba(228,87,46,.06); border: 1px solid rgba(228,87,46,.26);
    border-left: 3px solid #E4572E; border-radius: 0 var(--r-card) var(--r-card) 0;
    padding: 15px 18px;
    font-size: 14px; line-height: 1.85; color: #8A3A1C;
}
.ndir-page .uv-alert svg { flex: 0 0 auto; margin-top: 3px; color: #C0392B; }

/* ---------- 桌面列宽（只在 ≥768 生效，避免堆叠后仍被限死） ---------- */
@media (min-width: 768px) {
    .ndir-page .role-table--type3 tbody th { width: 20%; }
    .ndir-page .role-table--type3 tbody td:nth-child(2) { width: 36%; }
    .ndir-page .role-table--type3 tbody td:nth-child(3) { width: 44%; }
}

/* ============================================================
   响应式：≤1199 收窄栅格，≤767 一律单列（只改字号不降栅格会塌）
   ============================================================ */
@media (max-width: 1199px) {
    .ndir-page .container, .ndir-page .anchorbar__inner, .ndir-page .hero__inner { padding: 0 24px; }
    .ndir-page .hero { padding: 40px 0 48px; }
    .ndir-page .hero h1 { font-size: 30px; }
    .ndir-page .sol-grid { grid-template-columns: minmax(0,1fr); }
    .ndir-page .pick-grid { grid-template-columns: minmax(0,1fr); }
    .ndir-page .fig-grid { grid-template-columns: minmax(0,1fr); }
    .ndir-page .flow, .ndir-page .flow--six { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .ndir-page .flow__step:nth-child(3n)::after { content: none; }
    .ndir-page .rel-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .ndir-page .anchorbar__list { overflow-x: auto; scrollbar-width: none; }
    .ndir-page .anchorbar__list::-webkit-scrollbar { display: none; }
    /* 公式卡在收窄后仍在右栏，字体略小 */
    .ndir-page .formula-card { padding: 20px 18px; }
    .ndir-page .formula-card__eq { font-size: 15px; }
}

@media (max-width: 767px) {
    .ndir-page { --head: 64px; --sp: 48px; font-size: 14.5px; }
    .ndir-page .container, .ndir-page .anchorbar__inner, .ndir-page .hero__inner { padding: 0 16px; }
    .ndir-page .sec-head { margin-bottom: 26px; }
    .ndir-page .sec-head h2 { font-size: 21px; }
    .ndir-page .sec-head p { font-size: 14px; }
    .ndir-page .hero { padding: 28px 0 40px; }
    .ndir-page .hero { background-position: 76% 0, center, 92% center; }
    .ndir-page .hero h1 { font-size: 24px; }
    .ndir-page .hero__sub { font-size: 14.5px; }
    .ndir-page .hero__lead { font-size: 13.5px; }
    .ndir-page .kw-chips { gap: 6px; }
    .ndir-page .kw-chip { font-size: 11.5px; padding: 4px 10px; }
    .ndir-page .hero__stats { gap: 20px; }
    .ndir-page .hero__stat b { font-size: 21px; }
    .ndir-page .hero__actions .btn { flex: 1 1 auto; min-width: 0; }

    /* 锚点条：≤767 收成汉堡下拉 */
    .ndir-page .anchorbar__burger { display: block; }
    .ndir-page .anchorbar__list {
        position: absolute; left: 0; right: 0; top: 48px; background: var(--navy);
        flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0;
        display: none; box-shadow: 0 12px 24px rgba(0,0,0,.28); max-height: 70vh; overflow-y: auto;
    }
    .ndir-page .anchorbar.is-open .anchorbar__list { display: flex; }
    .ndir-page .anchorbar__list a { height: 42px; padding: 0 16px; }
    .ndir-page .anchorbar__list a::after { left: 16px; right: 16px; }
    .ndir-page .anchorbar__cta .btn { height: 30px; padding: 0 12px; font-size: 12.5px; }

    .ndir-page .def-body p { font-size: 14.5px; line-height: 1.95; }
    .ndir-page .def-body p:first-child { font-size: 15px; }

    /* 表格：手机上横滑看不全 → 每行堆叠成卡（首列当小标题） */
    .ndir-page .tbl-wrap { overflow: visible; }
    .ndir-page .role-table, .ndir-page .spec-table { border: 0; background: transparent; }
    .ndir-page .role-table thead, .ndir-page .spec-table thead { display: none; }
    .ndir-page .role-table, .ndir-page .role-table tbody, .ndir-page .role-table tr,
    .ndir-page .role-table th, .ndir-page .role-table td,
    .ndir-page .spec-table, .ndir-page .spec-table tbody, .ndir-page .spec-table tr,
    .ndir-page .spec-table th, .ndir-page .spec-table td { display: block; width: auto; }
    .ndir-page .role-table tbody tr, .ndir-page .spec-table tbody tr {
        background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--cyan);
        border-radius: 0 var(--r-card) var(--r-card) 0; padding: 14px 16px; margin-bottom: 10px;
    }
    .ndir-page .role-table tbody th, .ndir-page .spec-table tbody th {
        width: auto; padding: 0; margin-bottom: 8px; background: transparent; border: 0;
        font-size: 14.5px; color: var(--navy-2);
    }
    .ndir-page .role-table tbody td, .ndir-page .spec-table tbody td {
        padding: 0; border: 0; font-size: 13.5px; line-height: 1.85;
    }
    .ndir-page .role-table tbody td + td, .ndir-page .spec-table tbody td + td {
        margin-top: 7px; padding-top: 7px; border-top: 1px dashed var(--line);
    }
    /* 堆叠后表头没了 → 用 data-th 把列名带到每段前面，否则看不出这段说的是哪一列 */
    .ndir-page .role-table tbody td[data-th]::before,
    .ndir-page .spec-table tbody td[data-th]::before {
        content: attr(data-th); display: block; margin-bottom: 3px;
        font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--cyan); line-height: 1.6;
    }
    /* 手机上次序改成：类型 → 波长 → 应用 → 说明，波长不再 nowrap 挤行 */
    .ndir-page .spec-table .wl { white-space: normal; }

    .ndir-page .prin-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
    .ndir-page .prin-step { grid-template-columns: 34px minmax(0,1fr); gap: 12px; padding: 16px 14px; }
    .ndir-page .prin-step__no { font-size: 16px; }
    .ndir-page .formula-card { padding: 20px 18px; }
    .ndir-page .formula-card__eq { font-size: 15.5px; }
    .ndir-page .pick-card { padding: 18px 18px 16px; }
    .ndir-page .pick-card h3 { font-size: 15.5px; }
    .ndir-page .flow, .ndir-page .flow--six { grid-template-columns: minmax(0,1fr); gap: 12px; }
    .ndir-page .flow__step::after { content: none; }
    .ndir-page .rel-grid { grid-template-columns: minmax(0,1fr); }
    .ndir-page .faq__q { padding: 15px 16px; font-size: 14.5px; }
    .ndir-page .faq__a > div { padding: 0 16px 16px; font-size: 13.5px; }
    .ndir-page .spec-figure, .ndir-page .fig-card { padding: 8px; }
    .ndir-page .spec-figure figcaption { font-size: 12px; padding: 10px 4px 12px; }
    .ndir-page .tbl-wrap--type { margin-top: 18px; }
    .ndir-page .match-body p { font-size: 14.5px; line-height: 1.95; }
    .ndir-page .match-body--after { margin-top: 16px; }
    .ndir-page .uv-alert { padding: 13px 15px; font-size: 13.5px; line-height: 1.8; }
}
