#drawer-view-tourism{position:relative;background:#fff;color:#292929}
.tm-planner-section{margin:15px 0;padding:12px;border:1px solid var(--palette-line,#e7e7e4);border-radius:14px;background:#fff}.tm-planner-section>summary,.tm-plan-timeline>summary{cursor:pointer;font-size:12px;font-weight:600;line-height:1.6}.tm-planner-section>summary small{margin-left:6px;color:#8c8c8c}.tm-planner-section>p{font-size:11px;line-height:1.7;color:#787878}.tm-planner-section .tm-journey-fields{margin-top:13px}.tm-city-order{list-style:none;padding:0;margin:12px 0;display:grid;gap:7px}.tm-city-order li{display:flex;align-items:center;gap:7px;padding:7px;background:#f8f8f8;border-radius:10px;font-size:12px}.tm-city-order li>b{color:#e8560c;font-size:11px}.tm-city-order li>span{flex:1;min-width:0}.tm-city-order button{flex:none;border:0;border-radius:7px;background:#fff;width:28px;height:30px}.tm-city-add{display:flex;gap:7px}.tm-city-add select{flex:1;min-width:0}.tm-city-add button{border:1px solid var(--palette-line,#e7e7e4);background:#f6f6f6;color:#cc4b0b;border-radius:11px;padding:7px 10px;font-size:11px}.tm-stop-break{margin-top:5px;font-size:10px;line-height:1.6}.tm-stop-break summary{cursor:pointer;color:#cc4b0b}.tm-break-fields{display:grid;gap:7px;margin-top:8px}.tm-break-fields label{display:grid;gap:4px;color:#757575;font-size:10px}#drawer-view-tourism .tm-stop-break select{max-width:100%;width:100%;height:36px;min-height:36px;font-size:11px;padding:5px 28px 5px 8px;background-position:right 8px center}.tm-break-fields>small{font-size:10px;line-height:1.6}.tm-plan-overview{margin:18px 0;padding:16px;border:1px solid var(--palette-line,#e7e7e4);border-radius:17px;background:linear-gradient(145deg,#f9f9f9,#f6fbf8)}.tm-plan-total{display:flex;align-items:center;justify-content:space-between;gap:12px}.tm-plan-total small{display:block;color:#797979;font-size:10px;line-height:1.5}.tm-plan-total strong{display:block;margin-top:5px;color:#363636;font-size:25px;font-weight:500}.tm-plan-total>span{max-width:45%;font-size:11px;line-height:1.6;color:#cc4b0b;text-align:right}.tm-plan-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:15px;padding-top:13px;border-top:1px solid var(--palette-line,#e7e7e4)}.tm-plan-metrics>div{display:flex;flex-direction:column;gap:4px}.tm-plan-metrics span{font-size:10px;color:#7c7c7c}.tm-plan-metrics b{font-size:13px;color:#742b06;font-weight:500}.tm-plan-overview>p{font-size:11px;line-height:1.7;color:#6d6d6d}.tm-plan-timeline{margin-top:12px;padding-top:10px;border-top:1px solid var(--palette-line,#e7e7e4)}.tm-plan-timeline ol{list-style:none;display:grid;gap:12px;padding:8px 0 0}.tm-plan-timeline li{display:flex;gap:12px;align-items:flex-start}.tm-plan-timeline li>span{flex:none;font-size:11px;color:#cc4b0b;width:74px;line-height:1.6}.tm-plan-timeline b{font-size:12px;font-weight:500;line-height:1.5}.tm-plan-timeline small{display:block;font-size:10px;color:#818181;line-height:1.6}.tm-plan-passport{display:grid;gap:8px}.tm-plan-passport>div{display:flex;justify-content:space-between;gap:8px;font-size:10px;line-height:1.6;border-bottom:1px solid #f1f1f1;padding-bottom:5px}.tm-plan-passport dd{margin:0;text-align:right;color:#757575}.tm-plan-surfaces{padding-left:16px;font-size:11px;line-height:1.8;color:#757575}.tm-tour-food-pin{background:#e8560c!important}body.dark-theme .tm-planner-section{background:#252525;border-color:#4b4b4b}body.dark-theme .tm-city-order li{background:#2c2c2c}body.dark-theme .tm-city-order button{background:#444444;color:#f1f1f1}body.dark-theme .tm-plan-overview{background:linear-gradient(145deg,#343434,#203a35);border-color:#535353}body.dark-theme .tm-plan-total strong,body.dark-theme .tm-plan-metrics b{color:#ebebeb}body.dark-theme .tm-plan-overview :is(small,p),body.dark-theme .tm-planner-section>p,body.dark-theme .tm-plan-passport dd,body.dark-theme .tm-plan-surfaces{color:#bcbcbc}@media(max-width:420px){.tm-plan-total{align-items:flex-start}.tm-plan-total strong{font-size:22px}.tm-plan-passport>div{display:block}.tm-plan-passport dd{text-align:left;margin-top:3px}.tm-city-order li>span{font-size:11px}.tm-plan-timeline li>span{width:67px}}
@media(max-width:768px){#drawer-view-tourism .tm-integrated-results-head>.tm-tour-entry{flex:none;margin:0 0 0 auto;padding:7px 10px;min-height:32px;border:1px solid var(--palette-line,#e7e7e4);border-radius:10px;background:#f6f6f6;color:#cc4b0b;font-size:11px;white-space:nowrap}#drawer-view-tourism .tm-integrated-results-head>.tm-tour-entry:focus-visible{outline:2px solid var(--palette-ink,#292928);outline-offset:2px}body.dark-theme #drawer-view-tourism .tm-integrated-results-head>.tm-tour-entry{background:#3a3a3a;color:#fbcab2;border-color:#535353}}
.tm-sheet-handle{display:none}
@media(max-width:768px){body.tourism-active .desktop-left-column #drawer-view-tourism.active:not(.tm-journey-open){transform:translate3d(0,var(--tm-sheet-offset,0px),0)!important;transition:transform .22s ease!important;will-change:transform}body.tourism-active .desktop-left-column #drawer-view-tourism.active.tm-sheet-dragging{transition:none!important}.tm-sheet-handle{display:grid;place-items:center;flex:0 0 30px;width:100%;height:30px;min-height:30px;padding:0;border:0;border-radius:20px 20px 0 0;background:#fbfbfb;touch-action:none!important;cursor:grab;user-select:none;-webkit-user-select:none}.tm-sheet-handle .tm-sheet-grip{width:44px;height:4px;border-radius:4px;background:#a2a2a2}.tm-sheet-handle:active{cursor:grabbing}.tm-sheet-handle:focus-visible{outline:2px solid var(--palette-ink,#292928);outline-offset:-4px}.tm-journey-open .tm-sheet-handle{display:none}body.dark-theme .tm-sheet-handle{background:#2c2c2c}body.dark-theme .tm-sheet-handle .tm-sheet-grip{background:#9f9f9f}}@media(prefers-reduced-motion:reduce){body.tourism-active .desktop-left-column #drawer-view-tourism.active:not(.tm-journey-open){transition:none!important}}
body.tourism-initializing .mapboxgl-canvas-container,body.tourism-initializing #drawer-main-header{visibility:hidden}
.tm-collapsed-route-controls{position:fixed;z-index:204800;left:50%;bottom:84px;transform:translateX(-50%);display:flex;gap:6px;max-width:calc(100vw - 24px);padding:6px;border:1px solid var(--palette-line,#e7e7e4);border-radius:16px;background:#fff;box-shadow:0 5px 24px #36363629}.tm-collapsed-route-controls button{min-height:42px;padding:9px 13px;border:0;border-radius:11px;background:#f5f5f5;color:#cc4b0b;font:600 12px/1.4 var(--font-firago,sans-serif);white-space:nowrap;cursor:pointer}.tm-collapsed-route-controls button+button{background:#f5f5f5;color:#636363}.tm-collapsed-route-controls button:focus-visible{outline:2px solid var(--palette-ink,#292928);outline-offset:2px}body.dark-theme .tm-collapsed-route-controls{background:#252525;border-color:#4b4b4b}body.dark-theme .tm-collapsed-route-controls button{background:#3a3a3a;color:#fbcab2}body.dark-theme .tm-collapsed-route-controls button+button{background:#353535;color:#fddfd1}@media(max-width:768px){.tm-collapsed-route-controls{bottom:max(14px,env(safe-area-inset-bottom,0px))}.tm-collapsed-route-controls button{padding:10px 11px;font-size:11px}}
body.tourism-active .smart-nav-marker.mapboxgl-marker{display:block!important}
.tm-return-context{display:flex;align-items:center;flex:none;gap:8px;width:100%;box-sizing:border-box;padding:13px 16px;border:0;border-bottom:1px solid var(--palette-line,#e7e7e4);background:#f7f7f7;color:#cc4b0b;text-align:left;font:600 13px/1.5 var(--font-firago,sans-serif);cursor:pointer;overflow-wrap:anywhere}.tm-return-context:focus-visible{outline:2px solid var(--palette-ink,#292928);outline-offset:-3px}.tm-return-context:hover{background:#f0f0f0}body.dark-theme .tm-return-context{background:#2c2c2c;color:#f9b695;border-color:#4b4b4b}
/* Match the site's companion form fields, including native date/time values. */
#drawer-view-tourism .tm-journey{background:#fff}
#drawer-view-tourism .tm-journey-fields{gap:14px}
#drawer-view-tourism .tm-journey-fields+.tm-journey-fields{margin-top:14px}
#drawer-view-tourism .tm-journey-fields label:has(input[type=date]){position:relative}
#drawer-view-tourism .tm-journey-fields label:has(input[type=date][value=""]):not(:focus-within)::after{content:'აირჩიე თარიღი';position:absolute;bottom:10px;left:13px;right:40px;pointer-events:none;color:#8a8a8a;font:400 13px/24px var(--font-firago,sans-serif)}
html[lang=en] #drawer-view-tourism .tm-journey-fields label:has(input[type=date][value=""]):not(:focus-within)::after{content:'Choose a date'}
#drawer-view-tourism .tm-journey-fields input[type=date][value=""]:not(:focus){color:transparent}
#drawer-view-tourism .tm-journey-fields label{gap:6px;font:600 13px/1.5 var(--font-firago,sans-serif);color:#545454;min-width:0}
#drawer-view-tourism .tm-journey :is(input,select){display:block;width:100%;min-width:0;max-width:100%;height:44px;min-height:44px;padding:9px 12px;box-sizing:border-box;border:1px solid transparent;border-radius:14px;background-color:#fafafa;color:#171717;font:400 13px/24px var(--font-firago,sans-serif);text-align:left;text-indent:0;outline:none;box-shadow:none;-webkit-appearance:none;appearance:none;transition:background-color .18s,border-color .18s,box-shadow .18s}
#drawer-view-tourism .tm-journey select{padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23506174' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px;cursor:pointer}
#drawer-view-tourism .tm-journey :is(input,select):focus{border-color:var(--palette-line,#e7e7e4);background-color:#fff;box-shadow:0 0 0 3px rgba(218,80,11,.12)}
#drawer-view-tourism .tm-journey :is(input,select):focus-visible{outline:2px solid var(--palette-ink,#292928);outline-offset:1px}
#drawer-view-tourism .tm-journey input::-webkit-date-and-time-value{text-align:left;margin:0;padding:0;min-height:24px;line-height:24px}
#drawer-view-tourism .tm-journey input::-webkit-datetime-edit{padding:0;line-height:24px}
#drawer-view-tourism .tm-journey input::-webkit-datetime-edit-fields-wrapper{padding:0}
#drawer-view-tourism .tm-tour-stops select{max-width:140px;height:38px;min-height:38px;padding-block:6px}
body.dark-theme #drawer-view-tourism .tm-journey-fields label{color:#f6f6f6}
body.dark-theme #drawer-view-tourism .tm-journey :is(input,select){background-color:#2c2c2c;color:#f6f6f6;color-scheme:dark}
body.dark-theme #drawer-view-tourism .tm-journey :is(input,select):focus{background-color:#353535}
body.dark-theme #drawer-view-tourism .tm-journey select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d9e7f2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
#drawer-view-tourism .tm-journey-fields :is(input,select){border-color:var(--palette-line,#e7e7e4)}
body.dark-theme #drawer-view-tourism .tm-journey{background:#252525}
body.dark-theme #drawer-view-tourism .tm-journey-fields :is(input,select){border-color:#4b4b4b}
@media(max-width:768px){
 body.tourism-active .desktop-left-column #drawer-view-tourism.active.tm-journey-open{top:var(--mobile-shell-window-top,80px)!important;bottom:max(10px,env(safe-area-inset-bottom,0px))!important;height:auto!important;min-height:0!important}
 #drawer-view-tourism .tm-journey{padding:16px;flex:1 1 0;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}
 #drawer-view-tourism .tm-journey-heading{position:sticky;top:-16px;z-index:2;margin:-16px -16px 18px;padding:16px;background:#fff;border-bottom:1px solid #ededed}
 #drawer-view-tourism .tm-journey-heading small{color:#737373}
 #drawer-view-tourism .tm-journey-heading h3{font-size:18px;line-height:1.5}
 #drawer-view-tourism .tm-journey-fields{grid-template-columns:minmax(0,1fr)}
 #drawer-view-tourism .tm-journey-fields :is(input,select){height:50px;min-height:50px;padding:12px 14px}
 #drawer-view-tourism .tm-journey-fields select{padding-right:42px;background-position:right 14px center}
 #drawer-view-tourism .tm-journey-fields label:has(input[type=date][value=""]):not(:focus-within)::after{bottom:13px;left:15px}
 body.dark-theme #drawer-view-tourism .tm-journey-heading{background:#252525;border-color:#4b4b4b}
}
.tm-tour-stops>li>b.tm-tour-stop-photo{position:relative;width:64px;height:68px;border-radius:10px;overflow:hidden;background:#e2eceb}.tm-tour-stop-photo img{width:100%;height:100%;object-fit:cover}.tm-tour-stop-photo>span{position:absolute;bottom:3px;left:3px;display:grid;place-items:center;min-width:22px;height:22px;border-radius:7px;background:#363636;color:#fff;border:1px solid #fff;font-size:11px}.tm-food-toilet{display:inline-block;margin-left:4px;border:1px solid #dadada;border-radius:5px;padding:1px 4px;font-size:9px;color:#73868b;white-space:nowrap}.tm-food-toilet.known{color:#147856;background:#e9f6ee;border-color:#bedfcb}.drawer-mission-status.tours{background:#f1f1f1;color:#cc4b0b}@media(max-width:380px){.tm-tour-stops>li>b.tm-tour-stop-photo{width:50px;height:60px}}
.tm-tour-facility-pin{width:32px;height:32px;display:grid;place-items:center;border:2px solid #fff;border-radius:10px;background:#e8560c;color:#fff;font:700 10px sans-serif;box-shadow:0 2px 8px #36363644;cursor:pointer}body.tourism-active .tm-tour-facility-pin.mapboxgl-marker{display:grid!important}.tm-tour-show-facilities{padding:7px 10px;border:1px solid var(--palette-line,#e7e7e4);background:#fff;color:#cb4b0b;border-radius:8px;font:inherit;font-size:11px;cursor:pointer}.tm-tour-show-facilities:disabled{opacity:.5;cursor:not-allowed}.tm-card-access{font-size:10px;color:#147856}
.tm-tour-entry{margin-top:14px;padding:10px 16px;border:0;border-radius:12px;background:#363636;color:#fff;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.tm-journey[hidden]{display:none!important}.tm-journey{padding:18px;overflow:auto;min-height:0;flex:1;background:#f8faf9;overscroll-behavior:contain;touch-action:pan-y}#drawer-view-tourism.active.tm-journey-open{display:flex!important;flex-direction:column;overflow:hidden!important}.tm-journey-open .tm-integrated-intro,.tm-journey-open .tm-integrated-controls,.tm-journey-open .tm-integrated-results-head,.tm-journey-open .tm-integrated-results{display:none!important}.tm-journey-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}.tm-journey-heading small{font-size:10px;color:#527668;letter-spacing:.06em}.tm-journey-heading h3{font-size:23px;line-height:1.25;margin:6px 0;letter-spacing:-.03em}.tm-journey button{cursor:pointer;font:inherit;color:#373737}.tm-journey-heading>button{border:1px solid #e3e3e3;border-radius:10px;background:#fff;min-width:38px;min-height:38px;font-size:23px}.tm-journey-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tm-journey-fields label{font-size:11px;color:#616161;display:grid;gap:5px}.tm-journey select,.tm-journey input{width:100%;min-width:0;padding:9px;border:1px solid #e0e0e0;border-radius:10px;background:#fff;color:#373737;font:inherit;font-size:12px;box-sizing:border-box}.tm-tour-settings{margin-top:12px;border-top:1px solid #dbe6e2;padding-top:11px;font-size:12px}.tm-tour-settings summary,.tm-tour-analysis summary{cursor:pointer;font-weight:700;padding:7px 0}.tm-tour-settings p,.tm-tour-analysis p{font-size:11px;color:#797979;line-height:1.65}.tm-tour-tools{display:flex;gap:8px;flex-wrap:wrap;margin:13px 0}.tm-tour-tools>button,.tm-tour-analysis button{border:1px solid #e0e0e0;background:#fff;border-radius:10px;padding:9px 11px;font-size:11px}.tm-tour-stops{list-style:none;margin:14px 0;padding:0;display:grid;gap:9px}.tm-tour-stops>li{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid #e1e9e5;border-radius:14px;padding:12px}.tm-tour-stops>li>b{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#edf4ef;color:#43745b;font-size:12px}.tm-tour-stops>li>div:nth-child(2){flex:1;min-width:0;display:grid;gap:5px}.tm-tour-place-name{padding:0;background:none;border:0;text-align:left;line-height:1.4;font-size:13px!important;font-weight:700!important}.tm-tour-stops small{color:#7d7d7d;font-size:10px}.tm-tour-stops select{max-width:120px;padding:5px 7px;font-size:10px}.tm-tour-stop-actions{display:grid;gap:4px}.tm-tour-stop-actions button{width:29px;height:29px;border:0;background:#f4f4f4;border-radius:7px;font-size:14px}.tm-tour-summary{display:flex;gap:7px;flex-wrap:wrap;padding:12px 0;border-block:1px solid #dce7e1;font-size:11px;color:#3f6759}.tm-tour-summary span+span:before{content:'·';margin-right:7px}.tm-tour-primary-actions{display:grid;gap:8px;margin-top:14px}.tm-tour-primary-actions>button,.tm-tour-detail-actions>button{padding:12px;border:1px solid var(--palette-line,#e7e7e4);border-radius:12px;background:#fff;color:#7e2e07;font-size:12px;font-weight:700}.tm-tour-primary-actions>button:first-child{background:#363636;color:#fff;border-color:#363636}.tm-journey button:disabled{opacity:.45;cursor:not-allowed}.tm-tour-empty,.tm-tour-status{font-size:12px;line-height:1.7;color:#707070}.tm-tour-status:empty{display:none}.tm-tour-warning{background:#fff4d8;border-radius:9px;padding:9px;color:#7c5613;font-size:11px;line-height:1.6}.tm-tour-analysis{margin-top:12px;font-size:12px}.tm-tour-analysis ol{padding-left:20px}.tm-tour-analysis li{margin:9px 0;line-height:1.5}.tm-tour-number-pin{display:grid!important;place-items:center!important;border:3px solid #fff;border-radius:50%;background:#363636;color:#fff;width:34px;height:34px;box-shadow:0 2px 10px #2a2a2a55;font:700 13px sans-serif;cursor:pointer}body.tourism-active .tm-tour-number-pin.mapboxgl-marker{display:grid!important}.tm-tour-detail-actions{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}.tm-tour-detail-actions>button{flex:1;padding:9px 7px;font-size:11px;cursor:pointer}.tm-tour-detail-actions>button:first-child{background:#363636;color:#fff;border-color:#363636}.tm-passport,.tm-nearby{margin:20px 0;padding-top:15px;border-top:1px solid #e7e7e7}.tm-passport h3,.tm-nearby h3{font-size:15px;margin:0 0 10px}.tm-passport-source,.tm-passport p,.tm-nearby p{font-size:11px;color:#7c7c7c;line-height:1.6}.tm-passport dl{margin:12px 0;display:grid;gap:8px}.tm-passport dl>div{display:flex;justify-content:space-between;gap:10px;padding-bottom:7px;border-bottom:1px solid #f2f2f2;font-size:12px}.tm-passport dt{color:#5f5f5f}.tm-passport dd{margin:0;text-align:right;color:#7b8990}.tm-passport dd.known{color:#147856}.tm-passport details{padding:9px;border-radius:9px;background:#f7f7f7;font-size:11px;line-height:1.7}.tm-passport details p{overflow-wrap:anywhere}.tm-passport details small{display:block}.tm-nearby-group{display:grid;gap:6px;margin:14px 0}.tm-nearby-group>strong{font-size:12px}.tm-nearby-group>small{font-size:11px;color:#7a8d94}.tm-nearby-group>button{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#f8f8f8;border:1px solid #ebebeb;padding:9px;border-radius:9px;text-align:left;color:#782c06;font:inherit;font-size:11px;cursor:pointer}.tm-nearby-group>button small{white-space:nowrap;color:#cc4b0b}.tm-journey :focus-visible,.tm-tour-detail-actions :focus-visible,.tm-nearby :focus-visible{outline:2px solid var(--palette-ink,#292928);outline-offset:3px}@media(max-width:768px){.tm-tour-entry{margin-top:9px;padding:8px 11px;font-size:11px}.tm-journey{padding:14px}.tm-journey-heading h3{font-size:19px}.tm-journey-heading{margin-bottom:12px}.tm-tour-stops>li{padding:9px}.tm-tour-primary-actions{grid-template-columns:1fr}.tm-passport dl>div{font-size:11px}}
#drawer-view-tourism[hidden],#tm-detail[hidden]{display:none!important}
.tm-integrated-intro{padding:22px 20px 19px;background:linear-gradient(145deg,#f7f7f7,#fafafa);border-bottom:1px solid #ededed}
.tm-integrated-intro>span{font-size:10px;font-weight:800;letter-spacing:.09em;color:#d44e0b}
.tm-integrated-intro h2{margin:8px 0;font-size:25px;line-height:1.2;letter-spacing:-.03em}
.tm-integrated-intro p{margin:0;color:#787878;font-size:12px;line-height:1.5}
.tm-integrated-controls{display:grid;gap:7px;padding:16px 19px 14px;border-bottom:1px solid #eeeeee}
.tm-integrated-controls label{font-size:11px;font-weight:700;color:#757575}
.tm-integrated-controls input,.tm-integrated-controls select{width:100%;height:41px;padding:0 12px;border:1px solid var(--palette-line,#e7e7e4);border-radius:11px;background:#fff;color:#2f2f2f;font:inherit;font-size:13px}
.tm-integrated-controls input:focus,.tm-integrated-controls select:focus{outline:2px solid var(--palette-ink,#292928);outline-offset:1px}
.tm-integrated-categories{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-top:5px}
#tm-category-select{display:none}
.tm-integrated-categories::-webkit-scrollbar{display:none}
.tm-chip{flex:none;padding:7px 10px;border:1px solid #e4e4e4;border-radius:20px;background:#fff;color:#676767;font:inherit;font-size:11px;cursor:pointer}
.tm-chip[aria-pressed=true]{background:#cc4b0b;border-color:var(--palette-line,#e7e7e4);color:#fff}
.tm-integrated-results-head{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:13px 19px;font-size:12px}
.tm-integrated-results-head span{color:#838383;font-size:11px}
.tm-integrated-results{flex:1;min-height:0;overflow:auto;padding:0 12px 20px 19px}
.tm-card{width:100%;display:grid;grid-template-columns:74px minmax(0,1fr);gap:11px;align-items:center;margin:0 0 8px;padding:7px;text-align:left;background:#fff;border:1px solid #e8e8e8;border-radius:14px;color:#313131;cursor:pointer}
.tm-card:hover,.tm-card[aria-current=true]{border-color:var(--palette-line,#e7e7e4);background:#fafafa}
.tm-card img,.tm-card-photo{display:grid;place-items:center;width:74px;height:69px;object-fit:cover;border-radius:10px;background:#efefef;color:#d9500b}
.tm-card-content{display:flex;flex-direction:column;min-width:0;gap:3px}
.tm-card-category{font-size:10px;color:#cc4b0b;font-weight:700}
.tm-card strong{font-size:12px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tm-card-city{font-size:10px;color:#878787}
.tm-more{width:100%;padding:10px;border:1px solid var(--palette-line,#e7e7e4);border-radius:11px;background:#f8f8f8;color:#cc4b0b;cursor:pointer}
.tm-empty{padding:18px;color:#7a7a7a;font-size:12px}
.tm-tourism-detail-overlay[hidden]{display:none!important}
.tm-tourism-detail-overlay{position:fixed;inset:0;z-index:400000;pointer-events:none}
.tm-tourism-detail-panel{position:absolute;top:0;bottom:0;left:var(--tm-detail-left,507px);width:min(var(--tm-detail-width,439px),calc(100vw - var(--tm-detail-left,507px) - 16px));display:flex;flex-direction:column;min-width:320px;background:#fff;border-left:1px solid #e8e8e8;box-shadow:12px 0 35px #3636361a;pointer-events:auto}
.tm-tourism-detail-header{display:flex;justify-content:space-between;align-items:center;flex:none;height:53px;padding:0 17px;border-bottom:1px solid #ededed}
.tm-tourism-detail-back,.tm-tourism-detail-dismiss{border:0;background:#f4f4f4;color:#7a2d06;cursor:pointer;font:inherit}.tm-tourism-detail-back{padding:8px 11px;border-radius:9px;font-size:12px}.tm-tourism-detail-dismiss{width:32px;height:32px;border-radius:9px;font-size:21px}
.tm-integrated-detail{position:static;flex:1;min-height:0;overflow:auto;background:#fff}
.tm-gallery{position:relative}.tm-gallery>.tm-gallery-open{position:relative;display:block;width:100%;padding:0;border:0;border-radius:0;background:#f0f0f0;cursor:zoom-in}.tm-gallery-open img,.tm-detail-image{display:block;width:100%;aspect-ratio:1.45;max-height:380px;object-fit:cover;background:#f0f0f0}.tm-gallery-open::after{content:'⤢';position:absolute;right:12px;top:12px;display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#ffffffeb;color:#373737;font-size:19px;box-shadow:0 2px 10px #2d2d2d50}.tm-gallery-open:focus-visible{outline:3px solid var(--palette-ink,#292928);outline-offset:-3px}
.tm-gallery>button.tm-gallery-prev,.tm-gallery>button.tm-gallery-next{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:50%;background:#fff;color:#373737;font-size:22px;cursor:pointer;box-shadow:0 2px 9px #2d2d2d33}.tm-gallery-prev{left:9px}.tm-gallery-next{right:9px}
.tm-gallery-count{position:absolute;right:9px;bottom:9px;padding:3px 7px;border-radius:8px;background:#353535cc;color:#fff;font-size:10px}
.tm-photo-lightbox-open{overflow:hidden}.tm-photo-lightbox{position:fixed;inset:0;z-index:2000000;display:flex;flex-direction:column;padding:12px max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#141414f2;color:#fff}.tm-photo-header,.tm-photo-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;min-height:42px}.tm-photo-header strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:600}.tm-photo-close,.tm-photo-prev,.tm-photo-next{display:grid;place-items:center;flex:none;border:1px solid #ffffff55;border-radius:50%;background:#ffffff26;color:#fff;cursor:pointer}.tm-photo-close{width:40px;height:40px;font-size:26px}.tm-photo-stage{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:0;touch-action:pan-y}.tm-photo-stage img{display:block;max-width:calc(100vw - 140px);max-height:calc(100dvh - 120px);width:auto;height:auto;object-fit:contain;border-radius:8px}.tm-photo-prev,.tm-photo-next{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;font-size:31px}.tm-photo-prev{left:12px}.tm-photo-next{right:12px}.tm-photo-footer{color:#e1e1e1;font-size:12px}.tm-photo-counter{font-variant-numeric:tabular-nums}.tm-photo-lightbox button:focus-visible{outline:3px solid var(--palette-ink,#292928);outline-offset:3px}
.tm-detail-body{padding:18px}.tm-detail-top{display:flex;justify-content:space-between;align-items:center;color:#db510c;font-size:11px;font-weight:700}.tm-detail-close{display:grid;place-items:center;width:31px;height:31px;border:0;border-radius:50%;background:#f3f3f3;color:#752b06;font-size:20px;cursor:pointer}
.tm-tourism-detail-panel .tm-detail-close{display:none}
.tm-detail-body h2{margin:7px 0 3px;font-size:22px;line-height:1.25}.tm-detail-city{color:#7d7d7d;font-size:12px}.tm-detail-body p{font-size:12px;line-height:1.55;color:#696969}.tm-accessibility{margin:15px 0;padding:11px;background:#f7f7f7;border-left:3px solid var(--palette-line,#e7e7e4);border-radius:8px;font-size:11px;color:#666666}.tm-detail-links{display:flex;flex-wrap:wrap;gap:7px}.tm-detail-links a{padding:8px 10px;border:1px solid var(--palette-line,#e7e7e4);border-radius:9px;color:#ca4a0b;font-size:11px;text-decoration:none}
.tm-detail-about{margin-top:21px;padding-top:17px;border-top:1px solid #eeeeee}.tm-detail-about h3{margin:0 0 9px;color:#2d2d2d;font-size:14px}.tm-detail-about p{margin:0;color:#585858;font-size:13px;line-height:1.65}.tm-accessibility strong{display:inline-block;margin-bottom:4px;color:#873207;font-size:11px}.tm-detail-source{margin:16px 0 8px;color:#828282;font-size:10px}.tm-detail-links a:hover{border-color:var(--palette-line,#e7e7e4);background:#f8f8f8}
body.tourism-active .mapboxgl-marker{display:none!important}
body.tourism-active .user-location-marker.mapboxgl-marker{display:block!important}
body.tourism-active .map-floating-filter-bar{display:none!important}
body.tourism-active #map-parking-toggle{display:none!important}
body.tourism-active #map-pin-hints{display:none!important}
@media(max-width:768px){
  body.tourism-active .mobile-nav-bar{display:none!important}
  body.tourism-active .desktop-left-column #drawer-view-tourism.active{position:fixed!important;top:auto!important;bottom:0!important;left:0!important;right:0!important;width:auto!important;height:min(52dvh,460px)!important;max-height:none!important;margin:0!important;z-index:204600!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border:1px solid #eaeaea!important;border-radius:21px 21px 0 0!important;background:#fff!important;box-shadow:0 12px 36px #34343430!important}
  body.tourism-active .desktop-left-column .drawer-header{display:none!important}
  body.tourism-active #mobile-quick-controls-v2{display:none!important}
  body.tourism-active .ammh-search-slot{display:flex;align-items:center;min-width:0}
  body.tourism-active .ammh-search-slot #mobile-search-target{display:none!important}
  body.tourism-active .ammh-search-slot::after{content:'ინკლუზიური ტურიზმი';display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#333333;font-size:13px;font-weight:700}
  html[lang=en] body.tourism-active .ammh-search-slot::after{content:'Inclusive tourism'}
  .tm-integrated-intro{display:none}
  .tm-integrated-controls{display:flex;align-items:center;gap:7px;padding:9px 12px 8px}
  .tm-integrated-controls label{display:none}
  #drawer-view-tourism .tm-integrated-controls #tm-search{display:none!important}
  #drawer-view-tourism .tm-integrated-controls #tm-region,#drawer-view-tourism .tm-integrated-controls #tm-category-select{display:block;flex:1 1 0;width:0;min-width:0;max-width:none;height:37px;font-size:12px!important;line-height:1.4;font-family:var(--font-firago,sans-serif)}
  #drawer-view-tourism .tm-integrated-categories{display:none}
  .tm-integrated-results-head{padding:8px 13px;font-size:11px}
  .tm-integrated-results{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:0 10px max(10px,env(safe-area-inset-bottom,0px)) 12px}
  .tm-card{grid-template-columns:55px minmax(0,1fr);gap:8px;padding:5px;margin-bottom:6px}.tm-card img,.tm-card-photo{width:55px;height:52px}
  .tm-card strong{font-size:11px}.tm-card-category,.tm-card-city{font-size:9px}
  .tm-tourism-detail-panel{position:fixed;top:74px;bottom:max(10px,env(safe-area-inset-bottom,0px));left:10px;right:10px;width:auto;min-width:0;max-width:520px;margin:0 auto;border:1px solid #eaeaea;border-radius:21px;overflow:hidden;box-shadow:0 14px 48px #2d2d2d44}
  .tm-gallery-open img,.tm-detail-image{height:auto;max-height:none;aspect-ratio:1.45}
  .tm-photo-lightbox{padding:calc(8px + env(safe-area-inset-top)) 10px calc(8px + env(safe-area-inset-bottom))}.tm-photo-header strong{font-size:12px}.tm-photo-stage img{max-width:calc(100vw - 20px);max-height:calc(100dvh - 130px)}.tm-photo-prev,.tm-photo-next{width:36px;height:36px;font-size:26px;background:#141414ae}.tm-photo-prev{left:2px}.tm-photo-next{right:2px}
}

/* Tourism is a mode of the main map, with the same navigation and dock. */
.tm-mode-toggle{position:fixed;right:20px;bottom:220px;z-index:204900;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid #e3e3e3;border-radius:14px;background:var(--card-bg,#fff);color:var(--text-main,#545454);font:500 12px var(--font-firago,sans-serif);box-shadow:0 4px 16px #64250510;cursor:pointer}
.tm-mode-toggle svg{width:22px;height:22px;flex:none}.tm-mode-toggle[aria-pressed=true]{background:#fff1e5;color:#af510e;border-color:var(--palette-line,#e7e7e4)}.tm-mode-toggle:focus-visible{outline:2px solid var(--palette-ink,#292928);outline-offset:3px}
.tm-header-search{display:none}
#drawer-view-tourism .tm-tourism-detail-overlay{position:absolute;inset:0;z-index:20;pointer-events:none}
#drawer-view-tourism .tm-tourism-detail-panel{position:absolute;inset:0;width:100%;height:100%;min-width:0;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none;box-sizing:border-box}
#drawer-view-tourism.tm-detail-open>.tm-sheet-handle{visibility:hidden}
body.dark-theme .tm-mode-toggle{background:#2d2d2d;color:#e3e3e3;border-color:#454545}body.dark-theme .tm-mode-toggle[aria-pressed=true]{background:#533b2b;color:#ffd5af;border-color:var(--palette-line,#e7e7e4)}
@media(max-width:768px){
 body.tourism-active .mobile-nav-bar{display:flex!important;z-index:204500!important}
 body.tourism-active #mobile-quick-controls-v2{display:grid!important}
 #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved{grid-template-columns:minmax(0,1fr) 44px 48px 48px!important}
 #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved:has(#map-parking-toggle[hidden]),body.tourism-active #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved{grid-template-columns:minmax(0,1fr) 44px 48px!important}
 #mobile-quick-controls-v2 .mqc2-vol{order:0}#mobile-quick-controls-v2 .tm-mode-toggle{order:1}#mobile-quick-controls-v2 #map-parking-toggle{order:2}#mobile-quick-controls-v2 .sensory-control{order:3}
 #mobile-quick-controls-v2 .tm-mode-toggle{position:static;width:44px;min-width:0;height:var(--mqc2-button-height,48px);padding:0;border-radius:16px}.tm-mode-toggle>span{display:none}
 body.tourism-active .ammh-search-slot::after{display:none!important}
 body.tourism-active .tm-header-search{display:block;width:100%;height:44px;min-width:0;padding:0 10px;border:1px solid #eaeaea;border-radius:13px;background:var(--bg-secondary,#f6f6f6);color:var(--text-main,#484848);font:12px var(--font-firago,sans-serif);box-sizing:border-box}
 body.tourism-active .desktop-left-column.drawer-closed #drawer-view-tourism.active{display:none!important}
 body.tourism-active .desktop-left-column #drawer-view-tourism.active.tm-detail-open,body.tourism-active .desktop-left-column #drawer-view-tourism.active.tm-journey-open{top:var(--mobile-shell-window-top,134px)!important;bottom:0!important;height:auto!important;max-height:none!important;transform:none!important;clip-path:none}
 #drawer-view-tourism .tm-tourism-detail-header{height:48px;padding:0 14px}
 body.tourism-active .tm-collapsed-route-controls{bottom:calc(104px + env(safe-area-inset-bottom,0px))}
}

/* Explicit cells prevent legacy parking/sensory column rules overlapping tourism. */
@media(max-width:768px){
 #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved{gap:6px!important}
 #mobile-quick-controls-v2.mobile-quick-controls-v2>.tm-mode-toggle{grid-column:2!important;grid-row:1!important}
 #mobile-quick-controls-v2.mobile-quick-controls-v2>#map-parking-toggle{grid-column:3!important;grid-row:1!important;border-radius:16px!important}
 #mobile-quick-controls-v2.mobile-quick-controls-v2>.sensory-control{grid-column:4!important;grid-row:1!important}
 #mobile-quick-controls-v2.mobile-quick-controls-v2:has(#map-parking-toggle[hidden])>.sensory-control,body.tourism-active #mobile-quick-controls-v2.mobile-quick-controls-v2>.sensory-control{grid-column:3!important}
 body.tourism-active .ammh-search-slot .tm-header-search{font-size:12px!important;line-height:1.4!important;text-overflow:ellipsis}
}

@media(max-width:768px){body.tourism-active .app-container{z-index:auto!important}}

/* A named switch and a collapsed list header replace the unexplained icons. */
.tm-sheet-label,.tm-sheet-arrow{display:none}
.tm-mode-switch{display:inline-flex!important;align-items:center;flex:none;width:30px;height:18px;padding:2px;box-sizing:border-box;border-radius:20px;background:#d0d0d0;transition:background .2s}
.tm-mode-switch i{display:block;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #35353533;transition:transform .2s}
.tm-mode-toggle[aria-pressed=true] .tm-mode-switch{background:#e8560c}.tm-mode-toggle[aria-pressed=true] .tm-mode-switch i{transform:translateX(12px)}
.tm-mode-toggle[aria-pressed=true]{background:#f6f6f6;color:#cc4b0b;border-color:var(--palette-line,#e7e7e4)}
@media(max-width:768px){
 #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved,#mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved:has(#map-parking-toggle[hidden]),body.tourism-active #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 48px 48px!important;gap:6px!important}
 #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved>.mqc2-vol{grid-column:1 / 3!important;grid-row:1!important;margin-right:0}
 #mobile-quick-controls-v2.mobile-quick-controls-v2>.tm-mode-toggle{grid-column:3 / 5!important;grid-row:1!important;display:grid;grid-template-columns:20px minmax(0,1fr) 30px;gap:6px;width:100%;height:48px;padding:6px 9px;border-radius:19px}
 #mobile-quick-controls-v2 .tm-mode-toggle>.tm-mode-label{display:block;min-width:0;font-size:12px;white-space:nowrap;text-align:left}
 #mobile-quick-controls-v2 .tm-mode-toggle>svg{width:20px;height:20px}
 #mobile-quick-controls-v2.mobile-quick-controls-v2>#map-parking-toggle{grid-column:3!important;grid-row:2!important}
 #mobile-quick-controls-v2.mobile-quick-controls-v2>.sensory-control,#mobile-quick-controls-v2.mobile-quick-controls-v2:has(#map-parking-toggle[hidden])>.sensory-control,body.tourism-active #mobile-quick-controls-v2.mobile-quick-controls-v2>.sensory-control{grid-column:4!important;grid-row:2!important}
 #drawer-view-tourism .tm-sheet-handle{position:relative}
 #drawer-view-tourism.tm-sheet-collapsed .tm-sheet-handle{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px;background:var(--card-bg,#fff);color:var(--text-main,#7a2d06);border-bottom:1px solid var(--palette-line,#e7e7e4)}
 #drawer-view-tourism.tm-sheet-collapsed .tm-sheet-grip{display:none}
 #drawer-view-tourism.tm-sheet-collapsed .tm-sheet-label{display:block;font:500 13px var(--font-firago,sans-serif)}
 #drawer-view-tourism.tm-sheet-collapsed .tm-sheet-arrow{display:block;flex:none;width:22px;height:22px;color:#d9500b}
}
@media(prefers-reduced-motion:reduce){.tm-mode-switch,.tm-mode-switch i{transition:none}}
@media(max-width:768px){
 #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved,#mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved:has(#map-parking-toggle[hidden]),body.tourism-active #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 #mobile-quick-controls-v2.mobile-quick-controls-v2>#map-parking-toggle{grid-column:1 / 5!important;justify-self:end;margin-right:54px}
 #mobile-quick-controls-v2.mobile-quick-controls-v2>.sensory-control,#mobile-quick-controls-v2.mobile-quick-controls-v2:has(#map-parking-toggle[hidden])>.sensory-control,body.tourism-active #mobile-quick-controls-v2.mobile-quick-controls-v2>.sensory-control{grid-column:1 / 5!important;justify-self:end}
}



/* Four compact controls on one row; tourism uses the same filled-icon feedback as the heart. */
@media(min-width:769px){.tm-mode-toggle{display:none!important}}
.tm-mode-power{position:relative;display:grid!important;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:#f0f0f0;color:#707070;transition:background .25s,color .25s,transform .15s}
.tm-mode-power .tm-mode-ring{position:absolute;inset:0;width:30px;height:30px;fill:none;stroke:#e8560c;stroke-width:1.6;stroke-linecap:round;stroke-dasharray:101;stroke-dashoffset:101;transform:rotate(-90deg);transition:stroke-dashoffset .35s}
.tm-mode-power .tm-mode-compass{width:19px;height:19px;fill:none;stroke:currentColor;transition:transform .25s}
.tm-mode-toggle[aria-pressed=true] .tm-mode-power{background:#e8560c;color:#fff;box-shadow:inset 0 0 0 3px #f6f6f6}
.tm-mode-toggle[aria-pressed=true] .tm-mode-ring{stroke-dashoffset:0}
.tm-mode-toggle[aria-pressed=true] .tm-mode-compass path{fill:currentColor}
.tm-mode-toggle:active .tm-mode-power{transform:scale(.9)}
@media(max-width:768px){
 #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved,#mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved:has(#map-parking-toggle[hidden]),body.tourism-active #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px 40px!important;grid-template-rows:48px!important;gap:6px!important}
 #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved>.mqc2-vol{grid-column:1!important;grid-row:1!important;grid-template-columns:minmax(0,1fr) 30px!important;gap:4px!important;padding:6px!important;margin:0!important;min-width:0}
 #mobile-quick-controls-v2 .mqc2-vol>.mqc2-icon{display:none!important}
 #mobile-quick-controls-v2 .mqc2-vol .mqc2-power{width:30px;height:30px}
 #mobile-quick-controls-v2 .mqc2-vol .mqc2-power-ring{width:30px;height:30px}
 #mobile-quick-controls-v2.mobile-quick-controls-v2>.tm-mode-toggle{grid-column:2!important;grid-row:1!important;grid-template-columns:minmax(0,1fr) 30px!important;gap:4px;width:100%;min-width:0;height:48px;padding:6px!important;box-sizing:border-box}
 #mobile-quick-controls-v2 .tm-mode-toggle>.tm-mode-label,#mobile-quick-controls-v2 .mqc2-vol .mqc2-label{display:block;font-size:11px!important;font-weight:500!important}
 #mobile-quick-controls-v2.mobile-quick-controls-v2>#map-parking-toggle{grid-column:3!important;grid-row:1!important;justify-self:stretch;width:40px;height:48px;margin:0!important}
 #mobile-quick-controls-v2.mobile-quick-controls-v2>.sensory-control,#mobile-quick-controls-v2.mobile-quick-controls-v2:has(#map-parking-toggle[hidden])>.sensory-control,body.tourism-active #mobile-quick-controls-v2.mobile-quick-controls-v2>.sensory-control{grid-column:4!important;grid-row:1!important;justify-self:stretch;width:40px;height:48px}
 #mobile-quick-controls-v2 .sensory-toolbar,#mobile-quick-controls-v2 .sensory-toolbar button{width:40px;min-width:40px;flex-basis:40px}
 body.tourism-active #mobile-quick-controls-v2 #map-parking-toggle:not([hidden]){display:flex!important}
}
body.dark-theme .tm-mode-power{background:#444444;color:#cdcdcd}body.dark-theme .tm-mode-toggle[aria-pressed=true] .tm-mode-power{background:#e8560c;color:#fff;box-shadow:inset 0 0 0 3px #3a3a3a}
@media(prefers-reduced-motion:reduce){.tm-mode-power,.tm-mode-ring,.tm-mode-compass{transition:none!important}}

/* The collapsed list header joins the dock without a map gap between them. */
@media(max-width:768px){
 #drawer-view-tourism.tm-sheet-collapsed .tm-sheet-handle{border-radius:20px 20px 0 0;box-sizing:border-box;border-bottom:1px solid transparent;background:var(--card-bg,#fff)}
}

/* Match the original volunteer card; retain four controls in one row. */
@media(max-width:768px){
 #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved>.mqc2-vol,#mobile-quick-controls-v2.mobile-quick-controls-v2>.tm-mode-toggle{grid-template-columns:24px minmax(0,1fr) 32px!important;gap:3px!important;padding:4px 6px!important;border:0;box-shadow:0 5px 20px #6425051c}
 #mobile-quick-controls-v2 .mqc2-vol>.mqc2-icon,#mobile-quick-controls-v2 .tm-mode-toggle>.tm-mode-icon{display:grid!important;place-items:center;width:24px;height:28px;font-size:23px;background:transparent;color:#707070}
 #mobile-quick-controls-v2 .mqc2-vol .mqc2-power,#mobile-quick-controls-v2 .mqc2-vol .mqc2-power-ring,#mobile-quick-controls-v2 .tm-mode-power,#mobile-quick-controls-v2 .tm-mode-power .tm-mode-ring{width:32px;height:32px}
 #mobile-quick-controls-v2 .tm-mode-toggle[aria-pressed=true]>.tm-mode-icon{color:#dd510c}
 body.tourism-active .desktop-left-column #drawer-view-tourism.active:not(.tm-journey-open):not(.tm-detail-open){height:calc(100dvh - var(--mobile-shell-window-top,134px) - var(--tm-sheet-offset,0px))!important;transform:none!important;transition:height .22s ease!important}
}
@media(max-width:350px){
 #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved>.mqc2-vol,#mobile-quick-controls-v2.mobile-quick-controls-v2>.tm-mode-toggle{grid-template-columns:18px minmax(0,1fr) 26px!important;gap:2px!important;padding:4px!important}
 #mobile-quick-controls-v2 .mqc2-vol>.mqc2-icon,#mobile-quick-controls-v2 .tm-mode-toggle>.tm-mode-icon{width:18px;font-size:18px}
 #mobile-quick-controls-v2 .mqc2-vol .mqc2-power,#mobile-quick-controls-v2 .mqc2-vol .mqc2-power-ring,#mobile-quick-controls-v2 .tm-mode-power,#mobile-quick-controls-v2 .tm-mode-power .tm-mode-ring{width:26px;height:26px}
 #mobile-quick-controls-v2 .tm-mode-toggle>.tm-mode-label,#mobile-quick-controls-v2 .mqc2-vol .mqc2-label{font-size:10px!important}
}

@media(max-width:768px){body.tourism-active .desktop-left-column #drawer-view-tourism.active.tm-sheet-dragging{transition:none!important}}

@media(max-width:350px){#mobile-quick-controls-v2.mobile-quick-controls-v2 .mqc2-vol .mqc2-label{font-size:10px!important}}
@media(max-width:768px) and (prefers-reduced-motion:reduce){body.tourism-active .desktop-left-column #drawer-view-tourism.active:not(.tm-journey-open):not(.tm-detail-open){transition:none!important}}

/* No easing while a finger holds the handle: the panel follows every movement. */
@media(max-width:768px){body.tourism-active .desktop-left-column #drawer-view-tourism.active.tm-sheet-dragging:not(.tm-journey-open):not(.tm-detail-open){transition:none!important;will-change:height}}

@media(max-width:350px){#mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved>.mqc2-vol,#mobile-quick-controls-v2.mobile-quick-controls-v2>.tm-mode-toggle{grid-template-columns:14px minmax(0,1fr) 24px!important}#mobile-quick-controls-v2 .mqc2-vol>.mqc2-icon,#mobile-quick-controls-v2 .tm-mode-toggle>.tm-mode-icon{width:14px;font-size:16px}#mobile-quick-controls-v2 .mqc2-vol .mqc2-power,#mobile-quick-controls-v2 .mqc2-vol .mqc2-power-ring,#mobile-quick-controls-v2 .tm-mode-power,#mobile-quick-controls-v2 .tm-mode-power .tm-mode-ring{width:24px;height:24px}}

/* Restore the reference design: coloured icon, label and sliding switch. */
@media(max-width:768px){
 #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved>.mqc2-vol,#mobile-quick-controls-v2.mobile-quick-controls-v2>.tm-mode-toggle{grid-template-columns:24px minmax(0,1fr) 30px!important;gap:3px!important;padding:4px 6px!important;border-radius:19px;background:var(--card-bg,#fff);box-shadow:0 5px 20px #6425051c}
 #mobile-quick-controls-v2.mobile-quick-controls-v2 .mqc2-vol>.mqc2-icon{width:24px;height:28px;border-radius:50%;background:#fff0f1!important;color:#ed4858!important}
 #mobile-quick-controls-v2.mobile-quick-controls-v2 .tm-mode-toggle>.tm-mode-icon{display:grid!important;place-items:center;width:24px;height:28px;border-radius:50%;background:#f3f3f3;color:#e9560c}
 #mobile-quick-controls-v2 .tm-mode-icon svg{width:18px;height:18px}
 #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved>.mqc2-vol.active{background:#e8f8ef;color:#087c49}
 #mobile-quick-controls-v2 .tm-mode-toggle[aria-pressed=true]{background:#f6f6f6;color:#cc4b0b}
 #mobile-quick-controls-v2 .mqc2-switch,#mobile-quick-controls-v2 .tm-mode-switch{position:relative;display:block!important;flex:none;width:30px;height:18px;padding:0;border-radius:999px;background:#d4d4d4;box-shadow:inset 0 1px 3px #2e2e2e26;transition:background .22s}
 #mobile-quick-controls-v2 .mqc2-switch i,#mobile-quick-controls-v2 .tm-mode-switch i{position:absolute;display:block;left:2px;top:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 2px 6px #2b2b2b3d;transition:transform .22s}
 #mobile-quick-controls-v2 .mqc2-vol.active .mqc2-switch{background:#18b66d}
 #mobile-quick-controls-v2 .tm-mode-toggle[aria-pressed=true] .tm-mode-switch{background:#e8560c}
 #mobile-quick-controls-v2 .mqc2-vol.active .mqc2-switch i,#mobile-quick-controls-v2 .tm-mode-toggle[aria-pressed=true] .tm-mode-switch i{transform:translateX(12px)}
 body.dark-theme #mobile-quick-controls-v2 .tm-mode-toggle[aria-pressed=true]{background:#3a3a3a;color:#fddfd0}
 body.dark-theme #mobile-quick-controls-v2 .mqc2-switch,body.dark-theme #mobile-quick-controls-v2 .tm-mode-switch{background:#606060}
}
@media(max-width:350px){
 #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved>.mqc2-vol,#mobile-quick-controls-v2.mobile-quick-controls-v2>.tm-mode-toggle{grid-template-columns:16px minmax(0,1fr) 22px!important;gap:2px!important;padding:4px!important}
 #mobile-quick-controls-v2.mobile-quick-controls-v2 .mqc2-vol>.mqc2-icon,#mobile-quick-controls-v2.mobile-quick-controls-v2 .tm-mode-toggle>.tm-mode-icon{width:16px;height:24px}
 #mobile-quick-controls-v2 .mqc2-icon svg,#mobile-quick-controls-v2 .tm-mode-icon svg{width:14px;height:14px}
 #mobile-quick-controls-v2 .mqc2-switch,#mobile-quick-controls-v2 .tm-mode-switch{width:22px;height:14px}
 #mobile-quick-controls-v2 .mqc2-switch i,#mobile-quick-controls-v2 .tm-mode-switch i{width:10px;height:10px}
 #mobile-quick-controls-v2 .mqc2-vol.active .mqc2-switch i,#mobile-quick-controls-v2 .tm-mode-toggle[aria-pressed=true] .tm-mode-switch i{transform:translateX(8px)}
}
@media(prefers-reduced-motion:reduce){#mobile-quick-controls-v2 .mqc2-switch,#mobile-quick-controls-v2 .mqc2-switch i,#mobile-quick-controls-v2 .tm-mode-switch,#mobile-quick-controls-v2 .tm-mode-switch i{transition:none!important}}

/* The compact tourism sheet covers the dock and keeps all search controls visible. */
@media(max-width:768px){
 #drawer-view-tourism .tm-integrated-controls{flex:0 0 auto;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}
 body.tourism-active .desktop-left-column #drawer-view-tourism.active.tm-sheet-collapsed:not(.tm-journey-open):not(.tm-detail-open){left:0!important;right:0!important;width:auto!important;clip-path:none!important;border-radius:21px 21px 0 0!important;box-shadow:0 -5px 24px #3535351a!important}
 #drawer-view-tourism.tm-sheet-collapsed:not(.tm-journey-open):not(.tm-detail-open)>.tm-integrated-results-head,#drawer-view-tourism.tm-sheet-collapsed:not(.tm-journey-open):not(.tm-detail-open)>.tm-integrated-results{display:none!important}
 #drawer-view-tourism.tm-sheet-collapsed .tm-sheet-handle{display:grid;place-items:center;padding:0;background:#fbfbfb}
 #drawer-view-tourism.tm-sheet-collapsed .tm-sheet-grip{display:block}
 #drawer-view-tourism.tm-sheet-collapsed .tm-sheet-label,#drawer-view-tourism.tm-sheet-collapsed .tm-sheet-arrow{display:none}
 body.tourism-active:has(.desktop-left-column:not(.drawer-closed) #drawer-view-tourism.active.tm-sheet-collapsed) .ai-chat-bubble{bottom:calc(190px + env(safe-area-inset-bottom,0px))!important}
}

@media(max-width:768px){#drawer-view-tourism.tm-sheet-collapsed .tm-sheet-handle{justify-content:center;gap:0}}

/* A short, three-step tour form; optional tools remain available on demand. */
.tm-simple-step{margin:16px 0 10px;font-size:13px;font-weight:600;color:var(--text-main,#782c06)}
.tm-simple-options{margin:12px 0;padding:0 12px;border:1px solid var(--border,#e6e6e6);border-radius:12px;background:var(--card-bg,#fff)}
.tm-simple-options>summary{padding:12px 0;font-size:12px;color:var(--text-main,#953708);cursor:pointer}
.tm-simple-total{padding:10px 0;font-size:13px;color:var(--text-muted,#757575)}
.tm-journey .tm-tour-stops{margin:8px 0}.tm-journey .tm-journey-heading small{display:none}
.tm-journey .tm-journey-heading h3{font-size:21px;margin:0}.tm-journey .tm-tour-hint{display:none}
.tm-simple-options .tm-plan-overview{box-shadow:none;border:0;padding:0}.tm-simple-options>.tm-journey-fields{margin-bottom:10px}

.tm-detail-options{margin:14px 0;padding:0;border:1px solid var(--border,#e7e7e7);border-radius:12px}.tm-detail-options>summary{padding:13px;font-size:13px;font-weight:500;color:var(--text-main,#953708);cursor:pointer}.tm-detail-options[open]{padding:0 12px 12px}.tm-detail-options[open]>summary{margin:0 -12px}.tm-detail-options .tm-passport-source{font-size:10px}

@media(max-width:768px){
 #tm-tour-journey>.tm-journey-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #tm-tour-journey>.tm-journey-fields input{height:44px;min-height:44px;font-size:13px;padding:8px;box-sizing:border-box}
 #tm-tour-journey .tm-tour-primary-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 #tm-tour-journey .tm-tour-primary-actions>button{min-height:44px;padding:10px 6px;font-size:12px}
 #tm-tour-journey .tm-simple-step{margin:12px 0 8px}
}

@media(max-width:768px){body.tourism-active:has(#drawer-view-tourism.active.tm-journey-open) .ai-chat-bubble,body.tourism-active:has(#drawer-view-tourism.active.tm-detail-open) .ai-chat-bubble{display:none!important}}

.volunteer-tour-extra{margin:10px 0;border:1px solid var(--border,#e7e7e7);border-radius:10px}.volunteer-tour-extra>summary{padding:11px;font-size:12px;color:var(--text-main,#953708);cursor:pointer}.volunteer-tour-extra>.volunteer-mission-extra{margin:0 10px 10px}
@media(max-width:768px){.volunteer-request-card button{min-height:44px;min-width:44px;padding:10px 14px!important;font-size:13px!important}}

/* Keep both map tools inside their grid cells, including the sensory button. */
@media(max-width:768px){
 #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved,
 #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved:has(#map-parking-toggle[hidden]),
 body.tourism-active #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px 44px!important;gap:6px!important}
 #mobile-quick-controls-v2.mobile-quick-controls-v2>#map-parking-toggle,
 #mobile-quick-controls-v2.mobile-quick-controls-v2>.sensory-control{width:44px!important;min-width:0!important;height:48px!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
 #mobile-quick-controls-v2.mobile-quick-controls-v2 .sensory-toolbar{position:static!important;inset:auto!important;width:100%!important;min-width:0!important;height:100%!important;gap:0!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
 #mobile-quick-controls-v2.mobile-quick-controls-v2 .sensory-toolbar button{width:100%!important;min-width:0!important;max-width:100%!important;height:100%!important;flex:1 1 0!important;box-sizing:border-box!important;padding:0!important}
 #mobile-quick-controls-v2.mobile-quick-controls-v2>#map-parking-toggle,
 #mobile-quick-controls-v2.mobile-quick-controls-v2 .sensory-toolbar button{display:grid!important;place-items:center;border:1px solid #e7e7e7;border-radius:16px!important;box-shadow:0 4px 16px #64250510}
 #mobile-quick-controls-v2.mobile-quick-controls-v2>#map-parking-toggle[hidden]{display:none!important}
 #mobile-quick-controls-v2.mobile-quick-controls-v2 .sensory-toolbar button svg{width:20px;height:20px;flex:none}
 #mobile-quick-controls-v2.mobile-quick-controls-v2 .mqc2-vol .mqc2-label,
 #mobile-quick-controls-v2.mobile-quick-controls-v2 .tm-mode-toggle .tm-mode-label{font-size:11px!important}
}
@media(max-width:350px){#mobile-quick-controls-v2.mobile-quick-controls-v2 .mqc2-vol .mqc2-label,#mobile-quick-controls-v2.mobile-quick-controls-v2 .tm-mode-toggle .tm-mode-label{font-size:10px!important}}

/* Tourist browsing and saved tours belong to requester accounts. */
body.volunteer-account #rail-btn-tourism,
body.volunteer-account .tm-mode-toggle,
body.volunteer-account [data-a="tourism"],
body.volunteer-account #drawer-view-tourism,
body.volunteer-account #cabinet-subfilter-tours,
body.volunteer-account #drawer-subfilter-tours,
body.volunteer-account #sidebar-subitem-tours{display:none!important}
@media(max-width:768px){
 body.volunteer-account #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved{grid-template-columns:minmax(0,1fr) 44px 44px!important}
 body.volunteer-account #mobile-quick-controls-v2.mobile-quick-controls-v2.mqc2-menu-tools-moved:has(#map-parking-toggle[hidden]){grid-template-columns:minmax(0,1fr) 44px!important}
}

/* Time controls span the complete stop card, so selected values remain readable. */
.tm-journey .tm-tour-stops>li{flex-wrap:wrap}
.tm-journey .tm-tour-stops>li>div:nth-child(2){flex:1 1 0}
.tm-journey .tm-tour-stops>li>.tm-tour-stop-actions{flex:0 0 auto}
.tm-journey .tm-tour-stops>li>.tm-stop-break{flex:0 0 100%;width:100%;min-width:0;border-top:1px solid #f0f0f0;padding-top:8px;margin-top:0}
#drawer-view-tourism .tm-tour-stops .tm-stop-break select{width:100%;max-width:none;min-width:0;height:auto;min-height:40px;font-size:12px}
.tm-journey .tm-break-fields{grid-template-columns:minmax(0,1fr)}

/* Compact tour summary, with the same neutral controls as the rest of the form. */
.tm-journey .tm-tour-summary{background:var(--card-bg,#fff);padding:0 14px;border-radius:12px}
.tm-journey .tm-tour-summary>summary{font-size:12px;font-weight:500;padding:14px 0}
.tm-journey .tm-tour-summary .tm-plan-overview{margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.tm-tour-summary .tm-plan-total{padding:12px 0 16px;border-top:1px solid var(--border,#eaeaea);align-items:center;gap:10px}
.tm-tour-summary .tm-plan-total small{font-size:11px;color:var(--text-light,#808080)}
.tm-tour-summary .tm-plan-total strong{font-size:21px;font-weight:500;line-height:1.4;margin-top:3px;color:var(--text-main,#383838)}
.tm-tour-summary .tm-plan-total>span{flex:none;max-width:50%;padding:6px 8px;border-radius:7px;background:var(--bg-secondary,#f7f7f7);color:var(--text-main,#595959);font-size:11px;font-variant-numeric:tabular-nums}
.tm-tour-summary .tm-plan-metrics{margin:0;padding:0;border:0;gap:8px}
.tm-tour-summary .tm-plan-metrics>div{padding:10px 11px;gap:5px;border:1px solid var(--border,#eaeaea);border-radius:9px;background:transparent}
.tm-tour-summary .tm-plan-metrics span{font-size:10px;color:var(--text-light,#808080)}
.tm-tour-summary .tm-plan-metrics b{font-size:13px;font-weight:500;color:var(--text-main,#383838)}
.tm-tour-summary .tm-plan-overview>p{font-size:10px;line-height:1.7;margin:10px 0 12px;color:var(--text-light,#808080)}
.tm-tour-summary .tm-plan-timeline{border-top:1px solid var(--border,#eaeaea);margin:0;padding:0}
.tm-tour-summary .tm-plan-timeline>summary{padding:13px 0;font-size:11px;font-weight:500;color:var(--text-main,#953708)}
.tm-tour-summary .tm-plan-timeline ol{padding:0;margin:0;gap:0}
.tm-tour-summary .tm-plan-timeline li{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;padding:10px 0;border-top:1px solid var(--border,#f0f0f0)}
.tm-tour-summary .tm-plan-timeline li>span.tm-timeline-number{width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:var(--bg-secondary,#f5f5f5);color:var(--text-light,#808080);font-size:10px;line-height:1}
.tm-tour-summary .tm-plan-timeline b{display:block;font-size:12px;font-weight:400;color:var(--text-main,#383838);overflow-wrap:anywhere}
.tm-tour-summary .tm-plan-timeline small{font-size:10px;margin-top:4px;color:var(--text-light,#808080);font-variant-numeric:tabular-nums}
.tm-journey .tm-export-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px 0;border-top:1px solid var(--border,#eaeaea)}
.tm-journey .tm-export-actions>button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px;border:1px solid var(--border,#e4e4e4);border-radius:9px;background:var(--bg-secondary,#fafafa);color:var(--text-main,#7e2f07);font-size:11px;line-height:1.4}
.tm-export-actions svg{width:16px;height:16px;flex:none}
.tm-export-actions>button:hover{border-color:var(--palette-line,#e7e7e4)}
.tm-tour-summary .tm-planner-section{margin:0 0 12px;padding:0;border:0;border-radius:0;background:transparent}
.tm-tour-summary .tm-planner-section>summary{font-size:11px;font-weight:500;padding:10px 0}
body.dark-theme .tm-tour-summary .tm-plan-overview{background:none}
body.dark-theme .tm-tour-summary .tm-plan-total>span,body.dark-theme .tm-tour-summary .tm-timeline-number,body.dark-theme .tm-export-actions>button{background:#333333;color:#fcddcd}
body.dark-theme .tm-tour-summary :is(.tm-plan-total strong,.tm-plan-metrics b,.tm-plan-timeline b){color:#ebebeb}

/* Keep tour suggestions and their inputs together, visible above selected places. */
.tm-tour-generator{padding:13px;border:1px solid var(--border,#e6e6e6);border-radius:12px;background:var(--card-bg,#fff);margin:0 0 15px}
.tm-generator-cities h4{font-size:12px;font-weight:500;color:var(--text-main,#953708);margin:0 0 9px}
.tm-generator-cities h4 small{font-size:10px;font-weight:400;color:var(--text-light,#808080);margin-left:5px}
.tm-tour-generator .tm-city-order:empty{display:none}
.tm-tour-generator .tm-city-order{margin:0 0 9px}
.tm-tour-generator .tm-city-add{margin-bottom:12px}
.tm-tour-generator .tm-city-add select{width:0;font-size:12px}
.tm-tour-generator .tm-city-add button{white-space:nowrap;min-height:40px}
.tm-tour-generator .tm-journey-fields{margin-bottom:12px}
.tm-journey .tm-tour-generator .tm-suggest-tour{display:block;width:100%;min-height:43px;padding:10px 12px;border:1px solid #363636;border-radius:10px;background:#363636;color:#fff;font-size:12px;font-weight:500;line-height:1.5}
.tm-tour-generator .tm-generator-note{font-size:10px;color:var(--text-light,#808080);line-height:1.65;margin:8px 0 0}
.tm-journey .tm-tour-generator .tm-generator-undo{display:block;border:0;background:transparent;color:var(--primary,#cc4b0b);font-size:11px;min-height:36px;padding:8px 0 0;text-align:left}
.tm-selected-heading{font-size:12px;font-weight:500;color:var(--text-main,#953708);margin:14px 0 9px}

.tm-tour-generator .tm-generator-status{font-size:11px;line-height:1.6;margin:9px 0 0;padding:9px 10px;border-radius:8px;background:#eaf7ef;color:#22714c}
.tm-tour-generator .tm-generator-status:empty{display:none}
.tm-tour-generator .tm-generator-status.error{background:#fff0f0;color:#b42318}
body.dark-theme .tm-tour-generator .tm-generator-status{background:#193d31;color:#a3e6bf}
body.dark-theme .tm-tour-generator .tm-generator-status.error{background:#492526;color:#ffb4b0}

.tm-tour-generator>.tm-generator-note+.tm-suggest-tour{margin-top:10px}
.tm-journey .tm-tour-stops>li.tm-tour-day-heading{display:block;border:0;border-radius:0;padding:11px 0 4px;margin:0;background:transparent;font-size:12px;font-weight:600;color:var(--primary,#cc4b0b)}
.tm-tour-summary .tm-plan-timeline li.tm-timeline-day{display:block;border:0;padding:13px 0 5px;font-size:11px;font-weight:500;color:var(--primary,#cc4b0b)}
.tm-tour-status.is-calculating{display:flex;align-items:center;gap:8px}
.tm-tour-status.is-calculating:before{content:'';display:block;width:16px;height:16px;flex:none;border:2px solid var(--palette-line,#e7e7e4);border-top-color:var(--palette-line,#e7e7e4);border-radius:50%;animation:tm-route-spin .75s linear infinite}
@keyframes tm-route-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.tm-tour-status.is-calculating:before{animation:none}}

/* Preview three complete stops and a fading glimpse of the next one. */
.tm-stops-preview{position:relative;min-width:0}
.tm-stops-preview.is-collapsed{max-height:580px;overflow:hidden;overflow:clip}
.tm-stops-preview.is-collapsed:after{content:'';position:absolute;inset:auto 0 0;height:65px;pointer-events:none;background:linear-gradient(to bottom,transparent,var(--card-bg,#fff) 92%)}
.tm-stops-preview.is-collapsed .tm-tour-stop-card[inert]{pointer-events:none;user-select:none;filter:blur(1px)}
.tm-journey .tm-stops-toggle{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:39px;margin:4px 0 14px;padding:9px 12px;border:1px solid var(--palette-line,#e7e7e4);border-radius:10px;background:var(--card-bg,#fff);color:var(--primary,#cc4b0b);font-size:12px;font-weight:500;line-height:1.5}
.tm-stops-toggle>span{font-size:16px;line-height:1}
.tm-selected-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tm-journey .tm-stops-collapse-top{border:0;background:transparent;color:var(--primary,#cc4b0b);padding:4px 0;min-height:30px;font-size:11px}
body.dark-theme .tm-stops-preview.is-collapsed:after{background:linear-gradient(to bottom,transparent,#252525 92%)}

.tm-journey .tm-route-preferences>p{font-size:11px;line-height:1.6;font-weight:400;color:var(--text-light,#808080);margin:10px 0 12px}

.tm-tour-summary .tm-plan-total .tm-plan-active-time{font-size:11px;line-height:1.6;margin-top:5px;color:var(--text-main,#953708)}
.tm-simple-total>span{display:block;margin-bottom:4px}
.tm-journey .tm-stops-toggle{position:relative;z-index:1;margin-top:-12px;border-color:#363636;background:#363636;color:#fff}
.tm-journey .tm-stops-toggle>span{display:block;font-size:12px;line-height:20px}
.tm-journey .tm-stops-toggle>svg{display:block;width:17px;height:17px;flex:none;align-self:center}
.tm-journey .tm-stops-toggle[aria-expanded="true"]{margin-top:8px}
.tm-stops-toggle[aria-expanded="true"]>svg{transform:rotate(180deg)}
.tm-journey .tm-stops-toggle:hover{background:#802f07;border-color:var(--palette-line,#e7e7e4)}

/* Center route actions over the visible map, matching the mode switcher. */
.tm-collapsed-route-controls{transition:left .32s cubic-bezier(.16,1,.3,1)}
@media (min-width:769px) {
    .tm-collapsed-route-controls {
        left: calc(50% + 345px)
    }
    .desktop-left-column.drawer-closed ~ .tm-collapsed-route-controls,
    body:has(.desktop-left-column.drawer-closed) .tm-collapsed-route-controls {
        left: calc(50% + 120px)
    }
    body:has(.apple-desktop-rail.collapsed):has(.desktop-left-column.drawer-closed) .tm-collapsed-route-controls {
        left: calc(50% + 34px)
    }
    body:has(.apple-desktop-rail.collapsed) .tm-collapsed-route-controls {
        left: calc(50% + 259px)
    }
    body:not(.place-details-open):has(.desktop-left-column.places-expanded:not(.drawer-closed)) .tm-collapsed-route-controls {
        left: calc(50vw + 108px + min(440px, 50vw - 288px))
    }
    body:not(.place-details-open):has(.desktop-left-column.rail-collapsed.places-expanded:not(.drawer-closed)) .tm-collapsed-route-controls {
        left: calc(50vw + 34px + min(440px, 50vw - 288px))
    }
}
/* Tour workspace: three readable sections and persistent actions. */
#drawer-view-tourism .tm-journey{padding:20px 20px 0;background:var(--card-bg,#fff);color:var(--text-main,#353535);scroll-padding-top:18px}
.tm-journey .tm-journey-heading{margin-bottom:16px}
.tm-journey .tm-journey-heading small{display:none}
.tm-journey .tm-journey-heading h3{font-size:22px;font-weight:600;letter-spacing:0}
.tm-planning-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:6px;margin-bottom:22px;border-radius:12px;background:var(--bg-secondary,#f7f7f7)}
.tm-journey .tm-planning-steps>button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:7px 3px;border:0;border-radius:8px;background:transparent;color:var(--text-main,#404040);font-size:11px;font-weight:500}
.tm-planning-steps>button>span{display:grid;place-items:center;flex:none;width:21px;height:21px;border:1px solid var(--border,#e3e3e3);border-radius:50%;font-size:10px}
.tm-journey .tm-planning-steps>button:hover,.tm-journey .tm-planning-steps>button:focus-visible{background:var(--card-bg,#fff);color:var(--primary,#cc4b0b)}
.tm-planning-section{scroll-margin-top:18px;margin-bottom:24px}
.tm-journey .tm-simple-step,.tm-desktop-stage-title{margin:0 0 13px;font-size:14px;font-weight:600;line-height:1.6;color:var(--text-main,#353535)}
.tm-tour-generator{padding:0;margin:0;border:0;background:transparent}
#drawer-view-tourism .tm-tour-date-fields{margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--border,#ececec)}
#drawer-view-tourism .tm-journey-fields label{font-size:12px;font-weight:500;color:var(--text-main,#404040)}
#drawer-view-tourism .tm-journey :is(input,select){border-radius:9px;background-color:var(--bg-secondary,#f7f7f7);border-color:var(--border,#e8e8e8);font-size:12px}
.tm-generator-cities h4,.tm-selected-heading{color:var(--text-main,#404040);font-size:12px}
.tm-journey .tm-tour-stops{gap:10px;margin:12px 0}
.tm-journey .tm-tour-stops>li.tm-tour-stop-card{display:grid;grid-template-columns:76px minmax(0,1fr) 28px;align-items:start;gap:10px;padding:12px;border-radius:11px;border-color:var(--border,#e8e8e8);background:var(--card-bg,#fff);box-shadow:none}
.tm-tour-stops>li>b.tm-tour-stop-photo{width:76px;height:82px;border-radius:8px}
.tm-journey .tm-tour-place-name{font-size:12px!important;font-weight:500!important;line-height:1.55;color:var(--text-main,#353535);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:37px}
.tm-journey .tm-tour-stops small{font-size:11px;color:var(--text-light,#737373)}
#drawer-view-tourism .tm-tour-stops select{width:108px;max-width:100%;height:32px;min-height:32px;font-size:11px;line-height:18px;padding:5px 28px 5px 9px;background-position:right 8px center}
.tm-journey .tm-tour-stop-actions{gap:4px}
.tm-journey .tm-tour-stop-actions button{width:28px;height:26px;border-radius:6px;background:var(--bg-secondary,#f4f4f4);color:var(--text-main,#545454)}
.tm-journey .tm-tour-stop-card>.tm-stop-break{grid-column:1/-1;margin:0;padding-top:8px;border-top:1px solid var(--border,#f0f0f0);width:100%}
.tm-journey .tm-stop-break summary{color:var(--text-light,#737373);font-size:11px;font-weight:400}
.tm-journey :is(.tm-simple-options,.tm-planner-section){border-radius:9px;box-shadow:none;border-color:var(--border,#e8e8e8);background:var(--card-bg,#fff)}
.tm-journey :is(.tm-simple-options,.tm-planner-section)>summary{color:var(--text-main,#404040);font-size:12px;font-weight:500}
.tm-journey .tm-simple-total{background:var(--bg-secondary,#f7f7f7);color:var(--text-main,#404040);border-radius:9px;font-size:12px;font-weight:500}
.tm-journey .tm-tour-primary-actions{margin:0}
.tm-journey .tm-tour-primary-actions>button:first-child{background:var(--card-bg,#fff);color:var(--text-main,#404040);border-color:var(--border,#e4e4e4);min-height:40px;font-size:12px;font-weight:500}
.tm-journey .tm-tour-sticky-actions{position:sticky;bottom:0;z-index:5;margin:0 -20px;padding:12px 20px 16px;background:var(--card-bg,#fff);border-top:1px solid var(--border,#e8e8e8);box-shadow:0 -6px 18px #36363608}
.tm-tour-footer-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:12px;color:var(--text-light,#737373)}
.tm-tour-footer-summary strong{font-weight:500;color:var(--text-main,#404040)}
.tm-tour-footer-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tm-journey .tm-tour-footer-buttons>button{display:flex;align-items:center;justify-content:center;min-height:43px;padding:9px 8px;border:1px solid var(--border,#e4e4e4);border-radius:9px;background:var(--bg-secondary,#f7f7f7);color:var(--text-main,#404040);font-size:12px;font-weight:500;line-height:1.5}
.tm-journey .tm-tour-footer-buttons>button:is([data-tour-action=save],[data-tour-action=review-save]){background:#363636;border-color:#363636;color:#fff}
.tm-journey .tm-tour-footer-buttons>button:is([data-tour-action=save],[data-tour-action=review-save]):hover{background:#883207}
.tm-tour-sticky-actions .tm-tour-status{margin:0 0 10px;font-size:11px;color:var(--text-main,#404040)}
.tm-tour-sticky-actions .tm-tour-status:empty{display:none}
.tm-journey button:focus-visible{outline:2px solid var(--palette-ink,#292928);outline-offset:3px}
body.dark-theme .tm-journey .tm-tour-footer-buttons>button:is([data-tour-action=save],[data-tour-action=review-save]){background:#cc4b0b;border-color:var(--palette-line,#e7e7e4)}
#drawer-view-tourism .tm-card{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;min-height:106px;margin-bottom:9px;padding:12px;border:1px solid var(--border,#e8e8e8);border-radius:11px;background:var(--card-bg,#fff);box-shadow:none;text-align:left}
#drawer-view-tourism .tm-card img,#drawer-view-tourism .tm-card-photo{width:76px;height:82px;object-fit:cover;border-radius:8px}
#drawer-view-tourism .tm-card-content{min-width:0;gap:4px}
#drawer-view-tourism .tm-card strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;font-weight:500;line-height:1.55;color:var(--text-main,#353535)}
#drawer-view-tourism :is(.tm-card-category,.tm-card-city){font-size:11px;line-height:1.5;color:var(--text-light,#737373)}
#drawer-view-tourism .tm-card-access{font-size:10px;line-height:1.5}
#drawer-view-tourism .tm-card:hover,#drawer-view-tourism .tm-card[aria-current=true]{border-color:var(--palette-line,#e7e7e4);background:var(--bg-secondary,#f8f8f8)}
#drawer-view-tourism .tm-journey{scroll-padding-top:78px;scroll-padding-bottom:150px}
.tm-journey .tm-planning-steps{position:sticky;top:-20px;z-index:6;margin-inline:-20px;padding:10px 20px;border-radius:0;border-bottom:1px solid var(--border,#ececec);background:var(--card-bg,#fff)}
.tm-planning-section{scroll-margin-top:0}
/* Mobile uses the same stages with compact, touch-friendly controls. */
@media(max-width:768px){
 #drawer-view-tourism .tm-journey{padding:16px 16px 0;scroll-padding-top:65px;scroll-padding-bottom:150px}
 #drawer-view-tourism .tm-journey-heading{position:static;margin:0 0 12px;padding:0;border:0;background:transparent}
 #drawer-view-tourism .tm-journey-heading h3{font-size:19px}
 #drawer-view-tourism .tm-journey-heading>button{min-width:44px;min-height:44px}
 .tm-journey .tm-planning-steps{top:-16px;margin-inline:-16px;margin-bottom:16px;padding:8px 12px;gap:4px}
 .tm-journey .tm-planning-steps>button{min-height:40px;font-size:11px;gap:5px}
 .tm-planning-section{margin-bottom:20px}
 #drawer-view-tourism .tm-journey-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #drawer-view-tourism .tm-journey-fields :is(input,select){height:44px;min-height:44px;padding:9px 10px;font-size:13px;line-height:24px}
 #drawer-view-tourism .tm-journey-fields select{padding-right:30px;background-position:right 8px center}
 #drawer-view-tourism .tm-journey-fields label:has(input[type=date][value=""]):not(:focus-within)::after{left:11px;right:30px;bottom:10px;font-size:11px}
 #drawer-view-tourism .tm-tour-date-fields{margin-bottom:14px;padding-bottom:14px}
 .tm-journey .tm-tour-generator .tm-city-add{gap:7px}
 .tm-journey .tm-tour-generator .tm-city-add select{font-size:12px}
 .tm-journey .tm-tour-generator .tm-city-add button{padding:8px 10px;font-size:12px;min-height:44px}
 .tm-journey .tm-tour-stops>li.tm-tour-stop-card{grid-template-columns:68px minmax(0,1fr) 32px;gap:9px;padding:11px}
 .tm-tour-stops>li>b.tm-tour-stop-photo{width:68px;height:80px}
 .tm-journey .tm-tour-place-name{font-size:13px!important;line-height:1.5;min-height:39px}
 .tm-journey .tm-tour-stop-actions button{width:32px;height:32px;font-size:16px}
 #drawer-view-tourism .tm-tour-stops select{height:36px;min-height:36px;font-size:12px}
 .tm-journey .tm-stop-break summary{min-height:32px;display:flex;align-items:center;gap:5px;font-size:11px;list-style:none}
 .tm-journey .tm-stop-break summary:before{content:'▸';font-size:12px}
 .tm-journey .tm-stop-break[open] summary:before{transform:rotate(90deg)}
 .tm-journey .tm-stop-break summary::-webkit-details-marker{display:none}
 .tm-journey .tm-tour-sticky-actions{margin:0 -16px;padding:10px 16px calc(12px + env(safe-area-inset-bottom,0px))}
 .tm-tour-footer-summary{font-size:11px;margin-bottom:8px}
 .tm-journey .tm-tour-footer-buttons>button{min-height:44px;font-size:12px;padding:10px 7px}
 .tm-tour-sticky-actions .tm-tour-status{font-size:11px;line-height:1.5;max-height:50px;overflow-y:auto;margin-bottom:8px}
 #drawer-view-tourism .tm-card{grid-template-columns:68px minmax(0,1fr);gap:10px;padding:10px;min-height:100px}
 #drawer-view-tourism .tm-card img,#drawer-view-tourism .tm-card-photo{width:68px;height:80px}
 #drawer-view-tourism .tm-card strong{font-size:13px;line-height:1.5}
}
@media(max-width:350px){
 .tm-journey .tm-tour-stops>li.tm-tour-stop-card{grid-template-columns:54px minmax(0,1fr) 30px;gap:7px;padding:9px}
 .tm-tour-stops>li>b.tm-tour-stop-photo{width:54px;height:76px}
 .tm-journey .tm-tour-stop-actions button{width:30px}
 .tm-journey .tm-tour-place-name{font-size:12px!important}
}
/* Clear progress, quiet cards and explicit operation states on every screen. */
.tm-journey .tm-planning-steps>button.is-current{background:#f3f3f3;color:#cc4b0b;font-weight:600}
.tm-planning-steps>button.is-current>span{background:#cc4b0b;border-color:var(--palette-line,#e7e7e4);color:#fff}
.tm-journey .tm-planning-steps>button:disabled{opacity:.4;cursor:default}
.tm-planning-section[hidden],.tm-tour-sticky-actions[hidden]{display:none!important}
.tm-reorder-toolbar{display:flex;justify-content:flex-end;margin:0 0 8px}
.tm-journey .tm-reorder-toolbar>button{min-height:36px;padding:7px 10px;border:1px solid var(--border,#e4e4e4);border-radius:8px;background:var(--bg-secondary,#f7f7f7);color:var(--text-main,#545454);font-size:11px}
.tm-journey .tm-reorder-toolbar>button[aria-pressed=true]{background:#f3f3f3;color:#cc4b0b;border-color:var(--palette-line,#e7e7e4)}
.tm-tour-stops:not(.is-reordering) :is([data-tour-up],[data-tour-down]){display:none}
.tm-journey .tm-tour-stops:not(.is-reordering)>.tm-tour-stop-card{position:relative;grid-template-columns:76px minmax(0,1fr)}
.tm-tour-stops:not(.is-reordering) .tm-tour-stop-actions{position:absolute;right:8px;top:8px}
.tm-tour-stops:not(.is-reordering) .tm-tour-place-name{margin-right:25px}
.tm-journey .tm-visit-duration{display:grid;gap:4px;margin-top:4px;font-size:10px;font-weight:400;color:var(--text-light,#737373)}
.tm-visit-duration>span{font-size:10px;line-height:1.4}
.tm-journey .tm-tour-footer-buttons>button:is([data-tour-action=save],[data-tour-action=review-save]):disabled:not([aria-busy=true]){opacity:1;background:#edf6f1;color:#26734b;border-color:#d1e5da}
.tm-journey .tm-saved-tours-link{display:block;margin:7px auto 0;padding:4px 9px;min-height:32px;border:0;background:transparent;color:var(--primary,#cc4b0b);font-size:12px}
.tm-is-loading{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.tm-is-loading:before{content:'';display:block;flex:none;width:13px;height:13px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:tm-route-spin .75s linear infinite}
.tm-journey .tm-is-loading:disabled{opacity:.85}
.tm-back-to-tour{display:flex;align-items:center;min-height:44px;width:100%;padding:11px 16px;border:0;border-bottom:1px solid var(--border,#e8e8e8);background:var(--card-bg,#fff);color:var(--primary,#cc4b0b);font:500 12px/1.5 var(--font-firago,sans-serif);cursor:pointer;text-align:left}
body.dark-theme .tm-journey .tm-planning-steps>button.is-current,body.dark-theme .tm-journey .tm-reorder-toolbar>button[aria-pressed=true]{background:#3a3a3a;color:#fbcab2}
body.dark-theme .tm-journey .tm-tour-footer-buttons>button:is([data-tour-action=save],[data-tour-action=review-save]):disabled:not([aria-busy=true]){background:#203b31;color:#b5e6c8;border-color:#355948}
@media(max-width:768px){
 .tm-journey .tm-tour-stops:not(.is-reordering)>.tm-tour-stop-card{grid-template-columns:68px minmax(0,1fr)}
 .tm-journey .tm-visit-duration{font-size:11px;gap:5px}
 .tm-visit-duration>span{font-size:11px}
 .tm-journey .tm-reorder-toolbar>button{min-height:40px;font-size:12px}
 .tm-journey .tm-saved-tours-link{min-height:36px}
 #drawer-view-tourism .tm-journey{scroll-padding-bottom:190px}
}
@media(max-width:350px){.tm-journey .tm-tour-stops:not(.is-reordering)>.tm-tour-stop-card{grid-template-columns:54px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.tm-is-loading:before{animation:none}}
.tm-journey .tm-visit-duration{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tm-visit-duration>span{flex:1;min-width:0}
#drawer-view-tourism .tm-tour-stops .tm-visit-duration select{flex:0 0 92px;width:92px;max-width:92px}
@media(max-width:768px){
 .tm-journey .tm-visit-duration{gap:7px}
 #drawer-view-tourism .tm-tour-stops .tm-visit-duration select{flex-basis:86px;width:86px;max-width:86px}
}
@media(max-width:350px){
 .tm-journey .tm-visit-duration{gap:6px}
 .tm-visit-duration>span{font-size:10px}
 #drawer-view-tourism .tm-tour-stops .tm-visit-duration select{flex-basis:78px;width:78px;max-width:78px;font-size:11px;padding-left:7px;padding-right:24px;background-position:right 6px center}
}
.tm-journey .tm-duration-card{margin:18px 0;padding:15px 16px 17px;border:1px solid var(--border,#e7e7e7);border-radius:14px;background:linear-gradient(125deg,var(--card-bg,#fff),var(--bg-secondary,#f7f7f7));box-shadow:none}
.tm-duration-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px;color:var(--text-light,#737373);font-size:11px;font-weight:400}
.tm-duration-card-head>small{flex:none;padding:3px 7px;border-radius:6px;background:var(--bg-secondary,#f2f2f2);color:var(--text-light,#737373);font-size:9px;line-height:1.5}
.tm-duration-metrics{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:14px}
.tm-duration-metrics>div{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:5px 8px;min-width:0}
.tm-duration-metrics>div+div{border-left:1px solid var(--border,#e4e4e4);padding-left:14px}
.tm-duration-metrics svg{width:18px;height:18px;color:var(--primary,#cc4b0b);stroke-linecap:round;stroke-linejoin:round}
.tm-duration-metrics strong{color:var(--text-main,#353535);font-size:18px;line-height:1.5;font-weight:500;letter-spacing:-.02em;overflow-wrap:anywhere}
.tm-duration-metrics span{grid-column:2;color:var(--text-light,#737373);font-size:10px;line-height:1.6;font-weight:400}
@media(max-width:350px){
 .tm-journey .tm-duration-card{padding:13px 12px}
 .tm-duration-metrics{gap:9px}
 .tm-duration-metrics>div{gap:5px}
 .tm-duration-metrics>div+div{padding-left:9px}
 .tm-duration-metrics strong{font-size:16px}
 .tm-duration-metrics span{grid-column:1/-1;font-size:10px}
}
/* Shared tourism controls: one icon style, readable labels and quiet surfaces. */
.tm-ui-icon{display:block;flex:none;width:19px;height:19px;pointer-events:none}
.tm-journey :is(.tm-tour-stop-actions button,.tm-city-order button,.tm-journey-heading>button),:is(.tm-detail-close,.tm-tourism-detail-dismiss,.tm-photo-close,.tm-gallery-prev,.tm-gallery-next,.tm-photo-prev,.tm-photo-next){display:inline-flex;align-items:center;justify-content:center}
:is(.tm-back-to-tour,.tm-return-context,.tm-tourism-detail-back){display:flex;align-items:center;gap:8px;text-align:left;min-height:44px;font-size:13px;line-height:1.5}
.tm-tourism-detail-header .tm-tourism-detail-back{min-width:0;padding:8px 10px}
.tm-tourism-detail-back>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tm-tourism-detail-header .tm-tourism-detail-dismiss{flex:none;width:44px;min-height:44px}
#drawer-view-tourism .tm-detail-close{display:none}
.tm-journey .tm-simple-options,.tm-journey .tm-planner-section{padding:12px 0;border:0;border-bottom:1px solid var(--border,#e8e8e8);border-radius:0;box-shadow:none;background:transparent}
.tm-journey .tm-simple-options>summary,.tm-journey .tm-planner-section>summary{padding:6px 0;line-height:1.65}
.tm-journey .tm-plan-overview{background:transparent;border:0;padding:12px 0;border-radius:0}
.tm-journey .tm-tour-summary{margin-top:12px}
.tm-journey :is(.tm-generator-note,.tm-tour-settings p,.tm-passport-source){font-size:12px;line-height:1.7}
.tm-journey .tm-generator-status{font-size:12px;line-height:1.7}
.tm-journey .tm-tour-place-name{font-size:14px!important;line-height:1.55}
.tm-journey .tm-tour-stops small{font-size:12px}
.tm-journey .tm-visit-duration>span{font-size:11px;line-height:1.6}
.tm-journey :is(.tm-simple-options,.tm-planner-section)>summary{font-size:13px}
#drawer-view-tourism :is(.tm-detail-body p,.tm-detail-about p){font-size:13px;line-height:1.8;max-height:none}
#drawer-view-tourism .tm-card strong{font-size:14px;line-height:1.55}
#drawer-view-tourism :is(.tm-card-city,.tm-card-category){font-size:12px;line-height:1.6}
#drawer-view-tourism .tm-card[aria-current=true],.tm-journey .tm-tour-stop-card.is-selected{border-color:var(--palette-line,#e7e7e4);box-shadow:inset 3px 0 0 var(--primary,#cc4b0b);background:var(--bg-secondary,#f8f8f8)}
#drawer-view-tourism .tm-card[aria-current=true] strong,.tm-journey .tm-tour-stop-card.is-selected .tm-tour-place-name{color:var(--primary,#cc4b0b)}
.tm-tour-stops>li.tm-tour-day-group{display:block;padding:0;border:0;border-radius:0;background:transparent;min-width:0}
.tm-tour-day-group>details{min-width:0;border-bottom:1px solid var(--border,#e8e8e8)}
.tm-tour-day-group>details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;min-height:58px;list-style:none;cursor:pointer}
.tm-tour-day-group>details>summary::-webkit-details-marker{display:none}
.tm-tour-day-group summary>span{display:grid;gap:4px;min-width:0}
.tm-tour-day-group summary strong{font-size:13px;line-height:1.6;font-weight:600;color:var(--text-main,#353535)}
.tm-tour-day-group summary small{font-size:12px!important;color:var(--text-light,#737373)}
.tm-tour-day-group>details>summary>svg{color:var(--text-light,#737373);transition:transform .2s ease}
.tm-tour-day-group>details[open]>summary>svg{transform:rotate(180deg)}
.tm-tour-day-group .tm-tour-stops{margin:0 0 12px}
.tm-empty-state{display:grid;gap:9px;margin:20px 0;padding:20px 16px;border-radius:12px;background:var(--bg-secondary,#f8f8f8);text-align:center;color:var(--text-main,#404040)}
.tm-empty-state strong{font-size:14px;font-weight:500;line-height:1.6}
.tm-empty-state p{margin:0;font-size:13px;line-height:1.7;color:var(--text-light,#737373)}
.tm-empty-state button,.tm-journey .tm-action-error button{min-height:42px;padding:9px 12px;border:1px solid var(--palette-line,#e7e7e4);border-radius:9px;background:var(--card-bg,#fff);font-size:13px;line-height:1.5;color:var(--primary,#cc4b0b)}
.tm-action-error{display:grid;gap:8px;margin-bottom:10px;padding:10px 12px;border-left:3px solid #b42318;border-radius:7px;background:#fff1f0;color:#9f261f;font-size:12px;line-height:1.6}
.tm-journey .tm-action-error button{justify-self:start;min-height:36px;color:#9f261f;border-color:#ebc1bd}
#drawer-view-tourism .tm-accessibility{border:0;border-left:3px solid #8c8c8c;border-radius:8px;padding:12px 14px;background:var(--bg-secondary,#f8f8f8);font-size:13px;line-height:1.8}
#drawer-view-tourism .tm-accessibility[data-accessibility=accessible]{border-left-color:#21855b}
#drawer-view-tourism .tm-accessibility[data-accessibility=partly_accessible]{border-left-color:var(--palette-line,#e7e7e4)}
#drawer-view-tourism .tm-accessibility[data-accessibility=not_accessible]{border-left-color:#b42318}
.drawer-mission-status,.drawer-mission-when{display:inline-flex;align-items:center;gap:5px;line-height:1.5;border-radius:7px}
.tm-journey .tm-tour-stop-actions button:focus-visible,.tm-journey .tm-city-order button:focus-visible,.tm-tour-day-group summary:focus-visible,.tm-empty-state button:focus-visible{outline:2px solid var(--palette-ink,#292928);outline-offset:3px}
@keyframes tm-panel-arrive{from{opacity:.5;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){
 .tm-journey:not([hidden]),.tm-tourism-detail-overlay:not([hidden]) .tm-tourism-detail-panel{animation:tm-panel-arrive .2s ease-out}
 .tm-tour-day-group>details[open]>.tm-tour-stops{animation:tm-panel-arrive .18s ease-out}
 .tm-journey button,.tm-card{transition:background-color .16s,border-color .16s,box-shadow .16s}
}
@media(max-width:768px){
 #drawer-view-tourism .tm-journey-fields label{font-size:13px}
 .tm-journey :is(.tm-selected-heading,.tm-simple-step,.tm-tour-footer-summary){line-height:1.65}
 .tm-journey .tm-generator-note{font-size:12px}
 .tm-journey .tm-tour-place-name{font-size:14px!important}
 .tm-journey .tm-tour-stop-actions button{min-height:36px;width:34px}
 .tm-journey .tm-tour-stops.is-reordering>li.tm-tour-stop-card{grid-template-columns:64px minmax(0,1fr) 34px}
 .tm-journey .tm-visit-duration{flex-wrap:wrap;row-gap:4px}
 .tm-journey .tm-visit-duration>span{flex:1 0 70px}
 .tm-journey .tm-plan-metrics :is(span,b){font-size:12px}
 .tm-journey .tm-city-order button{min-height:36px;width:32px}
}
@media(prefers-reduced-motion:reduce){.tm-tour-day-group>details>summary>svg{transition:none}}
body.tourism-active .mission-compact-date{padding:3px 7px;background:var(--bg-secondary,#f5f5f5);border-radius:7px;line-height:1.5;font-variant-numeric:tabular-nums}
.tm-card-access{display:inline-flex;align-items:center;align-self:start;width:fit-content;gap:4px;padding:3px 6px;border-radius:6px;background:var(--bg-secondary,#edf7f1);line-height:1.5}
.tm-tour-number-pin.is-selected{background:#cc4b0b;border-color:#fff;box-shadow:0 0 0 4px #cc4b0b59,0 3px 14px #36363655;z-index:2}
/* Reserve scrollbar space before disclosures expand, keeping photos and text steady. */
#tm-detail.tm-integrated-detail{scrollbar-gutter:stable;min-width:0;box-sizing:border-box}
@supports not (scrollbar-gutter:stable){#tm-detail.tm-integrated-detail{overflow-y:scroll}}
/* Review, recover and name a tour without adding permanent clutter. */
.tm-journey .tm-tour-title-field{display:grid;gap:7px;margin:0 0 14px;font-size:13px;line-height:1.6;color:var(--text-main,#404040)}
#drawer-view-tourism .tm-tour-title-field input{height:44px;min-height:44px;padding:10px 12px;font-size:14px}
.tm-save-review{margin:14px 0;padding:15px;border-radius:12px;background:var(--bg-secondary,#f8f8f8)}
.tm-save-review h4{margin:0 0 12px;font-size:14px;font-weight:500;color:var(--text-main,#353535)}
.tm-save-review dl{display:grid;gap:10px;margin:0;font-size:13px;line-height:1.6}
.tm-save-review dl>div{display:flex;justify-content:space-between;gap:14px}
.tm-save-review dt{color:var(--text-light,#737373)}
.tm-save-review dd{margin:0;text-align:right;color:var(--text-main,#404040);font-variant-numeric:tabular-nums}
.tm-save-review p{font-size:12px;line-height:1.7;color:var(--text-light,#737373);margin:12px 0 0}
.tm-save-review:focus{outline:2px solid var(--palette-ink,#292928);outline-offset:2px}
.tm-undo-removal{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 16px;padding:9px 12px;background:var(--bg-secondary,#f6f6f6);border-radius:9px;font-size:12px;line-height:1.6;color:var(--text-main,#404040)}
.tm-journey .tm-undo-removal button{flex:none;border:0;border-radius:7px;background:var(--card-bg,#fff);color:var(--primary,#cc4b0b);min-height:40px;padding:7px 10px;font-size:12px}
.tm-day-shortcuts{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;padding:3px 1px 9px;margin:0 0 10px;scrollbar-width:thin}
.tm-journey .tm-day-shortcuts>button{flex:none;min-height:40px;padding:8px 12px;border:1px solid var(--border,#e4e4e4);border-radius:9px;background:var(--card-bg,#fff);color:var(--text-main,#404040);font-size:12px}
.tm-journey .tm-day-shortcuts>button[aria-current=true]{background:var(--bg-secondary,#f3f3f3);color:var(--primary,#cc4b0b);border-color:var(--palette-line,#e7e7e4)}
.tm-tour-day-group>details{scroll-margin-top:88px}
.tm-journey .tm-tour-stops>li>.tm-tour-stop-photo{position:relative;display:block;width:76px;height:82px;flex:none;min-width:0;min-height:0;padding:0;border:0;border-radius:8px;overflow:hidden;background:var(--bg-secondary,#e2eceb);cursor:pointer}
.tm-tour-stop-photo img{display:block;width:100%;height:100%;object-fit:cover}
.tm-tour-stop-card{cursor:pointer}
.tm-tour-stop-card :is(select,input,label,summary){cursor:auto}
.tm-tour-stop-card summary{cursor:pointer}
#drawer-view-tourism .tm-gallery-open img,#drawer-view-tourism .tm-detail-image{width:100%;height:auto;aspect-ratio:16/10;max-height:none;object-fit:cover}
#drawer-view-tourism .tm-detail-image{min-height:120px}
.tm-card-access[data-accessibility=unknown],.tm-card-access:not([data-accessibility=accessible]){color:var(--text-light,#737373);font-weight:400}
.tm-card-access[data-accessibility=not_accessible]{border-left:2px solid #b42318}
.tm-card-access[data-accessibility=partly_accessible]{border-left:2px solid var(--palette-line,#e7e7e4)}
.tm-food-toilet{white-space:normal;font-size:11px;line-height:1.6}
@media(max-width:768px){
 .tm-journey .tm-tour-stops>li>.tm-tour-stop-photo{width:68px;height:80px}
 .tm-save-review{padding:13px}
 .tm-save-review dl{font-size:12px}
 .tm-tour-day-group>details{scroll-margin-top:65px}
 body.tm-keyboard-open.tourism-active .desktop-left-column #drawer-view-tourism.active.tm-journey-open,body.tm-keyboard-open.tourism-active .desktop-left-column #drawer-view-tourism.active.tm-detail-open{bottom:var(--tm-keyboard-bottom,0px)!important}
 body.tm-keyboard-open.tourism-active .desktop-left-column #drawer-view-tourism.active:not(.tm-journey-open):not(.tm-detail-open){bottom:var(--tm-keyboard-bottom,0px)!important;height:max(150px,calc(100dvh - var(--mobile-shell-window-top,134px) - var(--tm-keyboard-bottom,0px)))!important;transform:none!important}
 body.tm-keyboard-open.tourism-active .tm-tour-sticky-actions,body.tm-keyboard-open.tourism-active .mobile-nav-bar{display:none!important}
 body.tm-keyboard-open.tourism-active #drawer-view-tourism .tm-journey{scroll-padding-bottom:20px}
}
@media(max-width:350px){
 .tm-journey .tm-tour-stops>li>.tm-tour-stop-photo{width:54px;height:76px}
 .tm-save-review dl>div{gap:8px}
 .tm-save-review dd{overflow-wrap:anywhere;max-width:65%}
}
.tm-undo-removal{position:sticky;top:58px;z-index:5;box-shadow:0 3px 12px #36363610}
@media(max-width:768px){.tm-undo-removal{top:56px}}

/* Compact desktop tourism catalogue. */
.tm-category-carousel{display:contents}
.tm-category-arrow{display:none}
.tm-adaptation-info{display:none}
.tm-card-row{position:relative;margin-bottom:8px}
#drawer-view-tourism .tm-card-row>.tm-card{width:100%;margin-bottom:0;box-sizing:border-box}
#drawer-view-tourism .tm-card-row .tm-card-content{padding-top:0}
#drawer-view-tourism .tm-card-row :is(.tm-card-category,.tm-card-content>strong){padding-right:112px}
#drawer-view-tourism .tm-card-row .tm-card-category{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#drawer-view-tourism .tm-card-row .tm-card-content>strong{-webkit-line-clamp:1}
.tm-card-row>.tm-card-add{position:absolute;right:10px;top:9px;min-height:28px;padding:5px 9px;border:0;border-radius:8px;background:var(--bg-secondary,#f3f3f3);color:var(--text-main,#404040);font:inherit;font-size:11px;cursor:pointer}
.tm-card-row>.tm-card-add:disabled{color:var(--text-light,#737373);cursor:default}
.tm-card-row>.tm-card-add:focus-visible{outline:2px solid var(--palette-ink,#292928);outline-offset:2px}
.tm-journey-back-row{margin:0 0 16px}
.tm-journey .tm-journey-back-row>button{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:7px 10px;border:1px solid var(--border,#e4e4e4);border-radius:9px;background:var(--card-bg,#fff);color:var(--text-main,#404040);font-size:12px}
.tm-journey-back-row .tm-ui-icon{width:16px;height:16px;flex:none}
@media(min-width:769px){
 #drawer-view-tourism>.tm-integrated-intro{position:relative;flex:none;padding:17px 19px 21px;background:var(--card-bg,#fff);min-height:82px;box-sizing:border-box}
 #drawer-view-tourism>.tm-integrated-intro>span{display:none}
 #drawer-view-tourism>.tm-integrated-intro>h2{display:none}
 #drawer-view-tourism>.tm-integrated-intro>p{display:none}
 #drawer-view-tourism .tm-adaptation-info{display:block;margin-top:0;color:#3a3a3a;text-align:left}
 #drawer-view-tourism .tm-adaptation-info>strong{display:flex;align-items:center;min-height:34px;padding-right:111px;font-size:22px;font-weight:500;line-height:1.45;letter-spacing:-.02em;text-wrap:balance}
 #drawer-view-tourism .tm-adaptation-info>p{margin:11px 0 0;font-size:13px;line-height:1.8;color:#767676}
 #drawer-view-tourism>.tm-integrated-intro>.tm-tour-entry{position:absolute;right:18px;top:18px;margin:0;min-height:34px;padding:7px 11px;border-radius:11px;font-size:11px}
 #drawer-view-tourism>.tm-integrated-controls{flex:none;grid-template-columns:minmax(0,1.35fr) minmax(125px,1fr);gap:9px;padding:13px 18px 11px}
 #drawer-view-tourism>.tm-integrated-controls>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #drawer-view-tourism>.tm-integrated-controls>#tm-search{grid-column:1;grid-row:1;min-width:0}
 #drawer-view-tourism>.tm-integrated-controls>#tm-region{grid-column:2;grid-row:1;min-width:0}
 #drawer-view-tourism .tm-integrated-controls :is(input,select){height:37px;font-size:11px;padding-left:10px}
 #drawer-view-tourism .tm-category-carousel{display:grid;grid-template-columns:26px minmax(0,1fr) 26px;grid-column:1/-1;gap:5px;align-items:center;min-width:0}
 #drawer-view-tourism .tm-category-arrow{display:grid;place-items:center;width:26px;height:28px;padding:0;border:1px solid #e7e7e7;border-radius:9px;background:#fff;color:#6e6e6e;font:19px/1 Arial;cursor:pointer}
 #drawer-view-tourism .tm-category-arrow:disabled{opacity:.3;cursor:default}
 #drawer-view-tourism .tm-integrated-categories{min-width:0;padding:2px 0;scrollbar-width:none}
 #drawer-view-tourism .tm-integrated-categories .tm-chip{flex:none;padding:6px 9px;font-size:10px;white-space:nowrap}
 #drawer-view-tourism .tm-integrated-results-head{flex:none;padding:11px 19px;font-size:11px}
 #drawer-view-tourism .tm-integrated-results{padding:0 14px 16px 18px;overscroll-behavior:contain}
 #drawer-view-tourism .tm-card{grid-template-columns:78px minmax(0,1fr);gap:11px;padding:9px;margin-bottom:8px;border-color:#ebebeb;border-radius:13px;box-shadow:none}
 #drawer-view-tourism .tm-card :is(img,.tm-card-photo){width:78px;height:78px;border-radius:10px}
 #drawer-view-tourism .tm-card-content{gap:4px}
 #drawer-view-tourism .tm-card strong{font-size:13px;font-weight:500;line-height:1.45;color:#393939}
 #drawer-view-tourism .tm-card-category{font-size:9px;font-weight:400;color:#868686}
 #drawer-view-tourism .tm-card-city{font-size:10px;color:#868686}
 #drawer-view-tourism .tm-card-access{font-size:9px;padding:2px 5px}
 body.dark-theme #drawer-view-tourism>.tm-integrated-intro{background:#282828}
 body.dark-theme #drawer-view-tourism .tm-adaptation-info{color:#fde1d3}
 body.dark-theme #drawer-view-tourism .tm-adaptation-info>p{color:#c8c8c8}
 body.dark-theme #drawer-view-tourism>.tm-integrated-intro>span,body.dark-theme #drawer-view-tourism .tm-card strong{color:#fde1d3}
 body.dark-theme #drawer-view-tourism .tm-category-arrow{background:#383838;border-color:#4f4f4f;color:#fbcfba}
}
