/* Module uploads */
.attach { border: 1px dashed var(--border); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.attach-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.attach-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.attach-list li { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 8px; background: var(--surface-2); }
.attach-list img, .attach-ico { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; flex-shrink: 0; display: grid; place-items: center; background: var(--surface); }
.attach-name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: .9rem; }
.attach-add { align-self: flex-start; }
.attach-status:empty { display: none; }
.attach-status.is-error { color: var(--danger); }
.attachments { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.attach-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.attach-gallery a { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); aspect-ratio: 4 / 3; }
.attach-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.attach-files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.attach-files li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
