.page-member-message-reach {
  .mmr-template-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .mmr-template-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .mmr-template-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 172px;
    padding: 18px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgb(15 23 42 / 8%);
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }

  .mmr-template-card:hover {
    box-shadow: 0 10px 20px rgb(15 23 42 / 12%);
    transform: translateY(-1px);
  }

  .mmr-template-head {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
  }

  .mmr-template-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
  }

  .mmr-template-preview {
    display: -webkit-box;
    min-height: 40px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    font-size: 12px;
    line-height: 1.65;
    color: #6b7280;
    -webkit-box-orient: vertical;
  }

  .mmr-template-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
  }

  .mmr-template-usage {
    font-size: 12px;
    color: #9ca3af;
  }

  .mmr-template-actions {
    display: inline-flex;
    gap: 8px;
    align-items: center;
  }

  .mmr-template-empty {
    padding: 36px 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgb(15 23 42 / 7%);
  }
}
