.central-wallet-panel{margin:18px 0;padding:16px;border:1px solid #dbeee1;border-radius:18px;background:#f7fcf8;color:#173b25;box-shadow:0 8px 24px rgba(28,100,48,.07)}
.central-wallet-heading,.central-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.central-wallet-heading h3,.central-dialog-head h2{margin:0;font-size:1.1rem}.central-wallet-heading [role=status]{font-size:.8rem;color:#607769}
.central-currency-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.central-asset-card,.central-resource-card{min-width:0;padding:12px;border:1px solid #e2eee5;border-radius:13px;background:#fff}.central-asset-name{font-weight:750}.central-asset-amount{margin-top:5px;font-size:1.18rem;font-weight:850;overflow-wrap:anywhere;color:#18743a}.central-asset-meta{display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:7px;color:#52675a;font-size:.78rem}
.central-asset-title{display:flex;align-items:center;gap:7px}.central-asset-icon{font-size:1.2rem;line-height:1;flex:none}
.central-resource-groups{display:grid;gap:14px;margin-top:16px}.central-resource-group h4{margin:0 0 8px;font-size:.95rem}.central-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.central-resource-card{padding:10px}.central-resource-card .central-asset-amount{font-size:1rem}.central-wallet-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.central-action{min-height:42px;padding:9px 14px;border:1px solid #198542;border-radius:12px;background:#198542;color:white;font:inherit;font-weight:700;cursor:pointer}.central-action.secondary{background:white;color:#176a35}.central-action:focus-visible{outline:3px solid #9fdbb1;outline-offset:2px}
.central-transactions{margin-top:14px;border-top:1px solid #dbeee1}.central-transaction{padding:10px 0;border-bottom:1px solid #e4eee6;font-size:.86rem}.central-transaction time{display:block;color:#617568;font-size:.75rem}.central-inventory-dialog{width:min(92vw,720px);max-height:85vh;padding:18px;border:1px solid #dbeee1;border-radius:18px;color:#173b25}.central-inventory-dialog::backdrop{background:rgba(8,25,14,.45)}.central-inventory-category{margin:16px 0}.central-inventory-category h3{margin:0 0 8px}.central-inventory-item{padding:10px;border-bottom:1px solid #e3eee5}.central-inventory-item small{display:block;color:#607769}.central-empty{padding:12px;color:#607769}
@media(max-width:390px){.central-wallet-panel{padding:12px}.central-currency-grid{gap:7px}.central-asset-card{padding:10px}.central-asset-amount{font-size:1.02rem}.central-asset-meta{font-size:.72rem}}

.central-asset-icon-image{display:block;width:48px;height:48px;object-fit:contain;flex:none;border-radius:8px}
.central-asset-title{min-width:0}
.central-asset-name{min-width:0;overflow-wrap:anywhere}

/* Compact, fixed three-card currency row; resource groups keep their existing grid. */
.central-currency-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.central-currency-card{box-sizing:border-box;min-width:0;padding:8px 6px;text-align:center}
.central-currency-card .central-asset-title{flex-direction:column;justify-content:flex-start;gap:4px}
.central-currency-card .central-asset-icon-image{width:32px;height:32px}
.central-currency-card .central-asset-name{display:block;max-width:100%;font-size:clamp(.62rem,2.8vw,.78rem);line-height:1.2;overflow-wrap:anywhere;word-break:normal}
.central-currency-card .central-asset-amount{margin-top:4px;font-size:clamp(.82rem,3.5vw,1rem);line-height:1.15;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.central-asset-details{margin-top:5px;text-align:start;font-size:.68rem;line-height:1.25}
.central-asset-details summary{display:inline-block;max-width:100%;color:#176a35;font-weight:700;cursor:pointer;overflow-wrap:anywhere}
.central-asset-details summary:focus-visible{outline:2px solid #198542;outline-offset:2px;border-radius:3px}
.central-currency-card .central-asset-meta{display:grid;gap:2px;margin-top:4px;font-size:.68rem;overflow-wrap:anywhere}
@media(max-width:360px){.central-wallet-panel{padding:10px}.central-currency-grid{gap:5px}.central-currency-card{padding:7px 4px}.central-currency-card .central-asset-icon-image{width:28px;height:28px}.central-currency-card .central-asset-name{font-size:.62rem}}
@media(max-width:360px){
  .central-resource-grid .central-asset-card{padding:8px 6px}
  .central-resource-grid .central-asset-title{flex-direction:column;align-items:flex-start;gap:4px}
  .central-resource-grid .central-asset-icon-image{width:32px;height:32px}
  .central-resource-grid .central-asset-name{max-width:100%;overflow-wrap:break-word;word-break:normal;hyphens:auto}
}
