.chat-document-list{flex-wrap:wrap;gap:8px;margin:8px 0;display:flex}.chat-document-selection{border:1px solid var(--line);background:var(--paper);border-radius:10px;align-items:center;max-width:100%;display:flex}.chat-document{border:1px solid var(--line);background:var(--paper);border-radius:8px;flex-wrap:wrap;align-items:center;gap:6px;max-width:100%;padding:5px 8px;display:flex}.chat-document-selection .chat-document{background:0 0;border:0;min-width:0}.chat-document>svg{width:20px;height:20px;color:var(--muted);flex-shrink:0}.chat-document-details{min-width:0;max-width:250px}.chat-document-details b{text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:block;overflow:hidden}.chat-document-remove,.chat-document-download{width:26px;height:26px;color:var(--muted);background:0 0;border:0;flex-shrink:0;place-items:center;padding:4px;display:grid}.chat-document-remove{margin-right:3px}.chat-document-remove svg,.chat-document-download svg{width:16px;height:16px}.chat-document-error{color:var(--accent-rose);overflow-wrap:anywhere;flex-basis:100%;font-size:12px}.chat-attachment-controls{justify-content:flex-start;align-items:center;gap:10px;padding:2px 0;display:flex}.chat-attachment-controls>.chat-attach-button{color:var(--muted);background:0 0;flex-shrink:0;padding:6px}.chat-attachment-controls>.chat-attach-button svg{width:20px;height:20px}.chat-attachment-controls>.chat-attach-button:hover{background:var(--paper);color:var(--ink)}.chat-attachment-controls>.chat-attach-button:focus-visible{outline:2px solid var(--violet);outline-offset:2px}.chat-attachment-controls>.generation-action{flex-shrink:0;margin-left:auto}.chat-attachment-row{align-items:center;gap:12px;margin-top:0;display:flex}.chat-attachment-files{overscroll-behavior:contain;flex:1;align-items:center;gap:6px;min-width:0;padding:2px 0;display:flex;overflow-x:auto}.chat-attachment-files>.chat-image-list{padding:3px 4px}.chat-attachment-files .chat-image{width:60px;height:44px}.chat-attachment-files>.chat-image-list,.chat-attachment-files>.chat-document-list{flex-wrap:nowrap;flex:none;margin:0}.chat-attachment-files .chat-document-details{max-width:180px}.chat-document-context{min-width:0;color:var(--muted);align-items:center;gap:4px;margin-left:auto;font-size:12px;line-height:1.4;display:flex;position:relative}.chat-document-context label{cursor:pointer;align-items:center;gap:8px;min-width:0;display:inline-flex}.chat-document-context input{width:16px;height:16px;accent-color:var(--violet);flex-shrink:0;margin:0}.chat-document-context .chat-info-tooltip-content{left:auto;right:0}.chat-attachment-row>.chat-document-context{flex:0 430px}@media (max-width:820px){.chat-document-details{max-width:180px}.chat-attachment-row{flex-wrap:wrap;gap:6px}.chat-attachment-files{flex-basis:100%}.chat-attachment-row>.chat-document-context{flex-basis:auto;margin-left:auto}}
