dialog.photo-editor{position:fixed;inset:0;width:min(100dvw,720px);height:min(100dvh,900px);max-width:100dvw;max-height:100dvh;margin:auto;padding:0;border:0;border-radius:16px;background:#f7f8f2;overflow:auto;color:#233e30;box-sizing:border-box}dialog.photo-editor[open]{display:flex;flex-direction:column}.photo-editor::backdrop{background:#000b}.photo-editor header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px}.photo-editor h2{font-size:20px;margin:0}.photo-editor button{min-height:44px;border-radius:9px;padding:8px 13px;font:inherit;cursor:pointer}.photo-editor header button{min-width:44px;font-size:25px;border:0;background:transparent}.photo-edit-preview{flex:1 1 260px;min-height:130px;display:grid;place-items:center;background:repeating-conic-gradient(#e4e7df 0% 25%,#f4f5ef 0% 50%) 50% / 20px 20px;overflow:hidden}.photo-edit-preview img{height:100%;width:100%;min-height:0;object-fit:contain}.photo-edit-body{padding:12px 16px calc(12px + env(safe-area-inset-bottom));flex-shrink:0}.photo-edit-body label{display:block;font-size:14px;font-weight:650;margin:8px 0}.photo-edit-body textarea{width:100%;box-sizing:border-box;font-size:16px;padding:10px;border:1px solid #b8c6ae;border-radius:8px;resize:vertical}.photo-edit-buttons,.photo-version{display:flex;gap:8px;margin-top:8px}.photo-edit-buttons button{flex:1}.photo-version button{flex:1;border:1px solid #8c9e80;background:#fff}.photo-version button[aria-pressed=true]{background:#dce9cd;border-color:#44673c}.photo-editor [hidden]{display:none!important}.photo-edit-body p{font-size:13px;min-height:18px;margin:8px 0}.photo-edit-body small{display:block;font-size:12px;color:#61705a;margin-top:8px}.photo-edit-use{width:100%}.photo-edit-trigger{display:inline-grid;place-items:center;min-width:44px;min-height:44px}.crew-photo-edit{position:absolute;right:16px;top:calc(80px + env(safe-area-inset-top));z-index:7;border:1px solid #ffffff70;background:#14281ed9;color:#fff;border-radius:50%;width:48px;height:48px;display:grid;place-items:center}.collected-photo-edit{display:flex;justify-content:flex-end;margin:6px 0}.collected-photo-edit button{display:inline-flex;align-items:center;gap:6px;min-height:44px}@media(max-width:600px){dialog.photo-editor{border-radius:0;height:100dvh}.photo-editor header{padding-top:calc(8px + env(safe-area-inset-top))}}
