button{color:#fff;background-color:#3f4f68;padding:6px 12px;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:4px;text-transform:none;outline:none;border:none;margin-bottom:2px}h1{color:#098d3b;margin:0;font-size:1.2rem}button:active{background-color:#36384a}p{font-size:12px;opacity:.3}.editor-workspace{display:flex;align-items:stretch;gap:12px}.editor-workspace>.viewport{flex:1;min-width:0;overflow:auto;border:1px solid #d7dce2;border-radius:8px;background:#fff}.editor-workspace>aside{flex:0 0 220px;min-width:0;padding:12px;box-sizing:border-box;background:#fff;border-radius:8px}.editor-workspace h2{font-size:14px;margin:0 0 12px}.editor-workspace dl{margin:0;font-size:12px}.editor-workspace dt{color:#687383;margin-top:12px}.editor-workspace dd{margin:4px 0 0;font-family:ui-monospace,monospace;line-height:1.6;overflow-wrap:anywhere}.map-demo{max-width:1500px;margin:8px auto}.map-demo h1{font-size:18px;margin-right:auto}.map-demo p{opacity:1;font-size:12px;line-height:1.7}.map-demo .intro,.map-demo .note{color:#687383}.map-demo button{cursor:pointer;padding:4px 7px;margin:0;font-size:12px}.map-demo button[aria-pressed=true]{background:#098d3b}.map-demo button:disabled{cursor:default;opacity:.45}.map-demo :is(button,select,input):focus-visible{outline:2px solid #098d3b;outline-offset:2px}.map-demo select{padding:5px;border:1px solid #d7dce2;border-radius:4px;background:#fff;color:inherit}.map-demo #building-control label{font-size:12px}.map-demo .editor-workspace>.viewport{overflow:hidden}.map-demo .editor-workspace>aside{flex-basis:240px;position:relative;padding:0;overflow:hidden;border:1px solid #d7dce2}.map-demo .map-details{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto;scrollbar-gutter:stable;padding:12px}.map-demo aside h2{margin-bottom:8px}.map-demo .canvas-controls{padding:8px;font-size:12px;background:#fff;border:1px solid #d7dce2;border-radius:6px;margin-bottom:10px}.map-demo fieldset{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;border:0;margin:0;padding:0;min-width:0}.map-demo .toolbar-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}.map-demo details>summary{cursor:pointer;font-size:12px;color:#526278}.map-demo .map-details>details{padding:8px 0;border-bottom:1px solid #edf0f3}.map-demo .control-group{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.map-demo .group-label{color:#687383;min-width:24px;margin-right:3px}.map-demo #zoom-percent{width:120px;margin:0 6px;vertical-align:middle;accent-color:#1976b5}.map-demo #zoom-value{display:inline-block;min-width:48px}.map-demo .display-toggle{display:inline-flex;align-items:center;gap:4px;cursor:pointer;padding:2px 0}.map-demo .display-toggle input{margin:0;accent-color:#098d3b}.map-demo .playback-row{margin-top:8px;padding-top:8px;border-top:1px solid #edf0f3}.map-demo .view-status{display:none}.map-demo #coordinates-hint{color:#687383}.map-demo textarea{width:100%;box-sizing:border-box;min-height:110px;font:11px monospace}.map-demo .file-controls{display:grid;gap:12px;align-items:center;margin:0}.map-demo .file-controls,.map-demo #view-controls{font-size:12px}.map-demo #map-canvas{touch-action:none;position:relative;width:100%;height:clamp(360px,calc(100vh - 171px),850px);overflow:hidden;border:0;padding:0}.map-demo .click-help{margin:8px 0 0;padding:0;color:#687383;border:0;min-height:82px}.map-demo .canvas-stage{position:relative}.map-demo .minimap-panel{position:absolute;top:10px;right:10px;z-index:2;border:1px solid #cdd8d1;border-radius:6px;background:#f9fbf8f5;box-shadow:0 3px 12px #20382b14;overflow:hidden}.map-demo .minimap-panel>summary{padding:8px 10px;color:#334b43;-webkit-user-select:none;user-select:none}.map-demo #minimap-angle{float:right;margin-left:28px;color:#78877d;font-size:11px}.map-demo #minimap{display:block;width:220px;height:220px;margin:0;padding:0;border:0;cursor:crosshair}.map-demo #map-canvas[data-tool=pan]{cursor:grab}.map-demo #map-canvas[data-tool=clear]{cursor:url(https://s5.ssl.qhres2.com/static/3ce95baeb46da4f3.svg?20261014070002) 5 25,crosshair}.map-demo #map-canvas[data-panning=true]{cursor:grabbing}.map-demo #cancel-stroke{position:absolute;right:10px;bottom:10px;z-index:1}.map-demo #cancel-stroke:disabled{visibility:hidden}.map-demo #status{margin:0;padding:6px 10px;border-radius:4px;background:#f4f6f8cc;font-size:11px}.map-demo .issue-panel{position:absolute;left:10px;bottom:10px;max-width:calc(100% - 135px);display:flex;flex-direction:column;align-items:flex-start;gap:6px;pointer-events:none}.map-demo #map-repair-actions{pointer-events:auto}.map-demo #issues{max-height:140px;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;color:#9b3021;background:#fff0eccc;padding:10px;margin:0;border-radius:4px;white-space:pre-wrap;overflow-wrap:anywhere;pointer-events:auto}.map-demo aside dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px}.map-demo aside dt,.map-demo aside dd{margin:0}.map-demo #entity-details{margin:10px 0}.map-demo #entity-details h2{margin-bottom:6px}.map-demo #entity-footprint{max-height:100px;overflow:auto}.map-demo #cell-info,.map-demo #entity-source{white-space:pre-line}.map-demo aside h2:not(:first-child){margin-top:10px;padding-top:8px;border-top:1px solid #edf0f3}.map-demo [hidden]{display:none!important}.map-demo #brush-size-control[aria-disabled=true]{opacity:.55}.map-demo #brush-size-control select:disabled{cursor:not-allowed}.map-demo .workbench-header{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:8px 0 12px}.map-demo .menu{position:relative}.map-demo .menu>summary{padding:6px 10px;border-radius:4px;background:#fff;color:#334b43;font-size:13px}.map-demo .menu[open]>summary{background:#dcece2}.map-demo .menu-panel{position:absolute;right:0;top:calc(100% + 6px);z-index:5;width:min(360px,calc(100vw - 44px));max-height:70vh;overflow:auto;padding:14px;box-sizing:border-box;border:1px solid #d7dce2;border-radius:6px;background:#fff;box-shadow:0 8px 24px #20382b26}.map-demo .menu-panel fieldset{display:grid;gap:12px;margin:0}.map-demo .menu-panel input[type=file]{display:block;max-width:100%;margin-top:6px}.map-demo .menu-panel details{margin-top:12px}.map-demo .menu-panel .note{margin-bottom:0}.map-demo #help-options h2{margin:16px 0 4px}.map-demo #help-options h2:first-child{margin-top:0}.map-demo #help-options h2+.note{margin-top:0}.map-demo #controls{gap:10px 16px}.map-demo .control-group+.control-group{padding-left:12px;border-left:1px solid #e3e8e5}.map-demo .file-controls .control-group{padding-left:0;border-left:0}.map-demo .brush-swatch{display:grid;grid-template-columns:repeat(9,3px);grid-template-rows:repeat(9,3px);gap:1px;padding:2px;margin:-5px 0}.map-demo .brush-swatch i{background:#dfe6e2}.map-demo .brush-swatch i[data-filled=true]{background:#23875c}.map-demo #brush-summary{color:#526278;font-size:11px}.map-demo .editor-workspace{gap:10px}.map-demo #tool-controls{display:block}.map-demo .tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.map-demo .tool-grid button{min-height:36px;background:#edf2ef;color:#30493d;border:1px solid #d4ded8;text-align:left;padding:8px}.map-demo .tool-grid button[aria-pressed=true]{background:#176643;color:#fff;border-color:#176643}.map-demo button:hover:not(:disabled){filter:brightness(.92)}.map-demo #selection-actions{margin-top:8px}.map-demo .tool-parameters{padding:10px 0;min-height:30px}.map-demo #new-map-options{padding:10px;background:#f4f6f8;border-radius:4px}.map-demo #new-map-options input{width:54px}.map-demo #target-height{width:58px}.map-demo #hover-info{position:absolute;top:10px;left:10px;z-index:1;max-width:calc(100% - 20px);box-sizing:border-box;padding:5px 10px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:4px;color:#526278;background:#f4f6f8cc;pointer-events:none}@media (max-width: 759px){.map-demo #minimap{width:176px;height:176px}.map-demo .editor-workspace{flex-direction:column}.map-demo .editor-workspace>aside{flex:auto}.map-demo .map-details{position:static;max-height:none}.map-demo .tool-grid{grid-template-columns:repeat(3,1fr)}.map-demo #map-canvas{height:48vh;min-height:320px}.map-demo .click-help{min-height:0}.map-demo .control-group+.control-group{padding-left:0;border-left:0}.map-demo .menu-panel{position:fixed;top:65px;right:20px}}body.map-editor-page,body.element-editor-page{padding:0;background:#423324;color:#443b2b}.map-demo,.element-editor{--panel: #e4d7b6;--panel-light: #f1e6cd;--edge: #a68d5c;--muted: #796b50;--active: #66502b;max-width:none;margin:0;font-size:12px;accent-color:#886b31}.map-demo h1,.element-editor h1{font-size:16px;font-weight:600;letter-spacing:2px;color:#ecd8a5;margin:0}.map-demo h2,.element-editor h2{font-size:13px;font-weight:600;letter-spacing:1px}.map-demo button,.element-editor button,.element-editor .file-button{border:1px solid var(--edge);border-radius:2px;color:#493e29;background:linear-gradient(var(--panel-light),var(--panel));box-shadow:inset 1px 1px #fff5,0 1px 1px #2c1b221a;min-height:26px;padding:3px 7px;margin:0;font-size:12px}.map-demo button[aria-pressed=true],.element-editor button[aria-pressed=true]{color:#fff0c4;background:var(--active);border-color:#806831;box-shadow:inset 0 1px 3px #241b1455}.map-demo button:hover:not(:disabled),.element-editor button:hover:not(:disabled){filter:brightness(1.06)}.map-demo :is(input,select,textarea),.element-editor :is(input,select,textarea){border-color:var(--edge);border-radius:2px;color:#493e29;background:#f6edd7;font-size:12px}.map-demo select,.element-editor select{padding:3px}.map-demo :is(button,select,input,summary):focus-visible,.element-editor :is(button,select,input,summary):focus-visible{outline:2px solid #c99c42;outline-offset:1px}.map-demo .note,.element-editor .note,.element-editor .field-help{color:var(--muted)}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;clip-path:inset(50%);overflow:hidden!important;white-space:nowrap!important;border:0!important}.help-icon{display:inline-flex;align-items:center;justify-content:center;width:13px;height:13px;margin-left:4px;border:1px solid currentColor;border-radius:50%;color:var(--muted);font:10px sans-serif;vertical-align:middle;cursor:help;flex-shrink:0}.map-demo .workbench-header,.element-editor .editor-header{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:30px;box-sizing:border-box;padding:2px 6px;color:#e4d0a1;background:linear-gradient(#59432d,#403324);border-bottom:1px solid #9b8053}.map-demo .workbench-header h1{margin:0 7px 0 0}.editor-brand{padding-right:7px;margin-right:2px;border-right:1px solid #a68d5c88;font:13px Georgia,serif;letter-spacing:2px;text-decoration:none}.editor-library-link{padding:4px 7px;white-space:nowrap;text-underline-offset:3px}.editor-nav{display:flex;gap:2px;align-items:center;margin-left:auto;font-size:11px}.editor-nav a{padding:4px 8px;border:1px solid transparent;text-decoration:none}.editor-nav a[aria-current=page]{border-color:#a68d5c99;background:#e1cda11a}.map-demo .menu,.element-editor .menu{position:relative}.map-demo .menu>summary,.element-editor .menu>summary{list-style:none;font-size:12px;padding:4px 7px;border-radius:1px;color:#e5d2a6;background:transparent;cursor:pointer}.map-demo .menu>summary:after,.element-editor .menu>summary:after{content:"";display:inline-block;width:6px;height:6px;margin:0 2px 3px 8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}.map-demo .menu>summary::-webkit-details-marker,.element-editor .menu>summary::-webkit-details-marker{display:none}.map-demo .menu[open]>summary,.element-editor .menu[open]>summary{background:#d4b67733}.map-demo .menu-panel,.element-editor .menu-panel{position:absolute;left:0;right:auto;top:calc(100% + 3px);z-index:8;width:min(380px,calc(100vw - 16px));max-height:75vh;overflow:auto;padding:10px;box-sizing:border-box;border:1px solid var(--edge);border-radius:2px;color:#493e29;background:var(--panel-light);box-shadow:0 5px 18px #21180d66}.element-editor .menu-panel{position:fixed;left:8px;right:auto}.map-demo .menu-panel .note{font-size:11px}.map-demo .menu-panel fieldset{gap:9px}.map-demo .control-group+.control-group{border-left-color:#ad986955;padding-left:6px}.map-demo .control-group{gap:3px}.map-demo .canvas-controls,.element-editor .canvas-controls,.element-editor .toolbar{background:linear-gradient(var(--panel-light),var(--panel));border-color:var(--edge);border-radius:0}.map-demo .canvas-controls{padding:3px 5px;margin:0;border:0;border-bottom:1px solid #57391f;color:#f0dab0;background:#87592f url(https://p1.ssl.qhimg.com/t11b673bcd6adbc47e5f9a27588.webp) repeat}.map-demo .canvas-controls button:not(.original-button),.map-demo .canvas-controls select{color:#f0dab0;background:linear-gradient(#e4c08812,#2a170e20),url(https://p1.ssl.qhimg.com/t11b673bcd6adbc47e5f9a27588.webp);border-color:#b18b53}.map-demo .canvas-controls select option{color:#493e29;background:var(--panel-light)}.map-demo .canvas-controls button[aria-pressed=true]{background:#50371f;border-color:#e2bf76}.map-demo .canvas-controls .control-group+.control-group{border-left-color:#e0b57044}.map-demo #controls{gap:5px 7px}.map-demo .icon-button,.element-editor .icon-button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:27px;padding:2px;flex-shrink:0}.icon-button svg,.tool-grid button svg{display:block;width:19px;height:19px}.original-function-icon{width:auto;height:auto;max-width:36px;max-height:25px;display:block;image-rendering:pixelated}.icon-mirrored{transform:scaleX(-1)}.map-demo .original-button{width:36px;height:27px;padding:0;border:0;background:#784c26}.map-demo .icon-toggle{position:relative;display:inline-flex;cursor:pointer}.map-demo .icon-toggle input{position:absolute;width:1px;height:1px;clip-path:inset(50%)}.map-demo .icon-toggle input:checked+span{outline:2px solid #e2c575;outline-offset:-2px}.map-demo .icon-toggle input:focus-visible+span{outline:2px solid #f2c457}.map-demo .icon-toggle input:disabled+span{opacity:.45;cursor:default}.map-demo #zoom-percent{width:82px;margin:0 3px;accent-color:#d5af68;background:transparent}.map-demo #zoom-value{min-width:42px;font-size:11px;font-variant-numeric:tabular-nums}.map-demo #camera-angle{max-width:57px}.map-demo{height:100dvh;min-height:420px;display:flex;flex-direction:column}.map-demo .editor-workspace{flex:1;min-height:0;gap:2px}.map-demo .editor-workspace>.viewport{border:1px solid var(--edge);border-radius:0;background:#d6ba7a}.map-demo .canvas-stage{height:100%}.map-demo #map-canvas{height:100%;min-height:0;border:0;padding:0}.map-demo .editor-workspace>aside{flex:0 0 164px;border:1px solid #927443;border-radius:0;background:#87592f url(https://p1.ssl.qhimg.com/t11b673bcd6adbc47e5f9a27588.webp) repeat;color:#f0d9a7}.map-demo .map-details{padding:0 3px 3px;scrollbar-width:thin;scrollbar-color:#99764b #54391d;scrollbar-gutter:auto}.map-demo .map-details h2{margin:6px 0 5px}.map-demo .map-details .help-icon{color:#dbbb80}.map-demo .map-details dt{color:#ddbf88}.map-demo .map-details dd{font-size:11px}.map-demo #entity-details dl{grid-template-columns:2em minmax(0,1fr);column-gap:6px}.map-demo #entity-details dd{overflow-wrap:anywhere}.map-demo .map-details>details{border-bottom-color:#bd925244;padding:6px 0}.map-demo .map-details>details>summary{color:#eed5a0}.map-demo #source-report{display:none}.map-demo .minimap-panel{position:static;margin:0 0 5px;border:1px solid #a78955;border-radius:0;box-shadow:inset 0 0 0 1px #392917;background:#b2a378;overflow:hidden}.map-demo .map-details>#minimap-panel{padding:0;margin:0 0 3px}.map-demo .minimap-panel>summary{color:#ead7a8!important;padding:3px 6px;background:#533c24;font-size:11px}.map-demo #minimap-angle{color:#d8c08d;margin-left:8px}.map-demo #minimap{width:100%;height:auto;aspect-ratio:1}.map-demo .tool-grid{grid-template-columns:repeat(4,36px);justify-content:start;gap:1px}.map-demo .tool-grid #selection-actions{margin:0}.map-demo .tool-grid #clear-selection{width:36px}.map-demo .tool-grid button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;min-height:30px;height:30px;padding:0;overflow:hidden;border:1px solid transparent;border-radius:0;background:transparent;color:#efdba9;box-shadow:none}.map-demo .tool-grid button[aria-pressed=true]{border-color:#f4d37d;outline:1px solid #4c2d18;outline-offset:-3px;background:#edc66a33;box-shadow:inset 0 1px 4px #29150688}.map-demo .tool-grid button:hover:not(:disabled){background:#edc66a33;border-color:#d4b879}.tool-sprite{display:block;width:36px;height:34px;background-image:url(https://p1.ssl.qhimg.com/t11b673bcd6b59387c1c21dbf37.webp);background-repeat:no-repeat;image-rendering:pixelated;flex-shrink:0}.map-demo .tool-thumbnail{display:block;max-width:34px;max-height:28px;object-fit:contain;image-rendering:pixelated}.map-demo .tool-menu-toggle{position:relative}.map-demo .tool-menu-toggle:after{content:"";position:absolute;bottom:5px;right:3px;width:6px;height:6px;border-right:2px solid #f4d37d;border-bottom:2px solid #f4d37d;filter:drop-shadow(0 1px 1px #392917);transform:rotate(45deg)}.map-demo .tool-menu-toggle[aria-expanded=true]:after{transform:translateY(2px) rotate(225deg)}.map-demo .construction-options{position:fixed;inset:auto;margin:0;width:min(190px,calc(100vw - 12px));max-height:calc(100dvh - 12px);box-sizing:border-box;overflow:auto;padding:4px;border:3px ridge #b69a62;color:#f0d9a7;background:#87592f url(https://p1.ssl.qhimg.com/t11b673bcd6adbc47e5f9a27588.webp) repeat;box-shadow:0 5px 16px #28170d66}.map-demo .construction-options::backdrop{background:transparent}.map-demo .construction-options button{display:block;width:100%;min-height:25px;height:auto;padding:3px 6px;text-align:left;color:#f0d9a7}.map-demo .construction-options button[aria-pressed=true]{outline:none;background:#e7bf5f33;border-color:#c7a15f}.map-demo .tool-group-heading{grid-column:1 / -1;color:#e4c58b;font-size:10px;font-weight:400;margin:4px 0 1px}.map-demo .tool-grid button[data-wall-style="1"]{color:#f19e7e}.map-demo .tool-grid button[data-wall-style="2"]{color:#d5d7d1}.map-demo .tool-grid button[data-wall-style="3"]{color:#e0c16d}.map-demo .tool-grid button[data-wall-style="4"]{color:#c5976b}.map-demo aside h2:not(:first-child){border-top-color:#bd925244;margin-top:6px;padding-top:6px}.map-demo #status,.map-demo #hover-info{border-radius:1px;color:#5d4c31;background:#f0e3c4de;padding:3px 6px;font-size:11px}.map-demo #status{box-sizing:border-box;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.map-demo #hover-info{top:5px;left:5px}.map-demo .issue-panel{left:5px;bottom:5px;max-width:calc(100% - 10px)}.map-demo #cancel-stroke{bottom:5px;right:5px}.map-demo #brush-size-control{position:relative}.map-demo #brush-toggle{display:flex;align-items:center;gap:5px;height:27px;min-width:94px;padding:1px 5px}.map-demo .brush-swatch{grid-template-columns:repeat(9,2px);grid-template-rows:repeat(9,2px);gap:0;padding:2px;margin:0}.map-demo .brush-swatch i{background:transparent}.map-demo .brush-swatch i[data-filled=true]{background:#dfc46e}.map-demo .brush-options{color:#493e29}.map-demo .brush-options{position:absolute;z-index:7;top:calc(100% + 5px);left:0;width:min(350px,calc(100vw - 18px));padding:8px;border:1px solid var(--edge);background:var(--panel-light);box-shadow:0 5px 18px #21180d66}.map-demo .brush-options strong{display:block;font-size:11px;margin-bottom:5px}.map-demo .brush-choice-row{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:2px;margin-top:3px}.map-demo .brush-choice-row button{min-width:0;height:40px;padding:2px 0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0;font-size:9px}.map-demo .brush-choice-row svg{width:30px;height:22px;fill:#8d8346;stroke:#5b5436;stroke-width:.15}.map-demo .brush-choice-row button[aria-pressed=true] svg{fill:#e3ce8e;stroke:#fff1bc}.element-editor{height:100dvh;min-height:520px;display:flex;flex-direction:column}.element-editor .editor-header h1{margin-right:6px}.element-editor .editor-header>.help-icon{color:#cdb582}.element-editor .editor-header>.menu{margin-left:3px}.element-editor #file-controls{margin:0;border:0;border-bottom:1px solid var(--edge);border-radius:0;overflow:visible}.element-editor .toolbar{gap:4px 8px;padding:3px 5px}.element-editor .tool-group{gap:4px}.element-editor .toolbar label{font-size:11px}.element-editor .toolbar :is(button,.file-button){box-sizing:border-box;height:26px;font-size:12px;line-height:18px}.element-editor #collection-select{max-width:155px}.element-editor #element-select{max-width:170px}.element-editor .editor-status{display:flex;align-items:center;gap:14px;background:var(--panel);padding:2px 6px;color:var(--muted);min-height:18px}.element-editor #collection-info{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:10px}.element-editor #status{flex-shrink:0;color:#675431;font-size:10px;margin:0}.element-editor #validation{background:var(--panel-light);max-height:130px;overflow:auto}.element-editor .editor-workspace{flex:1;min-height:0;gap:2px}.element-editor .editor-workspace>.viewport{border-radius:0;border-color:var(--edge);background:#c5bd9c}.element-editor .canvas-controls{padding:3px 5px;gap:3px;border-bottom:1px solid var(--edge)}.element-editor .canvas-controls .grid-control{justify-content:flex-start;gap:4px 6px;padding-inline:5px}.element-editor .canvas-controls .opacity-control{font-size:11px}.element-editor .canvas-controls input[type=range]{width:62px}.element-editor .canvas-scroll{min-height:0;flex:1 1 0}.element-editor .editor-workspace>aside{flex:0 0 250px;padding:7px;background:var(--panel);border:1px solid var(--edge);border-radius:0;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--edge) var(--panel)}.element-editor .fields{gap:6px}.element-editor .fields h3,.element-editor .field-heading{border-top-color:#b4a27677}.element-editor input[type=number]{padding:3px}.element-editor .field-heading{padding-top:6px}.element-editor #grid-status{background:#eee2c5e0;border-radius:1px;left:5px;bottom:5px;font-size:11px}.element-editor .terrain-context{margin:9px 0 0;padding:7px 0;border-top:1px solid var(--edge);border-radius:0;background:transparent}.element-editor .context-views{grid-template-columns:1fr}.element-editor .context-views figcaption{font-size:10px}.element-editor dialog{border-color:var(--edge);border-radius:2px;background:var(--panel-light)}.element-editor .group-name{color:var(--muted)}.element-editor .directions{gap:3px}.element-editor .directions button{padding:4px 2px}.element-editor .editor-header .menu-panel p{font-size:11px}@media (max-width: 759px){.map-demo .editor-workspace{flex-direction:row}.map-demo .editor-workspace>aside{flex-basis:164px}.map-demo .map-details{position:absolute;max-height:none}.map-demo #map-canvas{height:100%;min-height:0}.map-demo .tool-grid{grid-template-columns:repeat(4,36px)}.map-demo .menu-panel{position:fixed;top:31px;left:5px;right:auto}.map-demo #zoom-percent{width:58px}.element-editor .editor-workspace>aside{flex-basis:225px}}@media (max-width: 520px){.map-demo .editor-workspace>aside{flex-basis:148px}.map-demo .tool-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.map-demo h1,.element-editor h1{font-size:14px;letter-spacing:0}.editor-brand{display:none}.map-demo .workbench-header{gap:1px}.editor-nav a{padding:4px}.map-demo .brush-options{position:fixed;top:auto;left:5px}.element-editor .editor-workspace{flex-direction:column;overflow:auto}.element-editor .editor-workspace>.viewport{flex:0 0 55vh}.element-editor .editor-workspace>aside{flex:auto;overflow:visible}.element-editor .editor-status{flex-wrap:wrap;gap:2px}}.canvas-background{background:linear-gradient(#0000004d,#00000080),url(https://p3.ssl.qhimg.com/t11b673bcd602910fd810c500f0.webp) repeat}.rotation-control{position:relative;width:42px;height:27px;flex-shrink:0}.rotation-control .rotation-art{position:absolute;top:0;right:0;bottom:0;left:0;background:url(https://p0.ssl.qhimg.com/t11b673bcd68e4f08d308a455fa.webp) center / contain no-repeat;image-rendering:pixelated;pointer-events:none}:is(.map-demo .canvas-controls,#reports) .rotation-control button{position:absolute;top:0;bottom:0;width:50%;height:100%;min-height:0;padding:0;border:0;background:transparent;box-shadow:none}.rotation-control .rotation-left{left:0}.rotation-control .rotation-right{right:0}.rotation-control:has(.rotation-left:is(:hover,:focus-visible)) .rotation-art{background-image:url(https://p5.ssl.qhimg.com/t11b673bcd63810f31346032ae2.webp)}.rotation-control:has(.rotation-right:is(:hover,:focus-visible)) .rotation-art{background-image:url(https://p0.ssl.qhimg.com/t11b673bcd612d0df48e4693c45.webp)}.rotation-control:has(button:active) .rotation-art{filter:brightness(.85)}.rotation-control:has(button:disabled) .rotation-art{opacity:.45}.auxiliary-tool-icon{display:block;width:36px;height:30px;flex-shrink:0;background:url(https://p4.ssl.qhimg.com/t11b673bcd6e1456b7b8f43ae0c.webp) 0 -3px / 108px 36px no-repeat}.auxiliary-tool-icon[data-tool-icon=pan]{background-position-x:-36px}.auxiliary-tool-icon[data-tool-icon=clear]{background-position-x:-72px}.map-demo .tool-grid .point-menu-toggle{justify-content:center;padding:0;font-size:12px}.map-demo .point-menu-toggle:after{top:50%;bottom:auto;right:10px;transform:translateY(-50%) rotate(45deg)}.map-demo .point-menu-toggle[aria-expanded=true]:after{transform:translateY(-50%) rotate(225deg)}.map-demo .point-options{width:min(360px,calc(100vw - 12px));padding:8px}.point-row{display:grid;grid-template-columns:1fr 44px 44px;align-items:center;gap:4px;margin-bottom:5px}.map-demo .tool-grid .point-options button{min-height:30px;padding:4px 6px;border:1px solid var(--edge);border-radius:2px;color:#493e29;background:linear-gradient(var(--panel-light),var(--panel));box-shadow:inset 1px 1px #fff5,0 1px 1px #2c1b221a;font-size:12px;white-space:nowrap}.map-demo .point-row button:not([data-point-id]){text-align:center}.map-demo .tool-grid .point-options button:hover:not(:disabled){border-color:#f4d37d;background:#f4e7c7}.map-demo .tool-grid .point-options button:active:not(:disabled){box-shadow:inset 0 1px 3px #241b1455;background:var(--panel)}.map-demo .tool-grid .point-options button:disabled{opacity:.45;cursor:default;box-shadow:none}.map-demo .point-options p{margin:5px;font-size:11px;line-height:1.5}#scenario-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:16px;overflow:auto;color:#493e29;background:var(--panel-light);border:3px ridge #b69a62;box-shadow:0 8px 32px #28170d66}#scenario-dialog::backdrop{background:#20180d55}#scenario-dialog header,#scenario-dialog footer{display:flex;align-items:center;gap:10px}#scenario-dialog header{justify-content:space-between}#scenario-dialog h2{margin:0;font-size:18px}#scenario-dialog fieldset{display:block;margin:10px 0;padding:10px;border:1px solid #b9b3a4}#scenario-dialog label{display:block;margin:6px 0;font-size:13px}#scenario-dialog input:not([type=checkbox]),#scenario-dialog textarea{box-sizing:border-box;max-width:100%;width:100%}#scenario-dialog textarea{display:block;min-height:48px;height:48px}#scenario-dialog input[type=number]{width:100px}#scenario-dialog .scenario-fields{display:flex;flex-wrap:wrap;gap:12px}#scenario-dialog summary{cursor:pointer;font-size:13px}#scenario-dialog p,#scenario-dialog li,#scenario-applied{font-size:12px;line-height:1.6}#scenario-dialog p{margin:6px 0}#scenario-dialog footer{position:sticky;bottom:-16px;padding:10px 0;background:var(--panel-light)}#scenario-dialog ul{padding-left:20px}#scenario-dialog li button{margin-left:6px}#scenario-buildings{display:grid;grid-template-columns:repeat(3,1fr)}#scenario-error{color:#9e3024}.point-tool-grid{display:grid;grid-column:1 / -1;grid-template-columns:repeat(3,1fr);gap:3px}.map-demo .point-menu-toggle:after{right:2px;width:4px;height:4px}
