.included-rides {
  margin: 20px 0 16px;
}

.result-actions {display: flex; flex-wrap: wrap; align-items: center; gap: 12px;}
.result-actions .copy-result {min-height: 44px; padding: 10px; text-decoration: underline; text-underline-offset: 4px;}
.share-button {background: white; color: #1767db; border: 2px solid #1767db; min-height: 44px; padding: 10px 16px; font-size: 15px; box-shadow: none;}
.share-button:hover {background: #eff7fd;}
.share-button:active {box-shadow: none;}
.share-hint {font-size: 13px; color: #405878; margin: 0 0 24px;}
.share-dialog {width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow: auto; border: 2px solid #c8deec; border-radius: 20px; padding: 24px; color: #142645; background: white;}
.share-dialog::backdrop {background: rgba(20,38,69,.5);}
.share-dialog h3 {margin: 0;}
.share-dialog label {display: block; font-size: 14px;}
.share-dialog textarea {display: block; width: 100%; min-width: 0; padding: 12px; margin: 8px 0 20px; font: inherit; font-size: 16px; border: 1px solid #586a80; border-radius: 8px; resize: vertical;}
.share-dialog textarea:focus-visible {outline: 3px solid #1767db; outline-offset: 3px;}
@media(max-width:700px){.result-actions{width:100%;gap:8px;}.result-actions .share-button{flex:1;}.result-actions .retake{min-height:44px;}}

.included-rides h5, .time-savings h5 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.5;
}

.included-fixed, .included-choices {
  padding: 0;
  list-style: none;
}

.included-fixed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.included-fixed li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  min-height: 44px;
  padding: 8px;
  border-radius: 8px;
  background: #f4f8fc;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.included-fixed li > span {
  flex-shrink: 0;
  color: #196c46;
}

.included-fixed li.ride-picked {
  background: #fff5c0;
}

.included-rides small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  color: #52657a;
}

.included-rides .picked-label {
  color: #234f80;
  font-weight: 650;
}

.included-choices {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
}

.included-choices li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border-top: 1px dashed #b8cddd;
  padding-top: 10px;
  font-size: 14px;
  line-height: 1.65;
}

.included-choices li > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.choose-one-label {
  flex-shrink: 0;
  padding: 2px 6px;
  border-radius: 5px;
  background: #e9f3ff;
  color: #234f80;
  font-size: 13px;
  line-height: 1.6;
}

.included-choices .ride-picked {
  font-weight: 750;
}

.choice-or {
  margin: 0 5px;
  color: #52657a;
}

.time-savings {
  padding: 14px 16px;
  margin: 18px 0;
  border: 1px solid #bed8e8;
  border-radius: 12px;
  background: #eef6ff;
}

.time-savings h5 {
  font-size: 14px;
}

.savings-value {
  display: block;
  margin: 8px 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.time-savings p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.75;
}

.time-savings .savings-assumption, .time-savings .savings-note {
  font-size: 13px;
  color: #52657a;
}

.time-savings .savings-note {
  border-top: 1px solid #bed8e8;
  padding-top: 8px;
  margin-top: 10px;
}

.wait-assumptions {
  border: 1px solid #b8cddd;
  border-radius: 12px;
  padding: 8px 16px;
  margin: 16px 0 24px;
  background: #fff;
}

.wait-assumptions > summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.wait-assumptions .family-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wait-assumptions label, .wait-assumptions input {
  min-width: 0;
}

.wait-assumptions input {
  font-size: 16px;
}

.wait-assumptions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
}

@media (max-width: 350px) {
  .included-fixed {
    grid-template-columns: minmax(0, 1fr);
  }
}

.catalog-shortcut {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 8px 0;
  color: #234f80;
  font-size: 15px;
  font-weight: 700;
}

.match-list .missing > span {
  color: #a44633;
}

.pass-catalog {
  margin: 32px 0;
  padding: 24px;
  border: 1px solid #b8cddd;
  border-radius: 18px;
  background: #fff;
  scroll-margin-top: 20px;
}

.pass-catalog h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.5;
}

.catalog-list {
  display: grid;
  gap: 12px;
}

.catalog-pass {
  border: 1px solid #b8cddd;
  border-radius: 12px;
  overflow: hidden;
}

.catalog-pass > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding: 14px 16px;
  cursor: pointer;
  background: #f4f8fc;
}

.catalog-pass > summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 22px;
}

.catalog-pass[open] > summary::after {
  content: '−';
}

.catalog-name {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
}

.catalog-name small, .catalog-name strong {
  display: block;
}

.catalog-name small, .catalog-match {
  font-size: 13px;
  color: #234f80;
}

.catalog-name strong {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.55;
}

.catalog-match {
  max-width: 30%;
  line-height: 1.6;
}

.catalog-body {
  padding: 16px;
}

.catalog-warnings {
  padding: 12px 12px 12px 28px;
  margin: 0;
  background: #fff5c0;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.75;
}

.catalog-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.catalog-links .button {
  font-size: 14px;
}

@media (max-width: 700px) {
  .pass-catalog {
    padding: 18px 14px;
  }

  .catalog-pass > summary {
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 12px;
  }

  .catalog-name {
    flex-basis: calc(100% - 32px);
    order: 0;
  }

  .catalog-pass > summary::after {
    order: 1;
  }

  .catalog-match {
    order: 2;
    max-width: 100%;
  }

  .catalog-body {
    padding: 12px;
  }

  .catalog-links .button {
    width: 100%;
  }
}
.ride-waits {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #d4e1ed;
  color: #233c59;
  text-align: left;
}
.ride-waits > span {display: grid; gap: 3px; font-size: .85rem;}
.ride-waits .wait-label {font-size: .78rem; font-weight: 600;}
.ride-waits .wait-value {font-family: inherit; font-size: 1rem; line-height: 1.45;}
.ride-waits small {font-size: .75rem; line-height: 1.55; color: #425875;}
.selected-waits {margin: 22px 0; padding: 16px; background: #eff6ff; border-radius: 14px;}
.selected-waits h3 {font-family: inherit; font-size: 1rem; margin: 0 0 14px;}
.selected-waits h4 {font-family: inherit; font-size: .95rem; margin: 0;}
.selected-wait-grid {display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px;}
.selected-wait-grid article {min-width: 0; padding: 12px; background: #fff; border: 1px solid #d4e1ed; border-radius: 10px;}
.wait-source {font-size: .8rem; line-height: 1.6; margin: 18px 0; color: #425875;}
.wait-source p {margin: 8px 0; font-size: inherit;}
.wait-source summary {min-height: 44px; padding: 10px 0; cursor: pointer;}
.wait-source a {display: inline-block; padding: 10px 0; font-weight: 700; color: #175eb7;}
.sale-status {font-weight: 700; color: #425875; font-size: .85rem; margin: 14px 0;}
.pass-restrictions {font-size: .8rem; color: #425875; padding-left: 20px; line-height: 1.7;}
.pass-count {white-space: nowrap;}
@media (max-width: 480px) {
  .ride-content {padding: 12px;}
  .ride-waits .wait-value {font-size: .88rem;}
  .selected-waits {padding: 12px;}
}
.mrt-ad {
  width: min(680px, calc(100% - 32px));
  margin: 32px auto;
  color: #425875;
}
.mrt-ad-label {margin: 0 0 8px; font-size: .8rem;}
.mrt-ad-host {width: 100%; min-height: 200px;}
.mrt-ad-host iframe {display: block; width: 100%; max-width: 100%; border: 0;}
.mrt-ad-status {font-size: .85rem; margin: 8px 0;}
