/* Private SAVA chat photo: visible in thread, not just pre-send attachment. */
#root #chatView #messages .bubble.user .sava-sent-photo{
 display:block;position:relative;width:min(210px,100%);max-width:100%;
 max-height:210px;overflow:hidden;border:1px solid #d5e7da;
 border-radius:14px;padding:0;margin:0 0 8px;
 background:#e9f1eb;line-height:0;cursor:zoom-in;box-sizing:border-box;
 box-shadow:0 2px 8px rgba(10,39,23,.08)
}
#root #chatView #messages .bubble.user .sava-sent-photo img{
 display:block;width:100%;height:auto;max-height:208px;
 object-fit:contain;object-position:left center;border-radius:13px;
 background:transparent
}
#root #chatView #messages .bubble.user .sava-sent-photo:focus-visible{
 outline:2px solid #138a56;outline-offset:2px
}
#root #chatView #messages .bubble.user .sava-image-save-warning{
 display:block;margin:5px 0 0;color:#9c4b25;font-size:12px;line-height:1.3
}
.sava-sent-photo-viewer{position:fixed;inset:0;margin:auto;
 width:min(94vw,1080px);max-width:94vw;max-height:92dvh;
 padding:18px;border:1px solid #d4e3d8;border-radius:19px;
 background:#fdfefd;box-shadow:0 20px 75px #0d261b7d}
.sava-sent-photo-viewer::backdrop{background:#12271ec9}
.sava-sent-photo-viewer img{display:block;max-width:100%;
 max-height:calc(90dvh - 40px);height:auto;width:auto;object-fit:contain;margin:auto;border-radius:9px}
.sava-sent-photo-viewer-close{position:absolute;top:6px;right:6px;z-index:1;
 display:grid;place-items:center;width:36px;height:36px;
 background:#263b30;color:#fff;border:2px solid #fff;
 border-radius:50%;font:26px/1 system-ui;cursor:pointer}
@media(max-width:720px){
 #root #chatView #messages .bubble.user .sava-sent-photo{width:min(210px,65vw)}
}
