/* ============================================================
   AI 辅助人工报价系统  /digital-platform/ai-quotation
   纯静态 + jQuery；复用 quality-trace 的基础 shell 与设计变量
   Hero 说明卡 / 询价类型 / 表单 / 上传 / 预估侧栏 / 成功回执
   ============================================================ */

/* ---------- Hero ---------- */
.aq-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 38px;
  color: #fff;
  background: linear-gradient(135deg, #0a1330 0%, #17286a 54%, #26409c 100%);
}
.aq-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 90% at 18% 0%, #000 36%, transparent 100%);
  mask-image: radial-gradient(120% 90% at 18% 0%, #000 36%, transparent 100%);
}
.aq-hero::after {
  content: "";
  position: absolute; right: -140px; top: -160px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 145, 23, .16), transparent 62%);
  pointer-events: none;
}
.aq-hero > .qt-container { position: relative; z-index: 1; }

.aq-hero h1 {
  margin: 0 0 12px;
  font-size: 30px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em;
}
.aq-hero__sub {
  max-width: 660px; margin: 0;
  font-size: 14.5px; line-height: 1.85; color: #b3c2e2;
}
.aq-hero__sub b { color: #fff; font-weight: 600; }

/* Hero 免责说明（单行） */
.aq-hero__fine {
  max-width: 720px; margin: 14px 0 0; padding-left: 11px;
  border-left: 2px solid rgba(255, 176, 79, .5);
  font-size: 12px; line-height: 1.8; color: #93a6c9;
}

/* ---------- 主体布局 ---------- */
.aq-main { padding: 26px 0 8px; background: #f5f7fb; }
.aq-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px;
  align-items: start;
}

/* ---------- 表单卡 ---------- */
.aq-form {
  border: 1px solid #e6edf8; border-radius: 16px; background: #fff;
  box-shadow: 0 22px 50px -40px rgba(15, 32, 78, .5);
  overflow: hidden;
}
.aq-form__head {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 15px 20px;
  border-bottom: 1px solid #eef2f9;
  background: linear-gradient(180deg, #fbfdff, #fff);
}
.aq-form__head h2 { margin: 0; font-size: 15px; font-weight: 700; color: #0f172a; }
.aq-form__head > span { font-size: 12px; color: #8593ab; }
.aq-form__head .aq-form__req { margin-left: auto; font-size: 11.5px; color: #8593ab; }
.aq-form__head .aq-form__req em { font-style: normal; color: #2b47a2; font-weight: 700; }

.aq-group { padding: 18px 20px 20px; border-bottom: 1px solid #f0f4fa; }
.aq-group:last-of-type { border-bottom: 0; }
.aq-group[hidden] { display: none; }
.aq-group__title { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.aq-group__no {
  width: 22px; height: 22px; border-radius: 7px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: #eef3ff; color: #2b47a2;
  font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.aq-group__title b { font-size: 13.5px; font-weight: 700; color: #1e293b; letter-spacing: .01em; }
.aq-group__title b em { font-style: normal; color: #e2564a; }
.aq-group__title i {
  font-style: normal; font-size: 11.5px; color: #93a1b6;
  padding-left: 9px; border-left: 1px solid #e7edf8;
}
.aq-group__title i.is-amber {
  color: #b8792b; border-left-color: #f2e2cc;
}

/* ---------- 询价类型 ---------- */
.aq-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.aq-types__opt {
  position: relative;
  display: flex; align-items: flex-start; gap: 11px;
  padding: 13px 14px;
  border: 1px solid #dde5f2; border-radius: 12px; background: #fff;
  font-family: inherit; text-align: left; cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.aq-types__opt:hover { border-color: #b9ccec; background: #fbfdff; }
.aq-types__ico {
  width: 32px; height: 32px; border-radius: 9px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: #f2f6ff; border: 1px solid #e2eaff; color: #4a6398;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.aq-types__ico svg { width: 17px; height: 17px; }
.aq-types__txt b { display: block; font-size: 13px; font-weight: 600; color: #1e293b; }
.aq-types__txt span { display: block; margin-top: 3px; font-size: 11px; line-height: 1.55; color: #8593ab; }
.aq-types__opt.is-on {
  border-color: #2f52bf; background: #f6f9ff;
  box-shadow: 0 0 0 3px rgba(47, 82, 191, .1);
}
.aq-types__opt.is-on .aq-types__ico {
  background: linear-gradient(150deg, #2f52bf, #1f3687);
  border-color: #2744a8; color: #fff;
}
.aq-types__opt.is-on .aq-types__txt b { color: #1c3585; }
.aq-types__opt.is-on::after {
  content: ""; position: absolute; right: 10px; top: 10px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #2f52bf url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4'%3E%3Cpath d='M20 6L9 17l-5-5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}
/* ---------- 表单字段 ---------- */
.aq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.aq-field { min-width: 0; }
.aq-field--full { grid-column: 1 / -1; }

.aq-label {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 7px; font-size: 12.5px; font-weight: 600; color: #334155;
}
.aq-label em { font-style: normal; color: #e2564a; font-weight: 700; }
.aq-label small { font-weight: 400; font-size: 11px; color: #93a1b6; }

.aq-input,
.aq-select,
.aq-textarea {
  width: 100%; padding: 11px 13px;
  border: 1px solid #dde5f2; border-radius: 10px;
  background: #fff; color: #0f172a;
  font-size: 13px; font-family: inherit; line-height: 1.5;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  -webkit-appearance: none; appearance: none;
}
.aq-textarea { min-height: 82px; resize: vertical; }
.aq-input::placeholder,
.aq-textarea::placeholder { color: #adbacd; }
.aq-input:hover,
.aq-select:hover,
.aq-textarea:hover { border-color: #c8d6ec; }
.aq-input:focus,
.aq-select:focus,
.aq-textarea:focus {
  outline: none; border-color: #2f52bf; background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 82, 191, .13);
}
.aq-input:disabled { background: #f6f8fc; color: #a7b4c7; }
.aq-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 15px;
  padding-right: 34px;
}
.aq-field.is-error .aq-input,
.aq-field.is-error .aq-select,
.aq-field.is-error .aq-textarea { border-color: #e2564a; background: #fffafa; }
.aq-field.is-error .aq-input:focus,
.aq-field.is-error .aq-textarea:focus { box-shadow: 0 0 0 3px rgba(226, 86, 74, .13); }

/* 订单数量未填：预估价不成立，字段做轻提示 */
.aq-field.is-need .aq-input { border-color: #f0c48a; background: #fffdf8; }
.aq-err { display: block; margin-top: 6px; font-size: 11.5px; line-height: 1.5; color: #d0453a; }
.aq-err[hidden] { display: none; }

/* 带后缀单位 */
.aq-unit { position: relative; }
.aq-unit .aq-input { padding-right: 58px; }
.aq-unit > span {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 11.5px; color: #93a1b6; pointer-events: none;
}

/* 字段旁注（与前一字段同行，用于说明政策） */
.aq-field__note { display: flex; align-items: center; justify-content: flex-end; }
.aq-field__note p {
  margin: 0; padding-bottom: 2px; text-align: right;
  font-size: 11.5px; line-height: 1.7; color: #9aa8bd;
}

/* 组尾补充说明 */
.aq-grouptip {
  margin: 12px 0 0; padding-left: 10px;
  border-left: 2px solid #e8eef8;
  font-size: 11.5px; line-height: 1.7; color: #9aa8bd;
}
.aq-grouptip__warn {
  display: block; margin-top: 4px;
  color: #c8811f; font-weight: 500;
}

/* 单端时右端端子不可选 */
.aq-off-tip { margin-left: 6px; font-style: normal; font-weight: 400; font-size: 11px; color: #b3bfd1; }
.aq-field.is-off .aq-select { opacity: .5; background: #f7f9fd; cursor: not-allowed; }

/* 单选药丸 */
.aq-radios { display: flex; gap: 8px; }
.aq-radio { flex: 1 1 auto; position: relative; }
.aq-radio input { position: absolute; opacity: 0; pointer-events: none; }
.aq-radio span {
  display: flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 10px;
  border: 1px solid #dde5f2; border-radius: 10px; background: #fff;
  font-size: 12.5px; color: #475569; cursor: pointer; white-space: nowrap;
  transition: border-color .16s ease, color .16s ease, background .16s ease, box-shadow .16s ease;
}
.aq-radio:hover span { border-color: #b9ccec; color: #2744a8; }
.aq-radio input:checked + span {
  border-color: #2f52bf; background: #f2f6ff; color: #1c3585; font-weight: 600;
  box-shadow: inset 0 0 0 1px #2f52bf;
}

/* ---------- 上传 ---------- */
.aq-up-hint { margin: -4px 0 12px; font-size: 11.5px; line-height: 1.65; color: #8593ab; }
.aq-upload {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 7px; padding: 24px 16px 20px;
  border: 1.5px dashed #cfdcef; border-radius: 12px; background: #fbfdff;
  text-align: center; cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.aq-upload:hover,
.aq-upload.is-drag { border-color: #2f52bf; background: #f5f9ff; }
.aq-upload.is-req { border-color: #e9b9a9; background: #fffbf9; }
.aq-upload.is-req.is-drag { border-color: #2f52bf; background: #f5f9ff; }
.aq-upload input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.aq-upload__ico {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: #eef3ff; color: #3f5aa8;
}
.aq-upload.is-req .aq-upload__ico { background: #fdf1ec; color: #c2643f; }
.aq-upload__ico svg { width: 19px; height: 19px; }
.aq-upload b { font-size: 13px; font-weight: 600; color: #334155; }
.aq-upload > span { font-size: 11.5px; line-height: 1.6; color: #93a1b6; max-width: 420px; }
.aq-upload__fmt { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.aq-upload__fmt i {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px; border: 1px solid #e7edf8; border-radius: 6px; background: #fff;
  font-style: normal; font-size: 10.5px; color: #93a1b6;
}
.aq-upload__fmt i b {
  font-size: 9.5px; font-weight: 700; color: #4a6398; letter-spacing: .04em;
}

.aq-files { margin-top: 10px; display: flex; flex-direction: column; gap: 7px; }
.aq-file {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px;
  border: 1px solid #e7edf8; border-radius: 9px; background: #fff;
}
.aq-file__ico {
  width: 26px; height: 26px; border-radius: 7px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: #f2f6ff; color: #4a6398; font-size: 8.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: -.02em;
}
.aq-file__name {
  flex: 1 1 auto; min-width: 0;
  font-size: 12.5px; color: #334155;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.aq-file__size { font-size: 11px; color: #93a1b6; font-variant-numeric: tabular-nums; }
.aq-file__del {
  flex: 0 0 auto; width: 22px; height: 22px; border: 0; border-radius: 6px;
  background: transparent; color: #a7b4c7; font-size: 14px; line-height: 1; cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.aq-file__del:hover { background: #fdeceb; color: #d0453a; }

/* ---------- 提交区 ---------- */
.aq-submit {
  padding: 16px 20px 18px;
  background: linear-gradient(180deg, #fbfdff, #f6f9ff);
  border-top: 1px solid #eef2f9;
}
.aq-submit__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.aq-submit__note { flex: 1 1 220px; font-size: 11.5px; line-height: 1.65; color: #8593ab; }
.aq-submit__note b { color: #334155; font-weight: 600; }

.aq-bigbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 168px; padding: 12px 20px;
  border: 0; border-radius: 11px;
  background: linear-gradient(135deg, #ff9d2e, #f07a08);
  color: #fff; font-size: 13.5px; font-weight: 600; font-family: inherit;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 14px 30px -16px rgba(240, 122, 8, .8);
  transition: transform .16s ease, box-shadow .18s ease, opacity .18s ease;
}
.aq-bigbtn svg { width: 17px; height: 17px; }
.aq-bigbtn:hover { transform: translateY(-1px); box-shadow: 0 18px 34px -16px rgba(240, 122, 8, .85); }
.aq-bigbtn:active { transform: translateY(0); }
.aq-bigbtn:disabled { opacity: .7; cursor: default; transform: none; }

.aq-ghostbtn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 104px; padding: 11px 18px;
  border: 1px solid #dde5f2; border-radius: 11px; background: #fff;
  color: #334155; font-size: 13px; font-weight: 500; font-family: inherit;
  text-decoration: none; cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.aq-ghostbtn:hover { border-color: #b9ccec; color: #2744a8; background: #f7faff; }

/* ---------- 侧栏 ---------- */
.aq-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 14px; }
.aq-side [hidden] { display: none; }

/* 必填项完成度 */
.aq-prog {
  padding: 12px 14px 13px;
  border: 1px solid #e6edf8; border-radius: 12px; background: #fff;
  box-shadow: 0 12px 28px -26px rgba(15, 32, 78, .5);
}
.aq-prog__head { display: flex; align-items: baseline; gap: 8px; }
.aq-prog__head b { font-size: 12px; font-weight: 600; color: #334155; }
.aq-prog__head span {
  margin-left: auto; font-size: 11px; color: #93a1b6;
  font-variant-numeric: tabular-nums;
}
.aq-prog__head i { font-style: normal; font-size: 13px; font-weight: 700; color: #1c3585; }
.aq-prog__head i[data-prog-tot] { font-size: 11px; font-weight: 500; color: #93a1b6; }
.aq-prog__bar { height: 4px; margin-top: 9px; border-radius: 999px; background: #eef2f9; overflow: hidden; }
.aq-prog__bar i {
  display: block; height: 100%; width: 100%; border-radius: 999px;
  background: #2b47a2;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .4s cubic-bezier(.22, .75, .3, 1);
}
.aq-prog.is-done .aq-prog__bar i { background: #1f8a5f; }
.aq-prog__tip { margin-top: 8px; font-size: 11px; line-height: 1.6; color: #8593ab; }
.aq-prog.is-done .aq-prog__tip { color: #1f8a5f; }

/* 预估面板 */
.aq-est {
  border: 1px solid #dbe4f4; border-radius: 15px; background: #fff;
  box-shadow: 0 20px 46px -36px rgba(15, 32, 78, .55);
  overflow: hidden;
}
.aq-est__head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 15px;
  background: linear-gradient(135deg, #101d47, #23357e 70%, #2c4aa8);
  color: #fff;
}
.aq-est__ico {
  width: 24px; height: 24px; border-radius: 7px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .14); color: #ffd0a0;
}
.aq-est__ico svg { width: 14px; height: 14px; }
.aq-est__head b { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.aq-est__head em {
  margin-left: auto; font-style: normal; font-size: 10.5px;
  padding: 2px 7px; border-radius: 999px;
  background: rgba(255, 176, 79, .18); color: #ffca92;
}

.aq-est__main { padding: 14px 15px 12px; background: linear-gradient(180deg, #f7faff, #fff); }
.aq-est__lbl { font-size: 11.5px; color: #7b8aa1; }
.aq-est__price {
  display: flex; align-items: baseline; gap: 2px; margin-top: 2px;
  color: #14265e;
}
.aq-est__cur { font-size: 16px; font-weight: 600; color: #2b47a2; }
.aq-est__price b {
  font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.aq-est__unit { font-size: 11.5px; color: #93a1b6; margin-left: 3px; }
.aq-est__sub {
  display: flex; gap: 0; margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed #e4ebf7;
}
.aq-est__sub > div { flex: 1 1 0; min-width: 0; }
.aq-est__sub > div + div { padding-left: 12px; border-left: 1px solid #eef2f9; }
.aq-est__sub span { display: block; font-size: 11px; color: #93a1b6; }
.aq-est__sub b { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: #1e293b; font-variant-numeric: tabular-nums; }
.aq-est__sub i { font-style: normal; }

.aq-est__total {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 10px 15px;
  background: #f2f6ff;
  border-top: 1px solid #e6eefc; border-bottom: 1px solid #e6eefc;
}
.aq-est__total > div { display: flex; align-items: baseline; gap: 6px; }
.aq-est__total > div + div { margin-left: auto; }
.aq-est__total span { font-size: 11px; color: #7b8aa1; }
.aq-est__total b { font-size: 13px; font-weight: 700; color: #1c3585; font-variant-numeric: tabular-nums; }
.aq-est__total i { font-style: normal; }

.aq-est__warn {
  display: flex; align-items: flex-start; gap: 7px;
  margin: 0; padding: 9px 15px;
  font-size: 10.5px; line-height: 1.65; color: #a1761f;
  background: #fffaf1;
  border-bottom: 1px solid #f6ecd9;
}
.aq-est__warn svg { width: 12px; height: 12px; flex: 0 0 auto; margin-top: 2px; }

.aq-est__sec { padding: 12px 15px; border-bottom: 1px solid #f2f6fb; }
.aq-est__sec:last-child { border-bottom: 0; }
.aq-est__sec h4 {
  margin: 0 0 8px; font-size: 11.5px; font-weight: 700; color: #64748b;
  letter-spacing: .04em;
}
.aq-est__rows { margin: 0; }
.aq-est__rows > div {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 0; font-size: 12px;
}
.aq-est__rows dt { color: #7b8aa1; }
.aq-est__rows dd { margin: 0; color: #1e293b; font-variant-numeric: tabular-nums; }
.aq-est__rows i { font-style: normal; }
.aq-est__rows .is-sum {
  margin-top: 5px; padding-top: 8px;
  border-top: 1px dashed #e4ebf7;
}
.aq-est__rows .is-sum dt { color: #334155; font-weight: 600; }
.aq-est__rows .is-sum dd { color: #14265e; font-weight: 700; }
.aq-est__rows.is-coef > div { padding: 3px 0; }
.aq-est__rows .is-rush { color: #93a1b6; }
.aq-est__rows .is-rush.is-on { color: #d0453a; font-weight: 700; }

.aq-tiers { display: flex; flex-direction: column; gap: 4px; }
.aq-tiers > div {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 8px; border-radius: 7px;
  font-size: 11.5px; color: #8593ab;
  transition: background .16s ease, color .16s ease;
}
.aq-tiers > div b { font-weight: 600; font-variant-numeric: tabular-nums; }
.aq-tiers > div.is-on { background: #eef3ff; color: #1c3585; }
.aq-tiers > div.is-on b { color: #2b47a2; }

/* 类型说明面板 */
.aq-tipcard {
  border: 1px solid #e6edf8; border-radius: 15px; background: #fff;
  box-shadow: 0 16px 38px -34px rgba(15, 32, 78, .5);
  overflow: hidden;
}
.aq-tipcard__head {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 15px;
  background: linear-gradient(160deg, #f7faff, #fff);
  border-bottom: 1px solid #f0f4fa;
}
.aq-tipcard__ico {
  width: 32px; height: 32px; border-radius: 9px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: #eef3ff; border: 1px solid #e2eaff; color: #2b47a2;
}
.aq-tipcard__ico svg { width: 17px; height: 17px; }
.aq-tipcard__head b { display: block; font-size: 13px; font-weight: 700; color: #0f172a; }
.aq-tipcard__head span { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.6; color: #8593ab; }

.aq-tipcard__tips { padding: 0 15px 15px; }
.aq-tipcard__tips b {
  display: block; margin-bottom: 7px; padding-top: 11px;
  border-top: 1px solid #f2f6fb;
  font-size: 11.5px; font-weight: 700; color: #64748b; letter-spacing: .04em;
}
.aq-tipcard__tips ul { margin: 0; padding: 0; list-style: none; }
.aq-tipcard__tips li {
  position: relative; padding: 3px 0 3px 12px;
  font-size: 11.5px; line-height: 1.7; color: #8593ab;
}
.aq-tipcard__tips li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 4px; height: 4px; border-radius: 50%; background: #c3d3ee;
}

/* 回执：询价规格摘要 */
.aq-done__spec {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 12px; padding: 12px 14px;
  border-radius: 10px; background: #f6f9fe;
  font-size: 12px; line-height: 1.75;
}
.aq-done__spec > span {
  flex: none; color: #8b9bb4;
}
.aq-done__spec > p {
  margin: 0; color: #40506b; word-break: break-word;
}

/* ---------- 成功回执 ---------- */
.aq-done { padding: 26px 0 10px; background: #f5f7fb; }
.aq-done[hidden] { display: none; }
.aq-done__card {
  position: relative; overflow: hidden;
  border: 1px solid #d9e6f8; border-radius: 16px; background: #fff;
  box-shadow: 0 24px 54px -40px rgba(15, 32, 78, .6);
}
.aq-done__head {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 20px 22px;
  background: linear-gradient(135deg, #0f1e4d, #26409c 62%, #2f52bf);
  color: #fff;
}
.aq-done__ico {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .24);
  animation: aq-pop .5s cubic-bezier(.2, .9, .3, 1.4) both;
}
.aq-done__ico svg { width: 21px; height: 21px; }
@keyframes aq-pop { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.aq-done__head h2 { margin: 0; font-size: 17px; font-weight: 700; }
.aq-done__head p { margin: 4px 0 0; font-size: 12.5px; color: #b9c7e6; line-height: 1.6; }
.aq-done__no { margin-left: auto; text-align: right; font-size: 11.5px; color: #a9bce4; }
.aq-done__no b {
  display: block; font-size: 17px; font-weight: 700; color: #fff;
  letter-spacing: .02em; font-variant-numeric: tabular-nums;
}

.aq-done__body { padding: 18px 22px 20px; }
.aq-done__sum {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0; border: 1px solid #e9eff8; border-radius: 11px; background: #fff;
}
.aq-done__sum > div { padding: 10px 13px; box-shadow: inset -1px 0 0 #e9eff8; }
.aq-done__sum > div:last-child { box-shadow: none; }
.aq-done__sum > div.is-wide { grid-column: 1 / -1; box-shadow: inset 0 1px 0 #e9eff8; }
.aq-done__sum dt { font-size: 11px; color: #93a1b6; }
.aq-done__sum dd {
  margin: 4px 0 0; font-size: 12.5px; font-weight: 600; color: #1e293b;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.aq-done__est {
  margin-top: 14px; padding: 13px 15px;
  border: 1px solid #e6eefc; border-radius: 11px;
  background: linear-gradient(120deg, #f7faff, #fff);
}
.aq-done__estlbl { font-size: 11px; color: #8593ab; }
.aq-done__estrow { display: flex; gap: 0; margin-top: 8px; }
.aq-done__estrow > div { flex: 1 1 0; min-width: 0; }
.aq-done__estrow > div + div { padding-left: 14px; border-left: 1px solid #e9eff8; }
.aq-done__estrow span { display: block; font-size: 11px; color: #93a1b6; }
.aq-done__estrow b {
  display: block; margin-top: 3px; font-size: 15px; font-weight: 700;
  color: #14265e; font-variant-numeric: tabular-nums;
}
.aq-done__acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.aq-done__note { font-size: 11.5px; line-height: 1.7; color: #8593ab; flex: 1 1 240px; }

/* ---------- 底部客服 ---------- */
.aq-support { padding: 30px 0 46px; background: #f5f7fb; }
.aq-support__card {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 18px 20px;
  border: 1px solid #e2eaf7; border-radius: 14px;
  background: linear-gradient(120deg, #ffffff, #f7faff);
  box-shadow: 0 18px 40px -36px rgba(15, 32, 78, .5);
}
.aq-support__ico {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #eff4ff, #e2eaff);
  border: 1px solid #dbe6ff; color: #2744a8;
}
.aq-support__ico svg { width: 20px; height: 20px; }
.aq-support__txt { flex: 1 1 260px; min-width: 0; }
.aq-support__txt b { display: block; font-size: 13.5px; font-weight: 700; color: #0f172a; }
.aq-support__txt span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.65; color: #7b8aa1; }
.aq-support__acts { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.aq-support__acts a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border: 1px solid #dde5f2; border-radius: 9px;
  background: #fff; color: #334155; font-size: 12.5px; text-decoration: none;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.aq-support__acts a svg { width: 14px; height: 14px; }
.aq-support__acts a:hover { border-color: #b9ccec; color: #2744a8; background: #f7faff; }
.aq-support__acts a.is-primary {
  border-color: #f5c48d; background: #fffaf4; color: #b25f05; font-weight: 600;
}
.aq-support__acts a.is-primary:hover { border-color: #f0a862; background: #fff6ea; }

/* ---------- Toast ---------- */
.aq-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90;
  transform: translate(-50%, 12px);
  width: max-content; max-width: min(520px, calc(100vw - 32px));
  padding: 10px 16px; border-radius: 10px;
  background: rgba(15, 23, 42, .92); color: #fff;
  font-size: 12.5px; line-height: 1.6;
  opacity: 0; pointer-events: none;
  transition: opacity .24s ease, transform .24s ease;
}
.aq-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
    .aq-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
}
@media (max-width: 1023px) {
    .aq-layout { grid-template-columns: minmax(0, 1fr); }
  .aq-side { position: static; flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .aq-side > * { flex: 1 1 300px; }
}
@media (max-width: 767px) {
  .aq-hero { padding: 86px 0 34px; }
  .aq-hero h1 { font-size: 22px; }
  .aq-hero__sub { font-size: 13px; }
      .aq-main { padding: 18px 0 4px; }
  .aq-form__head { padding: 13px 15px; }
  .aq-form__head .aq-form__req { width: 100%; margin-left: 0; }
  .aq-group { padding: 16px 15px 18px; }
  .aq-grid { grid-template-columns: 1fr; gap: 12px; }
  .aq-types { grid-template-columns: 1fr; gap: 9px; }
  .aq-submit { padding: 14px 15px 16px; }
  .aq-bigbtn { width: 100%; }
  .aq-ghostbtn { width: 100%; }
  .aq-side { flex-direction: column; }
  .aq-done__sum { grid-template-columns: 1fr 1fr; }
  .aq-done__sum > div:nth-child(2) { box-shadow: none; }
  .aq-done__sum > div:nth-child(1),
  .aq-done__sum > div:nth-child(2) { box-shadow: inset 0 -1px 0 #e9eff8; }
  .aq-done__sum > div:nth-child(3) { box-shadow: inset -1px 0 0 #e9eff8; }
  .aq-done__estrow { flex-wrap: wrap; gap: 10px; }
  .aq-done__estrow > div + div { padding-left: 0; border-left: 0; }
  .aq-done__head, .aq-done__body { padding: 16px; }
  .aq-done__no { margin-left: 0; text-align: left; }
  .aq-support { padding: 22px 0 34px; }
  .aq-support__acts { width: 100%; }
  .aq-support__acts a { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .aq-done__ico { animation: none; }
}

/* ---------- 打印：只输出回执，作为可留存凭证 ---------- */
/* 打印抬头 / 页脚：仅纸上出现 */
.aq-voucher, .aq-printfoot { display: none; }

@media print {
  @page { size: A4 portrait; margin: 13mm 12mm 12mm; }
  html, body, .aq-page { background: #fff !important; }
  html, body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  .aq-hero, .aq-done__acts, .aq-done__head,
  .aq-support, .qt-footer, .dm-panel { display: none !important; }

  .aq-done { padding: 0 !important; background: #fff !important; }
  .aq-done::before, .aq-done::after { display: none !important; }
  .aq-done .qt-container { width: auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }

  /* 抬头 */
  .aq-voucher {
    display: flex !important; align-items: flex-end; justify-content: space-between; gap: 12px;
    margin: 0 0 12px !important; padding: 0 0 8px !important;
    border-bottom: 2px solid #0b1436 !important;
  }
  .aq-voucher__brand { font-size: 13pt; font-weight: 700; color: #0b1436; letter-spacing: .02em; line-height: 1.2; }
  .aq-voucher__brand span { display: block; margin-top: 2px; font-size: 7.5pt; font-weight: 400; color: #6b7789; letter-spacing: .08em; }
  .aq-voucher__side { text-align: right; }
  .aq-voucher__side b { display: block; font-size: 15pt; font-weight: 700; color: #0b1436; letter-spacing: .06em; line-height: 1.2; }
  .aq-voucher__side span { display: block; margin-top: 3px; font-size: 8pt; color: #6b7789; }

  /* 回执正文 */
  .aq-done__card {
    padding: 0 !important; border: 0 !important; border-radius: 0 !important;
    box-shadow: none !important; background: #fff !important;
    break-inside: avoid;
  }
  .aq-done__body { padding: 0 !important; }
  .aq-done__sum {
    border: 1px solid #e2e8f3 !important; border-radius: 4px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .aq-done__sum > div { padding: 7px 10px !important; }
  .aq-done__sum dt { font-size: 7.5pt !important; margin-bottom: 0 !important; }
  .aq-done__sum dd { font-size: 9.5pt !important; line-height: 1.45 !important; }
  .aq-done__spec {
    margin-top: 10px !important; padding: 7px 10px !important;
    background: #f7f9fd !important; border: 1px solid #e6ecf6 !important; border-radius: 4px !important;
  }
  .aq-done__spec span { font-size: 7pt !important; }
  .aq-done__spec p { font-size: 8.5pt !important; line-height: 1.7 !important; }
  .aq-done__est { margin-top: 10px !important; padding: 8px 10px !important; border: 1px solid #e6ecf6 !important; border-radius: 4px !important; }
  .aq-done__estlbl { font-size: 7pt !important; }
  .aq-done__estrow > div > span { font-size: 7pt !important; }
  .aq-done__estrow > div > b { font-size: 13.5pt !important; }

  /* 页脚 */
  .aq-printfoot {
    display: block !important;
    margin: 12px 0 0 !important; padding: 7px 0 0 !important;
    border-top: 1px dashed #ccd5e4 !important;
  }
  .aq-printfoot p { margin: 0 !important; font-size: 7pt; line-height: 1.7; color: #7b879b; }
  .aq-printfoot p + p { margin-top: 2px !important; color: #5b6779; }
}

/* ---------- 移动端底部实时预估条（仅参数型） ---------- */
.aq-mbar { display: none; }
@media (max-width: 767px) {
  .aq-mbar:not([hidden]) {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
    background: rgba(10, 23, 46, .97);
    box-shadow: 0 -8px 24px rgba(8, 18, 36, .22);
  }
  .aq-mbar__row { display: flex; align-items: center; gap: 10px; }
  .aq-mbar__item { flex: 1 1 0; min-width: 0; }
  .aq-mbar__item span { display: block; font-size: 10.5px; color: #8ea2c4; letter-spacing: .2px; }
  .aq-mbar__item b {
    display: block; margin-top: 1px; font-size: 16.5px; font-weight: 700;
    color: #ffb04f; font-variant-numeric: tabular-nums; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
  }
  .aq-mbar__item b i { font-style: normal; }
  .aq-mbar__btn {
    flex: none; height: 36px; padding: 0 15px; border: 0; border-radius: 9px;
    background: linear-gradient(135deg, #ff8c22, #e5711a); color: #fff;
    font-size: 12.5px; font-weight: 600; cursor: pointer;
  }
  .aq-mbar__note { margin: 5px 0 0; font-size: 10px; color: #6f83a4; text-align: center; }
  /* 仅在底部条显示时留出高度，避免回执页/其它页多出空白 */
  body.aq-page.has-mbar { padding-bottom: 74px; }
}

/* ---------- 统一深色科技 Banner ---------- */
.aq-hero {
  padding: 96px 0 44px;
  background:
    radial-gradient(900px 420px at 78% -6%, #1e3d75 0%, transparent 60%),
    radial-gradient(620px 320px at 6% 100%, rgba(39,68,168,.30) 0%, transparent 72%),
    linear-gradient(160deg, #101f38 0%, #091527 100%);
}
.aq-hero::before {
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
}
.aq-hero::after {
  left: 0; right: 0; top: auto; bottom: 0;
  width: auto; height: 1px; border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(125,166,232,.55), transparent);
}
.aq-hero .qt-crumb { color: #8fa8cc; }
.aq-hero .qt-crumb a { color: #8fa8cc; }
.aq-hero .qt-crumb .qt-cur { color: #dbe7fb; }
.aq-hero .qt-sep { color: rgba(143,168,204,.5); }
.aq-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  height: 30px; padding: 0 16px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  color: #dbe7fb; font-size: 12px; font-weight: 600; letter-spacing: .04em;
}
.aq-hero__eyebrow i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.18);
}
.aq-hero h1 {
  margin: 20px 0 14px; text-align: center;
  font-size: 40px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em;
  color: #fff; text-shadow: 0 2px 22px rgba(0,0,0,.20);
}
.aq-hero__sub {
  max-width: 760px; margin: 0 auto; text-align: center;
  font-size: 15px; line-height: 1.85; color: #b9cce8;
}
.aq-hero__fine {
  max-width: 860px; margin: 18px auto 0; padding: 12px 18px;
  border: 1px solid rgba(125,166,232,.24); border-radius: 10px;
  background: rgba(255,255,255,.05); text-align: center;
  font-size: 12px; line-height: 1.8; color: #93a6c9;
}
@media (min-width: 768px) { .aq-hero h1 { font-size: 44px; } }
@media (max-width: 767px) {
  .aq-hero { padding: 78px 0 34px; }
  .aq-hero h1 { font-size: 28px; margin: 18px 0 12px; }
  .aq-hero__sub { font-size: 13.5px; }
  .aq-hero__fine { font-size: 11.5px; padding: 10px 12px; text-align: left; }
}

/* ---------- 新文案补充样式 ---------- */
.aq-rec {
  display: inline-block; margin-left: 6px; padding: 1px 6px;
  border-radius: 4px; background: linear-gradient(135deg, #ff8c22, #e5711a);
  color: #fff; font-size: 10px; font-style: normal; font-weight: 700;
  line-height: 1.5; vertical-align: middle;
}
.aq-type-note {
  display: block; margin-top: 7px; padding-top: 6px;
  border-top: 1px dashed #e6ebf3; color: #b8792b;
  font-size: 10.5px; line-height: 1.5;
}
.aq-types__opt.is-on .aq-type-note { border-top-color: #d9e3f7; }
.aq-up-review {
  margin: 12px 0 0; padding: 10px 12px;
  border: 1px solid #f2e2cc; border-radius: 9px; background: #fff8ec;
  color: #8a6227; font-size: 12px; line-height: 1.7;
}
.aq-check {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px; color: #475569; font-size: 12.5px; cursor: pointer;
}
.aq-check input { width: 15px; height: 15px; accent-color: #2f52bf; }
.aq-prog__head small {
  display: block; margin-bottom: 2px;
  color: #8593ab; font-size: 10px; font-weight: 500; letter-spacing: .04em;
}
.aq-tipcard__tips p { margin: 8px 0 0; color: #475569; font-size: 12px; line-height: 1.75; }
.aq-review {
  margin-top: 14px; padding: 16px 18px;
  border: 1px solid #e3e9f2; border-radius: 12px; background: #fff;
}
.aq-review > b {
  display: block; margin-bottom: 9px; color: #1e293b; font-size: 13px;
}
.aq-review ol { margin: 0; padding-left: 18px; }
.aq-review li { margin: 5px 0; color: #64748b; font-size: 12px; line-height: 1.65; }
.aq-footnote {
  max-width: 1200px; margin: 0 auto; padding: 0 24px 18px;
  color: #94a3b8; font-size: 11px; line-height: 1.7; text-align: center;
}

/* ===== 首屏统一：对齐数字化平台其它页面（订单跟踪 / 品质追溯） ===== */
.aq-hero {
  padding: 118px 0 132px;
  background: linear-gradient(135deg, #0a1330 0%, #182a6a 52%, #2744a8 100%);
}
.aq-hero::before {
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 90% at 20% 0%, #000 40%, transparent 100%);
          mask-image: radial-gradient(120% 90% at 20% 0%, #000 40%, transparent 100%);
}
.aq-hero::after {
  left: auto; bottom: auto; right: -120px; top: -140px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,145,23,.22), transparent 68%);
}
.aq-hero h1 {
  margin: 0 0 14px; text-align: left;
  font-size: clamp(26px, 4.2vw, 40px); line-height: 1.2; font-weight: 700;
  letter-spacing: -.01em; text-shadow: none;
}
.aq-hero .qt-hero__sub {
  max-width: 640px; margin: 0; text-align: left;
  font-size: clamp(14px, 1.6vw, 16px); line-height: 1.75; color: rgba(255,255,255,.78);
}
.aq-hero .qt-hero__badges { margin-top: 22px; }
.aq-hero__fine {
  max-width: 640px; margin: 16px 0 0; padding: 0 0 0 11px;
  border: 0; border-left: 2px solid rgba(255,176,79,.45); border-radius: 0;
  background: none; text-align: left; font-size: 11.8px; line-height: 1.8;
  color: rgba(255,255,255,.56);
}
.aq-hero__eyebrow { display: none; }

/* 右侧：需求预解析卡（对照订单页 WORK ORDER 卡） */
.aq-viz { display: none; position: absolute; right: 24px; top: 10px; width: 262px; z-index: 2; }
@media (min-width: 1180px) { .aq-viz { display: block; } }
.aq-viz__card {
  position: relative; padding: 16px 16px 13px; border-radius: 14px; color: #eaf1ff;
  background: linear-gradient(158deg, rgba(18,36,74,.94) 0%, rgba(9,19,42,.96) 100%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 60px -34px rgba(0,0,0,.85);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.aq-viz__top { display: flex; align-items: center; justify-content: space-between; font-size: 9.5px; letter-spacing: .16em; color: rgba(255,255,255,.5); }
.aq-viz__dot { width: 6px; height: 6px; border-radius: 50%; background: #35d39a; box-shadow: 0 0 0 3px rgba(53,211,154,.16); }
.aq-viz__no { margin-top: 9px; font-size: 14.5px; font-weight: 800; letter-spacing: .01em; color: #fff; }
.aq-viz__rows { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.aq-viz__rows span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px; font-size: 10.5px; color: rgba(226,236,250,.62); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.aq-viz__rows b { font-weight: 700; color: #dce8fb; }
.aq-viz__bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 13px; }
.aq-viz__bar i { height: 3px; border-radius: 2px; background: rgba(255,255,255,.14); }
.aq-viz__bar i.is-done { background: linear-gradient(90deg, #5b7bd6, #8fb0ff); }
.aq-viz__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; font-size: 10.5px; color: rgba(255,255,255,.52); }
.aq-viz__meta b { font-size: 12px; font-weight: 800; color: #fff; }
.aq-viz__now { color: #f6c46a; font-weight: 700; }
.aq-viz__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 11px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.09); font-size: 10px; color: rgba(255,255,255,.42); }

/* 表单区上移，白卡压住首屏底边（同订单页查询卡） */
.aq-main {
  margin-top: -84px; padding: 0 0 8px; position: relative; z-index: 3;
  background: linear-gradient(180deg, rgba(245,247,251,0) 0, rgba(245,247,251,0) 84px, #f5f7fb 84px);
}
@media (max-width: 900px) {
  .aq-hero { padding: 104px 0 112px; }
  .aq-main {
    margin-top: -60px;
    background: linear-gradient(180deg, rgba(245,247,251,0) 0, rgba(245,247,251,0) 60px, #f5f7fb 60px);
  }
}
