.compare-format-dialog {box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(390px,calc(100% - 32px));max-height:85vh;padding:24px;border:1px solid #d4d2c9;border-radius:12px;background:white;color:#222}
.compare-format-dialog::backdrop {background:rgb(0 0 0 / .45)}
.compare-format-dialog form {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}
.compare-format-dialog h2 {margin:0;font-size:22px;line-height:1.2}
.compare-format-dialog :is(button, .format-file) {background:white;border:1px solid #d4d2c9;border-radius:6px;min-height:44px;color:inherit;font:inherit;cursor:pointer}
.compare-format-dialog form button {display:grid;place-items:center;width:44px}
.compare-format-dialog form svg {width:18px;height:18px}
.compare-formats {display:grid;gap:10px}
.compare-formats :is(button,.format-file) {text-align:left;padding:10px 14px}
.compare-format-dialog :is(button,.format-file):hover {background:#f3f2ee}
.compare-format-dialog button:disabled {opacity:.6;cursor:wait}
.compare-format-dialog [role=status] {font-size:14px;margin:14px 0 0}
.compare-format-dialog [role=status]:empty {display:none}
.compare-formats .format-file {display:flex;align-items:center;text-decoration:none}
