.trip-cancel-tag { display:inline-block; color:#ffceae; background:#91503a32; border:1px solid #bd79675a; border-radius:6px; padding:2px 5px; font-size:10px; margin-top:5px; }
#trip-cancel-form label { display:grid; gap:5px; font-size:13px; color:#d7e7d0; }
#trip-cancel-form select { width:100%; min-height:44px; padding:5px 8px; border:1px solid #84a593; border-radius:8px; background:#17332b; color:#edf5e7; font:inherit; font-size:16px; }
.trip-contact-layer .trip-chat { max-height:min(38dvh,320px); overflow:auto; scroll-behavior:auto; overscroll-behavior:contain; touch-action:pan-y; }
.touch-mode .ride-talk { z-index:10; }
.touch-mode #ride-toggle { pointer-events:auto; min-height:44px; touch-action:manipulation; }
.touch-mode .trip-contact-layer { z-index:14; }
.touch-mode .trip-contact-layer .dialog { max-height:min(100%,calc(100dvh - var(--top) - var(--bottom))); }
.touch-mode .trip-contact-layer .dialog-content { min-height:0; touch-action:pan-y; }
.touch-mode .trip-contact-layer .trip-chat { max-height:min(36dvh,260px); }
.touch-mode .trip-contact-layer :is(button,input) { min-height:44px; }
.touch-mode #customer-text-form input { font-size:16px; }
@media (orientation:landscape) and (max-height:430px) {
  .touch-mode .trip-contact-layer .trip-chat { max-height:27dvh; }
}

.trip-contact-layer .trip-message { min-width:0; overflow-wrap:anywhere; }
.trip-voice { display:flex; align-items:center; gap:8px; justify-content:space-between; margin:0 0 10px; padding:6px 8px; background:#142d26; border-radius:9px; }
.trip-voice p { margin:0; min-width:0; color:#cfe7ce; overflow-wrap:anywhere; }
.trip-voice .action-row { flex:none; margin:0; }
.trip-replies { border-top:1px solid #79978762; padding-top:8px; }
.trip-replies button { white-space:normal; text-align:left; }
.touch-mode .trip-voice { flex-wrap:wrap; }
