.task-queue-viewbar{display:flex;align-items:center;gap:4px;padding:7px 10px 0;border-top:1px solid rgba(255,255,255,.04)}
.task-queue-viewbar button{height:27px;padding:0 10px;border:0;border-radius:7px;background:transparent;color:#777d87;font-size:11px;cursor:pointer}
.task-queue-viewbar button.active{background:#292c32;color:#f1f3f6}
.task-history-count{margin-left:auto;color:#676c75;font-size:10px}
.task-history-tools{display:flex;gap:6px;padding:7px 10px}
.task-history-tools[hidden]{display:none}
.task-history-tools input,.task-history-tools select{height:30px;border:1px solid #30343b;border-radius:8px;outline:0;background:#17191d;color:#d8dce2;font:11px inherit}
.task-history-tools input{min-width:0;flex:1;padding:0 9px}
.task-history-tools select{width:82px;padding:0 5px}
.task-history-tools input:focus,.task-history-tools select:focus{border-color:#5b6f92}
.task-history-item{display:grid;grid-template-columns:38px 7px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;border:1px solid #282b31;border-radius:10px;background:#191b1f}
.task-history-item+.task-history-item{margin-top:6px}
.task-history-preview{display:grid;width:38px;height:38px;place-items:center;overflow:hidden;border:1px solid #30343b;border-radius:8px;background:#22252a;color:#797f89;font-size:10px}
.task-history-preview img{width:100%;height:100%;object-fit:cover}
.task-history-dot{width:7px;height:7px;border-radius:50%;background:#7c828b}
.task-history-item.done .task-history-dot{background:#35c778;box-shadow:0 0 8px rgba(53,199,120,.35)}
.task-history-item.error .task-history-dot{background:#ff6d75}
.task-history-item.canceled .task-history-dot{background:#9298a2}
.task-history-main{min-width:0}
.task-history-main b{display:block;overflow:hidden;color:#eef0f3;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.task-history-main small{display:block;margin-top:3px;overflow:hidden;color:#777d87;font-size:9px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}
.task-history-main em{display:block;margin-top:3px;overflow:hidden;color:#969ca5;font-size:9px;font-style:normal;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}
.task-history-actions{display:flex;flex-direction:column;gap:4px}
.task-history-actions button{height:23px;padding:0 7px;border:1px solid #343941;border-radius:7px;background:#22252a;color:#cdd1d7;font-size:9px;cursor:pointer;white-space:nowrap}
.task-history-actions button:hover{border-color:#576273;color:#fff}
.task-history-actions .task-history-params{border-color:#2f4264;background:#1d2a3e;color:#b9d2ff}
.task-history-empty{padding:23px 12px;color:#6d727b;font-size:11px;text-align:center}
.task-queue.history-view .task-queue-list{max-height:300px}
.task-queue.history-view .task-queue-actions #pauseTaskQueue{display:none}
.task-queue.history-view .task-queue-actions #clearTaskQueue{color:#9da2aa}
@media(max-height:720px){.task-queue.history-view .task-queue-list{max-height:220px}}
@media(max-width:720px){.task-history-tools{flex-wrap:wrap}.task-history-tools input{flex-basis:100%}.task-history-tools select{flex:1}.task-history-item{grid-template-columns:34px 7px minmax(0,1fr)}.task-history-preview{width:34px;height:34px}.task-history-actions{grid-column:1/-1;flex-direction:row;justify-content:flex-end}}
