/* ============================================================
   marketing.css — /features/marketing-manager
   The AI Marketing Manager: a coordinator that watches the
   schedule + ledger, surfaces the highest-value marketing move,
   drafts the campaign in the practice's voice, and waits for a
   human yes. Signature visual: the SUGGESTIONS BOARD — a live
   feed of proposed campaigns with target counts + projected
   value, one "proposing" row pulsing, a running projected total.
   Light theme-sand surface; scoped under .mkt. Reuses global
   tokens (--ink, --paper, --line, --mint, --indigo, --periwinkle).
   ============================================================ */

.mkt {
  --mkt-blue: #5a82c2;
  --mkt-deep: #3d63a4;
  --mkt-lite: #8aa6dd;
  --mkt-wash: color-mix(in srgb, #5a82c2 8%, #fff);
  --mkt-mint: var(--mint);
  --mkt-t: 12s;
}

/* ---------- hero ---------- */
.mkt-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 88% 0%, var(--mkt-wash), transparent 60%),
    radial-gradient(60% 50% at 8% 100%, color-mix(in srgb, var(--periwinkle) 60%, transparent), transparent 62%),
    linear-gradient(180deg, #fff, var(--paper));
}
.mkt-hero .wrap { position: relative; z-index: 1; }
.mkt-hero .eyebrow { color: var(--mkt-deep); }
.mkt-hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.mkt-hero h1 .grad {
  background: linear-gradient(100deg, var(--mkt-deep), var(--mkt-lite));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mkt-hero .lead { max-width: 56ch; }
.mkt-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.mkt-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

/* ---------- the suggestions board (signature) ---------- */
.mkt-board {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, #fff, var(--paper));
  box-shadow: var(--shadow-float);
  padding: clamp(16px, 2vw, 22px);
  overflow: hidden;
}
.mkt-board-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
}
.mkt-board-title {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mkt-deep);
}
.mkt-board-title i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--mkt-mint);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--mkt-mint) 40%, transparent);
  animation: mktPulse 2.4s ease-out infinite;
}
.mkt-board-tot { font-family: var(--mono); font-size: 11.5px; color: var(--ink-40); }
.mkt-board-tot b { color: var(--ink); font-weight: 700; }

.mkt-sugs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mkt-sug {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center; gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-mid);
  background: #fff;
  opacity: 0; transform: translateY(8px);
  animation: mktReveal .6s cubic-bezier(.2,.8,.2,1) forwards;
}
.mkt-sug:nth-child(1) { animation-delay: .05s; }
.mkt-sug:nth-child(2) { animation-delay: .18s; }
.mkt-sug:nth-child(3) { animation-delay: .31s; }
.mkt-sug:nth-child(4) { animation-delay: .44s; }
.mkt-sug:nth-child(5) { animation-delay: .57s; }
.mkt-sug-ic {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center; font-size: 16px;
  background: var(--mkt-wash);
  border: 1px solid color-mix(in srgb, var(--mkt-blue) 22%, #fff);
}
.mkt-sug-body { min-width: 0; }
.mkt-sug-name { display: block; font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.mkt-sug-meta {
  display: block;
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-40);
  margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mkt-sug-meta b { color: var(--mkt-deep); font-weight: 600; }
.mkt-sug-act {
  flex: none; font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: var(--r-pill);
  border: 1px solid color-mix(in srgb, var(--mkt-blue) 30%, #fff);
  color: var(--mkt-deep); background: var(--mkt-wash);
  transition: background .2s, color .2s, border-color .2s;
}
.mkt-sug:hover .mkt-sug-act { background: var(--mkt-deep); color: #fff; border-color: var(--mkt-deep); }

/* the one the AI is drafting right now */
.mkt-sug.is-live {
  border-color: color-mix(in srgb, var(--mkt-mint) 42%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mkt-mint) 12%, transparent);
}
.mkt-sug.is-live .mkt-sug-act {
  border-color: color-mix(in srgb, var(--mkt-mint) 50%, #fff);
  color: color-mix(in srgb, var(--mkt-mint) 70%, var(--ink));
  background: color-mix(in srgb, var(--mkt-mint) 12%, #fff);
}
.mkt-sug.is-live .mkt-sug-act::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--mkt-mint); margin-right: 6px; vertical-align: middle;
  animation: mktPulse 1.6s ease-out infinite;
}
.mkt-board-foot {
  margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line-2);
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-40);
}
.mkt-board-foot b { color: var(--mkt-deep); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 10px; }

@keyframes mktReveal { to { opacity: 1; transform: none; } }
@keyframes mktPulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--mkt-mint) 45%, transparent); }
  70% { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---------- section heads ---------- */
.mkt-head { max-width: 640px; margin: 0 auto clamp(30px, 4vw, 48px); text-align: center; }
.mkt-head .eyebrow { color: var(--mkt-deep); }
.mkt-head .h2 { margin: 12px 0 10px; }
.mkt-head .lead { margin-inline: auto; max-width: 54ch; }

/* ---------- how it works: 3 filled step cards ---------- */
.mkt-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 22px); align-items: stretch; }
.mkt-step {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: linear-gradient(180deg, #fff, var(--paper));
  box-shadow: var(--shadow-1);
  padding: clamp(18px, 2vw, 24px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mkt-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); border-color: color-mix(in srgb, var(--mkt-blue) 26%, var(--line)); }
.mkt-step-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.mkt-step-n {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(150deg, var(--mkt-blue), var(--mkt-deep));
  box-shadow: 0 8px 18px -8px var(--mkt-blue);
}
.mkt-step-ic { font-size: 20px; margin-left: auto; }
.mkt-step h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin: 0 0 6px; }
.mkt-step p { font-size: 13.5px; line-height: 1.55; color: var(--ink-60); margin: 0 0 16px; }
/* filled mini-visual pinned to the card bottom */
.mkt-mini { margin-top: auto; border-top: 1px dashed var(--line-2); padding-top: 14px; display: grid; gap: 7px; }

/* mini: ranked opportunity list */
.mkt-mrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.mkt-mrow .n { color: var(--ink-70); font-weight: 500; }
.mkt-mrow .v { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--mkt-deep); }
.mkt-mrow .bar { flex: 1; height: 5px; border-radius: 3px; background: var(--periwinkle); overflow: hidden; }
.mkt-mrow .bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--mkt-lite), var(--mkt-blue)); }

/* mini: a drafted message bubble */
.mkt-bubble {
  border: 1px solid color-mix(in srgb, var(--mkt-blue) 20%, var(--line));
  background: var(--mkt-wash); border-radius: 12px 12px 12px 4px;
  padding: 10px 12px; font-size: 12.5px; line-height: 1.5; color: var(--ink-70);
}
.mkt-bubble-meta { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-40); }
.mkt-bubble-meta i { width: 6px; height: 6px; border-radius: 50%; background: var(--mkt-mint); }

/* mini: sent → booked → collected */
.mkt-flow { display: flex; align-items: center; gap: 8px; }
.mkt-flow-cell { flex: 1; text-align: center; }
.mkt-flow-cell .n { font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--ink); }
.mkt-flow-cell .l { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-40); margin-top: 2px; }
.mkt-flow-cell.win .n { color: var(--mkt-deep); }
.mkt-flow-arrow { color: var(--mkt-lite); font-size: 13px; }

/* ---------- outcomes stat band ---------- */
.mkt-stats-sec { background: linear-gradient(180deg, var(--paper), #fff); }
.mkt-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.mkt-stat { text-align: center; padding: clamp(18px, 2vw, 26px) 12px; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; }
.mkt-stat .big { font-size: clamp(30px, 4vw, 42px); font-weight: 700; letter-spacing: -.02em; color: var(--mkt-deep); line-height: 1; }
.mkt-stat .cap { display: block; margin-top: 10px; font-size: 13.5px; color: var(--ink-60); }

/* ---------- channel strip ---------- */
.mkt-channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mkt-channel {
  border: 1px solid var(--line); border-radius: var(--r-mid);
  background: linear-gradient(180deg, #fff, var(--paper));
  padding: 18px; text-align: left; transition: transform .2s ease, border-color .2s ease;
}
.mkt-channel:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--mkt-blue) 26%, var(--line)); }
.mkt-channel .k { font-size: 22px; }
.mkt-channel .t { display: block; margin-top: 10px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.mkt-channel .d { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-40); line-height: 1.45; }

/* ---------- closing CTA ---------- */
.mkt-cta-band {
  position: relative; overflow: hidden; text-align: center;
  border-radius: var(--r-xl);
  background:
    radial-gradient(80% 120% at 50% 0%, color-mix(in srgb, var(--mkt-blue) 14%, #fff), transparent 62%),
    linear-gradient(160deg, #101a30, #0b1322);
  color: #fff; padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 40px);
}
.mkt-cta-band h2 { color: #fff; margin: 0 0 12px; }
.mkt-cta-band p { color: #c3cce6; max-width: 52ch; margin: 0 auto 26px; }
.mkt-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .mkt-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .mkt-steps { grid-template-columns: 1fr; }
  .mkt-stats { grid-template-columns: 1fr; }
  .mkt-channels { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .mkt-channels { grid-template-columns: 1fr; }
  .mkt-sug { grid-template-columns: 30px minmax(0, 1fr); }
  .mkt-sug-act { grid-column: 2; justify-self: start; margin-top: 2px; }
}
@media (max-width: 700px) {
  .mkt-channels { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce), (max-width: 700px) {
  .mkt-sug, .mkt-board-title i, .mkt-sug.is-live .mkt-sug-act::before { animation: none !important; opacity: 1 !important; transform: none !important; }
  .mkt-step, .mkt-channel { transition: none !important; }
}

/* ===== AI Follow-up Messaging (mkt-msg) — built with Fable ===== */
.mkt-msg {
  --mm-blue: #5a82c2;
  --mm-deep: #3d63a4;
  --mm-lite: #8aa6dd;
  --mm-loop: 12s;
}
.mkt-msg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  direction: rtl;
}
.mkt-msg-grid > * { direction: ltr; }
.mkt-msg-copy .lead { margin-bottom: 26px; }
.mkt-msg-points { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 14px; }
.mkt-msg-point { position: relative; padding-left: 32px; font-size: 15px; line-height: 1.55; color: var(--ink-70); }
.mkt-msg-point strong { color: var(--ink); font-weight: 650; }
.mkt-msg-point::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--mm-deep); background: rgba(90, 130, 194, 0.13); border-radius: 50%; }
.mkt-msg-stage { position: relative; }
.mkt-msg-stage::before { content: ""; position: absolute; inset: -10% -6%; background: radial-gradient(closest-side, rgba(90, 130, 194, 0.14), transparent 72%); pointer-events: none; }
.mkt-msg-phone { position: relative; max-width: 440px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-float); overflow: hidden; }
.mkt-msg-head { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--line-2); }
.mkt-msg-avatar { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--mm-lite), var(--mm-blue)); color: #fff; font-weight: 650; font-size: 15px; }
.mkt-msg-id { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mkt-msg-name { font-size: 14.5px; font-weight: 650; color: var(--ink); }
.mkt-msg-sub { font-size: 11.5px; color: var(--ink-60); }
.mkt-msg-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-70); background: #fff; }
.mkt-msg-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: mkt-msg-pulse 2.2s ease-in-out infinite; }
.mkt-msg-rail { display: flex; align-items: center; gap: 8px; padding: 11px 18px; border-bottom: 1px dashed var(--line-2); }
.mkt-msg-rail-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-40); margin-right: 2px; }
.mkt-msg-chip { padding: 4px 11px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 11.5px; font-weight: 600; color: var(--ink-60); background: #fff; }
.mkt-msg-chip--active { color: var(--mm-deep); border-color: rgba(90, 130, 194, 0.45); background: rgba(90, 130, 194, 0.1); }
.mkt-msg-chip--later { opacity: 0.35; animation: mkt-msg-dim var(--mm-loop) ease infinite; }
.mkt-msg-thread { display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 16px; background: linear-gradient(180deg, rgba(138, 166, 221, 0.055), rgba(138, 166, 221, 0) 60%); }
.mkt-msg-row { display: flex; }
.mkt-msg-row--out { justify-content: flex-end; }
.mkt-msg-row--in { justify-content: flex-start; }
.mkt-msg-msg { max-width: 82%; display: flex; flex-direction: column; gap: 4px; }
.mkt-msg-msg--out { align-items: flex-end; animation: mkt-msg-show-out var(--mm-loop) cubic-bezier(0.22, 0.9, 0.26, 1) infinite; }
.mkt-msg-msg--in { align-items: flex-start; animation: mkt-msg-show-in var(--mm-loop) cubic-bezier(0.22, 0.9, 0.26, 1) infinite; }
.mkt-msg-bubble { padding: 10px 14px; font-size: 14px; line-height: 1.45; border-radius: var(--r-mid); }
.mkt-msg-bubble--out { background: linear-gradient(135deg, var(--mm-blue), var(--mm-deep)); color: #fff; border-bottom-right-radius: 5px; box-shadow: 0 4px 14px rgba(61, 99, 164, 0.22); }
.mkt-msg-bubble--in { background: #eef1f6; border: 1px solid var(--line-2); color: var(--ink); border-bottom-left-radius: 5px; }
.mkt-msg-meta { font-size: 10.5px; color: var(--ink-40); }
.mkt-msg-slot { position: relative; }
.mkt-msg-typing { position: absolute; left: 0; top: 0; display: flex; gap: 4px; padding: 13px 14px; background: #eef1f6; border: 1px solid var(--line-2); border-radius: var(--r-mid); border-bottom-left-radius: 5px; opacity: 0; animation: mkt-msg-show-typing var(--mm-loop) ease infinite; }
.mkt-msg-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-40); animation: mkt-msg-bounce 1.05s ease-in-out infinite; }
.mkt-msg-dot:nth-child(2) { animation-delay: 0.15s; }
.mkt-msg-dot:nth-child(3) { animation-delay: 0.3s; }
.mkt-msg-booked { align-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; font-size: 12.5px; font-weight: 600; color: var(--ink); background: color-mix(in srgb, var(--mint) 20%, #fff); border: 1px solid color-mix(in srgb, var(--mint) 45%, #fff); border-radius: var(--r-pill); animation: mkt-msg-show-booked var(--mm-loop) cubic-bezier(0.22, 0.9, 0.26, 1) infinite; }
.mkt-msg-booked-check { width: 17px; height: 17px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--ink); font-size: 10px; font-weight: 700; }
.mkt-msg-compose { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line-2); background: #fff; }
.mkt-msg-compose-field { flex: 1; padding: 9px 14px; font-size: 13px; color: var(--ink-40); border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); }
.mkt-msg-compose-send { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--mm-blue); color: #fff; font-size: 15px; font-weight: 700; }
@keyframes mkt-msg-show-out { 0%, 4% { opacity: 0; transform: translateY(12px) scale(0.96); } 9%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes mkt-msg-show-typing { 0%, 17% { opacity: 0; transform: translateY(8px); } 20%, 37% { opacity: 1; transform: none; } 40%, 100% { opacity: 0; transform: none; } }
@keyframes mkt-msg-show-in { 0%, 41% { opacity: 0; transform: translateY(12px) scale(0.96); } 46%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes mkt-msg-show-booked { 0%, 55% { opacity: 0; transform: translateY(8px) scale(0.97); } 60%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes mkt-msg-dim { 0%, 56% { opacity: 1; } 62%, 93% { opacity: 0.35; } 100% { opacity: 1; } }
@keyframes mkt-msg-bounce { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes mkt-msg-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce), (max-width: 700px) { .mkt-msg *, .mkt-msg *::before, .mkt-msg *::after { animation: none !important; } }
@media (max-width: 940px) { .mkt-msg-grid { grid-template-columns: minmax(0, 1fr); direction: ltr; } .mkt-msg-stage::before { inset: -6% -4%; } }
@media (max-width: 700px) {
  .mkt-msg-typing { display: none; }
}

/* ===== AI Review Management (mkt-rev) — built with Fable ===== */
.mkt-rev {
  --mkt-rev-blue: #5a82c2;
  --mkt-rev-deep: #3d63a4;
  --mkt-rev-lite: #8aa6dd;
  --mkt-rev-gold: #f0b429;
}
.mkt-rev-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(36px, 6vw, 80px); align-items: center; }
.mkt-rev-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.mkt-rev-points li { position: relative; padding-left: 32px; font-size: 15.5px; line-height: 1.55; color: var(--ink-70); }
.mkt-rev-points li strong { color: var(--ink); font-weight: 600; }
.mkt-rev-points li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; display: grid; place-items: center; font-size: 11px; font-weight: 700; border-radius: 50%; background: color-mix(in srgb, var(--mint) 24%, transparent); color: color-mix(in srgb, var(--mint) 55%, var(--ink)); }
.mkt-rev-stage { position: relative; border: 1px solid var(--line); border-radius: var(--r-xl); background: linear-gradient(180deg, color-mix(in srgb, var(--mkt-rev-lite) 12%, var(--paper)) 0%, var(--paper) 62%); box-shadow: var(--shadow-float); padding: clamp(20px, 3vw, 30px); }
.mkt-rev-scene { display: flex; flex-direction: column; gap: 12px; }
.mkt-rev-ping { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--mkt-rev-deep); background: color-mix(in srgb, var(--mkt-rev-blue) 10%, transparent); border: 1px solid color-mix(in srgb, var(--mkt-rev-blue) 28%, transparent); border-radius: var(--r-pill); padding: 6px 12px; animation: mkt-rev-ping 12s ease infinite; }
.mkt-rev-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-mid); box-shadow: var(--shadow-1); padding: 18px 20px; }
.mkt-rev-score { display: flex; flex-direction: column; gap: 7px; }
.mkt-rev-count { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; text-align: right; border-left: 1px solid var(--line); padding-left: 20px; }
.mkt-rev-caption { font-size: 12px; letter-spacing: 0.02em; color: var(--ink-60); }
.mkt-rev-delta { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--mint) 18%, transparent); color: color-mix(in srgb, var(--mint) 50%, var(--ink)); }
.mkt-rev-reel { display: inline-flex; overflow: hidden; height: 1em; line-height: 1; }
.mkt-rev-reel-track { display: flex; flex-direction: column; transform: translateY(-75%); }
.mkt-rev-reel-track > span { display: block; height: 1em; line-height: 1; }
.mkt-rev-reel-rating { font-size: clamp(42px, 4.5vw, 54px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.mkt-rev-reel-count { font-family: var(--mono); font-size: 26px; font-weight: 600; color: var(--ink); }
.mkt-rev-reel-rating .mkt-rev-reel-track { animation: mkt-rev-rating 12s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
.mkt-rev-reel-count .mkt-rev-reel-track { animation: mkt-rev-countup 12s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
.mkt-rev-stars { position: relative; display: inline-block; font-size: 19px; letter-spacing: 3px; line-height: 1; color: var(--line-2); }
.mkt-rev-stars-base { display: block; }
.mkt-rev-stars-fill { position: absolute; top: 0; left: 0; bottom: 0; width: 98%; overflow: hidden; white-space: nowrap; color: var(--mkt-rev-gold); animation: mkt-rev-starfill 12s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
.mkt-rev-card { display: flex; align-items: flex-start; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-mid); box-shadow: var(--shadow-1); padding: 14px 16px; }
.mkt-rev-card-1 { animation: mkt-rev-c1 12s ease infinite; }
.mkt-rev-card-2 { animation: mkt-rev-c2 12s ease infinite; }
.mkt-rev-card-3 { animation: mkt-rev-c3 12s ease infinite; }
.mkt-rev-av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 15px; }
.mkt-rev-av-a { background: linear-gradient(135deg, var(--mkt-rev-blue), var(--mkt-rev-deep)); }
.mkt-rev-av-b { background: linear-gradient(135deg, var(--mkt-rev-lite), var(--mkt-rev-blue)); }
.mkt-rev-av-c { background: linear-gradient(135deg, var(--mkt-rev-deep), var(--mkt-rev-blue)); }
.mkt-rev-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mkt-rev-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mkt-rev-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.mkt-rev-src { font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-40); }
.mkt-rev-card-stars { color: var(--mkt-rev-gold); font-size: 13px; letter-spacing: 2px; line-height: 1; }
.mkt-rev-quote { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-70); }
.mkt-rev-chip { align-self: flex-start; margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--mint) 20%, transparent); border: 1px solid color-mix(in srgb, var(--mint) 45%, transparent); color: color-mix(in srgb, var(--mint) 45%, var(--ink)); transform-origin: left center; animation: mkt-rev-chip 12s ease infinite; }
@keyframes mkt-rev-ping { 0%, 2% { opacity: 0; transform: translateY(-8px); } 7%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes mkt-rev-rating { 0%, 12% { transform: translateY(0); } 18%, 32% { transform: translateY(-25%); } 38%, 52% { transform: translateY(-50%); } 58%, 94% { transform: translateY(-75%); } 100% { transform: translateY(0); } }
@keyframes mkt-rev-countup { 0%, 14% { transform: translateY(0); } 20%, 34% { transform: translateY(-25%); } 40%, 54% { transform: translateY(-50%); } 60%, 94% { transform: translateY(-75%); } 100% { transform: translateY(0); } }
@keyframes mkt-rev-starfill { 0%, 12% { width: 92%; } 18%, 32% { width: 94%; } 38%, 52% { width: 96%; } 58%, 94% { width: 98%; } 100% { width: 92%; } }
@keyframes mkt-rev-c1 { 0%, 4% { opacity: 0; transform: translateY(18px); } 10%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translateY(18px); } }
@keyframes mkt-rev-c2 { 0%, 20% { opacity: 0; transform: translateY(18px); } 26%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translateY(18px); } }
@keyframes mkt-rev-c3 { 0%, 38% { opacity: 0; transform: translateY(18px); } 44%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translateY(18px); } }
@keyframes mkt-rev-chip { 0%, 32% { opacity: 0; transform: scale(0.85); } 38%, 92% { opacity: 1; transform: scale(1); } 98%, 100% { opacity: 0; transform: scale(0.85); } }
@media (prefers-reduced-motion: reduce), (max-width: 700px) { .mkt-rev-stage, .mkt-rev-stage * { animation: none !important; } }
@media (max-width: 940px) { .mkt-rev-grid { grid-template-columns: minmax(0, 1fr); } .mkt-rev-stage { max-width: 560px; } }

/* ===== AI Follow-up Calling (mkt-call) — built with Fable ===== */
.mkt-call {
  --mkc-blue: #5a82c2; --mkc-deep: #3d63a4; --mkc-lite: #8aa6dd;
  --mkc-tint: #eef3fb; --mkc-tint-line: #d9e3f6;
  --mkc-mint-ink: #0f8a63; --mkc-mint-bg: #e7f7f0;
  overflow: hidden;
}
.mkt-call-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,520px); gap: clamp(36px, 6vw, 80px); align-items: center; }
.mkt-call .eyebrow { color: var(--mkc-deep); }
.mkt-call-copy .h2 { margin: 14px 0 18px; }
.mkt-call-points { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.mkt-call-points li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; line-height: 1.55; color: var(--ink-70); }
.mkt-call-points strong { color: var(--ink); font-weight: 600; }
.mkt-call-pt-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--mkc-tint); display: grid; place-items: center; font-size: 16px; }
.mkt-call-cta { margin-top: 32px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mkt-call-btn { background: var(--mkc-deep); color: #fff; box-shadow: 0 10px 26px -12px rgba(61,99,164,.75); }
.mkt-call-btn:hover { background: #33538b; transform: translateY(-1px); }
.mkt-call-cta-note { font-size: 12.5px; color: var(--ink-40); }
.mkt-call-stage { position: relative; }
.mkt-call-stage::before { content: ""; position: absolute; inset: -8% -12%; background: radial-gradient(closest-side, rgba(90,130,194,.15), transparent 72%); pointer-events: none; }
.mkt-call-phone { position: relative; z-index: 1; width: min(464px, 100%); margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-float); padding: 22px 22px 18px; }
.mkt-call-head { display: flex; align-items: center; gap: 12px; }
.mkt-call-ava { flex: none; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(150deg, var(--mkc-lite), var(--mkc-deep)); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .02em; display: grid; place-items: center; }
.mkt-call-who { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mkt-call-name { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.mkt-call-meta { font-size: 11px; color: var(--ink-60); font-family: var(--mono); white-space: nowrap; }
.mkt-call-status { position: relative; margin-left: auto; flex: none; height: 26px; min-width: 118px; }
.mkt-call-pill { position: absolute; top: 0; right: 0; height: 26px; display: inline-flex; align-items: center; gap: 7px; padding: 0 11px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.mkt-call-pill-dial { background: var(--mkc-tint); color: var(--mkc-deep); opacity: 0; animation: mkt-call-dial 14s linear infinite; }
.mkt-call-pill-dial i { width: 3.5px; height: 3.5px; border-radius: 50%; background: currentColor; animation: mkt-call-tdot 1.05s ease-in-out infinite; }
.mkt-call-pill-dial i:nth-of-type(1) { margin-left: 2px; }
.mkt-call-pill-dial i:nth-of-type(2) { margin-left: -3px; animation-delay: .15s; }
.mkt-call-pill-dial i:nth-of-type(3) { margin-left: -3px; animation-delay: .3s; }
.mkt-call-pill-live { background: var(--mkc-mint-bg); color: var(--mkc-mint-ink); animation: mkt-call-live 14s linear infinite; }
.mkt-call-livedot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: mkt-call-pulse 2s ease-out infinite; }
.mkt-call-wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 34px; margin: 16px 0 2px; animation: mkt-call-wavein 14s linear infinite; }
.mkt-call-wave i { width: 3px; height: 26px; border-radius: 2px; background: linear-gradient(180deg, var(--mkc-lite), var(--mkc-blue)); transform-origin: center; animation: mkt-call-bar .72s ease-in-out infinite alternate; }
.mkt-call-wave i:nth-of-type(1) { transform: scaleY(.30); animation-duration: .58s; animation-delay: -.05s; }
.mkt-call-wave i:nth-of-type(2) { transform: scaleY(.55); animation-duration: .74s; animation-delay: -.32s; }
.mkt-call-wave i:nth-of-type(3) { transform: scaleY(.85); animation-duration: .62s; animation-delay: -.18s; }
.mkt-call-wave i:nth-of-type(4) { transform: scaleY(.45); animation-duration: .88s; animation-delay: -.51s; }
.mkt-call-wave i:nth-of-type(5) { transform: scaleY(.70); animation-duration: .66s; animation-delay: -.09s; }
.mkt-call-wave i:nth-of-type(6) { transform: scaleY(1); animation-duration: .80s; animation-delay: -.44s; }
.mkt-call-wave i:nth-of-type(7) { transform: scaleY(.50); animation-duration: .60s; animation-delay: -.27s; }
.mkt-call-wave i:nth-of-type(8) { transform: scaleY(.90); animation-duration: .76s; animation-delay: -.60s; }
.mkt-call-wave i:nth-of-type(9) { transform: scaleY(.40); animation-duration: .64s; animation-delay: -.13s; }
.mkt-call-wave i:nth-of-type(10) { transform: scaleY(.75); animation-duration: .86s; animation-delay: -.38s; }
.mkt-call-wave i:nth-of-type(11) { transform: scaleY(.95); animation-duration: .68s; animation-delay: -.55s; }
.mkt-call-wave i:nth-of-type(12) { transform: scaleY(.60); animation-duration: .78s; animation-delay: -.22s; }
.mkt-call-wave i:nth-of-type(13) { transform: scaleY(.35); animation-duration: .61s; animation-delay: -.47s; }
.mkt-call-wave i:nth-of-type(14) { transform: scaleY(.50); animation-duration: .82s; animation-delay: -.30s; }
.mkt-call-chat { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.mkt-call-row { position: relative; display: flex; }
.mkt-call-row-p { justify-content: flex-end; }
.mkt-call-msg { max-width: 86%; padding: 9px 13px; border-radius: 16px; font-size: 13px; line-height: 1.45; color: var(--ink); }
.mkt-call-msg-who { display: block; margin-bottom: 3px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-40); }
.mkt-call-msg-text { display: block; }
.mkt-call-msg-a { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; box-shadow: var(--shadow-1); animation: mkt-call-msga 14s linear infinite; }
.mkt-call-msg-a .mkt-call-msg-text { animation: mkt-call-typea 14s linear infinite; }
.mkt-call-msg-p { background: var(--mkc-tint); border: 1px solid var(--mkc-tint-line); border-bottom-right-radius: 6px; animation: mkt-call-msgp 14s linear infinite; }
.mkt-call-msg-p .mkt-call-msg-text { animation: mkt-call-typep 14s linear infinite; }
.mkt-call-typing { position: absolute; top: 0; z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 11px 13px; border-radius: 16px; background: #fff; border: 1px solid var(--line); opacity: 0; }
.mkt-call-typing-a { left: 0; border-bottom-left-radius: 6px; animation: mkt-call-dotsa 14s linear infinite; }
.mkt-call-typing-p { right: 0; background: var(--mkc-tint); border-color: var(--mkc-tint-line); border-bottom-right-radius: 6px; animation: mkt-call-dotsp 14s linear infinite; }
.mkt-call-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--mkc-blue); animation: mkt-call-tdot 1.05s ease-in-out infinite; }
.mkt-call-typing i:nth-of-type(2) { animation-delay: .15s; }
.mkt-call-typing i:nth-of-type(3) { animation-delay: .3s; }
.mkt-call-outcome { margin-top: 16px; text-align: center; animation: mkt-call-pop 14s linear infinite; }
.mkt-call-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--r-pill); background: var(--mkc-mint-bg); border: 1px solid rgba(25,184,134,.35); color: var(--mkc-mint-ink); font-size: 13px; font-weight: 600; }
.mkt-call-chip-check { width: 16px; height: 16px; border-radius: 50%; background: var(--mint); color: #fff; font-size: 10px; display: grid; place-items: center; }
.mkt-call-outcome-sub { display: block; margin-top: 7px; font-size: 11px; color: var(--ink-40); font-family: var(--mono); }
.mkt-call-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.mkt-call-handoff { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: 12px; font-weight: 600; color: var(--ink); }
.mkt-call-rules { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-60); }
.mkt-call-rules b { color: var(--mkc-mint-ink); }
.mkt-call-ticker { position: relative; z-index: 1; width: min(464px, 100%); margin: 14px auto 0; overflow: hidden; padding: 9px 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); }
.mkt-call-ticker::before, .mkt-call-ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 36px; z-index: 1; pointer-events: none; }
.mkt-call-ticker::before { left: 0; border-radius: var(--r-pill) 0 0 var(--r-pill); background: linear-gradient(90deg, #fff 20%, rgba(255,255,255,0)); }
.mkt-call-ticker::after { right: 0; border-radius: 0 var(--r-pill) var(--r-pill) 0; background: linear-gradient(270deg, #fff 20%, rgba(255,255,255,0)); }
.mkt-call-ticker-track { display: flex; width: max-content; animation: mkt-call-ticker 26s linear infinite; }
.mkt-call-ticker-group { display: flex; align-items: center; gap: 26px; padding-right: 26px; font-family: var(--mono); font-size: 11px; color: var(--ink-60); white-space: nowrap; }
.mkt-call-tk { display: inline-flex; align-items: center; gap: 6px; }
.mkt-call-tk b { font-weight: 600; }
.mkt-call-tk-ok { color: var(--mkc-mint-ink); }
.mkt-call-tk-live { color: var(--mkc-blue); }
.mkt-call-tk-wait { color: var(--ink-40); }
@keyframes mkt-call-dial { 0%, 10% { opacity: 1; } 14%, 100% { opacity: 0; } }
@keyframes mkt-call-live { 0%, 12% { opacity: 0; } 16%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes mkt-call-wavein { 0%, 14% { opacity: 0; } 18%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes mkt-call-dotsa { 0%, 17% { opacity: 0; } 19%, 25% { opacity: 1; } 27%, 100% { opacity: 0; } }
@keyframes mkt-call-msga { 0%, 26% { opacity: 0; transform: translateY(6px); } 29%, 94% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(0); } }
@keyframes mkt-call-typea { 0%, 27% { clip-path: inset(-2px 100% -2px 0); } 38%, 100% { clip-path: inset(-2px 0 -2px 0); } }
@keyframes mkt-call-dotsp { 0%, 41% { opacity: 0; } 43%, 49% { opacity: 1; } 51%, 100% { opacity: 0; } }
@keyframes mkt-call-msgp { 0%, 50% { opacity: 0; transform: translateY(6px); } 53%, 94% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(0); } }
@keyframes mkt-call-typep { 0%, 51% { clip-path: inset(-2px 100% -2px 0); } 62%, 100% { clip-path: inset(-2px 0 -2px 0); } }
@keyframes mkt-call-pop { 0%, 64% { opacity: 0; transform: scale(.86) translateY(5px); } 68% { opacity: 1; transform: scale(1.04) translateY(0); } 71%, 94% { opacity: 1; transform: scale(1) translateY(0); } 100% { opacity: 0; transform: scale(1) translateY(0); } }
@keyframes mkt-call-bar { from { transform: scaleY(.16); } to { transform: scaleY(1); } }
@keyframes mkt-call-pulse { 0% { box-shadow: 0 0 0 0 rgba(25,184,134,.45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(25,184,134,0); } }
@keyframes mkt-call-tdot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes mkt-call-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce), (max-width: 700px) { .mkt-call *, .mkt-call *::before, .mkt-call *::after { animation: none !important; } }
@media (max-width: 940px) { .mkt-call-grid { grid-template-columns: minmax(0,1fr); } .mkt-call-stage { max-width: 520px; margin-inline: auto; width: 100%; } }
@media (max-width: 700px) {
  .mkt-call-ticker { display: none; }
  .mkt-call-typing { display: none; }
}
@media (max-width: 480px) { .mkt-call-phone { padding: 16px 14px 14px; } .mkt-call-meta { font-size: 10px; } .mkt-call-msg { max-width: 94%; } .mkt-call-status { min-width: 104px; } .mkt-call-foot { flex-wrap: wrap; } }

/* ===== AI Social & Facebook Management (mkt-social) — built with Fable ===== */
@property --mkt-social-likes { syntax: "<integer>"; inherits: false; initial-value: 312; }
@property --mkt-social-r1 { syntax: "<integer>"; inherits: false; initial-value: 2; }
@property --mkt-social-r2 { syntax: "<integer>"; inherits: false; initial-value: 4; }
@property --mkt-social-com { syntax: "<integer>"; inherits: false; initial-value: 47; }
.mkt-social {
  --mkt-social-blue: #5a82c2; --mkt-social-deep: #3d63a4; --mkt-social-lite: #8aa6dd;
  --mkt-social-fb: #1877f2; --mkt-social-ig: #d6249f; --mkt-social-g: #4285f4;
  position: relative;
}
.mkt-social-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(36px, 6vw, 80px); align-items: center; direction: rtl; }
.mkt-social-grid > * { direction: ltr; }
.mkt-social-copy .eyebrow { color: var(--mkt-social-deep); }
.mkt-social-points { list-style: none; margin: 22px 0 30px; padding: 0; display: grid; gap: 13px; }
.mkt-social-points li { position: relative; padding-left: 30px; color: var(--ink-70); font-size: 15.5px; line-height: 1.55; }
.mkt-social-points li b { color: var(--ink); font-weight: 650; }
.mkt-social-points li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: color-mix(in srgb, var(--mint) 32%, white); border: 1px solid color-mix(in srgb, var(--mint) 58%, white); color: var(--ink); font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.mkt-social-stage { position: relative; border: 1px solid var(--line); border-radius: var(--r-xl); background: linear-gradient(155deg, #eef3fb 0%, var(--paper) 48%, #f3f1ea 100%); box-shadow: var(--shadow-float); padding: clamp(18px, 2.6vw, 30px); overflow: hidden; }
.mkt-social-stage::before { content: ""; position: absolute; top: -34%; right: -18%; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--mkt-social-lite) 26%, transparent), transparent 70%); pointer-events: none; }
.mkt-social-scene { position: relative; display: grid; gap: 14px; }
.mkt-social-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-mid); box-shadow: var(--shadow-1); padding: 16px 16px 14px; animation: mkt-social-card 12s ease-in-out infinite; }
.mkt-social-card-top { display: flex; align-items: center; gap: 10px; }
.mkt-social-avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(140deg, var(--mkt-social-lite), var(--mkt-social-blue)); display: grid; place-items: center; font-size: 16px; }
.mkt-social-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mkt-social-who b { font-size: 13.5px; color: var(--ink); letter-spacing: .01em; }
.mkt-social-who i { font-style: normal; font-size: 11px; color: var(--ink-60); }
.mkt-social-badge { margin-left: auto; position: relative; height: 24px; min-width: 104px; flex: none; }
.mkt-social-badge > span { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.mkt-social-badge > span > i { width: 7px; height: 7px; border-radius: 50%; }
.mkt-social-badge-fb { background: rgba(24, 119, 242, .09); color: #2b62b8; opacity: 1; animation: mkt-social-badge-fb 12s ease infinite; }
.mkt-social-badge-fb > i { background: var(--mkt-social-fb); }
.mkt-social-badge-ig { background: rgba(214, 36, 159, .08); color: #a63286; opacity: 0; animation: mkt-social-badge-ig 12s ease infinite; }
.mkt-social-badge-ig > i { background: var(--mkt-social-ig); }
.mkt-social-badge-g { background: rgba(66, 133, 244, .09); color: #35619e; opacity: 0; animation: mkt-social-badge-g 12s ease infinite; }
.mkt-social-badge-g > i { background: var(--mkt-social-g); }
.mkt-social-capline { display: flex; align-items: center; margin-top: 13px; min-height: 20px; overflow: hidden; }
.mkt-social-cap { display: inline-block; max-width: 40ch; overflow: hidden; white-space: nowrap; font-family: var(--mono); font-size: 13px; color: var(--ink); animation: mkt-social-type 12s steps(37, end) infinite; }
.mkt-social-caret { flex: none; width: 2px; height: 15px; margin-left: 3px; background: var(--mkt-social-deep); visibility: hidden; animation: mkt-social-caret 12s linear infinite, mkt-social-blink .8s linear infinite; }
.mkt-social-photo { margin-top: 12px; height: 72px; border-radius: 10px; border: 1px solid var(--line-2); background: linear-gradient(120deg, color-mix(in srgb, var(--mkt-social-lite) 28%, white), color-mix(in srgb, var(--mint) 26%, white)); display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-70); animation: mkt-social-photo 12s ease infinite; }
.mkt-social-photo b { font-size: 19px; }
.mkt-social-photo em { font-style: normal; color: var(--ink-40); }
.mkt-social-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.mkt-social-besttime { font-size: 11.5px; color: var(--ink-60); display: inline-flex; align-items: center; gap: 6px; }
.mkt-social-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--mint) 32%, white); border: 1px solid color-mix(in srgb, var(--mint) 60%, white); color: var(--ink); font-size: 11px; font-weight: 700; opacity: 1; transform: scale(1); animation: mkt-social-pill 12s cubic-bezier(.2, 1.4, .4, 1) infinite; }
.mkt-social-ghost { position: absolute; left: 23%; top: 52%; z-index: 2; width: 30px; height: 30px; border-radius: 9px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-1); display: grid; place-items: center; font-size: 14px; pointer-events: none; opacity: 0; transform: translate(-50%, -46px) scale(.85); animation: mkt-social-ghost 12s ease-in-out infinite; }
.mkt-social-week { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-mid); box-shadow: var(--shadow-1); padding: 10px 12px 12px; }
.mkt-social-week-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mkt-social-week-head b { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-60); }
.mkt-social-approve { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--mint) 30%, white); border: 1px solid color-mix(in srgb, var(--mint) 56%, white); color: var(--ink); font-size: 10.5px; font-weight: 700; opacity: 1; animation: mkt-social-approve 12s ease infinite; }
.mkt-social-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.mkt-social-day { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 6px 0 2px; min-height: 50px; border-left: 1px solid var(--line-2); }
.mkt-social-day:first-child { border-left: 0; }
.mkt-social-day > i { font-style: normal; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-40); }
.mkt-social-dotrow { display: flex; gap: 4px; align-items: center; min-height: 14px; }
.mkt-social-dot { width: 8px; height: 8px; border-radius: 50%; opacity: 1; transform: scale(1); }
.mkt-social-dot-fb { background: var(--mkt-social-fb); }
.mkt-social-dot-ig { background: var(--mkt-social-ig); }
.mkt-social-dot-g { background: var(--mkt-social-g); }
.mkt-social-pop-a { animation: mkt-social-pop-a 12s cubic-bezier(.2, 1.4, .4, 1) infinite; }
.mkt-social-pop-b { animation: mkt-social-pop-b 12s cubic-bezier(.2, 1.4, .4, 1) infinite; }
.mkt-social-pop-c { animation: mkt-social-pop-c 12s cubic-bezier(.2, 1.4, .4, 1) infinite; }
.mkt-social-pop-d { animation: mkt-social-pop-d 12s cubic-bezier(.2, 1.4, .4, 1) infinite; }
.mkt-social-slot { width: 14px; height: 14px; border: 1px dashed var(--ink-40); border-radius: 50%; color: var(--ink-40); font-size: 9px; line-height: 1; display: grid; place-items: center; }
.mkt-social-stats { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.mkt-social-stat { flex: 1 1 0; min-width: 86px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-mid); box-shadow: var(--shadow-1); padding: 10px 12px; display: flex; align-items: baseline; gap: 7px; }
.mkt-social-stat > span { font-size: 14px; }
.mkt-social-stat > b { font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--ink); }
.mkt-social-stat > i { font-style: normal; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-60); }
.mkt-social-n-likes::after { --mkt-social-likes: 312; counter-reset: mktSocialLikes var(--mkt-social-likes); content: counter(mktSocialLikes); animation: mkt-social-likes 12s ease-out infinite; }
.mkt-social-n-reach::after { --mkt-social-r1: 2; --mkt-social-r2: 4; counter-reset: mktSocialR1 var(--mkt-social-r1) mktSocialR2 var(--mkt-social-r2); content: counter(mktSocialR1) "." counter(mktSocialR2) "k"; animation: mkt-social-reach 12s ease-out infinite; }
.mkt-social-n-com::after { --mkt-social-com: 47; counter-reset: mktSocialCom var(--mkt-social-com); content: counter(mktSocialCom); animation: mkt-social-com 12s ease-out infinite; }
.mkt-social-trend { align-self: center; flex: none; display: inline-flex; align-items: center; padding: 5px 11px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--mint) 34%, white); border: 1px solid color-mix(in srgb, var(--mint) 60%, white); color: var(--ink); font-size: 11px; font-weight: 700; opacity: 1; animation: mkt-social-trend 12s ease infinite; }
@keyframes mkt-social-type { 0% { max-width: 40ch; } 4%, 6% { max-width: 0; } 33%, 100% { max-width: 40ch; } }
@keyframes mkt-social-caret { 0%, 34% { visibility: visible; } 35%, 100% { visibility: hidden; } }
@keyframes mkt-social-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes mkt-social-badge-g { 0%, 6% { opacity: 0; } 9%, 13% { opacity: 1; } 16%, 100% { opacity: 0; } }
@keyframes mkt-social-badge-ig { 0%, 15% { opacity: 0; } 18%, 22% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes mkt-social-badge-fb { 0% { opacity: 1; } 4%, 24% { opacity: 0; } 28%, 100% { opacity: 1; } }
@keyframes mkt-social-photo { 0% { opacity: 1; transform: none; } 5%, 29% { opacity: 0; transform: translateY(8px); } 35%, 100% { opacity: 1; transform: none; } }
@keyframes mkt-social-pill { 0% { opacity: 1; transform: scale(1); } 5%, 34% { opacity: 0; transform: scale(.6); } 39%, 100% { opacity: 1; transform: scale(1); } }
@keyframes mkt-social-card { 0%, 37% { transform: none; } 41% { transform: translateY(7px); } 46%, 100% { transform: none; } }
@keyframes mkt-social-ghost { 0%, 37% { opacity: 0; transform: translate(-50%, -46px) scale(.85); } 41% { opacity: 1; transform: translate(-50%, -34px) scale(.8); } 49% { opacity: 1; transform: translate(-50%, 32px) scale(.55); } 52%, 100% { opacity: 0; transform: translate(-50%, 38px) scale(.5); } }
@keyframes mkt-social-pop-a { 0% { opacity: 1; transform: scale(1); } 5%, 45% { opacity: 0; transform: scale(0); } 50%, 100% { opacity: 1; transform: scale(1); } }
@keyframes mkt-social-pop-b { 0% { opacity: 1; transform: scale(1); } 5%, 49% { opacity: 0; transform: scale(0); } 54%, 100% { opacity: 1; transform: scale(1); } }
@keyframes mkt-social-pop-c { 0% { opacity: 1; transform: scale(1); } 5%, 53% { opacity: 0; transform: scale(0); } 58%, 100% { opacity: 1; transform: scale(1); } }
@keyframes mkt-social-pop-d { 0% { opacity: 1; transform: scale(1); } 5%, 57% { opacity: 0; transform: scale(0); } 62%, 100% { opacity: 1; transform: scale(1); } }
@keyframes mkt-social-approve { 0% { opacity: 1; transform: none; } 5%, 58% { opacity: 0; transform: translateY(4px); } 64%, 100% { opacity: 1; transform: none; } }
@keyframes mkt-social-likes { 0% { --mkt-social-likes: 312; } 6%, 60% { --mkt-social-likes: 0; } 90%, 100% { --mkt-social-likes: 312; } }
@keyframes mkt-social-reach { 0% { --mkt-social-r1: 2; --mkt-social-r2: 4; } 6%, 62% { --mkt-social-r1: 0; --mkt-social-r2: 0; } 90%, 100% { --mkt-social-r1: 2; --mkt-social-r2: 4; } }
@keyframes mkt-social-com { 0% { --mkt-social-com: 47; } 6%, 64% { --mkt-social-com: 0; } 92%, 100% { --mkt-social-com: 47; } }
@keyframes mkt-social-trend { 0% { opacity: 1; transform: none; } 5%, 84% { opacity: 0; transform: translateY(6px); } 91%, 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce), (max-width: 700px) { .mkt-social *, .mkt-social *::before, .mkt-social *::after { animation: none !important; } }
@media (max-width: 940px) { .mkt-social-grid { grid-template-columns: minmax(0, 1fr); direction: ltr; gap: 40px; } .mkt-social-stage { max-width: 560px; } }
@media (max-width: 700px) {
  .mkt-social-ghost { display: none; }
}
@media (max-width: 520px) { .mkt-social-cap { font-size: 11px; } .mkt-social-badge { min-width: 92px; } .mkt-social-badge > span { font-size: 10px; padding: 0 8px; } .mkt-social-stat { min-width: 74px; padding: 8px 10px; } .mkt-social-stat > b { font-size: 14px; } .mkt-social-trend { flex: 1 1 100%; justify-content: center; } }
