:root{--paper:#f7f6f1;--ink:#233c32;--muted:#6c756e;--line:#e1e5db;--green:#254c3c;--orange:#ba714b;--white:#fff;--radius:18px;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,.button-label{cursor:pointer}button,a,input,textarea{touch-action:manipulation}button{border:1px solid var(--line);background:#fff;color:var(--ink);padding:11px 17px;border-radius:8px;font-size:13px;font-weight:600}button:hover,.button-label:hover{background:#eef2e9}a{color:var(--ink);text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #c67c52;outline-offset:3px}.dark{background:var(--green);border-color:var(--green);color:white}.dark:hover{background:#173d2b}.masthead{height:100px;margin:0 4.5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:16px}.brand{text-decoration:none;display:flex;gap:12px;align-items:center;font-size:15px;font-weight:700;letter-spacing:2px}.brandmark{font-family:Georgia,serif;font-size:49px;letter-spacing:-4px;background:#e7ecdf;border-radius:50%;width:54px;height:54px;line-height:43px;text-align:center;padding-right:6px;font-weight:400}.brand-sub{display:block;font-size:9px;letter-spacing:3px;font-weight:400;margin-top:5px}.prototype{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:7px}.prototype i,.small-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#8c9f72}.header-actions{display:flex;gap:9px}main{margin:0 4.5%}.intro{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;padding:42px 0 25px}.eyebrow{font-size:10px;letter-spacing:2.1px;font-weight:700;color:#738168}h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(30px,3.4vw,48px);line-height:1.1;font-weight:400;letter-spacing:-1.4px;margin:12px 0}.intro p{font-size:14px;color:var(--muted);margin:0;line-height:1.6}.view-tabs{display:flex;gap:5px;border:1px solid var(--line);padding:5px;border-radius:10px;flex-shrink:0}.view-tabs button{border:0;background:transparent;white-space:nowrap;font-size:12px}.view-tabs button[aria-pressed=true]{background:var(--green);color:white}.sample-notice{display:flex;gap:9px;align-items:center;font-size:11px;color:#78735f;margin-bottom:14px;line-height:1.5}.sample-notice>span:first-child{font-size:19px}.explorer{display:grid;grid-template-columns:310px minmax(0,1fr);border:1px solid #dce1d5;border-radius:var(--radius);overflow:hidden;height:610px;background:white;box-shadow:0 8px 32px #293e2506}.sidebar{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line);z-index:2;background:#fff}.sidebar-top{padding:23px 21px 15px}.search-label{display:block;font:400 22px Georgia,serif;margin-bottom:18px}.search-wrap{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;background:#fafbf8;padding:0 11px;gap:8px}.search-wrap span{font-size:24px;color:#82917d}.search-wrap input{border:0;background:transparent;padding:12px 0;width:100%;min-width:0;font-size:12px;color:var(--ink)}.filters{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}.filters button{font-size:10px;font-weight:400;padding:8px 10px;border-radius:20px}.filters button[aria-pressed=true]{background:#e8eedf;border-color:#bbc9ac;font-weight:700}.list-heading{display:flex;justify-content:space-between;align-items:center;margin:0 21px;padding:15px 0 12px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.text-button{font-size:10px;border:0;padding:0;background:transparent;font-weight:400;color:var(--muted);text-decoration:underline}.place-list{overflow-y:auto;flex:1;padding:0 9px 14px}.place{width:100%;display:flex;gap:13px;text-align:left;border:0;background:white;border-radius:8px;padding:15px 12px;align-items:flex-start;font-weight:400}.place[aria-pressed=true]{background:#f0f3e9}.place-icon{width:34px;height:34px;border-radius:50%;background:var(--tint,#ebeedf);color:var(--marker,#44694e);display:grid;place-items:center;flex-shrink:0;font-size:15px;font-weight:700}.place-copy{flex:1;min-width:0}.place-name{display:block;font-size:13px;line-height:1.4;font-weight:600;margin-bottom:5px}.place-category{display:block;font-size:10px;color:var(--muted)}.place-arrow{color:#8a927f;font-size:17px;align-self:center}.sidebar-foot{padding:17px 21px;display:flex;gap:8px;align-items:center;font-size:10px;color:var(--muted);border-top:1px solid var(--line)}.map-wrap{position:relative;min-width:0;background:#e9eee1}.map-wrap #map{position:absolute;inset:0;z-index:1;background:#e6eada}.map-title{position:absolute;left:23px;top:21px;z-index:450;pointer-events:none;background:#fffffff2;border:1px solid #ffffff;padding:13px 17px;border-radius:10px;box-shadow:0 3px 15px #23432912}.map-kicker{font-size:8px;letter-spacing:1.7px;display:block;margin-bottom:5px;color:var(--muted)}.map-title strong{font:400 20px Georgia,serif}.map-actions{position:absolute;z-index:450;right:20px;bottom:42px;display:flex;flex-direction:column;gap:6px;align-items:flex-end}.map-actions button{box-shadow:0 2px 10px #263e2414}.map-actions #fit{font-size:23px;width:38px;padding:5px;height:38px}.map-actions #route{font-size:10px;padding:10px}.map-actions #route[aria-pressed=false]{opacity:.7}.map-helper{position:absolute;z-index:450;left:20px;bottom:30px;background:#fffffff2;color:#737e6f;font-size:10px;border-radius:5px;padding:8px 10px;pointer-events:none}.detail{position:absolute;z-index:460;right:20px;bottom:110px;width:min(290px,calc(100% - 40px));background:#fff;border-radius:13px;box-shadow:0 8px 35px #243b2e26;padding:23px}.detail-close{position:absolute;top:6px;right:7px;border:0;background:transparent;padding:4px 9px;font-size:22px;font-weight:400}.detail-category{font-size:9px;text-transform:uppercase;letter-spacing:1.5px;color:var(--orange);padding-right:15px}.detail h2{font:400 25px/1.2 Georgia,serif;margin:12px 0}.detail p{font-size:12px;line-height:1.7;color:var(--muted);margin-bottom:16px}.detail-meta{font-size:10px;border-top:1px solid var(--line);padding-top:13px;color:#8b806c;line-height:1.6}.detail a{display:inline-block;font-size:12px;margin-top:14px}.detail a[hidden]{display:none}.map-error{position:absolute;z-index:450;top:110px;left:20px;right:20px;background:#fff7e3;padding:12px 15px;border-radius:7px;font-size:12px;line-height:1.5}.leaflet-top.leaflet-right{top:16px;right:10px}.leaflet-control-zoom{border:0!important;box-shadow:0 2px 12px #263e241c!important}.leaflet-control-zoom a{color:var(--ink)!important;width:36px!important;height:36px!important;line-height:36px!important;font-weight:400!important}.leaflet-control-attribution{font-size:9px!important;background:#ffffffeb!important;max-width:90%;line-height:1.5!important}.custom-pin{background:transparent;border:0}.pin-inner{display:grid;place-items:center;width:36px;height:36px;border:3px solid white;border-radius:50% 50% 50% 8px;transform:rotate(-45deg);background:var(--marker);color:#fff;box-shadow:0 2px 7px #1c392845;transition:scale .15s}.pin-inner span{transform:rotate(45deg);font-family:Arial,sans-serif;font-size:14px;font-weight:700}.pin-inner.selected{outline:3px solid #cfad72;scale:1.18}.anchor-pin{display:grid;place-items:center;width:44px;height:44px;border:4px solid #fff;background:#244c3b;border-radius:50%;color:#fff;box-shadow:0 3px 12px #2d432740;font:32px Georgia,serif}.leaflet-tooltip{color:#2d4436;font-family:Arial,sans-serif;border:0;box-shadow:0 2px 12px #21372118}.page-footer{display:flex;align-items:center;justify-content:space-between;padding:25px 0 30px;font-size:11px;color:var(--muted);line-height:1.9;gap:15px}.page-footer strong{font-weight:600;color:#4b6050}.page-footer a{font-size:11px}.page-footer span{margin-left:15px}dialog{border:1px solid var(--line);border-radius:17px;padding:28px;width:min(660px,calc(100% - 24px));color:var(--ink);max-height:90vh;box-shadow:0 20px 90px #152b3940}dialog::backdrop{background:#152c246b;backdrop-filter:blur(4px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:15px}.dialog-top h2{font:30px Georgia,serif;margin:0}.dialog-top button{border:0;font-size:26px;padding:3px 8px;font-weight:400}.muted{font-size:13px;line-height:1.7;color:var(--muted)}.settings-actions{display:flex;gap:8px;margin:20px 0;flex-wrap:wrap}.button-label{display:inline-block;border:1px solid var(--line);border-radius:8px;padding:11px 17px;background:white;font-size:12px;font-weight:600}.field-label{display:block;font-size:12px;font-weight:700;margin-top:18px}.hint{font-size:11px;color:var(--muted);line-height:1.6}.upload-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:15px}.check-label{display:flex;gap:8px;margin-top:18px;font-size:12px;align-items:center}.check-label input{accent-color:var(--green)}textarea{width:100%;border:1px solid var(--line);border-radius:8px;background:#f8faf5;padding:13px;font:11px/1.7 monospace;color:var(--ink);resize:vertical;margin-top:9px}.dialog-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px}.dialog-bottom a{font-size:12px}.status{font-size:12px;color:#9e543a;line-height:1.6;min-height:1em}.empty{font-size:13px;color:var(--muted);padding:22px;line-height:1.8}#toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);background:var(--ink);color:white;padding:14px 22px;border-radius:8px;z-index:2000;font-size:12px;max-width:90vw}body.embed .masthead,body.embed .intro,body.embed .page-footer{display:none}body.embed main{margin:0}body.embed .sample-notice{margin:0;padding:8px 15px;background:#f7f6f1}body.embed .explorer{height:calc(100dvh - 44px);border-radius:0;min-height:440px}body.event-mode .map-wrap{background:#e8eddc}body.event-mode #map{background:#e8eddc}@media(min-width:1500px){main,.masthead{max-width:1450px;margin-left:auto;margin-right:auto}.explorer{height:680px}}@media(max-width:1000px){.intro{align-items:flex-start;flex-direction:column;gap:20px;padding-top:28px}.explorer{grid-template-columns:270px minmax(0,1fr)}.sidebar-top{padding-left:16px;padding-right:16px}.prototype{display:none}.map-title{left:15px;top:18px}}@media(max-width:680px){.masthead{height:82px;margin:0 5%}.brand{font-size:11px;gap:8px}.brandmark{width:42px;height:42px;line-height:35px;font-size:38px}.brand-sub{font-size:7px}.header-actions button{padding:9px 11px;font-size:10px}main{margin:0 5%}.intro{padding-top:27px;gap:20px}h1{font-size:35px}.intro p{font-size:12px}.eyebrow{font-size:8px}.view-tabs{width:100%}.view-tabs button{flex:1;font-size:11px}.sample-notice{font-size:10px;align-items:flex-start}.explorer{display:flex;flex-direction:column;height:auto}.map-wrap{order:0;height:430px;flex-shrink:0}.sidebar{order:1;border:0;border-top:1px solid var(--line);max-height:450px}.sidebar-top{padding:20px 16px 12px}.search-label{font-size:23px;margin-bottom:12px}.filters{margin-top:12px}.place-list{max-height:240px}.place{padding:12px}.map-title strong{font-size:17px}.map-title{padding:10px 13px}.map-helper{left:10px;bottom:30px;font-size:8px}.map-actions{right:12px}.detail{right:12px;bottom:95px;width:min(280px,calc(100% - 24px));padding:20px}.detail h2{font-size:23px}.detail p{font-size:11px}.page-footer{align-items:flex-start;flex-direction:column;padding-top:15px}.page-footer p{margin-bottom:0}dialog{padding:21px}.dialog-top h2{font-size:25px}body.embed .explorer{height:auto;min-height:0}body.embed .map-wrap{height:400px}body.embed .sidebar{max-height:380px}body.embed .sample-notice{font-size:10px}}
:where([hidden]){display:none!important}
/* Map appearance and dimension controls */
.map-style-controls{position:absolute;z-index:450;top:108px;left:23px;display:flex;align-items:center;gap:7px;flex-wrap:wrap;max-width:310px;padding:11px 13px;background:#fffffff5;border:1px solid #e2e7df;border-radius:10px;box-shadow:0 3px 15px #23432912}.map-style-controls>label{font-size:9px;letter-spacing:.2px;color:#6c756e}.map-style-controls select{font:600 11px Arial,sans-serif;color:#233c32;border:0;background:#f1f4ed;border-radius:5px;padding:8px 20px 8px 8px;max-width:145px;cursor:pointer}.dimension-controls{display:flex;border:1px solid #e1e5db;border-radius:6px;padding:2px;gap:2px}.dimension-controls button{border:0;padding:7px 8px;font-size:10px;font-weight:600;border-radius:4px;background:transparent}.dimension-controls button[aria-pressed=true]{background:#254c3c;color:#fff}.style-status{flex-basis:100%;font-size:9px;color:#6c756e;line-height:1.4}.style-status:empty{display:none}.map-style-controls select:focus-visible{outline:3px solid #c67c52;outline-offset:2px}.maplibregl-ctrl-top-right{top:16px;right:10px}.maplibregl-ctrl-group{box-shadow:0 2px 12px #263e241c!important;border-radius:5px!important}.maplibregl-ctrl-group button{width:36px;height:36px}.maplibregl-ctrl-attrib{font:9px/1.5 Arial,sans-serif!important;background:#fffffff0!important;max-width:calc(100% - 15px)}.maplibregl-ctrl-bottom-right{max-width:94%}.vector-pin{width:36px;height:36px;cursor:pointer;outline:none;z-index:2}.vector-pin:focus-visible{outline:3px solid #c67c52;outline-offset:5px;border-radius:50%}.vector-pin .pin-inner{pointer-events:none}.maplibregl-marker{z-index:2}.map-wrap:has(.maplibregl-map) .map-error{top:200px}.maplibregl-canvas{outline:none}@media(max-width:1000px){.map-style-controls{left:15px;top:106px}}@media(max-width:680px){.map-style-controls{top:89px;left:15px;max-width:calc(100% - 78px);padding:8px;gap:5px}.map-style-controls>label{display:none}.map-style-controls select{font-size:10px;max-width:128px}.dimension-controls button{padding:6px 7px}.style-status{font-size:8px}.maplibregl-ctrl-attrib{font-size:8px!important}.map-wrap:has(.maplibregl-map) .map-error{top:172px}}
/* Visual configuration editor */
.visual-editor{width:min(820px,calc(100% - 24px));padding:0;max-height:92dvh}.visual-editor[open]{display:flex;flex-direction:column;overflow:hidden}.visual-editor>.dialog-top{padding:22px 26px 9px}.visual-editor>.dialog-top .eyebrow{margin-bottom:8px}.editor-save-note{margin:0;padding:0 26px 14px;font-size:12px;color:var(--muted);line-height:1.6}.editor-context{display:flex;align-items:center;gap:12px;padding:0 26px 15px;font-size:12px}.editor-context select{flex:1;background:#f4f7ef;color:var(--ink);border:1px solid var(--line);padding:10px;border-radius:7px;font:inherit}.editor-tabs{display:flex;gap:4px;padding:0 22px 13px;border-bottom:1px solid var(--line)}.editor-tabs button{flex:1;border:0;background:transparent;padding:11px 8px;font-size:12px;white-space:nowrap}.editor-tabs button[aria-pressed=true]{background:#e8eedf;color:#233c32}#editor-content{overflow-y:auto;padding:20px 26px;min-height:220px;max-height:calc(92dvh - 285px)}.editor-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:16px 26px;gap:15px;background:#f8faf5}.visual-editor>.status{margin:0;padding:0 26px 12px;flex-shrink:0}.visual-editor>.status:empty{padding:0;min-height:0}.editor-field{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:12px;font-weight:600;color:#344b3b}.editor-field>input,.editor-field>select,.editor-field>textarea{width:100%;border:1px solid #d9e0d2;border-radius:7px;padding:11px 12px;color:#233c32;background:#fff;font:400 13px/1.5 Arial,sans-serif;margin:0}.editor-field>input[type=color]{height:43px;padding:5px 7px;cursor:pointer}.editor-field>textarea{min-height:90px;resize:vertical}.editor-field>input:focus-visible,.editor-field>select:focus-visible,.editor-field>textarea:focus-visible{outline:3px solid #c67c52;outline-offset:2px}.editor-section{display:flex;flex-direction:column;gap:15px;margin-top:24px;padding-top:23px;border-top:1px solid var(--line)}.editor-section h3{font-size:16px;margin:0;font-weight:600}.editor-section .hint{margin:0}.editor-section>.check-label{margin:0}.editor-row{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap}.editor-row>.editor-field{flex:1;min-width:180px}.editor-row>button{align-self:center}.editor-location-picker{display:flex;align-items:flex-end;gap:12px}.editor-location-picker>.editor-field{flex:1}.type-editor-card{padding:18px;display:flex;flex-direction:column;gap:14px;background:#f7f9f3;border:1px solid #e1e7da;border-radius:10px}.type-editor-card .check-label{margin:0}.danger-text{color:#a14237;background:transparent;border-color:#e5d3ce;margin-top:15px}.type-editor-card .danger-text{margin:0}.theme-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.theme-preview{border:1px solid;padding:20px;border-radius:10px;display:flex;align-items:center;flex-wrap:wrap;gap:12px}.theme-preview strong{font:23px Georgia,serif}.theme-preview span{font-size:12px;flex-basis:100%}.theme-preview b{font-size:12px;border-radius:20px;padding:10px 15px}.editor-icon-preview{width:44px;height:44px;object-fit:contain;border:1px solid var(--line);padding:5px;border-radius:7px}.raw-editor summary{font-size:12px;cursor:pointer;padding:14px 0}.raw-editor textarea{font:11px/1.7 monospace}.position-toolbar{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:2200;display:flex;align-items:center;gap:12px;padding:13px 16px;border-radius:12px;background:#244835;color:#fff;box-shadow:0 6px 25px #0003;max-width:calc(100% - 30px);width:max-content;font-size:12px}.position-toolbar button{padding:8px 12px;white-space:nowrap}.picking-position,.picking-position .maplibregl-canvas{cursor:crosshair!important}.pin-inner>.pin-face{transform:rotate(45deg);display:grid;place-items:center;width:24px;height:24px}.pin-inner>.pin-face>span{transform:none}.custom-pin-image{width:22px;height:22px;object-fit:contain;display:block}.place-icon .custom-pin-image{width:23px;height:23px}.map-pin-label{position:absolute;left:43px;top:7px;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 7px;border-radius:4px;background:#fffffff0;color:#273d33;box-shadow:0 1px 5px #1830201c;font:600 11px/1.4 Arial,sans-serif;pointer-events:none}.pin-name-label{max-width:175px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px!important;font-weight:600;color:#273d33!important;background:#fffffff0!important;padding:4px 7px!important}.vector-pin:focus-visible{outline-offset:4px}
/* Theme only the filter/list menu, keeping the map and attribution unaffected. */
.sidebar{background:var(--menu-background,#fff);color:var(--menu-text,#233c32);border-color:var(--menu-border,#e1e5db)}.sidebar .search-wrap{background:var(--menu-chip,#fafbf8);border-color:var(--menu-border,#e1e5db)}.sidebar .search-wrap input{color:var(--menu-text,#233c32)}.sidebar .search-wrap input::placeholder{color:var(--menu-muted,#6c756e);opacity:1}.sidebar .search-wrap span,.sidebar .list-heading,.sidebar .text-button,.sidebar .sidebar-foot,.sidebar .empty{color:var(--menu-muted,#6c756e)}.sidebar .list-heading,.sidebar .sidebar-foot{border-color:var(--menu-border,#e1e5db)}.sidebar .filters button{background:var(--menu-chip,#fff);color:var(--menu-chipText,#233c32);border-color:var(--menu-border,#e1e5db)}.sidebar .filters button[aria-pressed=true]{background:var(--menu-active,#e8eedf);color:var(--menu-activeText,#233c32)}.sidebar .place{background:transparent;color:var(--menu-text,#233c32)}.sidebar .place:hover{background:var(--menu-chip,#f0f3e9);color:var(--menu-chipText,#233c32)}.sidebar .place-category,.sidebar .place-arrow{color:var(--menu-muted,#6c756e)}.sidebar .place[aria-pressed=true],.sidebar .place[aria-pressed=true]:hover{background:var(--menu-active,#e8eedf);color:var(--menu-activeText,#233c32)}.sidebar .place[aria-pressed=true] .place-category,.sidebar .place[aria-pressed=true] .place-arrow{color:var(--menu-activeText,#233c32)}.map-title{max-width:calc(100% - 90px)}.map-title strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map-title .map-kicker{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:680px){.visual-editor{width:calc(100% - 14px);max-height:96dvh}.visual-editor>.dialog-top{padding:18px 17px 10px}.editor-save-note{padding:0 17px 12px;font-size:11px}.editor-context{padding:0 17px 12px}.editor-tabs{padding:0 10px 10px;gap:1px;overflow-x:auto}.editor-tabs button{font-size:10px;padding:10px 6px}#editor-content{padding:15px 17px;max-height:calc(96dvh - 290px)}.editor-footer{padding:13px 17px;gap:8px}.editor-footer button{font-size:11px;padding:11px 13px}.visual-editor>.status{padding-left:17px;padding-right:17px}.editor-row>.editor-field{min-width:130px}.editor-field>input,.editor-field>textarea,.editor-field>select{font-size:16px}.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-location-picker{align-items:stretch;flex-direction:column}.editor-location-picker>button{align-self:flex-start}.position-toolbar{width:calc(100% - 24px);gap:8px;flex-wrap:wrap;bottom:12px}.position-toolbar>span{flex-basis:100%}.map-pin-label,.pin-name-label{max-width:125px;font-size:10px!important}.type-editor-card{padding:13px}}

/* Saved map embeds */
.editor-save-actions{display:flex;gap:8px;flex-wrap:wrap}.editor-footer{flex-wrap:wrap}.edit-location{display:block;margin-top:15px;padding:9px 12px;font-size:11px}body.embed .edit-location{display:none}.embed-host{display:block;width:100%;padding:12px;margin-top:9px;border:1px solid var(--line);border-radius:8px;color:var(--ink);font:inherit}.embed-summary{padding:13px 15px;border:1px solid #d7e1cf;border-radius:9px;background:#f1f6ea;font-size:12px;line-height:1.7}.embed-downloads{flex-wrap:wrap}.embed-downloads button{font-size:12px}button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:680px){.editor-save-actions{width:100%}.editor-save-actions button{flex:1}.embed-host{font-size:16px}.editor-footer{padding:10px 17px;gap:6px}.editor-footer>#export-config{padding:5px 0;border:0;background:transparent;font-weight:400;text-decoration:underline}.visual-editor #editor-content{max-height:calc(96dvh - 330px)}}
/* Geographic event map and path editing */
.event-source-control{position:absolute;z-index:700;left:25px;top:93px;display:flex;align-items:center;gap:8px;background:#fffffff2;border:1px solid #dce2d7;border-radius:9px;padding:8px 11px;font-size:11px;box-shadow:0 2px 9px #243c3220}.event-source-control select{border:0;background:transparent;color:#233c32;font:inherit;padding:4px;max-width:170px}.event-mode .map-style-controls{top:146px}.event-mode .map-error{top:226px!important}.map-actions{max-width:calc(100% - 100px);flex-wrap:wrap;justify-content:flex-end}.map-actions button{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.path-vertex{display:flex;justify-content:center;align-items:center;width:28px;height:28px;min-width:28px;padding:0;border:2px solid #ffffff;border-radius:50%;background:#244835;color:white;font:bold 11px Arial,sans-serif;box-shadow:0 1px 6px #0006;cursor:grab}.path-vertex:focus-visible{outline:3px solid #e7ac65;outline-offset:3px}.path-handle{background:transparent}.drawing-path,.drawing-path .maplibregl-canvas{cursor:crosshair}.path-toolbar{z-index:2400}.drawing-path .path-vertex{cursor:grab}.embed #draw-path,.embed #path-toolbar{display:none!important}.editor-tabs{overflow-x:auto}.editor-tabs button{flex-shrink:0}button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:1000px){.event-source-control{left:15px;top:102px}.event-mode .map-style-controls{top:152px}}
@media(max-width:680px){.event-source-control{top:85px;left:15px;padding:6px 8px;font-size:10px;max-width:calc(100% - 78px)}.event-mode .map-style-controls{top:130px}.event-mode .map-error{top:213px!important}.map-actions button{max-width:170px}.path-toolbar{padding:12px}.path-toolbar>span{line-height:1.5}.editor-tabs{padding-left:12px;padding-right:12px}.editor-tabs button{font-size:11px;padding:10px 8px}}

/* Named event paths are discoverable alongside event locations. */
.sidebar-path{margin:8px 3px 4px;border-top:1px solid var(--menu-border,var(--line));padding-top:8px}.sidebar-path .place{padding-bottom:9px}.path-line-swatch{display:block;width:21px;border-top:3px solid;transform:rotate(-30deg)}.sidebar-path .rename-path{display:block;margin:0 12px 10px 59px;color:var(--menu-text,var(--ink));padding:4px 0;background:transparent;font-size:11px}.path-toolbar{flex-wrap:wrap;width:min(820px,calc(100% - 30px))}.path-name-field{display:flex;flex-direction:column;gap:6px;flex:1 1 200px;min-width:0;order:0}.path-name-field>span{font-size:11px;font-weight:600}.path-name-field input{width:100%;min-width:0;border:1px solid #ccd7ce;border-radius:6px;background:#fff;color:#233c32;padding:9px 11px;font-size:13px}.path-toolbar>button{order:1;align-self:flex-end}.path-toolbar>#path-instruction{order:2;flex-basis:100%;font-size:11px;line-height:1.5}.path-name-field input:focus-visible{outline:3px solid #e7ac65;outline-offset:2px}
@media(max-width:680px){.path-name-field{flex-basis:100%}.path-toolbar>button{flex:1;padding:9px}.sidebar-path .rename-path{font-size:12px}}

/* Static image export */
.capture-dialog{width:min(920px,calc(100% - 24px));max-height:94dvh;overflow:auto}.capture-dialog .dialog-top h2{font-size:29px}.capture-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.capture-fields .check-label{margin:5px 0 13px;line-height:1.5}.capture-preview-wrap{background:#eceee7;border-radius:10px;overflow:auto;max-height:48dvh}.capture-preview-wrap:has(img[hidden]){display:none}.capture-preview-wrap img{display:block;width:100%;height:auto}.capture-dialog .dialog-bottom{position:sticky;bottom:-28px;background:#fff;padding:14px 0;margin-top:12px;border-top:1px solid #e1e5db}.capture-render-host{position:fixed!important;left:-20000px!important;top:0!important;pointer-events:none;overflow:hidden}.capture-dialog .status{min-height:1.5em}.capture-dialog input,.capture-dialog select{font-size:14px}
.capture-downloads{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:680px){.masthead{height:auto;min-height:82px;flex-wrap:wrap;padding:14px 0}.header-actions{width:100%;display:flex}.header-actions button{flex:1}.capture-fields{grid-template-columns:1fr}.capture-dialog .dialog-top h2{font-size:24px}.capture-dialog .dialog-bottom{bottom:-21px;flex-wrap:wrap;gap:10px}.capture-downloads{flex:1 1 100%}.capture-dialog .dialog-bottom button{flex:1;font-size:12px;padding:11px 8px}}

/* Visitor-facing embeds retain the saved map presentation. */
.embed-presentation{border:1px solid var(--line);border-radius:10px;margin:18px 0;padding:12px 16px}.embed-presentation legend{padding:0 6px;font-size:12px;font-weight:600}.embed-presentation .check-label{margin:6px 0}.embed-presentation .hint{margin:5px 0 14px}.embed-presentation .hint:last-child{margin-bottom:4px}
.embed-list-toolbar{display:none}body.embed .sample-notice,body.embed #map-style-controls,body.embed #event-source-control{display:none!important}body.embed .embed-list-toolbar{height:44px;display:flex;align-items:center;padding:5px 12px;gap:12px}body.embed #embed-toggle-locations{font-size:12px;padding:7px 12px;min-height:32px}body.embed.sidebar-collapsed .sidebar{display:none!important}body.embed.sidebar-collapsed .explorer{grid-template-columns:minmax(0,1fr)}body.embed .map-error{top:100px!important}html.embed-transparent,html.embed-transparent body.embed,html.embed-transparent body.embed main{background:transparent}html.embed-transparent body.embed .explorer{background:transparent;box-shadow:none}
@media(max-width:680px){body.embed .explorer{height:auto;min-height:calc(100dvh - 44px)}body.embed .map-wrap{height:clamp(320px,65dvh,500px)}body.embed .sidebar{min-height:240px;max-height:450px}body.embed.sidebar-collapsed .map-wrap{height:calc(100dvh - 44px);min-height:320px}}

/* Empty optional map titles should not leave a blank overlay in the embed. */
.map-title:has(#map-kicker:empty):has(#map-title:empty){display:none}
