/* REQ-126: the Merge queue. The colour tokens (:root) and shared components are in ../styles.css; this file never defines :root variables. */

/* REQ-72.3: the Merge queue. A row is a card: repo#n and the title (the
   GitHub link), the sentence saying who merges it and what it waits on, then
   chips with a shape and a label (Pablo). Read-only. */
.mq-status { color: var(--mute); margin: 0 0 12px; font-size: 14px; }
.mq-unknown { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: var(--needs-soft); color: var(--ink); box-shadow: inset 3px 0 0 var(--needs); font-size: 14px; }
.mq-group { margin: 0 0 22px; }
.mq-group h2 { font-size: 16px; margin: 0 0 8px; }
.mq-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mq-row { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mq-row.ready { box-shadow: inset 3px 0 0 var(--done); }
.mq-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-width: 0; }
.mq-ref { font: 700 12px/1.4 var(--font-mono); color: var(--mute); white-space: nowrap; }
.mq-title { color: var(--accent); font-weight: 650; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.mq-title:hover { text-decoration: underline; }
.mq-title:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.mq-says { margin: 0; font-size: 14.5px; color: var(--ink); }
.mq-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.mq-chip { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 0 9px; font: 600 12px/1.8 var(--font-mono); white-space: nowrap; color: var(--ink); background: var(--sunken); }
.mq-chip.t-ok { color: var(--done); background: var(--done-soft); }
.mq-chip.t-bad { color: var(--blocked); background: var(--blocked-soft); }
.mq-chip.t-warn { color: var(--needs); background: var(--needs-soft); box-shadow: inset 0 0 0 1.5px var(--needs); }
.mq-chip.t-none, .mq-chip.t-run { color: var(--mute); }
.mq-chip.t-run .mq-glyph { display: inline-block; animation: mq-spin 1.6s linear infinite; }
@keyframes mq-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mq-chip.t-run .mq-glyph { animation: none; } }
.mq-who { color: var(--mute); font-size: 13px; }
.mq-none { padding: 24px; text-align: center; border: 1px dashed var(--line); border-radius: 12px; color: var(--mute); }
/* REQ-120: the hold chip's link takes the chip's colour, underlined. */
.mq-chip a { color: inherit; text-decoration: underline; }
/* REQ-188.2 (mockup m1): the review skill an approval names, its own chip after the approval. */
.mq-chip.c-skill { color: var(--accent); background: var(--accent-soft); }
