:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --forest: #000;
  --forest-soft: #1d1d1f;
  --paper: #f5f5f7;
  --paper-2: #e8e8ed;
  --white: #fff;
  --coral: #0071e3;
  --coral-dark: #06c;
  --sun: #64d2ff;
  --sage: #d1e8dc;
  --line: rgba(0, 0, 0, 0.1);
  --muted: #6e6e73;
  --danger: #d70015;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 8px 30px rgba(0, 0, 0, 0.06);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--paper); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { color: inherit; }
::selection { background: var(--sun); color: var(--forest); }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--white); border-radius: 10px; }
.skip-link:focus { top: 12px; }

.app-shell { min-height: 100vh; }
.sidebar { display: none; }
.main-shell { min-width: 0; padding-bottom: 96px; }
.page { width: 100%; max-width: 1600px; margin: 0 auto; padding: 18px 16px 40px; }

.mobile-topbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 0; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--forest); color: var(--sun); box-shadow: var(--shadow-sm); }
.brand-mark svg { width: 23px; height: 23px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-family: 'Newsreader', Georgia, serif; font-size: 20px; letter-spacing: -0.02em; }
.brand-copy span { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.55); cursor: pointer; }
.icon-button svg { width: 19px; height: 19px; }
.icon-button:hover { background: var(--white); transform: translateY(-1px); }

.bottom-nav { position: fixed; z-index: 90; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: rgba(16,42,42,.96); box-shadow: 0 18px 50px rgba(16,42,42,.3); backdrop-filter: blur(16px); }
.nav-item { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 4px; padding: 7px 3px; color: rgba(255,255,255,.58); border: 0; border-radius: 15px; background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; }
.nav-item svg { width: 19px; height: 19px; }
.nav-item.active { color: var(--white); background: rgba(255,255,255,.1); }
.nav-item.active svg { color: var(--sun); }

.day-navigator { position: fixed; z-index: 88; right: 10px; bottom: calc(max(10px, env(safe-area-inset-bottom)) + 78px); left: 10px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: stretch; gap: 5px; padding: 6px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(16,42,42,.96); box-shadow: 0 18px 50px rgba(16,42,42,.28); color: white; backdrop-filter: blur(16px); }
.day-navigator > button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 62px; padding: 8px 9px; border: 0; border-radius: 12px; background: transparent; color: rgba(255,255,255,.8); cursor: pointer; font-size: 10px; font-weight: 700; }
.day-navigator > button:hover { background: rgba(255,255,255,.1); color: white; }
.day-navigator > button:disabled { opacity: .28; cursor: default; }
.day-navigator > button:first-child svg { transform: rotate(180deg); }
.day-navigator svg { width: 15px; height: 15px; }
.day-navigator .day-navigator-current { display: grid; min-width: 0; gap: 2px; background: rgba(255,255,255,.08); text-align: center; }
.day-navigator-current small { color: var(--sun); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.day-navigator-current strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.hero { position: relative; overflow: hidden; padding: 26px 22px; border-radius: var(--radius-xl); background: var(--forest); color: var(--white); box-shadow: var(--shadow); }
.hero::before { content: ''; position: absolute; right: -70px; top: -90px; width: 250px; height: 250px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,255,255,.025), 0 0 0 76px rgba(255,255,255,.025); }
.hero::after { content: ''; position: absolute; right: 18%; bottom: -78px; width: 170px; height: 170px; border-radius: 48% 52% 72% 28% / 42% 35% 65% 58%; background: var(--coral); opacity: .9; transform: rotate(22deg); }
.hero > * { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--coral); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow { color: var(--sun); }
.eyebrow::before { content: ''; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.hero h1 { max-width: 760px; margin: 0; font-family: 'Newsreader', Georgia, serif; font-size: clamp(38px, 7vw, 72px); font-weight: 600; line-height: .96; letter-spacing: -.045em; }
.hero p { max-width: 620px; margin: 18px 0 0; color: rgba(255,255,255,.72); font-size: clamp(14px, 2vw, 17px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.meta-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.07); font-size: 12px; font-weight: 600; backdrop-filter: blur(5px); }
.meta-pill svg { width: 14px; height: 14px; color: var(--sun); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 15px; border: 1px solid transparent; border-radius: 12px; background: var(--coral); color: white; text-decoration: none; font-size: 13px; font-weight: 700; cursor: pointer; transition: .2s ease; }
.button svg { width: 16px; height: 16px; flex: 0 0 auto; }
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(216,98,60,.22); }
.button.secondary { border-color: var(--line); background: var(--white); color: var(--ink); }
.button.secondary:hover { box-shadow: var(--shadow-sm); }
.button.ghost { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: var(--white); }
.button.text { min-height: 34px; padding: 6px 9px; border-color: transparent; background: transparent; color: var(--coral-dark); }
.button.small { min-height: 34px; padding: 7px 10px; font-size: 12px; border-radius: 10px; }
.button.full { width: 100%; }
.button:disabled { opacity: .5; pointer-events: none; }

.section { margin-top: 28px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 0 2px 15px; }
.section-head h2 { margin: 0; font-family: 'Newsreader', Georgia, serif; font-size: clamp(26px, 4vw, 38px); font-weight: 600; letter-spacing: -.03em; }
.section-head p { max-width: 520px; margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.section-link { border: 0; background: none; color: var(--coral-dark); cursor: pointer; font-size: 12px; font-weight: 800; white-space: nowrap; }

.grid { display: grid; gap: 14px; }
.grid.two { grid-template-columns: 1fr; }
.grid.three { grid-template-columns: 1fr; }
.card { padding: 18px; border: 1px solid rgba(23,48,47,.09); border-radius: var(--radius-lg); background: rgba(255,253,248,.88); box-shadow: var(--shadow-sm); }
.card.flat { box-shadow: none; }
.card.dark { background: var(--forest); color: white; border-color: transparent; }
.card.highlight { background: #f9e9dc; border-color: rgba(216,98,60,.2); }
.card.sun { background: #f7e8b9; border-color: rgba(173,120,18,.14); }
.card h3 { margin: 0; font-size: 17px; letter-spacing: -.015em; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.card.dark p { color: rgba(255,255,255,.66); }
.card-top { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.card-icon { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--paper-2); color: var(--forest); }
.card-icon.coral { background: #f6d7ca; color: var(--coral-dark); }
.card-icon.sun { background: #f7e8b9; color: #79540f; }
.card-icon svg { width: 19px; height: 19px; }
.stat { font-family: 'Newsreader', Georgia, serif; font-size: 38px; font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.stat-label { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.weather-card { min-height: 190px; overflow: hidden; position: relative; }
.weather-card::after { content: ''; position: absolute; right: -35px; top: -35px; width: 120px; height: 120px; border-radius: 50%; background: var(--sun); opacity: .8; }
.weather-main { display: flex; align-items: end; gap: 12px; margin-top: 22px; }
.weather-temp { font-family: 'Newsreader', Georgia, serif; font-size: 52px; line-height: .8; letter-spacing: -.05em; }
.weather-desc { padding-bottom: 2px; font-size: 13px; color: var(--ink-2); }
.weather-details { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 20px; color: var(--ink-2); font-size: 12px; }
.skeleton { position: relative; overflow: hidden; height: 12px; width: 70%; border-radius: 10px; background: var(--paper-2); }
.skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

.quick-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quick-action { display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.55); cursor: pointer; text-align: left; font-size: 12px; font-weight: 700; }
.quick-action:hover { background: var(--white); transform: translateY(-1px); }
.quick-action .card-icon { width: 34px; height: 34px; border-radius: 10px; }

.progress-row { display: flex; align-items: center; gap: 12px; }
.progress-track { flex: 1; height: 8px; overflow: hidden; border-radius: 10px; background: var(--paper-2); }
.progress-fill { height: 100%; border-radius: inherit; background: var(--coral); transition: width .3s ease; }
.progress-label { color: var(--muted); font-size: 12px; font-weight: 700; }

.day-switcher { position: sticky; z-index: 75; top: 0; margin-bottom: 10px; padding: 9px 10px 6px; border: 1px solid rgba(23,48,47,.08); border-radius: 0 0 18px 18px; background: rgba(245,241,232,.93); box-shadow: 0 9px 28px rgba(28,45,43,.08); backdrop-filter: blur(16px); }
.day-switcher-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 3px 7px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.day-switcher-label strong { color: var(--coral-dark); }
.date-strip { display: flex; gap: 9px; overflow-x: auto; padding: 3px 2px 5px; scrollbar-width: none; }
.date-strip::-webkit-scrollbar { display: none; }
.date-chip { flex: 0 0 75px; padding: 11px 8px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.52); cursor: pointer; text-align: center; }
.date-chip .dow { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.date-chip .num { display: block; margin: 3px 0; font-family: 'Newsreader', Georgia, serif; font-size: 24px; line-height: 1; }
.date-chip .city { display: block; overflow: hidden; color: var(--ink-2); font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.date-chip.active { border-color: var(--forest); background: var(--forest); color: white; box-shadow: var(--shadow-sm); }
.date-chip.active .dow, .date-chip.active .city { color: rgba(255,255,255,.64); }

.day-hero { position: relative; display: grid; gap: 18px; margin-top: 8px; overflow: hidden; padding: 22px; border: 1px solid rgba(23,48,47,.08); border-radius: var(--radius-xl); background: radial-gradient(circle at 92% 8%, rgba(242,181,68,.4), transparent 28%), linear-gradient(135deg, #dfe8dc, #eef0e5 60%, #f7e6d8); box-shadow: var(--shadow-sm); }
.day-hero h1 { margin: 0; max-width: 760px; font-family: 'Newsreader', Georgia, serif; font-size: clamp(34px, 6vw, 58px); line-height: 1; letter-spacing: -.045em; }
.day-hero p { margin: 13px 0 0; max-width: 690px; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.day-number { display: flex; align-items: center; gap: 8px; color: var(--coral-dark); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.day-number span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--coral); color: white; letter-spacing: 0; }

.alert-stack { display: grid; gap: 8px; margin-top: 14px; }
.alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid rgba(216,98,60,.18); border-radius: 13px; background: #fae9df; color: #713321; font-size: 12px; line-height: 1.5; }
.alert svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; }

.trip-notes { margin-top: 14px; overflow: hidden; border: 1px solid rgba(23,48,47,.1); border-radius: 17px; background: #edf2ee; box-shadow: var(--shadow-sm); }
.trip-notes summary { display: grid; grid-template-columns: 38px minmax(0,1fr) 18px; gap: 11px; align-items: center; padding: 13px 15px; cursor: pointer; list-style: none; }
.trip-notes summary::-webkit-details-marker { display: none; }
.trip-notes summary > span:nth-child(2) { display: grid; gap: 2px; }
.trip-notes summary strong { font-size: 13px; }
.trip-notes summary small { color: var(--muted); font-size: 10px; }
.trip-notes summary > svg { width: 17px; height: 17px; transition: transform .2s ease; }
.trip-notes[open] summary > svg { transform: rotate(90deg); }
.trip-notes-body { display: grid; gap: 0; padding: 0 15px 13px 64px; }
.trip-notes-body > div { display: flex; gap: 8px; padding: 9px 0; border-top: 1px solid rgba(23,48,47,.09); color: var(--ink-2); font-size: 11px; line-height: 1.5; }
.trip-notes-body svg { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 1px; color: #4f7d60; }

.option-section { margin-top: 20px; }
.option-group { margin-top: 12px; padding: 16px; border: 1px solid rgba(23,48,47,.1); border-radius: 20px; background: rgba(255,253,248,.86); box-shadow: var(--shadow-sm); }
.option-group-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.option-group-head h3 { margin: 0; font-size: 16px; }
.option-group-head p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.selection-status { flex: 0 0 auto; max-width: 46%; padding: 6px 9px; border-radius: 999px; background: var(--paper-2); color: var(--muted); font-size: 9px; font-weight: 800; text-align: center; }
.selection-status.decided { background: #dfe8dc; color: #33553e; }
.option-grid { display: grid; grid-template-columns: 1fr; gap: 11px; margin-top: 14px; }
.choice-card { display: flex; overflow: hidden; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: .2s ease; }
.choice-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.choice-card.selected { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(216,98,60,.1); }
.choice-body { display: flex; flex: 1; flex-direction: column; padding: 13px; }
.choice-body h3 { margin: 6px 0 0; }
.choice-body > p { margin: 7px 0 0; font-size: 11px; }
.choice-body > .button { margin-top: auto; }
.choice-cost { margin-top: 12px; color: var(--coral-dark); font-family: 'Newsreader', Georgia, serif; font-size: 24px; font-weight: 600; }
.choice-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.choice-meta span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 8px; background: var(--paper); color: var(--ink-2); font-size: 9px; font-weight: 700; }
.choice-meta svg { width: 12px; height: 12px; }
.option-group-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.place-photo { position: relative; display: grid; height: clamp(190px, 26vw, 320px); margin: 13px 0 0; overflow: hidden; place-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; background: var(--forest); isolation: isolate; }
.place-photo img { display: block; width: 100%; height: 100%; }
.place-photo .photo-backdrop { position: absolute; z-index: 0; inset: -18px; width: calc(100% + 36px); height: calc(100% + 36px); object-fit: cover; filter: blur(18px) saturate(.85); opacity: .48; transform: scale(1.06); }
.place-photo .photo-main { position: relative; z-index: 1; object-fit: contain; transition: transform .45s ease; }
.stop-body:hover .photo-main, .choice-card:hover .photo-main, .food-card:hover .photo-main { transform: scale(1.012); }
.place-photo::after { content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(8,27,26,.18), transparent 18%, transparent 82%, rgba(8,27,26,.18)); }
.place-photo figcaption { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 28px 10px 8px; background: linear-gradient(transparent, rgba(8,27,26,.86)); color: white; font-size: 8px; }
.place-photo figcaption span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.place-photo figcaption a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 3px; color: white; text-decoration: none; }
.place-photo figcaption svg { width: 10px; height: 10px; }
.photo-placeholder { position: relative; z-index: 2; display: grid; height: 100%; place-content: center; justify-items: center; gap: 7px; color: rgba(255,255,255,.76); font-size: 10px; }
.photo-placeholder svg { width: 22px; height: 22px; color: var(--sun); }
.photo-unavailable { height: 110px; opacity: .8; }
.choice-photo { height: 190px; margin: 0; border: 0; border-radius: 0; }
.stop-card.selected-option .stop-body { border-color: rgba(216,98,60,.5); box-shadow: 0 8px 28px rgba(216,98,60,.11); }
.stop-card.selected-option .stop-dot { background: var(--coral); color: white; }

.food-grid { display: grid; grid-template-columns: 1fr; gap: 11px; margin-top: 14px; }
.food-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--white); box-shadow: var(--shadow-sm); }
.food-photo { height: 180px; margin: 0; border: 0; border-radius: 0; }
.food-body { padding: 14px; }
.food-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.food-top h3 { margin: 3px 0 0; font-size: 17px; }
.food-area { color: var(--coral-dark); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.food-price { font-family: 'Newsreader', Georgia, serif; font-size: 22px; color: var(--ink-2); }
.food-assurance { display: inline-flex; margin-top: 10px; padding: 5px 8px; border-radius: 8px; font-size: 9px; font-weight: 800; }
.food-assurance.strict { background: #dfe8dc; color: #33553e; }
.food-assurance.mixed { background: #f7e8b9; color: #65460e; }
.food-body > p { margin: 8px 0 0; color: var(--ink-2); font-size: 11px; line-height: 1.45; }
.food-body .route-fit { display: flex; gap: 7px; padding: 9px; border-radius: 10px; background: var(--paper); }
.food-body .route-fit svg { flex: 0 0 auto; width: 14px; height: 14px; color: var(--coral); }

.pace-card { display: grid; gap: 10px; margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); box-shadow: var(--shadow-sm); }
.pace-title { display: flex; align-items: center; gap: 10px; }
.pace-level { padding: 5px 8px; border-radius: 8px; background: var(--paper-2); color: var(--ink-2); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.pace-high .pace-level, .pace-very-high .pace-level { background: #f6d7ca; color: var(--coral-dark); }
.pace-comfortable .pace-level { background: #dfe8dc; color: #33553e; }
.pace-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.pace-action { display: flex; align-items: flex-start; gap: 9px; padding: 11px; border-radius: 12px; background: var(--paper); color: var(--ink-2); font-size: 12px; line-height: 1.5; }
.pace-action svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; color: var(--coral); }
.pace-action strong { display: block; color: var(--ink); }

.skip-card { margin-top: 14px; padding: 18px; border: 1px solid rgba(216,98,60,.18); border-radius: 18px; background: #fff9f3; box-shadow: var(--shadow-sm); }
.skip-head { display: flex; align-items: flex-start; gap: 12px; }
.skip-head h2 { margin: 0; font-family: 'Newsreader', Georgia, serif; font-size: 26px; letter-spacing: -.03em; }
.skip-head .eyebrow { margin-bottom: 4px; }
.skip-head p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.skip-list { display: grid; gap: 8px; margin-top: 14px; }
.skip-item { display: grid; grid-template-columns: 27px minmax(0,1fr); gap: 10px; align-items: start; padding: 10px; border-radius: 12px; background: var(--white); }
.skip-item > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--coral); color: white; font-size: 11px; font-weight: 800; }
.skip-item strong { font-size: 12px; }
.skip-item p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }

.timeline { position: relative; display: grid; gap: 12px; }
.timeline::before { content: ''; position: absolute; top: 18px; bottom: 18px; left: 17px; width: 1px; background: var(--line); }
.stop-card { position: relative; display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 12px; }
.stop-clock { display: none; }
.stop-dot { z-index: 1; display: grid; place-items: center; width: 35px; height: 35px; border: 5px solid var(--paper); border-radius: 50%; background: var(--forest); color: var(--sun); }
.stop-dot svg { width: 13px; height: 13px; }
.stop-card.done .stop-dot { background: var(--sage); color: var(--forest); }
.stop-body { padding: 16px; border: 1px solid rgba(23,48,47,.09); border-radius: 18px; background: var(--white); box-shadow: 0 5px 20px rgba(28,45,43,.055); }
.stop-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.stop-time { color: var(--coral-dark); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.stop-title { margin: 3px 0 0; font-size: 17px; letter-spacing: -.02em; }
.stop-type { flex: 0 0 auto; padding: 5px 8px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.timing-strip { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; margin-top: 13px; }
.timing-strip > span { display: grid; grid-template-columns: 16px minmax(0,1fr); gap: 0 7px; align-items: center; padding: 9px 10px; border-radius: 11px; background: #f7e8b9; color: #65460e; }
.timing-strip svg { grid-row: 1 / 3; width: 15px; height: 15px; }
.timing-strip small { font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.timing-strip strong { font-size: 11px; line-height: 1.3; }
.stop-route { display: flex; gap: 9px; margin-top: 13px; padding: 11px; border-radius: 12px; background: var(--paper); color: var(--ink-2); font-size: 12px; line-height: 1.5; }
.stop-route svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 1px; color: var(--coral); }
.stop-detail { margin: 11px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.boat-fares { margin-top: 14px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: #f4f7f3; }
.boat-fares-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.boat-fares-head > div { display: grid; gap: 3px; }
.boat-fares-head > div > strong { font-size: 13px; }
.boat-fares-head > div > span { color: var(--muted); font-size: 9px; }
.boat-fare-list { display: grid; gap: 6px; margin-top: 11px; }
.boat-fare-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 10px; padding: 9px 10px; border: 1px solid transparent; border-radius: 11px; background: var(--white); }
.boat-fare-row.recommended { border-color: rgba(216,98,60,.35); background: #fff5ee; }
.boat-fare-row > div:first-child { display: grid; gap: 2px; }
.boat-fare-row strong { font-size: 11px; }
.boat-fare-row span { color: var(--muted); font-size: 9px; }
.boat-price { color: var(--coral-dark); font-size: 10px; font-weight: 800; text-align: right; }
.boat-fare-row p { grid-column: 1 / -1; margin: 2px 0 0; color: var(--ink-2); font-size: 10px; line-height: 1.4; }
.boat-fares > .note { margin: 10px 2px 0; }
.stop-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.done-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.done-toggle svg { width: 14px; height: 14px; }
.stop-card.done .stop-body { opacity: .68; }

.tabs { display: inline-flex; max-width: 100%; gap: 3px; overflow-x: auto; padding: 4px; border-radius: 14px; background: var(--paper-2); }
.tab { padding: 9px 13px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 700; white-space: nowrap; }
.tab.active { background: var(--white); color: var(--ink); box-shadow: 0 3px 12px rgba(28,45,43,.08); }

.form-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--ink-2); font-size: 11px; font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; min-height: 45px; padding: 11px 12px; border: 1px solid var(--line); outline: none; border-radius: 12px; background: var(--white); color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(216,98,60,.11); }
.field-help { color: var(--muted); font-size: 10px; line-height: 1.4; }

.converter { display: grid; gap: 14px; padding: 22px; border-radius: var(--radius-xl); background: var(--forest); color: white; }
.converter-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.converter h2 { margin: 0; font-family: 'Newsreader', Georgia, serif; font-size: 31px; }
.rate-badge { padding: 6px 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: rgba(255,255,255,.66); font-size: 10px; }
.money-input { display: grid; grid-template-columns: auto 1fr; align-items: center; min-height: 70px; border-bottom: 1px solid rgba(255,255,255,.14); }
.money-input span { color: var(--sun); font-size: 20px; font-weight: 700; }
.money-input input { width: 100%; border: 0; outline: 0; background: transparent; color: white; font-family: 'Newsreader', Georgia, serif; font-size: clamp(42px, 8vw, 64px); text-align: right; }
.converted { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.converted-label { color: rgba(255,255,255,.6); font-size: 12px; }
.converted-value { font-family: 'Newsreader', Georgia, serif; font-size: clamp(28px, 6vw, 43px); color: var(--sun); }
.quick-amounts { display: flex; flex-wrap: wrap; gap: 7px; }
.quick-amounts button { padding: 7px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.8); cursor: pointer; font-size: 11px; font-weight: 700; }

.budget-day { display: grid; grid-template-columns: minmax(110px,1.2fr) repeat(2,minmax(80px,.6fr)); align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.budget-day:last-child { border-bottom: 0; }
.budget-day .date { font-size: 12px; font-weight: 700; }
.budget-day .date span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 500; }
.budget-number { text-align: right; font-size: 12px; font-weight: 700; }
.budget-number span { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 500; }
.total-card { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.total-block { padding: 16px; border-radius: 15px; background: var(--paper); }
.total-block strong { display: block; margin-top: 5px; font-family: 'Newsreader', Georgia, serif; font-size: 28px; }
.total-block span { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }

.check-group { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.check-group h3 { margin: 0; padding: 14px 15px; border-bottom: 1px solid var(--line); font-size: 13px; }
.check-item { display: flex; align-items: flex-start; gap: 10px; padding: 11px 15px; border-bottom: 1px solid rgba(23,48,47,.075); cursor: pointer; font-size: 12px; line-height: 1.45; }
.check-item:last-child { border-bottom: 0; }
.check-item input { width: 17px; height: 17px; margin: 0; accent-color: var(--coral); }
.check-item.done span { color: var(--muted); text-decoration: line-through; }

.booking-card { display: grid; gap: 13px; }
.booking-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.booking-meta span { padding: 5px 7px; border-radius: 8px; background: var(--paper); color: var(--ink-2); font-size: 10px; font-weight: 700; }
.booking-actions { display: flex; flex-wrap: wrap; gap: 7px; }

.transport-card h3 { font-size: 18px; }
.winner { display: inline-flex; margin-top: 8px; padding: 5px 8px; border-radius: 8px; background: #dfe8dc; color: #33553e; font-size: 10px; font-weight: 800; }
.option-list { display: grid; gap: 9px; margin-top: 14px; }
.option { padding-top: 10px; border-top: 1px solid var(--line); }
.option:first-child { padding-top: 0; border-top: 0; }
.option-head { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 800; }
.option-head span:last-child { color: var(--coral-dark); text-align: right; }
.option p { margin-top: 5px; font-size: 11px; }
.app-card { display: flex; flex-direction: column; }
.app-card > .button { align-self: flex-start; margin-top: auto; }
.app-how { display: grid; gap: 4px; margin: 12px 0 16px; padding: 11px; border-radius: 12px; background: var(--paper); font-size: 11px; line-height: 1.5; }
.app-how strong { color: var(--coral-dark); }
.app-how span { color: var(--ink-2); }

.flight-card { position: relative; overflow: hidden; background: var(--forest); color: white; }
.flight-card::after { content: ''; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border: 24px solid rgba(255,255,255,.04); border-radius: 50%; }
.flight-code { color: var(--sun); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.flight-route { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.airport { font-family: 'Newsreader', Georgia, serif; font-size: 34px; }
.route-line { position: relative; flex: 1; height: 1px; background: rgba(255,255,255,.3); }
.route-line::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid white; border-right: 1px solid white; transform: rotate(45deg); }
.flight-date { margin-top: 14px; color: rgba(255,255,255,.65); font-size: 12px; }
.countdown { margin-top: 18px; padding: 11px; border-radius: 11px; background: rgba(255,255,255,.07); color: white; font-size: 12px; }

.modal-backdrop { position: fixed; z-index: 150; inset: 0; display: grid; align-items: end; padding: 10px; background: rgba(9,28,27,.55); backdrop-filter: blur(8px); }
.modal { width: min(620px, 100%); max-height: calc(100vh - 30px); margin: 0 auto; overflow-y: auto; padding: 20px; border-radius: 24px; background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.modal-head { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.modal-head h2 { margin: 0; font-family: 'Newsreader', Georgia, serif; font-size: 30px; }

.empty { padding: 30px 18px; border: 1px dashed var(--line); border-radius: 18px; text-align: center; }
.empty .card-icon { margin: 0 auto 12px; }
.empty h3 { margin: 0; }
.empty p { max-width: 430px; margin: 8px auto 16px; }

.toast { position: fixed; z-index: 220; left: 50%; bottom: 96px; transform: translate(-50%, 15px); max-width: calc(100% - 32px); padding: 11px 15px; border-radius: 11px; background: var(--forest); color: white; box-shadow: var(--shadow); font-size: 12px; opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.online-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #70ad78; }
.online-dot.offline { background: var(--coral); }

.sources { display: grid; gap: 0; }
.source-link { display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: 12px; }
.source-link:last-child { border-bottom: 0; }
.source-link:hover { color: var(--coral-dark); }
.source-link svg { flex: 0 0 auto; width: 14px; height: 14px; }

.privacy { display: flex; gap: 10px; padding: 12px; border-radius: 12px; background: #dfe8dc; color: #33553e; font-size: 11px; line-height: 1.5; }
.privacy svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 1px; }
.inline-control { display: flex; align-items: center; gap: 8px; }
.inline-control input { width: 70px; min-height: 36px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.note { color: var(--muted); font-size: 11px; line-height: 1.5; }
.hide { display: none !important; }

@media (min-width: 620px) {
  .page { padding: 24px 24px 50px; }
  .grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid.three { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .quick-actions { grid-template-columns: repeat(4, 1fr); }
  .form-row.two { grid-template-columns: repeat(2,1fr); }
  .option-grid, .food-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .day-hero { grid-template-columns: minmax(0,1.6fr) minmax(260px,.7fr); padding: 28px; }
  .timeline::before { left: 82px; }
  .stop-card { grid-template-columns: 64px 36px minmax(0,1fr); gap: 12px; }
  .stop-clock { display: block; padding-top: 10px; color: var(--ink-2); font-size: 11px; font-weight: 800; text-align: right; }
  .stop-head .stop-time { display: none; }
  .modal-backdrop { align-items: center; }
  .toast { bottom: 24px; }
}

@media (min-width: 960px) {
  .app-shell { display: grid; grid-template-columns: 230px minmax(0,1fr); }
  .sidebar { position: sticky; z-index: 100; top: 0; display: flex; height: 100vh; flex-direction: column; padding: 26px 18px; background: var(--forest); color: white; }
  .sidebar .brand-mark { background: var(--white); color: var(--forest); }
  .sidebar .brand-copy span { color: rgba(255,255,255,.45); }
  .side-nav { display: grid; gap: 6px; margin-top: 44px; }
  .side-nav .nav-item { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 11px 13px; font-size: 12px; }
  .side-nav .nav-item.active { background: rgba(255,255,255,.11); }
  .side-foot { margin-top: auto; padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; color: rgba(255,255,255,.52); font-size: 10px; line-height: 1.5; }
  .mobile-topbar, .bottom-nav { display: none; }
  .main-shell { padding-bottom: 0; }
  .page { padding: 30px 36px 110px; }
  .grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .option-grid, .food-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .day-switcher { margin-right: -10px; margin-left: -10px; padding-right: 10px; padding-left: 10px; }
  .date-strip { display: grid; grid-template-columns: repeat(8, minmax(72px,1fr)); overflow: visible; }
  .date-chip { width: 100%; min-width: 0; }
  .day-navigator { right: 28px; bottom: 24px; left: auto; width: 480px; }
  .hero { padding: 42px; }
  .hero-actions { margin-top: 30px; }
}

@media (min-width: 1240px) {
  .app-shell { grid-template-columns: 250px minmax(0,1fr); }
  .page { padding-left: 54px; padding-right: 54px; }
}

body {
  background:
    radial-gradient(circle at 8% 4%, rgba(216,98,60,.09), transparent 25rem),
    radial-gradient(circle at 92% 16%, rgba(79,125,96,.1), transparent 32rem),
    var(--paper);
}

body::before {
  content: '';
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(23,48,47,.025) 80px);
}

.main-shell { position: relative; }
.page { max-width: 1400px; }
.sidebar-journey { display: none; }

.day-switcher {
  border-color: rgba(23,48,47,.1);
  background: rgba(245,241,232,.96);
  box-shadow: 0 18px 50px rgba(28,45,43,.08);
  backdrop-filter: none;
}

.date-chip {
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.date-chip::after {
  content: '';
  position: absolute;
  right: 12px;
  bottom: 7px;
  left: 12px;
  height: 2px;
  border-radius: 4px;
  background: var(--coral);
  opacity: 0;
  transform: scaleX(.35);
  transition: .22s ease;
}

.date-chip:hover { transform: translateY(-2px); border-color: rgba(23,48,47,.25); }
.date-chip.active::after { opacity: 1; transform: scaleX(1); background: var(--sun); }

.trip-view { --trip-accent: #d8623c; --trip-glow: #f0b34a; --trip-wash: #f3d9ca; --weather-sky-a: #102d32; --weather-sky-b: #284b4c; --weather-light: #b9c9c5; }
.trip-view.theme-highlands { --trip-accent: #478078; --trip-glow: #9cc2a1; --trip-wash: #d4e2db; }
.trip-view.theme-edinburgh { --trip-accent: #7a6179; --trip-glow: #d2a96f; --trip-wash: #e3d8e3; }
.trip-view.weather-clear { --weather-sky-a: #173b46; --weather-sky-b: #7b5637; --weather-light: #ffc96b; }
.trip-view.weather-partly { --weather-sky-a: #14373e; --weather-sky-b: #52625c; --weather-light: #e7be72; }
.trip-view.weather-cloudy { --weather-sky-a: #152f34; --weather-sky-b: #455454; --weather-light: #b8c6c4; }
.trip-view.weather-mist { --weather-sky-a: #203536; --weather-sky-b: #66716b; --weather-light: #d2d8cd; }
.trip-view.weather-rain { --weather-sky-a: #122b35; --weather-sky-b: #344b58; --weather-light: #83b7c9; }
.trip-view.weather-snow { --weather-sky-a: #203746; --weather-sky-b: #607687; --weather-light: #edf6f4; }
.trip-view.weather-storm { --weather-sky-a: #171f30; --weather-sky-b: #3b3c50; --weather-light: #c1a8e2; }

.day-hero {
  isolation: isolate;
  grid-template-columns: 1fr;
  min-height: 480px;
  gap: clamp(22px, 4vw, 62px);
  padding: clamp(28px, 4vw, 58px);
  border: 0;
  border-radius: 38px;
  background:
    radial-gradient(circle at 80% 12%, color-mix(in srgb, var(--weather-light) 58%, transparent), transparent 25%),
    linear-gradient(135deg, var(--weather-sky-a) 0%, color-mix(in srgb, var(--weather-sky-a) 55%, var(--weather-sky-b)) 52%, var(--weather-sky-b) 100%);
  color: var(--white);
  box-shadow: 0 30px 80px rgba(16,42,42,.2);
}

.day-hero::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: -34%;
  right: -8%;
  width: 54%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(255,255,255,.025), 0 0 0 104px rgba(255,255,255,.02);
}

.day-hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  right: 34%;
  bottom: -42%;
  width: 280px;
  height: 280px;
  border-radius: 44% 56% 68% 32% / 58% 35% 65% 42%;
  background: var(--trip-accent);
  opacity: .24;
  transform: rotate(24deg);
}

@keyframes atmosphere-breathe {
  50% { transform: scale(1.055); opacity: .9; }
}

@keyframes cloud-drift {
  from { transform: translate3d(-18px, 0, 0); }
  to { transform: translate3d(34px, 0, 0); }
}

@keyframes rain-fall {
  from { transform: translate3d(0, -190px, 0) rotate(14deg); }
  to { transform: translate3d(-38px, 610px, 0) rotate(14deg); }
}

@keyframes snow-fall {
  from { transform: translate3d(0, -170px, 0) rotate(0); }
  to { transform: translate3d(50px, 610px, 0) rotate(130deg); }
}

@keyframes weather-card-in {
  from { opacity: 0; transform: translateY(8px); }
}

.weather-atmosphere { position: absolute; z-index: 0; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.weather-atmosphere i { position: absolute; display: block; opacity: 0; pointer-events: none; }
.atmosphere-sun { top: -90px; right: 4%; width: 330px; height: 330px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--weather-light) 70%, white) 0%, color-mix(in srgb, var(--weather-light) 24%, transparent) 38%, transparent 68%); transform: translateZ(0); }
.atmosphere-cloud { width: 270px; height: 74px; border-radius: 999px; background: linear-gradient(110deg, rgba(255,255,255,.02), rgba(255,255,255,.24), rgba(255,255,255,.03)); box-shadow: 54px -28px 0 -8px rgba(255,255,255,.1), 116px 15px 0 -18px rgba(255,255,255,.08); transform: translateZ(0); }
.cloud-one { top: 13%; right: 8%; }
.cloud-two { top: 55%; left: -6%; animation-delay: -8s !important; }
.atmosphere-haze { right: -10%; bottom: -40px; left: -10%; height: 52%; background: linear-gradient(transparent, rgba(232,238,232,.16)); }
.atmosphere-rain { top: 0; right: 13%; width: 2px; height: 36px; border-radius: 99px; background: rgba(190,225,235,.58); box-shadow: 52px -80px rgba(190,225,235,.36), 104px 70px rgba(190,225,235,.5), 176px -30px rgba(190,225,235,.34), 238px 110px rgba(190,225,235,.44), 320px -95px rgba(190,225,235,.38), 410px 32px rgba(190,225,235,.44), 510px -50px rgba(190,225,235,.3); }
.rain-two { right: 56%; animation-delay: -1.1s !important; }
.weather-clear .atmosphere-sun { opacity: .72; animation: atmosphere-breathe 8s ease-in-out infinite; }
.weather-partly .atmosphere-sun { opacity: .48; animation: atmosphere-breathe 9s ease-in-out infinite; }
.weather-partly .atmosphere-cloud, .weather-cloudy .atmosphere-cloud, .weather-rain .atmosphere-cloud, .weather-storm .atmosphere-cloud, .weather-snow .atmosphere-cloud { opacity: .38; animation: cloud-drift 18s ease-in-out infinite alternate; }
.weather-cloudy .atmosphere-cloud { opacity: .52; }
.weather-mist .atmosphere-haze { opacity: .86; animation: atmosphere-breathe 10s ease-in-out infinite; }
.weather-rain .atmosphere-rain, .weather-storm .atmosphere-rain { opacity: .52; animation: rain-fall 2.1s linear infinite; }
.weather-storm .atmosphere-rain { opacity: .68; animation-duration: 1.55s; }
.weather-snow .atmosphere-rain { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.82); box-shadow: 52px -80px rgba(255,255,255,.5), 104px 70px rgba(255,255,255,.76), 176px -30px rgba(255,255,255,.44), 238px 110px rgba(255,255,255,.72), 320px -95px rgba(255,255,255,.54), 410px 32px rgba(255,255,255,.7), 510px -50px rgba(255,255,255,.48); opacity: .7; animation: snow-fall 7s linear infinite; }
.weather-refreshed { animation: weather-card-in 360ms cubic-bezier(.16,1,.3,1) both; }

.day-hero-copy { position: relative; z-index: 1; align-self: center; }
.day-hero h1 {
  max-width: 820px;
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: .91;
  color: var(--white);
  text-wrap: balance;
}
.day-hero p { max-width: 720px; color: rgba(255,255,255,.68); font-size: 15px; }
.day-number { color: var(--trip-glow); }
.day-number span { background: var(--trip-accent); }
.day-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.day-facts span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(255,255,255,.09); color: rgba(255,255,255,.78); font-size: 11px; font-weight: 700; }
.day-facts svg { width: 14px; height: 14px; color: var(--trip-glow); }
.day-facts .forecast-fact { border-color: color-mix(in srgb, var(--weather-light) 46%, transparent); background: color-mix(in srgb, var(--weather-light) 14%, transparent); }
.day-facts .forecast-fact svg { color: var(--weather-light); }
.day-hero .button { background: var(--trip-accent); }
.day-hero .button.secondary { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.11); color: white; }
.day-hero-aside { position: relative; z-index: 1; display: grid; align-content: center; gap: 14px; }
.day-stamp { display: none; }
.day-hero .weather-card { min-height: 0; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.94); box-shadow: 0 24px 70px rgba(0,0,0,.15); }
.day-hero .weather-card::after { width: 90px; height: 90px; opacity: .5; }
.day-hero .weather-main { margin-top: 16px; }
.day-hero .weather-temp { font-size: 44px; }

.option-section { margin-top: 42px; }
.option-section > .section-head { max-width: 720px; }
.option-group { padding: clamp(17px, 2vw, 25px); border-radius: 28px; background: rgba(255,253,248,.94); box-shadow: 0 22px 65px rgba(28,45,43,.08); backdrop-filter: none; }
.option-group + .option-group { margin-top: 18px; }
.option-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); gap: 14px; }
.choice-card { border-radius: 22px; box-shadow: 0 7px 24px rgba(28,45,43,.06); }
.choice-card:hover { transform: translateY(-4px) rotate(-.15deg); box-shadow: 0 22px 44px rgba(28,45,43,.12); }
.choice-card.selected { border-color: var(--trip-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--trip-accent) 14%, transparent), 0 20px 45px rgba(28,45,43,.11); }
.choice-body { padding: 16px; }
.choice-cost { color: var(--trip-accent); }
.choice-photo { height: 168px; }

.day-brief-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
.day-brief-grid > * { margin-top: 0; }
.trip-notes, .pace-card, .skip-card { border-radius: 24px; box-shadow: 0 14px 44px rgba(28,45,43,.07); }
.trip-notes { background: color-mix(in srgb, var(--trip-wash) 42%, var(--white)); }
.trip-notes summary { min-height: 80px; padding: 18px; }
.trip-notes-body { padding-right: 18px; padding-bottom: 18px; }
.pace-card { align-content: start; padding: 21px; background: var(--forest); color: white; }
.pace-card p { color: rgba(255,255,255,.64); }
.pace-action { background: rgba(255,255,255,.08); color: rgba(255,255,255,.74); }
.pace-action strong { color: white; }
.pace-action svg { color: var(--trip-glow); }
.skip-card { padding: 21px; border-color: rgba(23,48,47,.08); background: var(--white); }
.skip-head h2 { font-size: 30px; }
.skip-list { gap: 0; }
.skip-item { border-radius: 0; border-top: 1px solid var(--line); background: transparent; }
.skip-item:first-child { border-top: 0; }
.skip-item > span { background: var(--trip-accent); }

.route-section { max-width: 1160px; margin: 62px auto 0; }
.route-section .section-head { margin-bottom: 26px; }
.route-section .section-head h2 { font-size: clamp(38px, 5vw, 60px); }
.route-section .progress-label { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.62); }
.timeline { gap: 18px; }
.stop-body { overflow: hidden; padding: 20px; border-radius: 24px; background: rgba(255,253,248,.94); box-shadow: 0 14px 44px rgba(28,45,43,.07); transition: transform .25s ease, box-shadow .25s ease; }
.stop-card:not(.done) .stop-body:hover { transform: translateY(-2px); box-shadow: 0 24px 62px rgba(28,45,43,.12); }
.stop-dot { border-color: var(--paper); background: var(--forest); box-shadow: 0 0 0 1px rgba(23,48,47,.1); }
.stop-card.selected-option .stop-dot { background: var(--trip-accent); }
.stop-title { font-family: 'Newsreader', Georgia, serif; font-size: clamp(20px, 2vw, 27px); font-weight: 600; }
.stop-type { background: color-mix(in srgb, var(--trip-wash) 52%, var(--paper)); }
.stop-route { background: rgba(235,229,218,.62); }
.stop-actions { padding-top: 2px; }
.compact-stop .stop-body { background: rgba(255,253,248,.72); }
.compact-stop .stop-title { font-family: 'DM Sans', sans-serif; font-size: 16px; }

.place-photo { height: clamp(220px, 24vw, 310px); border: 0; border-radius: 19px; background: #102a2a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.place-photo .photo-backdrop { opacity: .24; filter: none; }
.place-photo .photo-main { width: calc(100% - 18px); height: calc(100% - 18px); border-radius: 13px; box-shadow: 0 10px 20px rgba(0,0,0,.16); }
.place-photo::after { background: linear-gradient(180deg, transparent 55%, rgba(8,27,26,.3)); }
.place-photo figcaption { right: 9px; bottom: 9px; left: 9px; padding: 26px 9px 7px; border-radius: 0 0 13px 13px; }
.choice-photo, .food-photo { height: 172px; margin: 0; border-radius: 0; }
.choice-photo .photo-main, .food-photo .photo-main { width: calc(100% - 12px); height: calc(100% - 12px); border-radius: 17px 17px 9px 9px; }
.choice-photo figcaption, .food-photo figcaption { right: 6px; bottom: 6px; left: 6px; }

.food-section { margin-top: 60px; }
.food-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 15px; }
.food-card { border-radius: 23px; box-shadow: 0 13px 38px rgba(28,45,43,.08); }
.food-body { padding: 17px; }
.day-outro { max-width: 1060px; margin-right: auto; margin-left: auto; }

.hero { border-radius: 38px; background: linear-gradient(132deg, #0b2526, #173b38 68%, #264a40); }
.hero h1 { font-size: clamp(48px, 7vw, 88px); }
.card { border-radius: 23px; }
.grid { gap: 16px; }
.section { margin-top: 36px; }
.section-head h2 { text-wrap: balance; }
.quick-action { border-radius: 18px; }
.converter { border-radius: 32px; }

.day-navigator { border-radius: 999px; background: rgba(10,34,34,.96); box-shadow: 0 20px 65px rgba(10,34,34,.3); backdrop-filter: none; }
.bottom-nav { backdrop-filter: none; }
.day-navigator > button { border-radius: 999px; }

@media (min-width: 760px) {
  .day-brief-grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); grid-template-rows: auto auto; }
  .day-brief-grid .trip-notes { grid-column: 1; grid-row: 1; }
  .day-brief-grid .pace-card { grid-column: 1; grid-row: 2; }
  .day-brief-grid .skip-card { grid-column: 2; grid-row: 1 / span 2; }
}

@media (min-width: 960px) {
  .app-shell { grid-template-columns: 210px minmax(0,1fr); }
  .sidebar { overflow: hidden; padding: 28px 16px 22px; background: linear-gradient(180deg, #0b2526, #102f2d 65%, #173934); }
  .sidebar::before { content: ''; position: absolute; top: -90px; right: -100px; width: 240px; height: 240px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; box-shadow: 0 0 0 40px rgba(255,255,255,.018), 0 0 0 80px rgba(255,255,255,.018); }
  .sidebar > * { position: relative; z-index: 1; }
  .side-nav { margin-top: 54px; }
  .side-nav .nav-item { padding: 12px 13px; border-radius: 14px; }
  .sidebar-journey { display: grid; gap: 8px; margin: auto 10px 22px; color: rgba(255,255,255,.52); font-family: 'Newsreader', Georgia, serif; font-size: 13px; }
  .sidebar-journey i { width: 1px; height: 22px; margin-left: 3px; background: linear-gradient(var(--sun), transparent); }
  .side-foot { margin-top: 0; }
  .page { max-width: 1400px; padding: 22px clamp(28px, 4vw, 58px) 120px; }
  .day-switcher { top: 14px; margin: 0 0 16px; padding: 8px; border-radius: 24px; }
  .day-switcher-label { display: none; }
  .date-strip { gap: 6px; }
  .date-chip { padding: 10px 5px 12px; border: 0; border-radius: 17px; background: transparent; }
  .date-chip .num { font-size: 22px; }
  .date-chip.active { background: var(--forest); }
  .day-hero { grid-template-columns: 1fr; }
  .day-stamp { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 5px; color: rgba(255,255,255,.48); }
  .day-stamp small { align-self: center; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
  .day-stamp strong { color: var(--trip-glow); font-family: 'Newsreader', Georgia, serif; font-size: 44px; line-height: .8; }
  .day-stamp span { font-size: 8px; font-weight: 700; line-height: 1.5; letter-spacing: .12em; text-align: right; text-transform: uppercase; }
  .day-navigator { right: 34px; bottom: 26px; width: 510px; }
}

@media (min-width: 1120px) {
  .day-hero { grid-template-columns: minmax(0,1.65fr) minmax(260px,.72fr); }
}

@media (min-width: 1240px) {
  .app-shell { grid-template-columns: 220px minmax(0,1fr); }
  .page { padding-right: clamp(38px, 4vw, 70px); padding-left: clamp(38px, 4vw, 70px); }
  .image-stop .stop-body { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(270px,.95fr); gap: 14px 22px; padding: 22px; }
  .image-stop .stop-body > *:not(.stop-photo) { grid-column: 1; }
  .image-stop .stop-photo { grid-column: 2; grid-row: 1 / span 10; align-self: start; height: clamp(310px, 28vw, 390px); min-height: 0; margin: 0; }
  .image-stop:nth-child(even) .stop-body { grid-template-columns: minmax(270px,.95fr) minmax(0,1.05fr); }
  .image-stop:nth-child(even) .stop-body > *:not(.stop-photo) { grid-column: 2; }
  .image-stop:nth-child(even) .stop-photo { grid-column: 1; }
  .timeline::before { left: 82px; background: linear-gradient(var(--trip-accent), var(--line) 18%, var(--line) 82%, transparent); }
}

@media (max-width: 619px) {
  .page { padding-right: 12px; padding-left: 12px; }
  .day-switcher { margin-right: -12px; margin-left: -12px; border-right: 0; border-left: 0; border-radius: 0 0 22px 22px; }
  .day-hero { min-height: 0; padding: 28px 20px 22px; border-radius: 28px; }
  .day-hero h1 { font-size: clamp(40px, 13vw, 58px); }
  .day-hero-aside { margin-top: 8px; }
  .day-facts { gap: 6px; }
  .day-facts span { padding: 7px 9px; font-size: 10px; }
  .option-group-head { display: grid; }
  .selection-status { max-width: 100%; justify-self: start; }
  .route-section { margin-top: 44px; }
  .route-section .section-head { align-items: start; }
  .route-section .section-head h2 { font-size: 38px; }
  .stop-body { padding: 15px; border-radius: 20px; }
  .stop-title { font-size: 21px; }
  .place-photo { height: 220px; }
  .choice-photo, .food-photo { height: 164px; }
  .timing-strip { grid-template-columns: 1fr; }
  .day-navigator { right: 8px; left: 8px; }
}

@keyframes journey-out-left {
  to { opacity: 0; transform: translate3d(-24px, 0, 0); }
}

@keyframes journey-in-right {
  from { opacity: 0; transform: translate3d(24px, 0, 0); }
}

@keyframes journey-out-right {
  to { opacity: 0; transform: translate3d(24px, 0, 0); }
}

@keyframes journey-in-left {
  from { opacity: 0; transform: translate3d(-24px, 0, 0); }
}

@keyframes gentle-out {
  to { opacity: 0; transform: translate3d(0, -4px, 0); }
}

@keyframes gentle-in {
  from { opacity: 0; transform: translate3d(0, 5px, 0); }
}

@keyframes tap-wave {
  from { opacity: .32; transform: scale(0); }
  to { opacity: 0; transform: scale(1); }
}

@keyframes complete-pop {
  0% { transform: scale(.72) rotate(-12deg); }
  55% { transform: scale(1.14) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}

@keyframes selected-settle {
  0% { transform: scale(.985); }
  55% { transform: scale(1.012); }
  100% { transform: scale(1); }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
}

@keyframes veil-in {
  from { opacity: 0; }
}

.sidebar { view-transition-name: primary-sidebar; }
.day-switcher { view-transition-name: day-switcher; }
.day-navigator { view-transition-name: day-navigator; }
.bottom-nav { view-transition-name: bottom-navigation; }

html[data-transition="forward"]::view-transition-old(root) { animation: journey-out-left 170ms ease-in both; }
html[data-transition="forward"]::view-transition-new(root) { animation: journey-in-right 290ms cubic-bezier(.2,.8,.2,1) both; }
html[data-transition="backward"]::view-transition-old(root) { animation: journey-out-right 170ms ease-in both; }
html[data-transition="backward"]::view-transition-new(root) { animation: journey-in-left 290ms cubic-bezier(.2,.8,.2,1) both; }
html[data-transition="soft"]::view-transition-old(root) { animation: gentle-out 130ms ease-in both; }
html[data-transition="soft"]::view-transition-new(root) { animation: gentle-in 230ms cubic-bezier(.2,.8,.2,1) both; }
::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; }
::view-transition-group(primary-sidebar), ::view-transition-group(day-switcher), ::view-transition-group(day-navigator), ::view-transition-group(bottom-navigation) { animation-duration: 220ms; }

.motion-reveal { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity 360ms ease-out var(--reveal-delay, 0ms), transform 440ms cubic-bezier(.2,.8,.2,1) var(--reveal-delay, 0ms); }
.motion-reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

.place-photo .photo-backdrop { opacity: 0; transition: opacity 420ms ease, transform 560ms cubic-bezier(.2,.8,.2,1); }
.place-photo .photo-main { opacity: 0; transform: scale(.975); transition: opacity 340ms ease 50ms, transform 560ms cubic-bezier(.2,.8,.2,1); }
.place-photo figcaption { opacity: 0; transform: translateY(6px); transition: opacity 280ms ease 160ms, transform 340ms cubic-bezier(.2,.8,.2,1) 160ms; }
.place-photo.photo-ready .photo-backdrop { opacity: .24; transform: scale(1.04); }
.place-photo.photo-ready .photo-main { opacity: 1; transform: scale(1); }
.place-photo.photo-ready figcaption { opacity: 1; transform: translateY(0); }
.stop-body:hover .place-photo.photo-ready .photo-main, .choice-card:hover .place-photo.photo-ready .photo-main, .food-card:hover .place-photo.photo-ready .photo-main { transform: scale(1.018); }
.photo-placeholder svg { animation: selected-settle 1.4s ease-in-out infinite alternate; }

.ripple-surface { position: relative; overflow: hidden; isolation: isolate; }
.tap-ripple { position: absolute; z-index: 3; border-radius: 50%; pointer-events: none; background: rgba(255,255,255,.42); transform: scale(0); animation: tap-wave 620ms cubic-bezier(.16,1,.3,1); }
.button.secondary .tap-ripple, .button.text .tap-ripple, .date-chip .tap-ripple, .icon-button .tap-ripple { background: rgba(216,98,60,.2); }
.button:active, .quick-action:active, .nav-item:active, .date-chip:active, .day-navigator > button:active { transform: scale(.97); }
.button svg, .quick-action svg, .nav-item svg, .day-navigator svg { transition: transform 280ms cubic-bezier(.16,1,.3,1); }
.button:hover svg:last-child, .section-link:hover svg { transform: translateX(3px); }
.day-navigator > button:hover svg { transform: translateX(3px); }
.day-navigator > button:first-child:hover svg { transform: rotate(180deg) translateX(3px); }
.nav-item.active svg { transform: translateY(-1px) scale(1.08); }
.date-chip.active .num { transform: translateY(-1px); }

.stop-card.done .stop-dot { animation: complete-pop 440ms cubic-bezier(.16,1,.3,1); }
.choice-card.selected { animation: selected-settle 440ms cubic-bezier(.16,1,.3,1); }
.trip-notes[open] .trip-notes-body { animation: gentle-in 320ms cubic-bezier(.16,1,.3,1); }
.modal-backdrop { animation: veil-in 180ms ease both; }
.modal { animation: modal-in 360ms cubic-bezier(.16,1,.3,1) both; }
.toast.show { animation: selected-settle 280ms cubic-bezier(.16,1,.3,1); }

body { background: #fff; color: #1d1d1f; }
body::before { display: none; }

.brand-copy strong, .hero h1, .section-head h2, .day-hero h1, .skip-head h2, .stat, .weather-temp, .choice-cost, .food-price, .converter h2, .money-input input, .converted-value, .total-block strong, .airport, .modal-head h2, .date-chip .num { font-family: inherit; }
.hero h1, .day-hero h1, .section-head h2 { font-weight: 600; letter-spacing: -.055em; }
.hero p, .day-hero p, .section-head p { letter-spacing: -.01em; }
.eyebrow { margin-bottom: 12px; color: #06c; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.eyebrow::before { display: none; }

.button { min-height: 42px; padding: 10px 18px; border-radius: 999px; background: #0071e3; font-weight: 500; }
.button:hover { background: #0077ed; box-shadow: none; }
.button.secondary { border-color: transparent; background: #e8e8ed; color: #1d1d1f; }
.button.secondary:hover { background: #dedee3; box-shadow: none; }
.button.text { color: #06c; }
.icon-button { border-color: transparent; border-radius: 999px; background: #e8e8ed; }

.card { border: 0; border-radius: 26px; background: #f5f5f7; box-shadow: none; }
.card.highlight { border: 0; background: #f5f5f7; }
.card.sun { border: 0; background: #f5f5f7; }
.section { margin-top: clamp(58px, 7vw, 96px); }
.section-head { margin-bottom: 24px; }
.section-head h2 { font-size: clamp(36px, 5vw, 64px); line-height: .98; }
.section-head p { max-width: 640px; margin-top: 12px; font-size: 16px; line-height: 1.5; }
.grid { gap: 18px; }

.mobile-topbar { position: sticky; z-index: 110; top: 0; height: 52px; padding: 0 16px; border-bottom: 1px solid rgba(0,0,0,.08); background: rgba(250,250,252,.9); backdrop-filter: saturate(180%) blur(18px); }
.mobile-topbar .brand-mark { width: 30px; height: 30px; border-radius: 9px; background: #1d1d1f; color: white; box-shadow: none; }
.mobile-topbar .brand-mark svg { width: 18px; height: 18px; }
.mobile-topbar .brand-copy strong { font-size: 15px; }
.mobile-topbar .brand-copy span { display: none; }
.bottom-nav { border-color: rgba(255,255,255,.14); border-radius: 24px; background: rgba(29,29,31,.96); box-shadow: 0 12px 35px rgba(0,0,0,.22); }
.nav-item { font-weight: 500; }
.nav-item.active { background: rgba(255,255,255,.13); }

.hero { display: flex; min-height: min(680px, calc(100vh - 120px)); flex-direction: column; align-items: center; justify-content: center; padding: clamp(54px, 8vw, 110px) clamp(24px, 7vw, 90px); border-radius: 32px; background: #000; text-align: center; box-shadow: none; }
.hero::before, .hero::after { display: none; }
.hero h1 { max-width: 980px; font-size: clamp(52px, 8.4vw, 112px); line-height: .9; }
.hero p { max-width: 700px; color: #a1a1a6; font-size: clamp(17px, 2vw, 23px); line-height: 1.4; }
.hero-actions { justify-content: center; }
.hero .button.ghost { border-color: #424245; background: #1d1d1f; }
.hero-meta { justify-content: center; }
.meta-pill { border-color: #333336; background: transparent; backdrop-filter: none; }

.quick-actions { gap: 14px; }
.quick-action { min-height: 76px; padding: 16px; border: 0; border-radius: 22px; background: #f5f5f7; font-size: 13px; font-weight: 500; }
.quick-action:hover { background: #e8e8ed; transform: translateY(-1px); }
.card-icon, .card-icon.coral, .card-icon.sun { border-radius: 50%; background: #e8e8ed; color: #1d1d1f; }

.trip-view, .trip-view.theme-highlands, .trip-view.theme-edinburgh { --trip-accent: #0071e3; --trip-glow: var(--weather-light); }
.day-switcher { padding: 7px; border: 0; border-radius: 18px; background: rgba(245,245,247,.96); box-shadow: none; }
.date-strip { gap: 4px; }
.date-chip { border: 0; border-radius: 13px; background: transparent; }
.date-chip:hover { border-color: transparent; background: #e8e8ed; transform: none; }
.date-chip.active { background: #1d1d1f; box-shadow: none; }
.date-chip::after { display: none; }
.date-chip .dow { letter-spacing: .02em; }
.date-chip .num { font-weight: 600; }

.day-hero { min-height: 620px; padding: clamp(48px, 7vw, 96px); border-radius: 32px; box-shadow: none; }
.day-hero::before, .day-hero::after { display: none; }
.day-hero h1 { max-width: 900px; font-size: clamp(50px, 7.4vw, 96px); line-height: .91; }
.day-hero p { max-width: 720px; color: rgba(255,255,255,.72); font-size: clamp(17px, 1.8vw, 21px); line-height: 1.45; }
.day-hero .hero-actions { justify-content: flex-start; }
.day-number { color: var(--weather-light); font-weight: 600; letter-spacing: 0; text-transform: none; }
.day-number span { background: #0071e3; }
.day-facts span { border-color: rgba(255,255,255,.18); background: rgba(0,0,0,.13); font-weight: 500; }
.day-hero .weather-card { border: 0; border-radius: 24px; background: rgba(255,255,255,.94); box-shadow: none; }
.day-stamp { color: rgba(255,255,255,.56); }
.day-stamp strong { font-family: inherit; font-weight: 600; }

.option-section > .section-head { max-width: 820px; }
.option-group { padding: clamp(22px, 3vw, 38px); border-radius: 30px; background: #f5f5f7; box-shadow: none; }
.option-group-head h3 { font-size: 20px; }
.selection-status { background: #e8e8ed; color: #6e6e73; font-weight: 600; }
.selection-status.decided { background: #e6f2ff; color: #06c; }
.choice-card { border: 2px solid transparent; border-radius: 24px; background: #fff; box-shadow: none; }
.choice-card:hover { transform: translateY(-2px); box-shadow: none; }
.choice-card.selected { border-color: #0071e3; box-shadow: none; }
.choice-body { padding: 19px; }
.choice-cost { color: #1d1d1f; font-size: 28px; font-weight: 600; }
.choice-meta span { background: #f5f5f7; }
.winner { background: #e6f2ff; color: #06c; }

.day-brief-grid { gap: 18px; margin-top: 34px; }
.trip-notes, .pace-card, .skip-card { border: 0; border-radius: 28px; box-shadow: none; }
.trip-notes { background: #f5f5f7; }
.pace-card { background: #1d1d1f; }
.skip-card { background: #f5f5f7; }
.skip-item { border-color: #d2d2d7; }
.skip-item > span { background: #1d1d1f; }
.pace-level { background: #424245 !important; color: #f5f5f7 !important; }

.route-section { max-width: 1240px; padding: clamp(22px, 4vw, 54px); border-radius: 34px; background: #f5f5f7; }
.route-section .section-head h2 { font-size: clamp(48px, 7vw, 82px); }
.timeline::before { background: #d2d2d7; }
.stop-dot { border-color: #f5f5f7; background: #1d1d1f; color: white; }
.stop-card.selected-option .stop-dot { background: #0071e3; }
.stop-body { border: 0; border-radius: 28px; background: #fff; box-shadow: none; }
.stop-card:not(.done) .stop-body:hover { transform: translateY(-1px); box-shadow: none; }
.compact-stop .stop-body { background: #f5f5f7; }
.stop-title { font-family: inherit; font-weight: 600; }
.stop-type { background: #e8e8ed; color: #424245; font-weight: 600; }
.stop-route { background: #f5f5f7; }
.timing-strip > span { background: #fff3cd; }
.done-toggle { border-radius: 999px; }

.place-photo { border-radius: 22px; background: #000; }
.place-photo .photo-main { border-radius: 16px; box-shadow: none; }
.food-card { border: 0; border-radius: 26px; box-shadow: none; }
.food-section .privacy, .privacy { border-radius: 18px; }

.tabs { border-radius: 999px; background: #e8e8ed; }
.tab { border-radius: 999px; font-weight: 500; }
.tab.active { background: #fff; box-shadow: none; }
.converter { border-radius: 30px; background: #000; }
.field input, .field textarea, .field select { border-color: #d2d2d7; border-radius: 14px; }
.check-group { border: 0; border-radius: 22px; }
.flight-card { background: #1d1d1f; }
.modal { border-radius: 28px; background: #f5f5f7; }

.day-navigator { border: 0; background: rgba(29,29,31,.96); box-shadow: 0 12px 34px rgba(0,0,0,.2); }
.day-navigator .day-navigator-current { background: rgba(255,255,255,.12); }
.day-navigator-current small { color: #64d2ff; }
.tap-ripple { background: rgba(0,113,227,.14); }
.motion-reveal { transform: translate3d(0, 12px, 0); transition-duration: 320ms, 420ms; }

@media (max-width: 959px) {
  .day-switcher { top: 52px; }
  .page { padding-top: 14px; }
}

@media (min-width: 960px) {
  .app-shell { display: block; }
  .sidebar { position: fixed; z-index: 120; inset: 0 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 100%; height: 48px; padding: 0 max(22px, calc((100vw - 1120px) / 2)); border-bottom: 1px solid rgba(0,0,0,.08); background: rgba(250,250,252,.9); color: #1d1d1f; backdrop-filter: saturate(180%) blur(18px); }
  .sidebar::before { display: none; }
  .sidebar .brand { justify-self: start; gap: 8px; }
  .sidebar .brand-mark { width: 26px; height: 26px; border-radius: 8px; background: #1d1d1f; color: white; }
  .sidebar .brand-mark svg { width: 16px; height: 16px; }
  .sidebar .brand-copy strong { font-size: 13px; font-weight: 600; }
  .sidebar .brand-copy span, .sidebar-journey, .side-foot { display: none; }
  .side-nav { display: flex; justify-self: center; gap: 26px; margin: 0; }
  .side-nav .nav-item { position: relative; display: inline-flex; padding: 8px 0; border-radius: 0; background: transparent; color: #6e6e73; font-size: 12px; font-weight: 400; }
  .side-nav .nav-item svg { display: none; }
  .side-nav .nav-item:hover { color: #1d1d1f; }
  .side-nav .nav-item.active { background: transparent; color: #1d1d1f; font-weight: 500; }
  .side-nav .nav-item.active::after { content: ''; position: absolute; right: 0; bottom: 2px; left: 0; height: 1px; background: #1d1d1f; }
  .main-shell { padding: 48px 0 0; }
  .page { max-width: 1440px; padding: 24px clamp(22px, 3vw, 44px) 120px; }
  .day-switcher { top: 60px; margin: 0 0 18px; }
  .day-hero { grid-template-columns: minmax(0,1.7fr) minmax(260px,.58fr); }
  .hero { min-height: calc(100vh - 96px); }
}

@media (min-width: 1240px) {
  .app-shell { display: block; }
  .page { padding-right: clamp(30px, 4vw, 58px); padding-left: clamp(30px, 4vw, 58px); }
}

@media (max-width: 619px) {
  .hero { min-height: 560px; border-radius: 24px; }
  .hero h1 { font-size: clamp(48px, 15vw, 68px); }
  .day-hero { min-height: 600px; border-radius: 24px; }
  .day-hero h1 { font-size: clamp(44px, 13vw, 62px); }
  .section { margin-top: 58px; }
  .section-head h2 { font-size: 40px; }
  .route-section .section-head h2 { font-size: 46px; }
  .day-switcher { border-radius: 0 0 18px 18px; }
}

:root { --page-gutter: clamp(18px, 4vw, 58px); --reading-width: 1180px; }
.main-shell { width: 100%; overflow-x: clip; }
.page { width: min(100%, 1440px); padding-right: var(--page-gutter); padding-left: var(--page-gutter); }
.page > .section { width: min(100%, var(--reading-width)); margin-right: auto; margin-left: auto; }
.trip-view > .option-section, .trip-view > .day-brief-grid, .trip-view > .food-section, .trip-view > .day-outro { width: min(100%, 1240px); margin-right: auto; margin-left: auto; }
.hero, .day-hero, .day-switcher { width: 100%; }

.section-head { gap: clamp(18px, 3vw, 36px); }
.section-head > div, .card-top > div, .option-group-head > div, .stop-head > div, .food-top > div { min-width: 0; }
.section-head h2 { max-width: 18ch; overflow-wrap: break-word; }
.section-head p { max-width: 62ch; }
.card { min-width: 0; padding: clamp(22px, 2.5vw, 30px); }
.card h3 { font-size: 19px; line-height: 1.2; overflow-wrap: anywhere; }
.card p { margin-top: 12px; font-size: 14px; line-height: 1.6; }
.card-top { gap: 16px; }
.card-icon { width: 40px; height: 40px; }
.card-icon svg { width: 18px; height: 18px; }
.stop-type { white-space: nowrap; }

.option-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; gap: 18px; }
.choice-card { min-width: 0; height: 100%; }
.choice-body { min-width: 0; padding: 22px; }
.choice-body .card-top { margin-bottom: 2px; }
.choice-body h3 { margin-top: 10px; font-size: 21px; line-height: 1.18; overflow-wrap: anywhere; }
.choice-cost { margin-top: 18px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.08; overflow-wrap: break-word; }
.choice-meta { gap: 8px; margin-top: 14px; }
.choice-meta span { padding: 7px 9px; font-size: 10px; }
.choice-body > p { margin-top: 13px; font-size: 13px; line-height: 1.55; }
.choice-body > p:last-of-type { margin-bottom: 22px; }
.choice-body > .button { margin-top: auto; }
.option-group-head { gap: 24px; }
.option-group-head p { max-width: 68ch; margin-top: 7px; font-size: 13px; line-height: 1.55; }
.selection-status { max-width: min(42%, 250px); padding: 8px 11px; line-height: 1.3; }

.booking-card { grid-template-rows: auto auto 1fr auto; padding: clamp(22px, 2.5vw, 28px); }
.booking-card > p { margin-bottom: 4px; }
.booking-actions { align-self: end; margin-top: auto; padding-top: 6px; }
.booking-meta { margin-top: 2px; }
.booking-meta span { line-height: 1.35; }
.quick-action { min-width: 0; line-height: 1.3; }
.weather-card { padding: clamp(22px, 2.5vw, 28px); }
.total-card { gap: 14px; }
.total-block { min-width: 0; }
.total-block strong { overflow-wrap: anywhere; }

.route-section { width: min(100%, 1240px); }
.stop-body { min-width: 0; padding: clamp(20px, 2.6vw, 30px); }
.stop-title { line-height: 1.14; overflow-wrap: anywhere; }
.stop-detail, .stop-route { font-size: 13px; line-height: 1.6; }
.food-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 18px; }
.food-body { min-width: 0; padding: 20px; }
.food-price { flex: 0 0 auto; min-width: max-content; line-height: 1; white-space: nowrap; }
.food-body > p { font-size: 12px; line-height: 1.55; }

@media (min-width: 960px) and (max-width: 1199px) {
  .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 619px) {
  :root { --page-gutter: 16px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .section-head h2 { max-width: 100%; }
  .section-link { align-self: flex-start; }
  .card { padding: 22px; }
  .option-group { padding: 18px; }
  .option-group-head { gap: 12px; }
  .selection-status { max-width: 100%; }
  .choice-body { padding: 20px; }
  .route-section { padding: 20px 16px 24px; border-radius: 26px; }
  .stop-head { gap: 10px; }
  .stop-type { white-space: normal; text-align: right; }
}

.hero { display: grid; grid-template-columns: 1fr; align-items: center; min-height: 680px; padding: clamp(40px, 6vw, 84px); overflow: hidden; border: 1px solid rgba(0,0,0,.06); background: radial-gradient(circle at 78% 18%, rgba(100,210,255,.24), transparent 28%), radial-gradient(circle at 92% 82%, rgba(0,113,227,.12), transparent 32%), linear-gradient(145deg, #fff 0%, #f5f5f7 58%, #eaf4fb 100%); color: #1d1d1f; text-align: left; }
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.hero h1 { max-width: 760px; color: #1d1d1f; font-size: clamp(54px, 7vw, 100px); }
.hero p { max-width: 610px; color: #6e6e73; }
.hero .eyebrow { color: #06c; }
.hero .hero-actions, .hero .hero-meta { justify-content: flex-start; }
.hero .button.ghost { border-color: transparent; background: #fff; color: #1d1d1f; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.hero .button.ghost:hover { background: #f5f5f7; }
.hero .meta-pill { border-color: rgba(0,0,0,.09); background: rgba(255,255,255,.7); color: #424245; }
.hero .meta-pill svg { color: #0071e3; }

.hero-visual { position: relative; min-width: 0; min-height: 500px; margin-left: clamp(0px, 2vw, 28px); }
.hero-visual::before { content: ''; position: absolute; top: 8%; right: 3%; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(100,210,255,.22), transparent 67%); }
.hero-place-photo { position: absolute; margin: 0; border: 8px solid #fff; border-radius: 28px; background: #dce8ef; box-shadow: 0 24px 60px rgba(0,0,0,.16); transition: transform 600ms cubic-bezier(.2,.8,.2,1), box-shadow 600ms cubic-bezier(.2,.8,.2,1); }
.hero-place-photo .photo-main { width: calc(100% - 14px); height: calc(100% - 14px); border-radius: 18px; }
.hero-place-photo figcaption { right: 7px; bottom: 7px; left: 7px; border-radius: 0 0 18px 18px; }
.hero-london { z-index: 1; top: 0; left: 0; width: 72%; height: 410px; transform: rotate(-2.2deg); }
.hero-edinburgh { z-index: 2; right: 0; bottom: 0; width: 62%; height: 330px; transform: rotate(2.4deg); }
.hero-visual:hover .hero-london { transform: translate3d(-4px,-4px,0) rotate(-2.8deg); box-shadow: 0 30px 70px rgba(0,0,0,.18); }
.hero-visual:hover .hero-edinburgh { transform: translate3d(4px,-6px,0) rotate(3deg); box-shadow: 0 34px 78px rgba(0,0,0,.2); }
.hero-route-badge { position: absolute; z-index: 4; top: 45%; left: 43%; display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid rgba(0,0,0,.08); border-radius: 999px; background: rgba(255,255,255,.94); color: #1d1d1f; box-shadow: 0 10px 30px rgba(0,0,0,.13); font-size: 11px; font-weight: 600; }
.hero-route-badge svg { width: 14px; height: 14px; color: #0071e3; }

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0,1.02fr) minmax(430px,.98fr); gap: clamp(28px, 4vw, 68px); }
}

@media (max-width: 899px) {
  .hero { min-height: auto; }
  .hero-visual { width: min(100%, 650px); min-height: 470px; margin: 46px auto 0; }
  .hero-copy { text-align: center; }
  .hero h1, .hero p { margin-right: auto; margin-left: auto; }
  .hero .hero-actions, .hero .hero-meta { justify-content: center; }
}

@media (max-width: 619px) {
  .hero { min-height: auto; padding: 42px 22px 28px; }
  .hero h1 { font-size: clamp(48px, 14vw, 66px); }
  .hero-visual { min-height: 390px; margin-top: 36px; }
  .hero-london { width: 78%; height: 285px; }
  .hero-edinburgh { width: 67%; height: 225px; }
  .hero-route-badge { top: 43%; left: 34%; }
}

html { background: #e7e4de; }
body { background: #e7e4de; }
.main-shell { min-height: 100vh; background: #f1efea; }
.sidebar, .mobile-topbar { background: rgba(247,245,241,.94); }
.day-switcher { background: #e5e2dc; }
.date-chip:hover { background: #d9d5ce; }
.hero { background: #dfdcd5; }
.day-hero { background: var(--weather-sky-a); }
.atmosphere-sun { background: color-mix(in srgb, var(--weather-light) 28%, transparent); }
.atmosphere-cloud { background: rgba(255,255,255,.14); }
.atmosphere-haze { background: rgba(232,238,232,.13); }
.hero-copy, .hero-copy h1, .hero-copy p { position: relative; color: #1d1d1f; }
.hero-copy p { color: #515154; }
.hero-visual::before { background: rgba(0,113,227,.08); }

.card { border: 1px solid rgba(29,29,31,.08); background: #fbfaf7; box-shadow: 0 12px 34px rgba(55,48,40,.06); }
.card.highlight, .card.sun { border-color: rgba(29,29,31,.06); background: #ebe8e2; }
.quick-action { border: 1px solid rgba(29,29,31,.08); background: #fbfaf7; box-shadow: 0 8px 24px rgba(55,48,40,.05); }
.quick-action:hover { background: #fff; }
.option-group, .route-section, .trip-notes, .skip-card { background: #ebe8e2; }
.choice-card, .stop-body, .food-card { background: #fbfaf7; }

.weather-card, .day-hero .weather-card { isolation: isolate; border: 1px solid rgba(30,75,105,.12); background: #edf4f5; color: #1d1d1f; box-shadow: 0 14px 38px rgba(55,48,40,.07); }
.weather-card::after, .day-hero .weather-card::after { z-index: 0; background: rgba(100,210,255,.28); opacity: 1; }
.weather-card > * { position: relative; z-index: 1; }
.weather-card h3, .weather-card .weather-temp { color: #1d1d1f; }
.weather-card .eyebrow { color: #0673a7; }
.weather-card .weather-desc, .weather-card .weather-details { color: #424245; }
.weather-card p { color: #5a5a5f; }
.weather-card .card-icon.sun { background: rgba(255,255,255,.78); color: #0673a7; }
.weather-temp { line-height: .9; }

.place-photo[data-photo-tone="sky"] { background: #dceaf1; }
.place-photo[data-photo-tone="sage"] { background: #dfe8df; }
.place-photo[data-photo-tone="clay"] { background: #eadfd7; }
.place-photo[data-photo-tone="lavender"] { background: #e5e0eb; }
.place-photo[data-photo-tone] .photo-placeholder { color: #303033; }
.place-photo.photo-unavailable { height: clamp(210px, 24vw, 310px); border: 0; opacity: 1; box-shadow: inset 0 0 0 1px rgba(29,29,31,.07); }
.choice-photo.photo-unavailable, .food-photo.photo-unavailable { height: 172px; }
.photo-unavailable::before { content: ''; position: absolute; z-index: 0; top: -44px; right: -35px; width: 150px; height: 150px; border: 1px solid rgba(29,29,31,.1); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.16), 0 0 0 56px rgba(255,255,255,.1); }
.photo-unavailable::after { background: none; }
.photo-unavailable .photo-placeholder { position: relative; z-index: 2; display: flex; height: 100%; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 4px; padding: 18px; text-align: left; }
.photo-placeholder-mark { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: auto; border-radius: 50%; background: rgba(255,255,255,.68); color: #1d1d1f; }
.photo-placeholder-mark svg { width: 18px; height: 18px; }
.photo-unavailable .photo-placeholder strong { max-width: 85%; font-size: 16px; line-height: 1.15; }
.photo-unavailable .photo-placeholder small { color: #6e6e73; font-size: 9px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.photo-unavailable .photo-placeholder a { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.7); color: #06c; font-size: 10px; font-weight: 600; text-decoration: none; }
.photo-unavailable .photo-placeholder a svg { width: 12px; height: 12px; }
.photo-unavailable .photo-placeholder svg { animation: none; }
.choice-photo.photo-unavailable .photo-placeholder, .food-photo.photo-unavailable .photo-placeholder { padding: 14px; }
.choice-photo.photo-unavailable .photo-placeholder-mark, .food-photo.photo-unavailable .photo-placeholder-mark { width: 32px; height: 32px; }
.choice-photo.photo-unavailable .photo-placeholder strong, .food-photo.photo-unavailable .photo-placeholder strong { font-size: 14px; }

.option-group { overflow: hidden; }
.option-grid.option-deck { display: flex; grid-template-columns: none; align-items: flex-start; gap: 0; max-width: 100%; overflow-x: auto; padding: 8px 32px 24px 6px; scroll-behavior: smooth; scroll-padding-inline: 6px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #b9b5ae transparent; }
.option-deck .choice-card { position: relative; z-index: 1; flex: 0 0 310px; height: auto; overflow: hidden; scroll-snap-align: start; border-color: rgba(29,29,31,.08); box-shadow: 0 16px 36px rgba(55,48,40,.09); transition: flex-basis 420ms cubic-bezier(.2,.8,.2,1), transform 420ms cubic-bezier(.2,.8,.2,1), box-shadow 420ms ease; }
.option-deck .choice-card + .choice-card { margin-left: -34px; }
.option-deck .choice-card:hover { z-index: 5; transform: translateY(-4px); box-shadow: 0 22px 48px rgba(55,48,40,.14); }
.option-deck .choice-card.expanded { z-index: 8; flex-basis: min(520px, calc(100% - 20px)); transform: translateY(-4px); box-shadow: 0 24px 54px rgba(55,48,40,.16); }
.option-deck .choice-card.selected { border-color: #0071e3; }
.option-deck .choice-photo, .option-deck .choice-photo.photo-unavailable { height: 230px; }
.option-deck .choice-photo .photo-main { object-fit: contain; }
.option-deck .choice-body { padding: 20px; }
.choice-card-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 18px; padding: 11px 0 0; border: 0; border-top: 1px solid rgba(29,29,31,.1); background: transparent; color: #06c; cursor: pointer; font-size: 12px; font-weight: 600; text-align: left; }
.choice-card-toggle svg { width: 16px; height: 16px; transition: transform 300ms cubic-bezier(.2,.8,.2,1); }
.choice-card.expanded .choice-card-toggle svg { transform: rotate(90deg); }
.choice-details { max-height: 0; overflow: hidden; opacity: 0; pointer-events: none; transition: max-height 430ms cubic-bezier(.2,.8,.2,1), opacity 220ms ease; }
.choice-card.expanded .choice-details { max-height: 520px; opacity: 1; pointer-events: auto; }
.choice-details-inner { padding-top: 4px; }
.choice-details p { margin: 13px 0 0; color: #5a5a5f; font-size: 13px; line-height: 1.55; }
.choice-details .button { margin-top: 20px; }

@media (min-width: 900px) {
  .option-group { display: grid; grid-template-columns: minmax(210px,.48fr) minmax(0,1.52fr); gap: 12px clamp(28px,4vw,54px); align-items: start; }
  .option-group-head { display: flex; grid-column: 1; grid-row: 1; flex-direction: column; align-items: flex-start; }
  .option-group-head .selection-status { max-width: 100%; align-self: flex-start; }
  .option-deck { grid-column: 2; grid-row: 1 / span 2; }
  .option-group-actions { grid-column: 1; grid-row: 2; align-self: start; }
}

@media (max-width: 899px) {
  .option-deck .choice-card { flex-basis: min(82vw, 340px); }
  .option-deck .choice-card + .choice-card { margin-left: -20px; }
  .option-deck .choice-card.expanded { flex-basis: min(88vw, 470px); }
}

@media (max-width: 619px) {
  :root { --page-gutter: 12px; }
  .main-shell { padding-bottom: 136px; }
  .page { padding-top: 10px; padding-bottom: 28px; }
  .mobile-topbar { height: 46px; padding: 0 12px; }
  .mobile-topbar .brand-mark { width: 28px; height: 28px; }
  .mobile-topbar .brand-copy strong { font-size: 14px; }
  .day-switcher { position: static; top: auto; margin: 0 0 12px; padding: 6px; border-radius: 16px; }
  .day-switcher-label { padding: 0 2px 5px; font-size: 8px; }
  .date-strip { gap: 3px; padding: 1px 0 2px; }
  .date-chip { flex-basis: 60px; padding: 7px 5px; border-radius: 11px; }
  .date-chip .dow { font-size: 8px; }
  .date-chip .num { margin: 2px 0; font-size: 19px; }
  .date-chip .city { font-size: 8px; }
  .day-navigator { right: 8px; bottom: calc(max(8px, env(safe-area-inset-bottom)) + 58px); left: 8px; display: grid; padding: 4px; border-radius: 17px; }
  .day-navigator > button { min-width: 52px; padding: 6px 8px; font-size: 9px; }
  .day-navigator .day-navigator-current { padding-right: 7px; padding-left: 7px; }
  .day-navigator-current small { font-size: 7px; }
  .day-navigator-current strong { font-size: 9px; }
  .bottom-nav { right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); left: 8px; padding: 5px; border-radius: 20px; }
  .nav-item { gap: 3px; padding: 6px 2px; font-size: 9px; }
  .nav-item svg { width: 18px; height: 18px; }
  .hero { min-height: auto; padding: 32px 18px 24px; border-radius: 22px; }
  .hero h1 { font-size: clamp(38px, 12vw, 52px); line-height: .94; }
  .hero p { margin-top: 14px; font-size: 14px; line-height: 1.45; }
  .hero-visual { min-height: 310px; margin-top: 26px; }
  .hero-london { height: 225px; }
  .hero-edinburgh { height: 180px; }
  .hero-route-badge { left: 30%; padding: 7px 10px; font-size: 9px; }
  .section { margin-top: 38px; }
  .section-head { gap: 8px; margin-bottom: 15px; }
  .section-head h2 { font-size: 31px; line-height: 1.02; }
  .section-head p { margin-top: 7px; font-size: 13px; }
  .grid { gap: 11px; }
  .card { padding: 16px; border-radius: 20px; }
  .card h3 { font-size: 17px; }
  .card p { margin-top: 8px; font-size: 13px; line-height: 1.5; }
  .card-top { gap: 10px; }
  .card-icon { width: 36px; height: 36px; }
  .quick-actions { gap: 8px; }
  .quick-action { min-height: 62px; padding: 11px; border-radius: 17px; font-size: 11px; }
  .day-hero { min-height: 0; padding: 25px 18px 20px; border-radius: 22px; }
  .day-hero h1 { font-size: clamp(34px, 10.5vw, 46px); line-height: .96; }
  .day-hero p { margin-top: 10px; font-size: 14px; line-height: 1.45; }
  .day-hero-aside { margin-top: 4px; }
  .day-facts span { padding: 6px 8px; font-size: 9px; }
  .day-brief-grid { gap: 11px; margin-top: 24px; }
  .trip-notes, .pace-card, .skip-card { border-radius: 20px; }
  .option-group { padding: 15px; border-radius: 22px; }
  .option-group-head h3 { font-size: 18px; }
  .option-group-head p { font-size: 12px; }
  .choice-body { padding: 16px; }
  .choice-body h3 { font-size: 18px; }
  .choice-body > p, .choice-details p { font-size: 12px; }
  .choice-cost { margin-top: 13px; font-size: 22px; }
  .route-section { margin-top: 34px; padding: 17px 12px 21px; border-radius: 22px; }
  .route-section .section-head h2 { font-size: 34px; }
  .stop-body { padding: 14px; border-radius: 18px; }
  .stop-title { font-size: 19px; }
  .stop-detail, .stop-route { font-size: 12px; line-height: 1.5; }
  .place-photo { height: 190px; }
  .choice-photo, .food-photo { height: 154px; }
  .food-card { border-radius: 20px; }
  .food-body { padding: 14px; }
  .option-grid.option-deck { margin-right: -12px; padding-right: 22px; padding-bottom: 17px; }
  .option-deck .choice-card { flex-basis: calc(100% - 30px); border-radius: 20px; }
  .option-deck .choice-card + .choice-card { margin-left: 12px; }
  .option-deck .choice-card.expanded { flex-basis: calc(100% - 18px); }
  .option-deck .choice-photo, .option-deck .choice-photo.photo-unavailable { height: 170px; }
}

.bottom-nav { grid-template-columns: none; }
.bottom-nav-items { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); }
.trip-bottom-row { display: none; }

@media (max-width: 959px) {
  .bottom-nav { display: block; }
  .day-navigator { display: none; }
  .trip-bottom-row { display: grid; grid-template-columns: 30px minmax(38px,1fr) minmax(38px,1fr) minmax(66px,1.35fr) minmax(38px,1fr) minmax(38px,1fr) 30px; align-items: stretch; gap: 2px; }
  .trip-bottom-row .nav-item { padding-right: 1px; padding-left: 1px; }
  .trip-day-edge, .trip-day-current { min-width: 0; border: 0; color: rgba(255,255,255,.76); cursor: pointer; }
  .trip-day-edge { display: grid; place-items: center; padding: 5px 2px; border-radius: 12px; background: transparent; }
  .trip-day-edge:hover { background: rgba(255,255,255,.1); color: white; }
  .trip-day-edge:disabled { opacity: .22; cursor: default; }
  .trip-day-edge svg { width: 16px; height: 16px; }
  .trip-day-edge.previous svg { transform: rotate(180deg); }
  .trip-day-current { display: grid; place-content: center; gap: 2px; padding: 5px 3px; border-radius: 13px; background: rgba(255,255,255,.13); text-align: center; }
  .trip-day-current strong, .trip-day-current span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .trip-day-current strong { color: white; font-size: 11px; line-height: 1.1; }
  .trip-day-current span { color: #64d2ff; font-size: 7px; font-weight: 600; line-height: 1.1; }
  .view-trip .main-shell { padding-bottom: 96px; }
}

@media (max-width: 619px) {
  .main-shell, .view-trip .main-shell { padding-bottom: 82px; }
  .trip-bottom-row { grid-template-columns: 26px minmax(35px,1fr) minmax(35px,1fr) minmax(58px,1.3fr) minmax(35px,1fr) minmax(35px,1fr) 26px; gap: 1px; }
  .trip-bottom-row .nav-item { gap: 2px; padding-top: 5px; padding-bottom: 5px; font-size: 8px; }
  .trip-bottom-row .nav-item svg { width: 17px; height: 17px; }
  .trip-day-current strong { font-size: 10px; }
  .trip-day-current span { font-size: 6px; }
}

.prep-tabs { position: sticky; z-index: 76; top: 60px; display: flex; width: fit-content; max-width: 100%; margin-right: auto; margin-left: auto; border: 1px solid rgba(29,29,31,.08); background: rgba(229,226,220,.96); box-shadow: 0 10px 28px rgba(55,48,40,.1); scrollbar-width: none; }
.prep-tabs::-webkit-scrollbar { display: none; }
.prep-tabs .tab { flex: 0 0 auto; }

@media (max-width: 959px) {
  .prep-tabs { top: 58px; }
}

@media (max-width: 619px) {
  .prep-tabs { top: 50px; width: 100%; padding: 3px; }
  .prep-tabs .tab { padding: 8px 11px; font-size: 11px; }
}

.map-actions { display: inline-flex; flex: 0 0 auto; gap: 2px; padding: 3px; border: 1px solid rgba(29,29,31,.1); border-radius: 12px; background: #f1efea; }
.map-action { position: relative; display: grid; place-items: center; width: 34px; height: 32px; border-radius: 9px; color: #424245; text-decoration: none; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.map-action:hover { background: #fff; transform: translateY(-1px); }
.map-action.google:hover { color: #1a73e8; }
.map-action.citymapper:hover { color: #008f83; }
.map-action .provider-icon { width: 19px; height: 19px; border-radius: 4px; }
.map-action .action-kind { position: absolute; right: 2px; bottom: 2px; display: grid; place-items: center; width: 13px; height: 13px; border: 1px solid rgba(29,29,31,.08); border-radius: 50%; background: #fff; color: #424245; }
.map-action .action-kind svg { width: 8px; height: 8px; stroke-width: 2.2; }
.map-action::after { content: attr(data-tooltip); position: absolute; z-index: 20; bottom: calc(100% + 7px); left: 50%; width: max-content; max-width: 150px; padding: 5px 7px; border-radius: 7px; background: #1d1d1f; color: white; font-size: 9px; font-weight: 600; opacity: 0; pointer-events: none; transform: translate(-50%,4px); transition: opacity 160ms ease, transform 160ms ease; }
.map-action:hover::after, .map-action:focus-visible::after { opacity: 1; transform: translate(-50%,0); }
@media (hover: none) { .map-action::after { display: none; } }

.card.flight-card { isolation: isolate; display: flex; min-width: 0; min-height: 250px; overflow: hidden; flex-direction: column; border: 0; background: #1d1d1f; color: #f5f5f7; box-shadow: none; cursor: pointer; transition: transform 220ms ease, box-shadow 220ms ease; }
.card.flight-card:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(29,29,31,.18); }
.flight-card > * { position: relative; z-index: 1; }
.flight-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.flight-card .flight-code { min-width: 0; color: #64d2ff; }
.flight-booking-ref { display: grid; flex: 0 0 auto; gap: 2px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.08); text-align: right; }
.flight-booking-ref small { color: rgba(255,255,255,.5); font-size: 7px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.flight-booking-ref strong { color: #fff; font-size: 11px; letter-spacing: .08em; }
.flight-card .flight-route { min-width: 0; gap: 10px; }
.flight-card .flight-route > svg { flex: 0 0 auto; width: 19px; height: 19px; color: #64d2ff; }
.flight-card .airport { min-width: 0; color: #fff; font-size: clamp(27px, 5vw, 36px); font-weight: 600; line-height: 1; white-space: nowrap; }
.flight-schedule { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 8px; align-items: stretch; margin-top: 18px; }
.flight-time { display: grid; min-width: 0; gap: 5px; padding: 11px; border-radius: 12px; background: rgba(255,255,255,.07); }
.flight-time.arrival { text-align: right; }
.flight-time small, .flight-duration small { color: rgba(255,255,255,.5); font-size: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.flight-time strong { color: #fff; font-size: 11px; line-height: 1.35; }
.flight-duration { display: grid; min-width: 76px; place-content: center; justify-items: center; gap: 3px; padding: 8px; border-radius: 12px; background: rgba(100,210,255,.12); text-align: center; }
.flight-duration > svg { width: 15px; height: 15px; color: #64d2ff; }
.flight-duration strong { max-width: 110px; color: #64d2ff; font-size: 12px; line-height: 1.25; }
.flight-card .flight-date { color: rgba(255,255,255,.68); }
.flight-card .countdown { display: flex; align-items: flex-start; gap: 8px; background: rgba(255,255,255,.09); color: #f5f5f7; line-height: 1.45; }
.flight-card .countdown svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 1px; color: #64d2ff; }
.flight-card .stop-actions { margin-top: auto; padding-top: 6px; }
.flight-card .button.ghost { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.08); color: white; }
.flight-card .button.ghost:hover { background: rgba(255,255,255,.14); }
@media (max-width: 619px) {
  .card.flight-card { min-height: 0; padding: 20px; border-radius: 22px; }
  .flight-card .flight-route { gap: 7px; }
  .flight-card .airport { font-size: clamp(25px, 9vw, 32px); }
  .flight-schedule { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-top: 15px; }
  .flight-time { padding: 10px; }
  .flight-time.arrival { grid-column: 2; grid-row: 1; }
  .flight-duration { grid-column: 1 / -1; grid-row: 2; display: flex; min-width: 0; align-items: center; justify-content: center; gap: 7px; padding: 8px; }
  .flight-duration strong { max-width: none; }
  .flight-card .countdown { margin-top: 12px; padding: 10px; }
  .flight-card .stop-actions { gap: 6px; }
  .flight-card .button.ghost.small { flex: 1 1 auto; min-width: 0; padding-right: 9px; padding-left: 9px; }
}

@keyframes rate-spin { to { transform: rotate(360deg); } }
.quick-amounts { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 6px; }
.quick-amounts button { width: 100%; min-width: 0; padding: 7px 4px; text-align: center; }
@media (max-width: 420px) { .quick-amounts { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.rate-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 5px; }
.rate-actions .rate-refresh { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: rgba(255,255,255,.54); cursor: pointer; }
.rate-actions .rate-refresh:hover { background: rgba(255,255,255,.09); color: white; }
.rate-actions .rate-refresh:disabled { opacity: .48; cursor: wait; }
.rate-actions .rate-refresh svg { width: 14px; height: 14px; }
.rate-actions .rate-refresh.loading svg { animation: rate-spin .8s linear infinite; }

.money-input { transition: border-color 180ms ease; }
.money-input:focus-within { border-bottom-color: #64d2ff; }
.money-input input { appearance: textfield; caret-color: transparent; }
.money-input input:focus, .money-input input:focus-visible { outline: none; box-shadow: none; }
.money-input input::-webkit-inner-spin-button, .money-input input::-webkit-outer-spin-button { margin: 0; appearance: none; }

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid rgba(0,113,227,.45); outline-offset: 3px; }
.money-input input:focus-visible { outline: none; }

@media (prefers-reduced-transparency: reduce) {
  .sidebar, .mobile-topbar, .day-switcher { background: #f5f5f7; backdrop-filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motion-reveal { opacity: 1 !important; transform: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: .01ms !important; }
}

@media print {
  .sidebar, .mobile-topbar, .bottom-nav, .hero-actions, .button, .stop-actions { display: none !important; }
  .app-shell { display: block; }
  .main-shell { padding: 0; }
  .page { width: 100%; padding: 0; }
  .card, .stop-body, .hero { box-shadow: none; break-inside: avoid; }
  body { background: white; }
}
