/* Иконки и пикер типов ТС */
.vt-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--amber, #e8a317);
  flex-shrink: 0;
  line-height: 0;
}
.vt-ico__svg {
  width: 100%;
  height: 100%;
  display: block;
}
.vt-ico--sm { width: 28px; height: 16px; }
.vt-ico--md { width: 44px; height: 24px; }
.vt-ico--lg { width: 64px; height: 36px; }
.vt-ico--xl { width: 88px; height: 48px; }

.vt-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 8px;
  margin: 8px 0 12px;
}
.vt-picker--trailers {
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  max-height: 280px;
  overflow: auto;
  padding-right: 4px;
}
.vt-chip {
  appearance: none;
  border: 1px solid var(--line, rgba(255,255,255,0.12));
  background: rgba(0,0,0,0.28);
  color: #d7e0ea;
  border-radius: 12px;
  padding: 10px 8px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font: inherit;
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1.25;
  min-height: 78px;
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
  position: relative;
}
.vt-chip:hover {
  border-color: rgba(232,163,23,0.45);
  background: rgba(232,163,23,0.08);
}
.vt-chip.is-on,
.vt-chip:has(.vt-chip__input:checked) {
  border-color: rgba(232,163,23,0.75);
  background: rgba(232,163,23,0.14);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(232,163,23,0.25);
}
.vt-chip__name {
  display: block;
  max-width: 100%;
}
.vt-chip__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.vt-select-sync {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}

.cargo-card__body-ico.vt-ico,
.cargo-card__body .vt-ico {
  color: var(--amber, #e8a317);
}
.veh-row-ico {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.veh-row-ico__text { min-width: 0; }
.vt-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
}
.vt-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 10px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.22);
  color: var(--fog);
  font-size: 0.88rem;
}
.vt-preview strong { color: #fff; }

@media (max-width: 640px) {
  .vt-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vt-picker--trailers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
