/* ============================================================
   Inbox promote destinations + unpromoted inbox badge
   Uses only the custom properties already defined in
   css/workbook.css. No new colour primitives.
   ============================================================ */

/* ---------- "where does this go?" selector ---------- */

.ideas-promote-dest {
  margin-bottom: 18px;
}
.ideas-promote-dest-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}
.ideas-promote-dest-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ideas-promote-dest-btn {
  flex: 1 1 140px;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 13px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.ideas-promote-dest-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}
.ideas-promote-dest-btn.active {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--text-primary);
}
.ideas-promote-dest-btn .dest-name {
  display: block;
  font-weight: 500;
}
.ideas-promote-dest-btn .dest-hint {
  display: block;
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 2px;
}
.ideas-promote-dest-btn.active .dest-hint { color: var(--text-secondary); }

/* ---------- unpromoted inbox badge on the lightbulb ---------- */

/* Deliberately NOT setting position on .ideas-floating-btn here: it is
   already `position: fixed` in workbook.css, which is what keeps it pinned
   to the viewport, and which already anchors this absolutely-positioned
   badge. Overriding it to `relative` drops the button back into the document
   flow and un-sticks it. */

.ideas-inbox-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--bg-deep);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 20px;
  text-align: center;
  border: 2px solid var(--bg-deep);
  pointer-events: none;
}
.ideas-inbox-badge[hidden] { display: none !important; }
