/* Ticket receipt shares the paper surface and navy frame of the illustration cards. */
body.foldout.airline #tickets-page .ticket-receipt {
  background: var(--inset-card-background);
  border: 1px solid var(--navy);
  border-top: 4px solid var(--navy);
  border-radius: 3px;
  padding: 26px;
  align-self: start;
  min-width: 0;
  width: 100%;
}
body.foldout.airline #tickets-page .ticket-eyebrow {
  font-family: 'IBM Plex Mono', monospace !important;
  background: none;
  color: var(--accent);
  margin: 0 0 18px;
  padding: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .08em;
}
body.foldout.airline #tickets-page .ticket-receipt h3 {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif !important;
  font-size: 72px;
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.025em;
  margin: 0 0 26px;
}
body.foldout.airline #tickets-page .ticket-facts {
  display: grid;
  grid-template-columns: 1fr;
  flex: none;
  gap: 22px;
}
body.foldout.airline #tickets-page .ticket-facts > div {
  grid-column: auto;
  border-top: 1px solid #142d4c35;
  padding-top: 18px;
}
body.foldout.airline #tickets-page .ticket-facts dt {
  font-family: 'IBM Plex Mono', monospace !important;
  color: var(--accent);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.4;
  margin: 0 0 8px;
}
body.foldout.airline #tickets-page .ticket-facts dd {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif !important;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .015em;
  text-transform: uppercase;
  margin: 0;
}
body.foldout.airline #tickets-page .ticket-facts dd > span {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 8px;
}
body.foldout.airline #tickets-page .ticket-facts > div:last-child {
  border-top: 1px dashed #142d4c80;
  margin: 0 -26px -4px;
  padding: 20px 26px 0;
}
body.foldout.airline #tickets-page .ticket-facts > div:last-child dd { font-size: 38px; }
@media (max-width: 850px) {
  body.foldout.airline #tickets-page .ticket-receipt { padding: 22px; }
  body.foldout.airline #tickets-page .ticket-receipt h3 { font-size: 64px; }
  body.foldout.airline #tickets-page .ticket-facts dd { font-size: 27px; }
  body.foldout.airline #tickets-page .ticket-facts > div:last-child { margin-left: -22px; margin-right: -22px; padding-left: 22px; padding-right: 22px; }
}

/* Checkout states and controls reuse the existing form and receipt design. */
#tickets-page [data-registration-fields], #tickets-page [data-ticket-questions] {
  display: grid;
  gap: inherit;
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}
#tickets-page [hidden] { display: none !important; }
#tickets-page .tix-form small { display: block; margin-top: 5px; font-weight: 400; text-transform: none; }
#tickets-page .field-error { color: #a32919; font-size: 13px; }
body.foldout.airline #tickets-page .checkout-status:not(:empty) { margin: -10px 0 0; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
body.foldout.airline #tickets-page .checkout-status.is-error { color: #a32919; background: #a329190a; border: 1px solid #a3291940; border-left: 3px solid #a32919; border-radius: 3px; }
#tickets-page [data-ticket-result] p { margin: 0; }
#tickets-page :is(.registration-confirmed, .registration-processing) h3 { color: var(--accent); font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif !important; font-size: clamp(36px, 4vw, 52px); line-height: 1.05; text-transform: uppercase; margin: 0 0 18px; }
#tickets-page :is(.registration-confirmed, .registration-processing) p { font-size: 17px; line-height: 1.5; }
#tickets-page .registration-processing a { overflow-wrap: anywhere; }
#tickets-page .ticket-action:disabled { opacity: .65; cursor: wait; }
#tickets-page .discount-control { display: flex; align-items: stretch; gap: 10px; margin-top: 10px; }
body.airline #tickets-page .discount-control input { margin-top: 0; flex: 1; min-width: 0; }
body.foldout.airline #tickets-page .code-action { flex: 0 0 auto; width: auto; margin: 0; padding: 12px 16px; font-size: 14px; }
body.foldout.airline #tickets-page [data-clear-discount] { background: var(--navy); }
body.foldout.airline #tickets-page [data-clear-discount]:hover { background: #243f59; }
body.foldout.airline #tickets-page .code-action:disabled, body.foldout.airline #tickets-page [data-ticket-submit]:disabled { opacity: .55; cursor: not-allowed; }
body.foldout.airline #tickets-page .ticket-facts .ticket-invoice-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
body.foldout.airline #tickets-page .ticket-invoice-line dd { font-size: 22px; white-space: nowrap; font-variant-numeric: tabular-nums; }
#tickets-page [data-ticket-price] { font: inherit !important; }
#tickets-page [data-ticket-discount-code], #tickets-page [data-ticket-discount-error] { display: block; margin-top: 5px; }
#tickets-page [data-ticket-discount-error] { color: #a32919; }
#tickets-page [data-ticket-discount-error]:empty { display: none; }
body.foldout.airline #tickets-page [data-ticket-paid] { color: var(--accent); }
#tickets-page .resume-checkout-row:not([hidden]) { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
#tickets-page .resume-checkout-row p { flex: 1 1 120px; margin: 0; line-height: 1.4; }
body.foldout.airline #tickets-page .resume-checkout { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; margin: 0; padding: 14px 24px; font-size: 14px; white-space: nowrap; }
#tickets-page .resume-checkout:disabled { opacity: .65; cursor: wait; }
#tickets-page [data-checkout-notice] { margin: 0; line-height: 1.5; }
