*{box-sizing:border-box} [hidden]{display:none!important} :root{font-family:Arial,Helvetica,sans-serif;color:#18352e;background:#f5f6f2;font-synthesis:none;font-size:14px;--green:#176b5b;--border:#dce3dd;--muted:#64746c} body{margin:0} button,input,textarea,select{font:inherit} button,a,input,textarea,select{outline-offset:4px} button,.button{border:0;border-radius:8px;padding:11px 15px;font-weight:600;cursor:pointer;transition:background .15s;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px} button:disabled{opacity:.45;cursor:default} .primary{background:var(--green);color:white}.primary:hover:not(:disabled){background:#115143}.secondary{background:white;border:1px solid #cdd8d0;color:#26483e}.secondary:hover{background:#edf3ee}.quiet{color:#3d5e52;background:transparent}.quiet:hover{background:#e9eeea}.danger{color:#ad3834}.full{width:100%}a{color:var(--green)}h1,h2,h3,p{margin-top:0}h1{font-size:34px;letter-spacing:-1.2px;margin-bottom:12px}h2{font-size:21px;letter-spacing:-.4px}h3{font-size:16px}p{line-height:1.55}.muted{color:var(--muted)}.small{font-size:12px}.fine{font-size:12px;color:var(--muted);margin:25px 0 0;text-align:center}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#527468;display:block;margin-bottom:17px}.site-header{height:76px;padding:0 40px;display:flex;align-items:center;gap:28px;background:#fff;border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:24px;font-weight:800;letter-spacing:-1px;color:#153f33}.brand-symbol{border-radius:10px;background:#176b5b;color:white;width:38px;height:38px;display:grid;place-content:center;font-size:25px;position:relative}.brand-symbol span{position:absolute;right:5px;bottom:3px;color:#bde4ac}.header-caption{font-size:13px;color:var(--muted)}.account{margin-left:auto;display:flex;align-items:center;gap:15px;font-size:13px}.notice{position:fixed;top:85px;left:50%;transform:translateX(-50%);z-index:50;max-width:calc(100% - 24px);padding:13px 20px;background:#183f32;color:white;border-radius:10px;box-shadow:0 5px 25px #18352e22}.notice.error{background:#8c2929}.auth-layout{max-width:1110px;min-height:calc(100vh - 76px);padding:64px 30px;display:grid;grid-template-columns:1.2fr 1fr;gap:100px;align-items:center;margin:auto}.auth-intro h1{font-size:58px;line-height:1.04;letter-spacing:-2.8px}.auth-intro>p{max-width:400px;font-size:16px;color:#637069}.auth-card{background:white;padding:36px;border:1px solid var(--border);border-radius:18px;box-shadow:0 15px 50px #31544008}.auth-card h2{font-size:28px;margin-bottom:10px}.auth-card form{margin-top:28px}label{display:block;font-size:12px;font-weight:600;margin:0 0 16px}input:not([type=checkbox]):not([type=color]):not([type=range]),textarea,select{display:block;width:100%;padding:11px 12px;border:1px solid #ced8cf;border-radius:7px;background:#fff;color:#203f34;margin-top:7px;min-width:0}textarea{resize:vertical;line-height:1.5}input:focus,textarea:focus,select:focus{border-color:#2f8a6e;outline:2px solid #b8dccb}input[type=color]{display:block;width:100%;height:35px;padding:3px;border:1px solid var(--border);border-radius:6px;margin-top:7px;background:white}input[type=range]{display:block;width:100%;margin:14px 0;accent-color:var(--green)}.auth-link{display:block;text-align:center;margin-top:22px;font-size:13px}.form-error{color:#a72929;font-size:13px;min-height:1em}.registration-note{background:#f6f1de;padding:15px;border-radius:8px;color:#766333;font-size:13px}fieldset{border:0;padding:0;margin:0}fieldset:disabled{opacity:.55}.sample-map{height:215px;max-width:440px;border-radius:16px;background:repeating-linear-gradient(30deg,transparent 0 62px,#fff 63px 70px,transparent 71px 120px),repeating-linear-gradient(115deg,#e1e9db 0 70px,#fff 72px 81px,#e1e9db 83px 120px);position:relative;overflow:hidden;margin-top:24px}.sample-road{width:240px;height:90px;border-bottom:6px solid #d39b52;border-left:6px solid #d39b52;position:absolute;left:75px;top:60px;transform:rotate(-20deg);border-radius:0 0 0 30px}.sample-pin{position:absolute;top:44px;left:78px;background:#176b5b;color:white;border:4px solid white;box-shadow:0 4px 9px #18352e33;border-radius:50% 50% 50% 0;transform:rotate(-15deg);width:47px;height:47px;display:grid;place-content:center;font-size:30px;z-index:2}.sample-bubble{position:absolute;right:35px;bottom:47px;background:#fff;padding:10px 16px;border-radius:20px;color:#345245;box-shadow:0 3px 10px #18352e20;font-weight:bold;z-index:2}.sample-area{position:absolute;right:40px;top:22px;width:90px;height:65px;transform:rotate(-13deg);background:#d6ab6844;border:2px solid #c78b43}.intro-tags{display:flex;gap:15px;font-size:11px;color:var(--muted);margin-top:18px}.loading-screen{padding:80px;text-align:center;color:var(--muted)}.dashboard{max-width:1280px;margin:auto;padding:50px 40px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:30px}.section-heading .eyebrow{margin-bottom:12px}.section-heading p{margin-bottom:0}.count{font-size:17px;vertical-align:middle;color:#72877a;background:#e5ebe4;border-radius:20px;letter-spacing:0;padding:3px 10px}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.map-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.map-card{border:1px solid var(--border);background:#fff;border-radius:14px;overflow:hidden}.card-art{height:130px;background:repeating-linear-gradient(-24deg,#eaf0e5 0 42px,#fff 43px 49px,#eaf0e5 50px 94px);display:grid;place-content:center}.card-art span{font-size:43px;color:var(--green);background:#fff9;border-radius:16px;padding:3px 18px}.card-body{padding:20px}.card-body h2{font-size:19px;margin:12px 0;word-break:break-word}.card-body p{font-size:12px;color:var(--muted)}.card-footer{display:flex;justify-content:space-between;gap:10px;margin-top:18px}.badge{font-size:10px;background:#edf2ed;color:#62726a;padding:5px 8px;border-radius:5px;display:inline-block}.badge.live{background:#e0f1e8;color:#176b5b}.dashboard-note{font-size:13px;color:var(--muted);margin-top:30px}.editor-heading{min-height:76px;display:flex;align-items:center;gap:14px;padding:12px 22px;background:#fff;border-bottom:1px solid var(--border)}#map-title{margin:0;border-color:transparent;font-size:19px;font-weight:600;max-width:320px}.editor-heading .actions{margin-left:auto}.save-state{font-size:11px;color:var(--muted);max-width:150px}.editor-layout{height:calc(100dvh - 152px);min-height:430px;display:grid;grid-template-columns:310px minmax(0,1fr)}.editor-sidebar{overflow:auto;background:#fff;border-right:1px solid var(--border)}.sidebar-tabs{position:sticky;top:0;display:flex;padding:9px 10px;background:white;border-bottom:1px solid var(--border);z-index:2}.sidebar-tabs button{font-size:12px;flex:1;background:transparent;padding:10px 8px;color:var(--muted)}.sidebar-tabs button.active{background:#e5f0e9;color:var(--green)}.sidebar-panel{padding:21px 18px}.panel-heading h2{font-size:14px;margin-bottom:8px}.panel-heading{margin-bottom:15px}.feature-list{display:grid;gap:5px;max-height:190px;overflow:auto}.feature-item{display:flex;width:100%;gap:10px;justify-content:flex-start;padding:10px;border-radius:7px;background:#f5f7f3;text-align:left;font-weight:400;font-size:13px}.feature-item.selected{background:#e3f0e7;box-shadow:inset 0 0 0 1px #70a88b}.feature-item span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.feature-dot{width:22px;height:22px;border-radius:5px;display:grid;place-content:center;flex-shrink:0}.empty-copy{font-size:13px;color:var(--muted);border:1px dashed var(--border);padding:20px;margin-top:20px;border-radius:7px}.property-heading{display:flex;align-items:center;justify-content:space-between;margin:18px 0 8px;padding-top:12px;border-top:1px solid var(--border)}.property-heading h3{margin:0}.property-heading button{font-size:11px;padding:8px}.field-row{display:flex;gap:10px;align-items:end}.field-row>label{flex:1;min-width:0}.field-row>button{margin-bottom:16px;padding:11px 8px;font-size:11px}.check{display:flex;align-items:center;gap:9px;margin-top:22px}.check input{accent-color:var(--green);width:18px;height:18px}hr{border:0;border-top:1px solid var(--border);margin:24px 0}.canvas-wrap{position:relative;min-width:0;min-height:0}#editor-map{position:absolute;inset:0}.drawing-toolbar{position:absolute;top:16px;left:18px;display:flex;background:white;border:1px solid var(--border);border-radius:11px;padding:5px;box-shadow:0 4px 20px #18352e14;gap:3px;max-width:calc(100% - 70px);z-index:3}.drawing-toolbar button{padding:10px;background:white;font-size:17px;min-width:34px;color:#335848}.drawing-toolbar button span{font-size:11px}.drawing-toolbar button.active{background:#e3f0e7;color:#176b5b}.toolbar-divider{width:1px;background:var(--border);margin:5px}.draw-help{position:absolute;bottom:25px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 30px);background:white;border:1px solid var(--border);border-radius:10px;padding:9px 12px;display:flex;align-items:center;gap:12px;font-size:12px;z-index:4;box-shadow:0 5px 20px #18352e22}.map-message{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:16px 20px;border-radius:10px;background:white;box-shadow:0 5px 25px #18352e22;z-index:5;max-width:90%;font-size:14px;text-align:center}.map-message.error{color:#9c3333;border:1px solid #f2d2cc}.mobile-panel{display:none}/* Pointed markers keep a fixed anchor box; the label never participates in sizing. */
.map-marker{padding:0;border:0;background:transparent;line-height:1;overflow:visible;isolation:isolate;min-width:0;min-height:0;gap:0;color:var(--marker-text);font-size:21px;box-shadow:none;user-select:none}
.marker-pin,.marker-bubble{width:40px;height:56px;border-radius:0}
.pin-shape{position:absolute;inset:0;overflow:visible;z-index:1;filter:drop-shadow(0 1px 2px #0003);pointer-events:none}
.pin-halo{fill:none;stroke:#2464df;stroke-width:3;opacity:0}
.marker-symbol{font-weight:bold;pointer-events:none}
.marker-pin .marker-symbol,.marker-bubble .marker-symbol{position:absolute;top:8px;left:8px;width:24px;height:24px;display:grid;place-items:center;z-index:2;color:#244238;font-size:19px}
.bubble-label{--caption-max-width:250px;position:absolute;left:30px;top:4px;z-index:0;display:block;padding:8px 12px 8px 17px;border-radius:0 8px 8px 0;background:#fffffff2;color:#20352f;box-shadow:0 1px 4px #0002;font-size:14px;font-weight:400;line-height:16px;max-width:min(var(--caption-max-width),var(--caption-room,250px));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
.marker-bubble.label-left .bubble-label{left:auto;right:30px;padding:8px 17px 8px 12px;border-radius:8px 0 0 8px}
.marker-icon{border:2px solid white;background:var(--marker-color);border-radius:8px;width:36px;height:36px;box-shadow:0 2px 8px #0004}
.map-marker.selected,.map-marker:focus-visible{z-index:2}
.marker-icon.selected,.marker-icon:focus-visible{outline:3px solid #2464df;outline-offset:3px}
.marker-pin:focus-visible,.marker-bubble:focus-visible{outline:none}
.map-marker.selected .pin-halo,.map-marker:focus-visible .pin-halo{opacity:1}
.vertex{width:16px;height:16px;min-width:0;padding:0;border:2px solid #2366df;border-radius:50%;background:white;box-shadow:0 1px 4px #0003;cursor:grab}.vertex.midpoint{width:19px;height:19px;font-size:14px;color:#245ddd;background:#eff5ff;border-width:1px;cursor:pointer}.maplibregl-popup-content{color:#234034;font-family:Arial,sans-serif;border-radius:10px;padding:16px;overflow-wrap:anywhere}.maplibregl-popup-content p{white-space:pre-wrap;margin:8px 0 0;font-size:13px}.maplibregl-popup-close-button{padding:0;font-size:18px;min-width:22px}.ruler{display:flex;align-items:center;min-height:32px}.ruler button{border-radius:0;font-size:21px;padding:0}.ruler button[aria-pressed=true]{background:#e0eee4}.ruler output{font:12px Arial;padding:0 10px;max-width:180px}.ruler output:empty{display:none}dialog{border:1px solid var(--border);border-radius:15px;padding:28px;max-width:calc(100vw - 28px);width:430px;color:#18352e;box-shadow:0 30px 90px #0003}dialog::backdrop{background:#19352877;backdrop-filter:blur(3px)}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.dialog-heading h2{margin:0}.embed-dialog{width:830px}.embed-dialog textarea{font:12px/1.7 monospace;background:#f4f6f2}.embed-dialog .actions{margin:16px 0}.preview-wrap{overflow:auto;max-height:430px;border:1px solid var(--border);border-radius:8px;background:#eef0ea}.preview-wrap iframe{border:0;display:block;max-width:100%}.viewer{margin:0;overflow:hidden;background:#e7ecdf}.viewer #viewer-map{position:absolute;inset:0}.viewer .map-message{z-index:10}body.editing .site-header{height:64px}body.editing .editor-layout{height:calc(100dvh - 140px)}
@media(min-width:1500px){.editor-layout{grid-template-columns:340px minmax(0,1fr)}}
@media(max-width:1000px){.auth-layout{gap:40px}.auth-intro h1{font-size:45px}.map-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-heading{gap:8px;flex-wrap:wrap;padding:8px 12px}#map-title{max-width:230px}.save-state{display:none}.editor-heading .actions button{font-size:12px;padding:9px}.drawing-toolbar button span{display:none}.header-caption{display:none}}
@media(max-width:650px){.site-header{padding:0 18px;height:64px}.brand{font-size:21px}.account{gap:4px}.account>span{display:none}.auth-layout{display:block;padding:35px 20px}.auth-intro{margin-bottom:28px}.auth-intro h1{font-size:39px}.auth-intro>p{font-size:14px}.auth-intro .sample-map,.intro-tags{display:none}.auth-card{padding:25px}.dashboard{padding:30px 18px}.section-heading{display:block}.section-heading .actions{margin-top:24px}.map-grid{grid-template-columns:1fr}.card-art{height:110px}.editor-heading{min-height:107px}.editor-heading #back{padding:9px 3px;font-size:11px}.editor-heading #map-title{flex:1;max-width:none;font-size:16px}.editor-heading .actions{width:100%;margin:0}.editor-heading .actions button{flex:1;padding:9px 5px;font-size:11px}.editor-layout,body.editing .editor-layout{display:block;height:calc(100dvh - 171px);min-height:360px}.canvas-wrap{width:100%;height:100%}.editor-sidebar{display:none;position:absolute;top:171px;bottom:0;left:0;width:min(310px,88vw);z-index:8;box-shadow:8px 0 30px #18352e44}.editor-sidebar.open{display:block}.drawing-toolbar{top:10px;left:10px;gap:0;padding:3px}.drawing-toolbar button{padding:7px;min-width:30px}.mobile-panel{display:block;position:absolute;bottom:20px;left:10px;z-index:9;font-size:12px}.draw-help{bottom:70px;gap:6px;flex-wrap:wrap;width:calc(100% - 20px);justify-content:center}.draw-help>span{width:100%;text-align:center}.bubble-label{--caption-max-width:190px}.dialog-heading h2{font-size:19px}dialog{padding:20px}.embed-dialog .actions button,.embed-dialog .actions a{font-size:12px}.sample-map{height:150px}}

.versions-dialog{width:min(760px,94vw)}.version-row{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--border)}.version-row p{margin:7px 0 0}.version-row .actions{flex-shrink:0}@media(max-width:650px){.version-row{align-items:stretch;flex-direction:column}}
/* Status messages participate in layout; never float over editor controls. */
.notice{position:static;transform:none;max-width:none;padding:10px 22px;border-radius:0;box-shadow:none;background:#e5f1e8;color:#214e3c;flex-shrink:0;font-size:13px;line-height:1.45}
.notice.error{background:#fae6e2;color:#842c25}
body.editing{height:100dvh;display:flex;flex-direction:column;overflow:hidden}
body.editing .site-header{flex-shrink:0}
body.editing main{flex:1;min-height:0}
body.editing #editor{height:100%;display:flex;flex-direction:column}
body.editing .editor-heading{flex-shrink:0}
body.editing .editor-layout{position:relative;flex:1;min-height:0;height:auto}
@media(max-width:650px){body.editing .editor-sidebar{top:0}.notice{padding:8px 14px;font-size:12px}}
.address-bar{flex-shrink:0;background:#fff;border-bottom:1px solid var(--border);padding:10px 22px;max-height:45dvh;overflow:auto}
#address-form{display:flex;align-items:center;gap:16px;max-width:850px}.address-label{margin:0;white-space:nowrap;font-size:13px}.address-input-wrap{display:flex;gap:8px;flex:1;min-width:0}#address-query{margin:0;min-width:0}.address-input-wrap button{flex-shrink:0}#address-status{margin:12px 0 5px}#address-results{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px;max-width:1100px}#address-results button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:#f4f7f3;width:100%;padding:10px 12px;gap:4px;font-weight:400}#address-results button:hover,#address-results button:focus{background:#e4eee5}#address-results span{color:var(--muted);font-size:11px;line-height:1.4}#address-picked{display:flex;align-items:center;gap:10px;margin-top:8px;font-size:12px}#address-picked-label{flex:1}#address-picked button{flex-shrink:0;padding:8px}.search-location{width:24px;height:24px;background:#245ddd;border:4px solid white;border-radius:50%;box-shadow:0 0 0 3px #245ddd66}
@media(max-width:650px){.address-bar{padding:8px 12px;max-height:38dvh}.address-label{display:none}#address-query{font-size:13px;padding:10px 8px}.address-input-wrap button{padding:9px;font-size:12px}#address-results{grid-template-columns:1fr}#address-picked{flex-wrap:wrap}#address-picked-label{flex-basis:100%}#address-results button{padding:8px}}

.embed-dimensions{margin:18px 0 20px;padding:15px;border:1px solid var(--border);border-radius:10px;background:#f7f9f5}
.embed-dimensions legend{padding:0 6px;font-size:13px;font-weight:600}.embed-dimension-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:14px}.embed-dimension-fields label{margin-bottom:0}.embed-dimension-fields .check{margin:18px 0 0;white-space:nowrap}.embed-dimensions p{margin:12px 0 0}.embed-dimensions input[type=number]:disabled{background:#e9eee9;color:#7c887e;cursor:not-allowed}.embed-dimensions input[aria-invalid=true]{border-color:#ad3834}
@media(max-width:650px){.embed-dimension-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.embed-dimension-fields .check{grid-column:1/-1;margin:0}.embed-dimensions{padding:12px}}

/* Full composition preview at exact embed dimensions, scaled only for the dialog. */
.embed-dialog{width:1100px;max-height:calc(100dvh - 28px);overflow:auto}
.embed-dialog .preview-wrap{max-height:none;overflow:hidden;display:flex;justify-content:center;background:#e3e8df;border-radius:8px}
#embed-stage{position:relative;flex:none;overflow:hidden}
#embed-preview{position:absolute;left:0;top:0;transform-origin:top left}
.preview-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}
#preview-size{margin-left:auto}
#embed-test-width-label{max-width:280px;margin-top:12px}
.embed-code-details{border-top:1px solid var(--border);padding-top:12px;margin-top:12px}
.embed-code-details summary{cursor:pointer;font-weight:600;margin-bottom:12px}
@media(max-width:650px){.embed-dialog{padding:14px}.preview-actions button{font-size:12px;padding:9px}.embed-dialog .embed-dimension-fields{gap:8px}#preview-size{margin-left:0}}
