/* --- The jump overlay, the crumb out of a jump, and a refused address (#764) --- */

.page-head__crumb {
  display: block;
  margin: 0 0 0.2rem;
}

.page-head__jump {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.page-head__key {
  color: var(--text-faint);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.refusal {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  display: grid;
  gap: 0.6rem;
}

.refusal__said {
  margin: 0;
}

.refusal__mandanten {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--text-dim);
  font-size: 0.86rem;
}

/* Above the sheet, because the overlay is reached from a screen *and* from a
   record open over one, and a search box behind what it searches is no help. */
.sprung {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 40;
}

.sprung__scrim {
  position: absolute;
  inset: 0;
  background: rgb(6 8 10 / 45%);
}

.sprung__panel {
  position: relative;
  width: min(34rem, calc(100vw - 2rem));
  margin-top: 12vh;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px rgb(6 8 10 / 45%);
  overflow: hidden;
}

.sprung__input {
  font: inherit;
  font-size: 1.02rem;
  padding: 0.95rem 1.1rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.sprung__input:focus {
  outline: none;
}

.sprung__list {
  overflow-y: auto;
  min-height: 0;
  padding: 0.4rem 0 0.6rem;
}

.sprung__group {
  padding: 0.6rem 1.1rem 0.25rem;
}

.sprung__hit {
  font: inherit;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 0.5rem 1.1rem;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.sprung__hit.is-active,
.sprung__hit:hover {
  background: var(--surface-2);
}

.sprung__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sprung__meta {
  color: var(--text-faint);
  font-size: 0.82rem;
  flex-shrink: 0;
}

.sprung__empty {
  padding: 0.9rem 1.1rem;
  color: var(--text-faint);
}
