.te-scope{--te-accent:#4f46e5;--te-accent-soft:#4f46e51a;--te-accent-line:#4f46e58c;--te-danger:#dc2626;--te-text:#1f2937;--te-muted:#6b7280;--te-border:#e5e7eb;--te-border-strong:#d1d5db;--te-surface:#fff;--te-surface-2:#f9fafb;--te-canvas-bg:#e9ecf1;--te-radius:6px;color:var(--te-text);text-align:left;-webkit-font-smoothing:antialiased;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:13px;line-height:1.4}.te-scope *,.te-scope :before,.te-scope :after{box-sizing:border-box}.te-scope button{font:inherit;color:inherit;line-height:inherit;text-transform:none;cursor:pointer;background:0 0;border:0;border-radius:0;margin:0;padding:0}.te-scope button:disabled{cursor:default}.te-scope input,.te-scope select,.te-scope textarea{font:inherit;color:inherit;margin:0}.te-scope h2{color:var(--te-text);margin:0;font-size:15px;font-weight:600;line-height:1.3}.te-scope.te-root{background:var(--te-surface);border:1px solid var(--te-border);border-radius:8px;flex-direction:column;width:100%;height:100%;min-height:560px;display:flex;overflow:hidden}.te-scope .te-toolbar{border-bottom:1px solid var(--te-border);background:var(--te-surface);flex:none;align-items:center;gap:10px;padding:6px 10px;display:flex}.te-scope .te-toolbar-group{gap:2px;display:flex}.te-scope .te-toolbar-spacer{flex:1}.te-scope .te-main{flex:1;min-height:0;display:flex}.te-scope .te-canvas-scroll{background:var(--te-canvas-bg);flex:1;justify-content:center;align-items:flex-start;min-width:0;padding:36px 24px 80px;display:flex;overflow:auto}.te-scope .te-canvas{min-height:100%;transition:width .2s;box-shadow:0 1px 3px #0f172a14}.te-scope .te-canvas.is-mobile{border-radius:18px;min-height:640px;overflow:hidden;box-shadow:0 0 0 10px #1f2937,0 10px 30px #0f172a4d}.te-scope .te-panel{border-left:1px solid var(--te-border);background:var(--te-surface);flex-direction:column;flex:none;width:340px;min-height:0;display:flex}.te-scope .te-panel-head{border-bottom:1px solid var(--te-border);justify-content:space-between;align-items:center;padding:10px 12px 10px 16px;display:flex}.te-scope .te-panel-title{align-items:center;gap:8px;font-size:14px;font-weight:600;display:flex}.te-scope .te-panel-title svg{width:18px;height:18px;color:var(--te-accent)}.te-scope .te-panel-body{flex:1;padding:12px 14px 32px;overflow-y:auto}.te-scope .te-tabs{border-bottom:1px solid var(--te-border);flex:none;display:flex}.te-scope .te-tabs button{color:var(--te-muted);border-bottom:2px solid #0000;flex:1;padding:12px 8px;font-weight:600}.te-scope .te-tabs button.is-active{color:var(--te-accent);border-bottom-color:var(--te-accent)}.te-scope .te-tabs.is-modal{padding:0 16px}.te-scope .te-tabs.is-modal button{flex:none;padding:10px 14px}.te-scope .te-btn{border:1px solid var(--te-border-strong);border-radius:var(--te-radius);background:var(--te-surface);white-space:nowrap;justify-content:center;align-items:center;gap:6px;height:32px;padding:0 12px;font-weight:500;display:inline-flex}.te-scope .te-btn:hover:not(:disabled){background:var(--te-surface-2)}.te-scope .te-btn:disabled{opacity:.5}.te-scope .te-btn-primary{background:var(--te-accent);border-color:var(--te-accent);color:#fff}.te-scope .te-btn-primary:hover:not(:disabled){background:#4338ca}.te-scope .te-tool-btn,.te-scope .te-icon-btn{border-radius:var(--te-radius);color:#374151;flex:none;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.te-scope .te-icon-btn{width:28px;height:28px;color:var(--te-muted)}.te-scope .te-tool-btn:hover:not(:disabled),.te-scope .te-icon-btn:hover:not(:disabled){color:var(--te-text);background:#f3f4f6}.te-scope .te-tool-btn.is-active{background:var(--te-accent-soft);color:var(--te-accent)}.te-scope .te-tool-btn:disabled{opacity:.35}.te-scope .te-icon-btn.is-danger:hover{color:var(--te-danger);background:#fef2f2}.te-scope .te-segmented{background:#f3f4f6;border-radius:8px;gap:2px;padding:2px;display:inline-flex}.te-scope .te-segmented button{min-width:32px;height:28px;color:var(--te-muted);border-radius:6px;justify-content:center;align-items:center;padding:0 8px;display:inline-flex}.te-scope .te-segmented button.is-active{background:var(--te-surface);color:var(--te-accent);box-shadow:0 1px 2px #0f172a1f}.te-scope .te-segmented.is-wide{margin-bottom:10px;display:flex}.te-scope .te-segmented.is-wide button{flex:1}.te-scope .te-input{border:1px solid var(--te-border-strong);border-radius:var(--te-radius);background:var(--te-surface);width:100%;height:32px;color:var(--te-text);outline:none;padding:0 8px;font-size:13px}.te-scope .te-input:focus{border-color:var(--te-accent);box-shadow:0 0 0 3px var(--te-accent-soft)}.te-scope .te-select{padding-right:4px}.te-scope .te-textarea{resize:vertical;height:auto;min-height:72px;padding:6px 8px}.te-scope .te-code{white-space:pre;min-height:220px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.te-scope .te-section{border-bottom:1px solid var(--te-border);margin:0 -14px;padding:0 14px}.te-scope .te-section-head{text-transform:uppercase;letter-spacing:.04em;width:100%;color:var(--te-muted);justify-content:space-between;align-items:center;padding:12px 0;font-size:11px;font-weight:600;display:flex}.te-scope .te-section-head svg{transition:transform .15s;transform:rotate(-90deg)}.te-scope .te-section.is-open .te-section-head svg{transform:none}.te-scope .te-section-body{flex-direction:column;gap:12px;padding-bottom:14px;display:flex}.te-scope .te-field{flex-direction:column;gap:5px;min-width:0;display:flex}.te-scope .te-field-label{color:#374151;font-weight:500}.te-scope .te-field-help{color:var(--te-muted);margin:0;font-size:12px}.te-scope .te-field-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.te-scope .te-toggle{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:10px;display:flex}.te-scope .te-toggle input{opacity:0;pointer-events:none;position:absolute}.te-scope .te-toggle-track{background:#d1d5db;border-radius:9px;flex:none;width:32px;height:18px;transition:background .15s;position:relative}.te-scope .te-toggle-track:after{content:"";background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #0003}.te-scope .te-toggle input:checked+.te-toggle-track{background:var(--te-accent)}.te-scope .te-toggle input:checked+.te-toggle-track:after{transform:translate(14px)}.te-scope .te-toggle input:focus-visible+.te-toggle-track{box-shadow:0 0 0 3px var(--te-accent-soft)}.te-scope .te-check,.te-scope .te-color{align-items:center;gap:6px;display:flex}.te-scope .te-color-swatch{border-radius:var(--te-radius);border:1px solid var(--te-border-strong);cursor:pointer;flex:none;width:32px;height:32px;position:relative;overflow:hidden}.te-scope .te-color-swatch.is-empty{background:linear-gradient(135deg, #fff 45%, var(--te-danger) 45%, var(--te-danger) 55%, #fff 55%)}.te-scope .te-color-swatch input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.te-scope .te-number{border:1px solid var(--te-border-strong);border-radius:var(--te-radius);background:var(--te-surface);align-items:center;height:32px;display:flex;overflow:hidden}.te-scope .te-number .te-input{text-align:center;min-width:0;height:30px;box-shadow:none;border:0;padding:0 2px}.te-scope .te-number-step{width:26px;height:100%;color:var(--te-muted);flex:none;font-size:15px}.te-scope .te-number-step:hover{color:var(--te-text);background:#f3f4f6}.te-scope .te-number-unit{color:var(--te-muted);padding-right:2px;font-size:11px}.te-scope .te-slider{align-items:center;gap:10px;display:flex}.te-scope .te-slider input{accent-color:var(--te-accent);flex:1}.te-scope .te-slider-value{text-align:right;min-width:44px;color:var(--te-muted)}.te-scope .te-spacing{flex-direction:column;gap:8px;display:flex}.te-scope .te-spacing-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.te-scope .te-spacing-side{color:var(--te-muted);flex-direction:column;gap:3px;font-size:11px;display:flex}.te-scope .te-text-input{align-items:flex-start;gap:4px;display:flex}.te-scope .te-text-input>.te-input{flex:1;min-width:0}.te-scope .te-list-item{grid-template-columns:120px 1fr auto;align-items:center;gap:6px;display:grid}.te-scope .te-list-item.is-stacked{border:1px solid var(--te-border);border-radius:var(--te-radius);background:var(--te-surface-2);flex-direction:column;align-items:stretch;padding:8px;display:flex}.te-scope .te-list-item-head{align-items:center;gap:6px;display:flex}.te-scope .te-list-item-head>.te-text-input{flex:1}.te-scope .te-menu{position:relative}.te-scope .te-menu-list{z-index:30;background:var(--te-surface);border:1px solid var(--te-border);border-radius:8px;min-width:220px;max-height:280px;padding:4px;position:absolute;top:calc(100% + 4px);right:0;overflow-y:auto;box-shadow:0 10px 25px #0f172a26}.te-scope .te-menu-list>button{text-align:left;border-radius:5px;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:7px 8px;display:flex}.te-scope .te-menu-list>button:hover{background:var(--te-accent-soft)}.te-scope .te-menu-list code{color:var(--te-accent);background:0 0;font-size:11px}.te-scope .te-link-popover{flex-direction:column;gap:8px;width:280px;padding:10px;display:flex;left:0;right:auto}.te-scope .te-image-source{flex-direction:column;gap:8px;display:flex}.te-scope .te-image-preview{border:1px dashed var(--te-border-strong);width:100%;min-height:96px;color:var(--te-muted);background:repeating-conic-gradient(#f3f4f6 0 25%, #fff 0 50%) 0 0 / 16px 16px;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:10px;display:flex}.te-scope .te-image-preview img{object-fit:contain;max-width:100%;max-height:140px}.te-scope .te-image-preview span{color:var(--te-accent);background:#ffffffd9;border-radius:10px;padding:2px 8px;font-weight:500}.te-scope .te-alert{border-radius:var(--te-radius);color:#991b1b;background:#fef2f2;border:1px solid #fecaca;margin:10px 16px 0;padding:8px 12px}.te-scope .te-tiles{grid-template-columns:1fr 1fr;gap:10px;display:grid}.te-scope .te-tile{border:1px solid var(--te-border);background:var(--te-surface);color:#374151;cursor:grab;touch-action:none;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:84px;display:flex}.te-scope .te-tile svg{color:var(--te-accent)}.te-scope .te-tile:hover{border-color:var(--te-accent-line);box-shadow:0 2px 8px #4f46e51f}.te-scope .te-tile.is-dragging,.te-scope .te-row-tile.is-dragging{opacity:.4}.te-scope .te-row-tiles{flex-direction:column;gap:10px;display:flex}.te-scope .te-row-tile{border:1px solid var(--te-border);background:var(--te-surface);cursor:grab;touch-action:none;border-radius:8px;width:100%;padding:12px;display:block}.te-scope .te-row-tile:hover{border-color:var(--te-accent-line)}.te-scope .te-layout{gap:4px;width:100%;height:28px;display:flex}.te-scope .te-layout>span{background:#e0e7ff;border:1px dashed #a5b4fc;border-radius:3px}.te-scope .te-layout-picker{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.te-scope .te-layout-picker button{border:1px solid var(--te-border);border-radius:6px;padding:6px}.te-scope .te-layout-picker button .te-layout{height:18px}.te-scope .te-layout-picker button.is-active{border-color:var(--te-accent);box-shadow:0 0 0 2px var(--te-accent-soft)}.te-drag-chip{color:#fff;cursor:grabbing;background:#4f46e5;border-radius:8px;align-items:center;gap:8px;min-width:120px;padding:8px 12px;font:600 13px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;display:inline-flex;box-shadow:0 8px 20px #4f46e559}.te-drag-chip .te-layout{gap:4px;width:140px;height:22px;display:flex}.te-drag-chip .te-layout>span{background:#ffffff59;border-radius:3px}.te-scope .te-row{position:relative}.te-scope .te-row:after,.te-scope .te-block:after{content:"";pointer-events:none;z-index:2;position:absolute;inset:0}.te-scope .te-row:hover:after{box-shadow:inset 0 0 0 1px var(--te-accent-line)}.te-scope .te-row.is-selected:after{box-shadow:inset 0 0 0 2px var(--te-accent)}.te-scope .te-row.is-dragging,.te-scope .te-block.is-dragging{opacity:.35}.te-scope .te-row.is-hidden-here>.te-row-inner,.te-scope .te-block.is-hidden-here>:first-child{opacity:.4}.te-scope .te-row-inner{margin:0 auto}.te-scope .te-row-columns{display:flex}.te-scope .te-row-columns.is-stacked{flex-direction:column}.te-scope .te-row-chrome{z-index:6;display:none;position:absolute;top:0;left:0;transform:translateY(-100%)}.te-scope .te-row:hover>.te-row-chrome,.te-scope .te-row.is-selected>.te-row-chrome{display:block}.te-scope .te-chrome-actions{background:var(--te-accent);color:#fff;white-space:nowrap;border-radius:4px 4px 0 0;align-items:center;height:24px;padding:0 2px 0 8px;font-size:11px;font-weight:600;display:flex}.te-scope .te-chrome-label{margin-right:4px}.te-scope .te-chrome-btn{color:#fff;border-radius:3px;justify-content:center;align-items:center;width:24px;height:22px;display:inline-flex}.te-scope .te-chrome-btn:hover{background:#fff3}.te-scope .te-drag-handle{cursor:grab;touch-action:none}.te-scope .te-column{min-width:0;min-height:32px;position:relative}.te-scope .te-column-empty{color:#4f46e5;text-align:center;background:#e0e7ff73;border:1px dashed #a5b4fc;border-radius:4px;margin:8px;padding:22px 10px;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;font-size:12px}.te-scope .te-column-empty.is-target,.te-scope .te-column.is-over>.te-column-empty{background:#a5b4fc73;border-style:solid}.te-scope .te-block{cursor:pointer;position:relative}.te-scope .te-block:hover:after{box-shadow:inset 0 0 0 1px var(--te-accent-line)}.te-scope .te-block.is-selected:after{box-shadow:inset 0 0 0 2px var(--te-accent)}.te-scope .te-block.is-selected,.te-scope .te-block.is-editing{z-index:5}.te-scope .te-block.is-editing{cursor:text}.te-scope .te-block>.te-chrome-actions{z-index:6;position:absolute;top:0;right:0;transform:translateY(-100%)}.te-scope .te-hidden-badge{z-index:3;color:#fff;background:#111827cc;border-radius:10px;align-items:center;gap:4px;padding:2px 8px;font:500 11px/1.4 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;display:inline-flex;position:absolute;top:4px;left:4px}.te-scope .te-drop-line{z-index:8;background:var(--te-accent);border-radius:2px;height:4px;margin:-2px 0;position:relative;box-shadow:0 0 0 2px #ffffffb3}.te-scope .te-canvas-end{min-height:48px}.te-scope .te-canvas-end.is-empty{color:#4f46e5;text-align:center;background:#fff9;border:2px dashed #a5b4fc;border-radius:10px;justify-content:center;align-items:center;min-height:320px;margin:24px;padding:20px;font:500 14px/1.4 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;display:flex}.te-scope .te-canvas-end.is-empty.is-target{background:#e0e7ffcc;border-style:solid}.te-scope .te-spacer{background:0 0}.te-scope .te-block:hover>.te-spacer,.te-scope .te-block.is-selected>.te-spacer{background:repeating-linear-gradient(45deg,#0000 0 6px,#4f46e514 6px 12px)}.te-scope .te-image-empty{color:#4f46e5;background:#eef2ff;border:1px dashed #a5b4fc;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:100%;min-height:140px;font:500 13px/1.4 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;display:flex}.te-scope .te-html-empty{border:1px dashed var(--te-border-strong);min-height:60px;color:var(--te-muted);border-radius:6px;justify-content:center;align-items:center;gap:8px;font:500 13px/1.4 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;display:flex}.te-scope .te-prose p,.te-scope .te-prose h1,.te-scope .te-prose h2,.te-scope .te-prose h3,.te-scope .te-prose h4,.te-scope .te-prose h5,.te-scope .te-prose h6,.te-scope .te-prose ul,.te-scope .te-prose ol,.te-scope .te-prose blockquote{color:inherit;font-family:inherit;line-height:inherit;margin:0}.te-scope .te-prose h1{font-size:2em;font-weight:700}.te-scope .te-prose h2{font-size:1.5em;font-weight:700}.te-scope .te-prose h3{font-size:1.17em;font-weight:700}.te-scope .te-prose h4{font-size:1em;font-weight:700}.te-scope .te-prose ul,.te-scope .te-prose ol{padding-left:24px}.te-scope .te-prose ul{list-style:outside}.te-scope .te-prose ol{list-style:decimal}.te-scope .te-prose a{color:var(--te-link-color,#0068a5);-webkit-text-decoration:var(--te-link-decoration,underline);text-decoration:var(--te-link-decoration,underline)}.te-scope .te-prose img{max-width:100%}.te-scope .te-prose p:empty:before{content:" "}.te-scope .te-prose strong,.te-scope .te-prose b{font-weight:700}.te-scope .te-rich{position:relative}.te-scope .te-rich .ProseMirror{white-space:pre-wrap;word-wrap:break-word;outline:none;min-height:1.4em}.te-scope .te-button-edit,.te-scope .te-button-label{cursor:text}.te-scope.te-floating{z-index:1500;background:var(--te-surface);border:1px solid var(--te-border-strong);border-radius:8px;max-width:min(680px,100vw - 24px);padding:4px;position:fixed;box-shadow:0 10px 28px #0f172a33}.te-scope .te-rich-toolbar,.te-scope .te-table-toolbar{flex-wrap:wrap;align-items:center;gap:2px;display:flex}.te-scope .te-tool-sep{background:var(--te-border);width:1px;height:20px;margin:0 3px}.te-scope .te-tool-select{border-radius:var(--te-radius);background:0 0;border:1px solid #0000;height:30px;padding:0 4px;font-size:12px}.te-scope .te-tool-select:hover{border-color:var(--te-border)}.te-scope .te-tool-color{cursor:pointer;flex-direction:column;gap:0;position:relative}.te-scope .te-tool-color-bar{border-radius:1px;width:16px;height:3px;margin-top:-2px}.te-scope .te-tool-color input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.te-scope.te-modal-backdrop{z-index:2000;background:#0f172a80;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.te-scope .te-modal{background:var(--te-surface);border-radius:12px;flex-direction:column;width:min(980px,100%);max-height:calc(100vh - 48px);display:flex;position:relative;overflow:hidden;box-shadow:0 25px 50px #0f172a4d}.te-scope .te-modal-head{align-items:center;gap:16px;padding:14px 16px 10px 20px;display:flex}.te-scope .te-modal-head h2{flex:1}.te-scope .te-modal-foot{border-top:1px solid var(--te-border);justify-content:flex-end;gap:8px;padding:12px 16px;display:flex}.te-scope .te-gallery{height:min(720px,100vh - 48px)}.te-scope .te-gallery-bar{gap:10px;padding:12px 16px;display:flex}.te-scope .te-search{border:1px solid var(--te-border-strong);border-radius:var(--te-radius);height:32px;color:var(--te-muted);flex:1;align-items:center;gap:8px;padding:0 10px;display:flex}.te-scope .te-search input{height:30px;color:var(--te-text);background:0 0;border:0;outline:none;flex:1}.te-scope .te-gallery-body{flex:1;padding:4px 16px 16px;overflow-y:auto}.te-scope .te-gallery-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;display:grid}.te-scope .te-gallery-item{border:1px solid var(--te-border);cursor:pointer;background:var(--te-surface);border-radius:8px;outline:none;position:relative;overflow:hidden}.te-scope .te-gallery-item:hover,.te-scope .te-gallery-item:focus-visible{border-color:var(--te-accent-line)}.te-scope .te-gallery-item.is-selected{border-color:var(--te-accent);box-shadow:0 0 0 2px var(--te-accent)}.te-scope .te-gallery-item.is-busy{opacity:.6;pointer-events:none}.te-scope .te-gallery-thumb{aspect-ratio:4/3;background:repeating-conic-gradient(#f3f4f6 0 25%, #fff 0 50%) 0 0 / 16px 16px;justify-content:center;align-items:center;display:flex;position:relative}.te-scope .te-gallery-thumb img{object-fit:contain;max-width:100%;max-height:100%}.te-scope .te-gallery-check{background:var(--te-accent);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;display:flex;position:absolute;top:6px;left:6px}.te-scope .te-gallery-meta{border-top:1px solid var(--te-border);justify-content:space-between;gap:6px;padding:6px 8px;font-size:12px;display:flex}.te-scope .te-gallery-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.te-scope .te-gallery-size{color:var(--te-muted);flex:none}.te-scope .te-gallery-delete{opacity:0;background:#ffffffeb;position:absolute;top:6px;right:6px}.te-scope .te-gallery-item:hover .te-gallery-delete,.te-scope .te-gallery-item:focus-within .te-gallery-delete{opacity:1}.te-scope .te-gallery-empty{border:2px dashed var(--te-border-strong);width:100%;min-height:260px;color:var(--te-muted);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:10px;font-size:14px;display:flex}.te-scope .te-gallery-empty:not(:disabled):hover{border-color:var(--te-accent-line);color:var(--te-accent)}.te-scope .te-gallery-loading,.te-scope .te-upload{color:var(--te-muted);align-items:center;gap:8px;padding:10px 0;display:flex}.te-scope .te-upload progress{max-width:240px;accent-color:var(--te-accent);flex:1}.te-scope .te-gallery-more{margin:16px auto 0;display:flex}.te-scope .te-gallery-drop{z-index:10;border:3px dashed var(--te-accent);color:var(--te-accent);pointer-events:none;background:#4f46e51f;border-radius:12px;justify-content:center;align-items:center;font-size:16px;font-weight:600;display:flex;position:absolute;inset:0}.te-scope .te-gallery-url{flex-direction:column;flex:1;gap:8px;padding:16px 20px;display:flex;overflow-y:auto}.te-scope .te-gallery-url .te-alert{margin:0}.te-scope .te-gallery-url-preview{background:repeating-conic-gradient(#f3f4f6 0 25%, #fff 0 50%) 0 0 / 16px 16px;border-radius:8px;justify-content:center;align-items:center;min-height:200px;display:flex}.te-scope .te-gallery-url-preview img{max-width:100%;max-height:320px}.te-scope .te-preview{width:min(1200px,100%);height:calc(100vh - 48px)}.te-scope .te-preview-stage{background:var(--te-canvas-bg);flex:1;justify-content:center;min-height:0;padding:16px;display:flex}.te-scope .te-preview-stage iframe{background:#fff;border:0;width:100%;height:100%;transition:width .2s;box-shadow:0 1px 4px #0f172a1f}.te-scope .te-preview-stage iframe.is-mobile{border-radius:18px;width:375px;box-shadow:0 0 0 10px #1f2937}.te-scope .te-spin{animation:.9s linear infinite te-spin}@keyframes te-spin{to{transform:rotate(360deg)}}@media (width<=900px){.te-scope .te-panel{width:290px}.te-scope .te-canvas-scroll{padding:28px 10px 60px}}.te-scope .te-social-icon{object-fit:contain;flex:none;display:block}.te-scope .te-social-icon.is-on-dark{box-sizing:border-box;background:#374151;border-radius:50%;padding:2px}.te-scope .te-network-picker{flex:1;min-width:0}.te-scope .te-network-current{text-align:left;cursor:pointer;align-items:center;gap:8px;display:flex}.te-scope .te-network-current span{flex:1}.te-scope .te-network-list{min-width:100%;left:0;right:auto}.te-scope .te-network-list>button{justify-content:flex-start;gap:10px}.te-scope .te-network-list>button.is-active{background:var(--te-accent-soft);color:var(--te-accent);font-weight:600}.te-scope .te-network-strip{flex-direction:column;gap:6px;display:flex}.te-scope .te-network-strip-icons{flex-wrap:wrap;gap:6px;display:flex}.te-scope .te-network-add{border:1px dashed var(--te-border-strong);opacity:.85;border-radius:8px;padding:4px}.te-scope .te-network-add:hover{border-color:var(--te-accent);background:var(--te-accent-soft);opacity:1;border-style:solid}.te-scope .te-icon-styles{grid-template-columns:repeat(7,1fr);gap:4px;display:grid}.te-scope .te-icon-style{border:1px solid var(--te-border);background:#e5e7eb;border-radius:6px;justify-content:center;align-items:center;padding:5px 0;display:flex}.te-scope .te-icon-style.is-dark{background:#4b5563}.te-scope .te-icon-style.is-active{border-color:var(--te-accent);box-shadow:0 0 0 2px var(--te-accent-soft)}.te-scope .te-table{table-layout:fixed}.te-scope .te-cell-edit{cursor:text;outline:none}.te-scope .te-cell-edit:focus{box-shadow:inset 0 0 0 2px var(--te-accent)}.te-scope .te-tool-btn.is-wide{gap:4px;width:auto;padding:0 8px;font-size:12px}.te-scope .te-video-empty{color:#c7d2fe;text-align:center;justify-content:center;align-items:flex-end;padding:0 12px 14%;font:500 13px/1.4 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;display:flex;position:absolute;inset:0}.te-scope .te-play-styles{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.te-scope .te-play-styles button{border:1px solid var(--te-border);background:linear-gradient(135deg,#64748b,#334155);border-radius:6px;justify-content:center;align-items:center;height:44px;display:flex}.te-scope .te-play-styles button.is-active{border-color:var(--te-accent);box-shadow:0 0 0 2px var(--te-accent)}.te-scope .te-play-none{color:#fff;font-size:11px;font-weight:600}.te-scope .te-field-help.is-warning{color:#b45309}.te-scope .te-emoji-picker{flex-direction:column;gap:6px;width:308px;max-height:none;padding:8px;display:flex}.te-scope .te-emoji-search{flex:none;height:30px}.te-scope .te-emoji-tabs{border-bottom:1px solid var(--te-border);gap:2px;padding-bottom:4px;display:flex}.te-scope .te-emoji-tabs button{width:30px;height:28px;color:var(--te-muted);border-radius:6px;justify-content:center;align-items:center;font-size:16px;display:flex}.te-scope .te-emoji-tabs button.is-active{background:var(--te-accent-soft);color:var(--te-accent)}.te-scope .te-emoji-grid{grid-template-columns:repeat(8,1fr);align-content:start;gap:2px;height:200px;display:grid;overflow-y:auto}.te-scope .te-emoji{border-radius:6px;height:34px;font-family:Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif;font-size:21px;line-height:1}.te-scope .te-emoji:hover{background:var(--te-accent-soft)}.te-scope .te-emoji-empty{text-align:center;color:var(--te-muted);grid-column:1/-1;padding:20px 0}.te-scope .te-stickers{padding-top:12px}.te-scope .te-sticker-grid{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px;margin-top:10px;display:grid}.te-scope .te-sticker{aspect-ratio:1;border:1px solid var(--te-border);background:var(--te-surface);border-radius:10px;justify-content:center;align-items:center;padding:10px;display:flex}.te-scope .te-sticker img{object-fit:contain;width:100%;height:100%}.te-scope .te-sticker:hover{border-color:var(--te-accent-line);background:var(--te-accent-soft)}.te-scope .te-sticker.is-selected{border-color:var(--te-accent);box-shadow:0 0 0 2px var(--te-accent)}.te-scope .te-import{width:min(760px,100%)}.te-scope .te-import-body{flex-direction:column;gap:10px;padding:4px 20px 16px;display:flex;overflow-y:auto}.te-scope .te-import-file{align-items:center;gap:10px;display:flex}.te-scope .te-import-text{white-space:pre;min-height:260px}.te-scope .te-import-done{color:#065f46;background:#ecfdf5;border-radius:8px;padding:12px 14px;font-weight:600}.te-scope .te-canvas-empty{text-align:center;flex-direction:column;align-items:center;gap:14px;display:flex}.te-scope .te-templates{width:min(1080px,100%);height:calc(100vh - 48px)}.te-scope .te-template-cats{border-bottom:1px solid var(--te-border);flex-wrap:wrap;gap:6px;padding:0 20px 12px;display:flex}.te-scope .te-template-cats button{border:1px solid var(--te-border-strong);background:var(--te-surface);color:var(--te-text);cursor:pointer;border-radius:999px;padding:6px 12px;font:500 13px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}.te-scope .te-template-cats button:hover{border-color:var(--te-accent-line)}.te-scope .te-template-cats button.is-active{border-color:var(--te-accent);background:var(--te-accent);color:#fff}.te-scope .te-templates-body{background:var(--te-canvas-bg);flex:1;padding:16px 20px;overflow-y:auto}.te-scope .te-template-grid{grid-template-columns:repeat(auto-fill,minmax(236px,1fr));gap:16px;display:grid}.te-scope .te-template-card{background:var(--te-surface);text-align:left;cursor:pointer;border:2px solid #0000;border-radius:10px;flex-direction:column;gap:4px;padding:8px 8px 12px;display:flex;box-shadow:0 1px 3px #0f172a1f}.te-scope .te-template-card:hover{border-color:var(--te-accent-line)}.te-scope .te-template-card.is-selected{border-color:var(--te-accent);box-shadow:0 0 0 3px var(--te-accent-soft)}.te-scope .te-template-thumb{pointer-events:none;background:#eef0f3;border-radius:6px;width:220px;height:280px;margin:0 auto 6px;overflow:hidden}.te-scope .te-template-thumb iframe{transform-origin:0 0;border:0;height:1020px}.te-scope .te-template-name{color:var(--te-text);padding:0 4px;font:600 14px/1.3 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}.te-scope .te-template-desc{color:var(--te-muted);padding:0 4px;font:400 12px/1.4 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}.te-scope .te-template-tabs{border-bottom:0}.te-scope .te-template-count{background:var(--te-accent-soft);color:var(--te-accent);border-radius:999px;margin-left:6px;padding:1px 7px;font-size:12px}.te-scope .te-template-cats .te-search{flex:0 360px}.te-scope .te-template-thumb img{object-fit:cover;object-position:top;width:100%;height:100%;display:block}.te-scope .te-template-thumb-empty{height:100%;color:var(--te-muted);justify-content:center;align-items:center;display:flex}.te-scope .te-template-meta{flex-wrap:wrap;align-items:center;gap:4px;padding:2px 4px 0;display:flex}.te-scope .te-template-tag{background:var(--te-accent-soft);color:var(--te-accent);border-radius:999px;padding:1px 8px;font:500 11px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}.te-scope .te-template-date{color:var(--te-muted);margin-left:auto;font:400 11px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}.te-scope .te-template-empty{color:var(--te-muted);text-align:center;flex-direction:column;align-items:center;gap:8px;padding:56px 20px;display:flex}.te-scope .te-template-empty strong{color:var(--te-text)}.te-scope .te-template-warning{color:#b45309;flex:1;align-self:center;font:500 13px/1.3 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
/*$vite$:1*/