/* The Image shrinker dialog. public/js/tool-imageshrink.js. */
.imgs-body { display: flex; flex-direction: column; gap: 12px; }
.imgs-levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.imgs-level { display: flex; gap: 6px; align-items: flex-start; border: 1px solid var(--border);
  border-radius: 8px; padding: 8px; cursor: pointer; }
.imgs-level:has(input:checked) { border-color: #2563eb; background: rgba(37, 99, 235, .06); }
.imgs-level span { display: flex; flex-direction: column; gap: 2px; }
.imgs-level small { color: var(--muted); font-size: 11.5px; line-height: 1.35; }
.imgs-mono { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.imgs-filed-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; max-height: 190px; overflow: auto; }
.imgs-pick { display: flex; flex-direction: column; width: 96px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--card); padding: 4px; cursor: pointer; font: inherit; font-size: 11px; color: var(--text); }
.imgs-pick.on { border-color: #2563eb; }
.imgs-pick img { width: 100%; height: 64px; object-fit: cover; border-radius: 5px; background: var(--bg); }
.imgs-pick span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 3px; }
.imgs-upbtn { align-self: flex-start; cursor: pointer; }
.imgs-list { display: flex; flex-direction: column; gap: 8px; }
.imgs-row { display: flex; gap: 10px; align-items: center; border: 1px solid var(--border); border-radius: 8px; padding: 6px; }
.imgs-thumb { flex: 0 0 72px; height: 72px; border-radius: 6px; background: var(--bg); overflow: hidden; display: block; }
.imgs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.imgs-text { flex: 1; min-width: 0; }
.imgs-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.imgs-text .bad-text { color: #b91c1c; }
.imgs-text .warn-text { color: #b45309; font-weight: 600; }
.imgs-foot { align-items: center; flex-wrap: wrap; }
