/* HENNIO-133-CHI-TI-HA-GUARDATO — visita, salvataggi, avviso privacy. */

.cthg-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  margin: 10px auto 14px;
  padding: 10px 14px;
  border: 1px solid #e3d7cf;
  border-radius: 12px;
  background: #fbf6f1;
  color: #3b2a26;
  font-size: 14px;
  line-height: 1.4;
}
.cthg-notice a {
  color: #8a5a50;
  font-weight: 700;
  white-space: nowrap;
}
.cthg-owner-stats {
  flex: 1 1 100%;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: #3b2a26;
}

.cthg-page { max-width: 860px; }
.cthg-totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 20px;
}
.cthg-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid #e3d7cf;
  border-radius: 14px;
  background: #fff;
}
.cthg-card h2 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: #6b5b53;
}
.cthg-big {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  color: #3b2a26;
}
.cthg-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  font-size: 12px;
  color: #6b5b53;
}
.cthg-periods strong { color: #3b2a26; }

.cthg-note,
.cthg-guests,
.cthg-follow {
  margin: 12px 0;
  color: #5b4c45;
  font-size: 14px;
  line-height: 1.5;
}
.cthg-empty {
  padding: 16px;
  border: 1px dashed #d8c8bf;
  border-radius: 14px;
  background: #fcfaf7;
}

.cthg-people {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cthg-person {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #eee3dc;
  border-radius: 14px;
  background: #fff;
}
.cthg-person-avatar { flex: 0 0 auto; text-decoration: none; }
.cthg-person-body { min-width: 0; flex: 1 1 auto; }
.cthg-person-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0 0 4px;
  min-width: 0;
}
.cthg-person-name {
  color: #3b2a26;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.cthg-when { color: #8a7a72; font-size: 12px; }
.cthg-person-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #5b4c45;
  overflow-wrap: anywhere;
}
.cthg-thumb {
  display: inline-flex;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #e3d7cf;
  background: #f5efea;
}
.cthg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cthg-chat {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #b9867e;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}

@media (max-width: 620px) {
  .cthg-totals { grid-template-columns: 1fr; }
  .cthg-big { font-size: 24px; }
}
