.patient-main:has(.wallet-dashboard)>.patient-section-heading{display:none}.patient-wallet{--wallet-green:#004839;--wallet-mint:#9aefcf;color:var(--wallet-green);font-family:Arial,sans-serif}.wallet-dashboard{padding:24px;background:radial-gradient(circle at 100% 0,#d8f0e8 0,transparent 42%),#edf8f4;border-radius:28px}.wallet-dashboard *{box-sizing:border-box}.patient-wallet svg{width:24px;height:24px;flex-shrink:0}.wallet-title{display:flex;align-items:center;gap:16px;margin:0 0 24px}.wallet-title>span{width:74px;height:78px}.wallet-title>span svg{width:100%;height:100%}.wallet-title h1{font:750 clamp(30px,3.5vw,52px)/1.1 Arial,sans-serif;letter-spacing:-1.5px;color:#003d32;margin:0 0 6px}.wallet-title p{margin:0;color:#4e898e;font-size:calc(21px * var(--st-text-scale, 1))}.wallet-overview{display:grid;grid-template-columns:1.08fr 1fr;gap:20px}.wallet-balance{padding:28px;border-radius:22px;background:radial-gradient(ellipse at 95% 0,#08664d 0,transparent 60%),linear-gradient(115deg,#003d33,#00372e);color:#fff;display:flex;flex-direction:column;justify-content:space-between;min-width:0;box-shadow:0 12px 28px #00553a0c}.wallet-balance-body{display:flex;align-items:flex-start;position:relative;gap:16px;min-height:170px}.wallet-coins{border-radius:50%;width:49px;height:49px;background:linear-gradient(135deg,#74edbd,#1baf80);display:grid;place-items:center;flex-shrink:0}.wallet-coins svg{width:29px;height:29px}.wallet-balance-copy{z-index:1;min-width:0}.wallet-balance h2{font:600 calc(22px * var(--st-text-scale, 1))/1.25 Arial,sans-serif;color:white;margin:9px 0 14px}.wallet-amount{font-size:calc(clamp(34px,4.2vw,64px) * var(--st-text-scale, 1));font-weight:750;letter-spacing:-1.5px;line-height:1.1;margin:0 0 14px;overflow-wrap:anywhere}.wallet-balance-copy>p:last-child{font-size:calc(16px * var(--st-text-scale, 1));line-height:1.5;max-width:290px;margin:0 0 20px}.wallet-art{position:absolute;right:-10px;bottom:2px;width:135px;opacity:.95;pointer-events:none}.wallet-art svg{width:100%;height:auto}.wallet-balance-copy{padding-right:65px}.wallet-balance-buttons{display:flex;gap:12px;position:relative;z-index:1;margin-top:14px}.wallet-balance-buttons button{display:flex;align-items:center;justify-content:center;gap:9px;flex:1;border:0;border-radius:36px;background:linear-gradient(130deg,#a7f8d8,#86e7c5);padding:15px 10px;color:#004939;font-size:calc(16px * var(--st-text-scale, 1));font-weight:650;cursor:pointer;min-height:53px;white-space:normal}.wallet-balance-buttons button span{font-size:calc(26px * var(--st-text-scale, 1));line-height:18px}.wallet-actions,.wallet-goals,.wallet-history{border-radius:24px;background:#ffffffee;padding:20px;min-width:0}.wallet-section-heading{display:flex;gap:12px;align-items:center;margin-bottom:16px}.wallet-section-heading h2{font:650 22px/1.25 Arial,sans-serif;letter-spacing:-.45px;margin:0;color:#004839}.wallet-section-icon{width:42px;height:42px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:#e0f5ee;color:#00583f}.wallet-section-icon svg{width:27px;height:27px}.wallet-action-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr) minmax(0,.9fr);gap:12px;height:calc(100% - 58px)}.wallet-action-grid button{border:0;border-radius:22px;background:linear-gradient(145deg,#edf9f4,#e4f5ef);padding:20px 12px;display:flex;flex-direction:column;align-items:flex-start;gap:24px;text-align:left;font-size:calc(17px * var(--st-text-scale, 1));line-height:1.6;color:#004839;position:relative;cursor:pointer;min-width:0}.wallet-action-grid button strong{font-weight:600}.wallet-action-icon{align-self:center;display:grid;place-items:center;width:76px;height:76px;background:#d5f3e8;border-radius:50%;position:relative}.wallet-action-icon svg{width:42px;height:42px}.wallet-action-icon b{position:absolute;right:0;bottom:3px;width:23px;height:23px;border-radius:50%;background:#007b5c;color:white;text-align:center;font-size:calc(24px * var(--st-text-scale, 1));line-height:22px}.wallet-action-arrow{position:absolute;right:10px;top:12px;color:#47908b;font-size:calc(30px * var(--st-text-scale, 1))}.wallet-detail-grid{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.3fr);gap:20px;margin-top:20px;align-items:start}.wallet-goal-list{border:1px solid #e0eeea;border-radius:20px;padding:12px}.wallet-goal{display:flex;align-items:center;gap:14px;padding:9px 0 13px;min-width:0}.wallet-goal+.wallet-goal{border-top:1px solid #e7f1ed;padding-top:20px}.wallet-goal-icon{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:#e2f7ee;flex-shrink:0;color:#009870}.wallet-goal-icon svg{width:35px;height:35px}.wallet-goal-info{flex:1;min-width:0}.wallet-goal h3{font:600 calc(17px * var(--st-text-scale, 1))/1.3 Arial,sans-serif;color:#004839;margin:0 0 5px;overflow-wrap:anywhere}.wallet-goal p{color:#52849c;margin:0 0 8px;font-size:calc(16px * var(--st-text-scale, 1))}.wallet-goal p strong{color:#008f69;font-weight:600}.wallet-goal-progress{display:flex;align-items:center;gap:12px;color:#52849c;font-size:calc(15px * var(--st-text-scale, 1))}.wallet-goal progress{appearance:none;height:12px;border:0;border-radius:20px;flex:1;min-width:0;width:100%;overflow:hidden;background:#e0eaee}.wallet-goal progress::-webkit-progress-bar{background:#e0eaee;border-radius:20px}.wallet-goal progress::-webkit-progress-value{background:#00a179;border-radius:20px}.wallet-goal progress::-moz-progress-bar{background:#00a179;border-radius:20px}.wallet-goal-tools{display:flex;gap:15px;margin-top:9px}.wallet-goal-tools button{border:0;padding:2px 0;background:transparent;color:#4d7471;font-size:calc(12px * var(--st-text-scale, 1));text-decoration:underline;cursor:pointer}.wallet-new-goal{display:flex;gap:14px;align-items:center;background:#e2f5ed;border:0;border-radius:15px;color:#008062;padding:13px 16px;width:100%;text-align:left;font-size:calc(17px * var(--st-text-scale, 1));font-weight:600;cursor:pointer}.wallet-new-goal>span{font-size:calc(32px * var(--st-text-scale, 1));line-height:32px;border-radius:50%;background:#a6e8d0;width:34px;text-align:center;color:#005e47}.wallet-goal-empty{padding:15px 8px 22px;line-height:1.6}.wallet-goal-empty h3{font:600 calc(18px * var(--st-text-scale, 1)) Arial,sans-serif;margin:0 0 8px}.wallet-goal-empty p{margin:0;color:#5b7c80;font-size:calc(15px * var(--st-text-scale, 1))}.wallet-note{font-size:calc(12px * var(--st-text-scale, 1));line-height:1.6;color:#68817f;margin:14px 2px 0}.wallet-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:calc(13px * var(--st-text-scale, 1))}.wallet-table th{text-align:left;color:#6c8383;font-size:calc(10px * var(--st-text-scale, 1));text-transform:uppercase;letter-spacing:.3px;padding:8px 5px 10px;border-bottom:1px solid #e7eeeb;font-weight:500}.wallet-table th:nth-child(1){width:25%}.wallet-table th:nth-child(2){width:33%}.wallet-table th:nth-child(3){width:23%;text-align:right}.wallet-table th:nth-child(4){width:19%;text-align:right}.wallet-table td{padding:15px 5px;border-bottom:1px solid #edf2f0;overflow-wrap:anywhere}.wallet-table td small{display:block;font-size:calc(11px * var(--st-text-scale, 1));color:#729092;margin-top:5px}.wallet-movement-date{color:#538295}.wallet-movement-concept strong{font-weight:500;color:#476f80}.wallet-movement-amount{text-align:right;font-weight:650;white-space:nowrap}.wallet-movement-amount--credit{color:#009772}.wallet-movement-amount--debit{color:#527c92}.wallet-movement-method{text-align:right}.wallet-movement-method span{display:inline-block;border-radius:20px;background:#e7f6ef;padding:5px 8px;color:#178b6c;font-size:calc(11px * var(--st-text-scale, 1))}.wallet-more{margin-top:12px}.wallet-more summary{color:#288275;cursor:pointer;font-size:calc(14px * var(--st-text-scale, 1))}.wallet-footer-note{font-size:calc(12px * var(--st-text-scale, 1));color:#68817f;text-align:center;margin:19px 0 0;line-height:1.6}.wallet-pending{background:#fff8e6;border:1px solid #eddfb8;border-radius:15px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px;font-size:calc(14px * var(--st-text-scale, 1));color:#665427}.wallet-pending button{background:white;border:1px solid #c6b474;border-radius:20px;padding:8px 15px;color:#665427;cursor:pointer}.wallet-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.patient-wallet button:focus-visible,.patient-wallet summary:focus-visible,.wallet-dialog button:focus-visible{outline:3px solid #0d9a78;outline-offset:4px}.patient-wallet button:hover{filter:brightness(.97)}.patient-wallet button:disabled{opacity:.55;cursor:default}.patient-wallet--compact .wallet-balance{max-width:800px;margin-bottom:20px}.wallet-dialog{border:1px solid #dbeae4;border-radius:24px;padding:28px;width:min(520px,calc(100vw - 24px));max-height:90vh;overflow:auto;color:#174d40;background:#fcfffd;box-shadow:0 20px 80px #00392f40;font:calc(16px * var(--st-text-scale, 1))/1.6 Arial,sans-serif}.wallet-dialog::backdrop{background:#082d276b;backdrop-filter:blur(3px)}.wallet-dialog h2{font:650 26px/1.2 Arial,sans-serif;margin:0 30px 18px 0;color:#004839}.wallet-dialog p{margin:10px 0}.wallet-dialog label{display:block;font-size:calc(14px * var(--st-text-scale, 1));font-weight:600;margin-top:16px}.wallet-dialog input{width:100%;border:1px solid #aacdbf;border-radius:12px;padding:12px;font:inherit;background:white;color:#174d40;margin-top:5px}.wallet-dialog button,.wallet-dialog a.wallet-pay-link{font:600 calc(15px * var(--st-text-scale, 1)) Arial,sans-serif;cursor:pointer;border:1px solid #b5d6c9;border-radius:14px;padding:13px 17px;background:#e1f6ec;color:#005c45;text-decoration:none;display:inline-block}.wallet-dialog button:disabled{opacity:.5;cursor:wait}.wallet-dialog button[type=submit]{background:#006e52;color:white;width:100%;margin-top:20px}.wallet-dialog .wallet-close{position:absolute;right:14px;top:14px;border:0;background:transparent;font-size:calc(24px * var(--st-text-scale, 1));padding:4px 9px}.wallet-dialog .wallet-dialog-choices{display:flex;gap:9px;flex-wrap:wrap}.wallet-dialog .wallet-preset{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.wallet-dialog .wallet-preset button{flex:1;padding:10px}.wallet-dialog .wallet-destination{display:block;padding:15px;border-radius:14px;background:#e1f6ec;font-size:calc(20px * var(--st-text-scale, 1));color:#005c45;overflow-wrap:anywhere}.wallet-dialog .wallet-message{font-size:calc(14px * var(--st-text-scale, 1));line-height:1.6;margin-top:15px;color:#586f67}.wallet-dialog [role=alert]{color:#9d3d35}.wallet-dialog-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}
@media(min-width:1450px){.wallet-balance-copy{padding-right:110px}.wallet-art{width:160px}.wallet-balance h2{font-size:calc(25px * var(--st-text-scale, 1))}.wallet-balance-body{min-height:185px}.wallet-action-grid button{font-size:calc(20px * var(--st-text-scale, 1))}}
@media(max-width:1150px){.wallet-overview{grid-template-columns:1fr}.wallet-action-grid button{flex-direction:row;align-items:center;gap:16px;padding:16px}.wallet-action-icon{width:55px;height:55px;flex-shrink:0}.wallet-action-icon svg{width:32px;height:32px}.wallet-action-arrow{display:none}.wallet-art{right:10px;width:160px}.wallet-balance-copy{padding-right:145px}.wallet-detail-grid{grid-template-columns:1fr}.wallet-balance-body{min-height:160px}.wallet-amount{font-size:calc(52px * var(--st-text-scale, 1))}}
@media(max-width:600px){.wallet-dashboard{padding:13px;border-radius:20px}.wallet-title{gap:9px;margin:8px 0 20px}.wallet-title>span{width:47px;height:54px}.wallet-title h1{font-size:calc(30px * var(--st-text-scale, 1));letter-spacing:-.9px}.wallet-title p{font-size:calc(15px * var(--st-text-scale, 1))}.wallet-overview,.wallet-detail-grid{gap:14px}.wallet-balance{padding:20px;border-radius:20px}.wallet-balance-body{gap:10px;min-height:135px}.wallet-coins{width:34px;height:34px}.wallet-coins svg{width:22px;height:22px}.wallet-balance h2{font-size:calc(19px * var(--st-text-scale, 1));margin:5px 0 12px}.wallet-amount{font-size:calc(41px * var(--st-text-scale, 1));letter-spacing:-1px}.wallet-balance-copy{padding-right:0}.wallet-balance-copy>p:last-child{font-size:calc(13px * var(--st-text-scale, 1));max-width:195px}.wallet-art{opacity:.22;width:110px;right:-10px;bottom:0}.wallet-balance-buttons{gap:8px;margin-top:8px}.wallet-balance-buttons button{font-size:calc(13px * var(--st-text-scale, 1));padding:12px 9px;gap:6px}.wallet-balance-buttons svg{width:18px;height:18px}.wallet-balance-buttons button span{font-size:calc(21px * var(--st-text-scale, 1))}.wallet-actions,.wallet-goals,.wallet-history{padding:15px;border-radius:20px}.wallet-section-heading{gap:9px;margin-bottom:14px}.wallet-section-heading h2{font-size:calc(20px * var(--st-text-scale, 1))}.wallet-section-icon{width:35px;height:35px}.wallet-action-grid{gap:8px}.wallet-action-grid button{flex-direction:column;align-items:flex-start;gap:16px;padding:14px 8px;font-size:calc(14px * var(--st-text-scale, 1));border-radius:16px;line-height:1.5}.wallet-action-icon{width:58px;height:58px;flex-shrink:1}.wallet-goal-list{padding:10px}.wallet-goal-icon{width:45px;height:45px}.wallet-goal{gap:10px}.wallet-goal h3{font-size:calc(16px * var(--st-text-scale, 1))}.wallet-goal p{font-size:calc(14px * var(--st-text-scale, 1))}.wallet-goal-tools button{padding:6px 0}.wallet-table thead{display:none}.wallet-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:12px 0;border-bottom:1px solid #e7efeb;gap:5px 12px}.wallet-table td{border:0;padding:0}.wallet-movement-concept{grid-column:1;grid-row:1}.wallet-movement-amount{grid-column:2;grid-row:1}.wallet-movement-date{grid-column:1;grid-row:2;font-size:calc(11px * var(--st-text-scale, 1))}.wallet-table .wallet-movement-date small{display:inline;margin-left:4px}.wallet-movement-method{grid-column:2;grid-row:2}.wallet-new-goal{font-size:calc(16px * var(--st-text-scale, 1));padding:12px}.wallet-dialog{padding:24px 20px}.wallet-pending{align-items:flex-start;flex-direction:column}.wallet-detail-grid{margin-top:14px}.wallet-note{font-size:calc(11px * var(--st-text-scale, 1))}}
@media(prefers-reduced-motion:reduce){.patient-wallet *{scroll-behavior:auto}}

.wallet-confirmed{background:#d4f6e6;color:#006e52;padding:15px;border-radius:15px;font-size:calc(15px * var(--st-text-scale, 1))}
.wallet-action-grid button>span:nth-child(2){max-width:100%;overflow-wrap:anywhere;hyphens:auto}
@media(max-width:600px){.wallet-action-icon{width:min(58px,100%);height:auto;aspect-ratio:1}.wallet-action-icon svg{width:30px;height:30px}.wallet-balance-copy:has(.wallet-amount--long){width:100%}.wallet-amount--long{font-size:calc(30px * var(--st-text-scale, 1));letter-spacing:-1px}}

.wallet-dialog .wallet-preset button[aria-pressed="true"]{background:#006e52;border-color:#006e52;color:#fff}.wallet-pending-actions{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}.wallet-dialog [data-cancel-payment]{flex-basis:100%;background:#fff;border-color:#b4c7bf}.wallet-dialog [data-confirm-cancel]{background:#006e52;color:#fff}.wallet-dialog [data-topup] input{box-sizing:border-box}
@media(max-width:400px){.wallet-dialog .wallet-preset{grid-template-columns:repeat(2,minmax(0,1fr))}}
