.pending-files-v1{display:flex;gap:8px;overflow-x:auto;padding:8px 0;max-height:90px}.pending-files-v1[hidden]{display:none}.pending-file-v1{display:flex;align-items:center;gap:8px;flex:0 0 auto;max-width:260px;padding:9px 10px;background:var(--chat-surface);border:1px solid var(--chat-border);border-radius:12px;color:var(--chat-text)}.pending-file-v1>svg{width:22px;height:22px;flex:none;color:var(--chat-accent)}.pending-file-v1 span{min-width:0}.pending-file-v1 strong,.pending-file-v1 small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:12px var(--font-b)}.pending-file-v1 small{margin-top:3px;color:var(--chat-muted);font-size:10px}.pending-file-v1 button{display:grid;place-items:center;flex:none;width:28px;height:28px;border:0;background:transparent;color:var(--chat-muted)}.pending-file-v1 button svg{width:17px;height:17px}.uploaded-files-v1{display:grid;gap:8px;max-width:340px;margin:5px 0}.message-group.user .uploaded-files-v1{margin-left:auto}.uploaded-file-card-v1{display:flex;align-items:center;min-width:0;border:1px solid var(--chat-border);border-radius:14px;background:var(--chat-surface);color:var(--chat-text);box-shadow:var(--shadow-xs)}.uploaded-file-card-v1>button{display:flex;align-items:center;gap:12px;min-width:0;flex:1;padding:14px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.uploaded-file-card-v1 svg{width:27px;height:27px;flex:none;color:var(--chat-accent)}.uploaded-file-card-v1 span{min-width:0}.uploaded-file-card-v1 strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 13px var(--font-b)}.uploaded-file-card-v1 small{display:block;margin-top:6px;color:var(--chat-muted);font:11px var(--font-b)}.uploaded-file-card-v1>button.uploaded-save-v1{flex:0 0 42px;width:42px;height:42px;margin-right:8px;padding:10px}.uploaded-save-v1 svg{width:21px;height:21px}.uploaded-preview-v1>pre{flex:1;min-height:0;overflow:auto;margin:0;padding:20px;white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.7 var(--font-b);color:var(--chat-text);background:var(--chat-bg)}.uploaded-preview-v1>p{margin:0;padding:8px 16px;color:var(--chat-muted);font:12px/1.5 var(--font-b);border-bottom:1px solid var(--chat-border)}.uploaded-preview-v1 header svg{width:23px;height:23px}.uploaded-preview-v1 header button{display:grid;place-items:center;width:44px}.uploaded-file-card-v1 button:focus-visible,.pending-file-v1 button:focus-visible{outline:2px solid var(--chat-accent);outline-offset:-2px}
.uploaded-preview-v1 header svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
