.before-after-dialog{box-sizing:border-box;border:1px solid var(--workspace-native-border);background:var(--paper,var(--workspace-surface));width:min(960px,100vw - 32px);max-width:none;max-height:calc(100svh - 32px);color:var(--ink,var(--workspace-text));box-shadow:0 22px 64px color-mix(in srgb, var(--ink) 30%, transparent);border-radius:16px;margin:auto;padding:0;overflow:hidden}.before-after-dialog::backdrop{background:color-mix(in srgb, var(--ink) 50%, transparent)}.before-after-shell{gap:12px;padding:0 0 16px;display:grid}.before-after-header{border-bottom:1px solid var(--soft,var(--workspace-divider));align-items:center;gap:12px;padding:12px 16px;display:flex}.before-after-heading{gap:2px;min-width:0;display:grid}.before-after-heading strong{font-size:1.125rem;font-weight:700}.before-after-heading span{color:var(--muted,var(--workspace-text-muted));text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.before-after-close{border:1px solid var(--workspace-native-border);width:44px;min-width:44px;height:44px;color:inherit;font:inherit;cursor:pointer;background:0 0;border-radius:9px;place-items:center;margin-inline-start:auto;padding:0;font-size:1.35rem;display:grid}.before-after-stage{background:repeating-conic-gradient(var(--workspace-checker-a,#d9d6dd) 0 25%, var(--workspace-checker-b,#f2f0f4) 0 50%) 0 0 / 16px 16px;cursor:ew-resize;touch-action:pan-y;user-select:none;height:min(60svh,560px);margin:0 16px;position:relative;overflow:hidden}.before-after-image{object-fit:contain;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.before-after-image--before{clip-path:inset(0 calc(100% - var(--compare-position,50%)) 0 0)}.before-after-divider{top:0;bottom:0;left:var(--compare-position,50%);background:var(--paper,#fff);width:2px;box-shadow:0 0 0 1px color-mix(in srgb, var(--ink) 40%, transparent);pointer-events:none;margin-left:-1px;position:absolute}.before-after-label{background:color-mix(in srgb, var(--ink) 70%, transparent);color:var(--paper,#fff);pointer-events:none;border-radius:6px;padding:2px 8px;font-size:13px;font-weight:700;position:absolute;top:8px}.before-after-label--before{left:8px}.before-after-label--after{right:8px}.before-after-range{color:var(--muted,var(--workspace-text-muted));gap:6px;margin:0 16px;font-size:13px;display:grid}.before-after-range input{width:100%;min-height:32px;accent-color:var(--accent)}.before-after-sizes{color:var(--muted,var(--workspace-text-muted));font-variant-numeric:tabular-nums;margin:0 16px;font-size:13px}.before-after-dialog :focus-visible{outline:2px solid var(--accent,var(--lavender));outline-offset:2px}.batch-compare{background:var(--workspace-control-surface);width:44px;height:44px;color:var(--workspace-text);font:inherit;cursor:pointer;border:0;place-items:center;padding:0;font-size:0;display:grid}.batch-compare[hidden]{display:none!important}.batch-compare:after{content:"";background:currentColor;width:19px;height:19px;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M12 2v20'/%3E%3Cpath d='m7 10-2 2 2 2'/%3E%3Cpath d='m17 10 2 2-2 2'/%3E%3C/g%3E%3C/svg%3E") 50%/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M12 2v20'/%3E%3Cpath d='m7 10-2 2 2 2'/%3E%3Cpath d='m17 10 2 2-2 2'/%3E%3C/g%3E%3C/svg%3E") 50%/contain no-repeat}html[data-private-workspace][data-workspace-kind] .converter-card[data-image-ui-theme=macos] .batch-hover-actions>.batch-compare{background:0 0!important;border:0!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;margin:0!important;padding:0!important;position:relative!important;inset:auto!important}html[data-private-workspace][data-workspace-kind] .converter-card[data-image-ui-theme=macos] .batch-hover-actions>.batch-compare:not(:first-child){border-left:1px solid var(--workspace-divider)!important}html[data-private-workspace][data-workspace-kind] .converter-card[data-image-ui-theme=macos] .batch-hover-actions>.batch-compare:is(:hover,:focus-visible){background:var(--workspace-divider)!important}html[data-private-workspace] .batch-item-preview>.batch-preview-compare{z-index:6;border:1px solid var(--workspace-native-border);background:var(--workspace-surface);width:32px;height:32px;color:var(--accent-strong,var(--workspace-text));border-radius:8px;position:absolute;bottom:12px;left:8px}html[data-private-workspace] .batch-item-preview>.batch-preview-compare:is(:hover,:focus-visible){background:var(--workspace-surface-hover,var(--workspace-surface));color:var(--ink,var(--workspace-text))}@media (hover:none),(pointer:coarse),(width<=820px){html[data-private-workspace] .batch-item-preview>.batch-preview-compare{width:44px;height:44px}html[data-private-workspace][data-workspace-kind] .converter-card[data-image-ui-theme=macos] .batch-hover-actions>.batch-compare{flex-basis:44px!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}}.image-presets-dialog{box-sizing:border-box;border:1px solid var(--workspace-native-border);background:var(--paper,var(--workspace-surface));width:min(420px,100vw - 32px);max-width:none;max-height:calc(100svh - 32px);color:var(--ink,var(--workspace-text));box-shadow:0 22px 64px color-mix(in srgb, var(--ink) 30%, transparent);border-radius:14px;margin:auto;padding:0}.image-presets-dialog::backdrop{background:color-mix(in srgb, var(--ink) 45%, transparent)}.image-presets{gap:12px;padding:12px 16px 16px;display:grid}.image-presets-header{align-items:center;gap:12px;display:flex}.image-presets-header strong{font-size:1.0625rem;font-weight:700}.image-presets-close{border:1px solid var(--workspace-native-border);width:44px;min-width:44px;height:44px;color:inherit;font:inherit;cursor:pointer;background:0 0;border-radius:9px;place-items:center;margin-inline-start:auto;padding:0;font-size:1.35rem;display:grid}.image-presets-hint{color:var(--muted,var(--workspace-text-muted));margin:0;font-size:14px}.image-presets-save{gap:8px;min-width:0;display:flex}.image-presets-save input{box-sizing:border-box;border:1px solid var(--workspace-native-border);background:var(--workspace-surface);min-width:0;min-height:44px;color:inherit;font:inherit;border-radius:8px;flex:auto;padding:6px 10px}.image-presets-button{border:1px solid var(--workspace-native-border);background:var(--workspace-surface);min-height:44px;color:var(--accent-strong,var(--workspace-text));font:inherit;cursor:pointer;border-radius:8px;padding:0 12px;font-weight:650}.image-presets-button:disabled{cursor:progress;opacity:.48}.image-presets-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.image-presets-list li{align-items:center;gap:8px;min-width:0;display:flex}.image-presets-name{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-weight:650;overflow:hidden}.image-presets-status{color:var(--muted,var(--workspace-text-muted));font-size:14px}.image-presets-status:empty{display:none}.image-presets-dialog :focus-visible{outline:2px solid var(--accent,var(--lavender));outline-offset:2px}
