:root {
  --ink: #18312b;
  --muted: #65766f;
  --forest: #173f35;
  --forest-2: #245b4c;
  --fern: #5d8569;
  --paper: #f6f4ed;
  --card: #fffef9;
  --line: #d9dfd7;
  --mist: #e8eeea;
  --water: #d7edf0;
  --orange: #e56a36;
  --orange-pale: #fff0e7;
  --blue: #2563d9;
  --blue-pale: #eaf1ff;
  --gold: #b8842d;
  --shadow: 0 18px 55px rgba(26, 54, 44, .10);
  --serif: "Iowan Old Style", "Baskerville", "Songti SC", "STSong", serif;
  --sans: "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(120, 166, 137, .13), transparent 24rem),
    linear-gradient(180deg, #edf2ec 0, var(--paper) 34rem);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 14px;
  color: white;
  background: var(--forest);
  border-radius: 9px;
}
.skip-link:focus { transform: translateY(0); }

.masthead {
  position: relative;
  overflow: hidden;
  color: #f8f7f0;
  background: var(--forest);
}
.masthead::after {
  content: "";
  position: absolute;
  right: -11rem;
  bottom: -16rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(211, 238, 218, .15);
  border-radius: 44% 56% 61% 39%;
  box-shadow:
    0 0 0 42px rgba(211, 238, 218, .04),
    0 0 0 86px rgba(211, 238, 218, .035),
    0 0 0 128px rgba(211, 238, 218, .025);
  transform: rotate(18deg);
}
.masthead__texture {
  position: absolute;
  inset: 0;
  opacity: .24;
  background:
    repeating-linear-gradient(122deg, transparent 0 56px, rgba(255,255,255,.045) 57px 58px),
    radial-gradient(circle at 78% 16%, rgba(144, 201, 165, .33), transparent 23rem);
}
.masthead__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 74px 0 50px;
}
.eyebrow {
  margin: 0 0 13px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.masthead h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .96;
}
.masthead h1 span { color: #a9cfb4; }
.lead {
  max-width: 650px;
  margin: 25px 0 0;
  color: rgba(248, 247, 240, .74);
  font-size: 16px;
}

.trip-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 850px;
  margin-top: 42px;
  border-top: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.trip-facts div { padding: 17px 18px 16px 0; }
.trip-facts span, .trip-facts strong { display: block; }
.trip-facts span {
  color: rgba(255,255,255,.5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}
.trip-facts strong { margin-top: 4px; color: #fff; font-size: 14px; }
.masthead__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 27px;
}
.button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:focus-visible, .day-tab:focus-visible, .weather-action:focus-visible, .icon-button:focus-visible {
  outline: 3px solid rgba(229, 106, 54, .35);
  outline-offset: 3px;
}
.button:disabled { cursor: not-allowed; opacity: .36; }
.button--light { color: var(--forest); background: #fff; }
.button--ghost { color: #fff; border-color: rgba(255,255,255,.27); background: transparent; }
.button--solid { color: #fff; background: var(--forest); }
.adjustment-count {
  margin-left: 5px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

.day-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(23, 63, 53, .12);
  background: rgba(246, 244, 237, .93);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.day-tabs {
  display: flex;
  gap: 6px;
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 10px 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.day-tabs::-webkit-scrollbar { display: none; }
.day-tab {
  position: relative;
  flex: 0 0 96px;
  min-height: 62px;
  padding: 9px 9px 8px;
  text-align: left;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.day-tab::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9db1a8;
}
.day-tab.is-affected::after { background: var(--orange); box-shadow: 0 0 0 4px rgba(229,106,54,.12); }
.day-tab[aria-selected="true"] { color: white; background: var(--forest); }
.day-tab__day { display: block; font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 1; }
.day-tab__date { display: block; margin-top: 5px; font-size: 10px; opacity: .65; }
.day-tab__place { display: block; margin-top: 2px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

#day-panels {
  width: min(1180px, calc(100% - 48px));
  min-height: 70vh;
  margin: 0 auto;
  padding: 50px 0 100px;
}
.day-panel { animation: rise .42s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.day-panel[hidden] { display: none; }

.day-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 36px;
  align-items: end;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.day-hero > div { min-width: 0; }
.day-kicker { display: flex; align-items: center; gap: 12px; color: var(--fern); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.day-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  border-radius: 50%;
  background: var(--orange);
  font-family: var(--serif);
  font-size: 17px;
}
.day-hero h2 {
  max-width: 800px;
  margin: 13px 0 0;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.06;
}
.day-summary { max-width: 720px; margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.day-metrics { display: grid; grid-template-columns: repeat(2, minmax(110px, 1fr)); gap: 8px; }
.day-metric {
  min-width: 120px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.62);
}
.day-metric span { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.day-metric strong { display: block; margin-top: 3px; overflow-wrap: anywhere; font-family: var(--serif); font-size: 18px; line-height: 1.25; }

.route-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(320px, .82fr);
  align-items: start;
  gap: 18px;
  margin-top: 28px;
}
.route-card, .brief-card, .tier-card, .timeline, .change-banner {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 1px 0 rgba(255,255,255,.85) inset;
}
.route-card { overflow: hidden; box-shadow: var(--shadow); }
.route-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
}
.route-card__top h3, .brief-card h3, .section-head h3 { margin: 0; font-family: var(--serif); font-size: 20px; }
.route-card__top span { color: var(--muted); font-size: 11px; }
.map-pair { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 1px; border-top: 1px solid var(--line); background: var(--line); }
.map-figure { min-width: 0; margin: 0; background: #eef3ea; }
.map-figure figcaption { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; min-height: 76px; padding: 13px 15px; background: rgba(255,255,255,.78); }
.map-figure figcaption b { grid-row: 1 / span 2; align-self: start; padding: 4px 7px; color: var(--orange); border-radius: 6px; background: var(--orange-pale); font-size: 10px; }
.map-figure figcaption strong { font-family: var(--serif); font-size: 16px; }
.map-figure figcaption span { color: var(--muted); font-size: 10px; }
.map-figure img { display: block; width: 100%; aspect-ratio: 1400 / 760; object-fit: cover; }
.map-points { display: grid; gap: 0; margin: 14px 0 18px; padding: 0; list-style: none; }
.map-points li { display: grid; grid-template-columns: 25px minmax(0, 1fr); align-items: start; gap: 9px; padding: 9px 0; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 11px; }
.map-points b { display: grid; place-items: center; width: 23px; height: 23px; color: var(--blue); border: 1px solid #a9bfe8; border-radius: 50%; background: var(--blue-pale); font-size: 10px; }
.map-points strong, .map-points span { display: block; }
.map-points strong { color: var(--ink); font-size: 11px; line-height: 1.35; }
.map-points span { margin-top: 3px; color: #526c98; font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }

.brief-card { display: flex; flex-direction: column; padding: 22px; }
.brief-card__label { color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.brief-card h3 { margin-top: 8px; font-size: 24px; }
.brief-card p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.navigation-ledger .map-points { max-height: 520px; overflow-y: auto; padding-right: 6px; }
.driver-rule {
  margin-top: auto;
  padding: 15px;
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  color: #6e422f;
  background: var(--orange-pale);
}
.driver-rule strong { display: block; margin-bottom: 3px; color: var(--orange); font-size: 10px; letter-spacing: .13em; }

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.tier-card { padding: 18px; box-shadow: none; }
.tier-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tier-card h3 { margin: 0; font-size: 14px; }
.tier-count { color: var(--muted); font-family: var(--serif); font-size: 22px; }
.tier-card ul { margin: 13px 0 0; padding: 0; list-style: none; }
.tier-card li { position: relative; margin-top: 7px; padding-left: 13px; color: var(--muted); font-size: 12px; }
.tier-card li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--fern); }
.tier-card--must { border-top: 3px solid var(--forest-2); }
.tier-card--optional { border-top: 3px solid var(--gold); }
.tier-card--backup { border-top: 3px solid #7c92bd; }

.change-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 17px 19px;
  border-color: #efc0aa;
  color: #714631;
  background: var(--orange-pale);
}
.change-banner strong { display: block; color: var(--orange); font-size: 12px; }
.change-banner p { margin: 3px 0 0; font-size: 12px; }

.confirmed-logistics {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid #c8d5cf;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(225,238,232,.82), rgba(255,255,255,.86) 48%, rgba(239,230,214,.65));
  box-shadow: 0 12px 34px rgba(21, 63, 53, .07);
}
.confirmed-logistics__head { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.confirmed-logistics__head h3 { margin: 4px 0 0; font-family: var(--serif); font-size: 24px; }
.confirmed-logistics__head > p { max-width: 320px; margin: 0; color: var(--muted); font-size: 12px; text-align: right; }
.logistics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 17px; }
.logistics-card { min-width: 0; padding: 17px 18px; border: 1px solid rgba(21, 76, 61, .16); border-radius: 14px; background: rgba(255,255,255,.8); }
.logistics-card--morning { border-top: 3px solid var(--gold); }
.logistics-card--evening { border-top: 3px solid var(--forest-2); }
.logistics-card--alert { border-color: #e2a37f; background: #fff5ee; }
.logistics-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.logistics-card__top > div span { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.logistics-card__top > div strong { display: block; margin-top: 2px; color: var(--orange); font-family: var(--serif); font-size: 24px; }
.booking-status { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 8px; color: #fff; border-radius: 999px; background: var(--forest-2); font-size: 9px; font-weight: 800; white-space: nowrap; }
.booking-status--pending { color: #765721; background: #f4e5c7; }
.logistics-card h4, .paid-bookings h4 { margin: 11px 0 0; font-family: var(--serif); font-size: 18px; line-height: 1.25; }
.logistics-address { margin: 7px 0 0; color: #36584d; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.logistics-stay { margin: 6px 0 0; color: #72542e; font-size: 11px; }
.logistics-detail { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.logistics-card--alert .logistics-detail { color: #8a4427; font-weight: 700; }
.logistics-subsection { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(21, 76, 61, .13); }
.logistics-subsection__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--forest-2); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.logistics-subsection__title b { color: var(--muted); font-size: 10px; }
.flight-list { display: grid; gap: 8px; margin-top: 9px; }
.flight-card { display: grid; grid-template-columns: minmax(140px, .65fr) minmax(340px, 1.6fr) minmax(120px, .65fr); gap: 16px; align-items: center; padding: 13px 15px; border: 1px solid #c8d5cf; border-radius: 12px; background: rgba(255,255,255,.85); }
.flight-card__identity strong, .flight-card__identity span { display: block; }
.flight-card__identity strong { color: var(--orange); font-family: var(--serif); font-size: 22px; }
.flight-card__identity span { margin-top: 2px; color: var(--muted); font-size: 10px; }
.flight-card__route { display: grid; grid-template-columns: minmax(0, 1fr) 85px minmax(0, 1fr); gap: 10px; align-items: center; }
.flight-card__route > div:last-child { text-align: right; }
.flight-card__route strong, .flight-card__route span { display: block; }
.flight-card__route strong { font-family: var(--serif); font-size: 20px; }
.flight-card__route span { color: var(--muted); font-size: 9px; overflow-wrap: anywhere; }
.flight-card__duration { text-align: center; }
.flight-card__duration i { display: block; height: 1px; margin-top: 5px; background: linear-gradient(90deg, var(--forest-2), var(--orange)); }
.flight-card > p { margin: 0; color: var(--muted); font-size: 10px; text-align: right; }
.paid-bookings { margin-top: 9px; }
.paid-bookings article { padding: 14px 15px; border: 1px solid #c8d5cf; border-radius: 12px; background: rgba(255,255,255,.85); }
.paid-bookings h4 { display: inline; margin-left: 8px; font-size: 16px; }
.paid-bookings p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }

.dining-guide {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid #d7c6aa;
  border-radius: 18px;
  background: linear-gradient(135deg, #fffdf8, #f7f0e5);
  box-shadow: 0 12px 34px rgba(72, 55, 24, .06);
}
.dining-guide__head { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.dining-guide__head h3 { margin: 4px 0 0; font-family: var(--serif); font-size: 24px; }
.dining-guide__head > p { max-width: 430px; margin: 0; color: var(--muted); font-size: 12px; text-align: right; }
.dining-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 17px; }
.dining-card { min-width: 0; padding: 17px 18px; border: 1px solid rgba(112, 77, 31, .16); border-top: 3px solid var(--gold); border-radius: 14px; background: rgba(255,255,255,.84); }
.dining-card > span { display: inline-flex; padding: 3px 8px; color: #765721; border-radius: 999px; background: #f4e5c7; font-size: 9px; font-weight: 800; }
.dining-card h4 { margin: 10px 0 0; font-family: var(--serif); font-size: 18px; line-height: 1.3; }
.dining-card p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.dining-card .dining-location { color: #496357; font-weight: 700; }
.dining-card small { display: block; margin-top: 10px; color: #8b7967; font-size: 9px; line-height: 1.4; }

.local-choices {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid #d8c9ac;
  border-radius: 18px;
  background: linear-gradient(135deg, #fffdf7, #f5f0e5);
  box-shadow: 0 12px 34px rgba(72, 55, 24, .06);
}
.local-choices__head { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.local-choices__head h3 { margin: 4px 0 0; font-family: var(--serif); font-size: 24px; }
.local-choices__head > p { max-width: 410px; margin: 0; color: var(--muted); font-size: 12px; text-align: right; }
.local-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 17px; }
.local-choice-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 18px;
  border: 1px solid rgba(21, 76, 61, .17);
  border-radius: 15px;
  background: rgba(255,255,255,.82);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.local-choice-card--recommended { border-top: 4px solid var(--forest-2); }
.local-choice-card--caution { border-top: 4px solid #b68c63; }
.local-choice-card.is-selected {
  border-color: var(--forest-2);
  background: #f1f8f3;
  box-shadow: 0 0 0 3px rgba(36, 91, 76, .16), 0 12px 26px rgba(23, 63, 53, .10);
  transform: translateY(-2px);
}
.local-choice-card__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.local-choice-card__badges span,
.local-choice-card__badges b { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 8px; border-radius: 999px; font-size: 9px; font-weight: 800; }
.local-choice-card__badges span { color: #6d5227; background: #f3e7cc; }
.local-choice-card__badges b { color: white; background: var(--forest-2); }
.local-choice-card--caution .local-choice-card__badges b { background: #9a6d42; }
.local-choice-card h4 { margin: 12px 0 0; font-family: var(--serif); font-size: 20px; line-height: 1.3; }
.local-choice-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 13px 0 0; }
.local-choice-meta div { min-width: 0; padding: 8px 9px; border-radius: 9px; background: #f2f3ee; }
.local-choice-meta dt { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.local-choice-meta dd { margin: 2px 0 0; font-size: 10px; font-weight: 800; overflow-wrap: anywhere; }
.local-choice-schedule { margin: 14px 0 0; padding-left: 22px; color: #3d574e; font-size: 11px; line-height: 1.55; }
.local-choice-schedule li + li { margin-top: 5px; }
.local-choice-card > p { margin: 13px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.local-choice-card button {
  width: 100%;
  margin-top: auto;
  padding: 10px 14px;
  border: 1px solid var(--forest-2);
  border-radius: 10px;
  color: var(--forest-2);
  background: transparent;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.local-choice-card button:hover { color: white; background: var(--forest-2); }
.local-choice-card.is-selected button { color: white; background: var(--forest-2); }
.local-choice-card button:focus-visible { outline: 3px solid rgba(229, 106, 54, .32); outline-offset: 2px; }

.timeline { margin-top: 34px; padding: 26px; }
.section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.section-head p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.timeline-list { position: relative; margin-top: 28px; }
.timeline-list::before { content: ""; position: absolute; top: 28px; bottom: 28px; left: 31px; width: 1px; background: var(--line); }
.stop-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px 260px minmax(0, 1fr);
  gap: 18px;
  margin-top: 16px;
  scroll-margin-block: 18vh;
}
.stop-card:first-child { margin-top: 0; }
.stop-card.is-weather-target {
  border-radius: 16px;
  outline: 3px solid var(--orange);
  outline-offset: 6px;
  background: var(--orange-pale);
  box-shadow: 0 0 0 11px rgba(232, 91, 45, .09);
  animation: weather-target-pulse .85s ease-out 2;
}
.stop-card.is-weather-target:focus { outline-color: var(--orange); }
@keyframes weather-target-pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 91, 45, .28); }
  75%, 100% { box-shadow: 0 0 0 14px rgba(232, 91, 45, 0); }
}
.stop-number { position: relative; z-index: 1; display: grid; place-items: center; align-self: start; width: 44px; height: 44px; margin: 14px 0 0 9px; color: white; border: 5px solid var(--card); border-radius: 50%; background: var(--forest); font-family: var(--serif); font-size: 16px; box-shadow: 0 0 0 1px var(--line); }
.stop-card.is-cancelled .stop-number { background: #9b765f; }
.stop-card__image { position: relative; overflow: hidden; min-height: 178px; border-radius: 15px; background: var(--mist); }
.stop-card__image img { width: 100%; height: 100%; min-height: 178px; object-fit: cover; transition: transform .45s ease; }
.stop-card__image figcaption { position: absolute; right: 7px; bottom: 7px; left: 7px; padding: 7px 9px; color: #fff; border-radius: 8px; background: rgba(9,31,25,.78); font-size: 10px; line-height: 1.3; backdrop-filter: blur(5px); }
.stop-card:hover .stop-card__image img { transform: scale(1.025); }
.stop-card__content { min-width: 0; padding: 10px 0 13px; border-bottom: 1px solid var(--line); }
.stop-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.stop-time { color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.stop-duration { color: var(--muted); font-size: 11px; }
.badge { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.badge--must { color: #fff; background: var(--forest-2); }
.badge--optional { color: #775519; background: #f7ebd2; }
.badge--backup { color: #405a8f; background: #e8eef9; }
.badge--new { color: #a03d18; background: #ffe4d7; }
.badge--weather { color: #8b431f; border: 1px solid #efbd9f; background: #fff9f5; }
.badge--moved { color: #174aa7; background: var(--blue-pale); }
.stop-card h4 { margin: 8px 0 0; font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.2; }
.stop-card.is-cancelled h4 { color: #987b6d; text-decoration: line-through; }
.stop-description { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.stop-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 9px; }
.nav-name { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: start; margin: 0; padding: 8px 10px; color: #34508a; border-radius: 8px; background: var(--blue-pale); font-size: 11px; }
.nav-name strong { color: var(--blue); white-space: nowrap; }
.nav-name span { overflow-wrap: anywhere; }
.nav-name--parking { color: #3e5d50; background: #e8f1ec; }
.nav-name--parking strong { color: var(--forest-2); }
.parking { margin: 9px 0 0; color: #405a50; font-size: 11px; }
.parking strong { color: var(--forest-2); }
.wildlife-note { margin-top: 10px; padding: 11px 12px; border-left: 3px solid #41755d; border-radius: 0 10px 10px 0; background: #eef6f0; }
.wildlife-note > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.wildlife-note strong { color: var(--forest-2); font-size: 11px; }
.wildlife-note span { color: #5b7269; font-size: 9px; font-weight: 700; }
.wildlife-note p { margin: 5px 0 0; color: #284d40; font-size: 11px; font-weight: 800; }
.wildlife-note small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.wildlife-note--managed { border-left-color: #a57838; background: #fbf3e5; }
.wildlife-note--managed strong, .wildlife-note--managed p { color: #765421; }
.next-leg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 11px; border-radius: 9px; color: #34508a; background: var(--blue-pale); font-size: 11px; }
.next-leg b { color: var(--blue); }
.weather-action { margin-top: 12px; padding: 8px 11px; color: #9b431d; border: 1px solid #e9b397; border-radius: 9px; background: #fff9f4; cursor: pointer; font-size: 11px; font-weight: 800; }
.weather-action:disabled { cursor: default; opacity: .55; }
.replacement-summary { margin-top: 12px; padding: 12px 13px; color: #714631; border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0; background: var(--orange-pale); }
.replacement-summary strong { display: block; color: var(--orange); font-size: 11px; }
.replacement-summary p { margin: 4px 0 0; font-size: 12px; line-height: 1.55; }
.replacement-summary button { min-height: 44px; margin-top: 10px; padding: 9px 13px; color: #fff; border: 0; border-radius: 9px; background: var(--forest-2); cursor: pointer; font-size: 11px; font-weight: 800; }
.replacement-summary button:hover { background: var(--forest); }
.replacement-summary button:focus-visible { outline: 3px solid rgba(21, 76, 61, .25); outline-offset: 2px; }
.replacement-summary--attention { border-left-color: var(--gold); background: #fff8e8; }
.replacement-summary--attention strong { color: #846019; }
.replacement-summary--muted { color: var(--muted); border-left-color: #aa9e94; background: #f2efeb; }
.replacement-summary--muted strong { color: #786d65; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr minmax(280px, .8fr);
  gap: 40px;
  padding: 48px max(24px, calc((100% - 1180px) / 2));
  color: rgba(255,255,255,.7);
  background: #112c25;
  font-size: 12px;
}
.site-footer p { margin: 0; }
.site-footer details { border-top: 1px solid rgba(255,255,255,.15); padding-top: 12px; }
.site-footer summary { color: white; cursor: pointer; font-weight: 700; }
.site-footer details p { margin-top: 10px; }
.noscript { margin: 20px; padding: 18px; color: #8b431f; background: var(--orange-pale); }

.dialog {
  width: min(620px, calc(100% - 28px));
  max-height: min(760px, calc(100vh - 28px));
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 28px 90px rgba(12, 31, 25, .32);
}
.dialog::backdrop { background: rgba(11, 30, 25, .58); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.dialog__sheet { margin: 0; padding: 28px; }
.dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.dialog h2 { margin: 2px 0 0; font-family: var(--serif); font-size: 28px; line-height: 1.18; }
.dialog__hint { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.icon-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 24px; line-height: 1; }
.weather-options, .conflict-options { display: grid; gap: 9px; margin-top: 20px; }
.weather-option, .conflict-option { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.weather-option h3, .conflict-option h3 { margin: 0; font-size: 14px; }
.weather-option p, .conflict-option p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.weather-option button, .conflict-option button { padding: 9px 12px; color: #fff; border: 0; border-radius: 9px; background: var(--orange); cursor: pointer; font-size: 11px; font-weight: 800; }

.toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  transform: translate(-50%, 24px);
  max-width: calc(100% - 32px);
  padding: 11px 16px;
  color: white;
  border-radius: 999px;
  background: #102d25;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  font-size: 12px;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1100px) {
  .day-hero { grid-template-columns: 1fr; }
  .day-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .trip-facts { grid-template-columns: repeat(2, 1fr); }
  .route-grid { grid-template-columns: 1fr; }
  .brief-card { min-height: 250px; }
  .stop-card { grid-template-columns: 58px 210px minmax(0, 1fr); gap: 14px; }
  .flight-card { grid-template-columns: 120px minmax(0, 1fr); }
  .flight-card > p { grid-column: 1 / -1; text-align: left; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 14px; }
  .masthead__inner { width: min(100% - 32px, 1180px); padding: 48px 0 38px; }
  .masthead h1 { font-size: 47px; }
  .lead { font-size: 14px; }
  .trip-facts { margin-top: 30px; }
  .trip-facts div { padding: 13px 10px 12px 0; }
  .masthead__actions { align-items: stretch; }
  .masthead__actions .button { flex: 1; padding-inline: 10px; }
  .adjustment-count { width: 100%; margin: 2px 0 0; }
  .day-tabs { padding-inline: 12px; }
  .day-tab { flex-basis: 82px; min-height: 57px; }
  #day-panels { width: min(100% - 28px, 1180px); padding-top: 32px; }
  .day-hero { gap: 22px; }
  .day-hero h2 { font-size: 36px; }
  .day-metrics { grid-template-columns: repeat(2, 1fr); }
  .day-metric { min-width: 0; }
  .route-card__top { padding: 13px 14px; }
  .route-card__top span { display: none; }
  .map-pair { grid-template-columns: 1fr; }
  .map-figure img { aspect-ratio: 1400 / 760; object-fit: contain; }
  .navigation-ledger .map-points { max-height: 430px; }
  .tiers { grid-template-columns: 1fr; }
  .tier-card { padding: 14px 16px; }
  .tier-card ul { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }
  .tier-card li { margin-top: 2px; }
  .change-banner { flex-direction: column; }
  .confirmed-logistics { padding: 17px 14px; }
  .confirmed-logistics__head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .confirmed-logistics__head > p { text-align: left; }
  .logistics-grid { grid-template-columns: 1fr; }
  .dining-guide { padding: 17px 14px; }
  .dining-guide__head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .dining-guide__head > p { text-align: left; }
  .dining-grid { grid-template-columns: 1fr; }
  .local-choices { padding: 17px 14px; }
  .local-choices__head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .local-choices__head > p { text-align: left; }
  .local-choice-grid { grid-template-columns: 1fr; }
  .flight-card { grid-template-columns: 1fr; gap: 10px; }
  .flight-card__route { grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr); }
  .flight-card > p { grid-column: auto; }
  .timeline { padding: 18px 14px; }
  .section-head { align-items: stretch; flex-direction: column; }
  .section-head .button { width: 100%; }
  .timeline-list::before { left: 21px; }
  .stop-card { grid-template-columns: 44px minmax(0, 1fr); gap: 11px; }
  .stop-number { grid-row: 1 / span 2; width: 36px; height: 36px; margin: 10px 0 0 3px; border-width: 4px; font-size: 13px; }
  .stop-card__image { grid-column: 2; min-height: 165px; }
  .stop-card__image img { min-height: 165px; }
  .stop-card__content { grid-column: 2; padding-top: 0; }
  .stop-card h4 { font-size: 22px; }
  .stop-navigation { grid-template-columns: 1fr; }
  .replacement-summary button { width: 100%; }
  .site-footer { padding: 38px 20px; }
  .dialog { margin-bottom: 8px; }
  .dialog__sheet { padding: 22px 18px; }
  .weather-option, .conflict-option { grid-template-columns: 1fr; }
  .weather-option button, .conflict-option button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
