#city-editor[hidden],#city-editor-testbar[hidden]{display:none!important}#city-editor{position:fixed;inset:0;z-index:150;background:#142525;color:#eee2c5;font:13px/1.45 system-ui;display:flex;flex-direction:column;overflow:hidden}#city-editor .editor-heading{position:static;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;background:#1b3230;border-bottom:1px solid #8b8058;flex-shrink:0}#city-editor h2{font:24px Georgia;margin:3px 0}#city-editor h3{font:17px Georgia;margin:12px 0 8px}#city-editor small{font:10px system-ui;letter-spacing:2px}#city-editor button,#editor-confirm button,#city-editor-testbar button{font:12px system-ui;padding:9px 12px;color:#eee2c5;background:#29443c;border:1px solid #9c8b61;border-radius:5px;min-height:36px}#city-editor button:disabled{opacity:.45}#city-editor #edit-test,#city-editor #edit-save{background:#516343}.editor-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.editor-workspace{display:grid;grid-template-columns:minmax(0,1fr) 280px;flex:1;min-height:0}.editor-stage{display:flex;flex-direction:column;min-width:0;min-height:0}.editor-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:8px 12px}.editor-toolbar label{display:flex;gap:4px;align-items:center}.editor-map-wrap{position:relative;flex:1;min-height:280px;overflow:hidden}#city-editor #editor-canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab}#editor-status{min-height:35px;padding:7px 12px;margin:0;color:#e7d39c;border-top:1px solid #71806a55}#city-editor .editor-inspector{position:static;width:auto;max-width:none;max-height:none;overflow:auto;border:0;border-left:1px solid #8b8058;background:#1b3230;padding:12px;color:#eee2c5}#city-editor .editor-inspector>label{display:grid;gap:5px;margin-bottom:10px}#city-editor select,#city-editor input[type=number],#city-editor textarea{box-sizing:border-box;width:100%;min-width:0;background:#102623;color:#eee2c5;border:1px solid #75836a;border-radius:4px;padding:8px;font:13px system-ui}#city-editor select[size]{height:160px;padding:4px}#city-editor option{padding:5px}#city-editor input[type=file]{max-width:100%}.editor-coordinates{display:grid;grid-template-columns:1fr 1fr;gap:9px}.editor-coordinates label{display:grid;gap:5px}.editor-nudge{display:flex;gap:6px;margin:10px 0}.editor-inspector p{font:12px/1.5 system-ui;color:#c7cebc;margin:12px 0}#edit-warning{color:#f0bd8d}#city-editor-testbar{position:fixed;z-index:145;top:12px;left:50%;transform:translateX(-50%);display:flex;gap:12px;align-items:center;max-width:90vw;padding:8px 12px;background:#142c2cf2;border:1px solid #bda36c;border-radius:6px;color:#eee2c5;font:12px system-ui}.city-editor-testing #utility-controls,.city-editor-testing #controls,.city-editor-testing #skillbar,.city-editor-testing #quickbar,.city-editor-testing #minimap-frame{display:none!important}#editor-confirm{z-index:180;background:#172e2b;color:#eee2c5;border:1px solid #bca36b;width:min(500px,85vw)}#city-editor details{margin-top:12px}#city-editor details button{margin-top:6px}.editor-import{margin-top:16px}#city-editor input[type=checkbox]{accent-color:#bba56e}#editor-menu{font-size:22px!important}@media(max-width:800px){.editor-workspace{grid-template-columns:minmax(0,1fr) 230px}#city-editor .editor-heading{padding:8px}#city-editor h2{font-size:20px}#city-editor button{padding:7px;min-height:38px}.editor-toolbar{font-size:11px;padding:5px;gap:5px}}@media(orientation:portrait) and (max-width:600px){#city-editor{overflow:auto}.editor-workspace{display:flex;flex-direction:column;min-height:auto}.editor-stage{min-height:430px;flex-shrink:0}.editor-map-wrap{min-height:310px}.editor-inspector{overflow:visible!important;border-left:0!important;border-top:1px solid #8b8058!important}.editor-heading{position:sticky!important;top:0;z-index:2}.editor-actions{gap:5px}.editor-inspector select[size]{height:130px!important}}@media(max-height:500px) and (orientation:landscape){#city-editor .editor-heading small{display:none}#city-editor h2{font-size:18px}#city-editor button{min-height:30px;padding:5px 7px}.editor-toolbar{gap:5px}.editor-map-wrap{min-height:160px}}

#city-editor .editor-heading{pointer-events:auto;opacity:1;transform:none}#city-editor .editor-inspector{transform:none;text-shadow:none}body.city-editor-testing #utility-controls,body.city-editor-testing #controls,body.city-editor-testing #skillbar,body.city-editor-testing #quickbar{display:none!important}

#city-editor .editor-inspector>label{grid-template-columns:minmax(0,1fr);min-width:0}#city-editor #edit-file{width:100%;min-width:0;max-width:100%;font-size:11px}
