.v14-customer-sheet {
  --quote-ink: #172642;
  --quote-muted: #485871;
  --quote-accent: #284590;
  --quote-line: #dfe5ef;
  box-sizing: border-box;
  max-width: 43rem;
  margin: 0 auto;
  padding: clamp(13px, 3.5vw, 30px);
  border: 1px solid var(--quote-line);
  border-radius: 12px;
  background: #fff;
  color: var(--quote-ink);
  font: 15px/1.5 "Microsoft YaHei UI", "PingFang SC", Arial, sans-serif;
  overflow-wrap: anywhere;
}
.v14-customer-sheet h2 {
  margin: 0 0 14px;
  color: var(--quote-ink);
  font-size: clamp(19px, 5vw, 27px);
}
.v14-customer-summary, .v14-customer-prices, .v14-customer-details { margin: 0; }
.v14-customer-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, .74fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(6px, 2.2vw, 16px);
  padding: clamp(10px, 2.8vw, 19px);
  border-radius: 8px;
  background: #f0f3fb;
}
.v14-customer-pair { min-width: 0; }
.v14-customer-pair dt { color: var(--quote-muted); font-size: 12px; font-weight: 600; }
.v14-customer-pair dd { margin: 0; white-space: pre-wrap; }
.v14-customer-summary dd { margin-top: 3px; font-size: clamp(15px, 4.3vw, 24px); font-weight: 700; line-height: 1.18; }
.v14-customer-summary .v14-customer-total { text-align: right; }
.v14-customer-total dd { color: var(--quote-accent); font-size: clamp(17px, 5vw, 31px); font-variant-numeric: tabular-nums; }
.v14-customer-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 4vw, 32px);
  margin-bottom: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--quote-line);
}
.v14-customer-prices .v14-customer-pair, .v14-customer-details .v14-customer-pair {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: baseline;
  column-gap: 8px;
}
.v14-customer-prices dd { color: var(--quote-ink); font-size: clamp(13px, 3.9vw, 20px); font-weight: 700; text-align: right; }
.v14-customer-details { display: grid; gap: 7px; }
.v14-customer-details .v14-customer-pair { grid-template-columns: minmax(5.7em, 29%) minmax(0, 1fr); }
.v14-customer-details dd { color: var(--quote-ink); }
@media print {
  .v14-customer-sheet { max-width: none; border: 0; padding: 0; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .v14-customer-summary, .v14-customer-prices { break-inside: avoid; }
}
