.ed{--bar:56px;grid-template-rows:var(--bar) 1fr;height:100dvh;min-height:560px;font-family:var(--f-ui);background:#ddd5c4;display:grid;position:relative;overflow:hidden}.ed button{font-family:inherit}.ed-top{background:var(--paper);border-bottom:1px solid var(--line);z-index:5;align-items:center;gap:8px;min-width:0;padding:0 12px;display:flex}.ed-home{flex:none;display:inline-flex}.ed-home img{border-radius:50%;width:34px;height:34px}.ed-name{font:700 1rem var(--f-ui);width:clamp(120px,22vw,280px);min-width:0;color:var(--ink);background:0 0;border:1.5px solid #0000;border-radius:10px;padding:8px 10px}.ed-name:hover{border-color:var(--line)}.ed-name:focus{border-color:var(--teal);background:#fff;outline:none}.ed-save{color:var(--ink-2);white-space:nowrap;align-items:center;gap:6px;font-size:.78rem;display:inline-flex}.ed-save:before{content:"";background:#3f9b5a;border-radius:50%;flex:none;width:8px;height:8px}.ed-save[data-state=dirty]:before,.ed-save[data-state=saving]:before{background:var(--sun)}.ed-save[data-state=error]:before{background:#c0392b}.ed-spacer{flex:1}.ed-top .btn{white-space:nowrap}.icon-btn{width:40px;height:40px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex}.icon-btn:hover:not(:disabled){background:var(--paper-2)}.icon-btn:disabled{opacity:.3;cursor:default}.icon-btn svg{width:20px;height:20px}.ed-body{grid-template-columns:310px minmax(0,1fr) 300px;min-height:0;display:grid}.ed-left,.ed-right{background:var(--paper);flex-direction:column;min-width:0;min-height:0;display:flex}.ed-left{border-right:1px solid var(--line)}.ed-right{border-left:1px solid var(--line)}.ed-tabs{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:2px;padding:8px 8px 0;display:flex;overflow-x:auto}.ed-tabs button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:3px solid #0000;flex:1 0 auto;padding:10px 10px 11px;font-size:.84rem;font-weight:700}.ed-tabs button:hover{color:var(--ink)}.ed-tabs button.on{color:var(--ink);border-bottom-color:var(--terra)}.ed-panels{overscroll-behavior:contain;flex:1;padding:14px;overflow-y:auto}.ed-panels [hidden]{display:none!important}.drawer-head{display:none}.hint{color:var(--ink-2);font-size:.86rem;line-height:1.5;font-family:var(--f-sans);margin:0 0 12px}.hint.warn{border-left:4px solid var(--sun);background:#fff1cf;border-radius:6px;padding:8px 10px}.hint.pad{padding:14px}.sub{font:700 .78rem var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--terra-d);margin:20px 0 10px}.tpl-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.tpl{text-align:left;border:1.5px solid var(--line);cursor:pointer;background:#fff;border-radius:12px;gap:2px;padding:8px;transition:all .15s;display:grid}.tpl:hover{border-color:var(--terra);box-shadow:var(--shadow);transform:translateY(-2px)}.tpl-thumb{background:#eee;margin-bottom:6px;line-height:0;display:block}.tpl-thumb svg{width:100%;height:auto;display:block}.tpl-name{font-size:.9rem;font-weight:700}.tpl-type{color:var(--ink-2);font-size:.72rem}.chips{margin-bottom:12px}.chips .chip{padding:6px 11px;font-size:.8rem}.el-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.el-btn{border:1.5px solid var(--line);cursor:pointer;color:var(--ink);background:#fff;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:82px;padding:10px 4px 8px;display:flex}.el-btn:hover{border-color:var(--terra);color:var(--terra-d);background:#fff8e8}.el-btn svg{width:38px;height:38px}.el-btn.wide{flex-direction:row;grid-column:span 3;justify-content:flex-start;min-height:0;padding:10px 12px}.el-btn.wide svg{width:90px;height:22px}.el-btn span{text-align:center;color:var(--ink-2);font-size:.68rem;line-height:1.15}.el-btn.wide span{text-align:left;font-size:.8rem}.txt-list{gap:8px;display:grid}.txt-btn{text-align:left;border:1.5px solid var(--line);cursor:pointer;color:var(--ink);background:#fff;border-radius:10px;justify-content:space-between;align-items:baseline;gap:12px;padding:12px 14px;font-size:1.35rem;display:flex}.txt-btn small{font:400 .72rem var(--f-sans);color:var(--ink-2)}.txt-btn:hover{border-color:var(--terra)}.txt-btn.combo span{font-size:1.6rem}.used-imgs{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.used{border:1.5px solid var(--line);cursor:pointer;aspect-ratio:1;background:#fff;border-radius:8px;padding:0;overflow:hidden}.used img{object-fit:cover;width:100%;height:100%;display:block}.sw-grid{grid-template-columns:repeat(8,1fr);gap:6px;margin-bottom:12px;display:grid}.sw{cursor:pointer;border:1.5px solid #00000040;border-radius:50%;width:20px;height:20px;padding:0}.sw.big{aspect-ratio:1;border-radius:8px;width:100%;height:auto}.sw:hover{transform:scale(1.12)}.grad-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px;display:grid}.grad{cursor:pointer;border:1.5px solid #00000026;border-radius:10px;height:46px}.ed-center{grid-template-rows:auto 1fr auto;min-width:0;min-height:0;display:grid;position:relative}.ed-actionbar{background:var(--paper);border-bottom:1px solid var(--line);scrollbar-width:thin;flex-wrap:nowrap;align-items:center;gap:2px;padding:6px 10px;display:flex;overflow-x:auto}.ed-actionbar button{min-width:36px;height:36px;color:var(--ink);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:9px;flex:none;align-items:center;gap:5px;padding:0 9px;font-size:.8rem;font-weight:700;display:inline-flex}.ed-actionbar button:hover:not(:disabled){background:var(--paper-2)}.ed-actionbar button:disabled{opacity:.3;cursor:default}.ed-actionbar svg{flex:none;width:18px;height:18px}.ed-actionbar .sep{background:var(--line);flex:none;width:1px;height:22px;margin:0 6px}.ed-actionbar .del:hover:not(:disabled){color:#a11;background:#fde0dc}.ed-viewport{touch-action:pan-x pan-y;overscroll-behavior:contain;cursor:default;background:#ddd5c4 radial-gradient(#2a1a121a 1px,#0000 1.4px) 0 0/22px 22px;min-height:0;padding:48px;display:flex;position:relative;overflow:auto}.ed-viewport.dropping:after{content:"Solte a imagem aqui";border:3px dashed var(--terra);font:700 1.3rem var(--f-ui);color:var(--terra-d);z-index:9;background:#fbf4e6d9;border-radius:16px;place-items:center;display:grid;position:absolute;inset:12px}.ed-stage{touch-action:none;-webkit-user-select:none;user-select:none;flex:none;margin:auto;position:relative;box-shadow:0 2px #0000000f,0 24px 50px -20px #2a1a128c}.ed-stage canvas,.ed-stage svg{display:block;position:absolute;inset:0}.ed-stage svg{pointer-events:none;overflow:visible}#textEdit{resize:none;outline-offset:2px;transform-origin:50%;white-space:pre-wrap;z-index:3;background:0 0;border:0;outline:2px solid #1f7ae0;margin:0;padding:0;position:absolute;overflow:hidden}.ed-zoom{background:var(--paper);border-top:1px solid var(--line);justify-content:center;align-items:center;gap:4px;padding:6px;font-size:.85rem;display:flex}.ed-zoom button{cursor:pointer;min-width:34px;height:34px;color:var(--ink);background:0 0;border:0;border-radius:8px;padding:0 10px;font-weight:700}.ed-zoom button:hover{background:var(--paper-2)}#zoomLabel{text-align:center;min-width:52px;font-weight:700}.insp-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px;padding-bottom:10px;display:flex}.insp-head span{font:400 .76rem var(--f-mono);color:var(--terra-d);text-transform:uppercase;letter-spacing:.08em}.empty{color:var(--ink-2);padding:8px 4px;font-size:.92rem}.sec{border-bottom:1px solid var(--line);padding:4px 0}.sec>summary{cursor:pointer;font:700 .82rem var(--f-ui);text-transform:uppercase;letter-spacing:.06em;color:var(--ink);justify-content:space-between;align-items:center;padding:10px 2px;list-style:none;display:flex}.sec>summary::-webkit-details-marker{display:none}.sec>summary:after{content:"+";color:var(--terra);font-size:1.1rem}.sec[open]>summary:after{content:"–"}.sec-body{gap:10px;padding:2px 0 14px;display:grid}.f{color:var(--ink-2);gap:5px;font-size:.82rem;font-weight:600;display:grid}.f>span{font-size:.74rem}.f input[type=number],.f select,.f textarea{border-radius:8px;padding:7px 9px;font-size:.9rem}.f textarea{resize:vertical;font-family:var(--f-sans);min-height:64px}.f.chk{cursor:pointer;align-items:center;gap:8px;font-weight:600;display:flex}.f.chk input{width:18px;height:18px;accent-color:var(--terra)}.f.range{grid-template-columns:1fr auto;align-items:center;row-gap:2px}.f.range>span{grid-column:1/-1}.f.range input[type=range]{width:100%;accent-color:var(--terra);min-height:28px}.f.range output{font:700 .78rem var(--f-mono);text-align:right;min-width:40px;color:var(--ink)}.row2{grid-template-columns:1fr 1fr;align-items:end;gap:10px;display:grid}.colorrow{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.colorrow input[type=color]{border:1.5px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;width:38px;height:32px;padding:0}.colorrow .chip{padding:4px 8px;font-size:.72rem}.swatches{flex-wrap:wrap;gap:5px;display:flex}.seg{border:1.5px solid var(--line);border-radius:9px;display:inline-flex;overflow:hidden}.seg button{cursor:pointer;color:var(--ink);background:#fff;border:0;padding:7px 12px;display:inline-flex}.seg button+button{border-left:1.5px solid var(--line)}.seg button.on{background:var(--ink);color:var(--paper)}.layer-list{gap:4px;margin:0;padding:0;list-style:none;display:grid}.layer{cursor:grab;background:#fff;border:1.5px solid #0000;border-radius:9px;align-items:center;gap:4px;padding:4px 4px 4px 8px;display:flex}.layer.on{background:#eef5ff;border-color:#1f7ae0}.layer.off{opacity:.5}.l-type{text-align:center;width:22px;font:700 .8rem var(--f-mono);color:var(--terra-d);flex:none}.l-name{text-align:left;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);background:0 0;border:0;flex:1;min-width:0;padding:8px 4px;font-size:.86rem;font-weight:600;overflow:hidden}.l-name em{color:var(--ink-2);font-size:.76rem;font-weight:400}.l-btn{cursor:pointer;width:32px;height:32px;color:var(--ink-2);background:0 0;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;display:inline-flex}.l-btn:hover{background:var(--paper-2);color:var(--ink)}.opt{border:1.5px solid var(--line);border-radius:12px;gap:8px;margin:0;padding:10px 12px 12px;display:grid}.opt legend{font:700 .8rem var(--f-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--terra-d);padding:0 6px}.radio{cursor:pointer;border-radius:10px;align-items:flex-start;gap:10px;padding:8px;display:flex}.radio:hover{background:var(--paper-2)}.radio input{accent-color:var(--terra);margin-top:5px}.radio span{display:grid}.radio small{color:var(--ink-2);font-size:.82rem}.radio small input{width:110px;padding:4px 8px}.fmt-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;display:grid}.fmt{border:1.5px solid var(--line);cursor:pointer;font-family:var(--f-ui);color:var(--ink);background:#fff;border-radius:12px;justify-items:center;gap:6px;padding:12px 8px;display:grid}.fmt:hover{border-color:var(--terra)}.fmt-box{background:var(--sand);border:2px solid var(--terra);width:44px;max-height:60px;display:block}.fmt small{color:var(--ink-2)}dialog.preview{color:#fff;background:#1b120d;border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh}.pv{grid-template-rows:auto 1fr;height:100%;display:grid}.pv-bar{background:#2a1a12;flex-wrap:wrap;align-items:center;gap:14px;padding:10px 16px;display:flex}.pv-bar span{opacity:.7;font-size:.85rem}.pv-actions{flex-wrap:wrap;gap:8px;margin-left:auto;display:flex}.pv-bar .btn.ghost{color:#fff;border-color:#ffffff80}.pv-bar .btn.ghost:hover{color:var(--ink);background:#fff}.pv-stage{place-items:center;min-height:0;padding:20px;display:grid;overflow:auto}.pv-paper{max-width:100%;height:min(100%,100vh - 120px);display:flex;box-shadow:0 30px 80px -10px #000000b3}.pv-paper canvas{object-fit:contain;width:auto;max-width:100%;height:100%;display:block}.ed-mobile,#scrim{display:none}@media (width<=1180px){.ed-body{grid-template-columns:270px minmax(0,1fr) 270px}.ed-top .hide-m{display:none}}@media (width<=900px){.ed{--bar:52px;grid-template-rows:var(--bar) 1fr 58px}.ed-body{grid-row:2;grid-template-columns:1fr}.ed-top .hide-s,.ed-save{display:none}.ed-name{flex:1;width:auto}.ed-left,.ed-right{z-index:30;border:0;border-top:3px solid var(--terra);visibility:hidden;border-radius:18px 18px 0 0;height:62dvh;max-height:62dvh;transition:transform .26s;position:fixed;bottom:58px;left:0;right:0;transform:translateY(115%);box-shadow:0 -20px 50px -20px #00000080}.ed-left.open,.ed-right.open{visibility:visible;transform:translateY(0)}.drawer-head{justify-content:center;padding:6px 0 0;display:flex}.drawer-head button{cursor:pointer;background:0 0;border:0;width:56px;height:20px;position:relative}.drawer-head button:after{content:"";background:var(--line);border-radius:5px;height:5px;position:absolute;top:7px;left:8px;right:8px}#scrim.on{z-index:25;background:#2a1a1259;display:block;position:fixed;inset:0 0 58px}.ed-mobile{background:var(--paper);border-top:1px solid var(--line);z-index:31;grid-row:3;grid-template-columns:repeat(4,1fr);display:grid}.ed-mobile button{color:var(--ink);cursor:pointer;background:0 0;border:0;align-content:center;justify-items:center;gap:3px;font-size:.74rem;font-weight:700;display:grid}.ed-mobile button svg{width:22px;height:22px}.ed-mobile button:active{background:var(--paper-2)}.ed-viewport{padding:24px}.el-grid{grid-template-columns:repeat(4,1fr)}.tpl-grid{grid-template-columns:repeat(3,1fr)}.ed-zoom{padding:2px}.ed-actionbar{padding:4px 6px}}.ed-top .short{display:none}@media (width<=520px){.ed-top .long{display:none}.ed-top .short{display:inline}.ed-name{min-width:70px}.tpl-grid{grid-template-columns:repeat(2,1fr)}.el-grid{grid-template-columns:repeat(3,1fr)}.ed-top{gap:2px;padding:0 6px}.ed-top .btn{padding:8px 12px}}.ed-info{padding:64px 0 0}.ed-info h2{font-size:clamp(1.7rem,4vw,2.5rem)}.ed-info .grid{margin:26px 0 40px}.ed-info .card{padding:22px}.ed-info .card h3{font-size:1.2rem}.ed-info .card p{color:var(--ink-2);margin:0;font-size:.98rem}.faq details{border-bottom:1px solid var(--line);padding:14px 0}.faq summary{font:700 1.08rem var(--f-ui);cursor:pointer}.faq p{color:var(--ink-2);margin:10px 0 0}.noscript{text-align:center;background:#fff1cf;padding:20px}
