:root{color-scheme:light;font-family:Arial,Helvetica,sans-serif;background:#f5f7fb;color:#172033}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select{font:inherit}.page-shell{max-width:720px;margin:0 auto;padding:48px 20px 64px}.wallet-shell{max-width:960px}.card-detail-shell{max-width:840px}.stack{display:grid;grid-gap:16px;gap:16px}.card{background:#fff;border:1px solid #dbe2f0;border-radius:12px;padding:20px}.muted{color:#5f6c85}.bonus-status{display:inline-block;margin:4px 0 0;color:#31415f;font-weight:600}.bonus-status p{margin:0}.bonus-status p+p{margin-top:4px;color:#5f6c85;font-weight:400}.form-grid{display:grid;grid-gap:12px;gap:12px}.label{display:grid;grid-gap:6px;gap:6px;font-weight:600}.form-note{margin:0;color:#5f6c85;font-size:.95rem}.input{width:100%;border:1px solid #c9d2e3;border-radius:10px;padding:10px 12px;background:#fff}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.button{border:0;border-radius:10px;padding:10px 14px;background:#172033;color:#fff;cursor:pointer}.button:disabled{opacity:.7;cursor:wait}.result-grid{display:grid;grid-gap:8px;gap:8px}.opportunity-card{display:grid;grid-gap:12px;gap:12px;border-style:dashed;background:#fbfcff;padding:16px}.opportunity-card h2{margin:0;font-size:1.1rem}.opportunity-highlight{margin:0;color:#172033;font-size:1.05rem;line-height:1.35}.opportunity-copy{margin:0;color:#5f6c85;line-height:1.45}.opportunity-grid{display:grid;grid-gap:10px;gap:10px}.opportunity-label{display:block;margin-bottom:2px;color:#5f6c85;font-size:.85rem;font-weight:700}.opportunity-footer{margin:0;color:#5f6c85;font-size:.9rem;line-height:1.4}.opportunity-link{justify-self:start;margin-bottom:0}.debug-panel{white-space:pre-wrap;font-family:Courier New,Courier,monospace;font-size:.875rem;overflow-x:auto}.how-it-works{display:grid;grid-gap:10px;gap:10px;background:#fbfcff}.how-it-works h2{margin:0;font-size:1.05rem}.how-it-works p{margin:0;color:#5f6c85;line-height:1.45}.text-link{display:inline-block;margin-bottom:12px;color:#31415f;font-weight:700}.wallet-summary-card{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border:1px solid #dbe2f0;border-radius:12px;padding:14px 16px;background:#fff}.wallet-summary-title{margin:0;color:#172033;font-weight:700}.wallet-summary-names{margin:4px 0 0;color:#5f6c85;font-size:.95rem;line-height:1.45}.wallet-summary-link{flex:0 0 auto;margin-bottom:0;white-space:nowrap}.user-selector{display:flex;justify-content:space-between;gap:16px;align-items:center;border:1px solid #dbe2f0;border-radius:12px;padding:14px 16px;background:#fff}.user-selector-label,.user-selector-name{margin:0}.user-selector-label{color:#5f6c85;font-size:.9rem;font-weight:700}.user-selector-name{margin-top:4px;color:#172033;font-weight:700}.user-selector-control{min-width:180px}.wallet-note{margin:12px 0 0;color:#31415f;font-weight:700}.wallet-controls{display:grid;grid-gap:12px;gap:12px}.wallet-filter{display:flex;flex-wrap:wrap;gap:8px}.wallet-filter-button{border:1px solid #c9d2e3;border-radius:999px;padding:8px 12px;background:#fff;color:#31415f;cursor:pointer;font-weight:700}.wallet-filter-button.active{border-color:#172033;background:#172033;color:#fff}.wallet-card,.wallet-list{display:grid;grid-gap:12px;gap:12px}.wallet-card-main{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:16px;gap:16px;align-items:start}.wallet-card-actions{display:grid;grid-gap:8px;gap:8px;justify-items:start}.wallet-card h2{margin:0;font-size:1.1rem}.wallet-title-link{color:inherit;-webkit-text-decoration-color:#c9d2e3;text-decoration-color:#c9d2e3;text-underline-offset:3px}.wallet-title-link:hover{-webkit-text-decoration-color:#31415f;text-decoration-color:#31415f}.wallet-card-title{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.wallet-badge{border-radius:999px;padding:4px 8px;background:#eef2f8;color:#5f6c85;font-size:.8rem;font-weight:700}.wallet-badge.in-wallet{background:#dff3e8;color:#23613d}.wallet-meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin:10px 0 0;color:#5f6c85;font-size:.95rem}.wallet-meta dt{font-weight:700}.wallet-meta dd{margin:0}.wallet-summary{margin:0;color:#31415f;line-height:1.45}.wallet-card-link{justify-self:start;margin-bottom:0}.wallet-toggle{display:inline-flex;gap:8px;align-items:center;min-height:32px;color:#172033;font-weight:700;white-space:nowrap}.wallet-toggle input{width:18px;height:18px}.card-detail-card{display:grid;grid-gap:14px;gap:14px}.card-detail-card h2{margin:0;font-size:1.15rem}.card-detail-heading{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}.card-detail-link{justify-self:start;margin-bottom:0}.wallet-status-panel{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border:1px solid #eef2f8;border-radius:10px;padding:14px;background:#fbfcff}.wallet-status-panel h2{margin:0;font-size:1rem}.wallet-status-panel p{margin:4px 0 0;color:#5f6c85;line-height:1.4}.wallet-action-button{flex:0 0 auto;white-space:nowrap}.wallet-action-error{flex-basis:100%;margin:0;color:#9f2f2f}.detail-list{display:grid;grid-template-columns:max-content minmax(0,1fr);grid-gap:8px 16px;gap:8px 16px;margin:0}.detail-list dt{color:#5f6c85;font-weight:700}.detail-list dd{margin:0}.detail-table{display:grid;grid-gap:10px;gap:10px}.detail-table-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:16px;gap:16px;align-items:start;border-top:1px solid #eef2f8;padding-top:10px}.detail-table-row:first-child{border-top:0;padding-top:0}.detail-table-row p{margin:4px 0 0}.detail-rate{color:#172033;font-weight:700;white-space:nowrap}.trust-note p{margin:0;color:#31415f;line-height:1.45}@media (max-width:640px){.wallet-summary-card{display:grid}.wallet-summary-link{justify-self:start}.user-selector{display:grid}.user-selector-control{min-width:0}.wallet-card-main{grid-template-columns:1fr}.wallet-card-actions,.wallet-toggle{justify-self:start}.wallet-status-panel{display:grid}.wallet-action-button{justify-self:start}.detail-list{grid-template-columns:1fr}.detail-list dt{margin-top:4px}}