.chat-photo{display:flex;flex-direction:column;gap:5px;align-items:center;max-width:100%;border:0;background:transparent;color:inherit;padding:0;cursor:pointer}
.chat-photo img{display:block;max-width:min(220px,100%);max-height:230px;min-width:80px;object-fit:contain;border-radius:10px}
.chat-photo span{font-size:11px;opacity:.75}.chat-photo-caption{margin-top:7px;overflow-wrap:anywhere}
.media-compose,.media-viewer{border:0;border-radius:20px;padding:22px;max-width:calc(100vw - 32px);max-height:90dvh;background:#fff;color:#141828;box-shadow:0 24px 90px #14182855}
.media-compose{width:400px}.media-compose::backdrop,.media-viewer::backdrop{background:#121525b3;backdrop-filter:blur(4px)}
.media-compose h3{margin:0 0 14px}.media-compose img{display:block;max-height:40dvh;max-width:100%;margin:0 auto 14px;border-radius:10px;object-fit:contain}
.media-compose textarea{display:block;box-sizing:border-box;width:100%;min-height:72px;padding:12px;border:1px solid #e0e2eb;border-radius:10px;font:inherit;resize:vertical}
.media-compose>div{display:flex;justify-content:flex-end;gap:10px}.media-compose button,.media-viewer>button{border:0;padding:10px 18px;border-radius:10px;cursor:pointer;background:#eff0f5;color:#34384c;font:inherit}
.media-compose [data-send]{background:#7252e5;color:white}.media-compose button:disabled{opacity:.6;cursor:wait}.media-error{min-height:20px;font-size:13px;color:#c63243;margin:8px 0}
.media-viewer{padding:16px;background:#151722;color:#fff}.media-viewer>button{display:block;margin:0 0 12px auto}.media-viewer>img{display:block;max-width:85vw;max-height:75dvh;object-fit:contain}
.chat-input input[type=file]{display:none}.chat-input>input:not([type=file]){min-width:0}.chat-input .chat-image-button{background:#f0edf9;color:#6541cd;box-shadow:none;flex:none;font-size:12px}
.drawer__foot .input{min-width:0}.support-message{display:flex;justify-content:flex-start}.support-message.is-agent{justify-content:flex-end}.support-message__bubble{max-width:78%;padding:10px 13px;border-radius:14px;font-size:13px;line-height:1.6;background:#f6f6fb;border:1px solid #e9eaf3;overflow-wrap:anywhere}.is-agent .support-message__bubble{background:linear-gradient(135deg,#9b7bff,#7c5cfc);color:#fff;border:0}
