/* A travel archive alongside its current journey. */
[data-page=travel]{background:#f5f8f7}
[data-page=travel] .site-header{height:82px}
[data-page=travel] .travel-intro{padding:24px 0 26px;margin:0}
[data-page=travel] .travel-lead{display:flex;align-items:center;justify-content:space-between;gap:20px}
[data-page=travel] .travel-lead h1{font:30px/1.35 var(--serif);color:#233e37;letter-spacing:.03em;margin:0}
[data-page=travel] .travel-lead p{font:12px/1.7 var(--sans);color:#6d8078;margin:6px 0 0}
.travel-head-actions{display:flex;align-items:center;gap:12px}
.travel-head-actions .journey-create{min-height:38px;padding:8px 15px;font-size:12px;background:#2f6455;border-color:#2f6455}
.travel-head-actions .journey-admin{font-size:11px;color:#6d8078;text-decoration:underline;text-underline-offset:4px}
.journey-workspace{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:start;gap:24px;margin-bottom:48px;color:#233e37}
.journey-workspace .journey-library{position:sticky;top:24px;margin:0;padding:18px;background:#fff;border:1px solid #dce6e1;border-radius:8px;min-width:0;max-height:calc(100dvh - 48px);display:flex;flex-direction:column;scroll-margin-top:20px}
.journey-workspace .journey-library-heading{gap:8px;margin:0 0 14px;align-items:center}
.journey-workspace .journey-library-heading h2{font:600 15px/1.5 var(--sans);color:#233e37}
.journey-workspace .journey-count{font-size:10px;min-height:0;color:#7d8c85;white-space:nowrap}
.journey-workspace .journey-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;padding:0;background:none;border-radius:0}
.journey-workspace .journey-filter-place{grid-column:auto;min-width:0}
.journey-workspace .journey-filter-place label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.journey-workspace .journey-filters input,.journey-workspace .journey-filters select{height:38px;padding:8px 9px;font-size:12px;background:#fff;border-color:#d3e0d9}
.journey-filter-options,.journey-tools{position:relative}
.journey-filter-options>summary,.journey-tools>summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;font-size:11px;border:1px solid #d3e0d9;border-radius:5px;min-height:38px;padding:7px 10px;white-space:nowrap;background:#fff}
.journey-filter-options>summary::-webkit-details-marker,.journey-tools>summary::-webkit-details-marker{display:none}
.journey-filter-options>summary:after,.journey-tools>summary:after{content:'⌄';font-size:13px;color:#789084;line-height:1}
.journey-filter-options[open]>summary,.journey-tools[open]>summary{border-color:#2f6455;background:#edf4ef}
.journey-filter-active:empty{display:none}.journey-filter-active{font-size:9px;color:#fff;background:#2f6455;border-radius:50%;width:15px;height:15px;display:grid;place-items:center}
.journey-filter-fields{position:absolute;top:calc(100% + 8px);right:0;width:300px;max-width:calc(100vw - 48px);display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px;border:1px solid #d3e0d9;border-radius:7px;background:#fff;box-shadow:0 12px 32px #233e371a;z-index:8}
.journey-filter-fields>div:nth-child(3),.journey-filter-fields>.journey-undated,.journey-filter-fields>.journey-date-note,.journey-filter-fields>.journey-clear{grid-column:1/-1}
.journey-workspace .journey-filter-fields label{font-size:11px;color:#647b6f;margin-bottom:5px}
.journey-workspace .journey-filter-fields .journey-undated{display:flex;align-items:center;gap:7px;margin:0;font-size:11px}
.journey-workspace .journey-undated input{height:15px;width:15px;accent-color:#2f6455}
.journey-date-note{font-size:10px;line-height:1.7;color:#829087}
.journey-workspace .journey-clear{min-height:32px;font-size:11px;padding:6px 10px;background:#f5f8f7;border-color:#dce6e1}
.journey-workspace .journey-list{display:flex;flex-direction:column;gap:5px;margin-top:14px;max-height:calc(100dvh - 188px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c5d5cc transparent;min-height:0}
.journey-workspace .journey-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;border:1px solid transparent;border-left:3px solid transparent;border-radius:5px;padding:11px 9px;min-height:108px;flex-shrink:0}
.journey-workspace .journey-entry:before{content:none}
.journey-workspace .journey-entry:hover{background:#f5f8f7}
.journey-workspace .journey-entry[aria-pressed=true]{background:#edf4ef;border-color:#d9e7dd;border-left-color:#2f6455}
.journey-workspace .journey-entry time{font-size:10px;color:#778b7e}
.journey-workspace .journey-entry strong{font:18px/1.45 var(--serif);color:#233e37;margin:4px 0}
.journey-workspace .journey-entry small{font-size:10px;color:#7a8b80;line-height:1.75;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.journey-workspace .journey-open{font-size:9px;color:#658372}
.journey-workspace .journey-selected-label{font-size:10px;line-height:1.7;margin-top:10px;color:#788a7e}
.journey-selected-label:empty{display:none}
.journey-workspace .journey-empty{font-size:12px;line-height:1.8;padding:18px 6px}
.journey-main{min-width:0;scroll-margin-top:20px}
.journey-workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;scroll-margin-top:20px}
.journey-caption{min-width:0}
.journey-caption .map-badge{font:9px var(--sans);color:#8c8c70;border:0;background:none;padding:0;margin:0 0 4px;letter-spacing:.05em}
.journey-caption h2{font:25px/1.4 var(--serif);color:#233e37;overflow-wrap:anywhere}
.journey-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin-top:5px;font-size:10px;color:#738579}
.journey-meta #map-dates{font:10px/1.7 var(--sans);color:#738579;margin:0}
.journey-meta strong,.journey-meta small{font:inherit;color:inherit}
.journey-toolbar{display:flex;align-items:center;gap:8px;flex-shrink:0}
.journey-view-switch{display:flex;background:#e9f0ec;border:1px solid #d7e3dc;border-radius:6px;padding:3px;gap:2px}
.journey-view-switch button{font-size:11px;min-height:31px;padding:6px 11px;color:#6a8375;border-radius:4px;white-space:nowrap}
.journey-view-switch [aria-selected=true]{background:#fff;color:#233e37;box-shadow:0 1px 3px #233e3710}
.journey-tools>summary{min-height:39px}
.journey-tool-menu{position:absolute;right:0;top:calc(100% + 8px);width:174px;padding:5px;background:#fff;border:1px solid #d3e0d9;border-radius:7px;box-shadow:0 12px 32px #233e371a;z-index:8}
.journey-tool-menu button{display:block;text-align:left;width:100%;padding:10px;font-size:12px;min-height:37px;border-radius:3px}
.journey-tool-menu button:hover{background:#edf4ef}
.journey-workspace .travel-status{font-size:11px;line-height:1.8;margin:0 0 12px;padding:8px 12px;min-height:0;color:#2f6455;background:#eaf3ec;border-radius:5px}
.journey-workspace .travel-status:empty{display:none}
.journey-workspace .travel-status.error{color:#a13226;background:#fff0ed}
.journey-workspace-empty{padding:70px 30px;border:1px solid #dce6e1;border-radius:8px;background:#fff;min-height:330px;text-align:center}
.journey-workspace-empty h2{font:24px var(--serif);margin-bottom:12px}.journey-workspace-empty p{font-size:12px;color:#7a8b80;line-height:1.8}
.journey-workspace .travel-scroll{height:auto;margin:0}
.journey-workspace .travel-stage{position:relative;top:0;border-radius:8px;overflow:hidden;border:1px solid #d3e0d9}
.journey-workspace .globe-wrap{height:clamp(330px,46vh,520px);min-height:330px}
.journey-workspace .globe-modes{top:14px;left:16px;gap:4px}
.journey-workspace .globe-modes button{padding:6px 10px;min-height:30px;border-radius:5px;font-size:10px}
.journey-workspace .map-tools{top:14px;right:14px}
.journey-workspace .map-stop{bottom:28px;left:16px;font-size:11px;padding:7px 10px;max-width:calc(100% - 32px)}
.journey-workspace .travel-player{padding:12px 14px;gap:10px;background:#fff;border-top-color:#d3e0d9}
.journey-workspace .travel-player button{font-size:11px;min-height:32px;padding:6px 9px}
.journey-workspace #travel-progress{min-width:80px;width:80px;flex:1}
.journey-workspace .travel-player output{font-size:10px;min-width:25px}
.journey-workspace #travel-speed{font-size:10px;padding:6px 5px;min-height:30px}
.journey-workspace .arrival-duration{font-size:10px;gap:4px}.journey-workspace .arrival-duration input{width:44px;font-size:11px}
.journey-workspace .travel-scroll-hint{font-size:10px;padding:0 14px 10px;background:#fff;color:#839487}
.journey-workspace .stop-memory{padding:12px 14px;gap:12px;min-height:86px;background:#f6f9f7;border-top-color:#dce6e1}
.journey-workspace .memory-title{font-size:18px}.journey-workspace .memory-description{font-size:11px;max-height:42px;line-height:1.75}
.journey-workspace .memory-photos{max-width:30%}.journey-workspace .memory-photos img{width:70px;height:60px}
.journey-workspace .memory-controls button{font-size:20px;width:28px;height:30px}
.journey-workspace .arrival-memory{right:16px;width:270px}.journey-workspace .arrival-photos img{height:100px}
.journey-workspace .arrival-copy{padding:12px 16px}.journey-workspace .arrival-title{font-size:22px;margin:4px 0 7px}.journey-workspace .arrival-footer{padding:9px 16px}
.journey-workspace .travel-editor.globe-editor{display:block;margin:0;padding:22px;border:1px solid #dce6e1;border-radius:8px;background:#fff}
.journey-workspace .trip-settings{position:static}
.journey-workspace .trip-settings h2{font:20px/1.4 var(--serif);color:#233e37;margin:0 0 5px}
.journey-workspace .trip-settings p{font-size:11px;line-height:1.8;color:#788a7e;margin:0 0 16px}
.trip-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px 16px}
.journey-workspace .travel-editor label{font-size:11px;color:#647b6f;margin:0 0 6px}
.journey-workspace .travel-editor input,.journey-workspace .travel-editor select,.journey-workspace .travel-editor textarea{background:#fff;border-color:#d3e0d9;font-size:12px}
.journey-workspace .travel-editor input,.journey-workspace .travel-editor select{min-height:38px}
.journey-workspace .itinerary-editor{margin-top:26px;padding-top:22px;border-top:1px solid #e2e9e4}
.journey-workspace .itinerary-editor>h2{font:20px var(--serif);color:#233e37}
.journey-workspace .itinerary-editor>p{font-size:11px;color:#788a7e;line-height:1.8;margin:7px 0 12px}
.journey-workspace .stop-list .itinerary-stop{margin-bottom:17px}
.journey-workspace .stop-heading{padding:9px 0}.journey-workspace .stop-heading .jump-stop{font-size:18px}
.journey-workspace .stop-number{background:#e9f0ec;color:#577767;font-size:10px}
.journey-workspace .stop-details{border:1px solid #e0e8e2;background:#f5f8f7;border-radius:5px;padding:11px 13px}
.journey-workspace .stop-details label{margin-top:12px}
.journey-workspace .leg-editor{margin:12px 0 0 13px;padding:0 0 3px 22px;border-color:#c1d1c5}
.journey-workspace .leg-editor label{margin-top:8px}
.journey-editor-footer{position:sticky;bottom:0;display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:13px 22px;margin:22px -22px -22px;background:#fffffff5;backdrop-filter:blur(8px);border-top:1px solid #dce6e1;border-radius:0 0 8px 8px;z-index:3}
.journey-editor-footer>span{font-size:10px;color:#788a7e;margin-right:auto}
.journey-editor-footer button{font-size:11px;min-height:35px;padding:7px 11px;border:1px solid #d3e0d9;border-radius:4px;white-space:nowrap}
.journey-editor-footer .save-route{background:#2f6455;border-color:#2f6455;color:#fff}
.journey-editor-footer .journey-delete{margin:0;color:#9a5549;border-color:transparent;text-decoration:none}
.journey-workspace button:focus-visible,.journey-workspace summary:focus-visible,.journey-workspace input:focus-visible,.journey-workspace select:focus-visible,.journey-workspace textarea:focus-visible{outline:2px solid #2f6455;outline-offset:3px}
.journey-workspace button:disabled{opacity:.45;cursor:default}
@media(max-width:1100px){.journey-workspace{grid-template-columns:238px minmax(0,1fr);gap:20px}.journey-workspace-heading{align-items:start;flex-wrap:wrap}.journey-toolbar{width:100%;justify-content:space-between}}
@media(max-width:1000px){
 .journey-workspace{grid-template-columns:minmax(0,1fr);gap:20px}
 .journey-workspace .journey-library{position:static;padding:0 0 16px;border:0;border-bottom:1px solid #dce6e1;border-radius:0;background:none;max-height:none}
 .journey-workspace .journey-library-heading{margin-bottom:10px}
 .journey-workspace .journey-list{flex-direction:row;gap:9px;max-height:none;overflow-x:auto;overflow-y:hidden;padding-bottom:5px;scroll-snap-type:x proximity}
 .journey-workspace .journey-entry{flex:0 0 224px;min-height:104px;scroll-snap-align:start;background:#fff;border-color:#e0e8e2;grid-template-columns:1fr}
 .journey-workspace .journey-entry strong{font-size:17px}.journey-workspace .journey-open{display:none}
 .journey-workspace .journey-entry small{-webkit-line-clamp:1}
 .journey-workspace-heading{flex-wrap:nowrap;align-items:center}.journey-toolbar{width:auto}
}
@media(max-width:600px){
 [data-page=travel] .site-header{height:72px}[data-page=travel] .site-nav{top:72px}
 [data-page=travel] .travel-intro{padding:20px 0}
 [data-page=travel] .travel-lead{gap:10px;align-items:center}
 [data-page=travel] .travel-lead h1{font-size:25px}
 [data-page=travel] .travel-lead p{font-size:11px;max-width:190px;margin-top:4px}
 .travel-head-actions .journey-create{font-size:11px;min-height:36px;padding:7px 10px}
 .travel-head-actions .journey-admin{font-size:10px;white-space:nowrap}
 .journey-workspace{gap:17px;margin-bottom:30px}
 .journey-workspace .journey-library-heading h2{font-size:13px}
 .journey-workspace .journey-entry{flex-basis:195px;min-height:98px;padding:9px 12px}
 .journey-workspace .journey-list{margin-top:11px}.journey-workspace .journey-library{padding-bottom:12px}
 .journey-workspace-heading{flex-wrap:wrap;gap:10px;margin-bottom:12px}
 .journey-caption{width:100%}.journey-caption .map-badge{font-size:8px;margin-bottom:2px}.journey-caption h2{font-size:22px}
 .journey-meta{gap:2px 9px;margin-top:3px}.journey-toolbar{width:100%;justify-content:space-between}
 .journey-view-switch{flex:1;max-width:250px}.journey-view-switch button{flex:1;padding:6px 8px}
 .journey-workspace .globe-wrap{height:44svh;min-height:330px;max-height:440px}
 .journey-workspace .globe-modes{left:11px;top:11px}.journey-workspace .globe-modes button{font-size:9px;padding:5px 8px;min-height:28px}
 .journey-workspace .map-tools{right:10px;top:11px}
 .journey-workspace .map-stop{left:11px;bottom:25px;font-size:10px;max-width:calc(100% - 22px)}
 .journey-workspace .travel-player{gap:8px;padding:11px}
 .journey-workspace .travel-player button{padding:6px 8px;font-size:10px}
 .journey-workspace #travel-progress{min-width:60px;width:60px}
 .journey-workspace .stop-memory{gap:9px;padding:11px;min-height:91px}
 .journey-workspace .memory-title{font-size:17px}.journey-workspace .memory-photos{max-width:27%}.journey-workspace .memory-photos img{width:61px;height:61px}
 .journey-workspace .memory-controls button{font-size:18px;width:25px;height:26px}
 .journey-workspace .arrival-memory{left:11px;right:11px;width:auto}.journey-workspace .arrival-photos img{height:0;max-height:124px}
 .journey-workspace .arrival-copy{padding:10px 12px}.journey-workspace .arrival-title{font-size:19px}.journey-workspace .arrival-footer{padding:8px 12px}
 .journey-workspace .travel-editor.globe-editor{padding:16px}
 .trip-fields{gap:12px}.journey-workspace .trip-settings h2,.journey-workspace .itinerary-editor>h2{font-size:18px}
 .journey-workspace .stop-heading .jump-stop{font-size:17px}.journey-workspace .stop-details{padding:10px}
 .journey-editor-footer{margin:20px -16px -16px;padding:12px 16px;gap:7px}
 .journey-editor-footer>span{width:100%;margin:0}.journey-editor-footer button{font-size:10px;padding:7px 9px}
}

.journey-workspace .journey-entry time{display:block;line-height:1.4}
.journey-caption .map-badge{display:block;width:max-content;line-height:1.4}

/* A fixed corner clock on a readable stopover postcard. */
.journey-workspace .arrival-memory{display:flex;flex-direction:column;overflow:hidden;max-height:calc(100% - 28px);border-color:#cbbd9c;transition:border-color .16s,box-shadow .16s}
.journey-workspace .arrival-body{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c3d1c6 transparent}
.journey-workspace .arrival-footer{flex-shrink:0;min-height:43px;gap:9px;background:#fffdf7}
.journey-workspace .arrival-countdown{position:absolute;z-index:2;right:10px;top:10px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#fffdf7f5;box-shadow:0 2px 8px #233e371a;color:#233e37;font-weight:600;pointer-events:none}
.arrival-countdown svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke-width:3}
.arrival-ring-track{stroke:#dbe6df}.arrival-ring-progress{stroke:#2f6455;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:0;transform:rotate(-90deg);transform-origin:22px 22px}
.arrival-seconds{font:600 15px/1 var(--sans);font-variant-numeric:tabular-nums}
.arrival-inspect-hint{font:10px/1.7 var(--sans);color:#788a7e}
.journey-workspace .arrival-memory.stopover-inspecting{border-color:#2f6455;box-shadow:0 0 0 1px #2f645530,0 12px 32px #304f4330}
.stopover-inspecting .arrival-inspect-hint{color:#2f6455}
.journey-workspace .arrival-memory:not(.has-photos) .arrival-date,.journey-workspace .arrival-memory:not(.has-photos) .arrival-title{padding-right:44px}
.journey-workspace .arrival-memory:focus-visible{outline:2px solid #2f6455;outline-offset:-2px}
.journey-workspace .arrival-photos img:focus-visible{outline:2px solid #2f6455;outline-offset:-2px}
@media(max-width:700px){
 .journey-workspace .arrival-memory{display:flex;max-height:min(230px,calc(100% - 160px))}
 .journey-workspace .arrival-body{display:grid;grid-template-columns:88px minmax(0,1fr)}
 .journey-workspace .arrival-memory:not(.has-photos) .arrival-body{grid-template-columns:minmax(0,1fr)}
 .journey-workspace .arrival-copy{max-height:none;overflow:visible;min-width:0}
 .journey-workspace .arrival-photos{grid-column:1;grid-row:1}.journey-workspace .arrival-photos img{width:80px}
 .journey-workspace .arrival-countdown{width:38px;height:38px;right:8px;top:8px}
 .journey-workspace .arrival-seconds{font-size:14px}
 .journey-workspace .arrival-date,.journey-workspace .arrival-title{padding-right:40px}
 .journey-workspace .arrival-description{max-height:80px}
 .journey-workspace .arrival-footer{grid-column:auto;min-height:39px}
}
@media(prefers-reduced-motion:reduce){.journey-workspace .arrival-memory{transition:none}}
.motion-off .arrival-memory{transition:none}

/* A small model selector, never a second map toolbar. */
.vehicle-model-control{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:0 14px 10px;background:#fff;color:#647b6f;font-size:10px}
.vehicle-model-control label{white-space:nowrap;margin-left:10px}.vehicle-model-control select{font:11px var(--sans);border:1px solid #d3e0d9;border-radius:4px;background:#fff;color:#233e37;min-height:32px;padding:5px 26px 5px 8px}
.vehicle-model-current{min-width:64px;color:#233e37}.vehicle-model-swatch{width:42px;height:24px;color:#a7b0b8}.vehicle-model-swatch svg{display:block;width:100%;height:100%;fill:currentColor}
.vehicle-model-swatch path{display:none}.vehicle-model-swatch[data-model=yu7] .model-suv,.vehicle-model-swatch[data-model=yu7-detailed] .model-suv,.vehicle-model-swatch[data-model=su7] .model-sedan,.vehicle-model-swatch[data-model=offroad] .model-offroad{display:block}
.vehicle-model-swatch[data-model=su7]{color:#579ebc}.vehicle-model-swatch[data-model=offroad]{color:#c6a56e}.vehicle-model-swatch .model-glass{display:block;fill:#183039}.vehicle-model-swatch circle{fill:#23353b;stroke:#b9c6c8;stroke-width:1}
.vehicle-model-swatch[data-model='']{display:none}#vehicle-preview-note{font-size:10px;color:#839487}
.journey-workspace .leg-car-model{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px 16px;max-width:100%;margin-top:4px}.journey-workspace .leg-car-model[hidden]{display:none}.journey-workspace .leg-car-model select{width:100%}
@media(max-width:600px){.vehicle-model-control{padding:0 11px 9px;gap:6px}.vehicle-model-control label{margin-left:2px}.vehicle-model-control select{min-height:30px;font-size:10px}.vehicle-model-current{min-width:57px}#vehicle-preview-note{width:100%;padding-left:0;font-size:9px}}

.vehicle-picker{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.vehicle-model-control .vehicle-picker label{margin:0}.vehicle-model-control .vehicle-picker{margin-left:8px}@media(max-width:600px){.vehicle-model-control .vehicle-picker{margin-left:0}.vehicle-model-control{column-gap:8px;row-gap:7px}.vehicle-model-swatch{width:34px}.vehicle-model-control select{padding-right:22px}}
