.response-files{margin:24px 0 8px;min-width:0}
.response-files-heading{display:flex;align-items:center;gap:8px;margin-bottom:10px;color:var(--muted);font-size:12px;font-weight:600}
.response-files-count{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border:1px solid var(--border);border-radius:6px;font-size:10px;font-variant-numeric:tabular-nums}
.response-files-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:10px;max-width:860px}
.response-files-grid:has(>.file-present-card:only-child){max-width:480px}
[data-theme] .response-files .file-present-card,.response-files .file-present-card{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text);min-width:0;transition:border-color .15s}
.response-files .file-present-card:hover{border-color:var(--accent)}
[data-theme] .response-files .file-type-icon,.response-files .file-type-icon{position:relative;align-self:start;width:42px;height:50px;overflow:visible;background:transparent!important;color:var(--accent)!important;border-radius:0}
.response-files .file-type-icon svg{width:32px;height:38px;align-self:start;opacity:.65}
.response-files .file-type-icon span{position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:max-content;white-space:nowrap;padding:3px 5px;border:1px solid var(--border);border-radius:4px;background:var(--surface-2);color:var(--text);font-size:8px;line-height:1.1;letter-spacing:.02em}
.response-files .file-open-title{display:block;width:100%;max-width:100%;padding:0;border:0;border-radius:3px;background:transparent;color:var(--text);text-align:left;font:inherit;cursor:pointer}
.response-files .chat-file-info strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.45;font-weight:600}
.response-files .chat-file-info small{font-size:11px;line-height:1.6;margin-top:5px;color:var(--muted);overflow-wrap:anywhere}
.response-files .chat-file-actions{grid-column:2;display:flex;flex-wrap:wrap;gap:7px;margin-top:1px}
.response-files .chat-file-actions button{width:30px;height:30px;font-size:16px}
[data-theme] .response-files .file-download-action,.response-files .file-download-action{display:inline-flex;gap:6px;width:auto;height:30px;padding:0 9px;border:1px solid var(--border);border-radius:7px;color:var(--text)!important;background:var(--surface-2)!important;font-size:11px;font-weight:500}
.response-files .file-download-action:hover{border-color:var(--accent)}
.response-files :is(button,a):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.server-export-card.message-files{display:block}
@media(max-width:600px){.response-files{margin-top:20px}.response-files-grid{grid-template-columns:minmax(0,1fr)}.response-files .file-present-card{padding:13px;gap:10px}.response-files .chat-file-info strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.response-files .file-present-card{transition:none}}
