:root{color-scheme:dark;--bg:#0b0c1b;--panel:#111226;--raised:#1b1d36;--field:#15172d;--line:#303149;--ink:#f4f4fc;--muted:#a1a0ba;--purple:#984cff;--purple2:#6428ee;--green:#55df8e;--red:#ff657a;--shadow:0 12px 45px #0003;font:14px/1.5 Inter,'Segoe UI',system-ui,sans-serif;background:var(--bg);color:var(--ink)}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 30% 0,#2d24502e,transparent 60%),var(--bg)}button,input,select,textarea{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0}a{color:inherit;text-decoration:none}button:disabled{opacity:.4;cursor:not-allowed}input,select,textarea{color:var(--ink);background:var(--field);border:1px solid #484963;border-radius:9px;padding:10px 12px;width:100%;outline:none}input:focus,select:focus,textarea:focus{border-color:#ae74ff;box-shadow:0 0 0 3px #9650ff20}input[type=checkbox]{accent-color:var(--purple);width:17px;height:17px;margin:0;flex-shrink:0}input[type=color]{height:43px;padding:5px}textarea{resize:vertical}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #c79aff;outline-offset:3px}button svg{pointer-events:none}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:25px;letter-spacing:-.6px;font-weight:700}h2{font-size:23px;letter-spacing:-.6px;line-height:1.25}h3{font-size:16px}small,.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1.5px;color:var(--muted);margin-bottom:6px}.wallet-header{height:82px;padding:13px 24px;display:flex;align-items:center;gap:25px;border-bottom:1px solid #27273d}.wallet-brand{display:flex;gap:13px;align-items:center;white-space:nowrap}.wallet-brand>span{color:#bf66ff;display:flex}.wallet-brand .icon{width:35px;height:35px;stroke-width:1.9}.global-search{display:flex;align-items:center;gap:12px;flex:1;max-width:660px;margin-left:auto;background:var(--field);border:1px solid #48465f;border-radius:11px;padding:0 13px;height:43px;color:var(--muted)}.global-search>span{display:flex}.global-search input{border:0;box-shadow:none;background:none;padding:8px 0;min-width:0}.global-search input::placeholder{color:#aaa8bf}.global-search kbd{font-size:11px;border:1px solid #45455a;border-radius:4px;padding:0 5px;opacity:.6}.header-buttons{display:flex;align-items:center;gap:12px}.header-link{font-size:12px;color:var(--muted);white-space:nowrap;margin-right:8px}.header-link:hover{color:white}.primary,.secondary,.icon-button,.text-button,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.primary{padding:10px 17px;border-radius:10px;background:linear-gradient(180deg,#a15bff,#7426ed);color:white;box-shadow:inset 0 1px 0 #ffffff2e,0 5px 20px #7b30eb20;font-weight:600}.primary:hover{filter:brightness(1.12)}.secondary{color:var(--ink);background:linear-gradient(180deg,#282940,#17182b);border:1px solid #55546d;border-radius:9px;padding:7px 13px}.secondary:hover,.icon-button:hover{border-color:#a083cc;background-color:#323048}.icon-button{width:34px;height:34px;border-radius:9px;background:transparent;color:var(--ink);border:1px solid #47465e;flex-shrink:0;font-size:23px;line-height:1}.header-buttons>.icon-button{border:0}.text-button{background:none;color:#bd94ff;padding:4px;font-size:12px}.danger-button{background:#682d45;color:#ffe1e8;border:1px solid #bd587b;border-radius:8px;padding:9px 14px}.wallet-status{display:flex;align-items:center;gap:8px;padding:8px 24px;color:#b1a8c9;font-size:11px}.wallet-status strong{color:#cfb6f4;font-size:10px;text-transform:uppercase;letter-spacing:.7px}.wallet-status .text-button{margin-left:auto;font-size:11px}.status-indicator{width:5px;height:5px;flex-shrink:0;border-radius:50%;background:#ab79f1}.wallet-grid{display:grid;grid-template-columns:minmax(210px,.83fr) minmax(340px,1.5fr) minmax(420px,1.65fr);gap:10px;padding:0 13px 13px;max-width:2100px;margin:auto}.panel{min-width:0;border:1px solid var(--line);border-radius:17px;background:linear-gradient(155deg,#19182e55,transparent 48%),var(--panel);height:calc(100dvh - 132px);overflow:auto;scrollbar-width:thin;scrollbar-color:#3c3654 transparent;box-shadow:var(--shadow)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.inline-actions{display:flex;align-items:center;gap:7px}.categories-panel{padding:15px 11px}.categories-panel .section-heading{padding:0 3px 13px}.categories-panel h2{font-size:16px;letter-spacing:-.25px;white-space:nowrap}.categories-panel .icon-button{width:29px;height:29px;font-size:21px}.categories-panel .icon-button .icon{width:17px;height:17px}.brand-search{padding:8px 10px;font-size:11px;margin-bottom:10px}.brand-row,.all-brands,.tag-filter{width:100%;display:flex;align-items:center;gap:11px;background:transparent;color:var(--ink);border-radius:11px;text-align:left;padding:9px 10px;margin-bottom:3px;min-height:42px}.brand-row:hover,.all-brands:hover,.tag-filter:hover{background:#ffffff07}.brand-row.active{background:linear-gradient(110deg,#7f2be7,#751ff4);box-shadow:0 3px 14px #7b26e842}.brand-row>.brand-mark{width:29px;height:29px;font-size:25px;border-radius:7px}.brand-row .brand-name,.tag-filter .tag-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.count{border-radius:20px;background:#45415f;padding:0 8px;font-size:12px;line-height:23px;font-weight:600;min-width:24px;text-align:center}.active .count{background:#ffffff27}.chevron{font-size:17px;line-height:1;color:#c2b3d7}.brand-children{margin:0 4px 8px 30px;padding-left:9px;border-left:1px solid #5c387b}.subcategory-link{display:flex;align-items:center;gap:8px;width:100%;border:0;padding:6px 5px;color:#c8c4d7;background:none;text-align:left;font-size:11px}.subcategory-link span:first-child{width:5px;height:5px;background:#9361c9;border-radius:50%;flex-shrink:0}.subcategory-link.selected{color:white}.subcategory-link.selected span:first-child{background:#d292ff}.subcategory-link .count{margin-left:auto;font-size:10px;line-height:19px;min-width:20px;padding:0 6px}.tag-section{border-top:1px solid var(--line);margin-top:13px;padding-top:16px}.tag-filter{font-size:12px;min-height:37px;padding:6px 10px;gap:10px}.tag-filter .icon{width:18px;height:18px}.tag-filter.active{background:linear-gradient(100deg,#7d28dc99,#5b1cca99)}.tag-filter .count{font-size:10px;min-width:20px;line-height:19px;padding:0 6px}.tag-filter .tag-check{width:15px;height:15px;border:1px solid #b4abc8;border-radius:4px;display:grid;place-items:center;font-size:12px;flex-shrink:0}.tag-filter.active .tag-check{background:#a05aff;color:white;border-color:#d1aaff}.tiny-help{font-size:10px;color:#8f86a7;padding:11px 8px 0;line-height:1.7}.brand-mark{width:47px;height:47px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;background:#282640;color:white;font-weight:800;font-size:30px;position:relative;overflow:hidden;flex-shrink:0}.brand-mark img{width:100%;height:100%;object-fit:cover}.brand-mark.amazon{background:#111112;font-family:Georgia,serif;font-size:44px;padding-bottom:8px;line-height:1}.brand-mark.amazon:after{content:'';position:absolute;bottom:6px;width:22px;height:7px;border-bottom:3px solid #ff9e17;border-radius:50%;transform:rotate(-8deg)}.brand-row .brand-mark.amazon{font-size:30px;padding-bottom:4px}.brand-row .brand-mark.amazon:after{bottom:3px;width:16px;border-width:2px}.brand-mark.walmart{background:#0074d9;color:#ffc325;font-size:42px}.brand-mark.target{background:#e71835;font-size:32px}.brand-mark.costco{background:#fff;color:#d62637;font-size:9px;font-style:italic;letter-spacing:-.5px}.brand-mark.bestbuy{background:#f5d82b;color:#0f1736;font-size:10px;line-height:1.1;text-align:center}.brand-mark.visa{background:#1235b6;font-size:14px;font-style:italic}.brand-mark.mastercard{background:#171719}.brand-mark.mastercard:before,.brand-mark.mastercard:after{content:'';height:23px;width:23px;border-radius:50%;position:absolute;left:6px;background:#eb1429}.brand-mark.mastercard:after{left:18px;background:#ffad10c9}.brand-row .brand-mark.mastercard:before,.brand-row .brand-mark.mastercard:after{width:17px;height:17px;left:1px}.brand-row .brand-mark.mastercard:after{left:11px}.brand-mark.apple{background:#e9e8ee;color:#101018}.brand-mark .icon{width:24px;height:24px}.cards-panel{padding:17px 12px}.cards-title{display:flex;align-items:center;gap:12px;margin:0 3px 17px}.cards-title h2{font-size:21px}.cards-title p{font-size:11px;color:var(--muted);margin-top:4px}.cards-title .primary{margin-left:auto;padding:9px 13px;font-size:12px}.brand-stats{display:grid;grid-template-columns:1.18fr 1fr 1fr;gap:8px;margin-bottom:16px}.brand-stat{border-radius:12px;border:1px solid #3a345b;background:linear-gradient(125deg,#302a5a,#20213e);padding:12px 11px;display:flex;align-items:center;gap:10px;min-width:0}.brand-stat>.stat-icon{height:38px;width:38px;display:grid;place-items:center;border-radius:50%;color:#d5c9ff;background:#7764c22e;flex-shrink:0}.brand-stat .stat-icon .icon{width:21px;height:21px}.brand-stat small{font-size:10px;color:#d5d1e6;white-space:nowrap}.brand-stat strong{display:block;font-size:22px;line-height:1.25;letter-spacing:-.6px}.subcategory-toolbar{display:flex;align-items:center;gap:7px;margin:0 0 10px;flex-wrap:wrap}.subcategory-toolbar>span{font-size:11px;font-weight:600}.subcategory-chips{display:flex;flex-wrap:wrap;gap:4px;flex:1}.subcategory-chips button{background:#25253d;border:1px solid #3f3a55;border-radius:9px;padding:5px 9px;color:var(--ink);font-size:10px}.subcategory-chips button.active{background:linear-gradient(180deg,#a45fff,#772be7);border-color:#ba8dff}.subcategory-toolbar .icon-button{width:27px;height:27px;font-size:19px}.list-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 14px}.list-controls select{width:auto;max-width:53%;font-size:11px;padding:7px 8px;background:#1f2038}.card-list{display:grid;gap:10px}.wallet-card{padding:11px 12px;border:1px solid #414057;border-radius:13px;background:linear-gradient(125deg,#25243d,#191a30);display:flex;gap:12px;width:100%;color:var(--ink);text-align:left;align-items:center;position:relative;min-height:106px}.wallet-card:hover{border-color:#80719b;transform:translateY(-1px)}.wallet-card.selected{border:2px solid #c173fb;padding:10px 11px;box-shadow:0 0 0 2px #b64df126,0 0 14px #d475ff42;background:linear-gradient(120deg,#432a4f80,#28213e)}.card-thumbnail{width:100px;height:75px;border-radius:9px;object-fit:cover;flex-shrink:0;background:#282640}.thumb-placeholder{display:grid;place-items:center}.thumb-placeholder .brand-mark{width:39px;height:39px}.wallet-card-content{min-width:0;flex:1}.card-name{font-size:14px;line-height:1.4;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.star{color:#ffd14b;font-size:17px;margin-left:5px}.card-caption{display:flex;align-items:center;gap:8px;color:#d0c9de;font-size:11px;margin:4px 0 7px;flex-wrap:wrap}.pill{display:inline-flex;align-items:center;gap:4px;line-height:1.35;background:#625c7955;color:#e0d9ed;border-radius:20px;padding:3px 9px;font-size:10px;white-space:nowrap}.pill .icon{width:13px;height:13px}.tags{display:flex;gap:5px;flex-wrap:wrap}.tag-pill{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:18px;color:white;font-size:10px;border:1px solid #ffffff10;white-space:nowrap;max-width:100%}.tag-pill .icon{width:13px;height:13px}.tag-pill button{display:grid;place-items:center;background:none;color:inherit;padding:0;font-size:15px;line-height:1}.card-amount{font-size:20px;font-weight:700;letter-spacing:-.5px;white-space:nowrap}.card-arrow{font-size:25px;color:#bdb0d2;margin-left:3px}.card-amount.zero{color:var(--muted)}.card-amount small{display:block;font-size:9px;font-weight:400;letter-spacing:0;color:#e9b5ba;text-align:right}.stored-heading{display:flex;align-items:center;gap:8px;font-size:12px;padding:13px 2px 1px;color:#dad0ec}.stored-heading .icon{width:19px;height:19px}.stored-heading small{margin-left:auto;font-size:9px}.empty-state{display:grid;justify-items:center;text-align:center;padding:50px 20px;gap:13px;color:var(--muted)}.empty-state>.icon{width:42px;height:42px;color:#7e60a5;stroke-width:1.2}.empty-state h3{color:var(--ink)}.empty-state p{font-size:12px;max-width:270px;line-height:1.7}.details-panel{padding:17px 13px}.detail-heading{display:flex;gap:12px;align-items:center;margin-bottom:17px}.detail-heading h2{font-size:21px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-heading>.detail-name{min-width:0;flex:1}.detail-heading .card-caption{margin:5px 0 0}.detail-heading .secondary{font-size:11px;padding:7px 10px}.favorite-button{background:none;color:#9d92ae;font-size:24px;padding:0 2px;line-height:1}.favorite-button.on{color:#ffd14b}.copy-button{background:none;color:#d1c9e1;display:inline-flex;padding:1px;align-items:center}.copy-button .icon{width:15px;height:15px}.detail-hero{display:grid;grid-template-columns:1.25fr 1fr;gap:12px;margin-bottom:11px;align-items:stretch}.hero-photo{aspect-ratio:1.49;border-radius:14px;overflow:hidden;position:relative;background:#28213f;display:grid;place-items:center;border:1px solid #665078;width:100%;padding:0;color:#dfcef4}.hero-photo img{width:100%;height:100%;object-fit:cover}.hero-photo .brand-mark{width:72px;height:72px}.image-count{position:absolute;right:9px;bottom:9px;background:#130c17b8;border-radius:20px;color:white;padding:2px 9px;font-size:10px}.locked-image{display:grid;justify-items:center;gap:8px;font-size:11px;padding:20px}.locked-image>.icon{width:35px;height:35px}.balance-box{background:linear-gradient(140deg,#54324770,#20203b);border:1px solid #6c4c68;border-radius:13px;padding:12px;min-width:0}.balance-box>span{font-size:11px;color:#ddd0df}.balance-box>strong{display:block;font-size:32px;letter-spacing:-.9px;line-height:1.4;white-space:nowrap}.balance-box dl{margin:8px 0 0;border-top:1px solid #6c546180;padding-top:6px;font-size:10px}.balance-box dl>div{display:flex;justify-content:space-between;gap:5px;padding:4px 0;border-bottom:1px solid #6c546140}.balance-box dl>div:last-child{border:0}.balance-box dt{color:#c5bace}.balance-box dd{margin:0;text-align:right;max-width:56%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-thumbnails{display:flex;gap:9px;margin-bottom:19px;align-items:center}.photo-thumb{height:60px;width:90px;border:1px solid #5f5270;border-radius:10px;overflow:hidden;padding:0;position:relative;background:#252039;color:var(--muted);font-size:10px;display:grid;place-items:center}.photo-thumb img{height:100%;width:100%;object-fit:cover}.photo-thumb.active{border:2px solid #c27cf9;box-shadow:0 0 9px #a948f45a}.photo-thumb small{position:absolute;bottom:2px;right:4px;font-size:8px;background:#0008;border-radius:3px;padding:0 3px;color:white}.add-photo{height:60px;border:1px dashed #a18bb7;border-radius:10px;padding:7px 14px;background:transparent;display:grid;place-items:center;color:var(--ink);font-size:10px;gap:1px}.add-photo .icon{width:18px;height:18px}.detail-tag-row{display:flex;align-items:center;gap:10px;margin-bottom:20px}.detail-tag-row>.icon{width:18px;height:18px}.detail-tag-row>strong{font-size:12px}.detail-tag-row>.tags{flex:1}.detail-tag-row>.secondary{padding:5px 9px;font-size:10px}.detail-tabs{display:flex;border-bottom:1px solid #4b405b;margin-bottom:17px;gap:3px}.detail-tabs button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;background:none;color:#cbc4dd;padding:9px 3px 14px;position:relative}.detail-tabs button .icon{width:18px;height:18px}.detail-tabs button.active{color:white}.detail-tabs button.active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:4px;border-radius:5px;background:linear-gradient(90deg,#c561ff,#8142ed)}.detail-toolbar{display:flex;gap:7px;align-items:center;justify-content:space-between;margin-bottom:12px;flex-wrap:wrap}.detail-toolbar .primary{padding:8px 12px;font-size:11px}.detail-toolbar select{width:auto;font-size:10px;padding:7px 9px}.detail-toolbar .text-button{font-size:10px;margin-left:auto}.table-scroll{overflow:auto;border:1px solid #4b405a;border-radius:12px}.transactions-table{border-collapse:collapse;width:100%;min-width:440px;font-size:10px}.transactions-table th{text-align:left;white-space:nowrap;font-weight:500;background:#25243c;padding:11px 9px;color:#eee8f7}.transactions-table td{padding:10px 9px;border-top:1px solid #39334b;vertical-align:middle}.transactions-table td:nth-child(1){white-space:nowrap;color:#d8d1e7;font-size:9px}.transactions-table td:nth-child(3),.transactions-table td:nth-child(4){white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:650;font-size:11px}.transactions-table td:last-child{white-space:nowrap}.transaction-icon{width:27px;height:27px;display:inline-grid;place-items:center;background:#3a3555;color:#d8cbe9;border-radius:50%;font-size:19px;line-height:1}.transaction-icon.positive{background:#1b6f37;color:#dbffe0}.transaction-icon.negative{background:#b9334f;color:#ffe8ec}.transaction-icon.transfer{background:#4e378c;color:#e0cdff}.transaction-icon .icon{width:15px;height:15px}.type-name{font-size:8px;display:block;margin-top:3px;color:var(--muted)}.positive{color:var(--green)}.negative{color:var(--red)}.table-action{background:none;color:#c7bfda;display:inline-grid;place-items:center;padding:3px;vertical-align:middle}.table-action .icon{width:15px;height:15px}.table-action:hover{color:#dfacff}.table-action.delete:hover{color:#ff7892}.transaction-note{max-width:130px;overflow-wrap:anywhere}.transaction-note small{display:block;font-size:8px}.balance-caption{font-size:9px;margin-top:10px;color:var(--muted)}.detail-use{display:flex;justify-content:flex-end;margin:13px 0}.detail-use .secondary{font-size:11px;border-color:#8465a5}.notes-editor textarea{min-height:180px;margin:10px 0}.card-info{display:grid;gap:10px;font-size:12px}.info-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:9px 0}.info-row>span{color:var(--muted)}.card-info .form-notice{margin-top:10px}.mobile-steps{display:none}.toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);background:#39304e;color:white;border:1px solid #806495;box-shadow:0 8px 40px #0007;padding:12px 20px;border-radius:12px;z-index:2000;max-width:calc(100% - 30px);font-size:12px}.toast.error{background:#552b3e;border-color:#be5874}dialog{background:linear-gradient(145deg,#202035,#151527);color:var(--ink);border:1px solid #59506c;border-radius:20px;padding:25px;box-shadow:0 20px 90px #0009;width:min(650px,calc(100vw - 30px));max-height:90dvh;overflow:auto;color-scheme:dark}dialog::backdrop{background:#080713ae;backdrop-filter:blur(5px)}dialog h2{font-size:23px}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.modal-heading .icon-button{font-size:25px}.form-notice{font-size:11px;color:#cebddc;line-height:1.7;padding:11px 13px;background:#58397529;border:1px solid #5c406d;border-radius:10px;margin-bottom:16px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}form label{display:block;font-size:11px;color:#c9c1d7;margin-bottom:13px}form label input,form label select,form label textarea{display:block;margin-top:6px}form input,form select,form textarea{font-size:13px}form input:read-only{opacity:.6}.form-grid label{margin-bottom:0}.form-grid+.field-hint{margin-top:10px}.field-hint{font-size:10px;color:var(--muted);line-height:1.7;margin:7px 0 13px}.tag-field{border:1px solid #4a3b5b;border-radius:11px;padding:12px;margin:14px 0}.tag-field legend{font-size:11px;color:#cbbddc;padding:0 6px}.checkbox-tags{display:flex;flex-wrap:wrap;gap:8px}.checkbox-tags label{display:flex;align-items:center;gap:6px;margin:0;border:1px solid #4b3b60;padding:5px 8px;border-radius:8px;font-size:10px}.checkbox-tags label input{margin:0}.image-drop{border:1px dashed #665075;border-radius:12px;padding:13px;margin-top:15px}.image-drop.drag-over{background:#9b50e51a;border-color:#bd87f1}.image-drop .section-heading h3{font-size:12px}.image-drop .secondary{font-size:10px;padding:6px 8px}.image-previews{display:grid;grid-template-columns:1fr 1fr;gap:12px}.upload-preview{background:#121122;border:1px solid #443650;border-radius:10px;overflow:hidden}.upload-preview>img,.upload-empty{width:100%;height:125px;object-fit:cover}.upload-empty{display:grid;place-items:center;color:var(--muted);font-size:11px}.upload-preview>div:last-child{display:flex;align-items:center;gap:7px;padding:7px 9px;font-size:10px}.upload-preview .text-button{margin-left:auto;font-size:9px}.upload-preview .remove-image{color:#e88ba6;background:none;font-size:14px;padding:2px}.form-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:17px;margin-top:18px}.form-error{color:#ff98ac;background:#6d294331;padding:10px;border-radius:8px;font-size:12px;margin-top:12px}.manage-rows{max-height:250px;overflow:auto;margin-bottom:20px;border-bottom:1px solid var(--line);padding-bottom:12px}.manage-row{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #393045;border-radius:9px;margin-bottom:6px;font-size:12px}.manage-row>span:nth-child(2){flex:1}.manage-row .brand-mark{width:30px;height:30px;font-size:24px}.manage-row .secondary{font-size:10px;padding:4px 8px}.manage-row .table-action{margin-left:3px}.manage-row small{display:block;font-size:9px}.manage-row.editing{border-color:#a45fe3;background:#50236b28}.small-modal{width:min(440px,calc(100vw - 30px))}.small-modal>form>p{margin-top:16px;line-height:1.8}.image-viewer{width:min(1000px,calc(100vw - 25px))}.viewer-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:15px 0}.viewer-controls>label{display:flex;gap:8px;align-items:center;font-size:11px}.viewer-controls input{padding:0;max-width:180px}.viewer-scroll{overflow:auto;max-height:65dvh;background:#080811;border-radius:12px;padding:10px}.viewer-scroll img{display:block;width:100%;max-width:none;height:auto}.information p{color:var(--muted);font-size:12px;line-height:1.85;margin:12px 0}.information h3{margin:20px 0 6px}.audit-entry{border-bottom:1px solid var(--line);padding:9px 0;font-size:11px}.audit-entry small{display:block;margin-bottom:3px}.lock-notice{padding:20px;text-align:center;color:var(--muted);display:grid;justify-items:center;gap:12px}.lock-notice .icon{width:30px;height:30px}.light{color-scheme:light;--bg:#f2eff9;--panel:#fff;--raised:#f1edf9;--field:#f8f6fc;--line:#ded7eb;--ink:#282039;--muted:#81738e;--green:#168448;--red:#c82d57}.light .wallet-header{border-color:#ded7eb}.light .global-search{border-color:#d5cbe5}.light .header-link:hover{color:#7341ad}.light .brand-row:hover,.light .tag-filter:hover{background:#f1eafa}.light .brand-row.active{color:white}.light .tag-filter.active{color:#f9f4ff}.light .wallet-card{background:linear-gradient(130deg,#fff,#f4f0fa);border-color:#d9cee5}.light .wallet-card.selected{background:#f2eafa;border-color:#a660d4}.light .card-caption{color:#8a769b}.light .pill{color:#756081;background:#e9e2f0}.light .secondary{background:linear-gradient(#fff,#f2edf9);border-color:#c4b4d4}.light .icon-button{border-color:#c9bbdb}.light .list-controls select{background:#f3eef9}.light .subcategory-chips button{background:#eee7f5;border-color:#d5c5e5}.light .subcategory-chips button.active{color:white;background:linear-gradient(#aa6bea,#8044cf)}.light .brand-stat{background:linear-gradient(130deg,#f0e8ff,#edeaf7);border-color:#ddc9f0}.light .brand-stat small{color:#806895}.light .balance-box{background:linear-gradient(140deg,#f8e9f2,#f0ecfa);border-color:#d5bfd5}.light .balance-box>span{color:#8d6c8d}.light .balance-box dt{color:#8a748d}.light .transactions-table th{background:#f1ebf9;color:#655278}.light .transactions-table td{border-color:#e5dcee}.light .transactions-table td:first-child{color:#85718f}.light .detail-tabs button{color:#8d759f}.light .detail-tabs button.active{color:#693b8c}.light .table-action{color:#9174a2}.light .wallet-status{color:#8e739e}.light .wallet-status strong{color:#8555ad}.light .detail-use .secondary{border-color:#c6add9}.light .form-notice{color:#825c92}.light dialog{background:#fbf9ff;color:#30233f;color-scheme:light}.light form label{color:#857092}.light .upload-preview{background:#f4edf9;border-color:#d4c2df}.light .manage-row{border-color:#e1d4eb}.light .stored-heading{color:#9575a9}.light .toast{background:#382342;color:#fff}[hidden]{display:none!important}@media(min-width:1700px){.wallet-grid{grid-template-columns:310px minmax(500px,1.35fr) minmax(650px,1.65fr)}.wallet-card{min-height:114px}.card-thumbnail{width:115px;height:82px}.card-name{font-size:16px}.card-amount{font-size:23px}.transactions-table{font-size:11px}.transactions-table td{padding:13px 10px}.detail-heading h2,.cards-title h2{font-size:25px}}@media(max-width:1250px) and (min-width:901px){.wallet-header{padding:13px 16px;gap:15px}h1{font-size:21px}.header-link{display:none}.header-buttons{gap:5px}.wallet-grid{grid-template-columns:205px minmax(310px,1fr) minmax(365px,1.2fr)}.wallet-card{gap:8px;padding:10px 8px}.wallet-card.selected{padding:9px 7px}.card-thumbnail{width:68px;height:63px}.card-amount{font-size:17px}.card-name{font-size:12px}.brand-stats{gap:5px}.brand-stat{padding:10px 8px;gap:6px}.brand-stat>.stat-icon{display:none}.brand-stat strong{font-size:20px}.detail-hero{gap:8px}.balance-box{padding:9px}.balance-box>strong{font-size:25px}.detail-heading h2{font-size:18px}.detail-heading .brand-mark{width:38px;height:38px}.detail-tabs button{font-size:10px}.detail-tag-row{gap:5px}.detail-tag-row>strong{display:none}.detail-heading .secondary{font-size:10px;padding:7px}.photo-thumb{height:51px;width:75px}.add-photo{height:51px}.detail-hero .hero-photo{aspect-ratio:auto;min-height:170px}}
@media(max-width:900px){.wallet-header{height:auto;flex-wrap:wrap;padding:15px 16px 12px;gap:13px}.wallet-brand{gap:9px}.wallet-brand h1{font-size:21px}.wallet-brand .icon{width:29px;height:29px}.header-buttons{margin-left:auto;gap:5px}.header-link{display:none}.header-add{font-size:0;padding:8px 11px;height:34px}.header-add>span{font-size:24px;line-height:1}.global-search{order:3;flex:0 0 100%;max-width:none;height:40px}.wallet-status{padding:6px 16px;font-size:10px;flex-wrap:wrap;gap:5px}.wallet-status>span:not(.status-indicator){display:none}.wallet-status .text-button{font-size:10px}.mobile-steps{display:flex;gap:6px;padding:10px 13px 13px}.mobile-steps button{flex:1;border:1px solid #443554;border-radius:9px;background:#20182e;color:#a89ab9;padding:8px 3px;font-size:10px}.mobile-steps button.active{background:linear-gradient(120deg,#8040c5,#572692);color:white;border-color:#a168cd}.mobile-steps button>span{margin-left:3px}.wallet-grid{display:block;padding:0 12px 20px}.panel{height:auto;min-height:calc(100dvh - 230px);overflow:visible}.wallet-grid>.panel{display:none}.mode-brands>#brandPanel,.mode-cards>#cardsPanel,.mode-details>#detailsPanel{display:block}.categories-panel{padding:18px}.categories-panel .section-heading{padding-bottom:14px}.categories-panel h2{font-size:19px}.brand-row,.all-brands{font-size:15px;padding:10px 12px}.brand-row>.brand-mark{width:33px;height:33px}.subcategory-link{font-size:12px;padding:8px}.tag-filter{font-size:13px;padding:9px 12px}.tag-section{margin-top:20px}.cards-panel,.details-panel{padding:16px 13px}.cards-title h2{font-size:21px}.cards-title .primary{font-size:10px}.brand-stat{padding:13px 9px;gap:8px}.brand-stat>.stat-icon{display:none}.brand-stat strong{font-size:23px}.brand-stat small{font-size:9px}.card-list{gap:12px}.wallet-card{padding:12px 10px;gap:10px}.wallet-card.selected{padding:11px 9px}.card-thumbnail{width:85px;height:73px}.card-name{font-size:13px}.card-amount{font-size:19px}.card-caption{font-size:10px;gap:5px}.tag-pill{font-size:9px;padding:3px 7px;gap:4px}.card-arrow{display:none}.detail-heading h2{font-size:20px}.detail-hero{grid-template-columns:1.2fr 1fr;gap:9px}.balance-box{padding:10px}.balance-box>strong{font-size:28px}.balance-box dl{font-size:9px}.hero-photo{aspect-ratio:auto;min-height:180px}.photo-thumbnails{gap:8px}.photo-thumb{height:57px;width:87px}.add-photo{height:57px}.detail-tag-row{flex-wrap:wrap;gap:8px}.detail-tag-row>.tags{min-width:60%}.detail-tag-row>.secondary{margin-left:auto}.detail-tabs button{font-size:11px}.table-scroll{max-width:100%}.transactions-table{min-width:460px}.light .mobile-steps button{background:#eee5f5;color:#9674aa;border-color:#d5c0e4}.light .mobile-steps button.active{color:white;background:#8c4bc4}}@media(max-width:420px){.card-thumbnail{width:70px;height:65px}.card-amount{font-size:17px}.card-name{font-size:12px}.wallet-card{gap:8px}.tag-pill .icon{display:none}.detail-heading>.brand-mark{width:38px;height:38px}.detail-heading .secondary{padding:7px;font-size:10px}.detail-heading h2{font-size:17px}.balance-box>strong{font-size:23px}.balance-box>span{font-size:10px}.balance-box dl{font-size:8px}.detail-hero{grid-template-columns:1.1fr 1fr}.photo-thumb{width:75px;height:51px}.add-photo{height:51px;padding:5px 10px}.detail-toolbar .primary{font-size:10px}.card-info .info-row{font-size:10px}dialog{padding:20px 17px}.form-grid{gap:11px}.form-grid label{font-size:10px}.image-drop .section-heading{align-items:flex-start;flex-direction:column}.image-drop .inline-actions{width:100%}.upload-preview>img,.upload-empty{height:94px}.viewer-controls{gap:7px}.viewer-controls .secondary{padding:5px 7px;font-size:10px}.viewer-controls input{max-width:90px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.wallet-card:hover{transform:none}}
.card-list{grid-template-columns:minmax(0,1fr)}.wallet-card{min-width:0;overflow:hidden}.card-name{display:block}.categories-panel .inline-actions{flex-shrink:0}.brand-stat>div{min-width:0}@media(min-width:901px) and (max-width:1450px){.categories-panel h2{white-space:normal}.categories-panel h2 small{display:block;font-size:10px}.brand-stat strong{font-size:20px}}

@media(min-width:901px) and (max-width:1450px){.brand-stat>.stat-icon{display:none}.brand-stat{padding:12px 8px}.brand-stat small{font-size:10px}}

.allocation-row{display:grid;grid-template-columns:minmax(0,1fr) 125px 30px;gap:10px;align-items:end;margin:12px 0}.allocation-row label{min-width:0}.allocation-row select{width:100%}.header-transaction{white-space:nowrap}@media(max-width:900px){.header-transaction{font-size:11px;padding:8px}.wallet-header{gap:8px}.wallet-brand h1{font-size:18px}}@media(max-width:500px){.allocation-row{grid-template-columns:minmax(0,1fr) 95px 25px;gap:6px}.header-transaction{font-size:10px}.wallet-header .header-buttons{flex-wrap:wrap}}

.allocation-item{border:1px solid var(--line);border-radius:12px;padding:13px;margin:12px 0;background:var(--field)}.allocation-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.allocation-item .allocation-row{grid-template-columns:minmax(0,1fr) 135px;margin-bottom:0}.wallet-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px;margin-bottom:14px;color:var(--muted)}.wallet-breadcrumb button{background:none;color:var(--ink);padding:0}.wallet-breadcrumb small{flex-basis:100%;color:var(--purple)}@media(max-width:500px){.allocation-item{padding:10px}.allocation-item .allocation-row{grid-template-columns:minmax(0,1fr) 100px}.allocation-item .form-grid{grid-template-columns:1fr}.allocation-item input,.allocation-item select{width:100%;min-width:0}}

.field-action{text-align:left;align-self:flex-start;padding:2px 0;font-size:11px}.form-grid label>.inline-actions{flex-wrap:wrap;gap:12px}.allocation-item input[list]{cursor:text}

.header-brand-settings{white-space:nowrap;font-size:12px}.header-buttons{flex-shrink:0}@media(max-width:1450px) and (min-width:901px){.wallet-header{gap:13px}.wallet-header h1{font-size:22px}.wallet-header .header-link{display:none}.header-buttons{gap:7px}.header-brand-settings{padding:8px 10px}}@media(max-width:900px){.header-brand-settings{font-size:10px;padding:8px}.header-buttons{flex-wrap:wrap}}
#manageRows{max-height:230px;overflow-y:auto;overscroll-behavior:contain}

.detail-use{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.delete-card-button{color:var(--red);border-color:#8b4055}.deleted-cards-button{margin-top:12px;width:100%}

.wallet-card .card-caption,.detail-heading .card-caption{flex-wrap:wrap}.card-number{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal;font-family:ui-monospace,Consolas,monospace;font-variant-numeric:tabular-nums}.wallet-card .card-number{flex-basis:100%;font-size:12px;line-height:1.5;color:var(--ink)}.brand-title-tags{margin-top:9px}.cards-title>div{min-width:0}

.card-copy-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.card-copy-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:1 1 140px;min-height:42px;font-size:12px}.card-copy-actions .icon{width:17px;height:17px}.card-copy-hint{margin:-4px 0 15px}.brand-mark.brand-catalog{background:#fff;padding:6px;border:1px solid #ddd;border-radius:9px}.brand-mark.brand-catalog img{width:100%;height:100%;object-fit:contain}@media(max-width:900px){.wallet-page .card-copy-actions button{min-height:46px;font-size:13px;flex-basis:calc(50% - 8px)}.wallet-page .card-copy-actions button:first-child{flex-basis:100%}}

.wallet-access-gate{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:20px;background:rgba(7,7,20,.96);backdrop-filter:blur(14px)}.wallet-access-gate[hidden]{display:none}.wallet-access-card{width:min(100%,390px);padding:30px;border:1px solid #51416b;border-radius:20px;background:#171426;box-shadow:0 24px 80px #0009;color:#f7f3ff}.wallet-access-card h2{margin:10px 0}.wallet-access-card p{color:#bdb4ce;line-height:1.55}.wallet-access-card label{display:block;margin:20px 0 7px}.wallet-access-card input{width:100%;padding:13px;border:1px solid #625477;border-radius:10px;background:#100e1b;color:white;font-size:18px}.wallet-access-card button{width:100%;margin-top:16px;padding:13px}.wallet-access-mark{font-size:30px}.wallet-access-error{color:#ff6c78!important}.light .wallet-access-card{background:#fff;color:#252033}.light .wallet-access-card input{background:white;color:#211a2b}

.wallet-access-card input#walletAccessPassword{-webkit-text-security:disc;text-security:disc}
.wallet-tag-filter{border:1px solid var(--line);background:#ffffff04;border-radius:12px;padding:12px 14px;margin:0 0 15px}.wallet-tag-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.wallet-tag-heading strong{font-size:13px}.wallet-tag-pills{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.wallet-tag-pill{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:6px 12px;border:1px solid #49465f;border-radius:999px;background:#17182b;color:var(--ink);font-size:12px;white-space:nowrap}.wallet-tag-pill .icon{width:15px;height:15px}.wallet-tag-pill span{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:12px;background:#ffffff12;color:var(--muted);font-size:10px}.wallet-tag-pill.active{border-color:#bd89ff;background:linear-gradient(110deg,#7324d8,#5d24bc);color:#fff;box-shadow:0 2px 10px #832de333}.deleted-wallet-card{display:flex;align-items:center;gap:13px;cursor:default;min-height:88px}.deleted-wallet-card .card-amount{margin-left:auto}.deleted-wallet-card .card-thumbnail{object-fit:cover}.delete-card-hint{align-self:flex-start;color:#ff9fae;font-size:11px}.detail-use{flex-wrap:wrap}.deleted-wallet-card .card-caption{color:var(--muted)}
.bulk-card-modal{width:min(900px,95vw)}.bulk-card-row{padding:18px 0;border-bottom:1px solid var(--line)}.bulk-card-preview{display:block;width:100%;max-height:240px;object-fit:contain;margin:12px 0;border-radius:10px}.bulk-include{display:flex;align-items:center;gap:8px}.bulk-crop-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0}.cards-title>.inline-actions{flex-wrap:wrap}.bulk-card-row summary{cursor:pointer;color:var(--muted)}@media(max-width:600px){.bulk-card-modal .form-grid{grid-template-columns:1fr}.bulk-card-row .section-heading{align-items:flex-start;flex-wrap:wrap}.bulk-crop-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.cards-title>.inline-actions{width:100%;justify-content:flex-end}}

.bulk-layout-preview{display:block;width:100%;max-height:420px;object-fit:contain;margin:14px 0;border:1px solid var(--line);border-radius:10px}.bulk-layout-preview[hidden]{display:none}

.bulk-paired-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bulk-paired-images>div{min-width:0}.bulk-merchants{border:1px solid var(--line);border-radius:10px;margin:14px 0;padding:12px}.bulk-merchant{display:grid;gap:8px;border-bottom:1px solid var(--line);padding:10px 0}.bulk-merchant:last-child{border:0}.bulk-merchant img{width:70px;height:36px;object-fit:contain;border-radius:6px}.bulk-merchant-name{min-width:0}.merchant-acceptance{color:var(--muted);margin:10px 0;font-size:12px}@media(max-width:600px){.bulk-paired-images{grid-template-columns:1fr}}

.batch-action-modal{width:min(720px,95vw)}.batch-action-modal textarea{margin-top:8px;font-family:ui-monospace,Consolas,monospace}.batch-transaction-preview{max-height:240px;overflow:auto;margin-top:12px}.batch-transaction-preview table{width:100%;border-collapse:collapse}.batch-transaction-preview th,.batch-transaction-preview td{padding:8px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap;font-size:12px}.card-merchant-actions{margin:14px 0}.card-merchant-actions p{overflow-wrap:anywhere}.batch-action-modal [data-batch-status]{margin-top:12px;font-size:12px;color:var(--muted)}

.stored-balance-choice{display:flex;align-items:center;gap:10px;margin:12px 0}.card-merchant-row{display:flex;align-items:center;gap:8px;margin:8px 0}.card-merchant-row select{min-width:0;flex:1}.card-merchant-row button{flex-shrink:0}@media(max-width:450px){.card-merchant-row{align-items:stretch;flex-direction:column}}

.wallet-card-with-status{border:1px solid var(--border,#393750);border-radius:16px;overflow:hidden;background:var(--panel,#1d1c32)}.wallet-card-with-status>.wallet-card{width:100%;border-radius:14px;margin:0}.card-status-label{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:8px 12px;color:#c9c6dc;font-size:13px}.card-status-select{width:auto;min-width:140px;min-height:40px;padding:6px 12px}.card-status-select:focus-visible{outline:2px solid #b978ff}

.copy-all-info{margin-left:auto}

/* Background panel scrollbars disappear while a dialog/password gate owns scrolling. */
.wallet-page.wallet-modal-open .wallet-grid>.panel,.wallet-page.wallet-modal-open .credit-grid>.panel{overflow:hidden!important}
.wallet-page dialog[open]{position:fixed;inset:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.wallet-page .wallet-access-gate{overflow-y:auto;overscroll-behavior:contain}

.brand-ai-name{display:flex;gap:10px;align-items:center}.brand-ai-name input{flex:1;min-width:0}.brand-ai-name button{white-space:nowrap;flex-shrink:0}.brand-ai-preview{display:block;width:56px;height:56px;object-fit:contain;padding:5px;background:#fff;border-radius:10px;margin:10px 0}.brand-ai-preview[hidden]{display:none}
@media(max-width:500px){.brand-ai-name{align-items:stretch;flex-wrap:wrap}.brand-ai-name input{flex-basis:100%}.brand-ai-name button{width:100%;min-height:44px}}

.bulk-entry-modes{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 18px}.bulk-entry-modes button{flex:1;min-height:44px}.bulk-entry-modes button[aria-pressed=true]{background:#7635d7;color:white;border-color:#b17aff}.bulk-card-modal [data-bulk-text-panel] textarea{width:100%;min-width:0;font-size:16px;font-family:ui-monospace,monospace}.bulk-card-modal [data-bulk-text-preview]{overflow:auto;max-height:280px}.bulk-card-modal [data-bulk-text-preview] table{width:100%;border-collapse:collapse;font-size:12px}.bulk-card-modal [data-bulk-text-preview] th,.bulk-card-modal [data-bulk-text-preview] td{padding:8px;text-align:left;border-bottom:1px solid var(--line);overflow-wrap:anywhere}

.header-bulk{white-space:nowrap}.bulk-linked-brands{border:1px solid var(--line);border-radius:12px;padding:12px;margin:14px 0}.bulk-linked-brand{display:flex;gap:8px;align-items:center;margin:10px 0}.bulk-linked-brand select{flex:1;min-width:0}.bulk-linked-brand button{flex-shrink:0}.bulk-linked-brands>[data-bulk-link-brand]{margin-top:8px}

#brandPanel{overflow:hidden}.brand-directory{display:grid;grid-template-columns:minmax(0,1fr) 27px;gap:7px;height:100%;min-height:0}.brand-directory-list{overflow:auto;overscroll-behavior:contain;min-width:0;scrollbar-width:thin}.brand-alphabet{display:flex;flex-direction:column;min-height:0;overflow:auto;scrollbar-width:none;align-items:stretch}.brand-alphabet::-webkit-scrollbar{display:none}.brand-alphabet button{flex:1;min-height:16px;max-height:27px;padding:1px 2px;background:transparent;color:var(--purple);font-size:11px;font-weight:700;border-radius:5px}.brand-alphabet button:disabled{opacity:.23;cursor:default}.brand-alphabet button:not(:disabled):hover{background:var(--raised)}.brand-letter-heading{font-size:12px;color:var(--muted);padding:13px 10px 6px;margin:0}.brand-directory-entry{display:flex;align-items:center;gap:2px}.brand-directory-entry .brand-row{min-width:0;flex:1;gap:8px;padding-right:5px}.brand-directory-entry .brand-name{min-width:0;overflow-wrap:anywhere}.brand-pin{flex-shrink:0;width:27px;min-height:36px;padding:3px;background:transparent;color:var(--muted);font-size:19px}.brand-pin.is-pinned{color:#ffd15b}.brand-directory .brand-children{margin-right:15px}.brand-directory-empty{padding:15px}
@media(max-width:900px){.wallet-page #brandPanel{overflow:hidden}.wallet-page #brandPanel .brand-directory{height:calc(100dvh - 345px);min-height:320px;max-height:800px}.wallet-page .brand-directory-entry .brand-row{font-size:14px;padding:10px 7px}.wallet-page .brand-directory-entry .brand-row>.brand-mark{width:31px;height:31px}.wallet-page .brand-pin{width:30px;min-height:44px}.wallet-page .brand-alphabet button{font-size:11px}.wallet-page .brand-letter-heading{padding-top:12px}}

.allocation-item input.allocation-negative{color:#ff7188;border-color:#ff7188;background:#a5223822}

.receipt-reader{border:1px solid var(--line,#49415e);border-radius:14px;padding:14px;margin:12px 0}.receipt-reader input{max-width:100%;min-width:0}.receipt-reader button{margin-top:10px}.receipt-reader p{overflow-wrap:anywhere}

.brand-alphabet button[aria-pressed=true]{background:#7942ce;color:white}.allocation-card-picker{position:relative;display:flex;min-width:0}.allocation-card-picker input{width:100%;padding-right:38px}.allocation-card-toggle{position:absolute;right:2px;top:2px;bottom:2px;width:34px;background:transparent;color:var(--text);border:0;padding:0}.allocation-card-options{position:absolute;top:100%;left:0;right:0;z-index:20;max-height:230px;overflow:auto;border:1px solid var(--line);border-radius:10px;background:var(--panel,#202034);box-shadow:0 8px 24px #0007}.allocation-card-options button,.allocation-card-options span{display:block;width:100%;padding:12px;text-align:left;white-space:normal;overflow-wrap:anywhere;color:var(--text);background:transparent}.allocation-card-options button:hover{background:#7942ce55}.transactions-table td:last-child{white-space:nowrap}.receipt-action{color:#c99cff}#receiptViewer{width:min(680px,95vw)}

.wallet-card .card-caption{margin-top:0}.wallet-card .card-number{font-size:14px;font-weight:600}.detail-heading .card-number{font-size:16px;font-weight:600}

.assign-brands{margin:16px 0;min-width:0}.assign-brand-options{max-height:180px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.assign-brand-options label{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid var(--line);border-radius:9px;overflow-wrap:anywhere}.assign-brand-options input[type=checkbox]{width:16px;flex:0 0 16px;margin:0}.assign-brands>input{width:100%;min-width:0}@media(max-width:480px){.assign-brand-options{grid-template-columns:1fr;max-height:160px}}

.assign-brand-rows{display:grid;gap:10px;margin:10px 0}.assign-brand-rows>div{display:flex;gap:8px;min-width:0}.assign-brand-rows select{flex:1;min-width:0}.assign-brand-rows button{flex-shrink:0}

.assign-brand-picker{position:relative;flex:1;min-width:0}.assign-brand-picker>input{width:100%;min-width:0;padding-right:36px}.assign-brand-picker>select[hidden]{display:none!important}.assign-brand-toggle{position:absolute;right:2px;top:2px;bottom:2px;border:0;background:transparent;color:var(--text);width:32px;padding:0}.assign-brand-results{position:relative;z-index:30;max-height:220px;overflow:auto;border:1px solid var(--line);border-radius:9px;background:var(--panel,#202034);margin-top:4px}.assign-brand-results[hidden]{display:none}.assign-brand-results button,.assign-brand-results span{display:block;width:100%;text-align:left;padding:10px 12px;white-space:normal;overflow-wrap:anywhere;background:transparent;color:var(--text);border:0}.assign-brand-results button:hover,.assign-brand-results button:focus{background:#7942ce55}

.clipboard-image-button{display:block;margin-top:8px}.clipboard-image-button[aria-pressed=true]{font-weight:700;color:#d8b8ff}

.global-search input{min-width:0}.global-search>button{flex-shrink:0;white-space:nowrap;padding:8px 12px}

.transaction-voice-controls{display:inline-flex;gap:8px;align-items:center;flex-wrap:wrap;margin-left:8px}.transaction-voice-controls [hidden]{display:none!important}.transaction-voice-controls [aria-pressed=true]{color:#ffacac;border-color:#e76868}.transaction-voice-notice{margin:6px 0;flex-basis:100%}@media(max-width:600px){.transaction-voice-controls{margin-left:0;gap:6px}.transaction-voice-controls button{min-height:44px}}
