/* Independently implemented states and controls matched to the saved public frontend. */
.header-actions{position:relative}.wallet-popover{position:absolute;z-index:80;right:0;top:calc(100% + 10px);width:296px;padding:15px;background:#f6f6f1;border:1px solid #b8b9b0;box-shadow:0 13px 35px #17171221;font-size:14px;text-align:left;transform-origin:top right;animation:wallet-in .16s ease-out}.wallet-menu-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;color:#171714}.wallet-menu-title strong{font-weight:500}.wallet-menu-close{width:26px;height:26px;font-size:21px}.wallet-option{width:100%;display:flex;align-items:center;gap:10px;justify-content:flex-start;padding:11px 9px;border:0;border-bottom:1px solid #24241a16;background:none;text-align:left;color:#26261f;font-size:14px}.wallet-option:hover{background:#dcded450}.wallet-option small{margin-left:auto;font-size:11px;color:#73756a}.provider-mark{display:grid;place-items:center;width:25px;height:25px;border:1px solid #898b7e;border-radius:50%;font:16px var(--serif)}.wallet-empty,.wallet-wait{font-size:13px;color:#6b6d64;padding:12px 6px}.wallet-demo-options{border-top:1px solid #6b6f5d42;margin-top:12px;padding-top:10px}.wallet-demo-options>small{font-size:10px;color:#6b6d64;letter-spacing:.09em;text-transform:uppercase}.wallet-readonly{font-size:10px;line-height:1.7;color:#77796f;margin-top:13px}.wallet-wait:before{content:'';display:inline-block;width:11px;height:11px;border:1px solid #777;border-right-color:transparent;border-radius:50%;margin-right:9px;animation:wallet-spin 1s linear infinite}.wallet-menu-open #header{transform:none!important}.status{min-height:0;margin-top:11px;font-size:12px;line-height:1.7;color:#707267}.status:empty{display:none}.status.ok{color:#445c3a}.status.err{color:#943d36}.branch-slots{display:flex;flex-wrap:wrap;gap:5px;margin:18px 0}.branch-slots i{display:block;width:12px;height:19px;background:repeating-linear-gradient(90deg,#2d3023 0 1px,transparent 1px 3px);border:1px solid #2d3023}.branch-slots span{font-size:11px;color:#72756a}.retire-row{display:flex;align-items:flex-end;gap:16px;padding-top:18px;border-top:1px dotted #8d917d70;margin-top:16px}.retire-row label{min-width:0;flex:1}.retire-row label>span{display:block;font-size:12px;color:#72756b;margin-bottom:8px}.retire-row .branch-pick{max-height:105px;overflow:auto}.retire-row .button{flex-shrink:0}.retire-row [data-armed]{color:#8b382f;border-bottom-color:#8b382f;white-space:normal;max-width:180px}.retire-quote,.bill-exit-quote{font-size:11px;color:#73756a;line-height:1.7;margin-top:11px}.alive{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #8d917d60;margin-top:12px;padding-top:9px;font-size:12px}.alive .button{font-size:12px}.trade-tabs button[aria-selected=true]{color:#080b07;border-bottom:1px solid #080b07}.trade-tabs button[aria-selected=false]{color:#92948b}.button[aria-busy=true]{cursor:progress}.button[aria-busy=true]:after{content:'';width:10px;height:10px;border:1px solid currentColor;border-right-color:transparent;border-radius:50%;animation:wallet-spin 1s linear infinite}.bank-card .bank-actions{flex-wrap:wrap}.bank-card-head{gap:15px}.bill-card{margin-top:15px}#main:focus{outline:none}@keyframes wallet-in{from{opacity:0;transform:translateY(-5px) scale(.98)}to{opacity:1;transform:none}}@keyframes wallet-spin{to{rotate:360deg}}@media(max-width:640px){.wallet-popover{width:min(296px,calc(100vw - 30px));right:0}.retire-row{flex-wrap:wrap;gap:10px}.retire-row label{flex-basis:100%}.retire-row [data-armed]{max-width:none}.alive{align-items:flex-start}.status{font-size:11px}.header-actions .button{max-width:185px}.wallet-readonly{font-size:10px}}@media(prefers-reduced-motion:reduce){.wallet-popover,.wallet-wait:before,.button[aria-busy=true]:after{animation:none}}
.wallet-demo-balances{display:grid;grid-template-columns:1fr 1fr;gap:7px;font-size:12px;padding:12px 5px}.wallet-demo-balances small{grid-column:1/-1;color:#74776c}.wallet-demo-balances>div{grid-column:1/-1;display:flex;gap:16px}.wallet-demo-balances b{font-weight:500}.wallet-demo-balances .text-button{font-size:11px;padding:3px 0}
