/* Content Distribution + AI Lead Magnets feature page visuals */

.th-feature-hero-grid.th-feature-hero-grid--content-distribution,
.th-feature-hero-grid.th-feature-hero-grid--ai-lead-magnets {
  align-items: center;
}

.th-feature-hero-grid.th-feature-hero-grid--content-distribution {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.28fr);
}

.th-feature-hero-grid--content-distribution .th-feature-visual,
.th-feature-hero-grid--ai-lead-magnets .th-feature-visual {
  min-height: 460px;
}

.th-feature-hero-grid--content-distribution .th-feature-visual {
  min-height: 520px;
  padding: 0.85rem 0.55rem 0.85rem 0.2rem;
}

.th-feature-hero-card.th-cd-hero-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  max-width: none;
  padding: 16px;
  width: 100%;
}

/* Feature page only: larger weekly calendar so Mon–Sun slots breathe (home carousel keeps base sizes). */
.th-feature-hero-grid--content-distribution .th-feature-hero-card.th-cd-hero-card {
  padding: 18px;
}

.th-feature-hero-grid--content-distribution .th-cd-hero {
  gap: 14px;
}

.th-feature-hero-grid--content-distribution .th-cd-hero-title {
  font-size: 1.02rem;
}

.th-feature-hero-grid--content-distribution .th-cd-hero-stat {
  min-width: 72px;
  padding: 7px 9px;
}

.th-feature-hero-grid--content-distribution .th-cd-hero-stat strong {
  font-size: 0.98rem;
}

.th-feature-hero-grid--content-distribution .th-cd-hero-stat span {
  font-size: 0.62rem;
}

.th-feature-hero-grid--content-distribution .th-cd-hero-cal {
  padding: 12px;
}

.th-feature-hero-grid--content-distribution .th-cd-hero-cal-head,
.th-feature-hero-grid--content-distribution .th-cd-hero-cal-row {
  gap: 6px;
  grid-template-columns: 100px repeat(7, minmax(0, 1fr));
}

.th-feature-hero-grid--content-distribution .th-cd-hero-cal-corner,
.th-feature-hero-grid--content-distribution .th-cd-hero-day {
  font-size: 0.68rem;
  min-height: 26px;
}

.th-feature-hero-grid--content-distribution .th-cd-hero-avatar {
  flex: 0 0 28px;
  font-size: 0.72rem;
  height: 28px;
  width: 28px;
}

.th-feature-hero-grid--content-distribution .th-cd-hero-who strong {
  font-size: 0.72rem;
}

.th-feature-hero-grid--content-distribution .th-cd-hero-who span:not(.th-cd-hero-avatar) {
  font-size: 0.6rem;
}

.th-feature-hero-grid--content-distribution .th-cd-hero-slot {
  min-height: 46px;
  padding: 5px 6px 6px;
}

.th-feature-hero-grid--content-distribution .th-cd-hero-slot em {
  font-size: 0.62rem;
}

.th-feature-hero-grid--content-distribution .th-cd-hero-slot strong {
  font-size: 0.58rem;
}

.th-feature-hero-grid--content-distribution .th-cd-hero-foot-label {
  font-size: 0.74rem;
}

.th-feature-hero-grid--content-distribution .th-cd-hero-net {
  height: 28px;
  width: 28px;
}

/* ---- Content Distribution hero (weekly company + employees calendar) ---- */
.th-cd-hero {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.th-cd-hero-top {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.th-cd-hero-heading {
  min-width: 0;
}

.th-cd-hero-kicker {
  color: #3f7d2a;
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.th-cd-hero-title {
  color: #111827;
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.th-cd-hero-stats {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.th-cd-hero-stat {
  background: #f5fbf2;
  border: 1px solid #e0f0d5;
  border-radius: 10px;
  min-width: 64px;
  padding: 6px 8px;
  text-align: center;
}

.th-cd-hero-stat.is-personal {
  background: #f0f6ff;
  border-color: #dbeafe;
}

.th-cd-hero-stat strong {
  color: #1f2937;
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.1;
}

.th-cd-hero-stat span {
  color: #6b7280;
  font-size: 0.58rem;
  font-weight: 600;
  white-space: nowrap;
}

.th-cd-hero-cal {
  background: linear-gradient(180deg, #f8fbf6 0%, #ffffff 100%);
  border: 1px solid #e4eedc;
  border-radius: 14px;
  overflow: hidden;
  padding: 8px;
}

.th-cd-hero-cal-head,
.th-cd-hero-cal-row {
  display: grid;
  gap: 4px;
  grid-template-columns: 88px repeat(7, minmax(0, 1fr));
}

.th-cd-hero-cal-head {
  margin-bottom: 4px;
}

.th-cd-hero-cal-corner,
.th-cd-hero-day {
  align-items: center;
  color: #64748b;
  display: flex;
  font-size: 0.6rem;
  font-weight: 700;
  justify-content: center;
  min-height: 22px;
}

.th-cd-hero-cal-corner {
  justify-content: flex-start;
  padding-left: 4px;
}

.th-cd-hero-day {
  background: #eef8e8;
  border-radius: 7px;
  color: #3f7d2a;
}

/* Feature page only: reveal on scroll (.is-in). Home hero reuses this markup without that observer. */
.th-feature-hero-grid--content-distribution .th-cd-hero-day,
.th-feature-hero-grid--content-distribution .th-cd-hero-slot,
.th-feature-hero-grid--content-distribution .th-cd-hero-net {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  transition-delay: var(--cd-hero-delay, 0s);
}

.th-feature-hero-grid--content-distribution .th-cd-hero.is-in .th-cd-hero-day,
.th-feature-hero-grid--content-distribution .th-cd-hero.is-in .th-cd-hero-slot,
.th-feature-hero-grid--content-distribution .th-cd-hero.is-in .th-cd-hero-net {
  opacity: 1;
  transform: none;
}

.th-cd-hero-cal-row {
  margin-top: 4px;
}

.th-cd-hero-who {
  align-items: center;
  display: flex;
  gap: 6px;
  min-width: 0;
}

.th-cd-hero-avatar {
  align-items: center;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 24px;
  font-size: 0.64rem;
  font-weight: 800;
  height: 24px;
  justify-content: center;
  line-height: 1;
  text-align: center;
  width: 24px;
}

.th-cd-hero-avatar.is-company {
  background: #3f7d2a;
  color: #fff;
}

.th-cd-hero-avatar.is-personal {
  background: #2563eb;
  color: #fff;
}

.th-cd-hero-who strong {
  color: #111827;
  display: block;
  font-size: 0.66rem;
  line-height: 1.15;
}

.th-cd-hero-who span:not(.th-cd-hero-avatar) {
  color: #94a3b8;
  display: block;
  font-size: 0.55rem;
  line-height: 1.1;
}

.th-cd-hero-slot {
  align-items: center;
  background: #fff;
  border: 1px solid #e4eedc;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 38px;
  padding: 4px 5px 5px;
  position: relative;
  text-align: center;
}

.th-cd-hero-slot.is-company {
  animation: thCdFloat 3.8s ease-in-out infinite;
  animation-delay: calc(var(--cd-hero-delay, 0s) + 0.8s);
}

.th-feature-hero-grid--content-distribution .th-cd-hero-slot.is-company {
  animation: none;
}

.th-feature-hero-grid--content-distribution .th-cd-hero.is-in .th-cd-hero-slot.is-company {
  animation: thCdFloat 3.8s ease-in-out infinite;
  animation-delay: calc(var(--cd-hero-delay, 0s) + 0.8s);
}

.th-cd-hero-slot.is-personal {
  border-color: #dbeafe;
}

.th-cd-hero-slot em {
  color: #355f28;
  display: block;
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
}

.th-cd-hero-slot.is-personal em {
  color: #1e40af;
}

.th-cd-hero-slot strong {
  color: #64748b;
  display: block;
  font-size: 0.52rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.th-cd-hero-slot-dot {
  background: #3f7d2a;
  border-radius: 999px;
  display: block;
  height: 4px;
  margin-top: 5px;
  width: 4px;
}

.th-cd-hero-foot {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e8eef4;
  border-radius: 12px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 8px 10px;
}

.th-cd-hero-foot-label {
  color: #475569;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 700;
}

.th-cd-hero-nets {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}

.th-cd-hero-net {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: inline-flex;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.th-cd-hero-net img {
  display: block;
  height: 14px;
  object-fit: contain;
  width: 14px;
}

@keyframes thCdFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ---- AI Lead Magnets / Sales Agent hero ---- */
.th-feature-hero-grid.th-feature-hero-grid--ai-lead-magnets {
  align-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.th-feature-hero-grid--ai-lead-magnets .th-feature-visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 480px;
  padding: 1rem 0.75rem 1rem 0.35rem;
}

.th-feature-hero-card.th-alm-hero-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  max-width: none;
  overflow: visible;
  padding: 0;
  width: 100%;
}

.th-alm-hero {
  display: flex;
  justify-content: center;
  width: 100%;
}

.th-alm-widget {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  max-width: 360px;
  min-height: 440px;
  overflow: hidden;
  width: 100%;
}

.th-alm-widget-head {
  align-items: center;
  background: linear-gradient(135deg, #4f8cff 0%, #155eee 55%, #124fd0 100%);
  color: #fff;
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  position: relative;
}

.th-alm-widget-avatar {
  background: rgba(255, 255, 255, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  flex: 0 0 40px;
  height: 40px;
  object-fit: cover;
  width: 40px;
}

.th-alm-widget-identity {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.th-alm-widget-identity strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.th-alm-widget-identity em {
  align-items: center;
  display: inline-flex;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 600;
  gap: 6px;
  opacity: 0.95;
}

.th-alm-widget-online {
  background: #22c55e;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
  display: inline-block;
  flex: 0 0 7px;
  height: 7px;
  width: 7px;
}

.th-alm-widget-close {
  align-items: center;
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  opacity: 0.9;
}

.th-alm-widget-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  min-height: 280px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 16px 14px 12px;
  scroll-behavior: auto;
}

.th-alm-widget-msg {
  border-radius: 14px;
  display: none;
  font-size: 0.8rem;
  line-height: 1.45;
  max-width: 88%;
  opacity: 0;
  padding: 10px 12px;
  pointer-events: none;
  transform: translateY(10px);
}

.th-alm-widget-msg.is-visible {
  animation: thAlmMsgIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  display: block;
  pointer-events: auto;
}

@keyframes thAlmMsgIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.th-alm-widget-msg--agent {
  align-self: flex-start;
  background: #e8eaed;
  border-bottom-left-radius: 5px;
  color: #1f2937;
}

.th-alm-widget-msg--user {
  align-self: flex-end;
  background: #155eee;
  border-bottom-right-radius: 5px;
  color: #fff;
}

.th-alm-widget-msg--confirm {
  align-self: stretch;
  background: transparent;
  max-width: 100%;
  padding: 0;
}

.th-alm-widget-confirm {
  align-items: center;
  background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.08);
  display: flex;
  gap: 12px;
  padding: 12px 14px;
}

.th-alm-widget-confirm-icon {
  align-items: center;
  background: #22c55e;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
  line-height: 0;
  width: 34px;
}

.th-alm-widget-confirm-icon svg {
  color: #fff;
  display: block;
  flex-shrink: 0;
  stroke: #fff;
}

.th-alm-widget-confirm strong {
  color: #166534;
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2px;
}

.th-alm-widget-confirm > div span {
  color: #3f7a55;
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
}

.th-alm-widget-typing {
  align-items: center;
  align-self: flex-start;
  background: #e8eaed;
  border-radius: 14px;
  border-bottom-left-radius: 5px;
  display: inline-flex;
  gap: 5px;
  padding: 12px 14px;
}

.th-alm-widget-typing[hidden] {
  display: none !important;
}

.th-alm-widget-typing span {
  animation: thAlmTypingDot 1.2s ease-in-out infinite;
  background: #94a3b8;
  border-radius: 999px;
  display: block;
  height: 6px;
  width: 6px;
}

.th-alm-widget-typing span:nth-child(2) { animation-delay: 0.15s; }
.th-alm-widget-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes thAlmTypingDot {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.th-alm-widget-foot {
  align-items: center;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 10px;
  padding: 12px 12px 14px;
}

.th-alm-widget-input {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  color: #9ca3af;
  flex: 1;
  font-size: 0.8rem;
  min-width: 0;
  padding: 11px 12px;
}

.th-alm-widget-send {
  align-items: center;
  background: #155eee;
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

/* Shared chatbox styles (builder / showcase boards) */
.th-alm-chat,
.th-alm-preview {
  background: #fff;
  border: 1px solid #dbe7ee;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.th-alm-chat-head,
.th-alm-preview-head {
  align-items: center;
  background: linear-gradient(180deg, #f4fbfd 0%, #eef8fb 100%);
  border-bottom: 1px solid #e5eef2;
  color: #0f4c5c;
  display: flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 8px;
  justify-content: space-between;
  padding: 11px 14px;
}

.th-alm-chat-brand {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.th-alm-chat-avatar {
  align-items: center;
  background: #087990;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 22px;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.th-alm-chat-meta {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 600;
}

.th-alm-chat-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-height: 250px;
  padding: 14px;
}

.th-alm-bubble {
  animation: thAlmIn 0.45s ease both;
  border-radius: 14px;
  font-size: 0.78rem;
  line-height: 1.45;
  max-width: 92%;
  padding: 10px 12px;
}

.th-alm-bubble-label {
  color: #087990;
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.th-alm-bubble--ai {
  align-self: flex-start;
  background: #eef9fc;
  border: 1px solid #d5eef5;
  color: #134e5a;
}

.th-alm-bubble--user {
  align-self: flex-end;
  background: #155eee;
  color: #fff;
}

.th-alm-ideas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-left: 2px;
}

.th-alm-idea {
  background: #fff;
  border: 1px solid #d7ebf1;
  border-radius: 999px;
  color: #0f766e;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 5px 9px;
}

.th-alm-idea.is-active {
  background: #dff5f1;
  border-color: #b6e5dc;
  color: #0f5f58;
}

.th-alm-chat-input {
  align-items: center;
  background: #f8fafc;
  border-top: 1px solid #e5eef2;
  color: #94a3b8;
  display: flex;
  font-size: 0.72rem;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 12px;
}

.th-alm-chat-input em {
  background: #155eee;
  border-radius: 8px;
  color: #fff;
  font-style: normal;
  font-weight: 700;
  padding: 5px 10px;
}

.th-alm-preview-body {
  flex: 1;
  padding: 14px;
}

.th-alm-preview-body--site {
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(241, 245, 249, 0.98) 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 280px;
  position: relative;
}

.th-alm-site-chrome {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  display: flex;
  gap: 6px;
  padding: 8px 10px;
}

.th-alm-site-chrome span {
  background: #d1d5db;
  border-radius: 999px;
  display: block;
  height: 7px;
  width: 7px;
}

.th-alm-site-chrome span:nth-child(1) { background: #f87171; }
.th-alm-site-chrome span:nth-child(2) { background: #fbbf24; }
.th-alm-site-chrome span:nth-child(3) { background: #34d399; }

.th-alm-site-chrome em {
  color: #64748b;
  flex: 1;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 600;
  margin-left: 6px;
  text-align: center;
}

.th-alm-chatbox {
  background: #fff;
  border: 1px solid #dbe7ee;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.th-alm-chatbox-head {
  align-items: center;
  background: linear-gradient(135deg, #155eee 0%, #4f8cff 100%);
  color: #fff;
  display: flex;
  gap: 10px;
  padding: 12px 14px;
}

.th-alm-chatbox-avatar {
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 28px;
  font-size: 0.72rem;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.th-alm-chatbox-head strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
}

.th-alm-chatbox-head em {
  display: block;
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 600;
  opacity: 0.88;
}

.th-alm-chatbox-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.th-alm-chatbox-body .th-alm-bubble {
  max-width: 94%;
}

.th-alm-chatbox-body .th-alm-field,
.th-alm-chatbox-body .th-alm-cta {
  animation: thAlmIn 0.45s ease both;
}

.th-alm-launcher {
  align-items: center;
  align-self: flex-end;
  background: linear-gradient(135deg, #155eee 0%, #4f8cff 100%);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(21, 94, 238, 0.28);
  color: #fff;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 7px;
  margin-top: auto;
  padding: 10px 14px;
}

.th-alm-launcher i {
  font-size: 0.9rem;
}

.th-alm-publish-list {
  color: #475569;
  display: flex;
  flex-direction: column;
  font-size: 0.74rem;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.th-alm-publish-list li {
  align-items: flex-start;
  display: flex;
  gap: 8px;
  line-height: 1.4;
}

.th-alm-publish-list li::before {
  background: #12b76a;
  border-radius: 999px;
  content: "";
  flex: 0 0 7px;
  height: 7px;
  margin-top: 5px;
  width: 7px;
}

.th-alm-builder-tool.th-alm-chatbox {
  margin: 12px;
}

.th-alm-preview-live,
.th-alm-builder-pane-head .th-alm-preview-live {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

.th-alm-preview-live i {
  animation: thAlmPulse 1.6s ease-in-out infinite;
  background: #12b76a;
  border-radius: 999px;
  display: block;
  height: 7px;
  width: 7px;
}

.th-alm-tool {
  background: linear-gradient(180deg, #f7fcfe 0%, #ffffff 55%);
  border: 1px solid #e2eef3;
  border-radius: 14px;
  padding: 16px;
}

.th-alm-tool-kicker {
  color: #087990;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.th-alm-tool-title {
  color: #111827;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.th-alm-tool-sub {
  color: #6b7280;
  font-size: 0.76rem;
  margin-bottom: 14px;
}

.th-alm-field-label {
  color: #475569;
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.th-alm-field {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #111827;
  font-size: 0.78rem;
  margin-bottom: 10px;
  padding: 10px 12px;
}

.th-alm-cta {
  align-items: center;
  background: #087990;
  border-radius: 10px;
  color: #fff;
  display: flex;
  font-size: 0.8rem;
  font-weight: 700;
  justify-content: center;
  margin-top: 6px;
  padding: 11px 12px;
}

.th-alm-device {
  display: flex;
  gap: 6px;
}

.th-alm-device span {
  background: #fff;
  border: 1px solid #d7e8ef;
  border-radius: 999px;
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 3px 8px;
}

.th-alm-device .is-active {
  background: #e8f8fc;
  border-color: #c5eaf5;
  color: #087990;
}

@keyframes thAlmIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes thAlmPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}


/* ---- Showcase: Content Distribution boards ---- */
.th-showcase-row--cd-flow .th-showcase-visual {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.th-showcase-card:has(.th-cd-flow-board),
.th-showcase-card:has(.th-cd-daily-board),
.th-showcase-card:has(.th-cd-identity-board),
.th-showcase-card.th-cd-flow-card,
.th-showcase-card.th-cd-daily-card,
.th-showcase-card.th-cd-identity-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  max-width: 640px;
  padding: 0;
  width: min(98%, 640px);
}

.th-cd-flow-board,
.th-cd-daily-board,
.th-cd-identity-board {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  overflow: hidden;
  padding: 16px;
  width: 100%;
}

.th-cd-flow-head,
.th-cd-daily-head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: var(--cd-reveal-delay, 0s);
}

.th-cd-flow-board.is-in .th-cd-flow-head,
.th-cd-flow-board.is-in [data-cd-flow-reveal],
.th-cd-daily-board.is-in .th-cd-daily-head,
.th-cd-daily-board.is-in [data-cd-daily-reveal],
.th-cd-identity-board.is-in [data-cd-id-reveal] {
  opacity: 1;
  transform: none;
}

.th-cd-flow-head strong,
.th-cd-daily-head strong {
  color: #111827;
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
}

.th-cd-flow-head span,
.th-cd-daily-head span:not(.th-cd-daily-pill) {
  color: #64748b;
  font-size: 0.74rem;
}

.th-cd-flow-pill,
.th-cd-daily-pill {
  align-items: center;
  background: #eef8e8;
  border: 1px solid #d3ebc4;
  border-radius: 999px;
  color: #3f7d2a;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 800;
  gap: 5px;
  padding: 5px 10px;
  white-space: nowrap;
}

.th-cd-flow-stages {
  align-items: stretch;
  display: grid;
  gap: 4px;
  grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1.05fr) 12px minmax(0, 1.4fr);
  margin-bottom: 12px;
}

.th-cd-flow-step,
.th-cd-flow-arrow,
.th-cd-flow-outcome {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: var(--cd-reveal-delay, 0s);
}

.th-cd-flow-step {
  background: linear-gradient(180deg, #f8fbf6 0%, #fff 70%);
  border: 1px solid #e4eedc;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  position: relative;
}

.th-cd-flow-step-num {
  align-items: center;
  background: #3f7d2a;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 800;
  height: 18px;
  justify-content: center;
  left: 12px;
  position: absolute;
  top: 12px;
  width: 18px;
}

.th-cd-flow-label {
  color: #355f28;
  font-size: 0.72rem;
  font-weight: 800;
  margin-left: 24px;
}

.th-cd-flow-mosaic {
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.th-cd-flow-tile {
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.55;
  transform: scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.th-cd-flow-tile.is-active {
  border-color: #3f7d2a;
  box-shadow: 0 0 0 2px rgba(63, 125, 42, 0.18);
  opacity: 1;
  transform: scale(1);
}

.th-cd-flow-tile img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.th-cd-flow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.th-cd-flow-tags span {
  background: #fff;
  border: 1px solid #e4eedc;
  border-radius: 999px;
  color: #64748b;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 7px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.th-cd-flow-tags span.is-on {
  background: #eef8e8;
  border-color: #d3ebc4;
  color: #3f7d2a;
}

.th-cd-flow-arrow {
  align-items: center;
  color: #86b574;
  display: flex;
  justify-content: center;
}

.th-cd-flow-arrow svg {
  height: 16px;
  width: 16px;
}

.th-cd-flow-board.is-in .th-cd-flow-arrow svg {
  animation: thCdArrowNudge 1.4s ease-in-out infinite;
}

.th-cd-flow-ai-card {
  background: #fff;
  border: 1px solid #e8f0e2;
  border-radius: 12px;
  overflow: hidden;
}

.th-cd-flow-ai-head {
  align-items: center;
  background: #f3faf0;
  border-bottom: 1px solid #e8f0e2;
  color: #355f28;
  display: flex;
  font-size: 0.68rem;
  font-weight: 800;
  gap: 6px;
  padding: 7px 9px;
}

.th-cd-flow-ai-spark {
  align-items: center;
  background: #3f7d2a;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  height: 16px;
  justify-content: center;
  width: 16px;
}

.th-cd-flow-board.is-in .th-cd-flow-ai-spark {
  animation: thCdSparkPulse 1.8s ease-in-out infinite;
}

.th-cd-flow-ai-spark svg {
  height: 10px;
  width: 10px;
}

.th-cd-flow-ai-body {
  display: grid;
  gap: 8px;
  grid-template-columns: 52px 1fr;
  padding: 9px;
}

.th-cd-flow-ai-media {
  border-radius: 8px;
  height: 52px;
  overflow: hidden;
  position: relative;
  width: 52px;
}

.th-cd-flow-ai-media img {
  height: 100%;
  left: 0;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity 0.4s ease;
  width: 100%;
}

.th-cd-flow-ai-media img.is-active {
  opacity: 1;
}

.th-cd-flow-ai-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
}

.th-cd-flow-ai-copy i {
  background: linear-gradient(90deg, #e8f0e2 0%, #f5f9f2 50%, #e8f0e2 100%);
  background-size: 200% 100%;
  border-radius: 4px;
  display: block;
  height: 6px;
  width: var(--line-w, 80%);
}

.th-cd-flow-board.is-in .th-cd-flow-ai-copy i {
  animation: thCdShimmer 1.6s linear infinite;
}

.th-cd-flow-voices {
  align-items: flex-start;
  border-top: 1px solid #eef3ea;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px 9px;
}

.th-cd-flow-voices span {
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 3px 7px;
  white-space: nowrap;
}

.th-cd-flow-voices .is-company {
  background: #eef8e8;
  color: #3f7d2a;
}

.th-cd-flow-voices .is-personal {
  background: #eef6ff;
  color: #1d4ed8;
}

.th-cd-flow-networks {
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  width: 100%;
}

.th-cd-flow-net {
  align-items: center;
  background: #fff;
  border: 1px solid #e8eee4;
  border-radius: 10px;
  box-sizing: border-box;
  display: flex;
  gap: 5px;
  max-width: 100%;
  min-width: 0;
  opacity: 0.55;
  padding: 6px 5px;
  transform: scale(0.97);
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.th-cd-flow-net.is-pulse {
  border-color: #b7dfa3;
  box-shadow: 0 0 0 3px rgba(63, 125, 42, 0.12);
  opacity: 1;
  transform: scale(1);
}

.th-cd-flow-net img {
  display: block;
  flex: 0 0 14px;
  height: 14px;
  object-fit: contain;
  width: 14px;
}

.th-cd-flow-net span {
  color: #475569;
  flex: 1 1 auto;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1.15;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
}

.th-cd-flow-step--out {
  min-width: 0;
  overflow: visible;
}

.th-cd-flow-outcome {
  align-items: center;
  background: #f5fbf2;
  border: 1px solid #e0f0d5;
  border-radius: 12px;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 10px 12px;
}

.th-cd-flow-outcome-item {
  text-align: center;
}

.th-cd-flow-outcome-item em {
  color: #6b7280;
  display: block;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 600;
}

.th-cd-flow-outcome-item strong {
  color: #355f28;
  font-size: 0.8rem;
  font-weight: 800;
}

.th-cd-flow-outcome-item.is-leads strong {
  color: #1d4ed8;
}

.th-cd-flow-outcome-arrow {
  color: #86b574;
  font-size: 1rem;
  font-weight: 700;
}

@keyframes thCdArrowNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

@keyframes thCdSparkPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(63, 125, 42, 0.35); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(63, 125, 42, 0); }
}

@keyframes thCdShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Weekly plan board */
.th-cd-daily-week {
  background: linear-gradient(180deg, #f8fbf6 0%, #fff 100%);
  border: 1px solid #e4eedc;
  border-radius: 14px;
  margin-bottom: 12px;
  opacity: 0;
  overflow: hidden;
  padding: 10px;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: var(--cd-reveal-delay, 0s);
}

.th-cd-daily-week-head,
.th-cd-daily-week-row {
  display: grid;
  gap: 6px;
  grid-template-columns: 92px repeat(7, minmax(0, 1fr));
}

.th-cd-daily-week-head {
  margin-bottom: 6px;
}

.th-cd-daily-week-label,
.th-cd-daily-day {
  align-items: center;
  color: #64748b;
  display: flex;
  font-size: 0.62rem;
  font-weight: 700;
  justify-content: center;
  min-height: 22px;
}

.th-cd-daily-week-label {
  justify-content: flex-start;
  padding-left: 4px;
}

.th-cd-daily-day {
  background: #eef8e8;
  border-radius: 7px;
  color: #3f7d2a;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.35s ease, transform 0.35s ease;
  transition-delay: var(--cd-day-delay, 0s);
}

.th-cd-daily-board.is-in .th-cd-daily-day {
  opacity: 1;
  transform: none;
}

.th-cd-daily-week-row {
  margin-top: 6px;
}

.th-cd-daily-row-meta {
  align-items: center;
  display: flex;
  gap: 7px;
  min-width: 0;
}

.th-cd-daily-avatar {
  align-items: center;
  border-radius: 9px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 28px;
  font-size: 0.72rem;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  line-height: 1;
  text-align: center;
  width: 28px;
}

.th-cd-daily-avatar.is-company {
  background: #3f7d2a;
  color: #fff;
}

.th-cd-daily-avatar.is-personal {
  background: #2563eb;
  color: #fff;
}

.th-cd-daily-row-meta strong {
  color: #111827;
  display: block;
  font-size: 0.68rem;
  line-height: 1.15;
}

.th-cd-daily-row-meta span:not(.th-cd-daily-avatar) {
  color: #94a3b8;
  display: block;
  font-size: 0.58rem;
  line-height: 1.1;
}

.th-cd-daily-slot {
  background: #fff;
  border: 1px solid #e4eedc;
  border-radius: 9px;
  min-height: 52px;
  opacity: 0;
  padding: 6px;
  position: relative;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  transition-delay: var(--cd-slot-delay, 0s);
}

.th-cd-daily-board.is-in .th-cd-daily-slot {
  opacity: 1;
  transform: none;
}

.th-cd-daily-board.is-in .th-cd-daily-slot.is-fresh {
  border-color: #b7dfa3;
  box-shadow: 0 0 0 2px rgba(63, 125, 42, 0.12);
}

.th-cd-daily-slot em {
  color: #355f28;
  display: block;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
}

.th-cd-daily-slot.is-personal {
  border-color: #dbeafe;
}

.th-cd-daily-slot.is-personal em {
  color: #1e40af;
}

.th-cd-daily-slot strong {
  color: #64748b;
  display: block;
  font-size: 0.55rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.th-cd-daily-slot-spark {
  background: #3f7d2a;
  border-radius: 999px;
  display: block;
  height: 5px;
  margin-top: 5px;
  opacity: 0;
  width: 5px;
}

.th-cd-daily-board.is-in .th-cd-daily-slot.is-fresh .th-cd-daily-slot-spark {
  animation: thAlmPulse 1.4s ease-in-out infinite;
  opacity: 1;
}

.th-cd-daily-relay {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e8eef4;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  opacity: 0;
  padding: 10px 12px;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: var(--cd-reveal-delay, 0s);
}

.th-cd-daily-relay > span {
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
}

.th-cd-daily-relay-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.th-cd-daily-relay-icons img {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  height: 28px;
  object-fit: contain;
  opacity: 0;
  padding: 5px;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.25s ease;
  transition-delay: var(--cd-relay-delay, 0s);
  width: 28px;
}

.th-cd-daily-board.is-in .th-cd-daily-relay-icons img {
  opacity: 1;
  transform: none;
}

.th-cd-daily-board.is-in .th-cd-daily-relay-icons img.is-pulse {
  border-color: #b7dfa3;
  box-shadow: 0 0 0 3px rgba(63, 125, 42, 0.12);
}

/* Brand identity board */
.th-cd-identity-board {
  display: grid;
  gap: 12px;
}

.th-cd-id-layer {
  background: linear-gradient(180deg, #f8fbf6 0%, #fff 72%);
  border: 1px solid #e4eedc;
  border-radius: 14px;
  opacity: 0;
  padding: 12px;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: var(--cd-reveal-delay, 0s);
}

.th-cd-id-layer.is-employees {
  background: linear-gradient(180deg, #f5f9ff 0%, #fff 72%);
  border-color: #dbeafe;
}

.th-cd-id-layer-head {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.th-cd-id-badge {
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 4px 9px;
  text-transform: uppercase;
}

.th-cd-id-badge.is-company {
  background: #eef8e8;
  color: #3f7d2a;
}

.th-cd-id-badge.is-personal {
  background: #eef6ff;
  color: #1d4ed8;
}

.th-cd-id-layer-head strong {
  color: #111827;
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
}

.th-cd-id-layer-head span:not(.th-cd-id-badge) {
  color: #64748b;
  font-size: 0.7rem;
}

.th-cd-id-pipeline {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.th-cd-id-pipeline.is-compact {
  margin-top: 10px;
}

.th-cd-id-drafts {
  display: grid;
  gap: 6px;
}

.th-cd-id-draft {
  align-items: center;
  background: #fff;
  border: 1px solid #e8f0e2;
  border-radius: 10px;
  display: flex;
  gap: 8px;
  min-width: 120px;
  opacity: 0;
  padding: 7px;
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: var(--cd-draft-delay, 0s);
}

.th-cd-identity-board.is-in .th-cd-id-draft {
  opacity: 1;
  transform: none;
}

.th-cd-id-draft-thumb {
  background: linear-gradient(135deg, #d9efc8, #a8d48c);
  border-radius: 7px;
  flex: 0 0 28px;
  height: 28px;
}

.th-cd-id-draft-thumb.is-alt {
  background: linear-gradient(135deg, #c7e6fb, #93c5fd);
}

.th-cd-id-draft i {
  background: #e8f0e2;
  border-radius: 3px;
  display: block;
  height: 5px;
  margin-bottom: 4px;
  width: 56px;
}

.th-cd-id-draft i:nth-child(2) {
  width: 40px;
}

.th-cd-id-draft em {
  color: #64748b;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 700;
}

.th-cd-id-pipe-arrow {
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  transition-delay: var(--cd-reveal-delay, 0s);
}

.th-cd-id-send {
  background: #fff;
  border: 1px solid #e8eef4;
  border-radius: 12px;
  flex: 0 0 auto;
  opacity: 0;
  padding: 8px 10px;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: var(--cd-reveal-delay, 0s);
  width: max-content;
}

.th-cd-id-send > span {
  color: #475569;
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.th-cd-id-nets {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(4, 26px);
  width: max-content;
}

.th-cd-id-nets img {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  height: 26px;
  object-fit: contain;
  opacity: 0;
  padding: 4px;
  transform: scale(0.85);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  transition-delay: var(--cd-net-delay, 0s);
  width: 26px;
}

.th-cd-identity-board.is-in .th-cd-id-nets img {
  opacity: 1;
  transform: none;
}

.th-cd-identity-board.is-in .th-cd-id-nets img.is-pulse {
  border-color: #b7dfa3;
  box-shadow: 0 0 0 3px rgba(63, 125, 42, 0.14);
}

.th-cd-id-outcome {
  background: #eef8e8;
  border: 1px solid #d3ebc4;
  border-radius: 12px;
  min-width: 88px;
  opacity: 0;
  padding: 10px 12px;
  text-align: center;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: var(--cd-reveal-delay, 0s);
}

.th-cd-id-outcome.is-leads {
  background: #eef6ff;
  border-color: #bfdbfe;
}

.th-cd-id-outcome strong {
  color: #355f28;
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
}

.th-cd-id-outcome.is-leads strong {
  color: #1d4ed8;
}

.th-cd-id-outcome span {
  color: #64748b;
  font-size: 0.6rem;
  font-weight: 600;
}

.th-cd-id-divider {
  align-items: center;
  color: #94a3b8;
  display: flex;
  font-size: 0.68rem;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: var(--cd-reveal-delay, 0s);
}

.th-cd-id-divider::before,
.th-cd-id-divider::after {
  background: #e5e7eb;
  content: "";
  flex: 1;
  height: 1px;
}

.th-cd-id-people {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.th-cd-id-person {
  align-items: center;
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  display: flex;
  gap: 8px;
  opacity: 0;
  padding: 8px;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: var(--cd-person-delay, 0s);
}

.th-cd-identity-board.is-in .th-cd-id-person {
  opacity: 1;
  transform: none;
}

.th-cd-id-person-av {
  align-items: center;
  background: #2563eb;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 28px;
  font-size: 0.72rem;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  line-height: 1;
  text-align: center;
  width: 28px;
}

.th-cd-id-person strong {
  color: #111827;
  display: block;
  font-size: 0.72rem;
}

.th-cd-id-person span:not(.th-cd-id-person-av) {
  color: #64748b;
  font-size: 0.6rem;
}

/* ---- Showcase: Ideas / Builder / Embed ---- */
.th-showcase-card:has(.th-alm-ideas-board),
.th-showcase-card:has(.th-alm-builder-board),
.th-showcase-card:has(.th-alm-embed-board),
.th-showcase-card.th-alm-ideas-card,
.th-showcase-card.th-alm-builder-card,
.th-showcase-card.th-alm-embed-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}

.th-showcase-row--alm-ideas .th-showcase-visual,
.th-showcase-row--alm-builder .th-showcase-visual,
.th-showcase-row--alm-embed .th-showcase-visual {
  align-items: stretch;
  justify-content: stretch;
  padding: 1rem 1.05rem;
}

.th-showcase-row--alm-ideas .th-showcase-visual .th-showcase-card,
.th-showcase-row--alm-builder .th-showcase-visual .th-showcase-card,
.th-showcase-row--alm-embed .th-showcase-visual .th-showcase-card {
  align-self: stretch;
  height: 100%;
  max-width: none !important;
  width: 100% !important;
}

.th-alm-ideas-board,
.th-alm-builder-board,
.th-alm-embed-board {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  box-sizing: border-box;
  height: 100%;
  min-height: 360px;
  overflow: hidden;
  padding: 16px 18px;
  width: 100%;
}

.th-alm-builder-board {
  min-height: 420px;
}

.th-alm-ideas-top {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--alm-reveal-delay, 0s);
}

.th-alm-ideas-board.is-animating .th-alm-ideas-top,
.th-alm-ideas-board.is-animating [data-alm-ideas-reveal],
.th-alm-embed-board.is-animating [data-alm-embed-reveal] {
  opacity: 1;
  transform: none;
}

.th-alm-ideas-board.is-alive .th-alm-ideas-pill {
  animation: thAlmPillPulse 2.8s ease-in-out infinite;
}

.th-alm-ideas-top strong {
  color: #111827;
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
}

.th-alm-ideas-top span {
  color: #64748b;
  font-size: 0.74rem;
}

.th-alm-ideas-pill {
  background: linear-gradient(180deg, #eef9fc 0%, #e2f4f9 100%);
  border: 1px solid #c5eaf5;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(8, 121, 144, 0.1);
  color: #087990;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 5px 10px;
  white-space: nowrap;
}

.th-alm-type-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--alm-reveal-delay, 0s);
}

.th-alm-type-row span {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #374151;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 600;
  gap: 6px;
  padding: 5px 10px;
}

.th-alm-type-row span.is-on {
  background: #e8f8fc;
  border-color: #c5eaf5;
  color: #087990;
  font-weight: 700;
}

.th-alm-ideas-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.th-alm-idea-card {
  background: linear-gradient(180deg, #f7fcfe 0%, #fff 72%);
  border: 1px solid #e2eef3;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  padding: 14px;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.35s ease;
  transition-delay: var(--alm-card-delay, 0s);
}

.th-alm-ideas-board.is-animating .th-alm-idea-card {
  opacity: 1;
  transform: none;
}

.th-alm-idea-card.is-active {
  border-color: #9ad8e8;
  box-shadow: 0 12px 28px rgba(8, 121, 144, 0.14);
}

.th-alm-ideas-board.is-alive .th-alm-idea-card.is-active {
  animation: thAlmCardGlow 3.8s ease-in-out infinite;
}

.th-alm-idea-card:hover {
  border-color: #c5eaf5;
}

.th-alm-idea-badge {
  background: #e8f8fc;
  border-radius: 8px;
  color: #087990;
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  padding: 4px 7px;
  text-transform: uppercase;
  width: fit-content;
}

.th-alm-idea-card > strong {
  color: #111827;
  display: block;
  font-size: 0.86rem;
  margin-bottom: 4px;
}

.th-alm-idea-card > span:not(.th-alm-idea-badge):not(.th-alm-idea-metric) {
  color: #64748b;
  display: block;
  flex: 1 1 auto;
  font-size: 0.74rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

.th-alm-idea-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.th-alm-idea-metric {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  gap: 6px;
  opacity: 0;
  padding: 4px 9px 4px 4px;
  transform: translateY(10px) scale(0.94);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--alm-metric-delay, 0.45s);
}

.th-alm-ideas-board.is-animating .th-alm-idea-metric {
  opacity: 1;
  transform: none;
}

.th-alm-idea-metric.is-visitors {
  background: linear-gradient(180deg, #f4fbfd 0%, #e8f4f9 100%);
  border: 1px solid #c5e0ea;
  box-shadow: 0 6px 14px rgba(8, 121, 144, 0.08);
  color: #0f4c5c;
}

.th-alm-idea-metric.is-leads {
  background: linear-gradient(180deg, #eefbf6 0%, #e3f7ef 100%);
  border: 1px solid #b6e6d4;
  box-shadow: 0 6px 14px rgba(15, 118, 110, 0.1);
  color: #0f766e;
}

.th-alm-ideas-board.is-alive .th-alm-idea-metric.is-visitors {
  animation: thAlmMetricFloat 3.4s ease-in-out infinite;
}

.th-alm-ideas-board.is-alive .th-alm-idea-metric.is-leads {
  animation: thAlmMetricFloat 3.4s ease-in-out infinite, thAlmMetricPulse 2.8s ease-in-out infinite;
}

.th-alm-ideas-board.is-alive .th-alm-idea-card:nth-child(1) .th-alm-idea-metric.is-visitors { animation-delay: 0s; }
.th-alm-ideas-board.is-alive .th-alm-idea-card:nth-child(1) .th-alm-idea-metric.is-leads { animation-delay: 0.18s; }
.th-alm-ideas-board.is-alive .th-alm-idea-card:nth-child(2) .th-alm-idea-metric.is-visitors { animation-delay: 0.35s; }
.th-alm-ideas-board.is-alive .th-alm-idea-card:nth-child(2) .th-alm-idea-metric.is-leads { animation-delay: 0.5s; }
.th-alm-ideas-board.is-alive .th-alm-idea-card:nth-child(3) .th-alm-idea-metric.is-visitors { animation-delay: 0.12s; }
.th-alm-ideas-board.is-alive .th-alm-idea-card:nth-child(3) .th-alm-idea-metric.is-leads { animation-delay: 0.28s; }
.th-alm-ideas-board.is-alive .th-alm-idea-card:nth-child(4) .th-alm-idea-metric.is-visitors { animation-delay: 0.42s; }
.th-alm-ideas-board.is-alive .th-alm-idea-card:nth-child(4) .th-alm-idea-metric.is-leads { animation-delay: 0.58s; }

.th-alm-idea-metric-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  color: inherit;
  display: inline-flex;
  flex: 0 0 20px;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.th-alm-idea-metric-icon svg {
  display: block;
  height: 11px;
  width: 11px;
}

.th-alm-idea-metric-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.05;
  min-width: 0;
}

.th-alm-idea-metric-copy strong {
  color: inherit;
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  margin: 0;
}

.th-alm-idea-metric-copy em {
  color: inherit;
  font-size: 0.52rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.03em;
  opacity: 0.72;
  text-transform: uppercase;
}

@keyframes thAlmPillPulse {
  0%, 100% { box-shadow: 0 6px 16px rgba(8, 121, 144, 0.1); transform: translateY(0); }
  50% { box-shadow: 0 10px 22px rgba(8, 121, 144, 0.18); transform: translateY(-2px); }
}

@keyframes thAlmCardGlow {
  0%, 100% { box-shadow: 0 12px 28px rgba(8, 121, 144, 0.14); }
  50% { box-shadow: 0 16px 34px rgba(8, 121, 144, 0.22); }
}

@keyframes thAlmMetricFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes thAlmMetricPulse {
  0%, 100% { box-shadow: 0 6px 14px rgba(15, 118, 110, 0.1); }
  50% { box-shadow: 0 8px 18px rgba(15, 118, 110, 0.22); }
}

.th-alm-builder-split {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(260px, 1fr);
  min-height: 380px;
}

.th-alm-builder-pane {
  background: #fff;
  border: 1px solid #e5eef2;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.th-alm-builder-pane--settings {
  min-height: 0;
}

.th-alm-builder-pane--preview {
  min-height: 280px;
}

.th-alm-builder-pane-head {
  align-items: center;
  background: #f4fbfd;
  border-bottom: 1px solid #e5eef2;
  color: #0f4c5c;
  display: flex;
  font-size: 0.68rem;
  font-weight: 800;
  gap: 8px;
  justify-content: space-between;
  padding: 7px 10px;
  text-transform: none;
}

.th-alm-builder-building {
  color: #087990;
  font-size: 0.6rem;
  font-weight: 700;
}

.th-alm-design-panel {
  align-items: stretch;
  display: grid;
  flex: 0 0 auto;
  gap: 8px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  overflow: auto;
  padding: 8px;
}

.th-alm-design-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  min-height: 0;
  min-width: 0;
}

.th-alm-design-colors {
  align-items: stretch;
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr 1fr;
  min-width: 0;
}

.th-alm-design-block--knowledge {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  min-width: 0;
}

.th-alm-design-block--knowledge .th-alm-knowledge-drop {
  flex: 1;
  min-height: 0;
}

.th-alm-design-block {
  border: 1px solid #e8edf5;
  border-radius: 10px;
  opacity: 0;
  padding: 7px 8px;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.th-alm-builder-board.is-animating .th-alm-design-block.is-on,
.th-alm-builder-board.is-settled .th-alm-design-block {
  opacity: 1;
  transform: none;
}

.th-alm-design-block.is-active {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.12);
}

.th-alm-design-label {
  color: #111827;
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.th-alm-design-help {
  color: #94a3b8;
  display: block;
  font-size: 0.64rem;
  font-style: normal;
  margin-top: 5px;
}

.th-alm-design-picture-row {
  align-items: center;
  display: flex;
  gap: 8px;
}

.th-alm-design-avatar {
  border: 2px solid #e5e7eb;
  border-radius: 999px;
  flex: 0 0 36px;
  height: 36px;
  object-fit: cover;
  width: 36px;
}

.th-alm-design-block.is-active .th-alm-design-avatar,
.th-alm-builder-board.is-picture-on .th-alm-design-avatar {
  border-color: #4A90E2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.18);
}

.th-alm-design-picture-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.th-alm-design-btn {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font-size: 0.64rem;
  font-weight: 700;
  gap: 4px;
  line-height: 1;
  padding: 5px 8px;
}

.th-alm-design-btn--upload {
  background: #f97316;
  color: #fff;
}

.th-alm-design-btn--upload.is-pulse {
  animation: thAlmUploadPulse 0.9s ease;
}

.th-alm-design-btn--ghost {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #64748b;
}

.th-alm-design-color-row {
  align-items: center;
  display: flex;
  gap: 6px;
  min-width: 0;
}

.th-alm-design-swatch {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 7px;
  flex: 0 0 22px;
  height: 22px;
  width: 22px;
}

.th-alm-design-hex {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  color: #334155;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 700;
  overflow: hidden;
  padding: 4px 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.th-alm-design-block.is-active .th-alm-design-swatch {
  animation: thAlmSwatchPop 0.55s ease;
}

.th-alm-knowledge-drop {
  align-content: center;
  align-items: center;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  display: grid;
  gap: 5px 8px;
  grid-template-columns: auto 1fr;
  padding: 7px 8px;
  position: relative;
}

.th-alm-knowledge-icon {
  align-items: center;
  background: #eff6ff;
  border-radius: 8px;
  color: #155eee;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.th-alm-knowledge-copy strong {
  color: #0f172a;
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.25;
}

.th-alm-knowledge-copy span {
  color: #64748b;
  font-size: 0.6rem;
  line-height: 1.25;
}

.th-alm-knowledge-bar {
  background: #e2e8f0;
  border-radius: 999px;
  grid-column: 1 / -1;
  height: 4px;
  overflow: hidden;
}

.th-alm-knowledge-bar i {
  background: linear-gradient(90deg, #155eee, #4A90E2);
  border-radius: 999px;
  display: block;
  height: 100%;
  transform-origin: left center;
  width: 0;
}

.th-alm-builder-board.is-knowledge-loading .th-alm-knowledge-bar i {
  animation: thAlmKnowledgeFill 1.1s ease forwards;
}

.th-alm-knowledge-file {
  align-items: center;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  color: #166534;
  display: none;
  font-size: 0.64rem;
  font-weight: 700;
  gap: 6px;
  margin-top: 6px;
  padding: 5px 8px;
}

.th-alm-knowledge-file em {
  color: #16a34a;
  font-style: normal;
  font-weight: 800;
  margin-left: auto;
}

.th-alm-builder-board.is-knowledge-ready .th-alm-knowledge-file {
  display: flex;
}

.th-alm-builder-tool {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 12px;
  min-height: 0;
  padding: 0;
}

.th-alm-builder-tool.th-alm-chatbox {
  margin: 12px;
  min-height: 240px;
  overflow: hidden;
}

.th-alm-chatbox-avatar-img {
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  flex: 0 0 32px;
  height: 32px;
  object-fit: cover;
  width: 32px;
}

.th-alm-builder-tool .th-alm-chatbox-head {
  background: linear-gradient(135deg, #4A90E2 0%, #1E1E1F 100%);
  transition: background 0.45s ease;
}

.th-alm-builder-board.is-theme-on .th-alm-builder-tool .th-alm-chatbox-head {
  background: linear-gradient(135deg, #4A90E2 0%, #1E1E1F 100%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.th-alm-builder-tool .th-alm-chatbox-body .th-alm-bubble {
  display: none;
  opacity: 0;
  transform: translateY(8px);
}

.th-alm-builder-tool .th-alm-chatbox-body .th-alm-bubble.is-visible {
  animation: thAlmMsgIn 0.35s ease forwards;
  display: block;
}

.th-alm-builder-board.is-settled .th-alm-builder-tool .th-alm-chatbox-body .th-alm-bubble {
  animation: none;
  display: block;
  opacity: 1;
  transform: none;
}

@keyframes thAlmUploadPulse {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.06); }
  70% { transform: scale(0.98); }
}

@keyframes thAlmSwatchPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

@keyframes thAlmKnowledgeFill {
  from { width: 0; }
  to { width: 100%; }
}

.th-alm-progress {
  background: #e8f8fc;
  border-radius: 999px;
  height: 8px;
  margin: 0 0 12px;
  overflow: hidden;
}

.th-alm-progress span {
  background: #087990;
  border-radius: 999px;
  display: block;
  height: 100%;
  width: 0;
  transition: width 0.8s ease 0.45s;
}

.th-alm-builder-board.is-animating .th-alm-progress span {
  width: 38%;
}

.th-alm-field--email {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0369a1;
  font-weight: 600;
}

.th-alm-typing {
  color: #475569;
  font-size: 0.74rem;
  line-height: 1.4;
  margin: 0;
  min-height: 1.2em;
}

.th-alm-typing i {
  animation: thAlmBlink 1s step-end infinite;
  color: #087990;
  font-style: normal;
  font-weight: 700;
}

@keyframes thAlmBlink {
  50% { opacity: 0; }
}

.th-alm-embed-options {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.th-alm-embed-option {
  background: #fff;
  border: 1px solid #e5eef2;
  border-radius: 14px;
  opacity: 0;
  overflow: hidden;
  padding: 12px;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: var(--alm-reveal-delay, 0s);
}

.th-alm-embed-option.is-domain {
  background: linear-gradient(180deg, #f7fcfe 0%, #fff 70%);
}

.th-alm-embed-option-head {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.th-alm-embed-option-head strong {
  color: #111827;
  font-size: 0.82rem;
}

.th-alm-embed-tag {
  background: #eef2ff;
  border-radius: 999px;
  color: #4338ca;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 8px;
  text-transform: uppercase;
}

.th-alm-embed-tag.is-domain {
  background: #e8f8fc;
  color: #087990;
}

.th-alm-code {
  background: #f8faff;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  color: #101828;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  line-height: 1.55;
  overflow: hidden;
  padding: 12px;
  word-break: break-word;
}

.th-alm-code span {
  color: #155eee;
}

.th-alm-domain-link {
  align-items: center;
  background: #fff;
  border: 1px solid #d7eef6;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  gap: 0;
  padding: 10px 12px;
}

.th-alm-domain-proto {
  color: #94a3b8;
}

.th-alm-domain-host {
  color: #087990;
  font-weight: 700;
}

.th-alm-domain-path {
  color: #0f172a;
  font-weight: 700;
}

.th-alm-domain-note {
  color: #64748b;
  font-size: 0.7rem;
  margin-top: 8px;
}

.th-alm-leads {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: var(--alm-reveal-delay, 0s);
}

.th-alm-lead-stat {
  background: #f2fafd;
  border: 1px solid #d7eef6;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.th-alm-lead-stat strong {
  color: #087990;
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
}

.th-alm-lead-stat span {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 600;
}

.th-cd-platforms-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}

.th-cd-platforms-row span {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #374151;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 600;
  gap: 6px;
  padding: 5px 10px;
}

.th-cd-platforms-row img {
  height: 14px;
  width: 14px;
}

@media (max-width: 900px) {
  .th-cd-hero-top {
    flex-direction: column;
    gap: 10px;
  }

  .th-cd-hero-stats {
    width: 100%;
  }

  .th-cd-hero-stat {
    flex: 1 1 0;
  }

  .th-cd-hero-cal-head {
    display: none;
  }

  .th-cd-hero-cal-row.is-emp-sam,
  .th-cd-hero-cal-row.is-emp-jordan {
    display: none;
  }

  .th-cd-hero-cal-row {
    display: grid;
    gap: 6px;
    grid-template-columns: 1fr;
  }

  .th-feature-hero-grid--content-distribution .th-cd-hero-cal-head,
  .th-feature-hero-grid--content-distribution .th-cd-hero-cal-row {
    grid-template-columns: 1fr;
  }

  .th-cd-hero-cal-row .th-cd-hero-who {
    margin-bottom: 2px;
  }

  .th-feature-hero-grid.th-feature-hero-grid--content-distribution,
  .th-feature-hero-grid.th-feature-hero-grid--ai-lead-magnets,
  .th-alm-builder-split,
  .th-alm-ideas-grid,
  .th-cd-flow-stages,
  .th-cd-id-people {
    grid-template-columns: 1fr;
  }

  .th-alm-design-panel {
    grid-template-columns: 1fr;
  }

  .th-alm-design-group,
  .th-alm-design-block--knowledge {
    height: auto;
  }

  .th-alm-builder-pane--preview {
    min-height: 240px;
  }

  .th-alm-widget {
    max-width: min(340px, 100%);
    min-height: 380px;
  }

  .th-alm-widget-body {
    max-height: 260px;
    min-height: 220px;
  }

  .th-feature-hero-grid--content-distribution .th-feature-visual,
  .th-feature-hero-grid--ai-lead-magnets .th-feature-visual {
    min-height: 0;
    overflow: hidden;
    padding: 0.5rem 0.25rem;
  }

  .th-feature-hero-card.th-cd-hero-card,
  .th-feature-hero-card.th-alm-hero-card {
    max-width: 100%;
    width: 100%;
  }

  .th-cd-hero,
  .th-alm-hero {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .th-cd-flow-arrow {
    display: none;
  }

  .th-cd-daily-week-head {
    display: none;
  }

  .th-cd-daily-week-row {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .th-cd-daily-week-row .th-cd-daily-row-meta {
    margin-bottom: 2px;
  }

  .th-cd-daily-week-row .th-cd-daily-slot {
    min-height: 44px;
  }

  .th-cd-daily-slots-wrap {
    display: contents;
  }

  .th-cd-id-pipeline {
    justify-content: flex-start;
  }

  .th-cd-id-pipe-arrow {
    display: none;
  }
}

@media (max-width: 900px) and (min-width: 641px) {
  .th-cd-hero-cal-row,
  .th-feature-hero-grid--content-distribution .th-cd-hero-cal-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .th-cd-hero-cal-row .th-cd-hero-who {
    grid-column: 1 / -1;
  }

  .th-cd-daily-week-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .th-cd-daily-week-row .th-cd-daily-row-meta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .th-cd-hero-cal-row,
  .th-feature-hero-grid--content-distribution .th-cd-hero-cal-row {
    grid-template-columns: 1fr 1fr;
  }

  .th-cd-hero-cal-row .th-cd-hero-who {
    grid-column: 1 / -1;
  }

  .th-cd-daily-week-row {
    grid-template-columns: 1fr 1fr;
  }

  .th-cd-daily-week-row .th-cd-daily-row-meta {
    grid-column: 1 / -1;
  }

  .th-cd-flow-outcome {
    flex-direction: column;
    gap: 6px;
  }

  .th-cd-flow-outcome-arrow {
    transform: rotate(90deg);
  }

  .th-cd-flow-networks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .th-feature-hero-card.th-cd-hero-card {
    padding: 12px;
  }

  .th-cd-hero-stat {
    min-width: 0;
    padding: 5px 6px;
  }

  .th-cd-hero-title {
    font-size: 0.84rem;
  }

  .th-alm-widget {
    max-width: min(300px, 100%);
    min-height: 340px;
  }

  .th-alm-widget-body {
    max-height: 210px;
    min-height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .th-cd-hero-slot.is-company,
  .th-alm-bubble,
  .th-alm-typing i,
  .th-alm-preview-live i,
  .th-alm-widget-typing span,
  .th-cd-flow-board.is-in .th-cd-flow-arrow svg,
  .th-cd-flow-board.is-in .th-cd-flow-ai-spark,
  .th-cd-flow-board.is-in .th-cd-flow-ai-copy i,
  .th-cd-daily-board.is-in .th-cd-daily-slot.is-fresh .th-cd-daily-slot-spark {
    animation: none !important;
  }

  .th-alm-widget-msg {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .th-alm-widget-msg.is-visible {
    display: block;
  }

  .th-cd-hero-day,
  .th-cd-hero-slot,
  .th-cd-hero-net,
  .th-cd-flow-head,
  .th-cd-flow-step,
  .th-cd-flow-arrow,
  .th-cd-flow-outcome,
  .th-cd-daily-head,
  .th-cd-daily-week,
  .th-cd-daily-day,
  .th-cd-daily-slot,
  .th-cd-daily-relay,
  .th-cd-daily-relay-icons img,
  .th-cd-id-layer,
  .th-cd-id-draft,
  .th-cd-id-pipe-arrow,
  .th-cd-id-send,
  .th-cd-id-outcome,
  .th-cd-id-divider,
  .th-cd-id-person,
  .th-cd-id-nets img,
  .th-alm-ideas-top,
  .th-alm-type-row,
  .th-alm-idea-card,
  .th-alm-idea-metric,
  .th-alm-ideas-pill,
  .th-alm-design-block,
  .th-alm-builder-tool .th-alm-chatbox-body .th-alm-bubble,
  .th-alm-embed-option,
  .th-alm-leads {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .th-alm-builder-tool .th-alm-chatbox-body .th-alm-bubble,
  .th-alm-design-block {
    display: block !important;
  }

  .th-alm-knowledge-file {
    display: flex !important;
  }

  .th-alm-knowledge-bar i {
    animation: none !important;
    width: 100% !important;
  }

  .th-alm-ideas-board.is-alive .th-alm-ideas-pill,
  .th-alm-ideas-board.is-alive .th-alm-idea-card.is-active,
  .th-alm-ideas-board.is-alive .th-alm-idea-metric.is-visitors,
  .th-alm-ideas-board.is-alive .th-alm-idea-metric.is-leads {
    animation: none !important;
  }

  .th-alm-progress span {
    transition: none !important;
    width: 38% !important;
  }
}
