/* The treasury and operator desk share STASH's existing gold and obsidian palette. */
.wallet-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:center;min-height:320px;padding:32px 40px;border:1px solid #655039;border-radius:var(--radius);overflow:hidden;background:radial-gradient(ellipse at 92% 12%,#86603b29,transparent 65%),linear-gradient(110deg,#211c24,#14141d 70%)}
.wallet-hero:after{content:"";position:absolute;inset:9px;border:1px solid #c9a05d12;pointer-events:none;border-radius:3px}
.wallet-label{color:var(--muted);font-size:12px;margin:25px 0 2px}.wallet-amount{font-size:clamp(32px,4.5vw,58px);font-weight:500;letter-spacing:-.05em;line-height:1.3;color:var(--gold);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.wallet-equivalent{font-size:11px;color:var(--muted);margin:8px 0 23px}.wallet-totals{display:flex;gap:40px}.wallet-totals span{display:block;font-size:10px;color:var(--muted)}.wallet-totals strong{font-size:16px;font-weight:500;font-variant-numeric:tabular-nums}
.wallet-coin{display:grid;place-items:center;isolation:isolate}.wallet-coin img{max-width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 13px 20px #0006)}
.wallet-test-note{margin:12px 0 26px}.wallet-funding>section>p{font-size:12px;line-height:1.8}.wallet-history{min-width:0}.wallet-table{table-layout:fixed}.wallet-table th:first-child{width:57%}.wallet-table td{vertical-align:top}.wallet-table td strong,.wallet-table td small,.wallet-description{display:block}.wallet-table td strong{font-weight:500;color:var(--text)}.wallet-table td small{color:var(--muted);font-size:10px;margin-top:5px;overflow-wrap:anywhere}.wallet-description{font-size:11px;color:var(--muted);margin-top:3px;overflow-wrap:anywhere}.transaction-id{font-family:Consolas,monospace;font-size:10px;overflow-wrap:anywhere;word-break:break-word;line-height:1.8}.wallet-table a:hover strong{color:var(--gold)}
.positive{color:#b6d3b3!important}.negative{color:#e1aca0!important}.wallet-delta{font-variant-numeric:tabular-nums;font-size:13px}.wallet-pagination{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;font-size:11px;color:var(--muted)}.wallet-payments{display:grid;gap:0}.wallet-payment-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto 16px;align-items:center;gap:16px;padding:16px 0;border-top:1px solid var(--line);font-size:12px}.wallet-payment-row strong{font-weight:500}.wallet-payment-row small{display:block;color:var(--muted);font-size:10px}.wallet-payment-row:hover{color:var(--gold)}
.wallet-action{margin-top:12px}.wallet-receipt{max-width:700px}.receipt-meta{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;font-size:12px;margin:25px 0 32px}.receipt-meta dt{color:var(--muted)}.receipt-meta dd{margin:0}.wallet-entry-bucket{display:block;font-size:10px;color:var(--muted)}.break-anywhere{overflow-wrap:anywhere;word-break:break-word;min-width:0}
.admin-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-layout{align-items:start}.admin-layout>.panel>form>.form-hint{margin-top:-5px;margin-bottom:22px}.admin-layout p.muted{font-size:12px;line-height:1.9}.admin-layout .fee-row{align-items:center;flex-wrap:wrap}.admin-layout .fee-row strong{font-size:11px}.admin-audit{table-layout:fixed}.admin-audit th:first-child{width:22%}.admin-audit th:nth-child(2){width:24%}.admin-audit td{vertical-align:top;overflow-wrap:anywhere}.admin-audit small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.admin-audit code{font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
@media(max-width:1180px){.wallet-hero{grid-template-columns:minmax(0,1fr) 220px;padding:30px}.wallet-coin img{width:220px}}
@media(max-width:700px){.wallet-hero{grid-template-columns:minmax(0,1fr) 120px;padding:25px 22px;min-height:270px}.wallet-coin{align-self:start;padding-top:18px}.wallet-coin img{width:130px;max-width:120%;margin-right:-8px}.wallet-totals{gap:22px}.wallet-totals strong{font-size:13px}.wallet-label{font-size:11px}.wallet-equivalent{max-width:205px;font-size:10px}.wallet-hero-copy{position:relative;z-index:1}.wallet-amount{font-size:34px;min-width:210px}.wallet-hero .pill{font-size:8px}.wallet-table th:first-child{width:49%}.wallet-table th,.wallet-table td{padding:12px 5px;font-size:10px}.wallet-table .transaction-id{font-size:9px}.wallet-table .wallet-delta{font-size:11px}.wallet-payment-row{grid-template-columns:minmax(0,1fr) auto;gap:7px}.wallet-payment-row>.icon{display:none}.wallet-payment-row>.pill{grid-column:1;grid-row:2;justify-self:start}.wallet-payment-row>strong{grid-column:2;grid-row:1}.admin-stats{grid-template-columns:1fr}.admin-audit th:first-child{width:26%}.admin-audit th:nth-child(2){width:28%}.receipt-meta{grid-template-columns:1fr;gap:5px}.receipt-meta dd{margin-bottom:12px}.wallet-pagination{flex-wrap:wrap}}
@media(max-width:390px){.wallet-hero{grid-template-columns:minmax(0,1fr) 85px;padding:24px 17px}.wallet-coin img{width:110px;max-width:145%;margin-right:-20px}.wallet-totals{gap:17px}.wallet-amount{font-size:30px;min-width:185px}.wallet-table th:first-child{width:45%}.wallet-table td small{font-size:9px}}
