.home-shell .dashboard-primary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.home-shell .birthday-summary small {
  line-height: 1.55;
  min-height: 2.4em;
  white-space: pre-line;
}
.home-shell .member-directory {
  min-width: 0;
  table-layout: auto;
}
.home-shell .member-directory th:nth-child(n),
.home-shell .member-directory td:nth-child(n) {
  width: auto;
  white-space: normal;
  overflow-wrap: anywhere;
}
.home-shell .member-directory td:nth-child(n+4) {
  font-variant-numeric: tabular-nums;
}
.home-shell .member-directory tr[hidden] {
  display: none;
}
.member-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--accent);
  text-underline-offset: 3px;
}
.member-form {
  display: grid;
  gap: 20px;
  max-width: 720px;
}
.member-form h2 {
  margin: 0;
}
.member-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.member-fields label {
  display: grid;
  gap: 6px;
}
.member-fields input, .member-fields select {
  width: 100%;
  min-width: 0;
}
.member-form fieldset {
  min-width: 0;
}
.member-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
@media (max-width: 720px) {
  .member-fields {
    grid-template-columns: 1fr;
  }
  .member-link {
    margin-block: -7px;
    min-height: 44px;
  }
}

@media (max-width: 720px) {
  .activity-shell .dashboard-primary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-shell .dashboard-primary,
  .activity-shell .dashboard-primary {
    gap: 6px;
  }
  .home-shell .dashboard-primary > div,
  .activity-shell .dashboard-primary > div {
    padding: 10px 8px;
    overflow-wrap: anywhere;
  }
}
