dialog.photo-privacy {
 box-sizing:border-box;
 width:min(94vw,760px);
 max-height:92vh;
 max-height:92dvh;
 padding:22px;
 border:1px solid #444852;
 border-radius:18px;
 color:#f5f5f7;
 background:#16181e;
 overflow:auto;
 font-family:inherit;
}
dialog.photo-privacy::backdrop { background:rgba(0,0,0,.8); }
.photo-privacy h2 { font-size:1.35rem; line-height:1.3; margin:0 0 14px; }
.photo-privacy p { color:#c9ccd3; font-size:1rem; line-height:1.5; margin:12px 0; }
.photo-privacy canvas,.photo-privacy img { display:block; max-width:100%; height:auto; margin:12px auto; background:#fff; }
.photo-privacy .editing { touch-action:none; cursor:crosshair; }
.photo-privacy-actions,.photo-privacy-tools { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-top:16px; }
.photo-privacy button { min-height:44px; width:auto; padding:12px 16px; border:1px solid #565c68; border-radius:10px; background:#292d36; color:#fff; font:inherit; cursor:pointer; }
.photo-privacy button.primary { background:#ff7900; color:#141414; font-weight:700; border-color:#ff7900; }
.photo-privacy button:disabled { opacity:.5; cursor:default; }
.photo-privacy :focus-visible { outline:3px solid #ffa34e; outline-offset:3px; }
.photo-privacy label { display:flex; flex:1; flex-wrap:wrap; gap:12px; align-items:center; min-width:180px; }
.photo-privacy input[type=range] { flex:1; min-width:140px; min-height:44px; accent-color:#ff7900; }
@media (max-width:520px) {
 dialog.photo-privacy { padding:16px; }
 .photo-privacy-actions button { width:100%; }
}
