/* Shared account header — /assets/account-header.css. One passive component for every project (Slevin, email.com.ua…).
   Neutral by default: it inherits the page colour and font, so a project theme only sets the variables below
   (or styles the same classes). No words in CSS; the brand name comes from the build profile.
   Variables: --account-header-width (aligns with the account card), --account-header-height, --account-header-logo. */
.account-header {
  --_w: var(--account-header-width, 44rem);
  --_h: var(--account-header-height, 64px);
  --_logo: var(--account-header-logo, 32px);
  display: block;
  color: inherit;
  font: inherit;
}
.account-header__in {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  max-inline-size: var(--_w);
  min-block-size: var(--_h);
  margin-inline: auto;
  padding-inline: 16px;
}
.account-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-block-size: 44px;           /* target on the phone (VISUAL-QA 11) */
  padding-inline-end: 6px;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
}
.account-header__logo { inline-size: var(--_logo); block-size: var(--_logo); flex: none; border-radius: 8px; }
.account-header__name { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; }
.account-header__brand:hover .account-header__name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.account-header__brand:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (max-width: 680px) {
  .account-header__in { min-block-size: 56px; padding-inline: 18px; }
  .account-header__name { font-size: 17px; }
}
@media (forced-colors: active) { .account-header__brand:focus-visible { outline-color: Highlight; } }
