/* Dialler suggestions (pace-suggest.js): the wallboard's card and the strip
   on each Live floor campaign card. style.css tokens only, so both themes
   work. */
.ps-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 12px; }
.ps-head h2 { margin: 0; }
.ps-note { font-size: 13.5px; color: var(--muted); }
.ps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ps-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 12px; align-items: start;
  padding: 12px 14px; border-radius: var(--radius-sm); background: var(--panel-2); border-left: 5px solid var(--accent); }
.ps-item[data-sev="alert"] { border-left-color: var(--bad); background: var(--bad-soft); }
.ps-item[data-sev="warn"] { border-left-color: var(--warn); background: var(--warn-soft); }
.ps-sev { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 10px; border-radius: var(--pill);
  background: var(--accent-soft); color: var(--accent-strong); white-space: nowrap; }
.ps-item[data-sev="alert"] .ps-sev { background: var(--panel); color: var(--bad-text); }
.ps-item[data-sev="warn"] .ps-sev { background: var(--panel); color: var(--warn-text); }
.ps-text { font-weight: 700; font-size: 15px; color: var(--text); overflow-wrap: anywhere; }
.ps-camp { font-weight: 900; }
.ps-why { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
.ps-item[data-sev="alert"] .ps-why { color: var(--bad-text); }
.ps-item[data-sev="warn"] .ps-why { color: var(--warn-text); }
.ps-acts { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.ps-acts .ps-link, .ps-acts .ps-snooze { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; border-radius: var(--pill);
  font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.ps-acts .ps-link { background: var(--panel); color: var(--accent-strong); text-decoration: none; border: 2px solid var(--border); }
.ps-acts .ps-link:hover { border-color: var(--accent); }
.ps-acts .ps-snooze { border-width: 2px; }
@media (pointer: coarse) { .ps-acts .ps-link, .ps-acts .ps-snooze { min-height: 44px; } }

/* Live floor: the strip sits under the campaign's header line. */
.lv-camp > .hd { order: -2; }
.lv-camp > .ps-strip { order: -1; }
.ps-strip .ps-item { padding: 10px 12px; grid-template-columns: auto minmax(0, 1fr); }
.ps-strip .ps-acts { grid-column: 2; justify-content: flex-start; }
.ps-strip .ps-text { font-size: 14px; }
.ps-strip .ps-why { font-size: 12.5px; }

@media (max-width: 640px) {
  .ps-item { grid-template-columns: minmax(0, 1fr); }
  .ps-sev { justify-self: start; }
  .ps-acts { justify-content: flex-start; }
}
