.attach-image-button{width:34px;height:34px;display:grid;place-items:center;border:1px solid #e8e8ec;border-radius:11px;background:#fff;color:#7155cc;cursor:pointer}
.attach-image-button:hover{background:#f8f8f9;border-color:#cfc2f1}
.attach-image-button svg{width:16px;height:18px;fill:currentColor}
.image-attachments{display:flex;gap:9px;padding:10px 13px 0}
.image-attachment-preview{position:relative;width:64px;height:64px;flex:0 0 64px}
.image-attachment-preview img{width:100%;height:100%;border:1px solid #e8e8ec;border-radius:10px;object-fit:cover}
.remove-image-attachment{position:absolute;top:-6px;right:-6px;width:21px;height:21px;border:1px solid #fff;border-radius:50%;background:#342e43;color:white;font-size:16px;line-height:1;cursor:pointer}
.message-row.user .message-body{flex-direction:column;align-items:flex-end}
.message-image-list{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;margin-bottom:7px}
.message-image-list img{display:block;width:min(220px,48vw);max-height:230px;border:1px solid #e7e0f6;border-radius:13px;object-fit:cover}
.message-row.assistant .message-image-list{justify-content:flex-start}
.message-row.assistant .message-body{display:flex;flex-direction:column;align-items:flex-start}
:root[data-theme="dark"] .attach-image-button{background:#282333;border-color:#49415b;color:#c3b2ff}
:root[data-theme="dark"] .attach-image-button:hover{background:#342e45;border-color:#645687}
:root[data-theme="dark"] .image-attachment-preview img,:root[data-theme="dark"] .message-image-list img{border-color:#49415b}
.workspace-files-button{display:flex;align-items:center;gap:9px;width:100%;margin-top:9px;padding:9px 11px;border:1px solid #e8e8ec;border-radius:10px;background:#fff;color:#625b70;font:600 11px/1.4 Inter,"Segoe UI",Arial,sans-serif;text-align:left;cursor:pointer}.workspace-files-button:hover{background:#f8f8f9;border-color:#d5caf2;color:#5c40bd}.workspace-files-button i{width:16px;color:#795bd1}.file-attachments{display:flex;flex-wrap:wrap;gap:7px;padding:10px 13px 0}.pending-file-chip,.message-file-chip{display:inline-flex;align-items:center;gap:7px;max-width:min(100%,360px);padding:7px 9px;border:1px solid #e8e3ef;border-radius:10px;background:#f8f8f9;color:#514b60;font-size:10px}.pending-file-chip>span,.message-file-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pending-file-chip>i,.message-file-chip>i{color:#795bd1}.pending-file-chip button{width:19px;height:19px;flex:0 0 19px;border:0;border-radius:50%;background:#eee9fb;color:#654bb6;font-size:15px;line-height:1;cursor:pointer}.message-file-list{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;margin-bottom:7px}.message-row.assistant .message-file-list{justify-content:flex-start}.message-file-chip{max-width:240px;background:#fff}.workspace-dialog{width:min(650px,calc(100vw - 28px));max-height:min(80vh,760px);padding:20px;border:1px solid #e8e8ec;border-radius:17px;background:#fff;color:#211d32;box-shadow:0 24px 80px #21153232}.workspace-dialog::backdrop{background:#21153255;backdrop-filter:blur(3px)}.workspace-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #e8e8ec}.workspace-dialog-head h2{margin:0 0 5px;font-size:21px;letter-spacing:-.04em}.workspace-dialog-head small{color:#898494;font-size:11px}.workspace-close{display:grid;width:30px;height:30px}.workspace-file-list{max-height:min(52vh,500px);overflow:auto;padding:7px 0}.workspace-empty{padding:20px 5px;color:#898494;font-size:12px;line-height:1.6;text-align:center}.workspace-file-row{display:flex;align-items:center;gap:10px;padding:10px 4px;border-bottom:1px solid #f0edf5}.workspace-file-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.workspace-file-info strong{overflow:hidden;color:#393447;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.workspace-file-info small{color:#918b9b;font-size:9px}.workspace-file-row button,.workspace-file-row a,.workspace-dialog-actions button{padding:7px 9px;border:1px solid #e8e8ec;border-radius:8px;background:#fff;color:#665b80;font:600 10px/1.2 Inter,"Segoe UI",Arial,sans-serif;text-decoration:none;cursor:pointer}.workspace-file-row button:hover,.workspace-file-row a:hover,.workspace-dialog-actions button:hover{border-color:#d5caf2;background:#f7f4ff;color:#5c40bd}.workspace-file-row .workspace-file-delete{color:#a54b5a}.workspace-dialog-actions{display:flex;align-items:center;gap:10px;padding-top:14px;border-top:1px solid #e8e8ec}.workspace-dialog-actions button{padding:9px 12px;background:#7254d2;color:#fff;border-color:#7254d2}.workspace-dialog-actions span{color:#898494;font-size:10px}:root[data-theme="dark"] .workspace-files-button,:root[data-theme="dark"] .pending-file-chip,:root[data-theme="dark"] .message-file-chip,:root[data-theme="dark"] .workspace-dialog{background:#202020;border-color:#343434;color:#efedf7}:root[data-theme="dark"] .workspace-files-button{color:#c3bdcf}:root[data-theme="dark"] .workspace-files-button:hover{background:#342e45;border-color:#645687}:root[data-theme="dark"] .workspace-file-info strong{color:#e4dfed}:root[data-theme="dark"] .workspace-dialog-head,:root[data-theme="dark"] .workspace-dialog-actions,:root[data-theme="dark"] .workspace-file-row{border-color:#343434}:root[data-theme="dark"] .workspace-file-row button,:root[data-theme="dark"] .workspace-file-row a{background:#282532;border-color:#49415b;color:#d2cae1}@media(max-width:560px){.workspace-file-row{flex-wrap:wrap}.workspace-file-info{flex-basis:100%}.workspace-file-row button,.workspace-file-row a{flex:1;text-align:center}.workspace-dialog-actions{align-items:flex-start;flex-direction:column}}
