/* =====================================================================
 * 海运询盘智能报价 Agent — 样式系统
 * 视觉体系遵循方案 DESIGN.md：深航海蓝 #0B3D6B / 科技青 #0E9AA7
 *                            信号橙 #F26B21 / 墨蓝 #16283A
 * ===================================================================== */
:root {
  --navy: #0B3D6B;
  --navy-2: #123E63;
  --teal: #0E9AA7;
  --teal-soft: #5FD3DC;
  --orange: #F26B21;
  --ink: #16283A;
  --card-bg: rgba(11, 61, 107, 0.045);
  --border: rgba(11, 61, 107, 0.13);
  --border-strong: rgba(11, 61, 107, 0.24);
  --grad: linear-gradient(135deg, #0B3D6B 0%, #0E9AA7 100%);
  --shadow: 0 4px 20px rgba(11, 61, 107, 0.10);
  --green: #0E9A6B;
  --red: #D64541;
  --yellow: #F2A51B;
  --radius: 10px;
  --font-num: "Space Grotesk", "DIN Alternate", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 15px; }

body {
  font-family: -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: #F4F7FA;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------------- 顶部 ---------------- */
.topbar {
  background: var(--grad);
  color: #fff;
  padding: 14px 26px;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 12px rgba(11, 61, 107, 0.25);
}
.topbar-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-title { font-size: 17px; font-weight: 700; letter-spacing: 0.5px; }
.brand-sep { color: var(--teal-soft); margin: 0 6px; }
.brand-sub { font-size: 12px; opacity: 0.82; margin-top: 2px; letter-spacing: 0.3px; }
.scfi { text-align: right; background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 8px; padding: 6px 14px; }
.scfi-label { font-size: 11px; opacity: 0.8; letter-spacing: 1px; }
.scfi-value { font-family: var(--font-num); font-size: 20px; font-weight: 700; }
.scfi-up { font-size: 12px; color: #FFD9A8; margin-left: 6px; }

/* ---------------- 页签 ---------------- */
.tabs {
  max-width: 1280px; margin: 0 auto; padding: 0 20px; width: 100%;
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px;
}
.tab {
  border: 1px solid var(--border); background: #fff; color: var(--ink);
  padding: 9px 16px; border-radius: 8px; cursor: pointer;
  font-size: 14px; font-weight: 600; transition: all 0.18s;
  display: flex; align-items: center; gap: 7px;
}
.tab:hover { border-color: var(--teal); color: var(--navy); }
.tab.active { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 3px 10px rgba(11,61,107,0.25); }
.tab-no { font-family: var(--font-num); font-size: 11px; opacity: 0.72; font-weight: 700; }

/* ---------------- 主区 ---------------- */
.main { max-width: 1280px; margin: 0 auto; padding: 18px 20px 40px; width: 100%; flex: 1; }
.panel { display: none; animation: fadeUp 0.3s ease; }
.panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.panel-head h2 { font-size: 22px; color: var(--navy); font-weight: 700; }
.panel-head h2 .sub { font-size: 13px; color: var(--teal); font-weight: 600; letter-spacing: 1.5px; margin-left: 8px; }
.head-desc { font-size: 13px; color: var(--ink); opacity: 0.62; margin-top: 6px; max-width: 720px; line-height: 1.6; }

/* ---------------- 卡片 ---------------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
}
.card-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 12px; display: flex; align-items: baseline; gap: 8px; }
.card-title .hint { font-size: 12px; color: var(--ink); opacity: 0.5; font-weight: 400; }

/* ---------------- 按钮 ---------------- */
.btn {
  border: none; border-radius: 8px; padding: 10px 20px; cursor: pointer;
  font-size: 14px; font-weight: 600; transition: all 0.18s; font-family: inherit;
}
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 3px 12px rgba(11,61,107,0.28); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 5px 16px rgba(11,61,107,0.34); }
.btn.ghost { background: #fff; color: var(--navy); border: 1px solid var(--border-strong); }
.btn.ghost:hover { border-color: var(--navy); }
.btn.orange { background: var(--orange); color: #fff; }
.btn.teal { background: var(--teal); color: #fff; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }
.run-icon { font-style: normal; }
.panel-foot-actions { margin-top: 18px; text-align: right; }

/* ---------------- 01 询盘台 ---------------- */
.inquiry-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; }
.sample-list { display: flex; flex-direction: column; gap: 9px; max-height: 430px; overflow-y: auto; padding-right: 4px; }
.sample-item {
  border: 1px solid var(--border); border-radius: 8px; padding: 10px 13px; cursor: pointer;
  transition: all 0.15s; background: #fff;
}
.sample-item:hover { border-color: var(--teal); box-shadow: 0 3px 10px rgba(14,154,167,0.14); }
.sample-item.selected { border-color: var(--navy); background: rgba(11,61,107,0.05); box-shadow: 0 3px 10px rgba(11,61,107,0.14); }
.sample-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sample-title { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.sample-from { font-size: 11.5px; color: var(--ink); opacity: 0.55; margin-top: 3px; }
.sample-highlight { font-size: 11.5px; color: var(--teal); margin-top: 4px; }
.tag {
  font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 20px; letter-spacing: 0.5px;
}
.tag.green { background: rgba(14,154,107,0.12); color: #0E8A5F; border: 1px solid rgba(14,154,107,0.3); }
.tag.yellow { background: rgba(242,165,27,0.14); color: #B07A00; border: 1px solid rgba(242,165,27,0.4); }
.tag.red { background: rgba(214,69,65,0.12); color: #C0392B; border: 1px solid rgba(214,69,65,0.32); }
.tag.blue { background: rgba(14,154,167,0.12); color: var(--teal); border: 1px solid rgba(14,154,167,0.35); }
.tag.plain { background: rgba(11,61,107,0.07); color: var(--navy); border: 1px solid var(--border); }
.ch-icon { width: 30px; height: 30px; border-radius: 7px; background: var(--card-bg); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }

#inquiryInput {
  width: 100%; border: 1px solid var(--border-strong); border-radius: 8px; padding: 12px 14px;
  font-size: 13.5px; line-height: 1.7; resize: vertical; font-family: inherit; color: var(--ink);
  min-height: 200px; background: #FBFCFE;
}
#inquiryInput:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,154,167,0.12); }
.input-actions { display: flex; gap: 10px; margin-top: 12px; align-items: center; }
.input-actions .btn.primary { margin-left: auto; }
.tip-row { margin-top: 12px; }
.tip { font-size: 12px; color: var(--ink); opacity: 0.6; line-height: 1.6; }

/* 流水线 */
.pipeline { margin-top: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.pipeline-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.pipeline-track { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.p-step {
  flex: 1; min-width: 120px; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px;
  display: flex; align-items: center; gap: 10px; background: #fff; transition: all 0.25s; opacity: 0.55;
}
.p-step i {
  width: 26px; height: 26px; border-radius: 50%; background: var(--card-bg); color: var(--navy);
  font-style: normal; font-weight: 700; font-size: 12.5px; display: flex; align-items: center; justify-content: center; font-family: var(--font-num);
}
.p-step b { font-size: 13px; color: var(--ink); }
.p-step span { display: block; font-size: 11px; color: var(--ink); opacity: 0.55; }
.p-step.done { border-color: var(--teal); opacity: 1; background: rgba(14,154,167,0.05); }
.p-step.done i { background: var(--teal); color: #fff; }
.p-step.running { border-color: var(--orange); opacity: 1; background: rgba(242,107,33,0.06); animation: pulse 0.9s infinite; }
.p-step.running i { background: var(--orange); color: #fff; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(242,107,33,0.25); } 50% { box-shadow: 0 0 0 6px rgba(242,107,33,0); } }
.p-arrow { color: var(--teal); font-weight: 700; font-size: 15px; }
.pipeline-log { margin-top: 12px; font-size: 12.5px; color: var(--ink); opacity: 0.75; line-height: 1.7; max-height: 90px; overflow-y: auto; }
.log-line::before { content: '▸ '; color: var(--teal); font-weight: 700; }

/* ---------------- 02 解析工作台 ---------------- */
.conf-badge {
  background: var(--navy); color: #fff; border-radius: 10px; padding: 10px 18px; text-align: center; min-width: 120px;
}
.conf-badge .num { font-family: var(--font-num); font-size: 26px; font-weight: 700; line-height: 1.1; }
.conf-badge .lbl { font-size: 11px; opacity: 0.8; letter-spacing: 1px; }
.parse-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; }
.elem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.elem {
  border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px; background: #fff; cursor: text;
}
.elem .k { font-size: 11px; color: var(--ink); opacity: 0.55; letter-spacing: 0.5px; }
.elem .v { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-top: 2px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.elem .v.editable { border-bottom: 1px dashed var(--border-strong); cursor: text; padding: 1px 4px; min-width: 40px; }
.conf-chip { font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 10px; }
.conf-chip.high { background: rgba(14,154,107,0.13); color: #0E8A5F; }
.conf-chip.medium { background: rgba(242,165,27,0.16); color: #B07A00; }
.conf-chip.low { background: rgba(214,69,65,0.12); color: #C0392B; }
.elem.missing { border-style: dashed; border-color: var(--yellow); background: rgba(242,165,27,0.05); }
.elem.missing .v { color: #B07A00; font-weight: 500; }
.ask-box { display: flex; flex-direction: column; gap: 8px; }
.ask-item {
  border-left: 3px solid var(--yellow); background: rgba(242,165,27,0.07); border-radius: 0 8px 8px 0;
  padding: 9px 12px; font-size: 12.5px; color: var(--ink); line-height: 1.6;
}
.ask-item.ok { border-left-color: var(--green); background: rgba(14,154,107,0.07); }
.ask-item b { color: var(--navy); }
.raw-text {
  background: #F7F9FB; border: 1px dashed var(--border); border-radius: 8px; padding: 10px 12px;
  font-size: 12.5px; line-height: 1.7; color: var(--ink); opacity: 0.85; max-height: 200px; overflow-y: auto;
  white-space: pre-wrap; word-break: break-all;
}

/* ---------------- 03 智能报价 ---------------- */
.trace-card { margin-bottom: 14px; }
.trace-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.trace-item { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; background: var(--card-bg); }
.trace-item .src { font-size: 11.5px; color: var(--teal); font-weight: 700; letter-spacing: 0.5px; }
.trace-item .val { font-family: var(--font-num); font-size: 17px; font-weight: 700; color: var(--navy); margin-top: 3px; }
.trace-item .nt { font-size: 11px; color: var(--ink); opacity: 0.55; margin-top: 3px; line-height: 1.45; }

.quote-list { display: flex; flex-direction: column; gap: 14px; }
.quote-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.quote-card.recommend { border-color: var(--teal); }
.quote-head {
  display: flex; align-items: center; gap: 12px; padding: 13px 18px;
  background: linear-gradient(90deg, rgba(11,61,107,0.06), rgba(14,154,167,0.05));
  border-bottom: 1px solid var(--border); flex-wrap: wrap;
}
.letter-badge {
  width: 30px; height: 30px; border-radius: 8px; background: var(--navy); color: #fff;
  font-family: var(--font-num); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center;
}
.quote-card.recommend .letter-badge { background: var(--orange); }
.rec-tag { font-size: 10.5px; background: var(--orange); color: #fff; padding: 2px 8px; border-radius: 12px; font-weight: 700; }
.q-title { font-weight: 700; color: var(--navy); font-size: 14.5px; }
.q-meta { font-size: 12px; color: var(--ink); opacity: 0.6; }
.q-route { font-size: 11.5px; color: var(--teal); font-weight: 600; margin-left: auto; }
.quote-body { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; padding: 16px 18px; }
.quote-left { display: flex; flex-direction: column; gap: 10px; }
.quote-right { border-left: 1px dashed var(--border); padding-left: 16px; display: flex; flex-direction: column; gap: 8px; }
.price-row { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.price-main { font-family: var(--font-num); font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1; }
.price-main small { font-size: 13px; color: var(--ink); opacity: 0.55; font-weight: 400; }
.price-total { font-size: 13px; color: var(--ink); opacity: 0.72; }
.margin-block { display: flex; align-items: center; gap: 12px; }
.margin-lbl { font-size: 12px; color: var(--ink); opacity: 0.65; }
.margin-num { font-family: var(--font-num); font-size: 20px; font-weight: 700; }
.margin-num.good { color: var(--green); }
.margin-num.bad { color: var(--red); }
.margin-bar { flex: 1; height: 8px; border-radius: 4px; background: rgba(11,61,107,0.08); overflow: hidden; max-width: 160px; }
.margin-bar i { display: block; height: 100%; border-radius: 4px; }
.mbar-good { background: linear-gradient(90deg, var(--teal), var(--green)); }
.mbar-mid { background: linear-gradient(90deg, var(--yellow), var(--orange)); }
.mbar-bad { background: linear-gradient(90deg, var(--red), #E87A6A); }
.chip-row { display: flex; gap: 7px; flex-wrap: wrap; }
.chip { font-size: 11.5px; padding: 3px 10px; border-radius: 14px; border: 1px solid var(--border); background: #fff; color: var(--ink); }
.chip.teal { border-color: rgba(14,154,167,0.4); color: var(--teal); background: rgba(14,154,167,0.07); }
.chip.orange { border-color: rgba(242,107,33,0.42); color: var(--orange); background: rgba(242,107,33,0.07); }
.chip.green { border-color: rgba(14,154,107,0.4); color: #0E8A5F; background: rgba(14,154,107,0.07); }
.chip.red { border-color: rgba(214,69,65,0.4); color: #C0392B; background: rgba(214,69,65,0.07); }
.cost-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.cost-table td { padding: 4.5px 6px; border-bottom: 1px dashed rgba(11,61,107,0.09); }
.cost-table td:last-child { text-align: right; font-family: var(--font-num); font-weight: 600; }
.cost-table tr.total td { border-top: 1.5px solid var(--border-strong); border-bottom: none; font-weight: 700; color: var(--navy); font-size: 13px; }
.cost-table .cat { color: var(--ink); opacity: 0.7; }
.q-actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.q-actions .btn { padding: 8px 16px; font-size: 13px; }
.detail-toggle { font-size: 12px; color: var(--teal); cursor: pointer; font-weight: 600; background: none; border: none; }
.detail-body { margin-top: 8px; }

/* ---------------- 04 人机审核 ---------------- */
.review-hero {
  border-radius: 14px; padding: 26px 28px; margin-bottom: 16px; color: #fff; position: relative; overflow: hidden;
}
.review-hero::after { content: ''; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.review-hero.green { background: linear-gradient(135deg, #0B7A52, #0E9A6B); }
.review-hero.yellow { background: linear-gradient(135deg, #B07A00, #F2A51B); }
.review-hero.red { background: linear-gradient(135deg, #B3362F, #D64541); }
.rh-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; position: relative; z-index: 1; }
.rh-light { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.22); display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: inset 0 0 0 3px rgba(255,255,255,0.45); }
.rh-title { font-size: 24px; font-weight: 800; }
.rh-sub { font-size: 13px; opacity: 0.9; margin-top: 4px; }
.rh-right { margin-left: auto; text-align: right; position: relative; z-index: 1; }
.rh-right .num { font-family: var(--font-num); font-size: 34px; font-weight: 800; }
.rh-right .lbl { font-size: 12px; opacity: 0.85; }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rule-item {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--border); margin-bottom: 8px; background: #fff;
}
.rule-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.rule-dot.red { background: var(--red); }
.rule-dot.yellow { background: var(--yellow); }
.rule-name { font-weight: 700; font-size: 13px; color: var(--ink); }
.rule-detail { font-size: 12px; color: var(--ink); opacity: 0.68; margin-top: 2px; line-height: 1.55; }
.review-ops { display: flex; flex-direction: column; gap: 10px; }
.audit-timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.at-item { display: flex; gap: 12px; position: relative; padding-bottom: 14px; }
.at-item:not(:last-child)::before { content: ''; position: absolute; left: 6px; top: 18px; bottom: 0; width: 2px; background: rgba(11,61,107,0.13); }
.at-dot { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); margin-top: 2px; flex-shrink: 0; z-index: 1; }
.at-item.done .at-dot { background: var(--teal); }
.at-item.pending .at-dot { border-color: var(--border-strong); }
.at-time { font-size: 11px; color: var(--ink); opacity: 0.5; font-family: var(--font-num); }
.at-text { font-size: 12.5px; color: var(--ink); }

/* ---------------- 05 锁舱执行 ---------------- */
.so-sheet {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; max-width: 960px; margin: 0 auto;
}
.so-head {
  background: var(--grad); color: #fff; padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.so-head .t { font-size: 16px; font-weight: 700; }
.so-no { font-family: var(--font-num); font-size: 15px; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.3); padding: 4px 12px; border-radius: 6px; }
.so-body { padding: 18px 22px; }
.so-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 16px; }
.so-item { border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; background: var(--card-bg); }
.so-item .k { font-size: 11px; color: var(--ink); opacity: 0.55; }
.so-item .v { font-size: 13px; font-weight: 700; color: var(--navy); margin-top: 2px; }
.so-section { margin-top: 16px; }
.so-section .t { font-size: 13px; font-weight: 700; color: var(--navy); border-left: 3px solid var(--teal); padding-left: 8px; margin-bottom: 10px; }
.so-summary { display: flex; gap: 30px; flex-wrap: wrap; }
.so-sum { font-family: var(--font-num); font-size: 22px; font-weight: 700; color: var(--navy); }
.so-sum small { font-size: 12px; color: var(--ink); opacity: 0.55; font-weight: 400; margin-left: 4px; }
.cap-alert {
  margin-top: 14px; border-radius: 8px; padding: 12px 14px; font-size: 13px; line-height: 1.6;
  display: flex; gap: 10px; align-items: flex-start;
}
.cap-alert.warn { background: rgba(242,165,27,0.09); border: 1px solid rgba(242,165,27,0.4); color: #8A6100; }
.cap-alert.ok { background: rgba(14,154,107,0.08); border: 1px solid rgba(14,154,107,0.35); color: #0B6B4A; }
.so-actions { display: flex; justify-content: center; gap: 12px; padding: 16px 22px; border-top: 1px dashed var(--border); }
.alt-card { margin-top: 14px; border: 1px dashed var(--teal); border-radius: 8px; padding: 12px 14px; background: rgba(14,154,167,0.05); }

/* ---------------- 06 经营看板 ---------------- */
.kpi-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.kpi::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.kpi .k { font-size: 12px; color: var(--ink); opacity: 0.6; }
.kpi .v { font-family: var(--font-num); font-size: 26px; font-weight: 800; color: var(--navy); margin-top: 4px; }
.kpi .d { font-size: 11px; color: var(--teal); margin-top: 2px; font-weight: 600; }
.dash-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.chart-box { height: 230px; }
.agent-metrics { display: flex; flex-direction: column; gap: 8px; }
.am-item { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px; }
.am-item .idx { width: 30px; height: 30px; border-radius: 8px; background: var(--card-bg); color: var(--navy); font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.am-item .nm { font-size: 13px; font-weight: 700; color: var(--ink); }
.am-item .mt { font-size: 11.5px; color: var(--ink); opacity: 0.6; margin-top: 1px; }
.am-item .val { margin-left: auto; font-family: var(--font-num); font-weight: 700; color: var(--teal); font-size: 14px; }
.intercept-bar {
  margin-top: 16px; background: linear-gradient(90deg, rgba(242,107,33,0.10), rgba(242,107,33,0.04));
  border: 1px solid rgba(242,107,33,0.35); border-radius: var(--radius); padding: 16px 20px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.intercept-bar .num { font-family: var(--font-num); font-size: 38px; font-weight: 800; color: var(--orange); line-height: 1; }
.intercept-bar .t { font-size: 14px; font-weight: 700; color: var(--navy); }
.intercept-bar .d { font-size: 12.5px; color: var(--ink); opacity: 0.7; margin-top: 3px; }

/* ---------------- 07 演示指南 ---------------- */
.guide-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow); border-top: 4px solid var(--teal); position: relative;
}
.guide-card .g-no { font-family: var(--font-num); font-size: 13px; font-weight: 800; color: var(--teal); letter-spacing: 1px; }
.guide-card .g-t { font-size: 15px; font-weight: 700; color: var(--navy); margin-top: 4px; }
.guide-card .g-d { font-size: 12.5px; color: var(--ink); opacity: 0.72; margin-top: 8px; line-height: 1.7; }
.map-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.map-table th, .map-table td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }
.map-table th { background: var(--navy); color: #fff; font-weight: 600; }
.map-table td:first-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.map-table tr:nth-child(even) td { background: var(--card-bg); }
.demo-notes { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.demo-notes li { font-size: 13px; color: var(--ink); line-height: 1.7; padding-left: 18px; position: relative; opacity: 0.85; }
.demo-notes li::before { content: '›'; position: absolute; left: 4px; color: var(--teal); font-weight: 700; }
.demo-notes b { color: var(--navy); }

/* ---------------- 底部 ---------------- */
.foot {
  max-width: 1280px; margin: 0 auto; width: 100%; padding: 0 20px 26px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink); opacity: 0.5;
}
.foot-right { font-family: var(--font-num); }

/* ---------------- 遮罩 ---------------- */
.overlay {
  position: fixed; inset: 0; background: rgba(11,61,107,0.5); backdrop-filter: blur(3px);
  z-index: 100; display: flex; align-items: center; justify-content: center;
}
.overlay-card { background: #fff; border-radius: 14px; padding: 34px 48px; text-align: center; box-shadow: 0 18px 50px rgba(11,61,107,0.3); min-width: 320px; }
.overlay-ring {
  width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%;
  border: 4px solid rgba(14,154,167,0.2); border-top-color: var(--teal);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.overlay-title { font-size: 17px; font-weight: 700; color: var(--navy); }
.overlay-sub { font-size: 12.5px; color: var(--ink); opacity: 0.6; margin-top: 6px; }

/* ---------------- 滚动条 ---------------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(11,61,107,0.2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(11,61,107,0.35); }
::-webkit-scrollbar-track { background: transparent; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .inquiry-grid, .parse-grid, .quote-body, .review-grid { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .guide-steps { grid-template-columns: 1fr 1fr; }
  .kpi-row { grid-template-columns: repeat(3, 1fr); }
  .trace-grid { grid-template-columns: repeat(2, 1fr); }
  .so-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-right { border-left: none; border-top: 1px dashed var(--border); padding-left: 0; padding-top: 14px; }
}
@media (max-width: 640px) {
  .guide-steps { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .brand-sub { display: none; }
  .elem-grid { grid-template-columns: 1fr; }
}
