/* 圆梦计划前端子页面统一红金主题 */
.ledger-page,
.signin-records-page,
.courier-page,
.official-group-page,
.receipt-history-page,
.super-team-page,
.team-page,
.identity-head,
.protocol-head {
  color: #3b2528 !important;
}

.ledger-page .page-back,
.signin-records-page .page-back,
.courier-page .page-back,
.official-group-page .page-back,
.receipt-history-page .page-back,
.super-team-page .page-back,
.team-page .page-back,
.identity-back,
.protocol-back,
.page-back {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border: 1px solid #e1aaa1 !important;
  border-radius: 11px !important;
  background: #fff1ed !important;
  color: #a71128 !important;
  box-shadow: 0 4px 10px rgba(125, 20, 31, .08) !important;
  font-weight: 700 !important;
}

.ledger-page .page-title,
.signin-records-page h1,
.courier-page h1,
.official-group-page h1,
.receipt-history-page h1,
.super-team-page h1,
.team-page h1,
.identity-head h1,
.protocol-head h1,
.assistance-flow-title h1 {
  color: #8f1020 !important;
}

.ledger-subtitle,
.signin-records-sub,
.courier-sub,
.official-group-sub,
.receipt-history-sub,
.super-team-sub,
.team-page .sub,
.identity-head p,
.change-password-tip,
.courier-application-tip,
.assistance-muted {
  color: #84686d !important;
}

/* 列表、卡片和内容容器 */
.mine-ledger-list,
.signin-records-list,
.courier-card,
.courier-empty,
.official-group-card,
.receipt-history-item,
.receipt-history-empty,
.super-team-list,
.team-list,
.identity-card,
.identity-form,
.protocol-card,
.assistance-card,
.courier-record {
  background: #fffdf9 !important;
  border-color: #ecd2cc !important;
  box-shadow: 0 10px 26px rgba(101, 22, 31, .08) !important;
}

.mine-ledger-row,
.signin-records-row,
.courier-row,
.super-team-row,
.team-row {
  border-color: #f0ddd8 !important;
  color: #563b40 !important;
}
.mine-ledger-row:hover,
.signin-records-row:hover,
.super-team-row:hover,
.team-row:hover { background: #fff3ef !important; }

.signin-records-head {
  background: #fbe8e3 !important;
  color: #7b555c !important;
}
.mine-ledger-row span,
.signin-records-row,
.courier-row strong,
.receipt-history-item span,
.super-team-name,
.team-name { color: #56373e !important; }
.mine-ledger-row small,
.signin-source,
.receipt-history-item small,
.super-team-account,
.team-account,
.courier-row span { color: #92757a !important; }
.mine-ledger-row b,
.signin-records-row strong,
.ledger-positive { color: #c8102e !important; }
.ledger-negative { color: #8f1020 !important; }
.mine-ledger-empty,
.mine-ledger-end,
.signin-records-empty,
.courier-empty,
.receipt-history-empty,
.super-team-empty,
.team-empty { color: #987b80 !important; }

/* 团队页 */
.super-team-tabs button {
  background: #fff8f4 !important;
  border: 1px solid #edd0c9 !important;
  color: #8b646a !important;
  box-shadow: 0 4px 11px rgba(103, 26, 34, .07) !important;
}
.super-team-tabs button.active {
  background: linear-gradient(105deg, #8f1020, #c8102e) !important;
  border-color: #8f1020 !important;
  color: #fff !important;
  box-shadow: 0 7px 16px rgba(143, 16, 32, .20) !important;
}
.super-team-summary {
  background: #fff0eb !important;
  border: 1px solid #efd1ca !important;
  color: #63464b !important;
}
.super-team-summary b { color: #c8102e !important; }
.super-team-avatar,
.team-avatar {
  background: linear-gradient(145deg, #8f1020, #c8102e) !important;
  border: 1px solid rgba(215,167,61,.48) !important;
  color: #fff8e8 !important;
  box-shadow: 0 5px 11px rgba(111, 14, 27, .16) !important;
}
.super-team-status,
.team-status,
.courier-status.approved {
  background: #fff0eb !important;
  color: #a71128 !important;
  border: 1px solid #edc5bd !important;
}
.team-status.pending,
.courier-status {
  background: #fff5dc !important;
  color: #956713 !important;
  border: 1px solid #e6c36d !important;
}

/* 实名与表单 */
.identity-status {
  background: #fff4ef !important;
  border-color: #eccbc4 !important;
  color: #7a4b53 !important;
}
.identity-status strong { color: #a71128 !important; }
.identity-status.status-1 {
  background: #fff5dc !important;
  border-color: #e7c56e !important;
}
.identity-status.status-1 strong { color: #8d6110 !important; }
.identity-card span,
.identity-tip { color: #8e7176 !important; }
.identity-card strong { color: #58373e !important; }
.identity-form label,
.change-password-form label,
.courier-application-form label,
.assistance-application-form label { color: #6b464d !important; }
.identity-form input,
.change-password-form input,
.courier-application-form input,
.assistance-application-form input,
.assistance-application-form textarea {
  background: #fffaf7 !important;
  border-color: #e7cbc4 !important;
  color: #3b2528 !important;
}
.identity-form input:focus,
.change-password-form input:focus,
.courier-application-form input:focus,
.assistance-application-form input:focus,
.assistance-application-form textarea:focus {
  border-color: #cf5262 !important;
  box-shadow: 0 0 0 3px rgba(200,16,46,.10) !important;
}
.identity-submit,
.assistance-btn.primary,
.receipt-history-item button,
.change-password-form button[type="submit"],
.courier-application-form button[type="submit"] {
  background: linear-gradient(105deg, #8f1020, #c8102e) !important;
  border-color: #8f1020 !important;
  color: #fff !important;
  box-shadow: 0 7px 16px rgba(143,16,32,.20) !important;
}
.identity-logout,
.assistance-btn.secondary {
  background: #fff4ef !important;
  border-color: #dfaea5 !important;
  color: #9b172a !important;
}

/* 弹窗与协议 */
.assistance-modal-mask,
.courier-agreement-mask { background: rgba(70, 12, 19, .52) !important; }
.assistance-modal,
.change-password-modal,
.courier-application-modal,
.receipt-modal,
.courier-agreement-modal,
.logout-sheet {
  background: #fffdf9 !important;
  border: 1px solid #eccfc8 !important;
  box-shadow: 0 22px 58px rgba(77, 10, 18, .25) !important;
}
.assistance-modal h2,
.change-password-modal h2,
.courier-application-modal h2,
.receipt-header h2,
.courier-agreement-header h2,
.logout-sheet h2 { color: #8f1020 !important; }
.assistance-modal-close,
.courier-agreement-close {
  background: #f7ddd7 !important;
  color: #9d1428 !important;
}
.assistance-protocol-body,
.protocol-rich,
.receipt-copy { color: #63494e !important; }
.protocol-rich h1,
.protocol-rich h2,
.protocol-rich h3 { color: #8f1020 !important; }
.protocol-rich a { color: #c8102e !important; }
.receipt-date { color: #8e7176 !important; }

/* 扶助金申请与押运进度 */
.assistance-flow-title,
.courier-agreement-header { border-color: #efd4ce !important; }
.assistance-status,
.courier-status-card { background: #fff1ec !important; border-color: #edc9c1 !important; }
.assistance-progress-line,
.courier-progress-line { background: #efd6d0 !important; }
.assistance-progress-line span,
.courier-progress-line span { background: linear-gradient(90deg, #c8102e, #d7a73d) !important; }
.assistance-claim-success-icon {
  background: linear-gradient(145deg, #8f1020, #c8102e) !important;
  color: #fff !important;
}

.assistance-claim-success-mask .assistance-modal {
  border: 1px solid #edc9c1 !important;
  background: linear-gradient(180deg, #fffdfb 0%, #fff8f3 100%) !important;
  box-shadow: 0 24px 60px rgba(109, 18, 32, .24) !important;
}

.assistance-claim-success-mask .assistance-modal-close {
  position: absolute !important;
  inset: 14px 14px auto auto !important;
  float: none !important;
  display: grid !important;
  place-items: center !important;
  flex: none !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  border-radius: 50% !important;
  background: #fbe9e5 !important;
  color: #b9132e !important;
  font-size: 24px !important;
  line-height: 1 !important;
}

.assistance-claim-success h2 {
  color: #a71128 !important;
  font-size: 24px !important;
  letter-spacing: .04em !important;
}

.assistance-claim-success p {
  color: #7f6266 !important;
  line-height: 1.65 !important;
}

.assistance-claim-success > strong {
  color: #c8102e !important;
}

.assistance-claim-success > strong small {
  color: #9d7420 !important;
}

.assistance-claim-success .assistance-btn.primary {
  border: 0 !important;
  background: linear-gradient(135deg, #a71128, #d91f3d) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(167, 17, 40, .22) !important;
}
.courier-amount strong { color: #c8102e !important; }

/* 二维码与说明页 */
.official-group-card {
  background: linear-gradient(145deg, #fffdf9, #fff3ed) !important;
  border: 1px solid #eccfc8 !important;
}
.official-group-card img { border: 8px solid #fff !important; box-shadow: 0 8px 20px rgba(90, 18, 27, .10) !important; }

@media (max-width: 420px) {
  .ledger-page .page-title,
  .signin-records-page h1,
  .courier-page h1,
  .official-group-page h1,
  .receipt-history-page h1,
  .super-team-page h1,
  .team-page h1 { font-size: 26px !important; }
}
