.chips-nautica,
.chips-maquinaria {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.chips-nautica label,
.chips-maquinaria label {
  min-width: 0;
}

.chips-nautica span,
.chips-maquinaria span {
  min-height: 44px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.chips-nautica label:last-child:nth-child(odd),
.chips-maquinaria label:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.chips-nautica label:hover span,
.chips-maquinaria label:hover span {
  border-color: var(--accent);
}

.chips-maquinaria span {
  height: 100%;
  min-height: 52px;
  padding: 8px 7px;
  font-weight: 600;
}

.chips-maquinaria input:checked + span {
  font-weight: 600;
}

.vehicle-combobox {
  position: relative;
  min-width: 0;
}

.vehicle-combobox > input {
  padding-right: 44px;
}

.vehicle-combobox-toggle {
  position: absolute;
  top: 1px;
  right: 1px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.vehicle-combobox-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vehicle-combobox-toggle:disabled {
  opacity: .4;
  cursor: default;
}

.vehicle-combobox-list {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: min(264px, 45vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px;
  border: 1px solid #cbd7e2;
  border-radius: 9px;
  background: #fff;
  color: #263c48;
  box-shadow: 0 8px 22px #192c3824;
  scrollbar-width: thin;
}

.vehicle-combobox-option {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 10px;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.vehicle-combobox-option:hover,
.vehicle-combobox-option.is-active {
  background: var(--soft);
  color: var(--accent2);
}

.vehicle-combobox-option[aria-selected="true"] {
  font-weight: 700;
}

.vehicle-combobox-empty {
  padding: 12px 10px;
  color: #687984;
  font-size: 12px;
}

.vehicle-combobox-toggle[hidden],
.vehicle-combobox-list[hidden] {
  display: none;
}

html[data-theme="dark"] .vehicle-combobox-list {
  border-color: #465862;
  background: var(--night-raised);
  color: var(--night-text);
  box-shadow: 0 8px 22px #0005;
}

html[data-theme="dark"] .vehicle-combobox-empty {
  color: var(--night-muted);
}
