.account-economics { border: 1px solid var(--line-strong); border-radius: .75rem; background: var(--surface); overflow: hidden; min-width: 0; color: var(--body); font-variant-numeric: tabular-nums; }
.ae-head, .ae-toolbar, .ae-views, .account-brief-head { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .8rem; }
.ae-head { justify-content: space-between; background: var(--navy); padding: .9rem clamp(.8rem, 2.2vw, 1.45rem); }
.ae-head h2 { color: white; font-size: clamp(1.12rem, 2vw, 1.5rem); }
.ae-head span { font-family: var(--mono); font-size: .8rem; color: #dbe5f1; }
.ae-toolbar { justify-content: space-between; padding: .7rem clamp(.75rem,2vw,1.25rem); border-bottom: 1px solid var(--line); }
.ae-views { gap: .2rem; border: 1px solid var(--line); border-radius: .45rem; padding: .2rem; }
.ae-views button { border: 0; background: transparent; color: var(--navy); font: inherit; font-weight: 600; padding: .37rem .65rem; border-radius: .3rem; cursor: pointer; }
.ae-views button[aria-pressed=true] { background: var(--navy); color: white; }
.ae-panel { min-width: 0; }
.account-brief { min-width: 0; display: grid; gap: .35rem; border-inline-start: 3px solid var(--blue-dark); background: var(--surface-soft); padding: .65rem .85rem; }
.account-brief-head { justify-content: flex-start; }
.account-brief-head h4 { font-size: 1rem; color: var(--navy); }
.account-brief-head span { color: var(--slate); font-size: .82rem; }
.account-brief-head button { border: 0; background: transparent; padding: .2rem 0; cursor: pointer; }
.account-brief details { min-width:0; }
.account-brief summary { width:fit-content; color:var(--blue-dark); cursor:pointer; font-size:.85rem; }
.account-brief pre { max-height: 15rem; overflow:auto; padding:.5rem; font: .82rem/1.45 var(--mono); white-space:pre-wrap; overflow-wrap:anywhere; }
@media (max-width: 34rem) { .ae-toolbar { align-items:flex-start; } .ae-views button { padding:.35rem .45rem; } }
