/* 任务总览：长表格横向滚动，文件仅在管理员主动查看时读取。 */
.task-table { min-width: 1800px; }
.task-table td { vertical-align: middle; }
.task-name-cell { min-width: 200px; max-width: 250px; }
.task-model-cell { min-width: 150px; max-width: 220px; }
.task-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-model-name { font-weight: 600; }
.task-subtext { color: var(--ink-sub); font-size: 12px; line-height: 1.6; margin-top: 3px; }
.task-id { font-family: Consolas, monospace; overflow-wrap: anywhere; white-space: normal; }
.task-time { font-variant-numeric: tabular-nums; }
.task-actions button + button { margin-left: 6px; }
.task-empty { padding: 28px; text-align: center; color: var(--ink-sub); }
.task-feature-badge { display: inline-block; border-radius: 6px; padding: 4px 9px; font-size: 12px; font-weight: 600; line-height: 1.4; }
.task-feature-cyan { background: #e2f5fa; color: #137a92; }
.task-feature-blue { background: #e8f0ff; color: #285bb4; }
.task-feature-violet { background: #f0e9fc; color: #7448a5; }
.task-feature-rose { background: #fbe9f0; color: #b33d6c; }
.task-feature-amber { background: #fff1d8; color: #94610d; }
.task-feature-teal { background: #e0f4ef; color: #237b67; }
.task-feature-indigo { background: #ececff; color: #5955ab; }
.task-feature-gray { background: #edf0f2; color: #626e76; }
.task-files-dialog { width: min(720px, calc(100vw - 40px)); max-height: 85vh; overflow-y: auto; margin: auto; }
.task-files-dialog h3 { margin-bottom: 8px; }
.task-files-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 14px; }
.task-files-message { color: var(--ink-sub); font-size: 13px; line-height: 1.7; margin-bottom: 12px; }
.task-files-error { color: #b84636; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.task-files-error:empty { display: none; }
.task-files-empty { padding: 30px 16px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; color: var(--ink-sub); line-height: 1.7; }
.task-files-list { list-style: none; margin: 0; padding: 0; }
.task-files-list li { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.task-file-info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.task-file-info strong { font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.task-files-list button { flex: none; }
@media (max-width: 600px) {
  .task-files-dialog { padding: 20px; }
  .task-files-list li { gap: 12px; }
}
