/* Trip Card Lookup. Runtime values mirror the shared Metablox light tokens. */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: light; background: var(--ds-bg, #fafafa); }
body.travel-page { margin: 0; color: var(--ds-ink, #1a1a1a); background: var(--ds-bg, #fafafa); font-family: var(--ds-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif); font-size: 14px; line-height: 1.45; }
.travel-page :where(button, input, select) { font: inherit; }
.travel-page button, .travel-page a, .travel-page input, .travel-page select { -webkit-tap-highlight-color: transparent; }
.travel-page a { color: var(--ds-link, #b25531); text-decoration: none; }
.travel-page a:hover { text-decoration: underline; }
.travel-page button { cursor: pointer; }
.travel-page h1, .travel-page h2, .travel-page h3, .travel-page p, .travel-page dl, .travel-page dd { margin: 0; }
.travel-page h1 { font-size: 28px; line-height: 36px; letter-spacing: -.45px; font-weight: 700; overflow-wrap: anywhere; }
.travel-page h2 { font-size: 18px; line-height: 24px; font-weight: 600; }
.travel-page :focus-visible { outline: 3px solid var(--ds-focus, #ea794c); outline-offset: 3px; }
.travel-header { min-height: 61px; padding: 12px 40px; background: var(--ds-card, #fff); border-bottom: 1px solid var(--ds-line, #e8e8e8); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.travel-page .travel-logo { width: 162px; display: flex; align-items: center; justify-content: center; gap: 12px; height: 36px; flex-shrink: 0; color: var(--ds-ink, #1a1a1a); font-size: 20px; line-height: 28px; text-decoration: none; }
.travel-logo img { display: block; object-fit: contain; }
.travel-navigation { display: flex; align-items: center; gap: 24px; }
.travel-navigation a { color: var(--ds-ink-soft, #6b6b6b); min-height: 36px; display: inline-flex; align-items: center; }
.travel-navigation a[aria-current] { color: var(--ds-ink, #1a1a1a); font-weight: 600; }
.travel-menu-button { display: none; }
.travel-main { width: 100%; max-width: 1680px; margin: 0 auto; padding: 32px 120px 112px; min-height: calc(100vh - 61px); }
.travel-main--landing { display: flex; justify-content: center; align-items: flex-start; }
.travel-hero { width: 640px; max-width: 100%; display: flex; flex-direction: column; gap: 12px; }
.travel-hero h1 { font-size: 32px; line-height: 40px; letter-spacing: -.55px; }
.travel-hero__lead { font-size: 16px; line-height: 24px; color: var(--ds-ink-soft, #6b6b6b); }
.travel-country-search { display: flex; align-items: flex-end; gap: 12px; }
.travel-country-search .travel-field { flex: 1; min-width: 0; }
.travel-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.travel-field label { font-size: 13px; color: var(--ds-ink-soft, #6b6b6b); font-weight: 500; }
.travel-field input, .travel-field select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--ds-input-border, #d1d5db); border-radius: 10px; background: var(--ds-elevated, #fff); color: var(--ds-ink, #1a1a1a); }
.travel-field input::placeholder { color: var(--ds-ink-soft, #6b6b6b); opacity: 1; }
.travel-field select { text-overflow: ellipsis; padding-right: 28px; }
.travel-button { min-height: 44px; padding: 10px 16px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; border-radius: var(--ds-radius-md, 12px); font-weight: 600; line-height: 20px; border: 1.5px solid transparent; text-align: center; text-decoration: none; }
.travel-page a.travel-button:hover { text-decoration: none; }
.travel-button--primary { background: var(--ds-brand, #ea794c); color: var(--ds-on-cta, #1a1a1a) !important; padding: 12px 24px; font-size: 17px; line-height: 24px; font-weight: 700; }
.travel-button--primary:hover { background: var(--ds-brand-hover, #ee8e60); }
.travel-button--secondary { border-color: var(--ds-link, #b25531); color: var(--ds-link, #b25531); background: transparent; }
.travel-button--secondary:hover { background: #fff4ef; }
.travel-button--full { width: 100%; }
.travel-text-button { color: var(--ds-link, #b25531); background: none; border: 0; padding: 8px 0; display: inline-flex; align-items: center; min-height: 44px; justify-content: center; font-weight: 500; text-align: center; }
.travel-text-button:hover { text-decoration: underline; }
.travel-icon-button { flex-shrink: 0; background: transparent; border: 0; color: var(--ds-ink, #1a1a1a); width: 44px; height: 44px; font-size: 24px !important; line-height: 1; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; }
.travel-icon-button:hover { background: var(--ds-surface, #f2f2f7); }
.travel-country-picker { padding: 8px; border: 1px solid var(--ds-line, #e8e8e8); border-radius: 12px; background: var(--ds-card, #fff); }
.travel-country-picker summary { cursor: pointer; color: var(--ds-ink-soft, #6b6b6b); font-size: 13px; list-style: none; min-height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 4px 12px; }
.travel-country-picker summary::-webkit-details-marker { display: none; }
.travel-country-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.travel-page .travel-country-options > a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 36px; background: transparent; border: 0; padding: 6px 12px; border-radius: 6px; color: var(--ds-ink, #1a1a1a); text-align: left; }
.travel-country-options > a:hover, .travel-country-options > a:focus-visible { background: var(--ds-surface, #f2f2f7); text-decoration: none; }
.travel-country-options > a > span:first-child { min-width: 0; }
.travel-country-coverage { font-size: 12px; color: var(--ds-ink-soft, #6b6b6b); flex-shrink: 0; }
.travel-disclaimer { display: flex; gap: 8px; padding: 12px 16px; background: var(--ds-surface, #f2f2f7); border-radius: 12px; line-height: 20px; font-size: 14px; }
.travel-disclaimer > span { flex-shrink: 0; }
.travel-correction-prompt { margin-top: 4px !important; }
.travel-page .travel-correction-link { align-self: flex-start; display: inline-flex; align-items: center; min-height: 32px; font-size: 13px; line-height: 18px; text-decoration: underline; }
.travel-mode-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.travel-mode-links a { min-height: 32px; display: inline-flex; align-items: center; color: var(--ds-ink-soft, #6b6b6b); }
.travel-mode-links a[aria-current] { color: var(--ds-link, #b25531); font-weight: 600; }
.travel-breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; line-height: 18px; color: var(--ds-ink-soft, #6b6b6b); margin-bottom: 16px; }
.travel-breadcrumbs a { color: var(--ds-ink-soft, #6b6b6b); }
.travel-results-heading { display: flex; gap: 24px; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.travel-country-switch { display: flex; align-items: center; gap: 8px; flex-shrink: 0; max-width: 280px; }
.travel-country-switch .travel-field label { position: absolute; clip: rect(0,0,0,0); width: 1px; height: 1px; overflow: hidden; }
.travel-country-switch select { min-height: 36px; padding-top: 6px; padding-bottom: 6px; border-color: var(--ds-line, #e8e8e8); border-radius: 999px; font-size: 13px; }
.travel-results-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; margin-top: 10px; align-items: start; }
.travel-filter-sidebar { padding: 16px; background: var(--ds-card, #fff); border: 1px solid var(--ds-line, #e8e8e8); border-radius: 16px; }
#travel-filter-form { display: flex; flex-direction: column; gap: 16px; }
.travel-page fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
.travel-filter-sidebar legend, .travel-filter-dialog legend { font-size: 12px; line-height: 16px; text-transform: uppercase; letter-spacing: .6px; color: var(--ds-ink-soft, #6b6b6b); font-weight: 600; margin-bottom: 8px; }
.travel-checkbox { display: flex; gap: 8px; align-items: center; min-height: 44px; cursor: pointer; font-size: 14px; }
.travel-checkbox input { flex-shrink: 0; width: 20px; height: 20px; margin: 0; accent-color: var(--ds-brand, #ea794c); cursor: pointer; }
.travel-filter-range, .travel-filter-limit { display: flex; align-items: end; gap: 8px; margin-top: 8px; }
.travel-filter-range > .travel-field { flex: 1; }
.travel-filter-range > span { padding-bottom: 12px; color: var(--ds-ink-soft, #6b6b6b); }
.travel-filter-limit > .travel-field:first-child { flex: 1; }
.travel-filter-limit > .travel-field:last-child { width: 100px; flex-shrink: 0; }
.travel-filter-range input, .travel-filter-limit input, .travel-filter-limit select { padding-left: 10px; padding-right: 8px; }
.travel-filter-hint { font-size: 12px; line-height: 18px; color: var(--ds-ink-soft, #6b6b6b); margin-top: 6px !important; }
.travel-field--filter-currency { margin-top: 8px; }
.travel-filter-errors { padding: 12px 16px 12px 32px; margin: 0 0 16px; border-radius: 12px; color: #b91c1c; background: #fef2f2; }
.travel-results-body { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.travel-results-toolbar { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ds-ink-soft, #6b6b6b); font-size: 13px; }
.travel-mobile-filters { display: none; }
.travel-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
.travel-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--ds-line, #e8e8e8); border-radius: 16px; background: var(--ds-card, #fff); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.travel-card.is-selected, .travel-card:has([data-compare-card]:checked) { border-color: var(--ds-focus, #ea794c); box-shadow: inset 0 0 0 1px var(--ds-focus, #ea794c), 0 2px 8px rgba(0,0,0,.06); }
.travel-card__header { display: flex; gap: 12px; align-items: center; min-width: 0; }
.travel-card__header > div { min-width: 0; }
.travel-card__header h2 { overflow-wrap: anywhere; }
.travel-card__glyph { width: 48px; height: 30px; border-radius: 6px; background: var(--ds-surface, #f2f2f7); flex-shrink: 0; }
.travel-card__fees { display: flex; gap: 24px; flex-wrap: wrap; }
.travel-card__fees dt { font-size: 13px; line-height: 18px; color: var(--ds-ink-soft, #6b6b6b); }
.travel-card__fees dd { font-weight: 600; line-height: 20px; }
.travel-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.travel-badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; background: var(--ds-surface, #f2f2f7); color: var(--ds-ink-soft, #6b6b6b); border-radius: 999px; font-size: 12px; line-height: 17px; font-weight: 600; max-width: 100%; }
.travel-badge--unverified { color: #b91c1c; background: #fef2f2; }
.travel-card__meta { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 13px; line-height: 18px; color: var(--ds-ink-soft, #6b6b6b); align-items: center; }
.travel-card__meta .travel-badge { padding: 2px 8px; }
.travel-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.travel-card__actions .travel-button { min-height: 38px; padding: 8px 14px; }
.travel-card__summary { line-height: 20px; }
.travel-freshness { display: flex; align-items: flex-start; gap: 5px; padding: 6px 9px; font-size: 12px; line-height: 18px; border-radius: 8px; background: #fff7df; color: #805500; }
.travel-freshness--strong { background: #fff0e8; color: #943b13; font-weight: 600; }
.travel-empty { text-align: center; padding: 48px 24px; border: 1px dashed var(--ds-input-border, #d1d5db); border-radius: 16px; display: flex; align-items: center; flex-direction: column; gap: 12px; margin-top: 16px; }
.travel-empty p { color: var(--ds-ink-soft, #6b6b6b); max-width: 440px; }
.travel-empty__icon { font-size: 32px; color: var(--ds-ink-soft, #6b6b6b); }
.travel-pagination { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.travel-benefits-search { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.travel-page[data-mode=benefits] .travel-main--landing { display: block; }
.travel-page[data-mode=benefits] .travel-hero { width: 100%; gap: 16px; }
.travel-benefits-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; width: 100%; }
.travel-benefits-form > .travel-button { grid-column: 1 / -1; justify-self: start; }
.travel-search-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.travel-benefits-search .travel-search-fields { max-width: none; }
.travel-benefit-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.travel-filter-chip { position: relative; cursor: pointer; display: flex; }
.travel-filter-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.travel-filter-chip span { border: 1px solid var(--ds-line, #e8e8e8); border-radius: 999px; background: var(--ds-card, #fff); padding: 7px 12px; font-weight: 500; line-height: 20px; }
.travel-filter-chip input:checked + span { background: var(--ds-brand, #ea794c); border-color: var(--ds-brand, #ea794c); color: var(--ds-on-cta, #1a1a1a); }
.travel-page a.travel-filter-chip { color: var(--ds-ink, #1a1a1a); }
.travel-page a.travel-filter-chip:hover { text-decoration: none; }
.travel-filter-chip[aria-current=true] span { background: var(--ds-brand, #ea794c); border-color: var(--ds-brand, #ea794c); color: var(--ds-on-cta, #1a1a1a); }
.travel-filter-chip input:focus-visible + span { outline: 3px solid var(--ds-focus, #ea794c); outline-offset: 3px; }
.travel-card-grid--benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.travel-card__benefit-summaries { display: flex; flex-direction: column; gap: 10px; }
.travel-card__benefit-summaries h3 { font-size: 14px; font-weight: 600; line-height: 20px; }
.travel-card__benefit-summaries p { font-size: 14px; line-height: 20px; margin-top: 2px; }
.travel-card__benefit-summaries .travel-badge { margin-top: 4px; }
.travel-result-count { font-size: 13px; color: var(--ds-ink-soft, #6b6b6b); }
.travel-request-status { display: flex; justify-content: space-between; gap: 12px; align-items: center; border: 1px solid var(--ds-line, #e8e8e8); padding: 8px 16px; background: var(--ds-surface, #f2f2f7); border-radius: 12px; margin-bottom: 16px; }
.travel-request-status.is-error { background: #fff4ef; color: #943b13; }
.travel-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.travel-detail { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.travel-detail__metadata { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.travel-benefit-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--ds-line, #e8e8e8); }
.travel-benefit-tab { display: flex; min-height: 56px; width: 200px; max-width: 33.333%; padding: 8px 4px; align-items: center; justify-content: center; border-radius: 8px 8px 0 0; text-align: center; background: var(--ds-surface, #f2f2f7); color: var(--ds-ink, #1a1a1a) !important; position: relative; }
.travel-benefit-tab[aria-selected=true] { background: var(--ds-card, #fff); font-weight: 600; }
.travel-benefit-tab[aria-selected=true]::after { content: ''; height: 3px; background: var(--ds-brand, #ea794c); position: absolute; bottom: 0; left: 0; right: 0; border-radius: 3px; }
.travel-benefit-row { padding: 12px 0; display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--ds-line, #e8e8e8); }
.travel-benefit-row__heading { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; }
.travel-benefit-row__heading h2 { font-size: 14px; line-height: 20px; }
.travel-benefit-row__summary { line-height: 20px; white-space: pre-line; }
.travel-benefit-row__source { font-size: 13px; line-height: 18px; color: var(--ds-ink-soft, #6b6b6b); }
.travel-policy-terms { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 !important; }
.travel-policy-terms div { display: flex; gap: 5px; line-height: 20px; }
.travel-policy-terms dt { flex-shrink: 0; font-weight: 500; }
.travel-policy-terms dt::after { content: ':'; }
.travel-policy-terms dd { white-space: pre-line; }
.travel-detail-aside { background: var(--ds-card, #fff); border: 1px solid var(--ds-line, #e8e8e8); padding: 20px; border-radius: 16px; display: flex; flex-direction: column; gap: 12px; }
.travel-cover-trigger { display: flex; flex-direction: column; gap: 4px; }
.travel-cover-trigger h2 { font-size: 14px; line-height: 20px; }
.travel-cover-trigger p { line-height: 20px; }
.travel-source, .travel-caption { font-size: 13px; line-height: 18px; }
.travel-muted { color: var(--ds-ink-soft, #6b6b6b); }
.travel-mobile-disclaimer { display: none; }
.travel-compare-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.travel-compare-heading .travel-text-button { margin-left: auto; }
.travel-compare-scroll-hint { display: none; font-size: 13px; }
.travel-comparison-scroll { position: relative; max-width: 100%; overflow: auto; margin-top: 16px; border: 1px solid var(--ds-line, #e8e8e8); border-radius: 12px; background: var(--ds-card, #fff); }
.travel-comparison-table { border-collapse: separate; border-spacing: 0; width: 100%; table-layout: fixed; font-size: 14px; }
.travel-comparison-table th, .travel-comparison-table td { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ds-line, #e8e8e8); border-right: 1px solid var(--ds-line, #e8e8e8); overflow-wrap: anywhere; }
.travel-comparison-table th:first-child { width: 220px; }
.travel-comparison-table tr > :last-child { border-right: 0; }
.travel-comparison-table tr:last-child > * { border-bottom: 0; }
.travel-comparison-table thead { background: var(--ds-surface, #f2f2f7); }
.travel-comparison-table thead th { font-weight: 600; }
.travel-comparison-table td > p { margin-top: 6px; }
.travel-comparison-table td .travel-source { display: inline-block; margin-top: 6px; }
.travel-comparison-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; }
.travel-comparison-card-heading .travel-icon-button { width: 32px; min-width: 32px; }
.travel-comparison-table thead .travel-muted { font-size: 13px; font-weight: 400; }
.travel-comparison-group th { background: var(--ds-surface, #f2f2f7); text-transform: uppercase; font-size: 12px; font-weight: 600; letter-spacing: .6px; color: var(--ds-ink-soft, #6b6b6b); }
.travel-compare-tray { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 20; background: var(--ds-card, #fff); border-top: 1px solid var(--ds-line, #e8e8e8); box-shadow: 0 -4px 16px rgba(0,0,0,.06); padding: 14px 40px calc(14px + env(safe-area-inset-bottom)); }
.travel-compare-tray__inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.travel-compare-tray__selection { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.travel-compare-tray__items { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.travel-compare-tray__items button, .travel-compare-pill { border: 1px solid var(--ds-line, #e8e8e8); background: var(--ds-surface, #f2f2f7); color: var(--ds-ink, #1a1a1a); border-radius: 999px; min-height: 36px; padding: 6px 12px; font-size: 13px; }
.travel-compare-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 2px 2px 12px; border-radius: 999px; background: var(--ds-surface, #f2f2f7); border: 1px solid var(--ds-line, #e8e8e8); font-size: 13px; }
.travel-compare-chip > span { white-space: nowrap; max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
.travel-compare-tray__items .travel-compare-chip__remove { border: 0; padding: 0; width: 32px; min-height: 32px; font-size: 20px; background: transparent; }
.travel-pagination__link { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; border-radius: 8px; border: 1px solid var(--ds-line, #e8e8e8); }
.travel-pagination__link[aria-current=page] { background: var(--ds-brand, #ea794c); color: var(--ds-on-cta, #1a1a1a); }
.travel-compare-tray__actions { display: flex; gap: 16px; align-items: center; flex-shrink: 0; }
.travel-compare-tray__actions a[aria-disabled=true] { opacity: .65; pointer-events: none; }
.travel-toast { position: fixed; left: 50%; bottom: 150px; transform: translateX(-50%); z-index: 30; border-radius: 12px; background: var(--ds-ink, #1a1a1a); color: #fff; padding: 12px 18px; box-shadow: 0 4px 16px rgba(0,0,0,.15); width: max-content; max-width: calc(100% - 32px); }
.travel-filter-dialog { width: min(100% - 24px, 480px); max-height: calc(100dvh - 32px); border: 1px solid var(--ds-line, #e8e8e8); border-radius: 20px; padding: 20px; color: var(--ds-ink, #1a1a1a); background: var(--ds-card, #fff); box-shadow: var(--ds-shadow-elevated, 0 8px 20px rgba(0,0,0,.12)); }
.travel-filter-dialog::backdrop { background: rgba(0,0,0,.4); }
.travel-dialog-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 16px; }
.travel-sr-only, .travel-skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.travel-skip-link:focus { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 12px 18px; border-radius: 8px; background: var(--ds-card, #fff); color: var(--ds-ink, #1a1a1a); }
.travel-inline-error { color: #b91c1c; }
@media (min-width: 1680px) { .travel-main { padding-right: 160px; padding-left: 160px; } }
@media (max-width: 1200px) {
  .travel-main { padding-right: 48px; padding-left: 48px; }
  .travel-results-layout { grid-template-columns: 248px minmax(0, 1fr); }
  .travel-card-grid { grid-template-columns: minmax(0, 1fr); }
  .travel-card-grid--benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .travel-detail-layout { grid-template-columns: minmax(0,1fr) 310px; gap: 24px; }
  .travel-benefits-form { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 800px) {
  .travel-header { padding: 12px 16px; position: relative; flex-wrap: wrap; }
  .travel-js .travel-menu-button { display: inline-flex; justify-content: center; align-items: center; border: 0; background: transparent; color: var(--ds-ink, #1a1a1a); width: 44px; height: 36px; font-size: 20px !important; }
  .travel-navigation { gap: 8px 24px; flex-wrap: wrap; }
  .travel-js .travel-navigation { display: none; position: absolute; left: 0; right: 0; top: 60px; z-index: 25; padding: 12px 20px; flex-wrap: wrap; gap: 8px 24px; border-bottom: 1px solid var(--ds-line, #e8e8e8); background: var(--ds-card, #fff); box-shadow: 0 8px 12px rgba(0,0,0,.04); }
  .travel-navigation.is-open, .travel-navigation[data-open=true] { display: flex; }
  .travel-main { padding: 16px 16px 160px; }
  .travel-page h1, .travel-hero h1 { font-size: 28px; line-height: 36px; }
  .travel-hero__lead { font-size: 14px; line-height: 20px; }
  .travel-country-search { flex-direction: column; align-items: stretch; }
  .travel-country-options { grid-template-columns: 1fr; }
  .travel-country-options > a { min-height: 38px; }
  .travel-country-picker summary { min-height: 36px; }
  .travel-mode-links { gap: 16px; }
  .travel-results-heading { flex-direction: column; align-items: stretch; gap: 10px; }
  .travel-country-switch { max-width: none; }
  .travel-country-switch .travel-field { flex: 1; }
  .travel-breadcrumbs { margin-bottom: 12px; font-size: 12px; }
  .travel-results-layout { grid-template-columns: minmax(0,1fr); gap: 0; margin-top: 8px; }
  .travel-filter-sidebar { margin-bottom: 16px; }
  .travel-js .travel-filter-sidebar { display: none; }
  .travel-js .travel-mobile-filters { display: inline-flex; min-height: 40px; }
  .travel-card-grid, .travel-card-grid--benefits { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .travel-card { padding: 16px; }
  .travel-search-fields { grid-template-columns: minmax(0,1fr); }
  .travel-benefits-form > .travel-button { width: 100%; }
  .travel-benefit-filters { gap: 8px; }
  .travel-filter-chip span { font-size: 14px; padding: 7px 12px; }
  .travel-detail-layout { display: block; }
  .travel-detail { gap: 12px; }
  .travel-detail-layout + .travel-mobile-disclaimer { display: block; margin-top: 16px; }
  .travel-detail-aside { margin-top: 20px; padding: 16px; gap: 12px; }
  .travel-detail-aside .travel-disclaimer { display: none; }
  .travel-benefit-tabs { gap: 0; width: 100%; }
  .travel-benefit-tab { width: 33.333%; min-height: 56px; font-size: 13px; line-height: 18px; padding: 8px 4px; border-radius: 8px 8px 0 0; }
  .travel-benefit-row { padding: 12px 0; }
  .travel-benefit-row__heading { gap: 6px 8px; }
  .travel-detail > .travel-detail__metadata { gap: 6px; font-size: 14px; }
  .travel-detail-layout ~ .travel-mobile-disclaimer { margin-top: 12px; }
  .travel-comparison-table { min-width: 850px; }
  .travel-comparison-table th:first-child { width: 180px; }
  .travel-comparison-table th, .travel-comparison-table td { padding: 10px; }
  .travel-comparison-scroll { border-radius: 10px; }
  .travel-compare-scroll-hint { display: block; margin-top: 12px !important; }
  .travel-compare-tray { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .travel-compare-tray__inner { gap: 12px; flex-wrap: wrap; }
  .travel-compare-tray__selection { flex-basis: 100%; }
  .travel-compare-tray__items { gap: 6px; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
  .travel-compare-tray__items button { white-space: nowrap; }
  .travel-compare-tray__actions { width: 100%; justify-content: space-between; }
  .travel-compare-tray__actions .travel-button { padding: 8px 20px; min-height: 44px; font-size: 15px; }
  .travel-toast { bottom: 190px; }
}
@media (prefers-reduced-motion: no-preference) {
  .travel-button, .travel-filter-chip span { transition: background-color .15s ease, border-color .15s ease; }
}
@media print {
  .travel-header, .travel-compare-tray, .travel-detail-aside, .travel-mode-links { display: none !important; }
  .travel-main { padding: 0; }
  .travel-detail-layout { display: block; }
  .travel-comparison-scroll { overflow: visible; }
}

/* Travel v5: card discovery, claim evidence and responsive comparison. */
.travel-cards-catalogue, .travel-cards-detail, .travel-cards-comparison { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.travel-cards-heading { display: flex; flex-direction: column; gap: 32px; }
.travel-cards-search { display: flex; flex-direction: column; gap: 32px; }
.travel-cards-search__controls { display: grid; grid-template-columns: minmax(220px, .9fr) minmax(220px, 1.5fr) 200px; align-items: start; gap: 24px; padding: 24px; border-radius: 16px; background: var(--ds-card,#fff); }
.travel-cards-search__controls .travel-field { gap: 8px; }
.travel-cards-search__controls .travel-field label { font-size: 15px; font-weight: 600; color: var(--ds-ink,#1a1a1a); }
.travel-cards-search__controls input, .travel-cards-search__controls select { border-color: transparent; padding: 8px 0; border-radius: 4px; font-size: 18px; min-height: 44px; }
.travel-cards-search__controls select { padding-right: 20px; font-weight: 600; }
.travel-cards-search__controls button { align-self: start; }
.travel-cards-quick-filters { gap: 12px; }
.travel-cards-quick-filters .travel-filter-chip span { min-height: 44px; border: 0; border-radius: 8px; padding: 12px; font-size: 13px; font-weight: 600; }
.travel-cards-more-filters > summary { width: fit-content; min-height: 48px; padding: 14px 24px; list-style: none; cursor: pointer; font-size: 15px; }
.travel-cards-more-filters > summary::-webkit-details-marker { display: none; }
.travel-cards-advanced { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; padding: 24px; background: var(--ds-card,#fff); border-radius: 16px; }
.travel-cards-advanced > fieldset { min-width: 0; }
.travel-cards-advanced legend { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--ds-ink,#1a1a1a); text-transform: none; letter-spacing: 0; }
.travel-cards-advanced .travel-field { margin-top: 8px; }
.travel-cards-filter-intro, .travel-cards-filter-actions, .travel-cards-filter-note { grid-column: 1 / -1; }
.travel-cards-filter-intro { display: flex; flex-direction: column; gap: 16px; }
.travel-cards-filter-actions { display: flex; gap: 16px; }
.travel-cards-results { display: flex; flex-direction: column; gap: 32px; }
.travel-cards-results > header { display: flex; flex-direction: column; gap: 8px; }
.travel-cards-catalogue .travel-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.travel-cards-result { padding: 24px; box-shadow: none; gap: 12px; }
.travel-cards-result .travel-card__header h2 { font-size: 22px; line-height: 1.45; font-weight: 700; }
.travel-page .travel-cards-result .travel-card__header h2 a { color: var(--ds-ink,#1a1a1a); }
.travel-cards-result .travel-card__summary { font-size: 16px; line-height: 24px; color: var(--ds-ink-soft,#6b6b6b); }
.travel-cards-result .travel-card__fees { gap: 12px 24px; font-size: 13px; color: var(--ds-ink-soft,#6b6b6b); }
.travel-cards-result .travel-card__fees > div { display: flex; flex-wrap: wrap; gap: 6px; }
.travel-cards-result .travel-card__fees dd { font-weight: 400; }
.travel-cards-result .travel-card__actions { justify-content: flex-start; flex-wrap: wrap; }
.travel-cards-compare-control { min-height: 48px; padding: 12px 16px; border: 1.5px solid var(--ds-link,#b25531); border-radius: 12px; font-size: 15px; color: var(--ds-link,#b25531); }
.travel-cards-compare-control:has(input:checked) { background: #fff4ef; }
.travel-cards-compare-control input { width: 16px; height: 16px; }
.travel-cards-result .travel-correction-link { margin-top: 0; }
.travel-cards-identity-layout { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(240px,1fr); gap: 24px; align-items: start; }
.travel-cards-identity { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--ds-card,#fff); border-radius: 16px; }
.travel-cards-identity h2 { font-size: 36px; line-height: 1.12; font-weight: 700; }
.travel-cards-identity .travel-card__fees { gap: 12px 24px; }
.travel-cards-identity-actions { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.travel-cards-benefit-jumps { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.travel-cards-benefit-jumps a { min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; }
.travel-cards-benefit-section { display: flex; flex-direction: column; gap: 24px; scroll-margin-top: 24px; }
.travel-cards-claim { display: grid; grid-template-columns: minmax(180px,1fr) minmax(0,1.8fr); gap: 24px; background: var(--ds-card,#fff); border: 0; border-radius: 12px; padding: 24px; }
.travel-cards-claim .travel-benefit-row__heading { flex-direction: column; align-items: flex-start; gap: 8px; }
.travel-cards-claim h3 { font-size: 22px; line-height: 1.45; font-weight: 700; }
.travel-cards-claim .travel-badge--status { padding: 0; border-radius: 0; background: transparent; color: var(--ds-link,#b25531); font-size: 15px; }
.travel-cards-claim__evidence { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.travel-cards-claim__evidence > p { color: var(--ds-ink-soft,#6b6b6b); }
.travel-cards-claim__conditions > summary { min-height: 44px; display: flex; align-items: center; color: var(--ds-link,#b25531); cursor: pointer; font-size: 15px; width: fit-content; }
.travel-cards-claim__conditions > summary::after { content: '+'; margin-left: 12px; }
.travel-cards-claim__conditions[open] > summary::after { content: '−'; }
.travel-cards-claim__conditions .travel-policy-terms div { flex-direction: column; gap: 2px; margin-bottom: 8px; }
.travel-cards-correction { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.travel-cards-selected { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 24px; }
.travel-cards-selected > article { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; background: var(--ds-card,#fff); border-radius: 16px; min-width: 0; }
.travel-cards-selected > article > div { min-width: 0; }
.travel-page .travel-cards-selected [data-comparison-card-name] { color: var(--ds-ink,#1a1a1a); font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.travel-cards-selected button { padding: 0 8px; flex-shrink: 0; }
.travel-cards-comparison .travel-comparison-scroll { margin-top: 0; border: 0; border-radius: 16px; overflow: visible; }
.travel-cards-comparison-table { border-collapse: collapse; }
.travel-cards-comparison-table td, .travel-cards-comparison-table th { border-right: 0; padding: 16px; font-size: 15px; }
.travel-cards-comparison-table th:first-child { width: 28%; font-weight: 600; }
.travel-cards-comparison-table .travel-badge--status { border: 0; padding: 0; background: transparent; border-radius: 0; font-weight: 400; font-size: 15px; }
.travel-cards-cell-label { display: none; }
.travel-cards-back { align-self: flex-start; min-width: 240px; }
.travel-cards-filter-dialog { max-width: 820px; width: calc(100% - 48px); padding: 24px; }
.travel-cards-filter-dialog .travel-cards-advanced { padding: 0; }
.travel-cards-page ~ .travel-compare-tray, .travel-cards-detail-page ~ .travel-compare-tray, .travel-cards-compare-page ~ .travel-compare-tray { padding: 16px max(24px,calc((100vw - 1296px) / 2)); background: var(--ds-surface,#f2f2f7); border-top: 0; box-shadow: 0 -2px 12px rgba(0,0,0,.04); }
@media(max-width:1000px) {
  .travel-cards-search__controls { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .travel-cards-search__controls button { grid-column: 1 / -1; justify-self: start; }
}
@media(max-width:800px) {
  .travel-cards-catalogue, .travel-cards-detail, .travel-cards-comparison, .travel-cards-heading, .travel-cards-search { gap: 24px; }
  .travel-cards-search__controls { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .travel-cards-search__controls button { width: 100%; }
  .travel-cards-search__controls input, .travel-cards-search__controls select { font-size: 16px; }
  .travel-cards-catalogue .travel-card-grid { grid-template-columns: minmax(0,1fr); }
  .travel-cards-catalogue .travel-country-options { grid-template-columns: minmax(0,1fr); }
  .travel-cards-advanced { grid-template-columns: minmax(0,1fr); }
  .travel-cards-filter-dialog { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; border: 0; border-radius: 0; padding: 24px; background: var(--ds-bg,#fafafa); }
  .travel-cards-filter-dialog .travel-cards-advanced { background: transparent; }
  .travel-cards-advanced legend { font-size: 26px; line-height: 1.45; }
  .travel-cards-filter-actions { flex-direction: column; align-items: stretch; }
  .travel-cards-filter-actions > * { width: 100%; }
  .travel-cards-identity-layout, .travel-cards-claim { grid-template-columns: minmax(0,1fr); }
  .travel-cards-identity-actions { width: 100%; max-width: none; }
  .travel-cards-identity h2 { font-size: 28px; }
  .travel-cards-claim { gap: 24px; }
  .travel-cards-correction { align-items: stretch; }
  .travel-cards-selected { grid-template-columns: minmax(0,1fr); }
  .travel-cards-comparison-table { display: block; min-width: 0; }
  .travel-cards-comparison-table tbody { display: block; }
  .travel-cards-comparison-table tbody tr { display: grid; grid-template-columns: repeat(var(--comparison-visible-count,var(--comparison-count)),minmax(0,1fr)); gap: 12px; padding: 16px; border-bottom: 1px solid var(--ds-line,#e8e8e8); }
  .travel-cards-comparison-table th:first-child { width: auto; }
  .travel-cards-comparison-table tbody th { grid-column: 1 / -1; }
  .travel-cards-comparison-table tbody td, .travel-cards-comparison-table tbody th { display: block; border: 0; padding: 0; min-width: 0; font-size: 14px; }
  .travel-cards-comparison-table .travel-comparison-group { display: block; }
  .travel-cards-comparison-table .travel-comparison-group th { font-size: 13px; }
  .travel-cards-comparison-table .travel-badge { overflow-wrap: anywhere; font-size: 13px; }
  .travel-cards-cell-label { display: block; font-size: 12px; line-height: 18px; margin-bottom: 8px; color: var(--ds-ink-soft,#6b6b6b); }
  .travel-cards-back { width: 100%; min-width: 0; }
}
.travel-cards-filter-benefits { grid-column: 1 / -1; }
.travel-cards-filter-benefits:empty { display: none; }
.travel-cards-filter-dialog .travel-cards-quick-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.travel-cards-filter-dialog .travel-cards-quick-filters legend { position: static; width: 100%; height: auto; clip: auto; margin: 0 0 12px; overflow: visible; white-space: normal; font-size: 20px; font-weight: 700; line-height: 1.45; }
.travel-cards-filter-dialog .travel-cards-quick-filters .travel-filter-chip span { width: 100%; }
@media(max-width:800px) {
  .travel-cards-filter-dialog .travel-cards-quick-filters { grid-template-columns: minmax(0,1fr); }
  .travel-cards-filter-dialog .travel-cards-quick-filters legend { font-size: 26px; }
  .travel-cards-filter-dialog .travel-checkbox { padding: 12px; background: var(--ds-card,#fff); border-radius: 8px; }
}
/* Card compositions retain their layout when the shared panel styles load later. */
.travel-cards-catalogue .travel-cards-search__controls { display: grid; border: 0; }
.travel-cards-selected > article { flex-direction: row; text-align: left; }
#travel-filter-form.travel-cards-advanced { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
@media(max-width:800px) { #travel-filter-form.travel-cards-advanced { grid-template-columns: minmax(0,1fr); } }

.travel-cards-mobile-selector { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.travel-cards-mobile-selector > p { grid-column: 1 / -1; }
@media(max-width:800px) {
  .travel-cards-comparison-table--three:not([data-paired-comparison]) tbody tr { grid-template-columns: minmax(0,1fr); }
}

/* A single comparison control keeps full claim evidence visible by default. */
.travel-cards-comparison-toolbar { display: flex; justify-content: flex-end; }
.travel-cards-details-switch { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 16px; border: 1px solid var(--ds-line,#e8e8e8); border-radius: 12px; background: var(--ds-card,#fff); color: var(--ds-ink,#1a1a1a); font-size: 15px; font-weight: 600; cursor: pointer; }
.travel-cards-details-switch input { appearance: none; position: relative; width: 36px; height: 24px; margin: 0; border: 1px solid var(--ds-input-border,#d1d5db); border-radius: 999px; background: var(--ds-surface,#f2f2f7); cursor: pointer; flex-shrink: 0; transition: background-color .15s ease; }
.travel-cards-details-switch input::before { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ds-ink,#1a1a1a); transition: transform .15s ease; }
.travel-cards-details-switch input:checked { background: var(--ds-brand,#ea794c); border-color: var(--ds-brand,#ea794c); }
.travel-cards-details-switch input:checked::before { transform: translateX(12px); }
.travel-cards-details-switch input:focus-visible { outline: 3px solid var(--ds-focus,#ea794c); outline-offset: 3px; }
.travel-cards-comparison-table thead th { padding-block: 20px; font-size: 18px; font-weight: 700; color: var(--ds-ink,#1a1a1a); }
.travel-cards-comparison-table thead th:first-child { border-top-left-radius: 16px; }
.travel-cards-comparison-table thead th:last-child { border-top-right-radius: 16px; }
.travel-cards-comparison-summary { line-height: 1.5; white-space: pre-line; }
.travel-cards-comparison-detail { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 12px; }
.travel-cards-comparison-detail > p { white-space: pre-line; }
.travel-cards-comparison-detail .travel-source { margin-top: 0; }
.travel-cards-comparison-table td > .travel-freshness { margin-top: 12px; }
@media(max-width:800px) {
  .travel-cards-comparison-toolbar { justify-content: flex-start; }
  .travel-cards-comparison-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
}

@media(forced-colors:active) {
  .travel-cards-details-switch input, .travel-cards-details-switch input::before { transition: none; }
  .travel-cards-details-switch input { forced-color-adjust: none; background: Canvas; border-color: ButtonText; }
  .travel-cards-details-switch input::before { background: ButtonText; }
  .travel-cards-details-switch input:checked { background: Highlight; border-color: Highlight; }
  .travel-cards-details-switch input:checked::before { background: HighlightText; }
  .travel-cards-details-switch input:focus-visible { outline-color: Highlight; }
}
