.wallet-page { display: grid; gap: 18px; max-width: 1320px; margin: 22px auto 35px; }
.wallet-heading, .wallet-section-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.wallet-heading h1 { font-size: clamp(25px, 2.5vw, 35px); font-weight: 600; margin: 7px 0 10px; letter-spacing: -.04em; }
.wallet-heading p { font-size: 13px; line-height: 1.7; margin: 0; max-width: 620px; }
.wallet-heading .eyebrow { color: #64889f; font-size: 9px; letter-spacing: .16em; }
.wallet-heading > .btn { flex-shrink: 0; }
.wallet-page .card { min-width: 0; border-radius: 11px; padding: 22px; }
.wallet-page h2 { font-size: 19px; font-weight: 600; letter-spacing: -.025em; margin: 0 0 13px; }
.wallet-section-title h2 { margin-bottom: 0; }
.wallet-section-title .eyebrow { display: block; font-size: 9px; color: #7894a7; margin-bottom: 7px; }
.wallet-rule { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 20px; background: #eaf5fc; border: 1px solid #cce6f7; border-radius: 10px; color: #235775; font-size: 12px; }
.wallet-rule + .small { margin: -7px 0 3px; line-height: 1.7; }
.wallet-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 25px; }
.wallet-metrics span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 10px; line-height: 1.5; }
.wallet-metrics strong { font-size: 25px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; letter-spacing: -.03em; }
.wallet-due strong { color: #168acd; }
.wallet-platform { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.wallet-platform h2 { font-size: 27px; margin: 12px 0; }
.wallet-connect { border-top: 3px solid #229ed9; }
.wallet-connect > p, .wallet-record > p { font-size: 12px; line-height: 1.75; }
.wallet-connect > .small { font-size: 11px; margin-bottom: 0; }
.profile-payments { margin-top: 14px; }
.profile-payments .wallet-connect { padding: 22px; }
.wallet-connect .wallet-privacy { color: #54748b; }
.wallet-connect-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0; }
.wallet-profile-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #e1edf4; margin-top: 20px; padding-top: 15px; }
.wallet-profile-footer .small { line-height: 1.6; }
.wallet-onboarding { margin: 20px 0; }
.wallet-onboarding fieldset { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; border: 0; padding: 0; margin: 0; }
.wallet-onboarding label { width: min(100%, 340px); gap: 6px; }
.wallet-onboarding input { width: 90px; text-transform: uppercase; }
.wallet-onboarding small { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 10px; line-height: 1.5; }
.wallet-record { border: 1px solid #91ccea; scroll-margin-top: 20px; }
.wallet-record fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.wallet-record label.f { gap: 7px; }
.wallet-record input[type="number"] { font-variant-numeric: tabular-nums; }
.wallet-record button[type="submit"] { min-height: 38px; }
.wallet-record fieldset:disabled { opacity: .7; }
.wallet-confirm { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; font-size: 12px; line-height: 1.6; }
.wallet-confirm input { flex-shrink: 0; margin-top: 3px; }
.wallet-empty { padding: 35px; text-align: center; color: var(--muted); font-size: 12px; }
.wallet-notice { margin: 0; padding: 13px 16px; border: 1px solid #c9e6d8; border-radius: 8px; background: #edf8f2; color: #347255; font-size: 12px; line-height: 1.7; }
.wallet-reserved { padding: 11px 13px; border: 1px solid #e9ddbd; background: #fcf8ed; color: #8a7540; border-radius: 7px; margin: 20px 0 0; font-size: 11px; line-height: 1.7; }
.wallet-page table { width: 100%; }
.wallet-page td, .wallet-page th { white-space: nowrap; }
.wallet-page td { font-size: 12px; }
.wallet-page td.wallet-reference { white-space: normal; overflow-wrap: anywhere; min-width: 120px; max-width: 250px; font-size: 11px; }
.wallet-page .scroll-x { max-width: 100%; }
.wallet-page .card > .small { line-height: 1.7; }
.wallet-page .card > .scroll-x + .btn { margin-top: 15px; }
.wallet-manual summary { cursor: pointer; font-size: 12px; font-weight: 600; color: #597387; line-height: 1.6; }
.wallet-manual-options { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 17px; }
.wallet-footnote { line-height: 1.7; font-size: 10px; margin: 0; }
.wallet-badge { font-variant-numeric: tabular-nums; color: #1476ad; background: #ebf6fd; }
.wallet-withdraw-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #e1edf4; }
.wallet-withdraw-actions p { margin: 0; line-height: 1.6; }
.wallet-withdraw-actions .btn { flex-shrink: 0; }
.wallet-amount-row { display: flex; align-items: flex-end; gap: 12px; max-width: 500px; margin-top: 18px; }
.wallet-amount-row label { margin: 0; min-width: 0; }
.wallet-amount-row input { width: 100%; font-size: 19px; font-variant-numeric: tabular-nums; }
.wallet-amount-row > .btn { min-height: 43px; flex-shrink: 0; }
.wallet-record input[readonly] { background: #edf5fa; color: #315b74; }
.wallet-record textarea { width: 100%; resize: vertical; }
.wallet-record form > button[type="submit"] { margin-top: 10px; }
.wallet-request-link { padding: 10px 13px; border-radius: 7px; background: #edf7fd; color: #196f9e; }
.wallet-requests .wallet-section-title { align-items: flex-start; margin-bottom: 14px; }
.wallet-requests .wallet-section-title p { line-height: 1.6; margin: 8px 0 0; }
.wallet-request-filter { max-width: 220px; margin: 0 0 15px; gap: 7px; }
.wallet-request-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.wallet-request-actions .btn { white-space: normal; text-align: left; }
.wallet-table-detail { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.wallet-page td.wallet-request-details { white-space: normal; min-width: 180px; max-width: 430px; }
.wallet-request-details p { margin: 0; line-height: 1.6; overflow-wrap: anywhere; }
@media (min-width: 701px) and (max-width: 1100px) { .wallet-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .wallet-withdraw-actions { align-items: stretch; flex-direction: column; } .wallet-amount-row { align-items: stretch; flex-direction: column; } .wallet-amount-row > .btn { align-self: flex-start; min-height: 36px; } }
@media (max-width: 700px) { .wallet-heading { align-items: flex-start; } .wallet-heading h1 { font-size: 25px; } .wallet-metrics { grid-template-columns: 1fr; gap: 18px; } .wallet-metrics strong { font-size: 24px; } .wallet-rule b { display: none; } .wallet-rule span { width: 100%; } .wallet-page .card { padding: 18px; } .wallet-section-title { align-items: flex-start; flex-wrap: wrap; } .wallet-record .row { align-items: stretch; } .wallet-record label.f { flex-basis: 100%; } .wallet-onboarding .row { align-items: stretch; flex-direction: column; } .wallet-badge { font-size: 10px; max-width: 200px; white-space: normal; } }
