.resize-main{max-width:1200px;margin:28px auto;padding:0 20px}.resize-main .section-tool-hero{margin-top:20px}.resize-upload{display:flex;position:relative;flex-direction:column;align-items:center;gap:8px;padding:25px 16px;border:2px dashed #5276ff;background:#edf1ff;border-radius:14px;color:#154ad7;text-align:center;cursor:pointer}.resize-upload strong{font-size:19px}.resize-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.resize-upload:focus-within{outline:3px solid #154ad7;outline-offset:3px}.resize-workspace{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px;align-items:start}.resize-workspace[hidden],#downloads[hidden]{display:none}.resize-preview,.resize-settings{border:1px solid #d8e3df;border-radius:18px;padding:22px;background:white;min-width:0}.resize-workspace h2{margin:0 0 16px;font-size:22px}.resize-checker{padding:12px;background:repeating-conic-gradient(#e8ebf0 0% 25%,#fff 0% 50%) 0/20px 20px;display:flex;justify-content:center;align-items:center;min-height:160px}.resize-checker img{display:block;max-width:100%;max-height:440px;object-fit:fill}.resize-dimensions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.resize-dimensions label{display:grid;gap:8px}.resize-dimensions input{width:100%;min-width:0;padding:12px;border:1px solid #bbcce5;border-radius:8px;box-sizing:border-box;font:inherit}.resize-lock{display:flex;align-items:center;gap:8px;margin:18px 0}.resize-lock input{width:20px;height:20px}.resize-presets{display:flex;gap:8px;flex-wrap:wrap}.resize-presets button{min-height:44px}.resize-settings .primary{display:block;width:100%;box-sizing:border-box;text-align:center;margin-top:14px}.resize-help{margin:34px 0}.resize-help li{margin:10px 0}#size-note{font-size:14px}#new-size{font-weight:600}@media(max-width:700px){.resize-main{padding:0 14px;margin-top:20px}.resize-workspace{grid-template-columns:1fr;gap:16px}.resize-preview,.resize-settings{padding:16px}.resize-checker img{max-height:300px}}

.resize-image-list{display:flex;gap:10px;overflow-x:auto;padding:10px 0;margin-top:14px}.resize-image-list[hidden],#batch-actions[hidden]{display:none}.resize-image-list button{display:flex;align-items:center;gap:8px;flex:0 0 180px;text-align:left;min-height:64px}.resize-image-list button[aria-pressed="true"]{border:2px solid #2852ef;background:#edf1ff}.resize-image-list img{width:48px;height:48px;object-fit:contain}.resize-image-list span{overflow-wrap:anywhere;min-width:0}.resize-format-note{font-size:13px;line-height:1.6}#batch-actions{display:grid;gap:10px;border-top:1px solid #d8e3df;margin-top:20px;padding-top:18px}#batch-size{width:100%;min-width:0;padding:10px;font:inherit;white-space:normal}#downloads a{overflow-wrap:anywhere}#original-size{overflow-wrap:anywhere}

.resize-percentage{margin:18px 0}.resize-percentage label{display:block}.resize-percentage-value{float:right;color:#2256dc;font-weight:700}.resize-percentage input[type=range]{width:100%;min-height:44px;accent-color:#2852ef;display:block;margin:6px 0}.resize-percentage-ends{display:flex;justify-content:space-between;font-size:12px;margin-bottom:12px}.resize-percentage button{margin-top:4px}.resize-batch-hint{font-size:14px;line-height:1.6;margin:8px 0 12px;color:#385a66}
