#redactionDialog{width:min(1100px,calc(100vw - 24px));max-width:none;padding:18px;max-height:94dvh;overflow:auto}
#redactionDialog .dialog-bar{margin-bottom:12px}
.redaction-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.redaction-tools fieldset{display:flex;gap:14px;border:0;padding:0;margin:0}
.redaction-tools fieldset label{display:flex;gap:6px;align-items:center;font-size:13px}
.redaction-tools input[type=radio]{width:16px;height:16px;margin:0}
.redaction-size{display:flex;align-items:center;gap:8px;font-size:13px}
.redaction-size input{width:110px;padding:0;min-height:24px}
.redaction-size output{width:28px;font-variant-numeric:tabular-nums}
.redaction-stage{display:flex;justify-content:center;align-items:flex-start;background:#080808;min-height:80px;overflow:hidden}
.redaction-stage canvas{display:block;max-width:100%;max-height:65dvh;width:auto;height:auto;touch-action:none;cursor:crosshair}
.redaction-message{font-size:13px;min-height:20px;margin:10px 0;overflow-wrap:anywhere;color:#e6b66e}
.redaction-footer{display:flex;align-items:center;justify-content:space-between;gap:14px}
.redaction-footer small{font-size:12px;color:#aaa}
#redactionDialog .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:600px){#redactionDialog{padding:12px}.redaction-tools{gap:10px}.redaction-tools button{padding:7px 10px}.redaction-footer{align-items:stretch;flex-direction:column}.redaction-footer .actions{justify-content:flex-end}.redaction-stage canvas{max-height:58dvh}}
