.composer-attachments{position:static;inset:auto;width:100%;margin:0;justify-content:flex-start;display:flex;flex-wrap:wrap;gap:8px;max-height:154px;overflow:auto;padding:10px 16px 2px;min-width:0}
.composer-attachments[hidden]{display:none!important}
.attachment-card{display:flex;align-items:center;position:relative;gap:10px;width:216px;max-width:100%;min-width:0;padding:10px 30px 10px 10px;background:#faf9fc;border:1px solid #e3dfeb;border-radius:12px;color:#302b3a;animation:attachment-arrive .18s ease-out}
.attachment-card-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:42px;border:1px solid #e3deee;border-radius:8px;background:#f0ebf7;color:#7f64a8;font-size:10px;font-weight:700;overflow:hidden;letter-spacing:.2px}
.attachment-card-icon[data-kind=pdf]{background:#fff0ee;color:#bc5f55;border-color:#f1d7d3}.attachment-card-icon[data-kind=slides]{background:#fff4e8;color:#b6783b;border-color:#f0dfca}.attachment-card-icon[data-kind=sheet]{background:#eef7f2;color:#4b8970;border-color:#d8e9df}
.attachment-card-icon.is-image{background:#fff}.attachment-card-icon img{width:100%;height:100%;object-fit:cover}
.attachment-card-info{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.attachment-card-info strong{font-size:12px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-card-info>span{font-size:11px;color:#918999}
.attachment-remove{position:absolute;top:5px;right:5px;width:23px;height:23px;border:0;border-radius:6px;background:transparent;color:#a096ac;font-size:18px;line-height:1;cursor:pointer}.attachment-remove:hover{background:#ece6f3;color:#63488a}.attachment-remove:focus-visible{outline:2px solid #896ab3}
#home #uploadTray.has-files{display:none!important}#home .cloud-home-save{display:none!important}
.attachment-feedback{font-size:12px;line-height:1.5;color:#8161ad;padding:6px 16px}.attachment-feedback[hidden]{display:none}.attachment-feedback.is-error{color:#b35461}
.presentation-composer,.workspace-chat-form{position:relative}#home.file-drop-active .presentation-composer,.workspace-chat-form.file-drop-active{outline:2px solid #a387ce;outline-offset:3px;background:#f9f5ff}
#home.file-drop-active .presentation-composer::after,.workspace-chat-form.file-drop-active::after{content:'松开以添加附件';position:absolute;inset:0;border-radius:inherit;display:grid;place-items:center;background:#f9f6fff0;color:#8661b4;font-size:15px;pointer-events:none;z-index:5}
.workspace-chat-form .composer-attachments{padding:0 0 10px;max-height:145px}.workspace-chat-form .attachment-card{width:100%}.workspace-attach{flex:none;width:28px;height:28px;border:1px solid #dfd7e9;background:#fff;border-radius:8px;color:#8161ad;cursor:pointer}
.chat-message-meta .attachment-card{padding-right:10px}.conversation-template-preview>svg{width:100%;height:100%}.conversation-template-preview.is-placeholder{display:grid;place-items:center;color:#9373b8;font-weight:650}
.generation-chat-title h1{max-width:75vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.workspace-chat-actions #workspaceAttachFiles{display:inline-flex;align-items:center;gap:5px;width:auto;height:32px;padding:0 8px;background:#f7f4fc;border:1px solid #dfd7e9;color:#7754ae;font:12px inherit;white-space:nowrap}
#workspaceAttachFiles svg{width:15px;height:15px;flex:none}
.workspace-chat-actions small{flex:1;min-width:0}
@keyframes attachment-arrive{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.attachment-card{animation:none}}@media(max-width:650px){.attachment-card{width:calc(50% - 4px);padding-left:7px;gap:6px}.attachment-card-icon{flex-basis:30px;width:30px;height:36px}.composer-attachments{padding:8px}}
