/* Image convert (/tools/image-convert): upload/work states and the file thumbnail, which the tool kit in article.css can't express. */
#tool [hidden] { display: none !important; }
.tool-drop[hidden] + .ic-work { margin-top: 0; }
/* Keep the file input keyboard-reachable while the whole drop zone stays the visible control */
.ic-file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tool-drop:focus-within { border-color: var(--cta-main); color: var(--text-main); outline: 2px solid var(--link); outline-offset: 3px; }
.ic-work > * + * { margin-top: var(--space-24); }
.ic-top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-16); }
.ic-top > div { flex: 1; min-width: 16rem; }
.ic-thumb { flex: none; width: 9rem; height: 9rem; object-fit: cover; border-radius: var(--space-12); border: 1px solid var(--line); background: var(--bg-main); }
.ic-name { font-weight: var(--fw-bold); overflow-wrap: anywhere; }
