.business-itinerary-editor{width:100%;min-width:0}.business-itinerary-editor .business-itinerary-row{margin:16px 0;padding:16px;border:1px solid var(--border,#dce6e5);border-radius:12px;min-width:0}.business-itinerary-row legend{padding:0 8px;font-weight:700}.business-itinerary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.business-itinerary-grid label{display:flex;flex-direction:column;gap:8px;min-width:0}.business-itinerary-purpose{grid-column:1/-1}.business-itinerary-grid input,.business-itinerary-grid textarea{width:100%;min-width:0;box-sizing:border-box;font-size:16px;min-height:44px}.business-itinerary-grid textarea{resize:vertical}.business-itinerary-editor button{min-height:44px}.business-itinerary-editor [hidden]{display:none!important}@media(max-width:560px){.business-itinerary-grid{grid-template-columns:1fr}.business-itinerary-editor .business-itinerary-row{padding:12px}}

/* Customer group legends float by default; nested trip legends must not inherit it. */
.customer-portal .customer-field-group .business-itinerary-row>legend{float:none;width:auto;max-width:100%;display:block;margin:0;padding:0 8px;white-space:normal}
.customer-portal .business-itinerary-editor .business-itinerary-grid{clear:both;width:100%;min-width:0;box-sizing:border-box}
.customer-portal .business-itinerary-editor .business-itinerary-row{display:block;min-inline-size:0;width:100%;box-sizing:border-box}
.customer-portal .business-itinerary-grid label{float:none;width:auto;max-width:100%;white-space:normal}
