@font-face{font-family:Pelak;src:url('../../Fonts/PelakFA-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Pelak;src:url('../../Fonts/PelakFA-Bold.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:Pelak;src:url('../../Fonts/PelakFA-Black.woff2') format('woff2');font-weight:900;font-display:swap}
:root{--ink:#142e28;--forest:#195548;--gold:#f4cd75;--warm:#fffef9;--muted:#566c62;--line:#dce3d9;--side:clamp(14px,2.2vw,36px);--safe-b:env(safe-area-inset-bottom,0px);--safe-t:env(safe-area-inset-top,0px);font-family:Pelak,Tahoma,sans-serif;color:var(--ink);background:#dbe4d7}
*{box-sizing:border-box}
html,body,form{margin:0;width:100%;height:100%;overflow:hidden}
button,a,select{font:inherit;-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
button{cursor:pointer;color:inherit;border:0}button:disabled{cursor:wait}
a{color:inherit;text-decoration:none}h1,h2,p{margin:0}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #a36a18;outline-offset:3px}
[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#studio{position:fixed;width:100%;top:0;right:0;bottom:0;left:0;height:100%;height:100dvh;isolation:isolate;overflow:hidden;background:#e8e9dd}
#map,#mapPoster{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}
#mapPoster{object-fit:cover;object-position:49% 39%;user-select:none;pointer-events:none}
#map{z-index:1;direction:ltr;background:transparent}
#map.initialized{background:#e5e8dc}
#map:focus-visible{outline:3px solid #397763;outline-offset:-3px}
.map-header{position:absolute;top:calc(var(--safe-t) + 17px);right:calc(var(--side) + env(safe-area-inset-right,0px));left:calc(var(--side) + env(safe-area-inset-left,0px));display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none;z-index:10}
.brand,.map-tools,.map-controls,.map-caption,.restore,.map-pick-hint{box-shadow:0 7px 25px #1d3c301a,0 1px 3px #17352914}
.brand,.map-tools,.map-controls{background:var(--warm);border:1px solid #d6dfd4;border-radius:18px}
.brand{display:flex;align-items:center;gap:8px;padding:5px 9px 5px 17px;pointer-events:auto}
.brand img{object-fit:contain}.brand span{display:grid}.brand strong{font-size:17px;font-weight:900;line-height:1.45}.brand small{font-size:10px;color:var(--muted)}
.map-tools{display:flex;align-items:center;padding:4px;gap:4px;pointer-events:auto}
.map-tools>*{background:transparent;display:inline-flex;gap:8px;align-items:center;justify-content:center;min-width:43px;height:43px;border-radius:13px}
.map-tools .support{padding:0 10px;font-size:13px}.map-tools button{background:#eaf1e7;font-size:17px}
.map-controls{position:absolute;top:calc(var(--safe-t) + 88px);left:calc(var(--side) + env(safe-area-inset-left,0px));z-index:8;display:grid;overflow:hidden;border-radius:15px}
.map-controls button{width:43px;height:43px;background:var(--warm);font-size:15px}
.map-controls button+button{border-top:1px solid var(--line)}.map-controls button:disabled{color:#a0aca4;cursor:default}
.map-caption{position:absolute;left:calc(var(--side) + env(safe-area-inset-left,0px));bottom:calc(var(--safe-b) + 27px);z-index:6;border-radius:10px;background:#fffef8ec;font-size:11px;padding:5px 9px;display:flex;align-items:center;gap:8px;max-width:calc(100% - 30px)}
.map-caption button{font-weight:700;color:var(--forest);background:none;text-decoration:underline;padding:3px}
.map-pick-hint,.toast{position:absolute;top:calc(var(--safe-t) + 24px);left:50%;transform:translateX(-50%);z-index:12;max-width:min(470px,70%);border-radius:14px;text-align:center;padding:10px 18px;background:var(--forest);color:white;font-size:13px;line-height:1.65}
.toast{z-index:25;pointer-events:none;background:#233e34;box-shadow:0 5px 21px #132b2830}.toast.bad{background:#69362e}
.trip-sheet{--edge:20px;position:absolute;z-index:9;right:calc(var(--side) + env(safe-area-inset-right,0px));bottom:calc(var(--safe-b) + 19px);width:min(413px,calc(100% - 30px));max-height:calc(100% - var(--safe-t) - var(--safe-b) - 95px);height:67%;display:flex;flex-direction:column;border:1px solid #cfdbcc;border-radius:26px;background:var(--warm);box-shadow:0 14px 52px #16362b32,0 1px 5px #18342c19;overflow:hidden;transition:height .24s cubic-bezier(.2,.75,.25,1)}
.trip-sheet.dragging{transition:none;user-select:none}
.sheet-grip{flex:none;width:100%;min-height:29px;padding:9px var(--edge);display:grid;place-items:center;gap:4px;background:var(--warm);border:0;touch-action:none;cursor:ns-resize;user-select:none}
.grip-bar{height:5px;width:42px;border-radius:8px;background:#a8b7ac}.sheet-grip:focus-visible{outline-offset:-4px}
.peek-summary{display:none;width:100%;align-items:center;gap:9px;font-size:14px}.peek-summary b{flex:1;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.peek-summary i{color:var(--forest)}
.trip-sheet[data-snap=peek]:not(.dragging) .peek-summary{display:flex}.trip-sheet[data-snap=peek]:not(.dragging) .sheet-grip{flex:1}
.sheet-scroll{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c2cdbf transparent;scroll-padding-block:12px;padding:0 var(--edge) 4px}
.sheet-cover{margin:0;position:relative;isolation:isolate;overflow:hidden;min-height:112px;padding:15px 17px;border-radius:17px;background:#173a32;color:white;display:flex;align-items:center}
.sheet-cover img{position:absolute;top:0;bottom:0;left:0;width:61%;height:100%;object-fit:cover;object-position:46% 60%;z-index:-2}
.sheet-cover:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:linear-gradient(to left,#163c34 26%,#163c34ed 42%,#163c3408 73%)}
h1{font-size:clamp(23px,2.3vw,30px);font-weight:900;line-height:1.38}h1 em{font-style:normal;color:#f6d995}.sheet-cover p{margin-top:4px;color:#eff2df;font-size:11px}
.route-fields{padding:14px 0 0}.stops{position:relative;border:1px solid var(--line);border-radius:16px;background:#f6f8f1}
.place-row{position:relative;display:grid;grid-template-columns:14px minmax(0,1fr) 42px;gap:10px;align-items:center;padding:5px 12px 5px 8px;min-height:58px}
.place-row:last-child:before{content:"";position:absolute;top:0;right:34px;left:52px;height:1px;background:var(--line)}
.origin-dot,.destination-dot{position:relative;z-index:1;margin:auto;width:12px;height:12px;box-shadow:0 0 0 3px #f6f8f1}
.origin-dot{border:3px solid #26705c;border-radius:50%}.destination-dot{background:#b95b28;border-radius:3px;width:10px;height:10px}
.stops:before{content:"";position:absolute;right:18px;top:32px;bottom:32px;border-right:1px dashed #8f9f8e}
.city-field{min-width:0}.city-field label{display:block;font-size:11px;color:#627568;line-height:1.4}
.city-field select:not(.tomselected),.city-field .tsx-city-picker .ts-control{width:100%;min-height:28px!important;height:28px!important;border:0!important;box-shadow:none!important;border-radius:4px!important;background:transparent!important;padding:0!important;color:var(--ink)!important;font-weight:700!important;font-family:inherit!important;font-size:15px!important;line-height:1.55}
.city-field select:not(.tomselected){appearance:none}.city-field .ts-wrapper{padding:0!important}
.city-field .ts-wrapper.single .ts-control:after{display:none}
.city-field .ts-control input::placeholder{color:#586c60}
.pick-point,.reset{background:transparent;color:#476658;border:1px solid transparent;border-radius:11px;min-width:40px;height:40px}
.pick-point[aria-pressed=true]{color:var(--forest);background:#e2eddf}.swap{position:absolute;z-index:2;top:50%;left:54px;transform:translateY(-50%);width:31px;height:27px;border:1px solid #d7e1d3;border-radius:9px;background:var(--warm);font-size:11px;color:#3d6052}.swap i{transform:rotate(90deg)}
.analyze-row{display:flex;gap:7px;margin-top:10px}.primary{flex:1;min-height:46px;border-radius:12px;padding:8px 14px;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:700;font-size:14px;background:var(--forest);color:white}.primary:hover{background:#10473c}.primary:disabled{opacity:.82}.reset{width:45px;height:auto;background:#eff3e9;border:1px solid var(--line)}
.work-progress{display:flex;gap:9px;align-items:center;margin-top:8px;font-size:11px;color:var(--muted)}progress{accent-color:var(--forest);height:5px;min-width:30px;flex:1}
.result,.popular{margin-top:17px;border-top:1px solid var(--line);padding-top:14px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.section-head h2{font-size:17px;font-weight:900;line-height:1.6}.section-head small,.sheet-footer{font-size:11px;color:var(--muted)}.section-head button{background:#edf3e9;border-radius:9px;font-size:12px;padding:6px 9px;color:var(--forest)}
.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#edf3e8;border-radius:14px;padding:10px 0}
.metrics div{display:grid;gap:4px;text-align:center;align-content:start;padding:0 4px}.metrics div+div{border-inline-start:1px solid #d5dfd2}
.metrics i{color:#54816d;font-size:14px}.metrics small,.advice small{color:#506454;font-size:11px}.metrics strong{font-size:13px}
.advice{display:flex;align-items:flex-start;gap:10px;padding:14px 1px}.advice>i{border:1px solid #eeddb6;background:#fcf0ce;color:#815920;border-radius:12px;padding:11px}.advice strong,.advice small{display:block}.advice strong{font-size:16px}.advice p{font-size:12px;line-height:1.75;color:var(--muted);margin-top:3px}.advice p:empty{display:none}
.price-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 7px;border-bottom:1px solid var(--line)}.price-item strong,.price-item small{display:block}.price-item strong,.price-item b{font-size:12px}.price-item small{color:var(--muted);font-size:10px}.price-item.suggested{border-inline-start:3px solid #a78131;background:#faf3df}.price-item b{white-space:nowrap}
.mountain-note{font-size:11px;color:var(--muted);line-height:1.75;margin:12px 0}.mountain-note i{margin-inline-end:5px}
.popular-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.popular-grid button{position:relative;isolation:isolate;display:flex;align-items:flex-end;justify-content:space-between;gap:6px;min-height:68px;padding:9px 11px;border-radius:12px;color:white;overflow:hidden;background:var(--forest)}.popular-grid img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;z-index:-2}.popular-grid button:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to top,#10251ee8,#152a1735 80%);z-index:-1}.popular-grid b{font-size:14px}.popular-grid i{font-size:12px;margin-bottom:3px}
.sheet-footer{display:flex;justify-content:center;flex-wrap:wrap;gap:16px;padding:15px 0 9px}.sheet-footer a:hover{text-decoration:underline}
.restore{position:absolute;z-index:11;bottom:calc(var(--safe-b) + 26px);right:var(--side);display:inline-flex;align-items:center;gap:10px;padding:11px 17px;border-radius:20px;font-weight:700;background:var(--forest);color:white}
#studio.full .brand,#studio.full .support{display:none}
#studio.full .map-header{justify-content:flex-end}
.travel-pin{background:transparent!important;border:none!important}.travel-pin b{display:grid;place-items:center;width:31px;height:31px;border:3px solid #fff;border-radius:50% 50% 50% 8px;transform:rotate(-45deg);font:900 12px Pelak,sans-serif;color:white;background:#17654f;box-shadow:0 3px 7px #12372d40}.travel-pin b.end{background:#ac5629}.travel-pin i{transform:rotate(45deg);font-size:11px}
.leaflet-container{font-family:Pelak,Tahoma,sans-serif}.leaflet-control-attribution{font-size:9px!important}.no-js{position:absolute;z-index:20;top:15%;left:15%;right:15%;background:white;padding:15px;border-radius:14px;text-align:center}
@media(max-width:680px){
 :root{--side:12px}.map-header{top:calc(var(--safe-t) + 10px)}.brand{border-radius:15px;padding:3px 6px 3px 12px}.brand img{width:37px;height:37px}.brand strong{font-size:15px}.brand small{font-size:9px}
 .map-tools{border-radius:14px;padding:2px;gap:1px}.map-tools>*{height:38px;min-width:38px}.map-tools .support{padding:0}.support b{display:none}
 .map-controls{top:calc(var(--safe-t) + 66px);border-radius:12px}.map-controls button{width:38px;height:38px}
 .trip-sheet{--edge:16px;left:0;right:0;bottom:0;width:100%;max-height:calc(100% - var(--safe-t) - 62px);height:46%;border-radius:24px 24px 0 0;border-bottom:0;box-shadow:0 -4px 28px #1c362827;padding-bottom:var(--safe-b)}
 .sheet-grip{min-height:26px}.sheet-cover{min-height:92px;padding:11px 15px}.sheet-cover h1{font-size:23px;line-height:1.25}.sheet-cover p{font-size:10px;margin-top:3px}.route-fields{padding-top:10px}
 .map-caption{top:calc(var(--safe-t) + 59px);right:var(--side);left:auto;bottom:auto;padding:2px 6px;font-size:10px}
 .map-pick-hint,.toast{top:calc(var(--safe-t) + 96px);max-width:calc(100% - 114px);width:max-content;font-size:12px;padding:7px 11px}
 .restore{bottom:calc(var(--safe-b) + 20px)}.trip-sheet[data-snap=expanded]~.toast{top:calc(var(--safe-t) + 11px)}
}
@media(max-height:490px) and (orientation:landscape){.trip-sheet{width:min(380px,58vw);left:auto;--edge:12px;right:10px;bottom:0;max-height:calc(100% - 54px);border-radius:16px}.brand small{display:none}.sheet-cover{min-height:73px}.sheet-cover h1{font-size:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
