/* Use the toolbelt's navy glass and keep the catalogue rows unfilled. */
.range-picker {
  position: fixed;
  z-index: 110;
  padding: 18px 20px 14px;
  overflow: auto;
  border-radius: 14px;
  background: var(--tactical-glass);
  -webkit-backdrop-filter: var(--tactical-glass-filter);
  backdrop-filter: var(--tactical-glass-filter);
  color: #f6f8fb;
  color-scheme: dark;
  font: 14px/1.4 "Segoe UI", system-ui, sans-serif;
  text-shadow: 0 1px 3px #04070b;
  scrollbar-width: thin;
  scrollbar-color: #71809266 transparent;
}
.range-picker[hidden], .range-picker [hidden] { display: none !important; }
.tactical-toolbelt.is-open.has-range-picker { visibility: hidden; opacity: 0; pointer-events: none; }
.rp-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.rp-heading h3 { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: .015em; }
:where(.range-picker) button { font: inherit; color: inherit; text-shadow: inherit; cursor: pointer; }
.rp-close, .rp-item-delete {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #c7d2df;
  font-size: 21px;
  line-height: 1;
}
.rp-close:hover, .rp-item-delete:hover { color: white; background: #ffffff16; }
.range-picker input {
  font: inherit;
  color: inherit;
  text-shadow: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #c7d8ed4d;
  border-radius: 0;
}
.range-picker :focus-visible { outline: 1px solid #a3d2ff; outline-offset: 2px; }
.rp-search-label { display: block; margin-bottom: 10px; }
.rp-search {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 4px 3px 7px;
}
.rp-search::placeholder { color: #c3cbd5; opacity: 1; }
.rp-search:focus { outline: none; border-bottom-color: #a3d2ff; }
.rp-options {
  max-height: min(292px, 42vh);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #71809288 transparent;
  overscroll-behavior: contain;
  padding: 2px 3px 2px 0;
}
.rp-group + .rp-group { margin-top: 7px; }
.rp-group-title {
  margin: 0;
  padding: 7px 8px 3px;
  color: #c5def8;
  font-size: 12px;
  font-weight: 650;
}
.rp-option {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 14px;
  width: 100%;
  min-height: 32px;
  padding: 6px 8px;
  border: 0;
  border-radius: 4px;
  background: none;
  text-align: left;
}
.rp-option:hover, .rp-item:hover { background: #ffffff0f; }
.rp-option.is-selected, .rp-option[aria-selected="true"], .rp-option[aria-checked="true"], .rp-option:has(:checked) { color: #fff; font-weight: 650; }
.rp-option.is-selected::before, .rp-option[aria-selected="true"]::before, .rp-option[aria-checked="true"]::before, .rp-option:has(:checked)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 2px;
  border-radius: 2px;
  background: #9fcdff;
}
.rp-option:focus-visible, .rp-option:has(:focus-visible) { outline-offset: -1px; }
.rp-option-name { min-width: 0; overflow-wrap: anywhere; }
.rp-option-distance { color: #d4e6f8; font-weight: 450; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rp-empty { margin: 6px 8px; color: #c3cbd5; font-size: 13px; }
.rp-custom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 8px; }
.rp-custom input { width: 112px; min-height: 30px; padding: 3px 6px; }
.rp-custom input:invalid { border-color: #ff9d91; }
.rp-place {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 39px;
  margin-top: 8px;
  padding: 8px 8px 5px;
  border: 0;
  border-top: 1px solid #c7d8ed4d;
  background: none;
  color: #d4eaff;
  font-weight: 650;
  text-align: left;
}
.rp-place::after { content: "→"; font-size: 18px; line-height: 1; }
.rp-place:hover:not(:disabled) { color: #fff; }
.rp-place:disabled { opacity: .45; cursor: default; }
.rp-place:disabled::after { visibility: hidden; }
.rp-note { margin: 0 8px 3px; color: #c2ccd8; font-size: 11px; }
.rp-placed { margin-top: 7px; }
.rp-placed summary { padding: 5px 8px; color: #e3edf8; cursor: pointer; font-size: 13px; }
.rp-placed summary span { color: #b9cadc; }
.rp-items { max-height: 128px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.rp-item { display: flex; align-items: center; gap: 3px; min-height: 32px; border-radius: 4px; }
.rp-item.is-selected { box-shadow: inset 2px 0 #9fcdff; }
.rp-item-name {
  flex: 1;
  min-width: 0;
  padding: 5px 8px;
  border: 0;
  background: none;
  text-align: left;
  overflow-wrap: anywhere;
}
.rp-item-name:hover { color: #c8e3ff; }
.rp-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 480px) {
  .range-picker { padding: 14px 13px 10px; }
  .rp-option { column-gap: 9px; }
  .rp-option-distance { font-size: 13px; }
}
