:root{font:16px/1.45 Inter,"Segoe UI",Arial,sans-serif;color:#253331;background:#f7f8f5;--ink:#253331;--muted:#62706d;--line:#d9e0d9;--lime:#d2ee9a;--paper:#fff}
*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,textarea{font:inherit}button{color:inherit;cursor:pointer;border:0;background:none}button:disabled{opacity:.32;cursor:default}button:focus-visible,canvas:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #65964d;outline-offset:2px}button:hover:not(:disabled){background-color:#eff3ec}svg{width:19px;height:19px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}[data-i]{display:inline-flex;align-items:center;justify-content:center;font-style:normal;flex:none}[hidden]{display:none!important}h1,h2,p{margin:0}
.topbar{height:62px;background:#202e32;color:#f6faf2;display:flex;align-items:center;justify-content:space-between;padding:0 24px;gap:12px}.brand,.header-actions,.button,.side-link,.sidefoot,.sidehead,.search,.camera,.selection-tools,.dialoghead{display:flex;align-items:center}.brand{gap:11px;white-space:nowrap}.brand strong{font-size:21px;letter-spacing:-1px}.divider{height:20px;width:1px;background:#50605e;margin:0 4px}.product{font-size:15px;color:#c9d5d0}.header-actions{gap:4px}#save-state{font-size:13px;color:#d0dad7;margin-right:15px;display:flex;align-items:center;gap:7px}#save-state::before{content:"";width:7px;height:7px;border-radius:50%;background:#b7d98e}#save-state[data-pending]::before{background:#edc779}#save-state[data-error]::before{background:#ef9a89}
.button{height:38px;border-radius:8px;padding:0 14px;gap:8px;font-weight:600;font-size:14px;justify-content:center}.accent,.primary{background:var(--lime);color:#25362b}.accent:hover:not(:disabled),.primary:hover:not(:disabled){background:#c2e785}#export{margin-left:10px}.iconbtn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:7px;padding:0;flex:none}.topicon{color:#e5ece8}.topicon:hover:not(:disabled){background-color:#3a4748}
.workspace{display:flex;height:calc(100vh - 62px);height:calc(100dvh - 62px);position:relative}aside{width:254px;flex:none;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.sidehead{justify-content:space-between;padding:18px 16px 10px 21px}.sidehead h2{font-size:18px;letter-spacing:-.5px}.sidehead .iconbtn,.sidefoot .iconbtn{color:var(--muted)}.search{height:39px;margin:0 15px 15px;border:1px solid var(--line);border-radius:8px;gap:8px;padding:0 10px;color:var(--muted)}.search svg{width:17px}.search input{width:100%;min-width:0;background:none;border:0;font-size:14px;outline:0}.search:focus-within{outline:2px solid #97af8c}.search input:focus-visible{outline:0}.search kbd{padding:0 5px;border:1px solid var(--line);border-radius:4px;font:12px/18px monospace}.list-context{padding:2px 20px 8px;color:var(--muted);font-size:12px;font-weight:650;text-transform:uppercase;letter-spacing:.08em}#outline{position:relative;overflow:auto;flex:1;min-height:0;overscroll-behavior:contain}#outline-space{position:relative}.tree-row{position:absolute;inset-inline:8px;height:32px;display:flex;align-items:center;gap:4px;border-radius:7px;white-space:nowrap}.tree-row:hover{background:#f4f6f2}.tree-row.selected{background:#e8efdf}.tree-row .twist{width:20px;height:26px;flex:none;padding:0;border-radius:5px;font-size:15px;color:#62706d;line-height:1}.tree-row .twist:disabled{opacity:0}.tree-title{min-width:0;display:flex;align-items:center;gap:7px;font-size:14px;flex:1;text-align:left;padding:3px 6px 3px 0;overflow:hidden;height:100%}.tree-title:hover:not(:disabled){background:transparent}.tree-title span:last-child{overflow:hidden;text-overflow:ellipsis}.tree-dot{width:8px;height:8px;border-radius:3px;flex:none}.tree-row.selected .tree-title{font-weight:650}.sidefoot{margin-top:auto;border-top:1px solid var(--line);padding:12px 14px;justify-content:space-between}.side-link{gap:9px;font-size:14px;font-weight:600;border-radius:6px;padding:6px}.side-link svg{width:18px}
main{flex:1;min-width:0;display:flex;flex-direction:column}.maphead{display:flex;align-items:center;gap:12px;padding:16px 26px 15px;background:#fafbf8;border-bottom:1px solid var(--line);min-height:79px}.heading{min-width:0;margin-right:auto}.heading h1{font-size:23px;line-height:1.2;letter-spacing:-.8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.metadata{font-size:13px;color:var(--muted);margin-top:4px}.outline-button{background:#fff;border:1px solid #cbd5ca;white-space:nowrap}#focus-back{color:#496549;padding:0;display:flex;align-items:center;gap:4px;font-size:13px}#focus-back svg{width:15px;height:15px}#show-side{display:none}.side-hidden aside{display:none}.side-hidden #show-side{display:inline-flex}
#stage{position:relative;min-height:0;flex:1;background-color:#f7f8f4;background-image:radial-gradient(#ccd3c8 .85px,transparent .95px);background-size:18px 18px;overflow:hidden}#map{display:block;width:100%;height:100%;cursor:grab;touch-action:none}#map.dragging{cursor:grabbing}#map:focus-visible{outline-offset:-3px}.camera,.selection-tools,#mini{position:absolute;border:1px solid #d4dbd2;border-radius:10px;background:#fff;box-shadow:0 3px 10px #2638260c}.camera,.selection-tools{bottom:16px;padding:3px;gap:1px}.camera{left:50%;transform:translateX(-50%)}.camera .iconbtn,.selection-tools .iconbtn{width:32px;height:32px}.camera>span{width:1px;height:18px;background:var(--line);margin:0 3px}.camera #zoom{font-size:13px;font-weight:650;font-variant-numeric:tabular-nums;min-width:45px;border-radius:5px;height:31px}.selection-tools{left:16px}#mini{bottom:16px;right:16px;width:126px;height:78px;cursor:crosshair;touch-action:none}.toast,#move-banner{position:fixed;z-index:5;background:#253633;color:white;border-radius:9px;box-shadow:0 5px 22px #0002;font-size:14px;padding:10px 15px}.toast{bottom:73px;left:50%;transform:translateX(-50%);max-width:min(560px,90vw)}#move-banner{position:absolute;top:12px;left:50%;transform:translateX(-50%);width:max-content;max-width:96%;display:flex;align-items:center;gap:12px}#move-banner button{color:var(--lime);padding:2px 5px;font-weight:600}#move-banner button:hover{background:#41534a}
dialog{border:1px solid var(--line);border-radius:16px;color:var(--ink);padding:0;width:min(440px,calc(100vw - 24px));max-height:85dvh;box-shadow:0 18px 70px #1830252b}dialog::backdrop{background:#17262455}.dialoghead{padding:18px 22px 12px;justify-content:space-between;gap:10px}.dialoghead h2{font-size:21px;letter-spacing:-.6px}.dialoghead .iconbtn{color:var(--muted)}#sheet-body{padding:0 22px 20px}.field{display:block;margin:0 0 14px;font-size:14px;font-weight:600}.field input,.field textarea{display:block;font-size:16px;font-weight:400;border:1px solid #bdc9bf;background:#fcfdfa;border-radius:8px;width:100%;margin-top:5px;padding:9px 11px;color:var(--ink)}.field textarea{resize:vertical;min-height:70px}.action-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px}.action-row .primary{margin-left:auto}.secondary{border:1px solid var(--line);background:#fff}.danger{color:#9c3e38}.chooser{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--line);border-radius:9px;margin-top:8px;padding:11px 13px;background:#fff}.chooser>i{color:#55735b}.chooser>span{min-width:0;display:flex;flex-direction:column}.chooser strong{font-size:15px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.chooser small,.dialog-note{font-size:13px;color:var(--muted)}.swatches{display:flex;gap:8px;margin:5px 0 12px}.swatch{width:27px;height:27px;border:3px solid #fff;border-radius:50%;outline:1px solid #c8d2c9}.swatch[aria-pressed=true]{outline:2px solid #35443c}.swatch:hover:not(:disabled){box-shadow:inset 0 0 0 1px #35443c}.error{color:#a1332d;padding:0 22px 15px;font-size:14px}.help-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;border-bottom:1px solid #e7ebe4;padding:7px 0}.help-row kbd{background:#f0f3ed;padding:2px 5px;border-radius:4px;font-size:12px}.library-list{max-height:41dvh;overflow:auto}.dialog-note{margin:7px 0 12px}
@media(max-width:900px){aside{width:219px}.maphead{padding:12px 16px}#mini{width:98px;height:62px}.topbar{padding:0 16px}}
@media(max-width:730px){.workspace{height:calc(100vh - 54px);height:calc(100dvh - 54px)}.topbar{height:54px;padding:0 10px}.brand{gap:7px}.brand strong{font-size:18px}.brand img{width:28px;height:28px}.brand .divider,.product,#save-state{display:none}.header-actions{gap:1px}.iconbtn{width:32px;height:32px}#export{margin-left:5px;height:34px;padding:0 10px}.maphead{min-height:66px;gap:7px;padding:10px}.heading h1{font-size:19px}.metadata{font-size:12px}.outline-button{padding:0 9px;font-size:13px}.outline-button svg{width:16px}#show-side{display:inline-flex}aside{position:absolute;inset:0 auto 0 0;width:min(295px,84vw);z-index:4;box-shadow:8px 0 30px #17262415;display:none}.side-open aside{display:flex}.side-open #side-shade{display:block!important;position:absolute;inset:0;z-index:3;cursor:default;background:#17262444}.selection-tools{left:8px;bottom:10px}.camera{left:auto;right:8px;bottom:10px;transform:none}#mini{top:9px;right:9px;bottom:auto;width:84px;height:51px;opacity:.85}}
@media(max-height:500px){#mini{display:none}.maphead{min-height:50px;padding-block:5px}.topbar{height:44px}.workspace{height:calc(100dvh - 44px)}}
