:root{--tv-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;--tv-orange: #fd6920;--tv-orange-hover: #e85a14;--tv-orange-20: rgba(253, 105, 32, .12);--tv-ink: #1f2d5c;--tv-text: #202223;--tv-muted: #6b7280;--tv-line: #e5e7eb;--tv-canvas: #f4f5f7;--tv-surface: #ffffff;--tv-success: #1e6b36;--tv-success-bg: #e7f6ec;--tv-error: #b42318;--tv-error-bg: #fef3f2;--tv-radius: 10px}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:var(--tv-font);color:var(--tv-text);background:var(--tv-canvas);font-size:14px;-webkit-font-smoothing:antialiased}button,input,textarea{font-family:inherit;font-size:inherit}:focus-visible{outline:2px solid var(--tv-orange);outline-offset:2px}.tv-h1{font-size:24px;font-weight:700;color:var(--tv-ink);margin:0}.tv-h2{font-size:16px;font-weight:600;color:var(--tv-ink);margin:0 0 12px}.tv-h3{font-size:15px;font-weight:600;color:var(--tv-ink);margin:0 0 6px}.tv-muted{color:var(--tv-muted);margin:4px 0 0}.tv-small{font-size:12.5px}.tv-strong{font-weight:600;margin:0}.tv-help{font-size:12.5px;color:var(--tv-muted);margin:8px 0 0}.tv-help a{color:var(--tv-orange)}.tv-center-text{text-align:center}.tv-page{max-width:1080px;margin:0 auto;padding:28px 24px 48px}.tv-page-head{margin-bottom:24px}.tv-section{margin-top:28px}.tv-center{min-height:100%;display:grid;place-items:center;padding:24px}.tv-card{background:var(--tv-surface);border:1px solid var(--tv-line);border-radius:var(--tv-radius);padding:20px;margin-top:16px}.tv-narrow{max-width:420px;text-align:center}.tv-back{color:var(--tv-muted);text-decoration:none;font-size:13px}.tv-back:hover{color:var(--tv-orange)}.tv-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 16px;border-radius:8px;border:1px solid var(--tv-line);background:var(--tv-surface);color:var(--tv-text);font-weight:600;cursor:pointer;text-decoration:none;white-space:nowrap}.tv-btn:hover:not(:disabled){border-color:var(--tv-orange);color:var(--tv-orange)}.tv-btn:disabled{opacity:.5;cursor:not-allowed}.tv-btn-primary{background:var(--tv-orange);border-color:var(--tv-orange);color:#fff}.tv-btn-primary:hover:not(:disabled){background:var(--tv-orange-hover);border-color:var(--tv-orange-hover);color:#fff}.tv-btn-sm{padding:5px 10px;font-size:12.5px}.tv-block{width:100%;margin-top:12px}.tv-link{background:none;border:0;padding:0;color:var(--tv-orange);cursor:pointer;font:inherit;text-decoration:underline}.tv-field{display:flex;flex-direction:column;gap:6px}.tv-label{font-weight:600;font-size:13px}.tv-input,.tv-textarea{width:100%;padding:10px 12px;border:1px solid var(--tv-line);border-radius:8px;background:#fff;color:var(--tv-text)}.tv-input:focus,.tv-textarea:focus{border-color:var(--tv-orange);outline:none;box-shadow:0 0 0 3px var(--tv-orange-20)}.tv-textarea{resize:vertical;min-height:76px;line-height:1.5}.tv-input-group{display:flex;gap:8px}.tv-char-counter{font-size:11.5px;color:var(--tv-muted);text-align:right}.tv-inline-form{display:flex;gap:8px;max-width:420px;margin:10px auto 0}.tv-alert{padding:10px 14px;border-radius:8px;font-size:13px;margin:0 0 16px}.tv-alert-error{background:var(--tv-error-bg);color:var(--tv-error);border:1px solid #fecdca}.tv-alert-success{background:var(--tv-success-bg);color:var(--tv-success);border:1px solid #bfe3cb}.tv-badge{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:3px 9px;border-radius:999px;background:#eef0f6;color:var(--tv-ink)}.tv-tags{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0}.tv-tag{font-size:11.5px;padding:3px 9px;border-radius:999px;background:var(--tv-orange-20);color:#7a3410}.tv-chip{font-size:12.5px;padding:6px 12px;border-radius:999px;border:1px solid var(--tv-line);background:#fff;cursor:pointer;color:var(--tv-text)}.tv-chip:hover{border-color:var(--tv-orange);color:var(--tv-orange)}.tv-platforms{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.tv-platform{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:20px;border:1px solid var(--tv-line);border-radius:var(--tv-radius);background:var(--tv-surface);cursor:pointer;text-align:left}.tv-platform:hover,.tv-platform.is-active{border-color:var(--tv-orange);box-shadow:0 0 0 3px var(--tv-orange-20)}.tv-platform.is-disabled{cursor:not-allowed;opacity:.7}.tv-platform.is-disabled:hover{border-color:var(--tv-line);box-shadow:none}.tv-platform-mark{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;color:#fff;font-weight:700;font-size:18px}.tv-platform-shopify{background:#5e8e3e}.tv-platform-woo{background:#7f54b3}.tv-platform-name{font-size:16px;font-weight:700;color:var(--tv-ink)}.tv-platform-sub{font-size:12.5px;color:var(--tv-muted)}.tv-list{list-style:none;padding:0;margin:0;background:var(--tv-surface);border:1px solid var(--tv-line);border-radius:var(--tv-radius)}.tv-list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px}.tv-list-row+.tv-list-row{border-top:1px solid var(--tv-line)}.tv-status{font-weight:600}.tv-status-published{color:var(--tv-success)}.tv-status-failed{color:var(--tv-error)}.tv-status-installing{color:var(--tv-orange)}.tv-gallery{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}.tv-theme{background:var(--tv-surface);border:1px solid var(--tv-line);border-radius:var(--tv-radius);overflow:hidden;display:flex;flex-direction:column}.tv-theme-body{padding:16px;display:flex;flex-direction:column;flex:1}.tv-theme-body .tv-block{margin-top:auto}.tv-theme-body .tv-tags{margin-bottom:14px}.tv-editor{display:flex;flex-direction:column;min-height:100%}.tv-editor-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;background:var(--tv-surface);border-bottom:1px solid var(--tv-line);position:sticky;top:0;z-index:2;flex-wrap:wrap}.tv-editor-title{display:flex;align-items:center;gap:12px;min-width:0}.tv-editor-title .tv-back{font-size:18px}.tv-editor-actions{display:flex;align-items:center;gap:8px}.tv-editor>.tv-alert{margin:12px 20px 0}.tv-segmented{display:inline-flex;border:1px solid var(--tv-line);border-radius:8px;overflow:hidden;background:#fff}.tv-segmented button{border:0;background:transparent;padding:7px 16px;cursor:pointer;font-weight:600;color:var(--tv-muted)}.tv-segmented button+button{border-left:1px solid var(--tv-line)}.tv-segmented button.is-active{background:var(--tv-orange-20);color:var(--tv-orange)}.tv-stage{padding:16px 20px 8px;display:flex;flex-direction:column;align-items:center}.tv-device{position:relative;width:100%;height:62vh;min-height:420px;background:#fff;border:1px solid var(--tv-line);border-radius:var(--tv-radius);overflow:hidden;box-shadow:0 6px 24px #0f172a14;transition:width .25s ease}.tv-device-mobile{box-sizing:content-box;border-radius:28px;border-width:10px;border-color:#1f2328}.tv-frame{width:100%;height:100%;border:0;display:block}.tv-frame-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#ffffffb3}.tv-stage-empty{width:100%;min-height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px dashed var(--tv-line);border-radius:var(--tv-radius);background:#fff;text-align:center;padding:24px}.tv-prompt{margin:8px 20px 28px;padding:18px 20px;background:var(--tv-surface);border:1px solid var(--tv-line);border-radius:var(--tv-radius)}.tv-prompt-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;flex-wrap:wrap}.tv-prompt-attach,.tv-prompt-send{display:flex;align-items:center;gap:10px;min-width:0}.tv-prompt-attach-hint{margin:0}.tv-prompt-form{border-radius:10px;transition:box-shadow .15s}.tv-prompt-form.is-dragging{box-shadow:0 0 0 2px var(--tv-orange),0 0 0 6px var(--tv-orange-20)}.tv-chip:disabled{opacity:.5;cursor:not-allowed}.tv-attachments{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0;padding:0}.tv-attachment{display:flex;align-items:center;gap:8px;max-width:260px;padding:6px;border:1px solid var(--tv-line);border-radius:8px;background:#fff}.tv-attachment.is-error{border-color:#fecdca;background:var(--tv-error-bg)}.tv-attachment-thumb,.tv-attachment-icon{flex:none;width:40px;height:40px;border-radius:6px}.tv-attachment-thumb{object-fit:cover;background:var(--tv-canvas);border:1px solid var(--tv-line)}.tv-attachment-icon{display:grid;place-items:center;background:#eef0f6;color:var(--tv-ink);font-size:10.5px;font-weight:700;letter-spacing:.04em}.tv-attachment-meta{display:flex;flex-direction:column;min-width:0}.tv-attachment-name{font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tv-attachment-status{display:flex;align-items:center;gap:5px;font-size:11.5px;color:var(--tv-muted)}.tv-attachment.is-error .tv-attachment-status{color:var(--tv-error);white-space:normal}.tv-attachment-remove{flex:none;width:24px;height:24px;margin-left:auto;border:0;border-radius:50%;background:transparent;color:var(--tv-muted);font-size:18px;line-height:1;cursor:pointer}.tv-attachment-remove:hover:not(:disabled){background:var(--tv-canvas);color:var(--tv-error)}.tv-attachment-remove:disabled{opacity:.4;cursor:not-allowed}.tv-spinner-xs{width:10px;height:10px;border-width:2px}.tv-sent-attachments{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}.tv-sent-attachment{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;padding:2px 8px;border-radius:999px;background:#eef0f6;color:var(--tv-ink)}.tv-progress{display:flex;align-items:center;gap:8px;margin:12px 0 0;padding:9px 12px;border-radius:8px;background:var(--tv-orange-20);color:#7a3410;font-weight:500}.tv-history{list-style:none;margin:18px 0 0;padding:0;border-top:1px solid var(--tv-line)}.tv-history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--tv-line)}.tv-history-row>div{min-width:0}.tv-history-failed .tv-muted{color:var(--tv-error)}.tv-history-reverted{opacity:.55}.tv-spinner{width:28px;height:28px;border-radius:50%;border:3px solid var(--tv-orange-20);border-top-color:var(--tv-orange);animation:tv-spin .8s linear infinite}.tv-spinner-sm{width:14px;height:14px;border-width:2px}@keyframes tv-spin{to{transform:rotate(360deg)}}.tv-page-wide{max-width:1240px}.tv-theme-thumb-hint{position:absolute;right:10px;bottom:10px;padding:4px 10px;border-radius:999px;background:#111827bf;color:#fff;font-size:12px;font-weight:600;opacity:0;transition:opacity .15s}.tv-theme-name{display:flex;align-items:center;justify-content:space-between;gap:8px}.tv-theme-actions{display:grid;grid-template-columns:auto 1fr;gap:8px;margin-top:auto}.tv-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#0f172a8c;display:flex;align-items:stretch;justify-content:center;padding:20px}.tv-modal{width:100%;max-width:1400px;display:flex;flex-direction:column;background:var(--tv-canvas);border-radius:14px;overflow:hidden;outline:none;box-shadow:0 20px 60px #0f172a59}.tv-modal-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;background:var(--tv-surface);border-bottom:1px solid var(--tv-line);flex-wrap:wrap}.tv-modal-title{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.tv-modal-title .tv-muted{max-width:520px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0}.tv-modal-title .tv-h3{margin:0}.tv-modal-note{margin:0;padding:8px 16px;font-size:12.5px;color:var(--tv-muted);background:var(--tv-surface);border-bottom:1px solid var(--tv-line)}.tv-modal-stage{flex:1;overflow:auto;padding:20px}.tv-theme-shot{position:relative;display:block;width:100%;aspect-ratio:4 / 3;padding:0;border:0;border-bottom:1px solid var(--tv-line);overflow:hidden;cursor:zoom-in;background:var(--tv-canvas)}.tv-theme-shot img{width:100%;height:100%;object-fit:cover;object-position:top;display:block;transition:transform .3s ease}.tv-theme-shot:hover img{transform:scale(1.02)}.tv-theme-shot:hover .tv-theme-thumb-hint,.tv-theme-shot:focus-visible .tv-theme-thumb-hint{opacity:1}.tv-free{font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;background:var(--tv-success-bg);color:var(--tv-success);vertical-align:middle}.tv-theme-how{margin:0 0 14px;font-size:12px;font-weight:600;color:var(--tv-ink)}.tv-demo-frame{position:relative;margin:0 auto;height:100%;min-height:520px;background:#fff;border:1px solid var(--tv-line);border-radius:var(--tv-radius);overflow:hidden;box-shadow:0 6px 24px #0f172a14}.tv-demo-frame-mobile{box-sizing:content-box;width:390px;border:10px solid #1f2328;border-radius:28px}.tv-modal-stage{display:flex;flex-direction:column}.tv-modal-stage>.tv-demo-frame{flex:1;width:100%}.tv-modal-stage>.tv-demo-frame-mobile{width:390px}.tv-modal-center{align-items:center}.tv-dialog{width:100%;max-width:560px;background:var(--tv-surface);border-radius:14px;padding:22px;display:flex;flex-direction:column;gap:14px;outline:none;box-shadow:0 20px 60px #0f172a59}.tv-dialog-head{display:flex;gap:14px;align-items:center}.tv-dialog-head .tv-h2{margin:0}.tv-dialog-thumb{width:96px;height:72px;object-fit:cover;object-position:top;border-radius:8px;border:1px solid var(--tv-line)}.tv-store{max-width:1280px;margin:0 auto;padding:24px 24px 48px}.tv-store-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:16px}.tv-store-head .tv-h1{margin-top:6px}.tv-banner{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;margin-bottom:16px;border-radius:var(--tv-radius);background:var(--tv-orange-20);color:#7a3410}.tv-banner p{margin:0;flex:1;min-width:240px}.tv-tabs{display:flex;gap:4px;border-bottom:1px solid var(--tv-line);overflow-x:auto;margin-bottom:20px;scrollbar-width:thin}.tv-tab{padding:10px 14px;color:var(--tv-muted);text-decoration:none;font-weight:600;border-bottom:2px solid transparent;white-space:nowrap}.tv-tab:hover{color:var(--tv-ink)}.tv-tab.is-active{color:var(--tv-orange);border-bottom-color:var(--tv-orange)}.tv-tab-lock{color:var(--tv-orange)}.tv-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.tv-section-head .tv-muted{max-width:720px}.tv-split{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:20px;align-items:start}.tv-split-main{display:flex;flex-direction:column;gap:16px;min-width:0}.tv-split-main>.tv-card{margin-top:0}.tv-picker{display:flex;flex-direction:column;gap:6px}.tv-picker-list{max-height:70vh;overflow-y:auto;margin-top:8px}.tv-row-button{padding:0 0 0 12px;gap:8px}.tv-row-button.is-active{background:var(--tv-orange-20)}.tv-row-main{flex:1;display:flex;align-items:center;gap:10px;min-width:0;padding:10px 12px 10px 0;border:0;background:none;text-align:left;cursor:pointer;color:inherit;font:inherit}.tv-row-text{display:flex;flex-direction:column;min-width:0}.tv-row-text .tv-strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tv-row-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.tv-thumb{width:40px;height:40px;flex:none;border-radius:6px;object-fit:cover;background:var(--tv-canvas);border:1px solid var(--tv-line)}.tv-editor-card{display:flex;flex-direction:column;gap:14px}.tv-editor-card>.tv-btn{align-self:flex-start}.tv-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.tv-form-grid-narrow{max-width:560px;margin-bottom:16px}.tv-form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tv-stack{display:flex;flex-direction:column;gap:10px;margin:12px 0}.tv-mt{margin-top:12px}.tv-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px}.tv-code-block{white-space:pre-wrap;word-break:break-word;background:var(--tv-canvas);padding:10px;border-radius:6px;font-size:12px;max-height:240px;overflow:auto}.tv-input-sm{padding:6px 8px;min-width:80px}.tv-input.is-changed{border-color:var(--tv-orange);background:#fff8f3}.tv-check{display:inline-flex;align-items:center;gap:8px;cursor:pointer}.tv-check input,.tv-row-button>input[type=checkbox]{width:16px;height:16px;accent-color:var(--tv-orange);flex:none}.tv-loading{display:flex;align-items:center;gap:8px;color:var(--tv-muted)}.tv-empty{padding:28px 16px;text-align:center;border:1px dashed var(--tv-line);border-radius:var(--tv-radius);background:var(--tv-surface)}.tv-gate{max-width:560px;display:flex;flex-direction:column;gap:10px;align-items:flex-start}.tv-error-text{color:var(--tv-error);margin:4px 0 0}.tv-alert-info{background:#eef4ff;color:var(--tv-ink);border:1px solid #d6e2ff}.tv-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.tv-table-wrap{overflow-x:auto;border:1px solid var(--tv-line);border-radius:8px}.tv-table{width:100%;border-collapse:collapse;font-size:13px}.tv-table th{background:var(--tv-orange);color:#fff;text-align:left;font-weight:600;padding:8px 10px;white-space:nowrap}.tv-table td{padding:6px 10px;border-top:1px solid var(--tv-line);vertical-align:middle}.tv-ai{background:var(--tv-surface);border:1px solid var(--tv-line);border-radius:var(--tv-radius);padding:16px 18px;display:flex;flex-direction:column;gap:8px}.tv-ai-head{display:flex;align-items:center;gap:8px}.tv-ai-mark{color:var(--tv-orange);font-size:16px}.tv-ai-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.tv-review{border-top:1px solid var(--tv-line);margin-top:8px;padding-top:12px;display:flex;flex-direction:column;gap:12px}.tv-review-summary{margin:0;font-weight:500}.tv-changes{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.tv-change{border:1px solid var(--tv-line);border-radius:8px;padding:10px 12px}.tv-change-skipped,.tv-change-undone{opacity:.65}.tv-change-failed{border-color:#fecdca}.tv-change-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.tv-pill{font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;background:#eef0f6;color:var(--tv-ink);white-space:nowrap}.tv-pill-applied{background:var(--tv-success-bg);color:var(--tv-success)}.tv-pill-failed{background:var(--tv-error-bg);color:var(--tv-error)}.tv-diff{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tv-diff>div{min-width:0;background:var(--tv-canvas);border-radius:6px;padding:8px 10px}.tv-diff>div:last-child{background:#fff8f3}.tv-diff-label{margin:0 0 4px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--tv-muted)}.tv-diff-text{margin:0;white-space:pre-wrap;word-break:break-word;max-height:260px;overflow:auto}.tv-dl{display:grid;grid-template-columns:max-content 1fr;gap:4px 14px;margin:0}.tv-dl dt{color:var(--tv-muted)}.tv-dl dd{margin:0}.tv-review-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tv-menu-tree{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.tv-menu-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(140px,1.4fr) 90px repeat(4,auto);gap:6px;align-items:center}.tv-menu-tree .tv-menu-tree{margin-top:6px}.tv-menu-type{text-transform:capitalize;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tv-icon-btn{width:30px;height:30px;border:1px solid var(--tv-line);border-radius:6px;background:#fff;cursor:pointer;color:var(--tv-text)}.tv-icon-btn:hover:not(:disabled){border-color:var(--tv-orange);color:var(--tv-orange)}.tv-icon-btn:disabled{opacity:.4;cursor:not-allowed}.tv-translate-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:10px 0;border-top:1px solid var(--tv-line)}.tv-translate-row:first-child{border-top:0}.tv-steps{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:12px;line-height:1.55}.tv-copy{display:flex;flex-direction:column;gap:4px}.tv-copy-value{flex:1;min-width:0;padding:8px 10px;border:1px solid var(--tv-line);border-radius:8px;background:var(--tv-canvas);font-size:12.5px;overflow-x:auto;white-space:nowrap}@media (max-width: 900px){.tv-split,.tv-diff,.tv-translate-row{grid-template-columns:1fr}.tv-menu-row{grid-template-columns:1fr 1fr}}@media (max-width: 720px){.tv-modal-backdrop{padding:0}.tv-modal{border-radius:0}.tv-modal-stage{padding:12px}.tv-input-group,.tv-inline-form{flex-direction:column}.tv-store{padding:16px 14px 40px}.tv-editor-bar{padding:10px 14px}.tv-device{height:55vh}}@media (prefers-reduced-motion: reduce){.tv-spinner{animation-duration:2.4s}.tv-device{transition:none}}.tv-rte-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.tv-segmented-sm button{padding:4px 12px;font-size:12.5px}.tv-rte-box{border:1px solid var(--tv-line);border-radius:8px;background:#fff;overflow:hidden}.tv-rte-box:focus-within{border-color:var(--tv-orange);box-shadow:0 0 0 3px var(--tv-orange-20)}.tv-rte-box.is-disabled{background:var(--tv-canvas)}.tv-rte-toolbar-wrap{border-bottom:1px solid var(--tv-line);background:#fafafb}.tv-rte-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:6px}.tv-rte-btn{display:inline-grid;place-items:center;min-width:30px;height:30px;padding:0 6px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--tv-text);font-size:14px;cursor:pointer}.tv-rte-btn:hover:not(:disabled){background:#fff;border-color:var(--tv-line)}.tv-rte-btn.is-active{background:var(--tv-orange-20);color:var(--tv-orange);border-color:transparent}.tv-rte-btn:disabled{opacity:.35;cursor:not-allowed}.tv-rte-select{height:30px;padding:0 8px;border:1px solid var(--tv-line);border-radius:6px;background:#fff;color:var(--tv-text);font:inherit;font-size:13px}.tv-rte-sep{width:1px;height:20px;margin:0 4px;background:var(--tv-line)}.tv-rte-panel{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;padding:10px;border-top:1px solid var(--tv-line);background:#fff}.tv-rte-panel-field{display:flex;flex-direction:column;gap:4px;flex:1 1 240px}.tv-rte-panel-actions{display:flex;gap:6px;padding-bottom:20px}.tv-rte-panel-error{flex-basis:100%;margin:0;font-size:12.5px;color:var(--tv-error)}.tv-rte-content{display:flex;flex-direction:column;cursor:text;max-height:70vh;overflow-y:auto}.tv-rte-content .ProseMirror{flex:1;padding:12px 14px;outline:none;line-height:1.6;overflow-wrap:anywhere}.tv-rte-content .ProseMirror>*+*{margin-top:.7em}.tv-rte-content .ProseMirror p{margin:0}.tv-rte-content .ProseMirror h1,.tv-rte-content .ProseMirror h2,.tv-rte-content .ProseMirror h3,.tv-rte-content .ProseMirror h4,.tv-rte-content .ProseMirror h5,.tv-rte-content .ProseMirror h6{margin:.9em 0 .3em;line-height:1.3;color:var(--tv-ink)}.tv-rte-content .ProseMirror h1{font-size:1.6em}.tv-rte-content .ProseMirror h2{font-size:1.35em}.tv-rte-content .ProseMirror h3{font-size:1.15em}.tv-rte-content .ProseMirror h4{font-size:1em}.tv-rte-content .ProseMirror ul,.tv-rte-content .ProseMirror ol{margin:0;padding-left:1.5em}.tv-rte-content .ProseMirror blockquote{margin:0;padding-left:12px;border-left:3px solid var(--tv-line);color:var(--tv-muted)}.tv-rte-content .ProseMirror a{color:var(--tv-orange);text-decoration:underline}.tv-rte-content .ProseMirror img{max-width:100%;height:auto;border-radius:4px}.tv-rte-content .ProseMirror img.ProseMirror-selectednode{outline:2px solid var(--tv-orange)}.tv-rte-content .ProseMirror hr{border:0;border-top:1px solid var(--tv-line);margin:1em 0}.tv-rte-content .ProseMirror table{border-collapse:collapse;width:100%}.tv-rte-content .ProseMirror th,.tv-rte-content .ProseMirror td{border:1px solid var(--tv-line);padding:6px 8px;vertical-align:top}.tv-rte-content .ProseMirror th{background:#fafafb;text-align:left}.tv-rte-content .ProseMirror code{background:#f3f4f6;padding:1px 4px;border-radius:4px;font-size:.9em}.tv-rte-content .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:#9ca3af;float:left;height:0;pointer-events:none}.tv-rte-note{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:8px 10px;border-radius:8px;background:#eef0f6;color:var(--tv-ink);font-size:12.5px}.tv-rte-note.is-warning{background:#fff7ed;color:#7a3410;border:1px solid #fed7aa}.tv-rte-note-actions{display:flex;gap:6px}.tv-char-counter.is-over{color:var(--tv-error);font-weight:600}.tv-product-images{display:flex;flex-direction:column;gap:10px}.tv-product-images-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}.tv-product-images-head .tv-h3{margin:0}.tv-image-grid{list-style:none;margin:0;padding:6px;display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;border:1px dashed transparent;border-radius:var(--tv-radius);transition:border-color .15s,background .15s}.tv-image-grid.is-dragging{border-color:var(--tv-orange);background:var(--tv-orange-20)}.tv-image-tile{display:flex;flex-direction:column;gap:6px;min-width:0}.tv-image-frame{position:relative;aspect-ratio:1;border:1px solid var(--tv-line);border-radius:8px;overflow:hidden;background:var(--tv-canvas);display:grid;place-items:center}.tv-image-tile.is-main .tv-image-frame{border-color:var(--tv-orange);box-shadow:0 0 0 1px var(--tv-orange)}.tv-image-tile.is-failed .tv-image-frame{border-color:#fecdca;background:var(--tv-error-bg)}.tv-image-frame img{width:100%;height:100%;object-fit:contain;background:#fff}.tv-image-state{display:flex;align-items:center;gap:6px;padding:10px;font-size:12px;color:var(--tv-muted);text-align:center}.tv-image-tile.is-failed .tv-image-state{color:var(--tv-error)}.tv-image-badge{position:absolute;left:6px;top:6px;padding:2px 8px;border-radius:999px;background:var(--tv-orange);color:#fff;font-size:11px;font-weight:700}.tv-image-actions{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:30px}.tv-image-actions.is-confirm{flex-wrap:wrap;justify-content:flex-start}.tv-image-add{aspect-ratio:1;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px dashed #c7cbd4;border-radius:8px;background:#fff;color:var(--tv-text);cursor:pointer;font:inherit;text-align:center;padding:8px}.tv-image-add:hover:not(:disabled){border-color:var(--tv-orange);color:var(--tv-orange)}.tv-image-add:disabled{cursor:progress;opacity:.8}.tv-image-add-plus{font-size:26px;line-height:1;color:var(--tv-orange)}.tv-image-add .tv-help{margin:0}.tv-btn-danger{background:var(--tv-error);border-color:var(--tv-error);color:#fff}.tv-btn-danger:hover:not(:disabled){background:#912018;border-color:#912018;color:#fff}.tv-rte-loading{display:grid;place-items:center;color:var(--tv-muted);font-size:13px}
