.client-account-switcher { min-width: 0; }
.client-topbar__left { min-width: 0; }
.client-topbar__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.client-topbar__actions { flex-shrink: 0; }
.client-topbar__workspace-controls { display: flex; align-items: center; gap: 10px; }
.client-account-switcher__toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 300px;
    height: 42px;
    padding: 4px 12px;
    border: 0;
    border-radius: 12px;
    background: var(--eurion-surface-raised, var(--client-panel));
    box-shadow: none;
    color: var(--client-text);
    text-align: left;
    transition: .18s ease;
}
.client-account-switcher__toggle:hover,
.client-account-switcher__toggle[aria-expanded="true"] { background: var(--eurion-surface-hover, var(--client-panel-2)); }
.client-account-switcher :is(button,a):focus-visible { outline: 2px solid var(--client-accent); outline-offset: 2px; }
.client-account-switcher__toggle > i { flex-shrink: 0; font-size: 19px; }
.client-account-switcher__current { display: grid; gap: 1px; min-width: 0; line-height: 1.2; }
.client-account-switcher__current small { font-size: 10px; color: var(--client-muted); }
.client-account-switcher__current strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.client-account-switcher__menu { width: 330px; max-width: calc(100vw - 24px); max-height: min(480px, 70vh); overflow-y: auto; padding: 8px; }
.client-account-switcher__heading { padding: 8px 10px 12px; font-size: 12px; color: var(--client-muted); }
.client-account-switcher__empty { margin: 0; padding: 10px; color: var(--client-muted); font-size: 13px; }
.client-account-switcher__menu form { margin: 0; }
.client-account-switcher__menu .client-account-switcher__item { display: flex; gap: 12px; align-items: center; padding: 12px 10px; border-radius: 7px; white-space: normal; }
.client-account-switcher__item > span { display: grid; gap: 3px; flex: 1; min-width: 0; }
.client-account-switcher__item strong { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.client-account-switcher__item small { color: var(--client-muted); font-size: 11px; }
.client-account-switcher__menu .is-selected { background: var(--client-accent-soft); color: var(--client-text); }
.client-account-switcher__item .la-check { color: var(--client-accent); }
@media (max-width: 1199px) {
    .client-account-switcher__toggle { max-width: 210px; }
}
@media (max-width: 767px) {
    .client-account-switcher__toggle { max-width: 190px; padding: 7px 9px; gap: 7px; }
    .client-account-switcher__current small { display: none; }
    .client-account-switcher__toggle > i:first-child { display: none; }
}
@media (max-width: 575.98px) {
    .client-admin-body:has(.client-topbar__workspace-controls):has(.client-account-switcher) { --client-topbar-height: 112px; }
    .client-topbar:has(.client-topbar__workspace-controls):has(.client-account-switcher) { align-items: flex-start; padding-top: 8px; gap: 10px; }
    .client-topbar:has(.client-account-switcher) .client-topbar__context { display: none; }
    .client-topbar:has(.client-topbar__workspace-controls) .client-topbar__actions:has(.client-account-switcher) { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; flex: 1; min-width: 0; }
    .client-topbar__actions:has(.client-account-switcher) .client-topbar__workspace-controls { grid-row: 2; grid-column: 1 / -1; justify-self: end; gap: 7px; }
    .client-topbar__actions .client-account-switcher { grid-row: 1; grid-column: 1; justify-self: end; }
    .client-topbar__actions > .dropdown:not(.client-account-switcher) { grid-row: 1; grid-column: 2; }
}
@media (max-width: 420px) {
    .client-account-switcher__toggle { max-width: 145px; }
}
