:root{--bg: #f5f7fa;--panel: #ffffff;--canvas-bg: #2b2b2b;--border: #e5e7eb;--border-strong: #d9dde3;--text: #1f2937;--text-secondary: #6b7280;--text-tertiary: #9ca3af;--muted: #6b7280;--accent: #2f7d63;--accent-soft: #eaf3ef;--accent-hover: #266b54;--danger: #e0483f;--danger-soft: #fdecea;--status-done: #2f9e5c;--status-processing: #2f6fed;--status-waiting: #9aa1ab;--status-failed: #e0483f;--editor-bg: #1f2329;--editor-panel: #2a2f36;--editor-border: #3a4048;--editor-text: #e5e7eb;--editor-text-muted: #9aa1ab;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-6: 24px;--space-8: 32px;--radius: 4px;font-family:Segoe UI,Microsoft YaHei UI,PingFang SC,Source Han Sans SC,Noto Sans SC,Arial,sans-serif;font-size:14px;color:var(--text);background:var(--bg)}*{box-sizing:border-box}html,body,#root{margin:0;height:100%}.app-shell{min-height:100%}.app-sider{border-right:1px solid #141414}.brand{height:64px;display:flex;flex-direction:column;justify-content:center;padding:0 20px;color:#f5f5f5;border-bottom:1px solid rgba(255,255,255,.08)}.brand-title{font-weight:600;letter-spacing:.01em;font-size:16px}.brand-subtitle{font-size:11px;color:#ffffff6b;letter-spacing:.02em;margin-top:2px}.app-nav-menu .ant-menu-item{height:40px;line-height:40px;margin:2px 8px;display:flex;align-items:center}.app-nav-menu .ant-menu-item .anticon{font-size:15px}.nav-item-soon{display:inline-flex;align-items:center;gap:6px;opacity:.55}.nav-soon-tag{font-size:10px;line-height:16px;padding:0 5px;margin:0;border-radius:2px;background:#ffffff1f;border:none;color:#ffffffa6}.app-header{background:var(--panel);border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 24px;height:56px}.header-jobs-link{color:var(--muted);font-size:13px}.header-jobs-link:hover{color:var(--accent)}.app-content{padding:8px 20px 16px;min-height:calc(100vh - 56px)}.brand-workspace-tag{display:inline-block;margin-top:6px;padding:1px 8px;border-radius:999px;font-size:11px;line-height:18px;color:#ffffffbf;background:#ffffff1a}.app-header-user{display:flex;align-items:center;gap:16px;color:var(--muted);font-size:13px}.stat-grid{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:12px;margin-bottom:20px}.stat-card{background:var(--panel);border:1px solid var(--border);padding:16px 18px}.stat-card .label{color:var(--muted);font-size:13px}.stat-card .value{font-size:28px;font-weight:600;margin-top:6px}.panel{background:var(--panel);border:1px solid var(--border);padding:16px;margin-bottom:16px}.panel-title{font-weight:600;margin-bottom:12px}.editor-page{display:grid;grid-template-columns:180px 1fr 320px;gap:12px;height:calc(100vh - 96px);min-height:640px}.editor-side,.editor-right{background:var(--panel);border:1px solid var(--border);overflow:auto;padding:10px}.editor-canvas-wrap{background:var(--canvas-bg);border:1px solid #1a1a1a;position:relative;overflow:hidden;display:flex;flex-direction:column}.editor-toolbar{display:flex;gap:8px;align-items:center;padding:8px 10px;background:#1f1f1f;color:#ddd;flex-wrap:wrap}.thumb-list{display:flex;flex-direction:column;gap:8px}.thumb-item{border:2px solid transparent;cursor:pointer;background:#fafafa;padding:4px}.thumb-item.active{border-color:var(--accent)}.thumb-item img{width:100%;display:block;aspect-ratio:1;object-fit:cover}.checkerboard{background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.mask-canvas-host{flex:1;position:relative;overflow:hidden;cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.brush-cursor{position:absolute;pointer-events:none;border-radius:50%;transform:translate(-50%,-50%);border:1.5px solid;box-shadow:0 0 0 1px #fffffff2,0 0 0 2.5px #00000080;z-index:5}.brush-cursor-dot{position:absolute;left:50%;top:50%;width:3px;height:3px;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #ffffffe6}.brush-cursor-add{border-color:#34c98f;background:#34c98f1f}.brush-cursor-add .brush-cursor-dot{background:#34c98f}.brush-cursor-subtract{border-color:#ff6a55;background:#ff6a551f}.brush-cursor-subtract .brush-cursor-dot{background:#ff6a55}.point-cursor{position:absolute;pointer-events:none;width:30px;height:30px;transform:translate(-50%,-50%);z-index:5;display:flex;align-items:center;justify-content:center}.point-cursor-ring{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;border:2px dashed;box-shadow:0 0 0 1px #fffffff2,0 0 0 2.5px #00000073}.point-cursor-dot{position:absolute;width:6px;height:6px;border-radius:50%;box-shadow:0 0 0 1.5px #fffffff2}.point-cursor-add .point-cursor-ring{border-color:#34c98f}.point-cursor-add .point-cursor-dot{background:#34c98f}.point-cursor-subtract .point-cursor-ring{border-color:#ff6a55}.point-cursor-subtract .point-cursor-dot{background:#ff6a55}.editor-debug-readout{position:absolute;left:8px;top:8px;z-index:6;pointer-events:none;background:#000000b8;color:#7cfc9a;font-family:Consolas,Courier New,monospace;font-size:11px;line-height:1.5;padding:6px 8px;border-radius:4px;white-space:nowrap}.mask-canvas-host canvas{position:absolute;left:0;top:0;transform-origin:0 0;-webkit-user-drag:none;pointer-events:none}.home-hero{text-align:center;padding:28px 0 20px}.home-title{font-size:34px;font-weight:700;letter-spacing:.02em;color:var(--text)}.home-subtitle{font-size:14px;color:var(--muted);margin-top:4px;letter-spacing:.04em}.entry-grid{display:grid;grid-template-columns:repeat(3,minmax(200px,1fr));gap:16px;max-width:920px;margin:0 auto 24px}.entry-card{text-align:center;padding:8px 0;cursor:pointer;transition:border-color .15s ease}.entry-card:hover{border-color:var(--accent)}.entry-card-secondary{opacity:.85}.entry-icon{font-size:28px;color:var(--accent);margin-bottom:8px}.entry-label{font-size:15px;font-weight:600}.entry-desc{font-size:12px;color:var(--muted);margin-top:4px}.scan-banner{margin-bottom:16px}.selection-bar{margin-bottom:12px}.queue-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.queue-card{background:var(--panel);border:1px solid var(--border);position:relative;padding:8px}.queue-card-selected{border-color:var(--accent)}.queue-card-select{position:absolute;top:8px;left:8px;z-index:2;background:#ffffffd9;border-radius:2px;padding:2px}.queue-single img{width:100%;aspect-ratio:1;object-fit:cover;display:block;background:#f5f5f5}.queue-triptych{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}.queue-triptych img{width:100%;aspect-ratio:1;object-fit:contain;background:#fff;display:block}.queue-triptych img:first-child{background:#f0f0f0;object-fit:cover}.queue-card-body{padding-top:8px}.queue-card-title{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.queue-card-meta{margin-top:4px}.queue-card-error{font-size:11px;color:#ff4d4f;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-picker-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:120px;padding:24px 16px;border:1px dashed var(--border);background:#fafafa;cursor:pointer;color:var(--muted);font:inherit;text-align:center;transition:border-color .15s ease,background .15s ease}.folder-picker-zone:hover:not(:disabled){border-color:var(--accent);background:#f5faf8}.folder-picker-zone:disabled{cursor:wait;opacity:.85}.library-bar{display:flex;justify-content:space-between;align-items:center;background:var(--panel);border:1px solid var(--border);padding:8px 14px;margin-bottom:12px}.toolbar-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:12px}.editor-shell{display:flex;flex-direction:column;height:calc(100vh - 96px);min-height:640px;gap:8px}.editor-topbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;background:var(--panel);border:1px solid var(--border);padding:8px 14px}.editor-filename{font-size:13px;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}.editor-status-banner{background:#142b26;color:#d7f5ea;padding:6px 14px;font-size:13px;display:flex;align-items:center;gap:8px}.editor-status-progress{margin-left:8px;color:#8fd6bb}.editor-status-error{background:#2b1414;color:#f5d7d7}.editor-toolstrip{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;background:#1f1f1f;color:#ddd;padding:8px 12px}.toolstrip-label{font-size:12px;color:#aaa;margin-right:-4px}.editor-bottombar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;background:#1f1f1f;color:#bbb;font-size:12px;padding:6px 14px}.dual-pane{flex:1;display:flex;min-height:0;background:var(--canvas-bg);border:1px solid #1a1a1a}.dual-pane-half{flex:1 1 50%;display:flex;flex-direction:column;min-width:0;position:relative}.dual-pane-divider{width:1px;background:#444}.dual-pane-label{font-size:11px;color:#999;text-align:center;padding:4px 0;background:#181818;border-bottom:1px solid #2a2a2a}@media (max-width: 1200px){.stat-grid{grid-template-columns:repeat(3,1fr)}.editor-page{grid-template-columns:140px 1fr 280px}}.pipeline-page{display:flex;flex-direction:column;gap:8px}.pipeline-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:var(--space-4);background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);padding:8px 14px}.apt-bar{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);padding:8px 12px}.apt-bar-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}.apt-bar-label{color:var(--muted);font-size:13px;flex-shrink:0}.apt-chip-list{display:flex;flex-wrap:wrap;gap:6px;flex:1;min-width:0}.apt-chip{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--border);background:#fafafa;border-radius:999px;padding:4px 12px;font-size:13px;cursor:pointer;color:var(--text);transition:border-color .12s ease,background .12s ease}.apt-chip:hover{border-color:#bfbfbf;background:#fff}.apt-chip-active{border-color:#1677ff;background:#e6f4ff;color:#0958d9}.apt-chip-editing{box-shadow:inset 0 0 0 1px #1677ff}.apt-chip-new{border-style:dashed;color:var(--muted)}.apt-chip-check{font-size:11px}.apt-chip-tag{font-size:11px;color:var(--muted);background:#0000000a;border-radius:4px;padding:0 4px}.apt-bar-current{font-size:12px;color:var(--muted);flex-shrink:0}.apt-drawer{margin-top:10px;border-top:1px solid var(--border);padding-top:10px;animation:apt-drawer-in .18s ease}@keyframes apt-drawer-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}.apt-drawer-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px}.apt-drawer-title{display:flex;align-items:center;gap:8px;min-width:0}.apt-name-input{font-size:16px;font-weight:600;padding:0}.apt-desc{margin-bottom:10px}.apt-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}@media (max-width: 1100px){.apt-stages{grid-template-columns:repeat(2,minmax(0,1fr))}}.apt-stage{border:1px solid var(--border);border-radius:8px;padding:10px;background:#fcfcfc;display:flex;flex-direction:column;gap:8px;min-height:180px}.apt-stage h4{margin:0;font-size:13px;font-weight:600}.apt-hint{margin:0;font-size:12px;color:var(--muted)}.apt-field{display:flex;flex-direction:column;gap:2px;font-size:12px;color:var(--muted)}.apt-preview-img{width:100%;max-height:140px;object-fit:contain;background:#fff;border:1px solid var(--border);border-radius:4px}.apt-create-form{display:flex;flex-direction:column;gap:12px}.apt-testimg-row{display:flex;align-items:center;gap:14px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px dashed var(--border)}.apt-flow-row{overflow-x:auto;padding-bottom:4px}.apt-flow-row .four-stage-flow-header{height:28px;font-weight:600;font-size:12px;color:var(--muted);min-width:844px}.apt-flow-row .four-stage-flow-row{min-width:844px}.apt-flow-status-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:12px;padding-top:12px;border-top:1px solid var(--border);font-size:12px;color:var(--muted)}.apt-flow-status-item{display:inline-flex;align-items:center;gap:4px}.apt-flow-footer{display:flex;align-items:center;gap:8px;margin-left:auto}.apt-stage-error-msg{color:#ff4d4f;font-size:12px;margin-top:8px}.tplcut-shell{display:flex;flex-direction:column;max-height:82vh}.tplcut-body{display:flex;gap:16px;padding:16px;overflow-y:auto;flex:1}.tplcut-preview{position:relative;flex:1.2;min-height:360px;border:1px solid var(--border);border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden}.tplcut-preview img{max-width:100%;max-height:100%;object-fit:contain}.tplcut-preview-empty{color:var(--muted);font-size:13px}.tplcut-preview-busy{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#fff9;color:var(--accent);font-size:12px}.tplcut-form{flex:1;display:flex;flex-direction:column;gap:14px;min-width:260px}.tplcut-hint{margin:0;font-size:12px;color:var(--muted);line-height:1.6}.tplcut-error{font-size:12px;color:#ff4d4f;background:#fff1f0;border:1px solid #ffccc7;border-radius:4px;padding:6px 8px}.tplcut-slider-field{display:flex;flex-direction:column;gap:2px}.tplcut-slider-head{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.tplcut-switch-row{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--text)}.tplcut-secondary-actions{display:flex;align-items:center;gap:8px;padding:10px 16px;border-top:1px solid var(--border)}.chain-template-tag{display:inline-block;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#595959;background:#f5f5f5;border-radius:4px;padding:1px 6px;margin-bottom:4px}.toolbar-section{display:flex;align-items:center;gap:var(--space-2)}.toolbar-section-left{min-width:200px}.toolbar-section-center{flex:1;justify-content:flex-start}.toolbar-section-right{justify-content:flex-end}.page-heading{display:flex;flex-direction:column;gap:2px}.page-title{font-size:20px;font-weight:600;color:var(--text);line-height:1.2}.page-subtitle{font-size:12px;color:var(--text-tertiary)}.summary-text{font-size:12px;color:var(--text-secondary);white-space:nowrap}.status-tab-row{display:flex;align-items:center;gap:2px;background:transparent;padding:0 2px;width:fit-content}.status-tab{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:transparent;color:var(--text-secondary);font-size:13px;line-height:1;padding:6px 14px;border-radius:3px;cursor:pointer;transition:background .12s ease,color .12s ease}.status-tab:hover{background:var(--bg);color:var(--text)}.status-tab.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.pipeline-brand{font-weight:700;font-size:15px;color:var(--accent);margin-right:6px}.pipeline-body{display:flex;gap:12px;align-items:flex-start}.pipeline-sidebar{width:240px;flex-shrink:0;background:var(--panel);border:1px solid var(--border);padding:6px}.sidebar-item{height:32px;padding:0 10px;font-size:13px;cursor:pointer;display:flex;align-items:center;gap:6px;border-radius:var(--radius);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text-secondary)}.sidebar-item:hover{background:var(--bg);color:var(--text)}.sidebar-item-active{background:var(--accent-soft);color:var(--accent);font-weight:600}.sidebar-count{margin-left:auto;color:var(--muted);font-size:12px}.pipeline-main{flex:1;min-width:0;overflow-x:auto}:root{--grid-select: 36px;--grid-asset: minmax(148px, 1fr);--grid-link: 84px;--grid-actions: 150px}.pipeline-header-row,.chain-row{display:grid;grid-template-columns:var(--grid-select) minmax(0,1fr) var(--grid-actions);min-width:1040px}.pipeline-header-row{align-items:center;background:var(--panel);border:1px solid var(--border);border-bottom:2px solid var(--border);height:52px;padding:0 6px;font-weight:600;font-size:12px;color:var(--muted);position:sticky;top:0;z-index:1}.pipeline-header-select,.pipeline-header-actions{display:flex;align-items:center;justify-content:center;text-align:center;min-width:0}.four-stage-flow-header,.four-stage-flow-row{display:grid;grid-template-columns:var(--grid-asset) var(--grid-link) var(--grid-asset) var(--grid-link) var(--grid-asset) var(--grid-link) var(--grid-asset);min-width:0}.four-stage-flow-header-cell,.four-stage-flow-header-arrow{display:flex;align-items:center;justify-content:center;text-align:center;min-width:0}.chain-group-block{border-left:3px solid var(--accent);margin:12px 0;background:var(--panel);border-top:1px solid var(--border);border-right:1px solid var(--border);border-bottom:1px solid var(--border);border-radius:0 var(--radius) var(--radius) 0}.group-header{display:flex;align-items:center;gap:8px;height:40px;padding:0 var(--space-3);background:var(--accent-soft);border-bottom:1px solid var(--border);font-size:13px}.group-header strong{font-size:13px;font-weight:600;color:var(--text)}.group-collapse-btn{cursor:pointer;color:var(--muted);display:inline-flex}.group-stats{color:var(--muted);font-size:12px;margin-left:4px}.group-actions{margin-left:auto}.chain-row{align-items:stretch;background:var(--panel);border-bottom:1px solid var(--border);padding:16px 6px;transition:background .1s ease}.chain-row:hover{background:#fbfcfd}.chain-group-block .chain-row{border-bottom:1px solid #f0f0f0}.chain-group-block .chain-row:last-child{border-bottom:none}.chain-row-selected{background:#f5faf8}.chain-cell{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:0 6px;text-align:center}.chain-cell-select{align-items:center;justify-content:center}.chain-thumb{position:relative;width:112px;height:112px;display:flex;align-items:center;justify-content:center;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;flex-shrink:0}.chain-thumb img{max-width:100%;max-height:100%;object-fit:contain}.chain-thumb .ant-image{display:contents}.stageflow-preview-checker{background-color:#fff;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}.chain-thumb.checkerboard,.stageflow-checker{background-color:#fff;background-image:linear-gradient(45deg,#d9d9d9 25%,transparent 25%),linear-gradient(-45deg,#d9d9d9 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d9d9d9 75%),linear-gradient(-45deg,transparent 75%,#d9d9d9 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.chain-thumb-busy-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#ffffff8c;color:var(--accent)}.chain-thumb-placeholder{color:var(--text-tertiary);font-size:11px}.four-stage-upload-empty{width:100%;height:100%;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:var(--accent);font-size:12px;font-weight:500;cursor:pointer}.four-stage-upload-empty:hover{background:#00000008}.four-stage-waiting{color:var(--text-tertiary);font-size:11px}.chain-thumb-skeleton{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--text-tertiary);background:linear-gradient(90deg,var(--bg) 25%,#ffffff 37%,var(--bg) 63%);background-size:400% 100%;animation:shimmer 1.6s ease infinite}@keyframes shimmer{0%{background-position:100% 50%}to{background-position:0 50%}}.chain-thumb-actions{position:absolute;top:4px;right:4px;display:flex;gap:3px;opacity:0;transition:opacity .12s ease}.chain-thumb:hover .chain-thumb-actions{opacity:1}.thumb-icon-btn{width:22px;height:22px;display:flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:3px;background:#ffffffeb;color:var(--text-secondary);cursor:pointer;font-size:12px;padding:0}.thumb-icon-btn:hover{color:var(--accent);border-color:var(--accent)}.thumb-icon-btn-danger:hover{color:var(--danger);border-color:var(--danger)}.chain-cell-subtitle{font-size:13px;font-weight:500;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;color:var(--text)}.chain-cell-meta-row{display:flex;align-items:center;gap:6px;min-height:20px}.chain-cell-meta{font-size:12px;color:var(--text-tertiary)}.chain-status-tag{font-size:12px;line-height:16px;padding:0 6px;margin:0;border-radius:2px}.chain-cell-error{font-size:11px;color:#ff4d4f;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:help}.chain-arrow{display:flex;align-items:center;justify-content:center;position:relative}.chain-arrow-line{position:absolute;left:8px;right:8px;top:50%;height:1px;background:#d7dde5;z-index:0}.edit-node{position:relative;z-index:1;width:36px;height:36px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid var(--border-strong);background:var(--panel);color:var(--text-secondary);font-size:16px;cursor:pointer;padding:0;transition:color .12s ease,border-color .12s ease,background .12s ease}.edit-node:hover:not(:disabled){color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.edit-node:disabled{color:var(--text-tertiary);cursor:not-allowed;opacity:.55}.chain-actions-cell{align-items:center;justify-content:center;gap:8px}.action-primary-btn{width:122px}.action-icon-row{display:flex;justify-content:center;gap:6px}.action-icon-row .ant-btn{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0}.action-icon-row .ant-btn-dangerous,.action-icon-row .ant-btn[class*=danger]{border-color:#f3c7c3}.action-icon-row .ant-btn:hover[class*=danger]{border-color:var(--danger);color:var(--danger)}.import-plan-panel{margin-top:12px;padding:10px 12px;background:#fafafa;border:1px solid var(--border);font-size:13px;display:flex;flex-direction:column;gap:6px}.folder-picker-zone-dragover{border-color:var(--accent);background:#f5faf8}.upload-item-list{margin-top:14px;max-height:320px;overflow-y:auto;display:flex;flex-direction:column;gap:6px}.upload-item-row{display:flex;align-items:center;gap:12px;padding:6px 10px;border:1px solid var(--border);background:#fafafa;font-size:13px}.upload-item-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-item-progress{flex:0 0 auto;display:flex;align-items:center;min-width:140px;justify-content:flex-end}.upload-item-progress .ant-progress{min-width:120px}.editor-shell-v2{display:flex;flex-direction:column;height:100%;min-height:0;background:var(--editor-bg);color:var(--editor-text)}.editor-header-v2{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);height:56px;flex-shrink:0;padding:0 var(--space-4);background:var(--editor-panel);border-bottom:1px solid var(--editor-border)}.editor-header-section{display:flex;align-items:center;gap:8px;min-width:0}.editor-header-left{flex:1}.editor-header-center,.editor-header-right{flex-shrink:0}.editor-filename-v2{font-size:13px;font-weight:500;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--editor-text)}.editor-header-tag{margin:0}.editor-body-v2{flex:1;min-height:0;display:flex}.editor-toolbar-v2{width:68px;flex-shrink:0;background:var(--editor-panel);border-right:1px solid var(--editor-border);display:flex;flex-direction:column;align-items:center;padding:10px 0;gap:10px;overflow-y:auto}.editor-tool-group{display:flex;flex-direction:column;align-items:center;gap:6px;padding-bottom:10px;border-bottom:2px solid var(--editor-border);width:100%}.editor-tool-group:last-child{border-bottom:none;padding-bottom:0}.editor-tool-group-title{font-size:10px;line-height:1.2;color:var(--editor-text-muted);text-align:center;white-space:nowrap;letter-spacing:-.02em}.editor-tool-group-items{display:flex;flex-direction:column;align-items:center;gap:6px}.editor-tool-btn{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:var(--radius);background:transparent;color:var(--editor-text-muted);font-size:17px;cursor:pointer;transition:background .12s ease,color .12s ease}.editor-tool-btn:hover{background:#ffffff0f;color:var(--editor-text)}.editor-tool-btn.active{background:var(--accent);color:#fff}.editor-tool-btn.active.danger-tone{background:var(--danger)}.editor-canvas-v2{flex:1;min-width:0;position:relative;display:flex;background:var(--editor-panel)}.editor-canvas-v2 .dual-pane{border:none;background:transparent}.editor-current-tool-banner{position:absolute;top:10px;left:12px;z-index:6;display:flex;align-items:center;gap:8px;max-width:calc(50% - 24px);padding:6px 12px;border-radius:999px;background:#14181cb8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#f2f4f2;font-size:12px;pointer-events:none;box-shadow:0 1px 4px #00000040}.editor-current-tool-icon{font-size:14px;flex-shrink:0;display:flex}.editor-current-tool-name{font-weight:600;flex-shrink:0;white-space:nowrap}.editor-current-tool-hint{color:#f2f4f2bf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.editor-drag-hint{position:absolute;top:54px;left:12px;z-index:7;display:flex;align-items:center;gap:10px;max-width:min(560px,calc(100% - 24px));padding:10px 12px;border-radius:8px;background:#2a2f22;border:1px solid #55603a;color:#f2f4f2;font-size:12.5px;line-height:1.5;box-shadow:0 4px 16px #00000059}.editor-drag-hint-close{border:none;background:transparent;color:#f2f4f299;cursor:pointer;padding:2px;flex-shrink:0}.editor-drag-hint-close:hover{color:#f2f4f2}.canvas-busy-right,.canvas-busy-left{position:absolute;top:32px;bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:13px;color:var(--editor-text);background:#1f23298c;pointer-events:none}.canvas-busy-right{left:50%;right:0}.canvas-busy-left{left:0;right:50%}.editor-properties-v2{width:248px;flex-shrink:0;background:var(--editor-panel);border-left:1px solid var(--editor-border);padding:var(--space-3) var(--space-3);overflow-y:auto;display:flex;flex-direction:column;gap:var(--space-4)}.prop-section{display:flex;flex-direction:column;gap:8px}.prop-section-title{font-size:12px;font-weight:600;color:var(--editor-text-muted);text-transform:uppercase;letter-spacing:.03em;display:flex;align-items:center;justify-content:space-between;gap:8px}.prop-tool-badge{font-size:11px;font-weight:600;text-transform:none;letter-spacing:normal;padding:2px 8px;border-radius:999px;white-space:nowrap}.prop-tool-badge.tone-add{color:#34c98f;background:#34c98f24}.prop-tool-badge.tone-subtract{color:#ff6a55;background:#ff6a5524}.prop-row-head{display:flex;align-items:center;justify-content:space-between}.prop-row{display:flex;flex-direction:column;gap:4px}.prop-row-between{flex-direction:row;align-items:center;justify-content:space-between}.prop-label{font-size:12px;color:var(--editor-text-muted)}.prop-value{font-size:12px;color:var(--editor-text);font-weight:500}.prop-view-buttons{display:flex;gap:6px}.prop-view-buttons .ant-btn{flex:1}.editor-footer-v2{height:32px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:0 var(--space-3);background:var(--editor-panel);border-top:1px solid var(--editor-border);font-size:12px;color:var(--editor-text-muted)}.footer-section{display:flex;align-items:center;gap:8px}.footer-sep{width:1px;height:12px;background:var(--editor-border)}.footer-center{flex:1;justify-content:center}.footer-status{display:inline-flex;align-items:center;gap:6px}.footer-status-dirty{color:#f0b429}.footer-status-ok{color:#6fd39a}.editor-status-banner{flex-shrink:0}.bgedit-shell{display:flex;flex-direction:column;height:100%;min-height:0;background:#fff}.edhdr-header{display:flex;align-items:center;gap:12px;height:52px;flex-shrink:0;padding:0 var(--space-4);background:#fff;border-bottom:1px solid #ececec}.edhdr-title{font-size:13px;font-weight:600;color:#1f2329;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.edhdr-dirty-tag{font-size:12px;color:#d48806;background:#fff7e6;border:1px solid #ffe7ba;border-radius:999px;padding:2px 10px;flex-shrink:0}.edhdr-saved-tag{font-size:12px;color:#389e0d;background:#f6ffed;border:1px solid #b7eb8f;border-radius:999px;padding:2px 10px;flex-shrink:0}.edhdr-error-tag{font-size:12px;color:#cf1322;background:#fff1f0;border:1px solid #ffa39e;border-radius:999px;padding:2px 10px;flex-shrink:1;min-width:0;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.edhdr-spacer{flex:1;min-width:8px}.edhdr-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.edhdr-btn{border-radius:8px!important}.edhdr-save-btn{min-width:84px}.edhdr-sync-template-check{font-size:12px;color:#595959;white-space:nowrap}.bgedit-round-btn{border-radius:8px!important}.bgedit-body{flex:1;min-height:0;display:flex}.bgedit-panel{width:320px;flex-shrink:0;background:#fafafa;border-right:1px solid #ececec;padding:var(--space-4) var(--space-4);overflow-y:auto;display:flex;flex-direction:column;gap:22px}.bgedit-group{display:flex;flex-direction:column;gap:10px;padding-bottom:18px;border-bottom:1px dashed #dcdcdc}.bgedit-group:last-child{border-bottom:none;padding-bottom:0}.bgedit-group-title{font-size:12px;font-weight:700;letter-spacing:.04em;color:#8c8c8c;text-transform:uppercase}.bgedit-field-label{font-size:12px;color:#595959;font-weight:500}.bgedit-hint{font-size:12px;color:#9a9a9a;line-height:1.5}.bgedit-ratio-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.bgedit-chip{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:8px;border:1px solid #e2e2e2;background:#fff;color:#444;font-size:12px;cursor:pointer;transition:border-color .12s ease,background .12s ease,color .12s ease}.bgedit-chip:hover{border-color:var(--accent)}.bgedit-chip.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent);font-weight:600}.bgedit-ratio-swatch{flex-shrink:0;display:inline-block;width:20px;height:20px;border:1.5px solid currentColor;border-radius:3px;opacity:.75}.bgedit-ratio-swatch-1-1{aspect-ratio:1 / 1;width:16px;height:16px}.bgedit-ratio-swatch-4-3{aspect-ratio:4 / 3;width:20px;height:15px}.bgedit-ratio-swatch-3-4{aspect-ratio:3 / 4;width:15px;height:20px}.bgedit-ratio-swatch-16-9{aspect-ratio:16 / 9;width:22px;height:12.4px}.bgedit-ratio-swatch-9-16{aspect-ratio:9 / 16;width:12.4px;height:22px}.bgedit-ratio-swatch-a4p{aspect-ratio:210 / 297;width:14px;height:20px}.bgedit-ratio-swatch-a4l{aspect-ratio:297 / 210;width:20px;height:14px}.bgedit-swatch-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.bgedit-swatch{width:28px;height:28px;border-radius:8px;border:1.5px solid #e2e2e2;cursor:pointer;padding:0;box-shadow:inset 0 0 0 1px #0000000a;transition:transform .1s ease,box-shadow .12s ease}.bgedit-swatch:hover{transform:translateY(-1px)}.bgedit-swatch.active{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--accent)}.bgedit-swatch-custom{background:linear-gradient(135deg,#ff5f6d,#ffc371 33%,#47cf73 66%,#4a9eff);position:relative}.bgedit-slider-row{display:flex;flex-direction:column;gap:4px}.bgedit-slider-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#595959}.bgedit-gradients-head{display:flex;align-items:center;justify-content:space-between}.bgedit-solid-shortcut-btn{border:1px solid var(--border);background:#fff;border-radius:999px;padding:1px 10px;font-size:11px;color:#595959;cursor:pointer}.bgedit-solid-shortcut-btn:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.bgedit-solid-shortcut-btn:disabled{opacity:.45;cursor:default}.bgedit-gradient-axis-list{display:flex;flex-direction:column;gap:8px}.bgedit-gradient-axis{display:flex;flex-direction:column;gap:4px;border:1px solid var(--border);border-radius:8px;padding:8px 10px;background:#fafafa}.bgedit-gradient-axis.active{border-color:var(--accent);background:var(--accent-soft)}.bgedit-gradient-axis-toggle{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer}.bgedit-gradient-axis-value{margin-left:auto;font-size:12px;font-weight:600;color:#595959}.bgedit-gradient-slider-wrap{padding-top:2px}.bgedit-gradient-slider-wrap .ant-slider-mark-text{font-size:11px;color:#b0b0b0}.bgedit-gradient-scale-caption{display:flex;justify-content:space-between;font-size:11px;color:#b0b0b0;margin-top:-4px}.bgedit-btn-row{display:flex;gap:8px}.bgedit-btn-row .ant-btn{flex:1}.bgedit-preview{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;background:#f5f5f5;padding:32px;overflow:hidden}.bgedit-canvas-stage{position:relative;display:inline-block;max-width:100%;max-height:100%;line-height:0}.bgedit-canvas{display:block;max-width:calc(90vw - 384px);max-height:calc(88vh - 116px);width:auto;height:auto;cursor:grab;box-shadow:0 4px 24px #0000001f;border-radius:2px;touch-action:none;background:#fff}.bgedit-canvas:active{cursor:grabbing}.bgedit-safe-area{position:absolute;top:9%;right:9%;bottom:9%;left:9%;border:1.5px dashed rgba(90,90,90,.85);filter:drop-shadow(0 0 1px rgba(255,255,255,.9));pointer-events:none}.bgedit-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#ffffffd9;font-size:13px;color:#666}.bgedit-loading-error{color:#d4380d}.shdedit-shell{display:flex;flex-direction:column;height:100%;min-height:0;background:#fff}.shdedit-round-btn{border-radius:8px!important}.shdedit-btn-active{border-color:var(--accent)!important;color:var(--accent)!important;background:var(--accent-soft)!important}.shdedit-fallback-banner{flex-shrink:0;font-size:12px;line-height:1.6;color:#ad6800;background:#fffbe6;border-bottom:1px solid #ffe58f;padding:8px var(--space-4)}.shdedit-body{flex:1;min-height:0;display:flex}.shdedit-panel{width:340px;flex-shrink:0;background:#fafafa;border-right:1px solid #ececec;display:flex;flex-direction:column;min-height:0}.shdedit-panel-scroll{flex:1;min-height:0;overflow-y:auto;padding:var(--space-4) var(--space-4);display:flex;flex-direction:column;gap:22px}.shdedit-group{display:flex;flex-direction:column;gap:10px;padding-bottom:18px;border-bottom:1px dashed #dcdcdc}.shdedit-group:last-child{border-bottom:none;padding-bottom:0}.shdedit-group-title{font-size:12px;font-weight:700;letter-spacing:.04em;color:#8c8c8c;text-transform:uppercase}.shdedit-hint{font-size:12px;color:#9a9a9a;line-height:1.5}.shdedit-preset-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.shdedit-preset-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 6px 7px;border-radius:10px;border:1.5px solid #e2e2e2;background:#fff;cursor:pointer;transition:border-color .12s ease,background .12s ease}.shdedit-preset-card:hover{border-color:var(--accent)}.shdedit-preset-card.active{border-color:var(--accent);background:var(--accent-soft)}.shdedit-preset-thumb{width:100%;aspect-ratio:1 / 1;object-fit:cover;border-radius:6px;background:#f4f5f7;border:1px solid #ececec}.shdedit-preset-name{font-size:11px;color:#444;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shdedit-preset-card.active .shdedit-preset-name{color:var(--accent);font-weight:600}.shdedit-preset-delete{position:absolute;top:4px;right:4px;width:18px;height:18px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#00000073;color:#fff;font-size:10px;opacity:0;transition:opacity .12s ease}.shdedit-preset-card:hover .shdedit-preset-delete{opacity:1}.shdedit-preset-delete:hover{background:#d4380d}.shdedit-preset-source-tag{font-size:12px;color:#595959;background:#f5f5f5;border-radius:6px;padding:4px 8px}.shdedit-slider-row{display:flex;flex-direction:column;gap:4px}.shdedit-slider-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#595959}.shdedit-dial-row{display:flex;align-items:center;gap:16px}.shdedit-dial{position:relative;width:148px;height:148px;flex-shrink:0;border-radius:50%;background:radial-gradient(circle at 50% 50%,#fff,#f2f2f2 70%,#e7e7e7);border:1px solid #e2e2e2;cursor:crosshair;touch-action:none}.shdedit-dial-center{position:absolute;left:50%;top:50%;width:14px;height:14px;margin:-7px;border-radius:50%;background:#444;box-shadow:0 0 0 3px #0000000f;pointer-events:none}.shdedit-dial-point{position:absolute;width:14px;height:14px;margin:-7px;border-radius:50%;border:1.5px solid #cfcfcf;background:#fff;cursor:pointer;padding:0;transition:transform .1s ease,border-color .12s ease}.shdedit-dial-point:hover{transform:scale(1.15)}.shdedit-dial-point.active{border-color:var(--accent);background:var(--accent)}.shdedit-dial-handle{position:absolute;width:20px;height:20px;margin:-10px;border-radius:50%;background:#ffd666;border:2px solid #d48806;box-shadow:0 2px 6px #00000040;pointer-events:none;z-index:2}.shdedit-dial-side{display:flex;flex-direction:column;gap:10px;min-width:0;flex:1}.shdedit-advanced-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:none;padding:0;cursor:pointer;font-size:12px;font-weight:700;letter-spacing:.04em;color:#8c8c8c;text-transform:uppercase}.shdedit-advanced-caret{color:var(--accent);font-weight:500;text-transform:none;letter-spacing:normal}.shdedit-advanced-body{display:flex;flex-direction:column;gap:14px;margin-top:12px}.shdedit-preview{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;background:#f4f5f7;padding:32px;overflow:hidden}.shdedit-canvas-stage{position:relative;display:inline-block;max-width:100%;max-height:100%;line-height:0}.shdedit-canvas{display:block;max-width:calc(90vw - 404px);max-height:calc(88vh - 116px);width:auto;height:auto;box-shadow:0 4px 24px #0000001f;border-radius:2px;background:#fff}.shdedit-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#ffffffd9;font-size:13px;color:#666}.shdedit-loading-error{color:#d4380d}.shdedit-save-name-dialog{display:flex;flex-direction:column;gap:10px}.shdedit-save-name-title{font-size:15px;font-weight:700;color:#1f2329}.shdedit-save-name-label{font-size:12px;color:#8c8c8c}.shdedit-save-name-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.shdedit-save-sync-row.ant-checkbox-wrapper{display:flex;align-items:flex-start;margin-top:10px;font-size:12px;color:#595959;line-height:1.5;white-space:normal}
