:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#263d33;background:#f5f3ed;font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,.upload{touch-action:manipulation}button,.upload{border:1px solid #d8ded5;background:#fffdf8;border-radius:8px;padding:10px 13px;color:inherit;cursor:pointer}button:hover,.upload:hover{background:#edf1e8}button:disabled{opacity:.45;cursor:default}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}[hidden]{display:none!important}header{height:76px;background:#fffdf8;border-bottom:1px solid #dce1d7;display:flex;align-items:center;gap:14px;padding:0 24px}.brand{font-size:24px;font-weight:650;letter-spacing:2px;white-space:nowrap}.brand small{font-size:12px;font-weight:400;letter-spacing:1px;margin-left:12px}.history{display:flex;gap:5px;margin-left:auto}#draft-status{font-size:12px;color:#748377;max-width:180px}main{display:grid;grid-template-columns:270px minmax(280px,1fr) 282px;height:calc(100dvh - 76px)}aside{padding:24px 18px;background:#fffdf8;overflow:auto;scrollbar-width:thin}.tools{border-right:1px solid #dce1d7}.properties{border-left:1px solid #dce1d7}.heading{padding-bottom:18px;border-bottom:1px solid #e8e8df;margin-bottom:18px}.heading small{letter-spacing:2px;font-size:10px;color:#839079}h1{font-size:20px;line-height:1.5;margin:8px 0 0}h2{font-size:14px;font-weight:600;margin:22px 0 12px}.heading h2{font-size:18px;margin:8px 0 0}.variants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.variant{padding:6px;font-size:11px;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}.variant img{height:70px;max-width:100%;object-fit:contain}.variant.active{border-color:#496d53;background:#edf1e8}.note{font-size:11px;color:#7c877c;line-height:1.8;margin:12px 0 18px}label{display:block;font-size:12px;color:#687867;margin:12px 0}label input:not([type=checkbox]):not([type=file]){width:100%;margin-top:8px;border:1px solid #dce1d7;background:white;border-radius:6px;padding:10px;color:#243e32}label input[type=range]{padding:0!important;accent-color:#496d53}label input[type=color]{height:40px;padding:3px!important}.check{display:flex;align-items:center;gap:8px;line-height:1.6}.upload{display:block;text-align:center;font-size:13px}.layer{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left;margin:6px 0;font-size:12px;gap:8px}.layer.active{border-color:#47684e;background:#edf1e8}.layer span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:190px}.workspace{position:relative;min-width:0;min-height:0;background-color:#eeeFE9;background-image:radial-gradient(#d8dcd2 1px,transparent 1px);background-size:18px 18px;display:flex;flex-direction:column}.workspace-top{display:flex;align-items:center;gap:12px;padding:10px 16px;background:#f8f8f2e8;font-size:11px;min-height:52px}.workspace-top button{padding:6px;font-size:11px;margin-left:auto}#preview-status{color:#7c877c}#viewport{overflow:auto;flex:1;padding:32px 32px 90px;position:relative}#stage{position:relative;margin:auto;background-color:white;background-image:conic-gradient(#e9e9e9 25%,#fff 0 50%,#e9e9e9 0 75%,#fff 0);background-size:16px 16px;box-shadow:0 8px 35px #223b331a;flex-shrink:0;outline:none}#preview{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none}#handles{position:absolute;inset:0}.handle{position:absolute;transform:translate(-50%,-50%);border:1px dashed transparent;padding:0;border-radius:0;background:transparent;min-width:16px;min-height:16px;touch-action:none;cursor:move}.handle:hover{background:#486e5310;border-color:#486e53}.handle.active{border:1.5px solid #43694f;background:#486e5310}.handle.active:after{content:"";position:absolute;width:7px;height:7px;background:white;border:1px solid #43694f;right:-4px;bottom:-4px}.zoom{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;padding:6px;background:#fffdf8;border:1px solid #dce1d7;box-shadow:0 4px 20px #223b3310;border-radius:12px;white-space:nowrap}.zoom button{border:none;padding:5px 10px}.zoom output{min-width:48px;text-align:center;font-size:12px}.purchase{border-top:1px solid #dce1d7;margin-top:24px;padding-top:22px}.purchase>small{letter-spacing:2px;font-size:11px;color:#7c877c}.purchase h2{font-size:22px;margin-top:14px}.purchase p{font-size:12px;line-height:1.8}.purchase button{width:100%;margin:5px 0}.purchase .primary{background:#304c3c;color:white;border-color:#304c3c}.purchase a{display:block;font-size:12px;margin-top:14px}.two{display:flex;gap:6px}.two button{flex:1;font-size:11px;padding:8px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:100;background:#243e32;color:white;padding:14px 24px;border-radius:10px;max-width:90vw;box-shadow:0 10px 30px #0002}dialog::backdrop{background:#223b3355}dialog button{margin:8px}#empty{padding:50px;line-height:2}button:focus-visible,a:focus-visible,.upload:focus-within{outline:2px solid #4e7158;outline-offset:3px}@media(max-width:1050px){main{grid-template-columns:210px minmax(240px,1fr) 230px}aside{padding:18px 12px}header{padding:0 14px;gap:8px}.brand small,#draft-status{display:none}.history button{font-size:12px}header>a:last-child{font-size:12px}}@media(max-width:740px){header{height:auto;min-height:70px;flex-wrap:wrap;padding:12px}.brand{font-size:19px}.history{margin-left:auto}header>button,header>a:last-child{font-size:11px;padding:6px}main{height:auto;display:flex;flex-direction:column}.tools{order:1;max-height:360px;border-top:1px solid #dce1d7;display:grid;grid-template-columns:1fr 1fr;gap:8px 20px}.tools>.heading{grid-column:1/-1}.workspace{height:65dvh;min-height:360px;order:0}.properties{order:2;display:grid;grid-template-columns:1fr 1fr;gap:16px}.properties>.heading{grid-column:1/-1}.purchase{margin:0}.variants{max-height:200px;overflow:auto}.workspace-top{flex-wrap:wrap}#viewport{padding:20px 20px 70px}}
