/* Customer center: public green palette, independent of administrator and agent UIs. */
.customer-page{max-width:1200px;margin:auto;padding:30px 32px 16px}.customer-actions{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:24px}.customer-actions h1{font-size:26px;line-height:1.35;margin:0 0 5px}.customer-actions p{margin:0}.customer-account-actions{display:flex;align-items:center;gap:8px}.customer-account-actions form{display:block}.customer-secondary-button{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:7px;padding:9px 13px;cursor:pointer;font-size:13px}.customer-secondary-button:hover{border-color:var(--accent);color:var(--accent)}
.customer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.customer-card{border:1px solid var(--line);border-radius:12px;padding:24px;background:#fff;min-width:0}.customer-card h2{font-size:19px;margin:0}.customer-muted,.customer-card small{color:var(--muted);font-size:12px}.customer-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}.customer-card-heading h2{margin:3px 0 0}.customer-eyebrow{display:block;color:var(--accent);font-size:11px}.customer-balance-unit,.customer-period-badge{color:var(--muted);font-size:12px;padding:4px 8px;border-radius:5px;background:#f1f6f4}.customer-balance-card .number{margin:8px 0 24px;font-size:36px;line-height:1.4;font-weight:600;font-variant-numeric:tabular-nums}.customer-card form{display:grid;gap:14px}.customer-card label,.customer-dialog-body label{display:grid;gap:6px;font-size:13px}.customer-card input,.customer-card select,.customer-dialog-body input{width:100%;min-width:0;box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;font-size:16px;background:#fff;color:var(--ink)}.customer-card form>button,.customer-dialog-body>button,.customer-dialog-actions>button:last-child{border:0;background:var(--accent);color:#fff;border-radius:7px;min-height:44px;padding:10px 14px;font-size:14px}.customer-card form>button:hover{background:#08695f}.customer-order-summary{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted);padding:4px 0}.customer-order-summary strong{color:var(--accent);font-size:18px;font-variant-numeric:tabular-nums}.customer-error,.customer-notice{padding:12px 14px;border-radius:8px;font-size:13px;overflow-wrap:anywhere}.customer-error{background:#fff0f1;color:#a92d3c}.customer-notice{background:#edf7f0;color:#226d41}
.customer-activation-card{margin-top:20px}.customer-card-intro{margin:-4px 0 18px;color:var(--muted);font-size:13px;line-height:1.7}.customer-activation-card form{max-width:700px}
.customer-activation-card .customer-col-time{width:24%}.customer-activation-card .customer-col-address{width:35%}.customer-activation-card .customer-col-amount{width:24%}.customer-activation-card .customer-col-status{width:17%}
.customer-record-card{margin-top:20px}.customer-record-card .customer-card-heading{margin-bottom:15px}.customer-table-shell{width:100%;overflow-x:auto}.customer-table{width:100%;min-width:620px;border-collapse:collapse;table-layout:fixed;font-size:13px}.customer-table th,.customer-table td{padding:13px 10px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-table th{color:var(--muted);font-weight:500}.customer-table tbody tr:hover{background:#fafcfb}.customer-table td.customer-money,.customer-table th.customer-money{text-align:right;padding-right:24px}.customer-col-time{width:30%}.customer-col-amount{width:40%}.customer-col-energy{width:20%}.customer-col-address{width:30%}.customer-col-status{width:20%}.customer-money{font-variant-numeric:tabular-nums;font-weight:600}.customer-status{display:inline-flex;align-items:center;min-height:25px;padding:3px 8px;border-radius:5px;background:#eef3f1;color:var(--muted);font-size:12px}.customer-status-paid,.customer-status-success{background:#e7f5ec;color:#197043}.customer-status-pending,.customer-status-funds_reserved,.customer-status-submitting,.customer-status-upstream_pending,.customer-status-recovering,.customer-status-manual_review{background:#fff5db;color:#8a6110}.customer-status-failed{background:#fff0f1;color:#a92d3c}.customer-status-cancelled,.customer-status-expired{background:#f0f2f2;color:#616b6d}.customer-empty{text-align:center!important;color:var(--muted);padding:24px!important;white-space:normal!important}.customer-empty-note{font-size:12px;margin-top:6px;color:var(--muted);font-weight:400}.customer-address-tools{display:inline-flex;align-items:center;gap:8px;max-width:100%}.customer-address-tools button{font-family:ui-monospace,Consolas,monospace;font-size:12px;padding:4px 0;overflow:hidden;text-overflow:ellipsis}.customer-address-tools a{display:inline-grid;place-items:center;flex:none;width:28px;height:28px;border:1px solid var(--line);border-radius:6px;color:var(--accent);text-decoration:none}
.customer-receipt-link{display:block;margin-top:14px;padding:0;border:0;background:transparent;color:var(--accent);font-size:13px;cursor:pointer;text-align:left}.customer-receipt-link:hover{text-decoration:underline}.customer-dialog{width:min(500px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 28px);overflow:auto;overscroll-behavior:contain;padding:0;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:#fff;box-shadow:0 28px 90px #20262833}.customer-dialog::backdrop{background:#20262888;backdrop-filter:blur(2px)}.customer-dialog-head{position:sticky;top:0;background:#fff;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px 22px;border-bottom:1px solid var(--line)}.customer-dialog-head h2{margin:3px 0 0;font-size:20px}.customer-dialog .icon-button{border:0;background:transparent;color:var(--muted);font-size:24px;line-height:1;padding:0}.customer-dialog-body{display:grid;gap:14px;padding:22px}.customer-dialog-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:4px}.customer-dialog-note,.customer-dialog-expiry{margin:0;color:var(--muted);font-size:12px;line-height:1.7}.customer-recharge-amount{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px;border-radius:9px;background:#eef8f5}.customer-recharge-amount span{color:var(--muted);font-size:13px}.customer-recharge-amount strong{color:var(--accent);font-size:28px;font-variant-numeric:tabular-nums}.customer-recharge-amount small{font-size:13px}.customer-qr-frame{display:grid;place-items:center}.customer-qr-frame img{width:180px;height:180px;border:8px solid #fff;box-shadow:0 0 0 1px var(--line);border-radius:6px}.customer-address-line{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:7px;background:#fafcfb}.customer-address-line code{min-width:0;flex:1;overflow-wrap:anywhere;font-size:12px}.customer-copy-button{border:0;background:transparent;color:var(--accent);cursor:pointer;white-space:nowrap;font-size:12px}.customer-copy-button:hover{text-decoration:underline}.customer-refresh-payment{padding:10px;text-align:center;border:1px solid var(--line);border-radius:7px;color:var(--accent);text-decoration:none;font-size:13px}.customer-links a{color:var(--accent);font-size:13px}.customer-auth{max-width:520px;margin:30px auto}
@media(max-width:700px){.customer-page{padding:24px 18px}.customer-grid{grid-template-columns:1fr;gap:16px}.customer-actions{align-items:flex-start;margin-bottom:20px}.customer-actions h1{font-size:23px}.customer-account-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px}.customer-account-actions button{font-size:12px;padding:8px 10px}.customer-card{padding:18px}.customer-balance-card .number{font-size:32px}.customer-dialog-head,.customer-dialog-body{padding:17px}.customer-recharge-amount strong{font-size:24px}}
@media(max-width:560px){.customer-table-shell{overflow:visible}.customer-table{display:block;min-width:0;table-layout:auto}.customer-table colgroup,.customer-table thead{display:none}.customer-table tbody{display:grid;gap:12px}.customer-table tr{display:grid;gap:8px;padding:14px;border:1px solid var(--line);border-radius:8px}.customer-table td{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:0;border:0;white-space:normal;font-size:12px;overflow:visible;text-align:right}.customer-table td[data-label]::before{content:attr(data-label);flex:none;color:var(--muted);font-size:12px;font-weight:400}.customer-table td.customer-money{padding-right:0}.customer-table td.customer-empty{display:block;border:0;padding:20px 0!important}.customer-col-time,.customer-col-address,.customer-col-energy,.customer-col-status{width:auto}.customer-card-heading{margin-bottom:14px}.customer-record-card{margin-top:16px}.customer-address-tools{min-width:0}.customer-dialog-actions{gap:8px}.customer-dialog-actions button{flex:1}}
