.joined-select {
  position: relative;
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  vertical-align: middle;
  color: #262633;
  pointer-events: auto;
}
.joined-select.city-select { width: 175px; }
.joined-select:not([data-ready]) > svg { display: none; }
.joined-select:not([data-ready]) > select { width: 100%; min-height: 42px; max-width: 100%; }
.joined-select[data-ready] { height: 42px; }
.joined-select[data-ready] > select { display: none; }
.joined-select[data-open] { z-index: 8; }
.joined-select [hidden] { display: none !important; }
.joined-select .joined-shell {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid #d8d8da;
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 2px 9px rgb(0 0 0 / 6%);
}
.joined-select[data-above] .joined-shell { inset: auto 0 0; flex-direction: column-reverse; }
.joined-select[data-open] .joined-shell { border-color: #8c8c8f; box-shadow: 0 5px 16px rgb(0 0 0 / 10%); }
.joined-select .joined-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  width: 100%;
  min-width: 0;
  height: 40px;
  margin: 0;
  padding: 0 13px;
  border: 0;
  border-radius: 0;
  background: #f8f9fa;
  color: #262633;
  font: 600 14px/1.3 var(--ui-font, system-ui, sans-serif);
  text-align: start;
  cursor: pointer;
}
.joined-select:has(.joined-trigger:is(:hover, :active)) .joined-shell { border-color: #8c8c8f; }
.joined-select .joined-trigger:focus-visible { outline: 2px solid #262633; outline-offset: -3px; border-radius: 20px; }
@supports selector(:has(*)) {
  .joined-select .joined-shell:has(.joined-trigger:focus-visible) { outline: 2px solid #262633; outline-offset: 1px; }
  .joined-select .joined-trigger:focus-visible { outline: none; }
}
.joined-select .joined-trigger:disabled { color: #777; cursor: default; }
.joined-select .joined-caption { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.joined-select .joined-trigger svg {
  position: static;
  flex: none;
  width: 16px;
  height: 16px;
  pointer-events: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.joined-select .joined-trigger .chevron { width: 13px; height: 13px; }
.joined-select .joined-trigger .joined-caret {
  flex: none; box-sizing: border-box; width: 7px; height: 7px;
  margin: -3px 2px 0 0; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.joined-select[data-open] .joined-trigger .chevron { transform: rotate(180deg); }
.joined-select[data-open] .joined-trigger .joined-caret { margin-top: 3px; transform: rotate(225deg); }
.joined-select .joined-list {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #929295 #fff;
  border-block-start: 1px solid #e3e3e3;
  max-height: var(--joined-list-height, 280px);
  box-sizing: border-box;
  padding-block: 3px 6px;
  background: #fff;
}
.joined-select[data-above] .joined-list { border-block-start: 0; border-block-end: 1px solid #e3e3e3; padding-block: 6px 3px; }
.joined-select .joined-option {
  display: block;
  box-sizing: border-box;
  min-height: 36px;
  padding: 8px 13px;
  color: #262633;
  background: #fff;
  font: 400 14px/1.35 var(--ui-font, system-ui, sans-serif);
  text-align: start;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.joined-select .joined-option[aria-selected=true] { font-weight: 650; }
.joined-select .joined-option[data-active] { background: #f8f9fa; box-shadow: inset 2px 0 #666; }
.joined-select .joined-option[aria-disabled=true] { color: #777; cursor: default; }
.joined-select .joined-option-counted {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}
.joined-select .joined-city-name { min-width: 0; hyphens: auto; }
.joined-select .joined-count {
  flex: 0 0 auto;
  box-sizing: border-box;
  min-width: 20px;
  max-width: 55%;
  overflow: hidden;
  padding: 2px 6px;
  border-radius: 999px;
  color: #fff;
  background: #c43843;
  font: 650 11px/16px var(--ui-font, system-ui, sans-serif);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: center;
  text-overflow: ellipsis;
}
@media (pointer: coarse) { .joined-select .joined-option { min-height: 43px; padding-block: 11px; } }
