/* photo-management-20261104 */
.photo-removal{margin:6px 0;display:inline-flex;max-width:100%}
.photo-removal[hidden],.photo-management-check[hidden],.photo-management-toolbar button[hidden]{display:none!important}
.photo-management-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;position:sticky;top:8px;z-index:20;padding:10px;margin:12px 0;background:var(--surface,#fff);color:var(--text,#222);border:1px solid #bbb;border-radius:10px}
.photo-management-toolbar button{min-height:44px;padding:8px 12px;font:inherit}
.photos .photo-management-check{position:absolute!important;left:8px!important;top:8px!important;right:auto!important;bottom:auto!important;z-index:5;display:flex;padding:4px!important;background:#fff!important;border:0!important;border-radius:5px!important;width:auto!important;height:auto!important}
.photos .photo-management-check input{appearance:auto!important;position:static!important;opacity:1!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;margin:0!important;padding:0!important;accent-color:#b01559}
.photos article:has(>[data-photo-removal]){position:relative}
.photo-removal-selected{outline:3px solid #b01559;outline-offset:2px}
.photo-removal button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;line-height:1.25;font:inherit;cursor:pointer}
.viewer-top .photo-removal,.renter-viewer-bar .photo-removal{margin:0}
@media(max-width:600px){.viewer-top,.renter-viewer-bar{flex-wrap:wrap;gap:8px}.viewer-top>div,.renter-viewer-bar>div{display:flex;flex-wrap:wrap;gap:6px}.photo-removal button{min-height:44px}}

/* compact-photo-controls-20261104 */
.photo-management-toolbar{gap:6px;padding:7px;box-sizing:border-box}
.photo-management-toolbar button{width:auto!important;min-width:0!important;margin:0!important;font-size:13px!important;line-height:1.25!important;flex:0 1 auto}
.photo-management-toolbar button:last-of-type{margin-left:auto!important}
.photo-confirm-dialog{box-sizing:border-box;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:24px;border:1px solid #ddd;border-radius:14px;background:#fff;color:#222;overflow:auto}
.photo-confirm-dialog::backdrop{background:rgba(0,0,0,.5)}
.photo-confirm-dialog h2{font-size:21px;margin:0 0 14px}.photo-confirm-dialog p{line-height:1.5;margin:0 0 24px}
.photo-confirm-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.photo-confirm-actions button{width:auto!important;min-height:44px;padding:10px 16px;margin:0!important;border:1px solid #b01559;border-radius:7px;background:#fff;color:#b01559;font:inherit}
.photo-confirm-actions .photo-confirm-accept{background:#b01559;color:white}
.photos .admin-photo-options>summary{font-size:0!important;display:flex;align-items:center;justify-content:center;min-width:40px;min-height:44px}
.photos .admin-photo-options>summary::after{content:'•••';font-size:19px;letter-spacing:2px}
.photos .admin-photo-options>summary::marker{content:''}
@media(max-width:600px){.photo-management-toolbar{top:4px}.photo-management-toolbar button{padding:8px!important;flex:1 1 auto}.photo-management-toolbar button:last-of-type{flex:1 0 100%}.photo-management-toolbar>span:empty{display:none}}
