/* =========================================================
   聚合庄运价数据平台 · 前端样式（Apple 扁平风）
   设计令牌：品牌蓝 #0066cc / 墨色 #1d1d1f / 纸感 #f5f5f7
   ========================================================= */
:root {
  --brand: #0066cc;
  --brand-bright: #2997ff;
  --ink: #1d1d1f;
  --gray: #6e6e73;
  --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: 22px;
}
.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: 18px; margin-left: 8px; }
/* nowrap：容器放不下时也不许把中文标签从中间折断成两行（2026-10-05「导航全换行」修复） */
.nav-links a { color: var(--gray); font-size: 15px; transition: color .2s; white-space: nowrap; }
.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); }
/* 2026-11-04 优化：语言切换（胶囊分段）+ App 入口（图标+文字）
   原样式：纯文字「中文 | EN」+ 单个手机图标，视觉偏弱、App 入口辨识低。 */
/* LANG-NOWRAP 2026-11-04：中文/EN 标签绝不换行（之前 min-width 过小导致「中」「文」折行） */
.lang-switch {
  flex: none;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0;
  padding: 2px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff;
  font-size: 12.5px; line-height: 1; font-weight: 700;
}
.lang-switch b,
.lang-switch a {
  white-space: nowrap;
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 26px; padding: 0 9px;
  border-radius: 8px; text-decoration: none;
  transition: background .18s, color .18s;
}
.lang-switch b {                       /* 当前语言 */
  background: var(--brand); color: #fff;
  box-shadow: 0 1px 2px rgba(26, 77, 143, .18);
}
.lang-switch a { color: #5b7085; }
.lang-switch a:hover { background: #eef4fc; color: var(--brand); }
.lang-switch i { display: none; }      /* 去掉旧分隔线 */

.app-link {
  margin-left: 10px; /* App 与语言组间距 */
  display: inline-flex; align-items: center; gap: 5px;
  height: 30px; padding: 0 11px 0 9px; border-radius: 9999px;
  border: 1px solid var(--line); color: var(--ink); background: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.app-link:hover { border-color: var(--brand); color: var(--brand); background: #f4f8fe; }
.app-link svg { width: 17px; height: 17px; display: block; }
.app-link .app-txt { line-height: 1; }
@media (max-width: 900px) {
  .app-link { padding: 0 9px; }
  .app-link .app-txt { display: none; }
}
@media (max-width: 720px) {
  .lang-switch, .app-link { display: none; }
}
/* 导航右侧：登录 / 注册 / 免费查询 分组 */
.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); }
/* 右上角高亮徽标：接 SaaS 货代系统（用 SaaS 品牌青色 #0f766e / #14b8a6 标识归属）
   原为泛化「永久免费」绿色徽标 —— 用户指出「免费只是引流话术」，改为真实产品入口。 */
.nav-free-badge {
  display: inline-flex; align-items: center; gap: 7px;
  margin-left: 4px;
  background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
  color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .02em;
  padding: 8px 16px; border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(20,184,166,.34);
  position: relative; white-space: nowrap;
  animation: navFreeGlow 2.6s ease-in-out infinite;
}
.nav-free-badge:hover { filter: brightness(1.06); color: #fff; }
/* 导航中的 SaaS 货代系统入口（外链，青色区分于站内模块） */
.nav-saas { color: #0f766e !important; font-weight: 600; }
.nav-saas:hover { color: #14b8a6 !important; }
/* 2026-10-23：「货代系统」专属角标 —— 挂在词上而非独立按钮，表明 90 天属于操作系统，
   不是平台入驻期限。浅青底 + 青描边，比原实心徽章轻，不与右侧「免费注册」抢视觉。 */
.nav-tag-free90 {
  display: inline-block; margin-left: 5px; vertical-align: 1.5px;
  background: rgba(20,184,166,.12); color: #0f766e;
  border: 1px solid rgba(20,184,166,.45);
  font-size: 11px; font-weight: 600; line-height: 1.5;
  padding: 1px 6px; border-radius: 9999px; white-space: nowrap;
}
.nav-saas:hover .nav-tag-free90 { background: rgba(20,184,166,.22); }
.nav-ext { font-size: 11px; opacity: .65; margin-left: 1px; }
.nav-free-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: navFreePulse 1.8s ease-out infinite;
}
@keyframes navFreeGlow {
  0%, 100% { box-shadow: 0 4px 14px rgba(20,184,166,.30); }
  50%      { box-shadow: 0 4px 22px rgba(20,184,166,.58); }
}
@keyframes navFreePulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  70%  { box-shadow: 0 0 0 7px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-free-badge, .nav-free-dot { animation: none; }
}

/* ===== 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; }
/* 组内「展开更多」：每批增量 20 条，避免一次性把几百条全倒进页面 */
.mg-more {
  display: block; width: 100%; margin: 8px 0 2px;
  background: rgba(0,102,204,.06); color: var(--brand);
  border: 1px dashed rgba(0,102,204,.4); border-radius: 8px;
  padding: 8px; font-size: 13px; font-weight: 600; cursor: pointer;
  text-align: center; transition: background .2s;
}
.mg-more:hover { background: rgba(0,102,204,.14); }
.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: #6e6e73;
  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; }
}
/* 导航紧凑布局（≤1150px）：容器为 min(1120px,92vw)，窄屏时 92vw 会小于导航内容宽，
   单行放不下 → 改为两行（品牌+账号+徽标 一行、导航链接一行）。
   原紧凑规则只在 ≤560px 生效，561–1150px 区间是空档：桌面样式无 nowrap 会把中文标签
   从中间折断成多行（2026-10-05「导航全换行」）。放在 ≤560px 块之前，窄屏仍由后者收紧。 */
@media (max-width: 1150px) {
  .nav-inner { height: auto; min-height: 60px; flex-wrap: wrap; column-gap: 12px; row-gap: 6px; padding: 8px 0; }
  .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; }
}
@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; }
  /* 2026-09-11 P0-1(A)：移动端导航要换行（品牌+登录 / 导航链接），但 .nav-inner 是固定 height:60px
     → .nav-links 会溢出到 .nav 盒子外约 58px：分隔线错位、溢出区没有导航底色，滚动时页面内容会从
     导航区「透」出来。改为 auto + min-height 让头部真正包住内容。
     另：390px 下实测 brand(123)+间距(28)+auth(214)=365 恰好超出可用宽 359px，会把登录按钮挤到第二行、
     头部变成三行 140px；收紧 logo 与按钮尺寸后能容下两行（品牌+登录 一行、导航链接一行），头部约 88px。 */
  .nav-inner { height: auto; min-height: 60px; flex-wrap: wrap; column-gap: 10px; row-gap: 6px; padding: 8px 0; }
  .brand-logo, .site-brand-logo { height: 30px; }
  .nav-links {
    order: 3;
    width: 100%;
    display: flex;
    gap: 14px;
    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: 6px; }
  .nav-cta, .nav-cta-ghost { padding: 7px 10px; font-size: 12.5px; }
  /* 移动端：徽标缩尺寸并排到登录组之后（order:2，位于 nav-links 之前），避免顶栏溢出 */
  .nav-free-badge { order: 2; margin-left: 0; padding: 7px 12px; font-size: 12.5px; }
  .roladv-col + .roladv-col, .dos-col + .dos-col, .pains-col + .pains-col { border-left: none; border-top: 1px solid var(--line); padding-top: 28px; }

  /* 2026-09-12 移动端点击热区(P3 F-new-3)：页脚法务文字链与顶部登录链原高度 <32px，拇指难点中；
     给最小命中高度，不影响桌面排版。实测全站仅页脚「关于/隐私/免责」与运价浏览「登录」触发。 */
  .sf-legal a, .sf-bottom-inner .icp, .site-link-auth {
    display: inline-flex; align-items: center; min-height: 32px;
  }
  .sf-legal { align-items: center; }
  .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: #0d7a4a; 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: #c1121f; }
.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; }

/* ===== App 下载浮动入口（2026-09-13 起替代原微信咨询浮窗）=====
   背景：平台对外挂「微信咨询」观感不专业，且手机访客已统一引导装 App，
   故浮动入口只保留一个动作：下载聚合庄 App（安卓）。微信/电话仍在页脚与联系方式区保留。*/
.app-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: #0066cc; 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(0,102,204,.42);
  transition: transform .18s ease, box-shadow .18s ease;
}
.app-float:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,102,204,.5); color: #fff; }
.app-float .app-ic { width: 20px; height: 20px; flex: none; }
.app-float-label { white-space: nowrap; }
@media (max-width: 560px) {
  .app-float { right: 14px; bottom: 14px; padding: 10px 15px; font-size: 14px; }
}
/* 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; }
/* 🆕 2026-10-06：开船日期已过的运价 —— 明确标注，避免"过去船期仍在线"被当成假数据 */
.etd-past{
  display:inline-block; margin-left:4px; padding:1px 6px; border-radius:999px;
  background:#fff4e5; color:#b45309; border:1px solid #fcd9a8;
  font-size:11px; font-weight:600; white-space:nowrap; vertical-align:middle; line-height:1.5;
}
.rfq-inline{ padding:24px 20px; margin-top:18px; background:linear-gradient(180deg,#f5faff,#fff); }
.rfq-inline .rfq-art{ width:48px;height:48px;font-size:22px;margin:0 auto 10px; }
.rfq-inline h3{ font-size:16.5px; }
.rfq-inline .rfq-lead{ margin-bottom:14px; }
.rfq-inline .rfq-steps{ margin-bottom:16px; }
.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-11-06：发需求 · 多选柜型（与 EN 站一致） */
.rfq-boxrow{ grid-column:1/-1; margin-top:2px }
.rfq-boxrow .rfq-lab{ display:block; font-size:12px; color:var(--gray); margin-bottom:6px }
.rfq-boxrow .rfq-lab em{ font-style:normal; color:var(--muted,#6b7385); font-weight:400 }
.rfq-boxpick{ display:flex; flex-wrap:wrap; gap:8px }
.rfq-boxopt{ display:inline-flex; align-items:center; gap:6px; padding:8px 13px; border:1px solid var(--line); border-radius:10px; font-size:13.5px; font-weight:600; color:var(--ink,#222); background:#fff; cursor:pointer; user-select:none; transition:border-color .15s, background .15s }
.rfq-boxopt:hover{ border-color:#c7ccd6 }
.rfq-boxopt:has(input:checked){ border-color:var(--brand,#0d9488); background:rgba(13,148,136,.08); color:var(--brand,#0d9488) }
.rfq-boxopt input{ accent-color:var(--brand,#0d9488); width:15px; height:15px; margin:0 }

/* ===== 公开价 → 真实价 两步漏斗（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%; }
}

/* ─── 2026-09-13 多公司感知：结果聚合条 + 货代认证标 ───
   背景：公开侧运价已按「真名脱敏」，但首次查询的用户会误以为「只有一家公司的数据」。
   这里把「几家货代 / 几家船司 / 几条航线」做成显式聚合条，并为每家给出稳定代号 + 认证标，
   让用户一眼看出这是「多家货代聚合筛选」的结果，同时不泄露任何真实公司名。 */
.sup-strip{
  display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px;
  padding:10px 14px; margin:0 0 12px;
  border:1px solid #d7e6f7; border-radius:var(--radius-sm);
  background:linear-gradient(180deg,#f3f9ff,#fbfdff);
  font-size:13px; color:var(--ink); line-height:1.5;
}
.sup-strip b{ color:var(--brand); font-weight:700; }
.sup-strip__sep{ color:var(--line); }
.sup-strip__mid{ color:#3b4a5a; }
.sup-strip__note{ margin-left:auto; color:var(--gray); font-size:12px; }
.mg-verified{
  display:inline-block; margin-left:6px; padding:1px 7px; border-radius:999px;
  background:#e7f7ec; color:#1f8a3b; font-size:11px; font-weight:700;
  vertical-align:middle; letter-spacing:.02em;
}
/* 未认证灰标：与绿「✓ 认证」成对。只打在「真实商家但未过核验」的分组上，
   无归属分组（同行报价）与平台官方都不打 —— 避免「认证」字样落到未验证记录上。 */
.mg-unverified{
  display:inline-block; margin-left:6px; padding:1px 7px; border-radius:999px;
  background:#f0f1f4; color:#8a8f98; font-size:11px; font-weight:700;
  vertical-align:middle; letter-spacing:.02em;
}
@media(max-width:560px){
  .sup-strip__note{ margin-left:0; width:100%; }
}

/* ─── 2026-09-13 移动端表单控件字号 ≥16px（全站审计发现，13 个页面中招）───
   iOS Safari 在「聚焦字号 < 16px 的输入控件」时会**强制放大整个页面**，用户点一下输入框
   页面就被顶大、还得手动缩回 —— 是移动端最高频的体验投诉之一。
   实测受影响：index/spot-store(15px)、admin/yard/freight-rates/login/customer/role-chooser(15px)、
   merchant(14px)、rates-browse/vgm(14px)、quote-import(13px)。
   这里用「移动端专用媒体查询 + !important」覆盖各页内联 <style> 的零散字号
   （页面内联样式不带 !important，故此处可稳定胜出）；桌面端字号完全不变。 */
@media (max-width: 768px) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),
  select, textarea { font-size: 16px !important; }
}

/* ─── 2026-09-13 移动端可点控件触摸高度 ≥44px（全站审计：28 页 / 513 个元素 <40px）───
   范围刻意限定：**只放大「非导航」的按钮类控件**（分页按钮 / 箱型 chips / 切换 tab / 复制按钮 / 表单按钮等）。
   🔴 站点头部一律不放大 —— 390px 下头部横向仅剩约 6px 余量，放大 .nav-cta/.nav-link-auth 会把导航
      从两行挤成三行（2026-09-11 P0-1 特意压回两行的代价），故第二段把头部元素显式撤回。
   ℹ️ 页脚 / 正文里的「行内文字链接」不处理：WCAG 2.5.8 对 Inline 目标有明确豁免，硬放大反而破坏行内排版。 */
@media (max-width: 768px){
  button, .btn, .pill-btn, .row-btn, .pgbtn, .ct-chip, .tab, .od-swap, .copybtn, .seg button, .dock-select { min-height: 44px; }
  /* ⚠️ 关键：<a> 默认 display:inline，min-height 对行内元素**不生效**。
     凡把 <a> 当按钮用的（a.btn / a.pill-btn / a.copybtn / a.row-btn），必须显式转成
     inline-flex 并居中，否则高度命令会被浏览器忽略（2026-09-13 实测：invite 的「去登录」仍是 39px）。 */
  a.btn, a.pill-btn, a.copybtn, a.row-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
  .site-nav button, .site-nav .btn, .site-nav .pill-btn, nav button, .topbar button, .topbar .btn,
  .nav-cta, .nav-link-auth, .bar button { min-height: 0 !important; }
}

/* ─── 2026-09-16 首页「热门航线运价」区块 ─────────────────────────────────
   为什么要有这一段：此前首页指向 /sea-routes.html 与 /landing/* 的链接**全部由
   /js/site-footer.js 在运行时注入**（<footer id="siteFooter"> 是空壳）。
   实测真 Googlebot 只抓了首页与其依赖的 JS/CSS/图片，`/landing/` 抓取次数 = 0 ——
   渲染队列远比抓取慢，导致 32 个航线页长期只靠 sitemap 被发现。
   所以在首页补一段**服务端直出的静态 <a>**，给爬虫一条不依赖 JS 的最短路径。
   ⚠️ 改动本文件必须 bump 全站 `?v=`（/css/ 走 max-age=3600），见 insu-deploy skill。 */
.routes { background: #fff; padding: 88px 0; border-top: 1px solid var(--line); }
.routes-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 0 0 26px;
}
.routes-card {
  display: flex; flex-direction: column; gap: 5px;
  padding: 16px 18px; background: var(--pearl);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.routes-card strong { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.routes-card span { font-size: 12.5px; color: var(--gray); line-height: 1.5; }
.routes-card:hover {
  background: #fff; border-color: var(--brand); box-shadow: var(--shadow);
}
.routes-all {
  display: inline-block; font-size: 14px; font-weight: 700;
  color: var(--brand); text-decoration: none;
}
.routes-all:hover { text-decoration: underline; }
@media (max-width: 900px) { .routes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .routes { padding: 48px 0; }
  .routes-grid { grid-template-columns: 1fr; gap: 10px; }
}

/* 首页「更多热门航线」紧凑直链区块（P0-1：给核心 landing 第二条入链，断 sea-routes 单点依赖）
   2026-09-24 新增；同 routes 设计语言（pearl 底 / line 边框 / brand 悬停）。
   ⚠️ 仅新增类，未改既有 .routes-*；改动本文件必须 bump 全站 /css/style.css?v= 。 */
.routes-more-cap {
  font-size: 13px; color: var(--gray); font-weight: 600;
  letter-spacing: .02em; margin: 30px 0 14px;
}
.routes-more-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 22px;
}
.routes-more {
  display: block; padding: 10px 12px; background: var(--pearl);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink); font-size: 13.5px; font-weight: 600;
  text-align: center; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.routes-more:hover { background: #fff; border-color: var(--brand); box-shadow: var(--shadow); }
@media (max-width: 900px) { .routes-more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .routes-more-grid { grid-template-columns: 1fr; } }

/* 首页「静态全站栏目镜像」导航带（P0-2：消除孤立页 · 保障静态爬虫可发现）
   2026-09-24 新增；浅色带置于 JS 页脚之上，与 routes 设计语言一致。
   ⚠️ 仅新增类，未改既有 .site-footer-*；改动本文件必须 bump 全站 /css/style.css?v= 。 */
.seo-sitemap { background: var(--pearl); border-top: 1px solid var(--line); padding: 30px 0 26px; margin-top: 8px; }
.seo-sitemap .ss-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 40px; }
.seo-sitemap .ss-col h4 { font-size: 14px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.seo-sitemap .ss-col a { display: inline-block; font-size: 13px; color: #555; text-decoration: none; margin: 0 14px 8px 0; line-height: 1.7; }
.seo-sitemap .ss-col a:hover { color: var(--brand); }
@media (max-width: 760px) { .seo-sitemap .ss-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .seo-sitemap .ss-inner { grid-template-columns: 1fr; } }

/* 🆕 2026-10-05 首页搜索结果「相关港口运价推荐」（航线结果稀疏时填空，避免像只有 1 条；改动须 bump /css/style.css?v=） */
.related-routes { margin-top: 18px; padding: 16px 18px; background: var(--pearl, #f6f9fb); border: 1px solid var(--line, #e6edf2); border-radius: 12px; }
.related-routes .related-title { font-size: 14px; font-weight: 700; color: var(--ink, #1f2d3a); margin-bottom: 12px; }
.related-routes .rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rel-card { background: #fff; border: 1px solid var(--line, #e6edf2); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s, box-shadow .15s; }
.rel-card:hover { border-color: var(--brand, #1769ff); box-shadow: 0 4px 14px rgba(23,105,255,.10); }
.rel-card .rel-route { font-size: 14px; font-weight: 700; color: var(--ink, #1f2d3a); }
.rel-card .rel-carrier { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #5a6b7b; }
.rel-card .rel-mark { width: 22px; height: 22px; border-radius: 50%; background: var(--brand, #1769ff); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.rel-card .rel-price { font-size: 15px; font-weight: 700; color: #e0531a; }
.rel-card .rel-go { align-self: flex-start; border: 1px solid var(--brand, #1769ff); color: var(--brand, #1769ff); background: #fff; border-radius: 8px; padding: 5px 12px; font-size: 13px; cursor: pointer; }
.rel-card .rel-go:hover { background: var(--brand, #1769ff); color: #fff; }
@media (max-width: 900px) { .related-routes .rel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .related-routes .rel-grid { grid-template-columns: 1fr; } }

/* ═══ U-LOGGED-DENSITY 2026-11-04：登录后导航降密度 ═══════════════════
   问题：登录后多出「用户名 + 工作台 ▾」，与 导航项 / 语言胶囊 / App / 登录注册
        一起挤在 1120px 容器里，首页视觉很挤。
   策略：登录态专属收紧间距与控件宽度；未登录态完全不受影响。 */
html.u-logged .nav-inner { gap: 14px; }
html.u-logged .nav-links { gap: 14px; margin-left: 4px; }
html.u-logged .nav-links a { font-size: 13.5px; }
html.u-logged .lang-switch b,
html.u-logged .lang-switch a { min-width: 34px; padding: 0 7px; }
html.u-logged .app-link { padding: 0 9px; margin-left: 6px; }
html.u-logged .app-link .app-txt { display: none; }
html.u-logged .an-user { max-width: 96px; font-size: 13.5px; }
html.u-logged .an-dd { margin-left: 2px; }
html.u-logged .an-dd-trigger { padding: 4px 8px; font-size: 13.5px; }
html.u-logged .nav-auth { gap: 8px; }
/* 中等宽度再收一档 */
@media (max-width: 1180px) {
  html.u-logged .nav-inner { gap: 11px; }
  html.u-logged .nav-links { gap: 11px; }
  html.u-logged .nav-links a { font-size: 13px; }
  html.u-logged .an-user { display: none; }   /* 只留「工作台 ▾」，名字进下拉 */
  html.u-logged .lang-switch b,
  html.u-logged .lang-switch a { min-width: 30px; padding: 0 6px; }
}
@media (max-width: 900px) {
  html.u-logged .nav-links { gap: 9px; }
  html.u-logged .nav-links a { font-size: 12.5px; }
}

/* AN-USER-LONGNAME 2026-11-04：账号名可能是公司全称（如「深圳市音速国际货运代理有限公司」），
   必须单行省略，不能把导航撑开或换行。*/
html.u-logged .an-user {
  display: inline-block;
  max-width: 132px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
@media (max-width: 1440px) {
  html.u-logged .an-user { max-width: 108px; }
}
@media (max-width: 1180px) {
  html.u-logged .an-user { display: none; }
}

/* ALIGN-PILLS-32 2026-11-04：语言胶囊与 App 按钮的高度/字号对齐导航文字
   实测：导航项盒高 31.6px、字号 14px；胶囊此前 31.6px 但内文字 12.5px、内块 26px，
        造成「看起来没对齐」。统一到 32px 外框 / 28px 内块 / 13.5px 字号。 */
.nav-inner .lang-switch { height: 32px; padding: 2px; border-radius: 10px; box-sizing: border-box; }
.nav-inner .lang-switch b,
.nav-inner .lang-switch a { height: 28px; font-size: 14.5px; font-weight: 700; border-radius: 8px; }
.nav-inner .app-link { height: 32px; font-size: 14.5px; padding: 0 12px 0 10px; }
.nav-inner .app-link svg { width: 16px; height: 16px; }
html.u-logged .nav-inner .lang-switch { height: 32px; }
html.u-logged .app-link { height: 32px; }
@media (max-width: 900px) {
  .nav-inner .app-link { padding: 0 10px; }
}

/* ALIGN-A-18 2026-11-04：方案 A —— 语言组与 App 按导航项间距（18px）排布
   实测原状：关于→语言 18px，语言→App 27.9px（App 自带 margin-left:10px 叠加） */
.nav-inner { gap: 18px; }
.nav-links { gap: 18px; }
.nav-inner .app-link { margin-left: 0; }
html.u-logged .app-link { margin-left: 0; }
html.u-logged .nav-inner { gap: 18px; }
html.u-logged .nav-links { gap: 18px; }

/* ═══ PLAN-B-RESULTS 2026-12-02：首页海运搜索结果 · 方案 B 严丝合缝精算表格 ═══
   · 统一纯白精算大表 + 9 列像素级对齐 + 清晰商家分组条 + 主看箱型淡蓝整列高亮
   · 严格保留原有运价字体颜色 var(--red)（#ff3b30）不变 */
.ispot-banner {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #bfdbfe;
  background: linear-gradient(90deg, #eef5ff 0%, #f5f9ff 55%, #ffffff 100%);
}
.ispot-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 10px;
}
.ispot-head__l { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ispot-tag {
  background: #f59e0b; color: #fff; font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 6px; white-space: nowrap;
}
.ispot-title { font-size: 13.5px; font-weight: 700; color: #0f2f4d; }
.ispot-sub { font-size: 12px; color: #64748b; }
.ispot-more { font-size: 12.5px; font-weight: 600; color: var(--brand); text-decoration: none; white-space: nowrap; }
.ispot-more:hover { text-decoration: underline; }
.ispot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ispot-grid--one { grid-template-columns: 1fr; }
.ispot-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff; border: 1px solid #dbeafe; border-radius: 9px; padding: 9px 12px;
  transition: border-color .15s;
}
.ispot-card:hover { border-color: #93c5fd; }
.ispot-card__l { display: flex; align-items: center; gap: 9px; min-width: 0; flex: 1; }
.ispot-info { min-width: 0; }
.ispot-meta1 { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: #1e293b; }
.ispot-so { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; font-size: 10.5px; font-weight: 600; padding: 0 5px; border-radius: 4px; }
.ispot-box { background: #f1f5f9; color: #334155; font-size: 10.5px; font-weight: 600; padding: 0 5px; border-radius: 4px; }
.ispot-meta2 { font-size: 11.5px; color: #64748b; margin-top: 2px; }
.ispot-meta2 b { color: #d97706; }
.ispot-card__r { display: flex; align-items: center; gap: 10px; flex: none; }
.ispot-price-wrap { text-align: right; }
.ispot-price { font-size: 16px; font-weight: 800; color: var(--red); font-variant-numeric: tabular-nums; line-height: 1.15; }
.ispot-unit { font-size: 11px; font-weight: 500; color: #64748b; }
.ispot-price-sub { font-size: 10.5px; color: #94a3b8; }
.ispot-btn {
  background: var(--brand); color: #fff; border: none; border-radius: 8px;
  padding: 6px 12px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: background .15s;
}
.ispot-btn:hover { background: var(--brand-bright); }

/* 方案 B 精算表格主容器 */
.rate-table-b {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.rate-table-b__scroll { overflow-x: auto; }

/* 9 列像素级严格对齐（表头与数据行共用同一网格定义） */
.results-header.results-header--b,
.rate-row.rate-row--b {
  display: grid;
  grid-template-columns: 30px minmax(134px, 1.12fr) minmax(170px, 1.38fr) minmax(118px, 0.98fr) 86px 86px 94px 70px 116px;
  gap: 8px;
  align-items: center;
  padding-left: 16px;
  padding-right: 16px;
}
.results-header.results-header--b {
  padding-top: 11px;
  padding-bottom: 11px;
  margin-bottom: 0;
  border-radius: 0;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}
.results-header--b .rh-chk,
.results-header--b .rh-act { text-align: center; }
.results-header--b .rh-45 { text-align: right; padding-right: 8px; }
.results-header--b .h-prices { text-align: right; }
.th-box-btn {
  display: inline-flex; align-items: center; justify-content: flex-end; gap: 3px;
  width: 100%; background: none; border: none; padding: 2px 6px 2px 0;
  font-family: var(--font); font-size: 12px; font-weight: 700; color: #475569;
  cursor: pointer; transition: color .14s; white-space: nowrap;
}
.th-box-btn:hover,
.th-box-btn.is-active { color: var(--brand); }
.th-sort-ic { font-size: 10px; opacity: .7; }

/* 商家分组条（单白底大表内轻盈分隔） */
.merchant-group.merchant-group--b {
  border: none; border-radius: 0; margin: 0 !important; background: transparent;
}
.mg-head.mg-head--b {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 7px 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.results-header--b + .merchant-group--b .mg-head--b { border-top: none; }
.mg-head--b .mg-co { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; min-width: 0; }
.mg-type {
  font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 5px;
  line-height: 1.45; white-space: nowrap; flex: none;
}
.mg-type--official { background: var(--brand); color: #fff; }
.mg-type--agent { background: #dbeafe; color: #1a4d8f; }
.mg-head--b .mg-name { font-size: 13px; font-weight: 700; color: #0f172a; }
.mg-head--b .mg-meta { font-size: 11.5px; color: #64748b; }
.mg-head--b .mg-verified,
.mg-head--b .mg-unverified { margin-left: 0; }
.mg-toggle.mg-toggle--b {
  margin-left: auto; background: none; border: none;
  color: var(--brand); padding: 3px 8px; border-radius: 6px;
  font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.mg-toggle.mg-toggle--b:hover { background: #eff6ff; text-decoration: underline; }

/* 表格数据行 */
.rate-table-b .mg-rows > .rate-row--b:first-child { border-left: none; border-radius: 0; }
.rate-table-b .mg-rows .rate-row--b {
  border: none; border-radius: 0;
  border-bottom: 1px solid #f1f5f9;
  padding-top: 11px; padding-bottom: 11px; padding-left: 16px;
  background: #ffffff;
  box-shadow: none;
  transition: background .12s;
}
.rate-table-b .mg-rows .rate-row--b:hover { background: rgba(239, 246, 255, 0.55); box-shadow: none; }
.rate-table-b .mg-rows .rate-row--b.is-selected {
  background: rgba(239, 246, 255, 0.85);
  box-shadow: inset 3px 0 0 var(--brand);
}
.rate-table-b .mg-rows .rate-row--b.is-sub { background: #fbfdff; }
.rate-table-b .mg-rows .rate-row--b.expired { opacity: .66; background: #fafafc; }

.rate-row--b .rate-row__check input { width: 16px; height: 16px; }
.rate-row--b .rate-row__carrier { gap: 7px; }
.car-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 2px 6px; border-radius: 5px;
  font-size: 11px; font-weight: 800; color: #fff;
  letter-spacing: .02em; line-height: 1.35; flex: none;
}
.rate-row--b .carrier-name { font-size: 13px; font-weight: 700; color: #0f172a; }
.rate-row--b .route-main { font-size: 13px; font-weight: 700; color: #1e293b; }
.rate-row--b .route-sub { font-size: 11.5px; color: #64748b; margin-top: 2px; }
.rate-row--b .route-fast { color: #047857; font-weight: 700; }
.rate-row--b .rate-row__schedule .cell-main { font-size: 12.5px; font-weight: 600; color: #1e293b; }
.rate-row--b .rate-row__schedule .cell-sub { font-size: 11px; color: #94a3b8; margin-top: 2px; }

/* 4 列价格：严格保留原有运价红字 var(--red)，仅主看列加淡蓝底块 + 本页最低绿标 */
.rate-row--b .price-cell.price-cell-col:not(.merged) {
  background: transparent;
  border-radius: 7px;
  padding: 5px 8px;
  text-align: right;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--red);
  line-height: 1.25;
  border-left: none;
}
.rate-row--b .price-cell.is-main-box:not(.empty) {
  background: #eef5ff;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--red);
}
.rate-row--b .price-cell .price-cur {
  color: var(--red); font-size: 11px; font-weight: 700; opacity: .9;
}
.rate-row--b .price-cell.empty { color: #94a3b8; text-align: right; }
.rate-row--b .price-cell.empty.is-main-box { background: rgba(238, 245, 255, 0.5); }
.rate-row--b .price-cell .pc-empty {
  background: transparent; color: #94a3b8; padding: 0;
  font-size: 12px; font-weight: 500; letter-spacing: 0;
}
.rate-row--b .price-cell.empty.merged {
  grid-column: 5 / span 4;
  text-align: center;
}
.price-best-tag {
  font-size: 10.5px; font-weight: 700; color: #047857;
  margin-top: 2px; line-height: 1.2;
}

/* 操作列 */
.rate-row--b .rate-row__actions { gap: 4px; align-items: center; }
.rate-row--b .row-btn.primary {
  width: 100%; padding: 6px 8px; font-size: 12.5px; border-radius: 8px;
  box-shadow: none;
}
.rate-row--b .row-act-sub { width: 100%; text-align: center; }
.rate-row--b .row-btn.row-btn--link {
  border: none; background: transparent; color: #64748b;
  font-size: 11.5px; font-weight: 500; padding: 2px 6px;
}
.rate-row--b .row-btn.row-btn--link:hover { color: var(--brand); }

/* 表格内展开的费用明细与增量按钮 */
.rate-table-b .rate-detail {
  border: none; border-bottom: 1px solid #e2e8f0; border-radius: 0;
  background: #f8fafc; padding: 14px 18px 16px 46px; margin-top: 0;
}
.rate-table-b .mg-more { width: calc(100% - 32px); margin: 8px 16px 10px; }

/* 移动端 / 窄屏卡片适配（彻底避免 4 价格列叠压） */
@media (max-width: 1024px) {
  .ispot-grid { grid-template-columns: 1fr; }
  .results-header.results-header--b { display: none; }
  .rate-table-b .mg-rows .rate-row--b {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas: none;
    gap: 8px 6px;
    padding: 12px 12px;
  }
  .rate-row--b .rate-row__check { grid-column: 1 / 2; grid-row: 1; grid-area: auto; justify-content: flex-start; z-index: 2; }
  .rate-row--b .rate-row__carrier { grid-column: 1 / 5; grid-row: 1; grid-area: auto; padding-left: 26px; }
  .rate-row--b .rate-row__route { grid-column: 1 / 3; grid-row: 2; grid-area: auto; }
  .rate-row--b .rate-row__schedule { grid-column: 3 / 5; grid-row: 2; grid-area: auto; text-align: right; }
  .rate-row--b .price-cell.price-cell-col:not(.merged) {
    grid-area: auto; grid-row: 3;
    text-align: center; background: #f8fafc; padding: 6px 4px; border-top: none;
  }
  .rate-row--b .price-cell.price-cell-col:not(.merged)::before {
    content: attr(data-box);
    display: block; font-size: 10px; font-weight: 600; color: #64748b; margin-bottom: 2px;
  }
  .rate-row--b .price-cell.price-cell-col.is-main-box:not(.empty) { background: #eef5ff; }
  .rate-row--b .price-cell.empty.merged { grid-column: 1 / -1; grid-row: 3; grid-area: auto; }
  .rate-row--b .rate-row__actions {
    grid-column: 1 / -1; grid-row: 4; grid-area: auto;
    flex-direction: row; justify-content: space-between; gap: 8px; margin-top: 2px;
  }
  .rate-row--b .row-btn.primary { flex: 1; }
  .rate-row--b .row-act-sub { width: auto; }
  .rate-table-b .rate-detail { padding: 12px; }
  .mg-head.mg-head--b { padding: 8px 12px; flex-wrap: wrap; }
}

/* ═══ NAV-TOOLS-DROPDOWN 2026-12-02：首页导航栏「物流工具」下拉整合 ═══
   收拢 货物跟踪 / 船舶定位 / VGM 提交 / 3D装柜 进单一下拉，释放约 250px 顶栏空间并彻底消除登录按钮换行 */
.nav-links { align-items: center; }
.nav-auth { flex-shrink: 0; }
.nav-link-auth, .nav-cta { white-space: nowrap; flex-shrink: 0; }
.nav-tools-dd { position: relative; display: inline-flex; align-items: center; }
.nav-tools-trigger {
  display: inline-flex; align-items: center; gap: 3px;
  background: none; border: none; padding: 6px 2px; margin: 0;
  font-family: var(--font); font-size: 15px; font-weight: 400; color: var(--gray);
  cursor: pointer; white-space: nowrap; transition: color .18s; line-height: 1.4;
  min-height: 0 !important;
}
.nav-tools-dd:hover .nav-tools-trigger,
.nav-tools-dd.is-open .nav-tools-trigger,
.nav-tools-trigger:hover { color: var(--ink); }
.nav-tools-caret { font-size: 11px; opacity: .75; transition: transform .18s; display: inline-block; }
.nav-tools-dd:hover .nav-tools-caret,
.nav-tools-dd.is-open .nav-tools-caret { transform: rotate(180deg); color: var(--brand); opacity: 1; }
.nav-tools-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-4px);
  width: 248px; padding: 6px;
  background: #ffffff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.04);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  z-index: 80;
}
/* 悬停桥接层：避免鼠标从触发按钮滑进菜单时意外收起 */
.nav-tools-menu::before {
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
@media (hover: hover) {
  .nav-tools-dd:hover .nav-tools-menu,
  .nav-tools-dd:focus-within .nav-tools-menu {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}
.nav-tools-dd.is-open .nav-tools-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-tools-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 9px; text-decoration: none;
  color: var(--ink); white-space: normal; transition: background .14s;
}
.nav-tools-menu a:hover { background: #f3f7fc; color: var(--brand); }
.nav-tools-menu .nt-ic {
  width: 30px; height: 30px; border-radius: 8px;
  background: #f5f7fa; display: grid; place-items: center;
  font-size: 15px; flex: none;
}
.nav-tools-menu a:hover .nt-ic { background: #e6f0fc; }
.nav-tools-menu .nt-tx { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.nav-tools-menu .nt-tx b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.nav-tools-menu a:hover .nt-tx b { color: var(--brand); }
.nav-tools-menu .nt-tx small { font-size: 11.5px; color: var(--gray); margin-top: 2px; font-weight: 400; }
html.u-logged .nav-tools-trigger { font-size: 13.5px; }
@media (max-width: 768px) {
  .nav-tools-menu { left: 0; transform: translateX(0) translateY(-4px); width: 236px; }
  .nav-tools-dd.is-open .nav-tools-menu { transform: translateX(0) translateY(0); }
}
