.guest-card {
  padding: 0;
  text-align: left;
}
.guest-open {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  padding: 25px 23px 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}
.guest-card:focus-within {
  border-color: var(--card-accent);
}
.guest-card:focus-within:before {
  opacity: 1;
}
.guest-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  height: auto;
  gap: 6px;
  padding: 14px 0;
}
.guest-card .guest-contacts {
  margin: 0 23px;
  border-top: 1px solid #ffffff1f;
}
.guest-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #ffffff24;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.3;
  color: inherit;
  transition: background 0.2s;
}
.guest-contacts svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.guest-contacts a:hover {
  background: #ffffff14;
}
#guest-dialog .guest-contacts {
  border-bottom: 1px solid #17394c25;
  margin-bottom: 25px;
}
#guest-dialog .guest-contacts a {
  border-color: #17394c25;
  color: #1d5963;
}
#guest-dialog .guest-contacts a:hover {
  background: #1d59630b;
}
@media (max-width: 767px) {
  .guest-open {
    padding: 22px 22px 0;
  }
  .guest-card .guest-contacts {
    margin: 0 22px;
  }
  .guest-contacts a {
    font-size: 12px;
  }
}
.guest-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}
@media (max-width: 767px) {
  .guest-open {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
    gap: 0 18px;
    padding: 20px 18px 0;
  }
  .guest-card .guest-contacts {
    margin: 0 18px;
  }
}
@media (min-width: 601px) and (max-width: 767px) {
  .guest-open {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 0 12px;
    padding: 18px 15px 0;
  }
}
