/* Container that you can place anywhere inside a topic or the home page */
.ch-profile-card {
  width: min(760px, 92vw);
  margin: 1.25rem auto;
  background: linear-gradient(180deg, #0D0D0D 0%, var(--ch-card) 100%);
  border: 1px solid var(--ch-border);
  border-radius: 14px;
  box-shadow: 0 12px 30px var(--ch-shadow);
  padding: 1rem;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1rem;
  align-items: center;
  color: var(--ch-text);
}

.ch-profile-card.hidden { display: none; }

.ch-profile-photo-wrapper {
  display: grid;
  place-items: center;
}

.ch-profile-photo {
  width: 100px;
  height: 100px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--ch-accent);
  box-shadow: 0 4px 16px rgba(96,165,250,0.15);
  background: #0142DB;
}

.ch-profile-details { min-width: 0; }

.ch-profile-name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.ch-profile-email,
.ch-profile-role,
.ch-profile-status {
  margin: 0.15rem 0;
  color: var(--ch-muted);
  overflow-wrap: anywhere;
}

.ch-profile-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.ch-btn {
  appearance: none;
  border: 1px solid var(--ch-border);
  background: #0D0D0D;
  color: var(--ch-text);
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ch-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.4);
  background: #0f1a34;
}
.ch-btn-danger {
  border-color: #0D0D0D;
  background: #0D0D0D;
  color: #0142DB;
}
.ch-btn-danger:hover { background: #0142DB; }

@media (max-width: 640px) {
  .ch-profile-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ch-profile-actions { justify-content: center; }
  .ch-profile-photo { width: 88px; height: 88px; }
}
.CHBlock_richTextContent, .CHBlock_container * {font-family: Arial,"Helvetica Neue",Helvetica,sans-serif;}