/* Account button and menu (2026-11-12, Mark: "merge settings and sign out into
   a single icon with the user's initials", same format and tabs as the
   redesign copy). Menu items come from js/shared/account-menu.js. */
.sidebar .nav-item[hidden] { display: none !important; }
.sidebar .nav-me { margin-top: 6px; }
.nav-me-av, .topbar-me span, .acct-av { width: 32px; height: 32px; border-radius: 50%; background: var(--coral-500, #D85A30); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex: none; letter-spacing: .02em; overflow: hidden; }
.nav-me-av img, .acct-av img { width: 100%; height: 100%; object-fit: cover; }
.sidebar .nav-me .nav-me-av { width: 28px; height: 28px; font-size: 13.5px; }
.topbar-me { display: none; }
@media (max-width: 768px) {
  .topbar-me { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; flex: none; margin-right: 4px; cursor: pointer; }
  .topbar-me span { width: 34px; height: 34px; font-size: 14px; }
}
.acct-menu { position: fixed; z-index: 3000; width: 260px; background: #FFFFFF; border: 1px solid var(--border, #E6E1DC); border-radius: 14px; box-shadow: 0 16px 40px rgba(17,17,20,.16); padding: 6px; font-family: Inter, system-ui, sans-serif; }
.acct-who { display: flex; align-items: center; gap: 10px; padding: 10px 10px 12px; border-bottom: 1px solid var(--border, #E6E1DC); margin-bottom: 4px; }
.acct-who > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.acct-who b { font-size: 14px; color: var(--ink, #1E1B19); }
.acct-who small { font-size: 14px; color: var(--dim, #6B645E); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-menu [data-acct] { display: flex; align-items: center; gap: 10px; width: 100%; height: 42px; padding: 0 10px; border: 0; border-radius: 9px; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink, #1E1B19); cursor: pointer; text-align: left; }
.acct-menu [data-acct] i { font-size: 18px; color: var(--coral-500, #D85A30); }
.acct-menu [data-acct]:hover, .acct-menu [data-acct]:focus-visible { background: var(--mid, #F3F1EF); outline: none; }
/* No box behind the initials (2026-11-25, Mark: "remove the white box around
   the user's initials"). The account button never shows the active/hover
   card; a thin ring on the circle shows hover and keyboard focus instead. */
.sidebar .nav-item.nav-me, .sidebar .nav-item.nav-me.active, .sidebar .nav-item.nav-me:hover { background: transparent; box-shadow: none; }
.sidebar .nav-item.nav-me:hover .nav-me-av, .sidebar .nav-item.nav-me:focus-visible .nav-me-av, .sidebar .nav-item.nav-me[aria-expanded="true"] .nav-me-av { box-shadow: 0 0 0 2px var(--bg, #F5F6F8), 0 0 0 4px var(--coral-300, #F0B49D); }
.sidebar .nav-item.nav-me:focus-visible { outline: none; }
