/* Documents in a chat (chat-files.js): the paperclip and the files added.
   The same file in every TSS app. Clay from tss-nav.css. */
.chat-attach { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; min-width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 8px; border: 1px solid var(--tss-clay, #A9512F); background: var(--surface, #fff); color: var(--tss-clay, #A9512F); cursor: pointer; }
.chat-attach:hover { background: var(--tss-clay-subtle, #F8EAE4); }
.chat-attach:focus-visible { outline: 2px solid var(--focus, #1F6FB2); outline-offset: 2px; }
.chat-attach:disabled { opacity: .5; cursor: default; }
.chat-attach.is-busy { opacity: .7; cursor: progress; }
.chat-attach svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat-files-input { display: none; }
.chat-files { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: .4rem 0; padding: 0; font: .85rem/1.3 "DM Sans", system-ui, sans-serif; }
.chat-files[hidden] { display: none; }
.chat-file { display: inline-flex; align-items: center; gap: .45rem; max-width: 100%; padding: .3rem .6rem; border-radius: 999px; border: 1px solid var(--tss-clay, #A9512F); background: var(--tss-clay-subtle, #F8EAE4); color: var(--text, inherit); }
.chat-file-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 16rem; }
.chat-file-note { opacity: .75; white-space: nowrap; }
.chat-file.is-adding { opacity: .7; }
.chat-file.is-error { border-color: #B3261E; }
.chat-file-dismiss { border: 0; background: none; color: inherit; cursor: pointer; font-size: 1rem; line-height: 1; padding: 0 .1rem; min-height: 0; }
.chat-drop { outline: 2px dashed var(--tss-clay, #A9512F); outline-offset: 4px; }
