/* The Atlas journey structure, in the original Tangerine visual language. */
.app:has(#stops-screen:not([hidden])){max-width:1480px}
.journey-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 28px 24px}
.journey-intro h1{font:750 clamp(30px,3.4vw,48px)/1.12 Outfit,sans-serif;letter-spacing:-1.5px;margin:9px 0}
.journey-intro h1 em{font-style:normal;color:var(--orange)}
.journey-intro p{font-size:14px;color:#6a707a;margin:0;line-height:1.5}
.journey-intro-note>span{font-size:9px;letter-spacing:1.7px;color:#7b7b83}
.journey-intro-note .district-legend{margin:12px 0 0;padding:0;justify-content:flex-end}
#map-explorer.explore-layout{display:grid;grid-template-columns:minmax(0,1fr) 326px;gap:20px;padding:0 28px 24px;align-items:start}
.map-column{min-width:0;border:1px solid #e8dccd;border-radius:22px;background:#fffaf3;overflow:hidden;box-shadow:0 6px 22px #493c2108}
#stops-screen .map-panel{height:clamp(440px,62vh,650px);min-height:0;max-height:none;padding:0;border-radius:0}
#stops-screen .map-viewport{inset:112px 0 0}
#stops-screen .map-viewport:before{display:none}
#stops-screen .hero{position:absolute;inset:0 0 auto;height:56px;display:flex;align-items:center;padding:8px 14px;background:#fffaf3;pointer-events:auto}
#stops-screen .areas{width:100%;gap:6px;display:flex;align-items:center}
#stops-screen .areas button{min-height:38px;padding:9px 14px;font-size:12px}
#whole-journey{background:white;border:1px solid #e5d8c7;font-weight:700;color:#3c4254;white-space:nowrap}
#whole-journey[aria-pressed=true]{background:var(--navy);color:white;border-color:var(--navy)}
#stops-screen .place-search{position:absolute;top:60px;left:14px;width:calc(100% - 28px);padding:0;background:transparent;border:0;box-shadow:none}
#stops-screen .place-search label,#stops-screen .place-search small{display:none}
#stops-screen .search-row input{font-size:13px;min-height:40px;border-radius:11px}
#stops-screen .search-row button{min-height:40px;border-radius:11px}
#stops-screen .route-trigger{top:auto;left:auto;right:12px;bottom:26px;max-width:none;min-height:38px;padding:8px 12px;font-size:11px}
#stops-screen .route-trigger span{display:none}
#stops-screen .map-controls{top:126px;right:12px;gap:7px}
#stops-screen .map-controls button{width:38px;height:38px;font-size:22px}
#stops-screen .map-credit{left:8px;right:8px;bottom:4px;max-width:none;width:max-content;max-width:calc(100% - 16px);font-size:7px;text-align:left}
#stops-screen .tour-sidebar{position:relative;inset:auto;width:auto;padding:0;gap:14px;background:transparent;pointer-events:auto;z-index:8}
.journey-summary{padding:20px;background:#fffdf8;border:1px solid #eadbca;border-radius:20px}
.journey-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.private-tour-tag{font-size:10px;color:#80634d;background:#f8ede0;border-radius:20px;padding:5px 8px}
.journey-summary h2{font:650 24px/1.14 Outfit,sans-serif;letter-spacing:-.6px;margin:16px 0}
.journey-metrics{display:grid;grid-template-columns:.65fr 1fr 1fr;gap:10px;padding:15px 0;border-top:1px solid #eee2d5;border-bottom:1px solid #eee2d5}
.journey-metrics strong{display:block;font:700 21px Outfit,sans-serif;letter-spacing:-.6px;white-space:nowrap}
.journey-metrics span{display:block;font-size:10px;color:#7a7c84;margin-top:4px}
#journey-endpoints{font-size:11px;color:#686f7b;line-height:1.6;margin:14px 0;overflow-wrap:anywhere}
#journey-continue{width:100%;text-align:center;border-radius:14px}
.journey-summary>small{display:block;font-size:10px;color:#84838a;text-align:center;margin-top:10px}
.journey-playback{display:flex;align-items:center;gap:14px;padding:16px;background:#fffcf7;border-top:1px solid #eadfce}
#play-journey{display:flex;align-items:center;justify-content:center;gap:8px;flex:none;min-height:44px;border:0;border-radius:24px;padding:11px 16px;background:var(--navy);color:white;font:600 12px 'DM Sans',sans-serif}
#play-journey[aria-pressed=true]{background:var(--orange)}
#play-journey:disabled{opacity:.5;cursor:default}
.journey-playback-track{flex:1;min-width:0}
.journey-playback-track label{display:block;font-size:11px;font-weight:700;color:#3f4859;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#journey-progress{display:block;width:100%;height:22px;margin:2px 0;accent-color:var(--orange);cursor:pointer}
#journey-playback-note{display:block;font-size:9px;color:#7b7d85}
#restart-journey{flex:none;width:36px;height:40px;background:none;border:1px solid #ebdfce;border-radius:50%;font-size:23px;color:#685c53}
#journey-traveller{position:absolute;width:32px;height:32px;display:grid;place-items:center;border:2px solid var(--district-color);border-radius:50%;background:#fffaf3;color:var(--district-color);box-shadow:0 2px 10px #24384c40;transform:translate(-50%,-50%);z-index:7;pointer-events:none}
#journey-traveller svg{width:23px;height:20px}
.journey-rail{padding:16px 16px 12px;border-top:1px solid #eadfce}
.journey-rail>div{display:flex;justify-content:space-between;align-items:center;gap:12px}
#journey-rail-count{font-size:10px;color:#84818a}
#journey-stops{display:flex;gap:9px;overflow-x:auto;list-style:none;margin:12px 0 0;padding:0 0 6px;scrollbar-width:thin}
#journey-stops li{flex:0 0 auto}
#journey-stops button{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #eadfce;border-radius:12px;background:#fffcf6;color:var(--navy);text-align:left;max-width:210px;min-height:56px;font:600 11px 'DM Sans',sans-serif}
#journey-stops button[aria-current=true]{border-color:var(--district-color);background:var(--district-tint)}
#journey-stops b{display:grid;place-items:center;width:25px;height:25px;flex:none;background:var(--district-tint);color:var(--district-color);border:1px solid var(--district-color);border-radius:50%;font-size:10px}
#journey-stops button>span>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:155px}
#journey-stops small{display:block;font-size:9px;font-weight:400;color:#7e7b82;margin-top:5px}
#stops-screen .place-card{display:block;border-radius:20px;box-shadow:none;min-height:0;max-height:none;overflow:hidden}
#stops-screen .place-card>img{width:100%;height:136px;max-height:none;min-height:0;margin:0;border-radius:0;object-fit:cover}
#stops-screen .place-body{padding:16px}
#stops-screen .place-body h2{font-size:22px;margin:10px 18px 8px 0}
.journey-stop-heading{display:flex;justify-content:space-between;gap:8px;padding-right:18px}
.journey-stop-heading .eyebrow{font-size:8px;letter-spacing:1.4px}
#journey-active-index{font-size:9px;color:#7d7a85;white-space:nowrap}
.journey-stop-navigation{display:flex;justify-content:space-between;align-items:center;margin-top:14px;padding-top:12px;border-top:1px solid #eee2d5;font-size:10px;color:#7f7c85}
.journey-stop-navigation button{width:36px;height:34px;background:#fff7ed;border:1px solid #e9d9c5;border-radius:50%;font-size:18px}
.journey-stop-navigation button:disabled{opacity:.35}
#stops-screen .itinerary{padding:14px;background:#fffdf8;border-radius:20px}
#stops-screen .itinerary-heading{font-size:13px;min-height:32px}
#stops-screen .optimize-tools{padding:10px 0 2px;gap:5px}
#stops-screen .optimize-tools button{min-height:34px;padding:7px 9px;font-size:10px;border-radius:10px}
#stops-screen #selected-stops{max-height:340px}
#stops-screen #selected-stops .stop-label{font-size:12px}
#stops-screen #selected-stops .n{align-self:start;margin-top:2px}
#stops-screen .stop-about summary{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:10px;list-style:none;cursor:pointer;border-radius:7px;padding:0 0 9px;touch-action:manipulation}
#stops-screen .stop-thumbnail{position:relative;display:grid;place-items:center;width:64px;height:64px;overflow:hidden;border:2px solid var(--district-color);border-radius:12px;background:var(--district-tint);color:var(--district-color);font-size:26px;line-height:1}
#stops-screen .stop-thumbnail img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#stops-screen .stop-about-copy{min-width:0}
#stops-screen .stop-about summary::-webkit-details-marker{display:none}
#stops-screen .stop-about summary:focus-visible{outline:3px solid #168acb;outline-offset:3px}
#stops-screen .stop-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 7px;font-weight:700;line-height:1.5}
#stops-screen .stop-kind{display:inline-block;color:var(--district-color);background:var(--district-tint);border-radius:6px;padding:2px 6px;font-size:10px;font-weight:600;line-height:1.4}
#stops-screen .stop-about-hint{display:inline-flex;align-items:center;gap:7px;color:#a33e17;font-size:11px;font-weight:600;margin-top:4px;min-height:23px}
#stops-screen .stop-about-hint::after{content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
#stops-screen .stop-about[open] .stop-about-hint::after{transform:translateY(2px) rotate(225deg)}
#stops-screen .stop-about summary:hover .stop-about-hint{text-decoration:underline;text-underline-offset:3px}
#stops-screen .stop-detail-photo{display:block;width:100%;height:180px;object-fit:contain;background:var(--district-tint);border-radius:10px;margin:0 0 8px}
#stops-screen .stop-description{margin:0 0 9px;padding:9px 11px;border-left:2px solid var(--district-color);border-radius:0 8px 8px 0;background:var(--district-tint);color:#424451;font-size:12px;font-weight:400;line-height:1.65}
#stops-screen #selected-stops .stop-order-controls{gap:5px}
#stops-screen #selected-stops .stop-order-controls button{min-height:34px;padding:5px 10px;font-size:11px}
#stops-screen .map-note{display:none}
#stops-screen #plan-save-status{font-size:9px}
@media(min-width:761px){#stops-screen .tour-sidebar{max-height:calc(62vh + 260px);overflow:auto;scrollbar-width:thin;padding-right:3px}.journey-summary{flex:none}}
@media(max-width:1000px) and (min-width:761px){#map-explorer.explore-layout{grid-template-columns:minmax(0,1fr) 286px;padding:0 18px 20px;gap:14px}#stops-screen .areas{gap:4px}#stops-screen .areas button{padding:8px;font-size:10px}.journey-intro-note{display:none}.journey-playback{gap:8px;padding:12px}#play-journey{padding:10px;font-size:10px}#journey-playback-note{display:none}}
@media(max-width:760px){
 .journey-intro{padding:16px 14px 18px}.journey-intro .eyebrow{font-size:8px;letter-spacing:1.5px}.journey-intro h1{font-size:30px;letter-spacing:-1px;margin:7px 0}.journey-intro p{font-size:12px}.journey-intro-note{display:none}
 #map-explorer.explore-layout{display:flex;flex-direction:column;padding:0 10px 20px;gap:14px}.map-column{width:100%;border-radius:18px}
 #stops-screen .map-panel{height:clamp(355px,calc(100svh - 260px),520px)}
 #stops-screen .hero{padding:7px 8px;height:52px}#stops-screen .areas{gap:4px}#stops-screen .areas button{padding:8px 10px;font-size:11px;min-height:38px}
 #stops-screen .place-search{top:56px;left:8px;width:calc(100% - 16px)}#stops-screen .search-row input{font-size:16px;min-width:0}
 #stops-screen .map-viewport{top:104px}#stops-screen .map-controls{top:116px;right:8px}
 #stops-screen .tour-sidebar{width:100%;max-height:none;overflow:visible}
 #stops-screen #enter-map-fullscreen{bottom:24px;left:8px;min-height:38px;font-size:10px;padding:8px 10px}
 .journey-playback{gap:10px;padding:12px}#play-journey{font-size:11px;padding:10px 12px;min-width:122px}#journey-playback-note{font-size:8px;line-height:1.4}#restart-journey{width:32px;height:34px}
 .journey-rail{padding:12px}.journey-summary{padding:17px}.journey-summary h2{font-size:24px;margin:12px 0}.journey-metrics{grid-template-columns:repeat(3,1fr)}
 #stops-screen .place-card>img{height:170px}#stops-screen .place-body h2{font-size:24px}#stops-screen .place-actions{justify-content:space-between}#stops-screen .place-actions .orange-button{flex:none}
 #stops-screen .arrival-note{font-size:10px}
 body.map-fullscreen #map-explorer{position:fixed;inset:0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);gap:0;height:100dvh;overflow:hidden}
 .map-fullscreen .map-column{display:flex;flex:1;min-height:0;flex-direction:column;border:0;border-radius:0}
 body.map-fullscreen #stops-screen .map-panel{flex:1;height:auto;min-height:240px}
 .map-fullscreen .journey-rail,.map-fullscreen .journey-summary,.map-fullscreen .journey-stop-navigation{display:none}
 body.map-fullscreen #stops-screen .tour-sidebar{flex:none;max-height:30dvh;overflow:auto;padding:0 8px}
 body.map-fullscreen #stops-screen .tour-sidebar:not(:has(#place-card:not([hidden]),#custom-editor:not([hidden]))){display:none}
 body.map-fullscreen #stops-screen .place-card{display:grid;grid-template-columns:64px 1fr}
 body.map-fullscreen #stops-screen .place-card>img{width:60px;height:68px;margin:10px 0 0 6px;border-radius:10px}
 body.map-fullscreen #stops-screen .place-body{padding:10px 12px}body.map-fullscreen #stops-screen .place-body h2{font-size:18px}
 .map-fullscreen .journey-playback{padding:8px 12px}
}
@media(max-width:380px){#stops-screen .areas button{font-size:10px;padding:8px}#stops-screen .areas{gap:3px}#play-journey{min-width:0;font-size:10px;padding:10px}#restart-journey{width:28px}.journey-playback{gap:8px}.journey-intro h1{font-size:28px}}
.app:has(#stops-screen:not([hidden])) .steps{display:none}
.app:has(#stops-screen:not([hidden])) .brandbar{padding:16px 28px 12px}
.app:has(#stops-screen:not([hidden])) .feature-nav{padding-bottom:6px}
.journey-intro{padding-top:20px;padding-bottom:22px}
#stops-screen .map-panel{height:clamp(360px,calc(100dvh - 320px),600px)}
.journey-price{margin:0 0 14px;font-size:11px;color:#777580}.journey-price strong{font:750 28px Outfit,sans-serif;color:var(--navy)}.journey-price small{display:block;font-size:9px;margin-top:3px}
@media(min-width:761px){.app:has(#stops-screen:not([hidden])) #booking-bar{display:none}.journey-intro h1{font-size:38px}.journey-intro .eyebrow{font-size:8px}}
@media(max-width:760px){.app:has(#stops-screen:not([hidden])) .brandbar{padding:4px 12px}.journey-intro{padding:14px}.journey-intro h1{font-size:28px}#stops-screen .map-panel{height:clamp(345px,calc(100svh - 275px),520px)}.journey-price{display:none}}
#stops-screen .tour-sidebar>*{flex-shrink:0}
@media(min-width:761px){#stops-screen .tour-sidebar{max-height:calc(clamp(360px,100dvh - 320px,600px) + 210px)}}
@media(max-width:760px){.journey-intro{padding:12px 14px}.journey-intro .eyebrow{display:none}.journey-intro h1{font-size:27px;margin:5px 0}.journey-intro p{font-size:11px}#stops-screen .map-panel{height:clamp(320px,calc(100svh - 350px),450px)}}

@media(max-width:760px){#stops-screen #enter-map-fullscreen{top:116px;bottom:auto}}
