.artifact-preview{gap:12px;min-width:0;display:grid}.artifact-preview .source-toolbar{flex-wrap:wrap}.word-preview{border:1px solid var(--border,#dce3eb);background:var(--color-surface-raised,#edf1f5);border-radius:12px;width:100%;height:65vh;min-height:360px}.artifact-table-scroll{border:1px solid var(--border,#dce3eb);background:var(--color-surface,#fff);border-radius:12px;max-height:65vh;overflow:auto}.artifact-table{border-collapse:separate;border-spacing:0;width:100%;color:var(--color-text,#263749);font-size:13px}.artifact-table th,.artifact-table td{border-bottom:1px solid var(--color-border,#e8edf2);border-right:1px solid var(--color-border,#e8edf2);white-space:pre-wrap;overflow-wrap:anywhere;min-width:100px;max-width:420px;padding:10px 14px}.artifact-table thead th{z-index:2;background:var(--color-surface-raised,#edf2f7);font-weight:600;position:sticky;top:0}.artifact-table th:first-child{white-space:nowrap;background:var(--color-surface-raised,#edf2f7);z-index:1;width:56px;min-width:56px;position:sticky;left:0}.artifact-table thead th:first-child{z-index:3}.artifact-table tr:nth-child(2n) td{background:var(--color-surface-subtle,#f8fafc)}.artifact-table td.source-cell{background:var(--color-green-surface,#d7f1e9);border-radius:7px;box-shadow:inset 0 0 0 2px #4c9b88}.artifact-text{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--color-surface-subtle,#f8fafc);border:1px solid var(--color-border,#dce3eb);max-height:65vh;color:var(--color-text,#263749);border-radius:12px;padding:24px;overflow:auto}.artifact-text mark{background:var(--color-green-surface,#d7f1e9);color:inherit;border-radius:4px}.document-source-list{flex-wrap:wrap;gap:8px;max-height:140px;display:flex;overflow:auto}.document-file-list{gap:12px;display:grid}.document-file-card{border:1px solid var(--border,#dce3eb);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:16px;display:flex}.document-file-card strong{overflow-wrap:anywhere}.document-file-card small{margin-top:5px;display:block}.document-preview:has(.artifact-preview){padding:12px;overflow:visible}.document-preview .artifact-preview canvas{max-width:100%}@media (width<=600px){.document-file-card{flex-direction:column;align-items:flex-start}.word-preview{min-height:300px}.artifact-table td{min-width:120px}.artifact-preview .source-toolbar{gap:8px}}
