/**
 * My Account (profile) icon.
 *
 * Used by the [tsc_account_icon] shortcode (theme header). Loaded site-wide,
 * so — like cart-icon.css — it renders outside the .tsc-* design-token scopes
 * and uses literal values. The icon itself is stroked with currentColor, so
 * it inherits the header's text colour instead of forcing one.
 */

.tsc-account-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px;
    color: inherit;
    text-decoration: none;
    line-height: 1;
}

.tsc-account-icon:hover,
.tsc-account-icon:focus {
    color: inherit;
    text-decoration: none;
}

/* Matches the cart icon's focus treatment expectations in most themes. */
.tsc-account-icon:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    border-radius: 4px;
}

.tsc-account-icon__svg {
    display: block;
    flex: 0 0 auto;
}

.tsc-account-icon__label {
    font-size: 13px;
    font-weight: 500;
}
