/**
 * 配件搜索线框 1:1 — 图1 方案A / 图2 方案B / 图3 方案C
 */

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

.wf-page {
  /* 主色：黑 + 青柠绿点缀 */
  --wf-accent: #c0ff00;
  --wf-accent-soft: #f4fce8;
  --wf-accent-bd: #b8e600;
  --wf-blue: #0f172a;
  --wf-blue-deep: #0f172a;
  --wf-blue-soft: #f8fafc;
  --wf-blue-border: #e2e8f0;
  --wf-bg: #eef1f5;
  --wf-card: #ffffff;
  --wf-line: #e2e8f0;
  --wf-line2: #f1f5f9;
  --wf-table-head-bg: #f8fafc;
  --wf-table-head-bd: #e2e8f0;
  --wf-table-head-tx: #64748b;
  --wf-radius: 12px;
  --wf-radius-sm: 8px;
  --wf-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --wf-shadow-md: 0 4px 14px rgba(15, 23, 42, 0.07);
  --wf-shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.09);
  --wf-table-head-other-bg: #ffe8d4;
  --wf-table-head-other-bd: #ffd0a8;
  --wf-table-head-other-tx: #b45309;
  --wf-text: #000000;
  --wf-muted: #666666;
  --wf-label: #999999;
  --wf-amber-bg: #f5f5f0;
  --wf-amber-bd: #e8e8e4;
  --wf-amber-tx: #666666;
  --wf-green-bg: #f5f5f5;
  --wf-green-bd: #e8e8e8;
  --wf-green-tx: #333333;
  --wf-violet-bg: #f5f5f5;
  --wf-violet-bd: #e8e8e8;
  --wf-violet-tx: #333333;
  --wf-slate-bg: #f5f5f5;
  --wf-slate-bd: #e8e8e8;
  --wf-slate-tx: #333333;
  --wf-cyan-bg: #f5f5f5;
  --wf-cyan-bd: #e8e8e8;
  --wf-cyan-tx: #333333;
  --wf-dark: #000000;
  min-height: 100vh;
  background: var(--wf-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--wf-text);
  font-size: 14px;
  line-height: 1.5;
}

.wf-page .fm-topbar { display: none; }
.wf-page .fm-main { max-width: none; padding: 0; margin: 0; width: 100%; }

/* ========== 桌面统一顶栏：Logo + 搜索（下拉切换模式） ========== */
.wf-desk {
  background: #fff;
  border-bottom: 1px solid var(--wf-line);
  padding: 0 24px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 4px 16px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 0;
  z-index: 200;
}

.wf-desk__inner {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wf-desk__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.wf-desk__hex {
  width: 36px;
  height: 36px;
  background: var(--wf-dark);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.wf-desk__logo {
  height: 36px;
  max-width: 120px;
  object-fit: contain;
}

.wf-desk__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.wf-desk__brand-text strong { font-size: 16px; font-weight: 700; }
.wf-desk__brand-text small { font-size: 11px; color: var(--wf-muted); }

.wf-desk__search {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--wf-shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wf-desk__search:focus-within {
  border-color: var(--wf-accent-bd);
  box-shadow: 0 0 0 3px rgba(192, 255, 0, 0.18);
}

.wf-desk__search:has(.has-mode-tip),
.wf-desk__search:has(.wf-model-combobox.is-open) {
  overflow: visible;
}

.wf-desk__mode {
  position: relative;
  flex-shrink: 0;
  height: 100%;
  border-right: 1px solid #d9d9d9;
  background: #fafafa;
}

.wf-desk__mode-wrap {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 22px 0 10px;
  min-width: 148px;
  transition: background 0.15s ease;
}

.wf-desk__mode-wrap:hover {
  background: #f1f5f9;
}

.wf-desk__mode-wrap:hover .wf-desk__mode-arrow {
  color: #334155;
}

.wf-desk__mode-face {
  display: flex;
  align-items: center;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
}

.wf-desk__mode-prefix,
.wf-desk__mode-switch {
  color: var(--wf-muted);
  font-size: 12px;
}

.wf-desk__mode-value {
  font-weight: 600;
  color: var(--wf-text);
}

.wf-desk__mode-switch {
  margin-left: 1px;
}

.wf-desk__mode-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  appearance: none;
}

.wf-desk__mode-arrow {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  line-height: 1;
  color: #64748b;
  pointer-events: none;
  z-index: 1;
}

.wf-desk__mode-tip {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 60;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 220px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #1e293b;
  color: #f8fafc;
  font-size: 12px;
  line-height: 1.45;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22);
}

.wf-desk__mode-tip::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 18px;
  width: 10px;
  height: 10px;
  background: #1e293b;
  transform: rotate(45deg);
  border-radius: 2px 0 0 0;
}

.wf-desk__mode-tip-text {
  flex: 1;
  min-width: 0;
}

.wf-desk__mode-tip-close {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: -2px -2px 0 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #94a3b8;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.wf-desk__mode-tip-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.wf-desk__mode.has-mode-tip {
  z-index: 5;
}

.wf-desk__fields {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  height: 100%;
}

.wf-desk__fields--model {
  gap: 0;
}

.wf-desk__input {
  flex: 1;
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  padding: 0 12px;
  font-size: 14px;
  min-width: 0;
}

.wf-model-combobox {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 100%;
}

.wf-model-combobox--desk {
  border-right: 1px solid #eee;
}

.wf-model-combobox__input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  padding: 0 28px 0 10px;
  font-size: 14px;
  background: #fff;
  min-width: 0;
}

.wf-model-combobox__input:disabled {
  background: #f8fafc;
  color: #94a3b8;
  cursor: not-allowed;
}

.wf-model-combobox__arrow {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  line-height: 1;
  color: #64748b;
  pointer-events: none;
}

.wf-model-combobox__panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 80;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}

.wf-model-combobox__option {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 14px;
  line-height: 1.35;
  color: var(--wf-text);
  cursor: pointer;
}

.wf-model-combobox__option:hover,
.wf-model-combobox__option.is-selected {
  background: #f1f5f9;
}

.wf-model-combobox__option.is-disabled {
  color: #94a3b8;
  cursor: not-allowed;
}

.wf-model-combobox__empty {
  margin: 0;
  padding: 12px;
  font-size: 13px;
  color: var(--wf-muted);
  text-align: center;
}

.wf-model-combobox--mobile {
  flex: 1;
  min-width: 0;
  height: auto;
}

.wf-model-combobox--mobile .wf-model-combobox__input {
  height: 36px;
  padding: 0 44px 0 10px;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  background: #fff;
  font-size: 16px;
}

.wf-model-combobox--mobile .wf-model-combobox__clear {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.wf-model-combobox--mobile .wf-model-combobox__arrow {
  right: 6px;
}

.wf-model-combobox--mobile .wf-model-combobox__panel {
  left: 0;
  right: 0;
  max-height: 240px;
}

.wf-model-combobox--mobile.is-open {
  z-index: 30;
}

.wf-desk__select--machine-type {
  flex: 0 0 108px;
  max-width: 108px;
}

.wf-desk__select {
  flex: 1;
  height: 100%;
  border: 0;
  border-right: 1px solid #eee;
  padding: 0 10px;
  font-size: 14px;
  background: #fff;
  min-width: 0;
  cursor: pointer;
}

.wf-desk__select:last-of-type {
  border-right: 0;
}

.wf-desk__submit {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 18px;
  border: 0;
  background: linear-gradient(135deg, #111 0%, #1e293b 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.wf-desk__submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #000 0%, #0f172a 100%);
}

.wf-desk__submit:disabled { opacity: 0.55; cursor: not-allowed; }

.wf-desk__actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  margin-left: auto;
}

/* ========== 搜索区（body，Logo 下方） ========== */
.wf-search-body-wrap {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--wf-line);
}

.wf-search-body--desk {
  padding: 18px 24px 22px;
}

.wf-search-body--desk .wf-search-body__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* 桌面：整条搜索栏（模式 + 条件 + 按钮）整体收窄并居中 */
.wf-search-body--desk .wf-desk__search {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  flex: 0 1 auto;
}

.wf-search-body--desk .wf-quick-models {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 2px;
}

.wf-desk__select--category {
  flex: 1.1;
  min-width: 108px;
}

.wf-search-body--mobile {
  padding: 0;
  background: #fff;
}

.wf-m-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid var(--wf-line);
}

.wf-m-head__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.wf-m-head__hex {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--wf-dark);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.wf-m-head__logo {
  height: 32px;
  max-width: 100px;
  object-fit: contain;
}

.wf-m-head__title {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wf-m-head__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.wf-m-head__action {
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
  color: var(--wf-muted);
  cursor: default;
  white-space: nowrap;
}

.wf-copy-btn {
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--wf-blue);
  font-size: 12px;
  cursor: pointer;
  vertical-align: baseline;
}

.wf-copy-btn:hover { text-decoration: underline; }

.wf-a-fig {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.wf-desk__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  font-size: 13px;
  color: #64748b;
  cursor: default;
  padding: 6px 10px;
  border-radius: var(--wf-radius-sm);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.wf-desk__action:not(:disabled):hover {
  background: #f1f5f9;
  color: #334155;
}

.wf-empty-wrap--below-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

[x-cloak] { display: none !important; }

.wf-dot { color: #d9d9d9; margin: 0 4px; }

/* ========== 通用：表格 / Badge ========== */
.wf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.wf-table th,
.wf-table td {
  border: 1px solid var(--wf-line2);
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
}

.wf-table th {
  background: #fafafa;
  color: var(--wf-muted);
  font-weight: 600;
  font-size: 12px;
}

.wf-table tr.is-match td:first-child {
  box-shadow: inset 3px 0 0 var(--wf-accent);
}

.wf-table__year-line { display: block; }
.wf-table__year-line + .wf-table__year-line { margin-top: 2px; }
.wf-table__cond { line-height: 1.6; }
.wf-table__em { color: #bfbfbf; }

.wf-badge {
  display: inline-block;
  margin: 2px 4px 2px 0;
  padding: 2px 8px;
  border: 1px solid var(--wf-amber-bd);
  border-radius: 4px;
  background: var(--wf-amber-bg);
  color: var(--wf-amber-tx);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.wf-badge--sm { font-size: 11px; padding: 2px 6px; }

/* ========== 信息层级：标签 / 色块 / 芯片 ========== */
.wf-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wf-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  font-size: 13px;
  line-height: 1.45;
}

.wf-meta__label {
  flex: 0 0 auto;
  min-width: 2.5em;
  font-size: 12px;
  font-weight: 600;
  color: var(--wf-label);
}

.wf-meta__value {
  color: var(--wf-text);
  font-weight: 500;
}

.wf-meta--fig .wf-meta__value {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--wf-text);
}

.wf-meta--bin .wf-meta__value {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--wf-text);
}

.wf-meta--loc .wf-meta__value {
  color: var(--wf-text);
  font-weight: 600;
}

.wf-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.wf-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 12px;
  line-height: 1.35;
}

.wf-chip__k {
  font-weight: 600;
  opacity: 0.85;
}

.wf-chip__v {
  font-weight: 600;
  word-break: break-word;
}

.wf-chip--loc {
  background: var(--wf-green-bg);
  border-color: var(--wf-green-bd);
  color: var(--wf-green-tx);
}

.wf-chip--year {
  background: var(--wf-blue-soft);
  border-color: var(--wf-blue-border);
  color: var(--wf-blue-deep);
}

.wf-chip--qty {
  background: var(--wf-violet-bg);
  border-color: var(--wf-violet-bd);
  color: var(--wf-violet-tx);
}

.wf-chip--fig {
  background: var(--wf-cyan-bg);
  border-color: var(--wf-cyan-bd);
  color: var(--wf-cyan-tx);
}

.wf-chip--bin {
  background: var(--wf-slate-bg);
  border-color: var(--wf-slate-bd);
  color: var(--wf-slate-tx);
  font-family: ui-monospace, monospace;
}

.wf-context-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 6px;
  background: #f6f8f6;
  border: 1px solid #e8ece8;
  color: #1a5c34;
  font-size: 12px;
  font-weight: 600;
}

.wf-context-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1a5c34;
  flex-shrink: 0;
}

.wf-td-year { color: var(--wf-text); font-weight: 600; }
.wf-td-usage { color: var(--wf-text); font-weight: 600; }

/* ========== 图1 · 方案 A ========== */
.wf-a {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 48px;
}

.wf-a-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.wf-a-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  padding: 14px 18px;
  background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid var(--wf-blue-border);
  border-radius: var(--wf-radius);
  font-size: 14px;
  box-shadow: var(--wf-shadow-sm);
}

.wf-a-banner strong { color: var(--wf-text); font-weight: 600; }

.wf-a-group { margin-top: 28px; }

.wf-a-group__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.wf-a-group__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--wf-text);
  white-space: nowrap;
}

.wf-a-group__rule {
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

.wf-a-card {
  background: var(--wf-card);
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow-sm);
  margin-bottom: 0;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.wf-a-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--wf-shadow-md);
  transform: translateY(-1px);
}

.wf-a-card__cols {
  display: grid;
  grid-template-columns: 112px minmax(168px, 240px) 1fr;
  align-items: stretch;
}

.wf-a-card__col {
  padding: 18px 16px;
  border-right: 1px solid var(--wf-line2);
}

.wf-a-card__col--meta {
  min-width: 0;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.wf-a-card__col--table {
  padding: 0;
  border-right: 0;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  min-width: 0;
}

.wf-a-card__col--table .wf-table--a {
  flex: 1;
  height: 100%;
  border: 0;
}

.wf-a-card__col--table .wf-table--a thead th {
  border-top: 0;
}

.wf-a-card__col--table .wf-table--a th:first-child,
.wf-a-card__col--table .wf-table--a td:first-child {
  border-left: 0;
}

.wf-a-card__col--table .wf-table--a th:last-child,
.wf-a-card__col--table .wf-table--a td:last-child {
  border-right: 0;
}

.wf-a-card__col--table .wf-table--a tbody tr:last-child td {
  border-bottom: 0;
}

.wf-a-card__col--table .wf-a-empty {
  padding: 18px 16px;
}

.wf-a-pic {
  width: 80px;
  height: 80px;
  border: 1px solid var(--wf-line);
  border-radius: 10px;
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wf-a-pic img { max-width: 100%; max-height: 100%; object-fit: contain; }

.wf-a-pic__ph {
  display: block;
  width: 48px;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'%3E%3Crect x='8' y='20' width='48' height='28' rx='2' stroke='%23ccc' stroke-width='2'/%3E%3Cpath d='M16 28h32M16 36h20' stroke='%23ccc' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
}

.wf-a-name {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.35;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

.wf-a-name:hover { color: #2563eb; }

.wf-a-fig {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--wf-muted);
}

.wf-a-bin,
.wf-a-loc {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--wf-muted);
}

.wf-a-loc:last-child {
  margin-bottom: 0;
}

.wf-a-table-cap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--wf-blue-soft);
  border: 1px solid var(--wf-blue-border);
  color: var(--wf-blue-deep);
  font-size: 12px;
  font-weight: 700;
}

.wf-table--a thead th {
  background: var(--wf-table-head-bg);
  border-color: var(--wf-table-head-bd);
  color: var(--wf-table-head-tx);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 9px 12px;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.wf-table--a tbody tr:nth-child(even) {
  background: #fafbfc;
}

.wf-table--a tbody tr.is-match {
  background: rgba(192, 255, 0, 0.08);
}

.wf-table--a tbody tr.is-match td:first-child {
  box-shadow: inset 3px 0 0 var(--wf-accent);
}

.wf-table--a th:last-child,
.wf-table--a td:last-child {
  max-width: 200px;
}

.wf-a-empty {
  margin: 0;
  font-size: 13px;
  color: #bfbfbf;
}

.wf-a-other {
  border-top: 1px solid #93c5fd;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  padding: 0 16px;
  box-shadow: inset 0 3px 0 #2563eb;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.wf-a-other--expanded {
  background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
  border-top-color: #3b82f6;
  box-shadow: inset 0 3px 0 #1d4ed8;
}

.wf-a-other__btn {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
  text-align: left;
}

.wf-a-other__text {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 400;
  color: #1e3a8a;
  line-height: 1.45;
}

.wf-a-other__action {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  white-space: nowrap;
}

.wf-a-other--expanded .wf-a-other__text {
  color: #1e40af;
}

.wf-a-other--expanded .wf-a-other__action {
  color: #1d4ed8;
}

.wf-a-other__panel {
  padding: 0 4px 14px;
  background: #f0f4f8;
}

.wf-table--a-with-model th:first-child,
.wf-table--a-with-model td.wf-table__model {
  width: 18%;
  min-width: 108px;
  font-weight: 600;
}

.wf-table--a tbody tr.wf-a-row--other td {
  background: #f8fafc;
}

.wf-table--a tbody tr.wf-a-row--other td.wf-table__model {
  color: var(--wf-violet-tx);
}

.wf-a-card--others-open .wf-table--a-others-open tbody tr.wf-a-row--other td {
  background: #eff6ff;
  border-top: 1px solid #bfdbfe;
}

.wf-a-card--others-open .wf-table--a-others-open tbody tr.wf-a-row--other td.wf-table__model {
  color: #1d4ed8;
}

.wf-a-card--others-open .wf-table--a-others-open tbody tr.wf-a-row--other:first-child td {
  border-top-width: 2px;
  border-top-color: #93c5fd;
}

.wf-a-other-block {
  background: #fff;
  border: 1px solid var(--wf-violet-bd);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.wf-a-other-block__title {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--wf-violet-bg);
  border: 1px solid var(--wf-violet-bd);
  color: var(--wf-violet-tx);
  font-weight: 700;
  font-size: 13px;
}

.wf-a-other-block .wf-c-fit__table-wrap {
  margin-top: 4px;
}

.wf-table--a-other {
  font-size: 13px;
}

/* ========== 图2 · 方案 B（仅结果区） ========== */
.wf-b-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 40px;
}

.wf-b-sheet {
  background: var(--wf-card);
  border: 1px solid var(--wf-line);
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 20px 24px 24px;
}

.wf-b-hit {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 15px;
}

.wf-b-hit__pill {
  padding: 2px 10px;
  border-radius: 4px;
  background: var(--wf-accent);
  color: var(--wf-text);
  font-size: 12px;
  font-weight: 600;
}

.wf-b-part + .wf-b-part {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--wf-line2);
}

.wf-b-part__profile {
  display: flex;
  gap: 20px;
  position: relative;
  align-items: flex-start;
}

.wf-b-part__img {
  width: 120px;
  height: 120px;
  flex: 0 0 120px;
  border: 1px solid var(--wf-line);
  border-radius: 6px;
  background: #fafafa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wf-b-part__img img { width: 100%; height: 100%; object-fit: cover; }
.wf-b-part__img-ph { width: 60px; height: 60px; background: #eee; border-radius: 4px; }

.wf-b-part__info { flex: 1; min-width: 0; padding-right: 72px; }

.wf-b-part__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.wf-b-part__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.wf-b-part__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border: 1px solid var(--wf-line);
  border-radius: 4px;
  color: var(--wf-text);
  font-size: 13px;
  font-weight: 600;
}

.wf-b-part__tag-label {
  color: var(--wf-muted);
  font-weight: 500;
}

.wf-b-dl { margin: 0; }
.wf-b-dl__row {
  display: flex;
  gap: 8px;
  font-size: 13px;
  line-height: 1.8;
}

.wf-b-dl__row dt {
  flex: 0 0 72px;
  margin: 0;
  color: var(--wf-muted);
}

.wf-b-dl__row dd { margin: 0; }

.wf-b-part__fold {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: none;
  color: var(--wf-muted);
  font-size: 13px;
  cursor: pointer;
}

.wf-b-part__rule {
  height: 1px;
  background: var(--wf-line2);
  margin: 20px 0 16px;
}

.wf-b-models-cap {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.wf-b-models-cap__title {
  font-size: 15px;
  font-weight: 700;
}

.wf-b-models-cap__sub {
  font-size: 12px;
  color: var(--wf-muted);
  margin-top: 2px;
}

.wf-b-model {
  border: 1px solid var(--wf-line);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
}

.wf-b-model.is-open {
  border-color: var(--wf-dark);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.wf-b-model__head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  background: #fafafa;
  cursor: pointer;
  text-align: left;
}

.wf-b-model.is-open .wf-b-model__head { background: var(--wf-accent-soft); }

.wf-b-model__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bfbfbf;
  flex-shrink: 0;
}

.wf-b-model__icon.is-on { color: var(--wf-text); }

.wf-b-model__name {
  font-size: 15px;
  font-weight: 700;
}

.wf-b-model.is-open .wf-b-model__name { color: var(--wf-text); }

.wf-b-model__pill {
  margin-left: auto;
  padding: 2px 10px;
  border-radius: 999px;
  background: #f5f5f5;
  font-size: 12px;
  color: var(--wf-muted);
}

.wf-b-model.is-open .wf-b-model__pill {
  background: var(--wf-accent);
  color: var(--wf-text);
}

.wf-b-model__chev { color: #999; font-size: 12px; margin-left: 8px; }

.wf-b-model__body { padding: 0 12px 12px; }

.wf-b-model__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wf-table--b th { background: #f5f5f5; }

.wf-b-more {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--wf-blue);
  font-size: 13px;
  cursor: pointer;
}

.wf-b-footnote {
  text-align: center;
  margin: 24px 0 0;
  font-size: 12px;
  color: #bfbfbf;
}

/* ========== 图3 · 方案 C 手机 ========== */
.wf-c {
  padding: 0 0 24px;
  background: var(--wf-bg);
}

.wf-search-body--mobile .wf-c-tabs {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
  padding: 0 12px;
  background: #fff;
}

.wf-c-tabs__btn {
  flex: 1;
  padding: 10px 8px;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  position: relative;
}

.wf-c-tabs__btn.is-active {
  color: var(--wf-text);
}

.wf-c-tabs__btn.is-active::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 0;
  height: 3px;
  background: var(--wf-accent);
  border-radius: 2px 2px 0 0;
}

.wf-search-body--mobile .wf-c-filter { padding: 8px 12px 10px; background: #fff; }

.wf-c-filter__row {
  display: flex;
  gap: 6px;
  align-items: stretch;
}

.wf-c-filter__row + .wf-c-filter__row {
  margin-top: 6px;
}

.wf-c-filter__row--model-year .wf-model-combobox--mobile {
  flex: 1;
  min-width: 0;
}

.wf-c-filter__row--model-year .wf-c-select--year {
  flex: 0 0 76px;
  width: 76px;
  min-width: 76px;
  padding: 0 6px;
}

.wf-c-filter__row--model-year .wf-c-adv-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  height: 36px;
  padding: 0 2px 0 0;
  border: 0;
  background: none;
  font-size: 12px;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
}

.wf-c-filter__row--actions {
  display: flex;
  justify-content: center;
}

.wf-c-filter__row--actions .wf-c-submit--main {
  display: inline-block;
  width: auto;
  min-width: 120px;
  padding: 0 28px;
  box-sizing: border-box;
  white-space: nowrap;
  min-height: 36px;
  font-size: 14px;
  border-radius: 6px;
}

.wf-c-filter__row--adv {
  margin-top: 6px;
}

.wf-c-filter__row--adv .wf-c-select--adv {
  flex: 1;
  min-width: 0;
  padding: 0 4px;
}

.wf-c-filter__row--model-year + .wf-c-filter__row--adv,
.wf-c-filter__row--adv + .wf-c-filter__row--actions,
.wf-c-filter__row--model-year + .wf-c-filter__summary,
.wf-c-filter__row--adv + .wf-c-filter__summary,
.wf-c-filter__summary + .wf-c-filter__row--actions,
.wf-c-filter__row--model-year + .wf-c-filter__row--actions {
  margin-top: 6px;
}

.wf-c-filter__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 2px 0;
  font-size: 12px;
  line-height: 1.4;
  color: #64748b;
}

.wf-c-filter__summary-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wf-c-filter__summary-clear {
  flex: 0 0 auto;
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
  color: var(--wf-blue);
  cursor: pointer;
}

.wf-c-filter__row--actions + .wf-c-quick-fold {
  margin-top: 6px;
}

.wf-c-adv-toggle__dot {
  color: var(--wf-blue);
  font-weight: 700;
}

.wf-c-adv-toggle__chev {
  font-size: 10px;
  color: #94a3b8;
}

.wf-c-quick-fold {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #f1f5f9;
}

.wf-c-quick-fold__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 2px 0;
  border: 0;
  background: none;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
}

.wf-c-quick-fold__meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #94a3b8;
  font-size: 11px;
}

.wf-c-quick-fold .wf-quick-models--mobile {
  margin-top: 6px;
  gap: 6px;
}

.wf-c-filter__row--category .wf-c-select {
  flex: 1;
}

.wf-c-filter--keyword .wf-c-search {
  margin: 0;
}

.wf-c-select {
  flex: 1;
  height: 36px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 0 8px;
  font-size: 16px;
  background: #fff;
}

.wf-c-filter__row--machine-type .wf-c-select--machine-type {
  flex: 1;
  width: 100%;
}

.wf-c-submit {
  flex: 0 0 52px;
  height: 36px;
  border: 0;
  border-radius: 6px;
  background: var(--wf-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.wf-search-body--mobile .wf-c-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 16px;
  padding: 0 8px 0 14px;
  height: 44px;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 22px;
}

.wf-c-submit--inline {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
}

.wf-c-search__input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
}

.wf-c-hint { padding: 16px; }

.wf-empty--mobile {
  border-radius: 10px;
  padding: 32px 16px;
  text-align: center;
  font-size: 14px;
}

.wf-c-results { padding: 10px 16px 0; }

.wf-c-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin: 0 0 10px;
  background: var(--wf-blue-soft);
  border: 1px solid var(--wf-blue-border);
  border-radius: var(--wf-radius-sm, 8px);
  font-size: 13px;
}

.wf-c-banner__i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--wf-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  line-height: 18px;
  text-align: center;
}

.wf-c-banner strong { color: var(--wf-text); }

.wf-c-group {
  margin-bottom: 4px;
}

.wf-c-strip__oe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.wf-c-card {
  border: 1px solid var(--wf-line);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.wf-c-card__hero {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.wf-c-card__pic {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border: 1px solid var(--wf-line2);
  border-radius: 8px;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wf-c-card__pic img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.wf-c-card__ph {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #e8e8e8;
}

.wf-c-card__hero-body {
  flex: 1;
  min-width: 0;
}

.wf-c-card__go {
  flex-shrink: 0;
  font-size: 22px;
  color: #cbd5e1;
  line-height: 1;
}

.wf-c-card__top {
  display: block;
}

.wf-c-card__name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  word-break: break-word;
}

.wf-c-card__bin {
  flex-shrink: 0;
}

.wf-c-card__bin-row {
  margin-top: 10px;
}

.wf-c-fit__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.wf-c-fit__head .wf-context-pill {
  margin-bottom: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.wf-c-fit__head .wf-c-card__bin {
  flex: 0 0 auto;
  margin-left: auto;
}

.wf-c-card__fig {
  margin: 8px 0 0;
}

.wf-c-fit {
  margin-top: 12px;
  padding: 0;
}

.wf-c-fit__table-wrap {
  margin-top: 8px;
  border: 1px solid var(--wf-line2);
  border-radius: 8px;
  overflow: hidden;
}

.wf-table--c {
  margin-top: 0;
  font-size: 12px;
}

.wf-c-fit__table-wrap .wf-table--c th,
.wf-c-fit__table-wrap .wf-table--c td {
  padding: 8px 6px;
  border-left: 0;
  border-right: 0;
}

.wf-c-fit__table-wrap .wf-table--c th {
  background: var(--wf-table-head-bg);
  border-color: var(--wf-table-head-bd);
  color: var(--wf-table-head-tx);
}

.wf-table--c th {
  background: var(--wf-table-head-bg);
  border-color: var(--wf-table-head-bd);
  color: var(--wf-table-head-tx);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.wf-table--c .wf-c-fit__data.is-match td {
  background: var(--wf-accent-soft);
}

.wf-table--c .wf-c-fit__data.is-match td:first-child {
  box-shadow: none;
}

.wf-c-fit__group--sep .wf-c-fit__data td {
  border-top: 1px solid var(--wf-line2);
}

.wf-c-fit__cond-tr .wf-c-fit__cond-cell {
  padding: 0 6px 10px;
  vertical-align: top;
  background: #fff;
}

.wf-c-fit__cond-tr:last-child .wf-c-fit__cond-cell {
  padding-bottom: 8px;
}

.wf-c-fit__cond {
  display: block;
  margin: 0;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  border-radius: 6px;
  word-break: break-word;
}

.wf-c-fit__cond--generic {
  color: #ea580c;
  background: #fffaf5;
  border-color: #fed7aa;
}

.wf-c-fit__table-wrap--other {
  margin-top: 6px;
}

.wf-c-fit__meta {
  line-height: 1.5;
  word-break: break-word;
}

.wf-c-fit__conds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  max-width: 100%;
}

.wf-badge--wrap {
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  line-height: 1.4;
}

.wf-c-other-wrap {
  margin-top: 10px;
}

.wf-c-other {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #93c5fd;
  border-radius: 8px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  cursor: pointer;
  text-align: left;
}

.wf-c-other__text {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 400;
  color: #1e3a8a;
  line-height: 1.45;
}

.wf-c-other__action {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  white-space: nowrap;
}

.wf-c-other-wrap--expanded .wf-c-other {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: #3b82f6;
}

.wf-c-other-wrap--expanded .wf-c-other__text {
  color: #1e40af;
}

.wf-c-other-wrap--expanded .wf-c-other__action {
  color: #1d4ed8;
}

.wf-c-other-wrap--expanded .wf-c-other__panel {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #93c5fd;
  border-radius: 8px;
  background: #f0f7ff;
}

.wf-table--c-other .wf-table__model {
  font-weight: 600;
  color: var(--wf-text);
  word-break: break-word;
  white-space: normal;
}

.wf-table--c-other th:first-child,
.wf-table--c-other td.wf-table__model {
  min-width: 4.5em;
}

.wf-table--c-other thead th,
.ps-detail-table-wrap .wf-table--c-other th {
  background: var(--wf-table-head-other-bg);
  border-color: var(--wf-table-head-other-bd);
  color: var(--wf-table-head-other-tx);
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.wf-c-block { margin-bottom: 16px; }

/* 手机端查配件：复用 wf-b 布局 */
.wf-b-body--in-c {
  max-width: none;
  margin: 0;
  padding: 0;
}

.wf-c .wf-b-sheet {
  border-radius: 10px;
  padding: 14px 12px 16px;
  box-shadow: none;
}

.wf-c .wf-b-hit {
  margin-bottom: 12px;
  font-size: 14px;
}

.wf-c .wf-b-part__profile {
  gap: 12px;
}

.wf-c .wf-b-part__img {
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
}

.wf-c .wf-b-part__info {
  padding-right: 56px;
}

.wf-c .wf-b-part__title {
  font-size: 16px;
}

.wf-c .wf-b-dl__row dt {
  flex: 0 0 4.5em;
}

.wf-c .wf-b-model__head-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
}

.wf-c .wf-b-model__head-row .wf-b-model__head {
  flex: 1;
  min-width: 0;
  gap: 6px;
  padding: 10px 8px 10px 10px;
}

.wf-c .wf-b-model__icon {
  display: none;
}

.wf-c .wf-b-model__name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.wf-c .wf-b-model__pill {
  margin-left: 0;
  flex-shrink: 0;
  padding: 1px 6px;
  font-size: 11px;
}

.wf-c .wf-b-model__chev {
  margin-left: auto;
  flex-shrink: 0;
}

.wf-c .wf-b-model__head-row .wf-btn-sheet--accent {
  flex-shrink: 0;
  align-self: center;
  margin: 0 8px 0 0;
}

.wf-c-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--wf-line);
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

.wf-c-strip__pic {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wf-c-strip__pic img { max-width: 100%; max-height: 100%; object-fit: contain; }

.wf-c-strip__ph {
  width: 40px;
  height: 40px;
  background: #e8e8e8;
  border-radius: 4px;
}

.wf-c-strip__body { flex: 1; min-width: 0; }
.wf-c-strip__name { font-size: 16px; font-weight: 700; }
.wf-c-strip__oe { font-size: 12px; color: #999; margin-top: 4px; }

.wf-c-strip__pill {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--wf-blue-soft);
  color: var(--wf-text);
  font-size: 12px;
  font-weight: 600;
}

.wf-c-strip__go { font-size: 22px; color: #ccc; }

.wf-c-vehicle {
  border: 1px solid var(--wf-line);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}

.wf-c-vehicle__head {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border: 0;
  background: #fff;
  cursor: pointer;
}

.wf-c-vehicle__title {
  flex: 1;
  min-width: 0;
  margin-right: 8px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--wf-text);
  line-height: 1.4;
  word-break: break-word;
}

.wf-c-vehicle__chev { color: #999; font-size: 14px; }

.wf-c-vehicle__inner {
  margin: 0 10px 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.wf-c-vehicle__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.wf-c-vehicle__row:last-child { border-bottom: 0; }

.wf-c-vehicle__main {
  flex: 1;
  min-width: 0;
}

.wf-c-vehicle__conds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  max-width: 100%;
}

.wf-c-vehicle__go { flex-shrink: 0; color: #ccc; font-size: 18px; line-height: 1.2; }

.wf-c-more {
  width: 100%;
  margin-top: 6px;
  padding: 8px;
  border: 0;
  background: none;
  color: var(--wf-blue);
  font-size: 13px;
  cursor: pointer;
}

.wf-c-footnote {
  text-align: center;
  font-size: 12px;
  color: #bfbfbf;
  margin-top: 16px;
}

/* ========== 空状态 / 加载 ========== */
.wf-empty-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.wf-empty {
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: var(--wf-radius);
  padding: 56px 24px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
  box-shadow: var(--wf-shadow-sm);
}

.wf-results__body--loading { opacity: 0.55; pointer-events: none; }

/* ========== 详情弹窗 / 灯箱 ========== */
.fm-modal.ps-detail-modal {
  max-width: min(96vw, 520px);
  padding: 16px;
}

.ps-detail-modal__head {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--wf-line2);
}

.ps-detail-modal__head h3 { margin: 0; font-size: 16px; color: var(--wf-blue-deep); }
.ps-detail-name { font-size: 18px; font-weight: 800; margin-top: 12px; color: var(--wf-text); }
.ps-detail-figure { margin-top: 10px; }

.ps-detail-label {
  font-size: 12px;
  color: var(--wf-label);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0.02em;
}

.ps-detail-block {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--wf-line2);
}

.ps-detail-block--meta {
  padding: 0;
  overflow: hidden;
}

.ps-detail-meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ps-detail-meta-table th,
.ps-detail-meta-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--wf-line2);
}

.ps-detail-meta-table tr:last-child th,
.ps-detail-meta-table tr:last-child td {
  border-bottom: 0;
}

.ps-detail-meta-table th {
  width: 4.5em;
  font-size: 12px;
  font-weight: 700;
  color: var(--wf-label);
  white-space: nowrap;
  background: #fff;
}

.ps-detail-meta-table td {
  color: var(--wf-text);
  font-weight: 500;
  line-height: 1.45;
}

.ps-detail-table-wrap {
  margin-top: 0;
}

.ps-detail-table-wrap .wf-table--c {
  font-size: 12px;
}

.ps-detail-table-wrap .wf-table--c th {
  background: var(--wf-table-head-bg);
  border-color: var(--wf-table-head-bd);
  color: var(--wf-table-head-tx);
}

.ps-detail-model-group + .ps-detail-model-group {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--wf-line2);
}

.ps-detail-model-group__title {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--wf-violet-bg);
  border: 1px solid var(--wf-violet-bd);
  color: var(--wf-violet-tx);
  font-size: 13px;
  font-weight: 700;
}

.ps-detail-model-group--other .ps-detail-model-group__title {
  background: #f8fafc;
  border-color: var(--wf-line2);
  color: var(--wf-text);
}

.ps-abc-current {
  background: #fff;
  border-radius: 6px;
  padding: 4px 0;
}

.ps-abc-adapt-row--card {
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  border: 1px solid var(--wf-line2);
  background: #fff;
}

.ps-abc-adapt-row--card:last-child { margin-bottom: 0; }

.ps-abc-adapt-row--card .ps-abc-condition {
  display: block;
  margin-top: 8px;
}

.ps-abc-model-block__title {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--wf-blue-soft);
  border: 1px solid var(--wf-blue-border);
  color: var(--wf-blue-deep);
  font-weight: 700;
  font-size: 13px;
}

.ps-detail-remark {
  font-size: 14px;
  color: var(--wf-text);
  line-height: 1.6;
}

.ps-detail-footer { margin-top: 14px; padding-top: 12px; border-top: 1px solid #eee; display: flex; justify-content: flex-end; gap: 8px; }

.ps-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-image-lightbox__frame img { max-width: 96vw; max-height: 82vh; object-fit: contain; }
.ps-image-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.ps-image-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.ps-image-lightbox__nav--prev { left: 8px; }
.ps-image-lightbox__nav--next { right: 8px; }

/* ========== 响应式：方案 A 窄屏堆叠 ========== */
@media (max-width: 900px) {
  .wf-a-card__cols {
    grid-template-columns: 1fr;
  }

  .wf-a-card__col {
    border-right: 0;
    border-bottom: 1px solid var(--wf-line2);
  }

  .wf-a-card__col--table {
    padding: 0;
  }

  .wf-a-card__col--table .wf-table--a th,
  .wf-a-card__col--table .wf-table--a td {
    border-left: 0;
    border-right: 0;
  }

  .wf-a-card__col:last-child { border-bottom: 0; }
}

@media (max-width: 768px) {
  .wf-desk__actions { display: none; }

  .wf-search-body-wrap {
    background: #fff;
    border-bottom: 1px solid var(--wf-line);
  }

  .wf-search-body--mobile .wf-c-filter .wf-c-quick-fold,
  .wf-search-body--mobile .wf-c-filter--keyword .wf-c-quick-fold {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #f1f5f9;
  }

  .wf-search-body--mobile .wf-c-filter .wf-quick-models--mobile,
  .wf-search-body--mobile .wf-c-filter--keyword .wf-quick-models--mobile {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    gap: 6px;
  }

  .wf-c-filter--keyword .wf-c-search {
    margin: 0;
  }

  .wf-search-body--mobile .wf-quick-models__label {
    flex: 0 0 auto;
    width: 2.2em;
    font-size: 11px;
    color: #94a3b8;
  }

  .wf-search-body--mobile .wf-quick-models__chip {
    padding: 4px 10px;
    font-size: 11px;
  }

  .wf-c-banner--with-action {
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
  }

  .wf-c-banner--with-action .wf-c-banner__main {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    line-height: 1.35;
  }

  .wf-c-banner--with-action .wf-c-banner__main strong {
    word-break: break-all;
  }

  .wf-c-banner--with-action .wf-banner-actions {
    flex-shrink: 0;
    margin-left: auto;
  }

  .wf-c-banner--with-action .wf-btn-sheet--sm {
    padding: 5px 10px;
    font-size: 11px;
    white-space: nowrap;
  }

  .wf-c-card {
    margin-bottom: 10px;
  }

  .wf-c-card:first-of-type {
    margin-top: 0;
  }
}

/* ========== 配件表弹窗 / 查看此车配件 ========== */
.wf-a-banner--with-action,
.wf-c-banner--with-action {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.wf-a-banner__main,
.wf-c-banner__main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.wf-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.wf-btn-sheet {
  flex: 0 0 auto;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  border-radius: var(--wf-radius-sm);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--wf-shadow-sm);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.wf-btn-sheet:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
  box-shadow: var(--wf-shadow-md);
}
.wf-btn-sheet--sm { padding: 6px 10px; font-size: 12px; }
.wf-btn-sheet--inline { margin-left: auto; margin-right: 6px; }
.wf-btn-sheet--compact {
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
  border-radius: 3px;
}

.wf-btn-sheet--accent {
  border: 1px solid var(--wf-accent-bd, #d8f56a);
  border-radius: 8px;
  background: linear-gradient(135deg, #e8f5c8 0%, var(--wf-accent-soft, #f4fce3) 55%, #fafdf6 100%);
  color: #1a5c34;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(76, 124, 42, 0.12);
  text-shadow: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease, border-color 0.2s ease;
}

.wf-btn-sheet--accent:hover {
  background: linear-gradient(135deg, #d8f56a 0%, #e8f5c8 48%, var(--wf-accent-soft, #f4fce3) 100%);
  border-color: var(--wf-accent, #c0ff00);
  color: #111;
  box-shadow: 0 3px 10px rgba(76, 124, 42, 0.18);
}

.wf-btn-sheet--accent:active {
  transform: scale(0.98);
}

.wf-btn-sheet--accent.wf-btn-sheet--compact {
  padding: 6px 10px;
  font-size: 11px;
  line-height: 1.35;
  border-radius: 8px;
}

.wf-btn-sheet--accent.wf-btn-sheet--sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
}

.wf-b-model__head-row .wf-btn-sheet--compact,
.wf-c-vehicle__head-row .wf-btn-sheet--compact {
  flex-shrink: 0;
  align-self: center;
}

.wf-b-model__head-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wf-b-model__head-row .wf-b-model__head { flex: 1 1 auto; min-width: 0; }

.wf-c-vehicle__head-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wf-c-vehicle__head-row .wf-c-vehicle__head { flex: 1 1 auto; min-width: 0; }

.wf-c-vehicle__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wf-c-vehicle__inner .wf-table--keyword-vehicle {
  width: 100%;
  min-width: 300px;
  margin: 0;
  font-size: 12px;
}

.wf-c-vehicle__inner .wf-table--keyword-vehicle th {
  background: var(--wf-table-head-bg);
  border-color: var(--wf-table-head-bd);
  color: var(--wf-table-head-tx);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.wf-c-vehicle__inner .wf-table--keyword-vehicle th,
.wf-c-vehicle__inner .wf-table--keyword-vehicle td {
  padding: 8px 6px;
  border-color: #eee;
  vertical-align: top;
  word-break: break-word;
}

.wf-sheet-backdrop {
  z-index: 1200;
  overflow: hidden;
}

/* 覆盖 .fm-modal 的 overflow:auto，避免与表体、表格区三重滚动条 */
.fm-modal.wf-sheet-modal {
  width: min(96vw, 1200px);
  max-width: 96vw;
  max-height: 90vh;
  height: min(90vh, 100%);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

body.wf-sheet-open {
  overflow: hidden;
}

.wf-sheet-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--fm-border, #eee);
}

.wf-sheet-modal__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.wf-sheet-modal__sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--wf-muted, #888);
}

.wf-sheet-modal__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.wf-sheet-modal__filter {
  padding: 0;
  border: none;
  background: none;
}

.wf-sheet-modal__filter-head {
  display: none;
}

.wf-sheet-modal__filter-icon {
  display: none;
}

.wf-sheet-modal__filter-title {
  display: none;
}

.wf-sheet-modal__select-wrap {
  position: relative;
}

.wf-sheet-modal__select {
  width: 100%;
  height: 42px;
  padding: 0 40px 0 14px;
  border: 1px solid var(--wf-line, #e8e8e8);
  border-radius: 10px;
  background: #fff;
  color: var(--wf-text, #000);
  font-size: 14px;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.wf-sheet-modal__select:hover:not(:disabled) {
  border-color: var(--wf-accent-bd, #d8f56a);
}

.wf-sheet-modal__select:focus {
  outline: none;
  border-color: var(--wf-accent, #c0ff00);
  box-shadow: 0 0 0 3px rgba(192, 255, 0, 0.25);
}

.wf-sheet-modal__select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #f8f8f8;
}

.wf-sheet-modal__select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--wf-accent-soft, #f4fce3);
  color: var(--wf-text, #000);
  pointer-events: none;
}

.wf-sheet-modal__body {
  padding: 0 20px 20px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

.wf-sheet-table-wrap {
  flex: 0 0 auto;
  min-height: 0;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}

.wf-table--sheet {
  width: 100%;
  min-width: 1120px;
  font-size: 13px;
}

.wf-table--sheet th,
.wf-table--sheet td {
  white-space: nowrap;
  vertical-align: top;
}

.wf-table--sheet td:nth-child(2),
.wf-table--sheet td:nth-child(7),
.wf-table--sheet td:nth-child(10),
.wf-table--sheet td:nth-child(12) {
  white-space: normal;
  min-width: 120px;
  max-width: 220px;
}

.wf-table--sheet tbody tr.wf-sheet-row--has-cond td {
  background: #e4e4e4;
}

.wf-table--sheet tbody tr.wf-sheet-row--has-cond:nth-child(even) td {
  background: #d6d6d6;
}

.wf-c-card__meta {
  margin-top: 8px;
}

.wf-c-strip__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--wf-muted, #888);
  line-height: 1.45;
}

.wf-c-strip__meta span span {
  color: var(--wf-text, #333);
}

.wf-sheet-empty {
  padding: 32px 0;
  text-align: center;
}

@media (max-width: 768px) {
  .fm-modal.wf-sheet-modal {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }

  .wf-sheet-modal__head,
  .wf-sheet-modal__toolbar,
  .wf-sheet-select-bar {
    flex-shrink: 0;
  }

  .wf-sheet-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
  }

  .wf-sheet-modal__head {
    flex-direction: column;
    align-items: stretch;
  }

  .wf-sheet-modal__actions {
    justify-content: flex-end;
    width: 100%;
  }

  .wf-sheet-modal__actions .fm-btn-primary {
    flex: 1 1 auto;
    min-width: 0;
  }

  .wf-sheet-modal__toolbar {
    padding: 8px 14px;
    gap: 8px 10px;
  }

  .wf-sheet-modal__select--compact {
    min-width: 96px;
    max-width: 46vw;
  }

  .wf-sheet-select-bar {
    padding-left: 14px;
    padding-right: 14px;
  }

  .wf-sheet-quality {
    white-space: normal;
  }

  .wf-sheet-toolbar-hint-group {
    margin-left: 0;
    flex: 1 1 100%;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .wf-sheet-toolbar-hint {
    text-align: left;
  }

  .wf-sheet-toolbar-hint-btn {
    width: 100%;
  }
}

/* ========== 详情图库 / 灯箱 ========== */
.ps-detail-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ps-detail-thumb {
  padding: 0;
  border: 1px solid var(--wf-line2);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.ps-detail-thumb .fm-img {
  width: 72px;
  height: 72px;
}

.ps-detail-thumb:focus-visible {
  outline: 2px solid var(--wf-blue-deep);
  outline-offset: 2px;
}

.ps-image-lightbox__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}

.ps-image-lightbox__open-tab {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.ps-image-lightbox__hint {
  opacity: 0.75;
  font-size: 12px;
}

@media (max-width: 768px) {
  .ps-image-lightbox__hint { display: none; }

  .ps-image-lightbox__nav {
    width: 44px;
    height: 44px;
  }
}

/* ========== 联系广告卡片 ========== */
.ps-contact-card {
  border: 1px solid var(--wf-line, #e8e8e8);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  padding: 16px;
  overflow: hidden;
}

.ps-contact-card__banner {
  margin: -16px -16px 14px;
  overflow: hidden;
  border-bottom: 1px solid var(--wf-line2, #e8ecf0);
  background: #f7f9fc;
  aspect-ratio: 1200 / 180;
}

.ps-contact-card__banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ps-contact-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--wf-line2, #e8ecf0);
}

.ps-contact-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #e6f4ff 0%, #f7fbff 100%);
  color: #1677ff;
  border: 1px solid #d6e8ff;
}

.ps-contact-card__title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--wf-text, #1e293b);
  line-height: 1.3;
}

.ps-contact-card__sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--wf-muted, #64748b);
  line-height: 1.45;
}

.ps-contact-card__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 768px) {
  .ps-contact-card__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

.ps-contact-person {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--wf-line2, #e8ecf0);
}

.ps-contact-person__qr {
  flex: 0 0 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.ps-contact-person__qr img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border: 1px solid var(--wf-line2, #e8ecf0);
  border-radius: 10px;
  background: #fff;
  padding: 4px;
  box-sizing: border-box;
}

.ps-contact-person__qr-hint {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--wf-muted, #64748b);
  line-height: 1.3;
}

.ps-contact-person__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.ps-contact-person__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--wf-text, #1e293b);
  margin: 0;
  line-height: 1.35;
}

.ps-contact-person__lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ps-contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid #e8ecf0;
  background: #fafbfc;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ps-contact-line__label {
  flex: 0 0 2.5em;
  font-size: 12px;
  font-weight: 700;
  color: var(--wf-label, #64748b);
}

.ps-contact-line__value {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  word-break: break-all;
}

.ps-contact-line__action {
  flex: 0 0 auto;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid #91caff;
  background: linear-gradient(135deg, #1677ff 0%, #69b1ff 50%, #f0f7ff 100%);
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.ps-contact-line--tel {
  color: #1e293b;
}

.ps-contact-line--tel .ps-contact-line__value {
  color: #1677ff;
}

.ps-contact-line--tel:hover {
  background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
  border-color: #91caff;
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.1);
}

.ps-contact-line--wechat {
  color: #1e293b;
}

.ps-contact-line--wechat:hover {
  background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
  border-color: #91caff;
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.1);
}

.ps-contact-extra {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--wf-line2, #e8ecf0);
  font-size: 13px;
  line-height: 1.55;
  color: var(--wf-text, #334155);
}

.ps-contact-extra__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--wf-muted, #64748b);
  margin-bottom: 4px;
}

.ps-contact-extra--note {
  white-space: pre-wrap;
}

.ps-share-page__qr-row {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.ps-share-page__qr-box {
  flex: 0 0 auto;
  padding: 10px;
  border: 1px solid var(--wf-line2, #e8ecf0);
  border-radius: 12px;
  background: #fff;
}

.ps-share-context-banner {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  font-size: 14px;
  line-height: 1.6;
}

.fm-tag--accent {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.ps-share-dialog-backdrop {
  z-index: 12050;
}

.ps-share-dialog {
  max-width: 520px;
  width: calc(100% - 24px);
}

.ps-share-dialog__body {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 12px;
}

.ps-share-dialog__qr canvas {
  display: block;
  border-radius: 8px;
}

.ps-share-dialog__meta {
  flex: 1 1 220px;
  min-width: 0;
}

.ps-share-dialog__text,
.ps-share-page__text {
  width: 100%;
  font-size: 12px;
  line-height: 1.6;
  resize: vertical;
  min-height: 120px;
}

.ps-share-dialog__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.ps-contact-inquiry {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #fde68a;
  background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
}

.ps-contact-inquiry--compact {
  padding: 12px;
}

.ps-contact-inquiry__title {
  font-weight: 700;
  color: #92400e;
  margin-bottom: 8px;
}

.ps-contact-inquiry__preview {
  margin: 0 0 10px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #f3f4f6;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  color: #334155;
}

.ps-contact-inquiry__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.wf-sheet-modal__toolbar {
  display: flex;
  gap: 10px 16px;
  flex-wrap: wrap;
  align-items: center;
  padding: 8px 20px;
  border-bottom: 1px solid var(--wf-line2, #e8ecf0);
}

.wf-sheet-toolbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  color: var(--wf-muted, #64748b);
}

.wf-sheet-toolbar-item__label {
  flex-shrink: 0;
  white-space: nowrap;
}

.wf-sheet-toolbar-hint-group {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 280px;
  max-width: min(100%, 560px);
  min-width: 0;
  justify-content: flex-end;
}

.wf-sheet-toolbar-hint {
  flex: 1 1 auto;
  min-width: 0;
  margin-bottom: 0;
  padding: 2px 0;
  text-align: right;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
  color: #92400e;
}

.wf-sheet-toolbar-hint-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.wf-sheet-modal__select--compact {
  width: auto;
  min-width: 108px;
  max-width: min(42vw, 200px);
  height: 32px;
  padding: 0 28px 0 10px;
  font-size: 13px;
  border-radius: 8px;
}

.wf-sheet-modal__modes {
  display: contents;
}

.wf-sheet-mode {
  display: contents;
}

.wf-sheet-quality {
  font-size: 12px;
  color: var(--wf-muted, #64748b);
  padding: 0;
  line-height: 1.4;
  white-space: nowrap;
}

.wf-sheet-groups {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wf-sheet-group__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--wf-line2, #e8ecf0);
  border-radius: 10px;
  background: #f8fafc;
  font-weight: 700;
  cursor: pointer;
}

.wf-sheet-group__toggle {
  margin-left: auto;
  font-size: 12px;
  color: #2563eb;
  font-weight: 600;
}

.wf-sheet-badge {
  display: inline-block;
  margin-right: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 11px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.wf-sheet-row--no-image {
  background: #fffbeb;
}

.wf-sheet-row--no-bin {
  background: #fff7ed;
}

.wf-sheet-contact {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--wf-line2, #e8ecf0);
}

.wf-sheet-select-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 6px 20px 4px;
  font-size: 13px;
}

.wf-sheet-clear-sel {
  margin-left: auto;
}

.wf-sheet-select-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

.wf-sheet-col-check {
  width: 36px;
  min-width: 36px;
  text-align: center;
  vertical-align: middle;
}

.wf-sheet-col-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

@media (max-width: 420px) {
  .ps-contact-person {
    gap: 10px;
    padding: 10px;
  }

  .ps-contact-person__qr {
    flex: 0 0 76px;
  }

  .ps-contact-person__qr img {
    width: 76px;
    height: 76px;
    padding: 3px;
  }

  .ps-contact-person__qr-hint {
    font-size: 10px;
  }

  .ps-contact-person__name {
    font-size: 14px;
  }

  .ps-contact-person__lines {
    gap: 5px;
  }

  .ps-contact-line {
    padding: 8px 10px;
    font-size: 13px;
  }

  .ps-contact-line__label {
    flex: 0 0 2.2em;
    font-size: 11px;
  }
}

/* ========== 前台搜索 UI 补充 ========== */
.wf-quick-models {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 0;
}

.wf-quick-models--mobile {
  margin-top: 0;
}

.wf-quick-models__label {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.wf-quick-models__chip {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.wf-quick-models__chip:hover {
  background: var(--wf-accent-soft);
  border-color: var(--wf-accent-bd);
  color: #0f172a;
}

.wf-quick-models--inline {
  flex: 1 1 100%;
  margin-top: 6px;
  padding: 0 12px 8px;
}

.wf-btn-sheet--link {
  color: #2563eb;
  border-color: #bfdbfe;
  background: #f8fbff;
}

.wf-btn-sheet--link:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.wf-meta__label {
  padding: 2px 8px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #64748b;
  min-width: auto;
}

.wf-copy-btn {
  padding: 2px 8px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 500;
}

.wf-copy-btn:hover {
  background: #e2e8f0;
  text-decoration: none;
}

.wf-page .fm-pager .fm-btn {
  border-radius: var(--wf-radius-sm);
  border-color: #cbd5e1;
  background: #fff;
  box-shadow: var(--wf-shadow-sm);
}

.wf-page .fm-pager .fm-btn:hover:not(:disabled) {
  border-color: #94a3b8;
  background: #f8fafc;
}

.wf-c-banner {
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow-sm);
  background: linear-gradient(90deg, #f8fafc 0%, #fff 100%);
  border: 1px solid var(--wf-blue-border);
}
