/* driver-dispatcher-layout-20260909b: expand during entry, restore normal form density on completion. */
#tripForm #dispatcher { display: none !important; }
#tripForm #dispatcherOther { min-width: 0; width: 100%; }
#tripForm #dispatcherHelp[hidden],
#tripForm #dispatcherSuggestions[hidden] { display: none !important; }
#tripForm .dispatcher-name-help { color: var(--muted); margin: 0; font-size: 12px; }
#tripForm .dispatcher-name-suggestions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; margin-top: 4px;
}
#tripForm .dispatcher-name-suggestions > span { font-size: 12px; color: var(--muted); }
#tripForm .dispatcher-name-choice {
  min-height: 44px; width: auto; max-width: 100%; padding: 6px 10px;
  white-space: normal; overflow-wrap: anywhere; font-size: 15px;
  border: 1px solid var(--field-line); border-radius: 8px;
  background: var(--field-bg); color: var(--ink); cursor: pointer;
}
#tripForm .dispatcher-name-choice[aria-pressed="true"] { border-color: var(--brand); background: var(--soft); }
.driver-body:not(.driver-trip-prereq-pending) #tripForm .dispatcher-service-row #dispatcherOther,
.driver-body:not(.driver-trip-prereq-pending) #tripForm .dispatcher-service-row #serviceType {
  height: 38px !important; min-height: 38px !important; padding: 6px 11px !important;
  font-size: 16px !important; line-height: 1.15 !important;
}
.driver-body.driver-trip-prereq-pending #tripForm .dispatcher-service-row #dispatcherOther,
.driver-body.driver-trip-prereq-pending #tripForm .dispatcher-service-row #serviceType {
  min-height: 48px !important; font-size: 18px !important;
}
