.client-hidden { display: none !important; }

.client-view-mode .dashboard-grid {
  display: none;
}

.client-view-mode .clinic-volume-panel .text-button {
  display: none;
}

.client-view-mode .privacy-banner {
  display: block;
}

.practice-profile-panel {
  margin-top: 18px;
}

.practice-profile-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.practice-profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 15px;
  border: 1px solid #dce8e5;
  border-radius: 14px;
  background: #f7faf9;
}

.practice-profile-card.available {
  border-color: #b9d8d2;
  background: #f1f8f6;
}

.practice-profile-card > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.practice-profile-card strong,
.practice-profile-card span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.practice-profile-card span {
  color: var(--muted);
  font-size: 12px;
}

.practice-profile-viewer {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #c9ddd9;
  border-radius: 16px;
  background: #fff;
}

.practice-profile-viewer > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.practice-profile-viewer > header h3,
.practice-profile-viewer > header p {
  margin: 0;
}

.practice-profile-viewer iframe {
  width: 100%;
  height: min(72vh, 820px);
  border: 1px solid #dce8e5;
  border-radius: 12px;
  background: #f5f7f7;
}

.practice-profile-viewer > img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 72vh;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: contain;
}

.practice-profile-admin {
  margin-top: 16px;
}

.practice-profile-admin-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.practice-profile-admin-row {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(240px, 1.3fr);
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid #e1e9e7;
  border-radius: 11px;
  background: #fafcfc;
}

.practice-profile-admin-row span {
  color: var(--muted);
}

@media (max-width: 760px) {
  .practice-profile-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .practice-profile-admin-row {
    grid-template-columns: 1fr;
  }

  .practice-profile-viewer iframe {
    height: 68vh;
  }
}
