/* Alembic phase 2: the only visual change of this round — the place picker from the
   place-picker-sounds branch (commit 49ab67a). New selectors only; style.css and additions.css stay as they are. */

/* Copied from the branch's css/style.css. */
.place-field {
  display: grid;
  gap: 6px;
  margin: 8px 0 12px;
}
.place-label {
  font-size: 0.9rem;
  color: var(--ink-2);
}
.city-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.city-picker [data-cp='city'] {
  grid-column: 1 / -1;
}
.city-picker [hidden] {
  display: none;
}
.city-picker select {
  margin-bottom: 0;
}

/* City level: a text box that looks like the reference select, with a listbox under it. */
.city-combo {
  position: relative;
}
.city-combo input[type='text'] {
  margin-bottom: 0;
  padding-right: 28px;
}
.city-combo::after {
  content: '▾';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-2);
  pointer-events: none;
  font-size: 0.85rem;
}
.city-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 2px);
  z-index: 20;
  list-style: none;
  margin: 0;
  padding: 2px 0;
  max-height: calc(8 * 2.2em);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.city-list li {
  padding: 6px 10px;
  line-height: 1.4;
  cursor: pointer;
}
.city-list li[aria-selected='true'],
.city-list li.active {
  background: var(--kraft);
}
.city-list li.none {
  color: var(--ink-2);
  cursor: default;
}
.place-field .coords {
  margin-top: 4px;
}
