:root{--ink:#18342f;--muted:#65766f;--green:#124b43;--green2:#21685c;--mint:#e9f2ec;--paper:#f6f7f3;--line:#dde5dd;--coral:#e8775b;--danger:#b54336;--shadow:0 12px 40px #173c3110;--radius:10px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-size:15px;line-height:1.5}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--green);text-underline-offset:3px}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #dc9b51;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(28px,3.4vw,44px);line-height:1.13;letter-spacing:-1.2px;margin-bottom:16px;font-weight:700}h2{font-size:20px;line-height:1.25;margin-bottom:16px;letter-spacing:-.4px}h3{font-size:16px}p{margin-bottom:16px}hr{border:0;border-top:1px solid var(--line);margin:24px 0}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}[hidden]{display:none!important}.muted{color:var(--muted)}.small{font-size:13px}.lead{font-size:17px;color:var(--muted);max-width:700px}.eyebrow{font-size:11px;letter-spacing:1.65px;font-weight:750;color:var(--green2);margin-bottom:14px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;left:12px;top:-60px;z-index:2000;background:white;padding:10px 20px}.skip-link:focus{top:10px}
.site-header{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:20px;position:relative;z-index:10}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-weight:750;letter-spacing:-.4px;font-size:18px;min-width:0}.brand>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:320px}.brand-symbol{width:36px;height:36px;background:var(--green);color:#fff;border-radius:10px;display:grid;place-items:center}.brand-symbol .icon{width:24px;height:24px}.header-nav{display:flex;align-items:center;gap:16px;flex-shrink:0}.nav-link{text-decoration:none;font-size:14px;font-weight:600}.account-link{display:flex;align-items:center;gap:8px;text-decoration:none;font-size:13px;max-width:200px}.account-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inline-form{display:inline-flex;margin:0}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 15px;border:1px solid var(--line);background:#fff;border-radius:7px;color:var(--ink);text-decoration:none;font-weight:600;font-size:14px;transition:background .15s,transform .15s;white-space:nowrap}.button:hover{background:#eef2ec}.button.primary{background:var(--green);border-color:var(--green);color:#fff}.button.primary:hover{background:var(--green2)}.button.primary-soft{background:var(--mint);color:var(--green);border-color:#d3e6d9}.button.coral{background:var(--coral);border-color:var(--coral);color:#252e28}.button.small{min-height:34px;font-size:12px;padding:6px 10px}.button.wide{width:100%}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;background:transparent;border-radius:7px;color:var(--ink);text-decoration:none;flex-shrink:0}.icon-button:hover{background:var(--mint)}.danger-text{color:var(--danger)!important}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 3px 16px #274e3810}.badge{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:5px;font-size:11px;font-weight:600;padding:4px 8px;background:#f8f8f3}.badge .icon{width:13px;height:13px}.badge.green{color:var(--green);background:var(--mint);border-color:#d4e6d8}.activity-chip{font-size:12px;color:var(--muted)}
.dashboard-wrap,.settings-wrap,.public-wrap{max-width:1240px;margin:auto;padding:48px 32px 64px}.dashboard-hero{display:flex;justify-content:space-between;align-items:center;gap:30px;margin:10px 0 32px}.dashboard-hero .lead{margin-bottom:0}.summary-row{display:flex;gap:32px;align-items:center;padding:18px 0 26px;border-bottom:1px solid var(--line);margin-bottom:30px;color:var(--muted);font-size:13px}.summary-row strong{color:var(--ink);font-size:18px;margin-right:6px}.event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.event-card{overflow:hidden}.card-top{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 0;gap:10px}.event-card-main{display:block;text-decoration:none;color:var(--ink);padding:0 20px 20px}.route-illustration{height:125px;display:grid;place-items:center;background:radial-gradient(circle at center,#e4efe0 1px,transparent 1px);background-size:14px 14px;margin:10px -5px 18px;overflow:hidden;border-radius:5px;color:var(--green)}.route-illustration>.icon{width:60px;height:60px;opacity:.4}.route-illustration svg.route-sketch{height:100px;width:100%}.event-card h2{font-size:21px;margin-bottom:10px}.event-cause{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:13px}.event-cause .icon{width:15px;height:15px}.event-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.event-meta>span{display:flex;align-items:center;gap:6px}.event-meta .icon{width:14px;height:14px}.event-meta strong{font-size:15px;color:var(--green)}.card-actions{padding:13px 18px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:8px}.card-actions>div{display:flex}.empty-events{padding:65px 25px;text-align:center}.empty-events p{max-width:450px;margin:0 auto 24px;color:var(--muted)}.empty-symbol{background:var(--mint);width:70px;height:70px;border-radius:50%;display:grid;place-items:center;margin:0 auto 22px}.empty-symbol .icon{width:34px;height:34px}
.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px;font-size:13px;font-weight:600}.field input,.field select,.field textarea,input#place-search{width:100%;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);padding:11px 12px;min-height:43px;font-size:14px;font-weight:400}.field textarea{resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--green2)}.field input::placeholder,.field textarea::placeholder{color:#8a968d}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.checkbox{display:flex;align-items:flex-start;gap:10px;font-size:13px;margin:16px 0 24px;font-weight:400}.checkbox input{margin-top:4px;accent-color:var(--green)}.notice{display:flex;align-items:flex-start;gap:10px;padding:13px 15px;border:1px solid #dfddc6;background:#faf8eb;border-radius:7px;font-size:13px;margin-bottom:18px;color:#5b593e}.notice .icon{width:18px;height:18px;margin-top:1px}.notice-success{color:var(--green);background:var(--mint);border-color:#d1e3d6}.notice-error{color:#8a352d;background:#fff0eb;border-color:#ecc6bd}.form-error{color:var(--danger);font-size:13px}.form-error:empty{display:none}.text-link{display:inline-flex;align-items:center;gap:7px;font-weight:650;text-decoration:none}
dialog.modal{border:1px solid var(--line);padding:0;border-radius:12px;box-shadow:var(--shadow);max-width:570px;width:calc(100% - 32px);max-height:90dvh;color:var(--ink);background:#fff}dialog::backdrop{background:#122c2873;backdrop-filter:blur(3px)}.modal.compact{max-width:460px}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--line);gap:16px}.modal-head h2{margin:0}.modal-head .eyebrow{margin-bottom:6px}.modal-body{padding:22px 24px;overflow:auto;max-height:calc(90dvh - 160px)}.modal-footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:18px 24px;border-top:1px solid var(--line)}.modal-body .button.wide{margin-bottom:10px}.toasts{position:fixed;right:24px;bottom:24px;z-index:2000;display:grid;gap:8px;max-width:400px}.toast{background:var(--green);color:white;padding:14px 18px;border-radius:8px;box-shadow:var(--shadow);font-size:13px}.toast.error{background:#9b4034}
.editor-page{background:#fff}.editor-wrap{height:calc(100dvh - 72px);display:flex;flex-direction:column;min-height:500px}.editor-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid var(--line);min-height:88px;background:#fff}.editor-heading{display:flex;align-items:center;gap:12px;min-width:0}.editor-heading>div{min-width:0}.editor-heading h1{font-size:21px;margin:0 0 5px;letter-spacing:-.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:440px}.editor-subline{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted)}.dot{color:#bac7bc}.editor-actions{display:flex;gap:6px;align-items:center;flex-shrink:0}.editor-actions .button{font-size:12px;min-height:36px;padding:7px 11px}.editor-actions .icon{width:17px;height:17px}.editor-workspace{display:grid;grid-template-columns:350px minmax(0,1fr);flex:1;min-height:0}.editor-panel{border-right:1px solid var(--line);overflow:auto;background:#fff}.panel-tabs{display:flex;position:sticky;top:0;background:#fff;z-index:5;padding:0 14px;border-bottom:1px solid var(--line)}.panel-tabs button{flex:1;border:0;background:transparent;color:var(--muted);padding:17px 6px 13px;border-bottom:3px solid transparent;font-size:12px;font-weight:650}.panel-tabs button[aria-selected=true]{color:var(--green);border-color:var(--green)}.panel-tabs button span{font-size:10px;background:var(--mint);padding:1px 4px;border-radius:3px}.panel-section{padding:22px 20px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.panel-title h2{font-size:16px;margin:0}.panel-section .field{font-size:12px;margin-bottom:15px}.panel-section .field input,.panel-section .field select,.panel-section .field textarea{font-size:13px;padding:9px 10px}.mode-switch{display:grid;grid-template-columns:1fr 1fr;background:var(--paper);padding:3px;border:1px solid var(--line);border-radius:7px;gap:3px}.mode-switch button{border:0;border-radius:5px;background:transparent;font-size:11px;padding:9px 3px;color:var(--muted);font-weight:650}.mode-switch button.active{background:white;box-shadow:0 1px 5px #223e2719;color:var(--green)}.help-text{font-size:11px;line-height:1.6;color:var(--muted);margin:10px 0 17px}.panel-empty{text-align:center;padding:35px 15px;color:var(--muted);border:1px dashed var(--line);border-radius:8px;margin:24px 0}.panel-empty>.icon{width:30px;height:30px;margin-bottom:14px;color:var(--green)}.panel-empty h3{color:var(--ink);margin-bottom:7px}.panel-empty p{font-size:12px;margin:0}.waypoint-list{list-style:none;padding:0;margin:22px 0}.waypoint{position:relative;border:1px solid var(--line);border-radius:7px;margin-bottom:12px;padding:12px 10px;background:#fff}.waypoint.selected{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}.waypoint-head{display:flex;gap:8px;align-items:center}.point-badge,.stop-number{width:26px;height:26px;display:inline-grid;place-items:center;background:var(--mint);color:var(--green);font-size:11px;font-weight:750;border-radius:50%;flex-shrink:0}.point-badge.finish{background:#ffecdf;color:#964a35}.waypoint-name{border:0;border-bottom:1px solid transparent;min-width:0;width:100%;font-size:12px;padding:4px 1px;color:var(--ink);background:transparent;outline-offset:2px}.waypoint-name:hover{border-color:var(--line)}.waypoint .icon-button{width:24px;height:26px}.waypoint .icon{width:14px;height:14px}.waypoint-coords{font-size:10px;margin:4px 0 7px 34px;color:var(--muted)}.segment-controls{display:flex;justify-content:space-between;align-items:center;gap:7px;margin:8px 0 0 34px}.segment-controls select{border:1px solid var(--line);border-radius:4px;font-size:10px;background:#f8faf6;color:var(--muted);padding:4px;max-width:150px}.segment-state{font-size:10px;display:flex;gap:5px;align-items:center}.segment-state.error{color:var(--danger)}.point-actions{display:flex;justify-content:flex-end;gap:2px;margin-top:4px}.segment-message{font-size:11px;color:var(--danger);margin:8px 0 0 34px}.route-tools{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:18px}.route-tools .button{font-size:10px;white-space:normal;line-height:1.3}.route-tools .icon{width:14px;height:14px}.poi-list{margin-top:20px}.poi-item{padding:14px 10px;border-bottom:1px solid var(--line);display:flex;gap:10px;align-items:flex-start}.poi-item>div{flex:1;min-width:0}.poi-item strong{display:block;font-size:13px}.poi-item p{font-size:11px;color:var(--muted);margin:3px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.poi-item .icon-button{width:26px;height:26px}.poi-item .icon{width:16px;height:16px}
.map-workspace{position:relative;min-width:0;min-height:0;background:#e9ede2}.editor-map{height:100%;width:100%;min-height:350px}.map-search{position:absolute;left:18px;top:18px;z-index:500;display:flex;background:white;border:1px solid var(--line);border-radius:8px;width:350px;max-width:calc(100% - 85px);box-shadow:0 4px 15px #1530201a;align-items:center;padding-right:5px}.map-search input#place-search{border:0;border-radius:8px;font-size:12px;padding:13px;min-height:45px;flex:1;min-width:0}.map-search .icon-button{width:34px;height:34px}.search-results{position:absolute;top:calc(100% + 5px);left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:8px;max-height:250px;overflow:auto;box-shadow:var(--shadow)}.search-results button{display:block;width:100%;text-align:left;padding:12px;border:0;border-bottom:1px solid var(--line);background:#fff;font-size:12px;color:var(--ink)}.search-results button:hover{background:var(--mint)}.search-results .search-empty{padding:15px;font-size:12px;color:var(--muted)}.map-metrics{position:absolute;left:18px;bottom:82px;z-index:450;background:white;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:8px;padding:15px 18px;display:grid;min-width:175px;max-width:270px;pointer-events:none}.metric-label{font-size:9px;letter-spacing:1.2px;color:var(--muted);font-weight:700}.map-metrics strong{font-size:29px;letter-spacing:-.8px;line-height:1.4;color:var(--green)}.map-metrics>span:last-child{font-size:10px;color:var(--muted)}.map-instruction{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);z-index:450;border-radius:6px;padding:9px 15px;background:#173c32ed;color:#fff;font-size:11px;max-width:calc(100% - 140px);text-align:center;pointer-events:none}.map-buttons{position:absolute;right:18px;bottom:38px;z-index:500;display:grid;gap:7px}.map-button{width:38px;height:38px;background:#fff;color:var(--green);border:1px solid var(--line);border-radius:6px;box-shadow:0 2px 10px #1d3f231a;display:grid;place-items:center}.map-error{position:absolute;z-index:450;bottom:12px;left:18px;background:#fff1e3;color:#784726;font-size:11px;padding:10px 14px;border-radius:6px;max-width:calc(100% - 95px)}.map-error.inline{position:static;max-width:none;border-radius:0}.leaflet-container{font-family:inherit;background:#e8eee1}.leaflet-top.leaflet-right{top:16px;right:16px}.leaflet-bar{border:1px solid var(--line)!important;border-radius:6px!important;box-shadow:0 2px 10px #1d3f231a!important}.leaflet-bar a{color:var(--green)!important}.leaflet-control-attribution{font-size:9px!important;max-width:100%;line-height:1.4!important}.map-marker{display:grid!important;place-items:center!important;background:var(--green);color:white;border:3px solid white;border-radius:50%;box-shadow:0 2px 8px #14382555;font-size:11px;font-weight:750}.map-marker.finish{background:var(--coral);color:#342f26}.map-marker.poi{background:#fff8e4;color:#775b29;border-color:#9d845d;border-width:2px;border-radius:7px}.map-marker.selected{box-shadow:0 0 0 4px #e8a46599}.leaflet-popup-content{font-family:inherit;font-size:13px;white-space:pre-wrap;max-width:240px;overflow-wrap:anywhere}.leaflet-popup-content strong{display:block;margin-bottom:5px}.conflict-notice{margin:0;border-radius:0;align-items:center;justify-content:space-between}.history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}.history-row strong{font-size:13px;display:block}.history-row small{color:var(--muted);font-size:11px}
.public-intro{display:flex;justify-content:space-between;gap:28px;align-items:center;margin-bottom:32px}.public-intro h1{max-width:800px}.public-meta{display:flex;gap:24px;flex-wrap:wrap;color:var(--muted);font-size:13px}.public-meta>span{display:flex;align-items:center;gap:8px}.public-meta .icon{width:16px;height:16px}.public-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:26px}.public-map-card{overflow:hidden;align-self:start}.public-map-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line)}.public-map-head h2{font-size:17px;margin:0}.public-map{height:560px}.public-map-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:16px 22px;font-size:12px;color:var(--muted)}.public-story{display:grid;gap:22px;align-content:start}.public-story .card{padding:24px}.story-text{font-size:14px;color:#4f6157;white-space:normal;overflow-wrap:anywhere}.public-story .text-link{font-size:13px}.public-stops{list-style:none;padding:0;margin:0}.public-stops li{display:flex;gap:11px;align-items:center;padding:9px 0;font-size:12px}.preview-notice{justify-content:space-between;align-items:center;margin-bottom:24px}
.auth-wrap{max-width:1050px;margin:70px auto;padding:0 30px;display:grid;grid-template-columns:1.1fr 1fr;gap:80px;align-items:center}.auth-intro h1{font-size:40px}.auth-intro p{font-size:16px;color:var(--muted);max-width:420px;line-height:1.7}.auth-route-art{height:165px;background:radial-gradient(circle,#c8d9c8 1px,transparent 1px);background-size:17px 17px;display:grid;place-items:center;max-width:380px;border-radius:10px}.auth-route-art .icon{width:110px;height:110px;color:var(--green);opacity:.7}.auth-card{padding:32px}.auth-card h2{font-size:23px}.auth-card .button{margin-top:10px}.setup-wrap{max-width:1140px;margin:auto;padding:48px 30px}.setup-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:30px;margin-top:32px;align-items:start}.setup-checks,.setup-form,.settings-form,.accounts-list{padding:28px}.setup-checks{position:sticky;top:20px}.check-list{list-style:none;padding:0;margin:24px 0}.check-list li{display:flex;gap:10px;align-items:center;margin:14px 0;font-size:12px}.check-list li.good{color:var(--green)}.check-list li.bad{color:var(--danger)}.setup-form h2,.settings-form h2{font-size:18px;margin:30px 0 20px}.setup-form h2:first-of-type,.settings-form h2:first-of-type{margin-top:0}.settings-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:28px;align-items:start;margin-top:32px}.settings-grid aside{display:grid;gap:28px}.accounts-list h2{font-size:18px}.account-row{display:grid;gap:4px;padding:13px 0;border-bottom:1px solid var(--line)}.account-row:last-child{border-bottom:0}.account-row strong{font-size:13px}.account-row span{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.profile-wrap{max-width:620px;margin:45px auto;padding:0 24px}.profile-wrap .settings-form{margin-top:30px}
@media(max-width:1100px){.event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-heading h1{max-width:270px}.editor-workspace{grid-template-columns:320px minmax(0,1fr)}.editor-head{padding:14px}.editor-actions .button span{display:none}.public-layout{grid-template-columns:minmax(0,1fr) 270px}.auth-wrap{gap:40px}}
@media(max-width:760px){.site-header{height:62px;padding:0 16px;gap:10px}.brand{font-size:15px;gap:8px}.brand>span:last-child{max-width:190px}.brand-symbol{width:31px;height:31px;border-radius:8px}.header-nav{gap:5px}.header-nav .nav-link{display:none}.account-link span{display:none}.account-link .icon{width:19px}.dashboard-wrap,.public-wrap,.settings-wrap{padding:30px 18px 50px}.dashboard-hero{display:block;margin:0 0 24px}.dashboard-hero .button{margin-top:24px}.lead{font-size:15px}.summary-row{gap:18px;flex-wrap:wrap;font-size:11px;margin-bottom:22px}.summary-row strong{font-size:16px}.event-grid{grid-template-columns:1fr}.event-card h2{font-size:22px}.empty-events{padding:40px 20px}.editor-wrap{height:auto;min-height:calc(100dvh - 62px)}.editor-head{flex-wrap:wrap;padding:12px 14px;gap:10px;position:sticky;top:0;z-index:600}.editor-heading{width:100%;gap:6px}.editor-heading h1{max-width:calc(100vw - 90px);font-size:18px}.editor-heading>.icon-button{width:27px}.editor-actions{width:100%;justify-content:flex-end;gap:4px}.editor-actions .button span{display:inline}.editor-actions .button{padding:7px 8px;font-size:11px}.editor-actions .icon-button{margin-right:auto;width:30px}.editor-actions .icon-button+ .icon-button{margin-right:0}.editor-actions .icon-button#history{margin-right:6px}.editor-workspace{display:flex;flex-direction:column}.map-workspace{order:0;height:55dvh;min-height:360px}.editor-panel{order:1;border-right:0;border-top:1px solid var(--line);overflow:visible}.panel-tabs{top:0;z-index:550}.panel-section{padding:22px}.map-search{left:12px;top:12px;max-width:calc(100% - 70px)}.map-metrics{left:12px;bottom:65px;min-width:145px;padding:10px 13px;max-width:210px}.map-metrics strong{font-size:25px}.map-instruction{max-width:calc(100% - 80px);bottom:22px;font-size:10px;padding:8px 10px}.map-buttons{right:12px;bottom:35px}.public-intro{display:block}.public-intro>.button{margin-top:24px}.public-layout{grid-template-columns:1fr}.public-map{height:55dvh;min-height:350px}.public-meta{gap:13px}.public-story{grid-template-columns:1fr}.preview-notice{flex-wrap:wrap}.auth-wrap{display:block;margin:35px auto;padding:0 20px;max-width:500px}.auth-intro h1{font-size:32px}.auth-intro .auth-route-art{display:none}.auth-intro p{font-size:14px}.auth-card{padding:25px;margin-top:30px}.setup-wrap{padding:30px 20px}.setup-layout,.settings-grid{grid-template-columns:1fr;gap:24px}.setup-checks{position:static}.setup-checks,.setup-form,.settings-form,.accounts-list{padding:23px}.setup-checks .check-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.check-list li{margin:0;font-size:11px}.modal-head{padding:18px}.modal-body{padding:20px;max-height:calc(90dvh - 145px)}.modal-footer{padding:15px 20px}.toasts{left:16px;right:16px;bottom:16px;max-width:none}.conflict-notice{align-items:flex-start;flex-direction:column;font-size:12px}.form-grid{gap:12px}.leaflet-control-attribution{font-size:8px!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* GeoKoz 0.2 — route guidance, sortable stages and sharing controls. */
.publication-controls{display:flex;align-items:center;gap:10px;padding-left:9px;border-left:1px solid var(--line)}
.publish-switch{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:650;cursor:pointer;white-space:nowrap}
.publish-switch input{position:absolute;opacity:0;width:1px;height:1px}
.switch-track{display:inline-block;width:34px;height:20px;background:#cbd3ce;border-radius:12px;position:relative;transition:background .16s}
.switch-track:after{content:'';position:absolute;width:14px;height:14px;top:3px;left:3px;background:white;border-radius:50%;transition:transform .16s;box-shadow:0 1px 3px #18342b33}
.publish-switch input:checked+.switch-track{background:var(--green)}
.publish-switch input:checked+.switch-track:after{transform:translateX(14px)}
.publish-switch input:focus-visible+.switch-track{outline:2px solid var(--green);outline-offset:3px}
.publish-switch input:disabled~span{opacity:.5;cursor:default}
.visibility-field select{font:inherit;font-size:11px;max-width:175px;padding:8px 9px;background:#fff;border:1px solid var(--line);border-radius:5px;color:var(--ink)}
.waypoint .drag-handle{width:19px;flex-shrink:0;font-size:20px;cursor:grab;touch-action:none;user-select:none;color:var(--muted)}
.waypoint .drag-handle:active{cursor:grabbing}.waypoint.is-dragging{opacity:.3}
.waypoint.drop-before:before,.waypoint.drop-after:after{content:'';position:absolute;left:0;right:0;height:3px;background:var(--green);border-radius:2px}
.waypoint.drop-before:before{top:-8px}.waypoint.drop-after:after{bottom:-8px}
.waypoint.guide{background:#f7f8f5;border-style:dashed;margin-left:17px;padding:9px 8px}
.waypoint.guide .point-badge{width:20px;height:20px;background:#dfe8de}
.waypoint-kind{display:block;margin:7px 0 0 49px;max-width:calc(100% - 49px);padding:3px 0;border:0;background:transparent;font:inherit;font-size:10px;color:var(--muted)}
.waypoint-kind:disabled{opacity:1}.waypoint .segment-controls,.waypoint .segment-message{margin-left:49px}
.sort-ghost{position:fixed;z-index:2000;pointer-events:none;opacity:.94;box-shadow:0 9px 26px #122f2940;transform:rotate(-1deg);margin:0}
.map-marker.guide{border:2px solid white;background:#56776c;font-size:17px;box-shadow:0 1px 5px #123a2450}
.map-marker.search-pin{background:#3264a3;box-shadow:0 0 0 6px #3264a333;font-size:19px}
.search-place-actions{display:grid;gap:6px;margin-top:13px}.search-place-actions .button{font-size:11px;white-space:normal;width:100%}
#add-guide.active{background:var(--green);color:#fff}
@media(min-width:761px) and (max-width:1250px){.editor-head{flex-wrap:wrap}.editor-actions{margin-left:auto}.editor-heading h1{max-width:380px}}
@media(max-width:760px){.editor-actions{flex-wrap:wrap;justify-content:flex-start}.publication-controls{margin-left:auto;border-left:0;padding-left:0;gap:8px}.visibility-field select{font-size:10px;max-width:160px;padding:7px}.editor-subline{flex-wrap:wrap}.publish-switch{font-size:11px}.editor-actions .icon-button#history{margin-right:auto}.waypoint.guide{margin-left:13px}}
