.teamwork-surface,
.home-surface {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 0 2px 12px rgb(0 0 0 / 3%);
}

.teamwork-surface,
.home-list {
  overflow: hidden;
}

.teamwork-rows > .list-entry-card,
.home-list > .list-entry-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-list > .list-entry-card + .list-entry-card,
.teamwork-surface > * + *,
.teamwork-rows .list-entry-card + .list-entry-card {
  border-top: 1px solid var(--line);
}

[data-design="stitch"] :is(.stitch-teamwork .teamwork-row, .home-list .entry-card, .archive-row) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  box-shadow: none;
}

[data-design="stitch"] :is(.stitch-teamwork .teamwork-row, .home-list .entry-card, .archive-row):hover {
  background: var(--surface-row-alt);
}

[data-design="stitch"] :is(.stitch-teamwork .teamwork-row, .home-list .entry-card, .archive-row):focus-visible {
  outline-offset: -3px;
}

.teamwork-icon,
[data-design="stitch"] .home-list .entry-card-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--surface-neutral-soft);
  color: var(--sage);
}

.teamwork-icon svg,
.home-list .entry-card-mark svg,
.teamwork-chevron {
  width: 1.25rem;
  height: 1.25rem;
}

.teamwork-chevron {
  color: var(--border-neutral-strong);
}

.teamwork-row .entry-card-body,
.home-list .entry-card .entry-card-body {
  display: grid;
  min-width: 0;
  gap: 0.2rem;
}

.stitch-teamwork .entry-card-body strong,
.home-list .entry-card-body strong {
  color: var(--ink);
  font: 600 1rem/1.4 var(--font-body);
}

@media (width <= 40rem) {
  [data-design="stitch"] :is(.stitch-teamwork .teamwork-row, .home-list .entry-card, .archive-row) {
    gap: 0.75rem;
  }
}
