/*
 * styles-priority-feed.css — the priority-feed band (#374, scoped out of #318).
 *
 * The pinned "Now" band + recoverable settled-tail cue that sit ABOVE the live
 * #card-stream, dark behind the priority_feed flag (the band ships hidden and is
 * revealed by JS only when it clears the relative floor). Inherits production
 * tokens from styles.css + styles-tokens.css — no forked colors: the one brand
 * accent (--accent) marks "Now", taxonomy color (--cat-*) lives only on the
 * rail / pill / mix dots. Icons come from the #icons.js sprite (.icon).
 */

#priority-band.pf-band {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 8px;
}
#priority-band[hidden] { display: none; }

/* ── Now band ─────────────────────────────────────────────────── */
.pf-now-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 2px 2px 0;
}

.pf-now-card {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 10px 12px 10px 14px;
  background: var(--surface-hi);
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius-md);
}
.pf-now-card .pf-rail {
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3px;
  border-radius: 3px;
  background: var(--cat-color, var(--accent));
}
.pf-meter { display: flex; gap: 2px; flex: 0 0 auto; }
.pf-meter i {
  width: 4px; height: 12px;
  border-radius: 1px;
  background: var(--border);
}
.pf-meter i.on { background: var(--cat-color, var(--accent)); }

.pf-now-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}
.pf-now-card .pf-term {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pf-why {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-2);
}
.pf-why .pf-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cat-color, var(--accent));
}
.pf-pill {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--cat-fg, var(--text-3));
  background: color-mix(in srgb, var(--cat-color, var(--accent)) 18%, var(--surface));
}

/* ── Recoverable settled tail ─────────────────────────────────── */
.pf-tail {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  background: var(--surface-lo);
  border: 1px solid var(--border-sub);
  border-radius: var(--radius-md);
  color: var(--text-3);
  font-size: 12px;
  cursor: pointer;
  text-align: left;
}
.pf-tail:hover { border-color: var(--border); }
.pf-tail .pf-mix { display: inline-flex; gap: 3px; flex: 0 0 auto; }
.pf-tail .pf-mix i {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.pf-tail-text { flex: 1 1 auto; }
.pf-tail-text b { color: var(--text); font-weight: 700; }
.pf-tail .icon { flex: 0 0 auto; color: var(--text-2); }
