/* City Compass routes: blue transit thread, numbered stop sequence, quiet photo-led choices. */
.routes-page{max-width:1280px;margin:auto;padding:32px 36px 60px}.routes-page[hidden]{display:none}.view-routes>.controls,.view-routes>.workspace,.view-routes>.quick-filter{display:none!important}.routes-header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}.routes-header h1{font-size:32px}.routes-header p{color:#587184;margin-top:9px}.route-origin{display:flex;align-items:center;gap:8px;border:1px solid #cadce9;border-radius:10px;min-height:44px;padding:8px 12px;font-size:13px;max-width:300px;background:#fff}.route-origin span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.route-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;max-width:660px;background:#f8fbfd;padding:8px 0}.route-days button{border:1px solid #cbdce9;border-radius:12px;display:flex;flex-direction:column;align-items:center;padding:9px 3px;min-height:80px;background:#fff;line-height:1.2}.route-days span{font-size:12px;color:#587184}.route-days strong{font-size:24px;margin:4px 0}.route-days small{font-size:10px;color:#587184}.route-days .selected{color:#fff;background:#1765d6;border-color:#1765d6}.route-days .selected span,.route-days .selected small{color:#fff}.route-day-context{display:flex;align-items:baseline;gap:18px;margin:22px 0 16px}.route-day-context h2{font-size:20px;white-space:nowrap}.route-day-context p{font-size:14px;max-width:700px;color:#587184}.route-choice-toolbar{display:flex;align-items:center;gap:16px;margin:18px 0}.route-choice-toolbar span{font-size:12px;color:#587184}.route-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 28px}.route-choice{border:1px solid #cadce9;border-radius:15px;overflow:hidden;text-align:left;display:grid;grid-template-columns:1fr 28px;background:white;padding:0 0 17px;position:relative;min-width:0;align-content:start}.route-choice>img{grid-column:1/-1;width:100%;height:160px;object-fit:cover;margin-bottom:14px}.route-choice-copy{display:flex;flex-direction:column;gap:6px;padding-left:18px;min-width:0}.route-choice-area{font-size:12px;color:#1765d6}.route-choice-copy strong{font-size:20px;line-height:1.2}.route-choice-copy>span:not(.route-choice-area){font-size:13px;color:#587184}.route-choice-copy small{font-size:12px;color:#587184;margin-top:5px}.route-choice-arrow{align-self:center}.route-choice-arrow svg{transform:rotate(-90deg);width:17px}.route-choice.selected{outline:2px solid #1765d6;outline-offset:1px}.route-choice.selected .route-choice-arrow svg{transform:none}.route-small-note{color:#587184;font-size:14px;max-width:620px}.route-detail{scroll-margin-top:18px}.route-title{max-width:800px;margin:25px 0 20px}.route-title>p:first-child{font-size:13px;color:#1765d6;margin-bottom:7px}.route-title h2{font-size:35px;line-height:1.12;letter-spacing:-1px}.route-summary{font-size:16px;line-height:1.7;color:#456479;margin-top:14px;max-width:700px}.route-stats{display:flex;flex-wrap:wrap;gap:9px 20px;font-size:13px;color:#456479;margin-top:18px}.route-stats>span{display:flex;align-items:center;gap:6px}.route-stats svg{width:17px;height:17px}.route-start-note{border-left:3px solid #1765d6;padding:4px 0 4px 16px;margin:22px 0 28px;max-width:760px}.route-start-note>strong{font-size:15px}.route-start-note p{font-size:13px;line-height:1.7;color:#587184;margin:6px 0 12px}.route-start-note .primary{min-height:44px}.route-pane-switch{display:none}.route-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:36px;align-items:start}.route-timeline{min-width:0}.route-stop-wrap{scroll-margin-top:82px}.route-stop{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr);gap:14px;padding-bottom:25px}.route-stop:before{content:'';position:absolute;top:30px;bottom:0;left:15px;border-left:2px solid #cadce9}.route-number{width:32px;height:32px;border-radius:50%;color:#fff;background:#1765d6;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;z-index:1}.route-stop-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#587184;min-height:32px}.route-stop-meta>span:last-child{white-space:nowrap}.route-stop-heading{display:flex;gap:14px;align-items:center;margin:12px 0}.route-stop-heading>div{min-width:0}.route-stop-image{width:82px;height:88px;flex-shrink:0;padding:0;border-radius:10px;overflow:hidden;background:#e9f2f7}.route-stop-image img{display:block;width:100%;height:100%;object-fit:cover}.route-place-title{font-size:20px;font-weight:700;line-height:1.25;text-align:left;padding:0;display:block;margin:5px 0}.route-stop-story{font-size:14px;line-height:1.75;color:#456479;margin:10px 0}.route-event-time{font-size:12px;color:#7d4c25;margin-top:6px}.route-booking{font-size:12px;color:#7d4c25;padding:10px 12px;background:#fff4e7;border-radius:8px;margin:12px 0}.route-stop-actions{display:flex;flex-wrap:wrap;gap:5px 14px;margin:10px 0}.route-stop-actions button{font-size:12px;color:#1765d6;min-height:44px;padding:6px 0;text-decoration:underline;text-underline-offset:4px}.route-swap-note{font-size:12px;color:#587184;border-top:1px solid #e0e9ef;padding:10px 0 0}.route-swap-note summary{cursor:pointer;min-height:36px;line-height:1.6}.route-swap-note p{line-height:1.7;padding:5px 0 10px}.route-swap-note button{font-size:12px;min-height:44px}.route-leg{display:flex;gap:9px;align-items:center;min-height:60px;font-size:12px;color:#587184;padding:7px 0 18px 42px;position:relative}.route-leg>svg{width:17px}.route-leg>span{flex:1}.route-leg small{display:block;font-size:11px;margin-top:4px;line-height:1.5}.route-leg-link{font-weight:650;text-decoration:underline;min-height:44px;display:flex;align-items:center;gap:4px}.route-leg:before{content:'';position:absolute;top:0;bottom:0;left:15px;border-left:2px dashed #9bb9d2}.route-stop-wrap.skipped .route-number{background:#d9e3ea;color:#49677e}.route-stop-wrap.skipped .route-stop-heading{opacity:.6}.route-stop-wrap.skipped .route-stop-story,.route-stop-wrap.skipped .route-booking,.route-stop-wrap.skipped .route-swap-note{display:none}.route-return{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 30px}.route-return .secondary{font-size:12px;padding:10px 13px}.route-map-column{position:sticky;top:20px;min-width:0}.route-map-shell{overflow:hidden;border-radius:16px;border:1px solid #cadce9;background:#fff}.route-map-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;font-size:12px;font-weight:650}.route-map-toolbar button{min-height:44px;display:flex;align-items:center;gap:6px;color:#1765d6}.route-map-toolbar svg{width:17px}.route-map{height:440px;background:#e9f2f7;position:relative}.route-map-caption{font-size:11px;color:#587184;line-height:1.6;padding:12px 14px;border-top:1px solid #dce7ef}.route-map-selected{padding:13px 14px;border-top:1px solid #dce7ef;font-size:13px;color:#456479}.route-map-selected strong{font-size:15px;color:#143248}.route-map-selected p{margin:5px 0}.route-map-selected>div+div{margin-top:12px;padding-top:12px;border-top:1px solid #dce7ef}.route-map-selected>div>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.route-map-selected .primary,.route-map-selected .secondary{min-height:44px;font-size:12px;padding:9px 12px}.day-route-pin{border:3px solid #fff;box-shadow:0 2px 7px #14324844;background:#1765d6;color:#fff;border-radius:50%;min-width:38px;height:38px;padding:2px 6px;font-weight:750;font-size:15px}.day-route-pin:focus-visible{outline:3px solid #143248}.route-practical{border-top:1px solid #dce7ef;padding-top:24px;margin-top:15px;max-width:860px}.route-practical h3{font-size:19px;margin-bottom:10px}.route-practical p{font-size:13px;color:#587184;line-height:1.75;margin:10px 0}.route-practical details{margin-top:14px}.route-practical summary{cursor:pointer;min-height:44px;padding:10px 0;color:#1765d6;font-size:13px}.route-practical .link-list a{background:#fff;font-size:12px}.routes-loading{padding:80px 20px;text-align:center;color:#587184}.routes-page svg{flex-shrink:0}.route-map .maplibregl-ctrl-group button{width:40px;height:40px}.route-map .maplibregl-ctrl-icon{width:100%;height:100%}
@media(max-width:1050px) and (min-width:721px){.routes-page{padding:28px 22px}.routes-header h1{font-size:28px}.route-choice-copy strong{font-size:18px}.route-layout{gap:20px}.route-map{height:400px}.route-stop-heading{align-items:flex-start;gap:10px}.route-stop-image{width:68px;height:75px}.route-place-title{font-size:18px}.desktop-nav{gap:10px}.desktop-nav button{min-width:60px}}
@media(max-width:720px){.bottom-nav{padding-left:4px;padding-right:4px}.bottom-nav button{min-width:0;flex:1;font-size:10px}.bottom-nav button svg{width:21px;height:21px}.bottom-nav .saved-count{display:none}.routes-page{padding:22px 16px 34px}.routes-header{display:block;margin-bottom:13px}.routes-header h1{font-size:27px;line-height:1.15;max-width:340px}.routes-header p{font-size:13px;margin-top:8px}.route-origin{margin-top:14px;font-size:12px;max-width:100%;padding:7px 10px}.route-origin svg{width:16px;height:16px}.route-days{gap:5px;max-width:none}.route-days button{min-height:74px;padding:8px 1px;border-radius:9px}.route-days strong{font-size:21px}.route-days span{font-size:11px}.route-days small{font-size:9px}.route-day-context{display:block;margin:17px 0}.route-day-context h2{font-size:17px;margin-bottom:7px}.route-day-context p{font-size:12px;line-height:1.7}.route-choices{display:flex;flex-direction:column;gap:12px;margin:16px 0 20px}.route-choice{display:flex;align-items:center;gap:12px;padding:10px;border-radius:12px}.route-choice>img{width:77px;height:105px;margin:0;border-radius:7px;flex-shrink:0}.route-choice-copy{padding:0;gap:4px;flex:1}.route-choice-copy strong{font-size:18px}.route-choice-copy>span:not(.route-choice-area){font-size:12px}.route-choice-area{font-size:11px}.route-choice-copy small{font-size:11px;margin-top:3px}.route-choice-arrow{width:15px;flex-shrink:0}.route-choice-arrow svg{width:15px}.route-choice-toolbar{display:block;margin:17px 0}.route-choice-toolbar .secondary{font-size:12px;padding:10px 12px;min-height:44px}.route-choice-toolbar>span{display:block;font-size:11px;margin-top:7px}.route-small-note{font-size:12px;line-height:1.7}.route-title{margin:22px 0 17px}.route-title h2{font-size:29px;letter-spacing:-.7px}.route-title>p:first-child{font-size:12px}.route-summary{font-size:14px;line-height:1.7;margin-top:12px}.route-stats{font-size:12px;gap:8px 13px;margin-top:14px}.route-start-note{margin:19px 0 22px;padding-left:12px}.route-start-note>strong{font-size:13px}.route-start-note p{font-size:12px}.route-start-note .primary{font-size:13px;padding:10px 13px}.route-pane-switch{display:flex;gap:6px;background:#f8fbfdf5;backdrop-filter:blur(8px);padding:9px 0;position:sticky;top:0;z-index:5;margin:0 0 14px;border-bottom:1px solid #dce7ef}.route-pane-switch button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border:1px solid #cadce9;background:#fff;border-radius:10px;font-size:13px;font-weight:650}.route-pane-switch button[aria-pressed=true]{background:#1765d6;color:#fff;border-color:#1765d6}.route-pane-switch svg{width:18px}.route-layout{display:block}.routes-page[data-pane=stops] .route-map-column{display:none}.routes-page[data-pane=map] .route-timeline{display:none}.route-map-column{position:static}.route-map{height:min(50dvh,430px);min-height:280px}.route-map-shell{border-radius:12px}.route-map-toolbar{padding:5px 12px}.route-map-selected{font-size:12px}.route-stop{grid-template-columns:28px minmax(0,1fr);gap:10px}.route-number{width:28px;height:28px;font-size:12px}.route-stop:before,.route-leg:before{left:13px}.route-stop-meta{font-size:11px;gap:5px;min-height:28px}.route-stop-heading{gap:11px;margin:10px 0}.route-stop-image{width:67px;height:79px}.route-place-title{font-size:18px}.route-stop-story{font-size:13px;line-height:1.75}.route-stop-actions{gap:0 15px}.route-stop-actions button{font-size:12px;min-height:44px}.route-leg{padding-left:35px;gap:7px;font-size:11px}.route-leg small{font-size:10px}.route-leg-link{font-size:12px;flex-shrink:0}.route-swap-note summary{font-size:11px;min-height:44px}.route-practical{margin-top:23px;padding-top:21px}.route-practical h3{font-size:17px}.route-practical p{font-size:12px}.route-return .secondary{flex:1}.route-map-caption{font-size:10px}.route-map .maplibregl-ctrl-group button{width:42px;height:42px}}
.route-map-selected{scroll-margin-bottom:calc(88px + env(safe-area-inset-bottom))}
@media(max-width:360px){.routes-page{padding-left:12px;padding-right:12px}.route-choice{gap:9px;padding:8px}.route-choice>img{width:62px;height:100px}.route-choice-copy strong{font-size:16px}.route-choice-copy>span:not(.route-choice-area){font-size:11px}.route-stop-image{width:57px;height:70px}.route-stop-heading{gap:9px}.route-place-title{font-size:17px}.route-stop-actions{gap:0 12px}.route-days{gap:4px}.route-title h2{font-size:27px}.route-days small{font-size:8px}}

.route-stop-image{position:relative}.route-photo-tag{position:absolute;bottom:0;left:0;right:0;background:#143248db;color:white;font-size:9px;line-height:1.3;padding:4px 2px}
.route-stop-wrap.skipped .route-stop-meta,.route-stop-wrap.skipped .route-stop-image,.route-stop-wrap.skipped .category-label,.route-stop-wrap.skipped .route-event-time{display:none}.route-stop-wrap.skipped .route-stop-heading{margin:0;min-height:32px}.route-stop-wrap.skipped .route-place-title{font-size:15px;color:#587184}.route-stop-wrap.skipped .route-stop{padding-bottom:16px}.route-stop-wrap.skipped .route-stop-actions{margin:0;gap:0 14px}
.route-saved-day{display:flex;align-items:center;justify-content:space-between;gap:20px;border-left:3px solid #1765d6;background:#edf4fc;padding:16px 18px;margin:18px 0 24px;border-radius:0 12px 12px 0}.route-saved-day small{font-size:12px;color:#1765d6}.route-saved-day strong{display:block;font-size:18px;margin:4px 0}.route-saved-day p,.route-choice-intro{font-size:13px;color:#587184}.route-saved-day .secondary{flex-shrink:0;font-size:13px}.route-save-bar{display:flex;align-items:center;gap:15px;max-width:820px;margin:16px 0}.route-save-bar p{font-size:12px;color:#587184;max-width:360px;line-height:1.7}.route-save-bar .primary{min-height:48px;font-size:13px;flex-shrink:0}.route-saved-status{color:#27663e!important}.route-choice-toolbar>.secondary svg{transform:rotate(90deg)}.route-choice-copy .route-choice-types{font-size:11px!important;color:#48687f!important;margin-top:2px}.route-choice-copy .route-preview-label{font-size:12px!important;font-weight:650;color:#1765d6!important;margin-top:5px}.route-choice.selected .route-choice-arrow svg{fill:#1765d6;color:#1765d6}.route-choice-toolbar{scroll-margin-top:16px}
@media(max-width:720px){.route-saved-day{display:block;padding:14px;margin:16px 0}.route-saved-day strong{font-size:17px}.route-saved-day p{font-size:12px;line-height:1.6;margin:6px 0 12px}.route-saved-day .secondary{width:100%;font-size:12px;min-height:44px}.route-save-bar{display:block}.route-save-bar .primary{width:100%}.route-save-bar p{margin-top:9px;max-width:none}.route-choice-copy .route-choice-types{font-size:10px!important}.route-choice-intro{font-size:12px}}

.route-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.route-week-button{display:flex;align-items:center;gap:8px;border:1px solid #b9d1e5;border-radius:10px;min-height:44px;padding:9px 12px;background:white;font-size:13px;font-weight:650;white-space:nowrap}.route-week-button>span{border-radius:12px;padding:1px 6px;background:#e9f2fd;color:#1765d6;font-size:11px}.route-week-button svg{width:17px;height:17px}.route-choice-copy .route-repeat{color:#396d4e!important;background:#edf6ef;border-radius:6px;padding:5px 7px;font-size:11px!important;margin-top:4px}.route-choice-copy small{line-height:1.6}.route-pace{max-width:760px;margin:22px 0 16px;scroll-margin-top:16px}.route-pace>div{display:flex;padding:4px;border:1px solid #cbdce9;border-radius:13px;background:#eaf2f8;max-width:480px;gap:4px}.route-pace button{flex:1;border-radius:9px;min-height:57px;padding:8px 12px;line-height:1.4;font-size:14px;font-weight:650}.route-pace button small{display:block;font-size:11px;font-weight:400}.route-pace button[aria-pressed=true]{background:#fff;color:#165fc3;box-shadow:0 1px 4px #14324819}.route-pace p{font-size:12px;line-height:1.7;color:#587184;margin:10px 0}.route-planning-notes{max-width:760px;font-size:13px;color:#456479;border-bottom:1px solid #dce7ef;padding-bottom:10px;margin-bottom:20px}.route-planning-notes summary{font-weight:650;color:#1765d6;min-height:44px;cursor:pointer;padding:10px 0}.route-planning-notes p{line-height:1.7;margin:9px 0}.route-planning-notes>strong{display:block;margin-top:6px;font-weight:600}.route-progress{max-width:760px;border:1px solid #c0d9ec;border-radius:16px;background:#fff;padding:20px;margin:20px 0 28px;scroll-margin-top:16px;box-shadow:0 4px 18px #14324805}.route-progress-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#587184}.route-progress-meta button{display:flex;align-items:center;gap:6px;font-size:12px;min-height:36px;color:#1765d6}.route-progress-meta svg{width:15px;height:15px}.route-progress progress{appearance:none;display:block;border:0;border-radius:9px;width:100%;height:5px;overflow:hidden;margin:5px 0 18px;background:#e6eef3;color:#30774e}.route-progress progress::-webkit-progress-bar{background:#e6eef3;border-radius:9px}.route-progress progress::-webkit-progress-value{background:#30774e;border-radius:9px}.route-progress progress::-moz-progress-bar{background:#30774e;border-radius:9px}.route-progress>small{font-size:11px;color:#587184}.route-progress h3{font-size:23px;line-height:1.25;margin-top:5px}.route-progress-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}.route-progress-actions a,.route-progress-actions button,.route-progress.complete a,.route-progress.complete button{font-size:12px;min-height:44px;padding:10px 13px;justify-content:center}.route-progress-hint{font-size:11px;color:#587184;line-height:1.6;margin-top:12px;max-width:510px}.route-next-event{font-size:12px;color:#855a2e;margin-top:8px}.route-progress.complete{border-color:#bfd8c8;background:#f3f8f4}.route-progress.complete>strong{font-size:20px;color:#2c6944}.route-progress.complete>p{font-size:13px;margin:8px 0 15px;color:#456479}.route-progress.complete>div{display:flex;flex-wrap:wrap;gap:8px}.route-stop-actions .route-visited-button{border:1px solid #cbdce9;border-radius:8px;padding:8px 11px;text-decoration:none;color:#456479;line-height:1.4}.route-stop-actions .route-visited-button[aria-pressed=true]{color:#27663e;background:#edf6ef;border-color:#bfd8c8}.route-stop-wrap.visited .route-number{background:#30774e}.route-stop-wrap.next-stop .route-number{outline:3px solid #a5cef7;outline-offset:3px}.day-route-pin.visited{background:#30774e}.day-route-pin.next{box-shadow:0 0 0 4px #1765d64d,0 2px 7px #14324844}.route-week-dialog{max-width:620px}.route-week-dialog .sheet-head{align-items:flex-start}.route-week-dialog .sheet-head h2{font-size:25px}.route-week-dialog .sheet-head p{font-size:12px;color:#587184;margin-top:7px}.route-week-repeat{font-size:13px;line-height:1.65;background:#edf6ef;color:#396d4e;padding:13px 15px;border-radius:11px;margin-bottom:15px}.route-week-days{display:flex;flex-direction:column;gap:10px}.route-week-day{border:1px solid #d0e0ea;background:#fff;border-radius:12px;display:flex;align-items:center;padding-right:8px}.route-week-day>button:first-child{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:6px;padding:16px;flex:1;min-width:0;border-radius:12px}.route-week-date{font-size:11px;color:#1765d6;font-weight:650}.route-week-day strong{font-size:16px;line-height:1.3}.route-week-day button>span:not(.route-week-date){font-size:12px;color:#587184;line-height:1.6}.route-week-day small{font-size:11px;color:#30774e}.route-week-day em{font-style:normal;font-size:12px;color:#1765d6;margin-top:3px}.route-clear-day{font-size:12px;min-width:44px;min-height:44px;color:#587184;text-decoration:underline}.route-week-dialog .field-note{margin-top:18px;line-height:1.7}.route-week-dialog svg{width:20px;height:20px}
@media(max-width:720px){.route-header-actions{justify-content:space-between;flex-wrap:nowrap;gap:8px;margin-top:14px}.route-header-actions .route-origin{margin:0;flex:1;min-width:0;max-width:calc(100% - 138px)}.route-header-actions .route-origin>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.route-week-button{font-size:12px;padding:8px 9px;gap:6px}.route-week-button>span{font-size:10px}.route-choice-toolbar>.secondary+.secondary{margin-top:8px}.route-pace{margin-top:20px}.route-pace button{font-size:13px;padding:8px}.route-pace p,.route-planning-notes{font-size:12px}.route-progress{padding:15px;margin:18px 0 20px;border-radius:13px}.route-progress h3{font-size:21px}.route-progress-actions{display:grid;grid-template-columns:1fr 1fr}.route-progress-actions>.primary{grid-column:1/-1}.route-progress-actions>button:only-child{grid-column:1/-1}.route-progress-actions>button:last-child:nth-child(2){grid-column:1/-1}.route-progress-meta button{min-height:44px}.route-stop-actions{gap:5px 14px}.route-stop-actions .route-visited-button{padding:7px 10px}.route-pane-switch{gap:5px}.route-pane-switch button{font-size:12px;gap:5px}.route-pane-switch svg{width:16px;height:16px}.route-week-dialog .sheet-head h2{font-size:22px}.route-week-day>button:first-child{padding:13px}.route-week-day strong{font-size:15px}.route-week-repeat{font-size:12px;padding:12px}.route-week-day button>span:not(.route-week-date){font-size:11px}}

.route-photo-unavailable{display:flex;align-items:center;justify-content:center;height:100%;font-size:10px;color:#587184;padding:6px;text-align:center}

.route-saved-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.route-unsave.secondary{min-height:44px;font-size:13px;color:#31546d}.route-save-bar .route-unsave{flex-shrink:0}@media(max-width:720px){.route-saved-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.route-saved-actions .secondary{padding:8px;text-align:center}.route-save-bar .route-unsave{width:100%}}
