/* The established Crew hotel and collapsible flight cards, without renderer patches. */
.travel-stay {
  padding-bottom: 20px;
}
.travel-stay h2 {
  font-size: 22px;
  margin: 8px 0 12px;
}
.travel-stay dl {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin: 16px 0;
}
.travel-stay dt {
  color: var(--muted);
  font: 11px/1.5 var(--mono);
  text-transform: uppercase;
  margin-bottom: 5px;
}
.travel-stay dd {
  margin: 0;
  font-size: 14px;
}
.travel-flight {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin-top: 20px;
  background: var(--surface);
}
.travel-flight > summary {
  list-style: none;
  cursor: pointer;
}
.travel-flight > summary::-webkit-details-marker {
  display: none;
}
.flight-card-heading {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 16px;
  gap: 6px 10px;
  align-items: center;
}
.flight-card-heading > div {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
.flight-card-heading h3 {
  font-size: 16px;
  margin: 6px 0;
  line-height: 1.3;
}
.flight-card-heading .eyebrow {
  margin: 0;
}
.flight-summary-icon {
  grid-row: 1/3;
  color: var(--accent);
}
.flight-card-heading .toggle {
  grid-column: 3;
  grid-row: 1/3;
}
.flight-card-heading .flight-status {
  grid-column: 2;
  grid-row: 2;
  font-size: 12px;
  color: var(--accent);
}
.flight-number {
  white-space: nowrap;
}
.flight-number,
.flight-city,
.flight-airport > span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.flight-card-body {
  margin-top: 16px;
}
.flight-route-visual {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 16px;
  color: var(--accent);
}
.flight-route-visual span {
  height: 1px;
  flex: 1;
  background: var(--line);
}
.flight-route-visual svg {
  transform: rotate(90deg);
  width: 28px;
  height: 28px;
}
.flight-airports {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.flight-airport {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.flight-airport:last-child {
  text-align: right;
}
.flight-airport strong {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 4px 0 8px;
}
.flight-airport .flight-city {
  min-height: 20px;
  overflow-wrap: anywhere;
}
.flight-times {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.flight-time-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.flight-time-row > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.flight-time-row > div:last-child {
  text-align: right;
}
.flight-time-row strong {
  font-weight: 600;
}
.flight-time-row small,
.flight-card-footer small {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.flight-card-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.flight-card-footer a {
  color: var(--accent);
  text-underline-offset: 3px;
}
.flight-card-footer .flight-airline-link {
  width: 100%;
  text-align: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 44px;
  text-decoration: none;
}
.travel-time-note {
  font-size: 12px;
  margin: 20px 0 0;
}
@media (max-width: 650px) {
  .travel-flight {
    padding: 18px 16px;
  }
  .flight-card-heading h3 {
    font-size: 16px;
  }
  .flight-time-row {
    font-size: 13px;
  }
}

.flight-number {
  font-size: 11px;
}
