.profile-source-control > select[hidden] { display: none; }
.profile-source-picker { display: block; width: 100%; min-width: 0; }
.profile-source-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 0 6px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--text, #e6ebf1);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.profile-source-trigger > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-source-trigger::after {
  content: '';
  width: 6px;
  height: 6px;
  margin: -3px 2px 0 auto;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  flex: none;
}
.profile-source-trigger[aria-expanded="true"]::after { transform: translateY(3px) rotate(225deg); }
.profile-source-trigger:focus-visible { outline: 2px solid var(--blue, #65a9ef); outline-offset: -2px; }
.profile-source-options {
  box-sizing: border-box;
  position: fixed;
  z-index: 220;
  padding: 4px;
  border: 1px solid #39424c;
  border-radius: 8px;
  background: #23272c;
  color: #e3e9ef;
  box-shadow: 0 10px 30px #0005;
  overflow-y: auto;
  overscroll-behavior: contain;
  font: inherit;
  font-size: 13px;
}
.profile-source-options [role="option"] {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border-radius: 5px;
  padding: 4px 8px;
  cursor: pointer;
}
.profile-source-options [role="option"]:hover,
.profile-source-options [role="option"]:focus { background: #353b43; outline: none; }
.profile-source-options [aria-selected="true"] { background: #283746; }
.profile-source-options .stat-icon, .profile-source-trigger .stat-icon { width: 20px; height: 20px; }
@media (max-width: 1240px) { .profile-source-trigger { min-height: 24px; } }
@media (max-width: 820px) { .profile-source-trigger { min-height: 26px; } }
