/* Keep the fourth contract badge above the shared hero crop. */
.cz-crm-hero-phone { width: 55.5%; }

.cz-crm-screen {
  position: relative;
  container-type: inline-size;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", Arial, sans-serif;
}

.cz-crm-screen--profile .cz-marketplace-statusbar,
.cz-crm-screen--list .cz-marketplace-statusbar {
  background: #0f0f0d;
  color: #f6f4f2;
}

.cz-crm-screen--report .cz-marketplace-statusbar { background: #fff; }

.cz-crm-screen--profile .cz-marketplace-island,
.cz-crm-screen--list .cz-marketplace-island { background: #030303; }

.cz-crm-revenue,
.cz-crm-badge {
  position: absolute;
  white-space: nowrap;
}

.cz-crm-revenue {
  top: 50.9%;
  right: 8.25%;
  width: 36%;
  color: #f4f1ee;
  font-size: 4.72cqw;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.18;
  text-align: right;
}

.cz-crm-badge {
  padding: .77cqw 1.3cqw;
  border-radius: 1.4cqw;
  background: #243749;
  color: #abcaf0;
  font-size: 2.32cqw;
  font-weight: 500;
  line-height: 1.2;
}

.cz-crm-badge--risk { top: 63.15%; left: 48.9%; background: #493222; color: #ffc08a; }
.cz-crm-badge--next { top: 71.25%; left: 43.25%; }
.cz-crm-badge--recurring { top: 79.34%; left: 59.91%; }
.cz-crm-badge--done { top: 87.44%; left: 44.61%; background: #223e34; color: #a7d9c4; }

@media (prefers-reduced-motion: no-preference) {
  .cz-crm-screen.is-animating .cz-crm-badge {
    animation: cz-crm-badge-appear .28s ease-out both;
    animation-delay: var(--badge-delay, .28s);
  }

  .cz-crm-badge--next { --badge-delay: .52s; }
  .cz-crm-badge--recurring { --badge-delay: .76s; }
  .cz-crm-badge--done { --badge-delay: 1s; }
}

@keyframes cz-crm-badge-appear {
  from { opacity: 0; transform: translateY(.85cqw); }
  to { opacity: 1; transform: translateY(0); }
}

:is(.cz-feature-details__visual--crm-clients, .cz-feature-details__visual--crm-report, .cz-feature-details__visual--crm-profile) {
  --phone-top: 7.5%;
}

:is(.cz-feature-details__visual--crm-clients, .cz-feature-details__visual--crm-report) .cz-feature-visual__phone {
  width: 56%;
}

.cz-crm-notice {
  position: absolute;
  z-index: 2;
  right: 4%;
  top: 75%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .55em .65em;
  max-width: 66%;
  padding: .8em 1em;
  border: 1px solid #ffffff24;
  border-radius: 1em;
  background: #18191d;
  box-shadow: 0 9px 24px #11121b3b;
  color: #f5f4f7;
  font-size: clamp(10px, 2.9cqi, 16px);
  line-height: 1.3;
}

.cz-crm-notice img { width: 2.6em; height: 2.6em; border-radius: 50%; }
.cz-crm-notice strong { display: block; font-weight: 700; }
.cz-crm-notice div span { display: block; color: #bdbbc3; font-size: .89em; }
.cz-crm-notice__badge {
  grid-column: 1 / -1;
  justify-self: start;
  padding: .15em .58em;
  border-radius: .42em;
  background: #102b47;
  color: #66b4ff;
  font-size: .85em;
  font-weight: 650;
}
