/* 只覆盖本次确认的理财页，不修改共用样式和购买确认层。 */
body.syh-page-wealth.wealth-reference {
  max-width: 520px;
  color: #272b31;
  background: #f0f5fa;
}
body.syh-page-wealth.wealth-reference main { padding: 0; }
body.syh-page-wealth.wealth-reference [hidden] { display: none !important; }
body.syh-page-wealth.wealth-reference .wealth-promo { padding: 16px; }
body.syh-page-wealth.wealth-reference .wealth-promo-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  align-items: center;
  gap: 8px;
  min-height: 128px;
  padding: 12px 18px;
  border-radius: 8px 8px 0 0;
  color: #fff;
  background: linear-gradient(110deg, #30b9e9, #0876fa 65%, #0957e7);
}
body.syh-page-wealth.wealth-reference .wealth-promo-copy { min-width: 0; }
body.syh-page-wealth.wealth-reference .wealth-promo-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #e2f6ff;
  font-size: 11px;
  line-height: 20px;
}
body.syh-page-wealth.wealth-reference .wealth-promo h1 {
  margin: 5px 0 2px;
  color: #fff;
  font-size: 23px;
  font-weight: 600;
  line-height: 32px;
  overflow-wrap: anywhere;
}
body.syh-page-wealth.wealth-reference .wealth-promo p {
  margin: 0;
  color: #e2f6ff;
  font-size: 13px;
  line-height: 22px;
  overflow-wrap: anywhere;
}
body.syh-page-wealth.wealth-reference .wealth-promo img {
  display: block;
  width: 104px;
  height: 104px;
  object-fit: contain;
}
body.syh-page-wealth.wealth-reference .wealth-promo-action {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 78px;
  padding: 15px 16px;
  border-radius: 0 0 8px 8px;
  background: #fff;
}
body.syh-page-wealth.wealth-reference .wealth-promo-action > div { min-width: 0; }
body.syh-page-wealth.wealth-reference .wealth-promo-action strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  overflow-wrap: anywhere;
}
body.syh-page-wealth.wealth-reference .wealth-promo-action span {
  display: block;
  margin-top: 2px;
  color: #8e979f;
  font-size: 10px;
  line-height: 17px;
  overflow-wrap: anywhere;
}
body.syh-page-wealth.wealth-reference #wealth-contact-entry {
  min-height: 38px;
  padding: 7px 14px;
  border: 0;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(100deg, #32b8ef, #0767fa);
  font-size: 13px;
  line-height: 24px;
  white-space: nowrap;
}
body.syh-page-wealth.wealth-reference #wealth-contact-entry:hover { background: #0879ed; }
body.syh-page-wealth.wealth-reference #wealth-contact-entry i { margin-left: 3px; }
body.syh-page-wealth.wealth-reference .wealth-products {
  margin: 0;
  padding: 0 20px;
  background: #fff;
}
body.syh-page-wealth.wealth-reference .wealth-section-heading {
  gap: 12px;
  margin: 0;
  padding: 17px 0;
  border-bottom: 1px solid #edf0f3;
}
body.syh-page-wealth.wealth-reference .wealth-section-heading h2 {
  color: #2389d2;
  font-size: 17px;
  line-height: 25px;
}
body.syh-page-wealth.wealth-reference .wealth-section-heading > span {
  flex-shrink: 0;
  padding: 0;
  border-radius: 0;
  color: #929ba5;
  background: transparent;
  font-size: 11px;
}
body.syh-page-wealth.wealth-reference .wealth-product-card {
  margin: 0;
  padding: 19px 0;
  border: 0;
  border-bottom: 1px solid #edf0f3;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.syh-page-wealth.wealth-reference .wealth-product-card:last-child { border-bottom: 0; }
body.syh-page-wealth.wealth-reference .wealth-product-heading { align-items: flex-start; }
body.syh-page-wealth.wealth-reference .wealth-product-heading h3 {
  color: #34383d;
  font-size: 15px;
  font-weight: 500;
  line-height: 23px;
}
body.syh-page-wealth.wealth-reference .wealth-product-heading > span {
  margin-top: 2px;
  padding: 1px 7px;
  border-radius: 3px;
  color: #2786c4;
  background: #e1f2fe;
  font-size: 10px;
  line-height: 19px;
}
body.syh-page-wealth.wealth-reference .wealth-product-numbers {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin: 13px 0 12px;
  padding: 0;
}
body.syh-page-wealth.wealth-reference .wealth-product-numbers > div { min-width: 0; }
body.syh-page-wealth.wealth-reference .wealth-product-numbers strong {
  color: #df354b;
  font-size: 28px;
  font-weight: 600;
  line-height: 34px;
  font-variant-numeric: tabular-nums;
}
body.syh-page-wealth.wealth-reference .wealth-product-numbers em { font-size: 18px; }
body.syh-page-wealth.wealth-reference .wealth-product-numbers b {
  color: #30343a;
  font-size: 20px;
  font-weight: 500;
  line-height: 34px;
  overflow-wrap: anywhere;
}
body.syh-page-wealth.wealth-reference .wealth-product-numbers small {
  margin-top: 2px;
  color: #929ba5;
  font-size: 11px;
  line-height: 18px;
}
body.syh-page-wealth.wealth-reference .wealth-buy-form { padding: 0; border: 0; }
body.syh-page-wealth.wealth-reference .wealth-amount-label {
  flex-wrap: wrap;
  margin-bottom: 6px;
  color: #8a949e;
  font-size: 11px;
  line-height: 18px;
}
body.syh-page-wealth.wealth-reference .wealth-buy-row { gap: 8px; }
body.syh-page-wealth.wealth-reference .wealth-buy-row input {
  height: 38px;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 4px;
  background: #f8fafc;
  font-size: 16px;
}
body.syh-page-wealth.wealth-reference .wealth-buy-row button {
  min-width: 74px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 4px;
  background: #1686ee;
  font-size: 12px;
}
body.syh-page-wealth.wealth-reference .wealth-assets { margin-top: 12px; padding: 22px 20px; }
body.syh-page-wealth.wealth-reference .wealth-total { font-size: 28px; line-height: 1.4; }
body.syh-page-wealth.wealth-reference .wealth-intro { padding: 18px 20px; }
body.syh-page-wealth.wealth-reference .wealth-intro > div { min-width: 0; }
body.syh-page-wealth.wealth-reference .wealth-intro p { overflow-wrap: anywhere; }
body.syh-page-wealth.wealth-reference .wealth-rules { padding: 15px 20px 18px; }
body.syh-page-wealth.wealth-reference .wealth-holdings { margin-top: 12px; padding: 0 20px 20px; }
body.syh-page-wealth.wealth-reference .wealth-holding-card { margin: 0; }
body.syh-page-wealth.wealth-reference .wealth-empty { border: 0; border-radius: 0; }
body.syh-page-wealth.wealth-reference .wealth-buy-notice,
body.syh-page-wealth.wealth-reference .wealth-demo-note {
  margin: 0 16px 12px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
body.syh-page-wealth.wealth-reference .wealth-risk-note { margin: 20px 16px 0; line-height: 20px; }
/* 提示不抢焦点，也不遮挡确认弹窗和页面操作。 */
body.syh-page-wealth.wealth-reference .wealth-contact-toast {
  position: fixed;
  top: 46%;
  left: 50%;
  z-index: 2000;
  max-width: calc(100% - 40px);
  padding: 15px 22px;
  border-radius: 4px;
  color: #fff;
  background: rgba(35, 39, 44, .86);
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* 紧凑产品行只显示真实产品信息，原表单默认隐藏。 */
body.syh-page-wealth.wealth-compact .wealth-product-card { position: relative; padding: 16px 0; }
body.syh-page-wealth.wealth-compact .wealth-product-card > .wealth-product-heading { padding-right: 24px; }
body.syh-page-wealth.wealth-compact .wealth-product-card .wealth-product-numbers { margin: 12px 0 0; }
body.syh-page-wealth.wealth-compact .wealth-product-open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #9aa7b6;
  background: transparent;
}
body.syh-page-wealth.wealth-compact .wealth-product-open:hover { background: rgba(22, 134, 238, .025); }
body.syh-page-wealth.wealth-compact .wealth-product-open i { position: absolute; top: 18px; right: 0; font-size: 17px; line-height: 23px; }
/* 金额弹窗在原确认层下方，不覆盖或替换原确认样式。 */
body.syh-page-wealth.wealth-compact .wealth-amount-layer {
  position: fixed;
  inset: 0;
  z-index: 2147482900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(17, 24, 39, .45);
}
body.syh-page-wealth.wealth-compact .wealth-amount-dialog {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 380px;
  min-width: 0;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  border-radius: 8px;
  color: #30343a;
  background: #fff;
}
body.syh-page-wealth.wealth-compact .wealth-amount-heading {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 8px 20px;
}
body.syh-page-wealth.wealth-compact .wealth-amount-heading h2 { margin: 0; font-size: 18px; line-height: 28px; }
body.syh-page-wealth.wealth-compact [data-amount-close] {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: #7c8794;
  background: transparent;
  font-size: 18px;
}
body.syh-page-wealth.wealth-compact .wealth-amount-content {
  min-height: 0;
  padding: 0 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
body.syh-page-wealth.wealth-compact .wealth-amount-product { margin: 0 0 14px; font-size: 14px; line-height: 23px; overflow-wrap: anywhere; }
body.syh-page-wealth.wealth-compact .wealth-amount-terms {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin: 0 0 18px;
  padding: 12px 0;
  border-top: 1px solid #edf0f3;
  border-bottom: 1px solid #edf0f3;
}
body.syh-page-wealth.wealth-compact .wealth-amount-terms dt { color: #7c8794; font-size: 11px; font-weight: 400; line-height: 20px; }
body.syh-page-wealth.wealth-compact .wealth-amount-terms dd { margin: 2px 0 0; font-size: 20px; line-height: 28px; overflow-wrap: anywhere; }
body.syh-page-wealth.wealth-compact .wealth-amount-terms > div:first-child dd { color: #df354b; }
body.syh-page-wealth.wealth-compact .wealth-amount-notice { margin: 0 0 14px; color: #955114; font-size: 12px; line-height: 20px; overflow-wrap: anywhere; }
body.syh-page-wealth.wealth-compact .wealth-amount-layer .wealth-buy-row input,
body.syh-page-wealth.wealth-compact .wealth-amount-layer .wealth-buy-row button { min-height: 44px; height: 44px; }
body.syh-page-wealth.wealth-compact .wealth-amount-actions { flex: 0 0 auto; padding: 16px 20px 20px; }
body.syh-page-wealth.wealth-compact [data-amount-cancel] {
  width: 100%;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #dfe5ec;
  border-radius: 4px;
  color: #647181;
  background: #fff;
  font-size: 14px;
  line-height: 24px;
}
