/* ==========================================================================
   pages-a.css —— A 组页面样式（工作台 / 询价列表 / 智能询价 / 询价详情）
   所有类名统一 .pg-a- 前缀，避免与 B/C/D 组冲突
   ========================================================================== */

/* ---------------------------------------------------------- 通用两栏骨架 */
.pg-a-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pg-a-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pg-a-main > .card,
.pg-a-side > .card { margin-top: 0; }

.pg-a-layout,
.pg-a-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 368px;
  gap: 14px;
  align-items: start;
  margin-top: 14px;
}
@media (max-width: 1180px) {
  .pg-a-layout,
  .pg-a-detail-layout { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------- 工作台待办 */
.pg-a-todos { display: flex; flex-direction: column; }
.pg-a-todo {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; border-bottom: 1px solid var(--line-2);
  transition: background .15s;
}
.pg-a-todo:last-child { border-bottom: 0; }
.pg-a-todo:hover { background: #f8fafd; }
.pg-a-todo-ic {
  width: 30px; height: 30px; flex: none; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--brand-3); color: var(--brand);
}
.pg-a-todo-ic svg { width: 15px; height: 15px; }
.pg-a-todo-ic.accent { background: var(--info-bg); color: var(--info); }
.pg-a-todo-ic.orange { background: var(--warn-bg); color: var(--warn); }
.pg-a-todo-ic.bad { background: var(--bad-bg); color: var(--bad); }
.pg-a-todo-ic.ok { background: var(--ok-bg); color: var(--ok); }
.pg-a-todo-ic.gray { background: #f1f4f9; color: var(--ink-3); }
.pg-a-todo-ic.brand { background: var(--brand-3); color: var(--brand); }
.pg-a-todo-txt {
  flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.4;
}
.pg-a-todo-txt b { font-size: 12.5px; font-weight: 650; color: var(--ink); }
.pg-a-todo-txt span { font-size: 11.5px; color: var(--ink-3); }
.pg-a-todo-n {
  min-width: 28px; text-align: right; letter-spacing: -.5px;
  font-size: 18px; font-weight: 750; color: var(--ink); font-family: var(--mono);
}
.pg-a-todo-n.zero { color: var(--ink-3); font-weight: 600; }
.pg-a-conf-line { display: flex; align-items: center; gap: 10px; }

/* ------------------------------------------------------------- 询价列表 */
.pg-a-listfoot {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 16px 12px; border-top: 1px solid var(--line-2);
}

/* 列宽 / 折行修正：录入方式标签、日期、状态、操作列一律不折行，避免竖排一字一行 */
.pg-a-list table th,
.pg-a-list table td { white-space: nowrap; }
.pg-a-list table td .chip,
.pg-a-list table td .tag { white-space: nowrap; }
.pg-a-list table td .pg-a-tag-x { margin-left: 4px; vertical-align: middle; }
.pg-a-list table td .pg-a-chip-x { white-space: nowrap; }
.pg-a-list table td .tbl-acts { justify-content: flex-end; white-space: nowrap; }
.pg-a-list table td .pg-a-cell-date { white-space: nowrap; letter-spacing: 0; }
/* 末列（操作）收窄内边距，保证 1440 宽度下按钮完整可见 */
.pg-a-list table th:last-child,
.pg-a-list table td:last-child { padding-left: 4px; padding-right: 10px; }

/* ----------------------------------------------------------- 智能询价页 */
.pg-a-new .page-head h2 { letter-spacing: -.4px; }
.pg-a-new .page-head .acts .btn svg { width: 14px; height: 14px; }
.pg-a-steps { margin-top: 14px; }
.pg-a-steps .steps { margin: 4px 0 2px; }

.pg-a-src-tabs {
  display: flex; gap: 2px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.pg-a-src-tabs .tab { display: inline-flex; align-items: center; gap: 6px; }
.pg-a-src-tabs .tab svg { width: 14px; height: 14px; }

.pg-a-paste {
  min-height: 156px; font-size: 13px; line-height: 1.8;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

.pg-a-busy {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 9px 12px;
  border-radius: 8px; background: var(--brand-3); color: var(--brand);
  font-size: 12.5px;
}
.pg-a-busy.hide,
.pg-a-wave.hide { display: none; }
.pg-a-dim { opacity: .55; pointer-events: none; }

/* 图片识别 */
.pg-a-img-prev {
  display: flex; gap: 14px; padding: 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fafcff;
}
.pg-a-img-box {
  width: 208px; height: 132px; flex: none; overflow: hidden;
  border-radius: 8px; background: #eef2f8;
  display: grid; place-items: center;
}
.pg-a-img-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-a-img-meta { flex: 1; min-width: 0; padding-top: 4px; }

/* 语音录入 */
.pg-a-voice { text-align: center; padding: 6px 0 2px; }
.pg-a-mic {
  width: 76px; height: 76px; border: 0; border-radius: 50%; cursor: pointer;
  display: inline-grid; place-items: center;
  background: linear-gradient(160deg, #1f74d8, #1256a6);
  color: #fff; box-shadow: 0 8px 20px rgba(18, 86, 166, .28);
  transition: transform .18s, box-shadow .18s;
}
.pg-a-mic svg { width: 30px; height: 30px; }
.pg-a-mic:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(18, 86, 166, .34); }
.pg-a-mic.rec { background: linear-gradient(160deg, #e0645b, #cf3f36); animation: pg-a-pulse 1.1s infinite; }
@keyframes pg-a-pulse {
  0% { box-shadow: 0 0 0 0 rgba(207, 63, 54, .42); }
  70% { box-shadow: 0 0 0 18px rgba(207, 63, 54, 0); }
  100% { box-shadow: 0 0 0 0 rgba(207, 63, 54, 0); }
}
.pg-a-voice-tip { margin-top: 10px; font-size: 12.5px; color: var(--ink-2); min-height: 20px; }
.pg-a-wave {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 3px; height: 40px; margin-top: 10px;
}
.pg-a-wave i {
  width: 3px; height: 8px; border-radius: 2px;
  background: linear-gradient(180deg, var(--brand-2), #8ab6ee);
  animation: pg-a-wave .68s ease-in-out infinite alternate;
}
@keyframes pg-a-wave { from { height: 6px; } to { height: 34px; } }

/* 文件识别 */
.pg-a-filerow {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fafcff;
}
.pg-a-fileicon {
  width: 38px; height: 38px; flex: none; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--brand-3); color: var(--brand);
}

/* 回填高亮 */
.pg-a-ctl { position: relative; }
.pg-a-ai {
  position: absolute; right: 8px; top: 8px; z-index: 2;
  font-size: 9.5px; font-weight: 800; letter-spacing: .5px; line-height: 1.4;
  color: #7c5cd6; background: #f2ebff; border: 1px solid #e0d2ff;
  border-radius: 4px; padding: 0 4px; pointer-events: none;
}
.pg-a-ctl > .select + .pg-a-ai { right: 30px; }
.pg-a-ai-tip { color: #7c5cd6; font-weight: 600; }
.pg-a-hl { position: relative; }
.pg-a-hl::before {
  content: ''; position: absolute; left: -7px; top: 3px; bottom: 3px; width: 2px;
  border-radius: 2px; background: linear-gradient(180deg, #a888f5, #7c5cd6);
}
.pg-a-hl .input,
.pg-a-hl .select,
.pg-a-hl .textarea {
  border-color: #c9b6f7; background: #fbf8ff;
  box-shadow: 0 0 0 3px rgba(138, 92, 240, .08);
  animation: pg-a-flash 1.1s ease-out;
}
@keyframes pg-a-flash {
  0% { background: #ece0ff; }
  100% { background: #fbf8ff; }
}

/* 职业工种多选 */
.pg-a-occ { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 0; }
.pg-a-occ-item {
  font-size: 12px; line-height: 1.6; padding: 2px 9px;
  border: 1px solid var(--line); border-radius: 14px;
  background: #fff; color: var(--ink-2); cursor: pointer;
  transition: all .15s; user-select: none;
}
.pg-a-occ-item:hover { border-color: var(--brand-2); color: var(--brand); }
.pg-a-occ-item.on {
  background: var(--brand-3); border-color: #b9d3f5;
  color: var(--brand); font-weight: 600;
}
.pg-a-priority { display: flex; align-items: center; gap: 16px; padding-top: 7px; }

/* 保费估算 */
.pg-a-estimate {
  margin-top: 14px; padding: 12px 14px;
  border: 1px dashed var(--line); border-radius: var(--radius);
  background: #fafcff;
}
.pg-a-est-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.pg-a-est-num {
  margin-top: 2px; font-size: 17px; font-weight: 720;
  letter-spacing: -.3px; color: var(--ink);
}
@media (max-width: 900px) { .pg-a-est-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 提交区 */
.pg-a-submit {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--line);
}
.pg-a-confirm { margin: 0; flex: 1; min-width: 268px; }

/* 右侧识别结果 */
.pg-a-conf {
  padding: 12px 14px 10px; border-bottom: 1px solid var(--line-2);
  background: linear-gradient(180deg, #f7faff, #fff);
}
.pg-a-conf-num { font-size: 20px; font-weight: 760; letter-spacing: -.5px; }
.pg-a-hit { padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
.pg-a-hit:last-child { border-bottom: 0; }
.pg-a-hitlist { max-height: 420px; overflow: auto; }
.pg-a-hit-h { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.pg-a-hit-h b { font-weight: 650; color: var(--ink); }
.pg-a-hit-v {
  margin-top: 3px; font-size: 13px; font-weight: 650;
  color: var(--brand-4); word-break: break-all;
}
.pg-a-hit-f { margin-top: 3px; font-size: 11.5px; line-height: 1.5; color: var(--ink-3); }
.pg-a-hit-f .mark-hl {
  color: #7c5cd6; background: #f3ecff; border-radius: 3px; padding: 0 2px;
}
.pg-a-raw {
  padding: 12px 14px; max-height: 190px; overflow: auto;
  font-size: 12px; line-height: 1.8; color: var(--ink-2);
  white-space: pre-wrap; word-break: break-all;
}
.pg-a-guide { padding: 12px 14px; }
.pg-a-tips {
  margin: 10px 0 0; padding-left: 16px;
  font-size: 12px; line-height: 1.9; color: var(--ink-2);
}
.pg-a-tips li { margin-bottom: 2px; }

/* ------------------------------------------------------------- 询价详情 */
.pg-a-plan {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px; margin-bottom: 14px;
}
.pg-a-plan-item {
  padding: 10px 12px; border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); background: #f6f9fe;
}
.pg-a-plan-item .k { font-size: 11.5px; color: var(--ink-3); }
.pg-a-plan-item .v {
  margin-top: 2px; font-size: 16px; font-weight: 720;
  letter-spacing: -.3px; color: var(--ink);
}
.pg-a-plan-item .v small { font-size: 11px; font-weight: 500; color: var(--ink-3); }
@media (max-width: 900px) { .pg-a-plan { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pg-a-src-box {
  flex: 1; min-width: 150px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fafcff;
}
.pg-a-src-val {
  margin-top: 4px; display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  word-break: break-all;
}
.pg-a-action-list {
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px 16px;
}
.pg-a-action-list .btn { justify-content: center; }
.pg-a-quick { padding: 12px 16px 14px; }
.pg-a-tl { padding: 12px 16px 14px; }
.pg-a-tl .timeline { margin: 0; }

.pg-a-detail .page-head h2 { letter-spacing: -.4px; }

.pg-a-link { color: var(--brand-2); cursor: pointer; font-size: 12px; }
.pg-a-link:hover { text-decoration: underline; }

/* ------------------------------------------------- 多险种卡片（quote-new） */
.pg-a-lines-tip {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border: 1px dashed var(--line);
  border-radius: var(--radius-sm); background: #fafcff;
  font-size: 12px; color: var(--ink-3);
}
.pg-a-line {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; margin-bottom: 12px; overflow: hidden;
}
.pg-a-line-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; background: #f7fafe; border-bottom: 1px solid var(--line-2);
}
.pg-a-line-no {
  width: 22px; height: 22px; flex: none; border-radius: 6px;
  display: grid; place-items: center;
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
}
.pg-a-line-head .pg-a-pid { width: 228px; height: 30px; font-size: 12.5px; font-weight: 600; }
.pg-a-line-prem { font-size: 13px; font-weight: 700; color: var(--brand); }
.pg-a-line-body { padding: 0 12px 6px; }
.pg-a-line-foot {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 12px; border-top: 1px dashed var(--line-2);
  background: #fbfcfe; font-size: 11.5px; color: var(--ink-3);
}
.pg-a-line-foot b { color: var(--ink); }
.pg-a-line-empty {
  margin: 2px 0 12px; padding: 18px; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--radius);
  font-size: 12.5px; color: var(--ink-3);
}
.pg-a-line-warn {
  margin-top: 6px; padding: 6px 10px; border-radius: 6px;
  background: var(--warn-bg); color: var(--warn); font-size: 11.5px;
}

/* 合计面板 */
.pg-a-sum-list { padding: 10px 14px; }
.pg-a-sum-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; border-bottom: 1px dashed var(--line-2); font-size: 12.5px;
}
.pg-a-sum-row:last-child { border-bottom: 0; }
.pg-a-sum-row .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-a-sum-row .amt { font-family: var(--mono); font-weight: 650; }
.pg-a-sum-total {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 10px 14px 12px; border-top: 1px solid var(--line);
}
.pg-a-sum-total span { font-size: 12px; color: var(--ink-3); }
.pg-a-sum-num {
  font-size: 22px; font-weight: 780; letter-spacing: -.6px; color: var(--brand-4);
  font-family: var(--mono);
}
.pg-a-sum-meta { padding: 0 14px 12px; font-size: 11.5px; color: var(--ink-3); }
.pg-a-submit-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 12px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fbfcfe;
}

/* 悬浮客户风险按钮 */
.pg-a-risk-fab {
  position: fixed; right: 26px; bottom: 30px; z-index: 60;
  width: 56px; height: 56px; border: 0; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; cursor: pointer; color: #fff;
  background: linear-gradient(150deg, #1f74d8, #0d3f7c);
  box-shadow: 0 10px 24px rgba(18, 86, 166, .32);
  transition: transform .18s, box-shadow .18s;
}
.pg-a-risk-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(18, 86, 166, .4); }
.pg-a-risk-fab .pg-a-risk-txt { font-size: 9.5px; font-weight: 700; letter-spacing: .5px; line-height: 1.2; }
.pg-a-risk-fab.off {
  background: #cfd8e4; color: #fff; cursor: not-allowed;
  box-shadow: none; transform: none;
}

/* 风险抽屉 */
.pg-a-risk-head {
  padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius); background: linear-gradient(180deg, #f7faff, #fff);
}
.pg-a-risk-lv { display: flex; flex-direction: column; gap: 2px; }
.pg-a-risk-grade { font-size: 20px; font-weight: 760; letter-spacing: -.4px; }
.pg-a-risk-metrics {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px; margin-top: 12px;
}
.pg-a-risk-metrics > div { display: flex; flex-direction: column; gap: 2px; }
.pg-a-risk-metrics b { font-size: 14px; font-weight: 700; font-family: var(--mono); }
.pg-a-risk-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* 成交结果横幅 / 卡片 */
.pg-a-result-banner {
  display: flex; align-items: center; gap: 12px; justify-content: space-between;
  flex-wrap: wrap;
}
.pg-a-result-banner b { margin-right: 4px; }
.pg-a-result-empty { padding: 12px 14px; }
.pg-a-result-done { padding: 10px 14px 14px; }

/* 审批流转 */
.pg-a-ap-list { display: flex; flex-direction: column; }
.pg-a-ap {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 16px; border-bottom: 1px solid var(--line-2);
}
.pg-a-ap:last-child { border-bottom: 0; }
.pg-a-ap-dot {
  width: 8px; height: 8px; flex: none; margin-top: 6px;
  border-radius: 50%; background: var(--ink-3);
}
.pg-a-ap.pending { background: #fffdf7; }
.pg-a-ap.pending .pg-a-ap-dot { background: var(--warn); }
.pg-a-ap.approved .pg-a-ap-dot { background: var(--ok); }
.pg-a-ap.rejected .pg-a-ap-dot { background: var(--bad); }

/* 详情页多险种方案块 */
.pg-a-line-plan {
  margin-bottom: 14px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fbfcfe;
}
.pg-a-line-plan:last-child { margin-bottom: 8px; }
.pg-a-line-plan-head {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 1px dashed var(--line-2);
}
.pg-a-line-plan-head b { font-size: 13.5px; }
.pg-a-line-plan > .pg-a-plan { margin-bottom: 0; }

/* --------------------------------------------------------- 报价单 quote-sheet */
.pg-a-sheet { max-width: 1180px; }
.pg-a-sheet-doc { padding: 0; overflow: hidden; }
.pg-a-sheet-doc.card { margin-top: 14px; }
.pg-a-sheet-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding: 20px 26px; color: #fff;
  background: linear-gradient(120deg, #0d3f7c 0%, #1256a6 55%, #1f74d8 100%);
}
.pg-a-sheet-brand { display: flex; align-items: center; gap: 12px; }
.pg-a-sheet-logo {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .16); color: #fff;
}
.pg-a-sheet-logo svg { width: 24px; height: 24px; }
.pg-a-sheet-co { font-size: 19px; font-weight: 750; letter-spacing: .4px; }
.pg-a-sheet-head .tiny.muted { color: rgba(255, 255, 255, .68); }
.pg-a-sheet-meta { display: flex; gap: 26px; flex-wrap: wrap; }
.pg-a-sheet-meta > div { display: flex; flex-direction: column; gap: 3px; }
.pg-a-sheet-meta b { font-size: 13px; font-weight: 700; color: #fff; }
.pg-a-sheet-meta .tiny.muted { color: rgba(255, 255, 255, .66); }
.pg-a-sheet-meta .tag { align-self: flex-start; }

.pg-a-sheet-sec { padding: 18px 26px; border-top: 1px solid var(--line-2); }
.pg-a-sheet-sec:first-of-type { border-top: 0; }
.pg-a-sheet-sec-h {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.pg-a-sheet-sec-h h3 {
  margin: 0; font-size: 14.5px; font-weight: 720; color: var(--ink);
  padding-left: 8px; border-left: 3px solid var(--brand-2);
}
.pg-a-sheet-kv .kv { margin: 0; }

.pg-a-sheet-line {
  margin-bottom: 14px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fbfcfe;
}
.pg-a-sheet-line:last-child { margin-bottom: 0; }
.pg-a-sheet-line-h {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.pg-a-sheet-idx {
  width: 24px; height: 24px; flex: none; border-radius: 7px;
  display: grid; place-items: center;
  background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 700; font-family: var(--mono);
}
.pg-a-sheet-line-h b { font-size: 14px; }
.pg-a-limit-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px; margin-bottom: 10px;
}
.pg-a-limit-cell {
  padding: 10px 12px; border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); background: #fff;
  display: flex; flex-direction: column; gap: 2px;
}
.pg-a-limit-cell .k { font-size: 11px; color: var(--ink-3); }
.pg-a-limit-cell .v {
  font-size: 17px; font-weight: 740; letter-spacing: -.4px;
  color: var(--brand-4); font-family: var(--mono);
}
.pg-a-limit-cell .v small { margin-left: 3px; font-size: 10.5px; font-weight: 500; color: var(--ink-3); }
.pg-a-sheet-basic {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 14px;
}
.pg-a-sheet-basic span { font-size: 12px; color: var(--ink-2); }
.pg-a-sheet-basic i {
  display: block; font-style: normal; font-size: 10.5px; color: var(--ink-3); margin-bottom: 1px;
}
.pg-a-sheet-addons { margin-top: 10px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pg-a-addon {
  font-size: 11.5px; padding: 1px 8px; border-radius: 12px;
  background: var(--brand-3); color: var(--brand);
}
.pg-a-sheet-line .pg-a-limit-cell { min-width: 0; }

.pg-a-terms { margin: 0; padding-left: 20px; font-size: 12.5px; line-height: 2; color: var(--ink-2); }
.pg-a-terms li { margin-bottom: 4px; }
.pg-a-fee-total { font-size: 15px; }
.pg-a-sheet tfoot td { border-top: 1px solid var(--line); background: #fbfcfe; }

.pg-a-sheet-risk { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
@media (max-width: 900px) { .pg-a-sheet-risk { grid-template-columns: minmax(0, 1fr); } }
.pg-a-sheet-risk-l, .pg-a-sheet-risk-r {
  padding: 12px 14px; border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); background: #fbfcfe;
}
.pg-a-disclaimer { background: #fafbfd; }
.pg-a-sign {
  display: flex; gap: 36px; flex-wrap: wrap; margin-top: 14px;
  padding-top: 12px; border-top: 1px dashed var(--line);
}
.pg-a-sign > div { display: flex; flex-direction: column; gap: 3px; }
.pg-a-sign b { font-size: 12.5px; font-weight: 650; color: var(--ink); }

/* 打印适配 */
@media print {
  .pg-a-side { display: block; }
  .pg-a-detail .card,
  .pg-a-detail .card-body { break-inside: avoid; }
  .no-print { display: none !important; }
  .pg-a-sheet-head { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pg-a-sheet-doc.card { margin: 0; border: 0; }
  .pg-a-sheet-sec { break-inside: avoid; }
  .pg-a-risk-fab { display: none !important; }
  .app-side, .app-top, .appfoot, .sidebar, #sidebar, .topbar, #topbar { display: none !important; }
  .main, .content { margin: 0 !important; padding: 0 !important; }
}
