.accountChip {
  min-height:28px; padding:0 12px; border-radius:var(--r-pill);
  background:var(--bg-2); border:1px solid var(--line-control); color:var(--text-1);
  font:600 var(--fs-13)/1.2 var(--font-ui); font-variant-numeric:tabular-nums; cursor:pointer;
}
.accountChip:hover { background:var(--bg-3); }
.accountChip:focus-visible, :is(.accountDrawer,.consentDialog,.accountNotice) :focus-visible { box-shadow:var(--focus-ring); }
dialog.accountDrawer {
  position:fixed; inset:0 0 0 auto; height:100dvh; max-height:none; width:min(420px,100vw);
  max-width:100vw; min-width:0; box-sizing:border-box; margin:0; border-radius:0; border-left:1px solid var(--line-control);
  background:var(--bg-1); padding:24px; overflow:auto; overflow-wrap:anywhere; font-variant-numeric:tabular-nums;
}
.accountDrawer header, .accountDrawer li { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.accountDrawer [data-account-close] {
  width:32px; height:32px; background:transparent; color:var(--text-2); border:1px solid var(--line-control);
  border-radius:8px; font-size:var(--fs-18); line-height:1; padding:0; display:inline-flex; align-items:center; justify-content:center; flex:none; cursor:pointer;
}
.accountDrawer section { margin:20px 0; padding:16px; border-radius:var(--r-lg); background:var(--bg-2); }
.accountDrawer h3, .accountDrawer footer, .accountDrawer time { font-size:var(--fs-13); color:var(--text-3); }
.accountBalance { font-size:var(--fs-36); }
.accountDrawer dl { display:grid; grid-template-columns:1fr auto; gap:8px; }
.accountDrawer dd { margin:0; text-align:end; }
.accountDrawer ol { padding:0; }
.accountDrawer li { padding:10px 0; border-bottom:1px solid var(--line-2); color:var(--text-1); }
.accountDrawer time { display:block; }
.accountDrawer .positive { color:var(--st-approved-text); }
.accountDrawer [data-account-usage] { background:var(--st-chain-fill); border:1px solid var(--st-chain-line); }
dialog.consentDialog, dialog.accountNotice { box-sizing:border-box; min-width:0; width:min(480px,92vw); border:1px solid var(--line-control); }
.consentDialog label { display:flex; gap:10px; align-items:flex-start; min-height:24px; cursor:pointer; margin:12px 0; }
.consentDialog input { width:18px; height:18px; margin:0; }
.accountActions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:12px; }
:is(.accountDrawer,.consentDialog,.accountNotice) h2 { margin:0; font-size:var(--fs-18); line-height:var(--lh-tight); }
:is(.consentDialog,.accountNotice) h2 { margin-bottom:12px; }
.accountDrawer header { margin-bottom:12px; }
.accountDrawer section h3 { margin:0 0 12px; }
.accountDrawer section > :last-child { margin-bottom:0; }
.accountDrawer section > :first-child { margin-top:0; }
