/* 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; }
.food-jump { display: flex; gap: 8px; margin: -6px 0 12px; }
.food-jump a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 720; text-decoration: none; }
.food-jump a b { color: var(--muted); font-size: 11px; }
.food-jump a:hover { border-color: var(--lake); }
.food-legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.food-groups { display: grid; gap: 26px; }
.food-group { scroll-margin-top: 0; }
.food-group > h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; font-size: 18px; }
.food-group > h3 small { color: var(--muted); font-size: 12px; font-weight: 650; }
.food-cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.food-city { padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.food-city h4 { margin: 0 0 6px; color: var(--muted); font-size: 12px; font-weight: 720; letter-spacing: .04em; }
.food-city ul { margin: 0; padding: 0; list-style: none; }
.food-city li + li { border-top: 1px solid var(--line); }
.food-spot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 11px 2px; }
.food-spot__name { display: inline-flex; align-items: baseline; gap: 7px; color: inherit; text-decoration: none; }
.food-spot__name:hover strong { color: var(--lake); }
.food-spot__main { display: grid; flex: 1 1 0; gap: 3px; min-width: 0; }
.food-spot__main strong { font-size: 14px; }
.food-spot__name small { color: var(--muted); font-size: 10px; font-weight: 650; }
.food-spot__main > span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.food-contacts { display: flex; flex: 1 0 100%; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.food-contact { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--lake); background: #fbfcf8; font-size: 11px; font-weight: 650; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.food-contact:hover, .food-contact:focus-visible { border-color: var(--lake); }
.food-contact--web { color: #fffefa; background: var(--lake); border-color: var(--lake); }
.food-spot__meta { display: grid; justify-items: end; align-content: start; gap: 3px; flex: none; max-width: 42%; text-align: right; }
.food-spot__meta small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.food-spot__meta time { color: var(--forest); font: 700 10px/1.4 ui-monospace, monospace; }
.food-badge { display: inline-block; padding: 2px 7px; border-radius: 5px; font-size: 10px; font-weight: 750; white-space: nowrap; }
.food-badge--booked { background: #e4ede3; color: #3d6246; }
.food-badge--required { background: #f6dfd5; color: #8a3d22; }
.food-badge--recommended { background: #f8e9d5; color: #81562b; }
.food-badge--walk-in { background: #e6eef2; color: #376276; }
.food-badge--stroll { background: #efe9f3; color: #6a4f7c; }
.copy-address { display: inline-flex; align-items: center; gap: 5px; justify-self: start; max-width: 100%; min-height: 28px; margin: 1px 0 0; padding: 2px 8px 2px 6px; border: 1px dashed #c6d7ce; border-radius: 7px; background: transparent; color: var(--forest); font-size: 11px; text-align: left; cursor: pointer; }
.copy-address:hover, .copy-address:focus-visible { border-style: solid; border-color: var(--lake); }
.copy-address svg { flex: none; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.copy-address span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stay-card .copy-address { display: flex; width: fit-content; max-width: 100%; margin-bottom: 4px; }
.stay-card .copy-address span { white-space: normal; line-height: 1.5; }
.copy-toast { position: fixed; left: 50%; bottom: calc(96px + var(--safe-bottom)); z-index: 120; max-width: min(90vw, 460px); padding: 10px 16px; border-radius: 12px; background: #173f42; color: #fffefa; box-shadow: var(--shadow); font-size: 12px; line-height: 1.5; opacity: 0; transform: translate(-50%, 8px); pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.copy-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.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; }
.schedule-status-toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 58px; padding: 4px 10px; border: 1px solid color-mix(in srgb, currentColor 24%, transparent); border-radius: 999px; font-family: inherit; font-size: 12px; line-height: 18px; white-space: nowrap; cursor: pointer; touch-action: manipulation; }
/* Keep the inline pill in proportion to the text, with a separate 44px hit area.
   The scoped selector deliberately overrides experience.css's global button floor. */
@media screen {
  #main .schedule-status-toggle { min-height: 28px; }
  .schedule-status-toggle::after { content: ""; position: absolute; top: 50%; right: 0; left: 0; height: 100%; min-height: 44px; transform: translateY(-50%); }
}
@media (hover: hover) {
  .schedule-status-toggle:not(:disabled):hover { filter: brightness(.96); }
}
.schedule-status-toggle:focus-visible { outline: 2px solid var(--lake); outline-offset: 3px; }
.schedule-status-toggle:disabled { cursor: not-allowed; opacity: .65; }
.itinerary-status-note, .itinerary-status-feedback { color: var(--ink-soft, #526769); font-size: 12px; line-height: 1.7; margin: 0 0 12px; }
.itinerary-status-feedback.is-error { color: #8b3d28; }
.flight-time-notice { margin: 12px 0; color: #f5c9a4; font-size: 12px; line-height: 1.6; }
.flight-time-notice a { color: inherit; text-underline-offset: 3px; }
.flight-card__title { margin: 15px 0 0; color: #eff8f8; font-size: 17px; line-height: 1.5; }
.flight-card__travelers { margin: 4px 0 0; color: #b8cccf; font-size: 12px; }
.flight-card--connecting .flight-stop__code { font-size: clamp(24px, 6.5vw, 34px); }
.flight-card--connecting .flight-segment span { overflow: visible; font-size: 10px; text-overflow: clip; }
.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], #food[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: 820px) { .food-cities { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .stay-list { grid-template-columns: minmax(0, 1fr); } .trip-facts { gap: 16px; } }
@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, .food-city, .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; }
  .itinerary-status-feedback { display: none; }
  .schedule-status-toggle { min-height: 0; padding: 2px 7px; border: 0; opacity: 1; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
