/* PORTED VERBATIM from vo-app-marketing-hub/apps/Marketing-Hub/marketing-hub-briefing.css, minus 1 rule(s)
   whose selectors name a class crm.css / ax-containers.css already own.
   DO NOT EDIT — node tools/port-marketing-hub.cjs */
/* ====================================================================
   Marketing Hub — Daily Briefing tracker
   Status-only view. Review + publish happen on the public website.
   ==================================================================== */

.mh-briefing-tracker { min-height: 560px; padding: 0; }

.mh-tk-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mh-tk-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.mh-tk-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 4px;
}

.mh-tk-title {
  margin: 0 0 4px 0;
  font-size: 22px;
  color: #1a1a2e;
}

.mh-tk-sub {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  max-width: 620px;
}

.mh-tk-refresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}

.mh-tk-refresh:hover { background: #f8fafc; border-color: #cbd5e1; }

/* ── Pending / idle card ──────────────────────────────── */

.mh-tk-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.mh-tk-card--pending {
  border-color: #fde68a;
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 55%);
}

.mh-tk-card--idle {
  background: #f8fafc;
  border-style: dashed;
}

.mh-tk-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.mh-tk-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.mh-tk-dot--pending {
  background: #e94560;
  box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.7);
  animation: mh-bf-pulse 1.8s infinite;
}

.mh-tk-dot--idle { background: #cbd5e1; }

.mh-tk-status-label { color: #334155; }

.mh-tk-since { color: #94a3b8; font-weight: 500; text-transform: none; letter-spacing: 0; }

.mh-tk-headline {
  margin: 0 0 6px 0;
  font-size: 20px;
  line-height: 1.3;
  color: #1a1a2e;
}

.mh-tk-deck {
  margin: 0 0 14px 0;
  font-size: 14px;
  color: #475569;
  line-height: 1.55;
}

.mh-tk-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px 18px;
  padding: 12px 0 16px;
  border-top: 1px solid #f1f5f9;
  margin-top: 12px;
  font-size: 12px;
  color: #475569;
}

.mh-tk-meta strong {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 2px;
}

.mh-tk-meta code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  color: #1a1a2e;
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: 4px;
}

.mh-tk-muted { color: #94a3b8; }

.mh-tk-verdict--ok   { color: #15803d; font-weight: 600; }

.mh-tk-verdict--warn { color: #b45309; font-weight: 600; }

.mh-tk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.mh-tk-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.mh-tk-btn--primary { background: #1a1a2e; color: #fff; }

.mh-tk-btn--primary:hover { background: #0f0f1e; }

.mh-tk-btn--ghost { background: #fff; color: #334155; border-color: #e5e7eb; }

.mh-tk-btn--ghost:hover { background: #f8fafc; border-color: #cbd5e1; }

.mh-tk-btn--ok     { background: #16a34a; color: #fff; }

.mh-tk-btn--ok:hover     { background: #15803d; }

.mh-tk-btn--warn   { background: #ca8a04; color: #fff; }

.mh-tk-btn--warn:hover   { background: #a16207; }

.mh-tk-btn--danger { background: #dc2626; color: #fff; }

.mh-tk-btn--danger:hover { background: #b91c1c; }

.mh-tk-btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.mh-bf-modal {
  position: fixed; inset: 0;
  z-index: 10000;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.mh-bf-modal[hidden] { display: none; }

.mh-bf-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}

.mh-bf-modal-card {
  position: absolute;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mh-bf-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  background: rgba(15, 23, 42, 0.6);
  border: 0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 20px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.mh-bf-modal-close:hover { background: rgba(15, 23, 42, 0.85); }

.mh-bf-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.mh-bf-frame {
  flex: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

/* ── Recent runs list ──────────────────────────────────── */

.mh-tk-recent {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 20px;
}

.mh-tk-section-title {
  margin: 0 0 12px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.mh-tk-run-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mh-tk-run {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid #f1f5f9;
}

.mh-tk-run:last-child { border-bottom: 0; }

.mh-tk-run-main { min-width: 0; flex: 1; }

.mh-tk-run-title {
  font-size: 14px;
  color: #1a1a2e;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mh-tk-run-meta {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.mh-tk-run-link {
  color: #e94560;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}

.mh-tk-run-link:hover { text-decoration: underline; }

/* ── Small button variant ──────────────────────────────── */

.mh-tk-btn--sm {
  padding: 6px 12px;
  font-size: 12px;
}

/* ── Critique notes + TL;DR in pending card ───────────── */

.mh-tk-notes {
  margin: 12px 0 0;
  padding: 10px 14px;
  background: #fefce8;
  border-left: 3px solid #fde68a;
  border-radius: 4px;
}

.mh-tk-notes-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #92400e;
  margin-bottom: 5px;
}

.mh-tk-notes-body {
  margin: 0;
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
}

.mh-tk-tldr { margin: 12px 0 0; }

.mh-tk-tldr-list {
  margin: 6px 0 0 18px;
  padding: 0;
  font-size: 13px;
  color: #374151;
  line-height: 1.65;
}

.mh-tk-tldr-list li { margin-bottom: 3px; }

/* ── Pipeline steps ─────────────────────────────────────── */

.mh-pipe {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 20px;
}

.mh-pipe-steps {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 4px;
}

.mh-pipe-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 90px;
  padding: 8px 6px;
  border-radius: 10px;
}

.mh-pipe-arrow {
  align-self: center;
  color: #d1d5db;
  font-size: 13px;
  padding: 0 2px;
  margin-top: -6px;
}

.mh-pipe-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  background: #f1f5f9;
  color: #94a3b8;
  flex-shrink: 0;
}

.mh-pipe-step--done .mh-pipe-icon-wrap {
  background: #dcfce7;
  color: #16a34a;
}

.mh-pipe-step--warn .mh-pipe-icon-wrap {
  background: #fef3c7;
  color: #b45309;
}

.mh-pipe-step--waiting .mh-pipe-icon-wrap {
  background: #eff6ff;
  color: #3b82f6;
  box-shadow: 0 0 0 0 rgba(59,130,246,0.5);
  animation: mh-pipe-pulse 2s infinite;
}

@keyframes mh-pipe-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(59,130,246,0.4); }
  70%  { box-shadow: 0 0 0 7px rgba(59,130,246,0); }
  100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); }
}

.mh-pipe-label {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

.mh-pipe-step--future .mh-pipe-label { color: #94a3b8; }

.mh-pipe-detail {
  font-size: 10px;
  color: #6b7280;
  margin-top: 2px;
  white-space: nowrap;
}

.mh-pipe-step--future .mh-pipe-detail { color: #cbd5e1; }

.mh-pipe-note {
  font-size: 10px;
  color: #92400e;
  margin-top: 4px;
  max-width: 120px;
  white-space: normal;
  text-align: center;
  line-height: 1.4;
}

/* ── Briefing subscribers section ───────────────────────── */

.mh-subs-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 20px;
}

.mh-subs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mh-subs-count {
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0;
  text-transform: none;
}

.mh-subs-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mh-subs-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  border-bottom: 1px solid #f1f5f9;
}

.mh-subs-item:last-child { border-bottom: 0; }

.mh-subs-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e0e7ff;
  color: #4338ca;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mh-subs-name {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a2e;
}

.mh-subs-title {
  font-size: 11px;
  color: #6b7280;
  margin-top: 1px;
}

/* ── Connect panel (person search) ───────────────────────── */

.mh-sub-panel {
  margin: 8px 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
}

.mh-sub-panel-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.mh-sub-search {
  flex: 1;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 13px;
  color: #1a1a2e;
  outline: none;
  background: #fff;
}

.mh-sub-search:focus { border-color: #6366f1; box-shadow: 0 0 0 2px rgba(99,102,241,0.15); }

.mh-sub-close {
  background: none;
  border: 0;
  font-size: 18px;
  color: #94a3b8;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
}

.mh-sub-close:hover { color: #374151; }

.mh-sub-results {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  max-height: 220px;
  overflow-y: auto;
}

.mh-sub-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

.mh-sub-result:hover { background: #eff6ff; }

.mh-sub-result--empty { cursor: default; color: #94a3b8; font-size: 12px; }

.mh-sub-result--empty:hover { background: none; }

.mh-sub-result--already { opacity: 0.6; cursor: default; }

.mh-sub-result--already:hover { background: none; }

.mh-sub-res-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e0e7ff;
  color: #4338ca;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mh-sub-res-info { flex: 1; min-width: 0; }

.mh-sub-res-name { font-size: 13px; font-weight: 500; color: #1a1a2e; }

.mh-sub-res-title { font-size: 11px; color: #6b7280; margin-top: 1px; }

.mh-sub-res-badge {
  font-size: 10px;
  font-weight: 600;
  background: #dcfce7;
  color: #16a34a;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

.mh-sub-connecting {
  padding: 14px 16px;
  font-size: 13px;
  color: #6b7280;
}

/* ── Nav pulse (retained from previous version) ────────── */

.ph-nav-pulse {
  display: inline-block;
  width: 8px; height: 8px;
  background: #e94560;
  border-radius: 50%;
  margin-left: 6px;
  box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.7);
  animation: mh-bf-pulse 1.8s infinite;
}

@keyframes mh-bf-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(233,69,96,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(233,69,96,0); }
  100% { box-shadow: 0 0 0 0 rgba(233,69,96,0); }
}

/* ── Subscriber stats row ───────────────────────────────── */

.mh-subs-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.mh-subs-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.mh-subs-stat--active { color: #15803d; }

.mh-subs-stat--unsub  { color: #b45309; }

/* ── Subscriber unsubscribe button (× per row) ──────────── */

.mh-subs-unsub-btn {
  margin-left: auto;
  background: none;
  border: 0;
  padding: 4px;
  cursor: pointer;
  color: #cbd5e1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}

.mh-subs-unsub-btn:hover { color: #dc2626; background: #fee2e2; }

/* ── Empty state ────────────────────────────────────────── */

.mh-subs-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 16px 20px;
  color: #94a3b8;
  text-align: center;
}

.mh-subs-empty p { margin: 0; font-size: 13px; }

.mh-subs-empty-sub { font-size: 12px !important; color: #b0bec5; }

.mh-subs-empty strong { color: #475569; }

/* ── Inline error banner ────────────────────────────────── */

.mh-subs-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 12px;
  color: #b91c1c;
  margin-bottom: 10px;
}

/* ── Re-subscribe confirmation banner ───────────────────── */

.mh-resub-confirm {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 8px 0;
}

.mh-resub-icon { color: #d97706; flex-shrink: 0; margin-top: 1px; }

.mh-resub-body { flex: 1; font-size: 13px; color: #374151; line-height: 1.5; }

.mh-resub-actions { display: flex; gap: 8px; margin-top: 10px; }

/* ── Previously unsubscribed section ───────────────────── */

.mh-unsub-section {
  border-top: 1px solid #f1f5f9;
  margin-top: 12px;
  padding-top: 8px;
}

.mh-unsub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 4px 2px;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.mh-unsub-toggle:hover { color: #374151; }

.mh-unsub-toggle svg { flex-shrink: 0; }

.mh-unsub-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mh-unsub-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 4px;
  border-bottom: 1px solid #f8fafc;
}

.mh-unsub-item:last-child { border-bottom: 0; }

.mh-unsub-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  background: #fef3c7;
  color: #92400e;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.mh-subs-avatar--muted { background: #f1f5f9; color: #94a3b8; }

.mh-subs-name--muted   { color: #94a3b8; }

.mh-subs-info          { flex: 1; min-width: 0; }

/* ── Badge colour variants in search results ────────────── */

.mh-sub-res-badge--green { background: #dcfce7; color: #15803d; }

.mh-sub-res-badge--red   { background: #fee2e2; color: #b91c1c; }

.mh-sub-result--unsub:hover { background: #fff7ed; }

/* ── Connecting spinner ─────────────────────────────────── */

.mh-sub-spin {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #e5e7eb;
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: mh-spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 4px;
}

@keyframes mh-spin {
  to { transform: rotate(360deg); }
}

/* ── Approve preview overlay ────────────────────────────── */

.bf-ap-overlay {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.bf-ap-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(3px);
}

.bf-ap-panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(15,23,42,0.22), 0 4px 12px rgba(15,23,42,0.1);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bf-ap-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 20px 14px;
  border-bottom: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.bf-ap-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #15803d;
  margin-bottom: 3px;
}

.bf-ap-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
}

.bf-ap-x {
  background: none;
  border: 0;
  font-size: 22px;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  padding: 2px 6px;
  margin-top: -2px;
}

.bf-ap-x:hover { color: #374151; }

.bf-ap-stat-row {
  display: flex;
  gap: 0;
  padding: 16px 20px 0;
  flex-shrink: 0;
}

.bf-ap-stat {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: 10px;
  background: #f0fdf4;
}

.bf-ap-stat + .bf-ap-stat { margin-left: 8px; }

.bf-ap-stat--warn { background: #fff7ed; }

.bf-ap-stat-val {
  font-size: 26px;
  font-weight: 800;
  color: #15803d;
  line-height: 1;
}

.bf-ap-stat--warn .bf-ap-stat-val { color: #c2410c; }

.bf-ap-stat-lbl {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-top: 4px;
}

.bf-ap-hint {
  margin: 10px 20px 0;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
  flex-shrink: 0;
}

.bf-ap-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0 0 4px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.bf-ap-row {
  padding: 8px 20px;
  border-bottom: 1px solid #f8fafc;
  transition: opacity 0.2s;
}

.bf-ap-row:last-child { border-bottom: 0; }

.bf-ap-row--excluded { opacity: 0.45; }

.bf-ap-check-label {
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
}

.bf-ap-check {
  cursor: pointer;
  width: 15px;
  height: 15px;
  accent-color: #16a34a;
  flex-shrink: 0;
}

.bf-ap-info { flex: 1; min-width: 0; }

.bf-ap-name  { font-size: 13px; font-weight: 500; color: #1a1a2e; }

.bf-ap-title { font-size: 11px; color: #6b7280; margin-top: 1px; }

.bf-ap-empty {
  padding: 24px 20px;
  font-size: 13px;
  color: #94a3b8;
  text-align: center;
}

.bf-ap-empty strong { color: #475569; }

.bf-ap-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
  flex-shrink: 0;
}

/* Search hint line */
.mh-sub-hint {
  padding: 7px 12px 8px;
  font-size: 11px;
  color: #94a3b8;
  border-top: 1px solid #f1f5f9;
}

/* Search icon */
.mh-sub-search-icon {
  color: #94a3b8;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

/* Modal header with inline approve actions */
.mh-bf-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px 12px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 12px 12px 0 0;
  flex-shrink: 0;
}

.mh-bf-modal-header-text {
  min-width: 0;
  flex: 1;
}

.mh-bf-modal-headline {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mh-bf-modal-sub {
  font-size: 12px;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mh-bf-modal-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mh-bf-modal-card {
  display: flex !important;
  flex-direction: column !important;
}

.mh-bf-body {
  flex: 1;
  min-height: 0;
}

/* ── Home-page review banner ───────────────────────────── */
.mh-review-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid #16a34a;
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 2px 8px rgba(22,163,74,0.08);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.mh-review-banner:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(22,163,74,0.18);
  border-color: #15803d;
}

.mh-review-banner:focus-visible {
  outline: 3px solid #16a34a;
  outline-offset: 2px;
}

.mh-review-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mh-review-banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(22,163,74,0.2);
  animation: mhReviewPulse 2s infinite;
}

@keyframes mhReviewPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22,163,74,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(22,163,74,0.08); }
}

.mh-review-banner-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #15803d;
  margin-bottom: 2px;
}

.mh-review-banner-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 480px;
}

.mh-review-banner-sub {
  font-size: 12px;
  color: #64748b;
  margin-top: 1px;
}

.mh-review-banner-actions {
  flex-shrink: 0;
}

.mh-review-banner-btn {
  padding: 8px 18px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s;
}

.mh-review-banner-btn:hover { opacity: 0.85; }

.mh-review-banner-btn--preview {
  background: #16a34a;
  color: #fff;
}
