.vehicle-active-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
}
.vehicle-active-toggle > span:first-child { display: grid; gap: 5px; }
.vehicle-active-toggle small { color: var(--muted); font-weight: 400; line-height: 1.5; }
.vehicle-active-label { min-width: 55px; font-size: 13px; }
input[type="checkbox"][role="switch"] {
  appearance: none;
  position: relative;
  width: 44px;
  min-width: 44px;
  height: 26px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--muted);
  cursor: pointer;
}
input[type="checkbox"][role="switch"]::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform .15s;
}
input[type="checkbox"][role="switch"]:checked { background: var(--primary); }
input[type="checkbox"][role="switch"]:checked::after { transform: translateX(18px); }
input[type="checkbox"][role="switch"]:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.vehicle-status-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.autocomplete-item .autocomplete-plate {
  display: inline-block;
  margin-inline-start: 6px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel2);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.settings-user-page .settings-toggle:has(input[name="search_inactive_vehicles"]) { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 480px) {
  .vehicle-active-toggle { grid-template-columns: minmax(0, 1fr) auto; }
  .vehicle-active-label { grid-column: 1 / -1; }
}
