/* Research queue pages: boards 3-17 to 3-22. Tokens and shared parts come from sk.css. */
.wrapq { max-width: 1152px; margin: 0 auto; padding: 16px var(--gutter-phone) 56px; }
.wrapq h1 { font-size: var(--h1-phone); line-height: 1; margin: 0; }
.wrapq .line { display: flex; align-items: center; gap: 8px; margin: 0 0 22px; font-size: 14px; color: var(--slate); }
.wrapq .line a { font-weight: 600; display: inline-flex; align-items: center; min-height: var(--tap); }
.dot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.status { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 17px; font-weight: 600; }
.status .dot { width: 10px; height: 10px; background: none; border: 2px solid var(--ink); }
.status .dot.none { border: 1.5px dashed var(--ink); }
.sub { margin: 6px 0 0; font-size: 17px; line-height: 1.5; color: var(--slate); }
.grp { margin-top: 40px; padding-top: 18px; border-top: 1.5px solid var(--ink); }
.grp h2 { font-size: var(--h2); line-height: 1.15; }
.grp h2.move { font-size: 24px; }
.grp .help { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--slate); }
@media (min-width: 900px) { .wrapq { padding: 28px var(--gutter-desk) 96px; } .wrapq h1 { font-size: var(--h1-desk); } }

/* stage: vertical on the phone, horizontal on the desktop; the faded dashed track is always paired with the stage names */
.stages { list-style: none; margin: 20px 0 0; padding: 0; position: relative; }
.stages li { position: relative; padding: 0 0 28px 76px; min-height: 56px; }
.stages li:last-child { padding-bottom: 0; }
.stq { position: absolute; left: 12px; top: 0; width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--paper); z-index: 1; }
.stq.fut { border: 2px dashed var(--fade); }
.stq.cur { background: var(--ochre); border-color: var(--ink); }
.railf { position: absolute; left: 30px; width: 4px; top: 40px; bottom: 0; background: repeating-linear-gradient(to bottom, var(--line) 0 8px, transparent 8px 15px); }
.stages b { display: block; font-size: 16px; color: var(--slate); }
.stages li.cur b { color: var(--ink); }
.stages .note { display: block; font-size: 13px; color: var(--slate); }
@media (min-width: 900px) {
  .stages { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 760px; }
  .stages::before { content: ""; position: absolute; left: 20px; right: 20px; top: 18px; height: 4px; background: repeating-linear-gradient(to right, var(--line) 0 8px, transparent 8px 15px); }
  .stages li { padding: 52px 0 0; min-height: 104px; text-align: center; }
  .stages li:first-child { text-align: left; } .stages li:last-child { text-align: right; }
  .stq { left: 50%; margin-left: -20px; }
  .stages li:first-child .stq { left: 2px; margin-left: 0; } .stages li:last-child .stq { left: auto; right: 2px; margin-left: 0; }
  .railf { display: none; }
}

/* place and queue list */
.place { margin: 8px 0 0; font-size: 22px; font-weight: 700; }
.qlist { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.qrow { display: grid; grid-template-columns: 40px minmax(0, 1fr) 96px; align-items: center; gap: 14px; min-height: 56px; padding: 0 12px; border-bottom: 1px solid var(--rule); }
.qrow.hd { min-height: 0; padding: 8px 12px; font-size: 13px; font-weight: 600; color: var(--slate); }
.qrow.on { background: var(--soft); box-shadow: inset 4px 0 0 var(--ochre); }
.qrow .n { font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.qrow.on .n { color: var(--ochre); }
.qrow a { display: inline-flex; align-items: center; min-height: var(--tap); font-size: 17px; }
.qrow.on a { font-weight: 700; text-decoration: none; }
.qrow .c { text-align: right; font-size: 14px; color: var(--slate); }
.tag { display: inline-block; margin-left: 6px; padding: 0 6px; border: 1px solid var(--line); border-radius: 3px; font-size: 12px; font-weight: 500; color: var(--slate); vertical-align: 2px; }
@media (min-width: 900px) { .qrow { grid-template-columns: 56px minmax(0, 1fr) 200px; } }

.join { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.grp .dash-slot { margin-top: 14px; max-width: 560px; }

/* info icon: help lines behind it */
.ic { width: 24px; height: 24px; vertical-align: middle; display: inline-flex; align-items: center; justify-content: center; color: var(--slate); }
.ip { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--slate); }
.ip[hidden] { display: none; } .ip > span { display: block; }
.hrow { display: flex; align-items: center; gap: 8px; } .hrow h2 { margin: 0; }
.status .ic, .line .ic { flex: 0 0 auto; }
.join { align-items: center; }
