/* Email stays complete; narrower screens wrap it inside the same account card. */
.app-page > .page-topbar .dh-account-tools{display:flex;align-items:center;gap:12px;max-width:100%;min-width:0;margin-left:auto;flex:0 1 auto}
.dh-account-tools .dh-account-pill{display:flex!important;align-items:center;gap:12px;width:auto;max-width:100%;min-width:0;min-height:52px;padding:6px 8px 6px 14px;border:1px solid #d5dcf4;border-radius:12px;background:#edf0fc;color:#25365c;box-shadow:0 2px 5px #17255406;cursor:pointer}
.dh-account-tools .dh-account-copy{display:block;min-width:0;text-align:left}
.dh-account-tools .dh-account-copy strong{display:block;max-width:none;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;font-size:14px;font-weight:600;line-height:1.45}
.dh-account-tools .dh-account-copy span{display:none}
.dh-account-tools .dh-account-pill .avatar{flex:0 0 36px;width:36px;height:36px;border-radius:9px;background:#fff;color:var(--brand)}
.dh-account-notifications{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #d5dcec;border-radius:11px;background:#fff;color:var(--brand);cursor:pointer}
.dh-account-notifications svg{width:24px;height:24px;display:block}
.dh-account-unread{position:absolute;right:-6px;top:-7px;min-width:21px;min-height:21px;padding:2px 5px;border:2px solid #f4f6fa;border-radius:20px;background:#c62c45;color:#fff;font-size:10px;line-height:14px;font-weight:750;font-variant-numeric:tabular-nums}
.dh-account-tools .dh-account-pill:hover{background:#e4e9fb;border-color:#b7c4ef}
.dh-account-notifications:hover{background:#edf0fc;border-color:#b7c4ef}
.dh-account-tools button:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
@media(max-width:900px){
  .app-page > .page-topbar .dh-account-tools{width:max-content;margin:14px 0 0 auto;gap:10px}
}
@media(max-width:520px){
  .app-page > .page-topbar .dh-account-tools{width:100%}
  .dh-account-tools .dh-account-pill{flex:1;gap:8px;padding-left:10px;min-height:50px}
  .dh-account-tools .dh-account-copy strong{font-size:12px;line-height:1.5}
  .dh-account-tools .dh-account-pill .avatar{flex-basis:32px;width:32px;height:32px}
}
