/* Member account surfaces, using the shared team-desk palette. */
body[data-page="account"] .member-page { width:min(100% - 48px,1180px); max-width:1180px; }
body[data-page="account"] .header nav [aria-current="page"] { background:#e7eddc; color:#315c3f; }
body[data-page="account"] .page-intro { margin-bottom:24px; }
body[data-page="account"] #signInPanel.is-signed-in { margin-bottom:12px; }
body[data-page="account"] .profile-greeting { align-items:center; padding:26px 30px; margin:0 0 18px; }
#profileGreeting { font-size:.8rem; font-weight:600; margin-bottom:6px; color:#6d825e; }
#profileName { font-size:2.4rem; font-weight:700; letter-spacing:-.045em; line-height:1.15; overflow-wrap:anywhere; }
.account-member-code { text-align:right; flex-shrink:0; }
.account-member-code small { display:block; font-size:.6rem; letter-spacing:.15em; color:#819075; margin-bottom:7px; }
.account-member-code #profileCode { display:inline-block; font-size:.75rem; padding:6px 11px; background:#edf2e4; color:#4e6841; border:1px solid #dfe7d3; border-radius:9px; font-weight:650; }
body[data-page="account"] .profile-wallet { padding:30px; margin:0 0 22px; border:1px solid #31583a; background:linear-gradient(115deg,#436d4a,#254b37); box-shadow:0 15px 35px #294e3420; position:relative; overflow:hidden; }
body[data-page="account"] .profile-wallet::before { content:""; width:320px; height:320px; border:1px solid #ffffff12; border-radius:50%; position:absolute; right:-90px; top:-150px; pointer-events:none; }
body[data-page="account"] .profile-wallet::after { content:""; width:380px; height:380px; border:1px solid #ffffff0c; border-radius:50%; position:absolute; right:-150px; top:-150px; pointer-events:none; }
body[data-page="account"] .profile-summary { grid-template-columns:1.5fr 1fr 1fr; gap:26px; }
body[data-page="account"] .profile-summary p { font-size:.75rem; color:#d9e5d3; font-weight:500; }
body[data-page="account"] #profileDashboard .profile-wallet #wallet { font-size:3.4rem; margin-block:8px 0; font-weight:650; letter-spacing:-.045em; }
body[data-page="account"] #profileDashboard .profile-wallet .summary-value { font-size:1.65rem; font-weight:600; margin-block:8px 0; }
body[data-page="account"] .profile-summary > div + div { border-left-color:#ffffff26; }
body[data-page="account"] .profile-wallet .profile-wallet-actions { margin-top:24px; }
body[data-page="account"] .profile-wallet .button { background:#fffdf4; color:#315c3f; border:1px solid #fffdf4; box-shadow:0 4px 12px #173b2520; padding:10px 18px; font-size:.85rem; min-height:42px; }
body[data-page="account"] .profile-wallet .button:hover { background:#eaf0df; }
body[data-page="account"] #walletHint { color:#eff3e4; font-size:.83rem; max-width:500px; margin-top:16px; }
body[data-page="account"] .wallet-stats { margin:0 0 22px; gap:18px; }
body[data-page="account"] .wallet-stats .panel { margin:0; padding:20px 24px; }
body[data-page="account"] .wallet-stats h2 { font-size:.75rem; color:#78876d; font-weight:500; margin-bottom:10px; }
body[data-page="account"] .wallet-stats strong { font-size:1.3rem; letter-spacing:-.025em; }
body[data-page="account"] .wallet-stats p { font-size:.75rem; color:#7c8971; margin:6px 0 0; }
.account-content { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:22px; align-items:start; }
.account-orders,.account-sidebar > .panel { margin:0; min-width:0; }
.account-orders { padding:26px; }
.account-orders-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; padding-bottom:16px; border-bottom:1px solid #e5e9db; margin-bottom:16px; }
.account-orders-heading h2 { font-size:1.2rem; }
.account-orders-heading .text-link { font-size:.75rem; white-space:nowrap; }
.account-sidebar { display:grid; gap:20px; min-width:0; }
.account-delivery h2,#walletActivity h2 { font-size:1.1rem; }
#savedAddress { font-size:.88rem; color:#4b5e43; line-height:1.65; margin:16px 0 10px; }
body[data-page="account"] #savedPin { display:none; }
#openDeliveryPin { display:inline-block; font-size:.76rem; color:#547547; text-decoration:none; margin-bottom:12px; }
#openDeliveryPin:hover { text-decoration:underline; }
#savedLandmark,#savedAlternateNumber { font-size:.78rem; color:#76846a; margin:8px 0; }
#savedLandmark:empty,#savedAlternateNumber:empty,#deliveryStatus:empty { display:none; }
body[data-page="account"] #deliveryMap { min-height:210px; height:230px; margin:6px 0 14px; border-radius:12px; }
body[data-page="account"] #editDelivery { font-size:.78rem; padding:9px 13px; }
#deliveryForm { font-size:.82rem; }
#deliveryForm button:not(.button) { border:1px solid #dbe4d1; border-radius:9px; background:#f2f5e9; color:#506b43; padding:7px 10px; margin:4px; }
#deliveryStatus { font-size:.78rem; color:#6c7b5f; }
#walletActivity { padding:24px; }
#walletActivity h2 { margin-bottom:12px; }
.wallet-entry { padding:13px 0; gap:12px; font-size:.8rem; }
.wallet-entry strong { white-space:nowrap; font-size:.85rem; }
.wallet-entry small { color:#849077; font-size:.7rem; margin-top:4px; }
.account-orders .compact-monthly { margin:0 0 20px; padding-block:7px; }
.account-orders .monthly-billing-label,.account-orders .monthly-billing-item { font-size:.74rem; }
.account-orders .order-group-title { font-size:.88rem; margin:23px 0 10px; color:#455d3d; }
.account-orders .history-note { font-size:.74rem; }
.account-orders .order-summary { font-size:.76rem; padding:14px 11px; gap:9px; }
.account-orders .order-summary .payment-badge { font-size:.65rem; padding:4px 7px; max-width:110px; }
.account-orders .order-expanded { font-size:.82rem; padding:0 15px 16px; }
.account-orders .order-figures { gap:15px; }
.account-orders .order-figures dt { font-size:.72rem; }
.account-orders .order-figures dd { font-size:.85rem; }
body[data-page="account"] #coinsLoadDialog { border-radius:22px; }
body[data-page="account"] #coinsLoadDialog .topup-heading h2 { font-size:1.3rem; letter-spacing:-.025em; }
body[data-page="account"] #coinsLoadDialog .topup-quick button { background:#f1f5e7; border-color:#dbe4ce; }
@media(max-width:960px) {
 .account-content { grid-template-columns:minmax(0,1fr) 280px; gap:18px; }
 .account-orders { padding:22px 18px; }
 .account-orders .order-summary-id { max-width:150px; }
}
@media(max-width:800px) {
 body[data-page="account"] .member-page { width:calc(100% - 28px); }
 .account-content { grid-template-columns:1fr; gap:18px; }
 .account-orders .order-summary-id { max-width:none; }
 .account-sidebar { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; align-items:start; }
 body[data-page="account"] .profile-greeting { padding:22px; }
 body[data-page="account"] .profile-wallet { padding:25px; }
 body[data-page="account"] #profileDashboard .profile-wallet #wallet { font-size:2.7rem; }
 body[data-page="account"] .profile-summary { gap:18px; }
 body[data-page="account"] .profile-summary > div + div { padding-left:18px; }
}
@media(max-width:520px) {
 .account-sidebar { grid-template-columns:1fr; }
 .account-orders { padding:20px 14px; }
 .account-orders-heading { gap:10px; }
 .account-orders-heading .text-link { font-size:.7rem; }
 #profileName { font-size:2rem; }
 .account-member-code #profileCode { font-size:.65rem; padding:5px 8px; }
 body[data-page="account"] .profile-wallet { padding:23px; }
 body[data-page="account"] .profile-summary { grid-template-columns:1fr 1fr; gap:22px; }
 body[data-page="account"] .profile-summary .summary-coins { grid-column:1 / -1; }
 body[data-page="account"] .profile-summary > div:nth-child(2) { border:0; padding-left:0; }
 body[data-page="account"] .profile-summary > div:last-child { border-left:1px solid #ffffff26; padding-left:20px; }
 body[data-page="account"] #profileDashboard .profile-wallet .summary-value { font-size:1.4rem; }
 body[data-page="account"] .wallet-stats { gap:12px; }
 body[data-page="account"] .wallet-stats .panel { padding:18px; }
 body[data-page="account"] .wallet-stats strong { font-size:1.05rem; }
 .account-orders .order-summary { font-size:.71rem; gap:7px; padding:13px 9px; }
 .account-orders .order-summary .payment-badge { font-size:.6rem; max-width:75px; padding:4px 6px; }
}
@media(max-width:520px) {
 body[data-page="account"] .profile-summary { display:flex; flex-wrap:wrap; gap:20px; }
 body[data-page="account"] .profile-summary .summary-coins { flex:0 0 100%; width:100%; }
 body[data-page="account"] .profile-summary > div:not(.summary-coins) { flex:1; min-width:0; }
}
body[data-page="account"] .account-delivery:has(#openDeliveryPin[hidden]) #savedPin { display:block; color:#8a714c; font-size:.78rem; }
.account-sidebar:has(> #walletActivity[hidden]) .account-delivery { grid-column:1 / -1; }

/* Keep the primary Coins action readable, including against older shared button rules. */
body[data-page="account"] #walletTopUpLink.button {
 background:#fffdf4 !important; color:#244b32 !important; -webkit-text-fill-color:#244b32;
 border:1px solid #fffdf4 !important; opacity:1 !important;
 display:inline-flex; align-items:center; justify-content:center; min-height:44px;
 padding:11px 20px; font-weight:700; line-height:1.3; position:relative; z-index:1;
}
body[data-page="account"] #walletTopUpLink.button:focus-visible { outline:2px solid #fff; outline-offset:4px; }
.order-items-wrap { width:100%; overflow-x:auto; margin-top:20px; border:1px solid #dce5d4; border-radius:10px; background:#fffefa; }
.order-items-table { width:100%; min-width:320px; border-collapse:collapse; table-layout:fixed; font-size:.78rem; }
.order-items-table th { background:#eaf0e1; color:#4d6443; text-align:left; font-size:.7rem; font-weight:650; padding:11px 10px; border-bottom:1px solid #d8e2cf; }
.order-items-table td { padding:12px 10px; vertical-align:top; border-bottom:1px solid #e5ebde; overflow-wrap:anywhere; }
.order-items-table tr:last-child td { border-bottom:0; }
.order-items-table th:first-child { width:40%; }
.order-items-table th:nth-child(2),.order-items-table th:nth-child(3) { width:19%; }
.order-items-table th:last-child { width:22%; text-align:right; }
.order-items-table td:first-child { font-weight:600; }
.order-items-table td:last-child { text-align:right; font-weight:600; white-space:nowrap; }
@media(max-width:520px) {
 .order-items-table { font-size:.72rem; }
 .order-items-table th,.order-items-table td { padding:10px 8px; }
}
