.tour-pane[hidden]{display:none!important}
.tour-pane{position:absolute;inset:0;overflow:auto;background:#f8faff;color:var(--ink);padding:24px clamp(16px,2.4vw,36px) 56px;overscroll-behavior:contain}
.tour-open .explorer,.tour-open .map-stage,.tour-open .date-dock{display:none!important}.tour-open .tour-pane{display:block}
.tour-pane *{box-sizing:border-box}.tour-pane h1,.tour-pane h2,.tour-pane h3,.tour-pane p{margin:0}
.tour-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.tour-eyebrow{color:var(--blue);font-size:10px;letter-spacing:.15em;font-weight:700}.tour-heading h1{font:600 27px/1.5 var(--sans);letter-spacing:-.035em;color:var(--blue);margin-top:3px}.tour-save-status{font-size:11px;color:var(--muted);line-height:1.6;white-space:nowrap}
.tour-pane label{font-size:11px;color:var(--muted);display:flex;flex-direction:column;gap:5px;min-width:0}.tour-pane select,.tour-pane input{width:100%;min-height:44px;font:inherit;font-size:13px;background:#fff;border:1px solid #bdcce4;border-radius:2px;color:var(--ink);padding:8px}.tour-pane button{min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:2px;font:inherit;font-size:12px;background:white;color:var(--blue)}.tour-pane button:disabled{opacity:.4;cursor:default}.tour-pane :focus-visible{outline:3px solid #ed8b22;outline-offset:2px}.tour-pane .tour-primary{background:var(--blue);color:white;border-color:var(--blue);font-weight:600}
.tour-controls{display:grid;grid-template-columns:1fr .7fr minmax(155px,.7fr) 1.6fr 1.6fr;gap:12px;background:white;border:1px solid var(--line);padding:14px 16px;margin-bottom:20px}
.tour-workbench{display:grid;grid-template-columns:340px minmax(0,1fr);gap:20px;align-items:start}.tour-card-browser{border:1px solid var(--line);background:#fff;position:sticky;top:0;min-width:0}.tour-browser-toolbar{display:flex;align-items:center;gap:10px;padding:12px;border-bottom:1px solid var(--line)}.tour-browser-toolbar input{min-width:0;flex:1;font-size:12px}.tour-browser-toolbar>span{white-space:nowrap;color:var(--blue);font-size:11px}.tour-card-scroll{overflow:auto;max-height:calc(100dvh - 300px);min-height:300px;overscroll-behavior:contain;scrollbar-width:thin;padding:16px 12px}
.tour-pick-section+.tour-pick-section{margin-top:28px}.tour-section-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.tour-section-head h2{font-size:15px;line-height:1.6;font-weight:600}.tour-section-head>span{font-size:11px;color:var(--muted);white-space:nowrap}.tour-section-note{font-size:10px;line-height:1.8;color:var(--muted);margin-bottom:12px!important}.tour-pick-section:first-child h2{color:var(--favorite,#e15a47)}.tour-pick-grid{display:grid;gap:10px}
.tour-pick-card{position:relative;border:1px solid var(--line);background:#fff;transition:border-color .15s,background .15s}.tour-pick-card:hover{border-color:#a2b8e7;background:#f8faff}.tour-pick-card.is-selected{border-color:var(--blue);background:#eff4ff;box-shadow:inset 3px 0 var(--blue)}.tour-pane .tour-pick{position:relative;display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px;text-align:left;width:100%;padding:10px;border:0;background:transparent;color:var(--ink);border-radius:0}.tour-pick-photo{width:82px;height:86px;object-fit:contain;background:#f3f6fc;align-self:start}.tour-pick-number{position:absolute;left:13px;top:71px;background:white;color:var(--blue);font:600 14px/22px var(--display);min-width:22px;text-align:center}.tour-pick-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.tour-pick-copy>b{font-size:12px;line-height:1.5;font-weight:600;padding-right:21px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.tour-pick-copy>small{font-size:10px;line-height:1.6;color:var(--muted)}.tour-pick-hours{font-size:10px;line-height:1.7;color:#446186}.tour-pick-hours.is-off{color:#a35727}.tour-pick-action{font-size:10px;color:var(--blue);line-height:1.8;margin-top:2px}
.tour-pane .tour-pick-favorite{position:absolute;right:0;top:0;width:44px;padding:12px;border:0;background:transparent;color:#8195b5}.tour-pick-favorite svg{width:17px;height:17px;stroke-width:1.5}.tour-pick-favorite.is-favorite{color:var(--favorite,#e15a47)}.tour-pick-favorite.is-favorite svg{fill:currentColor}.tour-photo-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:8px}.tour-photo-placeholder img{width:64px;height:auto;opacity:.65}.tour-photo-placeholder>span{font-size:8px;line-height:1.4;color:var(--muted)}.tour-card-empty{font-size:11px;line-height:1.9;color:var(--muted);padding:14px;background:#f8faff;border:1px dashed var(--line)}
.tour-plan-column{min-width:0;display:grid;gap:18px}.tour-gantt-panel,.tour-suggestion-panel,.tour-detail-section{min-width:0;background:#fff;border:1px solid var(--line);padding:18px}.tour-gantt-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.tour-gantt-heading h2{font-size:17px;font-weight:600;line-height:1.5}.tour-gantt-badge{font-size:10px;color:var(--blue);background:#edf2ff;padding:5px 8px;white-space:nowrap}.tour-summary{display:flex;gap:24px;flex-wrap:wrap;margin-bottom:16px;font-variant-numeric:tabular-nums}.tour-summary>span{font-size:10px;color:var(--muted)}.tour-summary strong{display:block;font-size:23px;font-weight:600;color:var(--blue);line-height:1.5}.tour-summary strong small{font-size:11px;font-weight:400;margin-left:4px}
.tour-chart-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:10px}.tour-chart-toolbar p{font-size:10px;line-height:1.8;color:var(--muted)}.tour-legend{display:flex;gap:12px;font-size:10px;color:var(--muted)}.tour-legend span:before{content:'';display:inline-block;width:10px;height:10px;background:var(--blue);margin-right:5px;vertical-align:-1px}.tour-legend span:nth-child(2):before{background:repeating-linear-gradient(135deg,#dae0f6 0 3px,#f3f5fc 3px 6px);border:1px solid #b4c0e1}.tour-legend span:nth-child(3):before{background:#eef4ff;border-bottom:2px solid #afc9fa}
.tour-chart-scroll{position:relative;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid var(--line);background:#fff;scrollbar-width:thin}.tour-chart{--label-width:216px;--lane-width:900px;width:calc(var(--label-width) + var(--lane-width));min-width:100%;font-variant-numeric:tabular-nums}.tour-chart-axis,.tour-chart-row{display:grid;grid-template-columns:var(--label-width) var(--lane-width);border-bottom:1px solid #e6ecf7}.tour-chart-row:last-child{border-bottom:0}.tour-chart-axis{height:34px;background:#f8faff}.tour-row-label{position:sticky;left:0;z-index:3;background:#fff;border-right:1px solid var(--line);padding:8px;font-size:10px;line-height:1.5;display:flex;gap:7px;align-items:center;min-width:0;overflow:hidden}.tour-row-copy{min-width:0;display:flex;flex-direction:column;flex:1}.tour-row-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:500}.tour-row-copy small{font-size:9px;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tour-chart-axis .tour-row-label{background:#f8faff;letter-spacing:.03em}.tour-row-photo{width:28px;height:32px;object-fit:contain;background:#f3f6fc;flex-shrink:0}.tour-row-photo.tour-photo-placeholder{padding:2px}.tour-row-photo.tour-photo-placeholder>span{display:none}.tour-pane .tour-order-grip{width:24px;min-width:24px;min-height:44px;padding:0;border:0;background:transparent;color:#8a9ab5;font-size:22px;cursor:grab;touch-action:none}.tour-pane .tour-row-remove{min-width:28px;width:28px;padding:0;border:0;background:transparent;color:#8898b1;font-size:18px}
.tour-lane{position:relative;min-height:72px;background-image:linear-gradient(to right,#e6ecf7 1px,transparent 1px);background-size:90px 100%}.tour-chart-row.is-travel .tour-lane,.tour-chart-row.is-wait .tour-lane{min-height:44px}.tour-chart-row.is-travel .tour-row-label,.tour-chart-row.is-wait .tour-row-label{padding-left:15px;background:#fafcff}.tour-chart-axis .tour-lane{min-height:34px;background:none}.tour-tick{position:absolute;top:9px;font-size:10px;color:var(--muted);transform:translateX(-50%)}.tour-open-window{position:absolute;top:5px;bottom:5px;background:#f2f6ff;border-bottom:2px solid #c7d9fc;pointer-events:none}.tour-bar{position:absolute;top:18px;height:36px;min-width:2px;background:var(--blue);color:white;display:flex;align-items:center;padding:0 8px;font-size:10px;white-space:nowrap;border-radius:2px}.tour-visit-bar{cursor:grab;touch-action:none;user-select:none;box-shadow:0 2px 4px #0f3f9610}.tour-visit-bar:active,.tour-order-grip:active{cursor:grabbing}.tour-bar-text{pointer-events:none;overflow:hidden;text-overflow:ellipsis;padding-right:8px}.tour-travel-bar,.tour-wait-bar{top:9px;height:26px;font-size:9px;background:repeating-linear-gradient(135deg,#e0e6fb 0 4px,#f3f5ff 4px 8px);border:1px solid #a5b9e4;color:#48608e}.tour-wait-bar{background:#fff5e7;border-color:#e1c9a1;color:#8a652e}.tour-resize{position:absolute;right:-10px;top:-4px;width:26px;height:44px;background:transparent!important;cursor:ew-resize;touch-action:none;z-index:2;border:0!important;min-height:44px!important;padding:0!important;border-radius:0!important}.tour-resize:before{content:'';position:absolute;inset:8px 9px;background:white;border:1px solid var(--blue);border-radius:2px;box-shadow:0 0 0 1px white}.tour-resize:after{content:'⋮';position:absolute;inset:8px 9px;color:var(--blue);font-size:17px;line-height:25px;pointer-events:none}.tour-chart-row.is-warning .tour-row-label{box-shadow:inset 3px 0 #c96716}.tour-drop-before{box-shadow:inset 0 3px var(--blue)}.tour-drop-after{box-shadow:inset 0 -3px var(--blue)}.tour-drag-ghost{box-shadow:0 8px 24px #154aab35;opacity:.9;cursor:grabbing}
.tour-gantt-empty{padding:32px 24px;text-align:center;min-height:195px;background:linear-gradient(90deg,#fff,#f8faff)}.tour-gantt-empty>span{font-size:30px;line-height:1;color:#a8bce1;display:block;margin-bottom:10px}.tour-gantt-empty h3{font-size:14px;color:var(--blue);font-weight:500}.tour-gantt-empty p{font-size:11px;line-height:1.9;color:var(--muted);margin-top:10px!important}.tour-movement-note{margin-top:12px!important;font-size:10px;line-height:1.8;color:#567194}.tour-warning-details{margin-top:10px;color:#864a0d;font-size:11px}.tour-pane summary{cursor:pointer;line-height:1.7;font-size:12px;min-height:44px;align-content:center}.tour-warnings{display:grid;gap:6px;margin-top:10px;color:#864a0d;font-size:11px;line-height:1.8}.tour-warning{background:#fff5e8;border-left:3px solid #d27a27;padding:8px 10px}
.tour-suggestion-panel .tour-section-head h2{font-size:16px}.tour-suggestion-panel #tour-recalculate{border:0;font-size:11px;min-width:64px}.tour-suggestion-empty{padding:14px;background:#f8faff;font-size:12px;line-height:1.9;color:var(--muted)}.tour-suggestion-empty b{font-weight:500;color:var(--ink)}.tour-suggestion-empty p{font-size:11px;margin-top:4px!important}.tour-proposal{padding:14px;background:#eff5ff;border-left:3px solid var(--blue)}.tour-proposal.has-conflict{background:#fff8ee;border-color:#c98b36}.tour-proposal-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--blue);font-weight:500}.tour-proposal-heading button{white-space:nowrap}.tour-proposal-order{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.tour-proposal-order>span{background:#fff;padding:7px 9px;font-size:11px;border:1px solid #d9e5fb;line-height:1.7}.tour-proposal-order b{font:600 14px var(--display);color:var(--blue);margin-right:4px}.tour-proposal-order small{display:block;font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.tour-proposal>p{font-size:11px;line-height:1.9;color:#476487}.tour-proposal .tour-hint{font-size:10px;color:var(--muted);margin-top:7px}.tour-proposal-warning{color:#925216!important;margin-top:6px!important}
.tour-extra-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:18px 0 10px}.tour-extra-heading h3{font-size:13px;font-weight:500}.tour-extra-heading>span{font-size:10px;color:var(--muted)}.tour-extra-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tour-extra-card{min-width:0;border:1px solid var(--line);display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px;padding:10px}.tour-extra-photo{width:52px;height:60px;object-fit:contain;background:#f5f7fc}.tour-extra-card b{display:block;font-size:11px;line-height:1.7;font-weight:500}.tour-extra-card p{font-size:10px;line-height:1.7;color:var(--muted);margin-block:5px!important}.tour-extra-card small{display:block;font-size:9px;line-height:1.8;color:#587194}.tour-extra-card button{width:100%;margin-top:7px;padding:5px;font-size:10px}.tour-extra-empty{font-size:10px;line-height:1.9;color:var(--muted);margin-top:12px!important}
.tour-detail-section{padding:6px 16px}.tour-detail-section>summary{font-weight:500;color:#426086}.tour-detail-section[open]>summary{border-bottom:1px solid var(--line);margin-bottom:12px}.tour-visit-list{display:grid;gap:8px;margin-bottom:12px}.tour-visit-item{border:1px solid var(--line);background:#fff;min-width:0}.tour-visit-item>summary{display:flex;gap:9px;align-items:center;padding:8px 10px}.tour-visit-item>summary:before{content:'▸';color:#8da2c4;font-size:10px}.tour-visit-item[open]>summary:before{content:'▾'}.tour-visit-item>summary b{flex:1;font-size:12px;line-height:1.7;font-weight:500}.tour-visit-item>summary>span:last-child{font-size:10px;white-space:nowrap;color:var(--muted)}.tour-number{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:23px;height:23px;background:var(--blue);color:white;font:500 15px var(--display)}.tour-visit-edit{padding:0 12px 12px}.tour-stay-controls{display:grid;grid-template-columns:44px minmax(80px,160px) 44px;gap:6px;align-items:end;margin:10px 0}.tour-hint{font-size:11px;line-height:1.9;color:var(--muted);margin-top:8px!important}.tour-visit-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:10px}.tour-visit-actions a{font-size:11px;margin-left:5px;color:var(--blue)}.tour-advisory{padding:10px;background:#fff5e8;color:#755321;font-size:11px;line-height:1.8;margin-block:8px!important}.tour-advisory a{color:var(--blue)}
.tour-route-list{display:grid;gap:12px;margin-bottom:12px}.tour-route{border:1px solid var(--line);background:#fff;padding:14px}.tour-route-heading{display:flex;align-items:flex-start;gap:9px;margin-bottom:10px;font-size:12px;line-height:1.7}.tour-route-heading b{font-weight:500;flex:1;overflow-wrap:anywhere}.tour-route-heading time{font-size:10px;color:var(--muted);white-space:nowrap}.tour-route-controls{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(90px,.7fr);gap:10px}.tour-route-controls.has-wait{grid-template-columns:minmax(0,1.5fr) minmax(85px,.65fr) minmax(85px,.65fr)}.tour-route-steps{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0 10px}.tour-route-step{background:#f1f4fc;padding:6px 9px;font-size:11px;line-height:1.6}.tour-pane .tour-route-step{max-width:240px;font-size:11px;flex:1 1 140px;gap:6px;color:#445d83}.tour-route-step>span{display:flex;align-items:center;gap:6px}.tour-route-step input{max-width:86px;min-height:44px}.tour-route-meta{font-size:10px;line-height:1.9;color:var(--muted);overflow-wrap:anywhere}.tour-route-meta a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}.tour-route-links{display:flex;gap:14px;flex-wrap:wrap;margin-top:8px;font-size:11px;line-height:2}.tour-route-links a{color:var(--blue)}.tour-status-badge{display:inline-block;padding:2px 6px;background:#fff2dc;color:#855219;font-size:10px;margin-right:5px}.tour-status-badge.verified{background:#e6f3ee;color:#286849}.tour-status-badge.user{background:#eaf0ff;color:#34558f}
.tour-history{margin-top:20px;font-size:10px;color:var(--muted);line-height:1.9}.tour-history>summary{font-size:11px}.tour-history p{max-width:900px}
@media(max-width:1150px){.tour-workbench{grid-template-columns:290px minmax(0,1fr);gap:14px}.tour-pane{padding:20px}.tour-extra-grid{grid-template-columns:1fr}.tour-extra-card{grid-template-columns:52px minmax(0,1fr)}.tour-extra-card button{width:auto;padding-inline:12px}.tour-controls{gap:8px}.mode-navigation button{padding-inline:10px}.tour-chart{--label-width:190px}.tour-row-photo{display:none}}
@media(max-width:820px){.tour-workbench{grid-template-columns:250px minmax(0,1fr)}.tour-controls{grid-template-columns:1fr 1fr 1fr}.tour-pick{grid-template-columns:64px minmax(0,1fr)!important}.tour-pick-photo{width:64px;height:76px}.tour-pick-number{top:61px}.tour-gantt-panel,.tour-suggestion-panel{padding:12px}.tour-chart{--label-width:150px}.tour-summary{gap:16px}.tour-proposal-heading{flex-wrap:wrap}.tour-gantt-heading{align-items:start;flex-direction:column;gap:5px}}
@media(max-width:760px),(max-width:1000px) and (max-height:500px){.tour-pane{padding:16px 12px calc(100px + env(safe-area-inset-bottom))}.tour-heading{align-items:start;gap:8px}.tour-heading h1{font-size:22px}.tour-save-status{white-space:normal;max-width:85px;font-size:10px}.tour-eyebrow{font-size:9px}.tour-controls{padding:10px;gap:8px;grid-template-columns:1fr 1fr 1fr;margin-bottom:12px}.tour-controls label:nth-child(4),.tour-controls label:nth-child(5){grid-column:1/-1}.tour-workbench{display:flex;flex-direction:column;gap:14px}.tour-card-browser{position:static;width:100%}.tour-card-scroll{max-height:380px;min-height:0;padding:12px}.tour-pick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tour-pane .tour-pick{display:flex;flex-direction:column;gap:7px;padding:8px}.tour-pick-photo{width:100%;height:82px;object-fit:contain}.tour-pick-number{top:65px;left:11px}.tour-pick-copy{width:100%}.tour-pick-copy>b{font-size:11px;padding-right:0;min-height:33px}.tour-pick-card .tour-pick-favorite{background:#ffffffcc;top:0;right:0}.tour-pick-copy>small,.tour-pick-hours,.tour-pick-action{font-size:9px}.tour-card-empty{grid-column:1/-1}.tour-section-note{font-size:10px}.tour-pick-section+.tour-pick-section{margin-top:20px}.tour-browser-toolbar{padding:8px 10px}.tour-plan-column{width:100%;gap:12px}.tour-gantt-heading{flex-direction:row;align-items:center}.tour-gantt-heading h2{font-size:14px}.tour-gantt-badge{font-size:9px;padding:4px}.tour-summary{gap:18px}.tour-summary strong{font-size:21px}.tour-summary>span{font-size:9px}.tour-chart{--label-width:138px}.tour-row-label{gap:4px;padding:5px}.tour-row-copy b{font-size:10px}.tour-row-copy small{font-size:8px}.tour-pane .tour-order-grip{min-width:24px}.tour-pane .tour-row-remove{min-width:24px;width:24px}.tour-gantt-empty{padding:24px 14px;min-height:180px}.tour-gantt-empty p{font-size:10px}.tour-extra-grid{grid-template-columns:1fr}.tour-extra-heading{display:block}.tour-extra-heading>span{display:block;margin-top:3px}.tour-proposal{padding:10px}.tour-proposal-heading{font-size:11px}.tour-proposal-heading button{font-size:11px;width:100%}.tour-route-controls,.tour-route-controls.has-wait{grid-template-columns:1fr 1fr}.tour-route-controls>label:first-child{grid-column:1/-1}.tour-route-heading{flex-wrap:wrap}.tour-route-heading time{margin-left:32px}.tour-visit-item>summary{flex-wrap:wrap;gap:6px}.tour-visit-item>summary>span:last-child{margin-left:43px}.mobile-navigation{gap:2px;padding-inline:4px}.mobile-navigation button{padding:8px 3px;font-size:11px;gap:4px;min-width:0}.mobile-navigation svg{width:16px;height:16px}.mobile-navigation .favorite-count,#mobile-event-count{display:none!important}}
@media(prefers-reduced-motion:reduce){.tour-pane *{scroll-behavior:auto;transition:none}}

.tour-pane .tour-mobile-jump{display:none}
@media(max-width:760px),(max-width:1000px) and (max-height:500px){.tour-pane .tour-mobile-jump{display:block;font-size:10px;padding:6px 8px;white-space:nowrap}.tour-browser-toolbar>span{display:none}.tour-card-browser,.tour-gantt-panel{scroll-margin-top:12px}}

/* Display preferences stay separate from the saved tour plan. */
.tour-chart-view{display:flex;border:1px solid var(--line);background:#f7f9fd;border-radius:3px;flex-shrink:0}
.tour-pane .tour-chart-view button{min-height:44px;min-width:52px;padding:6px 12px;border:0;background:transparent;color:var(--muted);border-radius:2px;font-size:11px}
.tour-pane .tour-chart-view button[aria-pressed=true]{background:#fff;color:var(--blue);box-shadow:0 1px 3px #183e7515;font-weight:600}
.tour-chart-toolbar>p{flex:1 1 220px}
.tour-pane .tour-order-grip{font-size:16px;color:#6f88ac;opacity:.24;transition:opacity .15s}
.tour-chart-row:hover .tour-order-grip,.tour-chart-row:focus-within .tour-order-grip,.tour-pane .tour-order-grip.is-dragging{opacity:1}
.tour-resize{right:-22px;top:-4px;width:44px;height:44px;min-width:44px}
.tour-resize:before{inset:13px 21px;background:currentColor;border:0;box-shadow:none;color:#fff;opacity:.25;transition:opacity .15s}
.tour-resize:after{content:none}
.tour-visit-bar:hover .tour-resize:before,.tour-visit-bar:focus-within .tour-resize:before,.tour-resize.is-dragging:before{opacity:1}
.tour-chart-scroll.is-vertical{overflow:auto;max-height:620px;overscroll-behavior:contain}
.tour-chart.is-vertical{display:flex;width:max-content;min-width:100%;height:calc(var(--time-extent) + 64px);align-items:stretch}
.tour-chart.is-vertical .tour-chart-axis,.tour-chart.is-vertical .tour-chart-row{display:flex;flex-direction:column;flex:0 0 176px;grid-template-columns:none;height:100%;border-bottom:0;border-right:1px solid #e6ecf7;min-width:0}
.tour-chart.is-vertical .tour-chart-axis{position:sticky;left:0;z-index:5;flex-basis:64px;background:#f8faff}
.tour-chart.is-vertical .tour-chart-row.is-travel,.tour-chart.is-vertical .tour-chart-row.is-wait{flex-basis:100px}
.tour-chart.is-vertical .tour-row-label{position:sticky;top:0;left:auto;z-index:4;flex:0 0 64px;min-height:64px;height:64px;border-right:0;border-bottom:1px solid var(--line);padding:6px;align-items:center}
.tour-chart.is-vertical .tour-row-copy b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.4;font-size:10px;overflow:hidden}
.tour-chart.is-vertical .tour-row-copy small{font-size:8px;line-height:1.5}
.tour-chart.is-vertical .tour-row-photo{display:none}
.tour-chart.is-vertical .tour-chart-axis .tour-row-label{display:block;font-size:9px;line-height:1.7;align-content:center;background:#f8faff}
.tour-chart.is-vertical .tour-chart-row.is-travel .tour-row-label,.tour-chart.is-vertical .tour-chart-row.is-wait .tour-row-label{padding-left:8px}
.tour-chart.is-vertical .tour-lane{flex:0 0 var(--time-extent);height:var(--time-extent);min-height:var(--time-extent);width:100%;background-image:linear-gradient(to bottom,#e6ecf7 1px,transparent 1px);background-size:100% 90px}
.tour-chart.is-vertical .tour-chart-axis .tour-lane{background:none}
.tour-chart.is-vertical .tour-tick{left:8px;font-size:9px;line-height:16px}
.tour-chart.is-vertical .tour-open-window{left:5px;right:5px;bottom:auto;width:auto;border-bottom:0;border-right:2px solid #c7d9fc}
.tour-chart.is-vertical .tour-bar{left:8px;right:8px;bottom:auto;width:auto;min-height:2px;padding:7px 8px;align-items:flex-start;white-space:normal}
.tour-chart.is-vertical .tour-bar-text{max-height:100%;padding:0;overflow:hidden;line-height:1.6;font-size:10px}
.tour-chart.is-vertical .tour-travel-bar,.tour-chart.is-vertical .tour-wait-bar{padding:2px 5px;font-size:9px}
.tour-chart.is-vertical .tour-travel-bar .tour-bar-text,.tour-chart.is-vertical .tour-wait-bar .tour-bar-text{font-size:9px}
.tour-chart.is-vertical .tour-resize{left:0;right:0;top:auto;bottom:-22px;width:100%;height:44px;cursor:ns-resize}
.tour-chart.is-vertical .tour-resize:before{inset:21px 25% auto;height:2px}
.tour-chart.is-vertical .tour-drop-before{box-shadow:inset 3px 0 var(--blue)}
.tour-chart.is-vertical .tour-drop-after{box-shadow:inset -3px 0 var(--blue)}
@media(max-width:760px),(max-width:1000px) and (max-height:500px){.tour-chart-scroll.is-vertical{max-height:480px}.tour-chart-toolbar>p{font-size:9px;flex-basis:160px}.tour-chart.is-vertical .tour-chart-row{flex-basis:164px}.tour-chart.is-vertical .tour-chart-row.is-travel,.tour-chart.is-vertical .tour-chart-row.is-wait{flex-basis:90px}}
@media(hover:none),(pointer:coarse){.tour-pane .tour-order-grip{width:44px;min-width:44px;opacity:.45}.tour-pane .tour-row-remove{width:44px;min-width:44px}.tour-chart:not(.is-vertical){--label-width:184px}.tour-resize:before{opacity:.55}}
@media(prefers-reduced-motion:reduce){.tour-order-grip,.tour-resize:before{transition:none}}

.tour-drag-ghost .tour-resize{visibility:hidden}.tour-drag-ghost.is-vertical{align-items:flex-start;white-space:normal;padding:7px 8px}.tour-drag-ghost.is-vertical .tour-bar-text{padding:0;line-height:1.6;white-space:normal}

/* Time gestures preview independent placement before saving. */
.tour-chart.is-drag-preview:not(.is-vertical){display:flex;flex-direction:column}
.tour-chart.is-drag-preview .tour-chart-axis{order:0}
.tour-chart.is-drag-preview .tour-chart-row{transition:none}
.tour-drag-source .tour-visit-bar{opacity:.3}
.tour-drop-before,.tour-drop-after{position:relative;z-index:6;background:#eff5ff}
.tour-drop-before:after,.tour-drop-after:after{content:'ここへ';position:absolute;left:8px;top:-9px;font-size:9px;line-height:18px;padding:0 5px;background:var(--blue);color:#fff;border-radius:2px;pointer-events:none}
.tour-drop-after:after{top:auto;bottom:-9px}
.tour-chart.is-vertical .tour-drop-before:after{left:-12px;top:67px;writing-mode:vertical-rl}
.tour-chart.is-vertical .tour-drop-after:after{left:auto;right:-12px;top:67px;bottom:auto;writing-mode:vertical-rl}
.tour-drag-preview{position:fixed;z-index:1001;max-width:284px;padding:9px 12px;background:#153f82;color:white;border-radius:3px;font:12px/1.7 var(--sans,sans-serif);font-variant-numeric:tabular-nums;box-shadow:0 4px 18px #173a7a28;pointer-events:none}
.tour-wait-policy{flex:0 0 auto;gap:3px!important;font-size:9px!important}
.tour-wait-policy select{width:174px;min-height:40px;font-size:11px;padding:6px 8px}
.tour-chart-view{border:0;background:transparent;opacity:.75}
.tour-pane .tour-chart-view button{min-width:44px;padding:6px 7px;font-size:10px}
.tour-pane .tour-chart-view button[aria-pressed=true]{box-shadow:none;background:#f1f5fc}
.tour-conflict-note{margin-top:10px!important;padding:8px 10px;color:#864a0d;background:#fff5e8;font-size:10px;line-height:1.8;border-left:2px solid #d27a27}
.tour-opening-option{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:10px;margin-top:10px}
.tour-opening-option p{flex:1;min-width:180px;color:#826039;font-size:10px}
.tour-pane .tour-opening-option button{font-size:11px;flex-shrink:0}

/* Travel detail opens from a timeline segment without leaving the Gantt. */
.tour-travel-bar[data-leg-details]{cursor:pointer}
.tour-travel-bar[data-leg-details]:hover{border-color:var(--blue);filter:brightness(.98)}
.tour-pane .tour-leg-open{min-height:32px;padding:0;border:0;background:transparent;font-size:9px;color:#61738f;display:inline-flex;align-items:center;gap:6px;max-width:100%}
.tour-leg-open>span:last-child{white-space:nowrap}
.tour-leg-open .tour-transport-summary>span:last-child{font-size:8px}
.tour-leg-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(480px,100%);max-width:100%;height:100dvh;max-height:100dvh;padding:0;border:0;border-left:1px solid var(--line);background:#fff;color:var(--ink);box-shadow:-12px 0 36px #153e8128;font:12px/1.8 var(--sans,sans-serif)}
.tour-leg-drawer::backdrop{background:#20385838}
.tour-leg-drawer[open]{display:flex;flex-direction:column}
.tour-leg-drawer-heading{flex-shrink:0}
.tour-leg-drawer[open] .tour-leg-drawer-body{flex:1;min-height:0;max-height:none}
.tour-leg-drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid var(--line)}
.tour-leg-drawer-heading>div{min-width:0}
.tour-leg-drawer-heading span{font-size:10px;color:var(--muted)}
.tour-leg-drawer-heading h2{font-size:16px;line-height:1.6;font-weight:600;overflow-wrap:anywhere}
.tour-pane .tour-leg-drawer-heading button{flex-shrink:0;width:44px;padding:0;border:0;font-size:24px;background:#f5f8fd}
.tour-leg-drawer-body{overflow:auto;max-height:calc(100dvh - 108px);padding:20px 22px calc(22px + env(safe-area-inset-bottom));overscroll-behavior:contain}
.tour-leg-time{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.tour-leg-time strong{color:var(--blue);font-size:22px}
.tour-leg-time strong small{font-size:11px;font-weight:400}
#tour-leg-note{font-size:10px;line-height:1.8;color:#617594;margin:8px 0 16px!important}
.tour-route-segments{display:grid;gap:0;list-style:none;padding:0;margin:0 0 14px}
.tour-route-segment{position:relative;padding:12px 10px;border:1px solid var(--line);background:#fbfcff}
.tour-route-segment+.tour-route-segment{margin-top:18px}
.tour-route-segment+.tour-route-segment:before{content:'↓';position:absolute;left:18px;top:-21px;color:#8ba0c3;line-height:20px;font-size:13px}
.tour-route-segment strong{font-size:12px;flex:1}
.tour-segment-minutes{font-size:14px;font-weight:600;color:var(--blue);white-space:nowrap}
.tour-route-segment p{font-size:10px;line-height:1.7;color:#61738f;margin:5px 0 2px!important}
.tour-route-segment>small{display:block;font-size:9px;color:#6d7d95;line-height:1.7}
.tour-route-total{display:flex;align-items:baseline;gap:10px;padding:12px 0;border-top:1px solid var(--line)}
.tour-route-total strong{font-size:20px;color:var(--blue)}
.tour-route-total small{font-size:9px;color:var(--muted);margin-left:auto}
.tour-route-manual-total{display:flex;align-items:center;flex-wrap:wrap;gap:10px;border:1px solid var(--line);background:#f8faff;padding:16px;margin:12px 0}
.tour-route-manual-total strong{font-size:22px;color:#64748b}
.tour-route-manual-total p{flex-basis:100%;font-size:10px;color:var(--muted);line-height:1.8}
.tour-leg-map-link{display:block;font-size:11px;margin:16px 0}
.tour-leg-drawer-actions{display:flex;gap:10px;flex-wrap:wrap}
.tour-leg-drawer-actions button{flex:1;white-space:nowrap}
@media(max-width:760px){.tour-chart-toolbar{gap:6px}.tour-chart-toolbar>p{font-size:9px;flex-basis:170px}.tour-wait-policy select{width:155px}.tour-chart-view{margin-left:auto}.tour-leg-drawer-heading,.tour-leg-drawer-body{padding-left:16px;padding-right:16px}.tour-drag-preview{max-width:240px;font-size:11px}}
@media(hover:none),(pointer:coarse){.tour-pane .tour-leg-open{min-height:44px}}

/* Transport marks describe a modeled option; travel durations remain estimates. */
.tour-transport-badge{display:inline-flex;align-items:center;justify-content:center;flex:none;vertical-align:middle;width:20px;height:20px}
.tour-line-mark{border-radius:50%;background:var(--route-color,#64748b);color:var(--route-ink,#fff);font:bold 10px/1 var(--sans);letter-spacing:-.04em}
.tour-mode-mark{color:#71839f}.tour-mode-mark svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.tour-transport-summary{display:inline-flex;align-items:center;gap:4px;margin:0 0 8px;font-size:10px;line-height:20px;font-weight:400;color:#71839f;white-space:normal}
.tour-row-copy .tour-transport-summary{margin:0;gap:3px;font-size:9px;line-height:16px}.tour-row-copy .tour-transport-badge{width:16px;height:16px}.tour-row-copy .tour-line-mark{font-size:8px}.tour-row-copy .tour-mode-mark svg{width:14px;height:14px}
.tour-component-heading{display:flex;align-items:center;gap:5px;flex-wrap:wrap;line-height:1.7}.tour-component-heading small{font-size:9px;color:#71839f}
.tour-symbol-sources{font-size:10px;line-height:1.8;color:var(--muted);margin-top:8px}.tour-symbol-sources>summary{font-size:10px}.tour-symbol-sources p{margin:8px 0!important}.tour-symbol-sources a{color:var(--blue)}
.tour-route.is-manual-preview .tour-route-steps,.tour-route.is-manual-preview .tour-symbol-sources{display:none}

/* Independent visit placement and the three parts of a travel interval. */
.tour-start-controls{display:grid;grid-template-columns:minmax(110px,160px) minmax(90px,120px);gap:10px;margin-top:12px}
.tour-finish-inputs{display:grid;grid-template-columns:minmax(85px,1fr) 65px;gap:5px}
.tour-pane .tour-finish-inputs select{padding-inline:5px;font-size:11px}
.tour-pane .tour-row-edit{min-width:44px;min-height:44px;padding:2px 4px;border:0;background:transparent;color:#647c9d;font-size:9px;flex-shrink:0}
.tour-pane .tour-row-remove{width:44px;min-width:44px;min-height:44px;flex-shrink:0}
.tour-summary .is-shortage strong,.tour-pane .is-shortage,.tour-row-copy .tour-interval-status.is-shortage{color:#a43e2e}
.tour-chart-row.is-shortage .tour-travel-bar{border-color:#c76350;color:#963c2f;background:repeating-linear-gradient(135deg,#f8dfd7 0 4px,#fff6f1 4px 8px)}
.tour-chart-row.is-gap .tour-lane,.tour-chart-row.is-buffer .tour-lane{min-height:40px}
.tour-chart-row.is-gap .tour-row-label,.tour-chart-row.is-buffer .tour-row-label{background:#fafcff;padding-left:15px}
.tour-buffer-bar,.tour-gap-bar{top:8px;height:24px;font-size:9px;color:#70623d;background:#fff2d8;border:1px solid #d7bc7d}
.tour-gap-bar{color:#668370;background:#f3f8f5;border:1px dashed #a7bcb0}
.tour-legend{flex-wrap:wrap;gap:7px 10px}
.tour-legend span:nth-child(3):before{background:#fff2d8;border:1px solid #d7bc7d}
.tour-legend span:nth-child(4):before{background:#f3f8f5;border:1px dashed #a7bcb0}
.tour-legend span:nth-child(5):before{background:#eef4ff;border:0;border-bottom:2px solid #afc9fa}
.tour-leg-interval{margin:10px 0 14px;padding:10px 12px;background:#f4f7fc;border-left:3px solid #9bb0d0;font-variant-numeric:tabular-nums}
.tour-leg-interval p{font-size:11px;line-height:1.9!important;margin:0!important;color:#496183}
.tour-leg-interval>small{display:block;font-size:10px;color:#6c7f99;line-height:1.8}
.tour-leg-interval.has-shortage{background:#fff1eb;border-color:#ca6854}
.tour-leg-interval.has-shortage p{color:#8b3e2d}
.tour-leg-interval.is-unconfirmed{background:#fff5e8;border-color:#cca36a}
.tour-buffer-control{max-width:160px;margin-bottom:12px}
.tour-route-controls{grid-template-columns:minmax(0,1.5fr) minmax(85px,.7fr) minmax(85px,.7fr)}
.tour-route-controls.has-wait{grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(80px,.65fr))}
.tour-route-controls .tour-buffer-control{max-width:none;margin:0}
.tour-interval-verdicts{display:grid;gap:7px;margin:12px 0}
.tour-interval-verdicts p{border-bottom:1px solid var(--line);padding-bottom:7px;font-size:10px;line-height:1.8}
.tour-interval-verdicts b,.tour-interval-verdicts span{display:block}
.tour-chart.is-vertical .tour-chart-row.is-gap,.tour-chart.is-vertical .tour-chart-row.is-buffer{flex-basis:100px}
.tour-chart.is-vertical .tour-buffer-bar,.tour-chart.is-vertical .tour-gap-bar{padding:2px 5px;font-size:9px}
.tour-chart.is-vertical .tour-row-edit{min-width:44px;padding-inline:1px}
@media(max-width:1150px){.tour-route-controls,.tour-route-controls.has-wait{grid-template-columns:repeat(3,minmax(0,1fr))}.tour-route-controls>label:first-child{grid-column:1/-1}}
@media(max-width:760px),(max-width:1000px) and (max-height:500px){.tour-route-controls,.tour-route-controls.has-wait{grid-template-columns:1fr 1fr}.tour-finish-inputs{grid-template-columns:1fr}.tour-chart:not(.is-vertical){--label-width:190px}.tour-chart.is-vertical .tour-chart-row.is-gap,.tour-chart.is-vertical .tour-chart-row.is-buffer{flex-basis:90px}}
@media(hover:none),(pointer:coarse){.tour-visit-bar{touch-action:pan-y}.tour-chart.is-vertical .tour-visit-bar{touch-action:pan-x}.tour-resize{touch-action:none}}

/* A single time window contains movement, the added reserve, and free time. */
.tour-interval-guide{font-size:10px;line-height:1.8;color:#657a78;margin-top:12px!important}
.tour-chart-row.is-interval .tour-lane{min-height:82px}
.tour-chart-row.is-interval .tour-row-label{background:#fbfcfd;padding:9px 12px}
.tour-chart-row.is-interval .tour-row-copy{gap:2px}
.tour-chart-row.is-interval .tour-interval-status{color:#58796c;font-size:9px}
.tour-chart-row.is-interval .tour-interval-status.is-shortage{color:#a43e2e}
.tour-pane .tour-chart-row.is-interval .tour-leg-open{font-weight:500;color:#48617b;gap:5px}
.tour-chart-row.is-interval .tour-transport-summary>span:last-child{display:none}
.tour-bar.tour-interval-shell{top:26px;height:36px;padding:0;background:transparent;border:0;border-radius:9px;color:#3e605b;overflow:visible;cursor:pointer;isolation:isolate;box-shadow:none}
.tour-interval-shell:focus-visible{outline-offset:5px}
.tour-interval-caption{position:absolute;top:-19px;left:0;display:flex;align-items:center;gap:12px;min-width:max-content;max-width:100%;font-size:9px;line-height:15px;letter-spacing:.025em;color:#718780;pointer-events:none}
.tour-interval-caption strong{font-weight:600;color:#507367}
.has-shortage .tour-interval-caption strong{color:#a43e2e}
.tour-interval-window{position:absolute;top:0;height:36px;border:1px solid #c1d5cd;border-radius:9px;background:linear-gradient(110deg,#eaf3ef,#f3f8f5);box-shadow:inset 0 1px 0 #ffffffb3;pointer-events:none}
.tour-interval-parts{position:absolute;inset:0;pointer-events:none}
.tour-interval-part{position:absolute;top:6px;height:24px;display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;overflow:hidden;white-space:nowrap;font-size:9px;line-height:1.3}
.tour-interval-part.is-movement{color:#fff;background:linear-gradient(110deg,#456983,#668799);border-radius:6px;box-shadow:0 2px 3px #29475c18}
.tour-interval-part.is-movement .tour-transport-summary{gap:3px;flex-shrink:0}
.tour-interval-part.is-movement .tour-transport-badge{width:16px;height:16px;min-width:16px;font-size:10px}
.tour-interval-part.is-movement .tour-mode-mark{border:0;background:#ffffff21;color:#fff}
.tour-interval-part.is-movement .tour-mode-mark svg{width:13px;height:13px}
.tour-interval-part.is-reserve{border-radius:0 5px 5px 0;background:repeating-linear-gradient(135deg,#d8e6ed 0 3px,#e5eef2 3px 6px);color:#4a677b;border-left:1px solid #ffffffb3}
.tour-interval-part.is-free{color:#52796a}
.tour-interval-part .tour-interval-short{display:none}
.tour-interval-part.is-small .tour-interval-full{display:none}
.tour-interval-part.is-small .tour-interval-short{display:inline;font-size:8px}
.tour-interval-part.is-small.is-movement .tour-interval-short{display:none}
.tour-interval-short small{font-size:7px;margin-left:1px}
.tour-interval-part.is-tiny .tour-interval-short{display:none}
.tour-interval-part.is-tiny .tour-transport-summary{display:none}
.tour-interval-excess{position:absolute;top:3px;height:30px;z-index:2;border:1px dashed #bb5a49;border-radius:5px;background:repeating-linear-gradient(135deg,#b548342e 0 3px,#fff2ec12 3px 6px);pointer-events:none}
.tour-interval-deadline{position:absolute;top:-2px;height:40px;width:0;border-left:1px solid #85a597;z-index:3;pointer-events:none}
.tour-interval-deadline>span{position:absolute;top:43px;left:0;transform:translateX(-50%);font-size:9px;line-height:12px;color:#6c857a;background:#fff;padding:0 3px}
.has-shortage .tour-interval-deadline{border-left-color:#b85443;border-left-style:dashed}
.has-shortage .tour-interval-deadline>span{color:#a43e2e}
.tour-interval-overlap{position:absolute;top:0;height:36px;border:1px dashed #c58275;border-radius:9px;background:repeating-linear-gradient(135deg,#fbebe4 0 4px,#fff5ee 4px 8px);pointer-events:none}
.tour-legend span:nth-child(2):before{background:#55788f;border:0;border-radius:3px}
.tour-legend span:nth-child(3):before{background:repeating-linear-gradient(135deg,#d8e6ed 0 3px,#e5eef2 3px 6px);border:0;border-radius:2px}
.tour-legend span:nth-child(4):before{background:#eaf3ef;border:1px solid #c1d5cd;border-radius:3px}
.tour-chart.is-vertical .tour-chart-row.is-interval{flex-basis:132px}
.tour-chart.is-vertical .tour-bar.tour-interval-shell{left:8px;right:8px;min-height:0;padding:0}
.tour-chart.is-vertical .tour-chart-row.is-interval .tour-lane{min-height:var(--time-extent)}
.tour-chart.is-vertical .tour-interval-window,.tour-chart.is-vertical .tour-interval-overlap{left:0;right:0;width:auto}
.tour-chart.is-vertical .tour-interval-caption{display:none}
.tour-chart.is-vertical .tour-interval-part{left:6px;right:6px;width:auto;flex-direction:column;gap:4px;padding:3px;white-space:normal;text-align:center}
.tour-chart.is-vertical .tour-interval-part.is-reserve{border-left:0;border-top:1px solid #ffffffb3;border-radius:0 0 5px 5px}
.tour-chart.is-vertical .tour-interval-part.is-small .tour-interval-full{display:initial}
.tour-chart.is-vertical .tour-interval-part.is-small .tour-interval-short{display:none}
.tour-chart.is-vertical .tour-interval-part.is-small{font-size:8px;flex-direction:row;padding:0 2px}
.tour-chart.is-vertical .tour-interval-part.is-small .tour-transport-summary{display:none}
.tour-chart.is-vertical .tour-interval-part.is-tiny .tour-interval-full{display:none}
.tour-chart.is-vertical .tour-chart-row.is-interval .tour-row-label{padding:5px 8px}
.tour-chart.is-vertical .tour-chart-row.is-interval .tour-row-copy{gap:0}
.tour-chart.is-vertical .tour-chart-row.is-interval .tour-row-copy>small[title]{display:none}
.tour-chart.is-vertical .tour-chart-row.is-interval .tour-leg-open{min-height:24px}
.tour-chart.is-vertical .tour-interval-excess{left:3px;right:3px;width:auto}
.tour-chart.is-vertical .tour-interval-deadline{left:-2px;right:-2px;width:auto;height:0;border-left:0;border-top:1px solid #85a597}
.tour-chart.is-vertical .has-shortage .tour-interval-deadline{border-top:1px dashed #b85443}
.tour-chart.is-vertical .tour-interval-deadline>span{top:2px;left:0;transform:none}
@media(max-width:760px),(max-width:1000px) and (max-height:500px){.tour-chart.is-vertical .tour-chart-row.is-interval{flex-basis:118px}.tour-chart-row.is-interval .tour-row-label{padding-inline:8px}.tour-interval-guide{font-size:9px}}
@media(hover:none),(pointer:coarse){.tour-bar.tour-interval-shell{top:25px;height:44px}.tour-chart-row.is-interval .tour-lane{min-height:86px}.tour-interval-window,.tour-interval-overlap{top:4px}.tour-interval-part{top:10px}.tour-interval-excess{top:7px}.tour-interval-deadline{top:2px}.tour-chart.is-vertical .tour-bar.tour-interval-shell{height:auto}.tour-chart.is-vertical .tour-interval-deadline{height:0}}

.tour-session-conflict{display:block}.tour-session-conflict:empty{display:none}

.tour-bootstrap-state{max-width:680px;margin:20px auto;padding:24px;border:1px solid var(--line);background:white}.tour-bootstrap-state p{font-size:13px;line-height:1.9;color:var(--muted)}.tour-bootstrap-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.tour-bootstrap-actions button{min-width:112px}

/* Timeline workspace: the chart owns the screen; options open when needed. */
.tour-pane{padding:20px 24px 36px;background:#f4f5f2;--tour-accent:#244f46;--tour-grid:#e5e9e3}
.tour-pane [hidden]{display:none!important}
.tour-heading{margin-bottom:14px;gap:12px}.tour-eyebrow{font-size:9px;letter-spacing:.19em;color:#6f8177}.tour-heading h1{font-size:25px;line-height:1.3;margin-top:4px;color:#243e35;letter-spacing:-.04em}.tour-save-status{font-size:10px;color:#768079}
.tour-pane button,.tour-pane input,.tour-pane select{border-radius:7px}.tour-pane button{cursor:pointer;color:#38554b;border-color:#d8e0d8}.tour-pane .tour-primary{background:#244f46;border-color:#244f46;color:#fff}
.tour-planner-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:14px;min-width:0}.tour-planner-toolbar>label{flex-direction:row;align-items:center;gap:7px;white-space:nowrap;color:#64766c}.tour-planner-toolbar select{width:116px}.tour-planner-toolbar input{width:112px}.tour-planner-toolbar button{font-size:11px;white-space:nowrap}.tour-toolbar-spacer{flex:1}
.tour-settings{grid-template-columns:1fr 1fr minmax(180px,.8fr);margin-bottom:14px;border-radius:10px;background:#fff;padding:16px}.tour-settings>p{grid-column:1/-1;color:#718078;font-size:10px;line-height:1.7}
.tour-workbench{display:block}.tour-plan-column{display:grid;gap:8px}.tour-gantt-panel{padding:0;border-radius:12px;border-color:#d9e1d8;overflow:hidden;box-shadow:0 4px 18px #31433305}.tour-gantt-heading{padding:14px 18px 10px;margin:0;gap:12px;flex-direction:row;align-items:center}.tour-gantt-heading h2{font-size:12px;white-space:nowrap;color:#2e4a3d}.tour-summary{margin:0 0 0 auto;gap:5px 13px;align-items:center;justify-content:flex-end;font-size:10px}.tour-summary>span{font-size:10px;color:#738076;white-space:nowrap}.tour-summary strong{display:inline;color:#354d41;font-size:12px;line-height:1.6;font-weight:600}.tour-summary-count strong{font-size:17px;margin-right:4px}.tour-summary .is-shortage{border-radius:4px;background:#fff1eb;padding:3px 6px;color:#a14230}
.tour-chart-toolbar{padding:0 18px 10px;margin:0;gap:8px}.tour-chart-toolbar>p{font-size:10px;color:#7c8a80;flex:1 1 250px}.tour-chart-view{border-color:#e2e6df;border-radius:6px;background:#f4f6f1}.tour-pane .tour-chart-view button{min-width:44px;min-height:34px;padding:5px 9px;font-size:10px}.tour-pane .tour-chart-view button[aria-pressed=true]{color:#254d3b;border-radius:5px}.tour-zoom{display:flex;align-items:center;gap:4px;border-left:1px solid #e0e5dc;padding-left:6px}.tour-zoom>span{font-size:9px;color:#79857b;width:29px;text-align:center}.tour-pane .tour-zoom button{border:0;background:#f3f5ef;min-height:34px;width:32px;padding:0;font-size:17px}
.tour-chart-scroll{max-height:calc(100dvh - 300px);min-height:300px;overflow:auto;border:0;border-top:1px solid #e4e8e0;border-bottom:1px solid #e4e8e0;overscroll-behavior:contain;scrollbar-color:#bcc8bb #f6f8f3;scrollbar-width:thin}.tour-chart{position:relative;--label-width:234px;background:#fff}.tour-chart-axis{position:sticky;top:0;z-index:7;background:#f4f7f1;border-color:#dce4d9;height:38px}.tour-chart-axis .tour-row-label{font-size:9px;letter-spacing:.07em;color:#7b8a7c;background:#f4f7f1}.tour-chart-axis .tour-lane{min-height:38px}.tour-tick{top:12px;color:#768774;font-size:10px}.tour-chart-row{border-color:#edf0e9}.tour-row-label{border-right:1px solid #e0e7dd;padding:10px;gap:8px}.tour-row-copy b{font-size:11px;font-weight:600;color:#324f3e}.tour-row-copy small{color:#82917e}.tour-row-photo{width:30px;height:35px;border-radius:4px;background:#f1f4ec}.tour-lane{min-height:78px;background-image:linear-gradient(to right,#e8ede4 1px,transparent 1px);background-size:var(--grid-step,90px) 100%}.tour-open-window{top:8px;bottom:8px;background:#f0f4e9;border-bottom:1px solid #d4dfc3;border-radius:5px}.tour-bar.tour-visit-bar{top:20px;height:38px;border-radius:7px;background:#315f4d;box-shadow:0 3px 5px #26493312;padding-left:10px;font-size:11px}.tour-visit-bar:hover{background:#264d3d}.tour-bar-text{font-size:10px;line-height:1.5}.tour-pane .tour-row-edit{font-size:10px;min-width:38px;padding:0;color:#607961}.tour-pane .tour-row-remove{width:28px;min-width:28px;color:#98a494}.tour-resize{right:-16px;width:32px;min-width:32px}.tour-resize:before{inset:11px 14px;border-radius:2px;opacity:.65;width:3px;box-shadow:3px 0 0 #ffffff70}.tour-chart-row.is-warning .tour-row-label{box-shadow:inset 3px 0 #c98343}
.tour-chart-row.is-interval .tour-row-label{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:3px;background:#fafbf8;padding:7px 10px}.tour-chart-row.is-interval .tour-row-copy{gap:0;flex:none}.tour-chart-row.is-interval .tour-row-copy>b{display:none}.tour-chart-row.is-interval .tour-row-copy>small[title]{display:none}.tour-chart-row.is-interval .tour-interval-breakdown{font-size:9px}.tour-chart-row.is-interval .tour-interval-status{font-size:9px;color:#70846e}.tour-chart-row.is-interval .tour-lane{min-height:96px}.tour-bar.tour-interval-shell{top:34px}.tour-interval-caption{font-size:9px;gap:8px;top:-19px}.tour-interval-window{background:linear-gradient(100deg,#e9f0e5,#f4f7ef);border-color:#ccd9c3;box-shadow:inset 0 1px 0 #fff;border-radius:9px}.tour-interval-part.is-movement{background:#657a69;border-radius:6px}.tour-interval-part.is-reserve{background:repeating-linear-gradient(135deg,#d0ddd0 0 3px,#e5ece0 3px 6px);color:#5b735b}.tour-interval-part.is-free{color:#7b8d6b}.tour-interval-deadline{border-color:#a1b493}.tour-interval-deadline>span{color:#839677}
.tour-mode-choices{display:flex;gap:5px;margin-bottom:14px;flex-wrap:wrap}.tour-pane .tour-mode-choices button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;flex:1;padding:7px 10px;font-size:11px;background:#f9faf7;border-color:#e1e7dc;color:#69816c;white-space:nowrap}.tour-pane .tour-mode-choices button[aria-pressed=true]{background:#e5eee1;color:#244d35;border-color:#a5b99c;box-shadow:inset 0 0 0 1px #a5b99c}.tour-mode-choices .tour-mode-mark{color:inherit}.tour-mode-choices.is-compact{margin:0;gap:3px;flex-wrap:nowrap}.tour-pane .tour-mode-choices.is-compact button{gap:2px;min-height:34px;padding:3px 2px;font-size:9px;min-width:0;border-radius:5px}.tour-mode-choices.is-compact .tour-transport-badge{width:15px;height:15px}.tour-mode-choices.is-compact .tour-mode-mark svg{width:13px;height:13px}
.tour-chart-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;padding:11px 18px;color:#89917f;font-size:9px}.tour-chart-footer .tour-legend{font-size:9px;gap:8px 12px}.tour-legend span:first-child:before{background:#315f4d;border-radius:2px}.tour-legend span:nth-child(2):before{background:#657a69}.tour-legend span:nth-child(3):before{background:#d0ddd0}.tour-legend span:nth-child(4):before{background:#e9f0e5;border-color:#ccd9c3}.tour-legend span:nth-child(5):before{background:#f0f4e9;border-bottom:1px solid #baccaa}.tour-conflict-note{padding:0 18px!important;font-size:10px!important}.tour-warning-details{margin:0 18px 8px}.tour-warning-details>summary{font-size:10px;min-height:34px}.tour-warnings{margin:0 18px 10px}.tour-warning-details .tour-warnings{margin:0 0 10px}.tour-warning{font-size:10px;padding:7px 9px}
.tour-card-browser{position:static;width:auto;border:0;border-top:1px solid #e3e8de;border-bottom:1px solid #dfe7d9;background:#f5f7f0;margin:0 0 10px}.tour-browser-toolbar{padding:8px 14px;border-bottom:0;gap:10px}.tour-browser-toolbar input{max-width:280px;min-height:36px;background:#fff}.tour-browser-toolbar>span{font-size:9px;color:#7a8972;display:block}.tour-pane .tour-browser-toolbar>button{min-height:36px;font-size:10px;margin-left:auto}.tour-card-scroll{display:flex;gap:18px;padding:0 14px 12px;min-height:0;max-height:181px;overflow:auto;overscroll-behavior:contain}.tour-pick-section{flex-shrink:0;max-width:none}.tour-pick-section+.tour-pick-section{margin:0}.tour-pick-section .tour-section-head{justify-content:flex-start;gap:8px;margin:0 0 5px}.tour-pick-section .tour-section-head h2{font-size:10px}.tour-pick-section .tour-section-head>span{font-size:9px}.tour-section-note{display:none}.tour-pick-grid{display:flex;gap:8px}.tour-pick-card{width:240px;flex:0 0 240px;min-width:0;border-radius:8px;overflow:hidden;background:#fff;cursor:grab}.tour-pick-card:active{cursor:grabbing}.tour-pane .tour-pick{display:grid!important;grid-template-columns:50px minmax(0,1fr)!important;gap:8px;padding:8px;min-height:86px}.tour-pick-photo{width:50px;height:60px;border-radius:5px;object-fit:cover}.tour-pick-number{top:48px;left:11px;font-size:11px;min-width:18px;line-height:18px;border-radius:3px}.tour-pick-copy>b{font-size:10px;line-height:1.4;min-height:0;padding-right:17px;-webkit-line-clamp:2}.tour-pick-copy{gap:2px}.tour-pick-copy>small{display:none}.tour-pick-hours{font-size:8px;line-height:1.4}.tour-pick-action{font-size:9px;line-height:1.4;color:#4d7355}.tour-pane .tour-pick-favorite{width:32px;min-height:32px;padding:7px;background:transparent}.tour-pick-favorite svg{width:14px;height:14px}.tour-pane .tour-place-card{display:block;width:100%;min-height:30px;border:0;border-top:1px solid #eef0e9;border-radius:0;background:#fafbf8;font-size:9px;padding:4px 8px;text-align:right;color:#698363}.tour-pick-card .tour-photo-placeholder{padding:3px}.tour-pick-card .tour-photo-placeholder img{width:40px}.tour-pick-card .tour-photo-placeholder>span{display:none}.tour-card-empty{padding:10px;font-size:10px;max-width:230px;min-width:170px;border-color:#dde5d5;background:#f5f8f0}
.tour-suggestion-panel,.tour-detail-section{padding:0 16px;border-color:#e1e6dd;border-radius:8px;background:#fafbf8}.tour-suggestion-panel>summary,.tour-detail-section>summary{color:#74826c;font-size:11px;min-height:44px}.tour-suggestion-panel[open]{padding-bottom:14px}.tour-suggestion-panel .tour-section-head h2{font-size:13px}.tour-history{margin-top:8px}.tour-history>summary{font-size:10px;color:#85907f}.tour-extra-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.tour-leg-drawer{border-radius:14px 0 0 14px}.tour-leg-drawer-heading{background:#f5f7f0}.tour-leg-drawer-heading h2{color:#304e3a;font-size:16px}.tour-leg-drawer-body{background:#fff}.tour-leg-quick-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.tour-leg-quick-controls>label:first-child{grid-column:1/-1}.tour-leg-quick-controls .tour-buffer-control{max-width:none;margin:0}.tour-visit-drawer .tour-visit-item{border:0}.tour-visit-drawer .tour-visit-item>summary{display:none}.tour-visit-drawer .tour-visit-edit{padding:0}.tour-visit-drawer .tour-start-controls{margin-top:0;grid-template-columns:1.4fr 1fr}.tour-visit-drawer .tour-stay-controls{grid-template-columns:44px 1fr 44px;margin:18px 0}.tour-visit-drawer .tour-leg-drawer-body{padding:20px 22px;max-height:calc(100dvh - 108px);overflow:auto}
.tour-empty-row .tour-lane{min-height:260px}.tour-gantt-empty{background:transparent;text-align:left;padding:64px 24px;min-height:0;width:450px;color:#829276;pointer-events:none}.tour-gantt-empty>span{font-size:26px;color:#8ba37f;margin-bottom:10px}.tour-gantt-empty h3{font-size:18px;color:#56704b;letter-spacing:-.04em}.tour-gantt-empty p{font-size:11px;color:#8a9982}.tour-placement-prompt{padding:9px 18px;background:#ecf3e2;display:flex;align-items:center;gap:8px;color:#4b703a;font-size:11px}.tour-pane .tour-placement-prompt button{margin-left:auto;min-height:30px;font-size:10px;white-space:nowrap}.tour-chart-scroll.is-placing{cursor:crosshair}.tour-chart-scroll.is-card-drop{box-shadow:inset 0 0 0 2px #779b5c}.tour-placement-line{position:absolute;top:38px;bottom:0;width:0;border-left:2px solid #8bab53;z-index:6;pointer-events:none}.tour-placement-line>span{position:sticky;top:40px;display:block;width:max-content;transform:translateX(-50%);padding:5px 8px;color:#fff;background:#658b42;border-radius:4px;font-size:10px}
.tour-chart.is-vertical .tour-lane{background-size:100% var(--grid-step,90px)}.tour-chart.is-vertical .tour-chart-axis{height:100%;flex-basis:64px}.tour-chart.is-vertical .tour-row-label{min-height:104px;height:104px;flex-basis:104px}.tour-chart.is-vertical{height:calc(var(--time-extent) + 104px)}.tour-chart.is-vertical .tour-chart-row.is-interval{flex-basis:150px}.tour-chart.is-vertical .tour-mode-choices{display:grid;grid-template-columns:1fr 1fr;gap:2px}.tour-pane .tour-chart.is-vertical .tour-mode-choices button{min-height:28px}.tour-chart.is-vertical .tour-bar.tour-visit-bar{height:auto;top:auto;padding-top:6px}.tour-chart.is-vertical .tour-placement-line{left:64px;right:0;width:auto;bottom:auto;height:0;border-left:0;border-top:2px solid #8bab53}.tour-chart.is-vertical .tour-placement-line>span{position:absolute;left:0;top:0;transform:none}.tour-chart.is-vertical .tour-gantt-empty{width:170px;padding:25px 12px}.tour-chart.is-vertical .tour-gantt-empty h3{font-size:14px}.tour-chart-scroll.is-vertical{max-height:calc(100dvh - 300px)}
@media(max-width:1050px){.tour-pane{padding:16px}.tour-summary>span:nth-child(5){display:none}.tour-chart{--label-width:222px}.tour-gantt-heading{padding-inline:14px}.tour-row-photo{display:none}.tour-extra-grid{grid-template-columns:1fr}}
@media(max-width:760px),(max-width:1000px) and (max-height:500px){.tour-pane{padding:12px 10px calc(90px + env(safe-area-inset-bottom))}.tour-heading{align-items:center;margin-bottom:10px}.tour-heading h1{font-size:21px}.tour-eyebrow{font-size:8px}.tour-save-status{font-size:9px;max-width:none;white-space:nowrap}.tour-planner-toolbar{gap:6px;flex-wrap:wrap;margin-bottom:10px}.tour-planner-toolbar>label{gap:5px;font-size:9px}.tour-planner-toolbar select{width:87px;padding:6px;font-size:11px}.tour-planner-toolbar input{width:88px;padding:5px;font-size:11px}.tour-planner-toolbar>button{font-size:10px;padding:7px 9px}.tour-planner-toolbar #tour-toggle-settings{order:4;min-height:30px;font-size:9px;background:transparent;border:0;padding:3px 0;flex-basis:100%;text-align:left}.tour-planner-toolbar .tour-toolbar-spacer{display:none}.tour-planner-toolbar #tour-toggle-tray{margin-left:auto}.tour-settings{grid-template-columns:1fr;margin-bottom:10px;padding:12px}.tour-settings>label{grid-column:1/-1}.tour-finish-inputs{grid-template-columns:1fr 85px}.tour-gantt-heading{padding:10px 10px 7px;align-items:center}.tour-gantt-heading h2{font-size:10px}.tour-summary{gap:5px 8px}.tour-summary>span{font-size:9px}.tour-summary>span:nth-child(n+3){display:none}.tour-summary>span.is-shortage{display:inline-flex;font-size:9px}.tour-summary strong{font-size:10px}.tour-summary-count strong{font-size:14px}.tour-chart-toolbar{padding:0 10px 8px;gap:5px}.tour-chart-toolbar>p{font-size:9px;flex-basis:100%;order:3}.tour-pane .tour-chart-view button{min-height:34px;min-width:44px;padding:4px 8px}.tour-chart-view{margin-left:0}.tour-zoom{margin-left:auto}.tour-chart-scroll,.tour-chart-scroll.is-vertical{min-height:300px;max-height:calc(100dvh - 325px)}.tour-chart:not(.is-vertical){--label-width:174px}.tour-row-label{gap:3px;padding:6px}.tour-row-copy b{font-size:10px}.tour-pane .tour-row-edit{min-width:32px;font-size:9px}.tour-pane .tour-row-remove{min-width:26px;width:26px}.tour-chart-row.is-interval .tour-row-label{padding:6px;gap:4px}.tour-mode-choices.is-compact{gap:2px}.tour-pane .tour-mode-choices.is-compact button{min-height:44px;font-size:8px;flex-direction:column;gap:1px;padding:3px 0}.tour-chart-row.is-interval .tour-lane{min-height:103px}.tour-chart-footer{padding:10px;gap:6px}.tour-chart-footer .tour-legend{font-size:8px;gap:7px}.tour-chart-footer>span{font-size:8px}.tour-warning-details{margin-inline:10px}.tour-conflict-note{padding-inline:10px!important}.tour-card-scroll{max-height:172px;padding:0 10px 10px;gap:12px}.tour-browser-toolbar{padding:7px 10px}.tour-browser-toolbar input{max-width:none;font-size:11px}.tour-browser-toolbar>span{display:none}.tour-pick-card{width:216px;flex-basis:216px}.tour-pick-photo{width:50px;height:60px}.tour-pick-number{top:48px}.tour-pick-copy>b{font-size:10px}.tour-pane .tour-place-card{min-height:36px}.tour-pick-grid{display:flex}.tour-pick-section+.tour-pick-section{margin:0}.tour-pane .tour-mobile-jump{display:none}.tour-placement-prompt{font-size:10px;padding:8px 10px}.tour-gantt-empty{width:310px;padding:48px 16px}.tour-gantt-empty h3{font-size:16px}.tour-leg-drawer{border-radius:12px 0 0 12px}.tour-visit-drawer .tour-leg-drawer-body{padding-inline:16px}.tour-chart.is-vertical .tour-mode-choices button{flex-direction:row;min-height:32px}.tour-chart.is-vertical .tour-row-label{height:110px;min-height:110px;flex-basis:110px}.tour-chart.is-vertical{height:calc(var(--time-extent) + 110px)}}
@media(hover:none),(pointer:coarse){.tour-bar.tour-interval-shell{top:33px}.tour-chart.is-vertical .tour-bar.tour-interval-shell{top:auto}.tour-pane .tour-chart-view button,.tour-pane .tour-zoom button{min-height:44px}.tour-pane .tour-zoom button{min-width:36px}.tour-chart-row.is-interval .tour-mode-choices button{min-height:44px}.tour-chart:not(.is-vertical) .tour-resize{right:-20px;width:40px;min-width:40px}.tour-chart:not(.is-vertical) .tour-resize:before{left:18px;right:auto}.tour-pane .tour-place-card{min-height:44px}.tour-card-scroll{max-height:190px}}
/* Compact rows leave room for the relationships between visits. */
.tour-chart:not(.is-vertical) .tour-chart-row.is-visit .tour-lane{min-height:64px}
.tour-chart:not(.is-vertical) .tour-bar.tour-visit-bar{top:13px}
.tour-chart:not(.is-vertical) .tour-chart-row.is-gap .tour-lane{min-height:36px}
.tour-chart:not(.is-vertical) .tour-chart-row.is-gap .tour-row-label{padding-block:4px}
.tour-chart:not(.is-vertical) .tour-gap-bar{top:6px}
.tour-chart:not(.is-vertical) .tour-chart-row.is-interval .tour-lane{min-height:86px}
.tour-chart:not(.is-vertical) .tour-chart-row.is-interval .tour-row-label{padding-block:5px;gap:2px}
.tour-chart:not(.is-vertical) .tour-bar.tour-interval-shell{top:27px}
.tour-pane .tour-zoom #tour-fit{width:auto;padding:0 8px;font-size:10px;background:transparent}
@media(hover:none),(pointer:coarse){.tour-chart:not(.is-vertical) .tour-chart-row.is-interval .tour-lane{min-height:98px}.tour-chart:not(.is-vertical) .tour-bar.tour-interval-shell{top:29px}}
.tour-pane .tour-pick{touch-action:pan-x;user-select:none;cursor:grab}
.tour-pane .tour-pick.is-card-dragging{opacity:.35;cursor:grabbing}
.tour-card-drag-ghost{z-index:1100;pointer-events:none;max-width:210px;padding:10px 13px;background:#315f4d;color:#fff;border-radius:8px;box-shadow:0 6px 24px #243f4030;font:11px/1.6 var(--sans);white-space:normal}
@media(hover:none),(pointer:coarse){.tour-pane .tour-row-edit,.tour-pane .tour-row-remove{min-width:44px;width:44px}}

/* Candidate groups can be shown independently without changing the plan. */
.tour-card-toggles{display:flex;align-items:center;gap:6px;flex-shrink:0}
.tour-pane .tour-card-toggles button{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#fff;border-color:#cbd6cd;color:#385449;font-size:11px;white-space:nowrap}
.tour-pane .tour-card-toggles button[aria-expanded="true"]{background:#244f46;border-color:#244f46;color:#fff}
.tour-card-toggles svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}
.tour-toggle-count{font-size:10px;opacity:.8;font-variant-numeric:tabular-nums}
.tour-toggle-chevron{font-size:14px;line-height:1;transition:transform .15s}
[aria-expanded="true"]>.tour-toggle-chevron{transform:rotate(180deg)}
@media(max-width:760px),(max-width:1000px) and (max-height:500px){.tour-card-toggles{width:100%;order:5}.tour-pane .tour-card-toggles button{flex:1;min-width:0;font-size:10px;min-height:36px;padding:7px 9px}.tour-planner-toolbar #tour-toggle-tray{margin-left:0}.tour-pane .tour-browser-toolbar>button{white-space:nowrap}}

/* Direct timeline actions: vacant space is an insertion surface. */
.tour-chart .tour-lane{cursor:crosshair}
.tour-chart .tour-chart-axis .tour-lane{cursor:default}
.tour-pane .tour-add-row .tour-row-label{padding:6px 10px;background:#f7faf3}
.tour-pane .tour-add-row .tour-row-label>button{border:0;background:transparent;padding:7px 0;text-align:left;font-size:10px;min-height:44px;color:#58754c}
.tour-add-row .tour-lane{min-height:64px;background-color:#fbfcf8}
.tour-pane button.tour-gantt-empty,.tour-pane button.tour-add-surface{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;gap:8px;width:100%;height:100%;min-height:64px;border:0;border-radius:0;background:transparent;color:#5d7952;text-align:left;padding:14px 20px;cursor:crosshair;pointer-events:auto;touch-action:pan-x pan-y}
.tour-pane button.tour-gantt-empty{min-height:244px;padding:36px 24px}
.tour-pane button.tour-gantt-empty>span:not(.tour-add-surface-plus){font-size:18px;font-weight:600;color:#45663a}
.tour-pane button.tour-gantt-empty>small{font-size:11px;font-weight:400;color:#829474}
.tour-pane button.tour-gantt-empty .tour-add-surface-plus{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px dashed #9fb68b;border-radius:8px;font-size:23px;background:#f4f8ec;color:#729659}
.tour-pane button.tour-add-surface{flex-direction:row;justify-content:flex-start;align-items:center;font-size:11px}
.tour-pane button.tour-add-surface .tour-add-surface-plus{font-size:20px;line-height:1}
.tour-pane button.tour-gantt-empty:hover,.tour-pane button.tour-add-surface:hover,.tour-pane button.tour-gantt-empty:focus-visible,.tour-pane button.tour-add-surface:focus-visible{background:#edf4e5}
.tour-pane .tour-free-add{position:absolute;top:33px;height:24px;min-height:24px;min-width:2px;padding:0;border:0;background:transparent;color:#6b865c;z-index:4;border-radius:5px;font-size:9px;overflow:hidden;cursor:pointer;text-align:center;white-space:nowrap}
.tour-pane .tour-free-add>span{pointer-events:none}
.tour-pane .tour-free-add:hover,.tour-pane .tour-free-add:focus-visible{background:#dce9d1;color:#355b2c}
.tour-interval-part.is-free .tour-interval-full,.tour-interval-part.is-free .tour-interval-short{visibility:hidden}
.tour-chart-row.is-gap .tour-gap-bar{cursor:pointer}
.tour-chart-row.is-gap .tour-gap-bar:hover{background:#e3eddb}
.tour-chart.is-vertical .tour-add-row{flex-basis:176px}
.tour-chart.is-vertical .tour-add-row .tour-lane{min-height:var(--time-extent)}
.tour-chart.is-vertical .tour-add-row button.tour-gantt-empty,.tour-chart.is-vertical .tour-add-row button.tour-add-surface{height:100%;min-height:var(--time-extent);justify-content:flex-start;padding:22px 12px;flex-direction:column;align-items:flex-start}
.tour-chart.is-vertical .tour-free-add{left:14px;right:14px;width:auto;min-height:2px;padding:0 3px;white-space:normal;line-height:1.4}
.tour-chart.is-vertical .tour-free-add>span{font-size:9px}
.tour-history-controls{display:flex;gap:2px;align-items:center;flex-shrink:0}
.tour-pane .tour-history-controls button{min-height:34px;padding:5px 8px;background:#f5f7f1;border:0;font-size:15px}
.tour-history-controls button>span{font-size:10px;margin-left:3px}
.tour-pane .tour-history-controls button:disabled{opacity:.32}
.tour-shortage-action{margin-top:9px}.tour-shortage-action>p{font-size:10px;color:#904a35;margin-bottom:5px!important}
.tour-pane .tour-shortage-action button{min-height:40px;padding:7px 10px;background:#fff9f4;border-color:#e3c1ae;color:#954b2c;font-size:11px;text-align:left}
.tour-shortage-action.is-compact{margin:2px 0 0}
.tour-pane .tour-shortage-action.is-compact button{min-height:30px;padding:3px 6px;font-size:9px;width:100%;background:transparent;border:0;color:#9b5234;text-align:left}
.tour-visit-shortage{padding:12px;background:#fff5ee;border:1px solid #ead2bc;border-radius:8px;margin-bottom:16px}
.tour-visit-shortage p{font-size:11px;line-height:1.8;color:#8a4d31}.tour-visit-shortage strong{font-weight:600}
.tour-pane .tour-visit-shortage button{margin:10px 0 7px;background:#fff;border-color:#d6ae8b;color:#88502e;min-height:44px;font-size:11px}
.tour-visit-shortage small{display:block;font-size:10px;line-height:1.6;color:#9c7a59}
.tour-visit-drawer-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}
.tour-visit-drawer-actions [data-remove]{color:#9e604d;border-color:#e6d6c9;margin-left:auto}
.tour-visit-drawer-actions [data-close-visit]{flex-basis:100%}

/* The picker is a draft; only its explicit Add action mutates the plan. */
.tour-pane .tour-add-dialog{position:fixed;inset:auto;margin:0;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;border:1px solid #cdd8c5;border-radius:14px;background:#fff;color:#304831;box-shadow:0 16px 70px #1e342b40;overflow:auto;overscroll-behavior:contain}
.tour-add-dialog::backdrop{background:#1e342b35}
.tour-picker-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px 9px;background:#f6f8f2}
.tour-picker-heading h2{font-size:15px;font-weight:600;margin:0;line-height:1.5}
.tour-pane .tour-picker-heading button{width:36px;min-height:36px;padding:0;border:0;background:transparent;font-size:23px;color:#71836a}
.tour-picker-time{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 18px 14px;background:#f6f8f2;border-bottom:1px solid #e4eade}
.tour-pane .tour-picker-time label{font-size:10px;color:#6c7e60}.tour-picker-time input,.tour-picker-time select{font-variant-numeric:tabular-nums}
.tour-picker-search{display:flex;gap:8px;align-items:center;padding:12px 18px 8px;flex-wrap:wrap}
.tour-picker-search>input{flex-basis:100%;min-height:40px!important;font-size:12px!important}
.tour-picker-tabs{display:flex;gap:5px}.tour-pane .tour-picker-tabs button{min-height:34px;padding:5px 12px;font-size:11px;border-color:transparent;background:#f4f7f0;color:#79906c}
.tour-pane .tour-picker-tabs button[aria-pressed=true]{background:#e7efdf;border-color:#b7c9a8;color:#3d652c}
.tour-picker-results{max-height:230px;min-height:80px;overflow:auto;padding:0 10px 8px;overscroll-behavior:contain;scrollbar-width:thin}
.tour-pane .tour-picker-event{display:flex;align-items:center;gap:11px;width:100%;min-height:76px;padding:9px 8px;text-align:left;border:1px solid transparent;border-bottom-color:#eff2ea;border-radius:7px;background:#fff}
.tour-pane .tour-picker-event:hover{background:#f5f8f0}.tour-pane .tour-picker-event.is-selected{border-color:#b4c9a4;background:#eff5e7}
.tour-picker-event>span:not(.tour-picker-marker){flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.tour-picker-event b{font-size:11px;line-height:1.5;font-weight:600;color:#365137}
.tour-picker-event small{font-size:9px;line-height:1.5;color:#86947b}.tour-picker-event small.is-unconfirmed{color:#a68360}
.tour-picker-photo{flex:none;width:42px;height:48px;object-fit:contain;border-radius:5px;background:#f3f6ed}
.tour-picker-photo.tour-photo-placeholder{padding:3px}.tour-picker-photo.tour-photo-placeholder>img{width:32px}.tour-picker-photo.tour-photo-placeholder>span{display:none}
.tour-picker-marker{flex:none;color:#779465;font-size:14px}.tour-picker-event:disabled .tour-picker-marker{font-size:9px}
.tour-picker-empty{font-size:11px;line-height:1.8;padding:16px 10px;color:#7e8d74}
.tour-picker-selection{border-top:1px solid #e5eadf;padding:12px 18px;background:#fafcf7}
.tour-picker-selected-name{font-size:11px;font-weight:600;line-height:1.6;color:#405a36}
.tour-picker-selection-note{font-size:10px;line-height:1.8;color:#80916f}
.tour-picker-visit-controls{display:grid;grid-template-columns:90px 1fr;gap:10px;margin:0 0 10px}
.tour-picker-visit-controls label{font-size:10px}.tour-picker-visit-controls input,.tour-picker-visit-controls select{min-height:44px!important;font-size:11px!important;padding:6px!important}
.tour-picker-warnings{list-style:none;padding:7px 0 0;margin:0;display:grid;gap:4px;font-size:10px;line-height:1.6;color:#9b633d}
.tour-picker-warnings li:before{content:'!';display:inline-block;margin-right:5px;font-weight:600}
.tour-picker-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:8px;padding:12px 18px;background:#fff;border-top:1px solid #e4eadc;z-index:2}
.tour-pane .tour-picker-actions button{min-height:44px;padding:8px 16px;font-size:12px}.tour-pane #tour-add-submit{min-width:150px}
@media(max-width:760px),(max-width:1000px) and (max-height:500px){.tour-history-controls button>span{display:none}.tour-pane .tour-history-controls button{min-width:36px;min-height:36px}.tour-pane button.tour-gantt-empty{padding:26px 14px;min-height:240px}.tour-pane button.tour-gantt-empty>span:not(.tour-add-surface-plus){font-size:14px}.tour-pane button.tour-gantt-empty>small{font-size:10px;max-width:160px;line-height:1.7}.tour-pane .tour-shortage-action.is-compact button{min-height:38px;font-size:9px}.tour-pane .tour-add-row .tour-row-label{padding-inline:6px}.tour-pane .tour-add-row .tour-row-label>button{font-size:9px}}
@media(max-width:600px){.tour-pane .tour-add-dialog{left:0!important;right:0!important;top:auto!important;bottom:0!important;width:100%!important;max-width:none;max-height:88dvh;border:0;border-radius:16px 16px 0 0}.tour-picker-heading{padding:13px 16px 8px}.tour-picker-time{padding:0 16px 12px;gap:10px}.tour-picker-search{padding:10px 16px 7px}.tour-picker-results{max-height:26dvh;min-height:80px;padding-inline:8px}.tour-picker-selection{padding:10px 16px}.tour-picker-actions{padding:10px 16px calc(10px + env(safe-area-inset-bottom))}.tour-pane .tour-picker-actions button{flex:1;min-width:0}.tour-pane .tour-picker-time input,.tour-pane .tour-picker-time select,.tour-pane .tour-picker-search input,.tour-pane .tour-picker-visit-controls input,.tour-pane .tour-picker-visit-controls select{font-size:16px!important}.tour-pane .tour-picker-heading button{min-height:44px;width:44px}.tour-pane .tour-picker-tabs button{min-height:40px}}
@media(hover:none),(pointer:coarse){.tour-pane .tour-free-add{top:29px;height:36px;min-height:36px}.tour-chart.is-vertical .tour-free-add{min-height:2px}.tour-pane .tour-history-controls button{min-height:44px}.tour-pane .tour-shortage-action.is-compact button{min-height:44px}}
@media(max-width:420px){.tour-zoom>span{display:none}.tour-zoom{gap:0;padding-left:0;border-left:0}.tour-chart-toolbar{column-gap:4px}.tour-pane .tour-zoom #tour-fit{padding-inline:5px}}

/* One proportional clock rail; information cards have their own collision layout. */
.tour-chart-scroll.is-vertical{overflow:visible;max-height:none;height:auto;touch-action:pan-y;overscroll-behavior:auto}
.tour-pane .tour-chart.is-vertical.is-linear{display:block;position:relative;width:100%;min-width:0;height:var(--linear-height,1000px);min-height:0;padding:0;background:#fcfdf9;isolation:isolate;--rail-x:106px;--card-x:206px;--card-width:500px}
.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-axis{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;z-index:1;pointer-events:none;border:0;background:transparent}
.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-axis>.tour-row-label{position:absolute;top:0;left:0;width:var(--rail-x);height:44px;min-height:0;display:flex;align-items:center;justify-content:flex-end;padding:0 24px 0 0;border:0;background:transparent;font-size:10px;color:#809278;box-shadow:none}
.tour-pane .tour-chart.is-vertical.is-linear .tour-lane{position:absolute;top:44px;left:0;width:100%;height:var(--time-extent);min-width:0;min-height:0;flex:none;background:none;border:0;pointer-events:none}
.tour-pane .tour-chart.is-vertical.is-linear .tour-tick{left:0;right:auto;width:calc(var(--rail-x) - 25px);height:auto;padding:0;text-align:right;font-size:11px;line-height:16px;color:#7d8f74;font-variant-numeric:tabular-nums}
.tour-pane .tour-chart.is-vertical.is-linear .tour-tick:after{content:'';position:absolute;left:calc(100% + 10px);top:8px;width:6px;height:1px;background:#c5d3bb}
.tour-linear-backdrop{position:absolute;top:44px;left:0;width:100%;height:var(--time-extent);cursor:crosshair;z-index:0;background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--grid-step) - 1px),#cbd6c51c calc(var(--grid-step) - 1px),#cbd6c51c var(--grid-step))}
.tour-linear-backdrop:after{content:'';position:absolute;left:calc(var(--rail-x) - 2px);top:0;width:4px;height:100%;background:#dbe5d2;border-radius:3px}
.tour-linear-connectors{position:absolute;inset:0;width:100%;overflow:visible;pointer-events:none;z-index:2;fill:none;stroke:#b9c9b0;stroke-width:1}
.tour-linear-connectors circle{fill:#fff;stroke:#6d8a52;stroke-width:2}.tour-linear-connectors path.is-travel{stroke:#c6d0be;stroke-dasharray:3 3}
.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;flex:none;border:0;background:transparent;pointer-events:none;order:0!important}
.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row>.tour-row-label{position:absolute;top:var(--card-top,44px);left:var(--card-x);width:var(--card-width);height:auto;min-height:0;padding:0;display:block;z-index:5;border:1px solid #dce5d3;border-radius:12px;background:#fff;box-shadow:0 3px 12px #405a3510;pointer-events:auto;overflow:hidden}
.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row.is-visit>.tour-row-label{height:142px}
.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row.is-gap>.tour-row-label,.tour-pane .tour-chart.is-vertical.is-linear .tour-open-window{display:none}
.tour-pane .tour-linear-card-open{display:flex;align-items:center;gap:14px;width:100%;height:96px;min-height:0;padding:12px 16px;border:0;border-radius:0;background:#fff;text-align:left;color:#34532d}
.tour-linear-photo{display:block;flex:none;width:72px;height:70px;object-fit:contain;border-radius:6px;background:#f5f7f0}
.tour-linear-photo.tour-photo-placeholder{display:flex;flex-direction:column;justify-content:center;align-items:center}.tour-linear-photo.tour-photo-placeholder img{width:54px;height:auto}.tour-linear-photo.tour-photo-placeholder>span{display:none}
.tour-pane .tour-chart.is-vertical.is-linear .tour-row-copy{display:block;flex:1;min-width:0;padding:0;width:auto}
.tour-pane .tour-chart.is-vertical.is-linear .tour-row-copy b{font-size:13px;font-weight:600;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;max-height:38px;margin:0 0 5px}
.tour-pane .tour-chart.is-vertical.is-linear .tour-row-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:10px;line-height:1.6;color:#80916f}
.tour-pane .tour-chart.is-vertical.is-linear .tour-row-copy [data-chart-time]{font-size:12px;font-weight:600;color:#476638;font-variant-numeric:tabular-nums}
.tour-pane .tour-chart.is-vertical.is-linear .tour-row-copy .tour-official-slot{font-size:9px;color:#a0835e}.tour-pane .tour-chart.is-vertical.is-linear .tour-linear-venue{display:none}
.tour-linear-card-actions{display:flex;align-items:center;gap:4px;height:44px;padding:0 10px;background:#f6f9f2;border-top:1px solid #edf1e6}
.tour-pane .tour-linear-card-actions button{padding:4px 9px;min-height:36px;min-width:0;font-size:10px;border:0;border-radius:6px;color:#65834e;background:transparent;white-space:nowrap}
.tour-pane .tour-linear-card-actions [data-edit-visit]{margin-left:auto;background:#e9f0e1}
.tour-linear-card-actions [data-drag-visit],.tour-linear-card-actions [data-drag-resize]{touch-action:none;cursor:ns-resize}
.tour-linear-warning{position:absolute;right:12px;top:4px;max-width:80%;font-size:8px;color:#a56643;line-height:1;pointer-events:none}.tour-pane .tour-chart.is-vertical.is-linear .has-overlap>.tour-linear-card{border-color:#d8b09a}
.tour-pane .tour-chart.is-vertical.is-linear .tour-bar{position:absolute;left:calc(var(--rail-x) - 7px + var(--visit-offset,0px));right:auto;width:14px;min-width:0;min-height:0;margin:0;padding:0;border-radius:7px;pointer-events:auto;z-index:4;box-shadow:none;overflow:visible}
.tour-pane .tour-chart.is-vertical.is-linear .tour-visit-bar{background:#72944c;border:1px solid #5f803d;touch-action:none;cursor:ns-resize}
.tour-pane .tour-chart.is-vertical.is-linear .tour-visit-bar:before{content:'';position:absolute;left:1px;top:-5px;width:10px;height:10px;border:2px solid #658844;border-radius:50%;background:#fff;box-sizing:border-box}
.tour-pane .tour-chart.is-vertical.is-linear .tour-bar-text{display:none}
.tour-pane .tour-chart.is-vertical.is-linear .tour-resize{position:absolute;inset:auto auto -9px -9px;width:30px;height:22px;min-height:0;min-width:0;background:transparent;border:0;padding:0;touch-action:none;cursor:ns-resize}
.tour-pane .tour-chart.is-vertical.is-linear .tour-resize:after{content:'';position:absolute;left:9px;bottom:8px;width:12px;height:5px;border-radius:3px;background:#fff;border:1px solid #658844}
.tour-pane .tour-chart.is-vertical.is-linear .tour-gap-bar{left:calc(var(--rail-x) - 14px);width:28px;border:1px dashed #cad7bf;background:#eff4e6b3;cursor:copy;z-index:2}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-shell{left:calc(var(--rail-x) - 17px);width:34px;min-width:0;min-height:0;border:0;background:none;z-index:3;cursor:pointer}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-caption,.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-full,.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-short,.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-part>.tour-transport-summary,.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-deadline>span{display:none}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-window{left:0;right:auto;width:34px;min-height:0;border-radius:9px;border:1px solid #c9d8bb;background:#e9f0e0}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-parts{position:absolute;inset:0;width:34px;overflow:visible}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-part{left:11px;right:auto;width:12px;min-height:0;min-width:0;padding:0;display:block;border:0;border-radius:3px}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-part.is-movement{background:#9cb79b}.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-part.is-reserve{background:repeating-linear-gradient(135deg,#cfba8e 0,#cfba8e 3px,#eadfc5 3px,#eadfc5 6px)}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-part.is-free{background:transparent}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-excess{left:25px;right:auto;width:5px;min-width:0;min-height:0;background:#c88765;border:0;border-radius:3px}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-overlap{left:1px;width:5px;background:#c98767;border:0}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-deadline{left:-4px;right:auto;width:42px;height:1px;border:0;background:#b6c4a9}
.tour-pane .tour-chart.is-vertical.is-linear .tour-free-add{left:calc(var(--rail-x) + 18px);right:auto;width:25px;min-width:0;min-height:0;border:0;border-radius:4px;background:transparent;pointer-events:auto;z-index:4;padding:0;color:#8fa77a;overflow:hidden}
.tour-pane .tour-chart.is-vertical.is-linear .tour-free-add>span{font-size:0}.tour-pane .tour-chart.is-vertical.is-linear .tour-free-add>span:before{content:'+';font-size:15px}
.tour-pane .tour-linear-leg-open{display:block;width:100%;padding:10px 14px 6px;min-height:0;border:0;border-radius:0;background:#fafcf7;text-align:left;color:#536d44}
.tour-linear-leg-title{display:flex;align-items:center;gap:7px;min-width:0}.tour-linear-leg-title>.tour-transport-summary{flex:none}.tour-linear-leg-title b{font-size:11px;font-weight:500}.tour-linear-leg-title>span:last-child{margin-left:auto;font-size:19px}
.tour-linear-leg-destination{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:3px 0;color:#89967e;font-size:10px}
.tour-linear-leg-numbers{display:flex;flex-wrap:wrap;gap:3px 8px;font-size:10px;line-height:1.5}.tour-linear-leg-numbers strong{font-weight:500;color:#718a5d}.tour-linear-leg-numbers strong.is-shortage{color:#ad6a45}
.tour-pane .tour-chart.is-vertical.is-linear .tour-mode-choices{margin:0;padding:4px 10px 9px;display:flex;gap:4px;flex-wrap:nowrap;background:#fafcf7}
.tour-pane .tour-chart.is-vertical.is-linear .tour-mode-choices button{flex:1;min-height:30px;padding:3px 4px;font-size:10px}.tour-pane .tour-chart.is-vertical.is-linear .tour-shortage-action.is-compact{padding:0 10px 7px;margin:0;background:#fff9f3}
.tour-pane .tour-chart.is-vertical.is-linear .tour-shortage-action.is-compact button{min-height:30px;padding:4px;font-size:10px}
.tour-pane .tour-chart.is-vertical.is-linear .tour-add-row>.tour-row-label{display:none}
.tour-pane .tour-chart.is-vertical.is-linear .tour-add-row>.tour-lane{top:var(--append-top,44px);left:var(--card-x);width:var(--card-width);height:68px}
.tour-pane .tour-chart.is-vertical.is-linear .tour-add-row button.tour-add-surface,.tour-pane .tour-chart.is-vertical.is-linear .tour-add-row button.tour-gantt-empty{position:relative;inset:0;width:100%;height:68px;min-height:0;margin:0;padding:12px;display:flex;align-items:center;justify-content:center;gap:9px;border:1px dashed #c1d1b2;border-radius:10px;background:#f5f8ee;pointer-events:auto;color:#799163}
.tour-pane .tour-chart.is-vertical.is-linear .tour-empty-row>.tour-lane{height:144px}.tour-pane .tour-chart.is-vertical.is-linear .tour-empty-row button.tour-gantt-empty{height:144px;flex-wrap:wrap;align-content:center}.tour-pane .tour-chart.is-vertical.is-linear .tour-empty-row button.tour-gantt-empty>small{flex-basis:100%;font-size:10px;text-align:center;max-width:none}.tour-pane .tour-chart.is-vertical.is-linear .tour-add-row .tour-add-surface-plus{font-size:23px}.tour-pane .tour-chart.is-vertical.is-linear .tour-add-row button>span:not(.tour-add-surface-plus){font-size:11px}
.tour-pane .tour-chart.is-vertical.is-linear .tour-placement-line{position:absolute;left:0;right:0;width:100%;height:1px;border-top:1px dashed #7c9d60;z-index:9;pointer-events:none}.tour-pane .tour-chart.is-vertical.is-linear .tour-placement-line>span{left:calc(var(--rail-x) + 20px);top:-24px}
.tour-pane .tour-chart.is-vertical.is-linear .tour-drag-source>.tour-linear-card{opacity:.55}
.tour-pane .tour-chart.is-vertical.is-linear .tour-linear-card-open:hover,.tour-pane .tour-chart.is-vertical.is-linear .tour-linear-leg-open:hover{background:#f1f6e9}.tour-pane .tour-chart.is-vertical.is-linear button:focus-visible,.tour-pane .tour-chart.is-vertical.is-linear [role=button]:focus-visible{outline:2px solid #71964b;outline-offset:3px}
@media(max-width:600px){.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row.is-visit>.tour-row-label{height:142px}.tour-pane .tour-linear-card-open{height:96px;padding:10px 9px;gap:8px}.tour-linear-photo{width:45px;height:62px}.tour-linear-photo.tour-photo-placeholder img{width:37px}.tour-pane .tour-chart.is-vertical.is-linear .tour-row-copy b{font-size:11px;max-height:34px;margin-bottom:4px}.tour-pane .tour-chart.is-vertical.is-linear .tour-row-copy [data-chart-time]{font-size:10px}.tour-linear-card-actions{padding:0 3px;gap:0}.tour-pane .tour-linear-card-actions button{font-size:9px;padding:4px 5px;min-height:42px}.tour-pane .tour-linear-card-actions [data-edit-visit]{padding-inline:6px}.tour-pane .tour-linear-leg-open{padding:9px 9px 5px}.tour-linear-leg-title b{font-size:10px}.tour-linear-leg-title{gap:4px}.tour-linear-leg-numbers{font-size:9px}.tour-pane .tour-chart.is-vertical.is-linear .tour-mode-choices{padding:4px 6px 8px;gap:2px}.tour-pane .tour-chart.is-vertical.is-linear .tour-mode-choices button{font-size:9px;padding:3px 2px;min-height:36px}.tour-pane .tour-chart.is-vertical.is-linear .tour-shortage-action.is-compact button{min-height:36px;font-size:9px}.tour-pane .tour-chart.is-vertical.is-linear .tour-tick{font-size:10px}.tour-linear-warning{font-size:7px;right:7px}.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-part.is-movement>.tour-transport-summary{display:none}}
@media(prefers-reduced-motion:reduce){.tour-pane .tour-chart.is-vertical.is-linear *{transition:none!important}}
.tour-pane .tour-chart.is-vertical.is-linear .tour-resize{min-height:22px!important}.tour-pane .tour-chart.is-vertical.is-linear .tour-resize:before{display:none}.tour-pane .tour-chart.is-vertical.is-linear .tour-resize:after{content:'';inset:auto auto 8px 9px;font-size:0}
.tour-linear-leg-note{display:block;font-size:9px;line-height:1.5;margin-top:3px;color:#a1825e}

/* Cards are the interaction surface; controls appear where the edit happens. */
.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row.is-visit>.tour-row-label{height:auto;min-height:132px}
.tour-pane .tour-linear-card-open{height:96px;cursor:grab;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.tour-pane .tour-linear-card-open:active{cursor:grabbing}
.tour-pane .tour-card-stay-edge{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;height:36px;min-height:36px;padding:0 15px;border:0;border-top:1px solid #edf1e6;border-radius:0;background:#f6f9f2;color:#7b906d;font-size:10px;cursor:ns-resize;touch-action:none;user-select:none}
.tour-card-stay-edge b{font-weight:500;font-variant-numeric:tabular-nums;color:#4b6c38}.tour-card-edge-mark{display:block;width:30px;height:5px;border-block:1px solid #a9b99c;opacity:.8}
.tour-pane .tour-card-stay-edge:hover,.tour-pane .tour-card-stay-edge:focus-visible{background:#eaf2df;color:#49683a}
.tour-pane .tour-chart.is-vertical.is-linear .is-touch-armed{outline:2px solid #6c914a;outline-offset:3px;box-shadow:0 8px 24px #476a372c}
.tour-pane .is-touch-armed .tour-linear-card-open{touch-action:none;background:#f0f6e8}
.tour-touch-card-hint{display:flex;align-items:center;gap:5px;padding:8px 9px;background:#eaf3df;color:#526e3c;font-size:10px;line-height:1.6}.tour-touch-card-hint[hidden]{display:none}.tour-touch-card-hint>span{flex:1}
.tour-pane .tour-touch-card-hint button{flex:none;min-height:36px;padding:4px 7px;border:1px solid #c9d8bc;background:#fff;font-size:9px}
.tour-pane .tour-linear-leg-open{padding:10px 14px;min-height:76px;background:#f8faf5}
.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row.is-travel>.tour-row-label{box-shadow:none;background:#f8faf5;border-color:#e0e7d9;border-radius:9px}
.tour-pane .tour-chart.is-vertical.is-linear .tour-shortage-action.is-compact button{font-size:10px;min-height:36px}
.tour-action-dock{position:fixed;right:24px;bottom:22px;z-index:20;display:flex;align-items:center;gap:8px;max-width:calc(100vw - 40px);padding:7px;background:#fffffff2;border:1px solid #d7e2cb;border-radius:12px;box-shadow:0 5px 24px #314a3021;backdrop-filter:blur(12px)}
.tour-action-dock #tour-dock-status{font-size:10px;color:#799068;padding:0 5px;max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tour-action-dock #tour-dock-status:empty{display:none}.tour-pane .tour-action-dock button{min-height:44px;padding:8px 15px;font-size:12px;white-space:nowrap;border:0;border-radius:7px;background:#f0f5e9;color:#5a7746}
.tour-pane .tour-action-dock .tour-choose-events{background:#54753f;color:#fff}.tour-pane .tour-action-dock button[hidden]{display:none}
.tour-pane .tour-pick-card.is-selected{opacity:1}.tour-pane .tour-pick-card.is-selected .tour-pick-action{color:#47723a}.tour-pick-action{font-variant-numeric:tabular-nums}
.tour-drag-ghost.tour-linear-card-open{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #a6bd93;border-radius:10px;box-shadow:0 14px 40px #314a3038;color:#34532d;opacity:.9}
@media(max-width:760px){.tour-action-dock{left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom));max-width:none;justify-content:flex-end;padding:6px;gap:6px}.tour-action-dock #tour-dock-status{display:none}.tour-pane .tour-action-dock .tour-choose-events{flex:1}.tour-pane .tour-action-dock button{min-height:44px;font-size:11px;padding:7px 13px}.tour-pane .tour-card-stay-edge{height:40px;min-height:40px;padding:0 10px;font-size:10px}.tour-pane .tour-linear-card-open{padding:11px 9px}.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row.is-visit>.tour-row-label{min-height:136px}.tour-pane .tour-linear-leg-open{padding:9px 10px}.tour-pane .tour-chart.is-vertical.is-linear .tour-shortage-action.is-compact button{min-height:40px}.tour-touch-card-hint{flex-direction:column;align-items:stretch;font-size:10px}.tour-touch-card-hint button{width:100%}}

.tour-pane #tour-leg-drawer .tour-mode-choices button{min-height:48px;font-size:12px}.tour-pane #tour-leg-drawer input,.tour-pane #tour-leg-drawer select{min-height:44px}

@media(max-width:760px){.tour-pane .tour-card-stay-edge{height:44px;min-height:44px}.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row.is-visit>.tour-row-label{min-height:140px}}

.tour-pane .tour-chart.is-vertical.is-linear .tour-linear-warning{position:static;display:block;width:100%;max-width:none;min-height:30px;padding:5px 10px;border:0;border-top:1px solid #efdfcd;border-radius:0;background:#fff5e9;color:#a16b41;font-size:10px;line-height:1.5;pointer-events:auto;text-align:left}.tour-pane .tour-chart.is-vertical.is-linear .tour-linear-warning[hidden]{display:none}

.tour-pane{padding-bottom:108px}@media(max-width:760px){.tour-pane{padding-bottom:calc(170px + env(safe-area-inset-bottom))}}

.tour-linear-connectors path.is-visit{stroke:#557449;stroke-width:1.5}.tour-linear-connectors path.is-travel{stroke:#a8b7b0;stroke-width:1;stroke-dasharray:3 3}
.tour-linear-connectors .tour-visit-node circle{fill:#557449;stroke:#fff;stroke-width:2}.tour-linear-connectors .tour-visit-node text{fill:#fff;stroke:none;font:600 10px system-ui,sans-serif}.tour-linear-connectors .tour-travel-node{fill:#eff4ee;stroke:#a8b7b0;stroke-width:1.5}
.tour-pane .tour-chart.is-vertical.is-linear .tour-visit-bar:before{display:none}
.tour-linear-connectors{z-index:5}

@media(max-width:380px){.tour-pane #tour-leg-drawer .tour-mode-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.tour-pane #tour-leg-drawer .tour-mode-choices button{min-width:0;width:100%}}

/* Visit handles stay narrow visually, with a finger-sized drag surface. */
.tour-pane{--tour-visit:#56743b;--tour-visit-soft:#f0f5e8;--tour-travel:#437fa8;--tour-travel-soft:#edf5fb;--tour-travel-line:#b4cede}
.tour-pane .tour-chart.is-vertical.is-linear .tour-visit-bar{left:calc(var(--rail-x) - 24px + var(--visit-offset,0px));width:48px;border:0;background:transparent;border-radius:0;touch-action:none;outline-offset:2px}
.tour-pane .tour-chart.is-vertical.is-linear .tour-visit-bar:before{display:block;content:'';position:absolute;left:17px;top:0;width:14px;height:100%;border:1px solid #45632c;border-radius:7px;background:var(--tour-visit);box-sizing:border-box;pointer-events:none}
.tour-pane .tour-chart.is-vertical.is-linear .tour-visit-bar:after{content:'';position:absolute;inset:0;min-height:44px;background:transparent;touch-action:none;cursor:ns-resize;z-index:-1}
.tour-pane .tour-chart.is-vertical.is-linear .tour-resize{inset:auto auto 0 2px;width:44px;height:44px;min-height:44px!important;min-width:44px;z-index:2}
.tour-pane .tour-chart.is-vertical.is-linear .tour-resize:after{inset:auto auto 1px 16px;width:12px;height:5px}
.tour-pane .tour-chart.is-vertical.is-linear .is-short-visit .tour-resize{display:none}
.tour-pane .tour-chart.is-vertical.is-linear .tour-visit-bar:focus-visible{outline:2px solid var(--tour-visit);background:#56743b0d}
.tour-card-footer{display:flex;align-items:stretch;min-height:44px;background:var(--tour-visit-soft);border-top:1px solid #e4ecda}
.tour-pane .tour-card-stay-edge{flex:1;width:auto;min-width:0;height:44px;min-height:44px;border-top:0;background:transparent;padding-inline:12px}
.tour-pane .tour-card-detail{flex:none;min-width:62px;min-height:44px;padding:8px 12px;margin:0;border:0;border-left:1px solid #dde7d2;border-radius:0;background:transparent;color:#45632c;font-size:11px;font-weight:600;touch-action:manipulation;cursor:pointer}
.tour-pane .tour-card-detail:hover,.tour-pane .tour-card-detail:focus-visible{background:#e4edd9}
.tour-pane .tour-linear-card-open{box-sizing:border-box;touch-action:pan-y pinch-zoom}
.tour-pane .tour-chart.is-vertical.is-linear .tour-linear-warning{pointer-events:none}
.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row.is-travel>.tour-row-label{border-color:var(--tour-travel-line);background:var(--tour-travel-soft)}
.tour-pane .tour-linear-leg-open,.tour-pane .tour-chart.is-vertical.is-linear .tour-linear-leg-open:hover{position:relative;padding:10px 72px 10px 12px;min-height:76px;background:var(--tour-travel-soft);color:#346486;touch-action:pan-y pinch-zoom}
.tour-pane .tour-leg-detail{position:absolute;right:0;top:0;bottom:0;min-width:60px;border-left:1px solid #d4e4ef;color:#346486}
.tour-pane .tour-leg-detail:hover,.tour-pane .tour-leg-detail:focus-visible{background:#dcecf7}
.tour-linear-leg-destination{color:#648298}.tour-linear-leg-numbers strong{color:#437691}.tour-linear-leg-numbers strong.is-shortage{color:#a4562f}.tour-linear-leg-title b{font-weight:600}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-shell{cursor:default}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-window{border-color:var(--tour-travel-line);background:#e6f0f7}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-part.is-movement{background:var(--tour-travel)}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-part.is-reserve{background:repeating-linear-gradient(135deg,#84a9c3 0,#84a9c3 3px,#cbdfea 3px,#cbdfea 6px)}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-deadline{background:#8eafc5}
.tour-linear-connectors path.is-travel{stroke:#7aa7c4}.tour-linear-connectors .tour-travel-node{fill:#e6f0f7;stroke:#437fa8}
.tour-pane .tour-chart:not(.is-vertical) .tour-interval-window{border-color:#b4cede;background:#e6f0f7}.tour-pane .tour-chart:not(.is-vertical) .tour-interval-part.is-movement{background:#bfd9eb;color:#2e5e7c}.tour-pane .tour-chart:not(.is-vertical) .tour-interval-part.is-reserve{background:repeating-linear-gradient(135deg,#b1cede 0,#b1cede 4px,#e0edf5 4px,#e0edf5 8px)}
.tour-legend>span:nth-child(2):before{background:#437fa8}.tour-legend>span:nth-child(3):before{background:repeating-linear-gradient(135deg,#84a9c3 0,#84a9c3 3px,#cbdfea 3px,#cbdfea 6px)}
@media(pointer:coarse){.tour-pane .tour-linear-card-open,.tour-pane .tour-linear-card-open:active{cursor:default}}

/* Keep mobile setup compact so the itinerary starts higher on the screen. */
.tour-settings-icon{display:none}
@media(max-width:760px),(max-width:1000px) and (max-height:500px){
  .tour-pane{padding-top:4px}
  .tour-pane>.tour-heading{min-height:24px;margin-bottom:2px;gap:8px}
  .tour-pane>.tour-heading .tour-eyebrow{display:none}
  .tour-pane>.tour-heading h1{font-size:20px;line-height:24px;margin:0}
  .tour-pane>.tour-heading .tour-save-status{max-width:46%;font-size:8px;line-height:1.4;white-space:normal;text-align:right}
  .tour-planner-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;gap:4px 6px;align-items:center;margin-bottom:4px}
  .tour-planner-toolbar>label{min-width:0;gap:4px;font-size:9px}
  .tour-planner-toolbar>label>span{flex:none}
  .tour-planner-toolbar select,.tour-planner-toolbar input{width:100%;min-width:0;height:44px;min-height:44px}
  .tour-planner-toolbar #tour-toggle-settings{order:0;flex-basis:auto;width:44px;min-width:44px;height:44px;min-height:44px;padding:10px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #cbd6cd}
  .tour-planner-toolbar #tour-toggle-settings>span{display:none}
  .tour-planner-toolbar .tour-settings-icon{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
  .tour-planner-toolbar .tour-card-toggles{grid-column:1/-1;order:0;width:100%;gap:6px}
  .tour-pane .tour-card-toggles button{height:44px;min-height:44px;padding:6px 9px}
}

/* Show the affected leg and its remedies without clipping narrow screens. */
.tour-gantt-heading{flex-wrap:wrap}.tour-summary{min-width:0;flex:1 1 180px;flex-wrap:wrap;row-gap:5px}.tour-summary>span{flex:0 0 auto;max-width:100%}.tour-summary>span.is-shortage{white-space:nowrap;line-height:1.5}
.tour-linear-leg-numbers{white-space:normal;overflow-wrap:anywhere}.tour-linear-leg-numbers strong{flex-basis:100%;white-space:normal}
.tour-pane .tour-shortage-action,.tour-pane .tour-chart.is-vertical.is-linear .tour-shortage-action.is-compact{margin:0;padding:11px 12px;background:#fff3e9;border-top:1px solid #edcbb4;color:#884b2f}
.tour-pane .tour-shortage-action .tour-shortage-title{font-size:11px;font-weight:600;line-height:1.5;margin:0 0 6px!important;color:#8a452b;white-space:normal}
.tour-shortage-times{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;font-size:10px;line-height:1.6;margin:0 0 8px!important;white-space:normal}.tour-shortage-times>span{display:flex;justify-content:space-between;gap:6px}.tour-shortage-times b{font-variant-numeric:tabular-nums;font-weight:600;flex:none}.tour-shortage-times>strong{font-size:10px;font-weight:600;color:#a04426}
.tour-shortage-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.tour-pane .tour-shortage-action .tour-shortage-buttons button,.tour-pane .tour-chart.is-vertical.is-linear .tour-shortage-action.is-compact .tour-shortage-buttons button{width:100%;min-width:0;min-height:44px;height:auto;padding:7px 4px;border:1px solid #dcbba5;border-radius:6px;background:#fffaf6;color:#84472d;text-align:center;font-size:10px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
.tour-pane .tour-shortage-action .tour-shortage-buttons button:last-child{background:#f7e3d2;border-color:#dbb596}.tour-shortage-buttons>button:only-child{grid-column:1/-1}
.tour-shortage-action>small{display:block;font-size:9px;line-height:1.6;margin-top:6px;color:#976b51}.tour-shortage-footnote{font-size:10px;line-height:1.6;margin:6px 0 15px;color:#8c7b6c}
.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row.is-shortage>.tour-row-label{border-color:#dcae8e}
.tour-pane .tour-chart.is-vertical.is-linear .tour-gap-bar,.tour-pane .tour-chart.is-vertical.is-linear .tour-add-row button.tour-add-surface,.tour-pane .tour-chart.is-vertical.is-linear .tour-add-row button.tour-gantt-empty{border-style:solid;background:#f2f6ec}
.tour-pane .tour-add-surface-plus,.tour-pane button.tour-gantt-empty .tour-add-surface-plus,.tour-pane .tour-card-empty{border-style:solid}
.tour-pane .tour-linear-connectors path{stroke-dasharray:none}.tour-pane .tour-linear-connectors path.is-travel{stroke:#91b4ca;stroke-width:1.2}
.tour-pane .tour-interval-excess{border-style:solid;background:#c8876533}.tour-pane .has-shortage .tour-interval-deadline{border-left-style:solid}
.tour-pane .tour-chart.is-vertical.is-linear .tour-placement-line{border-top-style:solid}.tour-pane .tour-placement-line{border-left-style:solid}
.tour-pane .tour-legend span:nth-child(4):before{border-style:solid}
@media(max-width:760px),(max-width:1000px) and (max-height:500px){.tour-gantt-heading{align-items:flex-start}.tour-summary{flex-basis:160px;gap:4px 7px}.tour-summary>span.is-shortage{flex-shrink:0;max-width:none}.tour-pane .tour-chart.is-vertical.is-linear .tour-shortage-action.is-compact{padding:10px 9px}}

.tour-pane .tour-interval-overlap{border-style:solid}.tour-pane .tour-chart.is-vertical .has-shortage .tour-interval-deadline{border-top-style:solid}
.tour-standard-buffer{grid-column:1/-1;display:flex;align-items:center;gap:14px;padding:12px;border:1px solid #c9dce8;border-radius:8px;background:#eff6fb}.tour-standard-buffer>div{flex:1;min-width:0}.tour-standard-buffer b{display:block;font-size:12px;color:#3f6c88;font-weight:600}.tour-standard-buffer small{display:block;font-size:10px;line-height:1.7;color:#688295;margin-top:3px}.tour-pane .tour-standard-buffer button{min-height:44px;flex:none;background:#fff;border-color:#aac5d8;color:#396a8c;font-size:11px;white-space:normal}
@media(max-width:600px){.tour-standard-buffer{align-items:stretch;flex-direction:column;gap:8px}.tour-pane .tour-standard-buffer button{width:100%}}

.tour-pane .tour-linear-leg-open.has-shortage-actions{padding-right:12px}

/* Timeline workspace: one tool row, two time-aligned information lanes. */
.tour-pane{padding:6px 12px calc(90px + env(safe-area-inset-bottom));background:#fafbf8}
.tour-pane .tour-planner-toolbar{position:sticky;top:-6px;z-index:30;display:flex;align-items:center;flex-wrap:nowrap;gap:8px;min-height:52px;margin:0;padding:4px 0;background:#fafbf8}
.tour-planner-toolbar .tour-heading{display:flex;align-items:center;min-height:0;margin:0 auto 0 0;gap:12px}
.tour-planner-toolbar .tour-heading h1{font-size:18px;line-height:24px;margin:0;white-space:nowrap}
.tour-planner-toolbar .tour-eyebrow,.tour-planner-toolbar .tour-save-status,.tour-planner-toolbar .tour-toolbar-spacer{display:none}
.tour-planner-toolbar>.tour-date-field{display:flex;min-width:0;gap:5px}
.tour-planner-toolbar>.tour-date-field>span{display:none}
.tour-pane .tour-planner-toolbar select{width:100px;height:44px;min-height:44px;padding:5px 8px;background:#fff}
.tour-pane .tour-planner-toolbar #tour-toggle-settings{order:0;flex:none;flex-basis:auto;width:44px;min-width:44px;height:44px;min-height:44px;padding:10px;border:1px solid #d7dfd5;background:#fff;display:flex;align-items:center;justify-content:center}
.tour-planner-toolbar #tour-toggle-settings>span{display:none}
.tour-planner-toolbar .tour-settings-icon{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.tour-planner-toolbar .tour-card-toggles{display:flex;flex:none;width:auto;gap:6px;margin:0;order:0}
.tour-pane .tour-card-toggles button{min-height:44px;height:44px;padding:6px 11px;font-size:12px;white-space:nowrap}
.tour-toggle-chevron{display:none}
.tour-pane .tour-gantt-panel{overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}
.tour-pane .tour-chart-scroll.is-vertical{border:0;border-radius:0;background:#fafbf8;min-height:calc(100dvh - 180px)}
.tour-pane .tour-chart.is-vertical.is-linear{background:transparent}
.tour-pane .tour-settings{position:fixed;z-index:42;top:var(--tour-tools-top,132px);right:12px;left:auto;width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - var(--tour-tools-top,132px) - 90px);overflow:auto;margin:0;padding:18px;border:1px solid #cfd8ca;border-radius:12px;background:#fff;box-shadow:0 12px 45px #293d3426}
.tour-settings>.tour-gantt-heading,.tour-settings>.tour-chart-toolbar{grid-column:1/-1;padding:8px 0;margin:0}
.tour-settings>.tour-chart-toolbar{gap:8px;justify-content:flex-start}
.tour-settings .tour-chart-toolbar>p{flex-basis:100%;order:0}
.tour-settings .tour-history-controls,.tour-settings .tour-zoom,.tour-settings .tour-chart-view{margin:0}
.tour-pane .tour-settings .tour-chart-view button,.tour-pane .tour-settings .tour-zoom button,.tour-pane .tour-settings .tour-history-controls button{min-height:44px;min-width:44px}
.tour-pane .tour-card-browser{position:fixed;z-index:41;top:var(--tour-tools-top,132px);left:12px;right:12px;width:auto;margin:0;border:1px solid #cad8c4;border-radius:10px;background:#fff;box-shadow:0 10px 35px #293d3426;overflow:hidden}
.tour-pane .tour-card-scroll{max-height:216px;min-height:0}
.tour-pane .tour-browser-toolbar{padding:8px 12px}.tour-pane .tour-browser-toolbar input,.tour-pane #tour-jump-chart{min-height:44px}
.tour-action-dock{left:auto;right:16px;bottom:calc(78px + env(safe-area-inset-bottom));max-width:170px;padding:0;border:0;border-radius:8px;box-shadow:0 3px 16px #2b49341a;background:transparent;pointer-events:none}
.tour-action-dock #tour-dock-status{display:none}.tour-action-dock button{pointer-events:auto;background:#fff!important;border:1px solid #ccd7c6!important;min-height:44px!important}
.tour-action-dock:has(button[hidden]){display:none}
.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-axis>.tour-row-label{font-size:10px;height:44px;padding-right:22px;justify-content:flex-end}
.tour-pane .tour-chart.is-vertical.is-linear .tour-tick{width:calc(var(--rail-x) - 25px);font-size:10px;line-height:16px}
.tour-pane .tour-chart.is-vertical.is-linear .tour-tick:after{top:50%;left:calc(100% + 7px);width:7px}
.tour-linear-backdrop{background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--grid-step) - 1px),#b5c8b12b calc(var(--grid-step) - 1px),#b5c8b12b var(--grid-step))}
.tour-linear-backdrop:after{left:calc(var(--rail-x) - 24px);width:48px;border-radius:0;background:#eaf0e4a3}
.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row.is-visit>.tour-row-label{height:104px;min-height:104px;border:0;border-radius:5px;outline:1px solid #c4d2b8;outline-offset:-1px;background:#f0f5e9;box-shadow:none;overflow:visible}
.tour-pane .tour-linear-card-open{height:60px;min-height:60px;padding:1px 8px;gap:8px;background:#f0f5e9;border-radius:4px 4px 0 0}
.tour-pane .tour-chart.is-vertical.is-linear .tour-row-copy b{font-size:12px;line-height:14px;max-height:28px;margin:0;-webkit-line-clamp:2}
.tour-pane .tour-chart.is-vertical.is-linear .tour-row-copy [data-chart-time]{font-size:11px;line-height:14px}
.tour-pane .tour-chart.is-vertical.is-linear .tour-row-copy .tour-official-slot{display:none}
.tour-linear-photo{width:38px;height:38px;border-radius:3px}.tour-linear-photo.tour-photo-placeholder img{width:32px}
.tour-card-footer{height:44px;min-height:44px;border-top:0;box-shadow:inset 0 1px #dbe5cf;border-radius:0 0 4px 4px;background:#e7efdc}
.tour-pane .tour-card-stay-edge{height:44px;min-height:44px;padding:0 8px;font-size:10px}
.tour-pane .tour-card-detail{min-width:48px;padding:5px 8px;font-size:11px}
.tour-pane .tour-chart.is-vertical.is-linear .tour-linear-warning{top:auto;bottom:2px;right:52px;max-width:calc(100% - 60px);font-size:8px;line-height:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;background:#fff5df;color:#945c25}
.tour-event-span{position:absolute;left:var(--card-x);width:var(--card-width);min-height:0;background:#e2ecd4b3;border-left:3px solid #8fa96d;border-radius:4px;pointer-events:none;z-index:1}
.tour-pane .tour-chart.is-vertical.is-linear .tour-visit-bar:before{left:10px;width:28px;border-radius:5px;background:#638047;border-color:#45632c}
.tour-pane .tour-chart.is-vertical.is-linear .tour-resize:after{left:9px;width:26px}
.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row.is-travel>.tour-row-label{left:var(--travel-x);width:var(--travel-width);border:0;border-left:2px solid #adcbdc;border-radius:0;background:#eff6fa;box-shadow:none}
.tour-pane .tour-linear-leg-open.tour-travel-chip,.tour-pane .tour-chart.is-vertical.is-linear .tour-linear-leg-open.tour-travel-chip:hover{display:block;position:relative;width:100%;min-width:0;min-height:76px;padding:5px 6px;border:0;border-radius:0;background:#eff6fa;color:#346486;text-align:left;white-space:normal;touch-action:pan-y pinch-zoom}
.tour-travel-chip .tour-linear-leg-title{display:block;margin:0}.tour-travel-chip .tour-linear-leg-title b{font-size:11px;line-height:15px;font-weight:600}
.tour-travel-chip .tour-linear-leg-numbers{display:block;font-size:10px;line-height:15px;white-space:nowrap}
.tour-travel-status{display:block;font-size:10px;line-height:15px;font-weight:500;color:#507b94}.tour-travel-status.is-shortage{background:#f9e5d6;color:#984524;font-weight:600;padding:1px 3px;border-radius:3px}
.tour-chip-detail{display:block;font-size:9px;line-height:15px;color:#396b8c}
.tour-linear-leg-note{font-size:9px;line-height:13px}
.tour-pane .tour-linear-connectors path.is-travel{stroke:#90b3c8;stroke-width:1;opacity:.55}.tour-linear-connectors{z-index:2}
.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row.is-shortage>.tour-row-label{border-color:#d6a684}
.tour-pane .tour-chart-footer{padding:12px 6px}
@media(max-width:760px),(max-width:1000px) and (max-height:500px){
 .tour-pane{padding:0 6px calc(90px + env(safe-area-inset-bottom))}
 .tour-pane .tour-planner-toolbar{top:0;gap:4px;min-height:52px;padding:4px 0}
 .tour-planner-toolbar .tour-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0}
 .tour-pane .tour-planner-toolbar select{width:76px;font-size:12px;padding:5px}
 .tour-planner-toolbar .tour-card-toggles{grid-column:auto;flex:1;justify-content:flex-end;gap:4px}
 .tour-pane .tour-card-toggles button{min-width:44px;padding:5px 8px;font-size:12px;gap:4px}
 .tour-card-toggles #tour-toggle-favorites>span:not(.tour-toggle-count){display:none}
 .tour-card-toggles #tour-toggle-favorites .tour-toggle-count{font-size:11px}
 .tour-pane .tour-settings{left:6px;right:6px;width:auto;padding:12px}
 .tour-pane .tour-card-browser{left:6px;right:6px}
 .tour-pane .tour-card-scroll{max-height:190px}
 .tour-pane .tour-linear-photo{display:none}
 .tour-pane .tour-linear-card-open{padding:1px 5px;gap:0}
 .tour-pane .tour-chart.is-vertical.is-linear .tour-row-copy b{font-size:11px;line-height:14px}
 .tour-pane .tour-chart.is-vertical.is-linear .tour-row-copy [data-chart-time]{font-size:10px;line-height:14px}
 .tour-pane .tour-card-stay-edge{padding:0 5px;font-size:9px}
 .tour-card-edge-mark{display:none}
 .tour-action-dock{left:auto;right:10px;bottom:calc(76px + env(safe-area-inset-bottom));max-width:150px}
}
.tour-lane-headings{position:absolute;inset:0 0 auto;height:44px;pointer-events:none;font-size:10px;color:#7e8d76}.tour-lane-headings>span{position:absolute;left:var(--card-x);top:16px}.tour-lane-headings>span:last-child{left:var(--travel-x);color:#6e8a9c}
.tour-pane .tour-chart.is-vertical.is-linear .tour-linear-warning{position:absolute;min-height:0;width:auto;padding:1px 3px;border:0;border-radius:2px;pointer-events:none}
.tour-settings>.tour-save-status{grid-column:1/-1;display:block;font-size:11px;color:#687b60;max-width:none}
@media(min-width:761px) and (min-height:501px){.tour-pane{padding-top:0}.tour-pane .tour-planner-toolbar{top:0;min-height:44px;height:44px;padding:0}}
/* Old UI scripts retain their shared, sequential label column during rollout. */
.tour-pane .tour-chart.is-vertical.is-linear{--travel-x:var(--card-x);--travel-width:var(--card-width)}

/* Empty placement is a single centered target, including in the narrow lane. */
.tour-pane .tour-chart.is-vertical.is-linear .tour-empty-row button.tour-gantt-empty{height:144px;min-height:144px;padding:10px;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:center;align-content:normal;justify-content:center;gap:6px;text-align:center}
.tour-pane .tour-chart.is-vertical.is-linear .tour-empty-row button.tour-gantt-empty>*{position:static;inset:auto;transform:none;flex:0 0 auto;align-self:center;width:auto;max-width:100%;height:auto;min-width:0;margin:0;white-space:normal;overflow-wrap:anywhere;text-align:center}
.tour-pane .tour-chart.is-vertical.is-linear .tour-empty-row button.tour-gantt-empty>.tour-add-surface-plus{display:flex;width:28px;height:28px;align-items:center;justify-content:center;padding:0;border:0;background:transparent;font-size:26px;line-height:1}
.tour-pane .tour-chart.is-vertical.is-linear .tour-empty-row button.tour-gantt-empty>span:not(.tour-add-surface-plus){width:100%;font-size:11px;line-height:1.4}
.tour-pane .tour-chart.is-vertical.is-linear .tour-empty-row button.tour-gantt-empty>small{flex:0 0 auto;width:100%;font-size:10px;line-height:1.4}

.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row.is-visit.has-overlap>.tour-row-label{outline-color:#d8b09a}

/* Quiet time marks; finger-sized move and resize targets remain unchanged. */
.tour-pane .tour-chart.is-vertical.is-linear .tour-visit-bar:before{left:15px;width:18px;border:0;border-radius:3px;background:#6d8358;box-shadow:none}
.tour-pane .tour-chart.is-vertical.is-linear .tour-resize:after,.tour-pane .tour-chart.is-vertical.is-linear .tour-card-edge-mark{display:none}
.tour-pane .tour-chart.is-vertical.is-linear .tour-visit-bar:focus-visible:before,.tour-pane .tour-chart.is-vertical.is-linear .tour-visit-bar:focus-within:before,.tour-pane .tour-chart.is-vertical.is-linear .tour-drag-source .tour-visit-bar:before{background:#48662f;box-shadow:0 0 0 3px #63804720}

/* One meaning per color: blue visits, neutral travel, orange conflicts. */
.tour-pane{--tour-visit:#245bd6;--tour-visit-soft:#f1f5ff;--tour-visit-line:#bdceee;--tour-travel:#858b93;--tour-travel-soft:#f1f2f4;--tour-travel-line:#cdd0d5}
.tour-pane .tour-chart:not(.is-vertical) .tour-visit-bar{background:var(--tour-visit);box-shadow:0 3px 5px #245bd612}
.tour-pane .tour-chart:not(.is-vertical) .tour-visit-bar:hover{background:#1949b7}
.tour-pane .tour-chart.is-vertical.is-linear .tour-visit-bar:before{background:var(--tour-visit)}
.tour-pane .tour-chart.is-vertical.is-linear .tour-visit-bar:focus-visible{background:#245bd60d}
.tour-pane .tour-chart.is-vertical.is-linear .tour-visit-bar:focus-visible:before,.tour-pane .tour-chart.is-vertical.is-linear .tour-visit-bar:focus-within:before,.tour-pane .tour-chart.is-vertical.is-linear .tour-drag-source .tour-visit-bar:before{background:#1949b7;box-shadow:0 0 0 3px #245bd620}
.tour-pane .tour-linear-connectors path.is-visit{stroke:var(--tour-visit)}
.tour-pane .tour-linear-connectors .tour-visit-node circle{fill:var(--tour-visit);stroke:#fff}
.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row.is-visit>.tour-row-label{background:var(--tour-visit-soft);outline-color:var(--tour-visit-line)}
.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row.is-visit.has-overlap>.tour-row-label{outline-color:#d8b09a}
.tour-pane .tour-linear-card-open,.tour-pane .tour-chart.is-vertical.is-linear .tour-linear-card-open:hover{background:var(--tour-visit-soft);color:#254b86}
.tour-pane .tour-chart .is-visit .tour-row-copy b,.tour-pane .tour-chart.is-vertical.is-linear .is-visit .tour-row-copy b,.tour-pane .tour-chart.is-vertical.is-linear .is-visit .tour-row-copy [data-chart-time]{color:#254b86}
.tour-pane .tour-chart .is-visit .tour-row-copy small,.tour-pane .tour-chart.is-vertical.is-linear .is-visit .tour-row-copy small{color:#667892}
.tour-pane .tour-card-footer{background:#e7efff;box-shadow:inset 0 1px #d6e1f7}
.tour-pane .tour-card-stay-edge,.tour-pane .tour-card-stay-edge b,.tour-pane .tour-card-detail{color:#254b86;border-left-color:#d2def4}
.tour-pane .tour-card-stay-edge:hover,.tour-pane .tour-card-stay-edge:focus-visible,.tour-pane .tour-card-detail:hover,.tour-pane .tour-card-detail:focus-visible{background:#dbe7ff;color:#1949b7}
.tour-pane .tour-event-span{background:#dce7fbb3;border-left-color:#8babeb}
.tour-pane .tour-chart .tour-open-window{background:#edf3ff;border-bottom-color:#c5d6f8}
.tour-pane .tour-chart.is-vertical.is-linear button:focus-visible,.tour-pane .tour-chart.is-vertical.is-linear [role=button]:focus-visible{outline-color:var(--tour-visit)}
.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row.is-travel>.tour-row-label{background:var(--tour-travel-soft);border-color:var(--tour-travel-line)}
.tour-pane .tour-linear-leg-open.tour-travel-chip,.tour-pane .tour-chart.is-vertical.is-linear .tour-linear-leg-open.tour-travel-chip:hover{background:var(--tour-travel-soft);color:#515861}
.tour-pane .tour-travel-status:not(.is-shortage),.tour-pane .tour-chip-detail,.tour-pane .tour-linear-leg-note,.tour-pane .tour-linear-leg-destination,.tour-pane .tour-linear-leg-numbers strong:not(.is-shortage){color:#626a75}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-window,.tour-pane .tour-chart:not(.is-vertical) .tour-interval-window{background:#e9ebee;border-color:var(--tour-travel-line)}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-part.is-movement{background:var(--tour-travel)}
.tour-pane .tour-chart:not(.is-vertical) .tour-interval-part.is-movement{background:#d3d6db;color:#515861}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-part.is-reserve,.tour-pane .tour-chart:not(.is-vertical) .tour-interval-part.is-reserve{background:repeating-linear-gradient(135deg,#b7bcc4 0,#b7bcc4 3px,#e1e4e8 3px,#e1e4e8 6px);color:#5d6570}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-shell:not(.has-shortage) .tour-interval-deadline{background:#a6adb7}
.tour-pane .tour-chart:not(.is-vertical) .tour-interval-shell:not(.has-shortage) .tour-interval-deadline{border-color:#a6adb7}
.tour-pane .tour-linear-connectors path.is-travel{stroke:#a7adb5}
.tour-pane .tour-linear-connectors .tour-travel-node{fill:#edf0f3;stroke:var(--tour-travel)}
.tour-pane .tour-chart-row.is-travel .tour-row-copy,.tour-pane .tour-chart-row.is-travel .tour-row-copy small:not(.is-shortage),.tour-pane .tour-chart-row.is-travel .tour-leg-open{color:#626a75}
.tour-pane .tour-chart-row.is-travel .tour-interval-status.is-shortage,.tour-pane .tour-travel-status.is-shortage{color:#984524}
.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row.is-shortage>.tour-row-label{border-color:#d6a684}
.tour-pane .tour-legend span:first-child:before{background:var(--tour-visit)}
.tour-pane .tour-legend span:nth-child(2):before{background:var(--tour-travel)}
.tour-pane .tour-legend span:nth-child(3):before{background:repeating-linear-gradient(135deg,#b7bcc4 0,#b7bcc4 3px,#e1e4e8 3px,#e1e4e8 6px)}
.tour-pane .tour-legend span:nth-child(4):before{background:#f0f2f4;border-color:#cdd0d5}
.tour-pane .tour-legend span:nth-child(5):before{background:#edf3ff;border-bottom-color:#c5d6f8}
.tour-pane,.tour-pane .tour-planner-toolbar,.tour-pane .tour-chart-scroll.is-vertical{background:#fafbfc}
.tour-pane .tour-linear-backdrop{background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--grid-step) - 1px),#aeb7c12b calc(var(--grid-step) - 1px),#aeb7c12b var(--grid-step))}
.tour-pane .tour-linear-backdrop:after{background:#e9edf2a3}
.tour-pane .tour-lane-headings>span:first-child{color:#5272aa}.tour-pane .tour-lane-headings>span:last-child{color:#737c87}
.tour-pane .tour-chart.is-vertical.is-linear .tour-tick,.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-axis>.tour-row-label{color:#77818e}
.tour-pane .tour-chart.is-vertical.is-linear .tour-tick:after{background:#c5cbd4}
.tour-drag-ghost.tour-linear-card-open{background:#f1f5ff;border-color:#bdceee;box-shadow:0 14px 40px #245bd626;color:#254b86}
.tour-drag-ghost .tour-row-copy b,.tour-drag-ghost .tour-row-copy [data-chart-time]{color:#254b86}.tour-drag-ghost .tour-row-copy small{color:#667892}.tour-drag-ghost.tour-visit-bar{background:#245bd6}
.tour-pane .tour-chart:not(.is-vertical) .tour-interval-shell:not(.has-shortage) .tour-interval-caption,.tour-pane .tour-chart:not(.is-vertical) .tour-interval-shell:not(.has-shortage) .tour-interval-caption strong,.tour-pane .tour-chart:not(.is-vertical) .tour-interval-shell:not(.has-shortage) .tour-interval-deadline>span,.tour-pane .tour-chart:not(.is-vertical) .tour-interval-part.is-free{color:#626a75}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-shell.has-shortage .tour-interval-deadline{background:#c88765}

/* A continuous allowance band contains the actual journey; free time stays a line. */
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-window{display:none}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-part.is-movement,
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-part.is-reserve{left:6px;width:22px;border:0;background:#e1e4e8;box-shadow:none;border-radius:0}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-part.is-movement{border-radius:3px 3px 0 0}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-part.is-reserve{border-radius:0 0 3px 3px}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-shell:not(:has(.is-reserve)) .tour-interval-part.is-movement{border-radius:3px}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-part.is-movement:before{content:"";position:absolute;left:7px;top:0;width:8px;height:100%;border:0;border-radius:2px;background:var(--tour-travel);pointer-events:none}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-part.is-free{left:16px;width:2px;border:0;border-radius:0;background:#d4d8de}
.tour-pane .tour-chart.is-vertical.is-linear .tour-interval-shell:not(.has-shortage) .tour-interval-deadline{display:none}
.tour-pane .tour-chart.is-vertical.is-linear .tour-chart-row.is-travel>.tour-row-label{border:0;background:transparent}
.tour-pane .tour-linear-leg-open.tour-travel-chip,
.tour-pane .tour-chart.is-vertical.is-linear .tour-linear-leg-open.tour-travel-chip:hover{background:transparent;border:0;border-radius:4px}
.tour-pane .tour-chart.is-vertical.is-linear .tour-linear-leg-open.tour-travel-chip:focus-visible{background:#edf0f3}
.tour-pane .tour-linear-connectors path.is-travel,
.tour-pane .tour-linear-connectors .tour-travel-node{display:none}
.tour-pane .tour-chart:not(.is-vertical) .tour-interval-window{border:0;box-shadow:none;background:#f0f2f4}
.tour-pane .tour-chart:not(.is-vertical) .tour-interval-part.is-movement{box-shadow:none}
.tour-pane .tour-chart:not(.is-vertical) .tour-interval-part.is-reserve{border:0;background:#e1e4e8}
.tour-pane .tour-legend span:nth-child(3):before{border:0;background:#e1e4e8}

/* Unified time surface. The flag keeps new markup paired with this stylesheet. */
.tour-pane{--tour-unified-layout:1}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-linear-backdrop:after,
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-linear-connectors,
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-event-span{display:none}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-tick{width:calc(var(--card-x) - 12px);font-size:11px;white-space:nowrap}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-tick:after{left:calc(100% + 6px);width:6px}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-lane-headings>span{left:var(--card-x);font-size:11px}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-chart-axis>.tour-row-label{font-size:11px;padding-right:12px}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-chart-row.is-visit>.tour-row-label{min-height:0;border:0;outline:0;border-radius:5px;background:transparent;overflow:hidden;pointer-events:none;z-index:6}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-visit-bar{left:var(--visit-left,var(--card-x));width:var(--visit-width,var(--card-width));border:0;background:var(--tour-visit-soft);border-radius:5px;box-shadow:inset 3px 0 var(--tour-visit);overflow:hidden;touch-action:none;z-index:4}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-visit-bar:before,
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-visit-bar:after{display:none}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-linear-card-open{width:calc(100% - 56px);height:100%;min-height:0;padding:5px 11px;display:flex;align-items:center;gap:0;background:transparent;border-radius:0;touch-action:none;pointer-events:auto;cursor:ns-resize}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-linear-card-open:hover{background:#245bd608}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-row-copy{display:flex;flex-direction:column;gap:2px;pointer-events:none}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-row-copy b{font-size:12px;line-height:16px;max-height:32px;margin:0;font-weight:600;-webkit-line-clamp:2}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-row-copy [data-chart-time]{font-size:11px;line-height:16px}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-row-copy .tour-linear-venue{display:block;font-size:11px;line-height:15px}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-card-footer{position:absolute;top:0;right:0;bottom:0;width:56px;height:100%;min-height:0;display:flex;flex-direction:column;justify-content:space-between;background:transparent;box-shadow:none;border:0;pointer-events:none}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-card-detail,
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-card-stay-edge{position:relative;display:flex;align-items:center;justify-content:center;width:56px;min-width:44px;height:44px;min-height:44px;padding:0 3px;flex:none;border:0;border-radius:0;background:transparent;font-size:11px;pointer-events:auto}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-card-detail{order:0;touch-action:pan-y}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-card-stay-edge{order:1;touch-action:none;cursor:ns-resize}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-resize{left:auto;right:0;bottom:0;top:auto;width:56px;height:44px;min-height:44px!important;border:0;background:transparent;touch-action:none;pointer-events:auto}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .is-short-visit .tour-resize{display:none}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .is-compact-face:not(.is-detached-control) .tour-linear-card-open{width:calc(100% - 88px);padding:2px 8px}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .is-compact-face:not(.is-detached-control) .tour-card-footer{width:88px;flex-direction:row;align-items:center}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .is-compact-face:not(.is-detached-control) .tour-card-footer button{width:44px;min-width:44px}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .is-compact-face:not(.is-detached-control) .tour-row-copy b{-webkit-line-clamp:1;max-height:16px;font-size:11px}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .is-compact-face:not(.is-detached-control) .tour-linear-venue{display:none}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-linear-warning{top:auto;bottom:0;right:58px;left:7px;max-width:none;padding:0 2px;font-size:11px;line-height:14px;white-space:nowrap;pointer-events:none}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-linear-warning[hidden]{display:none}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .is-warning:not(.is-detached-control) .tour-linear-venue,
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .has-incoming-shortage:not(.is-detached-control) .tour-linear-venue,
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .has-overlap:not(.is-detached-control) .tour-linear-venue{visibility:hidden}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-chart-row.is-travel>.tour-row-label{border:0;background:transparent;min-height:0;pointer-events:none;z-index:5;overflow:hidden}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-linear-leg-open.tour-travel-chip{height:100%;min-height:44px;padding:4px 54px 4px 10px;border:0;border-radius:4px;background:transparent;display:flex;flex-direction:column;justify-content:center;gap:2px;pointer-events:auto;touch-action:pan-y}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-linear-leg-open.tour-travel-chip:hover{background:#858b930d}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-linear-leg-title{display:flex;flex-wrap:wrap;gap:3px 10px;margin:0}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-linear-leg-title b,
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-linear-leg-numbers{font-size:11px;line-height:16px;font-weight:500}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-linear-leg-title>span:last-child{margin:0;font-size:11px}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-travel-status{font-size:11px;line-height:16px;white-space:normal;display:block}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-linear-leg-destination{display:none;margin:0;font-size:11px;line-height:16px}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-linear-leg-note{font-size:11px;line-height:15px}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-chip-detail{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:11px;line-height:16px;text-decoration:underline;text-underline-offset:3px}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-interval-shell{left:var(--card-x);width:var(--card-width);pointer-events:none;z-index:2;overflow:visible}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-interval-parts{width:100%;overflow:visible}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-interval-part.is-movement,
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-interval-part.is-reserve{left:0;width:100%;border:0;border-radius:0;background:#f0f2f5;box-shadow:none}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-interval-part.is-movement{background:#dce1e8;border-radius:4px 4px 0 0}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-interval-part.is-reserve{border-radius:0 0 4px 4px}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-interval-part.is-movement:before{display:none}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-interval-part.is-free{display:none}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-free-add{left:var(--card-x);width:var(--card-width);background:transparent;color:#6b7580;border:0;pointer-events:auto;padding:var(--free-label-inset,0px) 8px 0;display:flex;align-items:center;justify-content:flex-end}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-free-add>span{font-size:11px;line-height:16px}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-free-add>span:before{display:none}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-free-add.is-small-free>span{visibility:hidden}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-interval-excess{left:0;width:4px;background:#c88765;border-radius:0}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-interval-overlap{left:0;width:4px;background:#c88765}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-interval-shell.has-shortage .tour-interval-deadline{left:0;width:100%;z-index:8;background:#c88765}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-exception-heading{position:absolute;left:var(--card-x);right:8px;margin:0;padding:8px 0;font-size:12px;line-height:20px;color:#626a75;font-weight:500}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-exception-heading[hidden]{display:none}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .is-detached-control.is-visit>.tour-row-label{background:var(--tour-visit-soft);box-shadow:inset 3px 0 var(--tour-visit);border-radius:5px}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .is-detached-control.is-travel>.tour-row-label{background:#f0f2f5;border-radius:5px}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .is-detached-control .tour-linear-leg-destination{display:block}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .is-detached-control .tour-visit-bar{pointer-events:none}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .is-detached-control .tour-bar-text{display:block;overflow:hidden;font-size:11px;line-height:14px;color:#254b86;white-space:nowrap;padding:0 3px;max-height:100%}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-drag-source>.tour-linear-card{opacity:.65}
.tour-pane .tour-chart.is-vertical.is-linear.is-unified .tour-gap-bar{left:var(--card-x);width:var(--card-width);border:0;background:transparent;font-size:11px;color:#626a75}
