.image-workspace{max-width:1060px}.image-limit{color:var(--muted);font-size:12px;font-weight:700}
.image-drop{display:flex;position:relative;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:210px;padding:26px;text-align:center;border:2px dashed var(--line);border-radius:20px;background:var(--bg);color:var(--ink);cursor:pointer;transition:border-color .2s,background .2s}
.image-drop:hover,.image-drop.drag-over,.image-drop:focus-within{border-color:var(--purple);background:var(--white)}.image-drop-icon{font-size:39px;color:var(--purple)}.image-drop strong{font-size:18px}.image-drop span:last-of-type{font-size:13px;color:var(--muted)}.image-drop input{position:absolute;opacity:0;width:1px;height:1px;top:50%;left:50%;pointer-events:none}
.image-controls{margin-top:24px}.image-controls[hidden],.image-result[hidden]{display:none}.image-meta{font-size:13px;color:var(--muted);margin-bottom:17px;overflow-wrap:anywhere}
.image-form{display:grid;grid-template-columns:minmax(200px,1.6fr) repeat(2,minmax(100px,1fr)) minmax(140px,1fr);gap:14px;align-items:end}
.image-field{min-width:0;display:flex;flex-direction:column;gap:8px}.image-field label,.image-quality label{font-size:13px;font-weight:800;color:var(--ink)}
.image-field input:not([type="checkbox"]),.image-field select{min-width:0;width:100%;padding:11px 10px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--ink);font:inherit}.image-field input:focus-visible,.image-field select:focus-visible{outline:2px solid var(--purple);outline-offset:2px}
.image-check{padding-bottom:13px}.image-check label{display:flex;align-items:center;gap:6px;line-height:1.35}.image-check input{accent-color:var(--purple)}
.image-quality{margin-top:21px;max-width:640px}.image-quality label{display:flex;justify-content:space-between}.image-quality input{width:100%;margin:11px 0;accent-color:var(--purple)}
.image-quality p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.image-actions{margin:24px 0 18px;display:flex;flex-wrap:wrap;gap:10px}
.image-comparison{display:grid;grid-template-columns:1fr 1fr;gap:16px}.image-comparison figure{margin:0;min-width:0}.image-preview{display:grid;place-items:center;min-height:240px;max-height:340px;overflow:hidden;background:var(--bg);border-radius:16px;border:1px solid var(--line);color:var(--muted);font-size:13px;text-align:center;padding:12px}
.image-preview img{max-width:100%;max-height:315px;width:auto;height:auto;object-fit:contain}.image-comparison figcaption{display:flex;justify-content:space-between;gap:8px;padding:12px 2px;font-size:13px;color:var(--muted)}.image-comparison figcaption strong{color:var(--ink)}
.image-result{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid var(--line);padding-top:15px;margin-top:12px}.image-result p{margin:0;font-weight:700;font-size:14px}
@media(max-width:820px){.image-form{grid-template-columns:repeat(2,minmax(0,1fr))}.image-field:first-child{grid-column:span 2}.image-preview{min-height:185px}}
@media(max-width:560px){.image-comparison{grid-template-columns:1fr}.image-preview{min-height:205px}.image-actions button{flex:1}.image-check{padding-bottom:0}}
