.customer-main { max-width: 1120px; padding-bottom: 72px; }
.customer-page-head { display: block; margin-bottom: 28px; }
.customer-page-head .customer-eyebrow { color: var(--accent); font-size: 10px; margin-top: 0; }
.customer-page-head .page-back { display: inline-flex; margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.customer-eyebrow { color: var(--accent); font-size: 10px; font-weight: 600; letter-spacing: 1.6px; line-height: 1.6; }
.customer-page-head h1 { margin-top: 7px; font: 700 clamp(34px, 4vw, 44px)/1.15 var(--font-display); }
.customer-page-head > p:last-child { margin-top: 10px; color: var(--muted); font-size: 14px; max-width: 580px; }
.customer-page .panel { min-width: 0; padding: 28px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.customer-page h2 { font-size: 19px; font-weight: 600; line-height: 1.45; }
.customer-page h3 { font-size: 16px; font-weight: 500; }
.customer-muted { color: var(--muted); font-size: 13px; line-height: 1.75; }
.customer-button { min-height: 45px; padding: 11px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border-radius: 6px; font-size: 13px; font-weight: 600; line-height: 1.6; text-align: center; }
.customer-button-primary { background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); }
.customer-button-secondary { background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.customer-button:disabled { opacity: .5; }
.customer-text-button { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; padding: 8px 0 8px 14px; font-size: 13px; color: var(--accent); background: none; }
.customer-text-button:disabled { opacity: .5; }
.customer-account-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; }
.profile-intro { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.profile-intro h2 { margin-top: 3px; }
.profile-avatar { width: 56px; height: 56px; border: 1px solid #bddbc9; border-radius: 50%; display: inline-grid; place-items: center; flex: 0 0 auto; background: var(--surface-selected); color: var(--accent); font: 600 28px/1 var(--font-display); }
.customer-details { display: grid; gap: 20px; }
.customer-details > div { min-width: 0; }
.customer-details dt { color: var(--muted); font-size: 12px; }
.customer-details dd { margin-top: 5px; color: var(--text); overflow-wrap: anywhere; font-size: 14px; }
.profile-session { display: flex; justify-content: space-between; align-items: center; gap: 14px; border-top: 1px solid var(--quiet-border); padding-top: 12px; margin-top: 24px; }
.profile-session > span { color: var(--muted); font-size: 12px; }
.customer-page .profile-wallet { background: var(--surface-selected); border-color: #bddbc9; display: flex; flex-direction: column; align-items: flex-start; }
.profile-wallet h2 { font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 12px; }
.customer-balance { color: var(--accent); font-size: clamp(30px, 4.3vw, 43px); line-height: 1.25; letter-spacing: -.8px; font-weight: 600; overflow-wrap: anywhere; }
.profile-wallet .customer-balance { margin-top: 7px; }
.profile-wallet .customer-muted { margin-top: 9px; }
.profile-wallet .customer-button { margin-top: auto; padding-top: 11px; width: 100%; }
.profile-wallet .customer-muted + .customer-button { margin-top: 28px; }
.customer-page .profile-activity { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; }
.profile-activity p { margin-top: 5px; }
.profile-activity .customer-button { flex: 0 0 auto; }
.customer-admin-link { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 14px; color: var(--muted); min-height: 44px; font-size: 13px; }
.customer-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); }
.customer-footer-inner a { display: inline-flex; align-items: center; gap: 12px; }
.customer-wallet-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.customer-wallet-toolbar .status-message { margin: 0; padding: 0; background: none; border: 0; font-size: 12px; color: var(--muted); }
.customer-page .is-error { color: var(--error); }
.customer-wallet-toolbar .customer-button { min-height: 40px; flex: 0 0 auto; padding: 8px 14px; }
.customer-wallet-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); gap: 20px; align-items: start; }
.customer-page .wallet-summary { background: var(--surface-selected); border-color: #bddbc9; }
.wallet-summary .customer-balance { margin-top: 16px; }
.wallet-summary .customer-muted { margin-top: 10px; }
.wallet-summary .customer-button { margin-top: 26px; border-color: #bddbc9; width: 100%; }
.customer-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.customer-section-heading h2 { margin-top: 5px; }
.customer-step { color: var(--accent); width: 38px; height: 38px; border: 1px solid #bddbc9; border-radius: 50%; display: inline-grid; place-items: center; font-size: 22px; flex: 0 0 auto; }
.bank-details { gap: 0; margin-top: 22px; }
.bank-details > div { display: grid; grid-template-columns: minmax(105px, .75fr) minmax(0, 1.3fr); align-items: start; gap: 20px; padding-block: 14px; border-top: 1px solid var(--quiet-border); }
.bank-details dt { padding-top: 3px; }
.bank-details dd { margin-top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bank-value { min-width: 0; overflow-wrap: anywhere; }
.customer-copy-button { min-height: 30px; padding: 3px 0 3px 5px; background: none; color: var(--accent); font-size: 11px; font-weight: 500; white-space: nowrap; flex: 0 0 auto; }
.wallet-bank-note { border-left: 2px solid #4c8067; padding-left: 13px; margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.wallet-copy-status { font-size: 12px; color: var(--accent); margin-top: 12px; }
.wallet-copy-status:empty { display: none; }
.customer-page .wallet-history-panel { margin-top: 20px; }
.customer-count { border: 1px solid var(--border); border-radius: 30px; padding: 4px 10px; color: var(--muted); font-size: 11px; flex: 0 0 auto; }
.customer-empty-state { color: var(--muted); font-size: 13px; }
.customer-empty-state h3 { color: var(--text); }
.customer-empty-state p { margin-top: 7px; line-height: 1.8; }
.wallet-bank-empty { border-top: 1px solid var(--quiet-border); padding-block: 24px 4px; margin-top: 22px; }
.wallet-history-empty { padding: 38px 20px 26px; text-align: center; }
.empty-wallet-symbol { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 50%; color: var(--faint); font-size: 22px; margin-bottom: 13px; }
.wallet-transaction-list { list-style: none; padding: 0; margin-top: 22px; }
.wallet-transaction-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 19px; border-top: 1px solid var(--quiet-border); }
.wallet-transaction-row:last-child { padding-bottom: 0; }
.wallet-transaction-copy { min-width: 0; }
.wallet-transaction-note { font-size: 13px; overflow-wrap: anywhere; }
.wallet-transaction-date { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.wallet-transaction-amount { font-size: 15px; font-weight: 500; white-space: nowrap; flex: 0 0 auto; }
.wallet-transaction-amount.is-credit { color: var(--accent); }
.customer-copy-buffer { position: fixed; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 767px) {
  .customer-main { padding-bottom: 48px; }
  .customer-page .panel { padding: 22px; }
  .customer-page-head { margin-bottom: 24px; }
  .customer-page-head .page-back { margin-bottom: 20px; }
  .customer-account-grid, .customer-wallet-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .customer-page .profile-activity { padding-block: 22px; }
  .customer-page .profile-wallet { display: grid; grid-template-columns: minmax(0, 1fr); }
  .profile-wallet .customer-muted + .customer-button { margin-top: 22px; width: auto; }
  .customer-balance { font-size: 36px; }
  .wallet-summary .customer-button { width: auto; margin-top: 20px; }
  .customer-page .wallet-history-panel { margin-top: 16px; }
  .customer-footer-inner { align-items: flex-start; }
}
@media (max-width: 479px) {
  .customer-page .panel { padding: 20px; border-radius: 8px; }
  .customer-page-head > p:last-child { font-size: 13px; }
  .customer-page h2 { font-size: 18px; }
  .profile-intro { gap: 12px; }
  .profile-avatar { width: 47px; height: 47px; font-size: 25px; }
  .profile-session { align-items: flex-start; }
  .profile-session > span { max-width: 120px; padding-top: 11px; }
  .customer-page .profile-activity { display: block; }
  .profile-activity .customer-button { margin-top: 18px; }
  .customer-wallet-toolbar { align-items: flex-start; gap: 12px; }
  .customer-wallet-toolbar .status-message { padding-top: 6px; }
  .bank-details > div { grid-template-columns: minmax(0, 1fr); gap: 5px; padding-block: 12px; }
  .bank-details dd { gap: 16px; }
  .bank-details dt { padding-top: 0; }
  .customer-section-heading { gap: 12px; }
  .customer-step { width: 32px; height: 32px; }
  .customer-count { font-size: 10px; padding-inline: 8px; }
  .wallet-history-empty { padding: 28px 0 12px; }
  .wallet-transaction-row { gap: 12px; align-items: flex-start; }
  .wallet-transaction-amount { font-size: 13px; padding-top: 1px; }
  .wallet-transaction-note { font-size: 12px; }
  .customer-footer-inner { flex-direction: column; gap: 10px; }
}
