:root{--ink:#183d34;--muted:#667970;--paper:#f7f6f0;--line:#dfe4da;--gold:#f2c76b;--orange:#d77b43}*{box-sizing:border-box}body{margin:0;background:var(--paper);font:15px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink)}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #d09039;outline-offset:3px}a{color:inherit}button{color:var(--ink)}.topbar{height:88px;padding:0 4%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:10px;font-weight:750;font-size:25px;letter-spacing:-1px;text-decoration:none}.brand > .brand-tagline{font-size:9px;letter-spacing:2px;font-weight:600;border-left:1px solid #bbc6bb;padding-left:15px;margin-left:8px;max-width:105px}.topnote{color:var(--muted);font-size:13px}.quiet{border:0;background:none;padding:8px 0;font-size:13px;text-decoration:underline;text-underline-offset:4px}main{display:grid;grid-template-columns:360px minmax(0,1fr);max-width:1700px;margin:auto}.planner{padding:34px 28px 28px;border-right:1px solid var(--line)}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;color:#748174}h1{font-size:43px;line-height:1.1;letter-spacing:-2px;font-weight:650;margin:16px 0}p.intro{color:var(--muted);font-size:14px;max-width:270px;margin-bottom:28px}.field{display:block;font-size:12px;font-weight:650;margin:14px 0 6px}.field span{font-size:11px;color:var(--muted);font-weight:400;margin-left:5px}input{border:1px solid #cdd7cb;background:#fffefa;border-radius:9px;min-height:44px;padding:10px 12px;width:100%;color:var(--ink);min-width:0}input:focus{border-color:var(--ink)}.search-row{display:flex;gap:6px}.search-row button{background:#e7ede3;border:0;border-radius:8px;padding:0 12px}.selected-place{font-size:11px;color:var(--muted);padding:4px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.connector{color:#97a491;padding:4px 0 4px 12px}.connector span{font-size:11px;padding-left:10px}.add{font-size:12px;background:none;border:1px dashed #b2c1af;border-radius:9px;padding:12px;width:100%;margin:8px 0 3px}.primary{width:100%;background:var(--ink);border:0;color:#fff9ed;padding:15px;border-radius:10px;font-weight:650;display:flex;justify-content:space-between;margin-top:22px;box-shadow:0 4px 10px #173f3517}.primary:hover{background:#286050}.stop{border-left:2px solid var(--gold);padding-left:12px;margin:12px 0 18px}.stop-head{display:flex;justify-content:space-between;align-items:center}.stop-head .field{margin:4px 0}.stop-head button{border:0;background:none;font-size:20px}.stop-timing{display:grid;grid-template-columns:1fr 2fr;gap:8px}.stop-timing input{padding:6px;font-size:12px}.stop-timing .field{font-size:10px}.results{display:grid;gap:4px;margin-top:6px}.results button{border:1px solid var(--line);background:white;border-radius:6px;text-align:left;font-size:12px;padding:9px}.notice{background:#fcf0d5;padding:12px;border-radius:8px;font-size:12px}#status{font-size:13px;min-height:20px}.saved-controls{display:flex;justify-content:space-between;gap:6px}.saved-controls button{font-size:11px}.example{margin-top:30px;border-top:1px solid var(--line);padding-top:18px}.example>span{font-size:9px;letter-spacing:1.6px;color:var(--muted)}.example button{position:relative;background:#eaf0e5;border:0;border-radius:10px;padding:15px;margin-top:8px;text-align:left;width:100%;font-weight:650}.example small{font-weight:400;color:var(--muted)}.example b{position:absolute;right:15px;top:21px;font-size:22px}.smallprint{font-size:10px;color:var(--muted);margin-top:20px}.journey{padding:24px;min-width:0}.map-wrap{position:relative;height:535px;border-radius:18px;overflow:hidden;background:#dce9e5;border:1px solid #d0ded4}#map{height:100%;width:100%;z-index:0}.map-label,.map-fit{position:absolute;z-index:500;top:17px;border:0;border-radius:8px;background:#fffef5ee;box-shadow:0 2px 12px #1c39331a;font-size:10px;padding:11px 13px}.map-label{left:18px;letter-spacing:1.3px;font-weight:650}.map-fit{right:18px}.dot{display:inline-block;border-radius:100%;width:6px;height:6px;background:#548c64;margin-right:6px}.map-empty{position:absolute;z-index:400;left:50%;top:50%;transform:translate(-50%,-50%);width:315px;text-align:center;background:#fffef3ed;border:1px solid #ffffff;border-radius:16px;padding:22px;box-shadow:0 20px 60px #18423715;pointer-events:none}.weather-orb{font-size:47px;color:#d29131;line-height:1}.map-empty h2{font-size:25px;line-height:1.25;letter-spacing:-.6px}.map-empty p{color:var(--muted);font-size:12px}.map-empty>span{font-size:9px;letter-spacing:2px;color:#75816f}.welcome{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:30px 8px}.welcome b{font-size:11px;font-weight:500;color:#a08957}.welcome h3{font-size:14px;margin:6px 0}.welcome p{color:var(--muted);font-size:12px;margin:0}.result-heading{display:flex;align-items:center;justify-content:space-between;margin-top:28px}.result-heading h2{font-size:25px;letter-spacing:-.8px;margin:8px 0 20px}.stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:12px;background:#fffdf7}.stat{padding:15px;border-right:1px solid var(--line)}.stat:last-child{border:0}.stat span{display:block;font-size:10px;color:var(--muted);margin-bottom:4px}.stat b{font-size:19px;font-weight:600}.summary{padding:12px 16px;border-radius:8px;background:#eaf0e4;font-size:13px}.timeline-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.timeline-heading h3{font-size:17px}.timeline-heading span{font-size:11px;color:var(--muted)}.timeline{display:grid;gap:8px}.point{display:grid;grid-template-columns:80px 1fr 60px 70px 90px;gap:12px;align-items:center;text-align:left;border:1px solid var(--line);background:#fffdf8;border-radius:10px;padding:13px 16px;width:100%}.point:hover,.point.active{border-color:#659174;background:#eef3e8}.point small{display:block;font-size:10px;color:var(--muted);font-weight:400}.point .place{font-size:13px;font-weight:650}.point .icon{font-size:25px;text-align:center}.point .temp{font-size:21px;font-weight:600}.point .extra{font-size:11px}.point .flag{color:#a75b25}.point.stop-row{background:#f7eedb}.marker{border:0;background:none}.marker>div{background:#fffef9;border:2px solid #214f3f;border-radius:18px;box-shadow:0 3px 9px #183d3433;white-space:nowrap;min-width:64px;padding:3px 8px;text-align:center;font:600 12px system-ui;color:var(--ink)}.marker.stop-marker>div{background:var(--gold)}.leaflet-popup-content{font-family:system-ui;line-height:1.6}.disclaimer{font-size:11px;color:var(--muted);padding:10px 0}footer{border-top:1px solid var(--line);padding:22px 4%;display:flex;justify-content:space-between;gap:25px;font-size:10px;color:var(--muted)}dialog{border:0;border-radius:18px;padding:35px;max-width:620px;width:90%;color:var(--ink);background:var(--paper)}dialog::backdrop{background:#13352dcc}dialog p{font-size:14px;color:var(--muted)}dialog h2{line-height:1.2}.close{float:right;border:0;background:none;font-size:25px}[hidden]{display:none!important}@media(min-width:1500px){main{grid-template-columns:390px 1fr}.planner{padding:40px}.map-wrap{height:610px}}@media(max-width:1050px){.brand > .brand-tagline,.topnote{display:none}main{grid-template-columns:310px 1fr}.planner{padding:26px 20px}.journey{padding:18px}.point{grid-template-columns:60px 1fr 35px 50px;gap:7px;padding:12px}.point .extra{grid-column:2/5}.stats{grid-template-columns:repeat(2,1fr)}.stat:nth-child(2){border:0}.map-wrap{height:480px}.welcome{gap:12px}.timeline-heading span{display:none}}@media(max-width:700px){.topbar{height:70px;padding:0 20px}.brand{font-size:23px}main{display:block}.planner{border-right:0;padding:26px 22px}h1{font-size:38px}h1 br{display:none}.intro{max-width:none!important}.example{margin-top:18px}.journey{padding:0 14px 20px}.map-wrap{height:440px}.welcome{grid-template-columns:1fr;gap:15px;padding:24px 8px}.welcome div{padding-left:35px;position:relative}.welcome b{position:absolute;left:0;top:9px}.result-heading{padding:0 5px}.result-heading h2{font-size:23px}.point{grid-template-columns:58px 1fr 35px 55px}.map-label{font-size:8px;left:10px}.map-fit{right:10px;font-size:9px}footer{display:block;padding:20px}footer>span{display:block;margin-bottom:12px}.map-empty{width:280px}.timeline-heading{padding:0 5px}}@media(prefers-reduced-motion:no-preference){button{transition:background .18s,border .18s}.point{animation:arrive .25s ease-out}@keyframes arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}}

#language{font:inherit;font-size:12px;color:var(--ink);background:#fffdf7;border:1px solid var(--line);border-radius:8px;padding:8px;max-width:120px}.leaflet-container{font-family:system-ui}
@media(max-width:700px){.topbar{gap:10px}.topbar .quiet{font-size:10px}#language{font-size:11px;max-width:92px}.brand{font-size:20px}.brand img{width:30px;height:30px}}
.stop-timing{grid-template-columns:1fr}.stop-timing .field{font-size:12px}.stop-type{display:block;width:100%;font:inherit;color:var(--ink);background:#fffefa;border:1px solid #cdd7cb;border-radius:9px;padding:10px;margin-top:4px}.stop-type:focus-visible{outline:3px solid #d09039;outline-offset:3px}.stop-hint{font-size:11px;color:var(--muted);margin:6px 0}

.share-button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;margin:12px 0;padding:11px 16px;border:1px solid #b2c1af;border-radius:9px;background:#eaf0e5;font-weight:650}.share-button:hover{background:#dfe9d8}.share-button svg{flex-shrink:0}

.privacy-option{display:flex;gap:12px;align-items:flex-start;margin:18px 0;font-size:14px}.privacy-option input{width:20px;min-height:20px;flex-shrink:0;margin-top:3px}.privacy-actions{display:flex;flex-wrap:wrap;gap:10px}.privacy-actions button{flex:1;min-width:110px;padding:12px;border:1px solid #b2c1af;border-radius:8px;background:#eaf0e5;font:inherit}#privacy{max-height:90vh;overflow:auto}

.share-link-row{display:flex;align-items:stretch;gap:8px}.share-link-row input{flex:1;cursor:text}.share-link-row button{flex-shrink:0;border:1px solid #b2c1af;border-radius:9px;background:#eaf0e5;padding:10px 12px;font-size:12px;font-weight:650}#copy-status{margin:6px 0;min-height:1.5em}
.share-link-row button{min-width:112px}.share-link-row button:hover{background:#d6e5cd;border-color:#659174;box-shadow:0 2px 6px #183d3426}.share-link-row button:active{transform:translateY(1px);background:#bdd5b1;box-shadow:inset 0 2px 4px #183d3433}.share-link-row button.copied{background:var(--ink);border-color:var(--ink);color:#fff9ed}

.seo-info{max-width:1120px;margin:36px auto;padding:0 24px;color:var(--ink,#173f35);font-size:15px;line-height:1.65}.seo-info h2{font-size:23px}.seo-info details,.seo-game{margin:12px 0}.seo-info summary,.seo-game summary{cursor:pointer;font-weight:600}.seo-game{max-width:760px;text-align:left;font-size:14px}.seo-game p{font-size:14px!important}

#traffic{padding:18px 20px;margin:18px 0;border:1px solid #c4cec3;border-radius:14px;background:#fffdf7;color:#173f35}#traffic h3{margin:0 0 10px}#traffic p{font-size:13px;line-height:1.6;overflow-wrap:anywhere}#traffic a{color:inherit;text-decoration:underline}#traffic details{padding:12px 0;border-top:1px solid #d5dcd2}#traffic summary{cursor:pointer;font-size:15px;font-weight:600;overflow-wrap:anywhere}#traffic button{margin-top:8px}.traffic-marker{background:#fffdf7;border:2px solid #9c561d;border-radius:50%;text-align:center;line-height:26px;font-size:19px;box-shadow:0 2px 5px #0003}

.weather-insights,.departure-comparison{margin:20px 0;padding:20px;border:1px solid var(--line);border-radius:14px;background:#fffdf7}.weather-insights h3,.departure-comparison h3{margin:0 0 12px;font-size:18px}.weather-insight-cards,.departure-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.weather-insight{display:flex;flex-direction:column;gap:8px;text-align:left;background:#edf2e7;border:1px solid #bfcdb8;border-radius:10px;padding:15px;min-width:0}.weather-insight:hover{background:#e0ead9}.weather-insight strong{font-size:13px;overflow-wrap:anywhere}.weather-insight span{font-size:18px}.weather-insight small{font-size:11px}.departure-comparison p{font-size:13px}.departure-comparison button{border:1px solid #254d3d;border-radius:9px;padding:12px;background:#edf2e7;min-height:44px}.departure-comparison button:hover{background:#dce9d4}.departure-options{margin-top:18px}.departure-options article{border:1px solid var(--line);border-radius:12px;padding:16px;min-width:0;overflow-wrap:anywhere}.departure-options h4{margin:0 0 12px}.departure-options dl{font-size:12px;display:grid;grid-template-columns:1fr auto;gap:8px}.departure-options dt{color:var(--muted)}.departure-options dd{margin:0;text-align:right}.departure-options button{width:100%;margin-top:10px}.comparison-note{color:var(--muted);font-size:12px!important}.mobile-trip-nav{display:none}#map-expand{position:absolute;bottom:18px;left:18px;z-index:500;padding:12px;background:#fffdf7;border:1px solid #a9bbaa;border-radius:10px;box-shadow:0 2px 10px #0002;font-size:13px}body.map-is-expanded{overflow:hidden}.map-wrap.map-expanded{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:9500!important;border-radius:0!important;margin:0!important}.map-expanded #map-expand{bottom:max(18px,env(safe-area-inset-bottom))}.map-expanded .leaflet-control-zoom{margin-bottom:max(18px,env(safe-area-inset-bottom))}#map-trip-status{display:none}.map-expanded #map-trip-status{display:block;position:absolute;bottom:80px;left:18px;right:18px;max-width:500px;z-index:500;background:#fffdf7ed;padding:10px 14px;border-radius:10px;font-size:12px;pointer-events:none}.map-expanded .map-empty{display:none}@media(max-width:1050px){.weather-insight-cards,.departure-options{grid-template-columns:1fr}.weather-insight{display:grid;grid-template-columns:1fr auto}.weather-insight small{grid-column:1/-1}}@media(max-width:700px){.mobile-trip-nav{display:flex;position:sticky;top:0;z-index:600;gap:8px;background:var(--paper);padding:8px 0;margin-bottom:10px}.mobile-trip-nav button{flex:1;min-height:44px;border:1px solid #afc0ac;background:#fffdf7;border-radius:10px}.map-wrap,#result{scroll-margin-top:68px}.weather-insights,.departure-comparison{padding:15px}.map-expanded .map-label{display:none}.map-expanded #map-expand{left:12px}.map-expanded #map-trip-status{left:12px;right:12px}}

/* Editable stops, later departures and multi-day trips */
.stop-actions{display:flex;gap:4px}.stop-actions button{min-width:36px;min-height:36px;border:1px solid var(--line);border-radius:7px;background:#fffdf8;font-size:18px}.stop-actions button:hover:not(:disabled){background:#e7ede3}.stop-actions button:disabled{cursor:default}.departure-adjust{border:0;padding:0;margin:16px 0 0;min-width:0}.departure-adjust legend{font-size:12px;font-weight:650;margin-bottom:6px}.departure-buttons{display:flex;gap:8px}.departure-buttons button{flex:1;min-height:44px;border:1px solid #b2c1af;border-radius:8px;background:#fffdf8}.departure-buttons button:hover:not(:disabled){background:#e7ede3}.departure-adjust .smallprint{margin:7px 0 0}.trip-day{min-width:0;margin:8px 0 18px;scroll-margin-top:72px}.trip-day h4{font-size:18px;margin:0}.trip-day h4::first-letter{text-transform:uppercase}.day-route{font-weight:600;margin:4px 0;overflow-wrap:anywhere}.day-weather,.day-note{font-size:12px;color:var(--muted);margin:5px 0 12px}.day-points{display:grid;gap:8px}

/* Daylight and restrained planning notices */
.journey-light{border:1px solid var(--line);border-radius:12px;padding:18px;margin:20px 0;background:#fffdf7}.journey-light h3{margin:0 0 10px}.light-legend{display:flex;gap:10px;flex-wrap:wrap;font-size:12px}.light-key{padding:3px 9px;border-radius:5px}.light-key.day,.light-band.day{background:#f4d379;color:#4b3d12}.light-key.twilight,.light-band.twilight{background:#ba91b7;color:#2b1733}.light-key.night,.light-band.night{background:#273b5e;color:#fff}.light-row{margin:18px 0}.light-row h4{margin:5px 0;font-size:13px;overflow-wrap:anywhere}.light-stop{padding-left:12px;border-left:2px dashed #adb8ad}.light-stop h4{color:var(--muted)}.light-bar{display:flex;height:20px;border-radius:6px;overflow:hidden;background:#ecece5}.light-band{flex-basis:0;min-width:0}.light-bounds{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted);margin-top:4px}.light-bounds span:last-child{text-align:right}.sun-events{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.sun-event{background:#fbf5e7;border:1px solid #d8c69f;border-radius:7px;padding:8px 10px;font-size:12px;min-height:40px;text-align:left;max-width:100%}.sun-event:hover{background:#f6e5be}.sun-events details{width:100%}.sun-events details .sun-event{margin:5px 5px 0 0}.light-note{font-size:11px;color:var(--muted);line-height:1.5}.journey-notices{margin:18px 0;padding:12px 15px;background:#f7eedb;border:1px solid #e2d4b8;border-radius:10px}.journey-notices summary{cursor:pointer;font-size:14px;font-weight:650}.journey-notices ul{padding-left:20px;font-size:13px}.journey-notices li+li{margin-top:8px}.journey-light>p{font-size:12px}@media(max-width:450px){.journey-light{padding:14px}.light-legend{gap:5px}.light-key{padding:3px 6px}}

.journey-light,.journey-notices{scroll-margin-top:72px}

#status.calculating{display:flex;align-items:center;gap:.65rem;min-height:2.5rem;padding:.65rem .8rem;border:1px solid var(--line);border-radius:12px;background:var(--surface);font-weight:600}
#status.calculating::before{content:'';flex:0 0 1rem;width:1rem;height:1rem;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:trip-spin .9s linear infinite}
@keyframes trip-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#status.calculating::before{animation:none;border-right-color:currentColor;border-style:dotted}}

footer{flex-wrap:wrap;align-items:flex-start;gap:12px 25px}footer .footer-links{display:flex;flex-wrap:wrap;align-items:center;gap:0 22px;flex-basis:100%;margin:0 0 4px}footer .footer-links>a,footer .footer-links>button,footer #analytics-settings{display:inline-flex;align-items:center;justify-content:flex-start;min-height:44px;max-width:100%;margin:0;padding:8px 0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;font-size:12px;line-height:1.5;text-align:left;text-decoration:underline;text-underline-offset:4px}footer .footer-links>a:hover,footer .footer-links>button:hover{color:var(--ink);text-decoration-thickness:2px}footer>span{margin:0}@media(max-width:700px){footer{display:flex;flex-direction:column;gap:12px}footer .footer-links{flex-basis:auto;gap:0 20px;margin:0}footer>span{margin:0}}

.result-section>summary{cursor:pointer;min-height:44px;padding:8px 0;color:var(--ink);font-weight:650}.result-section>summary h3{display:inline;font:inherit;margin:0}.result-section>summary>span{display:inline-block;margin-left:10px;padding:1px 9px;border-radius:20px;background:var(--surface-hover,#e7ede3);font-size:12px}.result-section>summary:focus-visible{outline:3px solid #d09039;outline-offset:4px}.result-section:not([open]){padding-top:10px;padding-bottom:10px}.result-section[open]>summary{margin-bottom:12px}
