.tour-example-frame > #tour-image {
  display: none;
}

.history-example {
  overflow: hidden;
  padding: clamp(.8rem, 3vw, 1.4rem);
  border: 1px solid #e6deeb;
  border-radius: 1rem;
  background: linear-gradient(130deg, #fdf2e8, #faf3f9);
  color: #303b54;
}

.history-example h4 {
  margin: 0 0 .85rem;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.history-example ul {
  padding: 0;
  list-style: none;
}

.history-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .8rem;
  margin: 0 0 .75rem;
  font-size: .8125rem;
}

.history-legend li {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}

.history-legend .history-all {
  padding: .25rem .55rem;
  border-radius: 1rem;
  background: #616d7e;
  color: #fff;
}

.history-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}
.history-icon--call { color: #237b3e; }
.history-icon--meeting { color: #176fbb; }
.history-icon--todo { color: #b1363d; }
.history-icon--note { color: #6942ac; }
.history-icon--file { color: #147481; }
.history-icon--expense { color: #73529b; }
.history-icon--forecast { color: #416d9e; }

.history-example-search {
  padding: .45rem .7rem;
  border: 1px solid #d6dce6;
  border-radius: .65rem;
  background: #fff;
  color: #616d7e;
  font-size: .875rem;
}

.history-example-rows {
  margin: .55rem 0 0;
  background: #fff;
}

.history-example-rows li {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: .5rem;
  padding: .55rem .65rem;
  border-bottom: 1px solid #e8e4ed;
  font-size: .875rem;
  line-height: 1.35;
}

.history-example-rows strong {
  display: block;
  overflow-wrap: anywhere;
}

.history-example-rows time,
.history-example-rows small {
  color: #626e83;
  font-size: .75rem;
}

@media (max-width: 520px) {
  .history-example-rows li {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: .15rem;
  }
  .history-example-rows li > div {
    grid-column: 2;
    grid-row: 1;
  }
  .history-example-rows time {
    grid-column: 2;
  }
}

.communications-example {
  overflow: hidden;
  padding: clamp(.8rem, 3vw, 1.4rem);
  border: 1px solid #d5e5ea;
  border-radius: 1rem;
  background: linear-gradient(130deg, #eaf5fa, #edf7f4);
  color: #303b54;
}

.communications-example h4 {
  margin: 0 0 .85rem;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.communications-example ul { padding: 0; list-style: none; }
.communications-example svg { width: 1.2rem; height: 1.2rem; }
.comms-email svg { color: #176fbb; }
.comms-whatsapp svg { color: #237b3e; }
.communications-example-rows {
  display: grid;
  gap: .35rem;
  margin: .55rem 0 0;
}

.communications-example-rows li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  padding: .55rem .65rem;
  border-radius: .6rem;
  background: #fff;
  font-size: .875rem;
  line-height: 1.35;
}

.communications-example-rows strong { display: block; overflow-wrap: anywhere; }
.communications-example-rows time,
.communications-example-rows small { color: #626e83; font-size: .75rem; }
.comms-icon { display: grid; place-items: center; padding: .3rem; border-radius: .45rem; }
.comms-email .comms-icon { background: #e8f4ff; }
.comms-whatsapp .comms-icon { background: #e7f6eb; }

@media (max-width: 520px) {
  .communications-example-rows li { grid-template-columns: auto minmax(0, 1fr); row-gap: .15rem; }
  .communications-example-rows time { grid-column: 2; }
}

.mutual-preview-image {
  position: relative;
}

.mutual-preview-image > img {
  display: block;
  height: auto;
}

.mutual-profile-photo {
  position: absolute;
  top: var(--photo-top);
  left: 3.08%;
  width: 5.85%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: url('assets/contacts-favourites-432.png') var(--photo-position) / var(--photo-scale) no-repeat;
  pointer-events: none;
}
