.photo-item-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;align-items:center}
.photo-item-actions button{min-height:36px;padding:7px 10px;border:1px solid #a8c6c6;border-radius:6px;background:#fff;color:#135b65;font:inherit;cursor:pointer}
.photo-item-actions button:disabled{opacity:.55;cursor:wait}
.photo-item-actions .photo-item-delete{color:#a12d42;border-color:#d8adb5}
.photo-item-actions output{flex-basis:100%;font-size:.85rem;overflow-wrap:anywhere}
.photo-item-actions input[hidden]{display:none}
.photo-manage-dialog{width:min(880px,94vw);max-height:88vh;overflow:auto;border:1px solid #aac7c9;border-radius:10px;padding:18px}
.photo-manage-dialog::backdrop{background:#102c3e88}
.photo-manage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px}
.photo-manage-grid figure{margin:0;min-width:0}
.photo-manage-grid img{display:block;width:100%;height:200px;object-fit:contain;background:#f3f6f6}
@media print{.photo-item-actions{display:none!important}}
