/* The Keap to monday CRM page's own first-screen picture (kit/KeapMap.astro): the parts of a Keap account in three lanes,
   by how each comes out of Keap, and a 40-cell bar for monday's label limit, where tags are counted. Still markup: the
   entrance plays once and nothing moves under reduced motion. */
.kkeap {
  display: grid;
  gap: var(--s-2);
  margin: 0;
  padding: var(--s-3) var(--s-5);
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 50% at 0% 100%, var(--accent-tint) 0%, transparent 65%),
    var(--paper);
  box-shadow: var(--shadow-card);
}
.kkeap__cap,
.kkeap__lanehead {
  margin: 0;
  color: var(--accent-deep);
}
.kkeap__lane {
  display: grid;
  gap: 4px;
  padding: 6px 0 0;
  border-top: 1px solid var(--line-2);
}
.kkeap__lane--unlisted .kkeap__lanehead {
  color: var(--muted);
}
.kkeap__chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kkeap__chip {
  display: grid;
  align-content: start;
  gap: 1px;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid var(--line-2);
  border-top: 3px solid var(--accent);
  background: var(--paper);
  font-size: var(--fs-small);
  line-height: 1.25;
}
.kkeap__lane--report .kkeap__chip {
  border-top-color: var(--warn-ink);
}
.kkeap__lane--unlisted .kkeap__chip {
  border-top-style: dashed;
  border-top-color: var(--line-2);
}
.kkeap__chip--key {
  background: var(--accent-tint);
}
.kkeap__name {
  font-weight: 600;
}
.kkeap__line {
  color: var(--ink-2);
  font-size: var(--fs-xs);
}
.kkeap__short {
  display: none;
  color: var(--ink-2);
  font-size: var(--fs-xs);
  font-weight: 400;
}
.kkeap__to {
  margin-top: 2px;
  color: var(--accent-deep);
  font-size: var(--fs-xs);
}
.kkeap__meter {
  display: grid;
  gap: 4px;
  padding-top: 6px;
  border-top: 1px dashed var(--line-2);
}
.kkeap__bar {
  display: block;
  width: 100%;
  height: 12px;
  fill: var(--accent);
}
.kkeap__scale {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-2);
  margin: 0;
  color: var(--ink-2);
  font-size: var(--fs-xs);
}
.kkeap__scale strong {
  color: var(--ink);
  font-weight: 600;
}
.kkeap__src {
  color: var(--faint);
  font-size: var(--fs-xs);
}
@media (max-width: 760px) {
  .kkeap__chips {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }
  .kkeap__chip {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: var(--s-2);
    padding: 2px 7px;
  }
  .kkeap__line {
    display: none;
  }
  .kkeap__short {
    display: inline;
  }
  .kkeap__to {
    margin: 0;
    text-align: right;
  }
}
@media (max-width: 480px) {
  .kkeap {
    gap: 4px;
    padding: var(--s-2) var(--s-4);
  }
  .kkeap__lane {
    gap: 2px;
    padding-top: 3px;
  }
  .kkeap__meter {
    gap: 2px;
    padding-top: 3px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .kkeap__slide {
    animation: kkeap-in 0.56s ease-out both;
    animation-delay: calc(var(--n, 0) * 120ms);
  }
}
@keyframes kkeap-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
