#vehicle-dialog {
  width: min(820px, 94vw);
  max-height: 92vh;
  overflow: auto;
}

#vehicle-form {
  padding: 27px 30px;
}

#vehicle-form textarea {
  border: 1px solid #dbe3e8;
  border-radius: 9px;
  padding: 13px 14px;
  font: inherit;
  resize: vertical;
}

#vehicle-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #1677ff1a;
  outline: none;
}

.registration-section {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 14px;
}

.registration-section h3 {
  margin: 0 0 16px;
  color: #0a6583;
  font-size: 13px;
  letter-spacing: .2px;
}

.registration-section .form-grid label { margin-bottom: 14px; }

#vehicle-form .dialog-actions {
  position: sticky;
  bottom: -27px;
  padding: 16px 0 2px;
  border-top: 1px solid var(--line);
  background: white;
}

@media (max-width: 760px) {
  #vehicle-form { padding: 22px 18px; }
  #vehicle-form .dialog-actions { bottom: -22px; }
}
