.wallet-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin:18px 0}.wallet-stat{padding:20px;border:1px solid #dde4e8;border-radius:12px;background:var(--brand-background,#f8fafc)}.wallet-stat span{display:block;font-size:13px;opacity:.75;margin-bottom:6px}.wallet-stat strong{font-size:24px}.wallet-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));align-items:end;gap:16px;margin:18px 0}.wallet-form label{display:block}.wallet-form label input,.wallet-form label select{display:block;width:100%;margin-top:8px;box-sizing:border-box}.wallet-form .wallet-check{display:flex;align-items:center;gap:8px;min-height:44px}.wallet-check input{width:auto!important;margin:0!important}.wallet-offers{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.wallet-offer{border:1px solid #d8e1e8;border-radius:14px;padding:20px;background:#fff}.wallet-offer h3{margin:0 0 8px}.wallet-offer p{margin:8px 0}.wallet-offer button{width:100%;margin-top:12px}.wallet-note{padding:14px 18px;border-left:4px solid var(--brand-primary,#147fa5);background:var(--brand-background,#f8fafc);border-radius:6px;line-height:1.6}.wallet-customer-main{max-width:1160px;margin:35px auto;padding:0 20px}.wallet-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px;max-width:1160px;margin:auto}.wallet-header img{display:block;width:230px;max-width:45vw;max-height:80px;object-fit:contain}.wallet-header nav{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.wallet-header a{color:inherit}.wallet-customer-main .card{padding:26px;margin-bottom:22px;background:#fff;border:1px solid #e5e7eb;border-radius:16px}.wallet-customer-main .tablewrap{overflow:auto}.wallet-customer-main table{width:100%;border-collapse:collapse}.wallet-customer-main th,.wallet-customer-main td{padding:12px;text-align:left;border-bottom:1px solid #e5e7eb;font-size:14px}.wallet-customer-main h1{margin-bottom:8px}.wallet-customer-main button{cursor:pointer}.wallet-message:empty{display:none}.wallet-message{padding:14px;margin:16px 0;border-radius:8px;background:#e8f5ed;color:#14532d}.wallet-message.error{background:#fee2e2;color:#991b1b}[hidden]{display:none!important}@media(max-width:640px){.wallet-header{align-items:flex-start;flex-direction:column}.wallet-header img{max-width:75vw}.wallet-customer-main .card{padding:18px}.wallet-form{grid-template-columns:1fr}}

/* Keep saved-plate fields aligned with the program, then confirmation and payment. */
#walletBuyForm{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:start;gap:20px 24px}
#walletBuyForm>*{min-width:0}
.wallet-plate-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));align-items:end;gap:16px;min-width:0}
.wallet-plate-fields label,.wallet-program-field{font-size:14px;font-weight:600;line-height:1.5;margin:0}
.wallet-plate-fields .saved-plate-picker{margin:0!important;min-width:0}
#walletBuyForm select{height:54px;min-height:54px;max-width:100%;margin-top:8px;padding:10px 36px 10px 12px;font-size:15px;line-height:1.3;text-overflow:ellipsis}
#walletBuyForm .wallet-height-check{grid-column:1/-1;display:flex;align-items:flex-start;justify-content:flex-start;gap:12px;font-weight:400;line-height:1.55;margin:0;padding:14px 16px;border:1px solid #e2e8ee;border-radius:10px;background:#f8fafc}
#walletBuyForm .wallet-height-check input{display:block;flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:3px 0 0;padding:0}
.wallet-height-check span{flex:1;min-width:0}
.wallet-payline{grid-column:1/-1;display:flex;justify-content:flex-end;align-items:center;gap:20px;padding-top:4px}
#walletPrice{font-size:26px;line-height:1.2;white-space:nowrap}
#walletBuy{min-height:50px;margin:0;padding:12px 24px;white-space:normal}
@media(max-width:760px){#walletBuyForm{grid-template-columns:1fr;gap:18px}.wallet-plate-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.wallet-payline{justify-content:space-between}}
@media(max-width:480px){.wallet-plate-fields{grid-template-columns:1fr}.wallet-payline{align-items:stretch;flex-direction:column;gap:12px}.wallet-payline strong{align-self:flex-start}#walletBuy{width:100%}#walletBuyForm select{font-size:16px}}
