.image-tool [hidden]{display:none!important}
.image-tool fieldset{border:1px solid #dce5ef;border-radius:.65rem;padding:.8rem;margin:1rem 0;min-inline-size:0}
.image-tool legend{font-weight:700;padding:0 .3rem}
.image-tool .image-fields{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.image-tool .image-choice{display:flex;align-items:center;gap:.55rem;margin:.65rem 0;min-height:2.4rem}
.image-tool .image-choice input{width:1.15rem;height:1.15rem;min-height:0;margin:0;appearance:auto}
.image-tool input[type=file]{width:100%;max-width:100%;padding:.35rem}
.image-tool input[type=range]{padding:0;min-height:2rem}
.image-tool .image-note{font-size:.94rem;color:#3c4f6a;overflow-wrap:anywhere}
.image-tool .image-secondary{font:inherit;color:#164335;background:#fff;border:1px solid #759489;border-radius:.55rem;padding:.42rem .72rem;cursor:pointer}
.image-tool #image-preview{display:block;width:100%;height:auto;max-height:45vh;object-fit:contain;background:repeating-conic-gradient(#e0e9e8 0% 25%,#f3f7f6 0% 50%) 0 0/16px 16px;border:1px solid #e0e9e8;border-radius:.6rem}
.image-tool #image-error{color:#8a2113;font-weight:650;overflow-wrap:anywhere}
.image-tool button:disabled{cursor:not-allowed;opacity:.55}
.image-tool #image-error:empty,.image-tool #image-comparison:empty{margin:0}
