.rapid-fares {
  max-width: 46rem;
  margin: 1.5rem auto;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid #becdc6;
  border-top: 4px solid #07584a;
  background: #f4f8f5;
  color: #173830;
}
.rapid-fares h2 { margin: 0 0 .55rem; line-height: 1.2; }
.rapid-fares p { margin: .6rem 0; }
.rapid-fares a { color: #164e77; text-decoration: underline; text-underline-offset: .15em; }
.rapid-fares a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.rapid-fares [data-fare-controls] { font: 1rem/1.5 var(--sans, Arial, sans-serif); }
.rapid-fares [hidden] { display: none; }
.rapid-fares__fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: .9rem 1.25rem;
  margin: 1rem 0;
}
.rapid-fares label { display: flex; flex-direction: column; justify-content: flex-end; gap: .3rem; font-weight: 600; }
.rapid-fares input, .rapid-fares select {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: .5rem;
  border: 1px solid #677d72;
  border-radius: 3px;
  background: white;
  color: #152c22;
  font: inherit;
  font-weight: normal;
}
.rapid-fares :is(input, select):focus-visible { outline: 3px solid #07584a; outline-offset: 2px; }
.rapid-fares output { display: block; border-top: 1px solid #becdc6; padding-top: .75rem; font-weight: 600; }
