/* 作者：youwei。公共队列保持紧凑且独立于页面主题，长分支名在窄屏换行。 */
.build-queue { background: #fff; border: 1px solid #e1e5e8; border-radius: 12px; padding: 18px 22px; margin-bottom: 24px; color: #253540; }
.queue-heading { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.queue-heading h2 { font-size: 14px; margin: 0; }
#queue-count { font-size: 12px; color: #5b6e7b; }
.queue-hint { margin-left: auto; font-size: 11px; color: #647580; }
.queue-list { list-style: none; padding: 0; margin: 12px 0 0; max-height: 260px; overflow: auto; }
.queue-item { display: grid; grid-template-columns: 108px minmax(0, 1fr) 76px 156px; align-items: center; gap: 12px; border-top: 1px solid #edf0f2; padding: 12px 0; font-size: 12px; }
.queue-status { color: #886526; }
.queue-item.running .queue-status { color: #245c9c; font-weight: 650; }
.queue-branch { overflow-wrap: anywhere; font-weight: 550; }
.queue-configuration { color: #526573; }
.queue-time, .queue-empty { color: #647580; font-size: 11px; }
.queue-empty { padding: 3px 0; }
@media (max-width: 600px) { .build-queue { padding: 16px; } .queue-hint { width: 100%; margin: 0; } .queue-item { grid-template-columns: 100px minmax(0, 1fr) 56px; gap: 8px; } .queue-time { grid-column: 2 / -1; } }

/* 队列标签与下载卡片采用同一强调色，长文本可以换行。 */
.queue-label { grid-column: 2 / -1; justify-self: start; padding: 4px 8px; border-radius: 5px; color: #512b88; background: #ede5ff; font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }
