/* Functional UI for plugin-owned account markup only. Visual tokens live in
   the account Widget's local CSS/native controls. No Container layout rules.
   Scope/evidence: templates/navigation.php and Woo/Pro 11.1.2/4.1.1. */
.ag-account-nav .ag-account-mobile-heading { display: none; }
.ag-account-nav .ag-account-greeting { display: block; }
.ag-account-auth .ag-account-auth-switch a,
.ag-account-auth .ag-account-auth-shop a,
.ag-account-addresses .ag-account-address-edit { display: inline-flex; align-items: center; min-height: 44px; }
.ag-account-nav .ag-account-menu-toggle[hidden] { display: none; }
@media (max-width: 1024px) {
    .ag-account-nav .ag-account-mobile-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 0; }
    .ag-account-nav .ag-account-mobile-heading h2 { flex: 1 1 128px; min-width: 0; margin: 0; padding: 0; overflow-wrap: anywhere; }
    .ag-account-nav .ag-account-menu-toggle { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 0; margin: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; font-size: 16px; font-weight: 600; line-height: 1.5; white-space: nowrap; cursor: pointer; }
    .ag-account-nav .ag-account-menu-toggle:hover { text-decoration: underline; text-underline-offset: 5px; }
    .ag-account-nav .ag-account-menu-chevron { display: block; flex: none; width: 8px; height: 8px; margin: 0 4px 4px 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
    .ag-account-nav .ag-account-menu-toggle[aria-expanded="true"] .ag-account-menu-chevron { transform: rotate(225deg); margin-bottom: 0; }
    .ag-account-nav .ag-account-greeting { display: block; margin: 24px 0 16px; }
    .ag-account-nav[data-ag-menu-open="false"] .ag-account-menu-body { display: none; }
    /* This is a live disclosure, never a hidden layout spacer. With JS disabled
       the full native link list is visible. Desktop never collapses. */
}
