.organizationSwitcher {
  min-width: 208px;
}

.organizationSwitcherButton {
  min-height: 50px;
  padding: 7px 34px 7px 13px;
  border-color: rgba(165, 205, 191, .72);
  background: linear-gradient(140deg, #f8fcfa 0%, #eef7ff 100%);
  box-shadow: 0 7px 18px rgba(20, 63, 88, .08);
}

.organizationSwitcherButton[aria-expanded="true"]::after {
  transform: translateY(-25%) rotate(225deg);
}

.organizationSwitcherButton.isSwitching {
  cursor: wait;
  opacity: .72;
}

.organizationSwitcherContext {
  overflow: hidden;
  color: #56806f;
  font: 700 .59rem/1.2 "Manrope", sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.organizationSwitcherMenu {
  width: min(370px, calc(100vw - 28px));
  min-width: 310px;
  max-height: min(480px, 70vh);
  padding: 8px;
  border: 1px solid #d6e4df;
  border-radius: 16px;
  box-shadow: 0 22px 54px rgba(15, 45, 67, .22);
}

.organizationSwitcherMenuHeader {
  display: grid;
  gap: 3px;
  padding: 10px 11px 12px;
  border-bottom: 1px solid #e8efec;
}

.organizationSwitcherMenuHeader strong {
  color: #173a50;
  font: 800 .78rem/1.25 "Manrope", sans-serif;
}

.organizationSwitcherMenuHeader span {
  color: #75899a;
  font: 650 .65rem/1.3 "Manrope", sans-serif;
}

.organizationOption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  margin-top: 5px;
  padding: 8px 10px;
  white-space: normal;
}

.organizationOption:disabled {
  cursor: default;
  opacity: 1;
}

.organizationOptionIdentity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.organizationOptionIdentity > span:last-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.organizationOptionIdentity strong,
.organizationOptionIdentity small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.organizationOptionIdentity strong {
  color: #213d53;
  font: 800 .75rem/1.25 "Manrope", sans-serif;
}

.organizationOptionIdentity small {
  color: #6c8293;
  font: 650 .64rem/1.25 "Manrope", sans-serif;
}

.organizationOptionInitials {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  color: #fff;
  border-radius: 11px;
  background: linear-gradient(145deg, #176755, #2e91a2);
  font: 800 .68rem/1 "Manrope", sans-serif;
  letter-spacing: .04em;
}

.organizationOptionCurrent {
  flex: 0 0 auto;
  padding: 4px 8px;
  color: #08715c;
  border-radius: 999px;
  background: #dcf4ed;
  font: 800 .58rem/1.2 "Manrope", sans-serif;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .organizationSwitcher {
    width: 44px;
    min-width: 44px;
  }

  .organizationSwitcherButton {
    min-height: 42px;
    padding: 8px 23px 8px 8px;
  }

  .organizationSwitcherContext {
    display: none;
  }

  .organizationSwitcherMenu {
    position: fixed;
    top: 70px;
    right: 10px;
    left: auto;
    width: min(370px, calc(100vw - 20px));
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .organizationSwitcherButton::after { transition: none; }
}
