/* =========================================================
   聚合庄运价数据平台 · 前端样式（Apple 扁平风）
   设计令牌：品牌蓝 #0066cc / 墨色 #1d1d1f / 纸感 #f5f5f7
   ========================================================= */
:root {
  --brand: #0066cc;
  --brand-bright: #2997ff;
  --ink: #1d1d1f;
  --gray: #86868b;
  --line: #e2e2e7;
  --parchment: #f5f5f7;
  --pearl: #fafafc;
  --green: #34c759;
  --orange: #ff9500;
  --red: #ff3b30;
  /* LOGO 品牌红与双色调色阶（品牌标识专用；告警语义请用 --red，勿混用） */
  --accent-red: #d7263d;
  --accent-red-top: #e85c68;
  --brand-top: #4e9be8;
  --brand-bright-top: #7cc0ff;
  --ink-top: #3a3a3c;
  --card: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.05);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
          "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92vw); margin: 0 auto; }
.section-title {
  font-size: 28px; font-weight: 700; text-align: center;
  margin: 0 0 36px; letter-spacing: -.02em;
}
/* 平台三做三不做 标题加大 */
.dos .section-title { font-size: 36px; margin: 0 0 44px; }

/* ===== 导航 ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: min(1120px, 92vw); margin: 0 auto;
  height: 60px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-logo { height: 38px; width: auto; display: block; }
.site-brand-logo { height: 38px; width: auto; display: block; }
.brand-text { display: none; }
.nav-links { display: flex; gap: 26px; margin-left: 8px; }
.nav-links a { color: var(--gray); font-size: 15px; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  background: var(--brand); color: #fff;
  padding: 9px 20px; border-radius: 9999px; font-size: 14px; font-weight: 600;
  transition: background .2s;
}
.nav-cta:hover { background: var(--brand-bright); }
/* 导航右侧：登录 / 注册 / 免费查询 分组 */
.nav-auth {
  margin-left: auto; display: flex; align-items: center; gap: 12px;
}
.nav-link-auth {
  color: var(--ink); font-size: 14px; font-weight: 500;
  padding: 9px 4px; transition: color .2s;
}
.nav-link-auth:hover { color: var(--brand); }
/* 次级描边按钮（免费注册） */
.nav-cta-ghost {
  background: transparent; color: var(--brand);
  border: 1px solid rgba(0,102,204,.35);
}
.nav-cta-ghost:hover { background: rgba(0,102,204,.06); }
/* 登录态：显示的公司 / 用户名 */
.nav-user {
  font-size: 14px; font-weight: 600; color: var(--ink);
  max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* 退出按钮（与登录链接同款文字样式，但不跳转） */
.nav-logout {
  background: none; border: none; cursor: pointer; font-family: inherit;
  color: var(--ink); font-size: 14px; font-weight: 500; padding: 9px 4px;
  transition: color .2s;
}
.nav-logout:hover { color: var(--red); }

/* ===== Hero（Linear/Apple 极简风 · 单栏居中 · 主标题 80px） ===== */
.hero { background: #fff; padding: 96px 0; }
.hero-inner {
  width: min(1000px, 92vw); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px;
}
.hero-badge {
  display: inline-block; background: rgba(0,102,204,.08); color: var(--brand);
  font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 9999px;
}
.hero-title {
  font-size: 56px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em;
  margin: 0; color: var(--ink); max-width: 820px; white-space: nowrap;
}
.hero-sub { font-size: 18px; color: var(--gray); margin: 0; line-height: 1.6; max-width: 640px; }

.search-box {
  width: min(880px, 100%); background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); margin-top: 4px;
}
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tab {
  flex: 1; padding: 9px 0; border: none; background: var(--parchment);
  border-radius: 9999px; font-size: 14px; color: var(--ink);
  font-family: var(--font); cursor: pointer; transition: all .2s;
}
.tab.active { background: var(--brand); color: #fff; font-weight: 600; }
.tab.is-dev { opacity: .55; cursor: not-allowed; }
.tab .tab-dev {
  display: inline-block; font-style: normal; font-size: 11px; line-height: 1;
  margin-left: 5px; padding: 2px 7px; border-radius: 9999px;
  background: rgba(120, 120, 120, .14); color: var(--gray); vertical-align: 1px;
}
.search-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; position: relative; text-align: left; }
.field label { font-size: 12px; color: var(--gray); }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 15px; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 14px; background: #fff; outline: none; transition: border .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); z-index: 1; }

/* 港口自动联想浮层 */
.ac-list {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 30;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,.12); max-height: 280px; overflow-y: auto;
  padding: 4px;
}
.ac-item { padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.ac-item:hover, .ac-item.active { background: rgba(0,102,204,.07); }
.ac-main { font-size: 14px; font-weight: 600; color: var(--ink); }
.ac-en { font-size: 12px; font-weight: 400; color: var(--gray); margin-left: 2px; }
.ac-sub { font-size: 11px; color: var(--gray); margin-top: 2px; }
.ac-empty { padding: 10px; font-size: 13px; color: var(--gray); text-align: center; }

/* 运价录入「待核对」标记（港口/船司未命中受控字典） */
.review-tag {
  display: inline-block; margin-left: 6px; padding: 1px 6px; font-size: 11px; font-weight: 600;
  line-height: 1.5; color: #8a5a00; background: #fff4d6; border: 1px solid #f0c869; border-radius: 999px; vertical-align: middle;
}
.search-btn {
  background: var(--brand); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: 13px 26px; font-size: 16px;
  font-weight: 600; font-family: var(--font); cursor: pointer; transition: background .2s; white-space: nowrap;
}
.search-btn:hover { background: var(--brand-bright); }
.search-btn:disabled { opacity: .6; cursor: default; }
.hot-tags { margin-top: 14px; font-size: 13px; color: var(--gray); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hot-tags a { color: var(--brand); }
.hot-tags a:hover { text-decoration: underline; }

.hero-trust { font-size: 13px; color: var(--gray); margin: 0; }

/* ===== 结果区 ===== */
.results-section { background: #fff; padding: 56px 0; border-top: 1px solid var(--line); }
.results-head { margin-bottom: 22px; }
.results-head h2 { font-size: 24px; font-weight: 700; margin: 0 0 4px; }
.results-meta { color: var(--gray); font-size: 14px; margin: 0; }

/* 行表头（与运价 row 列宽对齐） */
.results-header {
  display: grid;
  /* 2026-09-04 压缩版（加 45HQ 后列数增多）：固定列总宽 + 4 个价格列（minmax(0,1fr) 可收缩）+ 操作列
     之前 36+92+140+110+120+180+132 = 810 + gap×10=140 + padding×2=36 = 986 + 4fr → 1280 视口装不下
     现改为 36+88+96+84+96+138+108 = 646 + gap×10=100 + padding×2=20 = 766 + 4fr → 1280 视口下 4fr≈128px/列
     价格用 minmax(0,1fr) 允许收缩，操作列 minmax(108,0.6fr) 稍宽容下 3 个按钮 */
  grid-template-columns: 36px 94px minmax(96px,1.1fr) minmax(84px,0.8fr) minmax(96px,1.1fr) minmax(138px,1.3fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(108px,0.6fr);
  gap: 10px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  background: var(--parchment);
  border-radius: var(--radius-sm);
  align-items: center;
  margin-bottom: 12px;
}
.results-header > span { white-space: nowrap; }
.results-header .h-prices { text-align: center; }
.results-body { display: flex; flex-direction: column; gap: 8px; }

.empty, .error { padding: 40px; text-align: center; color: var(--gray); background: var(--parchment); border-radius: var(--radius); }
.error { color: var(--red); }

/* 单条运价·水平 row */
.rate-row {
  display: grid;
  /* 与 .results-header 同步：价格扩为 4 档（20GP/40GP/40HQ/45HQ），所有列宽已压缩避免横向溢出 */
  grid-template-columns: 36px 94px minmax(96px,1.1fr) minmax(84px,0.8fr) minmax(96px,1.1fr) minmax(138px,1.3fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(108px,0.6fr);
  gap: 10px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.rate-row:hover { border-color: var(--brand); box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.rate-row.expired { opacity: .62; background: #fafafc; }
.rate-row.is-selected { border-color: var(--brand); background: rgba(0,102,204,.05); box-shadow: inset 4px 0 0 var(--brand), 0 0 0 1px var(--brand); }

/* 同商家合并分组：一条航线某商家挂多条运价时收成一个组，避免「一排全是他们家」刷屏 */
.merchant-group {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  overflow: hidden;
}
.merchant-group + .merchant-group { margin-top: 10px; }
.mg-head {
  display: flex; align-items: center; gap: 14px;
  padding: 9px 18px;
  background: linear-gradient(180deg, #f6faff, #fff);
  border-bottom: 1px solid var(--line);
}
.mg-co { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mg-mark {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .02em; flex: none;
}
.mg-name { font-weight: 700; font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-meta { font-size: 12px; color: var(--gray); white-space: nowrap; }
.mg-best { margin-left: 4px; font-size: 13px; color: var(--ink); white-space: nowrap; }
.mg-best b { color: var(--brand); }
.mg-best-sub { font-size: 11px; color: var(--gray); font-weight: 500; margin-left: 2px; }
.mg-toggle {
  margin-left: auto;
  background: rgba(0,102,204,.08); color: var(--brand);
  border: 1px solid rgba(0,102,204,.25);
  padding: 6px 14px; border-radius: 9999px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .2s;
}
.mg-toggle:hover { background: rgba(0,102,204,.16); }
.mg-toggle--alone { background: none; border: none; color: var(--gray); cursor: default; font-weight: 500; }
.mg-rows > .rate-row:first-child { border-left: 3px solid var(--brand); border-radius: 0; }
.mg-rows .rate-row {
  border: none; border-radius: 0;
  border-bottom: 1px solid var(--line);
  padding-left: 15px;
}
.mg-rows .rate-row:last-child { border-bottom: none; }
.mg-rows .rate-row:hover { background: #fafaff; }
.mg-extra { background: #fcfcfe; }

/* 空运结果行：重量档独立网格（与海运 10 列错开） */
.results-header--air {
  grid-template-columns: 92px minmax(120px,1.1fr) minmax(120px,1.1fr) 110px repeat(5, 1fr) 1fr 150px 132px;
}
.rate-row--air {
  grid-template-columns: 92px minmax(120px,1.1fr) minmax(120px,1.1fr) 110px repeat(5, 1fr) 1fr 150px 132px;
  gap: 12px;
}
.air-wt { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; text-align: right; }
.air-wt .price-cur { font-size: 11px; font-weight: 600; color: var(--red); margin-right: 1px; opacity: .85; }
.air-wt__unit { font-size: 10px; font-weight: 600; color: var(--gray); margin-left: 2px; }
.air-wt--empty { color: var(--gray); font-weight: 500; }

.rate-row__check { display: flex; justify-content: center; align-items: center; }
.rate-row__check input { width: 18px; height: 18px; cursor: pointer; accent-color: var(--brand); }
.rate-row__carrier { display: flex; align-items: center; gap: 10px; min-width: 0; }
.carrier-mark {
  /* 2026-09-04：36 → 32px，给船司名称让出宽度（88px 列下原本 mark+name 会被截断成 "COSCOSCO"） */
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #ff3b30 0%, #ff9500 100%);
  color: #fff; font-weight: 800; font-size: 12px; letter-spacing: -.5px;
  flex-shrink: 0;
}
.carrier-name { font-size: 13px; font-weight: 700; line-height: 1.2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rate-row__cell { min-width: 0; }
.cell-main { font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell-sub { font-size: 11px; color: var(--gray); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rate-row__schedule .cell-main { font-weight: 600; }
.cut-emphasis { color: var(--red); font-weight: 700; }
.transit-tag { display: inline-block; padding: 0 6px; background: rgba(255,149,0,.12); color: #c66800; border-radius: 4px; font-size: 10px; font-weight: 600; margin-right: 4px; vertical-align: 1px; }
.transit-bar { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

.price-cell {
  font-size: 16px; font-weight: 700; color: var(--red);
  text-align: center; font-variant-numeric: tabular-nums;
  white-space: nowrap;
  border-left: 1px dashed var(--line);
}
/* 🔧 2026-09-04 价格区视觉分组：给每个价格格浅底圆角，
   让 4 个箱型价从"一排孤立数字"变成整齐的「价格区块」，与其他信息列区分开。
   有底色后，原来用于分隔的竖虚线就不再需要（底色 + 虚线并存会显得杂乱）。 */
.price-cell.price-cell-col:not(.merged) {
  background: #f7f9fb;
  border-radius: 8px;
  padding: 7px 2px;
  border-left-color: transparent;
}
.price-cell.price-cell-col:first-child { border-left: none; }
.price-cell .price-cur { font-size: 11px; font-weight: 600; color: var(--red); margin-right: 1px; opacity: .85; }

/* 空箱型价：胶囊化"询价"，去掉左侧 dashed 边避免成为孤立方块 */
.price-cell.empty { color: transparent; border-left-color: transparent; }
.price-cell .pc-empty {
  display: inline-block;
  padding: 2px 10px;
  background: #f2f2f5;
  color: #86868b;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  white-space: nowrap;
}

/* 三档全空 / 部分填 合并为一格：占最后 4 个价格列（行内位置：第 7 个子元素起跨 4 列） */
.price-cell.empty.merged {
  grid-column: 7 / span 4;
  background: #fafafc;
  border: 1px dashed #e2e2e7;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 6px;
  color: var(--ink);
  min-width: 0;
}
.price-cell.empty.merged .pc-base {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-cell.empty.merged .pc-base .price-cur { color: inherit; }
.price-cell.empty.merged .pc-empty-mini {
  font-size: 11px;
  color: var(--gray);
  font-weight: 500;
  white-space: nowrap;
}
/* 部分填充：多个 pc-base 用细分隔符隔开；已填价仍用红色突显 */
.price-cell.empty.merged.partial { gap: 10px; }
.price-cell.empty.merged.partial .pc-base {
  display: inline-flex; align-items: baseline; gap: 2px;
  color: var(--red);
}
.price-cell.empty.merged.partial .pc-base .price-cur { color: var(--red); opacity: .9; }
.price-cell.empty.merged.partial .pc-base + .pc-base::before {
  content: "·"; color: #c2c2c7; margin-right: 6px; font-weight: 500;
}

.rate-row__actions { display: flex; flex-direction: column; gap: 5px; align-items: stretch; min-width: 0; }
.row-btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 6px; padding: 5px 8px; font-size: 12px; font-weight: 600;
  font-family: var(--font); cursor: pointer; transition: all .2s;
  text-align: center; white-space: nowrap;
}
.row-btn:hover { border-color: var(--brand); color: var(--brand); }
.row-btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; font-size: 13.5px; padding: 8px 12px; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,102,204,.2); }
.row-btn.primary:hover { background: var(--brand-bright); border-color: var(--brand-bright); filter: brightness(1.05); }

/* 行内展开的明细面板 */
.rate-row + .rate-detail { margin-top: -2px; }
.rate-detail {
  display: none;
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--parchment);
  padding: 14px 18px 16px;
  font-size: 13px;
}
.rate-detail.open { display: block; }
.rate-detail-empty { color: var(--gray); }
/* 明细面板底部的询价 CTA（2026-09-08）：明细的归宿是「询价」，不是「看完就走」 */
.detail-cta { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.detail-cta .dc-txt { flex: 1; min-width: 220px; font-size: 12.5px; color: var(--gray); line-height: 1.6; }
.detail-cta .dc-txt b { color: var(--ink); }
.detail-cta .row-btn.primary { white-space: nowrap; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.detail-section h4 { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.detail-section .mini { color: var(--gray); font-size: 12px; }
.detail-fees { width: 100%; border-collapse: collapse; font-size: 12px; }
.detail-fees th, .detail-fees td { padding: 5px 0; border-bottom: 1px dashed #e2e2e7; }
.detail-fees .amt { text-align: right; font-variant-numeric: tabular-nums; }
.detail-fees .total { font-weight: 700; color: var(--brand); }
.detail-toggle {
  font-size: 12px; color: var(--brand); background: none; border: none; cursor: pointer;
  font-family: var(--font); padding: 0;
}

/* 窄屏折叠为卡片模式 */
@media (max-width: 1024px) {
  .results-header { display: none; }
  .rate-row {
    grid-template-columns: 36px 1fr 1fr;
    grid-template-areas:
      "check carrier actions"
      "from  from    actions"
      "transit to    actions"
      "schedule schedule schedule"
      "prices prices prices";
    gap: 8px 14px;
  }
  .rate-row__check { grid-area: check; }
  .rate-row__carrier { grid-area: carrier; }
  .rate-row__actions { grid-area: actions; flex-direction: row; gap: 6px; align-items: flex-start; }
  .rate-row__from { grid-area: from; }
  .rate-row__transit { grid-area: transit; }
  .rate-row__to { grid-area: to; }
  .rate-row__schedule { grid-area: schedule; }
  /* 窄屏：三档价跨越整行，恢复 flex 横向三列 + 上边虚线分隔 */
  .price-cell.price-cell-col {
    grid-area: prices;
    border-top: 1px dashed var(--line);
    border-left: none;
    padding-top: 6px;
  }
  /* 空运窄屏：重量档回退为 2 列流式排布 */
  .rate-row--air {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: none;
    gap: 8px 12px;
  }
  .rate-row--air > .rate-row__carrier { grid-column: 1 / -1; }
  .rate-row--air > .rate-row__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}

/* 对比栏 + 面板 */
.compare-bar {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--ink); color: #fff; border-radius: 9999px;
  padding: 12px 22px; margin-top: 24px; position: sticky; bottom: 16px;
}
.compare-actions { display: flex; gap: 12px; align-items: center; }
.link-btn { background: none; border: none; color: #fff; opacity: .85; cursor: pointer; font-family: var(--font); font-size: 14px; }
.pill-btn {
  background: var(--brand); color: #fff; border: none; border-radius: 9999px;
  padding: 9px 18px; font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: var(--font); transition: background .2s;
}
.pill-btn:hover { background: var(--brand-bright); }
.pill-btn.ghost { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
.pill-btn.ghost:hover { background: rgba(0,102,204,.06); }
.compare-wrap { margin-top: 28px; }
.compare-wrap h3 { font-size: 20px; margin: 0 0 16px; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 13px; overflow: hidden; border-radius: var(--radius-sm); }
.cmp-table th, .cmp-table td { border: 1px solid var(--line); padding: 10px; text-align: left; }
.cmp-table thead th { background: var(--parchment); }
.cmp-col { vertical-align: top; }
.cmp-carrier { font-size: 15px; font-weight: 700; }
.cmp-route { font-size: 12px; color: var(--gray); margin-top: 2px; }
.low-badge { display: inline-block; margin-top: 4px; padding: 2px 6px; background: #e6f7ec; color: #1a8a4a; border-radius: 6px; font-size: 11px; }
.fee-name { background: #fafafc; font-weight: 500; }
.cat-mini { color: var(--brand); font-size: 11px; margin-right: 5px; }
.amt { text-align: right; font-variant-numeric: tabular-nums; }
.amt.best { color: var(--green); font-weight: 700; }
.amt.ok { color: var(--green); }
.dash { color: #c2c2c7; }
.miss-cell { color: #9a6a00; background: #fff8e6; font-size: 12px; }
.cmp-miss { margin-top: 18px; }
.cmp-miss-title { font-size: 13px; font-weight: 700; color: #9a6a00; margin-bottom: 6px; }
.export-actions { display: flex; gap: 12px; margin-top: 18px; }

/* ===== 服务流程（备用，首页未引用） ===== */
.steps { background: #fff; padding: 72px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-card { background: var(--parchment); border-radius: var(--radius); padding: 26px 22px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; margin-bottom: 14px;
}
.step-card h3 { font-size: 18px; margin: 0 0 8px; }
.step-card p { font-size: 14px; color: var(--gray); margin: 0; }

/* ===== 数据带（米纸底 + 单主色，平台实力硬证据） ===== */
.stats-band { background: var(--parchment); color: var(--ink); padding: 64px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-size: 48px; font-weight: 800; letter-spacing: -.02em; color: var(--brand); }
.stat-num span { font-size: 24px; font-weight: 600; margin-left: 2px; }
.stat-label { font-size: 14px; color: var(--gray); margin-top: 6px; }

/* ===== 谁在用 / 为什么划算（6 格合并：3 角色 + 3 优势） ===== */
.roles-adv { background: var(--parchment); padding: 88px 0; }
.roladv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.roladv-col { padding: 0 32px; }
.roladv-col + .roladv-col { border-left: 1px solid var(--line); }
/* 第二行（3 大优势）顶部加发丝线，轻分隔"谁在用 / 为什么划算"两组 */
.roladv-col.roladv-break { border-top: 1px solid var(--line); padding-top: 40px; margin-top: 40px; }
.roladv-ic {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(0,102,204,.06); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.roladv-col h3 { font-size: 22px; margin: 0 0 10px; color: var(--ink); font-weight: 700; }
.roladv-col p { font-size: 15px; color: var(--gray); margin: 0; line-height: 1.7; }

/* ===== 平台三做，三不做（合并区块：正向卖点 + 信任背书） ===== */
.dos { background: #fff; padding: 88px 0; }
.dos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.dos-col { padding: 0 32px; }
.dos-col + .dos-col { border-left: 1px solid var(--line); }
/* 第二行（三不做）顶部加发丝线，轻分隔"做 / 不做"两组 */
.dos-col.dos-break { border-top: 1px solid var(--line); padding-top: 40px; margin-top: 40px; }
.dos-ic {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(0,102,204,.06); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.dos-col h3 { font-size: 22px; margin: 0 0 10px; color: var(--ink); font-weight: 700; }
.dos-col p { font-size: 15px; color: var(--gray); margin: 0; line-height: 1.7; }

/* ===== 行业痛点 → 我们的解法（6 格：3 痛点 + 3 解法） ===== */
.pains { background: #fff; padding: 88px 0; border-top: 1px solid var(--line); }
.pains-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.pains-col { padding: 0 32px; }
.pains-col + .pains-col { border-left: 1px solid var(--line); }
/* 每行首列不显示左侧竖线（三列网格：第1、4条为行首） */
.dos-col:nth-child(3n+1),
.roladv-col:nth-child(3n+1),
.pains-col:nth-child(3n+1) { border-left: none; }

/* 第二行（三解法）顶部加发丝线，轻分隔"痛点 / 解法"两组 */
.pains-col.pains-break { border-top: 1px solid var(--line); padding-top: 40px; margin-top: 40px; }
.pains-ic {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(0,102,204,.06); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
/* 痛点与解法图标统一品牌蓝，与全站其它小图标一致 */
.pains-ic-fix { background: rgba(0,102,204,.06); color: var(--brand); }
.pains-col h3 { font-size: 22px; margin: 0 0 10px; color: var(--ink); font-weight: 700; line-height: 1.35; }
.pains-col p { font-size: 15px; color: var(--gray); margin: 0; line-height: 1.7; }

/* ===== 核心优势（备用，首页未引用） ===== */
.advantages { background: #fff; padding: 72px 0; }
.adv-card { background: var(--parchment); border-radius: var(--radius); padding: 28px 24px; }
.adv-card h3 { font-size: 18px; margin: 0 0 8px; }
.adv-card p { font-size: 14px; color: var(--gray); margin: 0; line-height: 1.65; }

/* ===== 业务板块 ===== */
.services { background: var(--parchment); padding: 72px 0; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .2s, box-shadow .2s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-ic { font-size: 28px; margin-bottom: 10px; }
.svc-card h3 { font-size: 17px; margin: 0 0 6px; }
.svc-card p { font-size: 13px; color: var(--gray); margin: 0; line-height: 1.65; }
.svc-note { text-align: center; margin: 26px 0 0; font-size: 14px; color: var(--gray); }

/* ===== 关于我们 ===== */
.about { background: #fff; padding: 72px 0; }
.about-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.section-title.left { text-align: left; margin: 0 0 20px; }
.about-copy p { font-size: 15px; color: var(--ink); line-height: 1.85; margin: 0 0 16px; }
.about-copy strong { color: var(--brand); }
.about-points { list-style: none; padding: 0; margin: 20px 0 0; }
.about-points li { padding: 7px 0; font-size: 14px; color: var(--gray); }
.about-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 30px 26px; }
.about-card-badge { width: 48px; height: 48px; border-radius: 12px; background: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.about-card-name { font-weight: 700; font-size: 18px; }
.about-card-sub { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 2px; }
.about-contact { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.about-contact p { font-size: 13px; color: rgba(255,255,255,.8); margin: 0 0 8px; }
/* ===== 入驻发布运价 CTA（居中 + 反白描边钮） ===== */
.join-cta { background: var(--parchment); padding: 88px 0; border-top: 1px solid var(--line); }
.join-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.join-title { font-size: 36px; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; color: var(--ink); margin: 0; max-width: 760px; }
.join-sub { font-size: 17px; color: var(--gray); margin: 0; line-height: 1.6; }
.join-btn {
  display: inline-block; padding: 16px 36px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 15px; font-weight: 600; font-family: var(--font);
  text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.join-btn:hover { background: var(--ink); color: #fff; }

/* ===== 页脚（全站统一 · 由 /js/site-footer.js 注入） ===== */
.site-footer {
  background: #fff; color: var(--gray); border-top: 1px solid var(--line);
  font-family: var(--font); margin-top: 48px;
}
.sf-inner {
  width: min(1120px, 92vw); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; align-items: start;
  gap: 32px 40px; padding: 48px 0 30px;
}
.sf-brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.sf-brand-head { display: flex; gap: 10px; align-items: center; }
.sf-logo { height: 24px; width: auto; flex: 0 0 auto; display: block; }
.sf-name { font-weight: 700; color: var(--ink); font-size: 16px; line-height: 1.3; }
.sf-slogan { margin: 0; font-size: 13px; line-height: 1.7; color: var(--gray); }
.sf-col { display: flex; flex-direction: column; min-width: 0; }
.sf-col h4 {
  position: relative; color: var(--ink); font-size: 13px; font-weight: 600;
  letter-spacing: .04em; margin: 2px 0 18px; padding: 0; border: 0;
}
.sf-col h4::after {
  content: ""; position: absolute; left: 0; bottom: -8px;
  width: 24px; height: 2px; border-radius: 2px; background: var(--brand);
}
.sf-col a {
  display: inline-block; color: var(--gray); font-size: 13px; line-height: 1;
  margin: 0 0 13px; width: fit-content; text-decoration: none;
  transition: color .18s, transform .18s;
}
.sf-col a:hover { color: var(--brand); transform: translateX(2px); }
.sf-dev-link { opacity: .55; cursor: not-allowed; }
.sf-dev-link:hover { color: var(--gray); transform: none; }
.sf-dev {
  display: inline-block; font-style: normal; font-size: 11px; line-height: 1;
  margin-left: 5px; padding: 2px 7px; border-radius: 9999px;
  background: rgba(120, 120, 120, .14); color: var(--gray); vertical-align: 1px;
}
.sf-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sf-contact li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink); }
.sf-k { color: var(--gray); min-width: 32px; }
.sf-contact a { color: var(--brand); text-decoration: none; transition: color .18s; }
.sf-contact a:hover { color: var(--brand-bright); }
.sf-copy-btn {
  color: var(--brand); background: none; border: 0; font: inherit; cursor: pointer;
  padding: 0; text-decoration: underline; text-underline-offset: 2px;
}
.sf-copy-btn:hover { color: var(--brand-bright); }
.sf-bottom { border-top: 1px solid var(--line); }
.sf-bottom-inner {
  width: min(1120px, 92vw); margin: 0 auto; padding: 20px 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px;
}
.sf-copy-line { font-size: 12px; color: var(--gray); }
.sf-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; color: var(--gray); }
.sf-legal a { color: var(--gray); text-decoration: none; transition: color .18s; }
.sf-legal a:hover { color: var(--brand); }
.sf-legal .sep { color: var(--line); }
.sf-legal .icp { color: var(--gray); }
@media (max-width: 760px) {
  .sf-inner { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
  .sf-brand { grid-column: 1 / -1; max-width: none; }
  .sf-bottom-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .sf-inner { grid-template-columns: 1fr; }
}

/* ===== 响应式 ===== */
@media (max-width: 1000px) {
  .hero-title { font-size: 48px; }
  .roladv-grid { grid-template-columns: 1fr; gap: 28px; }
  .roladv-col { padding: 0; }
  .roladv-col + .roladv-col { border-left: none; border-top: 1px solid var(--line); padding-top: 28px; }
  .pains-grid { grid-template-columns: 1fr; gap: 28px; }
  .pains-col { padding: 0; }
  .pains-col + .pains-col { border-left: none; border-top: 1px solid var(--line); padding-top: 28px; }
  .join-title { font-size: 28px; }
}
@media (max-width: 900px) {
  .stats-grid, .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .search-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 56px 0 64px; }
  .hero-title { font-size: 30px; }
  .join-title { font-size: 22px; }
  .join-btn { padding: 13px 28px; font-size: 14px; }
  .stats-grid, .routes-grid, .roladv-grid, .dos-grid, .pains-grid, .svc-grid, .search-row { grid-template-columns: 1fr; }
  .nav-inner { flex-wrap: wrap; row-gap: 8px; }
  .nav-links {
    order: 3;
    width: 100%;
    display: flex;
    gap: 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; }
  .nav-auth { gap: 8px; }
  .nav-cta, .nav-cta-ghost { padding: 8px 14px; font-size: 13px; }
  .roladv-col + .roladv-col, .dos-col + .dos-col, .pains-col + .pains-col { border-left: none; border-top: 1px solid var(--line); padding-top: 28px; }
  .dos-col.dos-break, .roladv-col.roladv-break, .pains-col.pains-break { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 0; }
}

/* ===== 现仓（现货仓位） ===== */
.spot-section { padding: 72px 0; background: var(--pearl); }
.spot-head { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.spot-sub { color: var(--gray); font-size: 15px; line-height: 1.6; margin: 12px 0 0; }
.spot-sub b { color: var(--ink); }
.spot-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); max-width: 880px; margin: 0 auto;
}
.spot-results { max-width: 980px; margin: 28px auto 0; }
/* ===== 现仓：与海运费同款水平表格行（列宽对齐） ===== */
.spot-rows { display: flex; flex-direction: column; gap: 10px; }
.spot-header {
  display: grid;
  grid-template-columns: 36px 92px minmax(140px,1.2fr) minmax(120px,1fr) minmax(160px,1.3fr) minmax(96px,1fr) minmax(120px,1fr) 92px 132px;
  gap: 14px;
  padding: 10px 18px;
  font-size: 12px; font-weight: 600; color: var(--gray);
  background: var(--parchment);
  border-radius: var(--radius-sm);
  align-items: center;
  margin-bottom: 12px;
}
.spot-header > span { white-space: nowrap; }
.spot-header .h-prices { text-align: center; }

/* ===== 首页运价 / 现仓 翻页器（每页 10 条）===== */
.result-pager {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-top: 16px; padding: 12px 4px 4px;
  border-top: 1px dashed var(--line);
}
.rp-info { font-size: 13px; color: var(--gray); margin-right: 6px; }
.pager-btn {
  min-width: 34px; height: 32px; padding: 0 10px;
  font-size: 13px; color: var(--ink);
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.pager-btn:hover:not(:disabled):not(.active) { border-color: var(--brand); color: var(--brand); }
.pager-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pager-btn:disabled { opacity: .45; cursor: not-allowed; }
.rp-ellipsis { color: var(--gray); padding: 0 2px; user-select: none; }
.spot-row {
  display: grid;
  grid-template-columns: 36px 92px minmax(140px,1.2fr) minmax(120px,1fr) minmax(160px,1.3fr) minmax(96px,1fr) minmax(120px,1fr) 92px 132px;
  gap: 14px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  transition: border-color .2s, box-shadow .2s;
}
.spot-row:hover { border-color: var(--brand); box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.spot-row.expired { opacity: .62; background: #fafafc; }
.spot-row.is-selected { border-color: var(--brand); background: rgba(0,102,204,.04); }
.spot-row__check { display: flex; justify-content: center; align-items: center; min-width: 0; }
.spot-row__check input { width: 18px; height: 18px; cursor: pointer; accent-color: var(--brand); }
.spot-row__carrier { display: flex; align-items: center; gap: 10px; min-width: 0; }
.spot-row__carrier .carrier-mark {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #ff3b30 0%, #ff9500 100%);
  color: #fff; font-weight: 800; font-size: 13px; letter-spacing: -.5px;
  flex-shrink: 0;
}
.spot-row__carrier .carrier-name { font-size: 14px; font-weight: 700; line-height: 1.2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spot-row__cell { min-width: 0; }
.spot-row__cell .cell-main { font-weight: 600; font-size: 14px; line-height: 1.25; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot-row__cell .cell-sub { font-size: 11px; color: var(--gray); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot-row__schedule .cell-sub { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.spot-row__price {
  font-size: 16px; font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums;
  text-align: center; white-space: nowrap; border-left: 1px dashed var(--line);
}
.spot-row__price .price-cur { font-size: 11px; font-weight: 600; color: var(--red); opacity: .85; margin-right: 1px; }
.spot-row__price .price-unit { font-size: 12px; color: var(--gray); font-weight: 400; }
.spot-row__qty { font-size: 14px; color: var(--ink); font-weight: 700; text-align: center; }
.spot-row__qty .qty-sub { display: block; font-size: 11px; color: var(--gray); font-weight: 400; margin-top: 2px; }
.spot-row__actions { display: flex; flex-direction: column; gap: 5px; align-items: stretch; min-width: 0; }
.spot-row .so-badge { font-size: 11px; padding: 2px 7px; }

/* 行下详情（备注 / 微信 / 商家信息） */
.spot-row + .spot-detail {
  margin-top: -10px;
  background: #fafafc;
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 12px 18px;
  font-size: 13px; color: var(--ink); line-height: 1.7;
  display: none;
}
.spot-detail.open { display: block; }
.spot-detail .spot-detail-label { color: var(--gray); font-weight: 600; margin-right: 6px; }
.spot-detail .spot-detail-wx {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(7,193,96,.10); color: #07a050;
  border: 1px solid rgba(7,193,96,.28);
  border-radius: 9999px; padding: 2px 10px;
  font-size: 13px; font-weight: 600;
}
.spot-detail .spot-detail-wx button {
  background: #07C160; color: #fff; border: none; border-radius: 9999px;
  padding: 1px 8px; font-size: 11px; font-weight: 500; cursor: pointer; font-family: inherit;
}

/* 响应式：中等屏保留 7 列，移动端降为 1 列堆叠 */
@media (max-width: 900px) {
  .spot-row {
    grid-template-columns: 36px 92px minmax(120px,1fr) minmax(120px,1fr) minmax(150px,1.2fr) 80px 120px;
    gap: 10px;
  }
}
@media (max-width: 640px) {
  .spot-row { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 12px 14px; }
  .spot-row > * { grid-column: 1 / -1; }
  .spot-row__check { order: -1; }
  .spot-row__actions { flex-direction: row; gap: 8px; }
  .spot-row + .spot-detail { margin-top: 0; }
}
/* 商家归属 + 已验证标签 */
.merch-verified { background: rgba(26,168,107,.12); color: #1aa86b; border: 1px solid rgba(26,168,107,.3); }
.merch-plain { background: rgba(0,102,204,.08); color: #0066cc; border: 1px solid rgba(0,102,204,.22); }
.so-badge { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 9999px; white-space: nowrap; }
.so-yes { background: rgba(52,199,89,.12); color: var(--green); }
.so-no { background: rgba(142,142,147,.14); color: var(--gray); }
.spot-expired-badge { background: rgba(255,59,48,.12); color: #ff3b30; }
.spot-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray); margin: 0 0 14px; cursor: pointer; user-select: none; }
.spot-toggle input { width: 15px; height: 15px; }

/* ===== 微信咨询入口（国内客户为主，微信绿） ===== */
.wx-ic { width: 1.1em; height: 1.1em; flex: none; }
.wx-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: #07C160; color: #fff; text-decoration: none;
  padding: 12px 18px; border-radius: 9999px;
  font-size: 15px; font-weight: 600; font-family: var(--font);
  box-shadow: 0 8px 22px rgba(7,193,96,.42);
  transition: transform .18s ease, box-shadow .18s ease;
}
.wx-float:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(7,193,96,.5); }
.wx-float .wx-ic { width: 20px; height: 20px; }
.wx-float-label { white-space: nowrap; }
/* 微信咨询弹层 */
.wx-pop {
  position: fixed; right: 22px; bottom: 80px; z-index: 130;
  width: 256px; background: #fff; color: #18191c;
  border-radius: 14px; box-shadow: 0 14px 36px rgba(0,0,0,.18);
  padding: 16px 16px 14px; font-family: var(--font);
  animation: wxpop .18s ease;
}
@keyframes wxpop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wx-pop h4 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.wx-pop .wx-sub { margin: 0 0 10px; font-size: 12.5px; color: #6b7280; line-height: 1.5; }
.wx-pop .wx-qr { margin: 0 0 10px; text-align: center; }
.wx-pop .wx-qr img {
  width: 150px; height: 150px; object-fit: contain; border-radius: 10px;
  background: #fff; border: 1px solid #e6e8eb; padding: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.wx-pop .wx-qr-tip { margin: -4px 0 10px; font-size: 11.5px; color: #9aa0a6; text-align: center; }
.wx-pop .wx-id {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: #f3f7f4; border: 1px solid #d9ece1; border-radius: 10px; padding: 10px 12px;
}
.wx-pop .wx-id b { font-size: 16px; color: #07C160; letter-spacing: .5px; }
.wx-pop .wx-copy {
  border: none; background: #07C160; color: #fff; border-radius: 8px;
  padding: 6px 12px; cursor: pointer; font-size: 13px; font-weight: 600; white-space: nowrap;
}
.wx-pop .wx-copy:hover { background: #06ad56; }
.wx-pop .wx-hint { margin: 10px 0 0; font-size: 12px; color: #9aa0a6; line-height: 1.5; }
.wx-pop .wx-close {
  position: absolute; top: 6px; right: 10px; border: none; background: none;
  font-size: 20px; line-height: 1; cursor: pointer; color: #c0c4c9;
}
.wx-pop .wx-close:hover { color: #6b7280; }
/* Hero 区 CTA */
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.hero-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 9999px;
  font-size: 15px; font-weight: 700; font-family: var(--font);
  box-shadow: 0 6px 16px rgba(37,211,102,.34);
  transition: transform .18s ease, box-shadow .18s ease;
}
.hero-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,211,102,.44); }
.hero-wa-hint { font-size: 13px; color: var(--gray); }
/* 关于我们卡片内按钮 */
.about-wa {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  background: #25D366; color: #fff; text-decoration: none;
  padding: 9px 16px; border-radius: 9999px;
  font-size: 13px; font-weight: 600; font-family: var(--font);
  transition: background .2s;
}
.about-wa:hover { background: #1ebe5b; }
@media (max-width: 560px) {
  .wa-float { right: 14px; bottom: 14px; padding: 10px 14px; font-size: 14px; }
  .wa-float-label { display: none; }
  .wa-float .wa-ic { width: 22px; height: 22px; }
}

/* ===== 现货仓位商城（客户下单买现仓） ===== */
.spot-store { padding: 72px 0; background: var(--pearl); }
.spot-store .section-sub { text-align: center; color: var(--gray); margin: -8px 0 32px; font-size: 15px; }
.spot-store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
/* 商城卡片：作用域覆盖现仓表格同名 .spot-card */
.spot-store .spot-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; max-width: none; margin: 0; box-shadow: none;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.spot-store .spot-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.spot-store .spot-card .sc-route { font-size: 17px; font-weight: 700; color: var(--ink); }
.spot-store .spot-card .sc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--gray); }
.spot-store .spot-card .sc-price { font-size: 20px; font-weight: 800; color: var(--brand); }
.spot-store .spot-card .sc-price small { font-size: 13px; font-weight: 600; color: var(--gray); }
.spot-store .spot-card .sc-stock { font-size: 13px; }
.spot-store .spot-card .sc-stock b { color: var(--ink); }
.spot-store .spot-card .sc-stock.out { color: var(--red); }
.spot-store .spot-card .sc-co { font-size: 12px; color: var(--gray); }
.spot-store .spot-card .pill-btn.full { width: 100%; margin-top: 4px; }
.spot-store .spot-card.sold-out { opacity: .6; }
.spot-store .spot-card.sold-out .pill-btn { background: var(--line); color: var(--gray); cursor: not-allowed; }

/* ===== 首页通用区块副标题 ===== */
.section-sub { text-align: center; color: var(--gray); font-size: 15px; line-height: 1.6; margin: -20px 0 40px; }

/* =========================================================
   2026-09-01 新增 · 发货需求 / 报价对比 / 商家新询盘
   机制：买家发需求 → 平台推送给同航线认证货代 → 商家报「全费用一口价」
        → 买家对比后选定一家 → 此刻才交换联系方式。
   视觉：沿用 Apple 扁平风 + 品牌蓝，专业 B2B，不做抢单式的紧迫感。
   ========================================================= */

/* ---------- 首页 · 发布发货需求 ---------- */
.ship-req { background: var(--parchment); padding: 76px 0; }
.ship-req-head { text-align: center; margin-bottom: 30px; }
.ship-req-head h2 { font-size: 30px; color: var(--ink); margin: 12px 0 10px; letter-spacing: -.4px; }
.ship-req-head p { color: var(--gray); font-size: 15px; max-width: 640px; margin: 0 auto; line-height: 1.65; }
.ship-req-box {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; max-width: 920px; margin: 0 auto; box-shadow: var(--shadow);
}
.ship-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ship-form .field { margin-bottom: 14px; }
.ship-form .field label { display:block; font-size:12px; color:var(--gray); margin-bottom:6px; font-weight:600; }
.ship-form .field input, .ship-form .field select, .ship-form .field textarea {
  width:100%; padding:11px 12px; border:1px solid var(--line); border-radius:10px;
  font-size:14px; font-family:var(--font); color:var(--ink); background:#fff;
}
.ship-form .field input:focus, .ship-form .field select:focus, .ship-form .field textarea:focus {
  outline:none; border-color:var(--brand); box-shadow:0 0 0 3px rgba(0,102,204,.1);
}
.ship-form .search-btn { width:100%; margin-top:6px; padding:13px; font-size:15px; font-weight:600; border-radius:10px; }
.ship-note { font-size:12px; color:var(--gray); margin:12px 0 0; line-height:1.65; text-align:center; }
.ship-result {
  margin-top:20px; padding:22px; background:rgba(0,102,204,.04);
  border:1px solid rgba(0,102,204,.18); border-radius:var(--radius-sm);
}
.ship-result h4 { margin:0 0 10px; color:var(--brand); font-size:17px; }
.ship-result .inq-id {
  font-family:ui-monospace,Menlo,Consolas,monospace; font-size:12px; background:#fff;
  padding:7px 11px; border-radius:8px; border:1px solid var(--line); word-break:break-all; color:var(--ink);
}
.ship-result .how { margin-top:14px; font-size:13px; color:var(--gray); line-height:1.85; }
.ship-result .how b { color:var(--ink); }

/* ---------- 报价对比页 ---------- */
.quote-wrap { max-width: 1000px; margin: 0 auto; padding: 40px 20px 80px; }
.quote-head { margin-bottom: 24px; }
.quote-head h1 { font-size: 26px; margin: 0 0 8px; color: var(--ink); }
.quote-head .sub { color: var(--gray); font-size: 14px; line-height: 1.7; }
.quote-req {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 26px;
}
.quote-req .kv { font-size: 13px; }
.quote-req .kv .k { color: var(--gray); display:block; margin-bottom: 3px; }
.quote-req .kv .v { color: var(--ink); font-weight: 600; font-size: 15px; }
.quote-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin-bottom: 16px; display: grid;
  grid-template-columns: 1fr auto; gap: 20px; align-items: center; transition: border-color .15s;
}
.quote-card:hover { border-color: var(--brand); }
.quote-card.best { border-color: var(--green); }
.quote-co { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.quote-co .badge-best {
  display:inline-block; margin-left:8px; background:rgba(52,199,89,.12); color:#248a3d;
  font-size:11px; font-weight:700; padding:2px 8px; border-radius:99px; vertical-align:middle;
}
.quote-credit { font-size: 12px; color: var(--gray); line-height: 1.8; margin-top: 8px; }
.quote-credit b { color: var(--ink); }
/* 舱位信息 chip 组：船公司 / 直达或中转 / 开船日期。
   同价位下这三项才是买家真正的决策依据，所以做成可快速横扫的标签而不是一行小字。 */
.quote-ship { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.quote-ship .chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--parchment, #f5f7fa); border: 1px solid var(--line);
  border-radius: 7px; padding: 4px 9px; font-size: 12px; color: var(--gray); line-height: 1.4;
}
.quote-ship .chip b { color: var(--ink); font-weight: 600; }
.quote-ship .chip.direct { background: rgba(52,199,89,.10); border-color: rgba(52,199,89,.32); color: #248a3d; }
.quote-ship .chip.direct b { color: #1c7a34; }
.quote-ship .chip.transship { background: rgba(255,149,0,.10); border-color: rgba(255,149,0,.30); color: #a35c00; }
.quote-ship .chip.transship b { color: #8a4f00; }
.quote-price { text-align: right; }
.quote-price .amt { font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -.5px; }
.quote-price .cur { font-size: 14px; color: var(--gray); font-weight: 500; margin-left: 2px; }
.quote-price .eta { font-size: 13px; color: var(--gray); margin-top: 2px; }
.quote-fees {
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line);
  display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--gray);
}
.quote-fees span b { color: var(--ink); font-weight: 600; }
.quote-note { margin-top: 10px; font-size: 12px; color: var(--gray); font-style: italic; }
.quote-act { text-align: right; }
.btn-select {
  background: var(--brand); color:#fff; border:none; padding:11px 22px;
  border-radius:999px; font-size:14px; font-weight:600; cursor:pointer; white-space:nowrap;
}
.btn-select:hover { background: var(--brand-bright); }
.btn-select:disabled { opacity:.5; cursor:default; }
/* 选定区：整宽按钮 + 不可更改提示，确保买家一眼看到「在哪选定」 */
.quote-select { margin-top:12px; }
.quote-select .btn-select { width:100%; padding:13px 22px; font-size:15px; }
.quote-select-hint { font-size:11.5px; color:var(--gray); margin-top:8px; line-height:1.5; text-align:left; }
.quote-select-hint b { color:#dc2626; }
.quote-sec-h { font-size:15px; font-weight:700; color:var(--ink); margin:6px 0 14px; display:flex; align-items:baseline; gap:10px; }
.quote-sec-h span { font-size:12px; font-weight:400; color:var(--gray); }
.quote-empty { text-align:center; padding:60px 20px; color:var(--gray); }
.quote-empty h3 { color:var(--ink); margin-bottom:8px; }
.contact-card {
  background: rgba(52,199,89,.07); border: 1px solid rgba(52,199,89,.35);
  border-radius: var(--radius); padding: 22px; margin-bottom: 22px;
}
.contact-card h3 { margin:0 0 4px; color:#248a3d; font-size:18px; }
.contact-card .tip { font-size:12px; color:var(--gray); margin-bottom:16px; }
.contact-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px; }
.contact-grid .kv .k { font-size:11px; color:var(--gray); display:block; margin-bottom:3px; }
.contact-grid .kv .v { font-size:15px; color:var(--ink); font-weight:600; word-break:break-all; }

/* ---------- 商家端 · 新询盘 ---------- */
.lead-card {
  background: var(--card); border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:18px 20px; margin-bottom:14px;
}
.lead-card.mine { border-left:3px solid var(--brand); }
.lead-top { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; flex-wrap:wrap; }
.lead-route { font-size:16px; font-weight:700; color:var(--ink); }
.lead-route .arrow { color:var(--brand); margin:0 6px; }
.lead-meta { font-size:12px; color:var(--gray); margin-top:6px; line-height:1.7; }
.lead-status {
  font-size:11px; font-weight:700; padding:3px 10px; border-radius:99px; white-space:nowrap;
}
.st-new { background:rgba(0,102,204,.1); color:var(--brand); }
.st-quoted { background:rgba(255,149,0,.12); color:#b06a00; }
.st-won { background:rgba(52,199,89,.14); color:#248a3d; }
.st-lost { background:rgba(134,134,139,.14); color:var(--gray); }
.st-rejected { background:rgba(255,59,48,.1); color:var(--red); }
.lead-buyer {
  margin-top:12px; padding-top:12px; border-top:1px dashed var(--line);
  font-size:13px; color:var(--ink); line-height:1.8;
}
.lead-buyer .k { color:var(--gray); display:inline-block; min-width:66px; }
.lead-quotes { margin-top:12px; display:flex; flex-wrap:wrap; gap:10px; }
.lead-quote-chip {
  font-size:12px; background:var(--parchment); border:1px solid var(--line);
  border-radius:8px; padding:7px 11px; color:var(--ink);
}
.lead-quote-chip.mine { border-color:var(--brand); background:rgba(0,102,204,.05); }
.lead-quote-chip b { color:var(--brand); }
.lead-actions { margin-top:14px; display:flex; gap:10px; flex-wrap:wrap; }
.btn-quote {
  background:var(--brand); color:#fff; border:none; padding:9px 18px;
  border-radius:999px; font-size:13px; font-weight:600; cursor:pointer;
}
.btn-quote:hover { background:var(--brand-bright); }
.btn-ghost-sm {
  background:#fff; color:var(--ink); border:1px solid var(--line); padding:9px 18px;
  border-radius:999px; font-size:13px; cursor:pointer;
}
.btn-ghost-sm:hover { border-color:var(--brand); color:var(--brand); }

/* 报价弹窗 */
.modal-mask {
  position:fixed; inset:0; background:rgba(0,0,0,.4); display:flex;
  align-items:center; justify-content:center; z-index:999; padding:20px;
}
.modal-box {
  background:#fff; border-radius:var(--radius); padding:26px; width:100%;
  max-width:520px; max-height:90vh; overflow-y:auto;
}
.modal-box h3 { margin:0 0 6px; font-size:19px; color:var(--ink); }
.modal-box .m-sub { font-size:13px; color:var(--gray); margin-bottom:18px; line-height:1.6; }
.fee-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:14px; }
.fee-grid .field label { display:block; font-size:12px; color:var(--gray); margin-bottom:5px; font-weight:600; }
.fee-grid .field input,
.fee-grid .field select {
  width:100%; padding:10px 11px; border:1px solid var(--line);
  border-radius:9px; font-size:14px; font-family:var(--font);
  background:#fff; color:var(--ink); box-sizing:border-box;
}
.fee-grid .field input:focus,
.fee-grid .field select:focus { outline:none; border-color:var(--brand); }
/* 报价弹窗内的小分组标题：把「价格」与「舱位信息（船司/直达/船期）」在视觉上分开，
   否则 6 个输入框糊成一片，商家填的时候容易漏字段。 */
.m-group {
  font-size:12px; font-weight:700; color:var(--ink);
  margin:2px 0 8px; padding-top:12px; border-top:1px dashed var(--line);
  display:flex; align-items:center; gap:8px;
}
.m-group span { font-weight:500; color:var(--gray); }
.fee-sum {
  background:var(--parchment); border-radius:9px; padding:12px 14px;
  font-size:13px; color:var(--gray); margin-bottom:14px; line-height:1.7;
}
.fee-sum b { color:var(--brand); font-size:17px; }
.fee-sum .warn { color:var(--red); font-size:12px; display:none; margin-top:4px; }
.modal-act { display:flex; gap:10px; justify-content:flex-end; margin-top:18px; }

/* ---------- 结果区顶部引导条：查运价 → 发需求（2026-09-01 方案 A）---------- */
.req-guide {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(0,102,204,.07), rgba(0,102,204,.02));
  border: 1px solid rgba(0,102,204,.22); border-radius: var(--radius-sm);
  padding: 14px 18px; margin-bottom: 18px;
}
.req-guide-txt { font-size: 13px; color: var(--gray); line-height: 1.65; }
.req-guide-txt b { color: var(--ink); font-size: 14px; }
.btn-guide {
  background: var(--brand); color: #fff; border: none; padding: 10px 20px;
  border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.btn-guide:hover { background: var(--brand-bright); }
@media (max-width: 640px) {
  .req-guide { flex-direction: column; align-items: stretch; }
  .btn-guide { width: 100%; }
}

/* ---------- 报价等待页：进度可见（2026-09-01）----------
   买家点完「让商家报真实价」后不能是黑盒 —— 要看到「已通知 N 家 / 已响应 M 家」、
   已等待时长、以及预期响应时间，否则会以为没动静就走了。 */
.wait-progress { max-width: 440px; margin: 20px auto; }
.wp-num { font-size: 13px; color: var(--gray); margin-bottom: 8px; }
.wp-num b { color: var(--brand); font-size: 17px; }
.wp-bar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.wp-bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; transition: width .5s ease; }
.wp-time { font-size: 13px; color: var(--gray); line-height: 1.7; }
.wp-time b { color: var(--ink); }
.wp-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.wp-actions .btn-ghost-sm { display: inline-flex; align-items: center; text-decoration: none; }

/* ===== 查不到价 · 内联询价引导（2026-09-08） ===== */
.rfq-empty{ text-align:center; padding:34px 24px; background:linear-gradient(180deg,#fbfdff,#fff);
  border:1px solid var(--line); border-radius:var(--radius); }
.rfq-art{ width:62px;height:62px;margin:0 auto 14px;border-radius:20px;
  background:linear-gradient(135deg,#eef4fb,#dceaf9);display:flex;align-items:center;justify-content:center;font-size:29px; }
.rfq-empty h3{ font-size:18px;margin:0 0 8px;font-weight:700;letter-spacing:-.01em; }
.rfq-lead{ color:var(--gray);font-size:13.5px;margin:0 auto 16px;max-width:440px;line-height:1.7; }
.rfq-steps{ display:flex;gap:9px;justify-content:center;flex-wrap:wrap;margin:0 0 20px; }
.rfq-steps span{ background:var(--parchment);border:1px solid var(--line);border-radius:999px;
  padding:5px 13px;font-size:12.5px;color:#555; }
.rfq-actions{ display:flex;gap:10px;justify-content:center;flex-wrap:wrap;align-items:center; }
.rfq-btn{ border:none;border-radius:999px;padding:11px 22px;font-size:14.5px;font-weight:600;
  cursor:pointer;font-family:var(--font);transition:filter .15s ease; }
.rfq-btn.primary{ background:var(--brand);color:#fff; }
.rfq-btn.primary:hover{ filter:brightness(1.07); }
.rfq-btn.ghost{ background:#fff;color:var(--brand);border:1px solid var(--brand); }
.rfq-btn:disabled{ opacity:.5;cursor:not-allowed; }
.rfq-tip{ font-size:13px;color:var(--gray); }
.rfq-panel{ margin:18px auto 0;max-width:620px;text-align:left;background:var(--card);
  border:1px solid var(--line);border-radius:var(--radius-sm);padding:18px; }
.rfq-grid{ display:grid;grid-template-columns:1fr 1fr;gap:12px; }
.rfq-panel label{ display:block;font-size:12px;color:var(--gray);margin-bottom:4px; }
.rfq-panel input,.rfq-panel select,.rfq-panel textarea{ width:100%;border:1px solid var(--line);
  border-radius:10px;padding:9px 11px;font-size:13.5px;font-family:var(--font);background:#fff;color:var(--ink); }
.rfq-panel input:focus,.rfq-panel select:focus,.rfq-panel textarea:focus{ outline:none;border-color:var(--brand); }
.rfq-full{ margin-top:12px; }
.rfq-full textarea{ resize:vertical; }
.rfq-panel .rfq-actions{ margin-top:16px;justify-content:flex-start; }
.rfq-foot{ font-size:12px;color:#9a9aa0;margin:16px 0 0; }
.rfq-auto-btn{ margin-top:10px;background:#fff;color:var(--brand);border:1px dashed #bcd8f6;
  border-radius:999px;padding:8px 16px;font-size:13px;font-weight:600;cursor:pointer;font-family:var(--font); }
.rfq-auto-btn:hover{ background:#f5faff; }
@media(max-width:640px){ .rfq-grid{ grid-template-columns:1fr; } }

/* ===== 公开价 → 真实价 两步漏斗（2026-09-08） ===== */
.pfunnel{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; position:sticky; top:58px; z-index:15;
  background:#fff; border:1px solid var(--line); border-left:4px solid var(--brand);
  border-radius:var(--radius-sm); padding:12px 16px; box-shadow:0 2px 10px rgba(0,0,0,.05); }
.pf-step{ display:flex; align-items:flex-start; gap:9px; min-width:0; flex:1 1 240px; }
.pf-n{ flex:0 0 22px; width:22px; height:22px; border-radius:50%; background:var(--brand); color:#fff;
  font-size:12px; font-weight:700; display:grid; place-items:center; margin-top:1px; }
.pf-t{ min-width:0; }
.pf-t b{ display:block; font-size:13.5px; font-weight:700; line-height:1.35; }
.pf-t small{ display:block; font-size:11.5px; color:var(--gray); line-height:1.5; margin-top:2px; }
.pf-arrow{ color:var(--brand); font-size:16px; font-weight:700; flex:0 0 auto; }
.pf-act{ margin-left:auto; display:flex; gap:9px; flex-wrap:wrap; }
.pf-btn{ border:none; border-radius:999px; padding:9px 17px; font-size:13.5px; font-weight:600;
  cursor:pointer; font-family:var(--font); white-space:nowrap; transition:filter .15s ease; }
.pf-btn:disabled{ opacity:.45; cursor:not-allowed; }
.pf-btn.ghost{ background:#fff; color:var(--brand); border:1px solid var(--brand); }
.pf-btn:not(.ghost){ background:var(--brand); color:#fff; }
.pf-btn:not(.ghost):hover{ filter:brightness(1.08); }
@media(max-width:860px){
  .pfunnel{ position:static; }
  .pf-arrow{ display:none; }
  .pf-act{ margin-left:0; width:100%; }
}
