/* redesign-feedback.css — the "Briefing Feedback" loop UI on the Command Center.
   Resolve buttons on priority/conflict rows + the feedback management panel.
   Theme-aware via existing tokens with safe fallbacks. */

/* Anchor the little resolve button in the top-right of each row. */
.row.prio, .conflict { position: relative; }

.row-resolve {
  position: absolute;
  top: 6px;
  right: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  opacity: .32;
  font-size: 13px;
  line-height: 1;
  padding: 3px 4px;
  border-radius: 6px;
  transition: opacity .12s ease, background .12s ease;
  z-index: 2;
}
.row-resolve:hover { opacity: 1; background: rgba(127, 127, 127, .16); }
/* Keep the resolve control clear of the row's existing check affordance. */
.conflict .row-resolve { top: 8px; right: 8px; }

/* ---- the Briefing Feedback panel ---- */
.fb-help {
  font-size: 12.5px;
  color: var(--ink-faint, #6b7280);
  margin: 0 0 10px;
  line-height: 1.45;
}
.fb-add { display: flex; gap: 6px; margin-bottom: 12px; }
.fb-note-input {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--border, #e2e5ea);
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  background: var(--card, var(--surface, #fff));
  color: inherit;
}
.fb-note-input:focus { outline: none; border-color: var(--accent, #3b82f6); }
.fb-add-btn {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  background: var(--accent, #3b82f6);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.fb-add-btn:hover { filter: brightness(1.06); }

.fb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--border, #eceef1);
}
.fb-text { flex: 1; min-width: 0; font-size: 13px; line-height: 1.4; }
.fb-chip {
  flex: 0 0 auto;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  color: var(--ink-faint, #6b7280);
  background: rgba(127, 127, 127, .14);
}
.fb-chip.resolve { color: var(--green, #16a34a); background: rgba(22, 163, 74, .12); }
.fb-x {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  cursor: pointer;
  opacity: .4;
  font-size: 13px;
  padding: 3px 5px;
  border-radius: 6px;
  color: inherit;
}
.fb-x:hover { opacity: 1; color: var(--red, #e5484d); background: rgba(127, 127, 127, .12); }
.fb-empty { font-size: 13px; color: var(--ink-faint, #6b7280); line-height: 1.45; padding: 4px 0; }
