/* Preserve the existing fields and palette, while letting addresses expand below them. */
.address-full-value {
  display:block;
  min-width:0;
  max-width:100%;
  margin:8px 3px 4px;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
  overflow:visible;
  line-height:1.5;
}
.address-suggestion-copy {
  display:block;
  flex:1 1 auto;
  min-width:0;
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
}
.address-suggestion-copy > strong,
.address-suggestion-copy > small {
  display:block;
  margin:0;
  white-space:normal;
  overflow-wrap:anywhere;
  line-height:1.5;
}
html.main-page .homepage-route-launcher .customer-address-options,
body.booking-document .address .suggestions {
  position:static;
  width:100%;
  max-width:100%;
  min-width:0;
  max-height:min(320px,42vh);
  margin:8px 0 0;
  overflow-x:hidden;
  overflow-y:auto;
}
html.main-page .homepage-route-launcher .customer-address-options button,
body.booking-document .address .suggestions button {
  display:flex;
  align-items:flex-start;
  gap:10px;
  width:100%;
  min-width:0;
  max-width:100%;
  height:auto;
  min-height:54px;
  white-space:normal;
  text-align:start;
  overflow-wrap:anywhere;
}
html.main-page .homepage-route-launcher .customer-address-options button > span:first-child,
body.booking-document .address .suggestions button > svg {
  flex-shrink:0;
}
html.main-page .homepage-route-launcher .homepage-route-when {
  box-sizing:border-box;
  min-width:0;
  margin:0;
  padding:7px 11px 9px;
  border:1px solid #48605e;
  border-radius:13px;
  background:#15353a;
  min-height:83px;
}
html.main-page .homepage-route-when > legend {
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
html.main-page .homepage-route-launcher > .customer-address-search > label,
html.main-page .homepage-route-launcher > .homepage-route-field {
  min-height:83px;
}
html.main-page .homepage-route-schedule {
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
  gap:10px;
  min-width:0;
}
html.main-page .homepage-route-launcher .homepage-route-schedule > label {
  min-height:0;
  min-width:0;
  padding:2px 0;
  border:0;
  background:none;
  gap:5px;
}
html.main-page .homepage-route-launcher > .homepage-route-when:nth-child(3) {
  grid-column:span 6;
}
html.main-page .homepage-route-launcher .homepage-route-picker {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  min-width:0;
  min-height:30px;
  color:#fff;
  direction:ltr!important;
  text-align:left!important;
  unicode-bidi:isolate;
}
html.main-page .homepage-route-picker > bdi {
  min-width:0;
  font-size:16px;
  font-weight:600;
  line-height:1.4;
  white-space:nowrap;
  direction:ltr!important;
  unicode-bidi:isolate;
}
html.main-page .homepage-route-picker > svg {
  flex-shrink:0;
  color:#f3cb84;
}
html.main-page .homepage-route-launcher .homepage-route-picker > input {
  position:absolute;
  inset:0;
  box-sizing:border-box;
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
  max-width:100%;
  margin:0;
  padding:0;
  opacity:0;
  cursor:pointer;
}
html.main-page .homepage-route-picker:focus-within {
  outline:2px solid #eebd6d;
  outline-offset:2px;
  border-radius:4px;
}
html.main-page .homepage-route-launcher > .homepage-route-counter {
  grid-column:span 6;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-width:0;
  min-height:44px;
  padding:3px 10px;
  border:1px solid #48605e;
  border-radius:10px;
  background:#15353a;
}
html.main-page .homepage-counter-label {
  min-width:0;
  color:#f3cb84;
  font-size:.8rem;
  font-weight:600;
  overflow-wrap:anywhere;
}
html.main-page .homepage-counter-controls {
  display:grid;
  grid-template-columns:36px 28px 36px;
  flex:0 0 auto;
  align-items:stretch;
  border:1px solid #48605e;
  border-radius:7px;
  direction:ltr;
}
html.main-page .homepage-route-launcher .homepage-counter-controls > button {
  grid-column:auto;
  box-sizing:border-box;
  width:36px;
  min-width:0;
  min-height:34px;
  margin:0;
  padding:0;
  gap:0;
  border:0;
  border-radius:6px;
  background:transparent;
  color:inherit;
  font:inherit;
  font-size:22px;
  line-height:1;
}
html.main-page .homepage-counter-controls > button:disabled {
  opacity:.4;
  cursor:default;
}
html.main-page .homepage-counter-controls > output {
  display:grid;
  place-items:center;
  min-width:0;
  border-inline:1px solid #48605e;
  font-size:16px;
  font-weight:600;
  direction:ltr;
  unicode-bidi:isolate;
}
html.main-page .homepage-route-launcher .homepage-route-extras-fields {
  grid-template-columns:minmax(0,1fr);
}
@media (max-width:800px) {
  html.main-page .homepage-route-launcher {
    padding:10px;
    gap:6px;
    border-radius:18px;
  }
  html.main-page .homepage-route-launcher > .customer-address-search {
    grid-column:1/-1;
  }
  html.main-page .homepage-route-launcher .customer-address-search label {
    min-height:0;
    padding:6px 10px;
    gap:3px;
  }
  html.main-page .homepage-route-launcher .customer-address-search input {
    padding:2px 0;
    line-height:1.35;
  }
  html.main-page .homepage-route-launcher .customer-address-search label b {
    flex-basis:18px;
    height:18px;
  }
  html.main-page .homepage-route-launcher > .homepage-route-when:nth-child(3) {
    grid-column:1/-1;
    min-height:0;
    padding:6px 10px;
  }
  html.main-page .homepage-route-launcher > .homepage-route-counter {
    grid-column:1/-1;
    min-height:44px;
  }
  html.main-page .homepage-route-launcher > .homepage-route-extras {
    grid-column:1/-1;
    padding:3px;
  }
  html.main-page .homepage-route-extras > summary {
    font-size:14px;
    line-height:1.4;
  }
  html.main-page .homepage-route-launcher > .homepage-route-extras[open] {
    grid-column:1/-1;
  }
}

/* One short row opens both native selectors, without painting locale-dependent input text. */
.compact-departure {
  box-sizing:border-box;
  min-width:0;
}
.compact-departure > summary {
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  min-height:38px;
  cursor:pointer;
  list-style:none;
}
.compact-departure > summary::-webkit-details-marker { display:none; }
.compact-departure > summary > svg { flex-shrink:0; }
.compact-departure-value {
  min-width:0;
  font-size:16px;
  font-weight:500;
  line-height:1.4;
  white-space:nowrap;
  direction:ltr!important;
  unicode-bidi:isolate;
}
.compact-picker-chevron {
  flex-shrink:0;
  margin-inline-start:auto;
}
.compact-departure .compact-departure-inputs {
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
  gap:9px;
  padding:5px 0 8px;
  min-width:0;
}
.compact-departure:not([open]) > .compact-departure-inputs { display:none; }
body.booking-document .compact-departure .compact-departure-label,
html.main-page .homepage-route-launcher .compact-departure .compact-departure-label {
  display:grid;
  gap:3px;
  min-width:0;
  min-height:0;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:none;
}
.compact-departure-label > span { font-size:12px; }
.compact-native-picker {
  position:relative;
  display:flex;
  align-items:center;
  gap:4px;
  box-sizing:border-box;
  min-width:0;
  min-height:38px;
  padding:4px 6px;
  border:1px solid var(--border,#48605e);
  border-radius:7px;
  direction:ltr;
  unicode-bidi:isolate;
}
.compact-native-picker > bdi {
  min-width:0;
  font-size:16px;
  line-height:1.35;
  white-space:nowrap;
  direction:ltr!important;
  unicode-bidi:isolate;
}
body.booking-document .compact-native-picker > input,
html.main-page .homepage-route-launcher .compact-native-picker > input {
  position:absolute;
  inset:0;
  box-sizing:border-box;
  width:100%;
  height:100%;
  max-width:100%;
  min-width:0;
  min-height:0;
  margin:0;
  padding:0;
  opacity:0;
  cursor:pointer;
}
.compact-native-picker:focus-within { outline:2px solid #eebd6d; outline-offset:2px; }
body.booking-document .compact-departure.plan-departure-fields {
  margin:4px 0;
  padding:2px 10px;
  border:1px solid var(--border,#e2dfd6);
  border-radius:9px;
}
html.main-page .homepage-route-launcher > .compact-departure.homepage-route-when {
  min-height:0;
  padding:2px 10px;
}
html.main-page .homepage-route-launcher > .compact-departure summary > svg { color:#f3cb84; }
html.main-page .compact-departure .compact-native-picker { border-color:#48605e; }

/* Keep the reservation label in its own row above the car. */
html.main-page body #app .v7hero-visual.hero-vehicle-restored {
  display:flex;
  flex-direction:column;
  align-items:center;
  padding-block:10px 0;
}
html.main-page body #app .v7hero-time {
  position:relative;
  inset:auto;
  align-self:flex-end;
  width:auto;
  max-width:calc(100% - 24px);
  margin:0 12px 12px;
  padding:5px 9px;
  transform:none;
}
html.main-page body #app .v7hero-time small { font-size:.58rem; }
html.main-page body #app .v7hero-time strong { margin-block-start:3px; font-size:.82rem; }
