.chat-image{min-width:100px;max-width:100%;display:flex;flex-direction:column;gap:7px;font-size:12px}.chat-image img{max-width:min(260px,100%);max-height:260px;object-fit:contain;cursor:zoom-in;border-radius:5px;display:block}.chat-image img[hidden]{display:none}.chat-image button{font:inherit;min-height:32px;padding:5px 9px;border:1px solid #b8c3ca;border-radius:5px;background:white;color:#34404b;cursor:pointer}.chat-image img:focus-visible{outline:3px solid #0085d0}.image-preview{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 24px);border:0;border-radius:16px;padding:18px;overflow:auto}.image-preview::backdrop,.image-viewer::backdrop{background:#000a}.image-preview h2{font-size:18px;margin:0 0 12px}.image-preview>img{display:block;max-width:100%;max-height:48dvh;object-fit:contain;margin:auto}.image-preview p{font-size:13px;overflow-wrap:anywhere}.image-preview progress{width:100%;display:block;margin-bottom:12px}.image-preview progress[hidden]{display:none}.image-preview button{padding:10px 15px;border:0;border-radius:7px;margin:4px;font-size:15px;min-height:42px;cursor:pointer}.image-preview button:first-of-type{background:#0085d0;color:white}.image-viewer{position:fixed;inset:0;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:60px 12px 20px;background:#111;overflow:hidden}.image-viewer>img{width:100%;height:100%;object-fit:contain}.image-viewer>button{position:absolute;top:max(12px,env(safe-area-inset-top));right:12px;min-height:40px;border:1px solid #aaa;border-radius:8px;background:#252525;color:white;padding:8px 14px;font-size:15px;cursor:pointer}.image-viewer>button.save-image{right:auto;left:max(12px,env(safe-area-inset-left));border-color:#0085d0;background:#0085d0}.workspace-audit-message .chat-image{margin:8px 0;max-width:300px}#message-form .image-picker{align-self:flex-end;flex-shrink:0;padding:8px 9px;min-height:40px;border-radius:7px;font-size:13px;line-height:20px}#image-file[hidden]{display:none!important}@media(max-width:850px){.chat-image img{max-width:min(210px,100%);max-height:220px}#message-form{gap:6px}#message-form .image-picker{padding:8px 7px}#send-message{padding-left:10px;padding-right:10px}.image-preview{top:0}.image-preview>img{max-height:42dvh}}
