/* THEON AUTH (Phase 9 · B4) — admin chrome account menu (top-right). Mounted by admin-account.js
   only when a live session resolves; in the not-enforced cutover window it stays absent so the
   pre-auth studio is visually unchanged. §8 warm-black + chartreuse, never tenant colours. */

.acct-menu { position: relative; display: inline-flex; align-items: center; }

.acct-av {
  /* P3a: reset the base.css `button { padding:6px 12px }` — with box-sizing:border-box it ate this
     28px box down to a 4px content area and shoved the initials hard left. Flex-centre + padding:0
     makes the studio (button) avatar identical to the projects (span) one, which was already right. */
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
  background: var(--accent-soft, rgba(212, 255, 61, 0.12));
  border: 1px solid var(--accent, #d4ff3d);
  color: var(--accent, #d4ff3d);
  font-family: var(--mono, monospace);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-indent: 0.02em; /* nudge for the trailing letter-spacing so the pair sits optically centred */
  cursor: pointer;
  transition: filter 0.15s ease;
}
.acct-av:hover { filter: brightness(1.12); }
.acct-av:focus-visible { outline: 2px solid var(--accent, #d4ff3d); outline-offset: 2px; }

.acct-pop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1200; /* above the focus shell (#focus-root z-index:1000) — see floating-editor lesson */
  min-width: 13rem;
  background: var(--surface, #231f1d);
  border: 1px solid var(--rule, #2d2825);
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.acct-pop[hidden] { display: none; }

.acct-who {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.4rem 0.5rem 0.6rem;
  border-bottom: 1px solid var(--rule-soft, #25201d);
  margin-bottom: 0.3rem;
}
.acct-name {
  font-family: var(--display, 'Cinzel', serif);
  font-size: 0.86rem;
  color: var(--ink, #e8e3dd);
}
.acct-mail {
  font-family: var(--mono, monospace);
  font-size: 0.64rem;
  color: var(--ink-faint, #7a7268);
  word-break: break-all;
}
.acct-link {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--ink-mid, #a89e8f);
  font-family: var(--mono, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.5rem;
  cursor: pointer;
  text-decoration: none;
}
.acct-link:hover { background: var(--surface-2, #2a2522); color: var(--ink, #e8e3dd); }
