:root {
  --blue-900: #0a2540;
  --blue-800: #10345c;
  --blue-700: #1657a0;
  --blue-600: #1e6fd8;
  --blue-500: #2b82f6;
  --blue-400: #5aa2fb;
  --blue-100: #e8f1fe;
  --blue-50: #f4f8ff;
  --ink: #0f1b2d;
  --gray-600: #556074;
  --gray-400: #8a94a6;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5fa;
  --white: #ffffff;
  --ok: #16a34a;
  --warn: #d97706;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(16, 52, 92, 0.08);
  --shadow-lg: 0 12px 40px rgba(16, 52, 92, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--blue-50);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Header ---------- */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 20px;
  color: var(--blue-700);
}
.logo-image {
  display: block;
  width: auto;
  height: 42px;
  max-width: 190px;
  object-fit: contain;
}
.logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  border-radius: 8px;
  display: grid; place-items: center;
  color: #fff; font-weight: 800;
}
.nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav a { color: var(--gray-600); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a.active { color: var(--blue-600); }
.lang-btn {
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--blue-700);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}
.lang-btn:hover { border-color: var(--blue-400); }

/* 公司官网入口：紧邻品牌 logo，使用橙色高亮与业务导航区分。 */
.official-site-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 8px 16px 8px 13px;
  border: 1px solid #f59e0b;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, #f97316, #dc2626);
  box-shadow: 0 4px 16px rgba(220, 38, 38, .28);
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.official-site-btn:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 8px 24px rgba(220, 38, 38, .42); }
.official-site-btn:active { transform: translateY(0); }
.official-site-btn:focus-visible { outline: 3px solid #fbbf24; outline-offset: 3px; }
.official-site-btn i { width: 17px; height: 17px; flex: 0 0 auto; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--blue-900), var(--blue-700));
  color: #fff;
  padding: 56px 24px 40px;
}
.hero-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: 30px; font-weight: 700; margin-bottom: 12px; }
.hero p { color: #cfe0f7; font-size: 16px; }

/* ---------- Main layout ---------- */
.container { max-width: 1200px; margin: -28px auto 0; padding: 0 24px 48px; }
.workspace {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: start;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.card h2 { font-size: 18px; margin-bottom: 16px; color: var(--blue-900); }

/* ---------- Upload / dropzone ---------- */
.dropzone {
  border: 2px dashed var(--blue-400);
  border-radius: var(--radius);
  background: var(--blue-50);
  padding: 40px 20px;
  text-align: center;
  transition: .2s;
  cursor: pointer;
}
.dropzone.dragover { background: var(--blue-100); border-color: var(--blue-600); }
.dropzone .icon { font-size: 42px; }
.dropzone .click-text { font-weight: 600; color: var(--blue-700); margin-top: 8px; }
.dropzone .hint { color: var(--gray-400); font-size: 13px; margin-top: 6px; }
.dropzone input { display: none; }

/* ---------- Viewer ---------- */
#viewer {
  width: 100%;
  height: 340px;
  background: linear-gradient(180deg, #0d2036, #12324f);
  border-radius: var(--radius);
  display: none;
  margin-bottom: 16px;
}
.viewer-wrap { position: relative; }
.viewer-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.9);
  color: var(--blue-700);
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 20px;
  display: none;
}

/* ---------- Geometry stats ---------- */
.geo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.geo-item {
  background: var(--gray-100);
  border-radius: 8px;
  padding: 10px 12px;
}
.geo-item .label { font-size: 12px; color: var(--gray-400); }
.geo-item .value { font-size: 16px; font-weight: 600; color: var(--blue-900); }
#geoStats { display: none; }
.geometry-bbox-value { font-size: 14px; }

/* ---------- Form ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--gray-600); }
.field select, .field input, .field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  background: var(--white);
  color: var(--ink);
}
.field select:focus, .field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 3px var(--blue-100);
}
.field textarea { resize: vertical; min-height: 64px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.qty-control { display: flex; align-items: center; gap: 0; }
.qty-control button {
  width: 40px; height: 40px;
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
  font-size: 18px; color: var(--blue-700);
}
.qty-control button:first-child { border-radius: 8px 0 0 8px; }
.qty-control button:last-child { border-radius: 0 8px 8px 0; }
.qty-control input { text-align: center; border-radius: 0; border-left: none; border-right: none; }

.btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: .2s;
}
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-700); }
.btn-primary:disabled { background: var(--gray-200); color: var(--gray-400); cursor: not-allowed; }
.btn-ghost { background: var(--white); color: var(--blue-700); border: 1px solid var(--blue-400); }
.btn-ghost:hover { background: var(--blue-50); }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }

/* ---------- Quote result ---------- */
.quote-box {
  background: linear-gradient(160deg, var(--blue-700), var(--blue-600));
  color: #fff;
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 20px;
  display: none;
}
.quote-price { display: flex; justify-content: space-between; align-items: baseline; }
.quote-price .total { font-size: 34px; font-weight: 800; }
.quote-price .unit { color: #d3e4fb; font-size: 14px; }
.quote-lead { text-align: right; }
.quote-lead-label { font-size: 13px; color: #d3e4fb; }
.quote-lead-value { font-size: 22px; font-weight: 700; }
.quote-meta { display: flex; gap: 20px; margin-top: 12px; font-size: 14px; color: #e0ecfd; flex-wrap: wrap; }
.quote-meta b { color: #fff; }
.breakdown {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: 13px; color: #dbe8fc;
}
.breakdown-row { display: flex; justify-content: space-between; padding: 2px 0; }
.breakdown-row-muted { opacity: .8; }

.manual-note {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: var(--warn);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 16px;
  display: none;
}

/* ---------- Features ---------- */
.features {
  max-width: 1200px; margin: 32px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.feature {
  background: var(--white); border-radius: 10px; padding: 16px;
  box-shadow: var(--shadow); font-size: 13px; color: var(--gray-600);
  display: flex; gap: 10px; align-items: flex-start;
}
.feature .dot { color: var(--blue-500); font-weight: 800; }

/* ---------- Engineer CTA ---------- */
.engineer-cta {
  max-width: 1200px; margin: 32px auto 0; padding: 24px;
  background: var(--blue-100); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.engineer-cta p { color: var(--blue-900); font-weight: 500; }
.engineer-cta .btn { width: auto; padding: 11px 24px; white-space: nowrap; }

/* ---------- Cart ---------- */
.cart-list { margin-top: 8px; }
.cart-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--gray-200); font-size: 14px;
}
.cart-item .ci-name { font-weight: 600; color: var(--blue-900); }
.cart-item .ci-meta { font-size: 12px; color: var(--gray-400); }
.cart-item .ci-meta-compact { font-size: 11px; }
.cart-item .ci-custom-number { font-weight: 400; color: var(--gray-400); }
.cart-item .ci-actions { text-align: right; }
.cart-item .ci-price { font-weight: 700; color: var(--blue-700); }
.cart-item .ci-remove { color: var(--gray-400); background: none; border: none; font-size: 13px; }
.cart-item .ci-remove:hover { color: #dc2626; }
.cart-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; color: var(--blue-900); margin-top: 14px; }
.cart-empty { color: var(--gray-400); text-align: center; padding: 20px 0; }
.cart-section { margin-top: 24px; }
.quote-action { margin-top: 14px; }
#qTiers, #cartTotalRow, #checkoutBtn, #infillRow, #wallRow { display: none; }

/* ---------- FAQ ---------- */
.faq-section { max-width: 900px; margin: 48px auto 0; padding: 0 24px; }
.faq-section h2 { text-align: center; font-size: 24px; color: var(--blue-900); margin-bottom: 24px; }
.faq-item {
  background: var(--white); border-radius: 10px; box-shadow: var(--shadow);
  margin-bottom: 12px; padding: 16px 20px; cursor: pointer;
}
.faq-item .q { font-weight: 600; color: var(--blue-900); display: flex; justify-content: space-between; }
.faq-item .a { color: var(--gray-600); font-size: 14px; margin-top: 10px; display: none; }
.faq-item.open .a { display: block; }
.faq-item .toggle { color: var(--blue-500); }

/* ---------- Footer ---------- */
.footer {
  margin-top: 56px; background: var(--blue-900); color: #b9cbe5;
  padding: 28px 24px; text-align: center; font-size: 14px;
}

/* ---------- Loading spinner ---------- */
.spinner {
  display: inline-block; width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -3px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .workspace { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .nav { gap: 14px; }
  .nav a:not(.active) { display: none; }
  .nav .lang-btn, .nav a[href^="/track"] { display: inline-flex !important; }
  .official-site-btn { padding: 7px 12px 7px 10px; font-size: 13px !important; }
}
@media (max-width: 640px) {
  .header-inner { gap: 8px; }
  .logo-image { height: 34px; max-width: 145px; }
  .official-site-btn { gap: 4px; padding: 6px 9px; font-size: 12px !important; }
  .official-site-btn i { width: 15px; height: 15px; }
}

/* ---------- Advanced options / hollow-infill ---------- */
.advanced-toggle {
  background: none; border: none; color: var(--blue-600);
  font-size: 13px; padding: 0; cursor: pointer; margin-bottom: 10px;
}
.advanced-toggle:hover { text-decoration: underline; }
.advanced-panel {
  background: var(--blue-50); border-radius: 8px; padding: 14px;
  margin-bottom: 16px; display: none;
}
.advanced-panel.open { display: block; }
.switch-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.switch-row label { margin: 0; font-size: 13px; color: var(--gray-600); font-weight: 500; }
.switch { position: relative; width: 40px; height: 22px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer; inset: 0; background: var(--gray-200);
  border-radius: 22px; transition: .2s;
}
.slider:before {
  content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: .2s;
}
.switch input:checked + .slider { background: var(--blue-500); }
.switch input:checked + .slider:before { transform: translateX(18px); }

.range-row { display: flex; align-items: center; gap: 10px; }
.range-row input[type="range"] { flex: 1; accent-color: var(--blue-500); }
.range-row .range-val { min-width: 44px; font-weight: 600; color: var(--blue-700); text-align: right; }

.warnings { margin-top: 10px; }
.warnings .warn {
  background: #fef3c7; border: 1px solid #fcd34d; color: #92400e;
  font-size: 12px; padding: 6px 10px; border-radius: 6px; margin-top: 6px;
}

/* ---------- Modal ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(10, 37, 64, .55);
  display: none; align-items: center; justify-content: center; z-index: 200;
  padding: 20px;
}
.modal-mask.open { display: flex; }
.modal {
  background: #fff; border-radius: 12px; width: 100%; max-width: 460px;
  padding: 28px; box-shadow: var(--shadow-lg);
}
.modal h3 { color: var(--blue-900); margin-bottom: 18px; font-size: 20px; }
.modal .btn-row { grid-template-columns: 1fr 1fr; }
.modal .success-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--ok); color: #fff; margin: 0 auto 14px;
  display: grid; place-items: center; font-size: 30px;
}
.modal .success-text { text-align: center; }
.modal .success-message { color: var(--gray-600); font-size: 14px; }
.modal-close { margin-top: 14px; }
.notice-close { margin-top: 16px; }
.modal .success-text .order-no {
  font-family: "Menlo", monospace; font-size: 15px; color: var(--blue-700);
  background: var(--blue-50); padding: 10px; border-radius: 6px; margin: 10px 0;
}

/* ---------- Notice bar (说明事项按钮) ---------- */
.notice-bar {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px;
}
.notice-btn {
  background: var(--blue-50); color: var(--blue-700);
  border: 1px solid var(--blue-100); border-radius: 8px;
  padding: 7px 14px; font-size: 13px; font-weight: 600; transition: .15s;
}
.notice-btn:hover { background: var(--blue-100); border-color: var(--blue-400); }
.notice-btn::before { content: "📋 "; }

.notice-modal { max-width: 560px; }
.notice-modal h3 { color: var(--blue-900); margin-bottom: 14px; }
.notice-body {
  white-space: pre-wrap; line-height: 1.8; color: var(--gray-600);
  font-size: 14px; max-height: 60vh; overflow-y: auto;
  background: var(--blue-50); border-radius: 8px; padding: 16px;
}

/* ---------- Step bar ---------- */
.step-bar {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 22px; background: rgba(255,255,255,.10);
  padding: 10px 18px; border-radius: 30px;
}
.step-bar .step {
  display: inline-flex; align-items: center; gap: 8px;
  color: #dbe8fc; font-size: 14px; font-weight: 500;
}
.step-bar .step b {
  display: grid; place-items: center; width: 22px; height: 22px;
  background: var(--blue-500); color: #fff; border-radius: 50%; font-size: 12px;
}
.step-bar .step-arrow { color: #7fa8e0; }

/* ---------- Footer extra ---------- */
.footer .footer-main { font-weight: 600; color: #d7e4f6; }
.footer .footer-sub { font-size: 12px; color: #8ba3c4; margin-top: 6px; }
.footer-admin-link { color: #88a5c9; }
/* 备案号链接沿用页脚副文本配色，避免比正文更抢眼。 */
.footer-icp-link { color: #8ba3c4; text-decoration: none; }
.footer-icp-link:hover { color: #d7e4f6; }

@media (max-width: 600px) {
  .step-bar { gap: 6px; padding: 8px 12px; }
  .step-bar .step { font-size: 12px; }
  .step-bar .step-arrow { display: none; }
}

/* ---------- Order tracking timeline ---------- */
.track-timeline {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 8px;
  border: 1px solid var(--gray-200); border-radius: 10px; padding: 18px 12px;
}
.tl-node {
  flex: 1; min-width: 90px; text-align: center; position: relative; color: var(--gray-400);
}
.tl-node .tl-dot {
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--gray-100); color: var(--gray-400);
  font-weight: 700; font-size: 13px; border: 2px solid var(--gray-200);
}
.tl-node .tl-label { display: block; margin-top: 8px; font-size: 13px; }
.tl-node::before {
  content: ""; position: absolute; top: 15px; left: 0; right: 50%;
  height: 2px; background: var(--gray-200); z-index: -1;
}
.tl-node:first-child::before { display: none; }
.tl-node.done { color: var(--blue-700); }
.tl-node.done .tl-dot { background: var(--blue-500); color: #fff; border-color: var(--blue-500); }
.tl-node.done::before { background: var(--blue-400); }
.tl-node.active .tl-dot { box-shadow: 0 0 0 4px var(--blue-100); }
.tl-cancelled { color: #dc2626; font-weight: 700; font-size: 16px; padding: 8px; }

.track-form-card { max-width: 640px; margin: 0 auto; }
.track-error {
  display: none; margin-top: 14px; background: #fee2e2; color: #dc2626;
  padding: 10px 14px; border-radius: 8px; font-size: 14px;
}
.track-result-card { display: none; max-width: 820px; margin: 24px auto 0; }
.track-summary {
  color: var(--gray-600); margin: 16px 0; display: flex;
  gap: 22px; flex-wrap: wrap; font-size: 14px;
}
.track-total { color: var(--blue-600); }
.track-created { color: var(--gray-400); }

/* ---------- Price tiers ---------- */
.tiers { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); }
.tiers .tiers-title { font-size: 13px; color: #d3e4fb; margin-bottom: 8px; }
.tiers-table { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 6px; }
.tier-cell {
  background: rgba(255,255,255,.12); border-radius: 8px; padding: 8px 4px; text-align: center;
}
.tier-cell .tq { font-size: 12px; color: #cfe0f7; }
.tier-cell .tu { font-size: 14px; font-weight: 700; color: #fff; margin-top: 2px; }

/* ---------- DFM tips ---------- */
.dfm-tips { margin-top: 12px; }
.dfm-title { font-size: 12px; color: var(--gray-400); margin-bottom: 4px; }
.dfm-tips .dfm-tip {
  background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af;
  font-size: 12px; padding: 7px 10px; border-radius: 6px; margin-top: 6px;
}
.quote-min-hint { color: var(--gray-400); font-size: 12px; margin: -6px 0 12px; }
.badge-compact { font-size: 11px; }

/* ---------- Conversion-focused workspace upgrade ---------- */
.workbench-hero { padding: 34px 24px 44px; }
.workbench-hero .hero-inner { text-align: left; }
.workbench-hero h1 { max-width: 850px; font-size: 28px; line-height: 1.35; margin-top: 4px; }
.workbench-hero p { max-width: 850px; }
.section-kicker {
  color: var(--blue-500); font-size: 12px; font-weight: 800; text-transform: uppercase;
}
.workbench-hero .section-kicker { color: #8fc2ff; }
.workbench-hero .step-bar { margin-top: 18px; }

.trust-strip {
  max-width: 1152px; margin: -22px auto 28px; padding: 0 18px;
  min-height: 62px; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--gray-200); box-shadow: var(--shadow);
  border-radius: 8px; position: relative; z-index: 2;
}
.trust-item {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 16px; color: var(--gray-600); font-size: 13px; font-weight: 600;
  border-right: 1px solid var(--gray-100); text-align: center;
}
.trust-item:last-child { border-right: 0; }
.trust-item svg { width: 18px; height: 18px; color: var(--blue-600); flex: 0 0 18px; }
.container { margin: 0 auto; }

.dropzone .icon { width: 44px; height: 44px; margin: 0 auto; display: grid; place-items: center; }
.dropzone .icon svg { width: 36px; height: 36px; color: var(--blue-600); }
.secure-hint {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 6px;
  color: #39705a; font-size: 12px;
}
.secure-hint svg { width: 14px; height: 14px; }
.upload-actions { display: flex; gap: 10px; margin-top: 12px; }
.btn-compact { width: auto; min-height: 38px; padding: 8px 12px; font-size: 13px; }
.btn-inline { width: auto; }
.btn svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }
.icon-btn {
  width: 36px; height: 36px; border: 1px solid var(--gray-200); background: #fff;
  color: var(--gray-600); display: grid; place-items: center; border-radius: 8px;
}
.icon-btn svg { width: 18px; height: 18px; }
.manual-note { align-items: center; justify-content: space-between; gap: 12px; }
.manual-note > div { display: flex; align-items: center; gap: 8px; }
.manual-note svg { width: 18px; height: 18px; flex: 0 0 18px; }

.process-guide { padding: 52px 0 8px; }
.section-heading { max-width: 680px; margin-bottom: 22px; }
.section-heading h2 { color: var(--blue-900); font-size: 24px; margin-top: 4px; }
.section-heading p { color: var(--gray-600); margin-top: 4px; }
.process-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.process-card {
  min-width: 0; padding: 18px; background: #fff; border: 1px solid var(--gray-200);
  border-radius: 8px; transition: border-color .2s, transform .2s;
}
.process-card:hover { border-color: var(--blue-400); transform: translateY(-2px); }
.process-card-head { display: flex; justify-content: space-between; align-items: center; }
.process-card-head svg { width: 16px; height: 16px; color: var(--blue-500); }
.process-code { color: var(--blue-600); font-weight: 800; font-size: 12px; }
.process-card h3 { margin-top: 10px; font-size: 15px; color: var(--blue-900); }
.process-card p { color: var(--gray-600); font-size: 12px; line-height: 1.55; margin-top: 7px; min-height: 76px; }
.process-meta {
  display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 10px;
  border-top: 1px solid var(--gray-100); font-size: 12px; color: var(--gray-400);
}
.process-meta strong { color: var(--blue-700); }

.engineer-cta { border-radius: 8px; }
.engineer-cta .section-kicker { margin-bottom: 3px; }

.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal-head h3 { margin: 2px 0 0; }
.modal-desc { color: var(--gray-600); font-size: 13px; margin: 12px 0 18px; }
.manual-quote-modal { max-width: 620px; max-height: calc(100vh - 40px); overflow-y: auto; }
.file-context { font-size: 12px; color: var(--blue-700); margin-top: -4px; }
.form-status { min-height: 22px; margin-top: 8px; font-size: 13px; color: var(--blue-700); }

.support-float {
  position: fixed; right: 18px; top: 42%; z-index: 90; width: 48px;
  background: #fff; border: 1px solid var(--gray-200); box-shadow: var(--shadow-lg); border-radius: 8px;
}
.support-float a, .support-float button {
  width: 46px; height: 46px; border: 0; border-bottom: 1px solid var(--gray-100);
  background: #fff; color: var(--blue-700); display: grid; place-items: center; position: relative;
}
.support-float a:first-child, .support-float button:first-child { border-radius: 8px 8px 0 0; }
.support-float a:last-child { border-bottom: 0; border-radius: 0 0 8px 8px; }
.support-float svg { width: 19px; height: 19px; }
.support-float span {
  display: none; position: absolute; right: 54px; padding: 6px 9px; background: var(--blue-900);
  color: #fff; white-space: nowrap; border-radius: 6px; font-size: 12px;
}
.support-float a:hover span, .support-float button:hover span { display: block; }

.dfm-alert {
  display: grid; grid-template-columns: 62px 1fr; gap: 8px; align-items: start;
  font-size: 12px; padding: 8px 10px; border-radius: 6px; margin-top: 6px; border: 1px solid;
}
.dfm-alert strong { font-size: 11px; }
.dfm-alert.low { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.dfm-alert.medium { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.dfm-alert.high { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

@media (max-width: 1100px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); margin-left: 18px; margin-right: 18px; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--gray-100); }
  .support-float { display: none; }
}
@media (max-width: 640px) {
  .header-inner { padding: 0 14px; }
  .logo { font-size: 16px; white-space: nowrap; }
  .nav { gap: 8px; }
  .workbench-hero { padding: 26px 18px 38px; }
  .workbench-hero h1 { font-size: 23px; }
  .trust-strip { grid-template-columns: 1fr; margin-top: -18px; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--gray-100); justify-content: flex-start; text-align: left; }
  .trust-item:last-child { border-bottom: 0; }
  .container { padding: 0 14px 36px; }
  .card { padding: 18px; }
  .dropzone { padding: 30px 14px; }
  .upload-actions { flex-direction: column; }
  .upload-actions .btn { width: 100%; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card p { min-height: 0; }
  .engineer-cta { align-items: flex-start; flex-direction: column; }
  .engineer-cta .btn { width: 100%; }
  .manual-note { align-items: flex-start; flex-direction: column; }
  .manual-note .btn { width: 100%; }
  .manual-quote-modal .row { grid-template-columns: 1fr; }
}

/* ---------- 需人工报价弹窗 ---------- */
.manual-only-modal { max-width: 480px; }
.manual-only-icon {
  width: 56px; height: 56px; margin: 4px auto 14px;
  display: grid; place-items: center;
  border-radius: 50%; background: #fff7ed; color: var(--warn);
}
.manual-only-icon i { width: 28px; height: 28px; }
.manual-only-file {
  margin: 10px 0 4px; padding: 10px 12px;
  background: var(--blue-50); border-radius: 8px;
  font-size: 13px; color: var(--blue-700);
  word-break: break-all; text-align: center;
}
.manual-only-file:empty { display: none; }
.manual-only-contact {
  margin: 16px 0 4px; padding: 14px;
  background: var(--gray-100); border-radius: 8px;
  font-size: 13px; color: var(--gray-600);
}
.manual-only-contact-title {
  font-weight: 700; color: var(--blue-900); margin-bottom: 8px;
}
.manual-only-contact > div {
  display: flex; align-items: center; gap: 8px; padding: 3px 0;
}
.manual-only-contact i { width: 15px; height: 15px; flex: 0 0 auto; color: var(--blue-500); }
.manual-only-modal .btn-row { margin-top: 18px; }

/* ---------- 联系方式弹窗 ---------- */
.contact-modal { max-width: 460px; }
.contact-list { margin: 6px 0 4px; }
.contact-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--gray-100);
}
.contact-row:last-child { border-bottom: 0; }
.contact-label {
  display: flex; align-items: center; gap: 7px;
  flex: 0 0 auto; color: var(--gray-400); font-size: 13px;
}
.contact-label i { width: 16px; height: 16px; color: var(--blue-500); }
.contact-value {
  display: flex; align-items: center; gap: 10px;
  min-width: 0; text-align: right;
}
.contact-text {
  font-size: 15px; font-weight: 600; color: var(--blue-900);
  word-break: break-all; user-select: all;
}
.contact-copy {
  flex: 0 0 auto; padding: 4px 10px;
  border: 1px solid var(--blue-400); border-radius: 999px;
  background: var(--white); color: var(--blue-700);
  font-size: 12px; font-weight: 600; transition: .15s;
}
.contact-copy:hover { background: var(--blue-50); }
.contact-copy:active { transform: scale(.96); }
.contact-copied {
  margin-top: 12px; padding: 8px;
  background: #edfff4; color: var(--ok);
  border-radius: 8px; font-size: 13px; text-align: center;
  opacity: 0; visibility: hidden; transition: opacity .2s;
}
.contact-copied.show { opacity: 1; visibility: visible; }
@media (max-width: 640px) {
  .contact-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .contact-value { text-align: left; width: 100%; }
}
