.tee-editor{width:min(1200px,96vw);max-width:1200px;height:94dvh;max-height:94dvh;padding:25px;border:1px solid #d1dac5;border-radius:20px;background:#fffdf7;color:#2e482e;overflow:auto}.tee-editor::backdrop{background:#172317a8}.tee-editor-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.tee-editor-top span{font-size:10px;letter-spacing:1.6px}.tee-editor-top h2{font-size:25px;margin:8px 0}.tee-editor-top button{border-radius:50%;width:40px;height:40px;font-size:25px;flex-shrink:0}.tee-editor button,.tee-upload{border:1px solid #c9d4bf;background:#fffdf7;color:#2e482e;padding:10px 12px;border-radius:9px;cursor:pointer;font:inherit;font-size:12px}.tee-editor button:hover,.tee-editor button[aria-pressed=true]{background:#e4ecd8;border-color:#58744d}.tee-editor button:disabled{opacity:.4;cursor:default}.tee-editor-notice{font-size:12px;line-height:1.8;color:#6a7560;border-bottom:1px solid #dbe1d1;padding-bottom:14px}.tee-editor-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:25px;align-items:start}.tee-editor-panel{display:flex;flex-direction:column;gap:10px}.tee-editor-panel h3{font-size:15px;margin:16px 0 2px}.tee-editor-panel label{display:block;font-size:12px;line-height:1.8}.tee-editor-panel select,.tee-editor-panel textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #cdd6c2;border-radius:8px;background:#fff;padding:9px;font:inherit;color:#30482f}.tee-editor-panel input[type=range]{display:block;width:100%;accent-color:#526f42}.tee-editor-panel input[type=color]{display:block;width:100%;height:39px;padding:3px;background:white;border:1px solid #ccd6c1;border-radius:8px}.tee-editor-panel small{font-size:10px;line-height:1.7;color:#77816d}.tee-editor-views,.tee-edit-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.tee-edit-actions{grid-template-columns:repeat(3,1fr)}.tee-quick-words{display:flex;gap:5px;flex-wrap:wrap}.tee-quick-words button{padding:7px;font-size:11px}.tee-text-style{display:grid;grid-template-columns:2fr 1fr;gap:10px}.tee-upload{background:#eff2e9;display:block!important;text-align:center;position:relative;overflow:hidden}.tee-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.tee-upload:focus-within{outline:2px solid #e87951}.tee-editor-preview{position:sticky;top:0;min-width:0}.tee-editor-preview canvas{display:block;width:100%;max-height:70dvh;object-fit:contain;background:#fff0c6;border-radius:16px;touch-action:none;cursor:move;outline-offset:3px}.tee-editor-preview p{font-size:11px;line-height:1.8;color:#68765d}.tee-editor-toolbar{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}.tee-editor-toolbar [data-tee-download]{background:#345331;color:white;margin-left:auto}.tee-layer-list{display:flex;flex-direction:column;gap:6px}.tee-layer-list button{text-align:left;overflow-wrap:anywhere}.tee-layer-list p,[data-tee-selected]{font-size:11px;color:#76816a;margin:0}.tee-editor-entry{margin:15px 0;display:flex;flex-direction:column;gap:7px}.tee-editor-entry>button{width:100%;border:1px solid #b6c6a6;background:#edf1e3;border-radius:9px;padding:13px;color:#345331;font-weight:700;font-size:14px;cursor:pointer}.tee-editor-entry>small{font-size:10px;color:#77816a}.tee-editor output{float:right;font-size:11px}.tee-editor :focus-visible{outline:2px solid #d9764d;outline-offset:3px}@media(max-width:750px){.tee-editor{padding:16px;width:96vw;height:96dvh;max-height:96dvh}.tee-editor-top h2{font-size:19px}.tee-editor-layout{grid-template-columns:1fr}.tee-editor-preview{position:static;grid-row:1}.tee-editor-preview canvas{max-height:52dvh}.tee-editor-panel{padding-top:8px}.tee-editor-toolbar button{font-size:10px;padding:8px}.tee-editor-toolbar [data-tee-download]{margin-left:0}}
.tee-editor-preview canvas{width:min(100%,calc(70dvh * 800 / 850));height:auto;max-height:none;margin-inline:auto;object-fit:initial}@media(max-width:750px){.tee-editor-preview canvas{width:min(100%,calc(52dvh * 800 / 850));max-height:none}}
