/* Mobile-first itinerary: painted map, readable real stops and activity symbols. */
.itinerary-layout{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);gap:22px;align-items:start}.itinerary{margin-top:0!important}.itinerary li{position:relative;margin-left:14px!important;gap:16px!important;min-height:72px!important;padding:0 0 23px!important;border-left:1.5px dotted #b9c8dc!important}.itinerary li>.route-icon{--icon-size:26px;width:29px!important;height:31px!important;margin-left:-15px!important;flex:0 0 29px!important;background:white!important;box-shadow:none!important;border:0!important;color:#15315a!important}.itinerary li.route-start>.route-icon{color:#6654d8!important}.itinerary li.route-finish>.route-icon{color:#09a58b!important}.route-heading{align-items:start!important;gap:8px!important;margin-bottom:5px!important}.itinerary .route-heading h3{font-family:Nunito,sans-serif;font-size:15px!important;font-weight:700!important;line-height:1.4!important;letter-spacing:0;max-width:calc(100% - 49px)}.itinerary li p{font-size:13px!important;line-height:1.6!important;margin:0!important;display:block!important;overflow:visible!important;color:#52637d}.route-content{padding-top:0!important}.route-duration{font-size:10px!important;font-weight:600!important;line-height:1.5;padding:3px 7px!important;border-radius:20px;background:#e9f7fd;color:#225976;white-space:nowrap;min-width:42px}.route-endpoint{background:#e4f8f2;color:#0d7f6d}.route-location{display:none!important}.route-optional{font-size:10px!important}.itinerary li:last-child{padding-bottom:0!important;min-height:42px!important;border-color:transparent!important}.itinerary-overview{padding:0!important;overflow:hidden;border-radius:19px!important;border:1px solid #dceaf4!important;background:#fff!important;box-shadow:0 5px 20px #12345b05!important;position:sticky;top:95px}.route-art-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px}.route-eyebrow{display:block;font-size:8px;font-weight:700;color:#258ca6;letter-spacing:1.1px;margin-bottom:5px}.route-art-head h3{font-family:Nunito,sans-serif;font-size:15px;font-weight:700;color:#15315a;letter-spacing:0;margin:0;line-height:1.4}.expand-route{display:grid;place-items:center;--icon-size:17px;flex:none;width:33px;height:33px;padding:7px;border:1px solid #d8e4ee;border-radius:9px;background:white;color:#25436c;cursor:pointer}.expand-route:hover{background:#f0edff;color:#6654d8;border-color:#c9c0ef}.route-art-picture{margin:0 8px;padding:0;overflow:hidden;border-radius:14px}.painted-route-map{display:block;width:100%;height:auto;aspect-ratio:4/5;overflow:hidden}.route-art-picture svg{width:100%;height:auto;max-height:none!important}.route-activity-legend{display:grid;grid-template-columns:1fr 1fr;gap:11px 12px;list-style:none;margin:0;padding:16px}.route-activity-legend li{display:flex;align-items:flex-start;gap:7px;font-size:11px;line-height:1.5;color:#244363;min-width:0}.route-activity-legend li .ui-icon{--icon-size:19px;color:#246d8d;margin-top:1px}.route-activity-legend li small{display:block;font-size:9px;color:#748099;margin-top:2px}.route-art-foot{border-top:1px solid #edf0f6;margin:0 16px;padding:12px 0 14px}.route-art-foot p{font-size:11px;line-height:1.6;color:#526780;margin:0 0 7px}.route-art-foot small{display:block;font-size:9px;line-height:1.6;color:#7b8899}.itinerary-package-note{font-size:12px;padding:10px 13px;line-height:1.6;margin-bottom:22px}.route-map-dialog{width:min(620px,calc(100% - 24px));max-height:94dvh;padding:18px;border:0;border-radius:20px;background:#fff;box-shadow:0 20px 90px #0b234d40;overflow:auto}.route-map-dialog::backdrop{background:#071b43a6}.map-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.map-dialog-head h2{font-size:20px;margin:0}.map-dialog-head button{width:34px;height:34px;padding:7px;border:1px solid #dce4ee;border-radius:50%;background:#fff;color:#15315a;flex-shrink:0}.route-map-dialog>.painted-route-map{border-radius:14px}.route-map-dialog>p{font-size:11px;color:#63788e;margin:12px 0 0}.tour-tabs{scrollbar-width:none}.tour-tabs::-webkit-scrollbar{display:none}
@media(max-width:1100px) and (min-width:761px){.itinerary-layout{grid-template-columns:1fr!important}.itinerary-overview{position:static;width:100%;max-width:460px;margin:0 auto 24px;order:-1}.itinerary{order:1}}
@media(max-width:760px){.itinerary-layout{display:flex!important;flex-direction:column!important;gap:26px}.itinerary-overview{position:static!important;order:-1;width:100%;max-width:none;margin:0!important;border-radius:17px!important}.route-art-head{padding:14px}.route-art-head h3{font-size:16px}.route-eyebrow{font-size:9px}.route-art-picture{margin:0 7px}.route-activity-legend{padding:15px 14px;gap:13px 12px}.route-activity-legend li{font-size:12px}.route-activity-legend li small{font-size:10px}.route-activity-legend .ui-icon{--icon-size:21px}.route-art-foot{margin:0 14px}.route-art-foot p{font-size:12px}.route-art-foot small{font-size:10px}.itinerary{width:100%;order:1}.itinerary li{padding-bottom:26px!important;gap:16px!important;margin-left:15px!important}.itinerary .route-heading h3{font-size:16px!important;font-weight:700!important;line-height:1.45!important}.itinerary li p{font-size:14px!important;line-height:1.65!important}.route-duration{font-size:10px!important;margin-top:2px}.itinerary-package-note{font-size:12px}.tour-tabs{position:sticky;top:73px;z-index:8;background:#fffffff7;backdrop-filter:blur(10px);padding-top:13px!important;padding-bottom:13px!important;margin-top:14px!important;display:flex;overflow-x:auto;white-space:nowrap;gap:22px!important}.route-map-dialog{padding:14px;max-height:94dvh}.map-dialog-head h2{font-size:18px}.route-map-dialog .painted-route-map{width:100%;height:auto}}
@media(max-width:760px){.expand-route{width:44px;height:44px;--icon-size:20px}.map-dialog-head button{width:42px;height:42px;padding:10px}}
.route-duration:empty{display:none!important}

.approved-legend-icon{display:block;width:32px;height:32px;flex:0 0 32px}.approved-legend-icon>svg{display:block;width:32px;height:32px}.route-activity-legend li{align-items:center}.route-art-picture svg[data-approved-asset]{width:revert;height:revert;max-height:none!important}

.itinerary li>.route-icon{display:grid;place-items:center}.route-icon>svg[data-approved-asset]{width:34px!important;height:34px!important;overflow:visible}.route-icon>svg[data-approved-asset="car"]{height:23px!important}

/* Swimming-tour pilot keeps the longer journey legible on phones. */
.swimming-journey-map{aspect-ratio:400/590}.route-art-picture .swimming-journey-map{aspect-ratio:400/590}

.ordered-journey-map{aspect-ratio:auto}.route-art-picture .ordered-journey-map{aspect-ratio:auto}
