.journey-editor-actions,.journey-editor-save,.journey-editor-tabs,.journey-editor-section-head,.journey-editor-language,.journey-zone-shapes{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.journey-editor-actions{justify-content:space-between;margin:20px 0}.journey-editor-save>span{font-size:13px;color:var(--muted)}.journey-editor-tabs .active,.journey-editor-language .active,.journey-zone-shapes .active{border-color:var(--staff-accent);background:var(--staff-soft);color:var(--staff-accent)}.journey-switches{display:grid;gap:12px;margin:18px 0 28px}.journey-setting-switch{display:flex;align-items:center;gap:16px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--staff-surface);cursor:pointer}.journey-setting-switch>i{font-size:24px;color:var(--staff-accent);width:30px}.journey-setting-switch>span{flex:1}.journey-setting-switch b{display:block;font-size:18px}.journey-setting-switch small{display:block;font-size:14px;line-height:1.5;color:var(--muted);margin-top:4px}.journey-setting-switch input{appearance:none;width:48px!important;min-height:28px!important;height:28px;border:0;border-radius:30px;background:var(--muted);position:relative;flex-shrink:0;cursor:pointer}.journey-setting-switch input:before{content:'';position:absolute;width:20px;height:20px;top:4px;left:4px;background:white;border-radius:50%;transition:transform .2s}.journey-setting-switch input:checked{background:var(--staff-accent)}.journey-setting-switch input:checked:before{transform:translateX(20px)}.journey-zone-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:20px;align-items:start}.journey-zone-map{height:530px;position:relative;background:#edf2ee;border-radius:18px;overflow:hidden}.journey-zone-map svg{display:block}.journey-map-panel{position:sticky;top:20px}.journey-zone-overlay .zone-object>circle:first-child,.journey-zone-overlay rect{fill:#3387ab30;stroke:#26748f;stroke-width:2;vector-effect:non-scaling-stroke;cursor:grab}.journey-zone-overlay .tourist>circle:first-child,.journey-zone-overlay .tourist rect{fill:#8d64bc30;stroke:#7951ac}.journey-zone-overlay .selected>circle:first-child,.journey-zone-overlay .selected rect{stroke:#c02e3e;fill:#c02e3e25;stroke-width:3}.journey-zone-overlay .zone-center{fill:#001a26;stroke:white;stroke-width:2;vector-effect:non-scaling-stroke;cursor:move}.journey-zone-overlay .zone-resize{fill:#c02e3e;stroke:white;stroke-width:2;vector-effect:non-scaling-stroke;cursor:nwse-resize}.journey-zone-overlay text{font-size:.13px;font-weight:750;fill:#001a26;stroke:#fff;stroke-width:.03;paint-order:stroke;cursor:move}.journey-stops-nav{display:flex;align-items:start;gap:12px;margin:18px 0}.journey-stops-nav .journey-items{display:flex;gap:8px;flex-wrap:wrap;flex:1}.journey-items{display:grid;gap:8px;margin-bottom:16px}.journey-items>button{display:flex;align-items:center;gap:10px;text-align:left;color:var(--ink);border:1px solid var(--line);border-radius:12px;background:var(--staff-surface);padding:12px;min-height:48px;font-size:15px}.journey-items>button.active{border-color:var(--staff-accent);background:var(--staff-soft)}.journey-items>button small{color:var(--muted);font-size:12px}.journey-items>button>span{font-weight:800;color:var(--staff-accent)}.journey-editor-section-head{justify-content:space-between;margin-bottom:18px}.journey-editor-section-head h2{margin:0}.journey-zone-shapes,.journey-editor-language{margin:16px 0}.journey-rich-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:8px;background:var(--staff-soft);border:1px solid var(--line);border-radius:12px 12px 0 0}.journey-rich-toolbar button,.journey-upload{display:flex;align-items:center;justify-content:center;gap:8px;min-width:40px;min-height:44px;padding:8px;border:0;border-radius:8px;background:var(--staff-surface);color:var(--ink);cursor:pointer;font-size:15px}.journey-rich-editor{padding:16px;border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;min-height:230px;max-height:650px;overflow:auto;font-size:17px;line-height:1.6;background:var(--staff-surface);color:var(--ink);overflow-wrap:anywhere}.journey-rich-editor p{margin:0 0 12px}.journey-rich-editor img{height:auto;max-width:100%;cursor:pointer;border-radius:10px}.journey-image-settings:not([hidden]){display:flex;gap:15px;align-items:center;margin-top:14px}.journey-preview-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}.journey-admin-preview{display:block;width:100%;height:75dvh;border:1px solid var(--line);border-radius:16px}.journey-stop-content .journey-rich-output{font-size:16px;line-height:1.45;color:#385968;max-height:180px;overflow:auto}.journey-rich-output img{max-width:100%;height:auto;border-radius:12px}.journey-rich-output p{margin:0 0 8px}.journey-zone-message{font-size:13px;color:#a42636}.journey-preview-banner{font-size:12px;color:#805516;margin:0}.journey-tourist-title{font-size:15px;color:#7951ac}.journey-stop.tourist{background:#f3eff8}.journey-stop-content .journey-rich-output p{font-size:16px}
@media(max-width:1100px){.journey-zone-layout{grid-template-columns:1fr}.journey-map-panel{position:static}.journey-zone-map{height:380px}.journey-stops-nav{flex-direction:column}.journey-editor-save{width:100%}.journey-editor-tabs{width:100%}.journey-setting-switch{padding:14px}.journey-editor-language .btn{padding:10px 12px}.journey-editor-save>.btn{flex:1}}
@media(max-width:600px){.journey-editor-actions .btn{font-size:14px}.journey-editor-tabs{display:grid;grid-template-columns:1fr}.journey-zone-map{height:340px}.journey-image-settings:not([hidden]){align-items:stretch;flex-direction:column}}
.journey-zone-map [data-map-follow]{display:none}.map-stop[role=button]{cursor:pointer}.map-stop[role=button]:focus{outline:none}.map-stop[role=button]:focus circle{stroke:#bd2635;stroke-width:.2}.journey-stop-content .journey-rich-output img{max-height:140px;object-fit:contain}.journey-dialog-body .journey-rich-output img{max-height:240px;object-fit:contain}
.journey-map{container-type:size}@container(max-height:250px){.journey-map-tools{display:grid;grid-template-columns:44px 44px;gap:5px;top:8px;right:8px}}.journey-stop-content .journey-rich-output{max-height:120px}.journey-read-more{display:block;min-height:44px;border:0;padding:8px 0;background:transparent;color:#9c2331;font-size:16px;font-weight:750;text-align:left}

.zone-resize-hit{fill:transparent;stroke:none;cursor:nwse-resize}.journey-zone-overlay .zone-resize{pointer-events:none}

.journey-usage .journey-editor-tabs{align-items:end;flex-wrap:wrap}
.journey-usage .field{margin:0}
.journey-usage-table{overflow-x:auto}
.journey-usage-table table{width:100%;border-collapse:collapse}
.journey-usage-table :is(th,td){text-align:left;padding:10px 8px;border-bottom:1px solid var(--line)}
.journey-usage-table :is(th,td):nth-last-child(-n+2){text-align:right}

.journey-main-photo{display:grid;gap:12px;margin:18px 0 22px;padding:14px;border:1px solid var(--line,#d8e2e6);border-radius:14px}
.journey-main-photo .record-caption{display:block}
.journey-main-photo img{width:100%;aspect-ratio:2.1;object-fit:cover;border-radius:10px}
.journey-main-photo-head{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap}
.journey-main-photo-head .record-caption{margin:3px 0 0}
.journey-description{margin-top:20px}
#journey-description-label{margin:0 0 8px;font-weight:700}

.journey-step-photo-button{position:relative;cursor:pointer;overflow:hidden}
#journey-step-photo{position:absolute;width:1px;height:1px;opacity:0}
.journey-main-photo-head:has(#journey-step-photo:focus-visible) .journey-step-photo-button{outline:2px solid var(--staff-accent);outline-offset:2px}

.journey-photo-settings,.journey-photo-options{display:grid;gap:10px}
.journey-photo-options{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}
.journey-photo-options>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:8px}
.journey-photo-options img{grid-column:1/-1}
.journey-photo-settings label{display:flex;align-items:center;gap:6px;font-size:.875rem}
.journey-photo-settings input[type=radio]{width:auto;min-height:0;flex:none}

.journey-crop-dialog{box-sizing:border-box;width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--surface,#fff);color:var(--ink,#132c39)}
.journey-crop-dialog::backdrop{background:#001a268c}
.journey-crop-dialog form{display:grid;gap:12px}
.journey-crop-dialog h2{margin:0}
.journey-crop-dialog canvas{width:100%;height:auto;border-radius:10px;display:block}
.journey-crop-position{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.journey-crop-dialog input[type=range]{width:100%;min-width:0}
.journey-crop-actions{display:flex;justify-content:flex-end;gap:8px}
