.photo-previews{position:absolute;inset:0;z-index:1;display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:44px 10px 10px;background:#faf6f0}.photo-previews[hidden]{display:none}.photo-previews img{width:100%;height:100%;min-height:0;object-fit:cover;border-radius:3px;background:#eee}.photo-drop.has-image .photo-previews{position:absolute}.photo-drop.has-image strong,.photo-drop.has-image small{z-index:2;left:12px;background:#fffdf2ed;padding:5px 7px;border-radius:3px}.photo-drop.has-image strong{top:8px}.photo-drop.has-image small{top:29px}
.photo-drop.has-image .photo-previews img{position:static;inset:auto;width:100%;height:100%;object-fit:cover;z-index:auto;background:#eee}
.dialog-image{position:relative}.dialog-gallery{position:absolute;z-index:2;left:12px;right:12px;bottom:12px;display:flex;justify-content:center;gap:6px}.gallery-thumb{width:42px;height:42px;padding:2px;border:1px solid #ffffffaa;border-radius:4px;background:#fff;overflow:hidden;cursor:pointer;box-shadow:0 2px 7px #321d1230}.gallery-thumb img{width:100%;height:100%;object-fit:cover;border-radius:2px}.gallery-thumb.is-selected{border:2px solid #493327}.dialog-gallery:empty{display:none}
