.ChatImageUpload_upload___quba{min-width:0;display:grid;gap:var(--ym-space-2)}.ChatImageUpload_upload___quba[data-empty=true]{display:contents}.ChatImageUpload_reference___sqMc{display:flex;align-items:center;gap:var(--ym-space-3);min-width:0}.ChatImageUpload_thumbnail__Zz22O{position:relative;display:block;flex:none;width:64px;height:72px;background:rgb(var(--ym-surface-1));border-radius:var(--radius-md)}.ChatImageUpload_thumbnail__Zz22O img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ChatImageUpload_thumbnail__Zz22O>svg{position:absolute;width:14px;height:14px;right:2px;bottom:2px}.ChatImageUpload_metadata__AEJdm{display:grid;gap:var(--ym-space-1);flex:1;min-width:0;overflow-wrap:anywhere;font-size:var(--ym-text-xs);color:rgb(var(--ym-text-soft))}.ChatImageUpload_metadata__AEJdm strong{font-weight:500;color:rgb(var(--ym-text))}.ChatImageUpload_hint__X4_be{font-size:var(--ym-text-xs);line-height:1.6;color:rgb(var(--ym-text-soft))}.ChatImageUpload_error__BpNo9,.ChatImageUpload_feedback__3xWXY{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ym-space-2);font-size:var(--ym-text-sm);line-height:1.6}.ChatImageUpload_error__BpNo9{color:rgb(var(--ym-danger-strong))}.ChatImageUpload_error__BpNo9>span,.ChatImageUpload_feedback__3xWXY>span{flex:1;min-width:140px}.ChatImageUpload_feedback__3xWXY progress{width:100px;accent-color:rgb(var(--ym-accent))}.ChatImageUpload_preview__bmgc0{position:fixed;inset:0;margin:auto;max-width:95vw;max-height:95dvh;background:rgb(var(--ym-surface-1));color:rgb(var(--ym-text));padding:var(--ym-space-3);border:1px solid rgb(var(--ym-border));border-radius:var(--radius-xl)}.ChatImageUpload_preview__bmgc0::backdrop{background:rgb(var(--ym-canvas-deep)/.85)}.ChatImageUpload_preview__bmgc0>button{display:flex;margin-left:auto;min-width:44px;min-height:44px}.ChatImageUpload_preview__bmgc0>img{max-width:85vw;max-height:calc(90dvh - 60px);-o-object-fit:contain;object-fit:contain}.ChatImageUpload_thumbnail__Zz22O:focus-visible{outline:2px solid rgb(var(--ym-focus));outline-offset:2px}.ChatImageUpload_upload___quba button[data-slot=cta-button]{min-width:44px;min-height:44px}