body[data-p114-results-brand] [data-scc-basket-checkout],
body[data-p114-results-brand] [data-scc-add-trip]{min-block-size:44px}
body[data-p114-results-brand] .p114-basket-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch;inline-size:100%}
body[data-p114-results-brand] .p114-basket-actions>*{display:flex;align-items:center;justify-content:center;text-align:center;margin:0;inline-size:100%;white-space:normal}
body[data-p114-results-brand] :is(.vehicle-option,.quote-card,.sat-quote-card,.p114-route-quote){scroll-margin-block-start:115px}
.p114-results-layout{display:grid;gap:24px;align-items:start;min-inline-size:0}
.p114-results-layout>*{min-inline-size:0}
.p114-results-companion{--p114-result-accent:#705014;--p114-result-line:#e6d8bd;--p114-result-tint:#fcf7ed;--p114-result-radius:18px;display:grid;gap:16px}
.p114-results-companion[hidden],.p114-results-map__canvas[hidden]{display:none}
[data-p114-results-brand=pt] .p114-results-companion{--p114-result-accent:#a02344;--p114-result-line:#ead2d9;--p114-result-tint:#fff6f8;--p114-result-radius:22px}
[data-p114-results-brand=mc] .p114-results-companion{--p114-result-accent:#28665f;--p114-result-line:#c9ded8;--p114-result-tint:#f3f9f7;--p114-result-radius:12px}
[data-p114-results-brand=jc] .p114-results-companion{--p114-result-accent:#17559b;--p114-result-line:#cddff2;--p114-result-tint:#f2f7ff;--p114-result-radius:10px}
.p114-results-map,.p114-results-guide{background:var(--p114-result-tint);border:1px solid var(--p114-result-line);border-radius:var(--p114-result-radius);overflow:hidden}
.p114-results-map h3,.p114-results-guide{padding:16px 18px}
.p114-results-companion h3,.p114-results-companion p{margin:0}
.p114-results-guide p{margin-block-start:8px;line-height:1.5}
.p114-results-map__canvas{block-size:clamp(215px,33vh,360px)}
.p114-results-map__status:not(:empty){padding:0 18px 16px}
@media(min-width:1100px){
 .p114-results-layout:has(.p114-results-companion:not([hidden])){grid-template-columns:minmax(245px,.75fr) minmax(0,1.25fr)}
 .p114-results-layout>.p114-results-companion{grid-column:1;grid-row:1;position:sticky;inset-block-start:105px;max-block-size:calc(100dvh - 121px);overflow-y:auto;scrollbar-width:thin}
 .p114-results-layout:has(.p114-results-companion:not([hidden]))> :is([data-search-results],[data-vehicle-results]){grid-column:2;grid-row:1}
}
@media(max-width:1099px){.p114-results-guide{display:none}}
@media(max-width:440px){body[data-p114-results-brand] .p114-basket-actions{grid-template-columns:1fr}}

[data-p114-results-brand=sat] .p114-results-companion{--p114-result-accent:#256a9d;--p114-result-line:#cadce8;--p114-result-tint:#f5faff;--p114-result-radius:14px}
@media(min-width:1100px){
 [data-p114-results-brand=sat] .jf-results-side.p114-results-companion{max-block-size:calc(100dvh - 121px);overflow-y:auto;scrollbar-width:thin}
}

.p114-results-native .p114-results-companion{margin-block-start:16px}
@media(min-width:1100px){
 .p114-results-native:has(.p114-results-companion:not([hidden])){grid-template-columns:minmax(260px,.68fr) minmax(0,1.32fr)}
 .p114-results-native:has(.p114-results-companion:not([hidden]))>.results-filters{position:sticky;inset-block-start:105px;align-self:start;max-block-size:calc(100dvh - 121px);overflow-y:auto;scrollbar-width:thin}
 [data-p114-results-brand=jc] .p114-results-native:has(.p114-results-companion:not([hidden])){grid-template-columns:minmax(0,1.32fr) minmax(260px,.68fr)}
 [data-p114-results-brand=jc] .p114-results-native>.results-filters{grid-column:2;grid-row:1}
 [data-p114-results-brand=jc] .p114-results-native>.vehicle-results{grid-column:1;grid-row:1}
}

.p114-results-native > .results-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-inline-size: 0;
  gap: 12px;
}
.p114-results-native > .results-filters > :is(h2, label, .p114-results-companion) {
  grid-column: 1 / -1;
  min-inline-size: 0;
}
.p114-results-native > .results-filters > label { display: grid; gap: 5px; }
.p114-results-native > .results-filters select { inline-size: 100%; min-inline-size: 0; }
.p114-results-companion { grid-template-columns: minmax(0, 1fr); inline-size: 100%; }
.p114-results-map__canvas { inline-size: 100%; }
.p114-results-guide { overflow-wrap: break-word; }

.p114-results-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  inline-size: min(45rem,calc(100% - 1.5rem));
  max-block-size: calc(100dvh - 1.5rem);
  padding: clamp(.8rem,2vw,1.4rem);
  border: 1px solid var(--p114-results-line);
  border-radius: 1rem;
  background: #fff;
  color: var(--p114-results-ink);
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 16px 70px #16171530;
}
.p114-results-dialog-header,.p114-result-head-row {display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
.p114-results-dialog-header {margin-block-end:.75rem}
.p114-results-dialog-header h2,.p114-result-head h2 {margin:0;line-height:1.3}
.p114-results-dialog .search-card,.p114-results-dialog .studio-form {margin:0!important;max-inline-size:none!important;inline-size:100%!important}
.p114-results-dialog.p114-journey-editor .search-card {padding:clamp(.65rem,2vw,1rem)!important}
.p114-result-head {grid-column:1/-1;margin-block-end:1rem;min-inline-size:0}
.p114-result-head h2 {font-size:clamp(1.55rem,3vw,2.6rem)}
.p114-result-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1.5fr)) minmax(0,.8fr) minmax(0,1fr);gap:.6rem;margin-block:.7rem}
.p114-result-field,.p114-results-control {
  min-block-size:44px;
  border:1px solid var(--p114-results-line);
  border-radius:.55rem;
  background:var(--p114-results-paper);
  color:var(--p114-results-accent);
  padding:.55rem .75rem;
  font:inherit;
  line-height:1.5;
  cursor:pointer;
}
.p114-result-field {display:grid;align-content:start;text-align:start;min-inline-size:0;gap:.2rem;overflow-wrap:anywhere}
.p114-result-field span,.p114-result-filters label {font-size:.86rem;font-weight:650}
.p114-result-field bdi {color:var(--p114-results-ink);font-size:.95rem}
.p114-result-field:hover,.p114-results-control:hover {border-color:var(--p114-results-accent)}
.p114-result-field:focus-visible,.p114-results-control:focus-visible,.p114-result-filters select:focus-visible {outline:2px solid var(--p114-results-accent);outline-offset:2px}
.p114-results-primary {background:var(--p114-results-accent);color:white;font-weight:650}
.p114-result-filters {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;align-items:end;padding:.8rem;border:1px solid var(--p114-results-line);border-radius:.75rem;background:var(--p114-results-paper);margin-block-end:.8rem}
.p114-result-filters label {display:grid;gap:.28rem;min-inline-size:0}
.p114-result-filters select {box-sizing:border-box;inline-size:100%;min-inline-size:0;min-block-size:44px;padding:.45rem .55rem;background:white;color:var(--p114-results-ink);border:1px solid var(--p114-results-line);border-radius:.45rem;font:inherit}
.p114-results-feedback:empty {display:none}
.p114-results-focused > .results-filters:not(:has(.p114-results-companion:not([hidden]))) {display:none}
.p114-results-focused > .results-filters > :not(.p114-results-companion) {display:none!important}
.p114-results-focused > .vehicle-results > [data-route-summary] {display:none}
.p114-results-focused .p114-results-companion {margin-block-start:0}
.p114-results-focused [hidden],.p114-sat-basket-trigger[hidden] {display:none!important}
.p114-results-active form.p114-results-form:not(.p114-journey-editor form),
body[data-p114-results-brand=hut].p114-results-active #book:has(form.p114-results-form),
.p114-results-active .search-studio:has(>form.p114-results-form) > :is(.studio-hero,.search-intro,.search-heading,.search-hero,.studio-intro) {display:none!important}
body.scc-brand-scc, body[data-p114-results-brand] {--p114-results-accent:#075b44;--p114-results-ink:#172e26;--p114-results-line:#cedfd5;--p114-results-paper:#f5faf7}
body.scc-brand-hut, body[data-p114-results-brand=hut] {--p114-results-accent:#715013;--p114-results-ink:#342716;--p114-results-line:#dbcca6;--p114-results-paper:#fdf9ef}
body.brand-PT, body[data-p114-results-brand=pt] {--p114-results-accent:#92182f;--p114-results-ink:#332126;--p114-results-line:#e3cbd0;--p114-results-paper:#fff7f6}
body.brand-MC, body[data-p114-results-brand=mc] {--p114-results-accent:#145c43;--p114-results-ink:#172d24;--p114-results-line:#cddcd0;--p114-results-paper:#f7faf4}
body.brand-JC, body[data-p114-results-brand=jc] {--p114-results-accent:#174e88;--p114-results-ink:#152d42;--p114-results-line:#ccdaeb;--p114-results-paper:#f3f8ff}
body:has(.sat-home-hero), body[data-p114-results-brand=sat] {--p114-results-accent:#702744;--p114-results-ink:#35212a;--p114-results-line:#dfcdd6;--p114-results-paper:#fff9f6}
.p114-sat-basket-drawer {inset-inline-start:auto;inset-inline-end:0;inset-block:0;margin:0;inline-size:min(29rem,100%);block-size:100dvh;max-block-size:100dvh;border-radius:0}
.p114-sat-basket-drawer [data-sat-basket] {border:0!important;margin:0!important;padding:0!important;background:none!important;min-inline-size:0}
.p114-sat-basket-drawer [data-sat-basket-total] {font-size:1.25rem;line-height:1.4;margin-block:.4rem .85rem}
.p114-sat-basket-drawer ol {display:grid;gap:.55rem;padding-inline-start:1.15rem}
.p114-sat-basket-drawer li {overflow-wrap:anywhere}
.p114-sat-basket-drawer li button {display:inline-flex;align-items:center;justify-content:center;margin:.3rem}
.p114-sat-basket-drawer .sat-results-basket-actions {display:grid;gap:.75rem;margin-block:1rem}
.p114-sat-basket-trigger {white-space:nowrap}
@media (min-width:1100px) {
  .p114-results-focused.p114-results-native > .results-filters,
  .p114-results-focused.p114-results-native > .vehicle-results {grid-row:2!important}
  [data-p114-results-brand=hut] .p114-results-focused .p114-result-filters {max-inline-size:61rem;margin-inline:auto}
  body:is(.brand-PT,.brand-MC,.brand-JC,[data-p114-results-brand=pt],[data-p114-results-brand=mc],[data-p114-results-brand=jc]) form[data-ride-booking][data-ride-step] {padding:clamp(1rem,1.7vw,1.6rem)!important}
}
@media (max-width:850px) {
  .p114-result-fields {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:620px) {
  .p114-result-filters {grid-template-columns:repeat(2,minmax(0,1fr))}
  .p114-result-fields {gap:.45rem}
  .p114-result-field,.p114-results-control {padding:.45rem .55rem}
}

body[data-p114-results-brand] .p114-result-field {
  background: var(--p114-results-paper) !important;
  color: var(--p114-results-accent) !important;
  min-block-size: 54px;
}
body[data-p114-results-brand] .p114-result-field bdi {
  color: var(--p114-results-ink) !important;
  line-height: 1.5;
}
.p114-result-fields .p114-result-package { grid-column: 1 / -1; }
body[data-p114-results-brand] .p114-result-service {
  display: block;
  box-sizing: border-box;
  margin-block-start: .85rem;
  padding: clamp(.9rem,2vw,1.25rem);
  background: var(--p114-results-paper);
  color: var(--p114-results-ink);
  border: 1px solid var(--p114-results-line);
  border-radius: .85rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.p114-result-service h3 { margin: 0 0 .5rem; padding: 0; }
.p114-result-service .p114-service-name { display:block; }
.p114-result-service .p114-service-duration { margin: .25rem 0 .7rem; }
.p114-service-stops { display:grid; gap:.65rem; margin: .8rem 0; padding-inline-start: 1.65rem; }
.p114-service-stops li { padding: .25rem .15rem .55rem; border-block-end: 1px solid var(--p114-results-line); }
.p114-service-stops li::marker { color: var(--p114-results-accent); font-weight:700; }
.p114-service-stops small { display:block; margin-block-start:.12rem; line-height:1.5; }
.p114-service-facts { margin:0 0 .75rem; }
.p114-service-facts > div { display:flex; justify-content:space-between; align-items:baseline; gap:.65rem; flex-wrap:wrap; padding:.4rem 0; border-block-end:1px solid var(--p114-results-line); }
.p114-service-facts dt { font-weight:650; }
.p114-service-facts dd { margin:0; unicode-bidi:isolate; }
.p114-result-service .p114-service-note { margin:.6rem 0 0; }
[data-p114-results-brand=scc] .p114-results-companion { --p114-result-accent:#075b44; --p114-result-line:#cedfd5; --p114-result-tint:#f5faf7; }
body[data-p114-results-brand=scc].p114-results-active:not(.p114-hire-embedded) #book:has(form.p114-results-form) { display:none !important; }
body.p114-hire-embedded .p114-result-fields .p114-result-field { min-block-size:44px; }
#book.p114-hire-results-open .home-featured-hero__copy,
#book.p114-hire-results-open .jf-hand-note,
#book.p114-hire-results-open .scc-fareboard { display:none !important; }
#book.p114-hire-results-open .home-featured-hero__search { grid-column:1/-1 !important; inline-size:100% !important; max-inline-size:none !important; }
#book.p114-hire-results-open .search-card-scc { inline-size:100% !important; max-inline-size:none !important; }

.p114-hire-embedded .p114-journey-editor [data-p114-hire-fields] label:has(select[name=hours]) { display:grid !important; }
/* Keep each homepage calculator paired with the explanation for its active service. */
.p114-home-service {
  display: grid;
  align-content: start;
  gap: 1rem;
  margin-block-start: 1.2rem;
  color: var(--p114-results-ink);
}
.p114-home-service-title { margin: 0 0 .4rem; color: var(--p114-results-accent); font-size: clamp(1.15rem,2vw,1.6rem); }
.p114-home-service-description { margin: 0; line-height: 1.6; max-inline-size: 55ch; }
.p114-home-service-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .65rem;
  margin: .85rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .88rem;
  font-weight: 650;
}
.p114-home-service-facts li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .65rem;
  border: 1px solid var(--p114-results-line);
  border-radius: .55rem;
  background: var(--p114-results-paper);
}
.p114-home-service-icon { flex: 0 0 1rem; inline-size: 1rem; block-size: 1rem; color: var(--p114-results-accent); }
.p114-home-service-icon.is-location { border: 2px solid currentColor; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--p114-results-paper),inset 0 0 0 5px currentColor; }
.p114-home-service-icon.is-confirmed { display: grid; place-items: center; }
.p114-home-service-icon.is-confirmed::before { content: ""; inline-size: .55rem; block-size: .32rem; border: solid currentColor; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.p114-home-service-image {
  display: block;
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: .8rem;
  background: var(--p114-results-paper);
}
.p114-home-service-intro :is(.scc-managed-scene,.hut-arrival-photo) { display: none !important; }
.p114-home-service-layout[data-p114-home-service]:not([data-p114-home-service=taxi]) .p114-home-service-intro :is(.home-v2__lead,.p114-v2-lead,.lede,.jc-v2-board,.sat-hero-note,.p114-v2-cues,.home-hero-actions,.p114-v2-jump,.p114-v2-service-links) { display: none !important; }
@media (min-width: 1000px) {
  .p114-home-service-layout:not(:has(.p114-results-active,.jf-catalogue:not([hidden]))) {
    align-items: stretch !important;
  }
  .p114-home-service-layout > :is(.p114-home-service-intro,.p114-home-service-planner) {
    grid-row: 1 !important;
    align-self: stretch !important;
    min-inline-size: 0;
    margin-block: 0 !important;
  }
  .p114-home-service-layout > .p114-home-service-intro {
    grid-column: 1 !important;
    display: flex;
    flex-direction: column;
  }
  .p114-home-service-layout > .p114-home-service-planner { grid-column: 2 !important; }
  .p114-home-service-layout > :is(.pt-premium-media,.mc-premium-media,.jc-premium-media) { display: none !important; }
  .p114-home-service { flex: 1; grid-template-rows: auto minmax(0,1fr); }
  .p114-home-service-image { max-block-size: 16rem; align-self: end; }
  #book.p114-hire-results-open .p114-home-service-layout > .p114-home-service-planner { grid-column: 1 / -1 !important; }
}
@media (max-width: 999px) {
  .p114-home-service-image { display: none; }
  .p114-home-service { margin-block-start: .8rem; }
  .p114-home-service-description { font-size: .94rem; }
}
@media (min-width: 1000px) {
  body.home.jf-scc #book .p114-home-service-layout > :is(.p114-home-service-intro,.p114-home-service-planner),
  body.home.scc-brand-hut #book .p114-home-service-layout > :is(.p114-home-service-intro,.p114-home-service-planner) {
    align-self: stretch !important;
  }
  body.home.scc-brand-hut .hut-home-hero.p114-home-service-layout > :is(.p114-home-service-intro,.p114-home-service-planner) {
    align-self: stretch !important;
    block-size: auto !important;
  }
  body.home.scc-brand-hut .p114-home-service-intro > .hut-home-copy {
    min-block-size: 0 !important;
    block-size: auto !important;
  }
}
@media (min-width: 1000px) {
  body.p114-redesign-v2--hut.home .hut-home-hero.p114-home-service-layout > .p114-home-service-intro { grid-area: 1 / 1 / 2 / 2 !important; }
  body.p114-redesign-v2--hut.home .hut-home-hero.p114-home-service-layout > .p114-home-service-planner { grid-area: 1 / 2 / 2 / 3 !important; }
  body.p114-redesign-v2--hut.home .p114-home-service-intro > .hut-home-summary { padding-block-end: 0; }
}
.p114-home-service-intro > :is(.home-v2__lead,.p114-v2-lead,.lede,.sat-hero-note) { display: none; }
@media (min-width: 1000px) {
  html body.home.p114-redesign-v2--hut .hut-home-hero.p114-home-service-layout > .hut-home-search.p114-home-service-planner {
    grid-area: 1 / 2 / 2 / 3 !important;
    align-self: stretch !important;
  }
  html body.home.p114-redesign-v2--hut .hut-home-hero .p114-home-service-intro > .hut-home-copy {
    min-height: 0 !important;
    padding-block: clamp(1.5rem,3vw,2.75rem) !important;
  }
}
@media (min-width: 1000px) {
  html:root body.scc-brand-hut.home #book.hut-home-refresh.hut-arrival .p114-home-service-layout > .hut-home-search.p114-home-service-planner {
    grid-area: 1 / 2 / 2 / 3 !important;
    align-self: stretch !important;
  }
}

/* The journey editor is independent of the page layout that hosts the planner. */
body[data-p114-results-brand] .p114-journey-editor {
  inline-size: min(48rem,calc(100% - 1rem));
  padding: 0;
  max-block-size: calc(100dvh - 1rem);
}
.p114-journey-editor > .p114-results-dialog-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 5;
  padding: .85rem clamp(.8rem,3vw,1.5rem);
  margin: 0;
  background: white;
  border-block-end: 1px solid var(--p114-results-line);
}
body[data-p114-results-brand] .p114-journey-editor > :is(.search-card,.sat-planner-card,form) {
  display: block !important;
  box-sizing: border-box;
  inline-size: 100% !important;
  max-inline-size: none !important;
  min-inline-size: 0;
  padding: clamp(.85rem,3vw,1.5rem) !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
body[data-p114-results-brand] .p114-journey-editor :is(.search-card-heading,.search-head,.search-card-head,.search-card__head,.search-card__intro) {
  display: block !important;
  max-inline-size: none !important;
}
.p114-journey-editor :is(.search-card-heading,.search-head,.search-card-head,.search-card__head,.search-card__intro) > * {
  max-inline-size: none !important;
  min-inline-size: 0;
}
body[data-p114-results-brand] .p114-journey-editor .p114-fixed-picker {
  grid-column: 1 / -1;
  min-inline-size: 0;
  inline-size: 100%;
  max-inline-size: none !important;
  box-sizing: border-box;
}
.p114-journey-editor [hidden] { display: none !important; }
.p114-journey-editor :is(input,button,select) { scroll-margin-block: 5rem 1rem; }

/* Keep exact-address inputs full width inside the desktop homepage calculator. */
@media (min-width: 1000px) {
  .p114-home-service-layout .p114-home-service-planner form[data-p114-home-ssr][data-ride-step=route],
  .p114-home-service-layout .p114-home-service-planner .sat-form-step:has(.sat-address) {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .p114-home-service-layout .p114-home-service-planner form[data-p114-home-ssr][data-ride-step=route] > .search-field {
    grid-column: 1 / -1 !important;
    min-inline-size: 0;
    inline-size: 100%;
    box-sizing: border-box;
  }
}
.sat-home-planner .sat-planner-fallback { min-block-size: 29rem; box-sizing: border-box; }

/* Public modals reuse their existing backdrops and close behavior. */
body dialog::backdrop,
body :is(.agency-notice__backdrop,.consent-centre__backdrop,.scc-basket-backdrop,
  .scc-save-basket-modal__backdrop,.p114cal-backdrop,.appx-sheet:not(.appx-sheet--passive)) {
  -webkit-backdrop-filter: blur(5px) !important;
  backdrop-filter: blur(5px) !important;
}
body dialog::backdrop {
  background: rgb(10 23 23 / 62%) !important;
}
.p114-form-confirmation {
  position: fixed;
  z-index: 99990;
  inset-inline-end: 1rem;
  inset-block-end: max(1rem,env(safe-area-inset-bottom));
  inline-size: min(29rem,calc(100% - 2rem));
  box-sizing: border-box;
  padding: .85rem 1rem;
  background: var(--p114-results-ink,#172b27);
  color: #fff;
  border-radius: .65rem;
  box-shadow: 0 .4rem 1.4rem rgb(0 0 0 / 20%);
}

/* Keep the homepage grid from reserving an unused column inside the editor. */
html:root body[data-p114-results-brand] .p114-journey-editor .search-card-scc > form.taxi-search {
  grid-template-columns: minmax(0,1fr) !important;
}
.p114-journey-editor .jf-scc-step {
  grid-column: 1 / -1;
  min-inline-size: 0;
}
body[data-p114-results-brand] .p114-journey-editor .jf-scc-step > .journey-modes {
  inline-size: 100% !important;
  max-inline-size: none !important;
}
.p114-journey-editor .jf-scc-step > .p114-search-options { max-inline-size: 100%; }
.p114-journey-editor > .p114-results-dialog-header > button {
  min-block-size: 44px;
  flex: none;
}

/* Labels name the field, hints explain it, and inputs have their own surface. */
body :is(form[data-taxi-search],form[data-p114-search],form[data-sat-quote-form],
  [data-scc-checkout],.p114-result-filters,.jf-filters) :is(label,legend,.p114-counter-label) {
  font-weight: 650;
  line-height: 1.5;
}
body :is(form[data-taxi-search],form[data-p114-search],form[data-sat-quote-form], [data-scc-checkout])
  :is(.p114-field-hint,.p114-seat-help,.p114-passenger-summary,.search-note,.scc-search-options__intro,.journey-options-help) {
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.6;
}
body :is(form[data-taxi-search],form[data-p114-search],form[data-sat-quote-form], [data-scc-checkout],.p114-result-filters,.jf-filters)
  :is(select:not([multiple]),textarea,input:is([type=text],[type=search],[type=date],[type=time],[type=number],
  [type=email],[type=tel],[type=password],[type=url],:not([type]))) {
  min-block-size: 44px;
  outline-offset: 2px;
}
body :is(.p114-journey-editor,.p114-fixed-picker,.p114-passengers,.p114-child-seats,.p114-sat-options)
  :is(select,input:not([type=hidden],[type=checkbox],[type=radio]),textarea) {
  background-color: #fff;
  border-color: var(--p114-results-line,#c9d3d1);
  color: var(--p114-results-ink,#172b27);
}
body .p114-tour-slot-picker label {
  display: grid;
  gap: .35rem;
}
body .p114-tour-slot-picker select {
  border: 1px solid var(--p114-results-line,#c9d3d1);
  border-radius: .55rem;
  background-color: #fff;
}
body :is(.p114-journey-editor,.p114-fixed-picker,.p114-passengers,.p114-child-seats,.p114-sat-options)
  :is(select,input:not([type=hidden]),textarea,button):focus-visible {
  outline: 2px solid var(--p114-results-accent,#216458);
  outline-offset: 2px;
}

.p114-passenger-form .p114-legacy-passenger-count,
.p114-child-seats [hidden],
.p114-child-seats[hidden],
.p114-passenger-ages[hidden] {
  display: none !important;
}
.p114-passengers,.p114-child-seats {
  box-sizing: border-box;
  grid-column: 1 / -1;
  min-inline-size: 0;
  inline-size: 100%;
  margin: .75rem 0;
  padding: .8rem clamp(.7rem,2vw,1rem);
  color: var(--p114-results-ink,#172b27);
  border: 1px solid var(--p114-results-line,#c9d3d1);
  border-radius: .85rem;
  background: var(--p114-results-paper,#fff);
}
.p114-passengers legend,.p114-child-seats legend {
  padding-inline: .35rem;
}
.p114-passenger-rows,.p114-passenger-ages {
  display: grid;
  gap: .65rem;
}
.p114-passenger-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) 44px minmax(2ch,2.4rem) 44px;
  align-items: center;
  gap: .35rem;
}
.p114-counter-label { overflow-wrap: anywhere; }
body .p114-passenger-row .p114-counter-button {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  inline-size: 44px;
  min-inline-size: 44px;
  min-block-size: 44px;
  border: 1px solid var(--p114-results-line,#c9d3d1);
  border-radius: .6rem;
  background: var(--p114-results-tint,#f3f6f5);
  color: var(--p114-results-accent,#216458);
  font: 650 1.3rem/1 system-ui,sans-serif;
}
.p114-counter-button:disabled { opacity: .5; cursor: default; }
.p114-counter-value { text-align: center; font-variant-numeric: tabular-nums; }
.p114-passenger-ages { margin-block-start: .8rem; }
.p114-age-grid,.p114-child-seats,.p114-child-seats .child-restraint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,9rem),1fr));
  gap: .65rem;
}
.p114-age-grid > label,.p114-seat-field {
  display: grid;
  grid-template-rows: 1fr auto;
  align-content: start;
  gap: .35rem;
  min-inline-size: 0;
}
.p114-age-grid select,.p114-seat-field > :is(select,input) { inline-size: 100%; }
.p114-seat-help,.p114-child-seats :is(.child-restraint-grid,.p114-seat-wide) { grid-column: 1 / -1; }
.p114-child-seats details[open] { min-inline-size: 0; }
.p114-seat-help small { display: block; font-size: inherit; margin-block-start: .2rem; }
.p114-seat-help,.p114-field-hint { margin: 0; }
.p114-passenger-summary { margin: .65rem 0 0; }
.p114-sat-options { overflow: auto; max-block-size: calc(100dvh - 2rem); }
.p114-sat-options-trigger { grid-column: 1 / -1; justify-self: start; }
.p114-sat-options > .sat-more-fields { display: grid; gap: .75rem; }
@media (max-width: 359px) {
  .p114-passengers { padding-inline: .55rem; }
  .p114-passenger-row { gap: .2rem; }
}

.p114-home-service-facts { line-height: 1.5; }
html body form[data-ride-booking][data-ride-step="route"] > .p114-passengers { display: none !important; }
html body form[data-ride-booking][data-ride-step="route"] { row-gap: .65rem !important; }
@media (min-width: 1000px) and (max-width: 1099px) {
  body.brand-MC.home .mc-v2-shell.p114-home-service-layout > .p114-home-service-planner {
    display: flex !important;
    flex-direction: column;
  }
}
.p114-home-service-facts li { min-block-size: 1.75rem; }
@media (min-width: 1000px) {
  .p114-home-service-image { align-self: start; }
}

/* The initial route step has no search to clear; the action belongs with the date and passenger details. */
html body.scc-brand-hut form[data-ride-booking][data-ride-step="route"] > .scc-clear-search {
  display: none !important;
}

.p114-journey-editor .p114-home-service-planner,
body[data-p114-results-brand] .p114-journey-editor .jf-scc-step {
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: none;
}

.p114-passenger-form .scc-search-options-dialog .scc-search-options__grid {
  grid-template-columns: minmax(0, 1fr);
}

/* Match the passenger row before and after initialization on the localized homepage. */
@media (scripting: enabled) {
  html body.scc-brand-hut.home form[data-hut-search-options]:not([data-ride-booking]):not(.p114-passenger-form)
    > .detail-grid-primary > .p114-booking-short-choice:has(select[name=adults]) {
    box-sizing: border-box;
    block-size: 12.86rem;
    visibility: hidden;
  }
}
html body.scc-brand-hut form[data-hut-search-options].p114-passenger-form
  .detail-grid-primary > .p114-legacy-passenger-count {
  display: none !important;
}
html body.scc-brand-hut.home form[data-hut-search-options] .detail-grid-primary
  > .p114cal-host:has(> input[name=pickup_date]) > .p114cal-trigger {
  inset-block: auto 10px !important;
  block-size: 44px !important;
}

@media (min-width: 1201px) {
  body.home:not(:has(main)) :is(.scc-header,.hut-header) :is(.scc-header-commerce,.site-language--header) {
    visibility: hidden;
  }
}

/* Homepage only: the intro and calculator already explain the default taxi service. */
body .p114-home-service-layout[data-p114-home-service=taxi] .p114-home-service {
  flex: 0 0 auto;
  grid-template-rows: auto;
  margin-block-start: clamp(.75rem, 2vw, 1.25rem);
}
body .p114-home-service-layout[data-p114-home-service=taxi] .p114-home-service-details {
  display: none !important;
}
@media (max-width: 999px) {
  body .p114-home-service-layout[data-p114-home-service=taxi] .p114-home-service {
    display: none !important;
  }
}
body .p114-home-service-layout:not([data-p114-home-service=taxi]) .p114-home-service-details {
  max-inline-size: 58ch;
}

/* HUT: pair an editorial heading and short introduction with the arrival photograph. */
html:root body.home.p114-redesign-v2--hut.scc-brand-hut #book.hut-home-refresh.hut-arrival .hut-home-hero .p114-home-service-intro > .hut-home-copy {
  flex: 0 0 auto !important;
  min-block-size: 0 !important;
  min-height: 0 !important;
  block-size: auto !important;
  height: auto !important;
  padding: clamp(1.1rem, 3vw, 2.3rem) !important;
  border-radius: 1rem !important;
}
html:root body.home.p114-redesign-v2--hut.scc-brand-hut #book.hut-home-refresh.hut-arrival .hut-home-hero .hut-home-copy h1 {
  font-size: clamp(2rem, 3.75vw, 3.3rem) !important;
  line-height: 1.07 !important;
  max-inline-size: none !important;
  max-width: none !important;
  margin-block-end: 0 !important;
}
html:root body.home.p114-redesign-v2--hut.scc-brand-hut #book.hut-home-refresh.hut-arrival .hut-home-hero .hut-home-copy h1 em {
  max-inline-size: none !important;
  max-width: none !important;
}
html body.home.p114-redesign-v2--hut.scc-brand-hut .hut-home-hero .hut-home-summary {
  padding: 0 clamp(1.1rem, 3vw, 2.3rem) !important;
}
html body.home.p114-redesign-v2--hut.scc-brand-hut .hut-home-hero .hut-home-summary p {
  margin-block: 0 .55rem !important;
  max-inline-size: 58ch;
}
html body.home.p114-redesign-v2--hut.scc-brand-hut .hut-home-hero[data-p114-home-service]:not([data-p114-home-service=taxi]) .hut-home-summary {
  display: none !important;
}
@media (min-width: 1000px) {
  html body.home.p114-redesign-v2--hut.scc-brand-hut .hut-home-hero[data-p114-home-service=taxi] .p114-home-service-image {
    aspect-ratio: 2.2 / 1;
    max-block-size: 15rem;
    object-position: center 54%;
    border-radius: .85rem;
  }
}

/* Restore the address input inset when the booking form moves into its editor. */
html:root .p114-results-dialog.p114-journey-editor[open] form input:is([data-scc-google-address], [data-place-input], [data-sat-exact] input[type="search"]) {
  box-sizing: border-box;
  min-inline-size: 0;
  max-inline-size: 100%;
  padding-inline: 12px !important;
  text-align: start !important;
  text-indent: 0 !important;
  text-transform: none !important;
  text-overflow: ellipsis !important;
}
html:root .p114-results-dialog.p114-journey-editor[open] form input:is([data-scc-google-address], [data-place-input], [data-sat-exact] input[type="search"]):focus {
  text-overflow: clip !important;
}

/* Keep native date segments clear of the separate calendar button in both directions. */
html:root body form .p114cal-host > input.p114cal-input[type="date"] {
  box-sizing: border-box;
  min-inline-size: 0;
  max-inline-size: 100%;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  padding-left: 10px !important;
  padding-right: 48px !important;
}
html[dir="rtl"]:root body form .p114cal-host:dir(rtl) > input.p114cal-input[type="date"] {
  text-align: right;
  padding-left: 48px !important;
  padding-right: 10px !important;
}
html:root body .p114cal-host > .p114cal-trigger {
  inline-size: 44px;
  min-inline-size: 44px;
  min-block-size: 44px;
}
html:root body form input[type="time"]:is([name="pickup_time"], [name="return_time"], [name="return_pickup_time"]) {
  box-sizing: border-box;
  min-inline-size: 0;
  max-inline-size: 100%;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 480px) {
  html:root body form :is(.detail-grid-primary, .detail-grid, .studio-day-fields):has(> .p114cal-host) {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html:root body form :is(.detail-grid-primary, .detail-grid, .studio-day-fields) > :is(.p114cal-host, [data-studio-time], .field:has(> input[type="time"])) {
    grid-column: 1 / -1 !important;
  }
}
.p114cal {
  max-block-size: calc(100dvh - 16px);
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.p114cal.is-sheet {
  max-block-size: min(88dvh, calc(100dvh - 12px));
}
.p114cal-backdrop {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.p114cal .p114cal__head {
  grid-template-columns: 44px minmax(0, 1fr) 44px;
}
.p114cal .p114cal__nav {
  min-inline-size: 44px;
}
.p114cal .p114cal__titles {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}
.p114cal .p114cal__day.is-unavailable,
.p114cal .p114cal__legend .is-unavailable .p114cal__swatch {
  background-image: repeating-linear-gradient(135deg, transparent 0 5px, rgba(143,29,20,.20) 5px 7px);
}
@media (forced-colors: active) {
  .p114cal .p114cal__day.is-unavailable,
  .p114cal .p114cal__legend .is-unavailable .p114cal__swatch { background-image: none; }
}

/* Match the unavailable treatment in the booking calendar without changing availability. */
.p114-tour-slot-picker .p114-tour-calendar button.p114-tour-day[data-tour-date]:disabled {
  opacity: 1;
  color: var(--p114cal-red-ink, #8f1d14);
  background: var(--p114cal-red-soft, #fdeceb)
    repeating-linear-gradient(135deg, transparent 0 5px, rgba(143,29,20,.20) 5px 7px);
  text-decoration: line-through;
  cursor: not-allowed;
}
.p114-tour-slot-picker :is([data-tour-hour], [data-tour-minute], [data-p114-verified-times]) {
  min-inline-size: 0;
  max-inline-size: 100%;
  font-variant-numeric: tabular-nums;
}
@media (forced-colors: active) {
  .p114-tour-slot-picker .p114-tour-calendar button.p114-tour-day[data-tour-date]:disabled {
    color: GrayText;
    background: none;
  }
}

.p114-result-service .p114-tour-accordion { margin-block-start:1rem; }
.p114-result-service .p114-tour-accordion > summary,
.p114-result-service .p114-tour-terms > summary {
  display:list-item;cursor:pointer;font-weight:650;min-block-size:44px;padding-block:.65rem;
}
.p114-result-service .p114-tour-accordion > summary:focus-visible {
  outline:2px solid currentColor;outline-offset:3px;
}
.p114-result-service .p114-tour-accordion .p114-fixed-summary {
  margin:0;padding:0;border:0;box-shadow:none;background:transparent;color:inherit;
}
.p114-result-service .p114-tour-accordion-body { min-inline-size:0;overflow-wrap:anywhere; }
.p114-result-service .p114-tour-accordion-body > p { line-height:1.6; }

.p114-results-guide.p114-result-service { display:block; min-inline-size:0; }
