.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  margin-top: 16px;
}

.text-button {
  background: transparent;
  border: 0;
  color: var(--teal-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 6px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.offer-grid,
.help-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.offer-card,
.profile-card,
.help-card,
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.offer-card,
.help-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.offer-card h3,
.help-card h3 {
  color: var(--teal-dark);
  margin: 0;
}

.offer-card p,
.help-card p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.offer-card .secondary-button,
.help-card > .secondary-button {
  align-self: flex-start;
  margin-top: auto;
}

.offer-card-heading {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.offer-discount {
  background: #fff0ed;
  border-radius: 999px;
  color: var(--coral);
  font-weight: 900;
  padding: 6px 11px;
}

.profile-card {
  display: grid;
  gap: 18px;
  max-width: 900px;
  padding: clamp(20px, 4vw, 34px);
}

.profile-card input[readonly] {
  background: #eef4f4;
  color: var(--muted);
  cursor: not-allowed;
}

.profile-card .primary-button {
  justify-self: start;
  min-width: 190px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.faq-item {
  box-shadow: none;
  padding: 0 18px;
}

.faq-item summary {
  color: var(--teal-dark);
  cursor: pointer;
  font-weight: 900;
  padding: 18px 0;
}

.faq-item p {
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
  padding: 16px 0 20px;
}

@media (max-width: 680px) {
  .patient-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .patient-nav > * {
    min-width: 0;
  }

  .account-actions,
  .offer-card-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .offer-grid,
  .help-grid {
    grid-template-columns: 1fr;
  }

  .profile-card .primary-button,
  .offer-card .secondary-button,
  .help-card > .secondary-button {
    justify-self: stretch;
    width: 100%;
  }
}
