/* Crosstown neighborhoods. Inherits the theme's fonts and colors. */

.csi-nav {
  margin: 2em 0 1em;
  padding-top: 1em;
  border-top: 1px solid currentColor;
  border-top-color: color-mix(in srgb, currentColor 20%, transparent);
}
.csi-nav__label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35em;
}
.csi-nav__select,
.csi-picker__select {
  max-width: 100%;
  min-height: 2.5em;
  padding: 0.3em 0.5em;
  font: inherit;
}
.csi-nav__list {
  columns: 2 12em;
  margin: 0.5em 0;
}
.csi-nav__more {
  margin: 0.75em 0 0;
}

.csi-picker {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  max-width: 28em;
  padding: 1.25em;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 20%, transparent);
  border-radius: 8px;
}
.csi-picker__title {
  font-size: 1.15em;
  font-weight: 700;
}
.csi-picker__row {
  display: flex;
  gap: 0.5em;
}
.csi-picker__select {
  flex: 1 1 auto;
  min-width: 0;
}
.csi-picker__go {
  flex: 0 0 auto;
  cursor: pointer;
}
.csi-picker__locate {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.csi-picker__locate[hidden] {
  display: none;
}
.csi-picker__status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.9em;
  opacity: 0.8;
}
.csi-picker--empty {
  padding: 0.75em;
  border: 1px dashed currentColor;
  font-size: 0.9em;
}

.csi-directory {
  columns: 3 12em;
  padding-left: 1.2em;
}
.csi-directory li {
  break-inside: avoid;
  margin-bottom: 0.3em;
}
.csi-directory__all {
  font-size: 0.85em;
  opacity: 0.8;
}

.csi-nav__editor-note {
  margin: .5em 0 0;
  padding: .5em .75em;
  border-left: 3px solid #dba617;
  background: rgba(219, 166, 23, .1);
  font-size: .875em;
}

.csi-nav__form { margin: 0; }
.csi-nav__row { display: flex; flex-wrap: wrap; gap: .5em; align-items: center; }
.csi-nav__row .csi-nav__select { flex: 1 1 12em; max-width: 24em; }
