/* AbhiLeads — signed-in account inside the app (built by account.js). */

/* desktop card: the account replaces the "AbhiLeads" label */
aside.sidebar > div:last-child > div:first-child > div:first-child:has(#al-who) > p { display: none; }
#al-who {
  display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; margin-right: 8px; padding: 0;
  border: 0; background: none; color: var(--ink, #1d2233); font: 600 12.5px/1.2 var(--font, system-ui); text-align: left; cursor: pointer;
}
#al-who .al-av { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow, #fdd033); color: var(--ink, #1d2233); font-size: 11px; font-weight: 800; }
#al-who .al-em { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#al-who:hover .al-em { text-decoration: underline; text-decoration-color: var(--yellow-deep, #e8b923); text-underline-offset: 3px; }

/* phone + collapsed rail: one round button at the foot of the rail */
#al-acct-btn {
  display: none; position: fixed; z-index: 900; left: 12px; bottom: 14px; width: 40px; height: 40px; padding: 0;
  place-items: center; border-radius: 50%; border: 1px solid var(--rule, #e3e5ea); background: var(--yellow, #fdd033);
  color: var(--ink, #1d2233); font: 800 15px/1 var(--font, system-ui); cursor: pointer; transition: scale .15s ease;
}
#al-acct-btn:active { scale: .94; }
body:has(aside.sidebar.w-\[72px\]) #al-acct-btn { display: grid; left: 16px; bottom: 72px; }
@media (max-width: 768px) {
  #al-acct-btn { display: grid; left: 12px; bottom: 14px; }
  aside.sidebar nav { padding-bottom: 64px !important; }
}

#al-acct { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 16px; background: rgba(20, 24, 42, .35); font-family: var(--font, system-ui); animation: am-fade .2s ease both; }
#al-acct .al-acct-box { width: min(380px, 100%); padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--rule-strong, #c9ccd3); color: var(--ink, #1d2233); animation: am-dialog .3s cubic-bezier(.2, .7, .1, 1) both; }
#al-acct p { margin: 0; }
#al-acct .al-acct-k { font-size: 13px; color: var(--ink-3, #6b7080); }
#al-acct .al-acct-e { margin-top: 4px; font-size: 18px; font-weight: 800; font-stretch: 106%; letter-spacing: -0.01em; overflow-wrap: anywhere; }
#al-acct .al-acct-p { margin-top: 6px; font-size: 14px; color: var(--ink-2, #3d4252); }
#al-acct .al-acct-a { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
#al-acct .al-acct-a > * { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--rule-strong, #c9ccd3); background: #fff; color: var(--ink, #1d2233); font: 600 14px/1 var(--font, system-ui); text-decoration: none; cursor: pointer; }
#al-acct .al-acct-a a { background: var(--yellow, #fdd033); border-color: var(--yellow, #fdd033); }
#al-acct .al-acct-a [data-al-close] { margin-left: auto; border-color: transparent; color: var(--ink-3, #6b7080); }

@media (prefers-reduced-motion: reduce) { #al-acct, #al-acct .al-acct-box { animation: none; } }
