:root{font-family:DM Sans,sans-serif;color:#26352f;background:#f7f8f4;font-synthesis:none;font-size:13px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #dce0d8;border-radius:6px;background:#fff;color:inherit;padding:9px 13px;transition:background .15s}button:hover{background:#edf0e6}button:disabled{opacity:.35;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #b18c4c;outline-offset:3px}header{height:76px;background:#172923;color:#f7f3e8;display:flex;align-items:center;padding:0 30px;gap:65px}.brand{color:inherit;text-decoration:none;font-family:Georgia,serif;font-size:26px;letter-spacing:-1px;display:flex;align-items:center}.brand-icon{color:#d8b77a;font-size:37px;margin-right:10px}.org{font-size:18px;color:#b0b9a9;letter-spacing:0}nav{display:flex;gap:30px;height:100%;align-items:center;font-size:12px}.nav-active{height:100%;display:flex;align-items:center;border-bottom:3px solid #d6b97b}.soon{color:#8d9c92}small{font-size:12px}nav small{font-size:12px;border:1px solid #526056;padding:3px;border-radius:3px;margin-left:4px}.header-right{margin-left:auto;display:flex;align-items:center;gap:25px}.free{font-size:12px;letter-spacing:1.5px;color:#d9c49a}.header-right button{background:transparent;border-color:#4b5a50;color:#d4dbcd;font-size:12px}.workspace{display:flex;height:calc(100dvh - 76px);min-height:650px}.rail{width:75px;flex-shrink:0;border-right:1px solid #dce0d7;background:#f0f2eb;display:flex;flex-direction:column;padding:17px 9px;gap:6px}.rail button{border:0;background:transparent;padding:8px 0;display:flex;flex-direction:column;align-items:center;gap:4px;color:#758073}.rail button b{font-family:Georgia;font-size:23px;font-weight:400;height:26px}.rail button small{font-size:12px}.rail button.active{background:#dfe6d6;color:#304b35}.rail-bottom{margin-top:auto;text-align:center;color:#9b9f8d;font-size:25px}.rail-bottom small{display:block;font-size:12px;line-height:1.7;letter-spacing:2px;margin-top:6px}.settings{width:275px;flex-shrink:0;padding:29px 23px 16px;overflow:auto;border-right:1px solid #dee2d9;background:#fcfcf8}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;color:#969e8c}h1{font-family:Libre Caslon Display,Georgia,serif;font-size:30px;font-weight:400;margin:9px 0}.intro{font-size:12px;line-height:1.8;color:#8b9284;margin:0 0 23px}.tabs{display:flex;border-bottom:1px solid #e2e4dc;margin-bottom:24px;gap:15px}.tabs button{padding:0 0 11px;background:none;border:0;border-radius:0;color:#92998b;font-size:12px}.tabs button.active{border-bottom:2px solid #52684b;color:#3b5136;font-weight:700}label{display:block;font-size:12px;font-weight:600;color:#62705d;margin-bottom:17px}input:not([type=range]):not([type=checkbox]),select{width:100%;height:37px;border:1px solid #dde1d5;border-radius:5px;padding:0 10px;margin-top:8px;background:#fff;color:#4c5b46;font-size:12px}.input-row{display:flex;gap:7px}.input-row button{margin-top:8px;padding:4px 10px;font-size:20px}.input-row input{min-width:0}input[type=range]{width:100%;accent-color:#60744f;height:3px;margin-top:18px;cursor:pointer}output{float:right;font-size:12px;color:#8c977f}.primary{width:100%;background:#64764f;color:#fff;border-color:#64764f;font-size:12px;padding:12px}.primary:hover{background:#4e6340}.hint{font-size:12px;line-height:1.7;text-align:center;color:#a0a590;margin:9px 0 0}.divider{height:1px;background:#e5e7de;margin:24px 0 21px}.styles{display:flex;gap:7px}.style{flex:1;min-width:0;padding:5px 4px 8px;font-size:12px;border-radius:5px}.style span{height:48px;display:grid;place-items:center;font-family:Georgia;font-size:37px;margin-bottom:7px;border-radius:3px;background:linear-gradient(145deg,#a0b9b6 25%,#d2cfa6 26% 70%,#95b0ad 71%);color:#767e54}.style.parchment span{background:linear-gradient(145deg,#c6ae81,#eadbb4);color:#a48e5d}.style.ink span{background:#e9e9de;color:#676f61}.style.active{border-color:#82916c;background:#f0f3e9;box-shadow:0 0 0 1px #82916c}.section-line{display:flex;justify-content:space-between}.section-line label{margin-bottom:14px}.layers label{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:400;margin-bottom:12px}.layers input{appearance:none;width:25px;height:14px;background:#d6dbcf;border-radius:20px;cursor:pointer;position:relative;margin:0}.layers input:checked{background:#7b8c64}.layers input:after{content:"";position:absolute;width:10px;height:10px;border-radius:50%;background:#fff;top:2px;left:2px;transition:left .15s}.layers input:checked:after{left:13px}.local-note{display:flex;gap:9px;margin-top:27px;padding-top:18px;border-top:1px solid #e5e7de;font-size:12px;color:#7c876f}.local-note span{color:#95a17e}.local-note small{display:block;font-size:12px;margin-top:5px;color:#a1a693}main{flex:1;min-width:0;display:flex;flex-direction:column}.document-bar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 25px;border-bottom:1px solid #dee2d9;background:#fff;gap:10px}.document-bar>div{display:flex;align-items:center;gap:12px}.document-bar strong{font-size:12px;max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.doc-icon{color:#94a185;font-size:20px}.badge{font-size:12px;letter-spacing:1px;color:#8e987e;background:#f0f3e9;padding:4px 6px;border-radius:3px}#save-state{font-size:12px;color:#a0a794}.actions{gap:6px!important}.actions button{font-size:12px;padding:8px 10px}.actions #undo,.actions #redo{border:0;font-size:22px;padding:2px 5px}.actions i{height:20px;border-left:1px solid #e6e9df;margin:0 8px}.actions .export{background:#283f32;color:#fff;border-color:#283f32;margin-left:5px}.canvas-area{flex:1;min-height:0;position:relative;background:#e8ebe3;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:65px 40px 75px;background-image:radial-gradient(#b6c0ae55 .7px,transparent .7px);background-size:12px 12px}#map-wrap{width:100%;max-width:1400px;aspect-ratio:3/2;max-height:100%;display:flex;align-items:center;justify-content:center;transform-origin:center}#map{width:100%;max-height:100%;aspect-ratio:3/2;box-shadow:0 12px 35px #35423322,0 2px 6px #35423322;touch-action:none;background:#9db7b4}#map svg{width:100%;height:100%;display:block;user-select:none}#map [data-object]{cursor:inherit}.canvas-top{position:absolute;top:27px;left:30px;right:30px;display:flex;justify-content:space-between;font-size:12px;letter-spacing:1.7px;color:#909985}.canvas-top i{display:inline-block;width:5px;height:5px;background:#91a278;border-radius:50%;margin-right:6px}.canvas-bottom{position:absolute;bottom:24px;left:30px;right:30px;display:flex;justify-content:space-between;align-items:center;gap:10px}#instruction{font-size:12px;color:#89927e}.zoom{display:flex;align-items:center;background:#fafbf6;border:1px solid #d9ded0;border-radius:5px;box-shadow:0 2px 5px #00000005}.zoom button{border:0;background:none;padding:9px 12px;font-size:12px}#zoom-reset{font-size:12px;min-width:55px}footer{height:40px;background:#f8f9f4;display:flex;justify-content:space-between;align-items:center;padding:0 25px;color:#98a08e;font-size:12px;letter-spacing:.25px}footer b{font-weight:400}dialog{border:1px solid #d4dbca;border-radius:12px;padding:38px;width:min(440px,92vw);color:#33412e;box-shadow:0 20px 80px #0003}dialog::backdrop{background:#14271d77;backdrop-filter:blur(3px)}dialog h2{font-family:Libre Caslon Display,Georgia;font-size:32px;font-weight:400;margin:10px 0}dialog p{font-size:12px;line-height:1.8;color:#7e8874}dialog>button,dialog form>button:not(.close){width:100%;margin-top:10px}dialog button small{display:block;margin-top:6px;font-size:12px;opacity:.7}.close{position:absolute;right:12px;top:10px;border:0;font-size:21px;background:none}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);background:#273e30;color:#fff;padding:14px 22px;border-radius:7px;box-shadow:0 5px 20px #0002;opacity:0;pointer-events:none;transition:.2s;font-size:12px;z-index:5}#toast.show{opacity:1;transform:translate(-50%)}[hidden]{display:none!important}@media(min-width:1600px){.settings{width:300px;padding:35px 28px}.canvas-area{padding:75px 65px 90px}}@media(max-width:1200px){#save-state,.badge{display:none}.settings{width:245px;padding:25px 18px}.document-bar{padding:0 15px}.document-bar strong{max-width:150px}.canvas-area{padding:65px 25px 75px}.header-right{gap:10px}.canvas-bottom{left:20px;right:20px}#instruction{max-width:65%;line-height:1.6}}@media(max-width:800px){header{padding:0 16px;height:64px;gap:25px}.brand{font-size:22px}.org{font-size:14px}nav{gap:10px}.soon,.free,.header-right span{display:none}.workspace{height:auto;min-height:calc(100dvh - 64px);flex-wrap:wrap}.rail{width:58px;padding:12px 4px;order:0}.settings{order:2;width:100%;border-top:1px solid #dce0d7;display:block;padding:24px}.settings .styles{max-width:350px}.settings .local-note{display:none}main{width:calc(100% - 58px);flex:none;min-height:620px}.canvas-area{min-height:460px;padding:55px 12px 70px}.document-bar{height:auto;min-height:95px;flex-wrap:wrap;padding:12px}.document-bar strong{max-width:180px}.actions{flex-wrap:wrap}.canvas-top{left:15px;right:15px;font-size:12px}.canvas-bottom{left:12px;right:12px}#instruction{font-size:12px}footer{padding:0 12px;font-size:12px}footer span:last-child{display:none}.rail-bottom{display:none}h1{font-size:32px}.layers{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}#world-settings{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}#world-settings .styles,#world-settings .divider,#world-settings>label:last-of-type{grid-column:1/-1}.hint{align-self:center}#world-settings .divider{width:100%}}.object-panel{width:235px;flex-shrink:0;background:#f7f8f1;border-left:1px solid #d8ded0;display:flex;flex-direction:column;overflow:hidden}.panel-heading{display:flex;justify-content:space-between;padding:22px 17px 6px;font-family:Georgia,serif;font-size:18px}.panel-heading span{font-family:Arial,sans-serif;font-size:12px;color:#879477}.object-search{margin:0 14px 12px}.object-search input{background:#fff!important}.object-list{overflow:auto;flex:1;border-top:1px solid #dde2d4}.object-row{display:flex;align-items:center;min-height:39px;border-bottom:1px solid #e8ebdf}.object-row.selected{background:#e0e7cf;border-left:3px solid #8a9a60}.object-row button{border:0;background:transparent;padding:5px;font-size:13px;color:#899374}.object-row .object-pick{display:flex;align-items:center;gap:5px;flex:1;min-width:0;text-align:left;font-size:12px;color:#4c5c3e}.object-pick>span:last-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.object-thumb{width:37px;height:31px;flex-shrink:0}.object-thumb svg{width:100%;height:100%}#inspector{padding:0 16px 18px}.empty-selection{font-size:12px;line-height:1.7;color:#899579;margin:4px 0}.inspector-name{font-size:12px;margin:5px 0 17px;font-weight:700}#inspector label{margin-bottom:15px;font-size:12px}#inspector input[type=range]{margin-top:12px}.object-actions{display:flex;gap:6px;margin-top:7px}.object-actions button{flex:1;font-size:12px;padding:7px}#rename-object{width:100%;margin-top:7px;font-size:12px}.asset-heading{font-size:12px;color:#657153;display:flex;justify-content:space-between;margin-bottom:10px}.asset-heading span{color:#9ba58b;font-size:12px}.asset-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin-bottom:23px}.asset-choice{padding:3px 4px 8px;background:#edf0df;border-color:#d9dfc9;font-size:12px;color:#6d7758;overflow:hidden}.asset-choice svg{width:100%;height:65px}.asset-choice.chosen{border-color:#9caa76;box-shadow:0 0 0 1px #9caa76;background:#e5ebd3}.asset-choice span{display:block}.canvas-area{background-color:#263b36;background-image:radial-gradient(#7f9c8320 .7px,transparent .7px)}.canvas-top,.canvas-bottom #instruction{color:#a1b19c}.canvas-top i{background:#b7c795}#map-wrap{height:100%;aspect-ratio:auto}#map{width:min(100%,calc((100dvh - 300px)*1.5));max-height:none;flex-shrink:0;background:#527a7f;box-shadow:0 15px 50px #071d1b77,0 0 0 1px #8b9f7c40}#map svg{height:auto;aspect-ratio:3/2}.document-bar{padding:0 17px}.document-bar strong{max-width:175px}.document-bar #save-state{display:none}.canvas-area{padding:60px 25px 70px}.settings{width:260px}h1{font-size:28px}.rail{width:65px}@media(min-width:1600px){.object-panel{width:265px}.settings{width:285px}.canvas-area{padding:60px 35px 75px}}@media(max-width:1250px){.object-panel{width:195px}.settings{width:220px;padding:25px 14px}.document-bar{flex-wrap:wrap;min-height:85px;height:auto;padding:10px 14px;gap:5px}.document-bar .actions{gap:4px!important}.actions button{font-size:12px;padding:7px}.actions i{margin:0 4px}.badge{display:none}.canvas-area{padding:55px 17px 70px}}@media(max-width:950px){.object-panel{width:180px}.settings{width:195px}.brand{font-size:22px}header{gap:30px;padding:0 20px}#instruction{display:none}.canvas-bottom{justify-content:flex-end}}@media(max-width:800px){.object-panel{order:3;width:100%;max-height:450px;border-top:1px solid #d8ded0}.object-list{min-height:150px}.object-panel #inspector{max-width:450px}.settings{width:100%;padding:24px}.rail{width:58px}#map{width:100%}.canvas-area{min-height:420px;padding:55px 12px 65px}.canvas-top span:first-child{display:none}.canvas-top{justify-content:flex-end}.canvas-bottom #instruction{display:block}.document-bar{min-height:95px}.header-right{margin-left:auto}}#water-color{padding:3px!important;width:100%!important;height:35px!important;cursor:pointer}.water-swatches{display:flex;gap:8px;margin:-6px 0 20px}.water-swatches button{width:34px;height:28px;border:2px solid #ffffffaa;box-shadow:0 0 0 1px #cbd4c0}.rail{overflow-y:auto}.rail button{flex-shrink:0}#water-settings{margin:10px 0 22px}.shape-actions{display:flex;gap:6px}.shape-actions button{flex:1;font-size:12px}.shape-actions button.active{background:#64764f;color:#fff;border-color:#64764f}#shape-settings{margin-bottom:24px}#apply-base{margin:0 0 20px}.right-layers{flex-shrink:0;border-top:1px solid #d8ded0;padding:16px;background:#eef1e6}.right-layers .layers{display:block}.right-layers .section-line{margin-bottom:2px}.layer-brush-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.layer-brush-row button{flex:1;text-align:left;border:1px solid transparent;font-size:12px;padding:6px;background:transparent}.layer-brush-row button:hover,.layer-brush-row button.active{background:#dce5ca;border-color:#b6c59b;color:#40552d}.object-panel .object-list{min-height:80px}.object-panel .right-layers input{flex-shrink:0}.right-layers .layers>label{padding:0 7px}.rail button small{font-size:12px;max-width:60px;line-height:1.3}.right-layers .layers input[type=checkbox]{appearance:none;width:25px;height:14px;background:#d6dbcf;border-radius:20px;cursor:pointer;position:relative;margin:0}.right-layers .layers input[type=checkbox]:checked{background:#7b8c64}@media(max-width:800px){.object-panel{max-height:850px}.right-layers .layers{display:grid;grid-template-columns:1fr 1fr;gap:3px 15px}.right-layers .layer-brush-row{grid-column:1/-1}}.settings{padding-top:22px}.settings #tool-name{font-family:Georgia,serif;font-size:23px;font-weight:400;margin:0 0 10px}.settings #tool-tip{margin-bottom:25px}.settings #brush-settings>.hint{display:none}#world-dialog{width:min(500px,94vw)}#world-dialog #world-settings{margin-top:25px}#world-tab{font-size:12px}@media(max-width:800px){#world-dialog #world-settings{display:block}}:root{color-scheme:dark;--surface: #222827;--surface-raised: #2b3230;--line: #3a423e;--muted: #939e94;--text: #e0e5dc;--accent: #d4bd83;color:var(--text);background:#151c19;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{overflow:hidden}button{background:#2a322d;border-color:var(--line);color:#d4dcd1;border-radius:5px}button:hover{background:#364136}button:focus-visible,input:focus-visible,select:focus-visible{outline-color:var(--accent)}header{height:48px;padding:0 16px;gap:18px;background:#1c2520;border-bottom:1px solid #374236}header .brand{font-size:20px;letter-spacing:-.5px;flex-shrink:0}.brand-icon{font-size:26px;margin-right:7px}.org{font-size:12px}.document-identity{display:flex;align-items:center;gap:8px;border-left:1px solid #3c473d;padding-left:18px;min-width:0}.document-identity strong{font-size:12px;font-weight:500;max-width:260px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.document-identity .doc-icon{font-size:16px;color:#8d9d83}.document-identity .badge,#save-state{display:none}header .actions{margin-left:auto;display:flex;align-items:center;gap:6px!important;flex-shrink:0}.actions button,#world-tab{font-size:12px;padding:7px 10px;white-space:nowrap;line-height:1.3}.actions #undo,.actions #redo{font-size:22px;padding:0 6px;background:none}.actions i{height:18px;border-color:#43503f;margin:0 4px}.actions .export{background:#d0bc88;border-color:#d0bc88;color:#202b1e;font-weight:600}.actions .export:hover{background:#deca96}#help{width:28px;padding:6px}#help span{display:none}.workspace{height:calc(100dvh - 48px);min-height:0;position:relative;flex-wrap:nowrap}.rail{width:48px;padding:10px 5px;background:#1c231f;border-right:1px solid #333d32;gap:5px;overflow-x:hidden;z-index:4}.rail button{width:37px;height:40px;padding:8px 7px;border-radius:5px;color:#a6b1a3;justify-content:center}.rail button b{height:22px;width:22px;display:block}.rail svg{width:22px;height:22px;display:block}.rail button small{display:none}.rail button:hover{background:#303c2e;color:#edf2e6}.rail button.active{color:#e2ce99;background:#424832;box-shadow:inset 0 0 0 1px #7b815044}.rail-bottom{font-size:19px;margin-bottom:10px}.rail-bottom small{display:none}.settings{position:absolute;top:12px;left:60px;z-index:3;width:236px;max-height:calc(100% - 52px);height:auto;padding:0 15px 17px;overflow:auto;border:1px solid #444d3f;border-radius:7px;background:#252e27;box-shadow:0 8px 24px #09110b66;scrollbar-width:thin;scrollbar-color:#536046 transparent}.tool-panel-title{height:43px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #424b3c;margin:0 -15px 15px;padding:0 12px 0 15px;background:#2b352c;position:sticky;top:0;z-index:1}.settings #tool-name{font:600 12px Inter,-apple-system,sans-serif;margin:0;color:#e1e7d8}#close-tool-panel{border:0;background:transparent;font-size:21px;line-height:1;color:#a2ad98;padding:3px 4px}.settings #tool-tip{font-size:12px;line-height:1.7;color:#a0ad94;margin:0 0 18px}.settings label{color:#b8c4ac;font-size:12px;margin-bottom:16px;font-weight:500}.settings output{color:#d3dfbe;font-size:12px}.settings input[type=range],#inspector input[type=range]{accent-color:#b9c78f;height:3px;margin-top:14px}.settings input:not([type=range]):not([type=checkbox]),.settings select,#inspector input:not([type=range]):not([type=checkbox]),dialog input:not([type=range]):not([type=checkbox]),dialog select{height:33px;background:#1d271f!important;border-color:#47513f;color:#dce5d1!important;font-size:12px}.hint{color:#93a284;font-size:12px}.settings .hint{line-height:1.7}.primary{background:#9caf7c;border-color:#9caf7c;color:#1c2819;font-weight:600}.primary:hover{background:#b2c38d}#apply-base{font-size:12px;padding:10px;margin-bottom:20px}.water-swatches{gap:8px;margin-bottom:19px}.water-swatches button{border-color:#afbfa277;box-shadow:0 0 0 1px #5b6a4e;border-radius:4px;width:38px;height:27px}#water-color{border-color:#59694f!important;height:34px!important;background:#1e281e!important}.asset-heading{color:#bdcbaa;font-size:12px}.asset-heading span{color:#8e9f7b}.asset-grid{gap:6px}.asset-choice{background:#b4b98c;border:1px solid #657451;color:#34412b;font-size:12px}.asset-choice:hover,.asset-choice.chosen{background:#cbd2a8;border-color:#bdce8b;box-shadow:0 0 0 1px #bdce8b}.asset-choice svg{height:64px}.shape-actions button{font-size:12px;padding:8px 5px}.shape-actions button.active{background:#9fb37f;border-color:#9fb37f;color:#20301c}.object-panel{width:232px;background:#202822;border-left:1px solid #3d4838;min-height:0;max-height:none;overflow:hidden;display:flex;flex-direction:column;order:0}.right-layers{order:0;border-top:0;border-bottom:1px solid #414c3c;background:#252f25;padding:16px 12px 11px;flex-shrink:0}.right-layers .section-line{margin:0 0 9px}.right-layers .section-line label{font-size:12px;color:#c9d4be;font-weight:600;margin:0}.right-layers .section-line>span{color:#899c77}.right-layers .layers{display:flex;flex-direction:column;gap:0}.right-layers .layers>label{font-size:12px;color:#b5c2a7;padding:6px 8px;margin:0;min-height:30px;order:2}.layer-brush-row{margin:0 0 2px;min-height:32px;gap:8px}.layer-brush-row:has([data-brush-entry=terrainpaint]){order:4}.layer-brush-row:has([data-brush-entry=water]){order:5}.layer-brush-row button{font-size:12px;border-radius:4px;color:#c2ceb3;padding:7px 8px}.layer-brush-row button:before{content:none;color:#95a97d;margin-right:9px}.layer-brush-row:has([data-brush-entry=water]) button:before{content:none;color:#94b9b5}.layer-brush-row button:hover,.layer-brush-row button.active{background:#414e31;border-color:#748258;color:#e0ebc8}.right-layers .layers input[type=checkbox]{width:23px;height:13px;background:#4c5844}.right-layers .layers input[type=checkbox]:checked{background:#95a975}.layers input:after{width:9px;height:9px;top:2px;left:2px;background:#e7eddc}.layers input:checked:after{left:12px}.panel-heading{order:1;padding:14px 13px 10px;border-bottom:1px solid #35412e;font-family:inherit;align-items:center}.panel-heading span{color:#8d9f79;font-size:12px}#toggle-objects{border:0;background:none;padding:0;color:#c5d2b9;font-size:12px;font-weight:600}#toggle-objects:before{content:none;font-size:12px;margin-right:8px;color:#95a580}.objects-collapsed #toggle-objects:before{content:none}.object-search{order:2;margin:9px 12px}.object-search input{background:#18221a!important;border-color:#3d4a34!important;color:#d0dcc3!important;height:30px!important;font-size:12px!important;margin:0!important}#inspector{order:3;padding:0 13px 12px}#inspector label{color:#b4c3a3;font-size:12px;margin-bottom:12px}.empty-selection{font-size:12px;line-height:1.7;color:#819771;margin:1px 0 0}.inspector-name{color:#d3dfc5;font-size:12px;margin:5px 0 14px}#inspector button{font-size:12px;padding:7px;background:#2e3c27;border-color:#47563a;color:#c1d2b1}.object-list{order:4;flex:1;min-height:0!important;border-top:1px solid #3c4a32;background:#1d271e;scrollbar-width:thin;scrollbar-color:#4b5f3b transparent}.object-row{min-height:35px;border-bottom:1px solid #2c3927}.object-row .object-pick{color:#b8c9a7;font-size:12px}.object-row button{color:#8ca273}.object-row.selected{background:#3c4c2c;border-left-color:#c4cb87}.object-thumb{width:32px;height:28px}.objects-collapsed .object-search,.objects-collapsed #inspector,.objects-collapsed .object-list{display:none}main{width:auto;flex:1;min-width:0;min-height:0;background:#18211a}.canvas-area{padding:30px 32px;min-height:0;background:#18221b;background-image:radial-gradient(ellipse at 50% 45%,#27352a66,transparent 75%);flex:1;display:flex;align-items:center;justify-content:center}#map-wrap{height:100%;width:100%;max-width:none;aspect-ratio:auto;max-height:none}#map{width:min(100%,calc((100dvh - 140px)*1.5));height:auto;max-height:none;aspect-ratio:3/2;box-shadow:0 14px 40px #060d084d,0 0 0 1px #75846933}#map svg{width:100%;height:auto;display:block}footer{height:28px;min-height:28px;background:#1b271d;border-top:1px solid #3d4a34;padding:0 12px;font-size:12px;letter-spacing:0;display:flex;align-items:center;justify-content:space-between;color:#8d9e7d;gap:12px}.status-left,.status-right{display:flex;align-items:center;gap:9px;min-width:0}.status-left{flex:1}.status-right{flex-shrink:0}.status-dot{width:5px;height:5px;border-radius:50%;background:#9caf75;flex-shrink:0}.status-separator{color:#526344}#instruction{font-size:12px;color:#849d71;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:none;line-height:1.4}.status-left>span:first-of-type{white-space:nowrap}#seed-display{font-size:12px;letter-spacing:.8px;color:#82996e}.zoom{background:transparent;border:0;box-shadow:none;gap:0}.zoom button{padding:3px 8px;font-size:13px;background:transparent;color:#bacda8}#zoom-reset{font-size:12px;min-width:46px}#fit-screen{padding:4px 7px;font-size:12px;background:#2c3b25;border-color:#475c37}dialog{background:#273226;color:#e0e8d6;border-color:#546744;box-shadow:0 20px 80px #0008}dialog p{color:#adbd9d}dialog h2{color:#e4ebd8}.close{color:#b4c5a0}dialog label{color:#baccaa}.divider{background:#45563a}#world-dialog .styles .style{background:#35442a;color:#cbd9b9;border-color:#566d40}#world-dialog .styles .active{border-color:#b8c88d;box-shadow:0 0 0 1px #b8c88d}#toast{background:#465c32;color:#eff4e4;bottom:43px}@media(max-width:1200px){.document-identity strong{max-width:140px}.object-panel{width:208px}header{padding:0 10px;gap:12px}.document-identity{padding-left:12px}.actions button,#world-tab{padding:6px 8px;font-size:12px}.actions i{margin:0 2px}.canvas-area{padding:28px 24px}.settings{width:224px}.status-left>span:not(#instruction){display:none}.status-left .status-dot{display:block}}@media(max-width:950px){.document-identity .doc-icon{display:none}.document-identity strong{max-width:100px;font-size:12px}.brand{font-size:18px!important}.org{display:none}.object-panel{width:185px}.actions button,#world-tab{padding:6px;font-size:12px}.actions .export{margin-left:0}.canvas-area{padding:26px 20px}#seed-display{display:none}.settings{width:215px}}@media(max-width:800px){header{height:80px;flex-wrap:wrap;align-content:center;gap:7px 13px;padding:7px 10px}.brand-icon{font-size:22px}.brand{font-size:18px!important}.document-identity{border:0;padding:0}.document-identity strong{max-width:180px}.actions{width:100%;justify-content:flex-end}.actions button,#world-tab{font-size:12px;padding:5px 7px}header .actions{gap:5px!important}.workspace{height:calc(100dvh - 80px);min-height:0}.rail{width:44px;padding:8px 3px}.rail button{width:36px;height:38px}.rail-bottom{display:none}.object-panel{position:absolute;right:0;top:0;bottom:28px;width:210px;max-height:none;z-index:5;box-shadow:-10px 0 25px #0004;display:none}.workspace.layers-open .object-panel{display:flex}.settings{left:54px;top:10px;width:min(230px,calc(100vw - 65px));max-height:calc(100% - 48px);padding:0 13px 15px}.tool-panel-title{margin:0 -13px 14px;padding-left:13px}main{flex:1;width:calc(100% - 44px);min-height:0}.canvas-area{min-height:0;padding:22px 10px}#map{width:100%}footer{padding:0 8px}.status-left{display:none}.status-right{width:100%;justify-content:flex-end}footer span:last-child{display:initial}.right-layers .layers{display:flex}.layer-brush-row{grid-column:auto}#toggle-layers{display:block!important}.settings #water-settings{margin-top:5px}#world-dialog #world-settings{display:block}}#toggle-layers{display:none}.tool-panel-title button:hover{color:#fff}@media(max-width:800px){header .actions{flex-wrap:nowrap!important;min-width:0;justify-content:space-between;gap:3px!important}header .actions #help{display:none}header #world-tab,header #save,header #export{font-size:0;padding:6px 7px}header #world-tab:before{content:"World";font-size:12px}header #save:before{content:"Save";font-size:12px}header #export:before{content:"Export";font-size:12px}header .actions #undo,header .actions #redo{padding:0 4px;font-size:20px}header .actions i{margin:0 1px}header .brand{font-size:17px!important}header .document-identity strong{max-width:160px}header .actions #open{padding:5px 7px}.document-identity .badge{display:none}}.land-shapes{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:-7px 0 17px}.land-shapes button{padding:6px 3px;min-height:62px;color:#b6c5a7;background:#1f291f;border-color:#435339}.land-shapes button>span{display:block;font-size:22px;line-height:26px;color:#c5d2b4}.land-shapes small{display:block;font-size:12px;line-height:1.4;white-space:normal}.land-shapes button[aria-pressed=true]{background:#465335;border-color:#a6b879;color:#f0e8c8}.land-smooth{display:flex;align-items:center;gap:7px}.land-smooth input{accent-color:#b7c68a}#land-shape-help{margin:0 0 15px}#land-modes{display:flex;gap:4px;padding:3px;background:#192419;border-radius:5px;margin:0 0 16px}#land-modes button{flex:1;font-size:12px;padding:8px 5px;background:transparent;border-color:transparent;color:#a6b698}#land-modes button.active{background:#465535;border-color:#6c8152;color:#e7efdc}#inspector{max-height:42vh;min-height:40px;flex-shrink:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#4b5f3b transparent}#inspector .land-smooth{display:flex;align-items:center;gap:8px}#inspector .land-smooth input[type=checkbox]{width:14px;height:14px;margin:0;accent-color:#b9c78f}#inspector select{background:#1d271f;color:#dce5d1;border-color:#47513f;font-size:12px}.object-list{min-height:80px!important}.painted-preview{object-fit:contain;display:block}.asset-choice img.painted-preview{width:100%;height:64px}.object-pick img.painted-preview{width:28px;height:30px;flex-shrink:0}.settings .asset-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:190px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#4b5f3b transparent}.settings .asset-choice{min-width:0;padding:5px 3px}.settings .asset-choice svg,.settings .asset-choice img.painted-preview{height:43px}.settings .asset-choice span{font-size:12px;line-height:1.3}#active-stamp-group{border-top:1px solid #46513c;margin-top:12px;padding-top:8px}.stamp-shape-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.stamp-shape-choices button{position:relative;min-width:0;padding:4px;background:#253022;border:1px solid #46513c;border-radius:4px}.stamp-shape-choices button[aria-pressed=true]{border-color:#d5c489;background:#3e4b30}.stamp-shape-choices svg,.stamp-shape-choices img{display:block;width:100%;height:48px;object-fit:contain}.stamp-shape-choices span{position:absolute;right:4px;bottom:2px;font-size:12px;color:#e1d7b6}.settings .asset-choice{background:#293425;color:#cbd6b8;border-color:#48543c}.settings .asset-choice.chosen{background:#465334;border-color:#d5c489;color:#f1e5bd}#active-stamp-group>label{margin:8px 0;font-size:12px}#active-stamp-group{border-top:0;border-bottom:1px solid #46513c;margin:0 0 12px;padding:0 0 10px}.settings .asset-choice{position:relative}.asset-group-count{position:absolute;top:3px;right:3px;min-width:15px;padding:1px 3px;border-radius:3px;font-size:12px;line-height:14px;background:#48563b;color:#f2e8c8}.stamp-shape-choices{max-height:190px;overflow-y:auto;scrollbar-width:thin}.variant-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.variant-heading strong{font-size:12px;font-weight:600;color:#e7ebdf}.variant-heading strong span{font-size:12px;color:#a4b494;margin-left:6px;font-weight:400}.settings .variant-heading label{margin:0;display:flex;align-items:center;gap:5px;font-size:12px;color:#d7dec8}.settings .variant-heading input{margin:0}.stamp-shape-choices button{padding:5px;min-height:63px}.stamp-shape-choices svg,.stamp-shape-choices img{height:53px}.stamp-shape-choices button[aria-pressed=true]{outline:1px solid #d5c489;outline-offset:1px;background:#48563a}.placement-controls{padding-top:13px}.settings .placement-controls>label{margin-bottom:9px;font-size:12px;color:#dce3d1}.settings .placement-controls .land-smooth{margin:8px 0 0}#active-stamp-group{padding-bottom:12px;margin-bottom:12px}.settings .asset-grid{max-height:220px}.settings .asset-heading{font-size:12px;color:#d5deca;margin:0 0 8px}.settings #asset-library .asset-choice span{font-size:12px;font-weight:400;color:#c0cbb3}#stamp-more{border-top:1px solid #45513b;margin-top:12px;padding-top:10px}#stamp-more summary{cursor:pointer;font-size:12px;color:#a6b498;padding:2px 0 10px}#stamp-more[open] summary{color:#dce3cf}#stamp-more label{font-size:12px}@media(max-height:800px){.stamp-shape-choices{max-height:180px}.stamp-shape-choices button{min-height:55px;padding:4px}.stamp-shape-choices svg,.stamp-shape-choices img{height:45px}.settings .asset-grid{max-height:160px}}.object-group{margin-bottom:6px;border:1px solid #ffffff18;border-radius:6px;overflow:hidden}.group-header{background:#ffffff08}.group-header .object-pick{font-weight:600}.group-header input{min-width:0;width:100%}.group-children{padding-left:14px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.rail{width:76px;padding:8px 6px;gap:0;scrollbar-width:thin;scrollbar-color:#465244 transparent}.rail-section{display:flex;flex-direction:column;align-items:center;gap:3px;padding:5px 0 10px;flex-shrink:0}.rail-section+.rail-section{border-top:1px solid #364235;padding-top:10px}.rail button{width:62px;height:51px;padding:6px 3px;gap:4px;border-radius:8px}.rail button small{display:block;font-size:12px;line-height:12px}.rail button b,.rail svg{width:21px;height:21px}.rail button.active{background:#424d36;color:#eee2b9;box-shadow:inset 0 0 0 1px #8d9b5f66}.settings{position:static;flex-shrink:0;left:auto;top:auto;width:304px;height:100%;max-height:none;border:0;border-right:1px solid #3e4a3a;border-radius:0;box-shadow:none;padding:0 16px 16px;background:#242d25}.settings[hidden]{display:none!important}.tool-panel-title{height:52px;min-height:52px;margin:0 -16px 14px;padding:0 14px 0 16px;background:#242d25}.settings #tool-name{font-size:14px;letter-spacing:-.2px}.settings:has(#category-filters:not([hidden])){overflow:hidden}.settings:has(#category-filters:not([hidden])) #brush-settings{display:flex;flex-direction:column;height:100%;min-height:0}#category-filters{flex-shrink:0;margin-bottom:12px}#category-filters[hidden]{display:none}.settings .category-search{margin:0 0 10px}.settings #category-search{width:100%;height:36px;padding:8px 11px;border-radius:7px;background:#1b241e!important}.category-types{display:flex;flex-wrap:wrap;gap:5px;max-height:144px;overflow:auto;scrollbar-width:thin}.category-types button{padding:5px 8px;font-size:12px;white-space:nowrap;border-radius:5px;background:#2b3629;border-color:#46513c;color:#aebe9e}.category-types button[aria-pressed=true]{background:#4c5938;border-color:#a6ad70;color:#f2e8c6}.settings:has(#category-filters:not([hidden])) #asset-library{display:flex;flex-direction:column;flex:1;min-height:140px}.settings .asset-heading{flex-shrink:0;display:flex;justify-content:space-between;align-items:center;min-height:29px}.settings .asset-heading button{font-size:12px;padding:4px 7px;color:#c8d3b5;border:0;background:transparent}.settings:has(#category-filters:not([hidden])) .asset-grid{flex:1;min-height:90px;max-height:none;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(128px,max-content);align-content:start;gap:8px;padding:2px 3px 6px 1px}.settings .asset-choice{padding:9px 6px 7px;border-radius:7px}.settings .asset-choice svg,.settings .asset-choice img.painted-preview{height:78px}.settings #asset-library .asset-choice span{font-size:12px;line-height:1.4;margin-top:4px}.settings .asset-choice.chosen{box-shadow:0 0 0 1px #c6bf87;background:#3e4c31}.settings #active-stamp-group{flex-shrink:0;padding:0 0 12px;margin:0 0 9px}.settings .variant-heading{gap:8px;margin-bottom:6px}.settings .variant-heading strong{min-width:0;max-width:195px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.settings .variant-heading strong span{font-size:12px}.settings .variant-heading label{font-size:12px;flex-shrink:0}.settings .stamp-shape-choices{display:flex;gap:6px;max-height:none;overflow:auto;padding:2px 2px 5px;scrollbar-width:thin;scrollbar-color:#66734f transparent}.settings .stamp-shape-choices button{width:53px;min-width:53px;min-height:55px;flex-shrink:0;padding:4px}.settings .stamp-shape-choices svg,.settings .stamp-shape-choices img{height:44px}.settings .stamp-shape-choices span{font-size:12px}.settings .placement-controls{display:flex;align-items:center;gap:16px;padding-top:6px}.settings .placement-controls>label:first-child{flex:1;min-width:0}.settings .placement-controls>label{margin:0;font-size:12px}.settings .placement-controls .land-smooth{margin:0;flex-shrink:0}.settings .placement-controls input[type=range]{margin-top:8px}.settings #stamp-settings{flex-shrink:0}.settings #stamp-more{margin:8px 0 0;padding-top:7px}.settings #stamp-more[open]{max-height:220px;overflow:auto}.settings #stamp-more summary{padding:2px 0 5px;font-size:12px}.category-empty{grid-column:1/-1;padding:30px 12px;text-align:center;font-size:12px;color:#afbea2}.category-empty button{display:block;margin:12px auto 0;font-size:12px}.object-panel{display:none;width:258px;flex-shrink:0}.workspace.layers-open .object-panel{display:flex}#toggle-layers{display:inline-flex!important;align-items:center}#toggle-layers[aria-expanded=true]{background:#455336;border-color:#9ca978;color:#f1e6c4}#close-layers{margin-left:auto;padding:0 3px;font-size:20px;line-height:1;background:none;border:0;color:#b5c1a9}.right-layers .section-line>span{display:none}.right-layers{padding:14px 13px 10px}.context-toolbar{position:relative;z-index:5;flex-shrink:0;min-width:0;background:#252e26;border-bottom:1px solid #3e483a}.context-toolbar #inspector{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:54px;max-height:none;overflow:visible;order:0;padding:8px 14px}#inspector .inspector-name{font-size:12px;font-weight:600;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 8px 0 0;padding-right:14px;border-right:1px solid #48513f}#inspector>label{display:flex;align-items:center;gap:6px;margin:0;font-size:12px;color:#aebe9f;white-space:nowrap}#inspector input[type=number]{width:54px;height:30px;padding:4px 5px;font-size:12px;margin:0;border:1px solid #48533e;border-radius:5px}#inspector #object-opacity{width:51px}#inspector>button,#inspector .object-actions button,#inspector summary{padding:7px 9px;font-size:12px;line-height:16px;white-space:nowrap;background:transparent;border:1px solid transparent;border-radius:5px}#inspector>button{width:auto;margin:0;flex-shrink:0}#inspector>button:hover,#inspector .object-actions button:hover,#inspector summary:hover{background:#374431;border-color:#526344}#inspector>button[aria-pressed=true]{background:#465337;border-color:#9aa975}#inspector .object-actions{display:flex;gap:3px;margin:0 0 0 auto}#inspector #delete-object{color:#d9a89a}#inspector details{position:relative;flex-shrink:0}#inspector summary{cursor:pointer;list-style:none;color:#c1d2b1}#inspector summary::-webkit-details-marker{display:none}#inspector summary:after{content:none;margin-left:6px;color:#93a87a}#inspector .selection-menu{position:absolute;right:0;top:calc(100% + 9px);width:180px;z-index:10;padding:7px;border:1px solid #586747;border-radius:7px;background:#293526;box-shadow:0 10px 30px #0005}#inspector .selection-menu button{display:block;width:100%;text-align:left;padding:9px 10px;border:0;background:transparent;font-size:12px}#inspector .selection-menu button:hover{background:#3b4b2d}#inspector .line-menu{width:236px;padding:14px;max-height:60vh;overflow:auto}#inspector .line-menu label{display:block;margin:0 0 13px;font-size:12px}#inspector .line-menu label.land-smooth{display:flex}#inspector .line-menu select{width:100%;height:30px;margin-top:5px}#inspector .line-menu input[type=color]{height:30px;width:100%;margin-top:5px}#inspector.context-idle{justify-content:space-between;gap:12px}#inspector .empty-selection{font-size:12px;color:#a5b39a;margin:0;line-height:1.5}.context-shortcuts{font-size:12px;color:#7f9274;white-space:nowrap}main{display:flex;flex-direction:column}.canvas-area{padding:26px 30px;background-color:#17221c;background-image:radial-gradient(#798d7430 .7px,transparent .7px);background-size:16px 16px}#map{width:min(100%,calc((100dvh - 190px)*1.5));max-height:none}@media(max-width:1200px){.settings{width:282px}.object-panel{width:232px}.canvas-area{padding:24px 20px}.context-shortcuts{display:none}}@media(max-width:800px){.rail{width:62px;padding:5px 4px}.rail button{width:52px;height:48px;padding:5px 2px}.rail button small{font-size:12px}.rail-section{padding-bottom:8px;gap:2px}.rail-section+.rail-section{padding-top:8px}.settings{position:absolute;left:62px;top:0;bottom:28px;z-index:6;width:min(286px,calc(100vw - 72px));height:auto;max-height:none;padding:0 13px 13px;box-shadow:10px 0 30px #0005}.tool-panel-title{margin:0 -13px 12px;padding:0 10px 0 13px}main{width:calc(100% - 62px)}.object-panel{z-index:7;width:min(270px,calc(100vw - 72px))}.canvas-area{padding:18px 10px}#map{width:100%}.context-toolbar #inspector{min-height:49px;padding:7px 10px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}#inspector .inspector-name{max-width:100px;flex-shrink:0}#inspector>label,#inspector>button,#inspector .object-actions{flex-shrink:0}#inspector.context-idle{overflow:hidden}#inspector .empty-selection{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#inspector .selection-menu{position:fixed;top:139px;left:72px;right:12px;width:auto}.settings .category-types{max-height:144px}.settings .asset-choice svg,.settings .asset-choice img.painted-preview{height:67px}.settings:has(#category-filters:not([hidden])) .asset-grid{grid-auto-rows:minmax(116px,max-content)}}:root{font-size:14px;line-height:1.5}.document-identity strong,.actions button,#world-tab{font-size:13px}.settings label,.settings summary,.category-types button{font-size:13px}.settings input:not([type=range]),.settings select,dialog input,dialog select{font-size:14px}.settings input:not([type=range]):not([type=color]),.settings select{min-height:36px}.settings #tool-name{font-size:16px}.settings .asset-heading{font-size:13px;min-height:34px}.settings .variant-heading strong{font-size:13px}.rail button{height:56px;gap:5px}.rail button small{line-height:16px;letter-spacing:0}.settings #asset-library .asset-choice span{line-height:1.5;overflow-wrap:anywhere}.settings .stamp-shape-choices button{min-height:64px}.settings .stamp-shape-choices span{line-height:16px}#inspector .inspector-name,#inspector>label{font-size:13px}#inspector input[type=number]{font-size:13px;width:62px;height:34px}#inspector #object-opacity{width:58px}.context-shortcuts{color:#adbea0}#instruction,#seed-display{color:#b3c4a4}footer{color:#b3c4a4}.stamp-card-pick{height:auto;min-height:170px}.stamp-card-pick>span{line-height:1.5}@media(max-width:800px){.rail button{height:54px}.settings label,.settings summary,.category-types button{font-size:12px}header .actions button,header #world-tab{font-size:12px}header #world-tab,header #save,header #export{font-size:0}header .actions{overflow-x:auto}header .actions>button{flex-shrink:0}}.rail{width:88px}.rail button{width:76px}@media(max-width:800px){.rail{width:76px}.rail button{width:68px}.settings{left:76px;width:min(286px,calc(100vw - 86px))}main{width:calc(100% - 76px)}}.rail{flex-shrink:0}.rail button{padding-left:1px;padding-right:1px}.rail button small{width:100%}.rail button small{max-width:none;padding:0}:root{--ui-bg:#191b1e;--ui-panel:#292c31;--ui-raised:#33373d;--ui-border:#45494f;--ui-muted:#b8bbc2;--ui-text:#f0f0f2;--ui-accent:#dfc58d}.ui-icon{display:inline-block;width:18px;height:18px;flex-shrink:0;vertical-align:middle}button:has(>.ui-icon){display:inline-flex;align-items:center;justify-content:center;gap:7px}button:focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}header{height:64px;padding:0 20px;gap:24px;background:#25282d;border-bottom:1px solid var(--ui-border)}header .brand{font-size:21px;gap:0}.brand-icon{display:flex;align-items:center;margin-right:9px;color:var(--ui-accent)}.brand-icon .ui-icon{width:28px;height:28px}.org{font-size:12px;color:var(--ui-muted);margin-left:2px}.document-identity{padding-left:24px;gap:10px;flex:1;border-color:var(--ui-border)}.document-identity .doc-icon{display:flex;color:var(--ui-muted)}.document-identity strong{font-size:14px;font-weight:500;max-width:240px}header .actions{gap:6px!important}header .actions button{height:36px;padding:0 11px;font-size:13px;border:1px solid transparent;border-radius:7px;background:transparent;color:#e0e1e5}header .actions button:hover{background:#383c43;border-color:#555a63}header .actions #world-tab{margin-right:10px;border-color:var(--ui-border)}header .actions #open,header .actions #save{background:#30343a;border-color:#494e56}header .actions #undo,header .actions #redo{width:32px;padding:0}header .actions #help{width:32px;padding:0;order:5}header #help span{display:none}header .actions #export{margin:0 8px 0 4px;background:var(--ui-accent);color:#2b2418;border-color:var(--ui-accent);font-weight:600}header .actions #export:hover{background:#efdab0}header .actions #toggle-layers{border-color:var(--ui-border)}header .actions #toggle-layers[aria-expanded=true]{background:#443e32;border-color:#bfa56e;color:#f3dfb4}.actions i{height:22px;margin:0 5px;border-color:var(--ui-border)}.workspace{height:calc(100dvh - 64px);background:var(--ui-bg)}.rail{width:96px;padding:10px 7px;background:#25282d;border-color:var(--ui-border);scrollbar-width:thin;scrollbar-color:#51555c transparent}.rail-section{width:100%;gap:3px;padding:0 0 10px}.rail-section+.rail-section{padding-top:10px;border-color:var(--ui-border)}.rail-group-label{display:block;width:100%;padding:0 3px 6px;color:#aeb2bb;font-size:12px;line-height:16px;text-align:center}.rail button{position:relative;width:80px;height:48px;padding:4px 1px;gap:3px;border:1px solid transparent;border-radius:7px;color:#c3c6ce}.rail button b,.rail svg{width:20px;height:20px}.rail button small{font-size:12px;line-height:16px;font-weight:400;max-width:none;letter-spacing:0}.rail button:hover{background:#34383e;color:#f4f4f5}.rail button.active{background:#443e32;color:#f3dfb4;border-color:#a58d5e;box-shadow:inset 3px 0 #dfc58d}.rail button.active small{font-weight:600}.context-toolbar{background:#25282d;border-color:var(--ui-border)}.context-toolbar #inspector{min-height:48px;padding:7px 20px}#inspector .empty-selection{display:flex;align-items:center;gap:10px;color:var(--ui-muted);font-size:13px}.empty-selection>.ui-icon{color:#bec1c9}.empty-selection strong{color:#ececf0;font-size:13px;font-weight:500}.empty-selection>span{border-left:1px solid var(--ui-border);padding-left:12px;margin-left:2px}.context-shortcuts{display:flex;align-items:center;gap:7px;color:#b6bac3;font-size:12px}kbd{font:inherit;font-size:12px;line-height:20px;min-width:22px;padding:0 5px;border:1px solid #515660;border-radius:4px;background:#30343a;text-align:center;color:#dedfe5;box-shadow:0 1px #1c1e22}.canvas-area{padding:32px;background-color:#191b1e;background-image:radial-gradient(#c1c6d012 .7px,transparent .7px);background-size:18px 18px}#map{box-shadow:0 14px 44px #0005,0 0 0 1px #d0c4a833}.settings{width:312px;background:#2d3036;border-color:var(--ui-border);padding-right:16px;padding-left:16px}.tool-panel-title{min-height:56px;height:56px;background:#2d3036;border-color:var(--ui-border)}.settings #tool-name{font-size:15px;letter-spacing:0}.tool-panel-title button,#close-layers,button.close{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:5px;border-radius:5px}.tool-panel-title button:hover,#close-layers:hover{background:#41454d}.settings #category-search{height:40px;padding:10px 12px;border-color:#555a64}.category-types{gap:6px}.category-types button{min-height:30px;border-radius:6px;background:#34383f;color:#d0d2d8}.category-types button[aria-pressed=true]{color:#f7e5bf;background:#494132;border-color:#baa06a}.settings .asset-choice{background:#272a2f;border-color:#4b5059;transition:border-color .15s,background .15s}.settings .asset-choice:hover{background:#363a41;border-color:#a99c80}.settings .asset-choice.chosen{background:#454033;border-color:#d2b77e;box-shadow:inset 0 0 0 1px #d2b77e}.settings .asset-heading button{display:inline-flex;align-items:center;gap:5px}.settings .asset-heading button .ui-icon{width:14px;height:14px}#inspector summary:after{content:none}#inspector summary{display:flex;align-items:center;gap:6px}#inspector summary .ui-icon{width:14px;height:14px}.land-shapes button>span .ui-icon{width:24px;height:24px}.styles .style>span .ui-icon{width:32px;height:32px}footer{height:36px;min-height:36px;padding:0 16px;background:#25282d;border-color:var(--ui-border);color:#c7c9d0}.status-left{gap:10px}#instruction{color:#bfc2cb;font-size:12px}#seed-display{font-size:12px;letter-spacing:0;color:#b2b6c0}.status-right{gap:14px}.zoom{display:flex;align-items:center;padding:0 4px;border-left:1px solid var(--ui-border);border-right:1px solid var(--ui-border)}.zoom button{width:28px;height:28px;padding:5px}.zoom .ui-icon{width:15px;height:15px}#zoom-reset{min-width:54px;width:auto;font-size:12px;font-variant-numeric:tabular-nums}#fit-screen{display:inline-flex;align-items:center;gap:6px;padding:4px 7px;font-size:12px;background:transparent;border-color:transparent}#fit-screen:hover{background:#3b3f46;border-color:#626773}.object-row>button:not(.object-pick) .ui-icon{width:16px;height:16px}.stamp-favorite[aria-pressed=true] .ui-icon{fill:currentColor}.stamp-result-bar #stamp-back{display:inline-flex;align-items:center;gap:5px}.stamp-result-bar #stamp-back[hidden]{display:none}@media(max-height:850px)and (min-width:801px){.rail{padding-top:7px;padding-bottom:7px}.rail button{height:44px;gap:1px}.rail-section{gap:2px;padding-bottom:7px}.rail-section+.rail-section{padding-top:7px}.rail-group-label{padding-bottom:4px}}@media(max-width:1200px){header{gap:14px;padding:0 14px}.document-identity{padding-left:14px}.document-identity strong{max-width:160px}header .actions button{padding:0 8px}header .actions #world-tab{margin-right:2px}header #open .ui-icon,header #save .ui-icon{display:none}.context-shortcuts{display:none}.settings{width:292px}}@media(max-width:1000px)and (min-width:801px){header .org,header #world-tab .ui-icon{display:none}.document-identity strong{max-width:110px}header .brand{font-size:18px}header .actions{gap:3px!important}header .actions button{padding:0 6px;font-size:12px}header .actions #export{margin-right:0}}@media(max-width:800px){header{height:104px;padding:10px 12px;gap:9px 14px;align-content:center}header .brand{font-size:19px!important}.brand-icon .ui-icon{width:24px;height:24px}.document-identity{padding:0;border:0;justify-content:flex-end}.document-identity strong{max-width:160px;font-size:12px}header .actions{width:100%;gap:4px!important;overflow-x:auto;justify-content:space-between}header .actions button{height:34px;padding:0 8px;font-size:12px}header #world-tab:before,header #save:before,header #export:before{content:none}header .actions #world-tab,header .actions #save,header .actions #export{font-size:12px;margin:0}header #world-tab span,header #save span,header #export span{font-size:0}header #world-tab span:after{content:"World";font-size:12px}header #save span:after{content:"Save";font-size:12px}header #export span:after{content:"Export";font-size:12px}header #world-tab .ui-icon,header #export .ui-icon{display:none}header .actions #undo,header .actions #redo{width:28px;padding:0}header .actions i{margin:0 1px}header .actions #help{display:none}header .actions #toggle-layers{padding:0 7px}header #toggle-layers .ui-icon{display:none}.workspace{height:calc(100dvh - 104px)}.rail{width:80px;padding:7px 4px}.rail button{width:70px;height:46px;gap:2px}.rail-group-label{padding-bottom:4px}.rail-section{gap:2px;padding-bottom:7px}.rail-section+.rail-section{padding-top:7px}main{width:calc(100% - 80px)}.settings{left:80px;bottom:36px;width:min(300px,calc(100vw - 90px))}.tool-panel-title{padding-left:13px;padding-right:10px}.context-toolbar #inspector{min-height:44px;padding:7px 12px}#inspector .empty-selection{gap:8px}.empty-selection>span{display:none}.canvas-area{padding:20px 12px}footer{padding:0 8px}.status-right{gap:5px}#seed-display{display:none}.object-panel{bottom:36px}#inspector .selection-menu{top:159px;left:90px}}#toggle-objects{display:inline-flex;align-items:center;gap:7px}#toggle-objects .ui-icon{width:15px;height:15px;transition:transform .15s}.objects-collapsed #toggle-objects .ui-icon{transform:rotate(-90deg)}.layer-brush-row button{display:inline-flex;align-items:center;gap:8px}.layer-brush-row button:before{content:none}@media(min-width:801px)and (max-height:900px){.rail button{height:43px;gap:1px}.rail-section{gap:2px;padding-bottom:7px}.rail-section+.rail-section{padding-top:7px}.rail-group-label{padding-bottom:4px}}#stamp-more summary{display:flex;align-items:center;gap:7px;list-style:none}#stamp-more summary::-webkit-details-marker{display:none}#stamp-more summary .ui-icon{width:15px;height:15px}#stamp-more summary .ui-icon:last-child{margin-left:auto}#stamp-more[open] summary .ui-icon:last-child{transform:rotate(180deg)}:root{--surface:var(--ui-panel);--surface-raised:var(--ui-raised);--line:var(--ui-border);--muted:var(--ui-muted);--text:var(--ui-text);--accent:var(--ui-accent);color:var(--ui-text);background:var(--ui-bg)}button{background:var(--ui-raised);border-color:var(--ui-border);color:var(--ui-text)}button:hover{background:#41454d}button:disabled{opacity:.4}.settings,.object-panel,dialog{scrollbar-color:#626670 transparent}.settings label,dialog label,#inspector>label{color:#d3d5dc}.settings .intro,.settings .hint,dialog .hint,.category-empty{color:#b8bcc6}.settings .hint,.settings .intro{line-height:1.6}.settings input:not([type=range]):not([type=checkbox]),.settings select,.settings #category-search,dialog input:not([type=range]):not([type=checkbox]),dialog select,#inspector input:not([type=range]):not([type=checkbox]),#inspector select,.object-search input,.stamp-filters input,.stamp-filters select,.stamp-variants{background:#22252a!important;color:#ececf0!important;border-color:#575d67!important}input::placeholder{color:#a9aeb9;opacity:1}input[type=range],input[type=checkbox]{accent-color:var(--ui-accent)}.primary,#world-dialog .primary{background:var(--ui-accent);border-color:var(--ui-accent);color:#2b2418}.primary:hover,#world-dialog .primary:hover{background:#efdab0;border-color:#efdab0}.settings output,dialog output{color:#e7d2a6}.settings .asset-heading,.settings .asset-heading button,.settings #asset-library .asset-choice span,.settings .variant-heading label,.settings .placement-controls>label{color:#dedfe5}.settings .variant-heading strong{color:#f0f0f2}.settings .variant-heading strong span,#stamp-more summary{color:#bdc1cb}.settings .stamp-shape-choices button{background:#24272c;border-color:#50555e}.settings .stamp-shape-choices button[aria-pressed=true]{background:#454033;border-color:#d2b77e;box-shadow:inset 0 0 0 1px #d2b77e}.settings .stamp-shape-choices span,.asset-group-count{color:#f4e3bd;background:#484133}.settings #active-stamp-group,.settings #stamp-more,.divider{border-color:var(--ui-border)}.divider{background:var(--ui-border)}.land-shapes button,.shape-actions button{background:#272a30;border-color:#535862;color:#d2d5dd}.land-shapes button>span{color:#d2d5dd}.land-shapes button[aria-pressed=true],.shape-actions button.active{background:#494132;border-color:#bfa56e;color:#f3dfb4}.object-panel,.right-layers,.panel-heading{background:#2d3036;border-color:var(--ui-border)}.panel-heading span,#toggle-objects,.right-layers label,.layer-brush-row button{color:#d2d5dd}.object-list{background:#25282d;scrollbar-color:#626670 transparent}.object-row{border-color:#3e434b}.object-row.selected{background:#454033;border-left-color:var(--ui-accent)}.object-pick,.object-row button{color:#d9dbe2}.object-row button:hover{background:#41454d}.right-layers .layers input[type=checkbox]{background:#555a64}.right-layers .layers input[type=checkbox]:checked{background:#bfa56e}.layer-brush-row button:hover,.layer-brush-row button.active{background:#494132;border-color:#bfa56e;color:#f3dfb4}#inspector>button:hover,#inspector .object-actions button:hover,#inspector summary:hover{background:#41454d;border-color:#626773}#inspector>button[aria-pressed=true]{background:#494132;border-color:#bfa56e}#inspector .selection-menu{background:#30343a;border-color:#626773;box-shadow:0 12px 32px #0005}#inspector .selection-menu button:hover{background:#41454d}#inspector .inspector-name{border-color:var(--ui-border)}dialog{background:#2d3036;border-color:#626773;color:#ececf0;box-shadow:0 24px 90px #0007}dialog::backdrop{background:#10121699;backdrop-filter:blur(4px)}dialog .eyebrow{color:#d3b77e}#world-dialog .styles .style{background:#363a41;border-color:#626773;color:#e0e1e5}#world-dialog .styles .active{border-color:var(--ui-accent);box-shadow:0 0 0 1px var(--ui-accent)}#toast{background:#494132;border:1px solid #bfa56e;color:#f7e5bf}.stamp-browser-header,.stamp-categories,.stamp-preview{background:#292c31;border-color:var(--ui-border)}.stamp-browser-body,.stamp-results{background:#24272c}.stamp-categories button{color:#d0d2da}.stamp-categories button:hover{background:#3b3f46}.stamp-categories button.active,.stamp-subcategories button.active{background:#494132;border-color:#bfa56e;color:#f3dfb4}.stamp-subcategories button,.stamp-card{background:#30343a;border-color:#4b5059;color:#dadde4}.stamp-card:hover{background:#3b3f46;border-color:#bfa56e}.stamp-card-pick span,.stamp-result-bar,.stamp-preview p,.stamp-style-note{color:#c2c5ce}.stamp-favorite{background:#30343a;border-color:#626773;color:#dfc58d}.stamp-preview-art,.stamp-style-note{border-color:var(--ui-border)}.status-dot{background:#dfc58d}.status-separator{color:#868c97}.tool-panel-title button,#close-layers,button.close{color:#c6cad3}.settings input[type=range],#inspector input[type=range],dialog input[type=range]{accent-color:var(--ui-accent)}.settings .asset-heading>span,.settings .asset-heading>button,#inspector .line-menu label{color:#c5c8d1}.settings .category-types button{border-color:#535862}.settings .category-types button[aria-pressed=true]{border-color:#baa06a}#stamp-browser{background:#292c31;border-color:#626773;color:#ececf0}#stamp-browser::backdrop{background:#101216b3}.stamp-browser-header .eyebrow{color:#d3b77e}.stamp-browser-header h2,.stamp-preview h3{color:#ececf0}.stamp-browser-header .close{border-color:#626773}#stamp-preview-art{background:#24272c;border-color:#515660}.zoom button,#zoom-reset,#fit-screen{color:#d6d8e0}@media(min-width:801px){.rail{width:184px;padding:18px 12px;gap:0}.rail-section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px;padding:0 0 18px}.rail-section+.rail-section{padding-top:18px}.rail-group-label{grid-column:1/-1;text-align:left;padding:0 4px 4px;line-height:18px;font-weight:500;color:#b8bdc7}.rail button{width:100%;height:62px;gap:7px;padding:8px 2px;border-radius:8px}.rail button b,.rail svg{width:22px;height:22px}.rail button small{font-size:12px;line-height:17px}.rail button.active{box-shadow:inset 0 0 0 1px #dfc58d33;background:#443e32}}@media(max-width:800px){.rail{padding-top:12px;padding-bottom:12px}.rail-section{gap:7px;padding-bottom:16px}.rail-section+.rail-section{padding-top:16px}.rail-group-label{padding-bottom:7px}.rail button{height:54px;gap:5px}}.rail{width:120px;padding:10px 6px;gap:0;overflow-y:auto}.rail-section{display:flex;flex-direction:column;align-items:stretch;gap:3px;padding:0 0 10px}.rail-section+.rail-section{padding-top:10px;border-top:1px solid var(--ui-border)}.rail-group-label{display:block;text-align:left;padding:0 7px 5px;font-size:10px;line-height:14px;text-transform:uppercase;letter-spacing:.08em;color:#969da9}.rail button{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-shrink:0;width:100%;height:38px;min-height:38px;margin:0;padding:7px 8px;border-radius:6px;gap:8px}.rail button b,.rail svg{width:20px;height:20px;flex-shrink:0}.rail button small{display:block;width:auto;min-width:0;font-size:12px;line-height:16px;text-align:left;white-space:nowrap}.rail button.active{background:#443e32;border-color:#a58d5e;box-shadow:inset 2px 0 #dfc58d}.rail button:focus-visible{outline:2px solid #dfc58d;outline-offset:1px}@media(max-width:800px){.settings{width:min(300px,calc(100vw - 130px))}}.context-toolbar[hidden]{display:none}footer{justify-content:flex-end}.context-toolbar{position:fixed;top:76px;left:68px;right:12px;z-index:8;width:max-content;max-width:calc(100vw - 144px);border:1px solid #515660;border-radius:9px;box-shadow:0 8px 28px #0005;background:#2d3036}.context-toolbar #inspector{padding:8px 12px;min-height:50px;gap:10px}.workspace:has(.settings:not([hidden])) .context-toolbar{left:380px;max-width:calc(100vw - 392px)}#inspector .object-actions{margin-left:8px;padding-left:10px;border-left:1px solid var(--ui-border)}@media(max-width:1200px)and (min-width:801px){.workspace:has(.settings:not([hidden])) .context-toolbar{left:360px;max-width:calc(100vw - 372px)}}@media(max-width:800px){.context-toolbar,.workspace:has(.settings:not([hidden])) .context-toolbar{top:112px;left:128px;right:8px;width:auto;max-width:none}.context-toolbar #inspector{min-height:50px;padding:8px;gap:8px;flex-wrap:nowrap;overflow-x:auto}#inspector .selection-menu{top:172px;left:128px;right:8px}}.context-toolbar{left:calc(50% + 60px);right:auto;transform:translate(-50%);border-radius:12px}.context-toolbar #inspector{flex-wrap:nowrap;gap:10px}#inspector .inspector-name{max-width:140px;font-size:13px}#inspector>.selection-icon-action,#inspector .object-actions .selection-icon-action{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:7px}#inspector>label{font-size:12px;gap:5px}#inspector input[type=number]{width:56px}.workspace:has(.settings:not([hidden])) .context-toolbar{left:calc(50% + 184px)}@media(max-width:1200px)and (min-width:801px){.workspace:has(.settings:not([hidden])) .context-toolbar{left:calc(50% + 174px)}}@media(max-width:1000px)and (min-width:801px){.workspace:has(.settings:not([hidden])) .context-toolbar #inspector{flex-wrap:wrap}}@media(max-width:800px){.context-toolbar,.workspace:has(.settings:not([hidden])) .context-toolbar{left:128px;right:8px;transform:none}.context-toolbar #inspector{flex-wrap:nowrap}}@media(max-width:800px){.object-panel,.settings{z-index:9}}#inspector>.selection-slider{gap:8px;padding-right:12px;border-right:1px solid var(--ui-border);flex-shrink:0}#inspector .selection-slider input[type=range],#inspector #object-opacity{width:88px;height:24px;margin:0;cursor:pointer;accent-color:var(--ui-accent)}#inspector .selection-slider output{min-width:42px;font-size:12px;font-variant-numeric:tabular-nums;text-align:right;color:#ececf0}#inspector .selection-slider:has(input:disabled){opacity:.45}#inspector .selection-slider input:disabled{cursor:default}@media(max-width:800px){#inspector .selection-slider input[type=range],#inspector #object-opacity{width:76px}}#inspector>.selection-slider{position:relative}#inspector .selection-slider output{position:absolute;bottom:calc(100% + 14px);left:50%;transform:translate(-50%);min-width:48px;padding:5px 9px;border:1px solid #626773;border-radius:6px;background:#34383f;box-shadow:0 4px 12px #0004;text-align:center;opacity:0;visibility:hidden;pointer-events:none;white-space:nowrap}#inspector .selection-slider:focus-within output,#inspector .selection-slider:has(input:active) output{opacity:1;visibility:visible}#inspector #reset-rotation{color:#c5c8d1;margin-left:-6px}#inspector #reset-rotation:hover{color:#f3dfb4}@media(max-width:800px){#inspector .selection-slider output{position:fixed;top:172px;bottom:auto;left:calc(50% + 60px)}}#inspector .rotation-slider #reset-rotation{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:26px;height:28px;margin:0 0 0 -3px;padding:5px;border:0;background:transparent}#inspector .rotation-slider #reset-rotation .ui-icon{width:16px;height:16px}#inspector .rotation-slider #reset-rotation:hover{background:#41454d}#inspector>.rotation-slider{display:flex;align-items:center;gap:8px;margin:0;color:#d3d5dc;font-size:12px;white-space:nowrap}#inspector .rotation-slider>label{margin:0;font-size:12px;color:inherit}#map[data-select-cursor=true] [data-selected-object]{cursor:move}#map[data-select-cursor=true][data-hover-movable=true]{cursor:move!important}.selection-count{flex-shrink:0;font-size:12px;color:#e7d2a6;padding-right:10px;border-right:1px solid var(--ui-border)}#inspector .relative-scale output{display:none}#inspector .uniform-size-menu{width:220px;padding:14px}#inspector .uniform-size-menu label{display:block;margin-bottom:8px;font-size:13px;color:#ececf0}#inspector .uniform-size-menu input{width:100%;height:36px;margin:0 0 10px;padding:7px 9px;border:1px solid #575d67;border-radius:5px}#inspector .uniform-size-menu button{width:100%;padding:8px;background:var(--ui-accent);color:#2b2418;font-size:12px}#selection-marquee{position:fixed;z-index:7;pointer-events:none;border:1px solid #dfc58d;background:#dfc58d20;box-shadow:0 0 0 1px #17191c33}.canvas-area{user-select:none}.workspace>.settings{position:absolute;left:120px;top:0;bottom:36px;height:auto;max-height:none;z-index:9;box-shadow:10px 0 28px #0003}.workspace>.object-panel{position:absolute;right:0;top:0;bottom:36px;height:auto;max-height:none;z-index:9;box-shadow:-10px 0 28px #0003}.workspace>main{flex:1;min-width:0;width:calc(100% - 120px)}.workspace:has(.settings:not([hidden])) .context-toolbar{left:calc(50% + 60px);max-width:calc(100vw - 144px)}.workspace:has(.settings:not([hidden])) .context-toolbar #inspector{flex-wrap:nowrap}@media(max-width:800px){.workspace:has(.settings:not([hidden])) .context-toolbar{left:128px;right:8px;max-width:none}}#land-modes{display:flex;flex-wrap:wrap;gap:6px}#land-modes button{font-size:12px;padding:7px 9px}#land-move-mode .ui-icon{width:15px;height:15px}.shape-kinds{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:12px 0}.shape-kinds button{font-size:12px;padding:10px 4px}.shape-kinds button[aria-pressed=true]{background:var(--ui-accent,#d8bf8a);color:#20241f;border-color:var(--ui-accent,#d8bf8a)}.shape-control-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.shape-control-row input[type=number],#object-shape-sides{width:100%;min-width:0}#object-shape-settings .shape-actions{margin-bottom:10px}#object-shape-settings .land-smooth{display:flex;align-items:center;gap:7px;font-size:12px}.shape-style-menu{width:245px;max-height:60vh;overflow:auto}.selection-shape-settings{position:relative}.selection-shape-settings .selection-menu{position:absolute;top:100%;right:0;padding:14px;background:var(--ui-panel,#252a29);border:1px solid var(--ui-border,#454a45);border-radius:8px;z-index:20}.shape-style-menu label{display:flex;flex-direction:column;gap:6px;margin:8px 0;font-size:12px}.shape-material-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:8px 0 12px}.shape-material-grid button{display:flex;flex-direction:column;padding:4px;gap:5px;min-width:0;border:1px solid var(--ui-border);background:var(--ui-bg);border-radius:6px;text-align:left}.shape-material-grid button[aria-pressed=true]{border-color:var(--ui-accent);box-shadow:0 0 0 1px var(--ui-accent)}.shape-material-grid button span{display:block;width:100%;height:46px;border-radius:3px;background-size:96px 96px;background-repeat:repeat}.shape-material-grid.wall-material-grid button span{height:26px;background-size:104px 26px}.shape-material-grid button small{display:block;font-size:10px;line-height:1.3;color:var(--ui-text);white-space:normal}#object-shape-settings output,.shape-style-menu output{font-size:11px;color:var(--ui-muted)}.border-catalog{margin:8px 0;border:1px solid var(--ui-border);border-radius:6px;padding:8px}.border-catalog summary{cursor:pointer;font-size:12px}.border-catalog summary small{float:right;color:var(--ui-text-muted);font-size:10px}.border-catalog input[type=search]{width:100%;margin:10px 0 6px}.border-catalog .border-filters{display:flex;flex-wrap:wrap;gap:4px}.border-filters button{font-size:10px;padding:4px 6px}.border-filters button[aria-pressed=true]{border-color:var(--ui-accent);color:var(--ui-accent)}.border-catalog section h4{font-size:11px;margin:12px 0 0;font-weight:500}.border-catalog .shape-material-grid{max-height:220px;overflow-y:auto}.border-catalog [hidden]{display:none!important}.border-catalog .wall-material-grid button span{background-size:auto 24px;background-position:center;background-color:#202621}.selection-style-panel{z-index:25;padding-top:0}.selection-style-panel .tool-panel-title{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;margin:0 -16px 16px;padding:0 16px}.selection-style-panel .tool-panel-title h3{font-size:15px;margin:0}.selection-style-panel .intro{font-size:12px}#open-shape-style[aria-expanded=true]{border-color:var(--ui-accent);color:var(--ui-accent)}.selection-style-panel{position:absolute;top:0;left:120px;width:312px;height:calc(100% - 36px);padding:0 16px 18px;overflow:auto;background:#2d3036;border-right:1px solid var(--ui-border);scrollbar-width:thin;scrollbar-color:#626670 transparent}.selection-style-panel label{color:#d3d5dc;font-size:12px;margin-bottom:16px;font-weight:500}.selection-style-panel output{color:#e7d2a6;font-size:12px}.selection-style-panel input:not([type=range]):not([type=checkbox]),.selection-style-panel select{height:36px;background:#22252a;color:#ececf0;border-color:#575d67;font-size:12px}.selection-style-panel input[type=range]{height:3px;margin-top:14px}.selection-style-panel .intro{color:#b8bcc6;line-height:1.6}@media(max-width:1200px)and (min-width:801px){.selection-style-panel{width:292px}}@media(max-width:800px){.selection-style-panel{left:120px;width:min(300px,calc(100vw - 130px))}}#inspector .selection-effects .selection-menu{width:280px;max-height:min(620px,calc(100vh - 190px));overflow:auto;padding:12px}.custom-shadow-controls{border:1px solid #505660;border-radius:6px;margin:12px 0;padding:10px;min-width:0}.custom-shadow-controls[hidden]{display:none}.custom-shadow-controls legend{font-size:12px;color:#e7d2a6;padding:0 4px}#inspector .shadow-control{display:grid;grid-template-columns:1fr auto 24px;gap:6px;align-items:center;margin:4px 0 16px}#inspector .shadow-control label{margin:0}#inspector .shadow-control output{font-size:12px;color:#e7d2a6}#inspector .shadow-control button{width:24px;padding:3px}#inspector .shadow-control button svg{width:14px;height:14px}#inspector .shadow-control input{grid-column:1/-1;width:100%;margin:4px 0}#inspector .custom-shadow-controls input[type=color]{width:100%;height:30px;padding:2px}#inspector .custom-shadow-controls input[type=text]{width:100%;height:30px}@media(max-width:800px){#inspector .selection-effects .selection-menu{width:auto;max-height:calc(100dvh - 200px)}}#inspector .land-underlay-control{display:flex;align-items:center;gap:8px}#inspector .land-underlay-control input{width:16px;height:16px;margin:0}@media(max-width:600px){.rail{width:64px;padding:6px 4px}.rail button{width:100%;min-height:45px;height:45px;display:flex;flex-direction:column;justify-content:center;gap:2px;padding:4px 1px}.rail button small{font-size:10px;line-height:12px;max-width:100%;white-space:nowrap}.rail button b,.rail svg{width:19px;height:19px}.rail-group-label{font-size:9px;padding:0 0 4px}.rail-section{padding-bottom:7px}.rail-section+.rail-section{padding-top:7px}.workspace>main{width:calc(100% - 64px)}.workspace>.settings,.selection-style-panel{left:64px;width:min(300px,calc(100vw - 70px))}.context-toolbar,.workspace:has(.settings:not([hidden])) .context-toolbar{left:72px;right:8px;max-width:none;transform:none;width:auto}.context-toolbar #inspector{overflow-x:auto;max-width:100%;flex-wrap:nowrap}#inspector .selection-menu{position:fixed;left:72px;right:8px;top:172px;width:auto;max-width:calc(100vw - 80px)}header .actions{justify-content:flex-start;overflow-x:auto;scrollbar-width:none;gap:5px!important}header .actions button{flex-shrink:0}.document-identity:has(.map-type-switch){min-width:0;padding-left:0;justify-content:flex-end}header{gap:8px}header .brand{font-size:17px!important}.canvas-area{padding:20px 8px}}@media(max-width:330px){header .brand .org{display:none}header .actions button{padding:0 6px!important}.rail{width:54px}.rail button small{font-size:9px}.workspace>main{width:calc(100% - 54px)}.workspace>.settings,.selection-style-panel{left:54px;width:calc(100vw - 60px)}.context-toolbar,.workspace:has(.settings:not([hidden])) .context-toolbar{left:60px}#inspector .selection-menu{left:60px;max-width:calc(100vw - 68px)}}#route-actions{position:absolute;left:50%;bottom:16px;transform:translate(-50%);display:flex;align-items:center;gap:10px;z-index:8;max-width:calc(100% - 24px);padding:8px 10px;background:#2d3036;border:1px solid #626773;border-radius:9px;box-shadow:0 8px 28px #0005;font-size:12px;white-space:nowrap}#route-actions strong{color:#f3dfb4;font-size:12px}#route-actions span{color:var(--ui-muted)}#finish-route{background:var(--ui-accent);color:#2b2418;border-color:var(--ui-accent);padding:6px 10px}#cancel-route{padding:6px 10px}@media(max-width:800px){#route-actions{padding:7px;gap:7px}#route-actions span{display:none}}@media(max-width:330px){header .brand{font-size:0!important;min-width:24px}header .brand-icon{margin:0}header .document-identity{border-left:0;padding-left:0;justify-content:flex-end}header .document-identity .doc-icon{display:none}header{padding-left:8px;padding-right:8px;gap:8px}header .actions{gap:3px!important;justify-content:space-between}header .actions button{width:24px!important;min-width:24px;height:30px;padding:0!important;margin:0!important}header .actions button span{display:none!important}header .actions button>.ui-icon{display:inline-block!important;width:16px;height:16px}header .actions #help{display:none}header .actions i{display:none}#fit-screen{width:28px;padding:5px}#fit-screen span{display:none}}#route-preview,#route-preview *,#stamp-preview,#stamp-preview *{pointer-events:none!important}@media(max-height:650px){.settings #brush-settings{overflow-y:auto;overscroll-behavior:contain}}@media(max-width:330px){#route-actions strong{display:none}}@media(min-width:801px)and (max-width:1200px){.context-toolbar #inspector,.workspace:has(.settings:not([hidden])) .context-toolbar #inspector{flex-wrap:wrap;row-gap:6px}}.terrain-modes{display:flex;gap:4px;padding:3px;background:#202821;border-radius:5px;margin:0 0 16px}.terrain-modes button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:12px;padding:8px 5px;background:transparent;border-color:transparent;color:#b8c6ae;min-width:0}.terrain-modes button.active{background:#465535;border-color:#6c8152;color:#e7efdc}.terrain-modes .ui-icon{width:16px;height:16px;flex-shrink:0}
