/* Shared trip overview; all content is supplied by trip-data.json. */
.hero { position: relative; padding-bottom: 26px; }
.hero h1 { line-height: 1.12; letter-spacing: -.045em; }
.trip-intro { max-width: 36em; margin: 22px 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.trip-facts { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 18px 0; border-block: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.trip-facts b { color: var(--ink); margin-right: 4px; font-size: 24px; font-variant-numeric: tabular-nums; }
.trip-companions { font-size: 13px; color: var(--forest); }
.trip-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.trip-actions a, .trip-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: transparent; text-decoration: none; font-size: 13px; font-weight: 650; cursor: pointer; }
.trip-actions .trip-primary-action { background: var(--ink); color: white; border-color: var(--ink); }
.storage-caption { margin: 15px 0 0; font-size: 11px; color: var(--muted); line-height: 1.7; }
.trip-notices-wrap { margin: 0 18px 24px; }
.trip-notices { border: 1px solid #dccbb7; border-radius: 16px; background: #faf4e9; }
.trip-notices summary { display: flex; justify-content: space-between; align-items: center; min-height: 54px; gap: 12px; padding: 14px 18px; cursor: pointer; font-size: 13px; color: #715337; }
.trip-notices summary::after { content: "+"; font-size: 20px; }
.trip-notices[open] summary::after { content: "−"; }
.trip-notices summary b { margin-left: auto; font-size: 11px; }
.trip-notices ul { margin: 0; padding: 0 24px 18px 36px; font-size: 12px; line-height: 1.75; color: #715337; }
.trip-notices li + li { margin-top: 12px; }
.trip-notices li p { margin: 3px 0 0; }
.stay-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stay-card { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.stay-number { color: var(--lake); font: 700 10px/1.4 ui-monospace, monospace; letter-spacing: .13em; }
.stay-card h3 { margin: 12px 0; font-size: 19px; line-height: 1.5; overflow-wrap: anywhere; }
.stay-dates { font-size: 12px; color: var(--muted); line-height: 1.9; }
.stay-dates span { margin-inline: 4px; }
.stay-dates b { display: inline-block; margin-left: 7px; color: var(--forest); }
.stay-note { font-size: 12px; line-height: 1.7; color: var(--muted); }
.stay-card a { display: inline-flex; align-items: center; min-height: 44px; color: var(--lake); font-size: 12px; text-underline-offset: 4px; }
.day-navigation { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 24px; padding: 2px 1px 8px; scrollbar-width: thin; }
.day-navigation button { flex: 1 0 64px; min-height: 62px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.day-navigation button span { display: block; font: 650 9px/1.6 ui-monospace, monospace; color: var(--muted); }
.day-navigation button b { display: block; margin-top: 4px; font-size: 13px; }
.day-navigation button[aria-current="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.day-navigation button[aria-current="true"] span { color: #b8cccf; }
.day-card { scroll-margin-top: 90px; }
.schedule-status { display: inline-block; padding: 2px 7px; margin: 0 6px 4px 0; border-radius: 5px; font-size: 10px; font-weight: 650; vertical-align: middle; }
.schedule-status--confirmed { background: #e4ede3; color: #3d6246; }
.schedule-status--optional { background: #e6eef2; color: #376276; }
.schedule-status--pending { background: #f8e9d5; color: #81562b; }
.flight-time-notice { margin: 12px 0; color: #f5c9a4; font-size: 12px; line-height: 1.6; }
.runtime-notice { position: fixed; bottom: calc(20px + var(--safe-bottom)); left: 50%; transform: translateX(-50%); z-index: 100; width: min(90vw, 560px); padding: 16px 20px; border: 1px solid #c09069; border-radius: 14px; background: #fff6e9; color: #6e4225; box-shadow: var(--shadow); font-size: 13px; line-height: 1.7; }
.runtime-notice[hidden], .trip-notices-wrap[hidden], #stays[hidden] { display: none; }
.runtime-notice button { display: block; margin-top: 8px; min-height: 36px; border: 0; background: transparent; color: inherit; text-decoration: underline; cursor: pointer; }
:focus-visible { outline: 3px solid var(--lake); outline-offset: 4px; }
@media (max-width: 520px) { .stay-list { grid-template-columns: 1fr; } .trip-facts { gap: 16px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print {
  @page { margin: 14mm; }
  html, body { background: white !important; color: #17292f; }
  .topbar, .skip-link, .trip-actions, .day-navigation, .carousel-dots, .schedule-map-links, .todo-form, .todo-delete, .footer a, dialog, .place-map-overlay, .runtime-notice, #ledger-view { display: none !important; }
  #main { display: block !important; max-width: none; }
  .hero, .section { padding: 18px 0; }
  .hero h1 { font-size: 32px; }
  .flight-carousel { display: block; overflow: visible; }
  .flight-card { margin-bottom: 12px; min-height: 0; break-inside: avoid; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .day-detail[hidden] { display: block !important; }
  .day-card, .stay-card, .todo-item { break-inside: avoid; }
  .trip-notices-wrap { margin-inline: 0; }
  .day-toggle { border-bottom: 0; }
  .day-chevron { display: none; }
  .route-section { break-inside: avoid; }
  .storage-caption { display: none; }
}
