/* Editor presentation only. Camera, playback and export rendering stay in app.js. */
body.editor-refined:not(.landing-active) #editorSidebar{
  --editor-ink:#243a32; --editor-muted:#748079; --editor-green:#278564;
  --editor-line:#edf0ed;--editor-field-line:#dce4de;--editor-soft:#f4f8f5;
  --editor-font:"DM Sans",system-ui,sans-serif;
  background:#fff!important; color:var(--editor-ink); border-radius:0!important;
  font-family:var(--editor-font)!important;
}

/* One visual language across GPX, Zoom-in and Travel. Animation is the
   reference: compact type, flat groups, quiet separators and consistent fields. */
body.editor-refined:not(.landing-active) #editorSidebar :is(button,input,select,textarea,label,strong,small,output){
  font-family:var(--editor-font)!important;letter-spacing:0!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(.zoom-editor-section-name,.gpx-editor-section-name){
  font-family:var(--editor-font)!important;font-size:13px!important;font-weight:600!important;line-height:1.3!important;color:var(--editor-ink)!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(
  .zoom-editor-section-summary,.gpx-editor-section-summary,.zoom-editor-note,.editor-value-field,.editor-value-input,.toggle-label
){font-family:var(--editor-font)!important}
body.editor-refined:not(.landing-active) #editorSidebar :is(
  .zoom-setting-card,.gpx-source-card,.gpx-camera-card,.gpx-look-card,.travel-setting-card
){
  overflow:visible!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(
  .zoom-setting-card-header,.gpx-source-card-header,.gpx-camera-card-header,.gpx-look-card-header,.travel-setting-card-header
){
  min-height:0!important;padding:14px 0 8px!important;gap:8px!important;background:none!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(
  .zoom-setting-card-badge,.gpx-source-card-badge,.gpx-camera-card-badge,.gpx-look-card-badge,.travel-setting-card-badge
){display:none!important}
body.editor-refined:not(.landing-active) #editorSidebar :is(
  .zoom-setting-card-title,.gpx-source-card-title,.gpx-camera-card-title,.gpx-look-card-title,.travel-setting-card-title
) strong{
  color:var(--editor-ink)!important;font-size:12px!important;font-weight:600!important;line-height:1.4!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(
  .zoom-setting-card-title,.gpx-source-card-title,.gpx-camera-card-title,.gpx-look-card-title,.travel-setting-card-title
) small{
  margin-top:2px!important;color:var(--editor-muted)!important;font-size:10px!important;font-weight:400!important;line-height:1.4!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(
  .zoom-setting-card-body,.gpx-source-card-body,.gpx-camera-card-body,.gpx-look-card-body,.travel-setting-card-body
){
  gap:10px!important;padding:0 0 14px!important;border:0!important;border-bottom:1px solid var(--editor-line)!important;background:none!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(
  .zoom-setting-cards,.gpx-source-cards,.gpx-camera-cards,.gpx-look-cards,.travel-setting-cards
){gap:0!important;padding-top:0!important;padding-bottom:0!important}
body.editor-refined:not(.landing-active) #editorSidebar :is(
  .zoom-editor-label,.search-label,.toggle-label,.camera-row label,.zoom-camera-row label,.editor-value-label
){
  color:#52655b!important;font-size:11px!important;font-weight:400!important;line-height:1.4!important;text-transform:none!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(.search-input,.travel-input,.travel-select,.editor-value-input,input[type=number],select){
  min-height:34px!important;border:1px solid var(--editor-field-line)!important;border-radius:6px!important;
  background-color:#fff!important;color:var(--editor-ink)!important;font-size:12px!important;font-weight:400!important;line-height:1.4!important;box-shadow:none!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(.search-input-wrap,.destination-search-field){border-radius:6px!important}
body.editor-refined:not(.landing-active) #editorSidebar :is(.zoom-editor-note,.gpx-find-source-copy,.travel-timing-help,.camera-slider-caption,.zoom-camera-row small){
  color:var(--editor-muted)!important;font-size:10px!important;font-weight:400!important;line-height:1.45!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(.guide-primary,.secondary-primary){
  min-height:38px!important;border-radius:6px!important;font-size:12px!important;font-weight:600!important;line-height:1.3!important;box-shadow:none!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(.gpx-source-switch,.zoom-segmented,.marker-choice){
  gap:6px!important;padding:0!important;background:none!important;border:0!important;border-radius:0!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(.gpx-source-switch-btn,.zoom-segment-btn,.marker-choice-btn){
  min-height:36px!important;padding:8px 6px!important;border:1px solid #dde5df!important;border-radius:7px!important;
  background:#fff!important;color:#52655b!important;font-size:12px!important;font-weight:500!important;line-height:1.25!important;box-shadow:none!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(.gpx-source-switch-btn.active,.zoom-segment-btn.active,.marker-choice-btn.active){
  background:#eaf5ee!important;border-color:#a6cfb9!important;color:#217858!important;font-weight:600!important;
}
body.editor-refined:not(.landing-active) #editorSidebar .toggle-btn{font-family:var(--editor-font)!important}
body.editor-refined:not(.landing-active) #editorSidebar input[type=range]{accent-color:var(--editor-green)!important}
body.editor-refined:not(.landing-active) #editorSidebar #uploadSection .upload-drop{
  min-height:112px!important;padding:14px 12px!important;border:1px dashed #cad8ce!important;border-radius:7px!important;background:#fff!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #uploadSection .upload-title{
  color:var(--editor-ink)!important;font-size:12px!important;font-weight:600!important;line-height:1.4!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #uploadSection .upload-copy{
  color:var(--editor-muted)!important;font-size:10px!important;line-height:1.4!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #uploadSection .gpx-source-file-action{
  min-height:32px!important;padding:7px 10px!important;border:1px solid #a6cfb9!important;border-radius:6px!important;
  background:#eaf5ee!important;color:#217858!important;font-size:11px!important;font-weight:600!important;
}
@media(max-width:900px){
  body.editor-refined:not(.landing-active) #editorSidebar :is(.search-input,.travel-input,.travel-select,input[type=number],select){
    min-height:44px!important;font-size:16px!important;
  }
  body.editor-refined:not(.landing-active) #editorSidebar :is(.guide-primary,.secondary-primary,.gpx-source-switch-btn,.zoom-segment-btn,.marker-choice-btn){min-height:44px!important}
}

/* Travel uses Animation's compact, flat visual language in every section.
   Explicit tokens prevent the older Route theme from reintroducing Inter. */
body.editor-refined:not(.landing-active) #editorSidebar #travelSection{
  --travel-ui-font:"DM Sans",system-ui,sans-serif;
  --travel-ui-title:12px;--travel-ui-label:11px;--travel-ui-control:12px;
  --travel-ui-ink:#243a32;--travel-ui-muted:#748079;--travel-ui-line:#edf0ed;
  font-family:var(--travel-ui-font)!important;color:var(--travel-ui-ink)!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #travelSection :is(button,input,select,label,strong,small,output){
  font-family:var(--travel-ui-font)!important;letter-spacing:0!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #travelSection :is(.travel-setting-card-title strong,.travel-timing-row strong){
  font-size:var(--travel-ui-title)!important;font-weight:600!important;line-height:1.4!important;color:var(--travel-ui-ink)!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #travelSection :is(.zoom-editor-label,.travel-vehicle-inline label,.travel-vehicle-inline output,.travel-timing-value){
  font-size:var(--travel-ui-label)!important;font-weight:400!important;line-height:1.4!important;color:var(--travel-ui-muted)!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #travelSection .travel-timing-row small{
  font-size:10px!important;font-weight:400!important;line-height:1.4!important;color:var(--travel-ui-muted)!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #travelSection :is(.travel-input,.travel-select,.travel-timing-value input){
  min-height:34px!important;font-size:var(--travel-ui-control)!important;font-weight:400!important;line-height:1.4!important;
  color:var(--travel-ui-ink)!important;border:1px solid #dce4de!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #travelSection :is(.travel-input,.travel-select,.travel-timing-value input,button):focus-visible{
  outline:2px solid #278564!important;outline-offset:2px!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #travelSection :is(.editor-choice-button,#addTravelStopBtn,#buildTravelRouteBtn){
  font-size:var(--travel-ui-control)!important;line-height:1.4!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #travelSection #travelStylePanel .editor-flat-card{
  padding:14px 0 0!important;border-bottom:1px solid var(--travel-ui-line)!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #travelSection :is(#travelStopsCard,#travelStylePanel) .editor-flat-header{
  padding:0 0 8px!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #travelSection :is(#travelStopsCard,#travelStylePanel) .editor-flat-body{
  padding:0 0 14px!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #travelSection #travelStopsCard .travel-stop-list{gap:0!important}
body.editor-refined:not(.landing-active) #editorSidebar #travelSection .travel-stop-card.travel-builder-stop{
  grid-template-columns:26px minmax(0,1fr) 30px!important;gap:8px!important;padding:12px 0!important;
  background:transparent!important;border:0!important;border-bottom:1px solid var(--travel-ui-line)!important;border-radius:0!important;box-shadow:none!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #travelSection .travel-builder-stop-index{
  width:26px!important;height:26px!important;font:600 11px/1 var(--travel-ui-font)!important;
  border:1px solid #dce4de!important;border-radius:50%!important;background:#f4f8f5!important;color:#278564!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #travelSection .travel-builder-transport-card{
  width:100%!important;min-width:0!important;box-sizing:border-box!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:8px 0!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #travelSection .travel-builder-transport-card .travel-select-wrap{
  flex:1!important;width:100%!important;min-width:0!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #travelSection .travel-select{
  width:100%!important;padding:6px 28px 6px 10px!important;text-align:left!important;text-align-last:left!important;
  background-image:linear-gradient(45deg,transparent 50%,#748079 50%),linear-gradient(135deg,#748079 50%,transparent 50%)!important;
  background-position:calc(100% - 14px) 50%,calc(100% - 9px) 50%!important;background-size:5px 5px!important;background-repeat:no-repeat!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #travelSection .travel-stop-remove{
  width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;
  border:1px solid #dce4de!important;border-radius:6px!important;background:#fff!important;color:var(--travel-ui-muted)!important;font-size:18px!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #travelSection #addTravelStopBtn{
  margin-top:12px!important;min-height:36px!important;border:1px solid #dce4de!important;border-radius:6px!important;
  background:#fff!important;color:#278564!important;font-weight:500!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #travelSection #buildTravelRouteBtn{
  min-height:38px!important;border-radius:6px!important;font-weight:600!important;
}
@media(max-width:900px){
  body.editor-refined:not(.landing-active) #editorSidebar #travelSection :is(.travel-input,.travel-select,.travel-timing-value input){
    min-height:44px!important;font-size:16px!important;
  }
  body.editor-refined:not(.landing-active) #editorSidebar #travelSection .travel-stop-card.travel-builder-stop{grid-template-columns:26px minmax(0,1fr) 44px!important}
  body.editor-refined:not(.landing-active) #editorSidebar #travelSection .travel-stop-remove{width:44px!important;height:44px!important;min-height:44px!important}
  body.editor-refined:not(.landing-active) #editorSidebar #travelSection :is(#addTravelStopBtn,#buildTravelRouteBtn){min-height:44px!important}
}
body.editor-refined:not(.landing-active) #editorSidebar .editor-title{
  margin:0; padding:18px 16px 4px; font-size:20px; letter-spacing:-.5px;
  font-weight:650; color:var(--editor-ink);
}
/* Retain the original nodes for internal preset state, but remove the picker
   and its spacing from every editor on desktop and mobile. */
body.editor-refined #editorSidebar :is(#zoomEditorPresetBar,#gpxEditorPresetBar,#travelEditorPresetBar){
  display:none!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(.zoom-editor-section-header,.gpx-editor-section-header){
  min-height:62px!important; padding:14px!important; gap:10px!important;
  background:transparent!important; border-bottom:1px solid #edf0ed!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(.zoom-editor-section-name,.gpx-editor-section-name){
  font-size:13px!important; color:var(--editor-ink)!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(.zoom-editor-section-summary,.gpx-editor-section-summary){
  font-size:10px!important; font-weight:400!important; color:var(--editor-muted)!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(.zoom-editor-section-icon,.gpx-editor-section-icon){
  width:20px!important; height:20px!important; flex:0 0 20px!important; color:#4e665a!important;
}
.editor-section-icon{width:19px;height:19px;display:block;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
body.editor-refined:not(.landing-active) #editorSidebar svg.editor-section-icon{display:block!important}
body.editor-refined:not(.landing-active) #editorSidebar .editor-flat-card{
  border:0!important; border-radius:0!important; background:none!important; box-shadow:none!important;
  overflow:visible!important;
}
body.editor-refined:not(.landing-active) #editorSidebar .editor-flat-header{
  padding:10px 0 6px!important; min-height:0!important; border:0!important;
  background:none!important;
}
body.editor-refined:not(.landing-active) #editorSidebar .editor-flat-header small{display:none!important}
body.editor-refined:not(.landing-active) #editorSidebar .editor-flat-header strong{font-size:12px!important;font-weight:600!important}
body.editor-refined:not(.landing-active) #editorSidebar .editor-flat-body{
  padding:6px 0 12px!important; border:0!important; background:none!important;
}
body.editor-refined:not(.landing-active) #editorSidebar .editor-flat-badge{display:none!important}
body.editor-refined:not(.landing-active) #editorSidebar :is(#zoomDestinationCard,#zoomKeyframeCard,#gpxCameraFramingCard) > .editor-flat-header{display:none!important}
body.editor-refined:not(.landing-active) #editorSidebar :is(.zoom-setting-cards,.travel-setting-cards,.gpx-camera-cards,.gpx-look-cards,.gpx-source-cards){gap:4px!important}
body.editor-refined:not(.landing-active) #editorSidebar :is(.zoom-format-frame,.camera-format-frame,.travel-format-frame){display:none!important}
body.editor-refined:not(.landing-active) #editorSidebar :is(.zoom-format-card-btn,.camera-format-btn,.travel-format-card-btn){
  min-height:34px!important; padding:7px!important; border-radius:6px!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(.zoom-keyframe-switch){gap:10px!important}
body.editor-refined:not(.landing-active) #editorSidebar .zoom-keyframe-btn{
  display:flex!important; flex-direction:column; gap:6px; padding:5px 5px 8px!important;
  height:auto!important; min-height:82px!important;
  background:#f6f8f6!important; border:1px solid #e0e7e2!important; border-radius:8px!important;
  font-size:12px!important; min-width:0;
}
body.editor-refined:not(.landing-active) #editorSidebar .zoom-keyframe-btn.active{
  border-color:var(--editor-green)!important; box-shadow:0 0 0 1px var(--editor-green)!important;
  color:var(--editor-green)!important; background:#fff!important;
}
.editor-frame-thumb{width:100%;height:62px;border-radius:4px;object-fit:cover;display:block;background:#e6ede7}
body.editor-refined:not(.landing-active) #editorSidebar #zoomKeyframeNote{
  font-size:11px!important; color:#677b70!important; margin:12px 0 3px!important;
}
body.editor-refined:not(.landing-active) #editorSidebar .editor-value-label{
  display:flex!important; align-items:center!important; justify-content:space-between!important;
  font-family:inherit!important; font-size:12px!important; font-weight:500!important; letter-spacing:0!important;
}
body.editor-refined:not(.landing-active) #editorSidebar .editor-value-label > span{display:none!important}
body.editor-refined:not(.landing-active) #editorSidebar .editor-value-label > .editor-value-field{display:inline-flex!important;align-items:center;gap:4px}
/* GPX's legacy framing selectors include two IDs; suppress their duplicate
   value labels without hiding the new editable field. */
body.editor-refined:not(.landing-active) #editorSidebar #gpxCameraFramingCard .editor-value-label > span:not(.editor-value-field){display:none!important}
body.editor-refined:not(.landing-active) #editorSidebar #gpxCameraFramingCard .editor-value-label > .editor-value-field{display:inline-flex!important;align-items:center;gap:4px}
.editor-value-unit{color:#748079;font-size:11px!important;min-width:8px}
body.editor-refined:not(.landing-active) #editorSidebar .editor-value-input{
  width:68px!important; height:30px!important; min-height:0!important; padding:4px 6px!important;
  text-align:right!important; border:1px solid #dce4de!important; border-radius:5px!important;
  background:#fff!important; color:#243a32!important; font-size:12px;line-height:1.3;font-weight:500;
  font-family:inherit!important; box-shadow:none!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(input,button,select):focus-visible{
  outline:2px solid #278564!important; outline-offset:3px;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(.camera-slider-caption,.zoom-camera-row > small){
  font-size:10px!important; color:#7d8982!important; font-family:inherit!important;
}
.editor-reset{border:0;background:none;color:#657c6e;font:inherit;font-size:11px;padding:8px 0;cursor:pointer;text-align:left}
.editor-export-actions{display:grid;grid-template-columns:1fr 1.1fr;gap:8px;width:100%}
body.editor-refined:not(.landing-active) #editorSidebar .editor-export-actions > button{
  margin:0!important; padding:9px 5px!important; min-height:42px!important; font-size:11px!important; border-radius:6px!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(#zoomDownloadPanel,#travelDownloadPanel,#exportPanel){
  padding:12px 14px!important; border-top:1px solid #e1e8e2!important; gap:8px!important;
  background:#fff!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(#zoomDownloadPanel,#travelDownloadPanel,#exportPanel) .editor-quality-card{
  display:block!important;width:100%!important;margin:0!important;padding:10px!important;
  border:1px solid #e1e8e2!important;border-radius:9px!important;background:#f8faf8!important;
}
body.editor-refined:not(.landing-active) #editorSidebar .editor-quality-header{
  display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px;
}
body.editor-refined:not(.landing-active) #editorSidebar .editor-quality-label{
  display:block!important;margin:0!important;color:#243a32!important;font-size:11px!important;font-weight:600!important;line-height:1.3!important;
}
body.editor-refined:not(.landing-active) #editorSidebar .editor-quality-dimensions{
  display:inline-flex;align-items:center;min-height:22px;padding:3px 7px;border:1px solid #dce5df;border-radius:999px;
  background:#fff;color:#748079;font-size:10px;font-weight:500;line-height:1;white-space:nowrap;
}
body.editor-refined:not(.landing-active) #editorSidebar .editor-quality-options{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;
  width:100%!important;min-width:0!important;margin:0!important;padding:3px!important;
  border:1px solid #dde5df!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;overflow:visible!important;
}
body.editor-refined:not(.landing-active) #editorSidebar .editor-quality-option{
  position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;
  width:100%!important;min-width:0!important;min-height:34px!important;height:34px!important;margin:0!important;padding:7px 5px!important;
  border:0!important;border-radius:6px!important;background:transparent!important;color:#63746b!important;
  box-shadow:none!important;font-size:11px!important;font-weight:500!important;line-height:1.2!important;white-space:nowrap!important;
}
body.editor-refined:not(.landing-active) #editorSidebar .editor-quality-option.active{
  background:#e7f3eb!important;color:#217858!important;font-weight:600!important;box-shadow:inset 0 0 0 1px #b5d7c2!important;
}
body.editor-refined:not(.landing-active) #editorSidebar .editor-quality-option.locked::after{
  content:'\1F512'!important;display:inline-block!important;margin:0!important;padding:0!important;border:0!important;
  background:none!important;color:inherit!important;font-size:9px!important;line-height:1!important;opacity:.72!important;
}
body.editor-refined:not(.landing-active) #editorSidebar .editor-quality-option::before{display:none!important;content:none!important}
body.editor-refined:not(.landing-active) #editorSidebar .editor-quality-dimensions-original{display:none!important}
body.editor-refined:not(.landing-active) #editorSidebar #gpxExportMeta{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;
  margin:0!important;padding:0 2px!important;border:0!important;background:none!important;color:#748079!important;
}
body.editor-refined:not(.landing-active) #editorSidebar #gpxExportMeta span{
  margin:0!important;padding:0!important;border:0!important;background:none!important;color:inherit!important;font-size:10px!important;white-space:nowrap;
}
.editor-mobile-nav,.editor-sheet-handle{display:none}
.travel-timing-help{margin:8px 0 12px;color:#748079;font-size:11px;line-height:1.5}
.travel-timing-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 10px;padding:14px 0;border-bottom:1px solid #edf0ed}
.travel-timing-row label{min-width:0}
.travel-timing-row strong{display:block;font-size:12px;font-weight:600;color:#243a32}
.travel-timing-row small{display:block;margin-top:4px;font-size:10px;line-height:1.4;color:#748079;overflow-wrap:anywhere}
.travel-timing-value{display:flex;align-items:center;gap:4px;font-size:11px;color:#748079}
body.editor-refined #editorSidebar .travel-timing-value input{width:62px;min-width:0;height:34px;padding:5px 6px;border:1px solid #dce4de;border-radius:5px;background:white;color:#243a32;text-align:right;font:inherit;font-size:12px}
@media(max-width:900px){
  body.editor-refined:not(.landing-active) #editorSidebar .editor-quality-card{padding:10px 12px!important}
  body.editor-refined:not(.landing-active) #editorSidebar .editor-quality-option{min-height:42px!important;height:42px!important;font-size:12px!important}
  body.editor-refined #editorSidebar .travel-timing-value input{height:44px;font-size:16px}
}
/* GPX timing uses its own legacy markup, but shares the flat editor language. */
body.editor-refined #editorSidebar :is(#optionsPanel,#anglePanel,#cameraPanel) .gpx-animation-stages{gap:0!important;padding-top:4px!important;padding-bottom:0!important}
body.editor-refined #editorSidebar :is(#optionsPanel,#anglePanel,#cameraPanel) :is(.gpx-animation-stage,.gpx-route-overlay-picker-card){
  border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;overflow:visible!important;
}
body.editor-refined #editorSidebar :is(#optionsPanel,#anglePanel,#cameraPanel) .gpx-animation-stage{padding:6px 0 10px;border-bottom:1px solid #edf0ed!important}
body.editor-refined #editorSidebar :is(#optionsPanel,#anglePanel,#cameraPanel) .gpx-animation-stage-header{min-height:38px;padding:6px 0;gap:8px;background:none}
body.editor-refined #editorSidebar :is(#optionsPanel,#anglePanel,#cameraPanel) .gpx-animation-stage-number{display:none!important}
body.editor-refined #editorSidebar :is(#optionsPanel,#anglePanel,#cameraPanel) .gpx-animation-stage-title strong{font-size:12px;font-weight:600;color:#243a32}
body.editor-refined #editorSidebar :is(#optionsPanel,#anglePanel,#cameraPanel) .gpx-animation-stage-title small{font-size:10px;font-weight:400;line-height:1.4;color:#7d8982}
body.editor-refined #editorSidebar :is(#optionsPanel,#anglePanel,#cameraPanel) .gpx-animation-stage-state{color:#748079;font-weight:400}
body.editor-refined #editorSidebar :is(#optionsPanel,#anglePanel,#cameraPanel) .gpx-animation-stage-control{border:0;padding:4px 0 0}
body.editor-refined #editorSidebar :is(#optionsPanel,#anglePanel,#cameraPanel) .editor-timing-row{grid-template-columns:minmax(0,1fr);gap:6px}
body.editor-refined #editorSidebar :is(#optionsPanel,#anglePanel,#cameraPanel) .editor-timing-row > .duration-value{display:none!important}
body.editor-refined #editorSidebar :is(#optionsPanel,#anglePanel,#cameraPanel) .editor-timing-row > input[type=range]{width:100%;min-width:0;margin:0}
body.editor-refined #editorSidebar #gpxMotionBlurStage[hidden]{display:none!important}
body.editor-refined #editorSidebar #gpxMotionBlurStage .gpx-animation-stage-header{grid-template-columns:minmax(0,1fr) auto!important}
body.editor-refined #editorSidebar #gpxMotionBlurToggleBtn{flex:0 0 auto!important;margin-left:auto!important}
body.editor-refined #editorSidebar :is(#optionsPanel,#anglePanel,#cameraPanel) .gpx-route-overlay-picker-card{margin:8px 0 10px!important}
body.editor-refined #editorSidebar :is(#optionsPanel,#anglePanel,#cameraPanel) .gpx-route-overlay-trigger{padding:6px 0;border-radius:0;min-height:44px}
body.editor-refined #editorSidebar :is(#optionsPanel,#anglePanel,#cameraPanel) .gpx-route-overlay-settings{padding:8px 0;border:0}
/* Format belongs to the preview, not to a camera/style accordion. Originals
   stay in the DOM so the existing format, preset and export logic is reused. */
body.editor-refined #editorSidebar :is(#zoomFormatCard,#gpxCameraFormatCard,#travelFormatCard){display:none!important}
.preview-format-toolbar{display:none}
body.editor-refined:is(.gpx-editor-active,.zoom-editor-active,.travel-editor-active):not(.landing-active):not(.preview-playing):not(.export-recording):not(.render-job-active) .preview-format-toolbar:not([hidden]){
  position:absolute;top:10px;left:50%;transform:translateX(-50%);z-index:46;
  display:flex;align-items:center;gap:4px;white-space:nowrap;
  padding:3px;background:#fff;border:1px solid #e0e7e2;border-radius:9px;
  box-shadow:0 2px 8px #203b2b05;
}
.preview-format-label{font-size:11px;color:#748079;padding:0 9px}
.preview-format-toolbar button{
  display:flex;align-items:center;justify-content:flex-start;gap:7px;min-width:96px;min-height:38px;padding:5px 8px;border:0;border-radius:7px;
  background:transparent;color:#63736b;font:inherit;cursor:pointer;
}
.preview-format-toolbar button[aria-pressed=true]{background:#e7f3ed;color:#217858;box-shadow:inset 0 0 0 1px #c8e5d7}
.preview-format-toolbar button:hover{background:#f0f5f1}
.preview-format-toolbar button:focus-visible{outline:2px solid #278564;outline-offset:2px}
.preview-format-icon{display:block;flex:0 0 auto;border:1.5px solid currentColor;border-radius:2px;opacity:.84}
.preview-format-icon.is-landscape{width:18px;height:11px}
.preview-format-icon.is-portrait{width:10px;height:18px}
.preview-format-icon.is-portrait-post{width:13px;height:16px}
.preview-format-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;line-height:1.05}
.preview-format-name{font-size:11px;font-weight:600;color:inherit}
.preview-format-ratio{margin-top:3px;color:#829088;font-size:9px;font-weight:500;line-height:1}
.preview-format-toolbar button[aria-pressed=true] .preview-format-ratio{color:#4f8e72}
body.editor-refined:is(.gpx-editor-active,.zoom-editor-active,.travel-editor-active):not(.landing-active):not(.preview-playing):not(.export-recording):not(.render-job-active) .map-container{
  padding-top:64px!important;
}
@media(min-width:901px){
  body.editor-refined:is(.gpx-editor-active,.zoom-editor-active,.travel-editor-active):not(.landing-active):not(.preview-playing):not(.export-recording):not(.render-job-active) .map-container{
    container-type:size;
  }
  body.editor-refined.export-portrait .map-container{--editor-map-ratio:.5625}
  body.editor-refined.export-portrait-post .map-container{--editor-map-ratio:.8}
  body.editor-refined:is(.gpx-editor-active,.zoom-editor-active,.travel-editor-active):not(.landing-active):not(.preview-playing):not(.export-recording):not(.render-job-active) .map-container #map{
    width:min(100cqw,calc((100cqh - 110px) * var(--editor-map-ratio,1.777777778)))!important;
    height:min(calc(100cqh - 110px),calc(100cqw / var(--editor-map-ratio,1.777777778)))!important;
  }
  body.editor-refined:is(.gpx-editor-active,.zoom-editor-active,.travel-editor-active):not(.landing-active):not(.preview-playing):not(.export-recording):not(.render-job-active) :is(.gpx-canvas-play-btn,.zoom-canvas-play-btn){top:calc(50% - 29px)!important}
}
@media(max-width:900px){
  body.editor-refined:is(.gpx-editor-active,.zoom-editor-active,.travel-editor-active):not(.landing-active):not(.preview-playing):not(.export-recording):not(.render-job-active) .map-container{padding-top:48px!important}
  body.editor-refined .preview-format-toolbar button{position:relative;justify-content:center;gap:4px;min-height:32px;min-width:50px;padding:4px 6px}
  body.editor-refined .preview-format-copy{align-items:center}
  body.editor-refined .preview-format-name{display:none}
  body.editor-refined .preview-format-ratio{margin:0;font-size:10px}
  body.editor-refined .preview-format-icon.is-landscape{width:15px;height:9px}
  body.editor-refined .preview-format-icon.is-portrait{width:8px;height:15px}
  body.editor-refined .preview-format-icon.is-portrait-post{width:10px;height:13px}
  /* Compact visuals, with a 44px-tall touch target that stays above the map. */
  body.editor-refined .preview-format-toolbar button::after{content:'';position:absolute;inset:-6px 0}
  body.editor-refined:is(.gpx-editor-active,.zoom-editor-active,.travel-editor-active):not(.landing-active):not(.preview-playing):not(.export-recording):not(.render-job-active) .preview-format-toolbar:not([hidden]){top:4px;padding:2px;gap:2px;border-radius:8px}
  body.editor-refined:is(.gpx-editor-active,.zoom-editor-active,.travel-editor-active):not(.landing-active):not(.preview-playing):not(.export-recording):not(.render-job-active) :is(.gpx-canvas-play-btn,.zoom-canvas-play-btn){top:calc(50% + 18px)!important}
  .preview-format-label{display:none}
}
@media(max-width:900px) and (orientation:portrait){
  body.editor-refined:not(.landing-active):not(.preview-playing):not(.gpx-preview-expanded):not(.export-recording):not(.render-job-active) #editorSidebar{
    top:var(--editor-sheet-top,44dvh)!important; bottom:0!important; height:auto!important;
    max-height:none!important; min-height:0!important; border-radius:18px 18px 0 0!important;
    overflow-y:auto!important; overflow-x:hidden!important; display:block!important;
    box-shadow:0 -5px 24px #203b2b0a!important; padding-bottom:env(safe-area-inset-bottom,0px)!important;
  }
  body.editor-refined:not(.landing-active):not(.preview-playing):not(.gpx-preview-expanded):not(.export-recording):not(.render-job-active) .map-container{
    top:60px!important; height:calc(var(--editor-sheet-top,44dvh) - 60px)!important;
    bottom:auto!important;
  }
  body.editor-refined:not(.landing-active) #editorSidebar .editor-sheet-top{
    position:sticky;top:0;z-index:60;background:#fff;border-radius:18px 18px 0 0;
  }
  body.editor-refined:not(.landing-active) #editorSidebar .editor-sheet-handle{
    display:block;width:100%;height:24px;border:0;background:transparent;touch-action:none;cursor:ns-resize;
  }
  .editor-sheet-handle::after{content:'';display:block;width:34px;height:4px;background:#cdd6cf;border-radius:4px;margin:auto}
  body.editor-refined:not(.landing-active) #editorSidebar .editor-mobile-nav{
    display:flex;gap:4px;padding:0 10px 8px;border-bottom:1px solid #e7ede8;
  }
  .editor-mobile-nav button{flex:1;min-width:0;min-height:48px;border:0;border-radius:6px;background:none;color:#738379;font-size:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
  .editor-mobile-nav button[aria-current=true]{background:#eef6f1;color:#217858;font-weight:650}
  .editor-mobile-nav button:disabled{opacity:.35}
  .editor-mobile-nav button[hidden]{display:none!important}
  body.editor-refined:not(.landing-active) #editorSidebar .editor-title{display:none}
  body.editor-refined:not(.landing-active) #editorSidebar :is(.zoom-editor-section,.gpx-editor-section).editor-mobile-inactive > :is(.zoom-editor-section-header,.gpx-editor-section-header){display:none!important}
  /* The mobile tab bar already names and selects the active section. Keep
     accordion buttons in the DOM for the tab bridge, without a second title. */
  body.editor-refined:not(.landing-active) #editorSidebar :is(.zoom-editor-section-header,.gpx-editor-section-header){display:none!important}
  body.editor-refined:not(.landing-active) #editorSidebar .editor-export-actions > button{min-height:44px!important;font-size:12px!important}
  body.editor-refined:not(.landing-active) #editorSidebar .editor-value-input{height:44px!important;font-size:16px!important}
  body.editor-refined:not(.landing-active) #editorSidebar :is(.zoom-editor-scroll,#guideSection){overflow:visible!important;max-height:none!important;flex:none!important}
  body.editor-refined:not(.landing-active) #editorSidebar :is(#zoomDownloadPanel,#travelDownloadPanel,#exportPanel){position:static!important}
  .editor-frame-thumb{height:48px}
}
@media(prefers-reduced-motion:reduce){.editor-frame-thumb{transition:none}}
/* Per-leg vehicle sizing keeps the real map visible while editing. */
.travel-vehicle-controls{display:grid!important;gap:12px!important;min-width:0}
.travel-vehicle-controls label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}
.travel-vehicle-controls select{width:100%;min-width:0;padding:10px;border:1px solid #dde5df;border-radius:8px;background:#fff}
.travel-vehicle-controls input[type=number]{width:64px;min-height:36px;text-align:right;border:1px solid #dde5df;border-radius:6px;padding:6px}
body.editor-refined #travelAnimationPanel input[type=range]{width:100%;min-width:0;height:32px!important;padding:0;margin:0;appearance:none;-webkit-appearance:none;background:transparent;accent-color:#2f8d69;cursor:pointer}
body.editor-refined #travelAnimationPanel input[type=range]::-webkit-slider-runnable-track{height:4px!important;border-radius:4px!important;background:#cfd8d2!important}
body.editor-refined #travelAnimationPanel input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:18px!important;height:18px!important;margin-top:-7px!important;border-radius:50%!important;background:#2f8d69!important;border:2px solid #fff!important;box-shadow:0 1px 4px #0002!important}
body.editor-refined #travelAnimationPanel input[type=range]::-moz-range-track{height:4px!important;border-radius:4px!important;background:#cfd8d2!important}
body.editor-refined #travelAnimationPanel input[type=range]::-moz-range-thumb{width:16px!important;height:16px!important;border-radius:50%!important;background:#2f8d69!important;border:2px solid #fff!important}
.travel-vehicle-actions{display:grid;grid-template-columns:1fr;gap:8px}
.travel-vehicle-controls button{min-height:36px}
.travel-vehicle-controls p{margin:0;font-size:11px;color:#65756f;line-height:1.5}
.travel-vehicle-link{grid-column:1/-1;justify-self:start;border:0;background:transparent;color:#2f7d4f;font-size:11px;padding:4px 0;cursor:pointer}
body.travel-vehicle-inspecting #gpxCanvasPlayBtn{display:none!important}
@media(max-width:900px){.travel-vehicle-controls button,.travel-vehicle-controls input[type=number],.travel-vehicle-link{min-height:44px}}
@media(max-width:900px){body.editor-refined #travelAnimationPanel input[type=range]{height:44px!important}}
.travel-vehicle-inline{grid-column:1/-1;grid-template-columns:auto minmax(0,1fr) 36px;align-items:center;gap:8px!important}
.travel-vehicle-inline label{font-size:11px;white-space:nowrap}
.travel-vehicle-inline output{font-size:11px;text-align:right;font-variant-numeric:tabular-nums}
.travel-vehicle-controls[hidden]{display:none!important}
.travel-leg-heading{display:flex;align-items:center;gap:8px;min-width:0}
body.editor-refined #editorSidebar .travel-leg-play{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;min-height:30px;padding:0;border:1px solid #dce4de;border-radius:50%;background:#f4f8f5;color:#2f8d69;font-size:12px;cursor:pointer}
body.editor-refined #editorSidebar .travel-leg-play[aria-pressed=true]{background:#e7f3ed;border-color:#2f8d69}
.travel-play-status{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:900px){body.editor-refined #editorSidebar .travel-leg-play{flex-basis:44px;width:44px;height:44px;min-height:44px}}

/* Shared editor controls: independent of each editor's legacy theme. */
body.editor-refined:not(.landing-active) #editorSidebar :is(.zoom-editor-section-header,.gpx-editor-section-header){width:100%!important;min-width:0;box-sizing:border-box}
body.editor-refined #editorSidebar :is(.zoom-editor-section-name,.gpx-editor-section-name){flex-shrink:0}
body.editor-refined #editorSidebar :is(.zoom-editor-section-summary,.gpx-editor-section-summary){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.editor-refined #editorSidebar :is(.zoom-editor-chevron,.gpx-editor-section-chevron){flex-shrink:0;margin-left:2px!important}
body.editor-refined:not(.landing-active) #editorSidebar :is(#cameraPanel,#anglePanel,#zoomSettingsPanel,#zoomFinalPanel,#travelStylePanel) .editor-choice-group{
  display:grid!important;grid-template-columns:repeat(var(--editor-choice-columns,2),minmax(0,1fr))!important;
  gap:6px!important;width:100%!important;min-width:0!important;padding:0!important;
  overflow:visible!important;background:none!important;border:0!important;border-radius:0!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(#cameraPanel,#anglePanel,#zoomSettingsPanel,#zoomFinalPanel,#travelStylePanel) .editor-choice-group > .editor-choice-button{
  display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:5px!important;
  width:100%!important;min-width:0!important;min-height:36px!important;margin:0!important;padding:8px 6px!important;
  border:1px solid #dde5df!important;border-radius:7px!important;background:#fff!important;color:#52655b!important;
  font-family:inherit!important;font-size:12px!important;font-weight:500!important;line-height:1.25!important;
  text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;white-space:normal!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(#cameraPanel,#anglePanel,#zoomSettingsPanel,#zoomFinalPanel,#travelStylePanel) .editor-choice-group > .editor-choice-button.active{
  background:#eaf5ee!important;border-color:#a6cfb9!important;color:#217858!important;font-weight:600!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(#cameraPanel,#anglePanel,#zoomSettingsPanel,#zoomFinalPanel,#travelStylePanel) .editor-choice-button:not(:disabled):hover{border-color:#8fb8a2!important;background:#f2f7f3!important}
body.editor-refined:not(.landing-active) #editorSidebar .editor-choice-button:disabled{opacity:.65!important;cursor:not-allowed}
body.editor-refined:not(.landing-active) #editorSidebar :is(#cameraPanel,#anglePanel,#zoomSettingsPanel,#zoomFinalPanel,#travelStylePanel) .editor-choice-button.locked::after{
  position:static!important;display:inline-block!important;content:'\1F512'!important;flex:0 0 auto;
  margin:0!important;padding:0!important;border:0!important;background:none!important;color:inherit!important;
  font:400 9px/1 system-ui!important;letter-spacing:0!important;opacity:.72!important;transform:none!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(#travelStylePanel,#zoomSettingsPanel,#cameraPanel) :is(.zoom-editor-label,.toggle-label,.zoom-camera-row label){
  font-family:inherit!important;font-size:12px!important;font-weight:400!important;line-height:1.4!important;letter-spacing:0!important;text-transform:none!important;color:#52655b!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(#travelStylePanel,#zoomSettingsPanel,#cameraPanel) .editor-flat-card{
  padding:12px 0 0!important;border-bottom:1px solid #edf0ed!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(#travelStylePanel,#zoomSettingsPanel,#cameraPanel) .editor-flat-header{
  display:flex!important;align-items:center!important;gap:8px!important;padding:0 0 8px!important;
}
body.editor-refined #editorSidebar :is(.zoom-setting-card-title,.travel-setting-card-title,.gpx-look-card-title){flex:1;min-width:0}
body.editor-refined:not(.landing-active) #editorSidebar :is(#travelStylePanel,#zoomSettingsPanel,#cameraPanel) .editor-flat-body{
  display:flex!important;flex-direction:column!important;gap:10px!important;padding:0 0 14px!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(#travelStylePanel,#zoomSettingsPanel,#cameraPanel) :is(.zoom-control-block,.marker-choice-row,.toggle-row){margin:0!important;padding:0!important;border:0!important;gap:8px!important}
body.editor-refined:not(.landing-active) #editorSidebar :is(#travelStylePanel,#zoomSettingsPanel,#cameraPanel) .color-choice-row:not([hidden]):not(.is-hidden-control){display:flex!important;align-items:center!important;justify-content:space-between!important;flex-direction:row!important;gap:8px!important}
body.editor-refined:not(.landing-active) #editorSidebar :is(#travelStylePanel,#zoomSettingsPanel,#cameraPanel) .color-choice{
  display:flex!important;align-items:center;justify-content:flex-end;flex:0 1 auto;width:auto!important;gap:4px!important;padding:0!important;overflow:visible!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(#travelStylePanel,#zoomSettingsPanel,#cameraPanel) .color-choice-btn{
  position:relative;width:34px!important;height:34px!important;min-width:34px!important;flex:0 0 34px!important;padding:0!important;
  background:radial-gradient(circle,var(--swatch) 0 10px,transparent 11px)!important;border:1px solid transparent!important;border-radius:50%!important;box-shadow:none!important;
}
body.editor-refined:not(.landing-active) #editorSidebar :is(#travelStylePanel,#zoomSettingsPanel,#cameraPanel) .color-choice-btn.active{border-color:#587364!important;background-color:#f0f6f2!important}
body.editor-refined:not(.landing-active) #editorSidebar .toggle-btn{width:auto!important;min-width:46px!important;min-height:30px!important;padding:4px 10px!important;border:1px solid #dde5df!important;border-radius:15px!important;background:#fff!important;color:#52655b!important;font:500 11px/1.2 system-ui!important;box-shadow:none!important}
body.editor-refined:not(.landing-active) #editorSidebar .toggle-btn.active{background:#eaf5ee!important;border-color:#a6cfb9!important;color:#217858!important}
body.editor-refined:not(.landing-active) #editorSidebar .toggle-btn::after{content:'Off'}
body.editor-refined:not(.landing-active) #editorSidebar .toggle-btn.active::after{content:'On'}
body.editor-refined:not(.landing-active) #editorSidebar .toggle-knob{display:none!important}
body.editor-refined:not(.landing-active) #editorSidebar :is(.zoom-toggle-row,.toggle-row){align-items:center!important}
body.editor-refined:not(.landing-active) #editorSidebar .aurora-control:not([hidden]){margin:0!important;padding:8px 0 0!important;border:0!important;background:none!important;font:400 12px/1.4 system-ui!important;color:#52655b!important}
body.editor-refined #editorSidebar .aurora-control input{accent-color:#278564}
@media(max-width:900px){
  body.editor-refined:not(.landing-active) #editorSidebar :is(#cameraPanel,#anglePanel,#zoomSettingsPanel,#zoomFinalPanel,#travelStylePanel) .editor-choice-group > .editor-choice-button{min-height:44px!important}
  body.editor-refined:not(.landing-active) #editorSidebar :is(#travelStylePanel,#zoomSettingsPanel,#cameraPanel) .color-choice-btn{width:44px!important;height:44px!important;min-width:44px!important;flex-basis:44px!important}
  body.editor-refined:not(.landing-active) #editorSidebar .toggle-btn{min-height:36px!important;position:relative}
  body.editor-refined #editorSidebar .toggle-btn::before{content:'';position:absolute;inset:-4px 0}
}
/* Keep the destination unobstructed while editing. Playback keeps its existing
   pause/fullscreen controls; this only relocates the idle preview affordance. */
body.editor-refined:is(.gpx-editor-active,.zoom-editor-active,.travel-editor-active):not(.landing-active):not(.preview-playing):not(.zoom-preview-playing):not(.export-recording):not(.render-job-active) :is(#gpxCanvasPlayBtn,#zoomCanvasPlayBtn){
  top:var(--preview-play-top,50%)!important;left:var(--preview-play-left,12px)!important;right:auto!important;bottom:auto!important;transform:none!important;
  width:auto!important;height:36px!important;min-width:98px!important;min-height:36px!important;padding:0 12px!important;gap:8px!important;
  align-items:center!important;justify-content:center!important;border:1px solid #ffffff80!important;border-radius:18px!important;
  background:rgba(255,255,255,.84)!important;color:#254c3b!important;box-shadow:0 2px 8px #0002!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
body.editor-refined:not(.preview-playing):not(.zoom-preview-playing) :is(#gpxCanvasPlayBtn,#zoomCanvasPlayBtn)::before{content:'';position:absolute;inset:-4px;border-radius:22px}
body.editor-refined:not(.preview-playing):not(.zoom-preview-playing) :is(#gpxCanvasPlayBtn,#zoomCanvasPlayBtn)::after{content:'Preview';font:600 12px/1.2 system-ui}
body.editor-refined:not(.preview-playing):not(.zoom-preview-playing) :is(#gpxCanvasPlayBtn,#zoomCanvasPlayBtn):hover{background:#fff!important;border-color:#91b5a1!important}
body.editor-refined :is(#gpxCanvasPlayBtn,#zoomCanvasPlayBtn):focus-visible{outline:2px solid #278564;outline-offset:4px}
body.editor-refined:not(.preview-playing):not(.zoom-preview-playing) :is(.gpx-canvas-play-icon,.zoom-canvas-play-icon){
  width:0!important;height:0!important;margin:0 0 0 2px!important;color:inherit!important;
  border-top:6px solid transparent!important;border-bottom:6px solid transparent!important;border-left:9px solid currentColor!important;
}
/* On a narrow portrait map the overlay pill obscures most of the scene.
   Share the reserved toolbar row instead; playback controls stay unchanged. */
@media(max-width:900px){
  body.editor-refined:is(.gpx-editor-active,.zoom-editor-active,.travel-editor-active):not(.landing-active):not(.preview-playing):not(.zoom-preview-playing):not(.export-recording):not(.render-job-active) .preview-toolbar-has-play .preview-format-toolbar:not([hidden]){
    left:calc(50% - 50px)!important;
  }
  body.editor-refined:is(.gpx-editor-active,.zoom-editor-active,.travel-editor-active):not(.landing-active):not(.preview-playing):not(.zoom-preview-playing):not(.export-recording):not(.render-job-active) :is(#gpxCanvasPlayBtn,#zoomCanvasPlayBtn){
    top:4px!important;left:calc(50% + 38px)!important;
    height:36px!important;min-height:36px!important;min-width:94px!important;padding:0 10px!important;gap:6px!important;
    border-radius:8px!important;border:1px solid #278564!important;background:#278564!important;color:#fff!important;box-shadow:none!important;
  }
  body.editor-refined:is(.gpx-editor-active,.zoom-editor-active,.travel-editor-active):not(.landing-active):not(.preview-playing):not(.zoom-preview-playing):not(.export-recording):not(.render-job-active) :is(#gpxCanvasPlayBtn,#zoomCanvasPlayBtn):hover{background:#217858!important}
  body.editor-refined:not(.preview-playing):not(.zoom-preview-playing) :is(#gpxCanvasPlayBtn,#zoomCanvasPlayBtn)::before{inset:-4px 0;border-radius:8px}
}

/* Meter distances need room for seven digits on both desktop and mobile. */
body.editor-refined:not(.landing-active) #editorSidebar label:is([for="cameraZoom"],[for="gpxFollowDistance"]) .editor-value-input{
  width:112px!important;
  min-width:112px!important;
}
