.photo-enlarge-image{cursor:zoom-in}
.photo-enlarge-image:focus-visible{outline:3px solid #efcf59;outline-offset:3px}
.photo-enlarge-button{margin-top:.65rem}
.photo-review-dialog{box-sizing:border-box;width:min(1500px,calc(100% - 24px));height:94dvh;max-width:none;max-height:94dvh;padding:0;overflow:hidden;border:1px solid #666666;border-radius:12px;background:#111111;color:#f4f0e5;color-scheme:dark;box-shadow:0 20px 100px #000b}
.photo-review-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.photo-review-dialog::backdrop{background:#000000e8}
.photo-removal-dialog{box-sizing:border-box;width:min(560px,calc(100% - 24px));max-height:90dvh;overflow:auto;padding:clamp(1.2rem,4vw,2rem);border:1px solid #777777;border-radius:12px;background:#181818;color:#f4f0e5;color-scheme:dark;box-shadow:0 20px 100px #000b}
.photo-removal-dialog::backdrop{background:#000000df}
.photo-removal-dialog h2{font-size:1.65rem;margin:0 0 1rem}
.photo-removal-dialog p{line-height:1.6;overflow-wrap:anywhere}
.photo-removal-dialog img{display:block;max-width:100%;max-height:220px;object-fit:contain;margin:1rem auto;border-radius:5px}
.photo-removal-dialog img[hidden]{display:none}
.photo-removal-dialog .photo-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.4rem}
.photo-removal-dialog button{min-height:44px}
.photo-removal-dialog button:disabled{opacity:.6;cursor:not-allowed}
.photo-remove-button{color:#f3b7a9!important;border-color:#966c5e!important}
.photo-gallery .photo-remove-button{margin:.75rem .5rem 0 0}
.photo-removal-dialog button:focus-visible{outline:3px solid #efcf59;outline-offset:3px}
.photo-review-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #454545}
.photo-review-toolbar h2{font:650 16px/1.4 system-ui,sans-serif;margin:0;overflow-wrap:anywhere}
.photo-review-toolbar button{min-width:44px;min-height:44px;border:1px solid #6b6b6b;border-radius:6px;background:#252525;color:#f4f0e5;padding:8px 12px;font:600 15px/1.3 system-ui,sans-serif;cursor:pointer}
.photo-review-toolbar button:focus-visible,.photo-review-stage:focus-visible{outline:3px solid #efcf59;outline-offset:-3px}
.photo-review-toolbar button:hover{border-color:#e0c25f;background:#343434}
.photo-review-toolbar button:disabled{opacity:.4;cursor:default}
.photo-review-zoom-tools{display:flex;gap:6px;align-items:center;flex-shrink:0}
.photo-review-zoom-tools span{min-width:40px;text-align:center;font:500 13px/1.3 system-ui,sans-serif;font-variant-numeric:tabular-nums}
.photo-review-stage{min-width:0;min-height:0;overflow:hidden;touch-action:none;background:#090909;cursor:zoom-in;user-select:none;-webkit-user-select:none}
.photo-review-stage.is-zoomed{cursor:grab}
.photo-review-stage.is-dragging{cursor:grabbing}
.photo-review-image{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;pointer-events:none;transform-origin:center}
.photo-review-footer{padding:10px 16px;border-top:1px solid #454545}
.photo-review-footer p{margin:3px 0;color:#bdbdbd;font:12px/1.45 system-ui,sans-serif;overflow-wrap:anywhere}
.photo-review-footer p:first-child{color:#e5cf80;font-weight:600}
@media(max-width:600px){.photo-review-dialog{width:calc(100% - 12px);height:96dvh;max-height:96dvh;border-radius:8px}.photo-review-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:9px}.photo-review-toolbar h2{font-size:14px}.photo-review-zoom-tools{grid-column:1;grid-row:2}.photo-review-toolbar>button{grid-column:2;grid-row:1/3}.photo-review-footer{padding:8px 10px}.photo-review-footer p{font-size:11px}}
