.merge-workspace{border:1px solid var(--line);background:#fff;border-radius:22px;grid-template-columns:minmax(0,1.55fr) minmax(290px,1fr);display:grid;overflow:hidden;box-shadow:0 12px 48px #193e3306}.merge-main,.merge-options{min-width:0;padding:28px}.merge-options{border-left:1px solid var(--line);background:#f1f4eb}.merge-dropzone{padding:32px 16px}.merge-dropzone.is-dragging{border-color:var(--ink);background:#eef4e5}.merge-totals{gap:14px;margin:22px 0;display:grid}.merge-totals>div{justify-content:space-between;align-items:center;gap:15px;display:flex}.merge-totals dt{color:var(--muted);font-size:12px}.merge-totals dd{font-variant-numeric:tabular-nums;margin:0;font-size:15px;font-weight:750}.merge-order-note{border-top:1px solid var(--line);align-items:start;gap:10px;padding-top:20px;display:flex}.merge-order-note svg{flex-shrink:0;margin-top:3px}.merge-order-note p{color:var(--muted);margin:0;font-size:12px;line-height:1.8}.merge-actions{gap:12px;margin-top:24px;display:grid}.merge-actions .button{width:100%;min-height:48px}.merge-actions progress{width:100%;height:7px;accent-color:var(--ink)}#mp-status{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.75}.merge-queue{margin-top:28px}.merge-queue .queue-heading{align-items:start;gap:12px}.merge-queue h2{margin:0;font-size:17px}.merge-queue .queue-heading p{color:var(--muted);margin:6px 0 0;font-size:11px;line-height:1.7}.merge-queue .text-button{white-space:nowrap;min-height:44px}.merge-list{gap:10px;margin:16px 0 0;padding:0;list-style:none;display:grid}.merge-file{border:1px solid var(--line);background:#fff;border-radius:12px;grid-template-columns:24px 44px minmax(0,1fr);gap:9px 12px;padding:14px 12px;animation:.2s ease-out merge-appear;display:grid}.merge-handle{cursor:grab;touch-action:none;grid-row:1/3;align-self:center;width:24px;min-width:24px;padding:0}.merge-file-badge{color:#467441;background:#e7f0db;border:1px solid #d6e3c3;border-radius:7px 13px 7px 7px;grid-row:1/3;justify-content:center;align-self:center;align-items:center;width:44px;height:56px;font-size:10px;font-weight:800;display:flex}.merge-file-info{align-self:center;min-width:0}.merge-file-info strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;display:block;overflow:hidden}.merge-file-info>span{color:var(--muted);overflow-wrap:anywhere;margin-top:6px;font-size:10px;line-height:1.65;display:block}.merge-file-info small{color:#587542;margin-top:5px;font-size:10px;line-height:1.6;display:block}.merge-file-actions{grid-column:3;gap:6px;display:flex}.merge-file-actions button{border:1px solid var(--line);background:#f5f7f0;border-radius:7px;width:44px;min-width:44px;height:44px}.merge-file-actions .merge-remove{margin-left:auto}.merge-file[data-state=error]{background:#fff9f6;border-color:#dca89b}.merge-file[data-state=error] .merge-file-info>span{color:#9a402e}.merge-file[data-state=checking]{background:#f7faef;border-color:#90ad78}.merge-file[data-state=queued] .merge-file-badge{opacity:.6}.merge-sort-ghost{opacity:.3;border:1px dashed var(--ink)}.merge-preview-section{border-top:1px solid var(--line);margin-top:26px;padding-top:21px}.merge-preview-heading{margin-bottom:15px}.merge-preview-section>p{color:var(--muted);margin:0;font-size:12px;line-height:1.8}.merge-preview-section>.button{width:100%}.merge-preview-image{cursor:zoom-in;background:#e5eadd;border:1px solid #d8dfcf;border-radius:10px;justify-content:center;align-items:center;width:100%;min-height:220px;padding:16px;display:flex}.merge-preview-image img{object-fit:contain;width:auto;max-width:100%;max-height:240px;box-shadow:0 3px 9px #193e331a}.merge-preview-image img:not([src]){display:none}.merge-preview-message{color:var(--muted);overflow-wrap:anywhere;margin:11px 0;font-size:11px;line-height:1.7}.merge-preview-nav{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;font-size:11px;display:flex}.merge-preview-nav button{background:#fff;border:1px solid #cbd6c0;border-radius:7px;width:44px;min-width:44px;height:44px;font-size:19px}.merge-options .settings-footnote{margin-top:24px;font-size:10px;line-height:1.9}.merge-dialog{border:1px solid var(--line);background:var(--paper);width:min(850px,100% - 32px);max-height:90dvh;color:var(--text);border-radius:16px;padding:22px;overflow:auto}.merge-dialog::backdrop{backdrop-filter:blur(3px);background:#112b24ad}.merge-dialog-image{background:#e4e9dc;border-radius:10px;justify-content:center;margin-top:15px;padding:20px;display:flex}.merge-dialog-image img{object-fit:contain;max-width:100%;max-height:65dvh;box-shadow:0 3px 12px #193e331a}.merge-dialog>p{color:var(--muted);font-size:12px;line-height:1.7}@keyframes merge-appear{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (width>=1250px){.merge-file{grid-template-columns:24px 44px minmax(0,1fr) auto;align-items:center}.merge-file-info{grid-row:1/3}.merge-file-actions{flex-direction:row;grid-area:1/4/3;gap:5px}.merge-file-actions button{width:44px;min-width:44px;height:44px;min-height:44px}.merge-file-actions .merge-remove{margin-left:0}}@media (width<=800px){.merge-workspace{grid-template-columns:1fr}.merge-options{border-left:0;border-top:1px solid var(--line)}}@media (width<=450px){.merge-main,.merge-options{padding:18px}.merge-main .workspace-heading{flex-wrap:wrap;gap:10px}.merge-dropzone{padding:24px 10px}.merge-dropzone h2{font-size:21px}.merge-dropzone p{font-size:12px}.merge-file{grid-template-columns:22px 38px minmax(0,1fr);gap:10px 8px;padding:12px 10px}.merge-handle{width:22px;min-width:22px}.merge-file-badge{grid-row:1;width:38px;height:48px}.merge-file-actions{grid-column:2/-1;gap:5px}.merge-file-actions button{width:44px;min-width:44px;min-height:44px}.merge-file-info strong{font-size:11px}.merge-dialog{padding:16px}.merge-dialog-image{padding:12px}}
