﻿/* ============================================================
   产品质量追溯查询  /quality-trace
   纯静态 + jQuery，适配 PC / 手机 / PDA；打印生成溯源凭证
   ============================================================ */

.qt-page {
  --qt-navy: #0b1436;
  --qt-navy-2: #182a6a;
  --qt-primary: #2744a8;
  --qt-primary-600: #2744a8;
  --qt-primary-50: #eff4ff;
  --qt-accent: #ff9117;
  --qt-accent-600: #f07207;
  --qt-ink: #0f172a;
  --qt-ink-2: #334155;
  --qt-muted: #64748b;
  --qt-line: #e5eaf3;
  --qt-bg: #f5f7fb;
  --qt-ok: #12805c;
  --qt-warn: #b45309;
  --qt-radius: 14px;
  --qt-shadow: 0 18px 44px -22px rgba(15, 32, 78, .28);
  background: #fff;
  color: var(--qt-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.qt-page *,
.qt-page *::before,
.qt-page *::after { box-sizing: border-box; }

.qt-container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .qt-container { padding: 0 24px; } }

/* ---------- 站点头部（本页专用：常驻深色，滚动加深） ---------- */
header.qt-header {
  background: linear-gradient(to bottom, rgba(9, 15, 38, .62), rgba(9, 15, 38, 0));
  transition: background .35s ease, box-shadow .35s ease;
}
header.qt-header::before { display: none; } /* 关闭 compat.css 的通用遮罩 */
header.qt-header.qt-scrolled {
  background: rgba(10, 18, 45, .97);
  box-shadow: 0 12px 34px -20px rgba(0, 0, 0, .75);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
/* 移动端抽屉 */
header.qt-header .qt-drawer-open { max-height: calc(100vh - 76px) !important; opacity: 1 !important; overflow-y: auto !important; }
header.qt-header .qt-acc-open { max-height: 620px !important; opacity: 1 !important; }
header.qt-header button[aria-label="菜单"] .qt-bar-1 { transform: translateY(8px) rotate(45deg); }
header.qt-header button[aria-label="菜单"] .qt-bar-2 { opacity: 0; }
header.qt-header button[aria-label="菜单"] .qt-bar-3 { width: 100% !important; transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.qt-hero {
  position: relative;
  background: linear-gradient(135deg, #0a1330 0%, #182a6a 52%, #2744a8 100%);
  color: #fff;
  padding: 104px 0 132px;
  overflow: hidden;
}
.qt-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: 44px 44px;
  mask-image: radial-gradient(120% 90% at 20% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(120% 90% at 20% 0%, #000 40%, transparent 100%);
}
.qt-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 145, 23, .22), transparent 68%);
}
.qt-hero .qt-container { position: relative; z-index: 1; }
.qt-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .62); margin-bottom: 22px; }
.qt-crumb a { color: inherit; text-decoration: none; }
.qt-crumb a:hover { color: #fff; }
.qt-crumb .qt-sep { opacity: .45; }
.qt-crumb .qt-cur { color: #fff; }
.qt-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(26px, 4.2vw, 40px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.01em;
}
.qt-hero__sub { margin: 0; max-width: 620px; font-size: clamp(14px, 1.6vw, 16px); line-height: 1.75; color: rgba(255, 255, 255, .78); }
.qt-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.qt-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  font-size: 12px; letter-spacing: .02em;
  color: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .07);
}
.qt-chip svg { width: 13px; height: 13px; opacity: .8; }

/* ---------- 查询卡 ---------- */
.qt-query { margin-top: -84px; position: relative; z-index: 3; }
.qt-card {
  background: #fff;
  border: 1px solid var(--qt-line);
  border-radius: var(--qt-radius);
  box-shadow: var(--qt-shadow);
}
.qt-query__card { padding: 22px; }
@media (min-width: 768px) { .qt-query__card { padding: 26px 28px; } }

.qt-qhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.qt-qhead__title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--qt-ink); }
.qt-qhead__title::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: linear-gradient(180deg, var(--qt-accent), var(--qt-accent-600)); }
.qt-qhead__note { font-size: 12px; color: var(--qt-muted); display: none; }
@media (min-width: 640px) { .qt-qhead__note { display: block; } }

.qt-qrow { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 640px) { .qt-qrow { flex-direction: row; align-items: stretch; } }

.qt-field { position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; }
.qt-field__icon { position: absolute; left: 14px; width: 18px; height: 18px; color: #94a3b8; pointer-events: none; }
.qt-field input {
  width: 100%;
  height: 52px;
  padding: 0 42px 0 42px;
  border: 1.5px solid #dbe3f0;
  border-radius: 11px;
  background: #fbfdff;
  font-size: 15px;
  color: var(--qt-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .04em;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  appearance: none;
}
.qt-field input::placeholder { color: #9aa6b8; letter-spacing: 0; font-family: inherit; }
.qt-field input:focus {
  outline: none;
  border-color: var(--qt-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(39, 68, 168, .12);
}
.qt-field__clear {
  position: absolute; right: 8px;
  width: 26px; height: 26px; border: 0; border-radius: 50%;
  background: #eef2f9; color: #64748b; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1;
}
.qt-field__clear:hover { background: #e2e8f0; color: #334155; }
.qt-field.has-value .qt-field__clear { display: flex; }

.qt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: 11px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.qt-btn svg { width: 18px; height: 18px; }
.qt-btn--primary { background: linear-gradient(135deg, #2f52bf, #1f3687); color: #fff; box-shadow: 0 10px 24px -12px rgba(39, 68, 168, .7); }
.qt-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(39, 68, 168, .8); }
.qt-btn--primary:active { transform: translateY(0); }
.qt-btn--ghost { background: #fff; border-color: #dbe3f0; color: var(--qt-ink-2); }
.qt-btn--ghost:hover { border-color: var(--qt-primary); color: var(--qt-primary); background: #f8faff; }
.qt-btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none; }
.qt-btn--lg { height: 48px; }

.qt-qrow .qt-btn--ghost { flex: 0 0 auto; }
.qt-qrow .qt-btn--primary { flex: 0 0 auto; min-width: 108px; }
@media (max-width: 639px) {
  /* 手机：输入框独占一行，扫码/查询并排，便于单手与 PDA 操作 */
  .qt-qrow { flex-direction: row; flex-wrap: wrap; }
  .qt-field { flex: 1 1 100%; }
  .qt-qrow .qt-btn { flex: 1 1 0; height: 48px; min-width: 0; }
  .qt-field input { height: 48px; }
  .qt-qtips__sep { display: none; }
  .qt-qtips { gap: 6px 10px; }
  .qt-qtips > span:last-child { flex: 1 1 100%; }
  .qt-query__card { padding: 18px 16px; }
  .qt-rhead { padding: 16px 16px; }
  .qt-block { padding: 18px 16px; }
}

.qt-qtips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; font-size: 12.5px; color: var(--qt-muted); }
.qt-qtips .qt-demo {
  border: 0; background: var(--qt-primary-50); color: var(--qt-primary);
  padding: 4px 9px; border-radius: 6px; cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; letter-spacing: .02em;
}
.qt-qtips .qt-demo:hover { background: #e2e9ff; }
.qt-qtips__sep { flex: 1 1 auto; }

.qt-msg {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 14px; padding: 12px 14px; border-radius: 10px;
  font-size: 13.5px; line-height: 1.6;
  border: 1px solid #f5d9d9; background: #fef6f6; color: #a63a3a;
}
.qt-msg[hidden] { display: none; }
.qt-msg--ok { border-color: #cfe9dd; background: #f3fbf7; color: var(--qt-ok); }
.qt-msg--info { border-color: #d9e3f7; background: #f6f9ff; color: #31537f; }
.qt-msg svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 1px; }
.qt-msg b { font-weight: 600; }

/* ---------- 结果 ---------- */
.qt-result { padding: 40px 0 8px; }
.qt-result[hidden] { display: none; }

.qt-rhead {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 20px 22px; border-radius: var(--qt-radius) var(--qt-radius) 0 0;
  background: linear-gradient(135deg, #0e1a3f, #1d336f);
  color: #fff;
}
.qt-rhead__code { font-size: 12.5px; color: rgba(255, 255, 255, .62); letter-spacing: .04em; }
.qt-rhead__code b {
  display: block; margin-top: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(15px, 2.4vw, 19px); font-weight: 600; color: #fff; letter-spacing: .06em;
}
.qt-rhead__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12.5px; color: rgba(255, 255, 255, .68); }
.qt-rhead__meta span b { color: #fff; font-weight: 500; }

.qt-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.qt-badge svg { width: 15px; height: 15px; }
.qt-badge--ok { background: rgba(56, 200, 145, .16); color: #7ef0bd; border: 1px solid rgba(56, 200, 145, .38); }
.qt-badge--warn { background: rgba(255, 176, 60, .16); color: #ffcd85; border: 1px solid rgba(255, 176, 60, .4); }
.qt-badge--info { background: rgba(120, 165, 255, .16); color: #b9ccff; border: 1px solid rgba(120, 165, 255, .38); }
.qt-badge--ok-solid { background: #eafaf2; color: var(--qt-ok); border: 1px solid #c7ecdb; }
.qt-badge--warn-solid { background: #fff7ec; color: var(--qt-warn); border: 1px solid #ffe0bd; }

.qt-rbody { border: 1px solid var(--qt-line); border-top: 0; border-radius: 0 0 var(--qt-radius) var(--qt-radius); background: #fff; }

.qt-block { padding: 22px; border-bottom: 1px solid var(--qt-line); }
.qt-block:last-child { border-bottom: 0; }
@media (min-width: 768px) { .qt-block { padding: 26px 28px; } }

.qt-block__title { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; font-size: 15px; font-weight: 700; color: var(--qt-ink); letter-spacing: .01em; }
.qt-block__title svg { width: 17px; height: 17px; color: var(--qt-primary); }
.qt-block__title small { margin-left: auto; font-weight: 400; font-size: 12px; color: var(--qt-muted); }

/* 字段网格 */
.qt-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--qt-line); border: 1px solid var(--qt-line); border-radius: 10px; overflow: hidden; }
@media (min-width: 560px) { .qt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .qt-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qt-cell { background: #fff; padding: 14px 16px; min-width: 0; }
.qt-cell dt { font-size: 12px; color: var(--qt-muted); margin: 0 0 5px; letter-spacing: .02em; }
.qt-cell dd { margin: 0; font-size: 14px; color: var(--qt-ink); font-weight: 500; line-height: 1.55; word-break: break-word; }
.qt-cell dd.qt-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px; letter-spacing: .03em; }

/* 工艺参数卡 */
.qt-params { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .qt-params { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qt-param { position: relative; padding: 16px 16px 14px; border: 1px solid var(--qt-line); border-radius: 12px; background: linear-gradient(180deg, #fbfcff, #fff); overflow: hidden; }
.qt-param::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--qt-primary), #5b7ce0); opacity: .8; }
.qt-param__k { font-size: 12px; color: var(--qt-muted); }
.qt-param__v { margin-top: 6px; font-size: 24px; font-weight: 700; color: var(--qt-ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.qt-param__v small { font-size: 13px; font-weight: 500; color: var(--qt-muted); margin-left: 3px; }
.qt-param__std { margin-top: 8px; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--qt-muted); }
.qt-param__std i { width: 6px; height: 6px; border-radius: 50%; background: var(--qt-ok); display: inline-block; }
.qt-param__std.is-warn i { background: #f0a020; }
.qt-param__bar { margin-top: 10px; height: 4px; border-radius: 2px; background: #eef2f8; overflow: hidden; }
.qt-param__bar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #4b6fd8, #2744a8); }

/* 表格 */
.qt-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--qt-line); border-radius: 10px; }
.qt-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
.qt-table th, .qt-table td { padding: 11px 14px; text-align: left; vertical-align: top; }
.qt-table thead th { background: #f7f9fd; color: #475569; font-weight: 600; font-size: 12.5px; white-space: nowrap; border-bottom: 1px solid var(--qt-line); }
.qt-table tbody td { border-bottom: 1px solid #f1f5fb; color: var(--qt-ink-2); }
.qt-table tbody tr:last-child td { border-bottom: 0; }
.qt-table tbody tr:hover td { background: #fafcff; }
.qt-table .qt-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; color: #334155; }
.qt-table .t-ok { color: var(--qt-ok); font-weight: 500; }
.qt-table .t-warn { color: var(--qt-warn); font-weight: 500; }

/* 时间线 */
.qt-timeline { position: relative; margin: 4px 0 0; padding: 0; list-style: none; }
.qt-timeline::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, #dbe4f6, #eef2f9); }
.qt-tl { position: relative; padding: 0 0 20px 42px; }
.qt-tl:last-child { padding-bottom: 0; }
.qt-tl__dot {
  position: absolute; left: 6px; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 2px solid #c3d0ea;
  display: flex; align-items: center; justify-content: center;
}
.qt-tl.is-done .qt-tl__dot { border-color: var(--qt-primary); background: var(--qt-primary); }
.qt-tl.is-done .qt-tl__dot::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.qt-tl.is-current .qt-tl__dot { border-color: var(--qt-accent); background: var(--qt-accent); box-shadow: 0 0 0 4px rgba(255, 145, 23, .16); }
.qt-tl.is-current .qt-tl__dot::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.qt-tl__time { font-size: 12px; color: var(--qt-muted); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.qt-tl__name { margin: 2px 0 3px; font-size: 14px; font-weight: 600; color: var(--qt-ink); }
.qt-tl__desc { font-size: 13px; color: var(--qt-ink-2); line-height: 1.65; }
.qt-tl__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.qt-tl__tag { font-size: 11.5px; color: #4a628c; background: #f1f5fd; border: 1px solid #e3ebf9; padding: 2px 8px; border-radius: 5px; }

/* 空状态 / 提示条 */
.qt-empty {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 26px 18px; border: 1px dashed #dbe3f0; border-radius: 10px; background: #fbfcff;
}
.qt-empty svg { width: 30px; height: 30px; color: #b6c3d8; margin-bottom: 10px; }
.qt-empty p { margin: 0; font-size: 13.5px; color: var(--qt-muted); line-height: 1.7; }
.qt-empty b { color: var(--qt-ink-2); }

/* 操作栏 */
.qt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.qt-actions__note { flex: 1 1 220px; font-size: 12px; color: var(--qt-muted); line-height: 1.6; }
.qt-btn--sm { height: 42px; padding: 0 16px; font-size: 13.5px; }

/* 脱敏声明 */
.qt-notice {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: 10px;
  background: #f7f9fd; border: 1px solid #e6ecf7; font-size: 12.5px; line-height: 1.75; color: #526180;
}
.qt-notice svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; color: var(--qt-primary); }
.qt-notice b { color: #334155; }

/* ---------- 帮助区 ---------- */
.qt-help { padding: 34px 0 64px; background: #fff; }
.qt-help__grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 860px) { .qt-help__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.qt-help__card { padding: 20px; border: 1px solid var(--qt-line); border-radius: 12px; background: #fcfdff; }
.qt-help__card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--qt-ink); }
.qt-help__card h3 span { width: 24px; height: 24px; border-radius: 7px; background: var(--qt-primary-50); color: var(--qt-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.qt-help__card p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--qt-muted); }
.qt-help__card p + p { margin-top: 8px; }
.qt-help__card a { color: var(--qt-primary); text-decoration: none; border-bottom: 1px solid rgba(39, 68, 168, .3); }

/* ---------- 扫码弹层 ---------- */
.qt-scan { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(6, 12, 30, .72); }
.qt-scan.is-open { display: flex; }
.qt-scan__box { width: 100%; max-width: 440px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.qt-scan__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--qt-line); }
.qt-scan__head h4 { margin: 0; font-size: 15px; font-weight: 700; }
.qt-scan__close { border: 0; background: #f1f5fb; width: 30px; height: 30px; border-radius: 50%; font-size: 15px; color: #64748b; cursor: pointer; }
.qt-scan__body { padding: 16px; }
.qt-scan__video { position: relative; width: 100%; aspect-ratio: 4 / 3; background: #0b1436; border-radius: 12px; overflow: hidden; }
.qt-scan__video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.qt-scan__frame { position: absolute; inset: 16% 12%; border: 2px solid rgba(255, 255, 255, .8); border-radius: 10px; box-shadow: 0 0 0 999px rgba(6, 12, 30, .28); }
.qt-scan__hint { margin: 12px 0 0; font-size: 12.5px; color: var(--qt-muted); line-height: 1.7; text-align: center; }

/* 轻提示 */
.qt-toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 16px);
  z-index: 100;
  width: max-content;
  max-width: min(520px, calc(100vw - 32px));
  padding: 11px 18px; border-radius: 10px;
  background: rgba(15, 23, 42, .94); color: #fff; font-size: 13.5px; line-height: 1.5;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .6);
}
.qt-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* 骨架屏 */
.qt-skeleton { display: grid; gap: 12px; }
.qt-skeleton i { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, #eef2f8 25%, #f7f9fd 37%, #eef2f8 63%); background-size: 400% 100%; animation: qt-sh 1.3s ease infinite; }
@keyframes qt-sh { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* 追溯凭证打印头（屏幕上隐藏，打印时显示） */
.qt-voucher { display: none; }

/* 凭证页脚：屏幕上不显示，仅打印时出现（规则需在 @media print 之前声明） */
.qt-print-foot, .qt-print-sign { display: none; }

/* ---------- 打印：溯源凭证 ---------- */
@media print {
  @page { size: A4; margin: 14mm 12mm; }
  html, body { background: #fff !important; }
  header.qt-header, footer, .qt-hero, .qt-query, .qt-help, .qt-scan, .qt-toast,
  .qt-actions, .qt-qhead, .qt-notice__no-print { display: none !important; }
  .qt-page { --qt-line: #d3dae8; }
  .qt-result { padding: 0 !important; }
  .qt-voucher {
    display: block; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid #0b1436;
  }
  .qt-voucher__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
  .qt-voucher__brand { font-size: 15px; font-weight: 700; color: #0b1436; letter-spacing: .02em; }
  .qt-voucher__brand span { display: block; margin-top: 3px; font-size: 10.5px; font-weight: 400; color: #64748b; letter-spacing: .06em; }
  .qt-voucher__title { font-size: 19px; font-weight: 700; letter-spacing: .06em; color: #0b1436; }
  .qt-voucher__code { margin-top: 2px; font-size: 10.5px; color: #64748b; }
  .qt-rhead { background: #0b1436 !important; color: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; border-radius: 8px 8px 0 0; padding: 14px 16px; }
  .qt-rbody { border-radius: 0 0 8px 8px; }
  .qt-block { padding: 14px 16px; break-inside: avoid; page-break-inside: avoid; }
  .qt-block__title { margin-bottom: 10px; font-size: 13px; }
  .qt-params { gap: 8px; }
  .qt-param { break-inside: avoid; padding: 10px 12px; }
  .qt-param__v { font-size: 18px; }
  .qt-table { min-width: 0; font-size: 11.5px; }
  .qt-table th, .qt-table td { padding: 6px 8px; }
  .qt-tl { padding-bottom: 10px; }
  .qt-tl__desc { font-size: 11.5px; }
  .qt-notice { padding: 10px 12px; font-size: 10.5px; }
  .qt-badge { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .qt-tl.is-done .qt-tl__dot, .qt-tl.is-current .qt-tl__dot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .qt-print-foot { display: block; margin-top: 14px; padding-top: 10px; border-top: 1px dashed #c8d1e2; font-size: 10px; color: #64748b; line-height: 1.7; }
  .qt-print-sign { display: flex; justify-content: space-between; margin-top: 18px; font-size: 11px; color: #334155; }
}

/* ============================================================
   生动化：入场动效 / 数字滚动 / 链路条 / 微交互
   全部为渐进增强，关闭 JS 或打印时内容完整可见
   ============================================================ */

@keyframes qt-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes qt-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes qt-pop {
  0%   { opacity: 0; transform: scale(.84); }
  62%  { opacity: 1; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes qt-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 145, 23, .5); }
  72%  { box-shadow: 0 0 0 11px rgba(255, 145, 23, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 145, 23, 0); }
}
@keyframes qt-laser {
  0%   { top: 8%;  opacity: .15; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 92%; opacity: .15; }
}
@keyframes qt-load {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}
@keyframes qt-sheen {
  0%   { transform: translateX(-120%) skewX(-18deg); }
  100% { transform: translateX(320%) skewX(-18deg); }
}

/* ---------- Hero 入场 + 扫码视觉 ---------- */
.qt-crumb        { animation: qt-up .6s cubic-bezier(.22,.75,.3,1) both; }
.qt-hero h1      { animation: qt-up .72s .06s cubic-bezier(.22,.75,.3,1) both; }
.qt-hero__sub    { animation: qt-up .72s .14s cubic-bezier(.22,.75,.3,1) both; }
.qt-hero__badges { animation: qt-up .72s .22s cubic-bezier(.22,.75,.3,1) both; }
.qt-query__card  { animation: qt-up .8s .3s cubic-bezier(.22,.75,.3,1) both; }

.qt-hero__viz {
  display: none;
  position: absolute;
  right: 24px;
  /* 相对 .qt-container 定位：与查询卡始终保持 76px 间距，不会压住卡片 */
  bottom: 28px;
  width: 248px;
  z-index: 2;
  animation: qt-up .9s .34s cubic-bezier(.22,.75,.3,1) both;
}
@media (min-width: 1180px) { .qt-hero__viz { display: block; } }

.qt-viz__card {
  position: relative;
  padding: 14px 16px 13px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transform: rotate(-1.5deg);
  transition: transform .5s cubic-bezier(.22,.75,.3,1);
}
.qt-hero__viz:hover .qt-viz__card { transform: rotate(0deg) translateY(-2px); }
.qt-viz__top {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 9.5px; letter-spacing: .18em; color: rgba(255, 255, 255, .58);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.qt-viz__dot {
  width: 6px; height: 6px; border-radius: 50%; background: #38c891;
  box-shadow: 0 0 0 0 rgba(56, 200, 145, .6);
  animation: qt-pulse 2.2s ease-out infinite;
}
.qt-viz__barcode {
  position: relative;
  margin: 11px 0 10px;
  height: 68px;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  display: flex; align-items: center; gap: 2px;
  padding: 8px 10px;
}
.qt-viz__bars {
  width: 100%; height: 100%;
  background-image:
    repeating-linear-gradient(90deg,
      #0b1436 0 2px, transparent 2px 5px,
      #0b1436 5px 8px, transparent 8px 11px,
      #0b1436 11px 12px, transparent 12px 16px,
      #0b1436 16px 19px, transparent 19px 21px,
      #0b1436 21px 22px, transparent 22px 26px);
  background-repeat: repeat-x;
  opacity: .9;
}
.qt-viz__laser {
  position: absolute; left: 8px; right: 8px; height: 2px;
  background: linear-gradient(90deg, rgba(255, 145, 23, 0), #ff9117 22%, #ffb648 50%, #ff9117 78%, rgba(255, 145, 23, 0));
  box-shadow: 0 0 12px 2px rgba(255, 145, 23, .55);
  animation: qt-laser 2.9s cubic-bezier(.45,0,.55,1) infinite;
}
.qt-viz__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px; letter-spacing: .12em; color: #fff; opacity: .92;
}
.qt-viz__foot {
  margin-top: 5px; font-size: 10px; letter-spacing: .04em; color: rgba(255, 255, 255, .5);
}

/* 查询卡加载进度条 */
.qt-query__card { position: relative; overflow: hidden; }
.qt-query__card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--qt-accent), transparent);
  opacity: 0; pointer-events: none;
}
.qt-query__card.is-loading::after { opacity: 1; animation: qt-load 1s linear infinite; }

/* ---------- 入场揭示 ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); }
[data-reveal].is-in { animation: qt-up .58s cubic-bezier(.22,.75,.3,1) both; }

/* 结果头光泽 */
.qt-rhead { position: relative; overflow: hidden; }
.qt-rhead::after {
  content: ""; position: absolute; top: -60%; left: 0; width: 45%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
  opacity: 0; pointer-events: none;
}
.qt-rhead.is-in::after { animation: qt-sheen 1.15s .25s ease-out both; }
.qt-rhead.is-in .qt-badge { animation: qt-pop .5s .22s both; }

/* ---------- 工艺参数：数字滚动 + 进度条从 0 生长 ---------- */
.qt-param { transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease; }
.qt-param:hover { transform: translateY(-3px); border-color: #d5e0f4; box-shadow: 0 16px 30px -22px rgba(23, 45, 110, .55); }
.qt-param:hover::after { opacity: 1; }
.qt-param::after { transition: opacity .26s ease; }
.qt-param__v .qt-num { font-variant-numeric: tabular-nums; }

.qt-param__bar i {
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.05s cubic-bezier(.22,.75,.3,1) .18s;
}
.qt-block.is-in .qt-param__bar i { transform: scaleX(var(--w, .6)); }

/* ---------- 表格行逐行浮现 ---------- */
.qt-table tbody tr { opacity: 0; }
.qt-block.is-in .qt-table tbody tr { animation: qt-fade .45s both; animation-delay: calc(var(--d, 0ms) + 70ms); }
.qt-cell { transition: background .2s ease; }
.qt-cell:hover { background: #fafcff; }

/* ---------- 追溯链路条 ---------- */
.qt-chain { display: flex; overflow-x: auto; padding: 2px 0 0; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.qt-chain__item { position: relative; flex: 1 0 104px; text-align: center; padding: 0 4px 2px; opacity: 0; }
.qt-block.is-in .qt-chain__item { animation: qt-up .5s cubic-bezier(.22,.75,.3,1) both; animation-delay: var(--d, 0ms); }

.qt-chain__item:not(:last-child)::before {
  content: ""; position: absolute; top: 19px; left: 50%; width: 100%; height: 2px;
  background: #e7edf7; z-index: 0;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .5s ease calc(var(--d, 0ms) + 90ms);
}
.qt-block.is-in .qt-chain__item::before { transform: scaleX(1); }
.qt-chain__item.is-done:not(:last-child)::before {
  background: linear-gradient(90deg, #2744a8, #6b8ae4);
}

.qt-chain__ico {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: #f2f6fc; border: 2px solid #e3eaf6; color: #9aa8bf;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.qt-chain__ico svg { width: 17px; height: 17px; }
.qt-chain__item.is-done .qt-chain__ico {
  background: linear-gradient(135deg, #2f52bf, #1f3687);
  border-color: #2744a8; color: #fff;
  box-shadow: 0 8px 18px -12px rgba(39, 68, 168, .9);
}
.qt-chain__item.is-last .qt-chain__ico {
  background: linear-gradient(135deg, #ffab43, #f07207);
  border-color: #f07207; color: #fff;
  animation: qt-pulse 2.6s ease-out infinite;
}
.qt-chain__n { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--qt-ink); }
.qt-chain__t { display: block; margin-top: 2px; font-size: 11.5px; color: var(--qt-muted); font-variant-numeric: tabular-nums; }
.qt-chain__item.is-todo .qt-chain__n { color: #9aa8bf; font-weight: 500; }
.qt-chain__item.is-todo .qt-chain__t { color: #b3bdcf; }
.qt-block--chain { background: linear-gradient(180deg, #fbfcff, #fff); }

/* ---------- 时间线生长 ---------- */
.qt-timeline::before { transform: scaleY(0); transform-origin: top center; transition: transform 1.1s cubic-bezier(.22,.75,.3,1) .12s; }
.qt-block.is-in .qt-timeline::before { transform: scaleY(1); }
.qt-tl { opacity: 0; }
.qt-block.is-in .qt-tl { animation: qt-up .45s cubic-bezier(.22,.75,.3,1) both; animation-delay: calc(var(--d, 0ms) + 150ms); }
.qt-tl.is-current .qt-tl__dot { animation: qt-pulse 2.6s ease-out infinite; }
.qt-tl:hover .qt-tl__name { color: var(--qt-primary); }
.qt-tl__name { transition: color .2s ease; }

/* ---------- 帮助卡 ---------- */
.qt-help__card { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.qt-help__card:hover { transform: translateY(-3px); border-color: #d9e3f4; box-shadow: 0 18px 34px -26px rgba(23, 45, 110, .5); }

/* ---------- 无障碍：尊重系统「减弱动态效果」 ---------- */
@media (prefers-reduced-motion: reduce) {
  .qt-page *, .qt-page *::before, .qt-page *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  [data-reveal], .qt-tl, .qt-chain__item, .qt-table tbody tr { opacity: 1 !important; transform: none !important; }
  .qt-timeline::before { transform: none !important; }
  .qt-param__bar i { transform: scaleX(var(--w, .6)) !important; }
}

/* ---------- 打印：还原一切动效为静态 ---------- */
@media print {
  .qt-hero__viz, .qt-query__card::after { display: none !important; }
  [data-reveal], .qt-tl, .qt-chain__item, .qt-table tbody tr {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
  .qt-timeline::before { transform: none !important; }
  .qt-param__bar i { transform: scaleX(var(--w, .6)) !important; transition: none !important; }
  .qt-chain__item:not(:last-child)::before { transform: scaleX(1) !important; transition: none !important; }
  .qt-rhead::after { display: none !important; }
  .qt-chain__ico { box-shadow: none !important; animation: none !important; }
  .qt-chain__n { font-size: 11px; }
  .qt-chain__t { font-size: 9.5px; }
}

/* ---------- 手机：链路条压缩为 5 等分，避免横向滚动 ---------- */
@media (max-width: 639px) {
  .qt-chain__item { flex: 1 1 0; min-width: 0; padding: 0 1px; }
  .qt-chain__ico { width: 32px; height: 32px; }
  .qt-chain__ico svg { width: 15px; height: 15px; }
  .qt-chain__item:not(:last-child)::before { top: 16px; }
  .qt-chain__n { margin-top: 7px; font-size: 11px; white-space: nowrap; }
  .qt-chain__t { font-size: 9px; letter-spacing: -.02em; }
}

/* ============================================================
   全链路流水：曲线轨迹（替代纵向长列表）
   ============================================================ */
.qt-block--flow { padding-bottom: 20px; }

.qt-flow { position: relative; height: 188px; margin: 4px 0 0; }
.qt-flow__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.qt-flow__path {
  fill: none;
  stroke: url(#qtFlowGrad);
  stroke-width: 2;
  stroke-linecap: round;
}
.qt-flow__nodes { position: absolute; inset: 0; }

.qt-flow__node {
  position: absolute; width: 0; height: 0; padding: 0; border: 0;
  background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.qt-flow__dot {
  position: absolute; left: 0; top: 0;
  width: 15px; height: 15px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #fff; border: 2.5px solid #9db0d4;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.qt-flow__node.is-done .qt-flow__dot { background: #2744a8; border-color: #2744a8; }
.qt-flow__node.is-current .qt-flow__dot {
  width: 18px; height: 18px;
  background: #ff9117; border-color: #ff9117;
  box-shadow: 0 0 0 5px rgba(255, 145, 23, .18);
  animation: qt-pulse 2.6s ease-out infinite;
}
.qt-flow__node.is-warn .qt-flow__dot {
  width: 18px; height: 18px;
  background: #e2564a; border-color: #e2564a;
  box-shadow: 0 0 0 4px rgba(226, 86, 74, .16);
}
.qt-flow__node.is-warn .qt-flow__dot svg { width: 11px; height: 11px; }
.qt-flow__node:hover .qt-flow__dot { transform: translate(-50%, -50%) scale(1.22); }
.qt-flow__node.is-active .qt-flow__dot { box-shadow: 0 0 0 6px rgba(39, 68, 168, .16); }
.qt-flow__node.is-warn.is-active .qt-flow__dot { box-shadow: 0 0 0 6px rgba(226, 86, 74, .2); }

.qt-flow__lbl {
  position: absolute; left: 0; width: 96px; margin-left: -48px;
  text-align: center; pointer-events: none;
}
.qt-flow__node.is-above .qt-flow__lbl { bottom: 13px; }
.qt-flow__node.is-below .qt-flow__lbl { top: 13px; }
.qt-flow__lbl b {
  display: block; font-size: 11.5px; font-weight: 600; color: var(--qt-ink);
  line-height: 1.3;
}
.qt-flow__lbl i { display: block; margin-top: 2px; font-size: 10.5px; font-style: normal; color: var(--qt-muted); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.qt-flow__node.is-current .qt-flow__lbl b { color: #c46a02; }
.qt-flow__node.is-warn .qt-flow__lbl b { color: #c33c31; }
.qt-flow__node.is-active .qt-flow__lbl b { text-decoration: underline; text-underline-offset: 3px; }

.qt-flow__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0 0; font-size: 11.5px; color: var(--qt-muted); }
.qt-flow__legend span { display: inline-flex; align-items: center; gap: 6px; }
.qt-flow__legend span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #2744a8; }
.qt-flow__legend .is-current::before { background: #ff9117; }
.qt-flow__legend .is-warn::before { background: #e2564a; }

.qt-flow__detail {
  margin-top: 12px; padding: 14px 16px;
  border: 1px solid var(--qt-line); border-left: 3px solid var(--qt-primary);
  border-radius: 10px;
  background: linear-gradient(180deg, #fbfcff, #fff);
  transition: opacity .16s ease, transform .16s ease;
}
.qt-flow__detail.is-swap { opacity: .2; transform: translateY(3px); }
.qt-flow__dtop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 11.5px; color: var(--qt-muted); }
.qt-flow__dstep { padding: 2px 7px; border-radius: 5px; background: #eef3fd; color: #3b5aa6; font-weight: 600; }
.qt-flow__dtime { font-variant-numeric: tabular-nums; }
.qt-flow__dwarn { padding: 2px 7px; border-radius: 5px; background: #fdeeea; color: #c33c31; border: 1px solid #f6d3cd; font-weight: 600; }
.qt-flow__dname { margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--qt-ink); }
.qt-flow__ddesc { margin: 6px 0 0; font-size: 13px; line-height: 1.78; color: var(--qt-ink-2); }
.qt-flow__dtags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.qt-flow__dtags span { font-size: 11.5px; color: #4a628c; background: #f1f5fd; border: 1px solid #e3ebf9; padding: 2px 8px; border-radius: 5px; }

.qt-flow__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.qt-flow__toggle {
  border: 1px solid #dbe3f0; background: #fff; color: var(--qt-ink-2);
  font-size: 12.5px; padding: 7px 14px; border-radius: 8px; cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.qt-flow__toggle:hover { border-color: var(--qt-primary); color: var(--qt-primary); background: #f8faff; }
.qt-flow__hint { font-size: 11.5px; color: var(--qt-muted); }

.qt-flow__list { display: none; margin-top: 16px; }
.qt-flow__list.is-open { display: block; animation: qt-fade .28s ease both; }

/* 平板 / 窄屏：节点间距不足，只保留关键节点标签 */
@media (max-width: 1019px) {
  .qt-flow__lbl { display: none; width: 96px; margin-left: -48px; }
  .qt-flow__node.is-current .qt-flow__lbl,
  .qt-flow__node.is-warn-first .qt-flow__lbl { display: block; }
  .qt-flow__node.is-edge-start .qt-flow__lbl,
  .qt-flow__node.is-edge-end .qt-flow__lbl { margin-left: -48px; text-align: center; }
}

/* 手机：轨迹压缩、标签只保留关键节点 */
@media (max-width: 639px) {
  .qt-flow { height: 136px; }
  .qt-flow__lbl { display: none; width: 96px; margin-left: -48px; }
  .qt-flow__node.is-current .qt-flow__lbl,
  .qt-flow__node.is-warn-first .qt-flow__lbl { display: block; }
  .qt-flow__node.is-edge-start .qt-flow__lbl,
  .qt-flow__node.is-edge-end .qt-flow__lbl { margin-left: -48px; text-align: center; }
  .qt-flow__lbl b { font-size: 10.5px; white-space: nowrap; }
  .qt-flow__lbl i { font-size: 9px; }
  .qt-flow__detail { padding: 12px 13px; }
  .qt-flow__dname { font-size: 14px; }
  .qt-flow__hint { display: none; }
}

/* 打印：凭证只保留完整记录列表，不打印交互轨迹 */
@media print {
  .qt-flow, .qt-flow__legend, .qt-flow__detail, .qt-flow__foot { display: none !important; }
  .qt-flow__list { display: block !important; margin-top: 0 !important; }
}

.qt-flow__warnm {
  display: inline-block; margin-left: 3px;
  font-style: normal; font-size: 9px; font-weight: 600; line-height: 1.5;
  color: #c33c31; background: #fdeeea; border: 1px solid #f4cec7;
  padding: 0 4px; border-radius: 4px; vertical-align: 1px;
}

/* 窄屏：块标题与右侧补充说明改为两行，避免挤压重叠 */
@media (max-width: 639px) {
  .qt-block__title { flex-wrap: wrap; row-gap: 3px; }
  .qt-block__title small { margin-left: 0; flex: 1 1 100%; line-height: 1.5; }
}

/* ============================================================
   结果区分块：每个业务块独立成卡，避免连成一片
   ============================================================ */
.qt-result { background: #f5f7fb; padding-bottom: 40px; }
.qt-rhead { border-radius: var(--qt-radius); margin-bottom: 14px; }
.qt-rbody { border: 0; background: transparent; }

.qt-block {
  border: 1px solid var(--qt-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 32, 78, .04);
  margin-bottom: 14px;
}
.qt-block:last-child { border-bottom: 1px solid var(--qt-line); margin-bottom: 0; }
.qt-block--chain { background: #fff; }

/* 块标题下加一条分隔线，标题区与内容区层次更清楚 */
.qt-block__title { padding-bottom: 12px; border-bottom: 1px solid #eef2f9; }

@media (max-width: 639px) {
  .qt-block { margin-bottom: 10px; border-radius: 10px; }
  .qt-block__title { padding-bottom: 10px; }
}

@media print {
  .qt-result { background: #fff !important; padding-bottom: 0 !important; }
  .qt-rhead { border-radius: 8px 8px 0 0 !important; margin-bottom: 0 !important; }
  .qt-block {
    border: 0 !important; border-bottom: 1px solid #d3dae8 !important;
    border-radius: 0 !important; margin-bottom: 0 !important; box-shadow: none !important;
  }
  .qt-block:last-child { border-bottom: 0 !important; }
  .qt-block__title { padding-bottom: 8px !important; }
}

/* ---------- 字段网格：空槽位不再露出分隔底色 ----------
   原实现用 1px gap + 底色画分隔线，字段数为奇数时会留下一块灰底空槽。
   改为「白底 + 单元格内描边」，空槽与底色同色，视觉上看不出缺口。 */
.qt-grid { gap: 0; background: #fff; }
.qt-cell { box-shadow: inset 0 -1px 0 var(--qt-line), inset -1px 0 0 var(--qt-line); }
.qt-grid > .qt-cell:last-child { box-shadow: inset 0 -1px 0 var(--qt-line); }


/* 本站固定导航约 105px 高：抬高 Hero，避免面包屑/标题顶到导航（对齐行业方案页 128px 顶部留白） */
.qt-page .qt-hero { padding-top: 128px; }
@media (max-width: 767px) { .qt-page .qt-hero { padding-top: 120px; } }

