.merge-tool{max-width:1020px;margin:24px auto 72px;padding:0 22px}.merge-dropzone{width:100%;min-height:300px;border:2px dashed #a9bfd8;border-radius:18px;background:#f7faff;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--ink);cursor:pointer;text-align:center;padding:32px}.merge-dropzone.dragging{border-color:var(--blue);background:#edf5ff}.merge-dropzone strong{font-size:21px}.merge-dropzone small{margin-top:10px;color:var(--muted)}.merge-workspace{display:none;margin-top:20px;grid-template-columns:minmax(0,1.3fr) minmax(290px,.7fr);gap:18px;align-items:start}.merge-workspace.active{display:grid}.merge-list-panel,.merge-controls{border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 18px 55px #17395b0d}.merge-list-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid var(--line)}.merge-list-head h2{font-size:18px;margin:0}.merge-list-head p{font-size:12px;color:var(--muted);margin:5px 0 0}.merge-list-head button{border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--blue);font-weight:800;padding:10px 13px;cursor:pointer;white-space:nowrap}.merge-list{display:grid;gap:10px;padding:14px}.merge-item{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff;cursor:grab}.merge-item.drag-over{border-color:var(--blue);background:#edf5ff}.merge-item.dragging{opacity:.5}.merge-file-icon{width:46px;height:54px;display:grid;place-items:center;background:#edf5ff;color:var(--blue);border-radius:8px;font-size:11px;font-weight:900}.merge-item-name{font-size:13px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.merge-item-meta{font-size:11px;color:var(--muted);margin-top:5px}.merge-item-actions{display:flex;gap:5px}.merge-item-actions button{width:32px;height:32px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);cursor:pointer;font-weight:800}.merge-item-actions button:hover{border-color:var(--blue);color:var(--blue)}.merge-controls{padding:24px;position:sticky;top:18px}.merge-controls h2{font-size:20px;margin:0 0 18px}.merge-summary{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:7px 0;margin:18px 0}.merge-summary div{display:flex;justify-content:space-between;padding:10px 0;font-size:13px}.merge-summary span{color:var(--muted)}.merge-button{width:100%;border:0;border-radius:10px;padding:15px;background:var(--blue);color:#fff;font-weight:800;cursor:pointer}.merge-button:disabled{opacity:.6;cursor:not-allowed}.merge-clear{width:100%;border:1px solid var(--line);border-radius:10px;padding:12px;background:#fff;color:var(--muted);font-weight:800;cursor:pointer;margin-top:9px}.merge-status{min-height:20px;margin:12px 0 0;text-align:center;color:var(--muted);font-size:12px;line-height:1.5}.merge-note{text-align:center;color:#708197;font-size:11px;line-height:1.5;margin-top:14px}@media(max-width:780px){.merge-workspace.active{grid-template-columns:1fr}.merge-controls{position:static}.merge-item{grid-template-columns:42px minmax(0,1fr)}.merge-file-icon{width:42px;height:49px}.merge-item-actions{grid-column:1/-1;justify-content:flex-end}.merge-list-head{align-items:flex-start}}
