.photo-type-label{display:inline-flex;align-items:center;gap:5px;max-width:100%;white-space:normal;vertical-align:middle;line-height:1.35}
.photo-type-label>span{min-width:0;overflow-wrap:anywhere}
.photo-type-edit{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;padding:5px;border:1px solid #cbd5e1;border-radius:5px;background:#fff;cursor:pointer}
.photo-type-edit img{width:16px!important;height:16px!important;border:0!important;border-radius:0!important;background:transparent!important;object-fit:contain!important}
.photo-type-edit:hover{background:#e8f2ff;border-color:#7aa6d8}
.photo-type-edit:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.photo-type-dialog{width:420px;max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:8px;padding:20px;background:#fff;color:#172033;font-family:Arial,sans-serif}
.photo-type-dialog::backdrop{background:rgb(15 23 42 / 45%)}
.photo-type-dialog h2{font-size:18px;margin:0 0 14px;font-weight:700}
.photo-type-preview{display:block;width:100%;height:190px;object-fit:contain;background:#f3f5f7;margin-bottom:16px}
.photo-type-dialog label{display:block;font-size:13px;font-weight:700;margin-bottom:5px}
.photo-type-dialog select{width:100%;min-width:0;box-sizing:border-box;padding:9px;border:1px solid #cbd5e1;border-radius:5px;background:white;color:#172033;font:14px Arial,sans-serif}
.photo-type-dialog p{font-size:13px;line-height:1.45;overflow-wrap:anywhere;min-height:19px}
.photo-type-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.photo-type-actions button{border-radius:6px;padding:9px 12px;font:700 13px Arial,sans-serif}
.photo-type-error{color:#a22121}.photo-type-status{color:#176948}
