.webp-tool *{box-sizing:border-box}.webp-tool .wrap{max-width:760px;margin:0 auto}.webp-tool h1{margin-bottom:4px;font-size:22px}.webp-tool .desc{color:var(--color-text-sub);margin-bottom:28px;font-size:14px}.webp-tool .panel{background:#fff;border:1px solid #2c2c2a52;border-radius:12px;margin-bottom:20px;padding:24px}.webp-tool .drop-zone{text-align:center;cursor:pointer;border:2px dashed #2c2c2a52;border-radius:10px;padding:48px 20px;transition:background .15s,border-color .15s}.webp-tool .drop-zone.dragover{background:#f4f8d8;border-color:#5f6b00}.webp-tool .drop-zone p{margin:6px 0}.webp-tool .drop-zone .main-text{font-size:16px;font-weight:600}.webp-tool .drop-zone .sub-text{color:var(--color-text-sub);font-size:13px}.webp-tool input[type=file]{display:none}.webp-tool .settings{flex-wrap:wrap;align-items:center;gap:16px;margin-top:20px;display:flex}.webp-tool .settings label{white-space:nowrap;font-size:14px;font-weight:600}.webp-tool .settings input[type=range]{appearance:auto;accent-color:#5f6b00;background:revert;cursor:pointer;flex:1;min-width:160px}.webp-tool .quality-value{color:#5f6b00;text-align:right;min-width:42px;font-size:14px;font-weight:600}.webp-tool .resize-settings{border-top:1px solid #2c2c2a52;margin-top:4px;padding-top:16px}.webp-tool .checkbox-label{white-space:nowrap;cursor:pointer;align-items:center;gap:8px;font-size:14px;font-weight:600;display:flex}.webp-tool .checkbox-label input[type=checkbox]{appearance:auto;accent-color:#5f6b00;background:revert;border:revert;cursor:pointer;flex-shrink:0;width:16px;height:16px}.webp-tool .settings input[type=range]:focus-visible,.webp-tool .checkbox-label input[type=checkbox]:focus-visible{outline-offset:4px;outline:2px solid #5f6b00}.webp-tool #resizeMax{border:1px solid #2c2c2a52;border-radius:6px;padding:6px 8px;font-size:14px}.webp-tool #resizeMax:disabled{color:var(--color-text-sub);background:#f0f1f3}.webp-tool .unit{color:var(--color-text-sub);font-size:13px}.webp-tool .file-list{margin-top:4px}.webp-tool .file-row{border-bottom:1px solid #2c2c2a52;align-items:center;gap:12px;padding:12px 0;font-size:13px;display:flex}.webp-tool .file-row:last-child{border-bottom:none}.webp-tool .file-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.webp-tool .file-size{color:var(--color-text-sub);white-space:nowrap}.webp-tool .file-status{white-space:nowrap;font-weight:600}.webp-tool .file-status.ok{color:#5f6b00}.webp-tool .file-status.err{color:#c8402f}.webp-tool .file-status.busy{color:var(--color-text-sub)}.webp-tool .actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;display:flex}.webp-tool .summary{color:var(--color-text-sub);font-size:13px}.webp-tool .summary strong{color:#5f6b00}.webp-tool button.primary{color:#fff;cursor:pointer;background:#5f6b00;border:none;border-radius:8px;padding:12px 22px;font-size:14px;font-weight:600}.webp-tool button.primary:disabled{cursor:not-allowed;background:#b9c3d1}.webp-tool button.secondary{color:#2c2c2a;cursor:pointer;background:#fff;border:1px solid #2c2c2a52;border-radius:8px;padding:10px 16px;font-size:13px}.webp-tool .notice{color:#c8402f;margin-top:10px;font-size:13px;display:none}.webp-tool .notice.show{display:block}.webp-tool footer{text-align:center;color:var(--color-text-sub);margin-top:24px;font-size:12px}.webp-tool .wrap{max-width:none;padding:0}.webp-tool [hidden]{display:none!important}.webp-tool input.c-input,.webp-tool select.c-select,.webp-tool textarea.c-textarea{color:#2c2c2a;background:#fff;border-color:#2c2c2a52;font-family:Cairo,BIZ UDPGothic,sans-serif;font-size:16px}.webp-tool button.c-btn{color:#fff;background:#5f6b00;border:1px solid #5f6b00;border-radius:9999px;font-family:Cairo,BIZ UDPGothic,sans-serif}.webp-tool button.c-btn:hover{color:#fff;background:#2c2c2a}.webp-tool button.c-btn:disabled{opacity:.4}.webp-tool .drop-zone:focus-visible{outline-offset:4px;outline:2px solid #5f6b00}.webp-tool a{color:#5f6b00;text-decoration:underline}.webp-tool textarea{min-height:5em}@media (width<=600px){.webp-tool .file-row{flex-wrap:wrap}.webp-tool .file-name{flex-basis:100%}.webp-tool .actions{flex-wrap:wrap}}
