:root {
  color-scheme: light;
  --ink: #17343a;
  --ink-soft: #52686b;
  --forest: #173b3f;
  --forest-2: #23565a;
  --sage: #668d7a;
  --sage-soft: #e8f0eb;
  --cream: #f5f0e6;
  --paper: #fffdf8;
  --white: #ffffff;
  --coral: #d9795f;
  --coral-soft: #f9e9e2;
  --ochre: #dca646;
  --sky: #75aab1;
  --sky-soft: #e7f2f3;
  --line: #dbe3df;
  --line-dark: #bed0c8;
  --danger: #af4d43;
  --shadow: 0 18px 55px rgba(23, 59, 63, 0.1);
  --shadow-soft: 0 7px 24px rgba(23, 59, 63, 0.07);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 7% 13%, rgba(220, 166, 70, 0.11), transparent 22rem),
    linear-gradient(180deg, #fbf8f1 0 330px, #edf2ef 330px 100%);
  color: var(--ink);
}
button, input, select, textarea { color: inherit; font: inherit; }
button, select, input[type="radio"], input[type="checkbox"] { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid rgba(117, 170, 177, 0.55);
  outline-offset: 2px;
}
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--forest); color: white; transform: translateY(-140%); }
.skip-link:focus { transform: none; }
.site-header {
  position: sticky; top: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px;
  min-height: 72px; padding: 10px clamp(18px, 4vw, 62px);
  border-bottom: 1px solid rgba(23, 59, 63, 0.1);
  background: rgba(255, 253, 248, 0.93); backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; color: inherit; text-decoration: none; }
.brand-mark { position: relative; display: grid; width: 42px; height: 42px; place-items: center; overflow: hidden; border-radius: 50% 50% 46% 42%; background: var(--forest); transform: rotate(-8deg); }
.brand-mark::before, .brand-mark::after, .brand-mark span { position: absolute; content: ""; display: block; border-radius: 50%; }
.brand-mark::before { width: 26px; height: 26px; left: 6px; top: 11px; background: var(--ochre); }
.brand-mark::after { width: 24px; height: 27px; left: 15px; top: 5px; background: var(--coral); }
.brand-mark span { z-index: 2; width: 19px; height: 30px; left: 11px; top: 7px; border: 3px solid var(--paper); background: transparent; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; line-height: 1; }
.brand small { margin-top: 3px; color: var(--coral); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.header-center, .header-actions, .stage { display: flex; align-items: center; }
.header-center { gap: 9px; color: #829092; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.stage { gap: 6px; white-space: nowrap; }
.stage i { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid #cbd6d2; border-radius: 50%; background: white; font-size: 0.62rem; font-style: normal; }
.stage.complete, .stage.active { color: var(--forest); }
.stage.complete i { border-color: var(--sage); background: var(--sage); color: white; }
.stage.active i { border: 2px solid var(--coral); color: var(--coral); }
.stage-line { width: clamp(18px, 3vw, 44px); height: 1px; background: #cbd6d2; }
.header-actions { justify-content: flex-end; gap: 9px; }
.local-pill, .source-badge, .completion-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; white-space: nowrap; font-size: 0.71rem; font-weight: 750; }
.local-pill { padding: 7px 11px; background: var(--sage-soft); color: var(--forest-2); }
.local-pill i, .source-badge i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4a956a; box-shadow: 0 0 0 3px rgba(74, 149, 106, 0.13); }
.button { min-height: 36px; padding: 7px 12px; border: 0; border-radius: 9px; font-size: 0.76rem; font-weight: 750; }
.button-quiet { border: 1px solid var(--line); background: white; }
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
main { width: min(1560px, 100%); margin: 0 auto; }
.hero { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr); min-height: 280px; padding: clamp(38px, 5vw, 74px) clamp(20px, 5vw, 78px) 44px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; max-width: 700px; }
.eyebrow { margin: 0 0 7px; color: var(--coral); font-size: 0.67rem; font-weight: 850; letter-spacing: 0.15em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; }
.hero h1 { max-width: 760px; margin-bottom: 14px; font-size: clamp(2.35rem, 4.4vw, 4.7rem); letter-spacing: -0.04em; line-height: 0.98; }
.hero h1 em { color: var(--coral); font-weight: inherit; }
.hero-copy > p:not(.eyebrow) { max-width: 640px; margin-bottom: 18px; color: var(--ink-soft); font-size: clamp(0.92rem, 1.3vw, 1.05rem); line-height: 1.65; }
.trust-row { display: flex; flex-wrap: wrap; gap: 17px; color: var(--forest-2); font-size: 0.74rem; font-weight: 750; }
.trust-row span { display: flex; align-items: center; gap: 6px; }
.trust-row b { color: var(--coral); font-size: 0.94rem; }
.hero-map { position: relative; align-self: stretch; min-height: 190px; margin: -5px 0 -30px 30px; border-radius: 50%; background: radial-gradient(ellipse, rgba(117, 170, 177, 0.18), rgba(117, 170, 177, 0.03) 67%, transparent 68%); }
.map-label { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid rgba(23, 59, 63, 0.12); border-radius: 999px; background: rgba(255,255,255,.82); box-shadow: var(--shadow-soft); color: var(--forest); font-size: 0.68rem; font-weight: 800; }
.map-label i { display: block; width: 9px; height: 9px; border: 3px solid white; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 2px var(--coral); }
.map-label.start { left: 9%; bottom: 27%; }
.map-label.finish { right: 7%; top: 22%; }
.map-label.finish i { background: var(--sage); box-shadow: 0 0 0 2px var(--sage); }
.route-dash { position: absolute; z-index: 2; height: 3px; border-top: 2px dashed var(--coral); transform-origin: left center; }
.dash-one { width: 27%; left: 22%; bottom: 35%; transform: rotate(-13deg); }
.dash-two { width: 26%; left: 45%; top: 46%; transform: rotate(-25deg); }
.dash-three { width: 19%; left: 66%; top: 33%; transform: rotate(-8deg); }
.route-plane { position: absolute; z-index: 4; left: 56%; top: 40%; color: var(--forest); font-size: 1.8rem; transform: rotate(-16deg); filter: drop-shadow(0 5px 4px rgba(23,59,63,.18)); }
.map-contour { position: absolute; display: block; border: 1px solid rgba(102, 141, 122, 0.22); border-radius: 50%; transform: rotate(-12deg); }
.contour-one { inset: 12% 4% 22% 6%; }
.contour-two { inset: 22% 14% 33% 19%; transform: rotate(14deg); }
.contour-three { inset: 5% 28% 49% 32%; transform: rotate(-27deg); }
.planner-layout { display: grid; grid-template-columns: minmax(430px, 0.84fr) minmax(570px, 1.16fr); align-items: start; gap: 18px; padding: 0 clamp(12px, 3vw, 46px) 32px; }
.planner-panel, .results-panel { border: 1px solid rgba(23, 59, 63, 0.1); border-radius: 22px; box-shadow: var(--shadow); }
.planner-panel { padding: clamp(20px, 2.6vw, 34px); background: var(--paper); }
.results-panel { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow: auto; padding: clamp(20px, 2.6vw, 34px); background: #f8fbf9; scrollbar-color: var(--line-dark) transparent; }
.panel-heading, .results-topbar, .section-heading, .route-card-head, .estimate-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.panel-heading { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.panel-heading h2, .results-topbar h2 { margin-bottom: 0; font-size: clamp(1.3rem, 2vw, 1.72rem); }
.completion-badge { padding: 7px 10px; background: var(--coral-soft); color: #9f553f; }
fieldset { min-width: 0; margin: 0; padding: 24px 0; border: 0; border-bottom: 1px solid var(--line); }
legend { display: flex; align-items: center; gap: 9px; width: 100%; margin-bottom: 17px; padding: 0; color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 1rem; font-weight: 700; }
legend span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: var(--sage-soft); color: var(--sage); font-family: Inter, sans-serif; font-size: 0.62rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 7px; color: var(--ink-soft); font-size: 0.72rem; font-weight: 750; }
.field > span:first-child, .field > label, .rating-field > span:first-child { letter-spacing: 0.01em; }
.field > label { color: inherit; }
.input-shell { display: flex; align-items: center; gap: 7px; min-width: 0; padding-left: 11px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.input-shell b { color: var(--coral); font-size: 0.58rem; }
input, select, textarea { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: white; }
input, select { min-height: 42px; padding: 9px 11px; }
.input-shell input { border: 0; padding-left: 0; }
textarea { min-height: 86px; resize: vertical; padding: 11px; line-height: 1.5; }
input:hover, select:hover, textarea:hover, .input-shell:hover { border-color: var(--line-dark); }
.input-shell:focus-within { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(117,170,177,.13); }
.input-shell input:focus { outline: 0; }
.destination-field { position: relative; align-content: start; }
.destination-combobox { position: relative; min-width: 0; }
.destination-suggestions { position: absolute; top: calc(100% + 7px); right: 0; left: 0; z-index: 30; overflow-y: auto; max-height: min(360px, 45dvh); padding: 6px; border: 1px solid rgba(23,59,63,.14); border-radius: 13px; background: rgba(255,255,255,.98); box-shadow: 0 18px 40px rgba(23,59,63,.2); overscroll-behavior: contain; backdrop-filter: blur(12px); }
.destination-suggestions[hidden] { display: none; }
.destination-option { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 9px; width: 100%; min-height: 48px; padding: 7px 8px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.destination-option:hover, .destination-option.is-active { background: var(--sage-soft); }
.destination-option-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: var(--cream); font-size: 1.05rem; }
.destination-option-copy { min-width: 0; }
.destination-option-copy strong, .destination-option-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.destination-option-copy strong { font-size: .8rem; }
.destination-option-copy small { margin-top: 3px; color: var(--ink-soft); font-size: .75rem; font-weight: 600; }
.destination-option-code { padding: 3px 5px; border-radius: 5px; background: var(--sky-soft); color: var(--forest-2); font-size: .75rem; font-weight: 850; letter-spacing: .06em; }
.destination-suggestion-status { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 10px; color: var(--ink-soft); font-size: .75rem; }
.destination-suggestion-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px var(--coral-soft); animation: destination-pulse 1.15s ease-in-out infinite; }
.destination-assist { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; min-height: 13px; margin: -1px 2px 0; color: #6f7f7d; font-size: .75rem; font-weight: 600; line-height: 1.35; }
.destination-provider { white-space: nowrap; }
.destination-assist a { color: var(--sage); text-decoration-thickness: 1px; text-underline-offset: 2px; }
@keyframes destination-pulse { 50% { opacity: .45; transform: scale(.72); } }
.budget-inputs { grid-template-columns: 1.1fr 0.9fr; }
.money-input { display: grid; grid-template-columns: 85px 1fr; }
.money-input select { border-radius: 10px 0 0 10px; background: var(--cream); }
.money-input input { border-left: 0; border-radius: 0 10px 10px 0; font-weight: 800; }
.rating-field { display: grid; align-content: start; gap: 7px; color: var(--ink-soft); font-size: .72rem; font-weight: 750; }
.rating-control { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; min-height: 42px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.rating-control input, .pace-control input, .chip-grid input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rating-control label { display: grid; place-items: center; border-right: 1px solid var(--line); cursor: pointer; }
.rating-control label:last-child { border: 0; }
.rating-control input:checked + label { background: var(--forest); color: white; }
.rating-control label span { color: var(--ochre); }
.budget-hint { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--sky-soft); color: var(--forest-2); }
.budget-hint > span { font-size: 1.25rem; }
.budget-hint p { margin: 0; font-size: 0.68rem; }
.budget-hint strong, .budget-hint p span { display: block; }
.budget-hint p span { margin-top: 2px; color: var(--ink-soft); }
.traveler-grid { display: grid; gap: 8px; }
.counter-field { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; min-height: 57px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.counter-icon { position: relative; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--sage-soft); color: var(--sage); font-size: 0.45rem; }
.counter-icon::after { position: absolute; bottom: 5px; width: 16px; height: 7px; border-radius: 9px 9px 4px 4px; background: currentColor; content: ""; }
.counter-icon.kids { background: var(--coral-soft); color: var(--coral); transform: scale(.86); }
.counter-icon.seniors { background: #eee9f4; color: #7e6a91; }
.counter-field strong, .counter-field small { display: block; }
.counter-field strong { font-size: .77rem; }
.counter-field small { margin-top: 2px; color: var(--ink-soft); font-size: .62rem; }
.counter { display: grid; grid-template-columns: 30px 29px 30px; align-items: center; text-align: center; }
.counter button { width: 29px; height: 29px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font-size: 1.05rem; line-height: 1; }
.counter button:hover { border-color: var(--sage); background: var(--sage-soft); }
.counter output { font-size: .82rem; font-weight: 800; }
.pace-control { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pace-control label { display: grid; grid-template-columns: 30px 1fr; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: white; cursor: pointer; }
.pace-control label b { grid-row: span 2; align-self: center; color: var(--coral); font-size: 1.2rem; }
.pace-control label strong, .pace-control label small { display: block; }
.pace-control label strong { color: var(--ink); font-size: .72rem; }
.pace-control label small { margin-top: 2px; font-size: .58rem; }
.pace-control input:checked + label { border-color: var(--sage); background: var(--sage-soft); box-shadow: inset 0 0 0 1px var(--sage); }
.interest-field, .notes-field { margin-top: 17px; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.chip-grid label span { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink-soft); cursor: pointer; font-size: .67rem; font-weight: 750; }
.chip-grid input:checked + span { border-color: var(--sage); background: var(--sage-soft); color: var(--forest); box-shadow: inset 0 0 0 1px var(--sage); }
.notes-field { display: grid; }
.plan-button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 66px; margin-top: 24px; padding: 10px 18px; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--forest), var(--forest-2)); color: white; box-shadow: 0 12px 28px rgba(23,59,63,.2); }
.plan-button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(23,59,63,.25); }
.plan-button > span { display: flex; align-items: center; gap: 11px; text-align: left; }
.plan-button b { color: var(--ochre); font-size: 1.22rem; }
.plan-button strong, .plan-button small { display: block; }
.plan-button strong { font-size: .86rem; }
.plan-button small { margin-top: 3px; color: #c8d8d4; font-size: .62rem; font-weight: 500; }
.plan-button i { font-size: 1.3rem; font-style: normal; transition: transform .2s; }
.plan-button:hover i { transform: translateX(4px); }
.results-topbar { margin-bottom: 18px; }
.source-badge { padding: 7px 10px; border: 1px solid var(--line); background: white; color: var(--ink-soft); }
.route-card { position: relative; overflow: hidden; padding: clamp(20px, 3vw, 30px); border-radius: 17px; background: linear-gradient(135deg, #1b4448, #2f6664); color: white; box-shadow: 0 14px 32px rgba(23,59,63,.19); }
.route-card::before, .route-card::after { position: absolute; width: 240px; height: 110px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; content: ""; transform: rotate(-17deg); }
.route-card::before { right: -65px; top: -38px; }
.route-card::after { right: 60px; bottom: -85px; }
.route-card-head { position: relative; z-index: 2; }
.route-card-head p { margin-bottom: 7px; color: #c9dbd5; font-size: .7rem; font-weight: 700; }
.route-card-head h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; max-width: 510px; margin-bottom: 0; font-size: clamp(1.45rem, 2.8vw, 2.35rem); }
.route-card-head h3 b { color: var(--ochre); font-family: Inter, sans-serif; font-size: 1rem; }
.weather-cue { display: grid; grid-template-columns: auto auto; gap: 1px 7px; align-items: center; min-width: 120px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; background: rgba(255,255,255,.08); }
.weather-cue > span { grid-row: span 2; color: var(--ochre); font-size: 1.4rem; }
.weather-cue strong, .weather-cue small { display: block; }
.weather-cue strong { font-size: .65rem; }
.weather-cue small { color: #c9dbd5; font-size: .54rem; }
.route-track { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; margin: 30px 0 20px; }
.route-track::before { position: absolute; left: 8px; right: 8px; z-index: 0; border-top: 2px dashed rgba(255,255,255,.43); content: ""; }
.route-track i { position: relative; z-index: 2; width: 12px; height: 12px; border: 3px solid white; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px rgba(255,255,255,.15); }
.route-track i:last-child { margin-left: auto; background: var(--ochre); }
.route-track span { position: relative; z-index: 2; justify-self: center; padding: 0 7px; background: #25575a; font-size: 1.1rem; transform: rotate(5deg); }
.route-meta { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.route-meta span { padding-left: 10px; border-left: 1px solid rgba(255,255,255,.18); color: #c9dbd5; font-size: .6rem; }
.route-meta span:first-child { padding-left: 0; border: 0; }
.route-meta b { display: block; margin-bottom: 2px; color: white; font-size: .82rem; text-transform: capitalize; }
.result-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 12px; margin-top: 12px; }
.estimate-card, .fit-card { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.estimate-head { align-items: center; }
.estimate-head p, .fit-card > p { margin-bottom: 4px; color: var(--ink-soft); font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.estimate-head strong { display: block; font-family: Georgia, serif; font-size: 1.8rem; }
.estimate-head div > span { display: block; margin-top: 2px; color: var(--sage); font-size: .62rem; font-weight: 750; }
.budget-ring { --percent: 70; display: grid; flex: 0 0 auto; width: 67px; height: 67px; place-items: center; border-radius: 50%; background: conic-gradient(var(--coral) calc(var(--percent) * 1%), var(--coral-soft) 0); }
.budget-ring::before { grid-area: 1/1; width: 51px; height: 51px; border-radius: 50%; background: white; content: ""; }
.budget-ring span { position: relative; font-size: .7rem; font-weight: 850; }
.estimate-bars { display: grid; gap: 9px; margin-top: 16px; }
.estimate-row { display: grid; grid-template-columns: 83px 1fr auto; align-items: center; gap: 8px; color: var(--ink-soft); font-size: .6rem; }
.estimate-row > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.estimate-row .bar { height: 6px; overflow: hidden; border-radius: 999px; background: #eef1ef; }
.estimate-row .bar i { display: block; width: var(--width); height: 100%; border-radius: inherit; background: var(--color); }
.estimate-row strong { color: var(--ink); font-size: .62rem; }
.estimate-note { margin: 14px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .58rem; line-height: 1.4; }
.fit-card { display: flex; flex-direction: column; }
.fit-score { display: flex; align-items: baseline; flex-wrap: wrap; margin: 5px 0 13px; }
.fit-score strong { font-family: Georgia, serif; font-size: 2.4rem; line-height: 1; }
.fit-score span { color: var(--ink-soft); font-size: .65rem; }
.fit-score i { flex-basis: 100%; margin-top: 4px; color: var(--sage); font-size: .62rem; font-style: normal; font-weight: 800; }
.fit-signals { display: grid; gap: 9px; margin-top: auto; }
.fit-signal { display: grid; grid-template-columns: 18px 1fr; align-items: center; gap: 5px; color: var(--ink-soft); font-size: .6rem; }
.fit-signal i { display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: var(--sage-soft); color: var(--sage); font-size: .55rem; font-style: normal; }
.itinerary-section, .booking-section, .sources-section { margin-top: 24px; }
.section-heading { align-items: flex-end; margin-bottom: 12px; }
.section-heading h3 { margin-bottom: 0; font-size: 1.13rem; }
.section-heading > span { color: var(--ink-soft); font-size: .6rem; font-weight: 750; }
.timeline { position: relative; display: grid; gap: 8px; }
.timeline::before { position: absolute; top: 26px; bottom: 26px; left: 25px; width: 1px; background: var(--line-dark); content: ""; }
.day-card { position: relative; display: grid; grid-template-columns: 51px 1fr auto; align-items: start; gap: 10px; min-height: 79px; padding: 13px 13px 13px 0; border: 1px solid var(--line); border-radius: 13px; background: white; }
.day-marker { position: relative; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto; border: 5px solid white; border-radius: 50%; background: var(--sage); color: white; box-shadow: 0 0 0 1px var(--line-dark); font-size: .58rem; font-weight: 850; }
.day-copy { min-width: 0; }
.day-copy p { margin-bottom: 3px; color: var(--coral); font-size: .55rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.day-copy h4 { margin: 0 0 5px; font-family: Georgia, serif; font-size: .8rem; }
.day-copy span { display: block; overflow: hidden; color: var(--ink-soft); font-size: .59rem; line-height: 1.45; text-overflow: ellipsis; }
.day-cues { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; max-width: 130px; }
.day-cues span { padding: 4px 6px; border-radius: 999px; background: var(--cream); color: var(--ink-soft); font-size: .5rem; white-space: nowrap; }
.booking-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.booking-card { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; min-height: 61px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: white; color: inherit; text-decoration: none; }
.booking-card:hover { border-color: var(--sage); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.booking-card > span:first-child { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: var(--sage-soft); font-size: 1rem; }
.booking-card strong, .booking-card small { display: block; }
.booking-card strong { font-size: .68rem; }
.booking-card small { margin-top: 3px; color: var(--ink-soft); font-size: .53rem; }
.booking-card > b { color: var(--coral); font-size: .8rem; }
.search-disclaimer { display: flex; gap: 9px; margin-top: 10px; padding: 10px; border-radius: 10px; background: var(--cream); color: var(--ink-soft); }
.search-disclaimer > span { color: var(--coral); }
.search-disclaimer p { margin: 0; font-size: .56rem; line-height: 1.5; }
.search-disclaimer strong { color: var(--ink); }
.sources-section { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.live-summary { margin: -2px 0 12px; color: var(--ink-soft); font-size: .65rem; line-height: 1.55; }
.source-links { display: flex; flex-wrap: wrap; gap: 7px; }
.source-link { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--sky-soft); color: var(--forest-2); font-size: .58rem; font-weight: 750; text-decoration: none; }
.source-link span { overflow: hidden; max-width: 250px; text-overflow: ellipsis; white-space: nowrap; }
.source-link:hover { border-color: var(--sky); }
footer { display: flex; justify-content: space-between; gap: 20px; width: min(1480px, calc(100% - 48px)); margin: 0 auto; padding: 19px 0 28px; color: var(--ink-soft); font-size: .64rem; }
footer p { margin: 0; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 50; max-width: min(360px, calc(100% - 48px)); padding: 11px 15px; border-radius: 10px; background: var(--forest); color: white; box-shadow: var(--shadow); font-size: .72rem; opacity: 0; pointer-events: none; transform: translateY(12px); transition: .25s ease; }
.toast.show { opacity: 1; transform: none; }
.is-loading .plan-button { opacity: .75; pointer-events: none; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-center { display: none; }
  .hero { grid-template-columns: 1fr .75fr; }
  .planner-layout { grid-template-columns: minmax(390px, .9fr) minmax(480px, 1.1fr); }
  .result-grid { grid-template-columns: 1fr; }
  .fit-card { display: grid; grid-template-columns: 1fr auto; }
  .fit-card > p { grid-column: 1/-1; }
  .fit-signals { grid-row: 2; grid-column: 2; min-width: 150px; }
}

@media (max-width: 880px) {
  body { background: linear-gradient(180deg, #fbf8f1 0 300px, #edf2ef 300px); }
  .local-pill { display: none; }
  .hero { grid-template-columns: 1fr; padding-bottom: 30px; }
  .hero-map { min-height: 160px; margin: 16px 0 -20px; }
  .planner-layout { grid-template-columns: 1fr; }
  .results-panel { position: static; max-height: none; }
}

@media (max-width: 600px) {
  .site-header { min-height: 64px; padding: 8px 14px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand strong { font-size: 1.05rem; }
  .export-button { display: none; }
  .hero { min-height: 0; padding: 34px 18px 27px; }
  .hero h1 { font-size: 2.55rem; }
  .hero-map { display: none; }
  .planner-layout { padding-inline: 8px; }
  .planner-panel, .results-panel { padding: 18px 15px; border-radius: 17px; }
  .panel-heading, .results-topbar { align-items: flex-start; }
  .completion-badge, .source-badge { font-size: .58rem; }
  .form-grid, .budget-inputs { grid-template-columns: 1fr; }
  .pace-control { grid-template-columns: 1fr; }
  .route-card-head h3 { font-size: 1.45rem; }
  .weather-cue { display: none; }
  .route-meta { grid-template-columns: repeat(2, 1fr); gap: 12px 5px; }
  .route-meta span:nth-child(3) { padding-left: 0; border-left: 0; }
  .fit-card { display: flex; }
  .booking-grid { grid-template-columns: 1fr; }
  .day-card { grid-template-columns: 45px 1fr; }
  .timeline::before { left: 22px; }
  .day-cues { grid-column: 2; justify-content: flex-start; max-width: none; }
  footer { display: grid; width: calc(100% - 36px); }
}

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